/* The manual, journal and release archive use the same type and controls as the product. */
.collection, .reading-shell, .history-shell { padding-block: clamp(18px, 2.2vw, 32px) clamp(27px, 3.8vw, 56px); }
main .breadcrumbs { margin-block: 0 clamp(20px, 2vw, 30px); }
main :is(h1,h2,h3,p,figure,fieldset,ol,ul) { margin: 0; }
main :is(h1,h2,h3) { color: var(--ink); text-wrap: pretty; overflow-wrap: break-word; }
main h1, .journal-feature h2, .buffer-layout h2, .tour-access h2, .chapter-head h2 {
  font: 680 clamp(2.7rem, 5.3vw, 5rem)/.99 var(--display);
  letter-spacing: -.037em;
}
main a { text-underline-offset: .2em; }
main :is(img,svg) { max-width: 100%; }
main img { display: block; height: auto; }
.collection :is(header p,.manual-list p,.journal-list p), .reading-lead, .history-head p, .tour-intro p {
  color: var(--secondary); line-height: 1.5;
}
.collection :is(header p,.manual-list p,.journal-list p) { margin-top: .45em; }
.manual-list, .journal-list, .story-index ul, .article-related ul, .history-index ol { padding: 0; list-style: none; }
.handbook-capture figcaption, .article-body figcaption, .tour-capture figcaption {
  margin-top: .6rem; color: var(--secondary); font-size: .83rem; line-height: 1.5;
}
main figcaption a, .reading-shell .article-body a, .chapter-link, .catalogue-link, .error-content nav > a:not(.button) { color: var(--rust); }
main figure > a { display: block; width: fit-content; max-width: 100%; cursor: zoom-in; }
main figure img { max-width: 100%; }

/* A native capture accompanies the manual; all four destinations stay together in reading order. */
.handbook-head { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); align-items: end; gap: 10px clamp(20px,4vw,60px); padding-bottom: clamp(18px,2.4vw,34px); }
.handbook-head h1 { font-size: clamp(2.4rem,4.4vw,4.05rem); line-height: 1.04; }
.handbook-head p { margin: 0; max-width: 54ch; font-size: 1.02rem; }
.handbook-directory { display: grid; align-items: start; gap: 20px clamp(26px,3vw,48px); border-block-start: 2px solid var(--ink); }
.handbook-capture { width: min(100%, 668px); }
.handbook-capture > a { display: block; cursor: zoom-in; text-decoration: none; }
.handbook-capture #capture-action { color: var(--rust); text-decoration: underline; text-underline-offset: .2em; }
.handbook-capture img, .tour-capture img, .article-body figure img { border: 1px solid var(--rule); border-radius: 4px; background: white; }
.handbook-capture img { width: 100%; }
.handbook-capture figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 3px 14px; flex-wrap: wrap; }
.manual-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 clamp(16px,2.4vw,34px); }
.manual-list li { border-bottom: 1px solid var(--rule); }
.journal-list li + li { border-top: 1px solid var(--rule); }
.manual-list a, .journal-list a, .article-related a { color: var(--ink); text-decoration: none; }
.manual-list a { display: grid; grid-template-columns: 2rem minmax(0,1fr) 1rem; gap: clamp(8px,1.1vw,16px); align-items: start; padding-block: clamp(13px,1.2vw,20px); }
.task-icon { display: grid; place-items: center; width: 31px; height: 31px; color: var(--rust); background: #ffede6; border-radius: 4px; }
.task-icon .icon { width: 19px; height: 19px; }
.manual-list h2, .journal-list h2 { font: 660 clamp(1.13rem,1.5vw,1.4rem)/1.24 var(--sans); letter-spacing: -.016em; }
.manual-list p, .journal-list p { max-width: 73ch; font-size: .96rem; }
.manual-list a > .icon, .journal-list a > .icon, .article-related a > .icon { margin-top: .28rem; color: var(--rust); }
:is(.manual-list,.journal-list) a:is(:hover,:focus-visible) h2, .article-related a:is(:hover,:focus-visible) span { color: var(--rust); text-decoration: underline; text-underline-offset: .16em; }
@media (min-width: 1150px) {
  .handbook-directory { grid-template-columns: minmax(0,2fr) minmax(0,.85fr); }
  .handbook-capture { padding-top: clamp(16px,1.6vw,24px); }
}

/* The leading report keeps its actual Windows observations alongside the story. */
.journal-head, .history-head { display: flex; align-items: end; justify-content: space-between; gap: 16px 30px; }
.journal-head p { max-width: 66ch; }
.feed-action, .catalogue-link { display: inline-flex; min-height: 40px; align-items: center; font-size: .9rem; font-weight: 650; color: var(--rust); }
.journal-feature { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); margin-block: clamp(20px,2.4vw,36px) 20px; background: var(--night); color: var(--dark-ink); border-radius: 5px; overflow: hidden; }
.feature-copy, .bench-chart { min-width: 0; padding: clamp(20px,2.8vw,42px); }
.feature-copy { align-self: center; }
.journal-feature time, .journal-list time, .history-entry time, .section-kicker { font-size: .84rem; font-variant-numeric: tabular-nums; }
.journal-feature :focus-visible, .manifest :focus-visible, .tour-access :focus-visible { outline-color: var(--dark-accent); }
.journal-feature time { color: var(--dark-secondary); }
.journal-feature h2 { margin-top: .6rem; color: var(--dark-ink); font-size: clamp(2rem,3.35vw,3rem); line-height: 1.05; }
.journal-feature h2 a { color: inherit; text-decoration: none; }
.journal-feature h2 a:is(:hover,:focus-visible) { text-decoration: underline; text-decoration-thickness: .055em; }
.journal-feature .feature-copy p { margin-block: .8rem 1rem; color: var(--dark-ink); line-height: 1.55; }
.report-link { display: inline-flex; align-items: center; gap: .55rem; min-height: 36px; color: var(--dark-accent); font-weight: 660; }
.bench-chart { align-self: stretch; display: grid; align-items: center; background: var(--dark-toolbar); }
.bench-chart table, .story-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.bench-chart table { table-layout: fixed; }
.bench-chart caption, .story-table caption { text-align: start; font: 630 1.06rem/1.35 var(--sans); padding-bottom: 12px; }
.bench-chart th, .bench-chart td { padding: 8px 5px; text-align: start; line-height: 1.28; overflow-wrap: anywhere; }
.bench-chart thead th { color: var(--dark-secondary); font-size: .78rem; font-weight: 560; }
.bench-chart tbody :is(td,th) { border-top: 1px solid var(--dark-line); }
.bench-chart tbody th { font-size: .86rem; font-weight: 600; }
.bench-chart tbody td { font: .81rem/1.35 ui-monospace, Consolas, monospace; }
.bench-chart :is(th,td):last-child { width: 21%; text-align: end; }
.bench-chart meter { display: block; width: 100%; height: 7px; margin-bottom: 5px; border: 0; background: var(--dark-line); accent-color: #ff7850; }
.bench-chart meter::-webkit-meter-bar { height: 7px; border: 0; border-radius: 0; background: var(--dark-line); }
.bench-chart meter::-webkit-meter-optimum-value { background: #ff7850; }
.bench-chart meter::-moz-meter-bar { background: #ff7850; }
.journal-list { border-block: 1px solid var(--rule); }
.journal-list a { display: grid; grid-template-columns: minmax(110px,.3fr) minmax(0,1.7fr) 16px; align-items: baseline; gap: 12px 24px; padding-block: clamp(16px,1.8vw,26px); }
.journal-list time { color: var(--secondary); }

/* The reader pairs each task with its own capture and each experiment with its evidence. */
.article-head { display: grid; align-items: end; grid-template-columns: minmax(0,1.16fr) minmax(0,.84fr); gap: 20px clamp(32px,5vw,80px); }
.article-head h1 { font-size: clamp(2.55rem,4.7vw,4.55rem); line-height: 1.03; }
.reading-lead { max-width: 62ch; font-size: clamp(1rem,1.35vw,1.16rem); }
.section-kicker { display: block; margin-top: .8rem; color: var(--secondary); }
.story-index { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px clamp(14px,2.5vw,35px); margin-block: clamp(18px,2.4vw,32px) clamp(17px,2vw,27px); padding: 10px 0; border-block: 1px solid var(--rule); }
.story-index h2 { font: 680 .93rem/1.4 var(--sans); }
.story-index ul { display: flex; flex-wrap: wrap; gap: 1px 18px; }
.story-index a { display: inline-block; padding-block: 3px; color: var(--rust); font-size: .9rem; }
.article-body { font-size: clamp(1rem,1.13vw,1.08rem); line-height: 1.62; }
.article-body p, .article-body ol, .article-body ul { max-width: 75ch; }
.article-body p + p, .article-body :is(ol,ul) { margin-top: .8em; }
.article-body li + li { margin-top: .55em; }
.article-body :is(ol,ul) { padding-inline-start: 1.5em; }
.article-body li::marker { color: var(--rust); font-weight: 700; }
.article-body h2 { margin: 1.13em 0 .45em; font: 660 clamp(1.5rem,2.25vw,2.15rem)/1.12 var(--display); letter-spacing: -.022em; scroll-margin-block: 20px; }
.article-body :first-child:is(h2), .story-pair > h2, .story-columns section > h2 { margin-top: 0; }
.article-body :is(code,kbd) { padding: .07em .29em; border: 1px solid var(--rule); border-radius: 3px; background: var(--light); color: var(--ink); font: .86em/1.3 ui-monospace,Consolas,monospace; overflow-wrap: anywhere; }
.article-body figure { width: fit-content; max-width: 100%; }
.article-body figcaption { width: 0; min-width: 100%; }
.story-body > div + *, .story-body > section + * { padding-block-start: clamp(20px,2.6vw,36px); }
.story-table { max-width: 100%; overflow-x: auto; }
.story-table :is(td,th) { padding: .62rem .7rem; border-bottom: 1px solid var(--rule); text-align: start; vertical-align: top; font-size: .92rem; line-height: 1.48; hyphens: auto; overflow-wrap: anywhere; }
.story-table thead { background: var(--light); }
.story-table tbody th { font-weight: 620; }
.story-table + p, .story-record figure + p { margin-top: .8em; }
.guide-spread, .story-pair, .story-columns { display: grid; gap: 17px clamp(32px,4.3vw,65px); align-items: start; }
.guide-spread > *, .story-pair > *, .story-columns > * { min-width: 0; }
.guide-body > * + * { margin-top: clamp(20px,2.4vw,36px); }
.guide-text h2 { margin-top: 0; }
.article-related { margin-top: clamp(25px,3vw,44px); border-top: 2px solid var(--ink); padding-top: 12px; }
.article-related h2 { margin-bottom: 9px; font: 670 1.1rem/1.35 var(--sans); }
.article-related ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 clamp(16px,2vw,31px); }
.article-related a { display: flex; gap: 10px; align-items: baseline; justify-content: space-between; padding-block: 10px; border-top: 1px solid var(--rule); font-weight: 600; line-height: 1.4; }
.article-related .icon { flex: 0 0 16px; }
@media (min-width: 900px) {
  .guide-text { display: grid; grid-template-columns: minmax(0,.56fr) minmax(0,1.44fr); column-gap: clamp(32px,4.3vw,65px); align-items: baseline; }
  .guide-text > div > :first-child { margin-top: 0; }
  .guide-prologue > ol { display: grid; grid-template-columns: repeat(auto-fit,minmax(225px,1fr)); gap: 24px; max-width: none; padding-inline-start: 0; }
  .guide-prologue > ol > li { margin: 0 0 0 1.45em; }
  .guide-spread { grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-areas: "steps capture" "follow capture"; grid-template-rows: max-content 1fr; }
  .guide-instructions { grid-area: steps; }
  .guide-following { grid-area: follow; }
  .guide-spread figure { grid-area: capture; }
  .story-pair { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-areas: "title evidence" "copy evidence"; grid-template-rows: max-content 1fr; row-gap: 0; }
  .story-pair > h2 { grid-area: title; }
  .story-copy { grid-area: copy; }
  .story-record { grid-area: evidence; }
  .story-columns { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .story-columns.columns-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

/* The tour is a working sample: all state and totals respond to native form controls. */
.tour-open { padding-block-start: clamp(18px,2.2vw,32px); }
.tour-layout, .buffer-layout, .storage-layout, .network-layout { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); align-items: start; gap: clamp(24px,4.7vw,72px); }
.tour-intro p { margin-top: 12px; max-width: 48ch; font-size: clamp(1.02rem,1.5vw,1.24rem); }
.tour-layout { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: center; }
.tour-still { position: relative; padding-bottom: 1.65rem; }
.tour-still picture { display: block; }
.tour-still img { width: 100%; }
.tour-zoom { position: absolute; inset: 0; display: flex; justify-content: flex-end; align-items: flex-end; color: var(--rust); cursor: zoom-in; text-decoration: none; }
.tour-zoom span { display: inline-flex; align-items: center; gap: 5px; min-height: 1.65rem; font-size: .79rem; font-weight: 610; }
.tour-zoom:is(:hover,:focus-visible) span { text-decoration: underline; }
.tour-zoom-compact { display: none; }
.tour-player figcaption small { display: block; font-size: .76rem; }
.chapter-nav { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 18px; margin-top: clamp(17px,2vw,28px); padding-block: 9px; border-block: 1px solid var(--rule); }
.chapter-nav h2 { font: 660 .88rem/1.45 var(--sans); }
.chapter-nav > div { display: flex; flex-wrap: wrap; gap: 0 16px; }
.chapter-nav a { width: fit-content; max-width: 100%; padding-block: 4px; color: var(--rust); font-size: .93rem; }
.tour-task { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); align-items: start; gap: clamp(18px,4.7vw,72px); padding-block: clamp(24px,3.5vw,47px); }
.tour-task h2, .tour-controls h2 { font: 660 clamp(1.8rem,3vw,2.65rem)/1.1 var(--display); letter-spacing: -.025em; }
.task-copy h3, .tour-controls h3 { margin-top: .9em; font: 660 1.08rem/1.3 var(--sans); }
.task-copy p, .tour-controls p { max-width: 72ch; margin-top: .36rem; line-height: 1.55; color: var(--secondary); }
.tour-controls { padding-block: clamp(21px,2.5vw,36px); border-top: 1px solid var(--rule); }
.control-topics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 clamp(20px,4.6vw,67px); }
.control-topics > div > div + div { margin-block-start: 1rem; padding-block-start: .82rem; border-top: 1px solid var(--rule); }
.control-topics > div > div + div h3 { margin-top: 0; }
.tour-keyboard { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); align-items: start; gap: 20px clamp(24px,4.7vw,72px); padding-block: clamp(20px,2.4vw,32px); border-top: 1px solid var(--rule); }
.tour-keyboard h2 { margin: 0 0 .6em; font: 660 clamp(1.55rem,2.3vw,2.1rem)/1.12 var(--display); letter-spacing: -.025em; }
.shortcut-list { margin: 0; }
.shortcut-list > div { display: grid; grid-template-columns: minmax(0,1fr) max-content; align-items: baseline; gap: 12px; padding-block: .29rem; border-bottom: 1px solid var(--rule); }
.shortcut-list dt { font-weight: 560; }
.shortcut-list dd { display: flex; align-items: baseline; gap: 4px; margin: 0; }
.shortcut-list kbd, .task-copy kbd { display: inline-block; min-width: 1.65rem; padding: .12em .45em; border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 4px; background: var(--light); color: var(--ink); text-align: center; white-space: nowrap; font: 600 .82rem/1.25 var(--sans); }
.key-join { color: var(--secondary); font-size: .8rem; }
.player-preferences { padding-inline-start: clamp(14px,2vw,28px); border-inline-start: 2px solid var(--rule); }
.player-preferences h3 { margin: 0; font: 660 1.08rem/1.32 var(--sans); }
.player-preferences p { max-width: 64ch; margin-top: .33rem; color: var(--secondary); line-height: 1.55; }
.player-preferences > div + div { margin-top: 1rem; }
@media (max-width: 690px) {
  .tour-keyboard { grid-template-columns: 1fr; }
  .player-preferences { padding-inline-start: 0; border: 0; }
}
.tour-task + .storage-chapter { border-top: 1px solid var(--rule); }
.manifest { min-width: 0; border-radius: 6px; background: var(--night); color: var(--dark-ink); overflow: hidden; }
.docket-heading { display: flex; align-items: center; gap: 12px; padding: 18px clamp(15px,2.2vw,30px); border-bottom: 1px solid var(--dark-line); background: var(--dark-toolbar); }
.docket-heading > .icon { width: 30px; height: 30px; color: #ff9774; }
.docket-heading div { min-width: 0; }
.docket-heading div span, .docket-format { color: var(--dark-secondary); font-size: .8rem; }
.docket-heading b { display: block; font: 650 clamp(1.3rem,2.1vw,1.85rem)/1.14 var(--display); }
.docket-format { margin-inline-start: auto; font-family: ui-monospace,Consolas,monospace; }
.manifest-files { min-width: 0; border: 0; padding: 0 clamp(15px,2.2vw,30px); }
.manifest-files legend { float: left; width: 100%; padding: 15px 0 5px; font-size: .88rem; color: var(--dark-secondary); }
.file-list { clear: both; background: var(--dark-field); }
.manifest-row { display: grid; grid-template-columns: 19px minmax(0,1fr) max-content; align-items: center; gap: 11px; min-height: 43px; border-bottom: 1px solid var(--dark-line); cursor: pointer; }
.manifest-row input { margin: 0; width: 17px; height: 17px; accent-color: #ff7953; color-scheme: dark; cursor: pointer; }
.manifest-row:has(:focus-visible) { outline: 2px solid var(--dark-accent); outline-offset: 3px; }
.manifest-row:hover { background: #ffffff10; }
.filename, .file-weight, .manifest-total output, .piece-readout strong { font-family: ui-monospace,Consolas,monospace; font-variant-numeric: tabular-nums; }
.filename { font-size: .95rem; overflow-wrap: anywhere; }
.file-weight { color: var(--dark-secondary); font-size: .82rem; }
.manifest-total, .piece-readout { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.manifest-total { padding-block: 13px 15px; color: var(--dark-secondary); font-size: .88rem; }
.manifest-total output { color: var(--dark-accent); font-size: 1.15rem; }
.manifest-total strong { display: none; }
.manifest-files:not(:has(:checked)) .sum-0,
.manifest-files:has(#sample-file-0:checked):not(:has(#sample-file-1:checked, #sample-file-2:checked)) .sum-1,
.manifest-files:has(#sample-file-1:checked):not(:has(#sample-file-0:checked, #sample-file-2:checked)) .sum-2,
.manifest-files:has(#sample-file-0:checked):has(#sample-file-1:checked):not(:has(#sample-file-2:checked)) .sum-3,
.manifest-files:has(#sample-file-2:checked):not(:has(#sample-file-0:checked, #sample-file-1:checked)) .sum-4,
.manifest-files:has(#sample-file-0:checked):has(#sample-file-2:checked):not(:has(#sample-file-1:checked)) .sum-5,
.manifest-files:has(#sample-file-1:checked):has(#sample-file-2:checked):not(:has(#sample-file-0:checked)) .sum-6,
.manifest-files:has(#sample-file-0:checked):has(#sample-file-1:checked):has(#sample-file-2:checked) .sum-7 { display: inline; }
.buffer-chapter { background: var(--light); }
.buffer-layout, .storage-chapter, .network-chapter { padding-block: clamp(27px,4.1vw,60px); }
.buffer-layout { align-items: center; }
.buffer-layout h2, .chapter-head h2, .tour-access h2 { font-size: clamp(2rem,3.2vw,3rem); line-height: 1.07; }
.buffer-layout > div:first-child p, .network-content p, .storage-notes p, .tour-access p { margin-top: 10px; max-width: 65ch; line-height: 1.54; color: var(--secondary); }
.chapter-link { display: block; width: fit-content; max-width: 100%; font-size: .94rem; font-weight: 630; padding-block: 6px; }
.piece-lab { min-width: 0; padding: clamp(15px,2.25vw,30px); background: white; border: 1px solid var(--rule); border-radius: 5px; }
.piece-choice { min-width: 0; border: 0; padding: 0; }
.piece-choice legend { margin-bottom: 7px; padding: 0; color: var(--secondary); font-size: .84rem; font-weight: 600; }
.piece-choice > div { display: flex; flex-wrap: wrap; gap: 5px; }
.piece-choice label { display: inline-flex; gap: 7px; align-items: center; min-height: 36px; padding: 5px 9px; border: 1px solid var(--rule); border-radius: 4px; font-size: .85rem; cursor: pointer; }
.piece-choice input { accent-color: var(--rust); width: 14px; height: 14px; margin: 0; }
.piece-choice label:has(:checked) { border-color: #a53d27; background: #fff2ec; }
.piece-choice label:has(:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.piece-states { display: grid; }
.piece-result { grid-area: 1 / 1; visibility: hidden; }
.piece-lab:has([value="gap"]:checked) .piece-result.gap, .piece-lab:has([value="filled"]:checked) .piece-result.filled { visibility: visible; }
.piece-readout { margin-block: 17px 7px; font-size: .9rem; }
.piece-readout strong { font-size: 1.48rem; white-space: nowrap; }
.piece-readout small { font-size: .65em; color: var(--secondary); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.target-tiles, .later-tiles { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 3px; }
.tiles i, .tile-legend i { background: repeating-linear-gradient(130deg,var(--light) 0 3px,#ced0c8 3px 4px); border: 1px solid #979b90; border-radius: 2px; }
.tiles i.available, .tile-legend i.available { background: #d64c29; border-color: #b93a1d; }
.tiles i { height: clamp(21px,2.8vw,39px); }
.target-label { width: calc(50% - 6px); margin-top: 4px; padding-top: 3px; border-top: 1px solid var(--rust); color: var(--rust); font-size: .76rem; text-align: center; line-height: 1.2; }
.piece-result p { margin-block: 13px 10px; line-height: 1.48; font-size: .94rem; }
.tile-legend { display: flex; gap: 6px 16px; flex-wrap: wrap; color: var(--secondary); font-size: .8rem; }
.tile-legend span { display: inline-flex; align-items: center; gap: 5px; }
.tile-legend i { width: 11px; height: 11px; }
.chapter-head { display: flex; align-items: center; gap: 12px; margin-bottom: 19px; }
.chapter-head .icon { width: 26px; height: 26px; flex: 0 0 26px; color: var(--rust); }
.storage-notes > div + div { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--rule); }
.storage-notes h3 { font: 660 1.18rem/1.3 var(--sans); }
.network-chapter { border-top: 1px solid var(--rule); }
.network-content p:first-child { margin-top: 0; }
.tour-access { background: var(--night); }
.tour-access > div { padding-block: clamp(27px,3.5vw,48px); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.tour-access h2 { color: var(--dark-ink); }
.tour-access p { color: var(--dark-secondary); }
.tour-access .button { flex-shrink: 0; }

/* Version numbers and dates are navigation, so they remain selectable and linkable. */
.history-head { align-items: center; padding-bottom: clamp(18px,2.3vw,34px); border-bottom: 2px solid var(--ink); }
.history-head p { margin-top: .5rem; }
.history-access { display: grid; justify-items: start; gap: 7px; }
.history-access span { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; color: var(--secondary); }
.history-layout { display: grid; grid-template-columns: minmax(130px,.3fr) minmax(0,1fr); align-items: start; gap: clamp(28px,5vw,74px); }
.history-index { position: sticky; top: 16px; padding-top: 21px; }
.history-index h2 { margin-bottom: 9px; font: 680 1rem/1.3 var(--sans); }
.history-index a { display: block; width: fit-content; min-height: 36px; padding: 7px 8px 7px 0; color: var(--rust); font: .9rem/1.5 ui-monospace,Consolas,monospace; }
.history-entry { padding-block: clamp(18px,2.1vw,30px); border-bottom: 1px solid var(--rule); scroll-margin-top: 14px; }
.history-entry:target { outline: 2px solid var(--rust); outline-offset: 5px; }
.history-entry header, .history-version { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 12px; }
.history-entry header { justify-content: space-between; }
.history-entry h2 { font: 640 clamp(1.65rem,2.7vw,2.5rem)/1.14 var(--display); letter-spacing: .005em; font-variant-numeric: tabular-nums; }
.history-entry h2 a { color: inherit; text-decoration: none; }
.history-entry h2 a:is(:hover,:focus-visible) { text-decoration: underline; }
.history-current { font-size: .82rem; font-weight: 670; color: var(--rust); }
.history-entry time { color: var(--secondary); }
.history-notes { margin-top: 10px; padding-inline-start: 1.2rem; max-width: 80ch; line-height: 1.57; }
.history-notes li + li { margin-top: .45em; }
.history-notes li::marker { color: var(--rust); }
.catalogue-link { margin-top: 10px; }
.error-content { display: grid; grid-template-columns: minmax(135px,.55fr) minmax(0,1fr); align-items: center; gap: clamp(25px,6vw,90px); padding-block: clamp(42px,8vw,105px); }
.error-code { width: fit-content; color: var(--rust); font: 700 clamp(5rem,15vw,13rem)/.87 var(--display); letter-spacing: -.065em; }
.error-content p { margin-block: 14px; color: var(--secondary); }
.error-content nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
@media (max-width: 899px) {
  .article-head { grid-template-columns: 1fr; gap: 11px; }
  .article-dek { max-width: 75ch; }
  .guide-spread, .story-pair, .story-columns { grid-template-columns: 1fr; }
  .story-pair { gap: 9px; }
  .journal-feature h2 { font-size: clamp(1.9rem,4vw,2.35rem); }
}
@media (max-width: 700px) {
  .handbook-head, .manual-list { grid-template-columns: 1fr; }
  .handbook-head h1 { font-size: clamp(2rem,7.8vw,2.6rem); }
  .journal-feature, .tour-layout, .tour-task, .control-topics, .buffer-layout, .storage-layout, .network-layout, .history-layout, .error-content { grid-template-columns: 1fr; }
  .control-topics > div + div { margin-block-start: 1rem; padding-block-start: .82rem; border-top: 1px solid var(--rule); }
  .control-topics > div + div h3:first-child { margin-top: 0; }
  .journal-feature { gap: 0; }
  .journal-head, .history-head { align-items: start; flex-wrap: wrap; }
  .journal-head { gap: 5px 18px; }
  .journal-list a { grid-template-columns: minmax(0,1fr) 16px; column-gap: 9px; row-gap: 4px; }
  .journal-list time { grid-column: 1 / -1; }
  .article-related ul { grid-template-columns: 1fr; }
  .article-related a { min-height: 44px; }
  .history-layout { gap: 1px; }
  .history-index { position: static; padding-top: 15px; }
  .history-index ol { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 13px; }
  .tour-access > div { flex-direction: column; align-items: start; }
  .tour-layout { gap: 17px; }
  .chapter-nav > div { gap: 0 12px; }
}
@media (max-width: 600px) {
  .tour-zoom-wide { display: none; }
  .tour-zoom-compact { display: flex; }
}
@media (max-width: 420px) {
  .manual-list a { grid-template-columns: 24px minmax(0,1fr) 14px; gap: 5px 8px; padding-block: 11px; }
  .manual-list a > div { display: contents; }
  .manual-list h2 { grid-column: 2; grid-row: 1; }
  .manual-list a > .icon { grid-column: 3; grid-row: 1; }
  .manual-list p { grid-column: 1 / -1; margin: 0; }
  .task-icon { width: 24px; height: 25px; }
  .task-icon .icon { width: 16px; height: 16px; }
  .feature-copy, .bench-chart { padding: 16px; }
  .history-access span { flex-wrap: wrap; }
  .target-tiles, .later-tiles { gap: 2px; }
}
:is(:root:lang(hi),:root:lang(ja),:root:lang(zh-Hans)) main :is(h1,h2,h3) { line-height: 1.22; letter-spacing: normal; }
@media (prefers-reduced-motion: no-preference) {
  :is(.manual-list,.article-related,.journal-list) a > .icon { transition: transform .16s ease; }
  :is(.manual-list,.article-related,.journal-list) a:is(:hover,:focus-visible) > .icon { transform: translateX(2px); }
}
@media (forced-colors: active) {
  .tiles i.available, .tile-legend i.available { background: Highlight; border-color: Highlight; forced-color-adjust: none; }
}
@media print {
  .chapter-nav, .history-index, .article-related, .story-index, .tour-access { display: none; }
  .story-pair, .guide-spread, .story-columns, .article-head { display: block; }
  .article-body img { max-height: 19cm; width: auto; }
}
