/* sharpsdisposalnearme.com site styles, loaded AFTER app-shell.css (the shared app shell: tokens, header, tab bar,
   grouped rows, tiles, tables). Only what is specific to this site lives here: the ZIP finder fields and result
   lists, the state blocks, the share row and one-line H1 sizes. Colors come from the :root tokens in app-shell.css
   (neutral placeholder palette; the per-site look comes later from the mockup the owner picks). */

/* H1 on one line on phones: sized from the heading's length (class set by build.py, FIT_LENGTHS) */
h1.fit{white-space:nowrap}
h1.fit19{font-size:min(28px,calc((100vw - 34px) / 10.6))}
h1.fit23{font-size:min(28px,calc((100vw - 34px) / 12.9))}
h1.fit24{font-size:min(28px,calc((100vw - 34px) / 13.4))}
h1.fit25{font-size:min(28px,calc((100vw - 34px) / 14))}
h1.fit27{font-size:min(28px,calc((100vw - 34px) / 15))}
h1.fit29{font-size:min(28px,calc((100vw - 34px) / 16.2))}
h1.fit30{font-size:min(28px,calc((100vw - 34px) / 16.8))}
h1.fit35{font-size:min(26px,calc((100vw - 34px) / 19.6))}
h1.fit40{font-size:min(24px,calc((100vw - 34px) / 22.4))}

/* Share, Embed, Cite, Prefer: four equal app action buttons on one row */
.ecp{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:12px}
.ecp-solo{margin:10px 0 0}
.pill{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;padding:4px 2px;font-size:12px;font-weight:600;
color:var(--soft);background:var(--tint);border:0;border-radius:var(--r-s);text-decoration:none}
.pill:hover,.pill[aria-expanded=true]{color:var(--acc);background:var(--acc-tint)}
.pill svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.panel{margin-top:8px}
.panel p{margin:0 0 6px;font-size:13px;color:var(--soft)}
.panel textarea{width:100%;font:13px/1.4 ui-monospace,Menlo,monospace;border:1px solid var(--line);border-radius:8px;padding:8px;resize:vertical;background:var(--card)}

/* buttons */
.copy{min-height:44px;padding:0 16px;border-radius:10px;border:1px solid var(--acc);background:var(--card);color:var(--acc);font-weight:600;font-size:15px;margin-top:6px}
.copy.ok{background:var(--ok);border-color:var(--ok);color:#fff}
.noscript{font-size:14px;color:var(--warn-ink)}

/* finder fields */
input,select,textarea{font-family:inherit;color:var(--ink)}
.grid2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:end}
.zfield{min-width:0;margin-bottom:6px}
.zfield label,.unitpick.stacked label{display:block;font-size:13px;color:var(--soft);margin-bottom:3px;line-height:1.3}
.zfield input{width:100%;min-width:0;min-height:44px;font-weight:600;font-size:20px;line-height:1.2;letter-spacing:.06em;background:var(--tint);border:1px solid var(--line);border-radius:10px;padding:8px 10px;font-variant-numeric:tabular-nums}
.unitpick.stacked{display:block;margin-bottom:6px;min-width:0}
.unitpick select{width:100%;min-height:44px;font-size:16px;border:1px solid var(--line2);border-radius:10px;padding:8px 10px;background:var(--card)}
.hint{font-size:12px;color:var(--soft);margin:8px 0 0}
.msg{font-size:14px;color:var(--warn-ink);background:var(--warn-bg);border-radius:8px;padding:6px 10px;margin:6px 0 0}
.msg:empty{display:none}

/* a ZIP that crosses a state line: one button per state */
.pickstate{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.pickstate .btn{min-height:44px;padding:0 16px;border-radius:10px;border:1px solid var(--acc);background:var(--card);color:var(--acc);font-weight:600;font-size:15px}

/* finder result: place name, chip, tiles, link lists */
.big-place .bn{font-size:26px;line-height:1.15}
.stats .stat-v{font-size:15px}
.lk-h{font-size:13px;font-weight:700;color:var(--ink);margin:10px 0 4px;text-transform:uppercase;letter-spacing:.03em}
.lk{list-style:none;padding:0!important;margin:0 0 8px}
.lk li{padding:6px 0;border-top:1px solid var(--line);margin:0;font-size:15px;line-height:1.35}
.lk li:first-child{border-top:0}
.lk a{font-weight:600;display:inline-block;min-height:24px}
.lk-o{font-size:13px;color:var(--soft)}
.result .lk li{font-size:14px}

/* state blocks inside the region rows */
.stateblock{border-top:1px solid var(--line);padding-top:6px;margin-top:10px}
.stateblock h3{font-size:16px;margin:4px 0 4px}
.rule{font-size:14px;margin:0 0 6px;padding:6px 10px;border-radius:8px;background:var(--tint)}
.rule-banned{background:var(--warn-bg);color:var(--warn-ink)}
.held{font-style:italic}

/* FAQ answers and sources inside rows */
.faq-a p{color:var(--soft)}
.sources ol{font-size:14px;color:var(--soft)}

/* embed: tool only, no shell */
body.embed{background:transparent}
body.embed .wrap{padding:8px}
.embed-foot{font-size:12px;color:var(--soft);margin:8px 0 0}

@media (max-width:360px){.grid2{grid-template-columns:minmax(0,1fr)}}
@media print{.ecp,.panel,.related,.hint,.msg{display:none!important}.card{box-shadow:none}a{color:inherit}}

/* ---- look: light neutral palette with the logo's brick red (Ken's map mockup and logo, 2026-10-06) ---- */
:root{--bg:#f4f3f1;--card:#fff;--ink:#22252a;--soft:#5d6168;--line:#e6e3de;--line2:#cfcac2;--acc:#B5483B;--acc-ink:#fff;--acc-tint:#f7e9e6;--tint:#f6f5f2}
.app-head{background:rgba(251,250,248,.92)}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 16px;border-radius:12px;border:1px solid var(--line2);
background:#fff;color:var(--ink);font-weight:600;font-size:15px;text-decoration:none}
.btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
.btn-acc{background:var(--acc);border-color:var(--acc);color:#fff}
.btn-acc:hover{background:#9f3d31}
.btn-ghost{background:var(--tint)}
.locrow{margin:2px 0 4px}
.locrow .btn{width:100%}

/* ---- what are sharps (home hero) ---- */
.what{display:grid;gap:8px;margin:4px 0 14px}
.what-i{display:flex;gap:12px;align-items:flex-start;background:#fff;border-radius:14px;padding:12px 14px;box-shadow:0 1px 3px rgba(16,24,40,.08)}
.what-i svg{flex:none;width:28px;height:28px;padding:4px;border-radius:9px;background:#F7E9E6;fill:none;stroke:#B5483B;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.what-i b{display:block;font-size:15px;margin-bottom:1px}.what-i span{font-size:14.5px;line-height:1.45;color:var(--soft)}
.what-src{margin:0 4px;font-size:12px;color:var(--soft)}

/* ---- the map app on the home page ---- */
.mapapp{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:0 0 14px}
.mapapp .tool{margin:0}
.stage-wrap{position:relative}
.stage{position:relative;height:min(62vh,440px);min-height:300px;border-radius:var(--r);overflow:hidden;background:#e9e8e3;
box-shadow:0 1px 2px rgba(16,24,40,.06),0 6px 18px -10px rgba(16,24,40,.18)}
.stage.loading::after{content:"Loading map";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--soft);font-size:14px}
.stage.failed::after{content:"Street map unavailable on this device";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--soft);font-size:14px;padding:0 20px;text-align:center}
.stage .maplibregl-ctrl-group button{width:44px;height:44px}
.stage .maplibregl-ctrl-attrib{font-size:11px;background:rgba(255,255,255,.85)}
.stage .maplibregl-ctrl-attrib a{color:var(--soft)}
.legend{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;margin:8px 4px 0;font-size:12.5px;color:var(--soft)}
.lg-pin{width:10px;height:14px;background:#B5483B;border-radius:50% 50% 50% 50%/60% 60% 40% 40%;margin-left:2px}
.lg-clu{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#B5483B;color:#fff;font-size:10px;font-weight:700;margin-left:6px}
.status{margin:6px 4px 0;font-size:13.5px;line-height:1.4;color:var(--ink);min-height:19px}

/* point card: a sheet over the bottom of the map */
.pcard{position:absolute;left:8px;right:8px;bottom:8px;max-height:calc(100% - 16px);overflow:auto;background:#fff;border-radius:14px;padding:12px 14px;
box-shadow:0 10px 30px -8px rgba(16,24,40,.35);z-index:3}
.pcard:focus{outline:none}
.card-x{position:absolute;right:4px;top:4px;width:44px;height:44px;border:0;background:transparent;font-size:24px;color:var(--soft);border-radius:10px}
.card-kicker{margin:0 44px 2px 0;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--acc)}
.pcard h3{margin:0 44px 2px 0;font-size:17px;line-height:1.25}
.card-addr{margin:0 0 6px;color:var(--soft);font-size:14px}
.card-facts{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;margin:0 0 8px;font-size:14px}
.card-facts dt{color:var(--soft)}
.card-facts dd{margin:0}
.card-says{font-size:14px;margin:0 0 6px}
.card-check{font-size:13.5px;margin:0 0 10px;padding:6px 10px;background:#fbf3df;color:#6b4f12;border-radius:8px}
.card-act{display:flex;gap:8px;margin:0 0 8px}
.card-act .btn{flex:1}
.card-more{display:grid;gap:6px;margin:0 0 8px}
.card-alt{justify-content:flex-start;text-align:left;font-size:14px}
.card-src{margin:0;font-size:12px;color:var(--soft)}
.card-src a{color:var(--soft)}

/* nearest list */
.listcard{padding:6px 14px 10px}
.listh{margin:0}
.listh button{width:100%;min-height:44px;border:0;background:none;text-align:left;font-size:16px;font-weight:700;color:var(--ink);padding:0;display:flex;align-items:center;gap:6px}
.listh button::after{content:"";margin-left:auto;width:9px;height:9px;border-right:2px solid #a0a4ab;border-bottom:2px solid #a0a4ab;transform:rotate(45deg);transition:transform .2s}
.listh button[aria-expanded="false"]::after{transform:rotate(-45deg)}
#list-count{color:var(--soft);font-weight:600}
.plist{list-style:none;margin:0;padding:0}
.plist li{margin:0;border-top:1px solid var(--line)}
.prow{display:grid;width:100%;min-height:44px;text-align:left;border:0;background:none;padding:9px 0;color:var(--ink);gap:1px}
.prow:hover{background:var(--tint)}
.prow-n{font-weight:600;font-size:15px;line-height:1.3}
.prow-a{font-size:13.5px;color:var(--soft)}
.prow-s{font-size:12.5px;color:var(--acc);font-weight:600;font-variant-numeric:tabular-nums}
.about h2{font-size:18px;margin:2px 0 8px}
.srcs{padding-left:18px;font-size:14px}

@media (min-width:768px){
.what{grid-template-columns:repeat(3,1fr)}.what-src{grid-column:1/-1}
.type-tool .wrap,.type-tool .app-head-in{max-width:860px}
.stage{height:560px}
.pcard{left:auto;right:12px;bottom:12px;width:360px}
}
/* desktop: the map stays on the left at full height, the finder and lists scroll on the right */
@media (min-width:1024px){
.type-tool .wrap,.type-tool .app-head-in{max-width:1180px}
.mapapp{grid-template-columns:minmax(0,1fr) 400px;column-gap:20px;align-items:start}
.m-map{grid-column:1;grid-row:1 / span 3;position:sticky;top:12px;align-self:start}
.m-search,.m-list,.m-data{grid-column:2}
.stage{height:calc(100vh - 120px);min-height:520px;max-height:900px}
}
@media (min-width:1024px){.type-tool .wrap>:not(.mapapp):not(.hero){max-width:820px;margin-left:auto;margin-right:auto}}
/* home (map) header: as wide as the map layout, the compact tab pill right after the brand (no wide gap) */
@media (min-width:768px){.type-tool .app-head-in{justify-content:flex-start;gap:28px}.type-tool .app-head .tabs{margin-left:0}}
