/* Shared visual system: calm surfaces, clearer hierarchy, and generous targets. */
:root{--ink:#193c48;--paper:#f5f8fa;--line:#dce6eb;--font-ui:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;--accent:#246f68;--muted:#58717d}
body{font-size:15px;line-height:1.65;background:var(--paper);-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{color:var(--ink)}h1{font-weight:750;letter-spacing:-.045em}h2{font-weight:700;letter-spacing:-.025em}p.muted,.muted{color:var(--muted)}
body:not(.is-admin) header{padding-block:16px;gap:24px;box-shadow:0 3px 24px #173b4807;background:#fff}
body:not(.is-admin) .project-brand img{width:108px;height:68px;object-fit:contain}
.public-nav-group summary{font-size:14px;font-weight:650;border-radius:12px;padding:12px 16px;letter-spacing:0}
.public-nav-group[open] summary{background:#eaf4f1;color:#21645e}.public-nav-group>div{border-radius:16px;border:1px solid var(--line);box-shadow:0 15px 40px #16384820;padding:8px}
.public-nav-group>div a{padding:12px 16px!important;border-radius:10px!important;display:block;line-height:1.4}
body:not(.is-admin) .public-navigation>[data-account-nav]{border:1px solid #d8e5e4;background:#f2f7f6;color:#245c57;border-radius:12px;padding:11px 18px;white-space:nowrap}
body:not(.is-admin) .pageintro{padding:44px 0 26px;max-width:100%}.pageintro h1{font-size:clamp(32px,4vw,54px);line-height:1.12;margin-bottom:16px}.pageintro>p{max-width:760px;font-size:16px;line-height:1.75;color:var(--muted)}.eyebrow{letter-spacing:.13em;font-size:10px;color:#48756f;margin-bottom:12px}
button,.button{border-radius:11px;min-height:44px;background:var(--accent);border-color:var(--accent);font-size:13px;line-height:1.4;padding:12px 19px;letter-spacing:0;text-transform:none;transition:background .15s,box-shadow .15s}
button:hover,.button:hover{background:#1c5d57;box-shadow:0 3px 10px #1c5d5715;text-decoration:none}.light.button,button.light{background:#fff;border-color:#cddfdd;color:#2c625f}.light.button:hover,button.light:hover{background:#edf5f2}.button:focus-visible,button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #66a7c2;outline-offset:3px}button:disabled{opacity:.55;cursor:default;box-shadow:none}
input:not([type=checkbox]):not([type=radio]),select,textarea{border:1px solid #cfdde3;border-radius:10px;background:#fff;color:#223f4c;min-height:46px;padding:11px 13px;font-size:14px;box-shadow:0 1px 2px #173b4803}input:focus,select:focus,textarea:focus{outline:3px solid #d6eeeb;border-color:#4a9187}label{color:#385563;font-size:13px;font-weight:600}label small{font-weight:400}
.formpanel,.card,.review-report,.public-county-service,.public-profile-next,.directorygroup{border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 4px 18px #173b4804}.formpanel{padding:26px}.tag{border-radius:7px;font-size:11px;letter-spacing:.02em;text-transform:none;padding:5px 10px;line-height:1.4;background:#eaf3f2;color:#32675f}
.registry-toolbar,.help-controls,.filters{background:#edf3f6;border:1px solid #e0e9ed;border-radius:15px;padding:18px;gap:16px;align-items:end}.notice{background:#eef5fa;color:#385c70;border:1px solid #d7e6f1;border-radius:12px;padding:16px 20px;line-height:1.65}.empty{border:1px dashed #cbdce1;border-radius:18px;padding:36px;background:#f9fbfc}
body:not(.is-admin) footer{margin-top:52px;border-top:1px solid var(--line);padding-top:28px;color:#657e89}.source{color:#246f68;text-underline-offset:4px}.tablewrap{border-radius:14px}thead th{background:#edf3f6;color:#3a5967}tbody td,tbody th{border-bottom-color:#e4ecef}
.checks-intro{background:linear-gradient(115deg,#eaf5f1 0%,#eff5fc 100%);padding:32px!important;border:1px solid #d8e7e5;border-radius:22px;margin:32px 0 22px}.checks-intro h1{margin-bottom:14px}.checks-intro .actions{margin-top:22px;flex-wrap:wrap}.checks-guidance{display:flex;gap:28px;flex-wrap:wrap;margin-top:24px;padding-top:20px;border-top:1px solid #ccdfde;color:#4f6d77;font-size:13px}.checks-guidance b{display:inline-grid;place-items:center;width:24px;height:24px;margin-right:7px;background:#fff;border-radius:8px;color:#2d7067;font-size:11px}
#community-check-list>.notice{margin:0 0 20px}#community-check-list>.registry-toolbar{margin-bottom:24px}.community-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}.community-check-card{margin:0!important;padding:26px!important;position:relative;border-top:3px solid #74aaa0}.community-check-card h2{font-size:23px;line-height:1.35;letter-spacing:-.025em;margin:18px 0 14px}.community-check-card>p{font-size:14px;line-height:1.7}.community-check-card .actions{margin-top:16px}.community-check-card form{border-top:1px solid #e1ebed;padding-top:18px}.community-check-card form label{font-size:12px}.community-check-card form .actions button{min-width:94px}.community-check-card details{border-top:1px solid #e3ecee;margin-top:18px;padding-top:12px;font-size:13px}.community-check-card details summary{font-weight:600;cursor:pointer}.check-results{border-radius:10px;background:#f1f7f6;padding:12px 16px;margin-top:18px}
body.is-admin .review-report h2{font-size:23px}body.is-admin .pageintro h1{font-size:36px}body.is-admin .review-case-section{border-radius:14px}body.is-admin #workspace-sidebar{background:#18313f}body.is-admin #workspace-sidebar .sidebar-group nav a.active{background:#2b5260;border-color:#537d84}
@media(max-width:900px){.community-check-grid{grid-template-columns:1fr}body:not(.is-admin) header{gap:12px}.checks-intro{padding:26px!important}.checks-guidance{gap:14px}}
@media(max-width:640px){body:not(.is-admin) .project-brand img{width:88px;height:56px}body:not(.is-admin) header{padding:12px 18px}.public-nav-group summary{padding:10px;font-size:13px}body:not(.is-admin) .pageintro{padding-top:28px}.checks-intro{padding:22px!important;margin-top:20px}.checks-intro h1{font-size:33px}.checks-guidance{display:grid;gap:10px}.community-check-card{padding:21px!important}.community-check-card h2{font-size:21px}.formpanel{padding:21px}.actions{flex-wrap:wrap}.registry-toolbar,.help-controls{padding:15px}}
@media(prefers-reduced-motion:reduce){button,.button{transition:none}}
.checks-intro h1{font-size:clamp(30px,3.4vw,44px)}
#community-check-list .community-check-card h2{font-size:23px!important;line-height:1.4!important;letter-spacing:-.02em}

/* Contributors: useful progress, a readable leaderboard, and a clear next step. */
.contributors-nav{font-size:14px;font-weight:650;padding:11px 14px;white-space:nowrap}.contributors-nav.active{background:#eaf3f1;color:#246f68}
.contributors-dashboard{padding-top:30px}.contributor-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:30px 0}.contributor-hero h1{font-size:clamp(32px,3.3vw,46px);line-height:1.16;margin-bottom:16px}.contributor-hero p{max-width:650px;color:#57717e;margin-bottom:0}.contributor-hero>.button{flex-shrink:0}
.contributor-tabs{display:flex;gap:6px;border-bottom:1px solid #d9e4e8;padding-bottom:0;margin:12px 0 22px}.contributor-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;color:#5d737d;border-radius:8px 8px 0 0;padding:13px 18px;box-shadow:none}.contributor-tabs button.active{color:#246f68;border-bottom-color:#246f68;background:#eaf4f1}
.contributor-filters{display:flex;align-items:end;gap:26px;padding:18px 22px;background:#edf3f5;border:1px solid #dfe8ec;border-radius:14px;margin-bottom:22px}.contributor-filters label{flex:0 1 350px;margin:0}.contributor-filters select{display:block;width:100%;margin-top:6px}.contributor-filters p{font-size:12px;color:#5d7682;max-width:440px;margin:0 0 10px}
.contributor-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.contributor-metrics article{border:1px solid #dce7e9;background:#fff;border-radius:16px;padding:21px}.contributor-metrics strong{font-size:32px;line-height:1.2;color:#285e5c}.contributor-metrics h2{font-size:13px;margin:12px 0 5px;letter-spacing:0}.contributor-metrics p{font-size:11px;color:#6c818b;margin:0;line-height:1.5}
.contributor-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px;align-items:start}.contributor-leaderboard{background:#fff;border:1px solid #dce7e9;border-radius:18px;min-width:0;overflow:hidden}.leaderboard-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:23px}.leaderboard-heading>div{display:flex;align-items:center;gap:12px}.leaderboard-heading img{object-fit:contain}.leaderboard-heading h2{font-size:20px;margin:0 0 5px}.leaderboard-heading p{font-size:12px;color:#6a7f89;margin:0}.contributor-leaderboard .tablewrap{max-width:none;width:100%;margin:0;border-radius:0}.contributor-leaderboard table{width:100%;table-layout:auto;border-collapse:collapse;margin:0}.contributor-leaderboard thead th{background:#f1f6f8;color:#55727f;font-size:10px;letter-spacing:.04em;white-space:nowrap;text-align:left;padding:15px}.contributor-leaderboard tbody td,.contributor-leaderboard tbody th{background:#fff!important;color:#254653!important;padding:21px 15px;border-bottom:1px solid #e8eef1;font-size:13px;text-transform:none;letter-spacing:0;text-align:left}.contributor-leaderboard tbody tr:last-child>*{border-bottom:0}.contributor-leaderboard tbody th{min-width:180px;width:42%}.contributor-identity{display:flex;align-items:center;gap:12px;line-height:1.45}.contributor-identity small{display:block;color:#6e818b;font-weight:400;font-size:10px;margin-top:5px}.contributor-avatar{display:grid;place-items:center;background:#eaf4f1;color:#39756c;width:36px;height:36px;border-radius:12px;flex:0 0 36px;font-size:15px}.rank-number{color:#7b8f98}.rank-top{display:grid;place-items:center;width:26px;height:26px;border-radius:9px;background:#fff2d4;color:#8b6726;font-weight:700}.contributor-next{border:1px solid #d3e5df;background:linear-gradient(150deg,#edf7f2,#f5f8fc);border-radius:18px;padding:24px}.contributor-next h2{font-size:23px;line-height:1.3}.contributor-next p{font-size:13px;color:#56727c}.contributor-next>.button{display:block;text-align:center;margin:18px 0}.contributor-earn{border-top:1px solid #d6e4df;padding-top:20px;margin:24px 0}.contributor-earn h3{font-size:15px}.contributor-earn p{display:flex;gap:10px;align-items:start;font-size:12px}.contributor-earn b{color:#2b7065;min-width:28px}.contributor-next .source{font-size:12px}.personal-ranking{display:flex;align-items:center;gap:12px;margin:20px 0}.personal-ranking>b{font-size:32px;color:#246f68}.personal-ranking span{font-size:12px;color:#55727b}.contributor-pagination{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:20px;font-size:12px}.contributor-updated{font-size:11px;color:#6b8390;margin-top:16px}.contributor-method{border-top:1px solid #dce7e9;padding:20px 0;margin:24px 0;font-size:13px;color:#58717d}.contributor-method summary{font-weight:650;cursor:pointer;color:#355766}.contributor-method p{max-width:900px;margin-top:16px}.contributor-empty{padding:30px}.contributor-empty h3{font-size:23px}.contributor-empty p{font-size:14px;color:#637b86}
@media(max-width:1000px){.contributor-layout{grid-template-columns:minmax(0,1fr)}.contributor-next{max-width:none}.contributor-hero{align-items:start;flex-direction:column}.contributor-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.contributor-hero{padding-top:12px}.contributor-hero h1{font-size:31px}.contributor-tabs{gap:0}.contributor-tabs button{padding:11px;font-size:12px;flex:1}.contributor-filters{display:block;padding:16px}.contributor-filters p{margin:12px 0 0}.contributor-metrics{gap:10px}.contributor-metrics article{padding:16px}.contributor-metrics strong{font-size:28px}.leaderboard-heading{padding:18px;align-items:start}.leaderboard-heading h2{font-size:18px}.leaderboard-heading .tag{max-width:110px}.contributor-leaderboard tbody td,.contributor-leaderboard tbody th{padding:17px 12px}.contributors-nav{padding:10px!important;font-size:12px!important}}
