:root{--accent:#087f83;--ink:#203047;--muted:#657282;--line:#e3e9ed;--shadow:0 4px 20px #20304713;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:16px}*{box-sizing:border-box}body{margin:0;background:#f4f7f8}button,input{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.35}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #46b8bd;outline-offset:3px}button{color:inherit}a{color:var(--accent);text-underline-offset:3px}.header{height:78px;background:#fff;display:flex;align-items:center;gap:14px;padding:0 24px;border-bottom:1px solid var(--line);position:relative;z-index:5}.header img{object-fit:contain;max-width:160px;width:auto;height:42px}.brand h1{font-size:20px;letter-spacing:-.5px;margin:0 0 4px;font-weight:650}.brand p{margin:0;color:var(--muted);font-size:13px}.header-place{margin-left:auto;margin-right:24px;font:13px Consolas,monospace;color:#6a7d86;letter-spacing:1px}.header-place span{padding:0 9px;color:#a6b6bc}.text-button{background:#fff;border:1px solid var(--line);border-radius:7px;padding:9px 14px;font-size:14px;font-weight:600}.text-button:hover{background:#f1f6f6}.mobile-toggle{display:none!important}main{display:flex;height:calc(100dvh - 78px);min-height:300px}#sidebar{width:328px;flex-shrink:0;background:#fff;display:flex;flex-direction:column;z-index:4;border-right:1px solid var(--line)}.tabs{display:flex;border-bottom:1px solid var(--line);padding:0 20px;gap:24px}.tab{border:0;background:none;padding:19px 2px 15px;font-size:14px;font-weight:600;border-bottom:3px solid transparent;color:var(--muted)}.tab.active{color:var(--accent);border-color:var(--accent)}.panel{padding:25px 20px;overflow:auto;flex:1}.panel[hidden]{display:none}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.5px;color:var(--accent);margin:0 0 8px}h2{font-size:22px;letter-spacing:-.5px;line-height:1.2;margin:0 0 10px}h3{font-size:16px;margin:24px 0 9px}.count-badge{background:#ecf5f4;color:#277373;padding:5px 8px;border-radius:5px;font-size:12px;white-space:nowrap}.muted{color:var(--muted);font-size:13px;line-height:1.6}.intro{margin:3px 0 20px}.layer{padding:15px 0;border-bottom:1px solid var(--line)}.layer:first-child{padding-top:1px}.layer-top{display:flex;align-items:flex-start;gap:10px}.layer label{display:flex;align-items:flex-start;gap:10px;flex:1;cursor:pointer;font-size:14px;font-weight:600;line-height:1.4}.layer input[type=checkbox]{accent-color:var(--accent);width:17px;height:17px;margin:2px 0 0;flex-shrink:0}.layer-symbol{display:inline-block;border:2px solid var(--layer-color);background:color-mix(in srgb,var(--layer-color) 14%,transparent);width:17px;height:15px;border-radius:3px;margin-top:2px;flex-shrink:0}.layer[data-type=boundary] .layer-symbol{background:none;border-style:dashed}.layer-zoom{border:none;background:#f3f6f7;width:26px;height:26px;border-radius:4px;color:#566b77;font-size:19px;line-height:22px}.layer-meta{color:var(--muted);font-size:12px;margin:5px 0 0 27px;line-height:1.45}.opacity-control{display:flex;align-items:center;gap:9px;margin:10px 0 0 27px;font-size:12px;color:var(--muted)}.opacity-control input{width:100%;height:3px;accent-color:var(--accent)}.opacity-control output{min-width:31px;text-align:right}.layer-error{color:#b63441}.retry-layer{font-size:12px;border:0;background:none;color:#b63441;text-decoration:underline}.basemap-heading{margin-top:29px}.basemap-list{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:3px}.basemap{padding:5px;border:1px solid var(--line);border-radius:8px;background:white;text-align:left}.basemap.active{border:2px solid var(--accent);padding:4px}.basemap-preview{height:54px;border-radius:5px;position:relative;overflow:hidden;background:#edf0ed}.basemap-preview:before{content:"";position:absolute;width:140%;height:10px;background:#fff;top:22px;left:-15%;transform:rotate(-25deg);box-shadow:0 0 0 1px #d9dfd8}.basemap-preview:after{content:"";position:absolute;width:9px;height:150%;background:#fff;left:65%;top:-20%;transform:rotate(-25deg);box-shadow:0 0 0 1px #d9dfd8}.basemap-preview.streets{background:linear-gradient(110deg,#b8d9eb 24%,#dfebd5 24%,#f0e9d8 75%)}.basemap-preview.aerial{background:repeating-linear-gradient(30deg,#566c47 0 17px,#435a39 17px 34px,#697657 34px 40px)}.basemap span{display:block;font-size:12px;line-height:1.35;margin:6px 2px 3px}.legend{margin-top:19px;border:1px solid var(--line);border-radius:6px;padding:11px;font-size:13px}.legend summary{cursor:pointer;font-weight:600}.legend p{font-size:12px;margin-bottom:0}.legend-item{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:12px}.legend-item i{width:13px;height:13px;flex-shrink:0;border-radius:3px}.snapshot{display:flex;gap:12px;border-radius:8px;background:#f3f7f8;margin-top:24px;padding:14px}.snapshot-mark{color:var(--accent);font-size:23px}.snapshot strong{font-size:13px}.snapshot p{font-size:12px;line-height:1.6;color:var(--muted);margin:4px 0 0}.sidebar-footer{border-top:1px solid var(--line);padding:15px 20px;color:#7b8792;font-size:11px}.map-wrap{position:relative;flex:1;min-width:0;overflow:hidden}#map{position:absolute;inset:0;background:#e4eceb}.map-toolbar{position:absolute;left:20px;top:20px;display:flex;align-items:center;background:#fff;border:1px solid #dce4e8;border-radius:8px;padding:4px;box-shadow:var(--shadow)}.icon-button{width:35px;height:35px;display:grid;place-items:center;border:0;background:#fff;border-radius:5px;font-size:23px;line-height:1}.icon-button:hover:not(:disabled){background:#eef5f5;color:var(--accent)}.toolbar-divider{height:21px;width:1px;background:var(--line);margin:0 4px}.project-shortcut{position:absolute;left:20px;top:84px;display:flex;align-items:center;gap:8px;padding:11px 14px;border-radius:25px;box-shadow:var(--shadow);border:1px solid #dce4e8;background:#fff;font-size:13px;font-weight:600}.project-dot{width:8px;height:8px;background:#d6424a;border-radius:50%}.status{position:absolute;bottom:66px;left:20px;background:#fffffff2;border-radius:5px;font-size:12px;color:#526775;padding:8px 11px;box-shadow:var(--shadow);pointer-events:none}.status.error{color:#a02a38}.map-bottom{height:31px;position:absolute;left:0;bottom:0;right:0;background:#ffffffed;border-top:1px solid #e0e7eb;display:flex;align-items:center;padding:0 14px;gap:20px;font:11px Consolas,monospace;color:#667c8b;z-index:2}.scale-label{margin-left:auto;white-space:nowrap;display:flex;align-items:center;gap:3px}.scale-label input{width:82px;border:0;border-bottom:1px solid #c8d7dc;background:transparent;font:inherit;color:#3f5b6c;appearance:textfield}.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right{bottom:31px!important}.maplibregl-ctrl-top-right{top:10px!important;right:10px!important}.maplibregl-ctrl-group{border-radius:7px!important;box-shadow:var(--shadow)!important;border:1px solid #dce4e8}.maplibregl-ctrl-group button{width:36px!important;height:36px!important}.feature-card{position:absolute;top:20px;right:68px;width:310px;max-height:calc(100% - 110px);overflow:auto;background:#fff;box-shadow:0 8px 36px #20304724;border-radius:10px;padding:20px;border:1px solid #dae4e8}.feature-card h2{font-size:19px;line-height:1.35;padding-right:15px}.feature-card .close-feature{position:absolute;right:8px;top:7px;border:0;background:none;font-size:24px;color:#7a8893;width:30px;height:30px}.feature-card dl{margin:16px 0}.feature-card dt{font-size:11px;letter-spacing:.6px;text-transform:uppercase;color:var(--muted);margin-top:13px}.feature-card dd{margin:4px 0 0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.feature-card .text-button{width:100%;margin-top:8px}.feature-switcher{width:100%;font:inherit;font-size:13px;padding:8px;margin:3px 0 14px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--ink)}.search-label{display:block;font-size:13px;margin:22px 0 8px}.search-box{display:flex;align-items:center;gap:9px;border:1px solid #cedbdf;border-radius:7px;padding:8px 12px}.search-box span{font-size:25px;color:var(--muted)}.search-box input{border:0;outline:none;width:100%;min-width:0;font-size:14px}.search-result{display:block;width:100%;background:#fff;border:0;border-bottom:1px solid var(--line);padding:14px 0;text-align:left;font-size:14px;line-height:1.4}.search-result:hover{color:var(--accent)}.search-result small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.panel>p:not(.eyebrow):not(.muted){font-size:14px;line-height:1.7;color:#526474}.source-link{display:block;margin:11px 0;font-size:13px;line-height:1.5}.map-error{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(90%,420px);background:#fff;padding:24px;border-radius:10px;box-shadow:var(--shadow);line-height:1.6}.map-error h2{font-size:20px}.map-error button{margin-top:12px}code{background:#f0f5f5;padding:2px 4px;border-radius:3px;font-size:13px}[hidden]{display:none!important}@media(min-width:1500px){#sidebar{width:350px}.panel{padding:27px 24px}.header{height:84px}main{height:calc(100dvh - 84px)}}@media(max-width:850px){.header{height:68px;padding:0 14px;gap:10px}.header-place{display:none}.brand{flex:1}.brand h1{font-size:17px}.brand p{font-size:12px}.header img{height:36px}main{height:calc(100dvh - 68px)}#sidebar{width:295px}.header .text-button{padding:8px 10px;font-size:12px}#print{display:none}.feature-card{width:280px;right:58px}.map-bottom{font-size:10px;gap:8px}}@media(max-width:640px){.mobile-toggle{display:grid!important;flex-shrink:0}.header{height:64px;padding:0 10px;gap:9px}.header img{height:32px;max-width:75px}.brand h1{font-size:15px}.brand p{font-size:11px}.header .text-button{font-size:11px;padding:8px}.map-wrap{width:100%}main{height:calc(100dvh - 64px)}#sidebar{position:absolute;top:64px;bottom:0;left:0;width:min(88vw,328px);box-shadow:12px 0 30px #20304724;transform:translateX(-105%);transition:transform .2s}body.panel-open #sidebar{transform:translateX(0)}.map-toolbar{left:12px;top:12px}.project-shortcut{left:12px;top:72px}.feature-card{left:12px;right:12px;top:122px;width:auto;max-height:calc(100% - 210px)}.status{left:12px;bottom:77px}.map-bottom{height:29px;padding:0 8px}#coordinates{max-width:53%;white-space:nowrap;overflow:hidden}.scale-label input{width:65px}.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right{bottom:29px!important}.maplibregl-ctrl-attrib{font-size:10px!important}.panel{padding-top:20px}}@media print{.header{height:70px}main{height:calc(100vh - 80px)}#sidebar,.map-toolbar,.project-shortcut,.feature-card,.status,.header button,.maplibregl-ctrl-top-right,.map-error{display:none!important}.header-place{display:block}.map-wrap{width:100%}.maplibregl-map{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Custom map controls retain the MapLibre attribution toggle behaviour. */
.maplibregl-ctrl-attrib-button{background-image:none!important;color:#203047;font:700 17px/24px Arial,sans-serif!important;text-align:center}
.maplibregl-ctrl-attrib-button::before{display:none!important}
.view-mode-button{font-size:13px;font-weight:750;letter-spacing:.2px}
.view-mode-button[aria-pressed=true]{background:#e6f3f3;color:var(--accent)}
