:root {
  --paper: #f2efe8;
  --paper-2: #e8e3d9;
  --ink: #15252b;
  --muted: #667277;
  --line: #c9c4b9;
  --coral: #f05a47;
  --coral-dark: #d64031;
  --blue: #1676b7;
  --teal: #2c7771;
  --acid: #d9f267;
  --white: #fbfaf6;
  --shadow: 0 18px 50px rgba(23, 35, 37, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
button, input { font: inherit; }
button { color: inherit; }

.topbar { height: 68px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 4vw, 64px); position: sticky; top: 0; z-index: 20; background: rgba(242, 239, 232, 0.92); backdrop-filter: blur(16px); }
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); font: 800 15px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.brand small { color: var(--coral); font-size: 9px; vertical-align: top; }
.brand-mark { width: 30px; height: 25px; position: relative; display: grid; align-content: center; gap: 3px; }
.brand-mark i { display: block; height: 3px; background: var(--ink); border-radius: 4px; }
.brand-mark i:nth-child(1) { width: 29px; transform: rotate(-8deg); background: var(--coral); }
.brand-mark i:nth-child(2) { width: 21px; margin-left: 5px; }
.brand-mark i:nth-child(3) { width: 13px; margin-left: 10px; background: var(--teal); }
.topbar nav { display: flex; gap: 30px; }
.topbar nav a { color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 650; }
.topbar nav a:hover { color: var(--coral); }
.status-chip { border: 1px solid var(--line); border-radius: 100px; padding: 8px 12px; font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.status-chip span { width: 7px; height: 7px; background: #56a56a; border-radius: 50%; box-shadow: 0 0 0 4px rgba(86,165,106,.12); }

main { overflow: hidden; }
.hero { min-height: 390px; padding: 72px clamp(24px, 6.5vw, 110px) 64px; display: grid; grid-template-columns: 1.5fr .75fr; align-items: end; gap: 8vw; position: relative; }
.hero::before { content: "LOGIT"; position: absolute; right: -2vw; top: 10px; font: 900 clamp(90px, 15vw, 240px)/1 Arial, sans-serif; color: transparent; -webkit-text-stroke: 1px rgba(21,37,43,.07); z-index: -1; }
.eyebrow, .kicker, .card-label { font: 700 10px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .16em; color: var(--teal); }
.hero h1 { margin: 16px 0 20px; font: 750 clamp(54px, 8vw, 112px)/.86 Georgia, "Noto Serif SC", serif; letter-spacing: -.06em; }
.hero h1 em { color: var(--coral); font-weight: 400; }
.hero-lede { max-width: 600px; color: var(--muted); line-height: 1.8; font-size: 15px; margin: 0; }
.hero-note { border-top: 4px solid var(--ink); padding-top: 18px; max-width: 330px; align-self: center; }
.hero-note > span { font: 700 10px ui-monospace, monospace; letter-spacing: .12em; color: var(--coral); }
.hero-note strong { display: block; margin: 13px 0; font: 600 24px/1.4 Georgia, "Noto Serif SC", serif; }
.hero-note p { color: var(--muted); line-height: 1.7; font-size: 13px; }

.lab-shell { width: min(1460px, calc(100% - 32px)); margin: 0 auto 100px; background: var(--white); border: 1px solid var(--ink); box-shadow: var(--shadow); }
.lab-heading { min-height: 92px; display: flex; justify-content: space-between; align-items: center; padding: 18px 28px; border-bottom: 1px solid var(--ink); }
.lab-heading > div:first-child, .section-intro { display: flex; align-items: flex-start; gap: 18px; }
.section-no { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); font: 700 11px ui-monospace, monospace; flex: 0 0 auto; }
.lab-heading h2, .section-intro h2 { margin: 3px 0 0; font: 650 26px/1.1 Georgia, "Noto Serif SC", serif; }
.lab-heading .kicker, .section-intro .kicker { margin: 0; font-size: 9px; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; color: var(--muted); font-size: 11px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-coral { background: var(--coral); }
.dot-blue { background: var(--blue); }
.ring { width: 10px; height: 10px; border: 2px solid var(--ink); border-radius: 50%; }
.line-solid, .line-dash { width: 19px; border-top: 2px solid var(--ink); }
.line-dash { border-top-style: dashed; border-color: #898981; }

.workspace { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(390px, .82fr); min-height: 650px; }
.plot-card { padding: 24px 26px 18px; border-right: 1px solid var(--ink); min-width: 0; }
.plot-meta, .metrics-head, .loss-title, .data-card-head { display: flex; justify-content: space-between; align-items: center; }
.plot-meta > div > span, .metrics-head > span { font: 700 9px ui-monospace, monospace; letter-spacing: .14em; color: var(--muted); }
.plot-meta h3 { font-size: 15px; margin: 5px 0 13px; }
.toggle { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); cursor: pointer; }
.toggle input { position: absolute; opacity: 0; }
.toggle span { width: 33px; height: 18px; border: 1px solid var(--ink); border-radius: 20px; padding: 2px; }
.toggle span::after { content: ""; display: block; width: 12px; height: 12px; background: var(--muted); border-radius: 50%; transition: .2s; }
.toggle input:checked + span::after { transform: translateX(15px); background: var(--coral); }
.canvas-wrap { position: relative; }
.main-canvas-wrap { height: 500px; border: 1px solid var(--line); background: #f8f7f2; }
canvas { display: block; width: 100%; height: 100%; }
.plot-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); border: 1px solid var(--line); border-radius: 100px; background: rgba(251,250,246,.92); padding: 10px 16px; font-size: 11px; color: var(--muted); pointer-events: none; transition: opacity .2s; }
.plot-hint.hidden { opacity: 0; }
.axis-note { display: flex; justify-content: space-between; color: var(--muted); font: 10px ui-monospace, monospace; padding-top: 9px; }

.metrics-card { padding: 24px; background: #eeebe3; min-width: 0; }
.pulse { display: flex; gap: 6px; align-items: center; font: 700 9px ui-monospace, monospace; color: var(--muted); }
.pulse i { width: 7px; height: 7px; border-radius: 50%; background: #9da19c; }
.pulse.running i { background: var(--coral); animation: pulse 1s infinite; }
.pulse.complete i { background: #56a56a; box-shadow: 0 0 0 4px rgba(86,165,106,.12); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(240,90,71,.13); } }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin: 16px 0 14px; background: var(--white); }
.metric-grid div { padding: 12px; min-height: 94px; border-right: 1px solid var(--line); }
.metric-grid div:nth-child(3n) { border-right: 0; }
.metric-grid div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
.metric-grid span, .metric-grid small { display: block; color: var(--muted); font-size: 10px; }
.metric-grid strong { display: block; font: 500 23px/1.2 ui-monospace, monospace; margin: 8px 0 4px; letter-spacing: -.06em; }
.diagnosis { border-left: 4px solid #9da19c; background: rgba(255,255,255,.62); padding: 11px 13px; margin-bottom: 17px; }
.diagnosis[data-level="watch"] { border-left-color: #e0a332; background: #fff8df; }
.diagnosis[data-level="overfit"] { border-left-color: var(--coral); background: #fff0ec; }
.diagnosis[data-level="good"] { border-left-color: #56a56a; background: #edf8ef; }
.diagnosis div { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.diagnosis span { font: 700 9px ui-monospace, monospace; color: var(--muted); letter-spacing: .1em; }
.diagnosis b { font-size: 11px; }
.diagnosis p { color: var(--muted); font-size: 10px; line-height: 1.55; margin: 6px 0 0; }
.loss-title { font-size: 11px; margin-bottom: 9px; }
.loss-title b { font: 500 9px ui-monospace, monospace; color: var(--muted); }
.loss-canvas-wrap { height: 126px; background: var(--white); border: 1px solid var(--line); }
.loss-legend { display: flex; gap: 14px; margin: 7px 0 17px; color: var(--muted); font-size: 9px; }
.loss-legend span { display: flex; align-items: center; gap: 5px; }
.loss-legend i { width: 18px; border-top: 2px solid var(--coral); }
.loss-legend .test-line { border-color: var(--blue); border-top-style: dashed; }
.gradient-bars { display: grid; gap: 6px; }
.grad-row { display: grid; grid-template-columns: 30px 1fr 52px; gap: 7px; align-items: center; font: 9px ui-monospace, monospace; color: var(--muted); }
.grad-track { height: 6px; background: #ddd8ce; overflow: hidden; }
.grad-track i { display: block; height: 100%; background: var(--teal); transform-origin: left; transition: width .12s; }
.grad-row b { text-align: right; font-weight: 500; }

.control-deck { display: grid; grid-template-columns: 1.1fr 1.1fr 1fr .9fr; border-top: 1px solid var(--ink); }
.control-group { padding: 20px; border-right: 1px solid var(--ink); min-width: 0; }
.control-group:last-child { border-right: none; }
.control-title { display: flex; align-items: center; gap: 9px; margin-bottom: 15px; }
.control-title > span { font: 700 9px ui-monospace, monospace; color: var(--coral); }
.control-title b, .control-title small { display: block; }
.control-title b { font-size: 12px; }
.control-title small { color: var(--muted); font-size: 9px; margin-top: 2px; }
.control-title output { margin-left: auto; color: var(--coral); font: 700 16px ui-monospace, monospace; }
.segmented { display: grid; border: 1px solid var(--line); }
.segmented.three { grid-template-columns: repeat(3, 1fr); }
.segmented.two { grid-template-columns: repeat(2, 1fr); }
.segmented.four { grid-template-columns: repeat(4, 1fr); }
.segmented.five { grid-template-columns: repeat(5, 1fr); }
.segmented button { border: 0; border-right: 1px solid var(--line); background: transparent; padding: 9px 5px; cursor: pointer; }
.segmented button:last-child { border-right: 0; }
.segmented b, .segmented small { display: block; }
.segmented b { font-size: 11px; }
.segmented small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.segmented button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.segmented button[aria-pressed="true"] small { color: #b9c2c3; }
input[type="range"] { width: 100%; height: 4px; appearance: none; background: linear-gradient(90deg, var(--coral) 0 var(--fill, 50%), #d1cdc4 var(--fill, 50%) 100%); border-radius: 2px; }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 16px; height: 16px; background: var(--white); border: 3px solid var(--ink); border-radius: 50%; cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; color: var(--muted); font: 8px ui-monospace, monospace; margin-top: 9px; }
.transport { min-height: 74px; border-top: 1px solid var(--ink); display: flex; align-items: center; padding: 12px 20px; gap: 10px; background: var(--acid); }
.transport button { cursor: pointer; }
.primary-btn { min-width: 150px; height: 45px; border: 1px solid var(--ink); background: var(--ink); color: white; display: flex; justify-content: center; align-items: center; gap: 10px; }
.primary-btn:hover { background: var(--coral-dark); }
.play-icon { width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.primary-btn.running .play-icon { width: 8px; height: 10px; border: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.secondary-btn { height: 45px; border: 1px solid var(--ink); background: transparent; padding: 0 16px; font-size: 11px; font-weight: 650; }
.secondary-btn:hover { background: rgba(255,255,255,.45); }
.speed-control { display: flex; align-items: center; gap: 4px; margin-left: 10px; }
.speed-control span { font-size: 9px; margin-right: 4px; }
.speed-control button { width: 34px; height: 27px; border: 1px solid rgba(21,37,43,.4); background: transparent; font-size: 9px; }
.speed-control button[aria-pressed="true"] { background: var(--ink); color: white; }
.epoch-progress { margin-left: auto; min-width: 230px; }
.epoch-progress > div { height: 5px; overflow: hidden; background: rgba(21,37,43,.18); }
.epoch-progress i { display: block; width: 0%; height: 100%; background: var(--ink); transition: width .15s ease; }
.epoch-progress p { margin: 7px 0 0; font: 10px ui-monospace, monospace; text-align: right; }

.method-section { padding: 40px clamp(24px, 7vw, 112px) 110px; }
.section-intro { max-width: 720px; margin-bottom: 38px; }
.section-intro h2 { font-size: clamp(30px, 4vw, 50px); margin: 7px 0 13px; }
.section-intro > div > p:last-child { color: var(--muted); line-height: 1.8; max-width: 650px; }
.method-grid { display: grid; grid-template-columns: 1.15fr .85fr; border: 1px solid var(--ink); }
.method-grid article { padding: clamp(24px, 4vw, 48px); }
.formula-card { border-right: 1px solid var(--ink); background: var(--white); }
.formula-card h3 { font: 550 24px/1.4 Georgia, "Noto Serif SC", serif; margin: 14px 0 30px; }
.formula { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 23px 0; font: 500 clamp(16px, 2vw, 24px)/1.5 ui-monospace, monospace; letter-spacing: -.04em; }
.formula b { color: var(--coral); font-weight: 500; }
.formula-card > p { color: var(--muted); line-height: 1.8; font-size: 13px; }
.protocol-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.protocol-row span { padding: 9px 11px; background: var(--paper-2); font-size: 10px; }
.protocol-row b { color: var(--teal); }
.data-control-card { background: #d9e5e1; }
.data-card-head > b { font: 500 10px ui-monospace, monospace; }
.data-control-card h3 { font: 550 22px/1.45 Georgia, "Noto Serif SC", serif; margin: 30px 0 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 35px 0; }
.field-row.three { grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.field-row.four { grid-template-columns: repeat(2, 1fr); gap: 18px 16px; margin: 24px 0; }
.field-row label { font-size: 11px; font-weight: 700; }
.field-row output { float: right; color: var(--coral-dark); font: 700 13px ui-monospace, monospace; }
.field-row input { display: block; margin-top: 16px; }
.seed-row { display: grid; grid-template-columns: 85px 1fr 1.8fr auto; align-items: center; border-top: 1px solid rgba(21,37,43,.25); border-bottom: 1px solid rgba(21,37,43,.25); padding: 15px 0; gap: 8px; }
.seed-row label { font-size: 11px; font-weight: 700; }
.seed-row input, .seed-row button { height: 38px; border: 1px solid var(--ink); background: var(--white); padding: 0 10px; min-width: 0; }
.seed-row button { background: var(--ink); color: white; font-size: 9px; cursor: pointer; }
.seed-row button:last-child { background: transparent; color: var(--ink); }
.data-control-card > p { font-size: 10px; line-height: 1.7; color: var(--muted); display: flex; gap: 8px; margin: 0 0 24px; }
.data-control-card > p i { width: 7px; height: 7px; background: var(--teal); border-radius: 50%; flex: 0 0 auto; margin-top: 5px; }
.advanced-data { border-top: 1px solid rgba(21,37,43,.32); }
.advanced-data summary { list-style: none; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 11px; font-weight: 700; }
.advanced-data summary::-webkit-details-marker { display: none; }
.advanced-data summary::after { content: "+"; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; margin-left: 12px; }
.advanced-data[open] summary::after { content: "−"; }
.advanced-data summary small { margin-left: auto; color: var(--muted); font-size: 9px; font-weight: 400; }
.early-stop-toggle { display: grid; grid-template-columns: 34px auto 1fr; align-items: center; gap: 8px; margin-top: 15px; cursor: pointer; }
.early-stop-toggle input { position: absolute; opacity: 0; }
.early-stop-toggle > span { width: 34px; height: 19px; border: 1px solid var(--ink); border-radius: 20px; padding: 2px; }
.early-stop-toggle > span::after { content: ""; display: block; width: 13px; height: 13px; border-radius: 50%; background: var(--muted); transition: .2s; }
.early-stop-toggle input:checked + span::after { transform: translateX(15px); background: var(--coral); }
.early-stop-toggle b { font-size: 11px; }
.early-stop-toggle small { color: var(--muted); font-size: 9px; line-height: 1.5; }
.principle-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); border-top: 0; }
.principle-strip > div { padding: 24px; border-right: 1px solid var(--ink); }
.principle-strip > div:last-child { border-right: 0; }
.principle-strip span { color: var(--coral); font: 700 11px ui-monospace, monospace; }
.principle-strip b { display: block; font-size: 12px; margin: 14px 0 7px; }
.principle-strip p { color: var(--muted); font-size: 10px; margin: 0; }

.reading-section { padding: 10px clamp(24px, 7vw, 112px) 110px; }
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); background: var(--white); }
.signal-grid article { min-height: 220px; padding: 26px; border-right: 1px solid var(--ink); }
.signal-grid article:last-child { border-right: 0; }
.signal-grid span { color: var(--coral); font: 700 9px ui-monospace, monospace; letter-spacing: .12em; }
.signal-grid h3 { font: 550 19px/1.4 Georgia, "Noto Serif SC", serif; margin: 18px 0 13px; }
.signal-grid p { color: var(--muted); font-size: 11px; line-height: 1.75; margin: 0; }
.parameter-map { border: 1px solid var(--ink); border-top: 0; background: #d9e5e1; padding: 30px; }
.parameter-map-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 18px; }
.parameter-map-head p { margin: 0; }
.parameter-map-head h3 { margin: 0; font: 550 24px Georgia, "Noto Serif SC", serif; }
.parameter-row { display: grid; grid-template-columns: 130px 100px 24px 145px 24px minmax(145px,1fr) 1.4fr; gap: 8px; align-items: center; border-top: 1px solid rgba(21,37,43,.22); padding: 13px 0; font-size: 11px; }
.parameter-row b { font-size: 11px; }
.parameter-row span { background: rgba(255,255,255,.55); padding: 7px 8px; text-align: center; }
.parameter-row i { color: var(--coral-dark); font-style: normal; text-align: center; }
.parameter-row small { color: var(--muted); line-height: 1.55; }

.guide-section { background: var(--ink); color: var(--white); padding: 80px clamp(24px, 7vw, 112px) 100px; }
.section-intro.light .section-no { background: var(--acid); color: var(--ink); }
.section-intro.light .kicker { color: var(--acid); }
.section-intro.light p { color: #aeb8b9; line-height: 1.7; font-size: 12px; }
.source-download { display: inline-block; color: var(--acid); border-bottom: 1px solid var(--acid); text-decoration: none; padding-bottom: 3px; font-size: 10px; }
.experiment-cards { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #607074; }
.experiment-cards article { min-height: 285px; padding: 28px; border-right: 1px solid #607074; display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.experiment-cards article:last-child { border-right: none; }
.experiment-cards article > span { width: 30px; height: 30px; border: 1px solid var(--acid); border-radius: 50%; display: grid; place-items: center; font: 700 10px ui-monospace, monospace; color: var(--acid); }
.experiment-cards h3 { font: 500 22px Georgia, "Noto Serif SC", serif; margin: 4px 0 16px; }
.experiment-cards p { color: #aeb8b9; font-size: 12px; line-height: 1.8; min-height: 88px; }
.experiment-cards button { padding: 0; border: 0; border-bottom: 1px solid var(--acid); color: var(--acid); background: none; font-size: 10px; cursor: pointer; }
.experiment-cards button:hover { color: white; border-color: white; }
.experiment-cards article.featured { background: rgba(217,242,103,.08); }
footer { min-height: 95px; display: flex; align-items: center; justify-content: space-between; padding: 20px clamp(24px, 7vw, 112px); font: 700 9px ui-monospace, monospace; letter-spacing: .12em; }
footer p { color: var(--muted); font-weight: 400; letter-spacing: 0; }
footer a { color: var(--ink); }
footer > div { display: flex; gap: 22px; }

@media (max-width: 1050px) {
  .workspace { grid-template-columns: 1fr; }
  .plot-card { border-right: 0; border-bottom: 1px solid var(--ink); }
  .metrics-card { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .metrics-head { grid-column: 1 / -1; }
  .metric-grid { margin: 0; }
  .control-deck { grid-template-columns: 1fr 1fr; }
  .control-group:nth-child(2) { border-right: 0; }
  .control-group:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .method-grid { grid-template-columns: 1fr; }
  .formula-card { border-right: 0; border-bottom: 1px solid var(--ink); }
  .signal-grid, .experiment-cards { grid-template-columns: 1fr 1fr; }
  .signal-grid article:nth-child(2), .experiment-cards article:nth-child(2) { border-right: 0; }
  .signal-grid article:nth-child(-n+2), .experiment-cards article:nth-child(-n+2) { border-bottom: 1px solid; }
  .parameter-row { grid-template-columns: 120px 1fr 20px 1fr 20px 1fr; }
  .parameter-row small { grid-column: 2 / -1; }
}

@media (max-width: 740px) {
  .topbar nav, .status-chip { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-note { display: none; }
  .hero h1 { font-size: clamp(52px, 19vw, 90px); }
  .lab-heading { align-items: flex-start; gap: 20px; }
  .legend { display: none; }
  .workspace { min-height: 0; }
  .plot-card { padding: 18px 12px 14px; }
  .main-canvas-wrap { height: 390px; }
  .metrics-card { display: block; padding: 18px 12px; }
  .metrics-head { margin-bottom: 14px; }
  .metric-grid { margin-bottom: 20px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-grid div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .metric-grid div:nth-child(2n) { border-right: 0; }
  .metric-grid div:nth-child(3n) { border-right: 1px solid var(--line); }
  .metric-grid div:nth-child(6) { border-right: 0; }
  .metric-grid div:nth-last-child(-n+2) { border-bottom: 0; }
  .control-deck { grid-template-columns: 1fr; }
  .control-group { border-right: 0; border-bottom: 1px solid var(--ink); }
  .control-group:last-child { border-bottom: 0; }
  .transport { flex-wrap: wrap; }
  .primary-btn { flex: 1 1 150px; }
  .secondary-btn { flex: 1; }
  .speed-control { order: 3; margin: 5px 0 0; }
  .epoch-progress { order: 4; width: 100%; margin: 8px 0 0; }
  .field-row, .field-row.three, .field-row.four { grid-template-columns: 1fr; }
  .seed-row { grid-template-columns: 1fr 1fr; }
  .seed-row label { grid-column: 1 / -1; }
  .seed-row button { grid-column: span 1; }
  .principle-strip, .signal-grid, .experiment-cards { grid-template-columns: 1fr; }
  .principle-strip > div, .signal-grid article, .experiment-cards article { border-right: 0; border-bottom: 1px solid var(--ink); }
  .signal-grid article:nth-child(2) { border-right: 0; }
  .experiment-cards article { border-color: #607074; }
  .parameter-map { padding: 22px 16px; }
  .parameter-map-head { display: block; }
  .parameter-map-head h3 { margin-top: 8px; }
  .parameter-row { grid-template-columns: 1fr 1fr; gap: 7px; }
  .parameter-row b { grid-column: 1 / -1; margin-top: 5px; }
  .parameter-row i { display: none; }
  .parameter-row small { grid-column: 1 / -1; }
  footer { align-items: flex-start; flex-direction: column; gap: 14px; }
  footer > div { width: 100%; justify-content: space-between; }
}
