Files
Claude 17d5afe589 dark tokens: selected tabs and chips readable in dark on 12 app and cloud pages
/automations, /billing, /chrome, /cli, /commerce, /edge, /gateway, /idv, /ledger,
/operative, /playground, /pubsub. /billing's Issued chip lost its solid fill in dark
(now var(--primary) / var(--primary-foreground)). On the others the selected label
sits on a sliding pill drawn by a sibling element; the label now carries the pill's
own colour in dark, so it reads the same and James's darkcheck measures it correctly.
Every rule is under html:not(.light): light mode is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01P5YBdwj33XByFVTvu9bfci
2026-11-08 14:01:19 +00:00

339 lines
27 KiB
CSS
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* ---------- billing v2 (bl2-) ---------- */
/* hero: the statement, then the calculator, on the first screen (no pin, no scroll scrub) */
.bl2-hero { padding: clamp(28px, 5svh, 64px) 0 clamp(56px, 7vw, 96px); }
.bl2-hero-copy .l2-lede { font-size: 17px; line-height: 1.55; margin-top: 16px; }
.bl2-hero-k { margin-top: 14px; }
.bl2-hero-copy .l2-acts { margin-top: 26px; }
@media (min-width: 901px) {
.bl2-hero-copy { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.bl2-hero-copy .l2-display { grid-column: 1 / span 7; grid-row: 1; }
.bl2-hero-copy .bl2-hero-k { grid-column: 1 / span 7; grid-row: 2; }
.bl2-hero-copy .l2-acts { grid-column: 1 / span 7; grid-row: 3; }
.bl2-hero-copy .l2-lede { grid-column: 8 / span 5; grid-row: 1 / span 3; margin-top: 6px; max-width: none; }
}
.bl2-e-px { position: relative; margin-top: clamp(20px, 3svh, 36px); }
/* signature: the live calculator */
.bl2-calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px; padding: 12px; border-radius: 28px; background: #f5f5f5; }
.bl2-cc { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; padding: 18px 22px; border-radius: 20px; background: #fff; }
.bl2-in label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; color: #525252; }
.bl2-in-v { font-size: 16px; font-weight: 606; color: var(--ink); font-variant-numeric: tabular-nums; }
.bl2-in input { display: block; width: 100%; height: 36px; margin: 0; accent-color: #0a0a0a; cursor: pointer; background: transparent; }
.bl2-in input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 8px; }
.bl2-ci { display: flex; flex-direction: column; padding: clamp(20px, 2.4vw, 30px); }
.bl2-ci-h { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--hair); }
.bl2-ci-h p { margin: 0 0 4px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #737373; }
.bl2-ci-h b { font-size: 26px; font-weight: 497; letter-spacing: -.03em; }
.bl2-seg { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: #f5f5f5; }
.bl2-seg button { min-height: 40px; padding: 0 12px; border: 0; border-radius: 9px; background: none; color: #525252; font-size: 13px; font-weight: 606; cursor: pointer; transition: background .2s, color .2s, transform 90ms var(--ease); }
@media (hover: hover) { .bl2-seg button:hover:not([aria-pressed='true']) { background: #ededed; color: var(--ink); } }
.bl2-seg button:active { transform: scale(.97); }
.bl2-seg button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.bl2-seg button[aria-pressed='true'] { background: #0a0a0a; color: #fff; }
.bl2-ci-lines { list-style: none; margin: 4px 0 0; padding: 0; }
.bl2-ci-lines li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--hair); transition: opacity .3s; }
.bl2-ci-lines li.off { opacity: .4; }
.bl2-ci-k { display: flex; flex-direction: column; gap: 3px; font-size: 17px; font-weight: 497; letter-spacing: -.01em; }
.bl2-ci-k em { font-size: 13px; font-style: normal; font-weight: 400; color: #737373; letter-spacing: 0; }
.bl2-ci-v { font-size: 16px; font-variant-numeric: tabular-nums; }
.bl2-ci-f { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 12px; min-height: 72px; }
.bl2-ci-f > span:first-child { flex: 1; font-size: 14px; color: #737373; }
.bl2-ci-stamp { display: flex; min-width: 128px; justify-content: center; }
.bl2-ci-total { font-size: 52px; font-weight: 220; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
/* the machine: events → meter → invoice */
.bl2-mach { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); gap: 10px; padding: 10px; background: #f5f5f5; }
.bl2-zone { position: relative; padding: 22px; border-radius: 20px; background: #fff; height: 400px; }
.bl2-zk { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 16px; font-size: 13px; color: var(--faint); }
.bl2-zk b { font-weight: 606; color: var(--ink); }
.bl2-ev { display: flex; flex-direction: column; }
/* fixed window, rows placed by transform only: no layout shift as events land */
.bl2-ev ul { position: relative; flex: 1; min-height: 0; list-style: none; margin: 0; padding: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.bl2-ev li { position: absolute; top: 0; left: 0; right: 0; will-change: transform; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border-radius: 12px; background: #f5f5f5; font-size: 13px; }
.bl2-ev li b { color: var(--ac); }
.bl2-ev li em { grid-column: 1 / -1; font-style: normal; color: var(--faint); font-size: 12px; }
.bl2-meter { display: flex; flex-direction: column; background: #0a0a0a; color: #f5f5f5; }
.bl2-meter .bl2-zk { color: #a3a3a3; }
.bl2-num { position: relative; flex: 1; display: grid; place-items: center; overflow: hidden; font-size: 64px; font-weight: 220; }
.bl2-num span { grid-area: 1 / 1; }
.bl2-period { display: flex; justify-content: space-between; margin: 0 0 10px; font-size: 13px; color: #a3a3a3; }
.bl2-bar { display: block; height: 8px; border-radius: 4px; background: #262626; overflow: hidden; }
.bl2-bar b { display: block; height: 100%; background: var(--ac); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.bl2-inv { overflow: hidden; }
.bl2-inv-h, .bl2-doc-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--hair); }
.bl2-inv-h > span { display: flex; flex-direction: column; gap: 4px; }
.bl2-inv-h b { font-size: 21px; font-weight: 497; }
.bl2-inv-h em { font-size: 13px; font-style: normal; color: var(--faint); }
.bl2-chip { padding: 8px 12px; border-radius: 9px; font-size: 13px; font-weight: 606; background: #f5f5f5; color: var(--soft); }
.bl2-chip.preview { background: #f5f5f5; color: #525252; }
.bl2-chip.issued { background: var(--ac); color: #fff; }
.bl2-lines { list-style: none; margin: 0; padding: 0; }
.bl2-lines li { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--hair); outline: none; transition: background .3s; }
.bl2-lines li.hot { background: #ededed; }
.bl2-lk { font-size: 16px; font-weight: 500; }
.bl2-lv { font-size: 14px; color: var(--soft); }
.bl2-wait { color: var(--faint); }
.bl2-inv-f { margin: 16px 0 0; font-size: 14px; color: var(--faint); }
.bl2-mach > .l2-pause { top: auto; right: 18px; bottom: 18px; }
/* the objects, as quick rows */
.bl2-objs { overflow-x: clip; }
.bl2-objs-h { margin-bottom: 40px; }
.bl2-objs-h .l2-kick { margin-top: 14px; }
.bl2-objs-h .l2-lede { margin-top: 16px; }
.bl2-rows { list-style: none; margin: 56px 0 0; padding: 0; }
.bl2-rows > li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; padding: 40px 0; border-top: 1px solid var(--hair); }
.bl2-row-t { grid-column: 1 / span 5; }
.bl2-row-n { margin: 8px 0 12px; font-size: 13px; color: #737373; }
.bl2-row-o { grid-column: 7 / span 6; }
.bl2-row-o > * { margin-top: 0; }
/* plans and prices: publish a new price */
.bl2-pv { margin-top: 28px; padding: 22px; border-radius: 22px; background: #f5f5f5; }
.bl2-pv-plan { display: inline-flex; align-items: center; gap: 10px; margin: 14px 0 12px; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: #fff; }
.bl2-pv-plan span { font-size: 13px; color: #a3a3a3; }
.bl2-pv-plan b { font-size: 17px; }
.bl2-pv-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bl2-pv-rows li { display: grid; grid-template-columns: 70px 1fr 28px; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #fff; }
.bl2-pv-rows li.new { box-shadow: inset 0 0 0 1.5px var(--ac); }
.bl2-pv-k { font-size: 13px; color: var(--soft); }
.bl2-pv-subs { display: flex; flex-wrap: wrap; gap: 4px; }
.bl2-pv-subs i { width: 14px; height: 14px; border-radius: 50%; background: var(--ac); }
.bl2-pv-rows li:not(.new) .bl2-pv-subs i { background: #d4d4d4; }
.bl2-pv-n { font-size: 14px; text-align: right; }
.bl2-pv-acts { display: flex; gap: 8px; margin-top: 14px; }
.bl2-ib { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .2); background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s, transform 90ms var(--ease); }
@media (hover: hover) { .bl2-ib:hover:not(:disabled) { background: #f5f5f5; border-color: var(--ink); } }
.bl2-ib:active { transform: scale(.97); }
.bl2-ib:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.bl2-ib:disabled { opacity: .35; cursor: not-allowed; background: #f5f5f5; border-style: dashed; border-color: rgba(0, 0, 0, .25); }
.bl2-ib:disabled:active { transform: none; }
/* meters: the usage as one period of cells */
.bl2-mf, .bl2-is { padding: 22px; border-radius: 22px; background: #f5f5f5; }
.bl2-mf-k, .bl2-is-k { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; font-size: 13px; color: var(--soft); }
.bl2-mf-k .l2-fig { font-size: 48px; font-weight: 220; line-height: 1; color: var(--ink); }
.bl2-mf-slots { display: grid; grid-template-columns: repeat(18, minmax(0, 1fr)); gap: 4px; margin: 18px 0 14px; }
.bl2-mf-slots i { height: 36px; border-radius: 5px; background: #e4e4e7; transform-origin: 50% 100%; transform: scaleY(.45); transition: transform .4s var(--ease), background .3s; }
.bl2-mf-slots i.on { background: var(--ink); transform: none; }
.bl2-mf-f { display: flex; justify-content: space-between; margin: 0; font-size: 13px; color: var(--faint); }
/* invoices: draft, preview, issued */
.bl2-is-row { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 22px 0 4px; padding: 0; }
.bl2-is-row::before, .bl2-is-line { content: ''; position: absolute; left: 7px; right: calc(33.33% - 7px); top: 7px; height: 2px; background: #e4e4e7; }
.bl2-is-line { display: block; background: var(--ink); transform-origin: 0 50%; transition: transform .8s var(--ease); }
.bl2-is-s { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; margin: 0; }
.bl2-is-dot { width: 16px; height: 16px; border-radius: 50%; background: #f5f5f5; box-shadow: inset 0 0 0 2px #d4d4d4; transition: background .4s, box-shadow .4s, transform .4s var(--ease); }
.bl2-is-s span { font-size: 14px; color: var(--faint); transition: color .4s; }
.bl2-is-s.past .bl2-is-dot { background: var(--ink); box-shadow: none; }
.bl2-is-s.now .bl2-is-dot { background: var(--ink); box-shadow: 0 0 0 5px #e4e4e7; transform: scale(1.1); }
.bl2-is-s.past span, .bl2-is-s.now span { color: var(--ink); }
.bl2-is-s.now span { font-weight: 606; }
/* invoice document (the close) and the stamp */
.bl2-doc { padding: clamp(24px, 3vw, 40px); }
.bl2-doc-h p { margin: 0 0 6px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.bl2-doc-h b { font-size: 32px; font-weight: 497; letter-spacing: -.03em; }
.bl2-doc-lines { list-style: none; margin: 18px 0 0; padding: 0; }
.bl2-doc-lines li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--hair); }
.bl2-doc-lines span { font-size: 21px; font-weight: 497; letter-spacing: -.02em; }
.bl2-doc-lines b { font-size: 16px; font-weight: 500; color: var(--soft); }
.bl2-doc-f { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 96px; margin-top: 8px; }
.bl2-doc-f > span { font-size: 14px; color: var(--faint); }
/* the stamp has its own slot (never laid over the line beside it) */
.bl2-stamp { flex: none; margin-right: 8px; padding: 8px 16px; border: 2px solid var(--ink); border-radius: 12px; color: var(--ink); font-size: 21px; font-weight: 606; letter-spacing: .04em; text-transform: uppercase; }
/* history (dark) */
.bl2-hist.l2-sec { padding-top: clamp(64px, 6vw, 96px); }
.bl2-hist-l { grid-column: 1 / span 5; }
.bl2-caps { list-style: none; margin: 36px 0 0; padding: 0; }
.bl2-caps button { width: 100%; display: flex; flex-direction: column; gap: 8px; padding: 22px 0 22px 20px; border: 0; border-left: 2px solid rgba(255, 255, 255, .12); background: none; color: #f5f5f5; text-align: left; cursor: pointer; transition: border-color .3s; }
.bl2-caps li.on button { border-color: var(--ac); }
.bl2-caps b { font-size: 26px; font-weight: 497; letter-spacing: -.025em; }
.bl2-caps span { font-size: 16px; line-height: 1.55; color: #a3a3a3; }
.bl2-log { grid-column: 7 / span 6; align-self: center; padding: 28px; border-radius: 24px; background: #0f0f0f; border: 1px solid rgba(255, 255, 255, .1); }
.bl2-log-k { display: flex; justify-content: space-between; margin: 0 0 18px; font-size: 13px; color: #a3a3a3; }
.bl2-log ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bl2-log li { display: grid; grid-template-columns: 12px minmax(0, 1.2fr) minmax(0, 1.4fr) auto; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: #171717; transition: opacity .3s, background .3s; }
.bl2-log li.lo { opacity: .3; }
.bl2-log li.hi { background: rgba(115, 115, 115, .2); }
@media (hover: hover) { .bl2-log li { cursor: default; } .bl2-log li:hover { background: rgba(115, 115, 115, .2); } }
.bl2-log li i { width: 10px; height: 10px; border-radius: 50%; }
.bl2-log li i.c0 { background: #a3a3a3; }
.bl2-log li i.c1 { background: #f5f5f5; }
.bl2-log li i.c2 { background: #737373; }
.bl2-log li b { font-size: 16px; font-weight: 606; }
.bl2-log li span { font-size: 16px; color: #a3a3a3; }
.bl2-log li em { font-size: 13px; font-style: normal; color: #a3a3a3; }
/* get started (a card: the shrink-to-card entrance ends here) */
.bl2-start.l2-sec { position: relative; padding-top: clamp(72px, 7vw, 112px); }
.bl2-start::before { content: ''; position: absolute; inset: 0; border-radius: 0; background: #fafafa; clip-path: inset(0 clamp(8px, 2vw, 24px) round 28px); }
.bl2-start > .l2-wrap { position: relative; }
.bl2-start-l { grid-column: 1 / span 5; }
.bl2-cap-k { margin: 12px 0 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bl2-first { margin: 48px 0 28px; padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--hair); }
.bl2-first .l2-body { margin-top: 10px; }
.bl2-first .l2-acts { margin-top: 22px; }
.bl2-note { margin: 14px 0 0; font-size: 14px; color: var(--soft); }
.bl2-start-r { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 14px; }
.bl2-start-r .cf-code { border-radius: 24px; }
.bl2-start-r .cf-mark { background: #e4e4e7; color: var(--ink); border-radius: 4px; }
/* the code pane scrolls sideways instead of breaking a token */
.bl2-start-r .cf-code pre { white-space: pre; word-break: normal; overflow-x: auto; }
.bl2-start-r .cf-code pre:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 6px; }
/* the close: one object, this period's invoice at the calculator's figures (a paper card in the black room) */
.bl2-fin.l2-band { padding-top: clamp(64px, 7vw, 104px); }
.bl2-fin .l2-band-copy { display: none; }
.bl2-fin .l2-band-obj { grid-column: 4 / span 6; }
.bl2-fin .l2-band-get { margin-top: clamp(48px, 5vw, 72px); }
.bl2-cl { --ac: #0a0a0a; --hair: rgba(0, 0, 0, .1); --soft: #525252; --muted: #737373; --faint: #737373; color: var(--ink); padding: clamp(22px, 2.6vw, 34px); }
.bl2-cl .bl2-doc-h b { font-size: 26px; }
.bl2-cl .bl2-doc-lines { margin-top: 6px; }
.bl2-cl .bl2-doc-lines li { padding: 16px 0; }
.bl2-cl .bl2-doc-lines span { font-size: 17px; }
.bl2-cl .bl2-doc-lines b { font-size: 14px; }
.bl2-cl .bl2-doc-f { min-height: 80px; }
.bl2-cl-total { margin-left: auto; font-size: 44px; font-weight: 220; line-height: 1; font-variant-numeric: tabular-nums; }
/* hovers that answer; the console sheet opens below the header */
@media (hover: hover) {
.bl2-hero .x-arrow { transition: color .2s, transform var(--dur-press) var(--ease-out-expo); }
.bl2-hero .x-arrow:hover { color: #525252; }
.bl2-start-r .cf-code .x-copy { transition: background .2s, border-color .2s, color .2s; }
.bl2-start-r .cf-code .x-copy:hover { background: #f5f5f5; border-color: rgba(0, 0, 0, .24); color: var(--ink); box-shadow: none; }
}
@media (min-width: 901px) { body:has(main.bl2) .l2-sheet { top: 72px; } }
/* ---------- entrances (MOTION-MAP rule 7), once each, in the map's order ----------
1 pixel-resolve (the calculator) 2 orbit-in (the objects) 3 invert-flash (the history)
4 shrink-to-card (get started) 5 depth-parallax (the close)
Start states only under html.js and when motion is allowed; JS off or reduced motion = final state. */
.bl2-px { display: none; }
@media (prefers-reduced-motion: no-preference) {
/* 1 pixel-resolve: coarse 16 × 8 pixels clear in a scattered order while the calculator sharpens in steps */
.js .bl2-px { position: absolute; inset: -2px; z-index: 3; display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); grid-template-rows: repeat(8, minmax(0, 1fr)); pointer-events: none; }
.js .bl2-px i { background: #fff; }
.js .bl2-e-px:not(.bl2-in) .bl2-calc { filter: blur(12px); }
.js .bl2-e-px.bl2-in .bl2-px i { animation: bl2-px-out .42s steps(2, end) var(--d) both; }
.js .bl2-e-px.bl2-in .bl2-px { animation: bl2-gone 0s .9s both; }
.js .bl2-e-px.bl2-in .bl2-calc { animation: bl2-sharp .8s steps(5, end) both; }
/* 2 orbit-in: each part swings into place on a curve around a point far to its side */
.js .bl2-e-orbit:not(.bl2-in) .bl2-orb { opacity: 0; }
.js .bl2-e-orbit.bl2-in .bl2-orb { transform-origin: -45vw 50%; animation: bl2-orbit .7s cubic-bezier(.16, 1, .3, 1) calc(var(--i) * 50ms) both; }
.js .bl2-e-orbit.bl2-in .bl2-rows > .bl2-orb:nth-child(even) { transform-origin: 145vw 50%; }
/* 3 invert-flash: the dark room arrives inverted (black on white) for a beat, then flips to itself */
.js .bl2-e-inv.bl2-in { animation: bl2-invert .6s cubic-bezier(.4, 0, .2, 1); }
/* 4 shrink-to-card: the room arrives full-bleed and shrinks into its card */
.js .bl2-e-card:not(.bl2-in)::before { clip-path: inset(0 0 round 0); }
.js .bl2-e-card.bl2-in::before { animation: bl2-card .8s cubic-bezier(.16, 1, .3, 1) both; }
.js .bl2-e-card.bl2-in > .l2-wrap { animation: bl2-card-in .8s cubic-bezier(.16, 1, .3, 1) both; }
/* 5 depth-parallax: three layers, near to far, travel different distances at different speeds */
.js .bl2-e-depth:not(.bl2-in) :is(.l2-band-obj, .l2-band-get, .l2-rel) { opacity: 0; }
.js .bl2-e-depth.bl2-in .l2-band-obj { animation: bl2-depth .9s cubic-bezier(.16, 1, .3, 1) both; --dy: 120px; }
.js .bl2-e-depth.bl2-in .l2-band-get { animation: bl2-depth .7s cubic-bezier(.16, 1, .3, 1) .05s both; --dy: 64px; }
.js .bl2-e-depth.bl2-in .l2-rel { animation: bl2-depth .55s cubic-bezier(.16, 1, .3, 1) .1s both; --dy: 28px; }
}
@keyframes bl2-px-out { to { opacity: 0; } }
@keyframes bl2-gone { to { visibility: hidden; } }
@keyframes bl2-sharp { from { filter: blur(12px); } to { filter: blur(0); } }
@keyframes bl2-orbit { from { opacity: 0; transform: rotate(-12deg); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes bl2-invert { 0%, 30% { filter: invert(1); } 100% { filter: invert(0); } }
@keyframes bl2-card { from { clip-path: inset(0 0 round 0); } to { clip-path: inset(0 clamp(8px, 2vw, 24px) round 28px); } }
@keyframes bl2-card-in { from { transform: scale(1.03); } to { transform: none; } }
@keyframes bl2-depth { from { opacity: 0; transform: translateY(var(--dy)); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
.bl2-calc { grid-template-columns: minmax(0, 1fr); padding: 8px; border-radius: 24px; }
.bl2-cc { padding: 14px 16px; gap: 4px; }
.bl2-in input { height: 44px; }
.bl2-ci-h { flex-direction: column; align-items: flex-start; }
.bl2-ci-f { flex-wrap: wrap; }
.bl2-ci-f > span:first-child { flex-basis: 100%; }
.bl2-ci-stamp { min-width: 0; justify-content: flex-start; }
.bl2-ci-total { margin-left: auto; font-size: 44px; }
.bl2-mach { grid-template-columns: minmax(0, 1fr); }
.bl2-zone { height: auto; padding: 18px; }
.bl2-ev ul { flex: none; height: 214px; }
.bl2-num { min-height: 140px; font-size: 64px; }
.bl2-rows > li { display: block; padding: 32px 0; }
.bl2-row-o { margin-top: 20px; }
.bl2-doc-f { flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; min-height: 120px; }
.bl2-stamp { margin: 0 0 0 4px; }
.bl2-cl-total { margin-left: 0; }
.bl2-mf-slots { gap: 3px; }
.bl2-fin .l2-band-obj { grid-column: auto; }
.bl2-doc { padding: 22px; }
.bl2-doc-lines li { padding: 16px 0; }
.bl2-hist-l, .bl2-log, .bl2-start-l, .bl2-start-r { grid-column: auto; }
.bl2-log { margin-top: 48px; padding: 18px; }
.bl2-log li { grid-template-columns: 10px minmax(0, 1fr) auto; }
.bl2-log li span { display: none; }
.bl2-start-r { margin-top: 48px; }
.bl2-mf-k, .bl2-is-k, .bl2-mf-f, .bl2-in label, .bl2-ci-k em, .bl2-seg button { font-size: 14px; }
.bl2-zk, .bl2-ev li, .bl2-ev li em, .bl2-period, .bl2-inv-h em, .bl2-chip, .bl2-lv, .bl2-doc-h p, .bl2-pv-k, .bl2-pv-plan span, .bl2-log-k, .bl2-log li em { font-size: 14px; }
}
/* 8 Nov (Ready pass): desktop, the "Send your first meter event" ask rides beside the code and the agent prompt instead
of leaving the left half empty under it */
/* (the left column now holds the console too, so it no longer needs to ride along) */
.bl2-caps .bl2-cap-t { font-size: 26px; font-weight: 497; line-height: 1.2; letter-spacing: -.025em; color: #f5f5f5; }
/* Hanzo's example console sits in the Get started column, as on hanzo.ai (it was behind a drawer) */
.bl2-con { margin: 28px 0 0; }
.bl2-con .bl2-note { margin-top: 10px; }
/* ---------- dark (docs/DARK-MODE.md): Launch.css's .l2-page has no dark rule, so /billing maps its tokens and its paper
surfaces to Hanzo's dark tokens here, on main.bl2. Trays become Hanzo's card, the white cards inside them recess to the
page's background. Launch.css shadows Hanzo's --muted on .l2-page, so quiet chips use --surface-1. The meter, the
history room and the code stay dark in both modes. Light is untouched: every rule is under html:not(.light). ---------- */
html:not(.light) .bl2 { --hair: var(--border); --muted: var(--muted-foreground); --soft: var(--muted-foreground); background: var(--bg); }
html:not(.light) .bl2 .l2-obj { background: var(--x-raised); }
html:not(.light) .bl2-calc, html:not(.light) .bl2-mach, html:not(.light) .bl2-pv, html:not(.light) .bl2-mf, html:not(.light) .bl2-is { background: var(--x-raised); }
html:not(.light) .bl2-cc, html:not(.light) .bl2-zone:not(.bl2-meter), html:not(.light) .bl2-pv-rows li, html:not(.light) .bl2-first { background: var(--bg); }
html:not(.light) .bl2-in label, html:not(.light) .bl2-seg button, html:not(.light) .bl2-chip.preview { color: var(--muted-foreground); }
html:not(.light) .bl2-in input { accent-color: var(--foreground); }
html:not(.light) .bl2-ci-h p, html:not(.light) .bl2-ci-k em, html:not(.light) .bl2-ci-f > span:first-child, html:not(.light) .bl2-row-n { color: var(--text-tertiary); }
html:not(.light) .bl2-seg, html:not(.light) .bl2-ev li, html:not(.light) .bl2-chip, html:not(.light) .bl2-chip.preview { background: var(--surface-1); }
@media (hover: hover) { html:not(.light) .bl2-seg button:hover:not([aria-pressed='true']) { background: var(--secondary); color: var(--ink); } }
html:not(.light) .bl2-seg button[aria-pressed='true'] { background: var(--foreground); color: var(--primary-foreground); }
html:not(.light) .bl2-chip.issued, html:not(.light) .bl2-pv-plan { color: var(--x-on-ink); }
html:not(.light) .bl2-pv-plan span { color: var(--neutral-600); }
html:not(.light) .bl2-lines li.hot { background: var(--secondary); }
html:not(.light) .bl2-pv-rows li:not(.new) .bl2-pv-subs i { background: var(--neutral-600); }
html:not(.light) .bl2-ib { border-color: var(--border-strong); background: var(--x-raised); }
@media (hover: hover) { html:not(.light) .bl2-ib:hover:not(:disabled) { background: var(--secondary); } }
html:not(.light) .bl2-ib:disabled { background: var(--surface-1); border-color: var(--border-control); }
html:not(.light) .bl2-mf-slots i, html:not(.light) .bl2-is-row::before, html:not(.light) .bl2-is-line, html:not(.light) .bl2-start-r .cf-mark { background: var(--secondary); }
html:not(.light) .bl2-is-dot { background: var(--surface-1); box-shadow: inset 0 0 0 2px var(--neutral-600); }
html:not(.light) .bl2-is-s.now .bl2-is-dot { background: var(--ink); box-shadow: 0 0 0 5px var(--secondary); }
html:not(.light) .bl2-start::before { background: var(--x-raised); }
/* the closing invoice: a paper card in light; in dark, Hanzo's card in the black room */
html:not(.light) .bl2-cl { --ac: var(--foreground); --hair: var(--border); --soft: var(--muted-foreground); --muted: var(--text-tertiary); --faint: var(--text-tertiary); color: var(--foreground); background: var(--x-raised); }
@media (hover: hover) {
html:not(.light) .bl2-hero .x-arrow:hover { color: var(--muted-foreground); }
html:not(.light) .bl2-start-r .cf-code .x-copy:hover { background: var(--secondary); border-color: var(--border-strong); }
}
@media (prefers-reduced-motion: no-preference) { html.js:not(.light) .bl2-px i { background: var(--bg); } }
/* Launch.css pieces this page uses: the pause, the sheet, the light code card */
html:not(.light) .bl2 .l2-pause:not(.dk) { background: var(--x-raised); color: var(--foreground); }
@media (hover: hover) { html:not(.light) .bl2 .l2-pause:not(.dk):hover { background: var(--secondary); border-color: var(--border-strong); } }
/* an element classed .light gets Hanzo's light palette (tokens/colors.css), so inside it only our html-level tokens
(--ink, --soft, --faint, --x-*) still read dark */
html:not(.light) .bl2 .cf-code.light { background: var(--x-raised); color: var(--ink); }
html:not(.light) .bl2 .cf-code.light .cf-code-bar > i, html:not(.light) .bl2-start-r .cf-code.light .cf-mark { background: var(--x-knob); }
html:not(.light) .bl2 .cf-code.light .cf-code-k, html:not(.light) .bl2 .cf-code.light .k { color: var(--soft); }
html:not(.light) .bl2 .cf-code.light .s, html:not(.light) .bl2 .cf-code.light .c { color: var(--faint); }
html:not(.light) body:has(main.bl2) .l2-sheet { background: var(--x-raised); }
html:not(.light) body:has(main.bl2) .l2-sheet-bar { border-bottom-color: var(--border); }
html:not(.light) body:has(main.bl2) .l2-sheet-bar p { color: var(--muted-foreground); }
html:not(.light) body:has(main.bl2) .l2-sheet-x { background: var(--secondary); }
/* dark: the dark .bl2-chip surface above also landed on the issued chip, hiding its solid fill under #0a0a0a text; issued stays Hanzo's solid primary chip. */
html:not(.light) .bl2-chip.issued { background: var(--primary); color: var(--primary-foreground); }