:root{color-scheme:light;--ink:#172f35;--muted:#5c6d70;--brand:#123f45;--paper:#fff;--line:#dce4e4;--soft:#eff4f3;--accent:#e7f3ef;--safe-bottom:env(safe-area-inset-bottom,0px);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--soft)}button,select,input,textarea{font:inherit}button,select,input{min-height:44px}button,select{cursor:pointer}button{border:1px solid var(--line);border-radius:9px;background:var(--paper);padding:8px 12px;color:var(--ink);font-weight:600}button:hover{background:var(--accent)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #d29b35;outline-offset:2px}button:disabled{opacity:.5;cursor:wait}a{color:#1b6676;text-underline-offset:3px}[hidden]{display:none!important}.app{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden}.topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px max(14px,env(safe-area-inset-right)) 10px max(14px,env(safe-area-inset-left));padding-top:max(10px,env(safe-area-inset-top));background:var(--paper);border-bottom:1px solid var(--line)}.brand{display:flex;gap:10px;align-items:center}.brand img{border-radius:10px}.brand h1{font-size:20px;line-height:1.1;margin:0}.brand p{font-size:11px;color:var(--muted);margin:4px 0 0}.top-actions,.tabs,.button-row{display:flex;gap:8px;flex-wrap:wrap}.tabs{padding:7px 12px;background:var(--paper);gap:5px}.tabs button{flex:1;max-width:200px;border-color:transparent;white-space:nowrap}.tabs .active{background:var(--brand);color:white}.tabs #filter-toggle{margin-left:auto;background:var(--soft);max-width:120px}.tabs span{font-size:12px}.filters{padding:12px;background:var(--paper);border-top:1px solid var(--line);max-height:38vh;overflow:auto}.filter-grid{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr)) minmax(180px,1.7fr);gap:10px}label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600}select,input[type=search]{border:1px solid #bbc9cb;border-radius:8px;padding:8px;background:white;width:100%;min-width:0;color:var(--ink)}.filter-options{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:8px}.check{display:flex;flex-direction:row;gap:8px;align-items:center;min-height:44px;font-size:12px}.check input{width:19px;height:19px;min-height:0;accent-color:var(--brand)}.filter-options #reset{margin-left:auto}.summary{display:flex;justify-content:space-between;gap:10px;padding:6px 14px;background:var(--soft);font-size:12px;color:var(--muted);min-height:30px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 345px;flex:1;min-height:0}.map-column{position:relative;min-width:0;isolation:isolate}#map{height:100%;width:100%;background:#e6ecec}.leaflet-control-attribution{max-width:100%;font-size:9px!important;line-height:1.25!important}.leaflet-bottom.leaflet-right{max-width:85%}.leaflet-control-zoom a{width:38px!important;height:38px!important;line-height:38px!important}.map-tools{position:absolute;top:12px;right:12px;z-index:500;display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;max-width:75%}.map-tools button{box-shadow:0 1px 6px #0002;font-size:12px}.map-bottom{position:absolute;bottom:38px;left:12px;z-index:500;width:min(430px,calc(100% - 24px));pointer-events:none}.map-options,.legend,.map-status{pointer-events:auto;background:#ffffffed;border:1px solid #d3dfdf;box-shadow:0 1px 6px #0001;border-radius:9px;padding:6px 9px;margin-top:5px}.map-options{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.map-options>label:first-child{flex:1;min-width:125px}.map-options select{min-height:37px;font-size:12px}.map-options .check{flex:1;min-width:138px}.legend{display:flex;gap:10px;flex-wrap:wrap;font-size:10px;line-height:1.4}.legend span{display:inline-flex;gap:3px;align-items:center}.legend i{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--color)}.map-status{font-size:11px;line-height:1.4}.list-column{background:var(--paper);display:flex;flex-direction:column;min-height:0;overflow:hidden;border-left:1px solid var(--line)}.list-header{padding:13px 14px;border-bottom:1px solid var(--line)}.list-header h2{font-size:16px;margin:0}.list-header p{font-size:11px;line-height:1.45;margin:5px 0;color:var(--muted)}.parcel-list{overflow:auto;flex:1;overscroll-behavior:contain}.parcel-card{display:grid;grid-template-columns:minmax(0,1fr) 44px;border-bottom:1px solid var(--line);padding:4px 10px}.parcel-card.selected{background:#eff5f3;border-left:3px solid var(--brand);padding-left:7px}.parcel-open{text-align:left;border:0;background:transparent;padding:10px 4px;border-radius:0;font-weight:400;min-width:0}.parcel-open h3{font-size:13px;margin:0 0 6px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.parcel-open p{margin:4px 0;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.parcel-open .minor{color:var(--muted);font-size:11px}.score-dot{height:10px;width:10px;display:inline-block;border-radius:50%;flex-shrink:0}.card-star{border:0;background:transparent;align-self:start;font-size:24px;color:#986d20;padding:5px;min-width:44px}.note-preview{white-space:pre-wrap;color:var(--ink);background:#f3f6f4;padding:7px!important;border-radius:5px}.not-listed{font-weight:650;color:#805327}.empty{padding:22px 16px;font-size:14px;line-height:1.5;color:var(--muted)}.mode-list .workspace,.mode-saved .workspace{grid-template-columns:1fr}.mode-list .map-column,.mode-saved .map-column{display:none}.mode-list .parcel-list,.mode-saved .parcel-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));align-content:start}.mode-list .parcel-card,.mode-saved .parcel-card{border-right:1px solid var(--line)}footer{padding:6px 12px calc(6px + var(--safe-bottom));font-size:10px;line-height:1.3;background:var(--paper);border-top:1px solid var(--line);color:var(--muted)}dialog{border:1px solid var(--line);color:var(--ink);background:white;padding:0}dialog::backdrop{background:#102a3270}.sheet{width:min(600px,calc(100% - 28px));max-height:88vh;max-height:88dvh;border-radius:18px;margin:auto;overflow:auto;overscroll-behavior:contain}.sheet-top{display:flex;justify-content:space-between;gap:12px;align-items:center;position:sticky;top:0;padding:14px 16px;background:#fff;z-index:2;border-bottom:1px solid var(--line)}.sheet-top h2{margin:0;font-size:20px;overflow-wrap:anywhere}.sheet-top p{font-size:11px;color:var(--muted);margin:0 0 5px}.sheet-top button{flex-shrink:0}.detail-address{font-size:14px;line-height:1.45}.detail-body{padding:4px 16px 0}.status-line{background:var(--soft);padding:9px 11px;border-radius:8px;font-size:12px;line-height:1.5}.facts{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;margin:17px 0}.facts div{min-width:0}.facts dt{font-size:11px;color:var(--muted);margin-bottom:4px}.facts dd{font-size:14px;margin:0;overflow-wrap:anywhere}.facts .wide{grid-column:1/-1}.risk{font-size:13px;line-height:1.6;background:#fcf6e9;border-left:3px solid #c69937;padding:10px 12px;white-space:pre-wrap}.source-links{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.source-links a{display:inline-flex;align-items:center;padding:10px;border:1px solid var(--line);border-radius:8px;min-height:44px;font-size:12px}.notes-section{padding:8px 16px calc(20px + var(--safe-bottom));border-top:1px solid var(--line);margin-top:12px}.notes-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.notes-heading h3{font-size:16px}.notes-heading button{color:#805b1c}.notes-section textarea{display:block;width:100%;padding:12px;line-height:1.5;border:1px solid #b2c7c8;border-radius:9px;margin-top:8px;font-size:16px;resize:vertical}.notes-section p{font-size:11px;line-height:1.45;color:var(--muted)}.help-dialog{width:min(620px,calc(100% - 24px));max-height:88dvh;border-radius:14px;overflow:auto}.help-body{padding:0 17px 20px;font-size:14px;line-height:1.6}.help-body h3{margin-bottom:4px;font-size:16px}.help-body p{margin-top:5px}.toast{position:fixed;bottom:calc(60px + var(--safe-bottom));left:50%;transform:translateX(-50%);background:#173b42;color:white;padding:12px 17px;border-radius:10px;z-index:3000;box-shadow:0 4px 20px #0003;max-width:calc(100% - 28px);font-size:13px;line-height:1.5}.pin{background:transparent!important;border:0!important}.pin-dot{display:flex;align-items:center;justify-content:center;border-radius:50%;width:25px;height:25px;border:2px solid white;background:var(--pin);box-shadow:0 1px 5px #0008;color:white;font-size:10px;font-weight:800}.pin-dot.starred:after{content:'★';font-size:12px}.pin.selected .pin-dot{outline:3px solid #182f35;outline-offset:2px}.leaflet-tooltip{font-family:inherit;font-size:11px}.offline .map-column:after{content:'Offline: parcel data and notes available; map tiles need internet';position:absolute;top:68px;right:12px;left:54px;z-index:500;background:#fff5dd;padding:9px;border-radius:8px;font-size:11px;pointer-events:none}
@media(max-width:760px){.workspace{grid-template-columns:1fr}.mode-map .list-column{display:none}.topbar{padding-bottom:8px}.brand h1{font-size:18px}.desktop-label{display:none}.top-actions button{padding:6px 10px}.tabs{padding:5px 8px}.tabs button{padding:7px 6px;min-width:0}.filter-grid{grid-template-columns:1fr 1fr}.search-field{grid-column:1/-1}.filters{max-height:42dvh}.summary{padding:5px 10px;font-size:11px}.map-tools{right:9px;top:10px;gap:5px}.map-tools button{padding:8px 9px}.map-bottom{left:9px;bottom:35px;width:calc(100% - 18px)}.legend{gap:10px;font-size:9px}.map-options{padding:5px 8px;gap:10px}.map-options .check{font-size:11px}.map-options label{font-size:10px}.sheet{width:100%;max-width:100%;margin:auto 0 0;border-radius:18px 18px 0 0;max-height:85dvh}.sheet-top{padding:12px 15px}.sheet-top h2{font-size:18px}.sheet-top p{font-size:11px}.detail-body{padding-left:15px;padding-right:15px}.list-header{padding:10px 13px}.mode-list .parcel-list,.mode-saved .parcel-list{display:block}.facts dd{font-size:14px}footer{font-size:9px;padding-top:5px;padding-bottom:calc(5px + var(--safe-bottom))}.notes-heading h3{font-size:15px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
