:root{font-family:Arial,Helvetica,sans-serif;color:#213935;background:#f7f8f4;font-size:14px;--ink:#213935;--muted:#64766d;--line:#d6ded7;--green:#285950;--gold:#b59652;--filter-width:310px;--detail-width:440px;--list-width:310px}
*{box-sizing:border-box}body{margin:0;display:flex;flex-direction:column;height:100dvh;overflow:hidden}button,input,select{font:inherit}button,select{min-height:36px}button{border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);padding:7px 12px;cursor:pointer;white-space:nowrap}button:hover{background:#edf3ec;border-color:#a9bdb0}button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #c59d38;outline-offset:2px}button.active,button.primary{background:var(--green);color:white;border-color:var(--green)}button.link{border:0;background:none;padding:4px 8px;color:#315f50}button.outline{background:transparent}input,select{border:1px solid var(--line);background:white;border-radius:6px;padding:8px;color:var(--ink);max-width:100%}label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--muted)}h1,h2,h3,p{margin:0}h2{font-size:18px}h3{font-size:15px}p{line-height:1.5}a{color:#226554}details>summary{cursor:pointer;font-size:12px;line-height:1.5}details p{font-size:12px;margin:8px 0}details[open]>summary{margin-bottom:8px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}
.app-header{display:flex;align-items:center;gap:24px;padding:12px 24px;border-bottom:1px solid var(--line);background:#fff;flex-shrink:0}.brand{display:flex;align-items:center;gap:14px;min-width:290px}.brand img{width:98px;height:48px;object-fit:contain}.brand h1{font-family:Georgia,serif;font-weight:400;font-size:25px}.brand p{font-size:10px;letter-spacing:2px;color:#7c876e;margin-top:4px}.app-header nav{display:flex;gap:6px;margin:auto}.app-header nav button{border:0}.snapshot{display:flex;gap:16px;padding:6px 24px;background:#eef1e9;color:#677263;font-size:11px;flex-shrink:0}.snapshot #modeLabel{margin-left:auto}.snapshot #buildDate{border-left:1px solid #c8d1c4;padding-left:16px}.topbar{display:flex;gap:8px;align-items:center;padding:10px 20px 6px;flex-wrap:wrap;flex-shrink:0}.searchbox{position:relative;flex:1;min-width:210px;max-width:630px}.searchbox input{width:100%;height:38px;padding-right:36px}.searchbox button{position:absolute;right:2px;top:2px;background:none;border:none;font-size:20px;min-height:32px;padding:3px 10px}.phase-control{display:flex;border:1px solid var(--line);border-radius:7px;overflow:hidden}.phase-control button{border:0;border-radius:0;min-height:36px}.phase-control button+button{border-left:1px solid var(--line)}#filterBadge{border-radius:10px;background:#b59652;color:white;padding:1px 5px;margin-left:6px}.active-filters{display:flex;gap:10px;align-items:center;min-height:35px;padding:3px 22px 7px;flex-shrink:0;font-size:12px}.active-filters #matchcount{font-weight:bold;white-space:nowrap}.active-filters #chips{display:flex;gap:5px;overflow-x:auto;align-items:center}.chip{padding:3px 9px;min-height:25px;border-radius:15px;background:#e6ede1;border-color:#c5d4bd;font-size:11px}.active-filters #reset{margin-left:auto}main{min-height:0;flex:1;display:flex;position:relative;border-top:1px solid var(--line)}#workspace{min-width:0;flex:1;display:flex;flex-direction:column;position:relative}.map-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:9px 16px;background:#fff;border-bottom:1px solid var(--line);flex-shrink:0;flex-wrap:wrap}.map-settings,.map-actions{display:flex;gap:7px;align-items:center}.map-settings label{flex-direction:row;align-items:center;white-space:nowrap}.map-settings select{max-width:185px}.map-actions button{padding:6px 10px}.map-actions select{max-width:160px}.map-actions #zoomIn,.map-actions #zoomOut{font-size:20px;min-width:35px;padding:3px 9px}#mapArea{min-height:0;position:relative;flex:1;background:#eaf0e5;overflow:hidden}#map{width:100%;height:100%;display:block;touch-action:none;user-select:none;cursor:grab}#map:active{cursor:grabbing}.lot{cursor:pointer;vector-effect:non-scaling-stroke;stroke:#f6f7f1;stroke-width:1.2;transition:fill .15s,opacity .15s}.lot:hover,.lot:focus-visible{stroke:#163b32;stroke-width:3;outline:none;filter:brightness(1.16)}.lot.selected{stroke:#d7ad36;stroke-width:4;filter:brightness(1.08)}.lot.search-match{stroke:#305d39;stroke-width:2}.lot.nonmatch{opacity:.18}.lot.context{opacity:.12}.map-label{fill:#fff;pointer-events:none;font-weight:600;text-anchor:middle;paint-order:stroke;stroke:#173e3244;stroke-width:1px}.map-label.secondary{font-weight:400}.map-label.dark{fill:#32493b;stroke:#eaf0e5}.streetlabel{fill:#53634f;text-anchor:middle;letter-spacing:1px;font-weight:600;pointer-events:none;paint-order:stroke;stroke:#eaf0e5;stroke-width:3}.phaseLabel{fill:#607158;font-weight:700;letter-spacing:3px;pointer-events:none}.road{stroke:#fff8;fill:none;stroke-linejoin:round;stroke-linecap:round;pointer-events:none}.plat-image{pointer-events:none}.dimension-label{fill:#324932;text-anchor:middle;pointer-events:none;paint-order:stroke;stroke:#f6f8ee;stroke-width:3}.map-hint{position:absolute;bottom:12px;left:14px;border-radius:5px;padding:6px 10px;background:#ffffffdc;color:#65735c;font-size:11px;pointer-events:none}.north-indicator{position:absolute;top:16px;right:18px;display:flex;align-items:center;flex-direction:column;font-size:30px;color:#57684c;pointer-events:none}.north-indicator span{font-size:11px;font-weight:bold}.legend{background:#fff;display:flex;gap:6px 12px;align-items:center;flex-wrap:wrap;padding:8px 18px;border-top:1px solid var(--line);min-height:36px;max-height:95px;overflow:auto;font-size:11px;flex-shrink:0}.legend button{display:flex;gap:5px;align-items:center;border:0;padding:3px 5px;font-size:11px;min-height:24px;background:transparent}.swatch{display:inline-block;width:12px;height:12px;border-radius:3px;flex-shrink:0}.legend-title{font-weight:bold;margin-right:6px}.data-notes{display:flex;align-items:center;justify-content:space-between;padding:7px 18px;background:#f8f9f4;flex-shrink:0;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.data-notes details{max-width:80%}.data-notes details[open]{max-height:160px;overflow:auto}.data-notes li{margin:5px 0;line-height:1.4}.map-message{position:absolute;bottom:48px;left:50%;transform:translateX(-50%);padding:10px 15px;background:#fff;border:1px solid #becabd;border-radius:8px;max-width:90%;box-shadow:0 3px 15px #17372220;font-size:12px;pointer-events:none}.hover-preview{position:absolute;z-index:5;max-width:285px;padding:12px;background:#fffffff5;border:1px solid #ccd7c8;border-radius:9px;box-shadow:0 5px 25px #19371d28;pointer-events:none;font-size:12px}.hover-preview strong{display:block;font-size:14px;margin-bottom:5px}.hover-preview span{display:block;color:var(--muted);line-height:1.5}.mini-toggle{position:absolute;bottom:12px;right:14px;font-size:11px;background:#ffffffeb;min-height:30px}.mini-map{position:absolute;bottom:12px;right:14px;width:165px;background:#fffffff0;border:1px solid var(--line);border-radius:7px;padding:6px;font-size:10px}.mini-map>div{display:flex;align-items:center;justify-content:space-between}.mini-map button{min-height:22px;padding:1px 6px}.mini-map svg{display:block;width:100%;height:125px;cursor:pointer}.mini-map>span{color:var(--muted)}
.drawer{background:#fff;min-width:0;position:relative;border-right:1px solid var(--line);flex-shrink:0;display:flex;flex-direction:column;overflow:hidden}.filter-drawer{width:var(--filter-width);order:-1}.list-drawer{width:var(--list-width);border-right:0;border-left:1px solid var(--line)}.property-drawer{width:var(--detail-width);border-right:0;border-left:1px solid var(--line)}.drawer-head{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:16px;border-bottom:1px solid var(--line);flex-shrink:0}.drawer-head button{font-size:20px;min-height:30px;padding:2px 8px;border:0}.drawer-body{overflow:auto;min-height:0;flex:1;padding:15px;overscroll-behavior:contain}.filter-note{font-size:11px;color:var(--muted);line-height:1.5;background:#f4f6f0;padding:9px;border-radius:6px;margin-bottom:15px}.filter-drawer label{margin:0 0 13px}.filter-drawer details{margin-bottom:16px}.filter-drawer details>summary{font-size:13px;font-weight:bold}.filter-drawer input[type=number]{width:100%}.filter-drawer select[multiple]{min-height:74px}.range-inputs{display:flex;gap:6px}.range-inputs input{width:50%}.coverage-note{font-size:10px;color:#7d8773;margin-top:4px}.check{flex-direction:row;align-items:center;gap:8px}.check input{accent-color:var(--green)}.resize-handle{position:absolute;top:0;bottom:0;right:0;width:5px;cursor:col-resize;z-index:7}.property-drawer .resize-handle{left:0;right:auto}.resize-handle:hover{background:#afc0a688}.result{display:flex;flex-direction:column;width:100%;white-space:normal;align-items:flex-start;gap:5px;text-align:left;margin-bottom:6px;padding:10px;background:#f6f8f2}.result strong{font-size:13px}.result span{font-size:11px;color:#6a7763;line-height:1.4}.result.active{color:var(--ink);background:#e3eddb;border-color:#8aab73}.list-empty{font-size:12px;line-height:1.5;color:var(--muted);padding:16px 4px}.floating-panel{position:absolute;z-index:9;right:16px;top:12px;width:300px;max-height:calc(100% - 24px);overflow:auto;background:white;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 30px #15351e22;padding:0 16px 15px}.floating-panel .drawer-head{padding:12px 0;margin-bottom:12px}.floating-panel label{margin-bottom:11px}.floating-panel details{font-size:11px;color:var(--muted)}.export-panel{width:310px}.export-panel>button,.export-panel>select{width:100%;margin-bottom:7px;text-align:left}.export-panel p{font-size:11px;color:var(--muted)}
#detailContent{height:100%;overflow:auto;overscroll-behavior:contain}.property-head{position:sticky;top:0;background:#fff;z-index:4;border-bottom:1px solid var(--line);padding:16px}.property-head .identity-line{display:flex;justify-content:space-between;gap:8px;align-items:center}.property-head h2{font-family:Georgia,serif;font-weight:400;font-size:26px;line-height:1.17;margin:8px 0}.property-head .small{font-size:11px;color:var(--muted)}.property-head .close{border:0;font-size:22px;min-height:26px;padding:0 6px}.builder-badge{font-size:11px;color:#496341}.status-pill{display:block;font-size:11px;line-height:1.5;padding:7px 9px;background:#eef2e6;border-radius:5px;margin-top:10px}.status-pill.warning{background:#f7ecd5;color:#775724}.property-tabs{display:flex;gap:4px;overflow:auto;padding:10px 16px;border-bottom:1px solid var(--line);background:#fbfcf8}.property-tabs button{font-size:11px;padding:5px 8px;min-height:28px}.property-body{padding:17px}.property-actions{display:flex;gap:6px;margin-bottom:15px;flex-wrap:wrap}.property-actions button{font-size:11px;min-height:30px}.facts{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fact{border:1px solid #dce3d7;border-radius:7px;padding:11px;overflow-wrap:anywhere;min-width:0}.fact.wide{grid-column:1/-1}.fact label{font-size:11px;margin-bottom:7px}.fact strong{display:block;font-size:15px;font-weight:600;line-height:1.4;margin-bottom:5px}.fact small{display:block;font-size:10px;color:var(--muted);line-height:1.45}.evidence-badge{display:inline-block;font-size:9px;padding:2px 5px;border-radius:8px;background:#e6efe1;margin:1px 0 5px}.evidence-badge.inferred{background:#e6e9fa;color:#54578a}.evidence-badge.calculated{background:#e0eff0;color:#306668}.evidence-badge.unresolved{background:#f1eee5;color:#766e55}.fact details{margin-top:6px}.fact details p{font-size:11px}.conflict{padding:10px 12px;background:#f8efd9;border-left:3px solid #b39454;border-radius:4px;font-size:12px;line-height:1.5;margin:10px 0;color:#75602e}.section-title{margin:22px 0 12px}.sourceline{font-size:11px;line-height:1.55;padding:10px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.sourcepath{font:10px/1.5 monospace;color:#647662;overflow-wrap:anywhere}.source-actions{display:flex;gap:6px;margin-top:6px}.source-actions button{font-size:10px;min-height:26px;padding:4px 6px}.source-actions a{font-size:10px;padding:4px 6px;display:inline-block}.missing-card{padding:14px;background:#f4f6f0;border-radius:7px;color:#62755e;font-size:12px;line-height:1.5}.timeline{border-left:2px solid #c5d4bd;margin-left:7px;padding-left:18px}.history{position:relative;padding-bottom:18px;font-size:12px;line-height:1.5}.history::before{content:'';position:absolute;left:-24px;top:5px;background:#859d73;border:2px solid #fff;border-radius:50%;width:8px;height:8px}.history .date{font-size:10px;color:#6a795e}.history p{margin:5px 0}.privatepanel{padding:12px;border:1px solid #c2b185;border-radius:7px;background:#fbf9f0;font-size:12px}.privatepanel h3{margin:15px 0 8px}.privatepanel p{margin:8px 0}.privatepanel a{display:inline-block;margin:4px 0}.private-lock{font-size:12px;line-height:1.6;color:#68755e}.private-lock button{display:block;margin-top:10px}.property-hero{width:100%;border-radius:7px;max-height:230px;object-fit:cover;margin-bottom:12px}.photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.photo-grid button{white-space:normal;padding:5px;text-align:left}.photo-grid img{width:100%;height:110px;object-fit:cover}.photo-grid span{font-size:10px;color:var(--muted);display:block;margin:5px}.generic-note{font-size:11px;padding:8px;background:#f4f2e6;color:#7b714e;line-height:1.5}.plan-preview{width:100%;height:auto;display:block}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}.summary-grid button{white-space:normal;text-align:left;padding:12px;line-height:1.4}.summary-grid b{display:block;font-size:27px;margin-bottom:5px}.summary-grid span{display:block;font-size:11px;color:var(--muted)}
.secondary-view{overflow:auto;flex:1;min-height:0;padding:24px 28px;background:#f7f8f2}.secondary-view .lead{color:var(--muted);font-size:13px;margin:8px 0 22px;max-width:1000px}.plan-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(265px,1fr));gap:16px}.plan-card{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.plan-card img{width:100%;height:210px;object-fit:contain;background:#f5f6ef;padding:9px}.plan-card .card-body{padding:15px}.plan-card h3{font-family:Georgia,serif;font-size:23px;font-weight:400;margin:5px 0 10px}.plan-card .meta{font-size:10px;color:var(--muted)}.plan-card p{font-size:12px;color:var(--muted);margin:8px 0}.plan-card button{margin-top:10px;max-width:100%;white-space:normal}.plan-card details{margin-top:10px}.plan-specs{display:flex;gap:6px;flex-wrap:wrap;font-size:11px}.plan-specs span{padding:4px 6px;background:#f0f4e9;border-radius:4px}.quality-grid{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:12px;margin:20px 0}.metric{background:white;padding:17px;border:1px solid var(--line);border-radius:8px;font-size:12px;color:var(--muted)}.metric b{display:block;font-size:32px;color:var(--ink);margin-bottom:6px}.quality-table{width:100%;border-collapse:collapse;font-size:12px;background:white;margin:14px 0}.quality-table th,.quality-table td{padding:10px 12px;text-align:left;border-bottom:1px solid var(--line);line-height:1.45}.quality-table th{color:var(--muted);font-weight:normal;background:#eef3e6}.quality-table td button{min-height:25px;font-size:11px;padding:3px 7px}.quality-table .number{text-align:right}.coverage-bars{display:flex;height:8px;border-radius:4px;overflow:hidden;min-width:100px;background:#eee}.coverage-bars span{display:block}.quality-issues{max-height:600px;overflow:auto;border:1px solid var(--line);border-radius:7px}.quality-issues .quality-table{margin:0}.quality-issues th{position:sticky;top:0}.quality-issues td{vertical-align:top}.quality-note{background:#fff;padding:14px;border:1px solid var(--line);border-radius:7px;font-size:12px;line-height:1.6;margin-top:14px}.focus .app-header,.focus .snapshot{display:none}.focus .topbar{padding-top:8px}.focus #summaryToggle{display:none}dialog{border:1px solid var(--line);border-radius:12px;max-width:min(500px,92vw);padding:28px;color:var(--ink);box-shadow:0 20px 70px #163a2d50}dialog::backdrop{background:#183e2c66}dialog .close{position:absolute;top:8px;right:8px;border:0;font-size:22px}dialog h2{font-size:24px;margin-bottom:14px}dialog p{font-size:13px;margin:12px 0}dialog label{margin:18px 0}#loginError{color:#a33924}#mediaViewer{max-width:90vw;max-height:90dvh}#mediaViewer img{max-width:82vw;max-height:75dvh;display:block}#toast{position:fixed;z-index:30;bottom:25px;left:50%;transform:translateX(-50%);max-width:90vw;padding:12px 18px;background:#264b3d;color:white;border-radius:9px;box-shadow:0 4px 20px #15352244;font-size:12px}#printRoot{display:none}
@media(min-width:2400px){:root{font-size:16px;--filter-width:360px;--detail-width:520px;--list-width:350px}.app-header{padding:16px 32px}.brand h1{font-size:30px}.brand img{width:115px;height:58px}.topbar{padding:14px 28px 8px}.map-toolbar{padding:12px 22px}.map-settings select{max-width:230px}.property-head h2{font-size:30px}.fact strong{font-size:17px}}
@media(max-width:1250px){.brand{min-width:0}.brand img{width:75px}.app-header{gap:12px;padding:10px 16px}.brand h1{font-size:22px}.app-header nav button{font-size:12px;padding:7px 9px}.map-toolbar{gap:6px;padding:7px 10px}.map-settings label{font-size:11px}.map-settings select{max-width:145px}.map-actions select{max-width:130px}.map-actions button{font-size:12px}.filter-drawer,.list-drawer{position:absolute;left:0;top:0;bottom:0;z-index:12;box-shadow:4px 0 20px #15332220}.list-drawer{left:auto;right:0}.property-drawer{position:absolute;right:0;top:0;bottom:0;z-index:13;width:min(var(--detail-width),55vw);box-shadow:-4px 0 20px #15332220}.topbar #summaryToggle{display:none}}
@media(max-width:850px){.snapshot #buildDate{display:none}.brand img{width:58px;height:38px}.brand h1{font-size:20px}.brand p{font-size:8px;letter-spacing:1.4px}.app-header{padding:8px 12px;gap:8px}.app-header nav{gap:0}.app-header nav button{font-size:11px;padding:6px}.app-header #authButton{font-size:11px;padding:6px}.snapshot{font-size:10px;padding:5px 12px}.topbar{padding:8px 12px 5px;gap:6px}.topbar button{font-size:12px;padding:6px 9px}.searchbox{min-width:150px;max-width:none}.phase-control{order:3}.topbar #listToggle{order:4}.topbar #focusToggle{order:5}.active-filters{padding:4px 13px;font-size:11px}.map-settings{gap:6px;width:100%}.map-settings label{flex:1}.map-settings select{flex:1;max-width:100%;min-width:0}.map-actions{width:100%;justify-content:flex-end}.map-actions #fitTarget{margin-right:auto}.map-toolbar{gap:6px}.map-hint{display:none}.property-drawer{width:min(440px,75vw)}.property-head h2{font-size:24px}.resize-handle{display:none}.secondary-view{padding:18px 16px}.quality-grid{grid-template-columns:1fr 1fr}.quality-table th,.quality-table td{padding:8px 7px;font-size:11px}}
@media(max-width:560px){.app-header{flex-wrap:wrap;gap:7px}.brand{margin-right:auto}.app-header #authButton{order:2}.app-header nav{order:3;width:100%;margin:0}.app-header nav button{flex:1;min-height:30px;font-size:12px}.snapshot{gap:5px;line-height:1.35}.snapshot #modeLabel{white-space:nowrap}.brand h1{font-size:22px}.topbar #filterToggle span{display:none}.searchbox{min-width:0;flex-basis:75%}.searchbox input{font-size:13px}.phase-control{flex:1}.phase-control button{font-size:11px;padding:6px 8px;flex:1}.topbar #listToggle{font-size:11px;padding:6px}.topbar #focusToggle{font-size:11px;padding:6px}.active-filters{min-height:30px;padding-bottom:5px}#chips:empty{display:none}.map-settings label{font-size:10px}.map-settings select{font-size:11px;padding:6px;min-height:32px}.map-actions button{font-size:11px;min-height:30px;padding:5px 8px}.map-actions select{font-size:11px;max-width:132px;min-height:30px;padding:5px}.map-actions #zoomIn,.map-actions #zoomOut{font-size:17px;min-height:30px;min-width:30px}.legend{padding:5px 9px;max-height:55px;font-size:10px}.legend button{font-size:10px;padding:2px;min-height:21px}.data-notes{padding:6px 10px;font-size:10px}.data-notes summary{font-size:10px}.data-notes #mapScope{display:none}.data-notes details{max-width:100%}.north-indicator{top:10px;right:10px;font-size:24px}.mini-toggle{bottom:10px;right:10px}.floating-panel{right:8px;top:8px;width:min(300px,calc(100% - 16px))}.filter-drawer,.list-drawer{width:min(340px,94vw)}.property-drawer{top:auto;left:0;right:0;bottom:0;width:100%;height:78%;border-radius:14px 14px 0 0;border-top:1px solid var(--line)}.property-head{padding:13px 16px}.property-head h2{font-size:24px;margin:6px 0}.property-head .status-pill{margin-top:7px}.property-body{padding:14px}.property-tabs{padding:8px 14px}.fact{padding:9px}.fact strong{font-size:14px}.plan-grid{grid-template-columns:1fr}.quality-issues{overflow:auto}.quality-table{min-width:540px}.coverage-table-wrapper{overflow:auto}.plan-card img{height:240px}.plan-card h3{font-size:24px}.plan-grid{gap:12px}.hover-preview{display:none!important}.summary-grid b{font-size:23px}}
@media(max-height:620px) and (min-width:561px){.app-header{padding:6px 14px}.brand img{height:34px}.brand h1{font-size:21px}.snapshot{padding:4px 14px}.topbar{padding-top:6px}.map-toolbar{padding:5px 10px}.legend{padding:4px 12px;max-height:45px}.data-notes{padding:4px 12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{body{display:block;height:auto;overflow:visible;background:white;font:11pt Arial;color:#18271d}body>*{display:none!important}#printRoot{display:block!important}.print-head{border-bottom:2px solid #315545;margin-bottom:18px;padding-bottom:12px}.print-head img{width:120px;height:55px;object-fit:contain;float:right}.print-head h1{font:25pt Georgia}.print-head p{font-size:9pt;margin-top:7px}.print-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px}.print-facts .fact{break-inside:avoid;font-size:10pt}.print-facts .fact strong{font-size:12pt}.print-facts .fact small{font-size:8pt}.print-facts details{display:none}.print-note{font-size:9pt;line-height:1.5;margin:12px 0}.print-table{width:100%;border-collapse:collapse;font-size:8pt}.print-table th,.print-table td{padding:7px 5px;border-bottom:1px solid #ccc;text-align:left;vertical-align:top}.print-table th{font-weight:bold}.print-table tr{break-inside:avoid}.print-map{width:100%;height:4.7in;overflow:hidden;break-inside:avoid}.print-map svg{width:100%;height:100%}.print-legend{display:flex;gap:10px;flex-wrap:wrap;font-size:8pt;margin:8px 0}@page{margin:.55in}}

@media(max-width:560px){.topbar .phase-control{flex:1 0 225px;min-width:220px}.topbar #listToggle,.topbar #focusToggle{font-size:0;min-width:42px;padding:6px 7px}.topbar #listToggle::after{content:"List";font-size:11px}.topbar #focusToggle::after{content:"Focus";font-size:11px}.focus .topbar #focusToggle::after{content:"Exit"}.topbar .phase-control button{min-width:0;white-space:nowrap}.multi-choice>div{max-height:180px;overflow:auto}.multi-choice .check{font-size:11px;margin:8px 0}}
.multi-choice{margin:7px 0 0!important}.multi-choice>div{max-height:190px;overflow:auto;padding:5px 2px}.multi-choice .check{font-size:11px;margin:7px 0;line-height:1.4}
.lot.list-hover{stroke:#234f33;stroke-width:4;filter:brightness(1.18)}.lot.selected.list-hover{stroke:#d7ad36}

@media print{#printRoot.map-print{page:community-map;break-inside:avoid}.map-print .print-head{margin-bottom:8px;padding-bottom:6px}.map-print .print-head h1{font-size:20pt}.map-print .print-head h2{font-size:12pt}.map-print .print-head img{height:42px}.map-print .print-note{font-size:8pt;line-height:1.25;margin:6px 0}.map-print .print-legend{font-size:7pt;gap:5px 10px;line-height:1.2}.map-print .print-legend button{font-size:7pt;min-height:0;border:0;padding:1px 3px}.map-print .print-map svg{display:block;max-width:100%;max-height:100%;height:100%}}
@page community-map{size:letter landscape;margin:.4in}
@media print{html:root{background:white}}
/* V3 workspace layout: persistent left legend and independently scrollable research views. */
#workspace{position:relative}#mapArea{margin-left:245px}#legend{position:absolute;left:0;top:70px;bottom:40px;width:235px;overflow:auto;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:20px 14px;background:#f5f6ee;border-right:1px solid #cfd9c8;gap:14px}#legend[hidden]{display:none}#legend .legend-title{font-size:18px;line-height:1.45}#legend button{font-size:16px;line-height:1.4;white-space:normal;text-align:left;min-height:50px}#legend .swatch{flex-shrink:0}#compare{padding:12px;height:calc(100% - 10px);overflow:hidden}#compareFrame{display:block;width:100%;height:calc(100% - 46px);min-height:460px;border:1px solid #d1dac9;border-radius:10px;background:white}.app-header nav{flex-wrap:wrap;gap:4px}.app-header nav button{padding:10px 12px;font-size:13px}.evidence-card{padding:16px;margin:12px 0;background:#f4f6ef;border:1px solid #d5decc;border-radius:8px;overflow-wrap:anywhere}.evidence-card h4{margin:0 0 10px}.evidence-json{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.5 ui-monospace,monospace;background:#eff2e9;padding:12px;border-radius:8px}.analysis-controls{max-width:620px;margin:20px 0}.resource-link{display:inline-block;padding:12px 0}.secondary-view{min-height:0;overflow:auto}.private .snapshot{border-bottom:3px solid #a18148}
@media(min-width:2500px){#legend{width:335px;gap:22px;padding:28px}#mapArea{margin-left:350px}#legend button{font-size:24px;min-height:76px}#legend .legend-title{font-size:28px}.app-header nav button{font-size:20px}.map-toolbar label{font-size:18px}}
@media(max-width:900px){#mapArea{margin-left:0}#legend{position:static;flex-direction:row;overflow:auto;width:auto;max-height:140px;min-height:70px;flex-shrink:0;padding:10px;gap:8px}#legend .legend-title{font-size:12px;min-width:120px}#legend button{font-size:12px;min-width:130px;min-height:44px}.app-header{align-items:center}.app-header nav button{font-size:11px;padding:8px}.app-header .brand p{display:none}#compareFrame{min-height:460px}#compare{overflow:auto}}
@media print{#legend{display:none!important}#mapArea{margin-left:0}}

.community-frame{width:100%;height:720px;border:1px solid #d1dac9;border-radius:10px;margin:20px 0;background:white}
#legend{max-height:none;flex-wrap:nowrap}.property-tabs{flex-wrap:wrap;overflow:visible}.property-tabs button{flex:0 0 auto;min-height:36px}.property-drawer{min-width:0}#detailContent{scroll-padding-top:180px}
@media(max-width:900px){#legend{max-height:140px}}

.community-context{width:100%;max-height:750px;object-fit:contain;background:white}figcaption{font-size:12px;color:#697b66;margin:12px 0;line-height:1.5}
@media(max-height:500px) and (max-width:1000px){.app-header{padding:4px 8px;gap:4px;flex-wrap:nowrap}.app-header .brand,.snapshot{display:none}.app-header nav{flex-wrap:nowrap;overflow-x:auto;width:auto;order:0;flex:1}.app-header nav button{flex:0 0 auto;padding:5px;font-size:10px;min-height:28px}.app-header #authButton{order:0;min-height:28px;font-size:10px;padding:4px}.topbar{padding:4px 8px;flex-wrap:nowrap;overflow-x:auto}.topbar button{min-height:28px;font-size:10px;padding:4px}.searchbox{max-width:240px;min-width:150px}.searchbox input{height:30px}.phase-control{order:0;flex-shrink:0}.phase-control button{min-height:28px;font-size:10px;padding:4px}.topbar #listToggle,.topbar #focusToggle{order:0;flex-shrink:0}.active-filters{min-height:22px;padding:2px 8px;font-size:10px}.map-toolbar{padding:4px 8px;flex-wrap:nowrap}.map-settings,.map-actions{width:auto;gap:4px}.map-settings label{font-size:10px;flex:0 0 auto}.map-settings select{max-width:110px;font-size:10px;min-height:28px;padding:4px}.map-actions select,.map-actions button{font-size:10px;min-height:28px;padding:4px}.map-actions #fitTarget{max-width:118px}.data-notes{display:none}#legend{min-height:46px;max-height:46px;padding:4px;align-items:center}#legend button{font-size:10px;min-height:36px;min-width:130px}#legend .legend-title{font-size:10px;min-width:100px}}
/* Keep matched-lot text readable independently of imagery and fill opacity. */
.map-label{fill:#173e32;stroke:#fff;stroke-opacity:1;stroke-width:3px;stroke-linejoin:round;paint-order:stroke fill;vector-effect:non-scaling-stroke}
