:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#243f3b;font-synthesis:none;--ink:#243f3b;--muted:#7a8c85;--line:#dce5df;--accent:#2f786c;--glass:rgba(252,253,248,.95)}
*{box-sizing:border-box}body{margin:0;overflow:hidden;background:#dce5d9}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #369c89;outline-offset:3px}[hidden]{display:none!important}button{color:inherit}a{color:var(--accent)}svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}#scene{position:absolute;inset:0}#scene canvas{display:block;width:100%;height:100%;touch-action:none}.topbar{position:absolute;inset:0 0 auto;min-height:100px;display:flex;align-items:flex-start;padding:24px 28px;gap:30px;background:linear-gradient(#f5f7eef2,#f5f7ee82,transparent);pointer-events:none}.topbar>*{pointer-events:auto}.brand{display:flex;gap:12px;align-items:center;min-width:260px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;background:#2f675b;color:white;border-radius:13px;font-size:26px;font-weight:700;box-shadow:0 5px 12px #234b4020}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:650;color:#658076}h1{font-size:25px;line-height:1.25;letter-spacing:-1px;margin:3px 0 0}h1 span{font-size:10px;letter-spacing:0;font-weight:500;border:1px solid #b5c9bd;border-radius:20px;padding:3px 8px;vertical-align:middle;margin-left:5px;color:#536e62}h2{font-size:20px;letter-spacing:-.5px;margin:5px 0 0;line-height:1.25}.search{position:relative;display:flex;align-items:center;gap:10px;max-width:430px;width:35vw;margin-left:auto;margin-right:auto;background:var(--glass);border:1px solid #ffffffc9;border-radius:13px;padding:13px 15px;box-shadow:0 6px 25px #264e4310}.search svg{width:18px;color:#719085}.search input{border:0;background:none;outline:none;min-width:0;flex:1;color:var(--ink);font-size:13px}.search input::placeholder{color:#819188}.search kbd{font:12px sans-serif;color:#a0aca4}.comparison{font-size:11px;text-decoration:none;background:#f8faf1c9;padding:13px;border:1px solid #fff;border-radius:12px;white-space:nowrap}.comparison svg{width:14px;height:14px;margin-left:7px}#results{position:absolute;top:54px;left:0;right:0;max-height:370px;overflow:auto;border-radius:13px;background:#fcfdf9;border:1px solid var(--line);box-shadow:0 16px 50px #183c3626;padding:7px}#results button{display:flex;gap:10px;text-align:left;width:100%;border:0;background:none;padding:10px;font-size:12px;border-radius:8px;align-items:center}#results button:hover{background:#edf4ef}#results small{display:block;color:#87988d;margin-top:3px}.panel{position:absolute;background:var(--glass);border:1px solid #ffffffcf;border-radius:20px;box-shadow:0 10px 40px #234d401b;overflow:hidden;backdrop-filter:blur(15px)}.layer-panel{left:24px;top:112px;width:284px;max-height:calc(100vh - 195px);display:flex;flex-direction:column}.panel-heading{padding:22px 21px 18px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.panel-heading .icon-button{width:26px;height:26px;flex:none;background:none;border:0;color:#87998e;margin-top:-1px}.icon-button{display:grid;place-items:center;width:40px;height:40px;background:#fbfdf6f2;border:1px solid #ffffffb0;border-radius:11px;transition:background .2s,color .2s}.icon-button:hover{background:#e8f0e7;color:#237968}.tabs{display:flex;border-bottom:1px solid var(--line);padding:0 18px;gap:23px}.tabs button{padding:0 0 12px;font-size:12px;position:relative;border:0;background:none;color:#809188;font-weight:550}.tabs button.active{color:#286e60}.tabs button.active:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:3px;background:#2f786c;border-radius:3px}.panel-body{padding:4px 14px 16px;overflow:auto;scrollbar-width:thin;scrollbar-color:#c4d1c8 transparent}.section-label,.layer-group summary{font-size:9px;letter-spacing:1.6px;color:#809287;font-weight:700;margin:21px 8px 10px}.layer-row{display:flex;align-items:center;gap:11px;min-height:45px;padding:6px 9px;margin:3px 0;border-radius:11px}.layer-row:has(input:checked){background:#edf3ed99}.layer-icon{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;background:#e9efe6;color:#647d65;flex:none}.layer-icon svg{width:19px;height:19px}.layer-name{font-size:12px;flex:1;line-height:1.35}.switch{width:29px;height:17px;position:relative;flex:none}.switch input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}.switch-track{position:absolute;inset:0;pointer-events:none;border-radius:20px;background:#cbd6cd;transition:background .2s}.switch-track:after{content:'';width:13px;height:13px;position:absolute;left:2px;top:2px;border-radius:50%;background:white;box-shadow:0 1px 3px #28463322;transition:transform .2s}.switch input:checked+.switch-track{background:#388373}.switch input:checked+.switch-track:after{transform:translateX(12px)}.switch input:focus-visible+.switch-track{outline:3px solid #78bdab;outline-offset:3px}.layer-group{border-top:1px solid var(--line);margin:12px 7px 0}.layer-group summary{cursor:pointer;padding:5px 0;list-style:none;margin:11px 0}.layer-group summary:after{content:'+';float:right;font-size:14px;font-weight:400;line-height:10px}.layer-group[open] summary:after{content:'−'}.layer-group .layer-row{padding-left:2px;padding-right:2px}.panel-footer{border-top:1px solid var(--line);font-size:10px;padding:13px 22px;display:flex;align-items:center;gap:8px;background:#f4f7ef;flex-shrink:0}#status-dot{width:6px;height:6px;background:#d3b76d;border-radius:50%;flex:none}.panel-reopen{position:absolute;left:25px;top:112px;box-shadow:0 4px 24px #243f3b22}.muted{font-size:11px;line-height:1.65;color:#7c8c82;margin:12px 8px}.quality-label{font-size:11px;color:#708878;display:block;margin:12px 0 7px}select{width:100%;border:1px solid #dce4da;background:#f9fbf6;border-radius:7px;padding:7px;color:#426255;font-size:11px}.nav-tools{position:absolute;right:24px;bottom:74px;display:flex;flex-direction:column;gap:7px}.nav-tools .icon-button{box-shadow:0 4px 12px #355e3e12}.north-needle{font-size:13px;font-weight:600;border-top:8px solid #c27258;padding-top:2px}.bottom-bar{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:13px 26px;background:linear-gradient(transparent,#e8eee1df);font-size:9px;color:#607c6a;gap:12px}.attribution{font-size:8px}.inspector{right:24px;top:111px;width:305px;max-height:calc(100vh - 230px);display:flex;flex-direction:column}.inspector .panel-heading{border-bottom:1px solid var(--line);padding-bottom:18px}.inspector h2{font-size:19px;margin-top:7px}.inspector .panel-body{padding:8px 22px 18px}.inspector-footer{padding:13px 22px;border-top:1px solid var(--line)}.primary{display:flex;gap:10px;justify-content:center;align-items:center;border:0;background:#377769;color:white;border-radius:10px;font-size:12px;padding:11px 16px}.primary:hover{background:#276556}.primary svg{width:17px;height:17px}.inspector-footer .primary{width:100%}dl{margin:0}dt{font-size:10px;color:#849489;margin-top:16px}dd{margin:5px 0 0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.data-note{font-size:10px;line-height:1.6;color:#859187;padding:12px 0 0}.tag{display:inline-block;font-size:9px;padding:5px 8px;border-radius:5px;background:#e7eee1;color:#648065;margin-top:14px}.inspector h3{font-size:13px;margin:20px 0 5px}.source-link{display:block;font-size:10px;line-height:1.5;margin:12px 8px;color:#3a7a68;overflow-wrap:anywhere}.sensor-button{display:block;width:100%;background:#edf2e9;border:0;border-radius:9px;padding:12px;text-align:left;font-size:12px;margin:8px 0}.sensor-button small{display:block;font-size:10px;color:#7e9083;margin-top:5px}.legend-item{display:flex;align-items:center;gap:10px;margin:14px 8px;font-size:11px}.swatch{height:10px;width:10px;border-radius:3px}#loading{position:absolute;inset:0;display:grid;place-items:center;background:#eaf0e6e6;backdrop-filter:blur(12px);z-index:10}.loading-card{width:330px;padding:38px;border-radius:25px;background:#fbfcf7;box-shadow:0 20px 70px #264a3320;text-align:center}.loading-card .brand-mark{margin:0 auto 22px}.loading-card .eyebrow{font-size:9px}.loading-card h2{font-size:22px;margin:14px 0 12px}.loading-card p{font-size:12px;line-height:1.7;color:#87988b}.loading-card .primary{margin:15px auto}.load-line{height:3px;background:#e6ece1;border-radius:4px;overflow:hidden;margin-top:24px}.load-line i{display:block;width:35%;height:3px;background:#538d77;animation:load 1.5s infinite ease-in-out}@keyframes load{from{transform:translateX(-100%)}to{transform:translateX(390%)}}#toast{position:absolute;bottom:90px;left:50%;transform:translateX(-50%);max-width:500px;font-size:12px;line-height:1.6;background:#254f44ef;color:#f4f7eb;padding:12px 18px;border-radius:12px;box-shadow:0 8px 25px #183d3722}
@media(max-width:1050px){.comparison{display:none}.search{margin:0 0 0 auto;width:38vw}.layer-panel{width:258px;left:16px}.topbar{padding:20px}.inspector{width:280px;right:16px}.navigation-hint{font-size:8px}}@media(max-width:700px){.topbar{padding:14px;gap:10px;flex-wrap:wrap}.brand{min-width:0;flex:1}.brand-mark{width:32px;height:32px;border-radius:9px;font-size:22px}h1{font-size:21px}.brand .eyebrow{font-size:7px}.search{width:100%;max-width:none;padding:10px}.layer-panel{top:136px;left:12px;max-height:calc(100vh - 210px);width:247px}.panel-reopen{left:12px;top:136px}.inspector{top:136px;left:12px;right:12px;width:auto;max-height:calc(100vh - 195px);z-index:3}.nav-tools{right:12px;bottom:55px}.bottom-bar{padding:13px}.navigation-hint{display:none}.panel-heading{padding:17px}.attribution{font-size:7px}}

/* Search suggestions must stay above both map panels. */
.topbar{z-index:5}.panel,.panel-reopen,.nav-tools{z-index:2}#results{z-index:6}#loading{z-index:20}#toast{z-index:15}.bottom-bar{z-index:1}
.map-annotations{position:absolute;inset:0;pointer-events:none;overflow:hidden}.map-label{position:absolute;transform:translate(-50%,-100%);pointer-events:auto;border:1px solid #ffffffd9;background:#f8fcf0de;border-radius:10px;padding:8px 12px;color:#2d5a50;box-shadow:0 3px 14px #284d391c;font-size:11px;font-weight:600;white-space:nowrap;max-width:245px;overflow:hidden;text-overflow:ellipsis}.map-label.sensor-label:hover{background:#fff;border-color:#65a08f}.map-label:after{content:'';position:absolute;bottom:0;left:50%;height:3px;width:18px;transform:translateX(-50%);background:#7aa58c;border-radius:3px}.map-label-title{display:block;overflow:hidden;text-overflow:ellipsis}.sensor-label{width:208px;text-align:left;white-space:normal}.sensor-label .map-label-title{white-space:nowrap;font-size:10px}.map-reading,.sensor-value,.reading-status{display:flex;align-items:center;gap:7px;margin-top:9px}.map-reading{font-size:14px}.sensor-label small{display:block;font-size:9px;font-weight:400;color:#71867c;margin-top:5px}.sensor-dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex-shrink:0;box-shadow:0 0 0 3px #718c7a10}.reading-status{font-size:11px;line-height:1.5}.sensor-value strong{font-size:15px;font-weight:600}.nav-tools #view-mode{font-size:12px;font-weight:750;letter-spacing:.3px}.nav-tools #view-mode.active{background:#2f786c;color:#fff}.map-label[hidden]{display:none}
.brand{min-width:305px}.brand h1{font-size:23px;letter-spacing:-.6px}.brand .eyebrow{font-size:10px}.city-mark{background:linear-gradient(145deg,#326b60,#19473f);font-size:23px;border-radius:12px 12px 5px 12px}.topbar .search{max-width:470px;width:40vw;margin-right:50px}.secondary{display:block;width:100%;margin:10px 0;padding:10px 12px;border:1px solid #c3d7ce;background:#edf5ed;border-radius:9px;color:#2a6559;font-size:11px;font-weight:600}.secondary:hover{background:#dfece2}.property-section{border-top:1px solid var(--line);padding-top:3px;margin-top:18px}.parcel-button,.address-button{display:block;text-align:left;width:100%;background:#f2f5eb;border:1px solid #e0e8d9;border-radius:9px;padding:10px;margin:7px 0;font-size:11px;line-height:1.45}.parcel-button{border-left:3px solid #b99651;background:#f6f3e9}.parcel-button:hover,.address-button:hover{background:#e4f0e8;border-color:#99b6a5}.parcel-button small,.address-button small{display:block;color:#798a7a;margin-top:4px;font-size:9px}.inspector details{margin-top:13px}.inspector details>summary{font-size:11px;color:#567868;cursor:pointer;padding:6px 0}.parcel-code{display:flex;background:#f4efe1;border:1px solid #e5d9bd;border-radius:12px;padding:14px 12px;gap:17px;margin-top:12px}.parcel-code div{min-width:0;flex:1}.parcel-code small{display:block;font-size:9px;color:#897d64}.parcel-code strong{display:block;font-size:19px;line-height:1.5;overflow-wrap:anywhere;color:#785c30}.property-label{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;border:1px solid #ba9b61;border-radius:5px;padding:2px 5px;background:#fff9e8e8;color:#755722;font:600 10px/1.4 Inter,system-ui,sans-serif;box-shadow:0 1px 4px #31270715;white-space:nowrap}.property-label.address{border-color:#93b4ab;background:#edf8f3ed;color:#22605b}.property-label:hover{background:#fff;border-color:#178a89}.property-annotations{z-index:1}#property-note{font-size:9px}#cadastral-view{width:calc(100% - 14px);margin:10px 7px}.search input{font-size:12px}@media(max-width:1050px){.topbar .search{margin-right:0;width:40vw}}@media(max-width:700px){.brand{min-width:0}.brand h1{font-size:21px}.topbar .search{width:100%;max-width:none}}

.map-label.landmark-label{pointer-events:none;cursor:default;user-select:none}

.sensor-label.is-selected,.sensor-label.is-selected:hover{border-color:#246cff;box-shadow:0 0 0 2px #246cff55,0 3px 14px #284d391c}.sensor-label.is-selected:after{background:#246cff}

.inspector .panel-heading,.inspector-return,.inspector-footer{flex-shrink:0}.inspector-return{padding:12px 22px;border-bottom:1px solid var(--line);background:#edf4ed}.inspector-return .primary{width:100%;font-weight:650}.inspector .panel-body{min-height:0}

.search-tools{position:relative;z-index:4;display:flex;align-items:center;gap:10px;flex:1;min-width:0;max-width:620px;margin-left:auto}.topbar .search-tools .search{width:auto;min-width:0;max-width:none;flex:1;margin:0}.cadastral-search-toggle{display:flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;padding:13px 15px;min-height:46px;border:1px solid #ffffffc9;border-radius:13px;background:var(--glass);box-shadow:0 6px 25px #264e4310;color:#396c5e;font-size:12px;font-weight:600}.cadastral-search-toggle svg{width:18px;height:18px}.cadastral-search-toggle:hover,.cadastral-search-toggle[aria-expanded="true"]{background:#e4f0e8;border-color:#99b6a5}.tabs{gap:12px;justify-content:space-between}.cadastre-search-form{margin:12px 8px}.cadastre-fields{display:flex;gap:10px;margin-bottom:12px}.cadastre-fields label{display:flex;flex:1;min-width:0;flex-direction:column;gap:7px;font-size:11px;color:#536f62}.cadastre-fields input{width:100%;min-width:0;padding:10px;border:1px solid #cbd9ce;border-radius:8px;background:#fcfdf9;color:var(--ink);font-size:13px}.cadastre-fields input::placeholder{color:#91a093}.cadastre-search-form .primary{width:100%}#cadastre-results{margin:0 8px}#tab-cadastre>.property-section{margin-top:16px}#cadastre-search-status{font-size:10px}@media(max-width:700px){.search-tools{width:100%;flex-basis:100%;max-width:none}.cadastral-search-toggle{padding:10px 12px;min-height:40px}.topbar .search-tools .search{padding:10px}.search-tools .search kbd{display:none}}

.tram-stop-label{background:#fff6eaf5;color:#a54200;border-color:#ff8a39;padding:5px 8px;font-size:10px;pointer-events:none}.tram-stop-label:after{background:#ff6400}.waterway-label{background:#eefaffed;color:#126f8b;border-color:#7dc4d9;pointer-events:none;font-size:11px}.waterway-label:after{background:#188fae}.simulation-note{display:flex;align-items:center;gap:8px;margin:6px 8px 12px;font-size:10px;line-height:1.4;color:#86623c}.simulation-note button{border:1px solid #dcba94;border-radius:7px;padding:5px 8px;background:#fff6e9;font-size:10px;color:#965120;margin-left:auto}

/* Analysis workspace: one persistent rail, one active panel. */
.workspace-tools{position:absolute;left:22px;top:112px;display:flex;flex-direction:column;gap:9px;z-index:5}.workspace-tools .icon-button{width:42px;height:44px;box-shadow:0 5px 20px #21453d20}.workspace-tools .active{background:#286f62;color:white;border-color:#286f62}.workspace-tools #open-analysis.active{background:#315ea0;border-color:#315ea0}.layer-panel,.analysis-panel{left:78px;width:320px}.analysis-panel{top:112px;max-height:calc(100dvh - 150px);display:flex;flex-direction:column;z-index:4}.analysis-panel .panel-heading{padding-bottom:12px}.analysis-panel h2{font-size:21px}.analysis-panel .panel-body{padding:0 20px 18px}.thermal-intro{font-size:12px;line-height:1.5;margin:0 0 17px;color:#6e847b}.thermal-presets{display:flex;gap:5px;margin:9px 0 16px;flex-wrap:wrap}.thermal-presets button{background:#eef3ee;border:1px solid transparent;border-radius:7px;padding:5px 8px;font-size:10px;color:#5e786c}.thermal-presets button:hover{border-color:#6f9b88}.thermal-calendar{border:1px solid #dce5df;border-radius:12px;padding:10px 12px;margin-bottom:17px;background:#ffffff70}.thermal-calendar summary{font-size:11px;font-weight:600;cursor:pointer}.thermal-calendar input{margin:9px 0 6px;width:100%;border:0;background:transparent;color:#466657;font-size:12px}.calendar-week,.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center}.calendar-week span{font-size:9px;color:#8d9e94;line-height:22px}.calendar-days button,.calendar-days>span{height:26px;border-radius:7px;border:0;background:transparent;color:#b6c0b8;font-size:10px;position:relative}.calendar-days button{font-weight:600;background:#edf1eb;color:#587663}.calendar-days button.good{background:#e0eee3;color:#267b58}.calendar-days button.partial{background:#fff1d6;color:#956623}.calendar-days button.empty{background:#f0efed;color:#93938a;text-decoration:line-through}.calendar-days button:disabled{cursor:default;opacity:.5}.calendar-days button.selected{background:#315ea0;color:white;box-shadow:0 0 0 2px #bfd2f0}.calendar-key{font-size:8px;color:#71857a;margin:9px 0 0}.thermal-modes{display:flex;background:#e7eee7;padding:3px;border-radius:10px;gap:2px;margin-bottom:12px}.thermal-modes button{border:0;background:none;padding:9px 6px;border-radius:8px;font-size:10px;flex:1}.thermal-modes button[aria-pressed=true]{background:#fff;color:#245ea0;box-shadow:0 2px 6px #29483614;font-weight:650}.thermal-label{display:block;font-size:10px;color:#6e8578;margin:10px 0 6px}.analysis-panel select{padding:9px;font-size:11px}.thermal-check{display:flex;align-items:center;gap:8px;font-size:11px;margin:13px 0}.thermal-check input{accent-color:#386ca7;width:15px;height:15px;margin:0}.analysis-panel input[type=range]{width:100%;height:17px;margin:6px 0;accent-color:#4277b4;cursor:pointer}.thermal-method{background:#edf2f7;border-left:2px solid #80a3cc;padding:10px 11px;font-size:10px;line-height:1.65;color:#596f85;margin:14px 0}.thermal-display>label{display:flex;justify-content:space-between;font-size:10px;color:#6c8176}.thermal-display .secondary{padding:8px;font-size:10px;background:#f0f5f0}.thermal-display svg{width:15px;height:15px;margin-right:7px}.thermal-sample{background:#f2f5ee;border:1px solid #d9e3d7;border-radius:12px;padding:12px;font-size:11px;line-height:1.6;margin-top:12px}.thermal-sample .sample-value{font-size:28px;letter-spacing:-1px;display:block;color:#2f6198;margin:3px 0}.thermal-sample .sample-meta{display:block;color:#7b8d80;font-size:10px}.thermal-methodology{margin-top:16px;color:#7b8c82;font-size:10px;line-height:1.6}.thermal-methodology summary{cursor:pointer;font-weight:600;color:#4b6c5a}.thermal-methodology a{display:block;margin-top:7px}.thermal-methodology #thermal-provenance{overflow-wrap:anywhere;font-size:9px}.thermal-footer{border-top:1px solid var(--line);padding:12px 20px 16px;flex-shrink:0;background:#f3f6ef}.thermal-footer p{font-size:10px;line-height:1.5;color:#667f70;margin:0 0 11px}.thermal-footer .primary{width:100%;font-size:11px;padding:10px;min-height:36px}.thermal-footer svg{width:16px}.thermal-footer #thermal-retry{margin-bottom:9px;font-size:11px}.thermal-legend{position:absolute;left:calc(50% + 80px);transform:translateX(-50%);bottom:43px;width:min(360px,calc(100vw - 450px));border:1px solid #fff;background:#fcfdf5eb;backdrop-filter:blur(12px);padding:14px 18px;border-radius:14px;box-shadow:0 8px 30px #183d3526;z-index:3;pointer-events:none}.thermal-legend-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;margin-bottom:10px}.thermal-legend-heading span{font-weight:700;color:#577360}.thermal-ramp{height:9px;border-radius:5px}.thermal-scale{display:flex;justify-content:space-between;font-size:9px;margin-top:5px;color:#657d6e}.thermal-legend p{margin:8px 0 3px;font-size:10px;color:#566f61;line-height:1.4}.thermal-legend small{font-size:8px;color:#7f9184}.thermal-divider{position:absolute;top:98px;bottom:36px;width:2px;background:#fff;box-shadow:0 0 0 1px #3e604a28;left:50%;z-index:2;pointer-events:none}.thermal-divider span{position:absolute;top:12px;padding:5px 9px;border-radius:7px;background:#fafff2e6;font-size:10px;font-weight:700;box-shadow:0 3px 10px #23443122}.thermal-divider span:first-child{right:12px}.thermal-divider span:last-child{left:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1050px){.workspace-tools{left:14px}.layer-panel,.analysis-panel{left:66px;width:300px}.thermal-legend{left:auto;right:70px;transform:none;width:300px}}
@media(max-width:700px){.workspace-tools{left:12px;top:136px}.workspace-tools .icon-button{width:37px;height:39px}.layer-panel,.analysis-panel{left:59px;top:136px;width:min(300px,calc(100vw - 120px));max-height:calc(100dvh - 196px)}.analysis-panel .panel-heading{padding:16px 13px}.analysis-panel h2{font-size:17px}.analysis-panel .panel-body{padding:0 12px 12px}.thermal-footer{padding:10px 12px}.thermal-legend{right:62px;bottom:37px;width:calc(100vw - 80px);padding:9px 12px;z-index:2}.analysis-panel:not([hidden])~.thermal-legend{display:none}.thermal-divider{top:123px}.thermal-presets button{padding:4px 5px}.thermal-modes button{font-size:9px;padding:8px 3px}}

.thermal-inline-legend{display:none}.thermal-inline-legend .thermal-legend-heading{font-size:10px}.thermal-inline-legend p{font-size:10px}.thermal-inline-legend small{font-size:9px;color:#728877}@media(max-width:700px){.thermal-inline-legend{display:block;padding:12px 0;border-top:1px solid #dce5df;margin-top:12px}}

.thermal-presets button[aria-pressed="true"]{background:#e0eaf7;border-color:#9bb8de;color:#2e609b}.thermal-date-note{font-size:10px;line-height:1.5;color:#6e8578;margin:7px 0 10px}

.loading-card .creator-credit{margin:22px 0 0;font-size:11px;line-height:1.5;color:#527363}.creator-credit strong{font-weight:650}

/* Touch layout: the map stays visible, tools open one compact bottom sheet. */
html,body{width:100%;height:100%;overscroll-behavior:none}body{min-height:100dvh}.panel-body{min-height:0;overscroll-behavior:contain}.loading-card{width:min(330px,calc(100vw - 32px))}.layer-panel,.analysis-panel{max-height:calc(100dvh - 150px)}
@media(max-width:1050px) and (min-width:761px){.brand{min-width:210px}.brand h1{font-size:21px}.topbar{gap:16px;padding:20px}.layer-panel,.analysis-panel{width:min(320px,calc(100vw - 160px))}.inspector{width:290px}.search-tools{max-width:540px}}
@media(max-width:760px){
 .topbar{padding:max(12px,env(safe-area-inset-top)) 12px 12px;min-height:0;gap:10px;flex-wrap:wrap}.brand{min-width:0;flex:1;gap:9px}.brand-mark{width:34px;height:34px;font-size:22px}.brand h1{font-size:20px;letter-spacing:-.5px}.brand .eyebrow{font-size:8px}.brand h1 span{font-size:9px;margin-left:4px;padding:3px 6px}
 .search-tools{flex-basis:100%;width:100%;max-width:none;gap:7px}.topbar .search-tools .search{padding:10px;min-height:44px}.search input,.cadastre-fields input{font-size:16px}.search-tools .search kbd{display:none}.cadastral-search-toggle{font-size:12px;min-height:44px;padding:10px}.cadastral-search-toggle svg{width:16px}.search input::placeholder{font-size:12px}#results{top:49px;max-height:calc(100dvh - 200px);font-size:13px}#results button{min-height:44px;font-size:13px}
 .workspace-tools{top:auto;left:max(12px,env(safe-area-inset-left));bottom:calc(18px + env(safe-area-inset-bottom));flex-direction:row;gap:9px}.workspace-tools .icon-button{width:46px;height:46px}
 .layer-panel,.analysis-panel,.inspector{top:auto;left:12px;right:12px;bottom:calc(80px + env(safe-area-inset-bottom));width:auto;max-height:min(58dvh,calc(100dvh - 220px));border-radius:18px;z-index:6}.panel-heading{padding:15px 16px 10px}.panel-heading .icon-button{width:36px;height:36px;margin:-6px -6px 0 0}.panel h2,.inspector h2{font-size:19px}.tabs{padding:0 16px;gap:12px}.tabs button{font-size:13px;min-height:38px}.layer-name{font-size:14px}.layer-row{min-height:48px;padding:7px 9px}.switch{width:36px;height:22px}.switch-track:after{width:18px;height:18px}.switch input:checked+.switch-track:after{transform:translateX(14px)}.panel-footer{padding:10px 16px}.inspector .panel-body{padding:7px 16px 14px}.inspector-return,.inspector-footer{padding:10px 16px}.inspector-return .primary,.inspector-footer .primary{min-height:42px}.sensor-button{min-height:48px}
 .nav-tools{top:140px;bottom:auto;right:max(12px,env(safe-area-inset-right));gap:6px}.nav-tools .icon-button{width:44px;height:44px}body:has(.layer-panel:not([hidden]),.analysis-panel:not([hidden]),.inspector:not([hidden])) .nav-tools{display:none}
 .bottom-bar{padding:6px 12px calc(5px + env(safe-area-inset-bottom));pointer-events:none}.navigation-hint{display:none}.attribution{font-size:6px;line-height:1.3;margin-left:auto;max-width:72%;text-align:right}.analysis-panel .panel-body{padding:0 16px 14px}.thermal-footer{padding:10px 16px}.thermal-footer .primary{min-height:42px}.thermal-calendar{padding:10px}.calendar-days button{height:32px;font-size:12px}.calendar-key{font-size:9px}.thermal-modes button{font-size:12px;min-height:40px}.thermal-check{font-size:13px;min-height:40px}.thermal-label{font-size:12px}.analysis-panel select{font-size:14px;min-height:42px}.thermal-inline-legend{display:block;padding:12px 0}.thermal-legend{left:12px;right:12px;bottom:calc(80px + env(safe-area-inset-bottom));width:auto;max-width:none;transform:none}body:has(.analysis-panel:not([hidden]))>.thermal-legend{display:none}.thermal-divider{top:128px}.thermal-presets button{min-height:34px;font-size:11px}#toast{bottom:calc(83px + env(safe-area-inset-bottom));max-width:calc(100vw - 24px);width:max-content;z-index:12}
}
@media(max-height:540px) and (max-width:950px){.topbar{padding:9px 12px;flex-wrap:nowrap}.brand{min-width:165px}.brand h1{font-size:17px}.brand h1 span{display:none}.search-tools{flex-basis:auto}.layer-panel,.analysis-panel,.inspector{top:70px;bottom:58px;left:68px;right:auto;width:min(340px,calc(100vw - 144px));max-height:calc(100dvh - 130px)}.workspace-tools{top:76px;bottom:auto;left:12px;flex-direction:column}.nav-tools{top:auto;bottom:28px;flex-direction:row;right:12px}.nav-tools .icon-button{width:40px;height:40px}.thermal-legend{max-width:300px;left:auto;right:12px;bottom:85px}.loading-card{padding:20px}.loading-card .brand-mark{margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.icon-button,.switch-track,.switch-track:after{transition:none}.load-line i{animation-duration:3s}}

/* Tram simulation: compact date/time controls, shared workspace dimensions. */
#open-transports.active{background:#e66c29;color:white;border-color:#e66c29}#open-analysis.active{background:#b4543d;border-color:#b4543d;color:white}
.transport-panel .panel-body{padding:0 22px 22px}.transport-line{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.transport-badge{display:grid;place-items:center;min-width:48px;height:38px;border-radius:10px;background:#fff0df;color:#b84910;font-size:14px;font-weight:750}.transport-line strong{display:block;font-size:13px}.transport-line div>span{display:block;font-size:11px;color:#71847a;margin-top:5px}.transport-intro{font-size:12px;line-height:1.6;color:#6b8175;margin:18px 0}
.transport-clock{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:12px}.transport-clock label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#5b7669;min-width:0}.transport-clock input{display:block;width:100%;min-width:0;min-height:44px;border:1px solid #cbd9ce;background:#fafcf6;color:var(--ink);border-radius:9px;padding:9px;font-size:13px}.transport-playback{display:flex;gap:8px;margin:18px 0 14px}.transport-playback button{min-height:44px;border-radius:10px;font-size:12px;font-weight:600}.transport-playback .primary{flex:1;background:#c4531b}.transport-playback .primary:hover{background:#a63f0e}#transport-stop{border:1px solid #d4dfd5;background:#f7f9f1;padding:10px 13px}.transport-panel button:disabled{opacity:.5;cursor:default}.transport-speed{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:11px;color:#72877a}.transport-speed select{width:155px;min-height:36px}
.transport-state{display:flex;align-items:center;gap:9px;border-radius:10px;background:#f0f3eb;padding:13px 11px;margin:18px 0 10px;min-height:43px}.transport-state strong{font-size:11px;font-weight:550;line-height:1.5}.transport-dot{width:7px;height:7px;border-radius:50%;background:#91a398;flex:none}.transport-state[data-state="playing"] .transport-dot{background:#de691f}.transport-state[data-state="paused"] .transport-dot{background:#cfac40}.transport-note,.transport-source p{font-size:10px;color:#76867a;line-height:1.7}.transport-note{margin:10px 0 18px}.transport-source{border-top:1px solid var(--line);padding-top:13px}.transport-source summary{font-size:11px;cursor:pointer;color:#506f61}.transport-source a{font-size:11px}
@media(max-width:700px){.transport-panel .panel-body{padding:0 16px 18px}.transport-clock{gap:8px}.transport-clock input{font-size:16px;padding:8px}.transport-playback button{font-size:12px}}
/* Public webcams: lightweight DOM pins and one opt-in still at a time. */
.workspace-tools #open-webcams.active{background:#287e96;border-color:#287e96}.webcam-panel .panel-body{padding-top:0}.webcam-item{display:block;width:100%;text-align:left;padding:11px 12px;margin:6px 0;border:1px solid #dce7e2;border-radius:12px;background:#f2f6f1;color:#254d46}.webcam-item strong{display:block;font-size:13px}.webcam-item small{display:block;font-size:10px;color:#6e847b;margin-top:4px}.webcam-item[aria-pressed=true]{background:#e7f2f5;border-color:#428da0;box-shadow:inset 3px 0 #287e96}.webcam-detail{margin-top:16px;border-top:1px solid var(--line);padding-top:14px}.webcam-detail h3{font-size:17px;margin:0 0 5px}.webcam-preview{border-radius:12px;overflow:hidden;background:#eaf0eb}.webcam-preview:empty{display:none}.webcam-preview img{width:100%;height:auto;min-height:110px;display:block}.webcam-empty{padding:16px;line-height:1.6;font-size:12px}.webcam-actions{display:flex;flex-direction:column;gap:9px;margin-top:12px}.webcam-actions .secondary,.webcam-panel #webcam-load{width:100%;min-height:40px}.webcam-actions svg{width:16px;height:16px;margin-right:6px}.webcam-sources{font-size:11px;line-height:1.65;color:#6d8379;margin-top:20px}.webcam-sources summary{cursor:pointer;color:#365d54;font-weight:650}.map-label.webcam-label{display:flex;align-items:center;gap:7px;background:#f5fcf9eb;border-color:#67a5b2;color:#226c7e;padding:7px 9px;height:36px;max-width:230px;pointer-events:auto}.map-label.webcam-label[hidden]{display:none}.webcam-pin{display:flex;flex-shrink:0}.webcam-pin svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.webcam-label:after{background:#287e96}.webcam-label.is-selected{background:#246cff;color:#fff;border-color:#fff}.webcam-label.is-selected:after{background:white}.webcam-label:hover{box-shadow:0 0 0 2px #5e9fac50}.privacy-page{overflow:auto;background:#f8faf5;height:auto}.privacy-page main{max-width:720px;padding:40px 24px;margin:auto;line-height:1.75}.privacy-page h1{font-size:30px;line-height:1.2}.privacy-page h2{font-size:19px;margin-top:28px}.privacy-page a{color:#287e96}.privacy-page p{font-size:14px}
@media(max-width:760px){.webcam-item{min-height:48px}.webcam-item strong{font-size:14px}.webcam-item small{font-size:11px}.webcam-panel .data-note,.webcam-sources{font-size:12px}.webcam-preview img{max-height:210px;object-fit:contain}.webcam-label .map-label-title{max-width:140px}}

/* Supplied EKORE artwork: preserve the original proportions and transparency. */
.brand-mark.ekore-mark{flex:none;background:#fbfdf6;border:1px solid #dce8dd;padding:5px;border-radius:11px}.ekore-mark img{display:block;width:100%;height:100%;object-fit:contain}.loading-card .brand-mark.ekore-mark{width:72px;height:72px;padding:10px;border-radius:18px;margin:0 auto 22px;box-shadow:0 7px 24px #234b4010}
@media(max-height:540px) and (max-width:950px){.loading-card .brand-mark.ekore-mark{width:54px;height:54px;padding:7px;margin-bottom:12px}}
