Files
Claude 4cbacdc4ea models, enso: dark mode on Hanzo's tokens (and shared fixes found on the way)
/models and /enso (cherry-picked onto this branch from claude/owner-ga-fixes-544845, where the
conductor confirmed copycheck missing 0 live) now read in dark: the page palettes (.xmo, Launch,
Enso, ModelCards) point at @hanzo/design tokens under html:not(.light); the "Use it now" button,
the code panel's live dot, caret and tab, and the switchboard's lit pills stay white on black in
both modes, as designed. darkcheck: /enso 0; /models 4, all a sibling fill behind selected chips or
the code panel's white tab (checked by eye).

Shared fixes: the .x-band / .x-modal solid buttons and the lit lane stay #f5f5f7 on black; dark
contexts written as [data-room='dark'] or .w2-dark/.lx-dark are left alone; white chips with fixed
dark text (selected .mb-chip, the pause buttons, sheet close buttons, segmented pills) keep their
white so their text stays readable.

Bright mode: lightcheck 0 diffs on /enso /kai /iro /payments /dev /api / vs 3c802582 (/models' one
diff is the earlier "11 · Suites won" line). 0 console errors, no sideways scroll at 1470x801 and
375x812 in both modes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01P5YBdxPteCvBL7f74SauJt
2026-11-08 11:23:40 +00:00

57 lines
4.7 KiB
CSS

/* ProofScale (components/v2, owned by the Wave 2 "Proof" chat). The VISION.md v2 type, space and material scale,
prefixed .pf- so it cannot collide with other chats' v2 work. Import it once from any page that uses it
(the v2 pieces in this folder import it themselves).
Type: .pf-display (128→48) .pf-display.m (96) .pf-display.s (80) .pf-head (56→36) .pf-title (28) .pf-lede (24/21)
.pf-body (19/17, 64ch) .pf-kick (Zen Mono 13 caps) .pf-num (a figure as a hero, tabular)
Space: .pf-wrap (1440 grid, 24px gutters) .pf-grid (12 columns) .pf-sec (240px air desktop, 120px phone)
Material: .pf-obj (28px hero object, hairline, long soft shadow) .pf-card (16px) .pf-btn / .pf-btn.solid */
.pf-wrap { width: min(100% - 48px, 1392px); margin-inline: auto; }
.pf-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.pf-sec { position: relative; padding: clamp(120px, 16vw, 240px) 0; }
.pf-sec.tight { padding: clamp(96px, 10vw, 160px) 0; }
.pf-display { margin: 0; font-size: clamp(48px, calc(8.2vw + 16px), 128px); font-weight: 600; line-height: .92; letter-spacing: -.05em; text-wrap: balance; color: var(--ink); }
.pf-display.m { font-size: clamp(44px, calc(6vw + 12px), 96px); }
.pf-display.s { font-size: clamp(40px, calc(4.8vw + 10px), 80px); line-height: .95; }
.pf-head { margin: 0; max-width: 18ch; font-size: clamp(36px, calc(2.6vw + 18px), 56px); font-weight: 600; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; color: var(--ink); }
.pf-title { margin: 0; font-size: clamp(22px, calc(1vw + 14px), 28px); font-weight: 560; line-height: 1.18; letter-spacing: -.022em; text-wrap: balance; color: var(--ink); }
.pf-lede { margin: 0; max-width: 40ch; font-size: clamp(19px, calc(.6vw + 15px), 24px); line-height: 1.42; letter-spacing: -.012em; color: var(--soft); text-wrap: pretty; }
.pf-body { margin: 0; max-width: 64ch; font-size: clamp(17px, calc(.2vw + 15px), 19px); line-height: 1.6; color: var(--soft); text-wrap: pretty; }
.pf-kick { margin: 0 0 24px; font: 500 13px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.pf-num { display: block; font-size: clamp(64px, calc(7vw + 24px), 144px); font-weight: 600; line-height: .88; letter-spacing: -.055em; font-feature-settings: 'tnum'; font-variant-numeric: tabular-nums; color: var(--ink); }
.pf-mono { font-family: var(--mono); font-feature-settings: 'tnum'; }
.pf-obj { position: relative; background: var(--x-raised); border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 1px 0 rgba(0, 0, 0, .03), 0 50px 100px -48px rgba(0, 0, 0, .28); }
.pf-card { position: relative; background: var(--card); border-radius: 16px; }
.pf-hair { border: 0; border-top: 1px solid var(--line); margin: 0; }
.pf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .14); background: var(--x-raised); color: var(--ink); font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .3s var(--ease), background-color .3s, border-color .3s; }
.pf-btn:hover { border-color: rgba(0, 0, 0, .3); transform: translate3d(0, -1px, 0); }
.pf-btn:active { transform: scale(.98); transition-duration: .1s; }
.pf-btn.solid { background: var(--ink); color: var(--x-on-ink); border-color: var(--ink); }
.pf-btn.solid:hover { background: #2a2a2c; }
.pf-btn:focus-visible, .pf-plus:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
/* the (+) that opens detail: Apple's "see more" button */
.pf-plus { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 6px 0 0; border: 0; background: none; color: var(--ink); font: 500 16px/1.2 var(--sans); cursor: pointer; text-align: left; }
.pf-plus i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--x-on-ink); font-style: normal; transition: transform .45s var(--ease); }
.pf-plus:hover i { transform: rotate(90deg); }
.pf-plus.ghost i { background: #e8e8ed; color: var(--ink); }
[data-room='dark'] .pf-plus { color: #f5f5f7; }
[data-room='dark'] .pf-plus i { background: #f5f5f7; color: #0a0a0a; }
/* line masks (MaskLines) */
.pf-mask-l { display: block; overflow: hidden; padding: .02em 0 .1em; margin-bottom: -.1em; }
.pf-mask-in { display: block; will-change: transform; }
@media (max-width: 900px) {
.pf-wrap { width: min(100% - 32px, 1392px); }
.pf-grid { column-gap: 16px; }
.pf-kick { font-size: 14px; }
.pf-obj { border-radius: 22px; }
.pf-btn { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
.pf-mask-in { will-change: auto; }
}