:root{--font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--radius:8px;color-scheme:light;--paper:#ffffff;--ink:#171717;--muted:#666666;--rule:#e5e5e5;--accent:#171717;--link-rule:#666666;--code-paper:#f5f5f5}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font-sans);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.skip-link{position:absolute;left:-9999px;top:1rem;background:var(--ink);color:var(--paper);padding:.7rem 1rem;z-index:5}.skip-link:focus{left:1rem}.site-header{max-width:1180px;margin:auto;padding:24px 42px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:0}.brand{font-size:.875rem;font-weight:550;letter-spacing:0}.site-header nav{display:flex;gap:30px}.site-header nav a{font-size:.84rem;color:var(--muted)}.site-header nav a:hover,.site-header nav a[aria-current]{color:var(--ink)}main{min-height:62vh;max-width:1180px;margin:auto;padding:0 42px}.eyebrow,.entry-meta{font-size:.78rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:var(--muted)}.hero{padding:96px 0 48px;max-width:900px}.hero h1,.index-intro h1,.reading h1{font-family:var(--font-sans);font-weight:400;letter-spacing:-.035em;line-height:1.06}.hero h1{font-size:clamp(3.4rem,7vw,6.5rem);max-width:950px;margin:26px 0}.hero>p:last-child{font-size:1.16rem;line-height:1.65;color:var(--muted);max-width:590px}.index-section{padding:0 0 94px}.section-heading{display:flex;align-items:baseline;justify-content:space-between;border-bottom:1px solid var(--ink);padding:0 0 15px}.section-heading h2{font-family:var(--font-sans);font-size:2rem;font-weight:400;letter-spacing:-.035em;margin:0}.section-heading>a{font-size:.82rem;color:var(--muted);border-bottom:1px solid var(--muted);padding-bottom:3px}.entry-list{list-style:none;padding:0;margin:0}.entry{display:grid;grid-template-columns:180px minmax(0,1fr);gap:40px;padding:27px 0 30px;border-bottom:1px solid var(--rule)}.entry-meta{display:flex;flex-direction:column;gap:8px;padding-top:5px}.entry-meta time{font-weight:400;letter-spacing:.06em;text-transform:none}.entry-copy h2,.entry-copy h3{font-family:var(--font-sans);font-size:1.75rem;font-weight:400;letter-spacing:-.025em;line-height:1.22;margin:0}.entry-copy p{font-size:.96rem;line-height:1.58;color:var(--muted);max-width:660px;margin:10px 0 0}.empty{padding:35px 0;color:var(--muted)}.index-intro{padding:95px 0 77px;max-width:760px}.index-intro h1{font-size:clamp(3.7rem,7vw,6rem);margin:20px 0}.index-intro>p:last-child{font-size:1.2rem;color:var(--muted);line-height:1.6}.reading{max-width:760px;margin:0;padding:30px 0 64px}.reading-header{padding-bottom:12px;border-bottom:0}.reading h1{font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.2;margin:0 0 18px}.standfirst{font-size:1.1rem;line-height:1.62;color:var(--muted);max-width:690px;margin:0}.prose{font-family:var(--font-sans);font-size:1.17rem;line-height:1.78;padding-top:20px;overflow-wrap:anywhere}.prose p{margin:0 0 1.4em}.prose h2,.prose h3{font-weight:400;letter-spacing:-.03em;line-height:1.25;margin:2.2em 0 .75em}.prose h2{font-size:1.8rem}.prose h3{font-size:1.45rem}.prose a{color:var(--accent);text-decoration:underline;text-decoration-color:var(--link-rule);text-underline-offset:3px}.prose ul,.prose ol{padding-left:1.5em;margin:0 0 1.5em}.prose li{padding-left:.15em;margin:.3em 0}.prose blockquote{border-left:2px solid var(--accent);margin:2em 0;padding:.1em 0 .1em 1.4em;color:var(--muted)}.prose pre{overflow:auto;font-size:.82rem;line-height:1.55;background:var(--code-paper);padding:20px}.prose code{font-size:.86em}.prose img{max-width:100%;height:auto}.table-scroll{overflow-x:auto}.prose table{border-collapse:collapse;min-width:100%}.prose th,.prose td{text-align:left;padding:.6em;border-bottom:1px solid var(--rule)}.record-gallery{margin:48px 0 0}.record-gallery figure{margin:0 0 44px}.record-gallery img{display:block;width:100%;height:auto}.record-gallery figcaption{font: .8rem/1.5 var(--font-sans);color:var(--muted);margin-top:11px}.site-footer{max-width:1180px;margin:auto;padding:24px 42px 32px;border-top:0;display:flex;justify-content:space-between;gap:30px;align-items:baseline}.site-footer a{font-size:.8rem;text-decoration:underline;text-decoration-color:var(--link-rule);text-underline-offset:3px}.site-footer p{font-size:.76rem;color:var(--muted);margin:0;text-align:right}@media(max-width:800px){.site-header,main,.site-footer{padding-left:30px;padding-right:30px}.hero{padding:95px 0 90px}.entry{grid-template-columns:145px minmax(0,1fr);gap:25px}.reading{padding:30px 0 64px}}@media(max-width:600px){.site-header{padding:20px 20px 14px;align-items:flex-start;gap:16px}.site-header nav{gap:15px;flex-wrap:wrap;justify-content:flex-end}.site-header nav a{font-size:.76rem}.brand{font-size:.84rem;white-space:nowrap}main,.site-footer{padding-left:20px;padding-right:20px}.hero{padding:72px 0 72px}.hero h1{font-size:clamp(3rem,12vw,4.6rem);margin:19px 0}.hero>p:last-child{font-size:1rem}.index-section{padding-bottom:72px}.section-heading h2{font-size:1.7rem}.entry{display:block;padding:21px 0 23px}.entry-meta{flex-direction:row;gap:15px;padding:0 0 10px}.entry-copy h2,.entry-copy h3{font-size:1.44rem}.entry-copy p{font-size:.9rem;margin-top:7px}.index-intro{padding:70px 0 52px}.index-intro h1{font-size:3.5rem}.index-intro>p:last-child{font-size:1rem}.reading{padding:24px 0 48px}.reading h1{font-size:1.8rem;margin:0 0 16px}.standfirst{font-size:1.08rem}.prose{font-size:1.07rem;line-height:1.72;padding-top:16px}.site-footer{display:block;padding-top:20px;padding-bottom:28px}.site-footer p{text-align:left;margin-top:20px}}

@media(prefers-color-scheme:dark){:root{color-scheme:dark;--paper:#212121;--ink:#ececec;--muted:#b4b4b4;--rule:#424242;--accent:#ececec;--link-rule:#b4b4b4;--code-paper:#2f2f2f}}

.content-index{list-style:none;margin:0;padding:0;max-width:900px}.content-index li{display:grid;grid-template-columns:1em minmax(0,1fr);gap:12px;align-items:baseline;margin:0 0 24px;list-style:none;counter-increment:none}.content-index li::before,.content-index li::marker{content:none}.topic-icon{color:var(--muted);align-self:start;padding-top:.2em}.topic-icon svg{display:block;width:1.05rem;height:1.05rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.content-index a{font:400 clamp(1.3rem,2.3vw,1.8rem)/1.2 var(--font-sans);letter-spacing:-.025em}.content-index a:hover{text-decoration:underline;text-underline-offset:.17em}@media(max-width:600px){.content-index li{margin-bottom:22px}.hero{padding:62px 0 38px}}

.site-footer .content-disclosure{font-size:.8rem;line-height:1.5;color:var(--muted);border:0;text-decoration:underline;text-decoration-color:var(--link-rule);text-underline-offset:3px}@media(max-width:600px){.site-footer .content-disclosure{display:block;margin-top:12px}}

.prose code,.prose pre{font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace}

.guide-intro{padding:24px 0 32px;max-width:850px}.guide-intro h1{font-size:1.25rem;font-weight:500;line-height:1.5;margin:0 0 16px;max-width:820px}.guide-intro>p{max-width:720px;font-size:1rem;line-height:1.7;color:var(--muted);margin:0 0 22px}.index-jump,.guide-more a{font-size:.9rem;text-decoration:underline;text-decoration-color:var(--link-rule);text-underline-offset:4px}.home-guide{max-width:820px}.guide-theme{margin:0 0 44px}.guide-theme h2{font-size:1.25rem;line-height:1.4;font-weight:550;letter-spacing:-.025em;margin:0 0 14px}.theme-description{font-size:1.02rem;line-height:1.7;max-width:740px;color:var(--muted);margin:0 0 26px}.guide-links{list-style:none;padding:0;margin:0}.guide-links li{display:grid;grid-template-columns:18px minmax(0,1fr);gap:13px;margin:0 0 23px}.guide-links .topic-icon{padding-top:.25em}.guide-title{font-size:1.14rem;line-height:1.4;font-weight:500;letter-spacing:-.01em}.guide-title:hover{text-decoration:underline;text-underline-offset:3px}.guide-links p{font-size:.94rem;line-height:1.6;color:var(--muted);margin:5px 0 0;max-width:680px}.guide-more{margin:0 0 75px}.full-index-intro{padding-top:24px;padding-bottom:32px}.full-index-intro h1{font-size:clamp(1.8rem,3vw,2.5rem);margin:0 0 16px}@media(max-width:600px){.guide-intro{padding:20px 0 28px}.guide-intro h1{font-size:1.125rem;margin:0 0 14px}.guide-intro>p{font-size:1rem;line-height:1.7}.guide-theme{margin-bottom:46px}.guide-theme h2{font-size:1.2rem}.theme-description{font-size:.97rem;margin-bottom:22px}.guide-title{font-size:1.05rem}.guide-links p{font-size:.9rem}.guide-links li{gap:11px;margin-bottom:23px}.guide-more{margin-bottom:55px}}

/* The retained SVG stays readable at touch-target size inside its own scroller. */
.reading[data-ipa-chart]{max-width:1096px}.ipa-chart-scroll{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain;margin:20px 0 36px}.ipa-chart-scroll svg{display:block;width:100%;min-width:1260px;height:auto}.ipa-chart-scroll .background{fill:var(--paper)}.ipa-chart-scroll .panel{fill:var(--paper);stroke:var(--muted)}.ipa-chart-scroll .header-cell,.ipa-chart-scroll .row-label-cell{fill:var(--code-paper)}.ipa-chart-scroll text{fill:var(--ink)}.ipa-chart-scroll .grid,.ipa-chart-scroll .vowel-grid{stroke:var(--muted)}.ipa-chart-scroll .ipa-choice{cursor:pointer}.ipa-chart-scroll .ipa-choice rect{fill:var(--code-paper);stroke:var(--link-rule);stroke-width:1}.ipa-chart-scroll .ipa-choice:hover rect,.ipa-chart-scroll .ipa-choice[aria-pressed="true"] rect{fill:var(--link-rule)}.ipa-chart-scroll .ipa-choice:focus-visible{outline:none}.ipa-chart-scroll .ipa-choice:focus-visible rect{stroke:var(--ink);stroke-width:3}.ipa-status{font-size:1rem;line-height:1.6;min-height:3.2em}.reading[data-ipa-chart] audio{display:block;max-width:100%;margin:0 0 16px}.reading[data-ipa-chart] audio[hidden]{display:none}

.ipa-chart-scroll .chart-sound-cell .ipa-choice:hover text,.ipa-chart-scroll .chart-sound-cell .ipa-choice:focus text,.ipa-chart-scroll .chart-sound-cell .ipa-choice[aria-pressed="true"] text{fill:var(--ink)}

.ipa-chart-scroll .chart-sound-cell{cursor:default}

.site-footer .rss-link,.site-footer .work-link{white-space:nowrap}@media(max-width:600px){.site-footer .work-link,.site-footer .work-link+.rss-link{margin-left:18px}}
.reading[data-record-id="page:/nanopi-r2s-alpine-boot/"] .prose h3{font-size:1.1rem;font-weight:600;letter-spacing:0;margin:1.25em 0 .35em}

/* Narrative discovery stays explicitly authored as the record inventory grows. */
.guide-contents{max-width:820px;display:flex;flex-wrap:wrap;gap:10px 24px;margin:0 0 42px}.guide-contents a{font-size:.85rem;line-height:1.6;text-decoration:underline;text-decoration-color:var(--link-rule);text-underline-offset:3px}.narrative-guide{max-width:780px}.narrative-guide .guide-theme{margin:0 0 58px;scroll-margin-top:24px}.narrative-guide h2{font-size:1.5rem;line-height:1.3;margin:0 0 14px;scroll-margin-top:24px}.narrative-guide .theme-description{margin-bottom:25px}.guide-section{margin:0 0 28px}.guide-section h3{font-size:1.05rem;line-height:1.5;font-weight:600;margin:0 0 12px}.guide-section p{font-size:1.03rem;line-height:1.8;margin:0 0 18px;overflow-wrap:anywhere}.guide-section a{text-decoration:underline;text-decoration-color:var(--link-rule);text-underline-offset:3px}.guide-section a:hover{text-decoration-color:var(--ink)}@media(max-width:600px){.guide-contents{gap:8px 18px;margin-bottom:36px}.narrative-guide h2{font-size:1.35rem}.guide-section p{font-size:1rem;line-height:1.75}.narrative-guide .guide-theme{margin-bottom:46px}}

/* Small evidence figures punctuate the narrative without adding a gallery or runtime. */
.guide-visual{max-width:480px;margin:0 0 30px}.guide-visual>a{display:block}.guide-visual img{display:block;width:100%;height:auto}.guide-visual figcaption{font-size:.8rem;line-height:1.55;color:var(--muted);margin:9px 0 0;max-width:440px}.guide-visual figcaption a{text-decoration:underline;text-decoration-color:var(--link-rule);text-underline-offset:3px}@media(max-width:600px){.guide-visual{max-width:360px;margin-bottom:26px}}

/* Human sitemap uses the shared typography and automatic theme. */
.sitemap{max-width:900px}.sitemap .reading-header p{color:var(--muted);line-height:1.6}.sitemap-group{margin:32px 0}.sitemap-group h2,.sitemap-group summary{font-size:1.1rem;font-weight:550;line-height:1.5}.sitemap-group summary{cursor:pointer}.sitemap-group summary small{margin-left:.6em;color:var(--muted);font-weight:400}.sitemap-group>p{color:var(--muted);line-height:1.6}.sitemap-entries{list-style:none;margin:12px 0;padding:0}.sitemap-entries li{margin:0;padding:7px 0;line-height:1.5}.sitemap-entries a{display:inline-flex;flex-direction:column;max-width:100%;overflow-wrap:anywhere}.sitemap-entries small,.sitemap-status{font-size:.78rem;color:var(--muted)}.sitemap-status{margin-left:1em}.sitemap-group summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}

.sitemap-jumps{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:.85rem;margin:20px 0}.sitemap-jumps a{text-decoration:underline;text-underline-offset:3px}.sitemap-group{scroll-margin-top:24px}

/* Shared quiet interface values; articles retain their larger reading type. */
.site-footer{flex-wrap:wrap;gap:16px 24px}.site-footer a,.site-footer .content-disclosure,.brand{font-size:14px;line-height:1.5}
.prose pre,.skip-link{border-radius:var(--radius)}
.sitemap-group summary{width:fit-content;max-width:100%;padding:8px 12px;border-radius:var(--radius)}
.sitemap-group summary:hover{background:var(--code-paper)}
.ipa-chart-scroll .ipa-choice rect{rx:8px;ry:8px}
.ipa-chart-scroll .ipa-choice:hover rect,.ipa-chart-scroll .ipa-choice[aria-pressed="true"] rect{fill:var(--rule)}
/* Canonical Markdown values become labeled specimens only in the design article. */
.interface-value{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.interface-swatch{display:inline-block;width:24px;height:24px;border:1px solid var(--muted);border-radius:4px;flex:none}
.interface-space{display:inline-block;height:8px;background:var(--ink);flex:none}
.reading[data-record-id="page:/content-first-design/"] table{font-size:16px;line-height:1.5}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Homepage section navigation: ordinary links with a quiet location state. */
.guide-contents{gap:4px;margin-bottom:36px}
.guide-contents a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;padding:10px 14px;border-radius:var(--radius);font-size:14px;line-height:1.5;color:var(--muted);text-decoration:none;overflow-wrap:anywhere}
.guide-contents a:hover{background:var(--code-paper);color:var(--ink)}
.guide-contents a[aria-current="location"]{background:var(--code-paper);color:var(--ink);font-weight:600}
.guide-contents a:focus-visible{outline:2px solid var(--ink);outline-offset:2px;background:var(--code-paper);color:var(--ink)}

/* Keep the agent reference table readable within its keyboard-scrollable region. */
.reading[data-record-id="page:/agents/"] .table-scroll table{min-width:660px}
.reading[data-record-id="page:/agents/"] .table-scroll code{white-space:nowrap}

/* Shared reading typography follows the homepage guide, including its responsive scale. */
:root{--reading-size:1.03rem;--reading-line:1.8;--reading-title:1.25rem;--reading-section:1.5rem}
.guide-section p,.prose,.standfirst{font-family:var(--font-sans);font-size:var(--reading-size);line-height:var(--reading-line)}
.guide-intro h1,.reading h1,.full-index-intro h1{font-family:var(--font-sans);font-size:var(--reading-title);font-weight:500;line-height:1.5;letter-spacing:-.035em}
.narrative-guide .guide-theme h2,.prose h2{font-size:var(--reading-section);font-weight:550;line-height:1.3;letter-spacing:-.025em}
.prose h3{font-size:1.05rem;font-weight:600;line-height:1.5;letter-spacing:0}
@media(max-width:600px){:root{--reading-size:1rem;--reading-line:1.75;--reading-title:1.125rem;--reading-section:1.35rem}}

/* Quiet home navigation with a full-size touch target and unchanged header spacing. */
.site-header .brand{display:inline-flex;align-items:center;min-width:44px;min-height:44px;margin-block:-11.5px;font-size:13px;line-height:21px;font-weight:400;color:var(--muted)}

/* Keep footer navigation together, with disclosure as a quieter second line. */
.site-footer{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:0}
.footer-links{display:flex;flex-wrap:wrap;gap:0 24px}
.site-footer a,.site-footer .content-disclosure{display:inline-flex;align-items:center;min-height:44px;min-width:44px;margin:0}
.site-footer .work-link,.site-footer .work-link+.rss-link{margin-left:0}
.site-footer .content-disclosure{font-size:13px;color:var(--muted)}
@media(max-width:600px){.footer-links{display:grid;grid-template-columns:repeat(2,max-content);column-gap:24px}}

/* Work index uses the homepage reading scale instead of oversized list titles. */
.work-index-intro>p:last-child{font-size:var(--reading-size);line-height:var(--reading-line)}
.work-index-list .content-index a{font-size:var(--reading-title);line-height:1.5;letter-spacing:0}

/* Historical chronology enhances the canonical, source-linked table. */
/* A quiet workshop: actual drawing output and clearly labeled object sketches. */
.workshop-header{flex-wrap:wrap;gap:12px}.site-header .workshop-nav{gap:4px 18px}.workshop-nav a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-decoration-color:var(--rule);text-underline-offset:4px}
.workshop-intro{padding:26px 0 22px;max-width:730px}.workshop-intro h1{font-size:clamp(1.35rem,2.4vw,1.75rem);line-height:1.4;font-weight:500;letter-spacing:-.025em;margin:0 0 12px}.workshop-intro p{font-size:1rem;line-height:1.7;max-width:640px;margin:0;color:var(--muted)}
.workshop-grid{list-style:none;margin:12px 0 48px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 24px}.workshop-piece{min-width:0}.workshop-object{display:block}.workshop-visual{margin:0 0 14px}.workshop-visual img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}.workshop-visual figcaption{margin:4px 0 0;font-size:12px;line-height:1.5;color:var(--muted)}
.workshop-object h2{font-size:1.15rem;line-height:1.4;font-weight:550;letter-spacing:-.02em;margin:0 0 6px}.workshop-status{font-size:12px;line-height:1.5;color:var(--muted);margin:0 0 8px}.workshop-result{font-size:14px;line-height:1.6;margin:0;max-width:290px}.workshop-object:hover h2{text-decoration:underline;text-underline-offset:4px}.workshop-object:focus-visible{outline:2px solid var(--ink);outline-offset:8px;border-radius:2px}
.work-guide-nav{display:flex;flex-wrap:wrap;gap:8px 24px;margin:0 0 28px}.work-guide-nav a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:4px;font-size:14px}.all-records-heading{font-size:1.5rem;font-weight:550;margin:0 0 28px}#work-guide,#all-records{scroll-margin-top:24px}
@media(min-width:900px){.workshop-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:36px}.workshop-result{min-height:6.4em}.workshop-status{min-height:3em}.workshop-intro{padding-top:34px;padding-bottom:30px}}
@media(max-width:600px){.site-header.workshop-header{display:block;padding-top:8px;padding-bottom:0}.workshop-header .brand{margin:0}.site-header .workshop-nav{flex-wrap:wrap;gap:0 16px;justify-content:flex-start}.site-header .workshop-nav a{font-size:.8125rem}.workshop-intro{padding-top:8px;padding-bottom:18px}.workshop-intro p{font-size:15px;line-height:1.65}.workshop-grid{gap:26px 18px;margin-bottom:30px}.workshop-object h2{font-size:1.05rem}.workshop-visual{margin-bottom:10px}.workshop-result{font-size:13px;line-height:1.65}.workshop-status{font-size:11px}.workshop-visual figcaption{font-size:11px}}
.history-timeline{margin:24px 0 32px}.history-controls{display:flex;flex-wrap:wrap;gap:16px;align-items:end}.history-controls label{display:flex;flex-direction:column;gap:5px;font-size:.9rem}.history-controls select,.history-controls button{font:inherit;color:var(--ink);background:var(--paper);border:1px solid var(--muted);border-radius:3px;min-height:44px;padding:8px 12px;max-width:100%}.history-help,.history-count{font-size:.9rem!important;line-height:1.6!important;color:var(--muted)}.history-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin:24px 0}.history-scroll svg{display:block;width:760px;max-width:none;height:auto;font-family:var(--font-sans)}.history-grid{stroke:var(--rule);stroke-width:1}.history-axis{fill:var(--muted);font-size:13px}.history-name{fill:var(--ink);font-size:16px}.history-region{fill:var(--muted);font-size:14px}.history-hit{fill:transparent}.history-bar{fill:#5079a2}.history-scroll [role=button]{cursor:pointer}.history-scroll [role=button]:focus{outline:none}.history-scroll [role=button]:focus-visible .history-hit{stroke:var(--ink);stroke-width:2}.history-scroll [aria-pressed=true] .history-bar{stroke:var(--ink);stroke-width:2}.history-detail{min-height:150px}.history-detail h3{font-size:1.1rem;margin:0 0 8px}.history-detail p{margin:0 0 8px;font-size:1rem}.history-detail a,.history-sources summary{font-size:.95rem}.history-sources summary{cursor:pointer;min-height:44px}.history-sources table{font-size:.9rem;min-width:850px}.history-controls :focus-visible,.history-scroll:focus-visible,.history-sources summary:focus-visible{outline:2px solid var(--ink);outline-offset:4px}@media(prefers-color-scheme:dark){.history-bar{fill:#8fafd0}}@media(max-width:600px){.history-controls{gap:12px}.history-controls label{max-width:100%}.history-detail{min-height:210px}}

.note-date{font-size:.85rem;line-height:1.5;color:var(--muted);margin:0 0 16px}
.prose .visual-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px;list-style:none;padding:0;margin:0 0 24px}.prose .visual-grid li{min-width:0;margin:0;padding:0}.visual-grid p{margin:0}.visual-grid a{display:block;font-size:.85rem;line-height:1.6;text-underline-offset:4px}.prose .visual-grid img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;margin-bottom:8px}.visual-grid a:focus-visible{outline:2px solid var(--ink);outline-offset:5px}@media(min-width:700px){.prose .visual-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 20px}}

.boot-diagram{margin:20px 0 32px}.prose .boot-diagram h2{margin:0 0 18px}.prose .sequence-flow{margin:0 0 14px;padding-left:1.6rem}.prose .sequence-flow li{position:relative;margin:0;padding:0 0 24px 12px;font-size:1rem;line-height:1.5}.sequence-flow li::marker{font-size:.8125rem;font-variant-numeric:tabular-nums;color:var(--muted)}.sequence-flow p{margin:0}.sequence-flow strong{display:block;font-weight:550}.sequence-flow li:not(:last-child)::after{content:"";position:absolute;left:-.75rem;top:1.5rem;bottom:.5rem;border-left:1px solid var(--muted)}.sequence-flow li:not(:last-child)::before{content:"";position:absolute;left:calc(-.75rem - 3px);bottom:.5rem;width:6px;height:6px;border-right:1px solid var(--muted);border-bottom:1px solid var(--muted);transform:rotate(45deg)}.prose .sequence-flow li:last-child{padding-bottom:0}.boot-diagram figcaption{font-size:.85rem;line-height:1.5;color:var(--muted)}
@media(min-width:700px){.sequence-flow strong{display:inline-block;min-width:215px}}

/* The arm leads its record; controls change the browser model only. */
.robot-explorer{margin:8px 0 44px;max-width:850px}.robot-mode,.robot-help,.robot-boundary,.robot-position{font-size:.875rem;line-height:1.6;color:var(--muted)}.robot-mode{margin:0 0 8px}.robot-stage{position:relative;width:100%;aspect-ratio:4/3;max-height:540px}.robot-stage img,.robot-stage canvas{display:block;width:100%;height:100%;object-fit:contain}.robot-stage canvas{touch-action:none}.robot-stage [hidden],.robot-controls[hidden],[data-robot-start][hidden]{display:none}.robot-status{font-size:.9rem;line-height:1.5;min-height:3em;margin:12px 0}.robot-explorer button,.robot-explorer select{font:inherit;font-size:.9rem;min-height:44px;padding:8px 12px;background:var(--paper);color:var(--ink);border:1px solid var(--muted);border-radius:6px;cursor:pointer}.robot-explorer button:disabled{opacity:.5;cursor:wait}.robot-actions{display:flex;gap:10px 16px;flex-wrap:wrap;align-items:end}.robot-actions label{display:flex;flex-direction:column;gap:4px;font-size:.85rem}.robot-actions input{width:120px;min-height:44px}.robot-explorer input{accent-color:var(--ink);cursor:pointer}.robot-joints{border:0;padding:0;margin:18px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 26px}.robot-joints legend{font-size:1rem;font-weight:600;padding:0;margin-bottom:12px}.robot-joint{display:grid;grid-template-columns:1fr auto;font-size:.9rem;gap:0 8px}.robot-joint output{font-variant-numeric:tabular-nums;color:var(--muted)}.robot-joint input{grid-column:1/-1;width:100%;min-height:44px;margin:0}.robot-explorer :is(button,input,select,summary,canvas):focus-visible{outline:2px solid var(--ink);outline-offset:4px}.robot-boundary{margin:20px 0}.robot-reference summary{min-height:44px;padding:10px 0;cursor:pointer}.robot-reference{font-size:.9rem;line-height:1.6}.robot-reference a{text-decoration:underline;text-underline-offset:3px}.robot-reference dl{margin:16px 0}.robot-reference dl>div{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 16px}.robot-reference dt{font-weight:600}.robot-reference dd{margin:0;font-variant-numeric:tabular-nums}@media(max-width:600px){.robot-stage{aspect-ratio:1.2}.robot-joints{grid-template-columns:1fr;gap:8px}.robot-actions{gap:12px}.robot-status{min-height:3em}.robot-boundary{font-size:.85rem}}

.case-comparison{margin:12px 0 44px;max-width:850px}.case-comparison h2{font-size:1.2rem;line-height:1.5;font-weight:550;margin:0 0 10px}.case-interpretation,.case-evidence,.case-state{font-size:.875rem;line-height:1.6;color:var(--muted)}.case-interpretation{margin:0 0 20px}.case-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:0 0 24px}.case-controls[hidden]{display:none}.case-controls label{display:flex;flex-direction:column;gap:6px;font-size:.875rem;max-width:100%;min-width:0}.case-controls select,.case-controls button{font:inherit;min-height:44px;max-width:100%;padding:8px 10px;color:var(--ink);background:var(--paper);border:1px solid var(--muted);border-radius:6px}.case-controls button{cursor:pointer}.case-controls button:disabled{opacity:.45;cursor:default}.case-comparison :is(select,button,summary,a):focus-visible{outline:2px solid var(--ink);outline-offset:4px}.case-path{margin:0}.case-path figcaption{font-weight:550;margin:0 0 16px;font-size:1rem;line-height:1.6}.case-stages{list-style:decimal;margin:0 0 20px;padding-left:1.5rem;font-size:1rem;line-height:1.6}.case-stages li{padding:0 0 20px 10px;position:relative;overflow-wrap:anywhere}.case-stages li:last-child{padding-bottom:0}.case-stages li::marker{color:var(--muted);font-size:.8rem}.case-stages li:not(:last-child)::after{content:'↓';position:absolute;left:10px;bottom:-2px;color:var(--muted);font-size:.85rem}.case-stages li[data-stopped=true]{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:5px}.case-outcome{font-size:1rem;line-height:1.7;margin:0 0 12px}.case-evidence{margin:0}.case-state{min-height:1.6em;margin:8px 0 16px}.case-fallback{margin-top:20px;font-size:1rem;line-height:1.7}.case-fallback summary{min-height:44px;padding:10px 0;cursor:pointer}.case-fallback section{margin:24px 0}.case-fallback h3{font-size:1rem;font-weight:550;margin:0 0 16px}
/* Controls belong beside the artifact they explore; ordinary prose stays quiet. */
.explorer-controls,.image-controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:16px 0;font:400 .9rem/1.5 var(--font-sans)}
.explorer-controls label,.image-controls label{display:flex;flex-direction:column;gap:5px;min-width:0;max-width:100%}
.explorer-controls input,.explorer-controls select,.explorer-controls button,.image-controls button,.dataset-explorer button{font:inherit;max-width:100%;min-height:44px;color:var(--ink);background:var(--paper);border:1px solid var(--muted);border-radius:6px;padding:8px 12px}
.explorer-controls input{width:17em}.explorer-controls select{width:100%}
.explorer-controls button:disabled{opacity:.45;cursor:default}
.explorer-controls button,.image-controls button,.dataset-explorer button{cursor:pointer}
.reading :is(button,select,input,summary):focus-visible,.image-viewport:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.explorer-note,.stage-status,.stage-neighbor{font-size:.88rem;line-height:1.6;color:var(--muted)}
.stage-neighbor{display:block}.stage-status{min-height:6em;color:var(--ink)}
.sequence-flow li[data-before=true]{opacity:.65}.sequence-flow li[data-selected=true] strong{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
.tile-comparison{margin:24px 0 36px}.tile-comparison summary,.large-drawing-disclosure summary{padding:12px 0;cursor:pointer;min-height:44px}
.tile-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tile-pair figure{margin:0}.tile-repeat{aspect-ratio:1;background-repeat:repeat}.tile-pair figcaption{font-size:.8rem;line-height:1.5;margin-top:8px;color:var(--muted)}
.image-viewport{max-width:100%;max-height:70vh;overflow:auto;overscroll-behavior:contain}.image-viewport>a,.image-viewport>img{display:block}.image-viewport img{display:block;width:100%;max-width:none;height:auto}.image-viewport a{border:0!important}
.image-controls{align-items:center;margin:8px 0 28px}.image-controls label{flex-direction:row;align-items:center}.image-controls input{width:130px;min-height:44px;accent-color:var(--ink)}.image-controls output{font-variant-numeric:tabular-nums;min-width:3em}
.record-videos figure{margin:24px 0}.record-videos video{display:block;width:100%;max-height:70vh;background:var(--code-paper)}.record-videos figcaption{margin-top:8px;font-size:.85rem;color:var(--muted)}
.dataset-explorer{margin:20px 0 36px}.dataset-explorer h2{font-size:1.25rem;line-height:1.4}.dataset-explorer p{line-height:1.6}.dataset-explorer [data-dataset-detail]{margin:16px 0 24px;overflow-wrap:anywhere}.dataset-explorer [data-dataset-detail]:empty{display:none}
.era-list,.character-list{list-style:none;margin:0;padding:0}.era-list li{margin:0 0 8px;min-width:0}.era-list button{display:block;width:100%;text-align:start;border:0;padding:10px 0}.era-list button[aria-pressed=true]{font-weight:650}.era-list button:hover,.character-list button:hover{background:var(--code-paper)}.era-list small{display:block;font-size:.8rem;color:var(--muted)}
.era-track{display:block;background:var(--code-paper);height:8px;margin:6px 0 0;overflow:hidden}.era-track>span{display:block;min-width:3px;height:100%;background:var(--muted)}.era-list button[aria-pressed=true] .era-track>span{background:var(--ink)}.era-scale{font-size:.8rem;color:var(--muted)}
.character-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:8px}.character-list li{min-width:0}.character-list button{width:100%;border:0;padding:8px 2px}.character-list button span{display:block;font-size:1.6rem}.character-list button small{display:block;overflow-wrap:anywhere;font-size:.75rem}.character-list button[aria-pressed=true]{outline:2px solid var(--ink)}.character-list li:has([data-dataset-detail]){grid-column:1/-1}.character-list li:has([data-dataset-detail])>button{width:auto;min-width:64px}
@media(max-width:390px){.tile-pair{gap:10px}.image-controls{gap:8px}.image-controls input{width:100px}.explorer-controls>label{width:100%}.explorer-controls input{width:100%}}

/* Source-derived diagrams remain readable without scripting. */
.evidence-diagram{margin:2.5rem 0 3rem;line-height:1.65;overflow-wrap:anywhere}
.evidence-diagram h2{font-weight:400;font-size:1.3em;margin:0 0 1em}
.evidence-diagram h3{font-size:1.05em;margin:1.8em 0 .7em}
.evidence-diagram p{margin:.7em 0 1em}
.evidence-diagram meter{display:block;width:100%;height:1.2em;accent-color:currentColor}
.evidence-flow{list-style:none;padding:0;margin:1.5em 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.8em}
.evidence-flow li{min-width:0;overflow-wrap:anywhere;position:relative}
.evidence-flow li+li:before{content:'→';position:absolute;left:-1.4em;top:0}
.evidence-flow strong,.evidence-flow span{display:block}
.evidence-measures{padding:0;list-style:none}
.evidence-measures li{margin:1.5em 0}
.evidence-measures strong{display:block;font-variant-numeric:tabular-nums}
.evidence-state{padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:.4em 1.5em}
.evidence-state li{font-weight:600}
.evidence-values dt{margin-top:1em;font-weight:600}
.evidence-values dd{margin:0}
@media(max-width:600px){.evidence-flow{grid-template-columns:1fr;gap:2.2em}.evidence-flow li+li:before{content:'↓';left:0;top:-1.7em}}
.evidence-diagram a{text-decoration:underline;text-underline-offset:.2em}.evidence-diagram meter::-webkit-meter-optimum-value{background:var(--ink)}.evidence-diagram meter::-moz-meter-bar{background:var(--ink)}
.evidence-roles li+li:before{content:none}

/* Open explanatory documents: hierarchy and quiet comparison rows. */
:is(.evidence-diagram,.case-comparison,.robot-reference,.history-sources,.tile-comparison){font-size:1rem;line-height:1.65;overflow-wrap:anywhere}
:is(.evidence-diagram,.case-comparison,.tile-comparison) h2{font-size:1.25rem;font-weight:650;letter-spacing:0;line-height:1.4;margin:0 0 1.1em}
:is(.evidence-diagram,.case-reference,.robot-reference,.history-sources) h3{font-size:1rem;font-weight:600;letter-spacing:0;line-height:1.5}
.evidence-note{border-top:1px solid var(--rule);padding:1.2em 0 0;margin:1.6em 0}
.evidence-note h3{margin:0 0 .6em}.evidence-note p{margin:0;line-height:1.7}
.evidence-flow{margin:1.8em 0 2em}.evidence-flow strong{font-weight:600}.evidence-flow span{color:var(--muted)}
.evidence-values{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);margin:1.6em 0}
.evidence-values :is(dt,dd){margin:0;padding:.9em .7em .9em 0;border-bottom:1px solid var(--rule)}
.case-reference{margin-top:2em}.case-reference h3{margin:0 0 1em}
.case-table{width:100%;border-collapse:collapse;font-size:1rem;line-height:1.65}
.case-table :is(th,td){text-align:left;vertical-align:top;padding:1em .9em 1em 0;font-weight:400}
.case-table th{font-weight:600}.case-table thead{border-bottom:1px solid var(--rule)}.case-table tbody tr{border-bottom:1px solid var(--rule)}
.case-table th:first-child{width:20%}.case-table td:nth-child(2){width:26%}.case-table td:last-child{width:54%;padding-right:0}
.case-table ol{margin:0;padding-left:1.2em}.case-table li{margin:0 0 .45em}.case-table p{margin:0 0 .6em}.case-table a{text-decoration:underline;text-underline-offset:.2em}
.case-cell-label{display:none}.robot-reference{margin-top:2em}.robot-reference h3{margin:0 0 1em}.robot-reference dl>div{padding:.8em 0;border-bottom:1px solid var(--rule)}
.history-sources{margin:2em 0}.history-sources h3{margin:0 0 1em}.history-sources table{font-size:1rem}
.tile-comparison h2{margin:0 0 1em}.tile-comparison .explorer-controls{margin-bottom:1.2em}.tile-comparison .tile-pair figure{margin:0}
.large-drawing-view{margin:1.8em 0}.large-drawing-view figcaption{font-size:.875rem;line-height:1.6;color:var(--muted);margin-top:.8em}
@media(max-width:600px){
 .case-table,.case-table tbody,.case-table tr,.case-table th,.case-table td{display:block;width:100%!important}
 .case-table thead{position:absolute;width:1px!important;height:1px;overflow:hidden;clip-path:inset(50%)}
 .case-table tbody tr{padding:1em 0}.case-table :is(th,td){padding:.45em 0}.case-table th{font-size:1.05em}
 .case-cell-label{display:block;font-weight:600;color:var(--muted);margin-bottom:.4em}
}

/* One readable prose width; visual material uses the existing page container. */
.reading[data-record-id]{--prose-width:760px;max-width:none;min-width:0}
.reading[data-record-id] .reading-header{max-width:var(--prose-width)}
.reading[data-record-id] .prose>:is(p,h2,h3,h4,h5,h6,ul,ol,blockquote){max-width:var(--prose-width)}
.reading[data-record-id] .prose>:is(.media-block,.visual-grid){max-width:none}
.reading[data-record-id]>:is(.robot-explorer,.case-comparison){max-width:none}
.reading[data-record-id] :is(.evidence-diagram,.case-comparison,.robot-explorer,.history-timeline,.dataset-explorer)>p,
.reading[data-record-id] :is(.evidence-note,.robot-reference,.case-path)>p,
.reading[data-record-id] :is(.record-gallery,.record-videos,.large-drawing-view) figcaption{max-width:var(--prose-width)}
.reading[data-record-id] .robot-stage{max-width:960px}
.reading[data-record-id] .record-gallery img{width:auto;max-width:100%}
.reading[data-record-id] .image-viewport img{width:100%;max-width:none}
.reading[data-record-id] :is(.table-scroll,.visual-grid,.record-gallery,.record-videos,.large-drawing-view,.image-viewport){min-width:0;max-width:100%}
.reading[data-record-id="page:/history/"] .table-scroll table{min-width:850px;font-size:1rem}

/* Additional authored selections stay text-led beside the visual workshop. */
.workshop-more{margin:0 0 48px}
.workshop-more>h2{font-size:1.15rem;font-weight:550;line-height:1.4;margin:0 0 18px}
.workshop-selections{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 48px}
.workshop-selections li{min-width:0;max-width:460px;overflow-wrap:anywhere}
.workshop-selections h3{font-size:1.05rem;font-weight:550;line-height:1.4;margin:0}
.workshop-selections a{display:inline-flex;align-items:center;min-height:44px;text-underline-offset:4px}
.workshop-selections a:hover{text-decoration:underline}
.workshop-selections .workshop-status{margin:0 0 6px;min-height:0}
.workshop-selections .workshop-result{max-width:none;min-height:0;font-size:14px;line-height:1.65;margin:0}
@media(max-width:600px){.workshop-selections{grid-template-columns:1fr;gap:22px}.workshop-more{margin-bottom:32px}}
