:root{
  color-scheme:light;
  --bg:#F3F5F6; --surface:#FFFFFF; --ink:#17212A; --muted:#56636F; --line:#D8DFE4;
  --dock:#2A5A8A; --dock-soft:#E3ECF5; --own:#1D6A5E; --own-soft:#E0EFEB; --nat:#6A4C93; --nat-soft:#EEE7F6; --biz:#8A5A12; --biz-soft:#F5EBD8; --hou:#9A3D6B; --hou-soft:#F6E4EE; --lic:#3B6E2A; --lic-soft:#E5F0DF; --gui:#56636F; --gui-soft:#EAEEF1;
  --ok:#23794A; --okbg:#E2F2E8; --mid:#9A6412; --midbg:#F7EDDA; --bad:#A83838; --badbg:#F7E3E3; --info:#2A64A8; --infobg:#E2ECF8;
  --gov:#1D6A5E; --govbg:#E0EFEB; --state:#2A5A8A; --statebg:#E2ECF5; --vendor:#8A5A12; --vendorbg:#F5EBD8; --assoc:#6A4C93; --assocbg:#EEE7F6;
  --paid:#A83838;
  --accent:var(--dock); --accent-soft:var(--dock-soft);
  --sans:"Public Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,Menlo,Consolas,monospace;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    color-scheme:dark;
    --bg:#0F151B; --surface:#17202A; --ink:#E5EBF0; --muted:#98A5B2; --line:#29343F;
    --dock:#7FB0E0; --dock-soft:#1D2D3F; --own:#6FC7B5; --own-soft:#18302B; --nat:#C3A6EC; --nat-soft:#2B2140; --biz:#E3B060; --biz-soft:#33270F; --hou:#E89BC3; --hou-soft:#3A1D2C; --lic:#9CD08A; --lic-soft:#1F2F19; --gui:#98A5B2; --gui-soft:#1C2530;
    --ok:#7FD09A; --okbg:#17301F; --mid:#E3B060; --midbg:#33270F; --bad:#EE8C8C; --badbg:#3A2020; --info:#86B4EC; --infobg:#172A40;
    --gov:#6FC7B5; --govbg:#18302B; --state:#86B4EC; --statebg:#172A40; --vendor:#E3B060; --vendorbg:#33270F; --assoc:#C3A6EC; --assocbg:#2B2140;
    --paid:#EE8C8C;
  }
}
:root[data-theme="dark"]{
  color-scheme:dark;
  --bg:#0F151B; --surface:#17202A; --ink:#E5EBF0; --muted:#98A5B2; --line:#29343F;
  --dock:#7FB0E0; --dock-soft:#1D2D3F; --own:#6FC7B5; --own-soft:#18302B; --nat:#C3A6EC; --nat-soft:#2B2140; --biz:#E3B060; --biz-soft:#33270F; --hou:#E89BC3; --hou-soft:#3A1D2C; --lic:#9CD08A; --lic-soft:#1F2F19; --gui:#98A5B2; --gui-soft:#1C2530;
  --ok:#7FD09A; --okbg:#17301F; --mid:#E3B060; --midbg:#33270F; --bad:#EE8C8C; --badbg:#3A2020; --info:#86B4EC; --infobg:#172A40;
  --gov:#6FC7B5; --govbg:#18302B; --state:#86B4EC; --statebg:#172A40; --vendor:#E3B060; --vendorbg:#33270F; --assoc:#C3A6EC; --assocbg:#2B2140;
  --paid:#EE8C8C;
}
body[data-tool="property"]{--accent:var(--own);--accent-soft:var(--own-soft)}
body[data-tool="other"]{--accent:var(--nat);--accent-soft:var(--nat-soft)}
body[data-tool="guides"]{--accent:var(--gui);--accent-soft:var(--gui-soft)}
body[data-tool="business"]{--accent:var(--biz);--accent-soft:var(--biz-soft)}
body[data-tool="housing"]{--accent:var(--hou);--accent-soft:var(--hou-soft)}
body[data-tool="licenses"]{--accent:var(--lic);--accent-soft:var(--lic-soft)}
*{box-sizing:border-box}
body{background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.5;margin:0}
.wrap{max-width:900px;margin:0 auto;padding-inline:16px;padding-block:12px 64px;display:flex;flex-direction:column;gap:16px}
a{color:var(--accent)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.eyebrow{font-family:var(--mono);font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.brand{display:flex;align-items:center;gap:10px;padding-top:2px}
.wordmark{font-weight:800;font-size:22px;letter-spacing:-.015em;line-height:1.15;color:var(--ink);text-decoration:none}
.wordmark:hover{color:var(--accent)}
.top{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:8px 16px}
.tagline{display:flex;flex-direction:column;gap:2px;min-width:0}
h1{font-size:26px;font-weight:800;letter-spacing:-.01em;margin:0;text-wrap:balance}
h2{font-size:18px;font-weight:700;margin:0;text-wrap:balance}
.lede{margin:2px 0 0;color:var(--muted);max-width:62ch;font-size:14px}
.theme{display:inline-flex;border:1px solid var(--line);border-radius:999px;overflow:hidden;background:var(--surface);flex:none}
.theme button{font:inherit;font-size:13px;border:0;background:none;color:var(--muted);padding:6px 12px;cursor:pointer}
.theme button[aria-pressed="true"]{background:var(--ink);color:var(--bg)}

/* place box */
.finder{background:var(--surface);border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:8px;padding:14px 16px;display:flex;flex-direction:column;gap:12px;scroll-margin-top:12px}
.frow{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}
.frow label{display:flex;flex-direction:column;gap:4px;font-family:var(--mono);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.sel{position:relative;display:block}
.sel::after{content:"";position:absolute;right:16px;top:50%;width:7px;height:7px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:translateY(-70%) rotate(45deg);pointer-events:none}
.frow select{-webkit-appearance:none;appearance:none;width:100%;padding-right:40px!important;font:inherit;font-family:var(--sans);font-size:15px;letter-spacing:0;text-transform:none;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:6px;padding:9px 10px;min-width:0}
.frow select:disabled{opacity:.6}
.share{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;font-size:13.5px}
.share button,.share a.btn{font:inherit;font-size:13px;border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:6px;padding:6px 10px;cursor:pointer;text-decoration:none}
.share button:hover,.share a.btn:hover{border-color:var(--accent)}
.share button[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:var(--surface)}
.cn{font-size:13px;color:var(--muted)}

/* sticky bar */
.stickybar{position:absolute;visibility:hidden;top:env(safe-area-inset-top,0px);z-index:6;margin:0 -16px;padding:8px 16px;background:var(--surface);border-bottom:1px solid var(--line);display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;font-size:14px}
.stickybar.on{position:sticky;visibility:visible}
.stickybar b{font-weight:700}
.stickybar .dot{width:8px;height:8px;border-radius:50%;background:var(--accent);display:inline-block;margin-right:6px}
.stickybar button{font:inherit;font-size:13px;border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:6px;padding:4px 10px;cursor:pointer;margin-left:auto}

/* tabs */
.tabs{display:flex;flex-wrap:wrap;gap:2px;border-bottom:1px solid var(--line);scroll-margin-top:12px}
.tabnav{display:contents} /* the tablist holds only the tabs; the strip (.tabs) lays them out, with "What's in each" after them */
.tab{white-space:nowrap;flex:none;font:inherit;font-weight:600;font-size:14.5px;border:0;background:none;color:var(--muted);padding:8px 12px 7px;cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-1px;display:flex;flex-direction:column;align-items:flex-start;gap:1px;border-radius:6px 6px 0 0}
.tab b{display:inline-flex;align-items:center;gap:7px;font-weight:inherit}
.tab b{color:var(--tc)} /* tab names in their tab color (no dot) */
.tab small{font-weight:400;font-size:11.5px;color:var(--muted);white-space:nowrap}
@media (hover:hover){.tab:hover{background:var(--tsoft)}}
.tab[aria-selected="true"]{color:var(--ink);border-bottom-color:var(--tc);background:var(--tsoft)}
.tab.primary{font-weight:800}
.t-courts{--tc:var(--dock);--tsoft:var(--dock-soft)} .t-property{--tc:var(--own);--tsoft:var(--own-soft)} .t-business{--tc:var(--biz);--tsoft:var(--biz-soft)} .t-licenses{--tc:var(--lic);--tsoft:var(--lic-soft)} .t-housing{--tc:var(--hou);--tsoft:var(--hou-soft)} .t-other{--tc:var(--nat);--tsoft:var(--nat-soft)}
.t-guides{--tc:var(--gui);--tsoft:var(--gui-soft);margin-left:auto;border:1px dashed var(--line);border-bottom:0}
.t-guides b::before{display:none}

/* cards */
.panel{display:flex;flex-direction:column;gap:14px}
.state,.county{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:14px 16px;display:flex;flex-direction:column;gap:10px;scroll-margin-top:60px}
.state{border-top:3px solid var(--accent)}
.county{border-left:5px solid var(--accent)}
.county>.chead,#pick>.state:first-of-type>.chead{background:var(--accent-soft);margin:-14px -16px 0;padding:10px 16px;border-radius:6px 6px 0 0}
#pick>.county~.state>.chead{background:none;margin:0;padding:0;border-radius:0}
.chead{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.chead h3{margin:0;font-size:17px;font-weight:700}
.county>.chead h3{font-size:19px}
.chead .sub{flex-basis:100%;display:flex;align-items:center;gap:8px;font-family:var(--mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.chead .sub b{font-weight:600;color:var(--accent)}
.chead .sub i{font-style:normal;border:1px solid var(--line);border-radius:3px;padding:0 6px;color:var(--muted)}
.county>.chead .sub i,#pick>.state:first-of-type>.chead .sub i{border-color:var(--accent);color:var(--accent)}
#pick>.county~.state>.chead .sub i{border-color:var(--line);color:var(--muted)}
.code{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.chead .right{margin-left:auto;font-size:12px;color:var(--muted)}
.badge{font-family:var(--mono);font-size:11px;font-weight:500;padding:2px 8px;border-radius:4px;white-space:nowrap;flex:none}
.b-ok{color:var(--ok);background:var(--okbg)} .b-mid{color:var(--mid);background:var(--midbg)} .b-bad{color:var(--bad);background:var(--badbg)} .b-info{color:var(--info);background:var(--infobg)}
.cov{font-family:var(--mono);font-size:11px;padding:2px 8px;border-radius:4px;background:var(--accent-soft);color:var(--accent);white-space:nowrap}
.upto,.why{margin:0;font-size:14px;color:var(--muted);max-width:72ch}
.who,.court{margin:0;font-size:14px;max-width:72ch}
.who b,.court b{font-weight:600}
.warn{margin:0;padding:8px 12px;border-left:3px solid var(--mid);background:var(--midbg);font-size:13.5px;border-radius:0 4px 4px 0}
.links{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.links li{display:grid;grid-template-columns:76px 1fr;gap:2px 10px;align-items:baseline}
.links a{font-weight:600;text-decoration:none;overflow-wrap:anywhere}
.links a:hover,.clinks a:hover{text-decoration:underline}
.links .n{grid-column:2;font-size:13.5px;color:var(--muted)}
.acc,.src{font-family:var(--mono);font-size:10.5px;letter-spacing:.05em;text-transform:uppercase;padding:1px 6px;border-radius:3px;white-space:nowrap;text-align:center}
.acc{border:1px solid var(--line);color:var(--muted)}
.acc.free{color:var(--ok);border-color:currentColor} .acc.account{color:var(--info);border-color:currentColor} .acc.paid{color:var(--bad);border-color:currentColor}
.src{flex:none}
.src.s-gov,.src.s-county,.src.s-city{color:var(--gov);background:var(--govbg)} .src.s-state{color:var(--state);background:var(--statebg)} .src.s-vendor{color:var(--vendor);background:var(--vendorbg)} .src.s-assoc{color:var(--assoc);background:var(--assocbg)}
.src.s-hud,.src.s-national{color:var(--state);background:var(--statebg)}.src.s-local{color:var(--hou);background:var(--hou-soft)}
.fee{font-family:var(--mono);font-size:10.5px;color:var(--paid);border:1px solid currentColor;border-radius:3px;padding:0 5px}
.ph{font-family:var(--mono);font-size:12.5px;margin-left:6px;white-space:nowrap;color:var(--ink);text-decoration:none}
.lgroup{display:flex;flex-direction:column;gap:6px;border-top:1px solid var(--line);padding-top:10px}
.lgroup h4{margin:0;font-size:12.5px;font-family:var(--mono);letter-spacing:.05em;text-transform:uppercase;color:var(--muted);font-weight:500;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.subrow{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;font-size:14px}
.subrow .k{font-family:var(--mono);font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);width:76px;flex:none}
.subrow a{font-weight:600;text-decoration:none}
.subrow .n{font-size:13px;color:var(--muted)}
.contact{font-size:13px;color:var(--muted);display:flex;flex-wrap:wrap;gap:2px 14px;border-top:1px solid var(--line);padding-top:8px}
.contact::before{content:"Phone";font-family:var(--mono);font-size:10.5px;letter-spacing:.05em;text-transform:uppercase;width:100%}
.contact b{color:var(--ink);font-weight:600}
.soon{font-family:var(--mono);font-size:10px;letter-spacing:.05em;text-transform:uppercase;padding:0 6px;border-radius:3px;border:1px dashed var(--line);color:var(--muted)}
.note{margin:0;padding:8px 12px;border:1px dashed var(--line);border-radius:6px;font-size:13px;color:var(--muted);background:var(--bg)}
.topic{display:flex;flex-direction:column;gap:3px;border-top:1px solid var(--line);padding-top:8px}
.topic h4{margin:0;font-size:14px;font-weight:700}
.topic p{margin:0;font-size:14px;max-width:72ch}
.srcs{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:13px}
.gl{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:6px 16px;font-size:14px}
.gl b{font-weight:600}
.steps{margin:0;padding-left:20px;font-size:14px;display:flex;flex-direction:column;gap:4px;max-width:72ch}
details.more{border-top:1px solid var(--line);padding-top:10px}
details.more>summary{cursor:pointer;font-weight:700;font-size:14.5px;color:var(--accent)}
details.more>summary small,.tally{font-weight:400;font-size:13px;color:var(--muted);margin-left:8px}
details.guide{border-top:1px solid var(--line);padding-top:8px}
details.guide>summary{cursor:pointer;font-weight:600;font-size:14.5px}
details.guide>div{display:flex;flex-direction:column;gap:8px;padding-top:8px}
.ctable{overflow-x:auto;margin-top:10px}
.ctable table{border-collapse:collapse;width:100%;font-size:14px}
.ctable th,.ctable td{text-align:left;vertical-align:top;padding:7px 10px 7px 0;border-bottom:1px solid var(--line)}
.ctable thead th{font-family:var(--mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:500}
.ctable tbody th{font-weight:600;white-space:nowrap;width:1%}
.kind{font-family:var(--mono);font-size:11px;padding:1px 6px;border-radius:3px;white-space:nowrap}
.k-vendor .kind,.k-portal .kind,.k-mag .kind{color:var(--info);background:var(--infobg)}
.k-own .kind{color:var(--ok);background:var(--okbg)}
.k-none .kind{color:var(--bad);background:var(--badbg)}
.clinks{display:flex;flex-direction:column;gap:4px}
.clinks div{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:baseline}
.clinks a{font-weight:600;text-decoration:none}
.legend{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:8px 16px}
.legend div{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;color:var(--muted)}
.legend b{color:var(--ink);font-weight:600}
.tools{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:8px;overflow:hidden}
.tool{background:var(--surface);padding:14px 16px;display:flex;flex-direction:column;gap:4px}
.tool a{font-weight:600;text-decoration:none;font-size:16px}
.tool span{font-size:13.5px;color:var(--muted)}
.tool .g{font-family:var(--mono);font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--accent)}
.empty{margin:0;padding:18px;border:1px dashed var(--line);border-radius:8px;color:var(--muted);font-size:14px;background:var(--surface)}
/* browse mode */
.controls{display:flex;flex-direction:column;gap:10px}
.row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.q{flex:1 1 240px;min-width:0;font:inherit;padding:9px 12px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink)}
.jump{display:flex;flex-wrap:wrap;gap:2px}
.jump a{font-family:var(--mono);font-size:12px;text-decoration:none;padding:3px 5px;border-radius:3px;color:var(--muted)}
.jump a:hover{background:var(--accent-soft);color:var(--accent)}
.count{font-size:13px;color:var(--muted)}
.list{display:flex;flex-direction:column;gap:12px}
footer{font-size:13px;color:var(--muted);max-width:72ch;display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--line);padding-top:12px}
footer p{margin:0}
footer .fine{max-width:62ch;line-height:1.5}
footer .fine a{color:inherit}
/* reserved slot: takes no space while empty */
.slot:empty{display:none}
.slot{border:1px solid var(--line);border-radius:6px;padding:8px}
.slot::before{content:"Sponsored";display:block;font-family:var(--mono);font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}
@media (max-width:600px){
  .ctable table,.ctable tbody{display:block}
  .ctable thead{display:none}
  .ctable tr{display:block;padding:9px 0;border-bottom:1px solid var(--line)}
  .ctable th,.ctable td{display:block;border:0;padding:0}
  .ctable tbody th{width:auto;margin-bottom:4px}
  .tab small{display:none}
  .t-guides{margin-left:4px}
  .tab{padding:9px 10px}
  .stickybar{margin:0 -16px}
}
@media (max-width:359px){.tab{padding:9px 6px}} /* smallest phones: keeps the tabs and "What's in each" on two rows */
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* static site additions */
.tab{text-decoration:none}
/* alphabetical lists read down each column, then across (not row by row) */
.cgrid{columns:160px;column-gap:14px;font-size:14px}
.cgrid a{display:block;break-inside:avoid;padding:2px 0;text-decoration:none;font-weight:600}
.cgrid small{color:var(--muted);font-weight:400;margin-left:4px}
.sgrid{columns:150px;column-gap:14px;font-size:15px}
.sgrid a{display:block;break-inside:avoid;padding:3px 0;text-decoration:none;font-weight:600}
.lede+.sgrid{margin-top:10px}
.natlink{margin:12px 0 0;padding-top:10px;border-top:1px solid var(--line);font-size:15px}.natlink a{font-weight:600;text-decoration:none}
.crumbs{font-size:13px;color:var(--muted);display:flex;flex-wrap:wrap;gap:4px 6px}
.crumbs a{color:var(--muted)}
.section{scroll-margin-top:12px}
.section+.section{margin-top:8px}
.state.banded>.chead{background:var(--accent-soft);margin:-14px -16px 0;padding:10px 16px;border-radius:6px 6px 0 0}
.state.banded>.chead .sub i{border-color:var(--accent);color:var(--accent)}
[hidden]{display:none!important}
.t-all{--tc:var(--gui);--tsoft:var(--gui-soft);border:1px dashed var(--line);border-bottom:0}
.t-all b::before{display:none}
.t-guides{margin-left:auto}
.t-all{margin-left:0}
.section .section{margin-top:0}
.section[data-tool="courts"]{--accent:var(--dock);--accent-soft:var(--dock-soft)}
.section[data-tool="property"]{--accent:var(--own);--accent-soft:var(--own-soft)}
.section[data-tool="business"]{--accent:var(--biz);--accent-soft:var(--biz-soft)}
.section[data-tool="licenses"]{--accent:var(--lic);--accent-soft:var(--lic-soft)}
.section[data-tool="housing"]{--accent:var(--hou);--accent-soft:var(--hou-soft)}
.section[data-tool="other"]{--accent:var(--nat);--accent-soft:var(--nat-soft)}
.section[data-tool="guides"]{--accent:var(--gui);--accent-soft:var(--gui-soft)}
footer{flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px 14px;max-width:none}
footer .theme{font-size:12px}
footer .theme button{padding:3px 9px;font-size:12px}
.wrap{padding-block:16px 40px}
footer{flex-direction:column;align-items:center;gap:10px;text-align:center}
.lead{margin:0;font-size:13.5px;color:var(--muted);max-width:72ch}
details.about{border-top:1px solid var(--line);padding-top:8px}
details.about>summary{cursor:pointer;font-size:13px;color:var(--muted)}
details.about>summary:hover{color:var(--accent)}
details.about>div{display:flex;flex-direction:column;gap:6px;padding-top:6px;font-size:13.5px;max-width:72ch}
details.about p{margin:0}
dl.courts{margin:0;display:flex;flex-direction:column;gap:2px;font-size:13.5px;max-width:72ch}
dl.courts div{display:grid;grid-template-columns:minmax(120px,max-content) 1fr;gap:0 10px;align-items:baseline}
dl.courts dt{font-weight:600;color:var(--ink);white-space:nowrap}
dl.courts dd{margin:0;color:var(--muted)}
@media (max-width:600px){dl.courts div{grid-template-columns:1fr}dl.courts dt{white-space:normal}}
.which{display:flex;flex-direction:column;gap:4px;border-top:1px solid var(--line);padding-top:8px}
.which h4{margin:0;font-size:11.5px;font-family:var(--mono);letter-spacing:.05em;text-transform:uppercase;color:var(--muted);font-weight:500}

/* national card: outside (non-government) resources */
.state.outside{border-style:dashed;border-top:3px dashed var(--line)}
.cov.nongov{background:var(--bg);color:var(--muted);border:1px dashed var(--line)}
.onote{font-size:13.5px;color:var(--muted);margin:0}

/* city, county and ZIP lookup: always open under the dropdowns (DECISIONS.md 2026-11-12.7). Results in two columns, cities
   and towns | counties; one column for a ZIP or a city in several counties; stacked on a phone, cities first (owner, Nov 13). */
.lookup{display:flex;flex-direction:column;gap:8px}
.qlink{font:inherit;font-size:14px;background:none;border:0;padding:0;color:var(--accent);text-decoration:underline;text-underline-offset:2px;cursor:pointer;align-self:flex-start}
.qbox{display:flex;flex-direction:column;gap:6px}
.qhead{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.qhead label{font-family:var(--mono);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
#qIn{font:inherit;font-size:16px;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:6px;padding:10px 12px;width:100%;box-sizing:border-box}
.qres{display:flex;flex-direction:column;gap:8px}
.qres:empty{display:none}
.qcols{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}
.qcol{display:flex;flex-direction:column;gap:6px;min-width:0}
.qch{display:flex;justify-content:space-between;align-items:baseline;gap:10px;min-height:20px;font-family:var(--mono);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.qch .qlink{font-family:var(--sans);font-size:13px;letter-spacing:0;text-transform:none;white-space:nowrap}
.qlist{border:1px solid var(--line);border-radius:6px;overflow:hidden}
.qres a,.qres .qmsg{display:block;padding:10px 12px;border-top:1px solid var(--line);font-size:15px;color:var(--ink);text-decoration:none}
.qres a:first-child,.qres .qmsg:first-child{border-top:0}
.qres a span{color:var(--muted);font-size:13px;margin-left:6px}
.qres a[aria-selected="true"],.qres a:focus{background:var(--accent-soft);outline:none}
@media (hover:hover){.qres a:hover{background:var(--accent-soft)}}
.qres .qmsg{font-size:13.5px;color:var(--muted);background:var(--accent-soft)}
@media (max-width:600px){.qcols{grid-template-columns:1fr}}

/* "What you can look up": ONE list of what each tab holds (tools/build.py LOOK).
   Home page: open, under the state list. State and county pages: behind "What's in each" at the end of the tab strip, closed until pressed. */
.glist{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:6px;overflow:hidden}
.glist>*{display:flex;flex-direction:column;gap:2px;padding:10px 12px;background:var(--surface);color:var(--ink);text-decoration:none}
.glist b{color:var(--tc);font-size:15px;font-weight:700}
.glist a b::after{content:"\203A";margin-left:7px;font-weight:400;color:var(--muted)}
.glist span{font-size:14px;line-height:1.45}
.glist a:focus-visible{outline-offset:-2px}
@media (hover:hover){.glist a:hover{background:var(--tsoft)}}
.glist a:active{background:var(--tsoft)}
.gnone{margin:0;font-size:13.5px;color:var(--muted)}
.ih{font-family:var(--mono);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0}
.look{display:flex;flex-direction:column;gap:8px;margin:16px 0 4px}
.look .glist>*{background:var(--bg)}
.tmore{font:inherit;font-size:13.5px;color:var(--muted);background:none;border:0;padding:0 2px 0 10px;min-height:40px;cursor:pointer;white-space:nowrap;margin-left:auto;align-self:stretch;display:inline-flex;align-items:center;gap:7px}
.tmore::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.tmore[aria-expanded="true"]{color:var(--ink)}
.tmore[aria-expanded="true"]::after{transform:translateY(1px) rotate(-135deg)}
@media (hover:hover){.tmore:hover{color:var(--ink)}}
.tlist{display:flex;flex-direction:column;gap:6px}
.tlist[hidden]{display:none}
/* population line under the card name and any tag (data/geo/population.json) */
.chead .pop{flex-basis:100%;margin-top:-3px;font-family:var(--mono);font-size:11.5px;letter-spacing:.02em;color:var(--muted);font-variant-numeric:tabular-nums lining-nums}
/* "Report a problem" at the bottom of county cards */
.rep{margin-top:12px;padding-top:10px;border-top:1px dashed var(--line);display:flex;flex-direction:column;gap:8px}
.allview .rep{display:none}
.rep .rep-open{font-size:13px;color:var(--muted)}
.rep-form{display:flex;flex-direction:column;gap:10px}
.rep-form[hidden]{display:none}
.qhead b{font-family:var(--mono);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:500}
.rep-l{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--muted)}
.rep-form select,.rep-form textarea{font:inherit;font-size:15px;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:6px;padding:8px 10px;width:100%;box-sizing:border-box;min-width:0}
.rep-form fieldset{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;font-size:15px}
.rep-form legend{font-size:13px;color:var(--muted);padding:0;margin-bottom:4px}
.rep-form fieldset label{display:flex;gap:8px;align-items:center}
.rep-send{align-self:flex-start;font:inherit;font-size:15px;font-weight:600;color:var(--surface);background:var(--accent);border:0;border-radius:6px;padding:8px 16px;cursor:pointer}
.rep-send:disabled{opacity:.6}
.rep-msg{margin:0;font-size:13px;color:var(--muted)}
.rep-msg:empty{display:none}
