/* Envi · Atmos. The sky is the interface; panels are glass over a live canvas.
   Theme: dark by default, [data-theme-effective="light"] flips ink and glass.
   Only transform and opacity are animated. */

:root {
  --ink: #eef2f4;
  --ink-dim: rgba(238, 242, 244, 0.74);
  --ink-faint: rgba(238, 242, 244, 0.42);
  --accent: #f2a65a;
  --glass: rgba(13, 21, 30, 0.6);
  --glass-soft: rgba(255, 255, 255, 0.05);
  --glass-line: rgba(255, 255, 255, 0.12);
  --canvas: #0a121c;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --tier-0: #7fd4a3;
  --tier-1: #a9d47f;
  --tier-2: #f2c94c;
  --tier-3: #f2a65a;
  --tier-4: #f07850;
  --field-bg: rgba(10, 18, 26, 0.5);
}

/* Type system. Latin display = Instrument Serif (single 400 weight), body/UI =
   Host Grotesk, data/provenance/readings = Martian Mono. CJK glyphs resolve to a
   language-matched serif companion appended per :lang() (loaded on demand by
   i18n.js): zh -> Noto Serif SC, ja -> Shippori Mincho. Latin faces carry no CJK
   glyphs, so within a stack the CJK chars fall through to the companion. */
:root {
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Host Grotesk", system-ui, sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "SFMono-Regular", monospace;
}
html:lang(zh) {
  --font-display: "Instrument Serif", "Noto Serif SC", serif;
  --font-body: "Host Grotesk", "Noto Serif SC", sans-serif;
  --font-mono: "Martian Mono", "Noto Serif SC", monospace;
}
html:lang(ja) {
  --font-display: "Instrument Serif", "Shippori Mincho", serif;
  --font-body: "Host Grotesk", "Shippori Mincho", sans-serif;
  --font-mono: "Martian Mono", "Shippori Mincho", monospace;
}
[data-theme-effective="light"] {
  --ink: #1a2530;
  --ink-dim: rgba(26, 37, 48, 0.72);
  --ink-faint: rgba(26, 37, 48, 0.5);
  --glass: rgba(252, 254, 255, 0.6);
  --glass-soft: rgba(15, 35, 55, 0.05);
  --glass-line: rgba(15, 35, 55, 0.15);
  --canvas: #bcd0de;
  --tier-0: #1f8a55;
  --tier-1: #4c8a1f;
  --tier-2: #94720d;
  --tier-3: #b26414;
  --tier-4: #c2492c;
  --field-bg: rgba(255, 255, 255, 0.65);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; }
body {
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: color-mix(in srgb, var(--accent) 35%, transparent); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: fixed; top: -48px; left: 16px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--canvas);
  font-weight: 600; text-decoration: none; transition: transform 200ms var(--ease);
}
.skip-link:focus-visible { transform: translateY(60px); }

#sky { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; }
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
}
[data-theme-effective="light"] .grain { opacity: 0.035; }

.shell { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 0 40px 40px; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; display: flex; flex-direction: column; }

/* ---------- Nav ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 26px auto 0; padding: 10px 12px 10px 22px; width: 100%;
  border-radius: 999px; border: 1px solid var(--glass-line);
  background: var(--glass); backdrop-filter: blur(20px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.brand {
  font-family: var(--font-display); font-weight: 400; font-size: 20px;
  letter-spacing: 0.02em; color: var(--ink); text-decoration: none;
}
.brand span { color: var(--accent); transition: color 800ms ease; }
.nav-loc { display: flex; align-items: baseline; gap: 12px; font-size: 14px; color: var(--ink-dim); min-width: 0; }
.nav-loc strong { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 320px; }
.nav-loc span { white-space: nowrap; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-link { color: var(--ink-dim); font-size: 13.5px; font-weight: 500; text-decoration: none; padding: 0 8px; }
.nav-link:hover { color: var(--ink); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px;
  border-radius: 999px; border: 1px solid var(--glass-line);
  background: var(--glass-soft); color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 500;
  cursor: pointer; transition: transform 160ms var(--ease), background 200ms ease;
  white-space: nowrap;
}
.chip:hover { background: color-mix(in srgb, var(--glass-soft) 100%, var(--ink) 5%); }
.chip:active { transform: scale(0.97); }
.chip-detail { color: var(--ink-dim); font-weight: 400; }

/* ---------- Buttons ---------- */
.btn {
  font: inherit; font-weight: 600; font-size: 15px; border-radius: 999px; cursor: pointer;
  padding: 14px 26px; border: 1px solid transparent; color: var(--ink);
  transition: transform 160ms var(--ease), background 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn.primary { background: var(--ink); color: var(--canvas); }
.btn.primary:hover { background: color-mix(in srgb, var(--ink) 88%, var(--accent)); }
.btn.ghost { background: transparent; border-color: var(--glass-line); }
.btn.ghost:hover { background: var(--glass-soft); }
.btn.small { padding: 9px 18px; font-size: 13.5px; font-weight: 500; }

:is(a, button, input, select, [tabindex]):focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px;
}
.btn:focus-visible, .chip:focus-visible { border-radius: 999px; }

/* ---------- View switching ---------- */
body[data-view="results"] .stage,
body[data-view="scanning"] .stage,
body[data-view="error"] .stage { display: none; }
body:not([data-view="scanning"]) .loading { display: none; }
body:not([data-view="error"]) .errorview { display: none; }
body:not([data-view="results"]) .results { display: none; }

/* ---------- Landing ---------- */
.stage { display: flex; flex-direction: column; flex: 1; padding: clamp(48px, 9vh, 110px) 0 24px; }
.stage-kicker {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint);
}
.stage-hero h1 {
  font-family: var(--font-display); font-optical-sizing: auto;
  font-size: clamp(44px, 6vw, 84px); line-height: 1.02; letter-spacing: -0.02em; font-weight: 400;
  margin: 22px 0 22px; max-width: 14ch;
  text-shadow: 0 2px 30px rgba(6, 12, 20, 0.3);
}
.stage-hero h1 em { font-style: normal; color: var(--accent); transition: color 800ms ease; }
[data-theme-effective="light"] .stage-hero h1 { text-shadow: none; }
.lede { font-size: 17.5px; line-height: 1.6; color: var(--ink-dim); max-width: 52ch; }

.composer { margin-top: 38px; max-width: 620px; position: relative; }
.composer-field {
  display: flex; gap: 8px; padding: 8px;
  border-radius: 999px; border: 1px solid var(--glass-line);
  background: var(--field-bg); backdrop-filter: blur(20px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.composer-field:focus-within { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.composer-field input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: 16.5px; padding: 6px 6px 6px 16px;
}
.composer-field input::placeholder { color: var(--ink-faint); }
.composer-field input:focus { outline: none; }
.composer-aux { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.status { font-size: 13.5px; color: var(--ink-dim); }

.suggestions {
  list-style: none; position: absolute; left: 8px; right: 8px; top: calc(100% - 46px); z-index: 40;
  border-radius: 20px; border: 1px solid var(--glass-line);
  background: var(--glass); backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.5);
  overflow: hidden; padding: 6px;
}
.suggestions li {
  padding: 12px 16px; border-radius: 14px; cursor: pointer; font-size: 15px;
  transition: background 140ms ease;
}
.suggestions li:hover, .suggestions li[aria-selected="true"] { background: color-mix(in srgb, var(--accent) 16%, transparent); }

.stage-signals {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: auto; padding-top: 56px;
}
.stage-signals li {
  padding: 18px 20px; border-radius: 20px; border: 1px solid var(--glass-line);
  background: var(--glass); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.stage-signals strong {
  display: block; font-family: var(--font-display); font-size: 17px; font-weight: 400;
  margin-bottom: 6px;
}
.stage-signals span { font-size: 13px; line-height: 1.5; color: var(--ink-dim); }

.stage-proof {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px;
  margin-top: 18px; font-size: 12.5px; color: var(--ink-faint);
}
.stage-proof li { display: flex; align-items: baseline; gap: 8px; }
.stage-proof li::before { content: "+"; color: var(--accent); font-weight: 600; }

/* ---------- Panels ---------- */
.panel {
  border-radius: 28px; border: 1px solid var(--glass-line);
  background: var(--glass); backdrop-filter: blur(20px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); padding: 28px 30px;
}
.panel h2 { font-family: var(--font-display); font-size: 23px; font-weight: 400; letter-spacing: -0.005em; }
.panel .hint { font-size: 13px; color: var(--ink-faint); margin-top: 4px; }

/* ---------- Loading ---------- */
.loading { display: grid; place-items: center; flex: 1; padding: 40px 0; }
.loading-panel { width: min(520px, 100%); }
.steps { list-style: none; margin-top: 22px; display: grid; gap: 4px; }
.steps li {
  display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: baseline;
  padding: 13px 6px; border-radius: 14px; opacity: 0.4;
  transition: opacity 400ms ease;
}
.steps li::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; justify-self: center; align-self: center;
  border: 2px solid var(--ink-faint); transition: background 300ms ease, border-color 300ms ease;
}
.steps li strong { font-size: 15px; font-weight: 600; display: block; }
.steps li span { font-size: 13px; color: var(--ink-dim); grid-column: 2; }
.steps li[data-state="active"] { opacity: 1; }
.steps li[data-state="active"]::before { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 45%, transparent); }
.steps li[data-state="done"] { opacity: 0.85; }
.steps li[data-state="done"]::before { border-color: var(--tier-0); background: var(--tier-0); }
.loading-hint { margin-top: 18px; font-size: 12px; color: var(--ink-faint); }

/* ---------- Error ---------- */
.errorview { display: grid; place-items: center; flex: 1; padding: 40px 0; }
.error-panel { width: min(520px, 100%); }
.error-panel p { margin-top: 12px; color: var(--ink-dim); line-height: 1.6; }
.error-actions { display: flex; gap: 12px; margin-top: 24px; }

/* ---------- Results ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); gap: 56px; align-items: end; padding: 72px 0 52px; }
.verdict-tag {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent); font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 800ms ease, border-color 800ms ease, background 800ms ease;
}
.hero-copy h1 {
  font-family: var(--font-display); font-optical-sizing: auto;
  font-size: clamp(38px, 5vw, 66px); line-height: 1.04; letter-spacing: -0.018em; font-weight: 400;
  margin: 24px 0 18px; max-width: 16ch; text-shadow: 0 2px 30px rgba(6, 12, 20, 0.35);
  overflow-wrap: break-word;
}
.hero-copy h1 em { font-style: normal; color: var(--accent); transition: color 800ms ease; }
[data-theme-effective="light"] .hero-copy h1 { text-shadow: none; }
.sub { font-size: 16.5px; line-height: 1.6; color: var(--ink-dim); max-width: 50ch; text-shadow: 0 1px 18px rgba(6, 12, 20, 0.45); }
[data-theme-effective="light"] .sub { text-shadow: none; }
.hero-meta { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.coverage { font-size: 12.5px; color: var(--ink-faint); letter-spacing: 0.04em; }
.coverage[data-level="partial"] { color: var(--tier-2); }

.halo { position: relative; display: grid; place-items: center; padding: 8px 0; }
.halo svg { width: min(280px, 100%); height: auto; display: block; }
.halo .track { stroke: rgba(255, 255, 255, 0.1); }
[data-theme-effective="light"] .halo .track { stroke: rgba(15, 35, 55, 0.14); }
.halo .arc { stroke: var(--accent); transition: stroke-dashoffset 1100ms var(--ease), stroke 800ms ease; }
.halo-center { position: absolute; text-align: center; max-width: 70%; }
.halo-num { font-family: var(--font-mono); font-size: 52px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.halo-lbl { font-size: 12px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-faint); margin-top: 8px; }

.synergy {
  margin: -28px 0 24px; padding: 14px 18px; border-radius: 16px; font-size: 14px; line-height: 1.55;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--ink-dim);
}

.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.signal {
  border-radius: 24px; border: 1px solid var(--glass-line);
  background: var(--glass); backdrop-filter: blur(20px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 22px 24px 20px; min-height: 190px; display: flex; flex-direction: column;
  transition: transform 220ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .signal:hover { transform: translateY(-3px); }
}
.signal .k { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); display: flex; justify-content: space-between; gap: 8px; }
.signal .k .cat { letter-spacing: 0.02em; text-transform: none; }
.signal .v { font-family: var(--font-mono); font-size: 34px; font-weight: 600; letter-spacing: -0.02em; margin: 12px 0 2px; }
.signal .v small { font-size: 15px; font-weight: 500; color: var(--ink-dim); letter-spacing: 0; margin-left: 5px; }
.signal .band { font-size: 13.5px; font-weight: 600; }
.signal .band[data-tier="0"], .signal .band[data-tier="1"] { color: var(--tier-0); }
.signal .band[data-tier="2"] { color: var(--tier-2); }
.signal .band[data-tier="3"] { color: var(--tier-3); }
.signal .band[data-tier="4"] { color: var(--tier-4); }
.signal .band[data-tier="na"] { color: var(--ink-faint); }
.signal .note { font-size: 13px; color: var(--ink-dim); margin-top: 10px; line-height: 1.5; }
.signal .src { font-size: 11.5px; color: var(--ink-faint); margin-top: auto; padding-top: 12px; }
.signal .src a { color: inherit; }

.lower { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 16px; margin-top: 16px; }

.hours { display: flex; gap: 6px; margin-top: 26px; height: 118px; }
.hours[data-empty="true"] { display: grid; place-items: center; color: var(--ink-faint); font-size: 13.5px; }
.hour { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 10px; min-width: 0; }
.hour i {
  display: block; width: 100%; border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 85%, transparent), color-mix(in srgb, var(--accent) 22%, transparent));
  transition: height 900ms var(--ease), background 800ms ease;
}
.hour i.cool { background: linear-gradient(180deg, color-mix(in srgb, var(--tier-0) 80%, transparent), color-mix(in srgb, var(--tier-0) 20%, transparent)); }
.hour span { font-size: 11.5px; color: var(--ink-faint); }
.hour.now span { color: var(--accent); font-weight: 600; }

.advice { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.advice li {
  display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start;
  padding: 15px 16px; border-radius: 18px; background: var(--glass-soft);
  border: 1px solid var(--glass-line);
}
.advice .no {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
  font-family: var(--font-mono); font-weight: 600; font-size: 13px;
  transition: color 800ms ease, background 800ms ease;
}
.advice li[data-priority="emergency"] .no { background: color-mix(in srgb, var(--tier-4) 22%, transparent); color: var(--tier-4); }
.advice .a-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.advice li[data-priority="emergency"] .a-tag { color: var(--tier-4); }
.advice strong { display: block; font-size: 15px; font-weight: 600; margin-top: 2px; }
.advice p { font-size: 13.5px; color: var(--ink-dim); margin-top: 3px; line-height: 1.55; }
.advice .a-src { font-size: 11.5px; color: var(--ink-faint); margin-top: 6px; }

.result-foot { margin-top: 32px; display: grid; gap: 6px; font-size: 12.5px; color: var(--ink-faint); }
.result-foot a { color: var(--ink-dim); }

/* ---------- Site footer ---------- */
.site-foot {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 20px; font-size: 12.5px; color: var(--ink-faint);
  border-top: 1px solid var(--glass-line);
}
.site-foot a { color: var(--ink-dim); text-decoration: none; border-bottom: 1px solid var(--glass-line); }
.site-views {
  position: fixed; left: 16px; bottom: 16px; z-index: 50;
  padding: 7px 13px; border-radius: 999px; border: 1px solid var(--glass-line);
  background: var(--glass); backdrop-filter: blur(20px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono); font-feature-settings: "tnum" 1;
  font-size: 11px; letter-spacing: 0.01em; color: var(--ink-dim);
}

/* ---------- Profile dialog ---------- */
.profile-dialog {
  margin: auto; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 64px);
  border: 1px solid var(--glass-line); border-radius: 28px; padding: 0;
  background: color-mix(in srgb, var(--canvas) 92%, var(--ink) 2%); color: var(--ink);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.7);
}
.profile-dialog::backdrop { background: rgba(4, 8, 14, 0.6); backdrop-filter: blur(6px); }
.profile-form { padding: 30px 32px; display: grid; gap: 24px; }
.profile-form header h2 { font-family: var(--font-display); font-size: 26px; font-weight: 400; letter-spacing: -0.005em; }
.profile-form header p { margin-top: 6px; font-size: 13.5px; color: var(--ink-dim); }
.profile-form fieldset { border: 0; }
.profile-form legend { font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label, .solo { cursor: pointer; }
.opts input, .solo input { position: absolute; opacity: 0; pointer-events: none; }
.opts span, .solo span {
  display: inline-block; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
  border: 1px solid var(--glass-line); background: var(--glass-soft);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.opts input:checked + span, .solo input:checked + span {
  background: var(--ink); color: var(--canvas); border-color: var(--ink);
}
.opts input:focus-visible + span, .solo input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.solo { display: inline-block; margin-top: 12px; }
.select-row { display: grid; gap: 10px; font-size: 14px; }
.select-row select {
  font: inherit; padding: 12px 14px; border-radius: 14px; color: var(--ink);
  background: var(--glass-soft); border: 1px solid var(--glass-line);
}
.select-row select option { color: #1a2530; }
.profile-actions { display: flex; justify-content: flex-end; gap: 12px; }

/* ---------- Entry motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); animation: rise 700ms var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.d1 { animation-delay: 60ms; } .d2 { animation-delay: 140ms; } .d3 { animation-delay: 220ms; }
.d4 { animation-delay: 300ms; } .d5 { animation-delay: 380ms; }
.swap { transition: opacity 320ms ease, transform 320ms var(--ease); }
.swapping .swap { opacity: 0; transform: translateY(6px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation-duration: 1ms; }
  .swap, .halo .arc, .hour i { transition-duration: 1ms; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .shell { padding: 0 18px 32px; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 48px 0 36px; }
  .board { grid-template-columns: repeat(2, 1fr); }
  .lower { grid-template-columns: 1fr; }
  .stage-signals { grid-template-columns: repeat(2, 1fr); }
  .nav-loc { display: none; }
}
@media (max-width: 640px) {
  .nav { padding: 8px 8px 8px 16px; }
  .nav-link { display: none; }
  .chip { padding: 8px 13px; font-size: 12.5px; }
  .chip-detail { display: none; }
  .board, .stage-signals { grid-template-columns: 1fr; }
  .composer-field { flex-direction: column; border-radius: 24px; }
  .composer-field .btn { width: 100%; }
  .suggestions { top: auto; border-radius: 20px; }
  .hour:nth-child(n + 9) { display: none; }
  .site-foot { flex-direction: column; }
}

/* Instrument layer: readings, provenance and axis labels in Martian Mono. */
.signal .src,
.advice .a-src,
.result-foot,
.hour span {
  font-family: var(--font-mono);
  font-feature-settings: "tnum" 1;
}
.signal .src { font-size: 10.5px; letter-spacing: 0.01em; }
.hour span { font-size: 10.5px; letter-spacing: -0.01em; }
