.publication { --pub-accent: #70dfc7; }
[hidden] { display: none !important; }
.publication h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: 1.07; max-width: 20ch; }
.publication h2 { line-height: 1.2; }
.publication img { max-width: 100%; height: auto; }
.publication a:not(.button) { text-underline-offset: .22em; }
.publication-hero { background: radial-gradient(ellipse at 88% 20%, #1a3542 0%, transparent 62%); border-bottom: 1px solid var(--border, #263540); }
.hero-composition { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 4rem; padding-block: 4.5rem; }
.hero-evidence { margin: 0; animation: evidence-enter .6s ease both; }
.hero-evidence figcaption { font-size: .86rem; margin-top: .8rem; color: #b4c2cd; }
.publication .hero-lede { max-width: 48ch; }
.publication .section { padding-block: 3rem; }
.reading-shelves { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.reading-shelves article { display: flex; gap: 1.5rem; border-top: 1px solid #334550; padding-block: 1.8rem; }
.reading-shelves h3 { margin-top: 0; }
.coverage-directory { list-style: none; padding: 0; columns: 3; column-gap: 2rem; }
.coverage-directory li { break-inside: avoid; padding-block: .6rem; }
.coverage-directory span { display: block; color: #b5c8ce; font-size: .9rem; }
.shelf-number { color: #70dfc7; font-variant-numeric: tabular-nums; padding-top: .3rem; }
.reading-shelves p { color: #b5c8ce; max-width: 46ch; }
.feature-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 4rem; }
.feature-layout figure { margin: 0; }
.evidence-feature { background: #11252d; padding-block: 4rem; }
.research-article { max-width: 980px; }
.research-article figure { margin-inline: 0; }
.research-article h1 { max-width: 23ch; }
.research-article .prose p, .research-article .prose li { max-width: 76ch; line-height: 1.8; }
.research-article details { padding-block: 1.15rem; border-top: 1px solid #334550; }
.research-article summary { cursor: pointer; font-weight: 700; }
.research-article p.article-byline { display: block; line-height: 1.8; }
.research-article nav.article-toc { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; }
.research-article section[id], .article-content section[id] { scroll-margin-top: 10rem; }
.worked-example { border-left: 3px solid #70dfc7; padding: 1.5rem; background: #11252d; }
.worked-example details { border-top: 1px solid #456070; padding-top: 1rem; }
.worked-example summary { cursor: pointer; font-weight: 700; line-height: 1.6; }
.worked-example summary:focus-visible { outline: 2px solid #70dfc7; outline-offset: .4rem; }
.process-line { color: #d1e7e7; line-height: 2; }
.table-scroll { overflow-x: auto; }
.evidence-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.evidence-table th, .evidence-table td { text-align: left; padding: 1rem .8rem; border-bottom: 1px solid #3c505c; }
.evidence-table th { color: #eff5f1; }
.evidence-table td { color: #cbd8de; }
.evidence-table small { display: block; font-size: .8rem; margin-top: .5rem; }
.evidence-table caption { text-align: left; color: #b5c8ce; margin-block: 1rem; }
.provenance-footer { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; padding-block: 2rem; }
.provenance-footer h2 { font-size: 1.1rem; }
.provenance-footer p { max-width: 58ch; }
.provenance-footer a { display: block; margin-block: .6rem; }
.worksheet-context, .worksheet-periods { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.wide-field { grid-column: 1 / -1; }
.worksheet-periods { margin-block: 2rem; }
.worksheet-periods fieldset { border: 1px solid #456070; padding: 1.5rem; min-width: 0; }
.worksheet-periods legend { padding-inline: .5rem; font-weight: 700; }
#cash-workbench label { display: block; font-size: .92rem; margin-bottom: 1rem; color: #d1dfe4; }
#cash-workbench input, #cash-workbench select, #cash-workbench textarea { display: block; box-sizing: border-box; width: 100%; max-width: 100%; margin-top: .5rem; border: 1px solid #527181; background: #0d1b24; color: #f4f7fa; border-radius: 4px; padding: .85rem; font: inherit; color-scheme: dark; }
#cash-workbench input:focus, #cash-workbench textarea:focus { outline: 2px solid #70dfc7; outline-offset: 2px; }
.worksheet-results { border-left: 3px solid #70dfc7; padding: 1.5rem; background: #11252d; margin-top: 1.5rem; }
#worksheet-status, #export-status { min-height: 1.5em; }
.button { transition: border-color .15s ease, background-color .15s ease; }
@keyframes evidence-enter { from { transform: translateY(8px); opacity: .7; } to { transform: translateY(0); opacity: 1; } }
@media (max-width: 760px) { .hero-composition, .feature-layout, .reading-shelves, .provenance-footer { grid-template-columns: 1fr; gap: 1.75rem; } .hero-composition { padding-block: 2.5rem; } .publication .section { padding-block: 2rem; } .worksheet-context, .worksheet-periods { grid-template-columns: 1fr; } .evidence-table th, .evidence-table td { padding: .7rem .4rem; font-size: .87rem; } .publication h1 { font-size: 2.6rem; } }
@media (prefers-reduced-motion: reduce) { .hero-evidence { animation: none; } .button { transition: none; } }
@media (max-width: 760px) { .coverage-directory { columns: 2; } }
@media (max-width: 760px) {
  .header-inner { gap: .5rem; padding-block: .75rem; }
  .site-nav { flex-wrap: nowrap; overflow-x: auto; width: 100%; justify-content: flex-start; padding-bottom: .3rem; }
  .site-nav a { flex-shrink: 0; }
  .publication .shell, .publication.shell { box-sizing: border-box; width: 100%; padding-inline: 20px; }
}
@media print { .site-header, .site-footer, .hero-actions, .skip-link, .consent-banner { display: none !important; } body, .publication, .worksheet-results { background: white !important; color: black !important; } .publication *, #cash-workbench input, #cash-workbench textarea { color: black !important; background: white !important; } .shell { max-width: none; padding-inline: 0; } .section { padding-block: 1rem !important; } fieldset, .worksheet-results { break-inside: avoid; } textarea { min-height: 7rem; } }
