/* Sherwood field guide: quiet spring entrances, slate glass and midnight forest. */
:root{--forest:#b6dfcb;--deep:#091512;--sage:#263b35;--cream:#0c1415;--paper:#192426;--ink:#e4eeea;--muted:#a5b8b0;--line:#364843;--gold:#bdd7a4;--red:#ffb4a7;color-scheme:dark;--spring:cubic-bezier(.22,1.25,.36,1)}
body{background:radial-gradient(ellipse at 8% 0,#254b3b77,transparent 36%),radial-gradient(ellipse at 100% 38%,#364a5855,transparent 44%),var(--cream)}
.demo-banner{font-size:10px;text-transform:uppercase;letter-spacing:1.5px;padding:10px 16px}.header{padding-top:24px;padding-bottom:24px}.brand{font-size:32px}.brand-mark{border-radius:50% 50% 4px 50%;transform:rotate(-8deg);background:var(--forest);transition:transform .5s var(--spring)}.brand:hover .brand-mark{transform:rotate(8deg)}.county{font-size:11px;letter-spacing:1.4px;text-transform:uppercase}.county:before{content:'◈';color:var(--gold);margin-right:10px}
.hero{position:relative;gap:48px;padding:70px 0 54px;grid-template-columns:1.45fr 1fr}.hero>div{animation:forest-rise .75s var(--spring) both}.hero h1{font-size:clamp(44px,5.4vw,68px);letter-spacing:-2.8px;line-height:1.06}.hero h1 em{font-weight:normal;color:#8bc5a5}.hero-copy{max-width:450px;font-size:16px;line-height:1.8}.hero-notes{gap:8px}.hero-notes span{border:1px solid #8bc5a52e;padding:6px 10px;border-radius:20px;font-size:10px;background:#233c3266}
.how{position:relative;isolation:isolate;overflow:hidden;border:0;border-radius:100px 12px 12px 12px;padding:38px 28px 26px;background:linear-gradient(145deg,#2a403bdb,#142321ef);color:#e4eeea;box-shadow:0 24px 60px #0005,inset 0 1px 0 #d5e9df24;animation:forest-rise .85s .1s var(--spring) both}.how:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 100% 0,#65967d33,transparent 70%)}.how:after{content:'';position:absolute;right:-15px;top:-15px;width:155px;height:240px;background:url('./fern.svg') center/contain no-repeat;opacity:.22;z-index:-1;transform:rotate(20deg)}.how .eyebrow{color:#b2cbbb;margin-left:32px}.how li{gap:16px;padding:14px 0;border-bottom:1px solid #ffffff17;transition:transform .4s var(--spring)}.how li:last-child{border:0}.how li:hover{transform:translateX(5px)}.how li>span{color:#99cdb4;font-size:17px}.how strong{font-size:13px;font-weight:500}.how p{color:#c3d0bf;font-size:11px}
.card{border-radius:16px;padding:30px;background:linear-gradient(135deg,#273436e8,#182725ed);border-color:#94b1a32e;box-shadow:0 18px 44px #0003,inset 0 1px 0 #d7ebe314;animation:forest-rise .55s var(--spring) both}.search-card{border-top:2px solid #8bc5a580;position:relative;background:linear-gradient(120deg,#30413ce6,#1e2c30ef);box-shadow:0 24px 60px #0004,inset 0 1px 0 #e3f2e21a}.section-top{margin-bottom:12px}.eyebrow{color:#a5cbb7;letter-spacing:2px;font-size:10px}.tag{background:#38524680;color:#c1e1cd;border-color:#698b7355;font-size:10px;letter-spacing:.5px}.search-card .form-grid{grid-template-columns:1fr 1.8fr}.search-card label{font-size:11px;letter-spacing:.5px}input:not([type=checkbox]),select{border-radius:8px;background:#101c1d;padding:15px;border-color:#607c6d;transition:box-shadow .25s,border-color .25s}input:not([type=checkbox]):focus,select:focus{border-color:var(--forest);box-shadow:0 0 0 5px #8bc5a51f}
button{border-radius:8px;transition:transform .35s var(--spring),background .2s,box-shadow .25s}button:not(.map-marker):not(:disabled):hover{transform:translateY(-2px);box-shadow:0 6px 20px #0004}button:not(.map-marker):not(:disabled):active{transform:translateY(1px) scale(.98);box-shadow:none}button:disabled{transform:none}#lookup-submit{background:#a4d7b9;color:#11261d;box-shadow:0 4px 0 #48745c,0 0 24px #8bc5a512;padding:14px 22px}#lookup-submit span{display:inline-block;margin-left:14px;transition:transform .35s var(--spring)}#lookup-submit:hover span{transform:translateX(5px)}button.quiet{border-color:transparent;text-decoration:underline;text-underline-offset:4px;font-weight:400;font-size:12px}.actions{gap:12px}.help{line-height:1.75}.status:not(:empty){padding:16px 20px;border-left:3px solid var(--gold);background:#2a3736;border-radius:0 8px 8px 0;animation:forest-rise .4s ease-out}.status.error{background:#382b2c;border-color:var(--red)}
.result-heading{padding-top:16px}.subject-card{position:relative;overflow:hidden;background:linear-gradient(125deg,#153a2c,#304c40)}.subject-card:after{content:'';position:absolute;right:-12px;bottom:-50px;width:170px;height:270px;background:url('./fern.svg') center/contain no-repeat;opacity:.15;pointer-events:none;transform:rotate(-20deg)}.subject-card .number{font-size:54px;font-variant-numeric:tabular-nums;position:relative;z-index:1}.subject-card .help{max-width:340px}.result-grid>.card{margin-bottom:8px}#provenance{font-size:13px;line-height:1.8}.map-viewport{border-radius:12px;border:1px solid #68867766;box-shadow:inset 0 0 20px #0003}.map-attribution{padding:6px 0}.map-marker{transition:box-shadow .3s,border-color .3s,background .3s}.map-marker:hover,.map-marker.selected{box-shadow:0 0 0 7px #8bc5a533,0 4px 12px #0008}.map-selection{background:#293c35;border-radius:8px;padding:12px 16px;border-left:3px solid #8bc5a5}
.comparison-table thead{background:#152522}.comparison-table thead th{padding-top:16px;padding-bottom:16px;color:#b5d1bf}.comparison-table td,.comparison-table th{transition:background .25s}.comparison-table tbody tr:nth-child(even){background:#a7c6b508}.comparison-table tbody tr:hover,.comparison-table tbody tr.map-selected{background:#304c3e}.comparison-table td:first-child,.comparison-table th:first-child{padding-left:12px}.subject-baseline{background:#2b4036!important}.detail-toggle{border-radius:20px;font-size:11px;padding:7px 14px;transition:background .25s,transform .35s var(--spring)}.detail-toggle[aria-expanded=true]{background:#a4d7b9;color:#11261d}.comparison-details .candidate-detail-panel{border-radius:10px;background:#172a25;padding:20px;animation:forest-rise .4s var(--spring)}.comparison-details summary{color:var(--forest)}.detail-facts dt{letter-spacing:.3px}.explanation{position:relative;background:linear-gradient(115deg,#2a4236e8,#243438ee);border-color:#67866a66;border-left:3px solid #8bc5a5}.explanation h2{max-width:700px}.explanation p:last-child{max-width:850px;font-size:16px}.provider{border-radius:12px;background:#162723;border-color:#496254}.check-label{padding:16px;border-radius:8px;background:#142822}summary{transition:color .2s}summary:hover{color:var(--forest)}#raw-source{background:transparent;box-shadow:none;border-style:dashed}footer{margin-top:55px;padding-top:32px;border-top:1px solid #536f5b66}footer .brand{display:inline-flex}footer p{max-width:760px}footer a:not(.brand):hover{color:#d1f5da}
@keyframes forest-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px) and (min-width:761px){.hero{gap:24px}.how{padding:32px 20px 20px}.hero h1{font-size:50px}.hero-notes{max-width:330px}}
@media(max-width:760px){.header{padding:18px 20px}.brand{font-size:28px}.demo-banner{font-size:9px;letter-spacing:.8px}.shell{padding:0 16px}.hero{padding:38px 0 26px;gap:0;grid-template-columns:1fr}.hero h1{font-size:clamp(43px,9vw,62px);letter-spacing:-2px}.hero-copy{font-size:15px}.hero-notes{gap:6px}.hero-notes span{font-size:9px;padding:5px 8px}.card{padding:20px;border-radius:12px}.search-card .form-grid{grid-template-columns:1fr;gap:16px}.search-card .actions{display:grid;grid-template-columns:1fr}.search-card .actions button{width:100%}.search-card .section-top{margin-bottom:20px}.subject-card .number{font-size:44px}.result-grid{gap:16px}.comparison-table td:first-child,.comparison-table th:first-child{padding-left:5px}.comparison-table th,.comparison-table td{padding-top:16px;padding-bottom:16px}.comparison-details .candidate-detail-panel{padding:14px}.map-selection{font-size:12px;padding:10px}.explanation p:last-child{font-size:14px}.how{display:none}}
@media(max-width:360px){.shell{padding:0 10px}.card{padding:14px}.hero h1{font-size:42px}.hero-notes span{font-size:9px;padding:4px 6px}.detail-toggle{padding:7px 10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.how li:hover,button:not(.map-marker):not(:disabled):hover,button:not(.map-marker):not(:disabled):active{transform:none}}

/* Search scope stays visible above the ranked shortlist. */
.search-overview{background:linear-gradient(120deg,#30493b99,#263536cc);border:1px solid #8bc5a540;border-radius:12px;padding:22px;margin:20px 0 28px}.search-overview h3{margin-bottom:12px}.search-counts{font-size:14px;font-weight:600;color:var(--forest)}.search-overview .help{max-width:850px}.search-overview button{margin-top:8px}.search-overview .eyebrow{margin-bottom:10px}@media(max-width:760px){.search-overview{padding:16px}.search-overview h3{font-size:23px}.search-overview button{width:100%}}

/* Translucent surfaces have a readable dark fallback before blur enhancement. */
@supports (backdrop-filter:blur(16px)) or (-webkit-backdrop-filter:blur(16px)){
 .card,.how{backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
}
.header{border-color:#7eaa9129}.demo-banner{background:#08130f;color:#b8d0c2;border-bottom:1px solid #8bc5a51a}.demo-banner span{color:#91ac9d}.brand{color:#e0eee4}.brand-mark{background:#2d5540;color:#d8eddf;border:1px solid #8bc5a54d}.brand-dot{color:#90c4a4}.hero h1{color:#e1eee6;text-shadow:0 4px 32px #85c59a0a}.how{border:1px solid #98b4a32e}.how:after{opacity:.16}.hero-notes span:before{color:#a4d7b9}
button{background:#a4d7b9;color:#11261d;border-color:#8bbd9d}button:hover,#lookup-submit:hover{background:#bfe8cf}button.secondary{background:#23383188;color:#c7e7d3;border-color:#6c8c7b}button.secondary:hover{background:#3b5849}button.quiet{color:#b3c6bb}button.quiet:hover{background:#31433b}button.danger{color:#ffb4a7;border-color:#ac7f76;background:#322625}button.danger:hover{background:#49302c}button:disabled{opacity:.55}
input[type=checkbox]{accent-color:#a4d7b9}select option{background:#142320;color:#e4eeea}input::placeholder{color:#a5b8b0}.request-list button{background:#24332f;color:var(--ink);border-color:#637c6d}.request-list button:hover{background:#35513f;color:var(--ink)}
#candidate-results .delta-lower,#candidate-results .delta-lower small,.delta-lower{color:#a1e1b8}#candidate-results .delta-higher,#candidate-results .delta-higher small,.delta-higher{color:#ffb4a7}.map-selected{outline-color:#9acbaa}.map-marker{background:#244c39;color:#f2fff4;border-color:#b0ceb7}.map-marker.subject-marker{background:#112a21}.map-marker:hover{background:#3e6b4f}.map-viewport{background-color:#172824;background-image:linear-gradient(#a5c4b210 1px,transparent 1px),linear-gradient(90deg,#a5c4b210 1px,transparent 1px)}.map-tiles{filter:invert(.9) hue-rotate(160deg) saturate(.45) brightness(.85)}.radar-link,.radar-ring{stroke:#a4d7b9}.subject-card .help,.subject-card .eyebrow{color:#c0d7c7}.subject-card:after{opacity:.09}.comparison-table{border:1px solid var(--line)}.comparison-details .candidate-detail-panel{border-color:#536e5c}.comparison-details summary{color:#c1e1cd}.notice{background:#3b3e2e;color:#e0e4ca}.skip{background:#172824;color:#e4eeea}.consent-record{background:#162723}.pill{background:#2d4a3a;color:#c7e7d3}a:hover{color:#e4f5e9}
@media(forced-colors:active){.card,.how{backdrop-filter:none;-webkit-backdrop-filter:none}.map-tiles{filter:none}}
