@font-face {
  font-family: Geist;
  src: url("assets/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Bricolage;
  src: url("assets/Bricolage-Grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f7f7f2;
  --white: #fffefa;
  --ink: #192f2b;
  --muted: #50625b;
  --line: #cbd3c9;
  --spruce: #173c34;
  --green: #356e50;
  --mint: #c8e8d2;
  --amber: #ffbd55;
  --held: #874218;
  --blue: #345f7b;
  --display: Bricolage, Geist, system-ui, sans-serif;
  --body: Geist, system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--body); -webkit-text-size-adjust: 100%; }
a { color: inherit; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #20719a; outline-offset: 3px; }
#main:focus, #chapter-heading:focus { outline: none; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 10; padding: 12px; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 680; line-height: 1.08; }
.wrap { width: min(100% - 96px, 1140px); margin-inline: auto; }
.mast { border-bottom: 1px solid var(--line); }
.bar, .brand, .contents-button, .primary, .secondary, .start, .edition, .section-heading, .route-heading, .rail-result, .dialog-title, .pager-inner, .player-top, .play-row, .show-me { display: flex; align-items: center; }
.bar { gap: 14px; min-height: 68px; }
.brand { gap: 8px; font-size: 21px; font-weight: 730; letter-spacing: -.065em; text-decoration: none; }
.brand img { width: 31px; height: 31px; object-fit: contain; }
.mast-rule { height: 18px; width: 1px; background: var(--line); }
.mast-title, .contents-button { font-size: 14px; font-weight: 540; }
.mast-title { color: var(--muted); white-space: nowrap; }
.contents-button { gap: 9px; margin-left: auto; background: transparent; border: 1px solid var(--line); padding: 0 15px; min-height: 44px; border-radius: 8px; }
.list-symbol { width: 14px; height: 11px; border-block: 1.7px solid; position: relative; }
.list-symbol::after { content: ""; position: absolute; inset: 3px 0 auto; border-top: 1.7px solid; }
.primary, .secondary, .show-me { display: inline-flex; justify-content: center; gap: 11px; border-radius: 8px; min-height: 46px; padding: 10px 19px; font-size: 15px; font-weight: 650; text-decoration: none; line-height: 1.2; }
.primary, .show-me { background: var(--amber); color: #312816; border: 1px solid #e7a948; }
.secondary { background: var(--white); border: 1px solid var(--line); }
.primary:hover, .show-me:hover { background: #ffcd7d; }
.secondary:hover, .contents-button:hover { background: #ebefe6; }
.play-glyph { width: 0; height: 0; border: 6px solid transparent; border-left: 9px solid currentColor; border-right: 0; }
.edition, .section-id, .chart-label { color: var(--green); font-size: 13px; line-height: 1.35; font-weight: 680; letter-spacing: .025em; }
.edition { gap: 10px; }
.edition-line { width: 27px; height: 2px; background: #588361; }
.cover-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5.4vw, 78px); align-items: center; padding: clamp(40px, 6vw, 88px) 0; }
.cover-type h1 { margin: 20px 0 21px; font-size: clamp(55px, 5.6vw, 82px); font-weight: 700; line-height: .99; letter-spacing: -.067em; }
.cover-type h1 em { color: var(--green); font-style: normal; }
.cover-intro { max-width: 36ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; }
.start { margin-top: 27px; min-height: 50px; padding-inline: 21px; }
.cover-map { position: relative; padding: 23px 29px 17px; border-radius: 17px; background-color: #173c34; background-image: radial-gradient(#60807060 .8px, transparent .95px); background-size: 14px 14px; color: #f3faed; box-shadow: 0 5px 0 #d0dbcc; }
.cover-map figcaption { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 550; color: #d4e7d7; padding-bottom: 12px; }
.map-square { width: 13px; height: 13px; border: 1.5px solid #a8d3b5; box-shadow: inset 3px 0 #a8d3b5; }
.route-row { display: block; padding: 15px 0 13px; border-top: 1px solid #577269; text-decoration: none; }
.route-row:hover strong, .route-row:focus-visible strong { text-decoration: underline; text-underline-offset: 3px; }
.route-heading { justify-content: space-between; gap: 10px; }
.route-heading strong { font: 670 25px/1.15 var(--display); letter-spacing: -.04em; }
.route-heading > span { color: #d5e4d7; font-size: 13px; }
.rail-stops { display: flex; padding-top: 14px; padding-bottom: 9px; }
.stop { flex: 1 1 33%; position: relative; font-size: 13px; line-height: 1.3; color: #e7f2e8; }
.stop::after { content: ""; position: absolute; left: 16px; right: 1px; top: 5px; height: 1px; background: #9bcda9; }
.stop.to-wait::after { background: none; border-top: 1px dashed #91aa9e; }
.stop.last::after { display: none; }
.stop i { display: block; width: 11px; height: 11px; margin: 0 0 6px 2px; background: #b9e9bc; border-radius: 50%; }
.stop.recovered i { border-radius: 2px; background: var(--amber); transform: rotate(45deg); }
.stop.waiting i { background: var(--spruce); border: 1.5px solid #c7d1c0; }
.rail-result { gap: 7px; font-size: 13px; line-height: 1.45; color: #c4e9c5; }
.rail-result.amber { color: #ffd495; }
.rail-sign { width: 15px; text-align: center; font-weight: 700; }
.chapter-index { margin: 0 0 70px; padding-top: 18px; border-top: 1px solid #8e9d90; }
.section-heading { justify-content: space-between; gap: 16px; padding: 6px 0 16px; }
.section-heading h2 { font-size: 33px; letter-spacing: -.045em; }
.section-heading > span { color: var(--muted); font-size: 14px; }
#chapter-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.chapter-link { display: grid; grid-template-columns: 26px 1fr 14px; align-items: center; column-gap: 11px; padding: 13px 2px; min-height: 70px; border-top: 1px solid var(--line); text-decoration: none; }
.chapter-no { font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 650; color: var(--green); }
.chapter-link strong, .chapter-link small { display: block; }
.chapter-link strong { font: 650 20px/1.2 var(--display); letter-spacing: -.028em; }
.chapter-link small { margin-top: 3px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.chapter-link > i { width: 7px; height: 7px; justify-self: center; border-top: 1.5px solid var(--green); border-right: 1.5px solid var(--green); transform: rotate(45deg); }
.chapter-link:hover strong { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.in-chapter #main { padding-bottom: calc(103px + env(safe-area-inset-bottom)); }
.chapter-head { padding-top: 30px; }
.chapter-head h1 { margin: 6px 0 12px; font-size: clamp(38px, 4.3vw, 59px); letter-spacing: -.055em; }
.section-lead { max-width: 65ch; margin: 10px 0 21px; color: var(--muted); font-size: 18px; }
.mode-line { display: flex; gap: 16px; align-items: center; }
.mode-line > span { font-size: 14px; color: var(--muted); }
.choices { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 11px; background: #e9ede5; }
.choice { display: grid; place-items: center; min-height: 44px; padding: 6px 17px; border-radius: 7px; text-decoration: none; font-size: 15px; font-weight: 620; }
.choice[aria-current="true"] { background: var(--spruce); color: white; }
.choice:not([aria-current]):hover { background: var(--white); }
.step-tabs { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); border-bottom: 1px solid var(--line); margin: 20px 0 24px; }
.step-tabs a { display: flex; gap: 9px; align-items: center; min-height: 51px; padding: 6px 5px 9px; font-size: 15px; font-weight: 550; text-decoration: none; border-bottom: 3px solid transparent; color: var(--muted); }
.step-tabs i, .runner-node i, .trial-list i { display: inline-grid; place-items: center; font-size: 13px; line-height: 1; font-style: normal; font-weight: 650; font-variant-numeric: tabular-nums; }
.step-tabs i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid #a1afa1; }
.step-tabs a[aria-current] { border-bottom-color: var(--spruce); color: var(--spruce); font-weight: 700; }
.step-tabs a[aria-current] i { background: var(--spruce); color: white; border-color: var(--spruce); }
.step-tabs a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.lesson-grid, .study-grid, .lower-grid, .capture-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(24px, 4.4vw, 62px); align-items: start; }
.lesson-copy { padding: 10px 0; }
.lesson-copy h2, .study-copy h2, .trial-card h2 { font-size: clamp(32px, 3.2vw, 47px); letter-spacing: -.047em; margin: 9px 0 15px; }
.holder { display: flex; flex-wrap: wrap; gap: 3px 8px; align-items: baseline; font-size: 15px; font-weight: 630; line-height: 1.4; }
.holder > span { color: var(--muted); font-size: 13px; font-weight: 540; }
.lesson-intro { margin-top: 17px; max-width: 49ch; color: var(--muted); line-height: 1.55; }
.player, .runner-chart, .test-strip, .evidence-card, .trial-card { border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.player { overflow: hidden; box-shadow: 0 3px 0 #dae0d6; }
.player-top { justify-content: space-between; gap: 12px; padding: 11px 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 560; }
.player-label { display: inline-flex; gap: 7px; align-items: center; color: var(--ink); }
.player-label i { height: 9px; width: 9px; border: 2px solid var(--green); }
.stage { background-color: #ecf1e7; background-image: linear-gradient(#7f9d7c19 1px, transparent 1px), linear-gradient(90deg,#7f9d7c19 1px, transparent 1px); background-size: 16px 16px; }
.art-frame { min-height: 206px; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; padding: 15px 18px; }
.pair { width: min(100%, 422px); display: grid; grid-template-columns: minmax(0,1fr) 42px minmax(0,1fr); align-items: center; }
.paper { border: 1px solid #94a596; border-radius: 8px; padding: 12px; background: #fffdf7; box-shadow: 0 3px 0 #d1d9cb; min-height: 88px; display: grid; align-content: center; gap: 5px; }
.paper small, .offer-label small, .speech small, .desk-device span, .phone-device span, .capture-title, .receipt-head, .test-line small { font-size: 13px; line-height: 1.35; color: var(--muted); font-weight: 560; }
.paper strong { font: 650 clamp(17px, 1.65vw, 23px)/1.15 var(--display); letter-spacing: -.035em; }
.lit { border-color: #54856b; background: #f2f9e9; }
.alert { border-color: #b06532; background: #fff0d8; }
.bridge { position: relative; height: 1px; background: #7a9784; }
.bridge i { position: absolute; width: 12px; height: 10px; top: -5px; background: var(--amber); border: 1px solid #915e27; border-radius: 2px; transform: translateX(-50%); }
.frame-1 .bridge i { left: 15%; }
.frame-2 .bridge i { left: 50%; animation: pass-mid .38s ease-out; }
.frame-3 .bridge i { left: 85%; animation: pass-end .38s ease-out; }
@keyframes pass-mid { from {left:15%;} }
@keyframes pass-end { from {left:50%;} }
.chip { display: inline-flex; align-items: center; max-width: 100%; width: fit-content; gap: 6px; padding: 4px 9px; border: 1px solid #b7c5b3; border-radius: 6px; font-size: 13px; line-height: 1.35; font-weight: 600; background: #f7faf4; }
.chip::before { content: ""; flex: 0 0 7px; height: 7px; border: 1.5px solid currentColor; }
.chip.ok { color: #285a3e; background: #e1f0dd; border-color: #b3cfb3; }
.chip.ok::before { background: #4f825a; border-color: #4f825a; border-radius: 50%; }
.chip.hold { color: #763d17; background: #fff0d7; border-color: #e5bc91; }
.chip.hold::before { border-color: #9e5c26; background: #bd7638; transform: rotate(45deg); }
.chip.planned { color: #2e536e; background: #e9f0f7; border-color: #b6cad9; }
.offer-map, .file-board, .receipt { width: min(100%, 350px); }
.offer-label, .offer-row { display: grid; grid-template-columns: minmax(0,1fr) 35px minmax(0,1fr); gap: 4px; align-items: center; }
.offer-label small:last-child { grid-column: 3; }
.offer-label { margin-bottom: 4px; }
.offer-row { margin-top: 4px; }
.offer-row b { background: #fafbf5; border: 1px solid #acb9a9; border-radius: 5px; padding: 3px 7px; font-size: 14px; font-weight: 560; }
.offer-row i { height: 1px; border-top: 1px dashed #869a86; position: relative; }
.offer-row.drawn i { border-top: 2px solid #65916e; }
.offer-row.drawn i::after { content: ""; position: absolute; right: 0; top: -4px; width: 6px; height: 6px; border-radius: 50%; background: #477552; }
.offer-row.drawn b:last-child { color: #224b35; background: #deedda; border-color: #96b599; }
.visitor { display: grid; width: min(100%, 342px); gap: 10px; }
.speech { padding: 8px 12px; border-radius: 11px; line-height: 1.35; font-size: 14px; }
.speech.ask { margin-left: 18%; justify-self: end; border-bottom-right-radius: 3px; background: var(--spruce); color: white; }
.speech.reply { display: grid; justify-self: start; gap: 3px; border: 1px solid #a9baa8; background: var(--white); border-bottom-left-radius: 3px; max-width: 86%; }
.speech.reply strong { font: 650 20px/1.1 var(--display); }
.file-board, .receipt { background: var(--white); border: 1px solid #a9b8a8; border-radius: 7px; box-shadow: 0 3px 0 #d2dacc; overflow: hidden; }
.file-head, .receipt-head { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid #bdcbb9; }
.file-head { background: #dfebd9; font-size: 14px; }
.folder-icon { width: 18px; height: 11px; border: 1.5px solid var(--green); border-radius: 2px; position: relative; }
.folder-icon::before { content: ""; width: 8px; height: 2px; border: 1px solid var(--green); background: #dfebd9; position: absolute; left: -1px; top: -4px; }
.file-row, .receipt-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 12px; font-size: 14px; border-left: 3px solid transparent; }
.file-row b, .receipt-row strong { font-weight: 610; }
.file-row.selected, .receipt-row.selected { background: #f8e8c5; border-left-color: #aa732f; }
.devices { display: flex; align-items: end; justify-content: center; gap: 14px; width: 100%; padding-bottom: 7px; }
.desk-device, .phone-device { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 3px; background: var(--white); box-shadow: 0 3px 0 #bdcfbf; border: 2px solid #416557; }
.desk-device { width: 60%; max-width: 220px; height: 95px; border-radius: 7px; padding: 8px; }
.desk-device::before { content: ""; position: absolute; inset: 6px 6px auto; border-top: 1px solid #c5d3c5; }
.desk-device::after { content: ""; bottom: -9px; left: 33%; right: 33%; height: 5px; border-bottom: 2px solid #416557; position: absolute; }
.phone-device { width: 24%; max-width: 74px; height: 94px; padding: 5px; border-radius: 10px; margin-bottom: -4px; }
.phone-device i { width: 16px; height: 3px; background: #547367; position: absolute; top: 4px; border-radius: 2px; }
.devices b { font: 650 17px/1.1 var(--display); color: #2f5f43; }
.receipt { width: min(100%, 292px); padding-bottom: 5px; }
.receipt-head { font-weight: 650; border-bottom-style: dashed; color: var(--ink); }
.receipt-icon { width: 12px; height: 14px; border: 1px solid #55775e; border-radius: 2px; background: repeating-linear-gradient(0deg,transparent 0 3px,#9fac99 3px 4px); }
.mini-proof { width: min(100%, 305px); border: 1px solid #a2aea1; border-radius: 8px; overflow: hidden; background: var(--white); }
.capture-title { padding: 4px 9px; }
.capture { position: relative; width: 100%; aspect-ratio: 344 / 101; background: #242133; overflow: hidden; }
.capture.with-photo { aspect-ratio: 344 / 119; }
.capture img { position: absolute; bottom: 0; left: 0; width: 100%; height: auto; display: block; }
.play-row { gap: 6px; justify-content: space-between; padding: 6px 12px; border-block: 1px solid var(--line); }
.beat-tabs { display: inline-flex; }
.beat-tabs button { border: 0; border-radius: 5px; background: transparent; font-size: 14px; min-height: 44px; padding: 5px 10px; font-weight: 540; }
.beat-tabs button[aria-pressed="true"] { background: #e3ebde; font-weight: 680; color: #234b36; }
.beat-tabs button:hover { text-decoration: underline; text-underline-offset: 3px; }
.show-me { min-height: 44px; padding: 8px 12px; gap: 8px; font-size: 14px; flex: 0 0 auto; }
.show-me .play-glyph { border-width: 5px 0 5px 8px; }
.show-me.playing .play-glyph { width: 10px; height: 12px; border: 0; border-inline: 3px solid currentColor; }
.player figcaption { position: relative; font-size: 16px; line-height: 1.45; padding: 13px 18px 16px 26px; min-height: 70px; }
.player figcaption::before { content: ""; position: absolute; left: 14px; top: 17px; width: 3px; height: 15px; background: #7b9d77; }
.lower-grid { grid-template-columns: 1fr 1fr; margin-top: 24px; gap: 18px; }
.info, .aside-note { background: #f0f2ea; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.info summary { display: flex; list-style: none; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 16px; min-height: 48px; cursor: pointer; font-weight: 620; }
.info summary::-webkit-details-marker { display: none; }
.info summary::after { content: "+"; font: 400 22px/1 var(--body); color: var(--green); }
.info[open] summary::after { content: "−"; }
.info dl { padding: 0 16px 12px; }
.facts > div, .version-info dl > div { border-top: 1px solid #d1d9cd; padding: 8px 0; }
.facts dt, .version-info dt, .trial-facts dt { color: var(--muted); font-size: 13px; font-weight: 630; }
.facts dd, .version-info dd, .trial-facts dd { margin-top: 2px; }
code { font: .86em ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.text-link, .home-link { display: inline-flex; align-items: center; min-height: 44px; color: #285f43; font-weight: 630; text-underline-offset: 3px; font-size: 15px; }
.text-link { padding: 7px 2px; }
.study-grid { grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: center; margin-top: 18px; gap: clamp(24px, 4.2vw, 54px); }
.study-copy p { margin: 10px 0; }
.study-copy p:last-child { margin-bottom: 0; }
.observed { color: var(--muted); }
.runner-chart, .test-strip { padding: 20px; background: #eef2e8; }
.runner-feed { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(26px,.4fr) minmax(65px,.8fr); align-items: center; margin: 17px 0; }
.runner-feed nav { display: grid; gap: 6px; }
.runner-node { display: flex; gap: 8px; align-items: center; min-height: 45px; padding: 6px 10px; border: 1px solid #aab9a8; background: var(--white); border-radius: 6px; font-size: 15px; line-height: 1.25; text-decoration: none; font-weight: 570; }
.runner-node i { width: 18px; height: 18px; border: 1px solid #96a994; color: #34573d; border-radius: 50%; flex: 0 0 18px; }
.runner-node.designed { border-style: dashed; }
.runner-node[aria-current] { background: var(--spruce); color: white; border-color: var(--spruce); }
.runner-node[aria-current] i { color: #dcf0dd; border-color: #a9c3ad; }
.merge-wire { height: 103px; position: relative; }
.merge-wire::before { content: ""; position: absolute; left: 55%; top: 0; bottom: 0; border-left: 1px solid #79947c; }
.merge-wire i { position: absolute; left: 0; width: 55%; border-top: 1px solid #79947c; }
.merge-wire i:nth-child(1) { top: 0; }
.merge-wire i:nth-child(2) { top: 50%; width: 100%; }
.merge-wire i:nth-child(3) { bottom: 0; border-top-style: dashed; }
.one-job { display: grid; place-items: center; min-height: 49px; padding: 8px; background: #d7e7d1; color: #2c593b; border: 1px solid #96b298; border-radius: 6px; font: 640 17px/1.15 var(--display); text-align: center; }
.chart-caption { font-size: 14px; color: var(--muted); }
.aside-note { padding: 16px 18px; }
.aside-note h3 { margin-bottom: 8px; font-size: 23px; letter-spacing: -.03em; }
.aside-note ol { margin: 0; padding-left: 20px; }
.aside-note li + li { margin-top: 5px; }
.evidence-grid { margin-top: 22px; }
.test-strip .chart-label { margin-bottom: 12px; }
.test-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.test-line:last-child { padding-bottom: 2px; }
.test-line strong, .test-line small { display: block; }
.test-line strong { font-size: 15px; margin-top: 2px; }
.test-line .chip { flex-shrink: 0; }
.capture-grid { grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 16px; }
.evidence-card { padding: 18px; }
.evidence-card h2 { font-size: 28px; letter-spacing: -.04em; margin: 10px 0 13px; }
.evidence-card .capture { max-width: 400px; border-radius: 6px; }
.evidence-card figcaption { margin-top: 12px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.roadmap { align-items: start; grid-template-columns: minmax(0,.74fr) minmax(0,1.26fr); }
.trial-list { display: grid; }
.trial-list a { display: flex; gap: 13px; align-items: center; padding: 13px 6px; text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 570; }
.trial-list i { width: 35px; height: 35px; flex: 0 0 35px; border-radius: 50%; background: #e6ebe1; color: var(--muted); border: 1px solid #bdcabc; }
.trial-list a[aria-current] { color: var(--spruce); font-weight: 710; }
.trial-list a[aria-current] i { background: var(--spruce); border-color: var(--spruce); color: white; }
.trial-list a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.trial-card { padding: 22px 24px; }
.trial-card h2 { margin-top: 6px; }
.trial-facts { margin-top: 13px; }
.trial-facts > div { padding: 9px 0; border-top: 1px solid var(--line); }
.trial-facts .pass { background: #e7f0e1; border: 1px solid #bccfb8; border-radius: 7px; padding: 10px 12px; margin-top: 5px; }
.pass dt { color: #31563f; }
.trial-status { margin-top: 12px; color: var(--muted); font-size: 14px; }
.rollout-why > div { padding: 0 16px 14px; max-width: 80ch; }
.rollout-why p + p { margin-top: 7px; }
.overview-flow { margin-top: 12px; }
.lane-columns, .lane-pair { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; margin-inline: 14px; }
.lane-columns { font-size: 13px; font-weight: 700; }
.lane-columns span { padding: 6px 8px; border-bottom: 2px solid var(--green); color: var(--green); }
.lane-columns span:last-child { border-color: var(--blue); color: var(--blue); }
.lane-pair a { position: relative; display: flex; align-items: baseline; gap: 8px; padding: 9px 5px; min-height: 44px; font-size: 15px; line-height: 1.4; text-decoration: none; }
.lane-pair a:hover span { text-decoration: underline; }
.lane-pair a::before { content: ""; position: absolute; top: 10px; bottom: -12px; left: 13px; width: 1px; background: #aabca6; }
.lane-pair:has(+ .return-path) a::before { display: none; }
.lane-pair i { position: relative; flex: 0 0 18px; text-align: center; border-radius: 50%; font-size: 12px; font-weight: 650; font-style: normal; background: #d6e3cf; border: 1px solid #9fb79f; color: var(--spruce); }
.lane-pair a:last-child i { background: #dce9f0; border-color: #a5b7c5; color: var(--blue); }
.return-path { margin: 5px 14px 14px; padding: 9px 11px; border: 1px dashed #8daa9c; border-radius: 6px; font-size: 14px; background: var(--white); }
.return-path b { display: block; color: var(--spruce); }
.pager { position: fixed; z-index: 3; bottom: 0; inset-inline: 0; border-top: 1px solid #b9c7b8; background: #f7f7f2fa; padding-bottom: env(safe-area-inset-bottom); }
.pager-inner { justify-content: space-between; gap: 8px; min-height: 65px; }
.pager-inner a { min-width: 76px; }
#location-text { font-size: 14px; color: var(--muted); font-weight: 560; }
dialog { width: min(490px, calc(100% - 24px)); padding: 20px; border: 1px solid #aab7a9; border-radius: 14px; background: var(--paper); color: var(--ink); max-height: 88vh; max-height: 88dvh; }
dialog::backdrop { background: #0f251fe0; }
.dialog-title { justify-content: space-between; margin-bottom: 5px; }
.dialog-title h2 { font-size: 35px; letter-spacing: -.04em; }
.home-link { margin-bottom: 2px; }
@media (max-width: 880px) {
  .wrap { width: calc(100% - 44px); }
  .cover-grid { gap: 25px; }
  .cover-type h1 { font-size: clamp(46px, 6.6vw, 60px); }
  .cover-map { padding-inline: 20px; }
  .lesson-grid { gap: 22px; grid-template-columns: minmax(0,.77fr) minmax(0,1.23fr); }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .bar { min-height: 58px; gap: 9px; }
  .brand { font-size: 20px; }
  .brand img { width: 28px; height: 28px; }
  .mast-title { font-size: 13px; }
  .contents-button { padding-inline: 11px; }
  .cover-grid { grid-template-columns: 1fr; gap: 25px; padding: 28px 0; }
  .cover-type h1 { font-size: clamp(48px, 11.4vw, 67px); margin: 11px 0 13px; }
  .cover-intro { max-width: 42ch; font-size: 17px; }
  .start { margin-top: 17px; min-height: 47px; }
  .cover-map { padding: 15px 18px 7px; }
  .cover-map figcaption { padding-bottom: 8px; }
  .route-row { padding: 10px 0 11px; }
  .route-heading strong { font-size: 22px; }
  .rail-stops { padding-top: 9px; padding-bottom: 5px; }
  .rail-result { font-size: 13px; }
  #chapter-list { grid-template-columns: 1fr; }
  .chapter-index { margin-bottom: 35px; }
  .section-heading { padding: 0 0 13px; }
  .section-heading h2 { font-size: 28px; }
  .chapter-head { padding-top: 17px; }
  .chapter-head h1 { font-size: clamp(35px, 8.2vw, 46px); margin: 4px 0 10px; }
  .mode-line { gap: 10px; }
  .mode-line > span { font-size: 13px; line-height: 1.3; }
  .choice { font-size: 14px; padding-inline: 13px; }
  .step-tabs { margin: 9px 0 14px; }
  .step-tabs a { flex-direction: column; justify-content: center; gap: 3px; padding: 4px 0 5px; font-size: 13px; line-height: 1.15; min-height: 49px; }
  .step-tabs i { width: 19px; height: 19px; font-size: 12px; }
  .lesson-grid, .lower-grid, .study-grid, .capture-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .lesson-copy { padding: 0; }
  .lesson-copy h2 { margin: 3px 0 6px; font-size: clamp(27px, 6.5vw, 35px); }
  .lesson-intro { display: none; }
  .holder { font-size: 14px; }
  .player-top { padding: 7px 12px; }
  .art-frame { min-height: 174px; padding: 12px 13px; gap: 8px; }
  .pair { grid-template-columns: minmax(0,1fr) 29px minmax(0,1fr); }
  .paper { padding: 10px; min-height: 78px; }
  .play-row { padding: 4px 8px; }
  .beat-tabs button { padding-inline: 8px; }
  .player figcaption { font-size: 15px; min-height: 63px; padding: 10px 13px 12px 22px; }
  .player figcaption::before { left: 11px; top: 13px; }
  .lower-grid { gap: 9px; margin-top: 15px; }
  .section-lead { font-size: 16px; margin: 8px 0 13px; }
  .study-grid { margin-top: 14px; }
  .study-copy h2, .trial-card h2 { font-size: 31px; margin: 7px 0 9px; }
  .runner-chart, .test-strip, .trial-card, .evidence-card { padding: 15px; }
  .runner-feed { margin-block: 12px; }
  .evidence-card h2 { font-size: 25px; margin: 6px 0 10px; }
  .evidence-card figcaption { margin-top: 8px; }
  .trial-list { gap: 0; }
  .trial-list a { padding: 6px 2px; min-height: 45px; gap: 10px; font-size: 15px; }
  .trial-list i { width: 29px; height: 29px; flex-basis: 29px; }
  .pager-inner { min-height: 60px; }
}
@media (max-width: 365px) {
  .wrap { width: calc(100% - 24px); }
  .mast-title, .mast-rule { display: none; }
  .cover-type h1 { font-size: 47px; }
  .contents-button { font-size: 14px; }
  .mode-line { gap: 8px; }
  .choice { padding-inline: 10px; }
  .paper { padding-inline: 7px; }
  .beat-tabs button { padding-inline: 6px; }
  .show-me { padding-inline: 9px; }
  .test-line { gap: 6px; }
  .runner-node { padding-inline: 6px; font-size: 14px; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
