@import url("https://fonts.googleapis.com/css2?family=Host+Grotesk:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap");

/* Account pages: sign-in, dashboard and chat. Near black, one yellow accent. Loaded last in <head>, so these win. */
:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --chip: #1c1c1c;
  --chip-hover: #262626;
  --ink: #f3f3ef;
  --muted: #a3a39d;
  --faint: #7c7c76;
  --line: #2a2a2a;
  --line-soft: #1c1c1c;
  --accent: #ffe14a;
  --accent-ink: #0a0a0a;
  --accent-soft: #3a3410;
  --link: #f3f3ef;
  --good: #5cc98e;
  --good-soft: #10241a;
  --bad: #ff7b6e;
  --code-bg: #141414;
  --ucx: #f3f3ef;
  --ucx-btn: #f3f3ef;
  --foot-bg: #0a0a0a;
  --foot-ink: #f3f3ef;
  --radius: 8px;
  --pill: 8px;
  --sans: 'Host Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: 'Host Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --serif: 'Host Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sb-bg: #0f0f0f;
  --sb-edge: #2a2a2a;
  --sb-hover: #1c1c1c;
  --sb-ink: #f3f3ef;
  --main-bg: #0a0a0a;
  --panel: #0a0a0a;
  --hot: #f3f3ef;
  --field: #141414;
  --field-line: #3a3a3a;
  --btn-bg: #ffe14a;
  --btn-ink: #0a0a0a;
  color-scheme: dark;
}
html.in-app, html.in-app:root {
  --main-bg: #0a0a0a; --panel: #0a0a0a; --surface: #141414;
  --chip: #1c1c1c; --chip-hover: #262626; --line: #2a2a2a;
  --sb-bg: #0f0f0f; --sb-edge: #2a2a2a; --sb-hover: #1c1c1c;
}
html:has(#dash:not(.hide)) { --dash-bg: #0a0a0a; --dash-rail: #0f0f0f; --dash-panel: #141414; --dash-panel-2: #1c1c1c; --dash-edge: #2a2a2a; --dash-line: #2a2a2a; }

@media not all {
  :root {
    --bg: #0d0d0f; --surface: #141417; --chip: #1b1b1f; --chip-hover: #232328;
    --ink: #ededf0; --muted: #a0a0a8; --faint: #7a7a83;
    --line: #26262b; --line-soft: #1b1b1f;
    --accent: #f08a4b; --accent-ink: #0d0d0f; --accent-soft: #2a1a11;
    --link: #ededf0; --good: #5cc98e; --good-soft: #10241a; --bad: #ff7b6e;
    --code-bg: #141417; --ucx: #ededf0; --ucx-btn: #ededf0;
    --foot-bg: #0d0d0f; --foot-ink: #ededf0;
    --sb-bg: #111114; --sb-edge: #26262b; --sb-hover: #1b1b1f; --sb-ink: #ededf0;
    --main-bg: #0d0d0f; --panel: #141417;
    --hot: #ededf0; --field: #141417; --field-line: #34343a;
    --btn-bg: #ededf0; --btn-ink: #0d0d0f;
    color-scheme: dark;
  }
  html.in-app, html.in-app:root {
    --main-bg: #0d0d0f; --panel: #141417; --surface: #141417;
    --chip: #1b1b1f; --chip-hover: #232328; --line: #26262b;
    --sb-bg: #111114; --sb-edge: #26262b; --sb-hover: #1b1b1f;
  }
  html:has(#dash:not(.hide)) { --dash-bg: #0d0d0f; --dash-rail: #111114; --dash-panel: #141417; --dash-panel-2: #1b1b1f; --dash-edge: #26262b; --dash-line: #26262b; }
}

html, body { background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
html:has(#dash:not(.hide)) body, html:has(#dash:not(.hide)) .sheet { background: var(--dash-bg); }
::selection { background: var(--accent-soft); }

/* The mark, swapped in by the script. */
svg.mark-svg { visibility: hidden; }
.uc-mk { display: block; flex: none; color: var(--ink); }
.uc-mk .uc-hole { fill: var(--bg); }

/* Type: one face, plain weights, no posters. */
h1, h2, h3, h4, .logo, .rail-logo, .co-brand, .intro-name, .choose-h { font-family: var(--sans) !important; letter-spacing: -0.02em !important; }
h1, .auth-card h1, .gate h1, .intro-name { font-weight: 600 !important; }
.auth-card h1, .gate h1 { font-size: 26px !important; line-height: 1.2 !important; }
.intro-name { font-size: clamp(26px, 3.6vw, 36px) !important; line-height: 1.15 !important; }
.logo { font-size: 15px; font-weight: 600 !important; gap: 9px; }

/* Nothing that belongs to the other storefront, and no sign-in but the emailed code. */
footer.ed-foot, .foot-spacer, #oauth, #orEmail, .oauth-btn, .rate,
a[href^="/guides"], a[href^="/for/"], a[href^="/compare"], a[href^="/learn"], a[href^="/plans"], a[href^="/blog"], a[href^="/alternatives/"], a[href="/llms.txt"] { display: none !important; }
html.reveal footer.site-foot { display: none !important; }

/* The word that glowed is plain accent type: no gradient, no motion. */
.xpl { background: none !important; color: var(--accent) !important; -webkit-text-fill-color: var(--accent) !important; filter: none !important; animation: none !important; }
.typing { filter: grayscale(1); }

/* Buttons: solid ink, small radius, no gradients or glow. */
.btn, .auth-card .btn, .signin .signin-card .btn, .dash-main .btn:not(.ghost):not(.danger), .bug-send,
.send, .composer-row .send:not(:disabled):not(.stop) {
  background: var(--btn-bg) !important; color: var(--btn-ink) !important; border: 1px solid var(--btn-bg) !important;
  box-shadow: none !important; border-radius: 8px !important; font-family: var(--sans) !important; font-weight: 500 !important;
}
.btn:hover, .auth-card .btn:hover, .dash-main .btn:not(.ghost):hover, .composer-row .send:not(:disabled):not(.stop):hover { opacity: .88; }
.btn.ghost, .dash-main .btn.ghost { background: transparent !important; color: var(--ink) !important; border: 1px solid var(--line) !important; }
.btn.danger { border-radius: 8px !important; }
.avatar { background: var(--chip) !important; color: var(--ink) !important; }
.rail-nav .tab[aria-current] { color: var(--ink); background: var(--chip); }

/* Fields and cards: thin borders, small corners. */
input, select, textarea { font-family: var(--sans); }
.auth-card input[type="email"], .otp input, .dash-main input, .dash-main select { border-radius: 8px !important; }
.auth-card input[type="email"]:focus, .otp input:focus, .composer:focus-within {
  border-color: var(--accent) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent) !important;
}
.otp input { caret-color: var(--accent); }
.auth-mark .uc-mk { width: 44px; height: 32px; }
.card, .dash-main .card { border-radius: 8px; border: 1px solid var(--line); background: var(--dash-panel, var(--surface)); box-shadow: none; }
.composer { border-radius: 12px !important; }
.md .md-code .tok-k { color: var(--accent); }

/* The connect card the skin adds to Get Started. */
.uc-connect { border: 1px solid var(--line); border-radius: 8px; background: var(--dash-panel, var(--surface)); padding: 20px; margin: 20px 0 0; }
.uc-connect h4 { font-weight: 600; font-size: 16px; margin: 0 0 8px; }
.uc-connect p { color: var(--muted); margin: 0 0 12px; }
.uc-connect ol { margin: 0 0 12px; padding-left: 1.2em; color: var(--ink); }
.uc-connect li { margin: 0 0 6px; }
.uc-connect code { font-family: var(--mono); background: var(--chip); border-radius: 4px; padding: 1px 6px; overflow-wrap: anywhere; }
.uc-connect a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* The refund line on the dashboard. */
.uc-refund { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 12px 14px; margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.uc-refund strong { color: var(--ink); font-weight: 600; }
.uc-refund a { color: var(--ink); }

/* A small footer for the signed-out pages. */
.uc-foot { border-top: 1px solid var(--line); padding: 20px 16px 26px; text-align: center; font: 400 13px/1.6 var(--sans); color: var(--faint); }
.uc-foot a { color: var(--muted); margin: 0 8px; }

/* The dashboard's own fixed dark greys, mapped onto this palette. */
.rail-nav .tab, .rail-foot, .rail-menu a, .rail-menu button, .gs-ic svg, .topup-presets button, .co-back { color: var(--muted) !important; }
.rail-nav .tab:hover, .rail-menu a:hover, .rail-menu button:hover { color: var(--ink) !important; background: var(--chip) !important; }
.rail-nav .tab[aria-current], .rail-more:hover, .tip .r .tsw, .top-row .sw, .co-back:hover { background: var(--chip) !important; color: var(--ink) !important; }
.chart .grid line { stroke: var(--line) !important; }
.credit-bar .track, .top-row .bar, .coin-x { background: var(--chip) !important; }
.sel, .seg { background-color: var(--dash-panel, var(--bg)) !important; color: var(--ink) !important; }
.gs-ic, .gs-ic.logo, .co-bar { background: var(--chip) !important; }
.icon-btn:hover, .dash-main .topup-pay.crypto:not(.solo):hover { background: var(--chip-hover) !important; color: var(--ink) !important; }
.seg button[aria-pressed="true"] { background: var(--bg) !important; color: var(--ink) !important; box-shadow: 0 0 0 1px var(--line) !important; }
.credit-bar .track i { background: var(--ink) !important; }
.credit-bar .track i + i { background: var(--faint) !important; }
.credit-bar .dot { background: var(--ink) !important; }
.credit-bar .legend span + span .dot { background: var(--faint) !important; }
.heat .c, .heat-legend .c { background: var(--chip) !important; }
.heat .c.l1, .heat-legend .c.l1 { background: color-mix(in srgb, var(--accent) 25%, var(--bg)) !important; }
.heat .c.l2, .heat-legend .c.l2 { background: color-mix(in srgb, var(--accent) 50%, var(--bg)) !important; }
.heat .c.l3, .heat-legend .c.l3 { background: color-mix(in srgb, var(--accent) 75%, var(--bg)) !important; }
.heat .c.l4, .heat-legend .c.l4 { background: var(--accent) !important; }
.tip, .rail-menu { background: var(--surface) !important; border-color: var(--line) !important; color: var(--ink); box-shadow: 0 8px 30px rgba(0, 0, 0, .5) !important; }
.tip .t { border-color: var(--line) !important; }

/* Out of credit in the playground: a plain card, not red text. */
.msg-error.uc-credit { display: block !important; color: var(--ink) !important; background: var(--surface) !important; border: 1px solid var(--line) !important; border-radius: 10px !important; padding: 16px 18px !important; max-width: 460px; font: 400 14px/1.5 var(--sans) !important; }
.uc-credit strong { display: block; font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.uc-credit p { margin: 0 0 10px; color: var(--muted); }
.uc-credit .uc-bal { color: var(--ink); font-variant-numeric: tabular-nums; }
.uc-credit .btn { display: inline-flex; padding: 9px 14px !important; text-decoration: none; }

/* Playground settings: system prompt, temperature, max tokens. */
.uc-pg-toggle { position: fixed; top: 10px; right: 14px; z-index: 60; font: 500 13px/1 var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 11px; cursor: pointer; }
.uc-pg-toggle:hover { background: var(--chip); }
.uc-pg { position: fixed; top: 48px; right: 14px; z-index: 60; width: min(340px, calc(100vw - 28px)); background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 16px; box-shadow: 0 8px 30px rgba(0, 0, 0, .12); font: 400 14px/1.5 var(--sans); }
.uc-pg[hidden] { display: none; }
.uc-pg h3 { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.uc-pg label { display: block; font-size: 12px; color: var(--muted); margin: 10px 0 4px; }
.uc-pg textarea, .uc-pg input[type="number"] { width: 100%; box-sizing: border-box; font: 400 13px/1.45 var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.uc-pg textarea { min-height: 96px; resize: vertical; }
.uc-pg .row { display: flex; align-items: center; gap: 10px; }
.uc-pg input[type="range"] { flex: 1; accent-color: var(--accent); }
.uc-pg output { min-width: 2.6em; text-align: right; font-variant-numeric: tabular-nums; }
.uc-pg .note { font-size: 12px; color: var(--faint); margin: 10px 0 0; }
.uc-pg .reset { margin-top: 10px; font: 500 12px/1 var(--sans); background: none; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); padding: 6px 9px; cursor: pointer; }
@media (max-width: 760px) { .uc-pg-toggle { top: auto; bottom: 86px; } .uc-pg { top: auto; bottom: 126px; } }

/* Connect your agent screen */
.uc-agents { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.uc-agent { font: inherit; font-size: 14px; color: var(--ink); background: var(--chip); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.uc-agent:hover { background: var(--chip-hover); }
.uc-agent[aria-selected="true"] { background: var(--ink); color: var(--bg, #fff); border-color: var(--ink); }
.uc-pick { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.uc-pick label { color: var(--muted); font-size: 14px; }
.uc-pick select { font: inherit; font-size: 14px; color: var(--ink); background: var(--chip); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.uc-note { color: var(--muted); margin: 0 0 10px; }
.uc-code { position: relative; }
.uc-code pre { margin: 0; padding: 16px 18px; padding-right: 110px; background: var(--code-bg, var(--chip)); border: 1px solid var(--line); border-radius: 10px; overflow-x: auto; }
.uc-code code { font-family: var(--mono); font-size: 13px; line-height: 1.55; white-space: pre; background: none; padding: 0; }
.uc-code .uc-copy { position: absolute; top: 10px; right: 10px; padding: 6px 12px; font-size: 13px; }
.uc-more { margin: 12px 0 0; font-size: 14px; }
@media (max-width: 640px) { .uc-code pre { padding-right: 18px; padding-top: 52px; } }
.uc-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0 0 12px; }
.uc-bar .uc-pick { margin: 0; }
.uc-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.uc-seg[hidden] { display: none; }
.uc-seg button { font: inherit; font-size: 14px; color: var(--muted); background: var(--chip); border: 0; padding: 7px 14px; cursor: pointer; }
.uc-seg button + button { border-left: 1px solid var(--line); }
.uc-seg button[aria-pressed="true"] { color: var(--ink); background: var(--chip-hover); font-weight: 600; }
.uc-code .uc-actions { position: absolute; top: 10px; right: 10px; display: flex; gap: 8px; }
.uc-code .uc-actions .btn { position: static; padding: 6px 12px; font-size: 13px; }
.uc-code .uc-actions .btn[hidden] { display: none; }
.uc-code pre { padding-right: 18px; padding-top: 52px; }

/* Signed-in pages (dashboard, chat) are the same warm dark as the public site,
   whatever the visitor's colour setting. */
html.in-app, html.in-app:root, html:has(#dash:not(.hide)), html:has(#dash:not(.hide)):root {
  --bg: #0a0a0a; --surface: #141414; --chip: #1c1c1c; --chip-hover: #262626;
  --ink: #f3f3ef; --muted: #a3a39d; --faint: #7c7c76;
  --line: #2a2a2a; --line-soft: #1c1c1c;
  --accent: #ffe14a; --accent-ink: #0a0a0a; --accent-soft: #3a3410;
  --link: #f3f3ef; --good: #5cc98e; --good-soft: #10241a; --bad: #ff7b6e;
  --code-bg: #141414; --field: #141414; --field-line: #3a3a3a;
  --main-bg: #0a0a0a; --panel: #0a0a0a;
  --sb-bg: #0f0f0f; --sb-edge: #2a2a2a; --sb-hover: #1c1c1c; --sb-ink: #f3f3ef;
  --dash-bg: #0a0a0a; --dash-rail: #0f0f0f; --dash-panel: #141414; --dash-panel-2: #1c1c1c; --dash-edge: #2a2a2a; --dash-line: #2a2a2a;
  --btn-bg: #ffe14a; --btn-ink: #0a0a0a;
  color-scheme: dark;
}
html.in-app .btn:not(.ghost):not(.danger), html:has(#dash:not(.hide)) .btn:not(.ghost):not(.danger),
html:has(#dash:not(.hide)) .dash-main .btn:not(.ghost):not(.danger) {
  background: var(--btn-bg) !important; color: var(--btn-ink) !important; border: 0 !important; border-radius: 6px !important;
}
html.in-app .btn.ghost, html:has(#dash:not(.hide)) .btn.ghost, html:has(#dash:not(.hide)) .dash-main .btn.ghost { background: var(--chip) !important; color: var(--ink) !important; border: 0 !important; }

.uc-pg-toggle, .uc-pg { display: none !important; }

/* Blue where the shared chat hard-codes its orange. */
.composer.dictating .dict-wave:not(.hide) { color: var(--accent) !important; }
.wc-ico.busy { color: var(--accent) !important; }
.md .md-code .tok-k, .install-p a { color: var(--accent) !important; }
.bug-send { background: var(--btn-bg) !important; }
.q-now { background: color-mix(in srgb, var(--accent) 22%, transparent) !important; }

/* Out-of-credit card: one calm centred card, the balance as the figure. */
.msg-error.uc-credit { max-width: 440px !important; margin: 24px auto !important; padding: 26px 24px !important; border-radius: 18px !important; text-align: center; background: var(--surface) !important; border: 1px solid var(--line) !important; box-shadow: 0 8px 28px rgba(0, 0, 0, .25); }
.uc-credit strong { font-size: 18px !important; letter-spacing: -0.02em; margin: 0 0 6px !important; }
.uc-credit p { margin: 0 0 14px !important; line-height: 1.45; }
.uc-credit .uc-bal { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; margin: 0 0 18px !important; }
.uc-credit .btn { padding: 11px 28px !important; font-size: 15px; }

/* Dashboard link lives with the account row at the bottom of the chat sidebar. */
.sb-foot a.sb-new { margin: 0 0 6px; }

/* New chat and the account row: page-coloured boxes with a hairline, like the composer. */
.sb-top #newChat.sb-new, .sb-foot .sb-user { background: var(--bg); border-color: var(--line); color: var(--ink); }
.sb-top #newChat.sb-new:hover, .sb-foot .sb-user:hover, .sb-foot .sb-user[aria-expanded="true"], .sb-top .sb-new:hover { background: var(--chip); border-color: var(--field-line, var(--line)); color: var(--ink); }

/* Dashboard in the storefront's own clothes: serif titles as on the public
   pages, cards one step lighter than the page with a hairline, and the orange
   duotone landscape behind the balance. */
.dash-main .pane > h3 { font-family: var(--serif) !important; font-weight: 400 !important; font-size: 40px !important; line-height: 1.1 !important; letter-spacing: -0.02em !important; margin-bottom: 22px; }
.gs-sec h4 { font-family: var(--serif) !important; font-weight: 400 !important; font-size: 28px !important; letter-spacing: -0.015em !important; }
.gs-sec { margin-top: 48px; }

.uc-keycard { position: relative; overflow: hidden; isolation: isolate; padding: 22px 24px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.uc-keycard::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle, rgba(217, 98, 43, .32) 1.1px, transparent 1.7px) 0 0 / 7px 7px; -webkit-mask-image: radial-gradient(ellipse 60% 120% at 100% 0, #000 0, transparent 70%); mask-image: radial-gradient(ellipse 60% 120% at 100% 0, #000 0, transparent 70%); }
.uc-keycard .lbl { margin-top: 0; color: var(--ink); font-weight: 500; }
.uc-keycard .keyfield { background: var(--bg); }
.uc-keycard .keynote:last-child { margin-bottom: 0; }

.gs-tile { background: var(--surface) !important; border: 1px solid var(--line) !important; transition: border-color .15s ease, background .15s ease; }
.gs-tile:hover { background: var(--chip) !important; border-color: var(--field-line) !important; }
.gs-tile:hover .gs-cp { color: var(--accent); }
.gs-ic, .gs-ic.logo { background: var(--accent-soft) !important; }
.gs-ic svg { color: var(--accent) !important; }
.gs-ic img[data-logo="claude-code"] { filter: none; }

.bal { position: relative; overflow: hidden; isolation: isolate; min-height: 150px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 14px 14px 0 0; background: var(--surface); }
.bal::before, .bal::after { content: ''; position: absolute; inset: 0 0 0 42%; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%); mask-image: linear-gradient(90deg, transparent 0, #000 45%); }
.bal::before { z-index: -2; background: #fff07a; }
.bal::after { z-index: -1;  filter: grayscale(1) contrast(1.4) brightness(1.15); mix-blend-mode: screen; }
.bal span { font-size: 14px; color: var(--muted); }
.bal b { margin-top: 8px; font-family: var(--serif); font-size: 52px; line-height: 1; letter-spacing: -0.02em; }
.bal .btn { padding: 14px 26px !important; font-size: 14px; }
.bal + .lowbal { display: flex; width: 100%; box-sizing: border-box; margin: 0; padding: 13px 28px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; background: var(--surface); }
.bal + .lowbal:hover { background: var(--chip); }

/* A shorter dashboard rail: the usage overview and settings tabs are left out. */
.rail-nav .tab[data-tab="usage"], .rail-nav .tab[data-tab="settings"] { display: none !important; }

/* Model picker: a lighter surface with a firm edge and a real shadow, names wrap
   instead of ending in an ellipsis, and each nickname carries its listing name underneath. */
.mp-menu { width: min(600px, calc(100vw - 24px)); padding: 8px; background: var(--surface); border: 1px solid var(--field-line); border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 4px 12px rgba(0, 0, 0, .35); }
.mp-list { max-height: min(460px, 62vh); gap: 2px; }
.mp-row { padding: 10px 12px; }
.mp-row:hover, .mp-row.hi { background: var(--chip); }
.mp-row[aria-selected="true"] { background: var(--chip-hover); box-shadow: inset 0 0 0 1px var(--field-line); }
.mp-name { font-size: 15px; font-weight: 600; }
.mp-name > span:first-child { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
.mp-sub { font-size: 12.5px; line-height: 1.35; color: var(--muted); overflow-wrap: anywhere; }
.mp-fig b { color: var(--ink); }
.mp-fig.hit b { color: var(--good); }
.mp-fig small { color: var(--muted); }
.mp-check { color: var(--accent); }
.mp-check svg { width: 18px; height: 18px; }
/* The dashboard's cut-corner panels and buttons (public/dashboard) in this storefront's
   orange, and its page titles in the serif like every other pane here. */
html:has(#dash:not(.hide)) { --act: var(--accent); --act-hover: color-mix(in srgb, var(--accent) 85%, #fff); }
.btn-cut:not(.ghost), .btn-cut:not(.ghost):hover, .rail-av { color: var(--accent-ink) !important; }
.dash-main .pane .ph-row h3 { font-family: var(--serif) !important; font-weight: 400 !important; font-size: 40px !important; line-height: 1.1 !important; letter-spacing: -0.02em !important; }

/* Billing balance card: plain, with the button readable on it. */
.bal::before, .bal::after { display: none; }
.bal .btn { background: #ffe14a !important; color: #0a0a0a !important; border-radius: 999px !important; }
/* New API key dialog */
.uc-keydlg:not(.hide) { position: fixed !important; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 110; width: min(440px, calc(100vw - 28px)); max-height: calc(100vh - 28px); overflow: auto; margin: 0 !important; padding: 0 !important; background: #0a0a0a !important; border: 1px solid #2a2a2a !important; border-radius: 14px !important; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .72), 0 30px 80px rgba(0, 0, 0, .6); clip-path: none !important; }
.uc-keydlg::before, .uc-keydlg::after { display: none !important; }
.uc-kd-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid #2a2a2a; font-size: 18px; }
.uc-kd-head strong { font-weight: 600; }
.uc-kd-head button { border: 0; background: transparent; color: #f3f3ef; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 2px; }
.uc-keydlg #keyForm, .uc-keydlg .key-limits .formrow { display: block !important; padding: 18px 22px 0; margin: 0; }
.uc-keydlg .key-limits { padding: 0; margin: 0; border: 0; }
.uc-keydlg .key-limits summary { display: none; }
.uc-keydlg label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 8px; color: #f3f3ef; }
.uc-keydlg input { width: 100%; height: 42px; border-radius: 8px; border: 1px solid #3a3a3a; background: #141414; color: #f3f3ef; padding: 0 12px; font-size: 15px; }
.uc-keydlg input:focus { outline: 2px solid #ffe14a; outline-offset: 0; border-color: transparent; }
.uc-kd-bal { margin: 18px 22px 0; padding: 16px 18px; border-radius: 10px; background: #1c1c1c; }
.uc-kd-bal span { display: block; font-size: 14px; color: #a3a39d; margin: 0 0 10px; }
.uc-kd-bal b { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.uc-kd-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px 22px 20px; margin-top: 18px; border-top: 1px solid #2a2a2a; }
.uc-kd-foot button { height: 44px; border-radius: 8px; font: 600 15px/1 var(--sans); cursor: pointer; clip-path: none !important; }
.uc-kd-cancel { background: #141414; color: #f3f3ef; border: 1px solid #3a3a3a; }
.uc-kd-foot #kCreate { background: #ffe14a !important; color: #0a0a0a !important; border: 0 !important; width: 100%; margin: 0; }
