:root { color-scheme: dark; --bg: #10151c; --panel: #171f29; --line: #344250; --text: #e7edf4; --muted: #adbbc9; --accent: #6be2d2; --danger: #ffa6aa; --space: clamp(20px, 4vw, 54px); font-family: system-ui, sans-serif; color: var(--text); background: var(--bg); }
* { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.55; }
button, input, select, textarea { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: var(--accent); text-underline-offset: 4px; }
button { cursor: pointer; border: 1px solid transparent; border-radius: 6px; padding: 9px 15px; color: #10221e; background: var(--accent); font-weight: 650; }
button:hover { filter: brightness(1.08); }
button:disabled { opacity: .5; cursor: not-allowed; }
button.secondary, button.quiet { background: transparent; color: var(--text); border-color: var(--line); }
button.quiet { font-size: 13px; padding: 6px 10px; }
button.danger { color: #291215; background: var(--danger); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { color: #10221e; background: var(--accent); }
input, select, textarea { color: var(--text); background: #0e141b; border: 1px solid #526373; border-radius: 6px; padding: 10px 12px; width: 100%; caret-color: var(--accent); }
input::placeholder, textarea::placeholder { color: var(--muted); }
label { display: grid; gap: 7px; font-weight: 550; }
form { display: grid; gap: 20px; }
.preview-bar { padding: 12px 24px; background: #202b36; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.preview-bar p { margin: 0; font-size: 13px; }
.preview-bar p span { display: block; color: var(--muted); }
.preview-controls { display: flex; align-items: center; gap: 14px; }
.preview-controls label { font-size: 12px; }
.preview-controls select { font-size: 13px; padding: 5px 9px; }
.shell { min-height: calc(100vh - 85px); display: grid; grid-template-columns: 238px minmax(0, 1fr); }
aside { background: #131a22; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 25px 16px 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 19px; font-weight: 700; padding: 0 10px 28px; text-decoration: none; }
.brand svg { color: var(--accent); }
nav { display: grid; gap: 6px; }
nav a { display: flex; justify-content: space-between; padding: 10px 12px; color: var(--muted); text-decoration: none; border-radius: 6px; }
nav a[aria-current="page"] { background: #23353c; color: #bcfff3; }
nav a:hover { background: #1e2a35; color: var(--text); }
.account { margin-top: auto; padding: 28px 7px 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; }
.account > div { min-width: 0; overflow-wrap: anywhere; }
.account span { display: block; color: var(--muted); font-size: 12px; }
.account a { grid-column: 2; }
.avatar { background: #2a3d45; color: #bcfff3; border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; font-size: 12px; font-weight: 650; }
main { padding: var(--space); min-width: 0; max-width: 1400px; width: 100%; }
header { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-bottom: 30px; }
h1 { font-size: clamp(25px, 3vw, 34px); line-height: 1.2; letter-spacing: -.025em; margin: 0 0 10px; text-wrap: balance; }
h2 { font-size: 19px; line-height: 1.3; margin: 0 0 12px; }
h3 { font-size: 15px; margin: 0; }
p { margin: 0 0 16px; max-width: 70ch; }
.muted, header p, small { color: var(--muted); }
header p { margin-bottom: 0; }
.badge { display: inline-flex; gap: 7px; align-items: center; border-radius: 4px; padding: 3px 8px; font-size: 12px; font-weight: 600; background: #233b38; color: #a4f4cf; white-space: nowrap; }
.badge::before { content: ''; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.badge.pending, .badge.starting, .badge.quota { background: #393023; color: #f1d0a0; }
.badge.failed, .badge.suspended, .badge.retired, .badge.degraded { background: #3d282f; color: #ffc1c6; }
.workspace-strip { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); align-items: center; margin-bottom: 34px; }
.workspace-strip p { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin: 34px 0 14px; gap: 16px; }
.section-heading h2 { margin: 0; }
.rows { border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 20px 0; gap: 18px; }
.row p { margin: 5px 0 0; font-size: 13px; color: var(--muted); }
.row a { font-weight: 600; text-decoration: none; }
.row a:hover { text-decoration: underline; }
.row-end { display: flex; align-items: center; gap: 20px; font-size: 13px; }
.row-end time { color: var(--muted); font-variant-numeric: tabular-nums; }
.state { padding: 44px 0; max-width: 700px; }
.state h2 { font-size: 24px; margin: 18px 0 12px; }
.state p { color: var(--muted); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.form-panel { max-width: 520px; }
section.form-panel { margin-block: 32px; }
.form-panel small { display: block; font-weight: 400; }
.field-note { margin-top: -10px; font-size: 13px; }
.login { max-width: 440px; margin: 7vh auto; }
.login h1 { margin-bottom: 14px; }
.login form { margin-top: 28px; }
.login .note { margin-top: 25px; font-size: 13px; }
.alert { padding: 14px 16px; background: #3d282f; color: #ffc1c6; border: 1px solid #80555e; border-radius: 6px; margin-bottom: 22px; }
.info { padding: 16px 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); margin: 24px 0; }
.info p:last-child { margin-bottom: 0; }
.info code { overflow-wrap: anywhere; color: var(--accent); }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { color: var(--muted); font-size: 12px; font-weight: 600; }
td, th { padding: 17px 14px; border-bottom: 1px solid var(--line); }
td:first-child, th:first-child { padding-left: 0; }
td:last-child, th:last-child { padding-right: 0; }
td small { display: block; font-size: 12px; }
.table-scroll { overflow-x: auto; }
.table-hint { display: none; font-size: 13px; }
@media (max-width: 650px) { .table-hint { display: block; } }
.table-scroll table { min-width: 560px; }
dl { display: grid; grid-template-columns: minmax(130px, 1fr) 2fr; max-width: 650px; margin: 20px 0 30px; }
dt, dd { margin: 0; border-bottom: 1px solid var(--line); padding: 12px 0; }
dt { color: var(--muted); }
progress { width: min(300px, 100%); height: 7px; accent-color: var(--accent); }
.session { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 30px; }
.transcript { min-height: 270px; padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; }
.transcript p { margin-bottom: 24px; }
.browser-panel { border-left: 1px solid var(--line); padding-left: 22px; }
.browser-panel h2 { margin-top: 0; }
.browser-panel small { display: block; margin: 18px 0; }
textarea { min-height: 100px; resize: vertical; }
dialog { color: var(--text); background: var(--panel); border: 1px solid #536575; border-radius: 10px; padding: 28px; width: min(480px, calc(100% - 32px)); box-shadow: 0 14px 45px rgb(0 0 0 / .35); }
dialog::backdrop { background: rgb(0 0 0 / .65); }
dialog .actions { justify-content: flex-end; }
#notice:not(:empty) { position: fixed; bottom: 22px; right: 22px; max-width: min(440px, calc(100% - 44px)); padding: 14px 20px; background: #263c40; color: #d7fff6; border: 1px solid #587b7c; border-radius: 6px; box-shadow: 0 8px 28px rgb(0 0 0 / .25); }
.skip { position: fixed; top: 5px; left: 5px; transform: translateY(-150%); padding: 12px; background: var(--panel); z-index: 10; }
.skip:focus { transform: translateY(0); }
.signed-out .shell { display: block; }
.signed-out aside { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px; }
.signed-out aside .brand { padding: 0; }
.signed-out nav, .signed-out .account { display: none; }
.signed-out main { margin: auto; }
* { scrollbar-color: #526373 var(--bg); scrollbar-width: thin; }
@media (max-width: 1000px) { .preview-bar { align-items: flex-start; flex-direction: column; } .shell { grid-template-columns: 205px minmax(0, 1fr); } .session { grid-template-columns: 1fr; } .browser-panel { border-left: 0; padding: 22px 0; border-top: 1px solid var(--line); } }
@media (max-width: 650px) { .preview-bar { padding: 14px 18px; } .preview-controls { flex-wrap: wrap; width: 100%; gap: 10px; } .preview-controls label { flex: 1; min-width: 130px; } .shell { display: block; } aside { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px; } .brand { padding: 0 0 18px; } nav { display: flex; flex-wrap: wrap; gap: 3px; } nav a { font-size: 13px; padding: 7px 9px; } .account { display: flex; padding-top: 18px; gap: 10px; } .account a { margin-left: auto; } header { flex-direction: column; margin-bottom: 22px; } .workspace-strip, .row { align-items: flex-start; } .row { flex-direction: column; gap: 12px; } .row-end { width: 100%; justify-content: space-between; } .login { margin: 20px auto; } .state { padding: 20px 0; } }
.shell { min-height: 100vh; }
.secret-output { overflow-wrap: anywhere; user-select: all; }
.integration-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px; }
.integration-grid section { min-width: 0; }
.integration-grid form { max-width: 520px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 20px; }
fieldset:disabled { opacity: .7; }
.policy { margin-top: 18px; }
.row small { overflow-wrap: anywhere; }
#message { margin-bottom: 22px; }
#message:empty { display: none; }
