/* A quiet, map-first workspace. Layout heights and scroll ownership stay in style.css. */
:root{--ink:#203842;--muted:#5d737b;--teal:#087f78;--teal-light:#e7f5f0;--border:#e0e9e8;--bg:#f4f7f7;--navy:#112f39;--shadow:0 5px 24px #153f4b0d}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Yu Gothic UI","Meiryo",sans-serif;letter-spacing:.015em;-webkit-font-smoothing:antialiased}
button,.button{border-radius:10px;font-weight:600;letter-spacing:.01em}
button:hover,.button:hover{background:#eef7f4;border-color:#a9cec5}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #dfa43b;outline-offset:3px}
input,select,textarea{border-color:#d6e2e1;border-radius:10px;background:#fbfdfc;line-height:1.55}
input:focus,textarea:focus,select:focus{background:#fff;outline:2px solid #8bc9bc}
input::placeholder,textarea::placeholder{color:#71858b}
.primary{background:var(--teal);border-color:var(--teal);box-shadow:0 3px 9px #087f7820}
.primary:hover{background:#066e68;border-color:#066e68}
.micro{color:var(--muted)}
.ui-icon{width:16px;height:16px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.header{height:68px;padding:0 24px;background:linear-gradient(110deg,#102c37,#173f46);border-bottom:1px solid #ffffff12;box-shadow:0 2px 8px #173f4610}
.brand{font-size:19px;letter-spacing:.025em;gap:11px}
.brand img{width:36px;height:36px;border-radius:11px;box-shadow:0 3px 12px #00000014}
.brand small{color:#b7d1d1;font-size:9px;letter-spacing:.15em;margin-top:1px}
.header-middle{color:#c4ddda;font-size:11px;padding:6px 12px;border:1px solid #ffffff13;border-radius:99px;background:#ffffff05}
.header-middle .dot{background:#8fddbd;box-shadow:0 0 0 4px #8fddbd13}
.header-actions{gap:8px;align-items:center}
.header button{min-height:36px;padding:7px 13px;border-color:#77949b66;border-radius:9px;font-size:11px}
.header #account{background:#ffffff0b;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.header button:hover{border-color:#8fb5ba;background:#ffffff14}
.sidebar{background:#f6f9f8;border-color:var(--border)}
.mode-tabs{padding:5px;margin:13px 14px 0;gap:2px;border:1px solid #e2eae8;border-radius:12px;background:#edf3f0;top:10px;box-shadow:0 0 0 10px #f6f9f8}
.mode-tabs button{padding:9px 3px;font-size:11px;gap:5px;border-radius:8px;color:#5f767c}
.mode-tabs .ui-icon{width:14px;height:14px}
.mode-tabs button.active{background:#fff;color:#096f6a;box-shadow:0 2px 6px #173f4612}
.mode-panel{padding:22px 18px 20px}
.section-title{margin-bottom:18px}
.section-title h2{font-size:19px;letter-spacing:.015em;line-height:1.5}
.section-title p{font-size:11px;margin-top:5px}
.eyebrow{font-size:9px;letter-spacing:.17em;color:#318b81;font-weight:700;margin-bottom:6px}
.field{font-size:12px;color:#3c555f;margin:15px 0}
.field input,.field select,.field textarea{margin-top:7px;padding:11px 12px;font-size:12px}
.mode-panel h3{font-size:12px;font-weight:700;margin:23px 0 11px}
.layer-row{padding:10px 11px;border:1px solid #e0e9e5;border-radius:10px;background:#fff;margin:6px 0;transition:border-color .15s,background .15s}
.layer-row:has(input[type=checkbox]:checked){border-color:#b8dbcf;background:#eef8f3}
.layer-row label{font-size:11px;line-height:1.7;gap:7px;min-height:22px}
.layer-row .swatch{width:7px;height:7px;border-radius:2px}
.layer-row small{margin:3px 0 0 32px;font-size:9px;line-height:1.65}
.layer-row:not(:has(input[type=checkbox]:checked)) small{display:none}
.layer-row input[type=checkbox]{appearance:none;-webkit-appearance:none;width:25px;height:15px;min-width:25px;padding:0;border:0;border-radius:99px;background:#c4d3cf;position:relative;cursor:pointer;margin:0}
.layer-row input[type=checkbox]::before{content:"";position:absolute;top:2px;left:2px;width:11px;height:11px;border-radius:50%;background:white;box-shadow:0 1px 3px #213e4733}
.layer-row input[type=checkbox]:checked{background:var(--teal)}
.layer-row input[type=checkbox]:checked::before{left:12px}
.layer-opacity{margin:8px 0 0 32px;gap:9px}
.layer-opacity input{height:18px}
.legend{border-top:1px solid #dae6df;font-size:11px}
.legend summary{font-size:11px;color:#536f73}
.sidebar-bottom{padding:15px 18px;background:#edf3f0;border-top:1px solid #e0e9e4;font-size:10px;color:#47746e}
.sidebar-bottom small{font-size:9px;margin-top:3px}
.map-column{background:#e6ece5}
.map-tools .outline,.search{border:1px solid #ffffffdf;background:#ffffffed;box-shadow:0 4px 16px #1e46501a;backdrop-filter:blur(12px);border-radius:11px}
.search{overflow:hidden;height:44px;max-width:390px}
.search input{font-size:12px;background:transparent;padding:10px 14px;border-radius:0;box-shadow:none}
.search input:focus{outline:0;box-shadow:inset 0 0 0 2px #90cbbd;background:white}
.search button{padding:0 13px;background:transparent;border-radius:0;font-size:20px;color:#3b656c}
.search .ui-icon{width:18px;height:18px}
.map-tools #locate{min-height:40px;padding:8px 12px;font-size:11px;color:#27585d}
.locate-icon{font-size:20px;color:var(--teal)}
.map-banner{color:#416a65;background:#ffffffeb;border:1px solid #ffffffaa;border-radius:8px;backdrop-filter:blur(8px);box-shadow:0 3px 14px #23495512;font-size:10px}
.map-bottom{background:#ffffffed;backdrop-filter:blur(10px);border:1px solid #ffffffbd;border-radius:9px;padding:7px 10px;color:#4d6972}
.map-bottom button{color:#27696b;font-size:10px}
.leaflet-control-zoom{border:0!important;border-radius:11px!important;overflow:hidden;box-shadow:0 3px 16px #223b4829!important}
.leaflet-control-zoom a{color:#27545d!important;border-bottom-color:#e6eeeb!important;width:34px!important;height:34px!important;line-height:34px!important;font-weight:400!important}
.leaflet-popup-content-wrapper{border-radius:14px;box-shadow:0 6px 30px #173e452b}
.leaflet-popup-content{margin:18px 20px;font-size:12px;line-height:1.8}
.selected-marker{background:#0b7770;box-shadow:0 0 0 8px #0a7f7624,0 3px 6px #0003}
.facility-dot{box-shadow:0 1px 5px #18394138}
.inspector{background:#f6f9f8;box-shadow:-3px 0 15px #173f4606;border-left:1px solid #dbe5e1}
.point-heading,.scope{background:#fff}
.point-heading{padding-top:14px;padding-bottom:8px}
.point-heading h2{font-size:15px;letter-spacing:.015em;font-weight:700}
.scope-distance{font-size:11px;color:#077a73;font-variant-numeric:tabular-nums}
.point-heading .custom-scope{font-size:9px;color:#5e7b80}
.point-heading .scope-footer .micro{color:#7b8c8f;font-size:8px}
.scope{padding-bottom:10px}
.radius-endpoint{font-size:9px;color:#6b8188}
.radius-breakpoint{color:#54777d;font-size:9px}
.radius-breakpoint::after{background:#a8c5bc}
.result-tabs{padding:5px 10px 7px;gap:2px;border-bottom:1px solid var(--border);background:#fff}
.result-tabs button{padding:9px 2px;font-size:11px;gap:4px;border:0;border-radius:9px;color:#6a8086;line-height:1.6}
.result-tabs .ui-icon{width:14px;height:14px}
.result-tabs button.active{color:#087c73;background:#e8f5ef;box-shadow:inset 0 0 0 1px #d6ece2}
.result-tabs button:hover{background:#f0f6f3}
.results{padding:22px 20px 32px;scrollbar-color:#bbcfc6 transparent;scrollbar-width:thin}
.result-title{margin-bottom:15px}
.result-title h3{font-size:14px;letter-spacing:.01em}
.tag{font-size:9px;line-height:1.65;padding:3px 7px;background:#e6f3ed;color:#237b70;border-radius:6px;font-weight:600}
.fact-grid{gap:10px}
.fact-card{border:1px solid #dfe9e4;border-radius:13px;padding:15px 13px;background:#fff;box-shadow:0 3px 12px #183d4504;position:relative;overflow:hidden}
.fact-card::before{content:"";position:absolute;top:0;left:14px;right:14px;height:2px;border-radius:0 0 3px 3px;background:#b5d9c9}
.fact-card:nth-child(2)::before{background:#c2d9e5}
.fact-card small{font-size:10px;color:#607a80}
.fact-value{font-size:31px;font-weight:650;line-height:1.5;color:#204c54;letter-spacing:-.045em;font-variant-numeric:tabular-nums;margin-top:4px}
.fact-value span{font-size:11px;letter-spacing:0;color:#6c8185;font-weight:500}
.fact-caption{font-size:10px;line-height:1.75;color:#657d82;margin-top:11px}
.fact-detail{font-size:11px;margin-top:9px;line-height:1.9}
.fact-detail summary{cursor:pointer;font-size:11px;color:#37827b;font-weight:600;padding:5px 0}
.fact-detail>div{padding:8px 0}
.hazard-state{background:#faf6ed;border:1px solid #eee3c9;border-radius:11px;padding:12px 13px;margin-top:15px;color:#7c6539;font-size:11px}
.hazard-state summary{cursor:pointer;font-size:11px;font-weight:600}
.hazard-state summary strong{font-size:11px}
.hazard-state p{font-size:11px;line-height:1.9;margin-top:9px}
.stats-grid{gap:7px;margin:17px 0 9px}
.stat{background:#fff;border:1px solid #e1eae5;border-radius:12px;padding:12px 3px;box-shadow:0 2px 8px #173f4603}
.stat strong{font-size:25px;font-weight:650;line-height:1.5;color:#21515a;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.stat span{font-size:9px;color:#5c767d}
.stats-caption{font-size:10px;color:#6b8184;line-height:1.8}
.nearby-section{background:#fff;border:1px solid #e0e9e5;border-radius:13px;padding:16px 14px 6px;margin-top:21px;box-shadow:var(--shadow)}
.nearby-section>h3{margin:0 0 12px;font-size:13px}
.nearby-section .field{font-size:11px;margin:10px 0}
.nearby-section .micro{font-size:10px}
.nearby-item{padding:13px 0}
.nearby-item:last-child{border-bottom:0}
.nearby-item strong{font-size:12px;line-height:1.7;color:#2c5059}
.nearby-item button,.route-link{font-size:10px}
.preparedness{padding:16px 0 0;border-color:#dce7e2;margin-top:20px}
.preparedness h3{font-size:12px;margin:0 0 9px}
.preparedness ul{font-size:11px;line-height:1.9;color:#506b72}
.facility-item{background:white;border:1px solid #e0e9e5;border-radius:12px;padding:15px;margin:9px 0;box-shadow:0 3px 10px #173f4604}
.facility-item .facility-title{font-size:13px;line-height:1.7;margin-top:3px}
.facility-item .facility-title:hover{color:var(--teal);background:transparent}
.facility-kind{font-size:9px;font-weight:600;letter-spacing:.03em}
.facility-address{font-size:11px;line-height:1.8;margin-top:5px}
.facility-item details{margin-top:8px;font-size:10px}
.facility-item .distance{font-size:11px;font-variant-numeric:tabular-nums;background:#f0f7f3;border-radius:6px;padding:1px 5px}
.warning-item,.live-source-group,.live-item{background:#fff;border:1px solid #e0e9e5;border-radius:12px;padding:14px;margin:9px 0}
.warning-item a{font-size:12px;line-height:1.8}.warning-item time{margin-bottom:4px}.warning-item p{font-size:11px;line-height:1.85}
.live-source-group{font-size:12px}.live-source-group summary{align-items:center;gap:8px}.live-source-group a{font-size:11px}
.explain-box,.scenario-description{border:1px solid #dce9e1;border-radius:11px;background:#edf5ef;font-size:11px;line-height:1.85;padding:14px}
.scenario-description{background:#edf7f1;border-color:#c5dfd3}
.private-label{border:1px solid #cfe5d9;background:#eaf5ed;border-radius:10px;font-size:10px;line-height:1.8;padding:10px 11px}
.draw-tools{gap:6px}.draw-tools button{font-size:12px;min-height:38px;background:#fff}.draw-tools .active{background:var(--teal)}
.file-actions{font-size:10px;gap:6px}.file-actions button,.file-actions .button{font-size:10px;padding:8px 9px;background:#fff}
.my-note{border:1px solid #dfe9e2;border-radius:11px;padding:13px;background:white;margin:10px 0;font-size:11px;overflow-wrap:anywhere}
.my-note .tag{white-space:normal}.my-note .note-title{font-size:13px;margin:7px 0 3px}.my-note small{font-size:9px;color:var(--muted)}
.intro{font-size:12px;line-height:1.9;color:#526c73}
.consent{font-size:11px;line-height:1.85;gap:9px}.consent input{margin-top:4px}
#ai-answer:not(:empty){border-radius:13px;padding:17px;background:#edf6ef;border-color:#d0e4d7;font-size:12px;box-shadow:var(--shadow)}
#ai-submit{min-height:43px;font-size:12px}
dialog{border:1px solid #e4ede8;border-radius:19px;background:#fff;box-shadow:0 24px 90px #102f3a3b;padding:30px;overflow-y:auto}
dialog::backdrop{background:#132f3c78;backdrop-filter:blur(5px)}
dialog h2{font-size:22px;letter-spacing:.02em;margin:7px 0 15px}
dialog .field{font-size:12px;margin:18px 0}
dialog .field input,dialog .field textarea,dialog .field select{font-size:14px;padding:12px 13px;background:#f8fbf9;border-radius:10px}
dialog .primary{min-height:45px;font-size:13px;margin-top:6px}
.dialog-close{font-size:22px;background:#f0f5f2;border-radius:50%;width:30px;height:30px;padding:0;top:16px;right:16px}
#account-policy{background:#eef6f0;border:1px solid #dceae0;padding:11px 12px;border-radius:10px;font-size:11px;line-height:1.8;color:#3a6b61;margin:13px 0}
#toggle-register{font-size:11px;margin-top:9px;color:#48776e}
#toast{border:1px solid #ffffff20;background:#153b43ed;backdrop-filter:blur(12px);border-radius:12px;box-shadow:0 8px 25px #173f4629;line-height:1.8}
#search-results{border-radius:12px;border:1px solid #e0e9e5;box-shadow:0 9px 30px #23414b26;top:66px}
#search-results button{font-size:12px;padding:12px 14px;line-height:1.8}
.custom-scope-panel{border-radius:12px;border-color:#d9e7df;box-shadow:0 10px 30px #214c5626}
.settings-backdrop{position:fixed;inset:0;width:100%;height:100%;z-index:1290;background:#112f3973;backdrop-filter:blur(3px);border:0;border-radius:0;cursor:pointer}
@media(min-width:961px){.settings-backdrop{display:none}}
@media(max-width:1180px){
 .header-middle{display:none}.mode-panel{padding:20px 14px}.mode-tabs{margin-left:10px;margin-right:10px}.mode-tabs button{font-size:10px;gap:3px}.mode-tabs .ui-icon{width:12px;height:12px}
 .layer-row{padding:9px 8px}.layer-row label{font-size:10px;gap:5px}.result-tabs button{font-size:10px;gap:3px}.result-tabs .ui-icon{width:12px;height:12px}
 .map-tools #locate{padding:6px 9px;min-height:36px}.results{padding-left:16px;padding-right:16px}
 .point-heading .scope-footer .micro{font-size:8px}.point-heading h2{font-size:14px}
}
@media(max-width:960px){
 .sidebar{width:min(320px,calc(100vw - 30px));box-shadow:12px 0 40px #102f3933;border-radius:0 18px 18px 0}.mobile-heading{padding:14px 16px;min-height:59px;font-size:13px;flex-shrink:0;background:#143941}.mobile-heading button{background:#ffffff0d;color:#daeae3;font-size:11px;border-radius:7px}
 .mode-tabs{flex-shrink:0}.mode-tabs button{font-size:12px;gap:5px}.mode-tabs .ui-icon{width:14px;height:14px}.mode-panel{padding:23px 19px}.layer-row{padding:10px 11px}.layer-row label{font-size:12px;gap:7px}.layer-row small{font-size:10px}
 .header{padding-left:18px;padding-right:18px}.sidebar-bottom{font-size:11px}.result-tabs button{font-size:11px}
}
@media(max-width:640px){
 .header{height:62px;padding:0 13px;gap:8px}.brand{font-size:15px;gap:8px}.brand img{width:30px;height:30px;border-radius:9px}.brand small{font-size:7px;letter-spacing:.1em}.header-actions{gap:5px}.header-actions button{font-size:10px;min-height:33px;padding:6px 8px;border-radius:8px}.header-actions #sources-open{max-width:none;font-size:9px}.header #account{max-width:118px}.header .ui-icon{display:none}
 .map-tools{gap:6px}.map-tools #settings-open{font-size:11px;padding:7px 9px;min-height:40px;border-radius:10px}.map-tools .search{height:40px;border-radius:10px}.search input{font-size:16px;padding:8px 10px}.search input::placeholder{font-size:12px}.search button{padding:0 9px}.search .ui-icon{width:17px;height:17px}
 .map-tools #locate{min-height:34px;font-size:10px;min-width:109px;padding:6px 9px;border-radius:9px}.locate-icon{font-size:18px}.map-banner{font-size:9px;max-width:calc(100% - 139px);border-radius:8px;padding:6px 9px}.map-bottom{font-size:9px;padding:6px 8px;bottom:25px}.map-bottom button{font-size:9px}
 .inspector{border-top:1px solid #dbe5df}.point-heading{padding:10px 16px 6px}.point-heading h2{font-size:13px}.point-heading .custom-scope{font-size:9px}.scope{padding-bottom:8px}.scope-distance{font-size:11px}.scope .radius-endpoint{font-size:9px}.point-heading .scope-footer .micro{font-size:8px}
 .result-tabs{padding:4px 9px 7px;gap:3px}.result-tabs button{font-size:11px;padding:9px 2px;gap:4px}.result-tabs .ui-icon{width:14px;height:14px}.results{padding:20px 18px 28px}.result-title h3{font-size:14px}.fact-card{padding:14px}.fact-value{font-size:31px}.fact-detail{font-size:12px}.fact-caption{font-size:10px}.fact-grid{gap:10px}
 .nearby-section{padding:15px 14px 6px}.nearby-item strong{font-size:13px}.facility-item{padding:14px}.facility-item .facility-title{font-size:14px}.facility-item .facility-address{font-size:11px}.nearby-item,.route-link,.nearby-item details{font-size:11px}
 .results .field input,.results .field select,.results .field textarea,.mode-panel .field input,.mode-panel .field select,.mode-panel .field textarea,dialog .field input,dialog .field select,dialog .field textarea{font-size:16px}
 .results .field textarea::placeholder,dialog .field input::placeholder{font-size:12px}.results .field select{padding:10px}.results .micro{font-size:11px}.consent{font-size:11px}
 dialog{max-width:calc(100% - 28px);padding:25px 23px;border-radius:17px;max-height:88dvh}dialog h2{font-size:21px}.dialog-close{top:14px;right:14px}dialog .field{margin:16px 0}dialog .primary{min-height:45px}#account-policy{font-size:11px}
 #search-results{top:57px}.leaflet-control-zoom a{width:32px!important;height:32px!important;line-height:32px!important}
}
@media(max-width:359px){
 .header{padding:0 10px;gap:5px}.brand{font-size:13px;gap:6px}.brand img{width:27px;height:27px}.brand small{font-size:6px;letter-spacing:.08em}.header-actions button{font-size:9px;padding:5px 6px}.header-actions #sources-open{font-size:8px}.header #account{max-width:101px}.header-actions{gap:3px}
 .point-heading{padding-left:12px;padding-right:12px;gap:4px}.point-heading h2{font-size:12px}.point-heading .custom-scope{font-size:8px}.point-heading .scope-footer .micro{font-size:7px}.scope-distance{font-size:10px}.scope{padding-left:12px;padding-right:12px}.result-tabs button{font-size:10px;gap:3px}.result-tabs .ui-icon{width:12px;height:12px}
 .results{padding:17px 14px 25px}.fact-card{padding:12px 10px}.fact-card small{font-size:9px}.map-tools #settings-open{padding:7px;font-size:10px}.search input{padding-left:8px}.search input::placeholder{font-size:11px}
}
@media(max-height:600px) and (min-width:641px){.header{height:50px}.point-heading{padding-top:8px;padding-bottom:4px}.scope{padding-bottom:5px}.result-tabs{padding-top:2px;padding-bottom:5px}.result-tabs button{padding:7px 2px}.results{padding-top:14px}.map-tools #locate{min-height:34px}}
@media(prefers-reduced-motion:no-preference){input[type=checkbox]::before{transition:left .15s}.layer-row{transition:background .15s,border-color .15s}dialog[open]{animation:dialog-in .16s ease-out}@keyframes dialog-in{from{opacity:.3;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}}

/* Keep the map toolbar on one line, including narrow and landscape screens. */
.map-tools{align-items:stretch;flex-wrap:nowrap}
.map-tools .search{min-width:0}
.map-tools .search input{width:0;flex:1;min-width:0}
.map-tools #locate{position:static;flex:0 0 auto}
.map-tools #settings-open{flex:0 0 auto;white-space:nowrap}
@media(max-width:1180px){
 .map-tools{gap:5px}
 .map-tools #locate{position:static;margin-left:0;font-size:10px;gap:4px;min-width:102px;padding:6px 7px}
 .map-tools #settings-open{font-size:11px;padding:6px 7px;min-height:40px}
 .map-tools .search{max-width:none}
 .map-tools .search button{flex:0 0 30px;padding:0 6px}
 .map-tools .search .ui-icon{width:17px;height:17px}
 .map-tools .locate-icon{font-size:18px}
 #search-results{max-width:none}
}
@media(max-width:359px){.map-tools #settings-open{font-size:10px;padding:6px}.map-tools #locate{min-width:100px;font-size:10px}}

.password-settings{margin:18px 0;border:1px solid #dce9e1;border-radius:12px;padding:12px 14px;background:#f7fbf8}
.password-settings>summary{font-size:13px;font-weight:650;color:#286e66;cursor:pointer;line-height:1.8}
.password-settings .field{font-size:12px;margin:15px 0}
.password-settings .field input{background:#fff}
.password-settings .micro{font-size:11px;line-height:1.85}
.password-change-success{margin:17px 0;padding:13px;border:1px solid #c9e2d3;border-radius:11px;background:#edf7ef;color:#316d58;font-size:12px;line-height:1.9}
#logged-in-panel>p:first-of-type{font-size:13px;color:#55747a;overflow-wrap:anywhere}
#logged-in-panel>#logout{margin-top:4px}

/* More map space; settings scroll inside a drawer with a persistent header. */
.workspace{grid-template-columns:minmax(200px,calc((100% - 626px)*1.2)) minmax(300px,1fr)}
.sidebar{display:none;position:fixed;inset:0 auto 0 0;width:320px;max-width:calc(100vw - 42px);z-index:1300;overflow:hidden;box-shadow:0 0 0 100vmax #142e3b66}
.sidebar.open{display:flex}
.settings-backdrop:not([hidden]){display:block}
.sidebar .mobile-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:0 0 auto;min-height:60px;padding:10px 16px;background:var(--navy);color:white}
.sidebar .mobile-heading button{color:white;min-height:40px;white-space:nowrap}
.sidebar .mode-tabs{position:static;flex:0 0 auto;box-shadow:none;margin-bottom:0}
.sidebar .mode-panel{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
.sidebar .sidebar-bottom{flex:0 0 auto;margin-top:0;padding:10px 18px}
#settings-open{display:inline-flex}
.map-tools .search{max-width:390px}
.map-bottom{left:12px;right:auto;bottom:27px;width:auto;max-width:none;padding:3px 5px;gap:1px}
.map-bottom button{min-height:30px;padding:3px 9px;font-size:10px}
.map-bottom button+button{border-left:1px solid var(--border);border-radius:0}
@media(min-width:1600px){.workspace{grid-template-columns:minmax(300px,calc((100% - 680px)*1.2)) minmax(300px,1fr)}}
@media(min-width:961px) and (max-width:1180px){.workspace{grid-template-columns:minmax(200px,calc((100% - 555px)*1.2)) minmax(300px,1fr)}}
@media(min-width:641px) and (max-width:960px){.workspace{grid-template-columns:minmax(250px,1fr) clamp(240px,calc(396px - 20vw),330px)}}
@media(max-width:640px){
 .map-column{height:clamp(230.4px,46.08dvh,403.2px)}
 .map-tools .search{max-width:none}
 .map-bottom{left:10px;right:auto;bottom:25px;padding:2px 4px}
 .map-bottom button{min-height:30px;padding:3px 8px;font-size:9px}
 .leaflet-bottom.leaflet-right{margin-bottom:0}
}
@media(max-width:640px) and (max-height:700px){.map-column{height:clamp(216px,43.2dvh,302.4px)}}
