Files

352 lines
28 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.
/* MQ (Cloud 3), on the deck (docs/build-notes/MASTER.md §3). Grey only: a job's state reads by fill, weight, dash and a shape,
never by hue. Surfaces are a flat fill or a 1px hairline, never both; nothing here casts a shadow. Type rests at the
kit's sizes (h1 52, headings 26, the one figure 64); this file only sets the objects. */
.mq { --fill: #f2f2f2; --rule: rgba(0, 0, 0, .16); }
/* hero: the name, its line, the one ask and the globe's key left (5); the globe right (8), in the quiet room */
.mq-hero { position: relative; padding: clamp(24px, 4svh, 48px) 0; }
.mq-shrink-bg { position: absolute; inset: 0; background: #f5f5f5; transform-origin: 50% 0; }
.mq-shrink-in { position: relative; transform-origin: 50% 0; }
.mq-top { display: grid; grid-template-columns: 5fr 8fr; gap: 16px clamp(24px, 4vw, 56px); align-items: center; }
.mq-lead { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.mq-sub { color: var(--ink); }
.mq-key { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; font: 500 13px/1 var(--mono); color: var(--muted); }
.mq-key li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.mq-key i { width: 10px; height: 10px; box-sizing: border-box; flex: none; }
.mq-key .q i { border-radius: 50%; border: 1.6px solid var(--ink); background: #fff; }
.mq-key .w i { width: 8px; height: 8px; background: var(--ink); }
.mq-key .ok i { border-radius: 50%; border: 1.2px solid var(--ink); opacity: .6; width: 12px; height: 12px; }
.mq-key .back i { border-radius: 50%; border: 1.2px dashed var(--ink); width: 12px; height: 12px; }
.mq-key .bad i { position: relative; border-radius: 50%; border: 1.2px dashed var(--ink); width: 12px; height: 12px; background: linear-gradient(45deg, transparent 44%, var(--ink) 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, var(--ink) 44% 56%, transparent 56%); }
/* the globe: a fixed box, so it never shifts the page */
.mq-globe { position: relative; }
.mq-globe-pause { top: 0; right: 0; }
.mq-globe-cv { position: relative; height: clamp(360px, calc(100svh - 150px), 660px); cursor: grab; touch-action: pan-y; outline: none; border-radius: 24px; -webkit-user-select: none; user-select: none; }
.mq-globe-cv[data-drag] { cursor: grabbing; }
.mq-globe-cv:focus-visible { box-shadow: inset 0 0 0 2px var(--ink); }
.mq-globe-cv canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; color: var(--ink); }
.mq-globe-still { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(0, 0, 0, .16); stroke-width: .5; transition: opacity .3s var(--e-out); }
.mq-globe[data-ready] .mq-globe-still { opacity: 0; }
/* 2 · the conveyor, opened by an iris */
.mq-convsec { padding: clamp(56px, 8vw, 116px) 0 0; }
.mq-stage { border-radius: 24px; border: 1px solid var(--line); overflow: hidden; }
.mq-iris[data-iris='armed'] .mq-iris-in { clip-path: circle(0% at 50% 50%); }
.mq-iris[data-iris='play'] .mq-iris-in { clip-path: circle(75% at 50% 50%); transition: clip-path .9s cubic-bezier(.4, 0, .2, 1); }
/* 3 · the facts, decoded: the heading and the inspector, then six facts in two columns */
.mq-facts-top { display: grid; grid-template-columns: 5fr 8fr; gap: 32px clamp(32px, 5vw, 72px); align-items: start; margin-bottom: clamp(44px, 5vw, 72px); }
.mq-facts-h { max-width: 14ch; }
.mq-facts-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 72px); }
.mq-facts-list li { padding: 24px 0 28px; border-top: 1px solid var(--line); transition: border-color .3s var(--e-io); }
.mq-facts-list li.on { border-top-color: var(--ink); }
.mq-facts-n { display: block; margin-bottom: 14px; font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--muted); }
.mq-facts-t { margin: 0 0 10px; font: 497 17px/1.3 var(--sans); letter-spacing: -.01em; }
.mq-facts-t button { padding: 0; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .15s var(--e-out), transform .15s var(--e-out); touch-action: manipulation; }
.mq-facts-t button:active { transform: translateY(1px); transition-duration: .09s; }
.mq-facts-list li.on .mq-facts-t button { text-decoration-color: currentColor; }
.mq-facts-list p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 52ch; }
@media (hover: hover) { .mq-facts-t button:hover { text-decoration-color: rgba(0, 0, 0, .3); } }
.mq-scr { position: relative; display: inline; }
.mq-scr-f { display: none; }
.mq-scr[data-on] .mq-scr-r { visibility: hidden; }
.mq-scr[data-on] .mq-scr-f { display: block; position: absolute; inset: 0; white-space: inherit; color: inherit; }
.mq-facts-h .mq-scr { display: inline-block; }
/* 4 · the free tier's figure rolls each digit into place */
.mq-rl { display: inline-flex; line-height: 1; }
.mq-rl-d { position: relative; display: inline-block; height: 1em; overflow: hidden; }
.mq-rl-w { visibility: hidden; display: block; }
.mq-rl-s { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; transform: translateY(calc(var(--d) * -1em)); }
.mq-rl-s span { display: block; height: 1em; text-align: center; }
.mq-rl-c { display: inline-block; }
.mq-roll[data-roll='armed'] .mq-rl-s { transform: translateY(0); }
.mq-roll[data-roll='armed'] .mq-rl-c { opacity: 0; transform: translateY(.4em); }
.mq-roll[data-roll='play'] .mq-rl-s { transition: transform 1.2s cubic-bezier(.16, 1, .3, 1) calc(var(--i) * 120ms); }
.mq-roll[data-roll='play'] .mq-rl-c { transition: opacity .3s cubic-bezier(.16, 1, .3, 1) .5s, transform .3s cubic-bezier(.16, 1, .3, 1) .5s; }
/* 5 · the lens over worker.ts */
.mq-lens-box { position: relative; min-width: 0; }
.mq-lens { position: absolute; left: 0; top: 0; width: 176px; height: 176px; margin: -88px 0 0 -88px; border-radius: 50%; overflow: hidden; pointer-events: none; background: #171717; transform: translate(var(--x, 0px), var(--y, 0px)); opacity: 0; transition: opacity .3s cubic-bezier(0, 0, .2, 1); z-index: 2; }
.mq-lens::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.mq-lens[data-on='1'] { opacity: 1; }
.mq-lens-copy { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: translate(calc(88px - var(--x, 0px) * 1.6), calc(88px - var(--y, 0px) * 1.6)) scale(1.6); }
.mq-lens-copy .cf-code { margin: 0; }
/* the conveyor */
.mq-conv { position: relative; background: #fff; }
.mq-pause { top: 6px; right: 10px; }
.mq-bar { display: flex; align-items: center; gap: 14px; height: 56px; padding: 0 70px 0 24px; border-bottom: 1px solid var(--line); }
.mq-bar-k { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.mq-bar-k i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.mq-chip { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 6px; background: var(--fill); font: 500 13px/1 var(--mono); color: var(--ink); flex: none; }
.mq-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.mq-peek { margin: 0 0 0 auto; min-width: 0; overflow: hidden; font: 500 13px/1 var(--mono); color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.mq-peek span { display: inline-block; }
.mq-peek b { color: var(--ink); font-weight: 606; margin-right: 6px; }
.mq-lanes { display: grid; grid-template-columns: 4fr 5fr 4fr; }
.mq-lane { padding: 20px 24px; min-height: 260px; display: flex; flex-direction: column; }
.mq-lane + .mq-lane { border-left: 1px solid var(--line); }
.mq-k { margin: 0 0 14px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mq-stack { display: flex; flex-direction: column; gap: 8px; }
.mq-tk { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); overflow: hidden; transition: background-color .15s var(--e-out), border-color .15s var(--e-out); }
.mq-tk b { font: 500 14px/1 var(--mono); }
.mq-tk span { font: 500 13px/1 var(--mono); color: var(--muted); white-space: nowrap; }
/* priority 1: an ink edge and heavier ink words */
.mq-tk.hi { border-color: var(--ink); }
.mq-tk.hi b, .mq-tk.hi span { color: var(--ink); font-weight: 606; }
/* backing off: a dashed edge */
.mq-tk.back { border-style: dashed; border-color: rgba(0, 0, 0, .4); }
/* running: solid ink, its progress a white line; a job that will fail runs a broken line */
.mq-tk.run { background: var(--ink); border-color: var(--ink); color: #fafafa; }
.mq-tk.run span, .mq-tk.run.hi span { color: rgba(255, 255, 255, .78); }
.mq-tk.run.hi b { color: #fff; }
.mq-tk.run i { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: #fafafa; transform-origin: 0 50%; animation: mq-prog 2.6s linear both; }
.mq-tk.run.risky i { background: repeating-linear-gradient(90deg, #fafafa 0 7px, transparent 7px 12px); }
@keyframes mq-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.mq-conv[data-paused] .mq-tk.run i { animation-play-state: paused; }
/* done: a flat fill and a tick; failed: a dashed ink edge and a cross */
.mq-tk.ok { background: var(--fill); border-color: transparent; }
.mq-tk.ok b::before { content: '✓ '; }
.mq-tk.bad { border: 1px dashed var(--ink); }
.mq-tk.bad b::before { content: '× '; }
.mq-tk.bad span { color: var(--ink); }
.mq-slot { height: 52px; margin-bottom: 8px; border-radius: 16px; border: 1px dashed var(--rule); padding: 3px; }
.mq-lim { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; font: 500 13px/1.3 var(--mono); color: var(--muted); }
.mq-cells { display: inline-flex; gap: 6px; }
.mq-cells i { width: 10px; height: 10px; border-radius: 50%; background: #e4e4e7; transition: background-color .3s var(--e-out); }
.mq-cells i.on { background: var(--ink); }
.mq-ev { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; height: 52px; padding: 0 24px; border-top: 1px solid var(--line); overflow: hidden; }
.mq-ev .mq-k { margin: 0; flex: none; text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--ink); }
.mq-ev-row { display: flex; gap: 28px; white-space: nowrap; }
.mq-ev-row p, .mq-stream p { margin: 0; font: 500 13px/1.3 var(--mono); color: var(--muted); }
.mq-ev-row b, .mq-stream b { font-weight: 500; margin-right: 8px; color: var(--ink); }
/* an event's kind: a shape before its name (filled, crossed, half, dashed) and its weight */
.mq-ev-row b::before, .mq-stream b::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; border: 1.5px solid currentColor; vertical-align: 0; box-sizing: border-box; }
.mq .completed b::before { background: currentColor; }
.mq .failed b { font-weight: 606; }
.mq .failed b::before { border-radius: 1px; border-width: 0; background: linear-gradient(45deg, transparent 42%, currentColor 42% 58%, transparent 58%), linear-gradient(-45deg, transparent 42%, currentColor 42% 58%, transparent 58%); }
.mq .progress b::before { background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.mq .stalled b::before { border-style: dashed; }
@media (hover: hover) {
.mq-tk:not(.run):hover { border-color: var(--ink); }
.mq-tk.ok:hover { background: #ededed; }
.mq-tk.run:hover { background: #000; }
}
/* the inspector (the chapters' object): outlined, never raised */
.mq-ins { position: relative; background: #fff; border-radius: 24px; border: 1px solid var(--line); overflow: hidden; }
.mq-ins .mq-pause { top: 8px; right: 12px; }
.mq-ins-bar { display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 68px 0 18px; border-bottom: 1px solid var(--line); }
.mq-tabs { display: flex; min-width: 0; overflow: hidden; }
.mq-tabs button { position: relative; height: 60px; padding: 0 9px; border: 0; background: none; font: 500 13px/1 var(--mono); color: var(--muted); white-space: nowrap; cursor: pointer; transition: color .15s var(--e-out), transform .15s var(--e-out); touch-action: manipulation; }
.mq-tabs button[aria-current] { color: var(--ink); }
.mq-tabs button:active { transform: scale(.97); transition-duration: .09s; }
.mq-tab-u { position: absolute; left: 9px; right: 9px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--ink); }
@media (hover: hover) { .mq-tabs button:not([aria-current]):hover { color: var(--ink); box-shadow: inset 0 -2px 0 var(--rule); } }
.mq-ins-body { padding: 28px; height: 384px; overflow: hidden; }
.mq-p { display: flex; flex-direction: column; gap: 16px; }
.mq-pk { margin: 0; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
/* intro: rows of data and two workers */
.mq-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.mq-rows li { display: grid; grid-template-columns: 48px 1fr 1fr auto; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: 12px; font: 500 14px/1 var(--mono); color: var(--muted); background: #f5f5f5; transition: background-color .3s var(--e-io), color .3s var(--e-io), box-shadow .3s var(--e-io); }
.mq-rows li b { color: var(--ink); font-weight: 500; }
.mq-rows li.w .mq-st { color: var(--ink); }
.mq-rows li.on { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.mq-rows li.bad { background: #fff; outline: 1px dashed var(--ink); outline-offset: -1px; }
.mq-rows li.bad .mq-st { color: var(--ink); font-weight: 606; }
.mq-rows li.bad .mq-st::before { content: '× '; }
.mq-ord { color: var(--muted); }
.mq-sched { list-style: none; margin: 0; padding: 0; }
.mq-sched li { display: grid; grid-template-columns: 88px 1fr auto; align-items: center; gap: 14px; height: 64px; padding: 0 16px; border-radius: 16px; font: 500 14px/1 var(--mono); color: var(--muted); transition: background-color .3s var(--e-io), color .3s var(--e-io); }
.mq-sched li.on { background: var(--fill); color: var(--ink); }
.mq-sched li b { color: var(--ink); font-weight: 500; }
.mq-sched li.on b { font-weight: 606; }
.mq-sched code { font: inherit; }
.mq-sched li span { font-size: 13px; color: var(--muted); }
.mq-held { display: flex; flex-wrap: wrap; gap: 10px; }
.mq-proc, .mq-store { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font: 500 13px/1 var(--mono); color: var(--ink); transition: color .3s var(--e-io), border-color .3s var(--e-io); }
.mq-proc i, .mq-store i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); transition: background-color .3s var(--e-io), box-shadow .3s var(--e-io); }
.mq-proc.down { color: var(--muted); border-style: dashed; border-color: var(--rule); }
.mq-proc.down i { background: transparent; box-shadow: inset 0 0 0 1.5px #737373; }
.mq-store { background: var(--fill); border-color: transparent; }
.mq-win { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.mq-win i { aspect-ratio: 1; border-radius: 12px; background: var(--fill); transition: background-color .3s var(--e-io); }
.mq-win i.on { background: var(--ink); }
.mq-win.next i { background: none; border: 1px dashed rgba(0, 0, 0, .24); }
.mq-win.next i.on { background: #d4d4d4; border-color: transparent; }
.mq-cfg { font: 500 14px/1.5 var(--mono); color: var(--ink); padding: 14px 16px; border-radius: 12px; background: #f5f5f5; }
.mq-pri { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mq-pri li { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); font: 500 14px/1 var(--mono); color: var(--ink); background: #fff; }
.mq-pri li span { font-size: 13px; color: var(--muted); }
/* the priority-1 job that cut ahead: solid ink */
.mq-pri li.hi { background: var(--ink); border-color: var(--ink); color: #fafafa; font-weight: 606; }
.mq-pri li.hi span { color: rgba(255, 255, 255, .78); }
.mq-tl { position: relative; height: 96px; }
.mq-tl-line { position: absolute; left: 8px; right: 0; top: 18px; height: 1px; background: var(--rule); }
.mq-at { position: absolute; top: 10px; display: flex; flex-direction: column; gap: 14px; font: 500 13px/1 var(--mono); color: var(--faint); transition: color .3s var(--e-io); white-space: nowrap; }
.mq-at.on { color: var(--ink); }
.mq-at i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #d4d4d4; background: #fff; transition: border-color .3s var(--e-io), background-color .3s var(--e-io); }
.mq-at.on i { border-color: var(--ink); }
.mq-at.x i { border-style: dashed; }
.mq-at.ok.on i { background: var(--ink); }
.mq-lock { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mq-lock span:not(.mq-lock-k) { height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font: 500 13px/1 var(--mono); color: var(--muted); transition: background-color .3s var(--e-io), color .3s var(--e-io), border-color .3s var(--e-io); }
.mq-lock span.on { background: var(--ink); color: #fafafa; border-color: var(--ink); }
.mq-lock-k { color: var(--muted); }
.mq-stream { display: flex; flex-direction: column; gap: 10px; min-height: 220px; }
.mq-stream p { display: flex; height: 36px; align-items: center; padding: 0 14px; border-radius: 8px; background: #f5f5f5; }
.mq-stream p b { width: 120px; flex: none; }
.mq-fail { border-radius: 16px; border: 1px dashed var(--ink); padding: 20px; transition: border-color .3s var(--e-io), background-color .3s var(--e-io); }
.mq-fail.back { border-color: transparent; background: var(--fill); }
.mq-fail-h { margin: 0; display: flex; justify-content: space-between; font: 500 14px/1 var(--mono); }
.mq-fail-h span { color: var(--ink); font-size: 13px; font-weight: 606; }
.mq-fail.back .mq-fail-h span { color: var(--muted); font-weight: 500; }
.mq-fail pre { margin: 16px 0; padding: 14px; border-radius: 12px; background: #f5f5f5; font: 400 14px/1.6 var(--mono); color: var(--muted); white-space: pre-wrap; }
.mq-fail.back pre { background: #fff; }
.mq-retry { height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font: 500 16px/1 var(--sans); cursor: pointer; transition: background-color .15s var(--e-out), transform .15s var(--e-out); touch-action: manipulation; }
.mq-retry:active { transform: scale(.97); transition-duration: .09s; }
@media (hover: hover) { .mq-retry:hover { background: var(--fill); } }
/* the black room: the words and the prompt left (5), worker.ts right (8), bottom-aligned */
.mq-room { padding: clamp(72px, 11vw, 188px) 0; }
.mq-room-grid { display: grid; grid-template-columns: 5fr 8fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.mq-room-l .lx-headline { max-width: 12ch; margin-bottom: 44px; }
.mq .lx-paste .cf-paste-t { font-size: 21px; }
/* Frame's Paste and Code on the deck: graphite tiles in the black room, flat (no hairline, no shadow) */
.mq .cf-code, .mq .cf-paste.dark .cf-paste-box { background: #171717; color: #fafafa; border: 0; border-radius: 24px; }
.mq .cf-code-bar, .mq .cf-paste-bar { border-color: rgba(255, 255, 255, .1); }
.mq .cf-code-bar > i { background: #404040; }
.mq .cf-code-bar .x-copy, .mq .cf-paste-bar .x-copy { background: #262626; border-color: rgba(255, 255, 255, .1); color: #fafafa; }
.mq .cf-paste-k, .mq .cf-code-k { color: #a3a3a3; }
.mq .cf-paste.dark .cf-paste-t { color: #fafafa; }
.mq .cf-paste.dark .cf-paste-d { color: rgba(255, 255, 255, .78); }
.mq .cf-caret { background: #fafafa; }
.mq .cf-code pre, .mq .cf-paste-code { font-size: 13.5px; line-height: 1.65; }
/* walk away: the heading left (8), the free tier's one figure right (5), then the quiet spec */
.mq-walk { padding: clamp(72px, 11vw, 188px) 0 clamp(56px, 6vw, 96px); }
.mq .lx-close { padding-top: clamp(72px, 9vw, 150px); }
.mq-walk-top { display: grid; grid-template-columns: 8fr 5fr; gap: 24px clamp(32px, 5vw, 72px); align-items: end; margin-bottom: clamp(56px, 6vw, 96px); }
.mq-walk-l { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.mq-walk-r { display: flex; flex-direction: column; gap: 16px; }
.mq-fig { margin: 0; }
.mq-free { color: var(--ink); max-width: 28ch; }
/* text links answer a press too (the kit's lx-text has a hover but no press) */
.mq .lx-text, .mq .lx-close-repo { transition: text-decoration-color .15s cubic-bezier(0, 0, .2, 1), transform .15s cubic-bezier(0, 0, .2, 1); }
.mq .lx-text:active, .mq .lx-close-repo:active { transform: scale(.97); transition-duration: .09s; }
.mq-spec .lx-spec-v { font-family: var(--sans); font-size: 32px; letter-spacing: -.02em; white-space: normal; }
@media (max-width: 899px) {
.mq-hero { padding: 28px 0 24px; }
.mq-top { grid-template-columns: minmax(0, 1fr); }
.mq-lead { gap: 16px; }
.mq-key { margin-top: 8px; gap: 10px 14px; }
.mq-globe-cv { height: 360px; }
.mq-convsec { padding-top: 56px; }
.mq-stage { border-radius: 16px; }
.mq-facts-top { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 40px; }
.mq-facts-list { grid-template-columns: minmax(0, 1fr); }
.mq-facts-list p { font-size: 15px; }
.mq-lens { display: block; }
.mq-bar { height: 52px; padding: 0 62px 0 16px; gap: 10px; }
.mq-chip, .mq-lim, .mq-tk span, .mq-tabs button, .mq-sched li span, .mq-proc, .mq-store, .mq-pri li span, .mq-at, .mq-lock span:not(.mq-lock-k), .mq-fail-h span, .mq-rows li, .mq-ev-row p, .mq-stream p { font-size: 14px; }
.mq-peek { display: none; }
.mq-lanes { grid-template-columns: minmax(0, 1fr); }
.mq-lane { min-height: 0; padding: 16px; }
.mq-lane + .mq-lane { border-left: 0; border-top: 1px solid var(--line); }
.mq-lane:first-child .mq-stack > :nth-child(n + 4), .mq-lane:nth-child(3) .mq-stack > :nth-child(n + 3) { display: none; }
.mq-ev { display: none; }
.mq-ins { border-radius: 16px; }
.mq-ins .mq-pause { top: 2px; right: 4px; }
.mq-ins-bar { height: 48px; padding: 0 54px 0 12px; }
.mq-ins-bar > .mq-chip { display: none; }
.mq-tabs { overflow-x: auto; scrollbar-width: none; }
.mq-tabs button { height: 48px; }
/* one height on phones, so the facts below never move when the panel changes */
.mq-ins-body { padding: 12px 14px; min-height: 0; height: 290px; overflow: hidden; }
.mq-p { gap: 10px; }
.mq-held { gap: 6px; }
.mq-proc, .mq-store { height: 36px; }
.mq-rows li { height: 40px; grid-template-columns: 40px 1fr 1fr; padding: 0 12px; }
.mq-rows li > span:last-child, .mq-rows li:nth-child(n + 5) { display: none; }
.mq-rows + .mq-held { display: none; }
.mq-sched li { height: 40px; grid-template-columns: 64px 1fr; font-size: 14px; }
.mq-sched li span { display: none; }
.mq-win { gap: 6px; }
.mq-win i { border-radius: 8px; }
.mq-cfg { padding: 10px 12px; font-size: 14px; }
.mq-pri { gap: 6px; }
.mq-pri li { height: 40px; font-size: 14px; }
.mq-pri li:nth-child(n + 5) { display: none; }
.mq-tl { height: 60px; }
.mq-lock { gap: 6px; }
.mq-lock span:not(.mq-lock-k) { height: 36px; padding: 0 12px; }
.mq-lock-k { display: none; }
.mq-stream { min-height: 0; gap: 6px; }
.mq-stream p { height: 34px; }
.mq-stream p:nth-child(n + 6) { display: none; }
.mq-fail { padding: 10px 12px; }
.mq-fail pre { margin: 6px 0; padding: 10px; font-size: 14px; line-height: 1.45; }
.mq-room-grid { grid-template-columns: minmax(0, 1fr); }
.mq-room-l .lx-headline { margin-bottom: 28px; }
.mq .cf-code pre, .mq .cf-paste-code { font-size: 14px; }
.mq .x-copy, .mq .x-copy-t, .mq .cf-code-k, .mq .cf-paste-k, .mq .lx-close-facts, .mq .lx-close-mark { font-size: 14px; }
.mq-walk-top { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-bottom: 40px; }
.mq-walk-l { gap: 24px; }
.mq-spec .lx-spec-v { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .mq-tk.run i { animation: none; transform: scaleX(.6); } }
/* ---------- dark (Hanzo's :not(.light), docs/DARK-MODE.md): every value a token from @hanzo/design, by role ----------
The shared .lx kit (components/v2/LaunchType.css, LaunchClose.css, SpecDrawer.css) pins its light ink, greys, tiles and
sheet in both modes, so the page points them at Hanzo's tokens here. .lx renames --muted and --card, so fills use the
foundation's --x-* tokens (computed on <html>): the quiet room and wells on Hanzo's #171717, the conveyor, inspector and
tickets on its #0f0f0f card, chips and cells on #262626; ink fills turn light with dark type (Hanzo's primary). The
black room (worker.ts) stays black. */
html:not(.light) .mq {
--ink: var(--foreground); --acc: var(--foreground); --acc-soft: var(--x-fill); --muted: var(--muted-foreground); --soft: var(--muted-foreground);
--faint: var(--text-tertiary); --silver: var(--x-knob); --card: var(--x-fill); --line: var(--border); --bg: var(--background);
}
html:not(.light) .mq .lx-cta { background: var(--primary); color: var(--primary-foreground); }
html:not(.light) .mq .lx-ghost { border-color: var(--border-control); }
html:not(.light) .mq :is(.lx-text, .lx-close-repo) { text-decoration-color: var(--text-disabled); }
html:not(.light) .mq .cf-api i { background: var(--x-knob) !important; color: var(--foreground) !important; }
html:not(.light) .mq :focus-visible { outline-color: var(--foreground); box-shadow: 0 0 0 4px var(--background); }
html:not(.light) .mq :is(.lx-close-art, .lx-rel-card) { background: var(--x-fill); }
html:not(.light) .mq .lx-close-sigil { color: var(--foreground); }
html:not(.light) .mq .lx-sheet-panel { color: var(--foreground); --ink: var(--foreground); --soft: var(--muted-foreground); --muted: var(--muted-foreground); --faint: var(--text-tertiary); --line: var(--border); }
html:not(.light) .mq .lx-sheet-bar { background: var(--surface-overlay); }
html:not(.light) .mq .lx-sheet-x { color: var(--foreground); }
@media (hover: hover) {
html:not(.light) .mq .lx-cta:hover { background: var(--foreground); }
html:not(.light) .mq .lx-ghost:hover { border-color: var(--foreground); background: var(--x-fill); }
html:not(.light) .mq .lx-sheet-x:hover { background: var(--x-fill); }
}
html:not(.light) .mq { --fill: var(--x-knob); --rule: var(--border-control); }
html:not(.light) .mq :is(.mq-shrink-bg, .mq-rows li, .mq-cfg, .mq-stream p, .mq-fail pre) { background: var(--x-fill); }
html:not(.light) .mq .mq-tk { background: var(--x-raised); }
html:not(.light) .mq :is(.mq-key .q i, .mq-conv, .mq-ins, .mq-rows li.on, .mq-rows li.bad, .mq-pri li, .mq-at i, .mq-fail.back pre, .mq-retry) { background: var(--x-raised); }
html:not(.light) .mq .mq-tk.ok { background: var(--fill); }
html:not(.light) .mq :is(.mq-tk.run, .mq-pri li.hi) { background: var(--ink); }
html:not(.light) .mq .mq-cells i { background: var(--x-knob); }
html:not(.light) .mq :is(.mq-cells i.on, .mq-win i.on, .mq-at.ok.on i) { background: var(--ink); }
html:not(.light) .mq .mq-at i { border-color: var(--x-knob); }
html:not(.light) .mq .mq-at.on i { border-color: var(--ink); }
html:not(.light) .mq .mq-win.next i { border-color: var(--border-control); }
html:not(.light) .mq .mq-win.next i.on { background: var(--x-knob); }
html:not(.light) .mq .mq-tk.back { border-color: var(--text-tertiary); }
html:not(.light) .mq .mq-proc.down i { box-shadow: inset 0 0 0 1.5px var(--text-tertiary); }
html:not(.light) .mq .mq-globe-still { stroke: var(--border-control); }
/* a solid ink ticket, row or pill: Hanzo's primary, light with dark type */
html:not(.light) .mq :is(.mq-tk.run, .mq-tk.run span, .mq-tk.run.hi span, .mq-tk.run.hi b, .mq-pri li.hi, .mq-pri li.hi span, .mq-lock span.on) { color: var(--primary-foreground); }
html:not(.light) .mq .mq-tk.run i { background: var(--primary-foreground); }
html:not(.light) .mq .mq-tk.run.risky i { background: repeating-linear-gradient(90deg, var(--primary-foreground) 0 7px, transparent 7px 12px); }
@media (hover: hover) {
html:not(.light) .mq .mq-facts-t button:hover { text-decoration-color: var(--text-disabled); }
html:not(.light) .mq .mq-tk.ok:hover { background: var(--x-fill); }
html:not(.light) .mq .mq-tk.run:hover { background: var(--primary); }
html:not(.light) .mq .mq-retry:hover { background: var(--fill); }
}