:root {
  --page: oklch(98.5% .001 286); --canvas: oklch(96.1% .002 248); --surface: oklch(100% 0 0); --inset: oklch(97.9% .002 248); --field: oklch(96.1% .001 286);
  --ink: oklch(24.7% .006 258); --ink-2: oklch(44% .01 264); --ink-3: oklch(50% .009 264); --line: oklch(94.6% .003 264); --line-strong: oklch(88% .005 258);
  --accent: oklch(56% .205 255); --accent-ink: oklch(50% .187 255); --accent-tint: oklch(96% .019 253); --button-ink: oklch(100% 0 0);
  --green: oklch(48% .155 151); --green-tint: oklch(95.8% .017 159); --orange: oklch(55% .15 50); --orange-tint: oklch(96.4% .021 68); --red: oklch(53% .192 23); --red-tint: oklch(95.6% .017 17);
  --shadow: 0 0 0 1px var(--line), 0 1px 2px oklch(0% 0 0 / .04); --overlay: oklch(15% .01 264 / .4);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color-scheme: light;
}
:root[data-theme="dark"] {
  --page: oklch(20.9% .004 264); --canvas: oklch(23.1% .004 264); --surface: oklch(26% .006 271); --inset: oklch(24.3% .004 264); --field: oklch(29.3% .006 271);
  --ink: oklch(96.4% .002 248); --ink-2: oklch(81% .008 261); --ink-3: oklch(71% .01 264); --line: oklch(30.8% .006 258); --line-strong: oklch(40% .007 264);
  --accent: oklch(68% .173 253); --accent-ink: oklch(78.8% .113 248); --accent-tint: oklch(68% .173 253 / .16); --button-ink: oklch(15% .02 255);
  --green: oklch(75% .154 154); --green-tint: oklch(70.5% .154 154 / .14); --orange: oklch(78% .156 56); --orange-tint: oklch(74.6% .156 56 / .14); --red: oklch(75% .18 21); --red-tint: oklch(66.6% .18 21 / .14);
  --overlay: oklch(0% 0 0 / .6); color-scheme: dark;
}
* { box-sizing: border-box; } [hidden] { display: none !important; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 13px/20px var(--font); -webkit-font-smoothing: antialiased; }
button, input, textarea { color: inherit; font: inherit; } button, a, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; } button:disabled { cursor: not-allowed; opacity: .5; } a { color: var(--accent-ink); text-decoration: none; } a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } h1, h2, h3, p { margin: 0; overflow-wrap: anywhere; } h1 { font-size: 21px; line-height: 28px; font-weight: 600; letter-spacing: -.025em; } h2, h3 { font-size: 13px; font-weight: 600; }
small, .hint { font-size: 12px; line-height: 18px; color: var(--ink-3); } .gap-sm { margin-top: 6px; } .muted { color: var(--ink-2); } .mono, code, pre { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 11.5px; overflow-wrap: anywhere; } .grow { flex: 1; min-width: 0; } .wrap { overflow-wrap: anywhere; } .stack { display: grid; gap: 12px; min-width: 0; } .gap { margin-top: 16px; }
.frame { max-width: 1568px; min-height: 100vh; margin: 0 auto; background: var(--page); display: grid; grid-template-columns: 224px minmax(0,1fr); box-shadow: var(--shadow); }
aside { position: sticky; top: 0; height: 100dvh; min-width: 0; overflow-y: auto; padding: 24px 16px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); } .brand > div { min-width: 0; } .brand b { font-size: 15px; font-weight: 600; letter-spacing: -.025em; } .brand small { display: block; font-size: 11px; } .mark { background: var(--ink); color: var(--page); display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px; font-size: 19px; font-weight: 500; }
aside nav { display: grid; gap: 4px; min-width: 0; } aside nav a { transition: background-color .12s, color .12s; display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 9px 12px; border-radius: 8px; color: var(--ink-2); } aside nav a:focus-visible { outline-offset: -2px; } aside nav a:hover { background: var(--canvas); text-decoration: none; } aside nav a[aria-current] { background: var(--canvas); color: var(--ink); font-weight: 600; } .icon { flex: 0 0 16px; vertical-align: middle; } aside nav .icon { color: var(--ink-3); } aside nav a[aria-current] .icon { color: var(--accent-ink); }
.aside-foot { margin-top: auto; display: grid; gap: 16px; } .aside-foot > .btn { justify-self: start; } .controls { display: flex; flex-wrap: wrap; gap: 8px; } .topbar { min-height: 64px; border-bottom: 1px solid var(--line); padding: 12px 32px; display: flex; align-items: center; gap: 12px; } .eyebrow { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); } .avatar { flex: 0 0 28px; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-ink); font-size: 12px; font-weight: 600; }
.account { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; max-width: 240px; padding: 4px 10px 4px 4px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); transition: background-color .12s; } .account:hover, .account[aria-expanded="true"] { background: var(--canvas); color: var(--ink); } .account .icon { color: var(--ink-3); }
main, #content { min-width: 0; } .pagehead { padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; } .pagehead p { max-width: 75ch; overflow-wrap: anywhere; margin-top: 6px; color: var(--ink-3); font-size: 12.5px; } .pagehead .toolbar { margin-top: 0; } section { padding: 24px 32px; border-top: 1px solid var(--line); } .section-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; } .section-head .index { color: var(--ink-3); font: 11px/19px var(--mono); } .section-head p { max-width: 75ch; overflow-wrap: anywhere; margin-top: 3px; color: var(--ink-3); font-size: 12.5px; }
.card { padding: 16px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); min-width: 0; } .row { min-width: 0; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; } .row .meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 6px; } .row-title { font-weight: 600; overflow-wrap: anywhere; } .cardlink { color: inherit; } .cardlink:hover { text-decoration: none; box-shadow: 0 0 0 1px var(--line-strong); } .project-mark { height: 36px; width: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 10px; background: var(--inset); color: var(--ink-2); font: 13px var(--mono); }
.grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,190px),1fr)); gap: 12px; min-width: 0; } .stat { display: grid; align-content: start; gap: 8px; } .stat strong { font: 600 24px/32px var(--mono); overflow-wrap: anywhere; } .stat small { color: var(--ink-3); } .facts { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,200px),1fr)); gap: 16px 24px; } .fact { min-width: 0; } .fact dt { font-size: 12px; color: var(--ink-3); margin-bottom: 4px; } .fact dd { margin: 0; overflow-wrap: anywhere; line-height: 21px; } .fact code { user-select: all; } .facts.compact { margin: 0; }
.btn { --fg: var(--ink); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; border: 0; border-radius: 999px; padding: 6px 14px; background: var(--canvas); color: var(--fg); font-weight: 500; line-height: 18px; max-width: 100%; white-space: normal; text-align: center; text-decoration: none; transition: background-color .12s, box-shadow .12s, transform .08s; -webkit-user-select: none; user-select: none; }
.btn:hover { background: var(--line-strong); text-decoration: none; } .btn:active:not(:disabled) { transform: scale(.97); } .btn.primary { --fg: var(--button-ink); background: var(--accent); } .btn.primary:hover { background: color-mix(in oklch,var(--accent) 88%,var(--ink)); } .btn.ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); } .btn.ghost:hover { background: var(--canvas); } .btn.small { min-height: 28px; font-size: 12px; padding: 4px 11px; } .btn.danger { --fg: var(--red); background: var(--red-tint); } .btn.danger:hover { background: color-mix(in oklch,var(--red-tint) 80%,var(--red)); } .ibtn { min-width: 34px; padding: 6px 8px; } .btn.ghost.ibtn { color: var(--ink-2); }
.btn[aria-busy="true"] { color: transparent; opacity: 1; cursor: progress; } .btn[aria-busy="true"]::after { content: ''; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--fg); border-right-color: transparent; animation: spin .7s linear infinite; } @keyframes spin { to { transform: rotate(1turn); } } .toolbar { min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.seg { display: inline-flex; flex-wrap: wrap; justify-self: start; width: fit-content; max-width: 100%; gap: 2px; padding: 3px; border-radius: 999px; background: var(--field); } .seg button { border: 0; border-radius: 999px; background: none; padding: 3px 10px; font-size: 12px; color: var(--ink-3); min-height: 28px; transition: background-color .12s, color .12s; } .seg button:hover { color: var(--ink); } .seg button:focus-visible { outline-offset: -2px; } .seg button[aria-pressed="true"] { background: var(--surface); box-shadow: var(--shadow); color: var(--ink); }
.chip { display: inline-block; max-width: 100%; overflow-wrap: anywhere; background: var(--inset); padding: 2px 7px; border-radius: 6px; font: 11px/18px var(--mono); color: var(--ink-2); } .st { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); } .st::before { content: ''; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: currentColor; } .st.good { color: var(--green); } .st.warn { color: var(--orange); } .st.bad { color: var(--red); }
.field { display: grid; gap: 6px; min-width: 0; } .field > span { font-size: 12px; font-weight: 500; } input, textarea { border: 0; border-radius: 8px; padding: 9px 12px; width: 100%; background: var(--field); box-shadow: inset 0 0 0 1px transparent; min-width: 0; } input:hover, textarea:hover { box-shadow: inset 0 0 0 1px var(--line-strong); } input:focus-visible, textarea:focus-visible { outline: 0; box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 3px var(--accent-tint); } textarea { resize: vertical; min-height: 100px; } input::placeholder, textarea::placeholder { color: var(--ink-3); } .form { display: grid; gap: 16px; max-width: 680px; } .form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; } .full { grid-column: 1 / -1; } .editor { min-height: 260px; tab-size: 2; font: 12px/20px var(--mono); } .tog { border: 0; border-radius: 8px; background: var(--canvas); color: var(--ink-2); min-height: 32px; padding: 6px 11px; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color .12s, color .12s; } .tog[aria-pressed="true"] { background: var(--accent-tint); color: var(--accent-ink); box-shadow: inset 0 0 0 1px var(--accent); }
.listbox, .more { min-width: 0; position: relative; display: inline-block; max-width: 100%; } .listbox > button { max-width: 100%; min-width: 0; } .more { flex-shrink: 0; } .listbox-label { min-width: 0; white-space: nowrap; max-width: 230px; overflow: hidden; text-overflow: ellipsis; } .menu { position: absolute; top: calc(100% + 7px); left: 0; min-width: 210px; max-width: min(320px,calc(100vw - 48px)); max-height: 310px; overflow-y: auto; z-index: 20; border-radius: 10px; background: var(--surface); padding: 5px; box-shadow: 0 0 0 1px var(--line-strong),0 12px 40px var(--overlay); } .more .menu { left: auto; right: 0; } .menu button { width: 100%; display: block; text-align: left; border: 0; border-radius: 8px; padding: 9px 10px; background: transparent; overflow-wrap: anywhere; } .menu button:hover, .menu button:focus { background: var(--canvas); } .menu button:focus-visible { outline-offset: -2px; } .menu > input { margin-bottom: 4px; } .menu:not([hidden]) { animation: pop .12s ease-out; } @keyframes pop { from { opacity: 0; transform: translateY(-4px); } } .menu button[aria-selected="true"] { background: var(--accent-tint); color: var(--accent-ink); } .menu .danger { color: var(--red); } .menu small { display: block; font-size: 11px; color: inherit; opacity: .8; margin-top: 2px; }
.empty { padding: 24px 16px; text-align: center; text-wrap: balance; background: var(--inset); border-radius: 12px; color: var(--ink-3); display: grid; justify-items: center; gap: 12px; } .empty b { font-size: 13px; color: var(--ink-2); font-weight: 500; } .notice { overflow-wrap: anywhere; background: var(--accent-tint); border-radius: 10px; padding: 12px 16px; color: var(--accent-ink); font-size: 12px; } .notice.error { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; } .notice-body { flex: 1 1 240px; min-width: 0; } .notice.error .btn { --fg: var(--red); box-shadow: inset 0 0 0 1px color-mix(in oklch,var(--red) 40%,transparent); } .error { background: var(--red-tint); color: var(--red); } .notice.warn { background: var(--orange-tint); color: var(--orange); } .outcome { margin-top: 12px; display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px; } .secret { border-radius: 10px; background: var(--accent-tint); padding: 16px; display: grid; gap: 12px; } .secret code { padding: 12px; background: var(--surface); border-radius: 8px; overflow-wrap: anywhere; user-select: all; }
.tabs { display: flex; gap: 4px; padding: 0 28px; margin-bottom: -1px; overflow-x: auto; scrollbar-width: none; } .tabs::-webkit-scrollbar { display: none; } .tabs a { flex-shrink: 0; display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; border-radius: 8px 8px 0 0; color: var(--ink-3); font-weight: 500; white-space: nowrap; transition: color .12s, box-shadow .15s; } .tabs a:hover { color: var(--ink); text-decoration: none; } .tabs a:focus-visible { outline-offset: -3px; } .tabs a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.apphead { padding-bottom: 16px; } .apphead .meta { display: flex; flex-wrap: wrap; gap: 8px; } .boot nav { padding: 8px 12px; gap: 16px; }
.crumb { display: inline-flex; align-items: center; gap: 2px; margin: 0 0 6px -4px; padding: 2px 6px 2px 2px; border-radius: 6px; color: var(--ink-3); font-size: 12px; } .crumb:hover { color: var(--ink); background: var(--canvas); text-decoration: none; }
.result { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 500px; overflow: auto; line-height: 20px; background: var(--inset); padding: 16px; border-radius: 8px; } .logline { display: grid; grid-template-columns: 110px 64px minmax(0,1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); } .logline .message { white-space: pre-wrap; } .level.bad { color: var(--red); } .level.warn { color: var(--orange); } .stream :focus-visible { outline-offset: -2px; } .logline:last-child { border: 0; } .stream { max-height: 580px; overflow-y: auto; } .stream-toolbar { margin-bottom: 12px; }
.table-wrap { max-width: 100%; overflow-x: auto; border-radius: 12px; box-shadow: var(--shadow); } .table-wrap :focus-visible { outline-offset: -2px; } td { vertical-align: top; } .cell-stack { display: grid; gap: 2px; white-space: normal; max-width: 52ch; } table { width: 100%; border-collapse: collapse; background: var(--surface); text-align: left; white-space: nowrap; font-size: 12px; } th { color: var(--ink-3); font-weight: 500; background: var(--inset); } th, td { padding: 12px 16px; border-bottom: 1px solid var(--line); } tr:last-child td { border: 0; }
.file-field { display: grid; gap: 8px; border: 1px dashed var(--line-strong); border-radius: 10px; padding: 24px 16px; background: var(--inset); justify-items: center; text-align: center; } .file-field.drag { border-color: var(--accent); background: var(--accent-tint); } .file-field input { display: none; }
dialog { border: 0; padding: 0; max-width: min(560px,calc(100vw - 32px)); width: 560px; max-height: calc(100dvh - 40px); background: var(--surface); color: var(--ink); border-radius: 16px; box-shadow: 0 0 0 1px var(--line-strong), 0 24px 64px var(--overlay); } dialog[open] { animation: rise .16s ease-out; } dialog::backdrop { background: var(--overlay); animation: fade .16s ease-out; } .dialog-body { padding: 24px; display: grid; gap: 16px; } .dialog-body h2 { font-size: 18px; line-height: 26px; } .dialog-body .toolbar { justify-content: flex-end; } .danger-note { color: var(--red); }
.auth-shell { min-height: 100dvh; display: grid; place-items: center; padding: 32px 20px; } .auth-card { width: 100%; max-width: 420px; display: grid; gap: 32px; padding: 32px; } .auth-card .form { gap: 20px; } .auth-card .btn.primary { width: 100%; min-height: 38px; } .auth-head { display: grid; gap: 8px; } .auth-foot { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; } .boot .sk { animation-delay: .3s; }
/* Skeletons stay invisible for 150 ms so fast responses never flash one. */
.sk { display: block; height: 12px; margin: 4px 0; border-radius: 6px; background: color-mix(in oklch,var(--ink) 8%,transparent); animation: fade .2s ease-out .15s both, breathe 1.2s ease-in-out .35s infinite alternate; }
.sk.big { height: 24px; } .sk.bar { height: 4px; margin: 8px 0; } .sk.chipline { display: inline-block; height: 20px; margin: 0; } .sk.pill { display: inline-block; width: 84px; height: 34px; margin: 0; border-radius: 999px; } .sk.input { height: 38px; border-radius: 8px; } .sk.project-mark { margin: 0; height: 36px; }
.w6 { width: 6%; min-width: 28px; } .w10 { width: 10%; min-width: 44px; } .w20 { width: 20%; } .w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; }
.enter > *, .region.enter { animation: rise .16s ease-out backwards; }
@keyframes fade { from { opacity: 0; } } @keyframes breathe { to { opacity: .45; } } @keyframes rise { from { opacity: 0; transform: translateY(4px); } }
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.metrics { grid-template-columns: repeat(4,minmax(0,1fr)); }
.section-meta { margin-top: 12px; color: var(--ink-3); font-size: 12px; }
.usage-panel { border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.capacity-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); }
.capacity { min-width: 0; padding: 20px; display: grid; align-content: start; gap: 8px; }
.capacity + .capacity { border-left: 1px solid var(--line); }
.capacity-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-variant-numeric: tabular-nums; }
.capacity-value strong { font: 600 24px/32px var(--mono); overflow-wrap: anywhere; }
.capacity-value > span { color: var(--ink-3); font: 12px/20px var(--mono); }
.capacity meter { appearance: none; border: 0; height: 4px; width: 100%; margin: 4px 0; border-radius: 3px; background: var(--line); --meter-fill: var(--ink-3); }
.capacity meter.near { --meter-fill: var(--orange); }
.capacity meter.full { --meter-fill: var(--red); }
.capacity meter::-webkit-meter-bar { border: 0; border-radius: 3px; background: var(--line); height: 4px; box-shadow: none; }
.capacity meter::-webkit-meter-optimum-value, .capacity meter::-webkit-meter-suboptimum-value, .capacity meter::-webkit-meter-even-less-good-value { background: var(--meter-fill); border-radius: 3px; }
.capacity meter::-moz-meter-bar { background: var(--meter-fill); border-radius: 3px; }
.usage-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; border-top: 1px solid var(--line); padding: 12px 20px; }
.workspace-details { margin-top: 16px; }
.workspace-details > summary { cursor: pointer; color: var(--ink-2); font-size: 12px; width: fit-content; padding: 4px 6px; margin-left: -6px; border-radius: 6px; } .workspace-details > summary:hover { color: var(--ink); background: var(--canvas); }
.workspace-details > .facts { margin-top: 12px; }
.record-view { min-width: 0; display: grid; gap: 16px; }
.record-group { min-width: 0; border-top: 1px solid var(--line); padding-top: 16px; }
.record-group > h3 { margin-bottom: 12px; }
.record-list { min-width: 0; display: grid; gap: 16px; }
.record-item { min-width: 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.record-item:last-child { border-bottom: 0; padding-bottom: 0; }
.pending-secrets { padding: 24px 32px 0; }
.user-name { min-width: 0; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.audit { padding-block: 4px; } .audit-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); } .audit-row:last-child { border: 0; } .audit-row .meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; } .audit-row .when { flex-shrink: 0; }
.topbar > .listbox { max-width: calc(100% - 100px); }
::selection { color: var(--ink); background: var(--accent-tint); }
input, textarea { caret-color: var(--accent-ink); }
a { text-underline-offset: 3px; }
* { scrollbar-color: var(--line-strong) transparent; scrollbar-width: thin; }
@media (max-width: 1100px) {
  .capacity-grid, .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .capacity:nth-child(2n+1) { border-left: 0; }
  .capacity:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .frame { grid-template-columns: 192px minmax(0,1fr); }
  aside { padding: 24px 12px; }
  .topbar { padding: 12px 24px; }
  .pagehead, section { padding: 24px; }
  .tabs { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 680px) {
  .frame { display: block; }
  aside { height: auto; overflow: visible; position: static; padding: 16px 20px 12px; border-right: 0; border-bottom: 1px solid var(--line); gap: 12px; }
  .brand { gap: 8px; }
  .brand small { display: inline; margin-left: 8px; }
  .brand .mark { width: 28px; height: 28px; flex-basis: 28px; }
  aside nav { display: flex; max-width: none; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; gap: 2px; mask-image: linear-gradient(to right,transparent,#000 16px,#000 calc(100% - 40px),transparent); }
  aside nav::-webkit-scrollbar { display: none; }
  aside nav a { flex-shrink: 0; white-space: nowrap; min-height: 40px; padding: 6px 12px; font-size: 13px; }
  aside nav a:focus-visible { outline-offset: -2px; }
  aside nav .icon { display: none; }
  .aside-foot { display: none; }
  .seg button { min-height: 32px; }
  .topbar { padding: 12px 20px; min-height: 56px; gap: 8px; }
  .topbar .user-name { display: none; } .account { padding-right: 8px; }
  .topbar > .listbox { max-width: calc(100% - 88px); }
  .pagehead, section { padding: 24px 20px; }
  .pagehead > .toolbar { width: 100%; }
  .tabs { padding: 0 12px; mask-image: linear-gradient(to right,transparent,#000 12px,#000 calc(100% - 40px),transparent); }
  .form-grid { grid-template-columns: 1fr; }
  .full { grid-column: auto; }
  .row { gap: 12px; }
  .row > .toolbar { width: 100%; }
  .row > .project-mark + .grow { min-width: calc(100% - 60px); }
  .logline { grid-template-columns: 1fr auto; gap: 4px 8px; }
  .audit-row { flex-wrap: wrap; } .audit-row .when { order: -1; width: 100%; }
  .logline > :last-child { grid-column: 1 / -1; }
  .auth-card { padding: 24px; }
  .table-wrap { overflow: visible; box-shadow: none; }
  table, tbody, tr, td { display: block; white-space: normal; }
  table { background: none; }
  thead { display: none; }
  tr { padding: 16px; margin-bottom: 12px; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); }
  td { padding: 6px 0; border: 0; overflow-wrap: anywhere; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  td::before { content: attr(data-label); flex-shrink: 0; color: var(--ink-3); font-size: 11px; }
  .listbox-label { max-width: 100%; }
  .btn { min-height: 40px; }
  .btn.small { min-height: 34px; }
  .cell-stack { max-width: none; justify-items: end; text-align: right; }
  input, textarea { font-size: 16px; }
  .editor { font-size: 13px; }
  .pending-secrets { padding: 20px 20px 0; }
}
@media (max-width: 560px) {
  .capacity-grid { grid-template-columns: 1fr; }
  .capacity { grid-template-columns: minmax(0,1fr) auto; padding: 14px 16px; gap: 8px; align-items: baseline; }
  .capacity + .capacity { border-left: 0; border-top: 1px solid var(--line); }
  .capacity-value { justify-content: flex-end; }
  .capacity-value strong { font-size: 18px; line-height: 24px; }
  .capacity meter { grid-column: 1 / -1; margin: 0; }
  .capacity > small { display: none; }
  .usage-foot { padding: 12px 16px; }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
  .grid:not(.metrics) { grid-template-columns: 1fr; }
  .stat strong { font-size: 20px; }
  .brand small { display: block; margin-left: 0; }
}
.launch-banner { padding: 0 32px 24px; }
.launch-intro { display: flex; gap: 24px; align-items: center; padding: 24px; border-radius: 12px; background: var(--accent-tint); }
.launch-intro h2 { font-size: 18px; line-height: 26px; }
.launch-intro p { margin-top: 8px; color: var(--ink-2); max-width: 65ch; }
.launch-intro > .btn { flex-shrink: 0; }
.starter-preview { display: flex; gap: 16px; align-items: flex-start; background: var(--inset); padding: 20px; border-radius: 10px; }
.starter-preview p { margin-top: 6px; color: var(--ink-2); }
.starter-mark { font-size: 28px; color: var(--accent-ink); }
.handoff-card { max-width: 860px; padding: 24px; background: var(--surface); box-shadow: var(--shadow); border-radius: 12px; gap: 16px; }
.handoff-card h2 { font-size: 18px; line-height: 26px; margin-bottom: 8px; }
.command-preview { margin: 0; padding: 16px; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--inset); border-radius: 8px; line-height: 21px; }
.handoff-copy { min-height: 260px; }
.launch-progress { display: grid; gap: 12px; max-width: 860px; }
.launch-progress h3 { font-size: 16px; line-height: 24px; }
@media(max-width:680px) { .launch-banner { padding: 0 20px 20px; } .launch-intro { flex-direction: column; align-items: flex-start; padding: 20px; gap: 16px; } .handoff-card { padding: 16px; } }
.usage-toolbar { padding: 0 32px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
@media(max-width:680px) { .usage-toolbar { padding: 0 20px 20px; } }
.waterfall { display: grid; gap: 8px; margin: 0; } .waterfall > div { display: grid; grid-template-columns: minmax(0,11rem) minmax(0,1fr) 5.5rem; align-items: center; gap: 12px; } .waterfall dt { font-size: 12px; color: var(--ink-2); } .waterfall dd { margin: 0; } .waterfall .track { position: relative; display: block; height: 6px; border-radius: 3px; background: var(--inset); } .waterfall .track i { position: absolute; top: 0; bottom: 0; min-width: 2px; border-radius: 3px; background: var(--ink-3); } .waterfall .value { font: 12px/20px var(--mono); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .waterfall > div { grid-template-columns: minmax(0,1fr) auto; row-gap: 4px; } .waterfall .bar { grid-column: 1 / -1; grid-row: 2; } }
