/* GACG private states entrance — ADDITIVE. Existing Guide CSS remains unchanged. */
.states-page{background:var(--gacg-paper,#f8f1e4);min-height:100vh;color:var(--ink,#262116)}
.states-header{padding-top:34px;padding-bottom:33px}.states-kicker,.states-section-index,.states-edition{display:block;font:800 11px/1.45 'Archivo Narrow',Arial,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#78541a}
.states-brand{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(265px,.7fr);align-items:end;gap:35px;margin-top:12px}
.states-brand h1{font:900 clamp(48px,7.3vw,108px)/.96 'Archivo Black',Archivo,sans-serif;letter-spacing:-0.012em;margin:12px 0 0;text-transform:uppercase}
.states-brand h1 em{font-style:normal;color:#9b6c11}.states-intro{padding-bottom:5px}.states-intro p{font:500 15px/1.62 Archivo,Arial,sans-serif;margin:0 0 22px;max-width:390px}
.states-old-way{display:block;border-top:1px solid #a89161;padding-top:12px;font:800 12px/1.6 'Archivo Narrow',Arial,sans-serif;text-decoration:none;letter-spacing:.04em}
.states-old-way span{display:block;font:500 11px/1.5 Archivo,Arial,sans-serif;color:#6b5c47;letter-spacing:0}
.states-splash{background:#efe3c9;border-top:5px solid #e4ba67;border-bottom:1px solid #b59b69;min-height:min(950px,94vh);display:flex;flex-direction:column}
.states-splash-top{width:100%;display:flex;justify-content:space-between;align-items:end;gap:22px;padding-top:21px;padding-bottom:14px}
.states-splash-top h2,.states-directory h2,.states-results h2{font:900 clamp(29px,3.1vw,46px)/1.04 'Archivo Black',Archivo,sans-serif;letter-spacing:-0.012em;margin:5px 0 0}.states-splash-top .period{color:#a56b12}
.states-search-wrap{min-width:280px;max-width:355px;flex:0 1 355px}.states-search-wrap label,.states-result-controls label{font:800 11px/1.4 'Archivo Narrow',Arial,sans-serif;letter-spacing:.13em}
.states-search-wrap input,.states-result-controls input{width:100%;font:700 16px Archivo,Arial,sans-serif;border:1px solid #7a6b54;padding:12px;background:var(--gacg-paper);color:#241f19;box-sizing:border-box;margin-top:7px}
.states-map-board{position:relative;width:100%;max-width:1620px;margin:0 auto;min-height:0;flex:1;display:flex;align-items:center;justify-content:center;padding:2px 18px 24px;box-sizing:border-box}
.states-map{width:100%;max-width:1550px;min-height:340px;max-height:720px;display:flex;align-items:center;justify-content:center}.states-map svg{display:block;width:100%;height:auto;max-height:min(68vh,720px);overflow:visible}
.states-map svg path{fill:var(--gacg-yellow-light,#f4e3b8);stroke:#9e8d70;stroke-width:1.35;stroke-linejoin:round;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .13s ease,stroke .13s ease}
.states-map svg path:hover,.states-map svg path:focus{fill:#e8ca86;stroke:#3b2710;stroke-width:2.25;outline:none}
.states-map svg path.is-selected{fill:#b87221;stroke:#291e12;stroke-width:2.6}
.states-map svg path.is-dimmed{fill:#e4dac5;stroke:#a99c83;opacity:.74}
.states-map-loading{font:800 15px Archivo,Arial,sans-serif;color:#785c2d}
.states-map-status{position:absolute;left:max(18px,3vw);bottom:9px;background:#f9f1e0d9;padding:8px 12px;font:700 12px/1.4 Archivo,Arial,sans-serif;max-width:60%}
.states-dc{position:absolute;right:max(18px,3vw);bottom:8px;border:1px solid #72532b;background:var(--gacg-desk-bronze);font:800 11px 'Archivo Narrow',Arial,sans-serif;letter-spacing:.06em;padding:9px 12px;cursor:pointer}
.states-splash-bottom{width:100%;display:flex;justify-content:space-between;align-items:end;gap:20px;border-top:1px solid #c7af83;padding-top:10px;padding-bottom:13px}
.states-splash-bottom p{font:500 12px/1.5 Archivo,Arial,sans-serif;max-width:860px;margin:0}.states-splash-bottom a{white-space:nowrap;font:800 11px 'Archivo Narrow',Arial,sans-serif;letter-spacing:.05em;text-decoration:none}
.states-dir-head,.states-brief{display:flex;justify-content:space-between;align-items:end;gap:24px}.states-dir-head p{max-width:350px;font:500 13px/1.6 Archivo,Arial,sans-serif}
.states-directory{padding-top:48px;padding-bottom:72px}.states-directory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 20px;border-top:2px solid #685436;margin-top:17px}
.states-state-link{display:flex;justify-content:space-between;align-items:center;gap:9px;padding:12px 2px;border-bottom:1px solid #cbbd9c;text-decoration:none;font:700 13px Archivo,Arial,sans-serif}.states-state-link span:nth-child(2){font:800 11px 'Archivo Narrow',Arial,sans-serif;color:#7d622f}.states-state-link:hover,.states-state-link:focus{background:#e9d9b8}.states-state-link.is-current{color:#966014}
.states-results{padding-top:39px;padding-bottom:47px;border-bottom:1px solid #bcab8b}.states-brief p{font:500 13px/1.7 Archivo,Arial,sans-serif;max-width:800px}.states-clear{font:800 12px 'Archivo Narrow',Arial,sans-serif;white-space:nowrap}
.states-result-controls{display:flex;align-items:end;gap:14px;margin:14px 0 18px}.states-result-controls label{flex:0 0 150px}.states-result-controls input{max-width:450px}.states-result-controls span{font:700 12px/1.3 Archivo,Arial,sans-serif;white-space:nowrap;color:#68502c;padding:0 0 12px}
.states-results-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.states-result{display:flex;justify-content:space-between;flex-direction:column;gap:14px;text-decoration:none;border:1px solid #cfbd96;background:var(--gacg-paper);padding:16px;min-height:110px;box-sizing:border-box}
.states-result:hover,.states-result:focus{background:#f0dfbc;border-color:#8a632a}.states-result strong{display:block;font:900 18px/1.15 Archivo,Arial,sans-serif;letter-spacing:-0.012em}.states-result small{display:block;font:500 12px/1.55 Archivo,Arial,sans-serif;color:#6d5e48;margin-top:6px}
.states-result-meta{display:flex;justify-content:space-between;gap:6px;font:800 10px 'Archivo Narrow',Arial,sans-serif;color:#85611f;letter-spacing:.025em}.states-result-meta i{font-style:normal}.states-more{display:block;margin:23px auto 0;background:#2b261d;color:#fff4dc;padding:13px 18px;border:0;font:800 12px 'Archivo Narrow',Arial,sans-serif;cursor:pointer}
.states-continuity{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:58px}.states-continuity>div{border-top:4px solid #c79a4d;background:#efe3ca;padding:19px}
.states-continuity strong{font:900 12px 'Archivo Narrow',Arial,sans-serif;letter-spacing:.07em}.states-continuity p{font:500 13px/1.65 Archivo,Arial,sans-serif}.states-continuity a{font:800 12px 'Archivo Narrow',Arial,sans-serif}
.states-footer{background:#191e19;color:#f6eedc}.states-footer>.max-wrap{padding-top:15px;padding-bottom:15px;display:flex;justify-content:space-between;gap:12px;align-items:center}
.states-footer div{font:800 10px Archivo,Arial,sans-serif;letter-spacing:.055em}.states-footer small{font:500 10px/1.5 Archivo,Arial,sans-serif;color:#d1d0c3}.states-footer a{color:inherit}
@media(max-width:930px){.states-directory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.states-results-list{grid-template-columns:repeat(2,minmax(0,1fr))}.states-map svg{max-height:55vh}.states-splash{min-height:auto}}
@media(max-width:640px){.states-brand{grid-template-columns:1fr;gap:15px}.states-brand h1{font-size:clamp(39px,11vw,63px)}.states-header{padding-top:24px}.states-splash-top{flex-direction:column;align-items:stretch}.states-search-wrap{max-width:none;min-width:0;flex:auto}.states-map{min-height:225px}.states-map svg{max-height:46vh}.states-map-status{bottom:48px;max-width:none;width:calc(100% - 36px);box-sizing:border-box}.states-dc{bottom:10px;right:18px}.states-splash-bottom{flex-direction:column;align-items:start}.states-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.states-results-list{grid-template-columns:1fr}.states-result-controls{flex-wrap:wrap;gap:6px}.states-result-controls label{flex:0 0 100%}.states-result-controls input{max-width:none}.states-dir-head,.states-brief{align-items:start;flex-direction:column}.states-continuity{grid-template-columns:1fr}.states-footer>.max-wrap{flex-direction:column;align-items:start}}
@media(max-width:390px){.states-directory-grid{grid-template-columns:1fr}.states-brand h1{font-size:39px}}
@media print{.states-map{break-inside:avoid}.states-map-status{position:static}.states-page{background:var(--gacg-paper)}.states-footer{display:none}}

/* State navigation map is a separate SVG. Two extra-light alternations; the Level-1 box shade is one tone. */
.states-map svg path.states-tone-filled{fill:var(--gacg-yellow-light,#f4e3b8)}
.states-map svg path.states-tone-white{fill:#fff9ed}
.states-map svg path.states-tone-filled:hover,.states-map svg path.states-tone-white:hover,
.states-map svg path.states-tone-filled:focus,.states-map svg path.states-tone-white:focus{fill:#e8ca86;stroke:#503d23}
.states-map svg path.is-selected{fill:#d49f40!important;stroke:#3e2b18!important}
.states-map svg path.is-dimmed{fill:#ede7da!important;opacity:.57}
/* Structured, cascading ℞ chapters. Context ancestors are not themselves state matches. */
.states-results-list.states-key-tree{display:block;max-width:100%;border-top:2px solid #4c402d;background:var(--gacg-paper)}
.states-key-tree .states-key-item{background:var(--gacg-paper);border-bottom:1px solid #d0c19f;margin:0;min-width:0}
.states-key-tree .states-key-item[open]{background:#fcf3df}
.states-key-tree .states-key-item>summary,.states-key-leaf-title{display:flex;align-items:center;gap:13px;min-height:54px;padding:9px 12px;cursor:pointer;list-style:none}
.states-key-tree summary::-webkit-details-marker{display:none}
.states-key-tree summary::marker{content:''}
.states-key-tree .states-key-item>summary:hover,.states-key-tree .states-key-item>summary:focus-visible{background:#f2e1b9}
.states-key-tree .states-key-children{margin:0 0 4px 21px;border-left:2px solid #d4c4a1;padding-left:10px}
.states-key-rx{font:900 12px 'Archivo Narrow',Arial,sans-serif;letter-spacing:.02em;color:#9b6918;min-width:fit-content}
.states-key-name{font:800 clamp(14px,1.65vw,20px)/1.2 Archivo,Arial,sans-serif;letter-spacing:-0.012em;overflow-wrap:anywhere}
.states-key-count{margin-left:auto;font:800 11px 'Archivo Narrow',Arial,sans-serif;white-space:nowrap;color:#715b39}
.states-key-caret{font:900 18px 'Archivo Narrow',Arial,sans-serif;transition:transform .15s;margin:0 4px;color:#9b6918}
.states-key-branch[open]>summary .states-key-caret{transform:rotate(90deg)}
.states-key-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:1px 16px 12px 27px}
.states-key-text{display:flex;gap:5px 11px;align-items:center;min-width:0}
.states-key-meta{display:flex;gap:8px 12px;align-items:center;flex-wrap:wrap;color:#65553a;font:600 10px/1.4 Archivo,Arial,sans-serif}
.states-key-direct{font:800 10px 'Archivo Narrow',Arial,sans-serif;color:#634b1e;letter-spacing:.045em}
.states-key-context{font:800 10px 'Archivo Narrow',Arial,sans-serif;color:#747267;letter-spacing:.045em}
.states-key-gap{font:800 10px 'Archivo Narrow',Arial,sans-serif;color:#9c4b25}
.states-key-link{flex:0 0 auto;border:1px solid #bda674;text-decoration:none;padding:7px 9px;background:#f3e1ba;color:#443018;font:800 10px 'Archivo Narrow',Arial,sans-serif;white-space:nowrap}
.states-key-link:hover,.states-key-link:focus{background:#dfc68b}
.states-key-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:8px 0 12px}
.states-key-tools button{background:transparent;border:1px solid #927a50;padding:8px 11px;color:#40321d;font:800 10px 'Archivo Narrow',Arial,sans-serif;letter-spacing:.07em}
.states-key-tools button:hover{background:#f2dfad}
.states-key-note{color:#715d3e;font:500 11px/1.5 Archivo,Arial,sans-serif}
.states-key-item.states-key-leaf{background:var(--gacg-paper)}.states-key-leaf-title{cursor:default}
@media(max-width:640px){.states-key-tree .states-key-children{margin-left:9px;padding-left:7px}.states-key-tree .states-key-item>summary,.states-key-leaf-title{gap:6px;padding:8px 7px;flex-wrap:wrap}.states-key-rx{font-size:10px}.states-key-name{font-size:13px}.states-key-count{font-size:10px}.states-key-head{align-items:flex-start;flex-wrap:wrap;padding:2px 9px 11px 10px}.states-key-meta{font-size:10px}.states-key-link{margin-left:auto}}
@media(prefers-reduced-motion:reduce){.states-key-caret,.states-map svg path{transition:none}}

/* Full-map ↔ chapter mode: the same separate GACG map becomes a small navigation cue. */
.states-map-board[hidden],.states-map-peek[hidden],.states-results[hidden]{display:none!important}
.states-heading{flex:1 1 auto;min-width:0}
.states-heading>p{font:500 13px/1.55 Archivo,Arial,sans-serif;max-width:750px;margin:10px 0 0;color:#604d32}
.states-map-peek{flex:0 0 210px;align-self:center;display:flex;flex-direction:column;align-items:center;gap:2px;min-height:107px;padding:4px 7px 7px;border:1px solid #b99f74;background:var(--gacg-paper);cursor:pointer;color:#322b20;box-shadow:0 2px 0 #d7c6a5}
.states-map-peek:hover,.states-map-peek:focus-visible{background:#f2dfb4;border-color:#7d5d27;outline:2px solid #946e2b;outline-offset:2px}
.states-map-peek img{width:100%;height:76px;object-fit:contain;display:block}
.states-map-peek span{font:800 10px/1.2 'Archivo Narrow',Arial,sans-serif;letter-spacing:.065em;text-align:center}
.states-map-peek b{color:#987019}
.states-splash.has-selection{min-height:0}
.states-splash.has-selection .states-splash-top{align-items:center;padding-bottom:21px}
.states-splash.has-selection .states-results{width:100%;box-sizing:border-box;padding-top:17px;padding-bottom:35px;border-top:1px solid #c9b58b;border-bottom:0}
.states-results h3{font:900 clamp(22px,2.4vw,32px)/1.1 'Archivo Black',Archivo,sans-serif;letter-spacing:-0.012em;margin:8px 0 4px}
.states-clear{border:1px solid #967746;background:var(--gacg-paper);padding:10px 12px;cursor:pointer;color:#3a2f1c}
.states-clear:hover,.states-clear:focus-visible{background:#eed8a8}
.states-splash.has-selection .states-splash-bottom{background:#f2e5cd}
.states-key-tree .states-key-item{background:var(--gacg-paper)}
.states-contribute{padding:18px 20px;margin:25px 0 0;border-top:3px solid #d0aa62;background:#f8f0e2}
.states-contribute strong{font:900 12px 'Archivo Narrow',Arial,sans-serif;letter-spacing:.08em}
.states-contribute p{font:500 13px/1.65 Archivo,Arial,sans-serif;max-width:930px;margin:7px 0 0}
@media(max-width:640px){.states-splash-top{flex-direction:row;align-items:center;gap:10px}.states-map-peek{flex:0 0 128px;min-height:83px;padding:3px 3px 5px}.states-map-peek img{height:53px}.states-map-peek span{font-size:8px}.states-heading>p{font-size:11px}.states-splash-top h2{font-size:clamp(25px,7vw,38px)}.states-splash.has-selection .states-results{padding-top:17px}.states-contribute{padding:15px 12px}}
@media(max-width:370px){.states-map-peek{flex-basis:110px}.states-map-peek img{height:46px}}
@media(prefers-reduced-motion:reduce){.states-map-peek{transition:none}}

/* Reader-facing state hover: only the state name, with no code or counts. */
.states-hover-label{position:absolute;z-index:8;pointer-events:none;transform:translate(-50%,-115%);border:1px solid #b29d75;background:var(--gacg-paper);color:#3a2917;box-shadow:0 3px 8px #4e3d231e;padding:6px 11px;font:800 12px/1.2 Archivo,Arial,sans-serif;white-space:nowrap;max-width:calc(100% - 16px)}
.states-hover-label[hidden]{display:none!important}
@media(max-width:640px){.states-hover-label{font-size:11px;padding:5px 7px}}


/* Resting map colors are WHITE and FILLED; hover and selection are separate. */
.states-map svg path.states-tone-filled{fill:#f4e3b8}
.states-map svg path.states-tone-white{fill:#fffdf7}
.states-header{padding-top:23px;padding-bottom:22px}.states-splash{min-height:0}.states-splash-top{padding-top:14px;padding-bottom:9px}
.states-map-board{flex-direction:column;gap:5px;padding:2px 18px 10px}
.states-map-footer{width:100%;max-width:1550px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.states-map-status{position:static;left:auto;bottom:auto;background:transparent;padding:0;font:500 10px/1.35 Archivo,Arial,sans-serif;color:#655743;max-width:none}
.states-dc{position:static;right:auto;bottom:auto;border:0;background:transparent;padding:0;font:500 10px/1.35 Archivo,Arial,sans-serif;color:#655743;letter-spacing:0;text-decoration:underline;text-underline-offset:3px}
.states-dc:hover,.states-dc:focus-visible{color:#3d2c18;text-decoration-thickness:2px}
.states-splash-bottom{padding-top:7px;padding-bottom:9px}
.states-directory{padding-top:30px;padding-bottom:46px}
.states-contribute{margin-top:16px;padding:12px 15px}
@media(max-width:640px){.states-map-board{padding:3px 10px 10px}.states-map-footer{gap:6px}.states-map-status,.states-dc{font-size:9px}.states-header{padding-top:17px;padding-bottom:16px}}

/* DC outlink: bottom-right edge of map, no box or inset. */
.states-map-board{padding-bottom:34px}
.states-map-footer{position:absolute;left:18px;right:18px;bottom:5px;width:auto;max-width:none;display:flex;align-items:end;gap:10px;flex-wrap:nowrap}
.states-map-footer .states-map-status{flex:1 1 auto;min-width:0;position:static}
.states-map-footer .states-dc{position:static;flex:0 0 auto;margin-left:auto;text-align:right;border:0;background:transparent;padding:0;font-weight:600}
@media(max-width:640px){.states-map-board{padding-bottom:40px}.states-map-footer{left:10px;right:10px;bottom:5px}.states-map-footer .states-map-status,.states-map-footer .states-dc{font-size:9px}}
