/* Reference layouts reuse the unchanged live balt.page theme and brand assets. */
:root{--paper:#fff;--white:#fff;--ink:#15283d;--muted:#4b5966;--line:#d2dbe1;--green:#173a5d;--ochre:#173a5d;--gold:#15283d;--soft:#f3f5f6}
body{background:var(--paper);color:var(--ink)}
html{scroll-behavior:auto}
.wrap{width:100%;max-width:1240px;padding-inline:40px}
.site-header .header-inner{max-width:1360px;min-height:80px;gap:40px;padding:12px 40px}
.site-header .brand{font-family:system-ui,-apple-system,'Segoe UI',sans-serif}
.site-header .main-nav{margin-left:auto}
.site-header .header-tools{margin-left:0}
.site-header .main-nav a{min-height:44px;display:flex;align-items:center}
.site-header .header-tools .search-link{display:flex}
.hero h1{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-weight:700;font-size:clamp(2.25rem,3.8vw,3.25rem);line-height:1.08;letter-spacing:-.04em}
.hero h1 em{font-style:normal;color:inherit}
.hero .opening-note{background:#f3f5f6;color:#15283d;border:1px solid #d2dbe1;border-radius:0}
.opening-note .eyebrow,.opening-note dd{color:#4b5966}
.opening-note dl div{border-color:#d2dbe1}
.opening-note dt{color:#15283d}
.opening-number{color:#e1e6eb}
.article-card{border-radius:0;border-top:1px solid var(--line);background:#fff}
.article-card:nth-child(2){border-top-color:var(--line);background:#fff}
.article-card:nth-child(3){border-top-color:var(--line);background:#fff}
.article-card:hover{background:#f3f5f6}
.button{background:#173a5d;border-color:#173a5d;color:#fff}
.button:hover{background:#254f76;border-color:#254f76;color:#fff}
a:focus-visible,summary:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#173a5d}
.method-strip{background:#f3f5f6;border-radius:0}
.method-count strong{color:#173a5d}
.preview-note{background:#f3f5f6;color:#15283d}
.draft-state{background:#f3f5f6;border-color:#173a5d;color:#15283d}
.reference-data-table{max-width:100%;margin:1.4rem 0}
.reference-data-table table{width:100%;border-collapse:collapse;font:.9rem/1.6 system-ui,sans-serif;table-layout:fixed}
.reference-data-table caption{text-align:left;font-weight:650;margin-bottom:.7rem}
.reference-data-table th,.reference-data-table td{border:1px solid #d2dbe1;padding:.7rem;text-align:left;overflow-wrap:anywhere}
.reference-data-table thead{background:#f3f5f6}
.reference-data-table th[scope=row]{font-weight:600}
.site-footer .footer-top{display:grid;grid-template-columns:1.5fr minmax(0,1fr) minmax(0,1fr);gap:2.5rem}
.site-footer nav{display:flex;flex-direction:column;gap:.7rem;font-size:.875rem;align-items:start;min-width:0}
.site-footer nav a{max-width:100%;overflow-wrap:anywhere}
.site-footer .footer-top>div:first-child p{margin-top:1rem}
.site-footer .footer-bottom{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.site-footer .footer-bottom>div{display:flex;gap:1.5rem;flex-wrap:wrap}
.source-list{padding-top:1rem}
.prose .bibliography-detail{display:block}
.reference-data-table{container-type:inline-size}
.reference-data-table .stat-label{display:none}
.reference-data-table .stat-value{white-space:nowrap}
@container(max-width:26rem){
 .reference-data-table table,.reference-data-table tbody{display:block;width:100%}
 .reference-data-table caption{display:block;width:100%}
 .reference-data-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%)}
 .reference-data-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr);margin-bottom:1rem;border:1px solid var(--line)}
 .reference-data-table tbody th{display:block;background:#f3f5f6;border:0}
 .reference-data-table td{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;border:0;border-top:1px solid var(--line)}
 .reference-data-table .stat-label{display:block;font-weight:600}
}
@media(max-width:1050px){.site-header .header-inner{gap:20px;padding:20px 30px}.site-header .header-tools .search-link{display:none}.site-header .mobile-menu[open]{flex-basis:100%}.site-header .header-tools{margin-left:auto}}
@media(max-width:760px){.wrap{padding-inline:24px}.site-header .header-inner{min-height:78px;gap:12px;padding:16px 22px}.site-header .brand{font-size:1.4375rem}.site-header .header-tools{margin-left:auto}.site-header .saved-link{display:flex}.hero{padding-block:2rem}.hero h1{font-size:2.5rem}.site-footer .footer-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.8rem}.site-footer .footer-top>div:first-child{grid-column:1/-1}.reference-data-table th,.reference-data-table td{padding:.45rem .35rem}.reference-data-table table{font-size:.85rem}}
@media(max-width:360px){.wrap{padding-inline:18px}.site-header .header-inner{padding-inline:18px;gap:8px}.site-header .brand{font-size:1.35rem}.site-header .header-tools a{font-size:.875rem}.site-header .search-link svg{display:none}.hero h1{font-size:2rem}}
@media print{.site-header,.site-footer,.preview-note{display:none!important}.wrap{width:100%;padding-inline:0}.reference-data-table{break-inside:avoid}}

.article-top h1,.prose h2{font-family:var(--serif);font-weight:400}
.article-top .deck,.page-heading .deck{color:#4b5966}
a:hover{color:#173a5d}
input,select,textarea,.share-controls>details summary,.share-controls>a{border-color:#d2dbe1}
.article-card:hover{box-shadow:0 6px 15px #15283d10}
.card-label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start}
.method-count{border-color:#d2dbe1}
.history-guide{min-width:0}
.history-guide>section+section{margin-top:3rem}
.history-guide .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.history-guide .cards>.article-card:only-child{grid-column:1/-1}
@media(max-width:1050px){.history-guide .cards{grid-template-columns:minmax(0,1fr)}}
