:root{--ink:#1e3048;--muted:#59697e;--brand:#173f75;--line:#dce3ec;--cream:#f7f8fb;--soft:#edf2f8;--orange:#a17b30;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{border:0;background:none}button:disabled{cursor:not-allowed;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b48b36;outline-offset:3px}a{color:var(--brand)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.topbar{height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;border-bottom:1px solid var(--line);background:#fff;gap:20px}.brand{text-decoration:none;display:flex;align-items:center;gap:11px;font-size:26px;letter-spacing:-1.2px;font-weight:750}.brand-light{font-weight:400}.brand small{display:block;font-size:13px;letter-spacing:2.05px;margin-top:3px;font-weight:600}.topbar nav{display:flex;align-items:center;gap:30px;font-size:16px}.topbar nav button{font-size:16px;color:#59697e;padding:14px 0}.nav-active{font-weight:650;position:relative}.nav-active:after{content:"";height:3px;width:26px;position:absolute;bottom:-31px;left:0;background:var(--brand)}.edition{font-size:14px;letter-spacing:1.2px;display:flex;align-items:center;gap:8px;color:var(--muted)}.edition i,.live-dot{width:6px;height:6px;border-radius:50%;background:#b48b36;display:inline-block}.workspace{display:grid;grid-template-columns:350px 1fr;height:calc(100dvh - 84px);min-height:600px}.sidebar{background:#fff;border-right:1px solid var(--line);padding:27px 24px 0;display:flex;flex-direction:column;overflow-y:auto;z-index:2}.eyebrow{font-size:14px;letter-spacing:1.7px;font-weight:650;color:var(--muted);margin:0 0 14px}.sidebar h1{font-family:Georgia,"Times New Roman",serif;font-size:32px;line-height:1.15;font-weight:400;letter-spacing:-1px;margin:0 0 12px}.sidebar-intro>p:last-child{font-size:16px;color:var(--muted);margin:0 0 23px}.search-wrap{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px;padding:0 11px;gap:7px;height:43px;flex-shrink:0;background:#f8fafc}.search-wrap>span{font-size:24px;color:var(--muted)}.search-wrap input{border:0;width:100%;min-width:0;background:none;font-size:16px;outline:none}.search-wrap:focus-within{border-color:var(--brand)}kbd{font-size:14px;padding:2px 5px;border:1px solid var(--line);border-radius:3px;color:#6b7d94}.section-label{display:flex;justify-content:space-between;align-items:center;margin:24px 0 13px;font-size:14px;letter-spacing:1.2px;font-weight:650}.section-label button{font-size:14px;letter-spacing:0;color:var(--muted);font-weight:400}.selectors{display:grid;gap:9px}.selector-row{display:grid;grid-template-columns:23px 1fr;align-items:center;gap:8px}.selector-row .step{font-size:14px;color:#6b7d94;border:1px solid var(--line);border-radius:50%;width:21px;height:21px;display:grid;place-items:center}.selector-row:has(select:not(:disabled)) .step{color:var(--brand);border-color:#b9c9df;background:#edf2f8}.select-box{min-width:0}.select-box label{display:block;font-size:14px;color:var(--muted);margin:0 0 4px}.select-box select{width:100%;border:1px solid var(--line);background:#fff;border-radius:5px;font-size:16px;height:33px;padding:0 8px;color:var(--ink);text-overflow:ellipsis}.select-box select:disabled{background:#f6f8fb;color:#7e8a9b}#detail{border-top:1px solid var(--line);margin-top:23px;padding-top:21px}.empty-detail{text-align:center;padding:2px 4px 22px}.compass{font-size:33px;color:#879cb5;display:block}.empty-detail h2{font-family:Georgia,serif;font-weight:400;font-size:24px;line-height:1.25;margin:9px 0}.empty-detail p{font-size:16px;color:var(--muted);line-height:1.8;max-width:230px;margin:10px auto}.how-to{display:flex;gap:7px;align-items:center;justify-content:center;font-size:14px;color:var(--muted);margin-top:20px}.how-to span{border-radius:50%;background:var(--soft);padding:5px;font-size:13px}.sidebar-foot{margin-top:auto;border-top:1px solid var(--line);padding:14px 0;font-size:14px;color:var(--muted);display:flex;align-items:center;gap:7px}.sidebar-foot button{margin-left:auto}.map-stage{position:relative;display:flex;flex-direction:column;overflow:hidden}.map-top{height:87px;display:flex;align-items:center;justify-content:space-between;padding:0 29px;flex-shrink:0}.map-top .eyebrow{margin-bottom:7px}.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:7px;font-size:16px}.breadcrumbs button{padding:0;font-size:16px}.breadcrumbs button:last-child{font-weight:650}.breadcrumbs .sep{color:#7e8a9b;font-size:14px}.quiet-button{font-size:16px;border:1px solid #dce3ec;padding:10px 13px;border-radius:6px;white-space:nowrap}.quiet-button:hover{background:var(--soft)}.layer-bar{display:flex;align-items:center;gap:18px;padding:0 29px 16px;flex-shrink:0}.layer-bar>span{font-size:13px;letter-spacing:1.3px;color:var(--muted)}#level-buttons{display:flex;gap:3px;background:#e9eff7;border:1px solid #dce3ec;border-radius:6px;padding:3px}#level-buttons button{font-size:14px;padding:7px 14px;border-radius:4px}#level-buttons button.active{background:#fff;color:var(--brand);box-shadow:0 1px 3px #2233220c;font-weight:650}#map{flex:1;min-height:250px;background:#e8edf4}.leaflet-container{font-family:inherit;background:#e8edf4}.leaflet-tile-pane{filter:saturate(.45)}.leaflet-control-attribution{font-size:13px!important;max-width:90%}.leaflet-tooltip{border:1px solid var(--line);border-radius:6px;box-shadow:0 3px 12px #14243c1a;padding:9px 12px;font-size:16px;color:var(--ink)}.leaflet-tooltip small{display:block;color:var(--muted);font-size:14px;margin-top:3px}.map-tools{position:absolute;top:162px;right:22px;z-index:500;display:flex;flex-direction:column;gap:5px}.map-tools button{width:36px;height:36px;background:#fff;border:1px solid var(--line);border-radius:6px;box-shadow:0 2px 6px #1e304810;font-size:21px}.map-status{position:absolute;top:157px;left:26px;background:#ffffffee;z-index:500;border:1px solid #dce3ec;padding:9px 12px;border-radius:6px;font-size:14px;max-width:calc(100% - 100px);box-shadow:0 2px 8px #1e304810}.map-status.error{background:#fff1e7;color:#914b20}.map-status:empty{display:none}.map-bottom{position:absolute;bottom:104px;left:25px;right:23px;z-index:500;display:flex;justify-content:space-between;gap:8px;pointer-events:none}.legend,.basemap{background:#ffffffed;border:1px solid #dce3ec;border-radius:5px;padding:9px 11px;font-size:14px;display:flex;align-items:center;gap:7px;pointer-events:auto}.legend i{display:inline-block;width:9px;height:9px;background:#cae0c0;border:1px solid #668a66;border-radius:2px}.legend i.selected-swatch{background:#e9bc70;border-color:#ab7134}.divider{height:12px;width:1px;background:var(--line);margin:0 3px}.basemap input{accent-color:var(--brand);margin:0;width:12px;height:12px}.stats-strip{height:80px;flex-shrink:0;display:flex;align-items:center;gap:0;background:#fff;border-top:1px solid var(--line)}.stats-strip>div{padding:0 27px;border-right:1px solid var(--line)}.stats-strip strong{font-weight:500;font-size:24px;letter-spacing:-.7px;display:block}.stats-strip span{font-size:14px;color:var(--muted)}.stats-strip>p{margin-left:auto;margin-right:25px;font-size:16px;line-height:1.8}.stats-strip>p span{font-size:14px}.badge{display:inline-flex;align-items:center;font-size:14px;letter-spacing:.3px;background:#edf4e7;color:#4d7047;border:1px solid #dce8d4;padding:5px 8px;border-radius:4px}.badge.warn{color:#905b26;background:#fff3de;border-color:#eeddbb}.detail-title{font-family:Georgia,serif;font-size:25px;font-weight:400;line-height:1.2;margin:12px 0 5px;overflow-wrap:anywhere}.detail-context{font-size:14px;line-height:1.6;color:var(--muted);margin:0 0 16px}.area-box{background:var(--soft);border:1px solid #dce3ec;border-radius:7px;padding:15px;margin:13px 0}.area-box .area-label{font-size:14px;color:#59697e}.area-number{font-size:28px;letter-spacing:-1px;font-weight:500;margin:7px 0 5px}.area-number small{font-size:16px;letter-spacing:0;font-weight:400}.area-box p{font-size:14px;color:#59697e;margin:0;line-height:1.6}.facts{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:15px 0}.facts dt{font-size:14px;color:var(--muted);margin-bottom:4px}.facts dd{font-size:16px;margin:0;overflow-wrap:anywhere}.primary,.secondary{display:block;width:100%;border-radius:6px;padding:11px 12px;font-size:16px;text-align:center;text-decoration:none}.primary{background:var(--brand);color:#fff}.primary:hover{background:#102e58}.secondary{border:1px solid var(--line);margin-top:8px;background:#fff}.detail-source{font-size:14px;line-height:1.7;color:var(--muted);margin:13px 0 18px}.detail-source a{color:inherit}.row-result{display:block;text-align:left;width:100%;padding:12px 2px;border-bottom:1px solid var(--line)}.row-result strong{display:block;font-size:16px;font-weight:550}.row-result small{display:block;color:var(--muted);font-size:14px;margin-top:5px;line-height:1.5}.row-result:hover{background:var(--soft)}.results-caption{font-size:14px;color:var(--muted);line-height:1.6;margin:15px 0 6px}dialog{width:min(700px,calc(100vw - 28px));max-height:85dvh;border:1px solid var(--line);border-radius:12px;padding:28px 32px;color:var(--ink);box-shadow:0 20px 80px #14243c40}dialog::backdrop{background:#14243c80;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:start}.dialog-heading button{font-size:18px}dialog h2{font-family:Georgia,serif;font-weight:400;font-size:32px;margin:10px 0 20px}dialog h3{font-size:16px;margin-top:23px}dialog p,dialog li{font-size:16px;line-height:1.8;color:#59697e}dialog .notice{background:#f6f0e3;border:1px solid #e8dfc7;border-radius:6px;padding:12px 15px;font-size:16px}table{border-collapse:collapse;width:100%;font-size:16px}th,td{text-align:left;padding:11px 8px;border-bottom:1px solid var(--line)}th{font-size:14px;color:var(--muted);text-transform:uppercase;letter-spacing:.6px}.download-links{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.download-links a{border:1px solid var(--line);border-radius:5px;padding:9px 12px;font-size:16px;text-decoration:none}.download-list{max-height:270px;overflow:auto}.download-row{display:flex;justify-content:space-between;align-items:center;padding:11px 0;border-bottom:1px solid var(--line);font-size:16px;gap:12px}.download-row a{font-size:14px;margin-left:8px}.library-help{font-size:16px;line-height:1.7;color:var(--muted)}[hidden]{display:none!important}@media(min-width:1500px){.workspace{grid-template-columns:390px 1fr}.sidebar{padding:32px 30px 0}.sidebar h1{font-size:37px}.select-box select{height:36px}.selectors{gap:12px}.stats-strip>div{padding:0 40px}}@media(max-width:1100px){.topbar{padding:0 22px}.edition{display:none}.workspace{grid-template-columns:310px 1fr}.sidebar{padding:23px 18px 0}.sidebar h1{font-size:30px}.stats-strip>div{padding:0 17px}.stats-strip>p{display:none}.layer-bar{gap:10px;padding-left:20px;padding-right:20px}.layer-bar>span{display:none}.map-top{padding:0 20px}#level-buttons button{padding:7px 11px}.quiet-button span{display:none}}@media(max-width:700px){.topbar{height:68px;padding:0 16px}.brand{font-size:23px}.brand small{font-size:13px}.topbar nav{gap:13px}.topbar nav button{font-size:14px}.nav-active,.topbar nav #about,.edition{display:none}.workspace{display:flex;flex-direction:column-reverse;height:auto;min-height:0}.map-stage{height:62dvh;min-height:430px}.map-top{height:63px;padding:0 15px}.map-top .eyebrow{font-size:13px;margin-bottom:5px}.breadcrumbs{font-size:14px;max-width:270px}.breadcrumbs button{font-size:14px}.layer-bar{padding:0 15px 10px}#level-buttons{width:100%}#level-buttons button{flex:1;padding:7px 8px;font-size:14px}#map{min-height:220px}.map-tools{top:119px;right:14px}.map-status{top:118px;left:14px;font-size:14px;max-width:calc(100% - 70px)}.map-bottom{bottom:86px;left:12px;right:12px}.legend,.basemap{padding:7px;font-size:13px}.stats-strip{height:65px;justify-content:space-around}.stats-strip>div{padding:0 12px}.stats-strip strong{font-size:21px}.stats-strip span{font-size:13px}.sidebar{overflow:visible;border-right:0;border-top:1px solid var(--line);padding:23px 20px 0}.sidebar-intro h1{font-size:29px}.sidebar-intro h1 br{display:none}.sidebar-intro .eyebrow{margin-bottom:8px}.sidebar-intro>p:last-child{margin-bottom:17px}.selectors{grid-template-columns:1fr 1fr;gap:14px 12px}.select-box select{font-size:14px}.section-label{margin-top:20px}.empty-detail{padding-bottom:25px}.empty-detail h2 br{display:none}.empty-detail .compass{display:none}.sidebar-foot{margin-top:15px}#detail{scroll-margin-top:20px}.facts{grid-template-columns:1fr 1fr}.area-number{font-size:30px}dialog{padding:22px}.search-wrap input{font-size:16px;height:42px}}
.map-bottom{align-items:flex-end}.heatmap-legend{display:block;max-width:620px;flex:1;min-width:0;padding:10px 12px}.legend-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.legend-heading strong{font-size:16px}.legend-heading button{font-size:14px;text-decoration:underline;padding:0}.heatmap-legend>span{display:block;color:#59697e;font-size:14px;margin-top:5px}.heatmap-scale{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 14px;margin:10px 0}.heatmap-scale>span{display:flex;align-items:center;gap:5px;white-space:nowrap}.heatmap-scale i{width:12px;height:12px;flex-shrink:0;border:1px solid #1e304833}.heatmap-scale b{font-weight:650}.legend-footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:7px;color:#59697e}.legend i.selected-swatch{background:transparent;border:2px dashed #172b42;width:13px;height:10px}.basemap{white-space:nowrap}.remote-detail{border:1px solid var(--line);border-left:5px solid var(--remote-color);border-radius:6px;padding:13px;margin:16px 0;background:#f8fafc}.remote-detail .area-label{font-size:14px;letter-spacing:.6px;color:var(--muted)}.remote-detail h3{font-size:16px;margin:8px 0}.remote-detail p{font-size:16px;line-height:1.6;margin:5px 0;color:#4c6078}.remote-detail button{font-size:14px;text-decoration:underline;padding:5px 0 0}#level-buttons{min-width:0}#level-buttons button{white-space:nowrap}@media(min-width:1600px){.heatmap-scale{grid-template-columns:repeat(6,auto)}}@media(max-width:1100px){.map-bottom{flex-wrap:wrap}.heatmap-legend{flex-basis:100%}.basemap{margin-left:auto}.heatmap-scale{gap:7px 9px}}@media(max-width:700px){#level-buttons button{padding:7px 4px;font-size:13px}.map-bottom{gap:4px;bottom:84px}.heatmap-legend{padding:8px}.legend-heading strong{font-size:14px}.heatmap-legend>span{font-size:13px}.heatmap-scale{gap:5px 6px;margin:7px 0}.legend-footer{font-size:13px;padding-top:5px}.basemap{padding:4px 6px}}
.header-actions{display:flex;align-items:center;gap:24px}.login-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 26px;border-radius:7px;background:var(--brand);color:white;font-size:16px;font-weight:650;text-decoration:none}.login-button:hover{background:#102e58}
/* Readable public controls; keep the legend in flow so it cannot cover map areas. */
body{font-size:16px;line-height:1.5}.topbar{height:96px}.topbar nav{gap:24px}.topbar nav button{min-height:48px}.nav-active:after{bottom:-35px}.brand small{font-size:11px}.workspace{grid-template-columns:400px minmax(0,1fr);height:calc(100dvh - 96px);min-height:800px}.sidebar h1{font-size:36px}.eyebrow{letter-spacing:1.2px}.search-wrap{height:52px}.search-wrap input{height:50px}.select-box select{height:48px;padding:0 12px}.selectors{gap:15px}.selector-row{grid-template-columns:28px minmax(0,1fr)}.selector-row .step{width:26px;height:26px}.section-label button,.sidebar-foot button{min-width:44px;min-height:44px}.empty-detail p{max-width:310px}.primary,.secondary,.quiet-button{min-height:48px}.map-top{min-height:94px;height:auto;padding:18px 24px;gap:16px}.breadcrumbs button{min-height:36px}.layer-bar{padding:0 24px 16px;gap:12px;flex-wrap:wrap}#level-buttons{max-width:100%;overflow-x:auto}#level-buttons button{min-height:44px;padding:10px 14px;font-size:16px}.map-canvas{position:relative;flex:1;min-height:320px}#map{height:100%;min-height:320px}.map-tools{top:16px;right:16px}.map-tools button{width:48px;height:48px;font-size:26px}.map-status{top:16px;left:16px;max-width:calc(100% - 96px);font-size:14px}.map-bottom{position:static;flex-shrink:0;align-items:center;flex-wrap:nowrap;padding:12px 20px;background:#fff;border-top:1px solid var(--line);pointer-events:auto;gap:16px}.heatmap-legend{max-width:none;border:0;background:none;padding:0}.legend-heading strong{font-size:16px}.legend-heading button{min-height:44px;padding:8px}.heatmap-legend>span{font-size:14px}.heatmap-scale{grid-template-columns:repeat(3,minmax(0,1fr));font-size:14px;gap:8px 12px;margin:10px 0}.heatmap-scale i{width:16px;height:16px}.legend-footer{font-size:13px}.basemap{font-size:14px;min-height:48px;margin:0;padding:10px}.basemap input{width:20px;height:20px}.stats-strip{height:96px}.stats-strip>div{padding:0 20px}.stats-strip strong{font-size:28px}.stats-strip span{font-size:14px}.stats-strip>p{display:none}.leaflet-tooltip{font-size:16px}.leaflet-control-attribution{font-size:11px!important}.download-links a,.dialog-heading button{min-height:44px}.dialog-heading button{min-width:44px}.remote-detail h3{font-size:20px}.remote-detail button{min-height:44px}.how-to{flex-wrap:wrap}
@media(min-width:1500px){.workspace{grid-template-columns:440px minmax(0,1fr)}.sidebar{padding:32px 30px 0}.heatmap-scale{grid-template-columns:repeat(6,auto)}}
@media(max-width:1200px){.edition{display:none}.workspace{grid-template-columns:350px minmax(0,1fr)}.topbar{padding:0 22px}.topbar nav{gap:18px}.layer-bar>span{display:none}.map-bottom{flex-wrap:wrap}.basemap{margin-left:auto}.heatmap-legend{flex-basis:100%}.stats-strip{justify-content:space-around}.stats-strip>div{padding:0 12px}}
@media(max-width:850px){.topbar{height:auto;min-height:96px;flex-wrap:wrap;padding:16px 20px;gap:12px}.topbar nav{order:3;width:100%;justify-content:space-between;gap:12px}.topbar nav button{padding:8px 0}.nav-active:after{bottom:0}.workspace{display:flex;flex-direction:column-reverse;height:auto;min-height:0}.map-stage{height:auto;min-height:0}.map-canvas{flex:none;height:440px}.map-top{padding:16px 20px}.map-top .eyebrow{font-size:13px}.breadcrumbs,.breadcrumbs button{font-size:16px}.breadcrumbs{max-width:none}.layer-bar{padding:0 16px 14px}#level-buttons{width:100%}#level-buttons button{flex:1;white-space:normal;min-width:88px;font-size:16px;padding:10px 12px}.map-bottom{padding:12px 16px}.heatmap-scale{grid-template-columns:repeat(3,minmax(0,1fr))}.stats-strip{height:90px}.stats-strip>div{padding:0 8px}.stats-strip strong{font-size:24px}.stats-strip span{font-size:13px}.sidebar{overflow:visible;border-right:0;border-top:1px solid var(--line);padding:28px 20px 0}.sidebar-intro h1{font-size:34px}.selectors{grid-template-columns:1fr 1fr;gap:16px 12px}.select-box select{font-size:16px}.search-wrap input{font-size:16px}.sidebar-foot{margin-top:20px}.quiet-button{font-size:16px;min-width:48px}.empty-detail p{font-size:16px}.legend-heading strong{font-size:16px}.heatmap-legend>span{font-size:14px}.heatmap-legend{padding:0}.legend-footer{font-size:13px}.basemap{padding:10px}}
@media(max-width:480px){.topbar nav{flex-wrap:wrap;font-size:14px}.topbar nav button{font-size:14px}.topbar nav #about{display:block}.brand small{font-size:10px}.login-button{padding:12px 22px}.selectors{grid-template-columns:1fr}.heatmap-scale{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-strip span{font-size:12px}.map-status{font-size:13px}.map-canvas{height:400px}}

.sr-only{top:0;left:0}.brand{letter-spacing:.3px;gap:12px}.brand img{object-fit:contain;flex-shrink:0}.brand small{letter-spacing:1.1px}.nav-active:after{background:#b48b36}
.topbar{height:auto;min-height:112px;padding-top:16px;padding-bottom:16px}.topbar>.brand{max-width:440px;min-width:0}.topbar>.brand>span{min-width:0}.topbar>.brand small{max-width:340px;font-size:13px;letter-spacing:0;font-weight:400;line-height:1.5;color:var(--muted)}.workspace{height:calc(100dvh - 112px)}.nav-active:after{bottom:-18px}
@media(max-width:1200px){.topbar{flex-wrap:wrap}.topbar nav{order:3;width:100%;justify-content:center}.workspace{height:auto;min-height:800px}.map-stage{min-height:800px}.nav-active:after{bottom:-10px}}
@media(max-width:850px){.topbar{padding:16px}.topbar>.brand{flex:1;font-size:24px}.topbar>.brand img{width:48px;height:48px}.topbar>.brand small{font-size:12px;max-width:250px}.header-actions{flex-shrink:0}.login-button{padding:12px 18px}.topbar nav{justify-content:space-between}.workspace{min-height:0}.map-stage{min-height:0}.nav-active:after{bottom:0}}
/* Compact workspace: the map takes all remaining space, panels stay in flow. */
.topbar{min-height:88px;padding:12px 24px;gap:16px}.topbar>.brand img{width:48px;height:48px}.topbar>.brand{font-size:25px;max-width:430px}.topbar nav{gap:22px}.nav-active:after{bottom:-12px}.workspace{--sidebar-width:340px;--legend-height:210px;--header-height:88px;display:grid;grid-template-columns:var(--sidebar-width) 12px minmax(0,1fr);height:calc(100dvh - var(--header-height));min-height:600px}.workspace.sidebar-closed{grid-template-columns:0 0 minmax(0,1fr)}.sidebar{grid-column:1;min-width:0;padding:20px 18px 0;border-right:0}.sidebar-intro h1{font-family:inherit;font-size:24px;font-weight:650;letter-spacing:-.4px;line-height:1.3;margin:0 0 8px}.sidebar-intro>p:last-child{font-size:14px;line-height:1.5;margin:0 0 16px}.search-wrap{height:48px}.search-wrap input{height:46px}.section-label{margin:14px 0 8px;letter-spacing:.6px}.selectors{gap:12px}.select-box select{height:46px}.sidebar-foot{font-size:13px;padding:10px 0}.empty-detail{text-align:left;padding:0}.empty-detail h2{font-family:inherit;font-size:18px;font-weight:600;margin:0 0 8px}.empty-detail p{max-width:none;margin:0;font-size:14px;line-height:1.6}#detail{margin-top:18px;padding-top:18px}.map-stage{grid-column:3;min-height:0;height:100%}.map-top{height:auto;min-height:64px;padding:10px 20px;gap:12px}.map-top .eyebrow{display:none}.map-actions{display:flex;align-items:center;gap:8px}.quiet-button{min-height:44px;padding:8px 12px;font-size:14px}.layer-bar{padding:0 20px 12px;gap:12px}.layer-bar>span{display:none}#level-buttons button{min-height:44px;padding:9px 14px}.map-canvas,#map{min-height:240px}.map-canvas{flex:1;overflow:hidden}.map-bottom{display:flex;flex-direction:column;align-items:stretch;gap:0;flex:0 0 auto;height:var(--legend-height);padding:0 20px 8px;border-top:0;overflow:hidden}.map-bottom.is-collapsed{height:auto;padding-bottom:0}.legend-heading{min-height:48px;flex-shrink:0;gap:12px}.legend-actions{display:flex;gap:8px;align-items:center}.legend-heading button{min-height:44px;font-size:14px;padding:8px}.legend-heading .quiet-button{text-decoration:none}.legend-heading strong{font-size:16px}#legend-content{overflow:auto;min-height:0;scrollbar-gutter:stable}#heatmap-caption{font-size:13px;color:var(--muted);margin:0 0 8px;line-height:1.5}.heatmap-scale{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 16px;margin:0 0 10px}.heatmap-scale>span{white-space:normal;gap:9px;font-size:14px;line-height:1.4;min-width:0}.heatmap-scale i{width:14px;height:14px;flex-shrink:0;border-radius:3px;align-self:flex-start;margin-top:3px}.heatmap-scale small{display:block;font-size:12px;color:var(--muted);margin-top:2px}.legend-footer{align-items:center;padding-top:4px;gap:12px}.basemap{min-height:32px;padding:4px 8px;border:0;background:none;margin:0}.stats-strip{height:54px;justify-content:flex-start;gap:0}.stats-strip>div{display:flex;align-items:baseline;gap:8px;padding:0 18px}.stats-strip strong{font-size:20px;letter-spacing:-.5px}.stats-strip span{font-size:13px}.panel-resizer{display:flex;align-items:center;justify-content:center;background:var(--cream);touch-action:none;position:relative;z-index:3}.panel-resizer:focus-visible{outline:3px solid var(--brand);outline-offset:-3px}.panel-resizer:hover,.panel-resizer:focus-visible{background:var(--soft)}.panel-resizer span{background:#a9b7c9;border-radius:4px}.sidebar-resizer{grid-column:2;cursor:col-resize;border-inline:1px solid var(--line)}.sidebar-resizer span{width:4px;height:44px}.legend-resizer{height:12px;flex:0 0 12px;cursor:row-resize;border-block:1px solid var(--line)}.legend-resizer span{width:44px;height:4px}.is-resizing{user-select:none}.is-resizing #map{pointer-events:none}
@media(min-width:1600px){.heatmap-scale{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:1200px){.topbar nav{order:3;width:100%;justify-content:center}.topbar{flex-wrap:wrap}.stats-strip>div{padding:0 10px;gap:5px}.stats-strip span{font-size:12px}.map-top{flex-wrap:wrap}.map-actions{margin-left:auto}.map-bottom{flex-wrap:nowrap}.heatmap-scale{gap:8px}}
@media(max-width:850px){.topbar{padding:12px 16px}.topbar>.brand img{width:44px;height:44px}.topbar nav{justify-content:space-between}.workspace,.workspace.sidebar-closed{display:flex;flex-direction:column-reverse;height:auto;min-height:0}.sidebar-resizer{display:none}.sidebar{padding:20px 16px 0}.map-stage{height:auto;min-height:0}.map-canvas{height:440px;flex:none}.map-top{min-height:60px;padding:8px 16px}.map-actions{gap:6px}.map-actions .quiet-button{padding:8px 10px}.layer-bar{padding:0 16px 10px}#level-buttons button{min-width:88px}.map-bottom{padding-inline:16px}.legend-heading{flex-wrap:wrap;gap:0 8px}.legend-actions{margin-left:auto}.heatmap-scale{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-strip{height:auto;min-height:60px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 4px;row-gap:8px}.stats-strip>div{border-right:0;padding:0 12px}.stats-strip span{font-size:13px}.stats-strip strong{font-size:20px}.sidebar-intro h1{font-size:24px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}

.ik-app .heatmap-scale{grid-template-columns:repeat(2,minmax(0,1fr))}.ik-app #legend-content>p{font-size:13px;line-height:1.5;margin:6px 0}.ik-app .leaflet-tooltip{min-width:220px;max-width:320px;white-space:normal}@media(min-width:1500px){.ik-app .heatmap-scale{grid-template-columns:repeat(4,minmax(0,1fr))}}
