/* AutoMyco site: one stylesheet for every page. No inline styles anywhere (the CSP forbids them). */

@font-face { font-family: "Bricolage"; src: url("fonts/bricolage-var.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("fonts/atkinson-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("fonts/atkinson-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("fonts/atkinson-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* Named after the grow: substrate (page), spawn (raised), lichen (rules), golden oyster (actions),
   blue oyster (links). UV purple is only ever used for UV-C warnings. The install console is the
   one dark surface in light mode, like the chamber's own control panel. */
:root {
  --substrate: #eef1ea;
  --spawn: #f8faf6;
  --ink: #1c2620;
  --ink-soft: #4d5a51;
  --lichen: #c9d2c7;
  --golden: #d99a1e;
  --golden-ink: #2a1d02;
  --blue: #3f5f7f;
  --uv: #6a3fa0;
  --uv-wash: #efe8f7;
  --ok: #2f6b45;
  --bad: #a3342b;
  --console: #1c2620;
  --console-ink: #e8ede5;
  --console-soft: #a9b6ab;
  --console-rule: #34433a;
  --led-ok: #5fd38a;
  --led-no: #56635a;
  --led-warn: #e8ad3a;
  --radius-s: 6px;
  --radius-l: 16px;
  --measure: 66ch;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --substrate: #141a16; --spawn: #1c241e; --ink: #e5eae2; --ink-soft: #a9b4aa;
    --lichen: #33403a; --golden: #e8ad3a; --golden-ink: #221600; --blue: #8fb3d6;
    --uv: #b994ea; --uv-wash: #2a2238; --ok: #79c495; --bad: #f08a80;
    --console: #1f2a22; --console-rule: #3a4a3f;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --substrate: #141a16; --spawn: #1c241e; --ink: #e5eae2; --ink-soft: #a9b4aa;
  --lichen: #33403a; --golden: #e8ad3a; --golden-ink: #221600; --blue: #8fb3d6;
  --uv: #b994ea; --uv-wash: #2a2238; --ok: #79c495; --bad: #f08a80;
  --console: #1f2a22; --console-rule: #3a4a3f;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--substrate);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Atkinson", system-ui, sans-serif;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--golden); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: "Bricolage", system-ui, sans-serif; line-height: 1.08; margin: 0 0 0.5em; font-variation-settings: "opsz" 72; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; font-weight: 700; font-variation-settings: "opsz" 24; }
p, ul, ol { margin: 0 0 1em; max-width: var(--measure); }
li + li { margin-top: 0.35em; }
small, .fine { font-size: 0.9rem; color: var(--ink-soft); }
code { font: 0.92em ui-monospace, "SF Mono", Menlo, monospace; background: var(--spawn); border: 1px solid var(--lichen); border-radius: 4px; padding: 0.05em 0.35em; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 20; background: var(--golden); color: var(--golden-ink); padding: 10px 14px; border-radius: var(--radius-s); font-weight: 700; }
.skip:focus { top: 12px; }

/* --- header ----------------------------------------------------------------------------- */
.site-head { border-bottom: 1px solid var(--lichen); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; padding-block: 14px; flex-wrap: wrap; }
.brand { font: 800 1.3rem/1 "Bricolage", sans-serif; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 30px; height: 30px; }
.brand small { font: 400 0.85rem/1 "Atkinson", sans-serif; color: var(--ink-soft); letter-spacing: 0; }
.site-nav { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.site-nav > a { color: var(--ink); text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 999px; }
.site-nav > a:hover { background: var(--spawn); }
.site-nav > a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--golden); text-decoration-thickness: 3px; text-underline-offset: 0.3em; }
.site-nav > a.nav-account { border: 2px solid var(--ink); padding: 6px 14px; margin-left: 4px; }

/* Header donate: a gold pill that opens a two-option menu. */
.nav-donate { position: relative; }
.nav-donate summary {
  list-style: none; cursor: pointer; font-weight: 700; color: var(--golden-ink);
  background: var(--golden); border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px;
}
.nav-donate summary::-webkit-details-marker { display: none; }
.nav-donate summary:hover { filter: brightness(1.05); }
.i-cup { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 5; stroke-linejoin: round; }
.donate-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 10; min-width: 210px;
  background: var(--spawn); border: 1px solid var(--lichen); border-radius: var(--radius-s);
  padding: 6px; display: grid; box-shadow: 0 10px 28px rgb(0 0 0 / 0.2);
}
.donate-menu a { padding: 10px 12px; border-radius: 4px; font-weight: 700; color: var(--ink); text-decoration: none; }
.donate-menu a:hover, .donate-menu a:focus-visible { background: var(--substrate); }

@media (max-width: 640px) {
  .head-row { padding-block: 12px 10px; }
  .site-nav { width: 100%; justify-content: space-between; gap: 2px; font-size: 0.98rem; position: relative; }
  .site-nav > a { padding: 8px 8px; }
  .site-nav > a.nav-account { padding: 6px 10px; margin-left: 0; }
  .nav-donate { position: static; }
  .nav-donate summary { padding: 0 12px; }
  .donate-menu { left: 0; right: 0; }
}

/* --- footer ----------------------------------------------------------------------------- */
.site-foot { border-top: 1px solid var(--lichen); margin-top: 96px; padding-block: 32px 48px; color: var(--ink-soft); font-size: 0.95rem; }
.foot-row { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: flex-start; }
.foot-row p { margin: 0; max-width: 44ch; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; max-width: 520px; }
.site-foot a { color: inherit; }

/* --- buttons ---------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.15 "Atkinson", sans-serif; text-decoration: none; cursor: pointer;
  background: var(--golden); color: var(--golden-ink);
}
.btn:hover { filter: brightness(1.05); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; filter: none; }
.btn.quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.linkish { background: none; border: 0; padding: 4px 0; font: inherit; color: var(--blue); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }

/* --- home hero ---------------------------------------------------------------------------- */
.hero {
  position: relative; display: grid; gap: 0 56px; align-items: start; padding-block: 44px 24px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "intro console" "answers console";
  grid-template-rows: auto 1fr;
}
.hero-intro { grid-area: intro; }
.hero .answers { grid-area: answers; }
.hero .console { grid-area: console; }
.hero > * { position: relative; z-index: 1; }
.hero .lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 40ch; }
.hero .gills { position: absolute; z-index: 0; right: -180px; top: 8px; width: 600px; max-width: none; color: var(--ink); opacity: 0.16; pointer-events: none; }
.answers { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 18px; margin: 8px 0 0; max-width: 46ch; align-content: start; }
.answers dt { font-family: "Bricolage", sans-serif; font-weight: 700; }
.answers dd { margin: 0; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; grid-template-areas: "intro" "console" "answers"; grid-template-rows: auto; padding-block: 24px 8px; }
  .hero .answers { margin-top: 32px; }
  .hero .gills { width: 380px; right: -220px; top: 0; }
}

.gills .gill { stroke: currentColor; stroke-width: 1.1; opacity: 0.55; fill: none; stroke-linecap: round; }
.gills .gill.long { opacity: 0.85; }
.gills .stipe { fill: var(--golden); }
.gills .rim { fill: none; stroke: currentColor; stroke-width: 2.5; }
/* The one page-load moment: the gills draw in behind the install console. */
@media (prefers-reduced-motion: no-preference) {
  .gills .gill { stroke-dasharray: 1; stroke-dashoffset: 1; animation: grow 1.6s cubic-bezier(.2,.7,.2,1) forwards; }
  .gills .gill:nth-of-type(8n+2) { animation-delay: 60ms; }
  .gills .gill:nth-of-type(8n+3) { animation-delay: 120ms; }
  .gills .gill:nth-of-type(8n+4) { animation-delay: 180ms; }
  .gills .gill:nth-of-type(8n+5) { animation-delay: 240ms; }
  .gills .gill:nth-of-type(8n+6) { animation-delay: 300ms; }
  .gills .gill:nth-of-type(8n+7) { animation-delay: 360ms; }
  .gills .gill:nth-of-type(8n)   { animation-delay: 420ms; }
  @keyframes grow { to { stroke-dashoffset: 0; } }
}

/* --- install console: live browser check -------------------------------------------------- */
.console {
  background: var(--console); color: var(--console-ink); border-radius: var(--radius-l);
  padding: clamp(20px, 3vw, 28px); border: 1px solid var(--console-rule);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 18px 40px -24px rgb(0 0 0 / 0.55);
}
.console > h2 { font-size: 1.5rem; margin-bottom: 4px; }
.console a:not(.btn) { color: inherit; }
.console .btn.quiet { color: var(--console-ink); border-color: var(--console-soft); }
.console .fine { color: var(--console-soft); }
.check-env { margin: 0; color: var(--console-soft); font-size: 0.95rem; }
.check-verdict { font-size: 1.1rem; font-weight: 700; margin: 4px 0 12px; }
.paths { list-style: none; padding: 0; margin: 0; max-width: none; }
.path { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding-block: 14px; border-top: 1px solid var(--console-rule); margin: 0; }
.path-body h2, .path-body h3, .path-body h4 { font-size: 1.1rem; margin: 0 0 2px; }
.path-body p { margin: 0; }
.path-what { color: var(--console-soft); font-size: 0.95rem; }
.path-state { font-size: 0.92rem; font-weight: 700; margin-top: 2px !important; }
.path.is-ok .path-state { color: var(--led-ok); }
.path.is-warn .path-state { color: var(--led-warn); }
.path.is-no .path-state { color: var(--console-soft); font-weight: 400; }
.path.is-no h2, .path.is-no h3, .path.is-no h4 { color: var(--console-soft); }
.led { width: 12px; height: 12px; border-radius: 50%; background: var(--led-no); align-self: start; margin-top: 6px; }
.path.is-ok .led { background: var(--led-ok); box-shadow: 0 0 0 3px rgb(95 211 138 / 0.18), 0 0 10px rgb(95 211 138 / 0.6); }
.path.is-warn .led { background: var(--led-warn); }
.path-link { font-size: 0.92rem; white-space: nowrap; }
.console, .unsupported { container-type: inline-size; }
@container (max-width: 440px) {
  .path { grid-template-columns: 14px minmax(0, 1fr); }
  .path > a { grid-column: 2; justify-self: start; margin-top: 6px; }
}
@media (prefers-reduced-motion: no-preference) {
  .path.is-ok .led { animation: led-on 0.6s ease-out both; }
  @keyframes led-on { from { opacity: 0.2; } }
}

.chooser { border: 0; padding: 0; margin: 0 0 14px; }
.chooser legend { font-weight: 700; padding: 0; margin-bottom: 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--console-rule); color: var(--console-ink); font-weight: 700; font-size: 0.95rem; }
.seg input:checked + span { background: var(--console-ink); color: var(--console); border-color: var(--console-ink); }
.seg input:focus-visible + span { outline: 3px solid var(--golden); outline-offset: 2px; }

/* --- sections ------------------------------------------------------------------------------ */
.section { padding-block: 64px 0; }
.section > h2 { max-width: 24ch; }
.lede-s { font-size: 1.2rem; color: var(--ink-soft); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px 48px; }

/* What you get: a plain definition list, two columns on wide screens. */
.gets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 0 48px; margin: 0; }
.gets div { border-top: 2px solid var(--ink); padding-block: 14px 18px; }
.gets dt { font: 700 1.15rem/1.3 "Bricolage", sans-serif; margin-bottom: 4px; }
.gets dd { margin: 0; color: var(--ink-soft); max-width: 52ch; }

/* Steps really are a sequence, so they get numbers. */
.steps { counter-reset: step; list-style: none; padding: 0; max-width: 70ch; }
.steps > li { counter-increment: step; position: relative; padding-left: 52px; margin-block: 0 22px; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font: 800 1.05rem/1 "Bricolage", sans-serif; border: 2px solid var(--ink);
}
.steps.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 8px 28px; max-width: none; }
.steps.row > li { margin: 0; padding: 48px 0 0; }
.steps.row > li + li { margin: 0; }

/* Comparison table on the project page. */
.compare { width: 100%; border-collapse: collapse; margin-block: 8px 24px; font-size: 1rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--lichen); }
.compare thead th { font-family: "Bricolage", sans-serif; border-bottom: 2px solid var(--ink); }
.compare td:first-child { font-weight: 700; width: 24%; }
@media (max-width: 640px) {
  .compare thead { display: none; }
  .compare tr { display: block; padding-block: 10px; border-bottom: 1px solid var(--lichen); }
  .compare td { display: block; border: 0; padding: 2px 0; width: auto !important; }
  .compare td:nth-child(2)::before { content: "Stock: "; color: var(--ink-soft); }
  .compare td:nth-child(3)::before { content: "AutoMyco: "; color: var(--ink-soft); }
}

/* --- callouts ------------------------------------------------------------------------------ */
.uv {
  border-left: 6px solid var(--uv); background: var(--uv-wash); color: var(--ink);
  padding: 16px 20px; border-radius: 0 var(--radius-s) var(--radius-s) 0; max-width: 72ch; margin-block: 20px;
}
.uv strong { color: var(--uv); }
.note { border-left: 4px solid var(--lichen); padding: 4px 0 4px 18px; color: var(--ink-soft); max-width: 70ch; }

/* --- panels (sign-in, downloads, flasher) ------------------------------------------------------ */
.panel { background: var(--spawn); border: 1px solid var(--lichen); border-radius: var(--radius-l); padding: clamp(20px, 4vw, 36px); }
.panel + .panel, .panel + .console, .console + .panel { margin-top: 24px; }
.narrow { max-width: 600px; }
label.field { display: block; font-weight: 700; margin-bottom: 14px; }
label.field span { display: block; margin-bottom: 6px; }
input[type="email"], input[type="text"], input[type="password"], select {
  width: 100%; min-height: 50px; padding: 0 14px; font: 400 1.1rem "Atkinson", sans-serif; color: var(--ink);
  background: var(--substrate); border: 2px solid var(--lichen); border-radius: var(--radius-s);
}
input[inputmode="numeric"] { letter-spacing: 0.3em; font-size: 1.4rem; }
input:focus { border-color: var(--golden); outline: none; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-block: 10px; max-width: 70ch; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--golden); }
.status { min-height: 1.6em; margin-top: 12px; font-weight: 700; }
.status.err { color: var(--bad); }
.status.ok { color: var(--ok); }
.unsupported .status { margin-top: 0; }
.console .status.err { color: #f4a49b; }
.console .status.ok { color: var(--led-ok); }

.files { list-style: none; padding: 0; margin: 0; max-width: none; }
.files li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; align-items: center; padding-block: 16px; border-bottom: 1px solid var(--lichen); margin: 0; }
.files li:first-child { padding-top: 0; }
.files .meta { color: var(--ink-soft); font-size: 0.92rem; overflow-wrap: anywhere; }
@media (max-width: 560px) { .files li { grid-template-columns: 1fr; } }

/* Flasher */
.crumbs { margin-bottom: 8px; }
.stage { border-top: 1px solid var(--lichen); padding-top: 24px; margin-top: 24px; }
.stage:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.stage[aria-disabled="true"] { opacity: 0.5; }
.stage h3 .tick { color: var(--ok); }
progress { width: 100%; height: 14px; accent-color: var(--golden); margin-top: 10px; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 18px; margin: 12px 0; font-size: 0.98rem; }
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.log { font: 0.82rem/1.45 ui-monospace, Menlo, monospace; background: var(--substrate); border: 1px solid var(--lichen); border-radius: var(--radius-s); padding: 12px; height: 200px; overflow: auto; white-space: pre-wrap; margin-top: 16px; }
details > summary { cursor: pointer; }
.diagram { width: 100%; max-width: 640px; height: auto; margin: 8px 0 16px; border-radius: 18px; }

/* --- donations ------------------------------------------------------------------------------- */
/* Support band on the home page: the one loud block. Gold ground, ink type, inverted buttons. */
.support-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 32px; align-items: center;
  background: var(--golden); color: var(--golden-ink);
  border-radius: var(--radius-l); padding: clamp(24px, 4vw, 44px);
}
.support-card h2 { margin-bottom: 0.3em; }
.support-card p { font-size: 1.12rem; max-width: 50ch; }
.support-card .support-fine { font-size: 0.92rem; margin: 14px 0 0; }
.support-card .btn { min-height: 52px; padding: 0 26px; font-size: 1.05rem; background: var(--golden-ink); color: var(--golden); }
.support-card .btn.quiet { background: transparent; color: var(--golden-ink); border-color: var(--golden-ink); }
.support-card .btn:focus-visible, .support-card a:focus-visible { outline-color: var(--golden-ink); }
.support-card a:not(.btn) { color: inherit; }
.cup { width: clamp(64px, 9vw, 104px); fill: none; stroke: var(--golden-ink); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 560px) {
  .support-card { grid-template-columns: 1fr; }
  .support-card .btn-row .btn { flex: 1 1 100%; }
}

/* Thank-you card after a download or install. Warm, small, closes with one click. */
.thanks {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 20px; align-items: start;
  background: var(--spawn); border: 2px solid var(--golden); border-radius: var(--radius-l);
  padding: 22px 56px 22px 22px; margin-block: 24px;
}
.thanks .cup { width: 52px; stroke: var(--golden); }
.thanks h2, .thanks h3 { font-size: 1.3rem; margin-bottom: 0.3em; }
.thanks p { margin-bottom: 14px; }
.thanks .btn-row { gap: 10px; }
.thanks-close {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: transparent; color: var(--ink-soft); font: 400 1.6rem/1 "Atkinson", sans-serif; cursor: pointer;
}
.thanks-close:hover { background: var(--substrate); color: var(--ink); }
@media (max-width: 560px) {
  .thanks { grid-template-columns: 1fr; padding-right: 22px; }
  .thanks .cup { display: none; }
  .thanks h2, .thanks h3 { padding-right: 36px; }
}
@media (prefers-reduced-motion: no-preference) {
  .thanks:not([hidden]) { animation: thanks-in 0.35s ease-out; }
  @keyframes thanks-in { from { opacity: 0; transform: translateY(6px); } }
}

/* --- help + what's new --------------------------------------------------------------------- */
.faq { border-bottom: 1px solid var(--lichen); max-width: 72ch; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative;
  font: 700 1.15rem/1.35 "Bricolage", sans-serif;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; color: var(--golden); }
.faq[open] summary::after { content: "\2212"; }
.faq > p { margin-top: 0; }
.faq > p:last-child { margin-bottom: 20px; }
.change { border-top: 2px solid var(--ink); padding-top: 18px; margin-top: 36px; max-width: 72ch; }
.change h2 { font-size: 1.35rem; }
textarea {
  width: 100%; padding: 12px 14px; font: 400 1.05rem/1.5 "Atkinson", sans-serif; color: var(--ink);
  background: var(--substrate); border: 2px solid var(--lichen); border-radius: var(--radius-s); resize: vertical;
}
textarea:focus { border-color: var(--golden); outline: none; }

/* Downloads page: raw firmware files tucked away. */
.advanced > summary { cursor: pointer; font: 700 1.15rem/1.3 "Bricolage", sans-serif; list-style: none; }
.advanced > summary::-webkit-details-marker { display: none; }
.advanced > summary::after { content: " +"; color: var(--golden); }
.advanced[open] > summary::after { content: " \2212"; }
.advanced[open] > summary { margin-bottom: 12px; }
.choice-tag {
  font: 700 0.8rem/1 "Atkinson", sans-serif; padding: 6px 10px; border-radius: 999px; background: var(--uv-wash); color: var(--uv);
}
.choice-tag.inline { vertical-align: middle; font-size: 0.9rem; margin-left: 8px; }

/* --- remote access (/remote/) ---------------------------------------------------------------- */
.chamber-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.chamber-head h2 { margin: 0; }
.pill { border: 1px solid currentColor; border-radius: 999px; padding: 0.1rem 0.6rem; font-size: 0.85rem; }
.pill.ok, .alarms .ok { color: var(--ok); }
.pill.bad, .alarms .bad { color: var(--bad); }
.alarms { list-style: none; padding: 0; margin: 0.5rem 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-weight: 600; }
.readings { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0.75rem; margin: 1rem 0; }
.readings div { background: var(--substrate); border-radius: var(--radius-s); padding: 0.6rem 0.75rem; }
.readings dt { font-size: 0.8rem; color: var(--ink-soft); }
.readings dd { margin: 0.15rem 0 0; font-size: 1.15rem; font-weight: 600; overflow-wrap: anywhere; }
.actuators { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.35rem; font-size: 0.85rem; }
.actuators li { border: 1px solid var(--lichen); border-radius: var(--radius-s); padding: 0.1rem 0.5rem; color: var(--ink-soft); }
.actuators li.on { color: var(--ink); border-color: var(--golden); }
.history, .frame { margin: 0 0 1rem; }
.history svg { width: 100%; height: auto; display: block; background: var(--substrate); border-radius: var(--radius-s); }
.history .ln, .history .sp { fill: none; stroke-width: 2; stroke-linejoin: round; }
.history .sp { stroke-width: 1; stroke-dasharray: 4 4; }
.history .t { stroke: var(--golden); }
.history .h { stroke: var(--blue); }
.history .ax { fill: var(--ink-soft); stroke: none; font-size: 11px; }
.history .ax.t { fill: var(--golden); }
.history .ax.h { fill: var(--blue); }
.key::before { content: ""; display: inline-block; width: 1rem; height: 3px; margin-right: 0.3rem; vertical-align: middle; }
.key.t::before { background: var(--golden); }
.key.h::before { background: var(--blue); }
.frame img { width: 100%; height: auto; border-radius: var(--radius-s); display: block; }
.pair-code { font-size: 1.6rem; font-weight: 700; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.grant { margin: 1rem 0; }

@media print { .site-nav, .gills, .thanks, .support { display: none; } }
.narrow-console { max-width: 780px; }
