:root {
  color-scheme: light;
  --ink: #101512;
  --muted: #58635d;
  --paper: #f5f7f3;
  --white: #ffffff;
  --line: #c8d0ca;
  --line-strong: #101512;
  --lime: #a8ee3f;
  --lime-soft: #e8f8ce;
  --coral: #f06b5d;
  --coral-soft: #fff0ed;
  --cyan: #38aaa7;
  --cyan-soft: #e4f6f5;
  --blue: #355fce;
  --blue-soft: #edf2ff;
  --yellow: #f1c84b;
  --shadow: 0 16px 40px rgba(16, 21, 18, 0.09);
  --max: 1240px;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 74px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}

button,
input {
  font: inherit;
}

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

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 50;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(16, 21, 18, 0.28);
  background: rgba(245, 247, 243, 0.96);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.brand span {
  display: grid;
  width: 42px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--lime);
  font: 700 12px/1 var(--mono);
}

.brand b {
  font: 700 13px/1 var(--mono);
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header nav a,
.site-footer nav a {
  font: 700 11px/1.2 var(--mono);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-header nav a:not(:hover),
.site-footer nav a:not(:hover) {
  text-decoration-color: transparent;
}

.pulse-hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background: #dce6dd;
}

.pulse-hero__media,
.pulse-hero__media img,
.pulse-hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pulse-hero__media img {
  object-fit: cover;
  object-position: center;
}

.pulse-hero__veil {
  background: rgba(245, 247, 243, 0.82);
}

.pulse-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(var(--max), calc(100% - 48px));
  min-height: 500px;
  margin: 0 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 58px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  font: 700 11px/1.35 var(--mono);
  text-transform: uppercase;
}

.pulse-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: 68px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 710px;
  margin: 24px 0 0;
  font-size: 20px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-actions a,
.hero-actions button,
.url-control button,
.load-row button,
.file-command,
.scan-current,
.workbench-commands button,
.result-actions button,
.result-actions a,
.commercial-band > a {
  min-height: 46px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: 700 12px/1.2 var(--mono);
  text-decoration: none;
}

.hero-actions a,
.hero-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
}

.hero-actions .primary-action {
  background: var(--ink);
  color: var(--white);
}

.hero-actions a:hover,
.hero-actions button:hover,
.url-control button:hover,
.load-row button:hover,
.file-command:hover,
.scan-current:hover,
.workbench-commands button:hover,
.result-actions button:hover,
.result-actions a:hover,
.commercial-band > a:hover {
  background: var(--lime);
  color: var(--ink);
}

.hero-boundary {
  max-width: 710px;
  margin: 18px 0 0;
  color: #35413a;
  font: 500 12px/1.5 var(--mono);
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.fact-strip > div {
  display: flex;
  min-height: 108px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 20px max(24px, calc((100vw - var(--max)) / 8));
  border-right: 1px solid var(--line);
}

.fact-strip > div:last-child {
  border-right: 0;
}

.fact-strip strong {
  font: 700 27px/1 var(--mono);
}

.fact-strip span {
  color: var(--muted);
  font: 700 10px/1.35 var(--mono);
}

.pulse-workbench,
.pulse-result,
.method-band,
.commercial-band,
.limits-band,
.site-footer {
  width: min(var(--max), calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.pulse-workbench {
  padding: 78px 0 36px;
}

.workbench-heading,
.result-heading,
.method-band > header,
.limits-band > header {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: end;
}

.workbench-heading h2,
.result-heading h2,
.method-band h2,
.commercial-band h2,
.limits-band h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: 0;
}

.workbench-heading > p,
.commercial-band p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.snapshot-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr);
  gap: 0;
  margin-top: 34px;
  align-items: stretch;
}

.snapshot-dock {
  min-width: 0;
  min-height: 430px;
  padding: 24px;
  border: 1px solid var(--ink);
  background: var(--white);
}

.snapshot-dock[data-snapshot-side="candidate"] {
  background: var(--blue-soft);
}

.snapshot-dock > header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 78px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.snapshot-dock > header > span {
  min-width: 52px;
  color: var(--blue);
  font: 700 12px/1 var(--mono);
}

.snapshot-dock header p,
.snapshot-dock header h3 {
  margin: 0;
}

.snapshot-dock header p {
  color: var(--muted);
  font: 700 10px/1.3 var(--mono);
}

.snapshot-dock header h3 {
  margin-top: 5px;
  font-size: 20px;
  line-height: 1.2;
}

.url-label {
  display: block;
  margin-top: 22px;
  font: 700 10px/1.3 var(--mono);
}

.url-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px;
  margin-top: 8px;
}

.url-control input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 13px;
  border: 1px solid var(--ink);
  border-right: 0;
  border-radius: 3px 0 0 3px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
}

.url-control button {
  border-radius: 0 3px 3px 0;
  background: var(--ink);
  color: var(--white);
}

.load-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.load-row button,
.file-command {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  text-align: center;
}

.file-command input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

button:disabled,
.result-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

button:disabled:hover,
.result-actions button:disabled:hover {
  background: var(--white);
  color: var(--ink);
}

.candidate-origin {
  min-height: 58px;
  margin: 22px 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.scan-current {
  width: 100%;
  background: var(--blue);
  color: var(--white);
}

.snapshot-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.snapshot-status > div {
  min-width: 0;
  min-height: 68px;
  padding: 11px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.snapshot-status dt {
  color: var(--muted);
  font: 700 9px/1.3 var(--mono);
}

.snapshot-status dd {
  margin: 7px 0 0;
  overflow-wrap: anywhere;
  font: 700 11px/1.35 var(--mono);
}

.snapshot-status[data-state="ready"] > div:first-child {
  background: var(--lime-soft);
}

.snapshot-status[data-state="error"] > div:first-child {
  background: var(--coral-soft);
}

.snapshot-status code {
  font-size: 10px;
}

.privacy-note,
.error-note {
  margin: 14px 0 0;
  font: 500 11px/1.45 var(--mono);
}

.privacy-note {
  color: var(--muted);
}

.error-note {
  padding: 10px;
  border-left: 4px solid var(--coral);
  background: var(--coral-soft);
  color: #852d25;
}

.pair-junction {
  display: grid;
  min-height: 430px;
  grid-template-rows: 1fr 46px 44px 46px 1fr;
  place-items: center;
}

.pair-junction i {
  width: 1px;
  height: 100%;
  background: var(--ink);
}

.pair-junction span,
.pair-junction b {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--paper);
  font: 700 11px/1 var(--mono);
}

.pair-junction b {
  width: 68px;
  background: var(--ink);
  color: var(--white);
}

.workbench-commands {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  border-bottom: 1px solid var(--ink);
}

.workbench-commands button {
  min-height: 38px;
  padding: 8px 12px;
}

.workbench-commands span {
  color: var(--muted);
  font: 700 10px/1.35 var(--mono);
  text-align: right;
}

.pulse-result {
  padding: 70px 0 80px;
}

.result-heading > strong {
  justify-self: end;
  max-width: 320px;
  padding: 12px 14px;
  border: 1px solid var(--ink);
  background: var(--white);
  font: 700 11px/1.35 var(--mono);
  text-align: center;
}

.result-heading > strong[data-state="change-observed"] {
  background: var(--yellow);
}

.result-heading > strong[data-state="no-observed-change"] {
  background: var(--lime-soft);
}

.result-heading > strong[data-state="method-changed"] {
  background: var(--coral-soft);
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.result-metrics > div {
  min-width: 0;
  min-height: 104px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.result-metrics > div:last-child {
  border-right: 0;
}

.result-metrics strong,
.result-metrics span {
  display: block;
}

.result-metrics strong {
  font: 700 31px/1 var(--mono);
}

.result-metrics span {
  margin-top: 9px;
  color: var(--muted);
  font: 700 9px/1.3 var(--mono);
}

.result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.65fr);
  gap: 18px;
  margin-top: 22px;
}

.evidence-ledger,
.signal-ledger {
  min-width: 0;
  border: 1px solid var(--ink);
  background: var(--white);
}

.evidence-ledger > header,
.signal-ledger > header {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--ink);
}

.evidence-ledger h3,
.signal-ledger h3 {
  margin: 0;
  font-size: 17px;
}

.evidence-ledger header span,
.signal-ledger header span {
  color: var(--muted);
  font: 700 9px/1.3 var(--mono);
  text-align: right;
}

.ledger-head,
.ledger-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.4fr) minmax(90px, 0.8fr) minmax(90px, 0.8fr) minmax(120px, 1fr);
}

.ledger-head {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.ledger-head span {
  padding: 10px 12px;
  color: var(--muted);
  font: 700 9px/1.2 var(--mono);
}

.ledger-row {
  min-height: 58px;
  border-bottom: 1px solid var(--line);
}

.ledger-row:last-child {
  border-bottom: 0;
}

.ledger-row > span,
.ledger-row > strong {
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 11px 12px;
  overflow-wrap: anywhere;
  border-right: 1px solid var(--line);
  font: 600 10px/1.35 var(--mono);
}

.ledger-row > :last-child {
  border-right: 0;
}

.ledger-row[data-change="status-changed"] > strong:last-child,
.ledger-row[data-change="observation-count-changed"] > strong:last-child {
  background: var(--yellow);
}

.ledger-row[data-change="evidence-area-added"] > strong:last-child {
  background: var(--cyan-soft);
}

.ledger-row[data-change="evidence-area-removed"] > strong:last-child,
.ledger-row[data-change="observation-basis-changed"] > strong:last-child {
  background: var(--coral-soft);
}

.empty-result {
  min-height: 190px;
  margin: 0;
  padding: 34px;
  color: var(--muted);
  font: 600 12px/1.6 var(--mono);
}

.signal-ledger > div {
  min-height: 112px;
  padding: 15px;
  border-bottom: 1px solid var(--line);
}

.signal-ledger > div:last-child {
  border-bottom: 0;
}

.signal-ledger h4 {
  margin: 0 0 9px;
  color: var(--muted);
  font: 700 9px/1.3 var(--mono);
}

.signal-ledger ul {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.signal-ledger li {
  max-width: 100%;
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow-wrap: anywhere;
  font: 600 9px/1.3 var(--mono);
}

.integrity-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(280px, 0.85fr);
  margin-top: 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.integrity-rail > div,
.integrity-rail > p {
  min-width: 0;
  margin: 0;
  padding: 16px;
  border-right: 1px solid #46504a;
}

.integrity-rail > :last-child {
  border-right: 0;
}

.integrity-rail span,
.integrity-rail code {
  display: block;
}

.integrity-rail span {
  color: #aeb8b2;
  font: 700 9px/1.3 var(--mono);
}

.integrity-rail code {
  margin-top: 7px;
  overflow-wrap: anywhere;
  color: var(--lime);
  font: 600 10px/1.4 var(--mono);
}

.integrity-rail p {
  color: #cad1cc;
  font: 500 10px/1.45 var(--mono);
}

.result-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, 1.4fr);
  gap: 8px;
  margin-top: 12px;
}

.result-actions button,
.result-actions a {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 11px 13px;
  text-align: center;
}

.result-actions a {
  background: var(--coral);
}

.method-band,
.limits-band {
  padding: 80px 0;
  border-top: 1px solid var(--ink);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.method-grid article {
  min-height: 250px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.method-grid article:last-child {
  border-right: 0;
}

.method-grid span {
  color: var(--blue);
  font: 700 12px/1 var(--mono);
}

.method-grid h3 {
  margin: 52px 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.method-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.commercial-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 60px;
  align-items: center;
  padding: 54px;
  border: 1px solid var(--ink);
  background: var(--cyan-soft);
  box-shadow: var(--shadow);
}

.commercial-band p {
  max-width: 760px;
  margin-top: 16px;
}

.commercial-band > a {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.limits-band ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.limits-band li {
  position: relative;
  min-height: 94px;
  padding: 20px 20px 20px 42px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.limits-band li:nth-child(2n) {
  border-right: 0;
}

.limits-band li::before {
  position: absolute;
  top: 21px;
  left: 18px;
  content: "!";
  color: var(--coral);
  font: 700 13px/1 var(--mono);
}

.site-footer {
  display: flex;
  min-height: 130px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--ink);
}

.site-footer > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer strong,
.site-footer span {
  font-family: var(--mono);
}

.site-footer span {
  color: var(--muted);
  font-size: 10px;
}

noscript {
  display: block;
  padding: 20px;
  background: var(--coral-soft);
  text-align: center;
}

@media (max-width: 1040px) {
  .pulse-hero h1 {
    font-size: 54px;
  }

  .snapshot-pair {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .pair-junction {
    min-height: 58px;
    grid-template-rows: none;
    grid-template-columns: 1fr 38px 68px 38px 1fr;
  }

  .pair-junction i {
    width: 100%;
    height: 1px;
  }

  .result-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .signal-ledger {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .signal-ledger > header {
    grid-column: 1 / -1;
  }

  .signal-ledger > div {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .signal-ledger > div:last-child {
    border-right: 0;
  }

  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-grid article:nth-child(2) {
    border-right: 0;
  }

  .method-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .integrity-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .integrity-rail > p {
    grid-column: 1 / -1;
    border-top: 1px solid #46504a;
    border-right: 0;
  }
}

@media (max-width: 780px) {
  .site-header {
    min-height: 58px;
    padding: 8px 16px;
  }

  .brand b {
    display: none;
  }

  .site-header nav {
    gap: 12px;
  }

  .site-header nav a:nth-child(2),
  .site-header nav a:nth-child(3) {
    display: none;
  }

  .pulse-hero,
  .pulse-hero__copy {
    min-height: 470px;
  }

  .pulse-hero__copy,
  .pulse-workbench,
  .pulse-result,
  .method-band,
  .commercial-band,
  .limits-band,
  .site-footer {
    width: min(100% - 30px, var(--max));
  }

  .pulse-hero__copy {
    padding: 42px 0 56px;
  }

  .pulse-hero h1 {
    max-width: 520px;
    font-size: 43px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .fact-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact-strip > div {
    min-height: 86px;
    padding: 16px;
  }

  .fact-strip > div:nth-child(2) {
    border-right: 0;
  }

  .fact-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .pulse-workbench,
  .pulse-result,
  .method-band,
  .limits-band {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .workbench-heading,
  .result-heading,
  .method-band > header,
  .limits-band > header {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .workbench-heading h2,
  .result-heading h2,
  .method-band h2,
  .commercial-band h2,
  .limits-band h2 {
    font-size: 30px;
  }

  .result-heading > strong {
    justify-self: start;
  }

  .result-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-metrics > div {
    min-height: 86px;
    border-bottom: 1px solid var(--line);
  }

  .result-metrics > div:nth-child(2n) {
    border-right: 0;
  }

  .result-metrics > div:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .result-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .result-actions a {
    grid-column: 1 / -1;
  }

  .commercial-band {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 32px 24px;
  }

  .commercial-band > a {
    width: 100%;
  }

  .site-footer,
  .site-footer nav {
    align-items: flex-start;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .site-header nav a:last-child {
    display: none;
  }

  .pulse-hero,
  .pulse-hero__copy {
    min-height: 500px;
  }

  .pulse-hero h1 {
    font-size: 38px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions a,
  .hero-actions button {
    width: 100%;
  }

  .snapshot-dock {
    min-height: 0;
    padding: 18px;
  }

  .url-control,
  .load-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .url-control input {
    border-right: 1px solid var(--ink);
    border-radius: 3px 3px 0 0;
  }

  .url-control button {
    border-top: 0;
    border-radius: 0 0 3px 3px;
  }

  .snapshot-status {
    grid-template-columns: minmax(0, 1fr);
  }

  .workbench-commands {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .workbench-commands span {
    text-align: left;
  }

  .ledger-head {
    display: none;
  }

  .ledger-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ledger-row > span,
  .ledger-row > strong {
    min-height: 48px;
    border-bottom: 1px solid var(--line);
  }

  .ledger-row > :nth-child(2n) {
    border-right: 0;
  }

  .signal-ledger {
    grid-template-columns: minmax(0, 1fr);
  }

  .signal-ledger > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .integrity-rail,
  .result-actions,
  .method-grid,
  .limits-band ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .integrity-rail > div,
  .integrity-rail > p,
  .method-grid article,
  .limits-band li {
    border-right: 0;
  }

  .integrity-rail > div {
    border-bottom: 1px solid #46504a;
  }

  .integrity-rail > p,
  .result-actions a {
    grid-column: auto;
  }

  .method-grid article {
    min-height: 210px;
    border-bottom: 1px solid var(--line);
  }

  .method-grid article:last-child,
  .limits-band li:last-child {
    border-bottom: 0;
  }

  .limits-band li:nth-child(2n) {
    border-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
