Something went wrong. Try again.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154/* * Shard web — global base + shared primitives for the STRIP TOWER world. * Component-specific layout lives in each component's scoped <style>. * Shared primitives here: the severity edge-dot (the strip's edge tab, in miniature), * the bay grammar, mono callsigns, annotated-source diff gutters, and real <button>s. * The strip world defines its own tokens (warm card / cool desk / edge colors / airspace * accent) in tokens.css; this file only composes them. */@import "./web/lib/theme/tokens.css";
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font-sans); font-size: 14px; line-height: 1.55; font-feature-settings: "cv05" 1, "cv08" 1, "ss01" 1; /* Inter: disambiguated 0Il1, flat 3 */ -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;}
::selection { background: var(--accent-soft-strong); color: var(--ink); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--r-xs); }
/* Hairline scrollbars — calm, structural */* { scrollbar-width: thin; scrollbar-color: var(--hairline-strong) transparent; }*::-webkit-scrollbar { width: 10px; height: 10px; }*::-webkit-scrollbar-thumb { background: var(--hairline-strong); border-radius: var(--r-pill); border: 2px solid var(--canvas); }*::-webkit-scrollbar-track { background: transparent; }
/* ── Shared primitives ─────────────────────────────────── */
.mono { font-family: var(--font-mono); font-feature-settings: "calt" 0, "liga" 0; }
.eyebrow { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);}
.hairline { border: 0; border-top: 1px solid var(--hairline); margin: 0; }
/* * Severity dot — the strip's edge tab in miniature. Recognizable with all content removed. * Green = clear (idle/streaming); amber = hold (permission); red = urgent (error). * Streaming carries a calm concentric pulse — state, not decoration. */.sev-dot { display: inline-block; width: 8px; height: 8px; border-radius: var(--r-pill); background: var(--sev-success); flex: none; position: relative;}.sev-dot.is-streaming { background: var(--sev-info); }.sev-dot.is-permission { background: var(--sev-warn); }.sev-dot.is-error { background: var(--sev-error); }.sev-dot.is-compact { background: var(--sev-info); opacity: 0.7; }/* Live streaming: a calm concentric pulse — state, not decoration */.sev-dot.is-streaming::after { content: ""; position: absolute; inset: -3px; border-radius: var(--r-pill); border: 1px solid var(--live-pulse); animation: sev-pulse 1.8s var(--ease-soft) infinite;}@keyframes sev-pulse { 0% { transform: scale(0.7); opacity: 0.7; } 70% { transform: scale(1.5); opacity: 0; } 100% { opacity: 0; }}@media (prefers-reduced-motion: reduce) { .sev-dot.is-streaming::after { animation: none; opacity: 0; }}
/* Severity tag — inline status chip that inherits a severity */.sev-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; padding: 2px 7px; border-radius: var(--r-xs); border: 1px solid var(--hairline); color: var(--ink-2); background: var(--surface);}.sev-tag .sev-dot { width: 7px; height: 7px; }.sev-tag.is-permission { color: var(--sev-warn-ink); border-color: color-mix(in srgb, var(--sev-warn) 35%, transparent); background: var(--sev-warn-bg); }.sev-tag.is-error { color: var(--sev-error-ink); border-color: color-mix(in srgb, var(--sev-error) 35%, transparent); background: var(--sev-error-bg); }.sev-tag.is-streaming { color: var(--sev-info-ink); border-color: color-mix(in srgb, var(--sev-info) 32%, transparent); background: var(--sev-info-bg); }
/* ── Buttons ───────────────────────────────────────────── */.btn { font: inherit; font-size: 13px; font-weight: 500; border: 1px solid var(--hairline); background: var(--surface); color: var(--ink); border-radius: var(--r-sm); padding: 6px 12px; cursor: pointer; transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;}.btn:hover { border-color: var(--hairline-strong); background: var(--surface-hover); }.btn:disabled { opacity: 0.45; cursor: not-allowed; }.btn--primary { background: var(--accent); color: var(--accent-on); border-color: var(--accent); }.btn--primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }.btn--danger { color: var(--sev-error-ink); border-color: color-mix(in srgb, var(--sev-error) 35%, transparent); }.btn--danger:hover { background: var(--sev-error-bg); border-color: color-mix(in srgb, var(--sev-error) 55%, transparent); }.btn--ghost { background: transparent; border-color: transparent; color: var(--ink-2); }.btn--ghost:hover { background: var(--surface-hover); border-color: var(--hairline); color: var(--ink); }
.kbd { font-family: var(--font-mono); font-size: 11px; padding: 1px 5px; border-radius: var(--r-xs); border: 1px solid var(--hairline); background: var(--surface-sunken); color: var(--ink-3);}
/* Tracked uppercase bay/section labels — the rack's metal-stamped header voice. */.tracked { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);}
/* The route spine — the vertical rule that connects waypoints in a flight plan. */.spine { position: relative; }.spine::before { content: ""; position: absolute; left: 11px; top: 0; bottom: 0; border-left: 1px solid var(--hairline);}
/* Visually hidden but available to assistive tech. */.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* Annotated-source gutter markers (diff add/remove) reused by Descriptor + flight plan */.gutter-add { color: var(--diff-add); width: 1.5ch; display: inline-block; text-align: center; user-select: none; }.gutter-remove { color: var(--diff-remove); width: 1.5ch; display: inline-block; text-align: center; user-select: none; }