
:root{--ink:#202c36;--muted:#65727d;--line:#e1e5e7;--paper:#fff;--berry:#9c2340;--pale:#f8edf0;--amber:#9a5a13}
*{box-sizing:border-box}body{margin:0;color:var(--ink);font:14px/1.45 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;background:#f4f5f5}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}button,input,select,a{outline-offset:3px}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #b74a6a}
header{height:78px;display:flex;align-items:center;justify-content:space-between;padding:12px 25px;border-bottom:1px solid var(--line);background:var(--paper);gap:20px}h1{font-size:21px;letter-spacing:-.5px;margin:0;font-weight:750}.subtitle{color:var(--muted);font-size:12px;margin-top:4px}.brand{display:flex;align-items:center;gap:14px}.mark{width:7px;height:43px;background:var(--berry);border-radius:2px}.header-actions{display:flex;gap:9px}.btn{border:1px solid #d4dadd;border-radius:7px;background:#fff;padding:8px 11px;color:var(--ink);font-size:12px;font-weight:600}.btn:hover{background:#f4f5f5}.btn.primary{background:var(--berry);border-color:var(--berry);color:#fff}.btn.text{border:0;background:transparent;color:var(--berry)}
main{display:grid;grid-template-columns:360px 1fr;height:calc(100dvh - 78px);min-height:440px}.sidebar{background:var(--paper);z-index:500;overflow-y:auto;border-right:1px solid var(--line);scrollbar-width:thin}.filters{padding:19px 20px 13px;border-bottom:1px solid var(--line)}.eyebrow{text-transform:uppercase;font-size:10px;font-weight:750;letter-spacing:1.6px;color:var(--muted);margin-bottom:9px}.searchline{display:flex;gap:6px}input[type=search]{width:100%;min-width:0;border:1px solid #cbd2d6;border-radius:7px;padding:10px 11px;background:#fafbfb}label{display:block;color:#48545e;font-size:11px;font-weight:650;margin-bottom:5px}.filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}select,input[type=number]{width:100%;border:1px solid #cbd2d6;padding:8px 7px;border-radius:6px;background:#fff;color:var(--ink);min-width:0}.filter-wide{grid-column:1/-1}.resetline{display:flex;align-items:center;justify-content:space-between;margin-top:10px}.hint{font-size:11px;color:var(--muted)}
.summary{padding:14px 20px;display:grid;grid-template-columns:1fr 1fr;gap:8px;border-bottom:1px solid var(--line);background:#fcfcfc}.stat-label{font-size:10px;color:var(--muted);letter-spacing:.2px}.stat-number{font-size:22px;font-weight:750;letter-spacing:-.5px}.stat-sub{font-size:11px;color:var(--muted)}
.detail{padding:18px 20px;border-bottom:1px solid var(--line)}.detail[hidden]{display:none}.detail-top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.detail h2{font-size:17px;margin:0;letter-spacing:-.3px}.detail-id{font-family:ui-monospace,monospace;font-size:11px;color:var(--muted);margin-top:5px}.close{border:0;background:transparent;color:var(--muted);font-size:23px;line-height:1;padding:0 2px}.scoreline{display:flex;align-items:baseline;gap:8px;margin:12px 0 5px}.score{font-size:42px;font-weight:780;letter-spacing:-1.5px;color:var(--berry);line-height:1}.score-unit{font-size:13px;color:var(--muted)}.badge{display:inline-block;border-radius:4px;padding:3px 7px;font-size:10px;font-weight:700;background:#edf1f2;color:#41515d}.badge.est{background:#fff0d8;color:#87500c}.badge.missing{background:#fce8e9;color:#9c233b}.badges{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}.result-table{width:100%;border-collapse:collapse;margin-top:13px}.result-table td{border-top:1px solid #e9ecee;padding:8px 0;vertical-align:top}.result-table .num{text-align:right;font-variant-numeric:tabular-nums;font-weight:700;white-space:nowrap}.method-label{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:3px}.winner{font-size:9px;color:var(--berry);font-weight:700;display:block}.location-note{font-size:11px;line-height:1.5;color:var(--muted);margin:11px 0 0}.location-note strong{color:#45525d}.detail-action{margin-top:12px;width:100%}
.directory{padding:15px 20px 22px}.dir-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.dir-head h2{font-size:12px;font-weight:750;margin:0}.viewonly{font-weight:400;font-size:10px;color:var(--muted);display:flex;align-items:center;gap:4px;margin:0}.viewonly input{accent-color:var(--berry)}.result-list{padding:0;margin:0;list-style:none}.row-btn{display:flex;justify-content:space-between;gap:12px;align-items:center;border:0;border-bottom:1px solid #edf0f1;background:transparent;width:100%;text-align:left;padding:10px 1px;color:var(--ink)}.row-btn:hover,.row-btn.active{background:#faf0f3}.row-main{min-width:0}.row-title{display:block;font-size:12px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:245px}.row-sub{display:block;font-size:10px;color:var(--muted);margin-top:2px}.row-score{font-weight:750;font-size:15px;color:var(--berry);font-variant-numeric:tabular-nums;white-space:nowrap}.pagination{display:flex;justify-content:space-between;align-items:center;padding-top:12px;color:var(--muted);font-size:10px}.empty{padding:18px 0;color:var(--muted);font-size:12px}.intro{padding:18px 20px;background:#fcfcfc;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}
.map-wrap{position:relative;min-width:0;height:100%;overflow:hidden}#map{width:100%;height:100%;background:#dceaf0}.map-top{position:absolute;left:15px;top:15px;z-index:450;display:flex;gap:5px;max-width:calc(100% - 75px);flex-wrap:wrap}.map-top .btn{box-shadow:0 2px 10px #27343c14;background:#fffdfd}.map-status{position:absolute;left:15px;bottom:108px;z-index:450;max-width:calc(100% - 32px);padding:7px 11px;background:#fffef5;border:1px solid #e8d9ad;border-radius:5px;color:#765818;font-size:11px;pointer-events:none}.map-status[hidden]{display:none}.legend{position:absolute;right:15px;bottom:35px;background:#fffefef5;border:1px solid #dbe0e3;border-radius:8px;padding:13px 15px;z-index:450;box-shadow:0 3px 16px #27343c12;max-width:285px}.legend-title{font-size:11px;font-weight:750;margin-bottom:9px}.legend-items{display:flex;gap:0}.legend-item{flex:1;text-align:center;font-size:9px;color:#53616c}.swatch{display:block;height:7px;min-width:33px;margin-bottom:5px}.legend-note{font-size:10px;color:var(--muted);line-height:1.5;margin-top:9px}.dashed-sample{display:inline-block;width:22px;border-top:2px dashed #855a66;margin-right:4px;vertical-align:middle}.coverage{position:absolute;left:15px;bottom:37px;z-index:450;background:#ffffffee;border:1px solid #dbe0e3;border-radius:6px;padding:8px 11px;font-size:10px;max-width:calc(100% - 335px);color:#596773}.coverage strong{color:var(--ink)}.map-footer{position:absolute;left:15px;bottom:7px;z-index:450;font-size:9px;color:#687680;max-width:calc(100% - 185px)}.leaflet-control-zoom{border:1px solid #cdd5d9!important;box-shadow:0 2px 9px #25343b16!important}.leaflet-control-attribution{font-size:11px!important;line-height:1.3!important;background:#fff!important;padding:2px 5px!important}.leaflet-tooltip{font:12px/1.5 system-ui,sans-serif;padding:10px 12px;border:0;border-radius:7px;box-shadow:0 3px 20px #15232d33;color:var(--ink);white-space:normal;max-width:265px}.tip-score{font-weight:800;color:var(--berry);font-size:17px}.tip-sub{font-size:10px;color:var(--muted)}.cluster{text-align:center;border-radius:50%;background:#314451;box-shadow:0 0 0 4px #ffffffb0;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:12px;font-weight:750}.cluster small{font-size:8px;font-weight:400;line-height:1}.leaflet-popup-content{margin:12px 15px;font:12px/1.45 system-ui,sans-serif}.leaflet-popup-content button{margin-top:7px}.leaflet-popup-content strong{font-size:14px}.leaflet-interactive{cursor:pointer}.place-label{background:transparent;border:0;pointer-events:none;text-align:center;font:600 12px/20px system-ui,sans-serif;color:#526168;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 2px #fff,0 -1px 2px #fff,1px 0 2px #fff,-1px 0 2px #fff}.mobile-tabs{display:none}
.modal-backdrop{position:fixed;inset:0;background:#162c3b70;z-index:2000;padding:30px;display:flex;align-items:center;justify-content:center}.modal-backdrop[hidden]{display:none}.modal{background:#fff;max-width:720px;width:100%;max-height:90dvh;overflow:auto;border-radius:12px;padding:26px 30px;box-shadow:0 20px 70px #172a3b44}.modal-title{display:flex;justify-content:space-between;align-items:center}.modal h2{font-size:22px;margin:0}.modal h3{font-size:14px;margin:22px 0 8px}.modal p,.modal li{font-size:13px;line-height:1.65;color:#495761}.modal a{color:var(--berry);overflow-wrap:anywhere}.modal table{width:100%;border-collapse:collapse;font-size:12px}.modal td{padding:7px 0;border-bottom:1px solid var(--line)}.modal td:last-child{text-align:right}.focus-tip{position:fixed;z-index:1600;background:#fff;padding:10px 13px;border-radius:7px;box-shadow:0 3px 18px #24323d33;max-width:260px;border:1px solid #d8e0e4;font-size:12px;pointer-events:none}.focus-tip[hidden]{display:none}.loading{position:fixed;inset:0;background:#f6f7f8;z-index:3000;display:flex;align-items:center;justify-content:center;text-align:center;padding:25px}.loading[hidden]{display:none}.loader-dot{width:42px;height:42px;border:3px solid #ead9de;border-top-color:var(--berry);border-radius:50%;animation:spin .9s linear infinite;margin:0 auto 20px}.loading h2{font-size:22px;margin:0 0 8px}.loading p{font-size:13px;color:var(--muted)}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:850px){header{height:72px;padding:11px 15px}.brand{gap:10px}h1{font-size:17px}.subtitle{font-size:10px}.header-actions .export-label{display:none}.header-actions{gap:5px}.btn{padding:8px 10px}.mark{height:35px}.mobile-tabs{display:flex;position:absolute;left:50%;transform:translateX(-50%);bottom:20px;z-index:700;background:#fff;border-radius:24px;padding:4px;box-shadow:0 4px 20px #26364135;border:1px solid #dce0e3;gap:4px}.mobile-tabs button{border:0;background:#fff;padding:8px 15px;border-radius:20px;font-weight:650;font-size:12px;white-space:nowrap}.mobile-tabs button.active{background:var(--berry);color:#fff}main{display:block;height:calc(100dvh - 72px);min-height:300px;position:relative}.sidebar{position:absolute;inset:0;border:0;z-index:600;display:none;padding-bottom:75px}.map-wrap{position:absolute;inset:0}body.list-mode .sidebar{display:block}body.list-mode .map-wrap{visibility:hidden}.map-top{top:12px;left:11px;gap:4px;max-width:calc(100% - 65px)}.map-top .btn{font-size:10px;padding:7px 9px}.legend{right:10px;bottom:84px;padding:9px 10px;max-width:225px}.swatch{min-width:28px}.legend-title{font-size:10px}.legend-note{font-size:9px}.coverage{left:10px;bottom:84px;padding:7px 8px;max-width:calc(100% - 250px);font-size:9px}.coverage .coverage-extra{display:none}.map-footer{bottom:3px;font-size:8px;left:8px;max-width:calc(100% - 135px)}.map-status{left:10px;bottom:208px;font-size:10px;max-width:calc(100% - 22px)}.modal-backdrop{padding:12px}.modal{padding:20px;max-height:94dvh;border-radius:10px}.modal h2{font-size:19px}.row-title{max-width:none}.filters{padding-top:18px}.leaflet-control-attribution{max-width:235px;line-height:1.3}.focus-tip{max-width:calc(100vw - 30px)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}}

.map-footer{display:none}
@media(max-width:850px){.mobile-tabs{bottom:55px}.legend,.coverage{bottom:115px}.map-status{bottom:235px}}
@media(max-width:650px){.subtitle{display:none}h1{font-size:14px;line-height:1.2}.brand{min-width:0}}
