
:root { color-scheme: light; }
.atlas-header, .atlas-footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.65rem 1.4rem; padding:1rem clamp(1rem,5vw,4rem); }
.atlas-header { border-bottom:1px solid var(--line); }
.atlas-header nav { display:flex; flex-wrap:wrap; gap:.4rem 1.15rem; }
.atlas-wrap { width:min(calc(100% - 2rem), 69rem); margin-inline:auto; }
.atlas-trail { margin-top:1.35rem; font-size:.92rem; color:#455870; }
.atlas-trail span { margin:0 .35rem; }
.atlas-hero { padding:clamp(2rem,6vw,4.5rem) 0 2.5rem; border-bottom:1px solid #bcc7d5; }
.atlas-hero h1 { max-width:19ch; line-height:1.02; overflow-wrap:anywhere; }
.atlas-label { color:#9d2b32; text-transform:uppercase; letter-spacing:.13em; font-size:.77rem; font-weight:800; margin-bottom:.6rem; }
.atlas-lead { color:#344c66; max-width:62ch; font-size:clamp(1.13rem,2vw,1.5rem); margin-top:1.1rem; }
.atlas-meta { margin-top:1.3rem; color:#455870; font-size:.93rem; }
.atlas-metrics { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr)); gap:.8rem; margin:1.6rem 0 0; }
.atlas-metrics div { display:flex; flex-direction:column; justify-content:space-between; gap:.45rem; min-width:0; padding:1rem; background:#0a1730; color:#f5f3ec; border-radius:.3rem; }
.atlas-metrics dt { color:#d8e6f8; font-size:.9rem; }
.atlas-metrics dd { margin:0; font-size:clamp(1.25rem,3vw,1.95rem); font-weight:800; overflow-wrap:anywhere; }
.atlas-block, .atlas-method { margin:2.2rem 0; }
.atlas-block h2, .atlas-method h2 { margin-bottom:.85rem; }
.atlas-block > p, .atlas-method p, .atlas-method ul { max-width:75ch; }
.atlas-method li { margin:.55rem 0; }
.atlas-wrap a:not(.atlas-button), .atlas-footer a { color:#174783; text-decoration:underline; text-underline-offset:.19em; }
.atlas-states { display:grid; grid-template-columns:repeat(auto-fit,minmax(13rem,1fr)); gap:.55rem; padding:0; list-style:none; }
.atlas-states a { display:flex; justify-content:space-between; gap:.7rem; align-items:center; min-height:2.85rem; background:white; padding:.55rem .75rem; border:1px solid var(--line); border-radius:.25rem; }
.atlas-states span { color:#455870; font-size:.88rem; }
.table-scroll { overflow:auto; margin-top:1.05rem; background:white; border:1px solid #c9d3df; border-radius:.3rem; }
.table-scroll table { width:100%; border-collapse:collapse; font-variant-numeric:tabular-nums; font-size:.94rem; }
.table-scroll caption { padding:.8rem .85rem; font-weight:800; text-align:left; }
.table-scroll th, .table-scroll td { border-top:1px solid #dce2eb; padding:.6rem .85rem; text-align:left; }
.table-scroll thead th { background:#e9eef5; }
.table-scroll td { white-space:nowrap; }
.table-scroll tbody tr:nth-child(even) { background:#f7f9fc; }
.atlas-method { padding:1.15rem; background:#eaf0f8; border-left:.22rem solid #306bb4; }
.atlas-button { display:inline-flex; align-items:center; background:#14365e; color:white; padding:.65rem .95rem; border-radius:.25rem; margin-top:.85rem; }
.atlas-footer { justify-content:flex-start; border-top:1px solid #bcc7d5; margin-top:3rem; font-size:.92rem; }
.atlas-filter { display:grid; grid-template-columns:minmax(0,24rem) 1fr; align-items:end; gap:.25rem 1rem; margin:1rem 0; }
.atlas-filter label { grid-column:1 / -1; font-weight:700; }
.atlas-filter input { padding:.52rem .75rem; border:1px solid #8a9bb0; border-radius:.25rem; color:var(--ink); background:white; min-width:0; }
.atlas-filter p { color:#455870; font-size:.9rem; }
.record-list { list-style:none; padding:0; display:grid; gap:.55rem; }
.record-list li { display:grid; gap:.2rem; padding:.7rem .85rem; border:1px solid var(--line); border-radius:.25rem; background:white; }
.record-list span { color:#455870; font-size:.9rem; }
.record-timeline { margin:1.2rem 0; padding:0 0 0 1.55rem; }
.record-timeline > li { padding:.85rem 1rem; margin-bottom:.8rem; border:1px solid var(--line); border-radius:.25rem; background:white; }
.record-timeline .atlas-meta { margin-top:.6rem; }
.record-dates { display:flex; flex-wrap:wrap; gap:.35rem .85rem; margin-top:.55rem; }
.record-dates span { padding:.12rem .42rem; background:#eaf0f8; border-radius:.2rem; font-size:.9rem; }
.record-notes { max-width:72ch; padding-left:1.4rem; }
.record-notes li { margin:.55rem 0; }
.atlas-metrics small { color:#d8e6f8; font-size:.8rem; }
.zip-prefixes { grid-template-columns:repeat(auto-fit,minmax(7.5rem,1fr)); }
[data-zip-search] .atlas-button { align-self:stretch; justify-content:center; margin-top:0; border:0; }
[data-zip-search] p { grid-column:1 / -1; }
.law-pair, .law-excerpts { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr)); gap:.55rem 1rem; }
.law-pair strong, .law-list small { display:block; }
.law-list small, .law-match { color:#455870; font-size:.87rem; }
.law-list details summary, .atlas-block details summary { cursor:pointer; font-weight:700; }
.law-excerpts { padding:.75rem 0; border-top:1px solid var(--line); }
.law-excerpts .atlas-label { margin-bottom:.3rem; }
.law-excerpts del { color:#7b1e23; background:#fbe7e7; }
.law-excerpts ins { color:#17553b; background:#e1f5e8; text-decoration:underline; }
