/* Topic-specific layer over the preserved p02 shell. */
.brand-mark{display:inline-flex;align-items:center;justify-content:center;flex:none;width:2.6rem;height:2.6rem;margin-right:.65rem;background:var(--accent);color:var(--paper);font:500 1.8rem/1 var(--serif);border-radius:50%;letter-spacing:-.13em;padding-right:.15em}
.brand-mark span{font-style:italic}
.wordmark{display:inline-flex;align-items:center;font-size:1.75rem}
.header-row{min-height:6.5rem;gap:1rem}
.desktop-nav{font-size:.875rem;gap:1.15rem}
.hero{grid-template-columns:1.15fr .85fr;gap:5rem;padding-block:4.5rem}
.hero h1{max-width:13ch;font-size:clamp(3rem,5.3vw,4.8rem)}
.hero .deck{max-width:38ch}
.hero-actions{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;margin-top:1.8rem}
.hero-ledger{border:1px solid var(--line);background:var(--surface);padding:2rem 2.25rem;box-shadow:10px 10px 0 #e7e5d9}
.hero-ledger>h2{font-size:2rem;max-width:18ch;margin-bottom:1.8rem}
.ledger-step{display:grid;grid-template-columns:2.25rem 1fr;gap:1rem;border-top:1px solid var(--line);padding-block:1.25rem}
.ledger-step:last-child{padding-bottom:0}
.ledger-number{color:var(--accent);font:500 1.5rem/1.5 var(--serif)}
.ledger-step h3{font-size:1.4rem;margin-bottom:.35rem}
.ledger-step p{font-size:.875rem;color:var(--muted);margin:0}
.market-line{font-size:.8rem;color:var(--muted)}
.hero-footnote{font-size:.8rem;color:var(--muted);max-width:44ch;margin-top:1.3rem}
.section-head .eyebrow{margin-bottom:.5rem}
.feature-grid{gap:4rem;grid-template-columns:1.1fr 1fr}
.feature{border-left:3px solid var(--accent);padding-left:1.7rem}
.entry-description{margin-top:1rem;color:var(--muted)}
.small-entry .eyebrow{margin-bottom:.7rem}
.small-entry h3{font-size:1.7rem}
.worksheet-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem}
.worksheet-grid article{border-top:2px solid var(--accent);padding-top:1.3rem}
.worksheet-grid h3{font-size:1.75rem}
.worksheet-grid p{font-size:.9375rem;color:var(--muted)}
.editorial-note{border-radius:0}
.prose{font-family:var(--sans);font-size:1.0625rem;line-height:1.8;overflow-wrap:anywhere}
.prose h2{font-size:2rem}
.prose h3{font-size:1.5rem}
.prose strong{font-weight:650}
.article-head h1{font-size:clamp(2.4rem,4.7vw,4.1rem);max-width:26ch}
.article-layout{grid-template-columns:14rem minmax(0,46rem);gap:3.5rem}
.article-meta{margin-top:1.5rem}
pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:1.25rem;border-left:3px solid var(--accent);background:var(--surface);font-size:.9375rem;line-height:1.6}
code{font-family:ui-monospace,Consolas,monospace;font-size:.92em;overflow-wrap:anywhere}
p code{background:var(--surface);padding:.15em .25em}
.table-scroll{border-color:var(--line);border-radius:0;margin-block:1rem 2rem}
table{min-width:34rem;line-height:1.5}
caption{font-size:.8rem}
th,td{padding:.75rem}
.download-bar{display:flex;gap:.8rem;flex-wrap:wrap;align-items:center;margin:0 0 2rem}
.download-help{font-size:.875rem;color:var(--muted)}
.worksheet .prose{max-width:54rem}
.source-list{max-width:55rem;list-style:none;padding:0}
.source-list li{padding-block:1.4rem;border-top:1px solid var(--line);margin:0}
.source-list h2{font-size:1.65rem}
.source-list p{font-size:.9rem;margin-top:.7rem}
.source-id{font-size:.8rem;color:var(--accent);font-weight:600}
.search-form .button{white-space:nowrap}
.search-entry-type{display:block;color:var(--accent);font-size:.8rem;margin-bottom:.6rem}
.error-layout{grid-template-columns:1fr .65fr}
.error-aside{padding:2rem;background:var(--surface)}
.error-aside h2{margin-bottom:1rem}
.button{border-radius:2px}
.button:hover{background:#173d35}
.button-secondary:hover{background:var(--accent)}
@media(max-width:70rem){.header-row{justify-content:center}.hero{gap:2.5rem}.article-layout{gap:2rem;grid-template-columns:12rem minmax(0,1fr)}}
/* Give tablet articles the available reading width before adding a side index. */
@media(max-width:59.99rem){.article-layout{grid-template-columns:1fr;gap:1.5rem}.toc{border-bottom:1px solid var(--line)}}
@media(max-width:47.99rem){
 .header-row{justify-content:space-between}.wordmark{font-size:1.45rem}.brand-mark{width:2rem;height:2rem;font-size:1.5rem;margin-right:.4rem}
 .hero{grid-template-columns:1fr;padding-block:2.5rem;gap:2rem}.hero h1{font-size:3rem;max-width:14ch}
 .hero-ledger{padding:1.5rem;box-shadow:5px 5px 0 #e7e5d9}
 .hero-ledger>h2{font-size:1.7rem;max-width:none;margin-bottom:1rem}
 .ledger-step{padding-block:1rem}.worksheet-grid{grid-template-columns:1fr;gap:1.5rem}
 .article-layout{grid-template-columns:1fr}.toc ol{grid-template-columns:1fr}
 .feature-grid{grid-template-columns:1fr;gap:2rem}.feature{padding-left:1rem}
 .error-layout{grid-template-columns:1fr}.article-head h1{max-width:none}
 .download-bar{align-items:flex-start;flex-direction:column}.prose{font-size:1rem}
 .footer-grid .wordmark{font-size:1.7rem}.hero-actions{gap:.65rem}
}
@media(max-width:350px){.header-row{gap:.4rem}.wordmark{font-size:1.3rem}.brand-mark{display:none}.hero h1{font-size:2.65rem}}
.print-provenance{display:none}
@media screen and (max-width:47.99rem){.article .prose tbody th{min-width:8rem;overflow-wrap:normal}}
@media print{
 @page{size:auto;margin:13mm}
 .download-bar,.download-help,.article-meta,.source-summary,.hero-ledger,.hero-actions{display:none!important}
 .article-layout{display:block}.article-head{padding:0 0 8pt}.article-head h1,.page-head h1{font-size:25pt;max-width:none}
 .prose{font:10.5pt/1.45 var(--sans);max-width:none}.prose h2{font-size:16pt;margin:14pt 0 7pt}.prose h3{font-size:12pt}
 table{min-width:0;font-size:8.5pt}th,td{padding:4pt;overflow-wrap:anywhere}
 caption{font-size:8pt;padding:4pt}
 .table-scroll{margin:7pt 0}.worksheet .prose{max-width:none;font-size:9pt;line-height:1.25}
 .worksheet .article-head h1{font-size:20pt}.worksheet .deck{display:none}
 .worksheet p{margin-bottom:6pt}.worksheet h2{font-size:12pt;margin:9pt 0 5pt}
 .worksheet table{font-size:8pt}.worksheet caption{display:none}.worksheet th,.worksheet td{padding:3pt}
 .worksheet .table-scroll{margin:5pt 0}.worksheet .article-head{padding-bottom:5pt}
 .worksheet .prose>p:last-child{font-size:8pt}.button{display:none}
 .worksheet .print-provenance{display:block;font:7.5pt/1.3 var(--sans);margin-top:8pt;padding-top:5pt;border-top:1px solid #718276;overflow-wrap:anywhere;break-inside:avoid}
}

/* Original lightweight editorial diagrams, visual edition 1.2. */
.editorial-visual{margin:0 0 2rem;max-width:100%;}
.editorial-visual img{display:block;width:100%;height:auto;aspect-ratio:8/5;}
.editorial-visual figcaption{font-size:.78rem;line-height:1.55;color:var(--muted);margin-top:.65rem;}
.visual-card{margin-bottom:1.3rem;}
.hero-ledger{padding:1.3rem 1.5rem;box-shadow:none;}
.hero-ledger .editorial-visual{margin-bottom:1.7rem;}
.hero-ledger>h2{font-size:1.7rem;margin-bottom:1rem;}
.hero-ledger .ledger-step{padding-block:.8rem;}
.hero{gap:3rem;}
.small-entry .visual-card{max-width:19rem;}
.prose>.visual-full{margin-bottom:2.5rem;}
@media(max-width:600px){.hero{gap:1.8rem;}.small-entry .visual-card{max-width:none;}.editorial-visual figcaption{font-size:.8rem;}}
@media print{.visual-card,.hero-ledger .editorial-visual{display:none;}.prose>.visual-full{max-width:130mm;break-inside:avoid;}}
