:root {
  color-scheme: dark;
  --void: #080a09;
  --void-soft: #0d100e;
  --surface: #111512;
  --surface-high: #171c18;
  --bone: #e8eadf;
  --bone-soft: #bdc2b8;
  --ghost: #757d75;
  --line: rgba(226, 233, 224, 0.15);
  --line-strong: rgba(226, 233, 224, 0.28);
  --amber: #e6b94f;
  --amber-hot: #ffd877;
  --cyan: #73c9d7;
  --red: #f06f5d;
  --lime: #bddd72;
  --mono: "SFMono-Regular", "SF Mono", Menlo, Consolas, ui-monospace, monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --rail-h: 4.25rem;
  --deck-h: 6.75rem;
  --edge: clamp(1rem, 2.4vw, 2.5rem);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--void);
}

body {
  margin: 0;
}

button,
a {
  color: inherit;
}

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 1px solid var(--amber-hot);
  outline-offset: 4px;
}

h1,
h2,
p,
ol,
dl,
dd,
fieldset {
  margin: 0;
}

ol {
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

.chamber-page {
  display: grid;
  grid-template-rows: var(--rail-h) minmax(0, 1fr) var(--deck-h);
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--void);
  color: var(--bone);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

::selection {
  background: var(--amber);
  color: var(--void);
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--amber);
  background: var(--void);
  font: 0.72rem/1 var(--mono);
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(-170%);
}

.skip-link:focus {
  transform: translateY(0);
}

.ambient,
.ambient > span {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}

.ambient-grid {
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 48%, #000 0, transparent 72%);
}

.ambient::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.ambient-scan {
  right: auto !important;
  width: 1px;
  opacity: 0;
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 22px rgba(115, 201, 215, 0.26);
}

body[data-run="observing"] .ambient-scan,
body[data-run="rechecking"] .ambient-scan {
  opacity: 0.24;
  animation: scan-field 2.8s linear infinite;
}

.top-rail {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--rail-h);
  padding: 0 var(--edge);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 9, 0.72);
}

.hny-mark {
  display: inline-flex;
  align-items: flex-start;
  justify-self: start;
  width: max-content;
  color: var(--bone);
  font-size: 1.25rem;
  font-weight: 760;
  letter-spacing: -0.08em;
  line-height: 1;
  text-decoration: none;
}

.hny-mark i {
  display: block;
  width: 0.37rem;
  height: 0.37rem;
  margin: -0.04rem 0 0 0.2rem;
  border: 1px solid var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(230, 185, 79, 0.4);
}

.company-line {
  color: var(--ghost);
  font: 0.61rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rail-nav {
  display: flex;
  align-items: center;
  justify-self: end;
  height: 100%;
}

.rail-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: 0;
  color: var(--bone-soft);
  background: transparent;
  font: 0.65rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.rail-nav button:hover {
  color: var(--bone);
}

.signal-link {
  gap: 0.55rem;
  padding: 0 1.35rem;
  border-right: 1px solid var(--line) !important;
}

.signal-link > i {
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(230, 185, 79, 0.08);
}

.signal-link b {
  color: var(--amber-hot);
  font-weight: 500;
}

.index-link {
  gap: 0.75rem;
  min-width: 6.5rem;
  padding-left: 1.35rem;
}

.index-link > i {
  display: grid;
  grid-template-columns: repeat(2, 3px);
  gap: 3px;
}

.index-link > i::before,
.index-link > i::after,
.index-link > i b {
  width: 3px;
  height: 3px;
  content: "";
  background: currentColor;
}

.chamber {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(14rem, 0.82fr) minmax(26rem, 1.35fr) minmax(16rem, 0.88fr);
  min-height: 0;
  padding: 0 var(--edge);
}

.thesis-block {
  position: relative;
  z-index: 4;
  align-self: center;
  max-width: 25rem;
  padding: 0 clamp(0rem, 1vw, 1rem) 5vh 0;
}

.micro-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ghost);
  font: 0.61rem/1.2 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.thesis-block > .micro-label {
  max-width: 17rem;
  margin-bottom: 1.35rem;
}

.thesis-block > .micro-label span:last-child::before {
  display: inline-block;
  width: 2.2rem;
  height: 1px;
  margin: 0 0.7rem 0.18rem 0;
  content: "";
  background: var(--line-strong);
}

.thesis-block h1 {
  display: flex;
  flex-direction: column;
  color: var(--bone);
  font-size: clamp(2.7rem, 4.8vw, 6rem);
  font-weight: 460;
  letter-spacing: -0.075em;
  line-height: 0.82;
  text-transform: uppercase;
}

.thesis-block h1 span:nth-child(2) {
  color: transparent;
  -webkit-text-stroke: 1px rgba(232, 234, 223, 0.52);
}

.thesis-block h1 span:last-child {
  color: var(--amber);
}

.thesis-copy {
  max-width: 23rem;
  margin-top: 2rem;
  color: var(--bone-soft);
  font-size: clamp(0.92rem, 1.15vw, 1.1rem);
  line-height: 1.55;
}

.thesis-loop {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 2rem;
  color: var(--ghost);
  font: 0.55rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thesis-loop i {
  width: clamp(0.5rem, 1vw, 1.5rem);
  height: 1px;
  background: var(--line-strong);
}

.machine-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
}

.stage-coordinate {
  position: absolute;
  z-index: 2;
  color: rgba(189, 194, 184, 0.38);
  font: 0.54rem/1 var(--mono);
  letter-spacing: 0.12em;
}

.coordinate-top {
  top: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
}

.coordinate-bottom {
  bottom: 3.2rem;
  left: 50%;
  transform: translateX(-50%);
}

.machine {
  position: relative;
  width: min(100%, calc(100vh - var(--rail-h) - var(--deck-h) - 1rem));
  width: min(100%, calc(100dvh - var(--rail-h) - var(--deck-h) - 1rem));
  max-width: 46rem;
  aspect-ratio: 1;
}

.machine::before,
.machine::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.machine::before {
  inset: 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 185, 79, 0.045), transparent 67%);
}

.machine::after {
  top: 50%;
  left: 50%;
  width: 44%;
  aspect-ratio: 1;
  border: 1px solid rgba(230, 185, 79, 0.05);
  transform: translate(-50%, -50%) rotate(45deg);
}

.machine-diagram {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ring,
.crosshair,
.route,
.calibration-ticks path,
.evidence-brackets path,
.active-pulse {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.ring {
  stroke: rgba(226, 233, 224, 0.14);
  stroke-width: 1;
  transform-origin: 360px 360px;
}

.ring-calibration {
  stroke-dasharray: 1 18;
  stroke-width: 2;
  animation: turn-clockwise 90s linear infinite;
}

.ring-outer {
  stroke-dasharray: 168 10 32 10;
  animation: turn-counter 75s linear infinite;
}

.ring-actuation {
  stroke: rgba(230, 185, 79, 0.22);
  stroke-dasharray: 42 18 4 18;
  transition: stroke 350ms ease, filter 350ms ease;
}

.ring-observer {
  stroke: rgba(115, 201, 215, 0.2);
  stroke-dasharray: 2 8;
  transition: stroke 350ms ease, filter 350ms ease;
}

.crosshair,
.route {
  stroke: rgba(226, 233, 224, 0.12);
  stroke-width: 1;
}

.calibration-ticks path {
  stroke: rgba(226, 233, 224, 0.3);
  stroke-width: 1;
}

.machine-nodes circle {
  fill: var(--void);
  stroke: rgba(226, 233, 224, 0.28);
  stroke-width: 1;
  transition: fill 240ms ease, stroke 240ms ease;
}

.evidence-brackets {
  opacity: 0;
  transition: opacity 250ms ease;
}

.evidence-brackets path {
  stroke: var(--cyan);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 5px rgba(115, 201, 215, 0.45));
}

.active-pulse {
  opacity: 0;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 18 480;
  transition: opacity 200ms ease;
}

.pulse-os,
.pulse-return {
  stroke: var(--amber-hot);
}

.pulse-eye {
  stroke: var(--cyan);
}

body[data-run="recording"] .ring-actuation,
body[data-run="acting"] .ring-actuation,
body[data-run="patching"] .ring-actuation {
  stroke: var(--amber);
  filter: drop-shadow(0 0 4px rgba(230, 185, 79, 0.42));
  animation: turn-clockwise 12s linear infinite;
}

body[data-run="recording"] .pulse-os,
body[data-run="acting"] .pulse-os,
body[data-run="patching"] .pulse-return {
  opacity: 1;
  animation: route-pulse 1.45s linear infinite;
}

body[data-run="observing"] .ring-observer,
body[data-run="violated"] .ring-observer,
body[data-run="unknown"] .ring-observer,
body[data-run="rechecking"] .ring-observer,
body[data-run="verified"] .ring-observer {
  stroke: var(--cyan);
  filter: drop-shadow(0 0 4px rgba(115, 201, 215, 0.4));
}

body[data-run="observing"] .evidence-brackets,
body[data-run="violated"] .evidence-brackets,
body[data-run="unknown"] .evidence-brackets,
body[data-run="rechecking"] .evidence-brackets,
body[data-run="verified"] .evidence-brackets {
  opacity: 1;
}

body[data-run="observing"] .pulse-eye,
body[data-run="rechecking"] .pulse-eye {
  opacity: 1;
  animation: route-pulse 1.25s linear infinite reverse;
}

body[data-run="verified"] .pulse-return {
  opacity: 1;
  animation: route-pulse 2.2s linear infinite;
}

body[data-run="acting"] .machine-nodes circle,
body[data-run="patching"] .machine-nodes circle {
  fill: var(--amber);
  stroke: var(--amber);
}

body[data-run="observing"] .machine-nodes circle,
body[data-run="rechecking"] .machine-nodes circle {
  fill: var(--cyan);
  stroke: var(--cyan);
}

.machine-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 31%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(45deg);
}

.core-housing {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 1px solid var(--line-strong);
  background: #0a0d0b;
  box-shadow: inset 0 0 0 9px rgba(255,255,255,0.012), 0 24px 70px rgba(0,0,0,0.48);
  transform: rotate(-45deg);
  transition: border-color 300ms ease, box-shadow 300ms ease;
}

.housing-mark {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1px solid var(--ghost);
  border-radius: 50%;
}

.mark-a { top: 8px; left: 8px; }
.mark-b { top: 8px; right: 8px; }
.mark-c { right: 8px; bottom: 8px; }
.mark-d { bottom: 8px; left: 8px; }

.specimen {
  position: relative;
  display: grid;
  place-items: center;
  width: 62%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(226, 233, 224, 0.19);
  border-radius: 50%;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    #050706;
  background-size: 12px 12px;
}

.specimen-id {
  position: absolute;
  top: 14%;
  left: 50%;
  color: var(--ghost);
  font: 0.45rem/1 var(--mono);
  letter-spacing: 0.1em;
  transform: translateX(-50%);
}

.specimen-led {
  position: relative;
  z-index: 2;
  width: 15%;
  aspect-ratio: 1;
  border: 1px solid rgba(230, 185, 79, 0.45);
  border-radius: 50%;
  background: rgba(230, 185, 79, 0.12);
  box-shadow: 0 0 0 8px rgba(230, 185, 79, 0.025);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.specimen-axis {
  position: absolute;
  z-index: 0;
  background: rgba(115, 201, 215, 0.13);
}

.axis-x { right: 10%; left: 10%; height: 1px; }
.axis-y { top: 10%; bottom: 10%; width: 1px; }

.specimen-occluder {
  position: absolute;
  z-index: 4;
  top: -8%;
  right: -18%;
  width: 66%;
  height: 120%;
  opacity: 0;
  background: repeating-linear-gradient(135deg, #222722 0 7px, #171b18 7px 14px);
  transform: translateX(100%);
  transition: opacity 300ms ease, transform 420ms ease;
}

.core-caption {
  position: absolute;
  bottom: -1.25rem;
  left: 50%;
  width: max-content;
  color: var(--ghost);
  font: 0.46rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

body[data-run="acting"] .specimen-led,
body[data-run="observing"][data-scenario="repair"] .specimen-led,
body[data-run="violated"] .specimen-led {
  border-color: var(--amber-hot);
  background: var(--amber-hot);
  box-shadow: 0 0 8px 2px rgba(255, 216, 119, 0.48), 0 0 28px 7px rgba(230, 185, 79, 0.18);
}

body[data-scenario="occluded"][data-run="observing"] .specimen-occluder,
body[data-scenario="occluded"][data-run="unknown"] .specimen-occluder {
  opacity: 0.93;
  transform: translateX(0);
}

body[data-run="rechecking"] .specimen-led,
body[data-run="verified"] .specimen-led {
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: 0 0 8px 2px rgba(189, 221, 114, 0.45), 0 0 28px 7px rgba(189, 221, 114, 0.14);
  animation: signal-blink 1s steps(1, end) infinite;
}

body[data-run="violated"] .core-housing {
  border-color: rgba(240, 111, 93, 0.5);
  box-shadow: inset 0 0 0 9px rgba(240, 111, 93, 0.025), 0 24px 70px rgba(0,0,0,0.48);
}

body[data-run="verified"] .core-housing {
  border-color: rgba(189, 221, 114, 0.46);
}

.system-port {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 7.75rem;
  min-height: 3.25rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--line);
  background: rgba(8, 10, 9, 0.9);
  cursor: pointer;
  transition: border-color 200ms ease, color 200ms ease, background 200ms ease;
}

.system-port:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}

.port-os {
  top: 50%;
  left: 2%;
  color: var(--amber);
  transform: translateY(-50%);
}

.port-kiroshi {
  top: 50%;
  right: 2%;
  justify-content: flex-end;
  color: var(--cyan);
  text-align: right;
  transform: translateY(-50%);
}

.port-index {
  color: var(--ghost);
  font: 0.55rem/1 var(--mono);
}

.port-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.port-copy strong {
  font-size: 0.78rem;
  font-weight: 570;
  letter-spacing: 0.02em;
}

.port-copy small {
  color: var(--ghost);
  font: 0.5rem/1 var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

body[data-run="recording"] .port-os,
body[data-run="acting"] .port-os,
body[data-run="patching"] .port-os {
  border-color: rgba(230, 185, 79, 0.52);
  background: rgba(230, 185, 79, 0.07);
}

body[data-run="observing"] .port-kiroshi,
body[data-run="violated"] .port-kiroshi,
body[data-run="unknown"] .port-kiroshi,
body[data-run="rechecking"] .port-kiroshi,
body[data-run="verified"] .port-kiroshi {
  border-color: rgba(115, 201, 215, 0.5);
  background: rgba(115, 201, 215, 0.065);
}

.frame-trace {
  position: absolute;
  z-index: 6;
  bottom: 12.5%;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 3px;
  width: 38%;
  transform: translateX(-50%);
}

.frame-trace::before,
.frame-trace::after {
  position: absolute;
  bottom: -0.9rem;
  color: rgba(189, 194, 184, 0.35);
  font: 0.42rem/1 var(--mono);
}

.frame-trace::before { left: 0; content: "T+00"; }
.frame-trace::after { right: 0; content: "T+16"; }

.frame-trace > span {
  height: 1.75rem;
  border: 1px solid rgba(226, 233, 224, 0.12);
  background: rgba(255,255,255,0.018);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.frame-trace > span.is-on {
  border-color: rgba(230, 185, 79, 0.55);
  background: var(--amber);
  transform: translateY(-4px);
}

.frame-trace > span.is-off {
  border-color: rgba(115, 201, 215, 0.42);
  background: rgba(115, 201, 215, 0.18);
  transform: translateY(4px);
}

.frame-trace > span.is-unknown {
  border-color: rgba(240, 111, 93, 0.48);
  background: repeating-linear-gradient(135deg, rgba(240,111,93,0.28) 0 2px, transparent 2px 4px);
}

.readout {
  position: relative;
  z-index: 5;
  align-self: center;
  max-width: 23rem;
  margin-left: clamp(0rem, 1.5vw, 1.5rem);
  padding: 1.2rem 0 4vh clamp(0rem, 1vw, 1.1rem);
  border-left: 1px solid var(--line);
}

.readout::before {
  position: absolute;
  top: 0;
  left: -1px;
  width: 1px;
  height: var(--readout-line, 26%);
  content: "";
  background: var(--amber);
  transition: height 500ms ease, background 300ms ease;
}

body[data-run="observing"] .readout::before,
body[data-run="rechecking"] .readout::before {
  background: var(--cyan);
}

body[data-run="violated"] .readout::before {
  background: var(--red);
}

body[data-run="unknown"] .readout::before {
  background: var(--bone-soft);
}

body[data-run="verified"] .readout::before {
  background: var(--lime);
}

.readout-head {
  padding: 0 0 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.run-state {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  margin-top: 0.9rem;
  padding: 0 0.55rem;
  border: 1px solid var(--line-strong);
  color: var(--bone-soft);
  font: 0.57rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body[data-run="violated"] .run-state {
  border-color: rgba(240, 111, 93, 0.52);
  color: var(--red);
}

body[data-run="unknown"] .run-state {
  border-color: rgba(232, 234, 223, 0.4);
  color: var(--bone);
}

body[data-run="verified"] .run-state {
  border-color: rgba(189, 221, 114, 0.52);
  color: var(--lime);
}

.readout-copy {
  min-height: 12.2rem;
  padding: 1.25rem 0 1.3rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.readout-system {
  margin-bottom: 0.7rem;
  color: var(--amber);
  font: 0.57rem/1.2 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.readout-copy h2 {
  max-width: 20rem;
  color: var(--bone);
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  font-weight: 440;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.readout-copy > p:last-child {
  max-width: 19rem;
  margin-top: 0.9rem;
  color: var(--ghost);
  font-size: 0.76rem;
  line-height: 1.5;
}

.event-ledger {
  min-height: 7rem;
  padding-left: 1.25rem;
}

.event-ledger li {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.25rem;
  border-bottom: 1px solid rgba(226, 233, 224, 0.08);
  color: var(--bone-soft);
  font: 0.59rem/1.2 var(--mono);
}

.event-ledger li > span {
  color: var(--ghost);
}

.event-ledger li > p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-ledger li > small {
  color: var(--ghost);
  font: 0.48rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-ledger li.is-current > span,
.event-ledger li.is-current > small {
  color: var(--amber);
}

.event-ledger li.is-evidence > span,
.event-ledger li.is-evidence > small {
  color: var(--cyan);
}

.event-ledger li.is-failed > span,
.event-ledger li.is-failed > small {
  color: var(--red);
}

.event-ledger li.is-passed > span,
.event-ledger li.is-passed > small {
  color: var(--lime);
}

.evidence-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 1.25rem);
  min-height: 2.8rem;
  margin: 0.8rem 0 0 1.25rem;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--bone-soft);
  background: transparent;
  font: 0.6rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.evidence-link:hover {
  color: var(--amber-hot);
}

.truth-strip {
  position: absolute;
  z-index: 8;
  right: var(--edge);
  bottom: 0.55rem;
  left: var(--edge);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  color: rgba(189, 194, 184, 0.42);
  font: 0.49rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.truth-strip span + span::before {
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 1.25rem 0.1rem 0;
  border-radius: 50%;
  content: "";
  background: currentColor;
}

.control-deck {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr minmax(15rem, 0.8fr) 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--deck-h);
  padding: 0 var(--edge) env(safe-area-inset-bottom);
  border-top: 1px solid var(--line);
  background: #0b0e0c;
}

.scenario-control {
  padding: 0;
  border: 0;
}

.scenario-control legend {
  margin-bottom: 0.65rem;
  color: var(--ghost);
  font: 0.54rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scenario-control > div {
  display: flex;
  gap: 0.25rem;
}

.scenario-control button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0 0.8rem;
  border: 1px solid transparent;
  color: var(--ghost);
  background: transparent;
  font: 0.59rem/1 var(--mono);
  cursor: pointer;
}

.scenario-control button:hover,
.scenario-control button.is-selected {
  border-color: var(--line);
  color: var(--bone);
  background: rgba(255,255,255,0.025);
}

.scenario-control button i {
  width: 0.35rem;
  height: 0.35rem;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.scenario-control button.is-selected i {
  border-color: var(--amber);
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(230, 185, 79, 0.08);
}

.scenario-control button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.deck-progress {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  color: var(--bone-soft);
  font: 0.57rem/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.deck-progress > div {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--line);
}

.deck-progress > div i {
  display: block;
  width: 0;
  height: 1px;
  background: var(--amber);
  transition: width 450ms ease, background 300ms ease;
}

.deck-progress small {
  grid-column: 1 / -1;
  color: var(--ghost);
  font-size: 0.49rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.deck-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

.deck-utility {
  min-height: 2.9rem;
  padding: 0 0.8rem;
  border: 1px solid var(--line);
  color: var(--ghost);
  background: transparent;
  font: 0.56rem/1 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.deck-utility:hover {
  color: var(--bone);
  border-color: var(--line-strong);
}

.run-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-width: 13.5rem;
  min-height: 3.4rem;
  padding: 0 1rem 0 1.1rem;
  border: 1px solid var(--amber);
  color: var(--void);
  background: var(--amber);
  font: 0.62rem/1 var(--mono);
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.run-button i {
  font-size: 1rem;
  font-style: normal;
  transition: transform 180ms ease;
}

.run-button:hover:not(:disabled) {
  background: var(--amber-hot);
}

.run-button:hover:not(:disabled) i {
  transform: translateX(4px);
}

.run-button:disabled {
  border-color: var(--line-strong);
  color: var(--ghost);
  background: transparent;
  cursor: wait;
}

body[data-run="violated"] .run-button {
  border-color: var(--red);
  color: var(--bone);
  background: rgba(240, 111, 93, 0.1);
}

body[data-run="verified"] .run-button {
  border-color: var(--lime);
  color: var(--void);
  background: var(--lime);
}

body[data-run="unknown"] .run-button {
  border-color: var(--bone-soft);
  color: var(--void);
  background: var(--bone-soft);
}

.system-drawer {
  position: fixed;
  z-index: 80;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}

.system-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.drawer-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  opacity: 0;
  background: rgba(0, 0, 0, 0.7);
  cursor: default;
  transition: opacity 280ms ease;
}

.system-drawer.is-open .drawer-scrim {
  opacity: 1;
}

.drawer-surface {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  width: min(49rem, 88vw);
  height: 100%;
  border-left: 1px solid var(--line-strong);
  background: #0c0f0d;
  box-shadow: -30px 0 80px rgba(0,0,0,0.4);
  transform: translateX(100%);
  transition: transform 420ms cubic-bezier(0.22, 0.8, 0.22, 1);
}

.system-drawer.is-open .drawer-surface {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.25rem;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}

.drawer-header > div {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.drawer-header .micro-label {
  justify-content: flex-start;
}

.drawer-header strong {
  font-size: 0.9rem;
  font-weight: 500;
}

.drawer-close {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 4.5rem;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  color: var(--ghost);
  background: transparent;
  font: 0.58rem/1 var(--mono);
  text-transform: uppercase;
  cursor: pointer;
}

.drawer-close:hover {
  color: var(--bone);
}

.drawer-close i {
  position: relative;
  width: 1.15rem;
  height: 1.15rem;
}

.drawer-close i::before,
.drawer-close i::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: currentColor;
}

.drawer-close i::before { transform: rotate(45deg); }
.drawer-close i::after { transform: rotate(-45deg); }

.drawer-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}

.drawer-tabs button {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.75rem;
  padding: 0 0.8rem;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--ghost);
  background: transparent;
  font: 0.6rem/1 var(--mono);
  cursor: pointer;
}

.drawer-tabs button:first-child {
  border-left: 1px solid var(--line);
}

.drawer-tabs button span {
  color: rgba(189, 194, 184, 0.4);
}

.drawer-tabs button:hover,
.drawer-tabs button.is-active {
  color: var(--bone);
  background: rgba(255,255,255,0.03);
}

.drawer-tabs button.is-active span {
  color: var(--amber);
}

.drawer-content {
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(2rem, 7vh, 5rem) clamp(1.25rem, 6vw, 5rem) 3rem;
  scrollbar-color: var(--line-strong) transparent;
  scrollbar-width: thin;
}

.drawer-panel {
  max-width: 39rem;
  animation: panel-enter 320ms ease both;
}

.panel-kicker {
  margin-bottom: 1.3rem;
  color: var(--amber);
  font: 0.62rem/1 var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.drawer-panel h2 {
  max-width: 38rem;
  color: var(--bone);
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  font-weight: 430;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.panel-lead {
  max-width: 35rem;
  margin-top: 1.6rem;
  color: var(--bone-soft);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  line-height: 1.58;
}

.loop-specimen {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0.7rem;
  margin-top: clamp(2rem, 6vh, 4rem);
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.loop-specimen > div {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.loop-specimen > div span,
.loop-specimen > div small {
  color: var(--ghost);
  font: 0.5rem/1.25 var(--mono);
}

.loop-specimen > div strong {
  font-size: 0.85rem;
  font-weight: 550;
}

.loop-specimen > i {
  color: var(--amber);
  font-style: normal;
}

.panel-note {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 1px solid var(--cyan);
  color: var(--ghost);
  font: 0.66rem/1.55 var(--mono);
}

.system-facts {
  margin-top: clamp(2rem, 6vh, 4rem);
  border-top: 1px solid var(--line);
}

.system-facts > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.system-facts dt {
  color: var(--ghost);
  font: 0.58rem/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-facts dd {
  color: var(--bone-soft);
  font-size: 0.8rem;
  line-height: 1.5;
}

.fact-dot {
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--amber);
}

.system-statement {
  margin-top: 2rem;
  color: var(--bone);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  letter-spacing: -0.03em;
}

.verdict-stack {
  display: grid;
  margin-top: clamp(2rem, 6vh, 4rem);
  border-top: 1px solid var(--line);
}

.verdict-stack > span {
  display: grid;
  grid-template-columns: 2.5rem 7.5rem 1fr;
  align-items: center;
  gap: 0.8rem;
  min-height: 4rem;
  border-bottom: 1px solid var(--line);
}

.verdict-stack i {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font: 0.7rem/1 var(--mono);
  font-style: normal;
}

.verdict-stack strong {
  font-size: 0.8rem;
  font-weight: 550;
}

.verdict-stack small {
  color: var(--ghost);
  font-size: 0.7rem;
}

.verdict-satisfied { color: var(--lime); }
.verdict-violated { color: var(--red); }
.verdict-unknown { color: var(--bone-soft); }

.signal-number {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.signal-number strong {
  color: var(--amber);
  font-size: clamp(4.5rem, 11vw, 8.5rem);
  font-weight: 360;
  letter-spacing: -0.08em;
  line-height: 0.75;
}

.signal-number span {
  color: var(--ghost);
  font: 0.8rem/1 var(--mono);
}

.signal-progress {
  height: 1px;
  margin-top: 2rem;
  background: var(--line);
}

.signal-progress i {
  display: block;
  width: 23.333%;
  height: 1px;
  background: var(--amber);
}

.compact-facts {
  margin-top: 1.5rem;
}

.panel-links {
  display: grid;
  margin-top: 1.8rem;
}

.panel-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--bone-soft);
  font: 0.66rem/1 var(--mono);
  text-decoration: none;
  text-transform: uppercase;
}

.panel-links a:hover {
  color: var(--amber);
}

.experiment-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(2rem, 6vh, 4rem);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.experiment-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 8.5rem;
  padding: 1.2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.experiment-metrics strong {
  color: var(--cyan);
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.05em;
}

.experiment-metrics span {
  max-width: 12rem;
  color: var(--ghost);
  font: 0.58rem/1.45 var(--mono);
}

.disclosure-box {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(240, 111, 93, 0.32);
  background: rgba(240, 111, 93, 0.035);
}

.disclosure-box strong {
  color: var(--red);
  font: 0.61rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.disclosure-box p {
  margin-top: 0.7rem;
  color: var(--ghost);
  font-size: 0.72rem;
  line-height: 1.55;
}

.drawer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.8rem;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
  color: var(--ghost);
  font: 0.53rem/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.drawer-footer a {
  color: var(--bone-soft);
  text-decoration: none;
  text-transform: none;
}

.noscript-note {
  position: fixed;
  z-index: 120;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 1rem;
  border: 1px solid var(--amber);
  color: var(--bone);
  background: var(--void);
  font: 0.72rem/1.5 var(--mono);
}

.noscript-note a {
  color: var(--amber);
}

@keyframes turn-clockwise {
  to { transform: rotate(360deg); }
}

@keyframes turn-counter {
  to { transform: rotate(-360deg); }
}

@keyframes route-pulse {
  to { stroke-dashoffset: -498; }
}

@keyframes signal-blink {
  50% {
    border-color: rgba(189, 221, 114, 0.28);
    background: rgba(189, 221, 114, 0.08);
    box-shadow: 0 0 0 8px rgba(189, 221, 114, 0.025);
  }
}

@keyframes scan-field {
  from { transform: translateX(-5vw); }
  to { transform: translateX(105vw); }
}

@keyframes panel-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1180px) {
  .company-line {
    display: none;
  }

  .top-rail {
    grid-template-columns: 1fr auto;
  }

  .chamber {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.7fr);
  }

  .thesis-block {
    position: absolute;
    top: 2rem;
    left: var(--edge);
    max-width: 17rem;
    padding: 0;
  }

  .thesis-block > .micro-label,
  .thesis-loop {
    display: none;
  }

  .thesis-block h1 {
    font-size: clamp(2rem, 4.5vw, 4rem);
  }

  .thesis-copy {
    margin-top: 1rem;
    font-size: 0.78rem;
  }

  .machine-stage {
    grid-column: 1;
  }

  .readout {
    grid-column: 2;
    max-width: none;
  }

  .machine {
    width: min(92%, calc(100dvh - var(--rail-h) - var(--deck-h) - 1rem));
  }

  .system-port {
    min-width: 6.5rem;
  }

  .port-os { left: 0; }
  .port-kiroshi { right: 0; }

  .control-deck {
    grid-template-columns: 1fr 0.8fr 1fr;
  }
}

@media (max-width: 840px) {
  :root {
    --rail-h: 3.5rem;
    --deck-h: 9.5rem;
  }

  .chamber-page {
    grid-template-rows: var(--rail-h) minmax(0, 1fr) auto;
  }

  .top-rail {
    padding: 0 1rem;
  }

  .signal-link {
    padding: 0 0.8rem;
  }

  .index-link {
    min-width: 4.25rem;
    padding-left: 0.8rem;
  }

  .index-link > span,
  .signal-link > span > span {
    display: none;
  }

  .chamber {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 0;
    padding: 0 1rem;
  }

  .thesis-block {
    position: relative;
    top: auto;
    left: auto;
    grid-row: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(10rem, 0.8fr);
    align-items: end;
    max-width: none;
    padding: 0.85rem 0 0.45rem;
    border-bottom: 1px solid var(--line);
  }

  .thesis-block h1 {
    display: block;
    font-size: clamp(1.45rem, 7vw, 2.4rem);
    line-height: 0.95;
  }

  .thesis-block h1 span {
    margin-right: 0.08em;
  }

  .thesis-copy {
    justify-self: end;
    max-width: 15rem;
    margin: 0;
    font-size: 0.65rem;
    line-height: 1.4;
  }

  .machine-stage {
    grid-row: 2;
    grid-column: 1;
    min-height: 0;
  }

  .stage-coordinate {
    display: none;
  }

  .machine {
    width: min(74vw, 38dvh);
    max-width: none;
  }

  .system-port {
    top: auto;
    bottom: 6%;
    min-width: auto;
    min-height: 2.4rem;
    padding: 0.4rem 0.55rem;
    transform: none;
  }

  .port-os { left: -8%; }
  .port-kiroshi { right: -8%; }

  .port-index {
    display: none;
  }

  .port-copy strong {
    font-size: 0.68rem;
  }

  .port-copy small {
    font-size: 0.43rem;
  }

  .frame-trace {
    bottom: 7.5%;
    width: 44%;
    gap: 2px;
  }

  .frame-trace > span {
    height: 1.2rem;
  }

  .readout {
    grid-row: 3;
    grid-column: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    max-width: none;
    margin: 0;
    padding: 0.6rem 0 0.75rem;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .readout::before {
    top: -1px;
    left: 0;
    width: var(--readout-line, 26%);
    height: 1px;
    transition: width 450ms ease;
  }

  .readout-head {
    display: none;
  }

  .readout-copy {
    min-height: 0;
    padding: 0 1rem 0 0;
    border: 0;
  }

  .readout-system {
    margin-bottom: 0.35rem;
    font-size: 0.46rem;
  }

  .readout-copy h2 {
    font-size: clamp(1.05rem, 4.6vw, 1.55rem);
  }

  .readout-copy > p:last-child {
    max-width: 31rem;
    margin-top: 0.4rem;
    font-size: 0.62rem;
    line-height: 1.35;
  }

  .event-ledger {
    display: none;
  }

  .evidence-link {
    align-self: center;
    width: auto;
    min-width: 3rem;
    min-height: 3rem;
    margin: 0;
    border: 1px solid var(--line);
    padding: 0 0.8rem;
  }

  .evidence-link span {
    display: none;
  }

  .truth-strip {
    display: none;
  }

  .control-deck {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.6rem 0.8rem;
    min-height: var(--deck-h);
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  }

  .scenario-control {
    grid-column: 1 / -1;
  }

  .scenario-control legend {
    display: none;
  }

  .scenario-control > div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .scenario-control button {
    justify-content: center;
    min-height: 2.75rem;
    border-color: var(--line);
  }

  .deck-progress {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .deck-progress > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .deck-progress > div {
    display: none;
  }

  .deck-progress small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .deck-actions {
    gap: 0.25rem;
  }

  .deck-utility {
    min-height: 3rem;
    padding: 0 0.65rem;
  }

  .run-button {
    min-width: 10.5rem;
    min-height: 3rem;
    gap: 1rem;
    padding: 0 0.75rem;
    font-size: 0.54rem;
  }

  .drawer-surface {
    top: auto;
    bottom: 0;
    width: 100%;
    height: calc(100% - 0.75rem);
    border-top: 1px solid var(--line-strong);
    border-left: 0;
    transform: translateY(100%);
  }

  .system-drawer.is-open .drawer-surface {
    transform: translateY(0);
  }

  .drawer-header {
    min-height: 4.25rem;
    padding: 0 1rem;
  }

  .drawer-tabs {
    padding: 0;
  }

  .drawer-tabs button {
    justify-content: center;
    min-height: 3.25rem;
    padding: 0 0.25rem;
    font-size: 0.52rem;
  }

  .drawer-content {
    padding: 2rem 1.25rem;
  }

  .drawer-panel h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .loop-specimen {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .loop-specimen > i {
    display: none;
  }

  .system-facts > div {
    grid-template-columns: 5.5rem 1fr;
    gap: 0.8rem;
  }

  .drawer-footer {
    min-height: 3.3rem;
    padding: 0 1rem;
  }
}

@media (max-height: 680px) and (max-width: 840px) {
  :root {
    --deck-h: 8.75rem;
  }

  .thesis-block {
    padding-top: 0.55rem;
    padding-bottom: 0.35rem;
  }

  .thesis-block h1 {
    font-size: 1.35rem;
  }

  .thesis-copy {
    font-size: 0.57rem;
  }

  .machine {
    width: min(66vw, 32dvh);
  }

  .readout-copy > p:last-child {
    display: none;
  }

  .control-deck {
    gap: 0.4rem 0.6rem;
    padding-top: 0.5rem;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 470px) {
  .rail-nav .signal-link {
    border-right: 0 !important;
  }

  .index-link {
    min-width: 2.75rem;
  }

  .thesis-block {
    grid-template-columns: 1fr;
  }

  .thesis-copy {
    display: none;
  }

  .machine {
    width: min(88vw, 40dvh);
  }

  .port-os { left: -1%; }
  .port-kiroshi { right: -1%; }

  .deck-progress small {
    max-width: 8.5rem;
  }

  .run-button {
    min-width: 9.2rem;
  }

  .deck-utility[data-skip-run] {
    display: none;
  }

  .verdict-stack > span {
    grid-template-columns: 2rem 6rem 1fr;
  }

  .experiment-metrics {
    grid-template-columns: 1fr;
  }

  .experiment-metrics > div {
    min-height: 6.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  body[data-run="rechecking"] .specimen-led,
  body[data-run="verified"] .specimen-led {
    animation: none !important;
  }

  .ambient-scan {
    display: none;
  }
}
