/* Components for the ported pages. Loaded after site.css and shell.css by every page; site/_kit.html
   shows each one. Colours come only from tokens.css. Everything here works without scripts and
   holds still under reduced motion. Kept from site.css: label, panel, specs, paths/path, glance
   cards, start tiles, btn/cta, code and code-pair, quote, fig, note, live-dot, chapter-no. */

/* page head for reading and tool pages: label, h1, lead and an optional meta line */
.page-head { padding-block: clamp(3rem, 9vh, 6rem) 2rem; max-width: 48rem; }
.page-head h1 {
  font-size: clamp(2.2rem, 5.6vw, 4rem); line-height: 1.02; font-weight: 800; font-stretch: 112%;
  letter-spacing: -0.01em; margin: 0.8rem 0 1.1rem; text-wrap: balance;
}
.page-head .lead { font-size: var(--t-lead); color: var(--muted); }
.meta-line { font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.08em; color: var(--muted-2); margin: 1rem 0 0; }

/* 3. section sub-nav: a row of links under the hero label; the page's own link has aria-current */
.subnav { margin: 0 0 1.5rem; font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.12em; text-transform: uppercase; }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.4rem; border-bottom: 1px solid var(--rule); }
.subnav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.subnav a:hover { color: var(--accent-ink); }
.subnav a[aria-current] { color: var(--ink); border-bottom-color: var(--accent); }

/* 7. tables: a labelled scroll region, a caption, header cells with scope, numbers aligned right */
.table-wrap { max-width: 100%; overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--rule); background: var(--scrim); }
.table-wrap:focus-visible { outline-offset: 2px; }
.data { width: 100%; border-collapse: collapse; font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.data caption {
  caption-side: top; text-align: left; padding: 0.8rem 1rem; font-family: var(--mono); font-size: var(--t-label);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); border-bottom: 1px solid var(--rule);
}
.data th, .data td { padding: 0.65rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.data thead th { font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 400; white-space: nowrap; }
.data tbody th { font-weight: 600; color: var(--ink); }
.data tr:last-child > * { border-bottom: 0; }
.data .num { text-align: right; white-space: nowrap; }

/* 8. callouts: info, warning, status, and legal. A legal callout is word for word from counsel:
   its data-verbatim marker tells editors not to rewrite it. */
.callout { margin: 1.5rem 0; padding: 1rem 1.2rem; background: var(--scrim); border: 1px solid var(--rule); border-left: 3px solid var(--muted-2); max-width: 46rem; }
.callout.callout > :last-child { margin-bottom: 0; }
.callout-title { display: block; margin: 0 0 0.4rem; font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.callout-info { border-left-color: var(--muted); }
.callout-warning { border-left-color: var(--accent); }
.callout-warning .callout-title { color: var(--accent-ink); }
.callout-status { border-left-color: var(--accent-ink); }
.callout-legal { border-left-color: var(--ink); font-size: var(--t-small); color: var(--muted); }

/* 9. status chips */
.chip {
  display: inline-flex; align-items: center; gap: 0.45em; padding: 0.15rem 0.55rem; vertical-align: 0.1em;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
  color: var(--muted); border: 1px solid var(--rule);
}
.chip-live, .chip-active { color: var(--accent-ink); border-color: var(--accent-dim); }
.chip-live::before, .chip-active::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.chip-ready, .chip-complete, .chip-demonstrated { color: var(--ink); border-color: var(--muted-2); }
.chip-preview, .chip-alpha, .chip-recording { color: var(--muted); border-style: dashed; border-color: var(--muted-2); }
.chip-inactive { color: var(--muted-2); border-style: dashed; }

/* 10. code blocks with an optional copy button (js/copy.js shows it) */
.code-block { position: relative; margin: 1.2rem 0 0; }
.code-block .code { margin: 0; padding-right: 5.5rem; }
.copy-btn {
  position: absolute; top: 0.5rem; right: 0.5rem; min-height: 32px; padding: 0 0.7rem; cursor: pointer;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); background: var(--paper-2); border: 1px solid var(--rule);
}
.copy-btn:hover { color: var(--accent-ink); border-color: var(--accent); }
.copy-btn[hidden] { display: none; }
.copy-inline { position: static; margin-left: 0.5rem; min-height: 28px; vertical-align: middle; }
:not(pre) > code { font-family: var(--mono); font-size: 0.88em; padding: 0.05em 0.3em; background: var(--paper-2); border: 1px solid var(--rule); }

/* 11. long identifiers: addresses, tx ids, hashes and program ids wrap anywhere */
.id { font-family: var(--mono); font-size: 0.82rem; overflow-wrap: anywhere; word-break: break-all; color: var(--ink); }
a.id { color: var(--accent-ink); }
.id-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.6rem; }

/* 12. figures: a caption (Fig. N, the .fig style); ASCII figures in <pre> with a text alternative;
   inline SVG whose animation runs only without reduced motion (class .anim on the moving parts);
   static bar charts */
.figure { margin: 1.5rem 0; max-width: 46rem; }
.figure > figcaption { margin-top: 0.7rem; }
.figure svg { display: block; max-width: 100%; height: auto; }
.ascii {
  margin: 0; padding: 1rem 1.1rem; overflow-x: auto; background: var(--paper); border: 1px solid var(--rule);
  font-family: var(--mono); font-size: 0.72rem; line-height: 1.45; color: var(--accent-ink); white-space: pre;
}
@media (prefers-reduced-motion: reduce) {
  .anim, .anim * { animation: none !important; transition: none !important; }
}
.scene-paused .anim, .scene-paused .anim * { animation-play-state: paused !important; }
.bars { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: 0.6rem; max-width: 40rem; }
.bars li { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr) auto; gap: 0.8rem; align-items: center; font-size: var(--t-small); }
.bar { height: 10px; background: var(--rule); }
.bar > span { display: block; height: 100%; background: var(--accent); }
/* bar widths are classes, not style attributes (the CSP forbids them): .w-0 ... .w-100 in steps of 5 */
.w-0 { width: 0; } .w-5 { width: 5%; } .w-10 { width: 10%; } .w-15 { width: 15%; } .w-20 { width: 20%; }
.w-25 { width: 25%; } .w-30 { width: 30%; } .w-35 { width: 35%; } .w-40 { width: 40%; } .w-45 { width: 45%; }
.w-50 { width: 50%; } .w-55 { width: 55%; } .w-60 { width: 60%; } .w-65 { width: 65%; } .w-70 { width: 70%; }
.w-75 { width: 75%; } .w-80 { width: 80%; } .w-85 { width: 85%; } .w-90 { width: 90%; } .w-95 { width: 95%; } .w-100 { width: 100%; }

/* 13. cards: a grid of cards, each with a label, a title, text, a meta row and up to two links */
.cards { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.item { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; background: var(--scrim); border: 1px solid var(--rule); padding: 1.3rem; }
.item h3 { margin: 0.2rem 0 0.2rem; font-size: 1.15rem; line-height: 1.25; }
.item p { margin: 0; color: var(--muted); font-size: var(--t-small); }
/* a list inside a card or a person: the card's small text, with the site's list marker */
:is(.item, .person) :is(ul, ol):not([class]) { margin: 0.2rem 0 0.4rem; padding-left: 1.2em; color: var(--muted); font-size: var(--t-small); }
:is(.item, .person) ul:not([class]) { list-style: disc; }
:is(.item, .person) :is(ul, ol):not([class]) > li { margin: 0 0 0.3rem; }
:is(.item, .person) :is(ul, ol):not([class]) > li::marker { color: var(--accent-ink); }
.item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.8rem; font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.08em; color: var(--muted-2); }
.item-links { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; margin-top: auto; padding-top: 0.6rem; }
.item-links a { display: inline-flex; align-items: center; min-height: 32px; font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.1em; text-transform: uppercase; }

/* 14. team grid: groups of people (name, role, bio, an optional link); no photos */
.team-group { margin: 2rem 0 0; }
.team-group > h3 { margin: 0 0 0.8rem; font-family: var(--mono); font-size: var(--t-label); font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink); }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.person { background: var(--scrim); border: 1px solid var(--rule); padding: 1.2rem; min-width: 0; }
.person-name { display: block; margin: 0; font-size: 1.1rem; font-weight: 800; font-stretch: 108%; }
.person-role { display: block; margin: 0.15rem 0 0.6rem; font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.08em; color: var(--muted-2); }
.person p { margin: 0 0 0.6rem; color: var(--muted); font-size: var(--t-small); }
.person a { font-size: var(--t-small); }
/* a row of credential chips under the role: they wrap as a row, with room between the lines */
.person-creds { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.person-creds .chip { white-space: normal; }
/* the summary strip and "experience from" line above a team, and a person's one-line headline
   with the full bio behind a disclosure (js/details.js opens it for printing) */
.team-glance { margin: 1.5rem 0 0; }
.team-pedigree { margin: 1.2rem 0 0; color: var(--muted); font-size: var(--t-small); }
.team-pedigree .label { margin-right: 0.6rem; }
.person { display: flex; flex-direction: column; }
.person .person-headline { color: var(--ink); }
.person-bio { margin-top: auto; padding-top: 0.4rem; border-top: 1px solid var(--rule); }
.person-bio > summary { display: flex; align-items: center; justify-content: space-between; min-height: 32px; cursor: pointer; list-style: none; font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.person-bio > summary::-webkit-details-marker { display: none; }
.person-bio > summary::after { content: "+"; }
.person-bio[open] > summary::after { content: "\2212"; }
.person-bio > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.person-bio > p { margin-top: 0.6rem; }

/* 15. partner and listing groups: a heading, names with a one-line role, optional logos, and the
   third-party note */
.listing { margin: 1.8rem 0 0; }
.listing > h3 { margin: 0 0 0.6rem; font-size: 1.05rem; }
.listing ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.listing li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.2rem 0.9rem; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); }
.listing li > :not(img) { grid-column: 2; }
.listing img { grid-row: span 2; width: 36px; height: 36px; object-fit: contain; background: var(--paper-2); }
.listing-name { font-weight: 700; }
.listing-role { color: var(--muted); font-size: var(--t-small); }
.listing-note { margin-top: 0.9rem; color: var(--muted-2); font-size: var(--t-small); max-width: 46rem; }

/* 16. entity triad: Foundation, Protocol, Labs */
.triad { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--rule); background: var(--scrim); }
.triad > li { padding: 1.3rem; min-width: 0; border-left: 1px solid var(--rule); }
.triad > li:first-child { border-left: 0; }
.triad h3 { margin: 0.35rem 0 0.4rem; font-size: 1.15rem; }
.triad p { color: var(--muted); font-size: var(--t-small); margin-bottom: 0.6rem; }
@media (max-width: 760px) {
  .triad { grid-template-columns: minmax(0, 1fr); }
  .triad > li { border-left: 0; border-top: 1px solid var(--rule); }
  .triad > li:first-child { border-top: 0; }
}

/* 17. timeline: dated steps with an optional chip */
.timeline { list-style: none; margin: 1.5rem 0 0; padding: 0; max-width: 46rem; }
.timeline > li { position: relative; padding: 0 0 1.4rem 1.6rem; border-left: 1px solid var(--rule); margin-left: 0.3rem; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before { content: ""; position: absolute; left: -5px; top: 0.45rem; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1px solid var(--accent); }
.timeline time, .timeline .when { display: block; font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.timeline h3 { margin: 0.2rem 0 0.3rem; font-size: 1.05rem; }
.timeline p { color: var(--muted); font-size: var(--t-small); margin-bottom: 0.4rem; }

/* 18. numbered steps */
.steps { list-style: none; margin: 1.2rem 0 0; padding: 0; counter-reset: step; max-width: 46rem; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 1.1rem 2.8rem; min-height: 2rem; }
.steps > li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0.1rem;
  font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.08em; color: var(--accent-ink);
  border: 1px solid var(--accent-dim); padding: 0.2rem 0.35rem;
}
.steps > li > h3, .steps > li > strong:first-child { display: block; margin: 0 0 0.3rem; font-size: 1.02rem; }

/* 19. disclosure group (js/details.js opens one on a matching hash, and all before printing) */
.disclosures { margin: 1.5rem 0 0; border-top: 1px solid var(--rule); max-width: 46rem; }
.disclosures details { border-bottom: 1px solid var(--rule); }
.disclosures summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; padding: 0.6rem 0;
  cursor: pointer; list-style: none; font-weight: 700;
}
.disclosures summary::-webkit-details-marker { display: none; }
.disclosures summary::after { content: "+"; font-family: var(--mono); color: var(--accent-ink); flex: none; }
.disclosures details[open] > summary::after { content: "\2212"; }
.disclosures details > :not(summary) { margin-top: 0; }
.disclosures .disclosure-body { padding: 0 0 1rem; color: var(--muted); }

/* 20. downloads: name, format, size, revision and date, a status note, an optional SHA-256 */
.downloads { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; max-width: 52rem; }
.download { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.4rem 1.2rem; align-items: start; background: var(--scrim); border: 1px solid var(--rule); padding: 1.2rem; }
.download h3 { margin: 0; font-size: 1.1rem; }
.download-meta { grid-column: 1; display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.08em; color: var(--muted-2); }
.download-note { grid-column: 1; margin: 0; color: var(--muted); font-size: var(--t-small); }
.download-sha { grid-column: 1 / -1; margin: 0; }
.download .btn { grid-column: 2; grid-row: 1 / span 2; align-self: center; white-space: nowrap; }
@media (max-width: 560px) {
  .download { grid-template-columns: minmax(0, 1fr); }
  .download .btn { grid-column: 1; grid-row: auto; justify-self: start; }
}

/* 21. live data: [data-tip-height] (js/live-height.js), with an optional lamp */
.lamp { display: inline-block; width: 7px; height: 7px; margin-right: 0.5em; border-radius: 50%; border: 1px solid var(--muted-2); vertical-align: 0.08em; }
.lamp.is-ok { background: var(--accent); border-color: var(--accent); }
.lamp.is-down { background: transparent; border-color: var(--muted-2); }
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); border: 1px solid var(--rule); background: var(--scrim); margin: 1.5rem 0 0; }
.proof > div { padding: 1rem 1.2rem; border-left: 1px solid var(--rule); min-width: 0; }
.proof > div:first-child { border-left: 0; }
.proof .label { display: block; margin-bottom: 0.3rem; }
.proof-v { font-family: var(--mono); font-size: 0.95rem; color: var(--ink); font-variant-numeric: tabular-nums; }

/* 22. forms (js/forms.js): labels above fields, a required marker, inline errors, a honeypot,
   a status line and a success panel shown only after the hand-off */
.form { max-width: 40rem; }
.field { margin: 0 0 1.4rem; }
.field > label, .field > .field-label {
  display: block; margin-bottom: 0.45rem; font-family: var(--mono); font-size: var(--t-label);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink);
}
.req { color: var(--muted); text-transform: none; letter-spacing: 0.04em; }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field input[type="tel"], .field select, .field textarea {
  display: block; width: 100%; min-height: 48px; padding: 0.7rem 0.85rem; font: inherit; font-size: 1rem;
  color: var(--ink); background: var(--paper-2); border: 1px solid #3a444f; border-radius: 0;
}
.field textarea { min-height: 7.5rem; resize: vertical; line-height: 1.5; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--accent-ink); }
.field-hint { margin: 0.35rem 0 0; color: var(--muted-2); font-size: var(--t-small); }
.field-error { margin: 0.4rem 0 0; color: var(--accent-ink); font-size: var(--t-small); font-weight: 600; }
.field-error:empty { display: none; }
.field-check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.7rem; align-items: start; }
.field-check input { width: 20px; height: 20px; margin: 0.15rem 0 0; accent-color: var(--accent); }
.field.field-check > label { display: block; margin: 0; font-family: var(--sans); font-size: var(--t-small); letter-spacing: normal; text-transform: none; line-height: 1.5; color: var(--muted); }
.field-check .field-error { grid-column: 2; }
/* the honeypot: out of sight and out of the tab order, but not display:none (bots skip those);
   clipped in place, so it never reaches outside the page */
.hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-status { min-height: 1.5em; margin: 0.8rem 0 0; color: var(--muted); font-size: var(--t-small); }
.form-alt { margin: 1.2rem 0 0; font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.form button[type="submit"] { cursor: pointer; }
.form-ok { max-width: 40rem; padding: 1.4rem 1.6rem; background: var(--scrim); border: 1px solid var(--rule); border-left: 3px solid var(--accent); }
.form-ok:not(.is-shown) { display: none; }
.form-ok:focus { outline: none; }
.form-ok h2, .form-ok .form-ok-title { margin: 0 0 0.5rem; font-size: 1.4rem; color: var(--accent-ink); }
/* without scripts the form cannot hand off (the CSP allows no mailto action): the button goes,
   and the page's <noscript> note gives the address instead */
@media (scripting: none) { .form [type="submit"] { display: none; } }

/* 23. video with consent: a self-hosted poster and a play link; js/video-consent.js swaps in a
   youtube-nocookie player only on click. Without scripts the link opens YouTube. */
.video { margin: 1.5rem 0; max-width: 52rem; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--paper-2); border: 1px solid var(--rule); overflow: hidden; }
.video-frame img, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 48px; padding: 0 1.2rem;
  font-family: var(--mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-on); background: var(--accent); text-decoration: none; border: 0; cursor: pointer;
}
.video-play:hover { background: var(--accent-ink); color: var(--accent-on); }
.video-play svg { width: 12px; height: 14px; fill: currentColor; }
.video-consent { margin: 0.6rem 0 0; color: var(--muted-2); font-size: var(--t-small); }

/* 24. swatches (hex as text) and type specimens */
.swatches { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 1rem; }
.swatch { border: 1px solid var(--rule); background: var(--scrim); }
.swatch-chip { display: block; height: 4.5rem; border-bottom: 1px solid var(--rule); }
.swatch-name { display: block; padding: 0.6rem 0.8rem 0; font-weight: 700; }
.swatch-hex { display: block; padding: 0 0.8rem 0.7rem; font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0.08em; color: var(--muted); }
.sw-paper { background: var(--paper); } .sw-paper-2 { background: var(--paper-2); } .sw-ink { background: var(--ink); }
.sw-muted { background: var(--muted); } .sw-muted-2 { background: var(--muted-2); } .sw-rule { background: var(--rule); }
.sw-accent { background: var(--accent); } .sw-accent-ink { background: var(--accent-ink); } .sw-accent-dim { background: var(--accent-dim); }
.specimen { margin: 1rem 0 0; padding: 1.2rem; border: 1px solid var(--rule); background: var(--scrim); }
.specimen-sans { font-family: var(--sans); font-size: 2.2rem; font-weight: 800; font-stretch: 118%; line-height: 1.05; }
.specimen-mono { font-family: var(--mono); font-size: 1.1rem; letter-spacing: 0.04em; }

/* 25. page-note slot: page-specific small print, the last thing in <main>, just above the footer */
.page-note { margin: 3rem 0 0; padding: 1.2rem 0 2rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: var(--t-small); }
.page-note p { max-width: 48rem; margin: 0 0 0.5rem; }

/* tool pages: a full-width work area */
.tool { margin: 0 0 4rem; padding: clamp(1rem, 3vw, 2rem); background: var(--scrim); border: 1px solid var(--rule); min-height: 20rem; }
.noscript-note { margin: 1rem 0; padding: 1rem 1.2rem; border: 1px solid var(--accent-dim); background: var(--scrim); color: var(--muted); max-width: 46rem; }

/* a section on a scene page that is wider than a panel (cards, tables, team grids) */
.panel.wide .cards, .panel.wide .team { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }

@media (forced-colors: active) {
  .lamp.is-ok, .chip-live::before, .chip-active::before, .bar > span { background: CanvasText; }
}
