.states-page{background:#f4f7fa;min-height:100vh}.states-hero{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:4rem;align-items:end;padding:4rem 5vw 2.5rem;background:radial-gradient(circle at 78% 12%,rgba(36,190,203,.2),transparent 30%),linear-gradient(140deg,#fbfaf6,#edf4f6)}.states-hero h1{margin:0 0 .7rem;font-size:clamp(2.4rem,4.7vw,4.4rem)}.states-hero p:last-child{max-width:850px;margin:0;color:var(--muted);font-size:1.15rem}.states-summary{display:grid;padding:1rem 0 1rem 1.5rem;border-left:3px solid var(--orange)}.states-summary strong{font:4rem/1 Georgia,serif;color:var(--blue)}.states-summary span{font-weight:850}.states-summary small{margin-top:.65rem;color:var(--muted)}.state-navigation{position:sticky;top:76px;z-index:18;display:grid;grid-template-columns:230px minmax(280px,430px) 1fr;gap:1rem;align-items:center;padding:.85rem 5vw;background:#fff;border-block:1px solid var(--line);box-shadow:0 8px 24px rgba(8,21,47,.07)}.state-nav-copy{display:grid}.control-label{color:var(--orange);font-size:.72rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.state-nav-copy small,.state-profile-picker summary small{color:var(--muted)}.state-profile-picker{position:relative}.state-profile-picker summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem .9rem;border:1px solid #b7c5d2;border-radius:10px;background:#f8fbfd;cursor:pointer;font-weight:850;list-style:none}.state-profile-picker summary::-webkit-details-marker{display:none}.state-profile-panel{position:absolute;top:calc(100% + .5rem);left:0;width:min(520px,90vw);padding:1rem;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.state-profile-panel header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.7rem}.state-profile-panel header button{border:0;background:transparent;color:var(--blue);font-weight:800}.state-profile-panel input{width:100%;padding:.75rem;border:1px solid var(--line);border-radius:8px;font:inherit}.state-profile-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem;max-height:390px;overflow:auto;margin-top:.7rem}.state-option{display:grid;grid-template-columns:2.3rem 1fr auto;gap:.6rem;align-items:center;padding:.62rem;border:1px solid transparent;border-radius:8px;background:#f7f9fb;text-align:left;cursor:pointer}.state-option:hover,.state-option:focus{border-color:var(--blue);outline:none}.state-option.active{background:#e5f4f4;border-color:var(--orange)}.state-option b{color:var(--blue)}.state-option small{color:var(--muted)}.state-option i{width:8px;height:8px;border-radius:50%;background:#c4ccd6}.state-option.available i{background:#15947f}.network-link{justify-self:end;color:var(--blue);font-weight:800;text-decoration:none}.profile-stage{padding:2.2rem 3vw 5rem}.profile-heading{display:flex;justify-content:space-between;gap:2rem;align-items:end;max-width:1500px;margin:0 auto 1.25rem}.profile-heading h2{font-size:clamp(1.4rem,2.67vw,2.55rem);margin:.2rem 0 .55rem}.profile-heading p:last-child{max-width:900px;color:var(--muted);margin:0}.profile-badge{display:grid;min-width:250px;padding:1rem;border-left:4px solid #15947f;background:#fff}.profile-badge b{color:#11715f}.profile-badge span{color:var(--muted);font-size:.78rem}.profile-frame-wrap{height:min(920px,calc(100vh - 145px));min-height:720px;max-width:1600px;margin:auto;border:1px solid #9eb2c2;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 18px 55px rgba(8,21,47,.13)}.profile-frame-wrap iframe{display:block;width:100%;height:100%;border:0}.profile-pending{display:grid;grid-template-columns:170px 1fr;gap:2rem;align-items:center;max-width:1000px;margin:4rem auto;padding:3rem;background:#fff;border-top:5px solid var(--orange);box-shadow:var(--shadow)}.profile-pending>span{display:grid;place-items:center;width:150px;height:150px;border-radius:50%;background:var(--ink);color:#fff;font:3.6rem/1 Georgia,serif}.profile-pending h2{margin:.2rem 0 .8rem}.profile-pending p{color:var(--muted)}.profile-pending a{color:var(--blue);font-weight:800}@media(max-width:950px){.states-hero{grid-template-columns:1fr;gap:1.5rem}.states-summary{border-left:0;border-top:2px solid var(--orange);padding:1rem 0}.state-navigation{position:static;grid-template-columns:1fr 1fr}.network-link{grid-column:1/-1;justify-self:start}.profile-heading{display:grid}.profile-frame-wrap{height:800px}.profile-pending{grid-template-columns:1fr}.profile-pending>span{width:100px;height:100px;font-size:2.5rem}}@media(max-width:600px){.states-hero{padding:3rem 6vw 2rem}.state-navigation{grid-template-columns:1fr;padding:1rem 6vw}.network-link{grid-column:auto}.state-profile-options{grid-template-columns:1fr}.profile-stage{padding:1.5rem 4vw 4rem}.profile-frame-wrap{height:760px;min-height:0;border-radius:8px}.profile-pending{margin:2rem auto;padding:1.5rem}}@media print{.site-header,.state-navigation,body>footer,.search-dialog{display:none!important}.states-hero{padding:1rem;background:#fff}.states-summary,.profile-heading{display:none}.profile-stage{padding:0}.profile-frame-wrap{height:10in;border:0;box-shadow:none}.profile-pending{box-shadow:none}}

.states-hero{gap:1.5rem 3rem;padding-top:2.5rem}.states-title-map{grid-column:1/-1;width:100%;max-width:1100px;justify-self:center;margin:.2rem 0 0}.states-title-map-scroll{overflow-x:auto;border:1px solid #c7dbe3;border-radius:12px}.states-title-map img{display:block;width:100%;height:auto;min-width:720px}.states-title-map figcaption{font-size:.875rem;color:#425b6c;margin:.65rem 0 0}.states-title-map a{color:#174466}@media print{.states-title-map img{min-width:0}.states-title-map-scroll{overflow:visible}}

.states-flag-title{margin:0 0 1.25rem!important;max-width:800px;line-height:1!important}.states-flag-title img{display:block;width:100%;height:auto}.states-title-accessible{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* A viewport-sized state workspace: the explorer uses the remaining height. */
body.states-workspace{height:100vh;height:100dvh;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}
.states-workspace .states-page{min-height:0;min-width:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);overflow:hidden}
.states-workspace .states-hero{padding:.55rem 2vw;gap:.25rem 1rem;grid-template-columns:minmax(0,1fr) auto;align-items:center}
.states-hero .eyebrow{display:none}.states-title-row{display:flex;align-items:center;gap:clamp(12px,2vw,28px)}
.states-workspace .states-hero h1{font-size:clamp(1.6rem,2.7vw,2.5rem);white-space:nowrap;margin:0;line-height:1.1}
.states-heading-flags{display:flex;align-items:center;gap:clamp(5px,1vw,14px)}.states-heading-flags figure{margin:0;width:clamp(36px,5.2vw,72px);text-align:center;line-height:1}
.states-heading-flags img{display:block;width:100%;height:clamp(24px,3.5vw,46px);object-fit:contain;filter:drop-shadow(0 1px 1px #173f4420)}
.states-heading-flags figcaption{font:600 10px/1.2 system-ui,sans-serif;letter-spacing:0;color:#315b50;margin-top:4px}
.states-workspace .states-hero p:last-child{font-size:.78rem;line-height:1.35;max-width:1050px;margin:.4rem 0 0}
.states-workspace .states-summary{display:flex;align-items:center;gap:.4rem;border:0;padding:0;font-size:.75rem;white-space:nowrap}.states-workspace .states-summary strong{font:1.6rem/1 Georgia,serif}.states-workspace .states-summary small{display:none}
.states-workspace .state-navigation{position:relative;top:auto;grid-template-columns:180px minmax(230px,360px) 1fr;padding:.4rem 2vw;gap:.6rem;line-height:1.3}
.states-workspace .state-nav-copy small{display:none}.states-workspace .state-profile-picker summary{padding:.5rem .7rem;font-size:.8rem}.states-workspace .network-link{font-size:.75rem;line-height:1.3}
.states-workspace .state-profile-panel{max-height:min(65dvh,520px);overflow:auto;z-index:40}.states-workspace .state-profile-options{max-height:min(40dvh,360px)}
.states-workspace .profile-stage{min-height:0;min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:6px;padding:.35rem 1.5vw .6rem}
.states-workspace .profile-heading{display:flex;justify-content:space-between;align-items:center;width:100%;max-width:none;margin:0;gap:1rem;min-height:28px}
.states-workspace .profile-heading h2{font-size:1rem;margin:0;line-height:1.2}.profile-notes{position:relative;z-index:15;font-size:.75rem}.profile-notes summary{cursor:pointer;color:#24564c;font-weight:700}.profile-notes-panel{position:absolute;right:0;top:calc(100% + 6px);width:min(470px,88vw);max-height:45dvh;overflow:auto;background:white;border:1px solid #b7c5d2;border-radius:10px;padding:1rem;box-shadow:var(--shadow);line-height:1.5}.states-workspace .profile-heading .profile-notes-panel p{font-size:.8rem}.states-workspace .profile-badge{min-width:0;padding:.6rem;margin-top:.6rem}
.states-workspace .profile-frame-wrap{height:100%;min-height:0;width:100%;max-width:none;margin:0;border-radius:10px;box-shadow:0 4px 18px #08152f12}.states-workspace .profile-frame-wrap iframe{height:100%;min-height:0}
.states-workspace>footer{padding:.18rem 2vw;font-size:.62rem;line-height:1.3}.states-workspace>footer .wrap{max-width:none;display:flex;justify-content:space-between;gap:1rem}
@media(max-width:850px){.states-workspace .states-summary{display:none}.states-workspace .states-hero{grid-template-columns:1fr}.states-workspace .state-navigation{grid-template-columns:minmax(180px,1fr) auto}.states-workspace .state-nav-copy{display:none}.states-workspace .network-link{grid-column:auto;justify-self:end}.states-heading-flags figcaption{font-size:9px}}
@media(max-width:560px){.states-workspace .states-hero{padding:.45rem 12px}.states-heading-flags figcaption{display:none}.states-workspace .states-hero p:last-child{display:none}.states-workspace .state-navigation{padding:.4rem 12px;gap:.5rem}.states-workspace .state-profile-picker summary small{display:none}.states-workspace .network-link{max-width:110px;font-size:.65rem}.states-workspace .profile-stage{padding:.3rem 8px .4rem}.states-workspace .profile-heading h2{font-size:.85rem}.states-workspace>footer .wrap span:last-child{display:none}}
@media print{body.states-workspace{height:auto;display:block;overflow:visible}.states-workspace .states-page,.states-workspace .profile-stage{display:block;overflow:visible}.states-workspace .states-hero{padding:0 0 1rem}.states-workspace .profile-frame-wrap{height:10in;min-height:0}.profile-notes{display:none}}

/* Title, flags and state selection share one compact row. */
.states-workspace .states-page{grid-template-rows:auto minmax(0,1fr)}
.states-workspace .states-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,330px);padding:.5rem 1.5vw;gap:10px 20px;align-items:center;position:relative;z-index:22}
.states-workspace .states-heading-controls{min-width:0}.states-workspace .states-heading-controls .state-profile-picker summary{padding:.5rem .75rem;font-size:.85rem;line-height:1.3}
.states-workspace .states-heading-controls .state-profile-panel{right:0;left:auto;max-height:70dvh}.states-heading-links{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:6px;line-height:1.25}.states-heading-links .network-link{font-size:.7rem;max-width:none}.states-heading-links .profile-notes{font-size:.7rem}.states-heading-links .profile-notes-panel{right:0;top:calc(100% + 8px);font-size:.8rem}.states-heading-links .profile-notes-panel p{font-size:.8rem;line-height:1.5;margin:0}.states-heading-links .profile-badge{min-width:0;padding:.5rem;font-size:.7rem}
.states-workspace .profile-stage{grid-template-rows:minmax(0,1fr);padding:.3rem 1vw .5rem;gap:0}.states-workspace .profile-heading[hidden],.states-workspace .state-nav-copy[hidden]{display:none}
@media(max-width:850px){.states-workspace .states-hero{grid-template-columns:minmax(0,1fr) minmax(190px,240px);gap:10px;padding:.5rem 12px}.states-workspace .states-title-row{gap:12px}.states-heading-flags figure{width:36px}.states-heading-flags figcaption{display:none}.states-workspace .states-hero h1{font-size:1.6rem}}
@media(max-width:600px){.states-workspace .states-hero{grid-template-columns:1fr;gap:7px}.states-heading-controls{display:flex;align-items:center;gap:12px}.states-heading-controls .state-profile-picker{flex:1}.states-heading-controls .state-profile-picker summary small{display:none}.states-heading-links{margin:0}.states-heading-links .network-link{display:none}.states-workspace .states-heading-controls .state-profile-panel{left:0;right:auto;width:min(520px,94vw)}.states-workspace .states-title-row{justify-content:space-between}}

.states-heading-links .profile-notes-panel .network-link{display:inline-block;margin-top:.7rem}
