[data-fire-layer][hidden],#location-pick-banner[hidden],#register-fields[hidden]{display:none!important}
.header-icon{position:relative;width:38px;min-width:38px;height:40px;display:grid;place-items:center;background:#fff9eb;border:1px solid #ece5cf;border-radius:12px;color:#a56b20;font-size:24px}.header-icon .icon{width:23px;height:23px}#personal-alert-count{position:absolute;top:-4px;right:-4px;font-size:10px;background:#de5936;color:white;border-radius:20px;min-width:15px}.has-alert{animation:alert-glow 2s ease-in-out infinite;background:#fff0d1;border-color:#efb43c}@keyframes alert-glow{50%{box-shadow:0 0 0 5px #e9a32932;color:#d97706}}
#profile-dialog input:not([type=checkbox]),#profile-dialog select{width:100%;padding:11px;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:var(--surface,#fff);margin:6px 0 12px}#profile-dialog p{margin:10px 0;line-height:1.5;font-size:13px}.profile-coordinates{display:grid;grid-template-columns:1fr 1fr;gap:12px}.profile-location-actions{display:flex;gap:8px;margin:12px 0}.profile-location-actions button{flex:1}.profile-privacy{color:var(--muted)}#personal-alert-list section{padding:14px;background:var(--pink);border-radius:14px;margin:10px 0}#personal-alert-list p{white-space:pre-line;line-height:1.5;margin:8px 0}#personal-alert-list h3{font-size:16px}#location-pick-banner{position:fixed;z-index:1400;bottom:calc(var(--footer) + 14px);left:50%;transform:translateX(-50%);padding:12px 16px;background:var(--surface,#fff);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);color:var(--ink);display:flex;gap:12px;align-items:center;max-width:calc(100vw - 24px)}#location-pick-banner button{border:0;border-radius:8px;padding:8px;background:var(--pink);color:var(--ink)}.login-box{max-height:calc(100dvh - 24px);overflow:auto}.register-toggle{border:0;background:none;color:var(--red);margin:12px 0;padding:8px}.login-box label{display:block;text-align:left;font-size:13px;margin-top:8px}.login-box label input[type=checkbox]{width:auto;margin-right:8px}#accounts-admin-list>div{display:grid;grid-template-columns:1fr 130px 100px;gap:8px;margin:12px 0;align-items:center}#accounts-admin-list select,#accounts-admin-list button{padding:9px;border-radius:9px;border:1px solid var(--line);color:var(--ink);background:var(--surface,#fff)}
#risk-report-dialog{width:min(1120px,calc(100vw - 32px));padding:24px}.report-layout{display:grid;grid-template-columns:minmax(290px, .85fr) minmax(340px,1.15fr);gap:26px}.report-settings-column{min-width:0}.report-text-column{min-width:0;display:flex;flex-direction:column}.report-text-column #risk-report-text{flex:1;height:55dvh;min-height:320px;resize:vertical}.report-text-column .report-footer{flex-wrap:wrap}.report-settings-column .report-filters{gap:10px}.report-settings-column .report-filters fieldset{min-width:0;width:100%}.report-settings-column .report-message-options{display:block}.report-settings-column .report-message-options label{min-width:0;margin:12px 0}.report-description{font-size:13px}.report-settings-column #gmail-unit-selection{max-height:180px;overflow:auto}
:root[data-theme=dark]{color-scheme:dark;--ink:#edf0f4;--muted:#aeb6c0;--line:#3a424d;--pink:#3e3425;--surface:#202730;--shadow:0 12px 34px #0007}
[data-theme=dark] body{background:#151b22;color:var(--ink)}[data-theme=dark] :is(.topbar,.rail,#sidebar,.statusbar,.floating-widget,.editor-dialog,#risk-report-dialog,.login-box,.ol-popup,.warning-grade-card,#warning-legend,#meteo-panel,.meteo-heading,#imgw-timeline,.basemap-card){background:var(--surface);color:var(--ink);border-color:var(--line)}[data-theme=dark] :is(.rail button,.rail a,.header-icon,.account,.icon-button,.report-close,.search-row,.report-filters fieldset,.report-message-options input,.report-message-options select,#risk-report-text,input,select,textarea,.btn-secondary,.btn-success,#meteo-param,#meteo-search,#meteo-list button,.meteo-source-row){background:#29313d;color:var(--ink);border-color:var(--line)}[data-theme=dark] .brand{color:var(--ink)}[data-theme=dark] .editor-header{background:var(--surface)}[data-theme=dark] .ol-popup-closer{background:#29313d;color:#eee}[data-theme=dark] .btn-primary{background:linear-gradient(110deg,#ffcf35,#f89819);color:#332415}[data-theme=dark] :is(.warning-grade-card h5,.layer-label,.panel-header h3,summary,.widget-title){color:var(--ink)}[data-theme=dark] .ol-zoom button{background:#29313d;color:#eee}[data-theme=dark] .ol-attribution{background:#202730dd;color:#ddd}[data-theme=dark] .ol-attribution a{color:#ddd}[data-theme=dark] .ol-scale-line{background:#202730dd}[data-theme=dark] .ol-scale-line-inner{color:#eee;border-color:#eee}[data-theme=dark] .header-icon.has-alert{background:#493819}[data-theme=dark] #toast{background:#29313d;color:#eee}[data-theme=dark] #meteo-panel .meteo-legal{color:#b9b4a8}
@media(max-width:850px){.report-layout{grid-template-columns:1fr}.report-text-column #risk-report-text{height:40dvh;min-height:240px}}
@media(max-width:700px){.account-group{gap:4px}.header-icon{width:30px;min-width:30px;height:34px;font-size:21px;border-radius:10px}.header-icon .icon{width:20px;height:20px}.account{width:32px;min-width:32px;justify-content:center;padding:5px}.account span{display:none}.brand{font-size:20px}.brand-logo{width:28px}.register-osp{width:30px}.profile-coordinates{gap:8px}.profile-location-actions{flex-wrap:wrap}.profile-location-actions button{min-width:120px}.report-layout{gap:12px}#risk-report-dialog{padding:16px}#accounts-admin-list>div{grid-template-columns:1fr 1fr}#accounts-admin-list span{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.has-alert{animation:none;box-shadow:0 0 0 3px #e9a32950}}

/* Contrast fixes for floating mode notices, legend titles and OSP action. */
[data-theme=dark] #map-mode-banner,[data-theme=dark] #location-pick-banner{background:#202730;color:#edf0f4;border-color:#806337}
[data-theme=dark] #map-mode-text,[data-theme=dark] #warning-legend>h4,[data-theme=dark] #warning-sheet-toggle,[data-theme=dark] .warning-sheet-label{color:#edf0f4}
[data-theme=dark] #warning-sheet-toggle{background:#29313d;color:#edf0f4;border-color:#3a424d;text-shadow:none}
[data-theme=dark] #warning-sheet-toggle .warning-sheet-label,[data-theme=dark] #warning-sheet-toggle .icon{color:inherit}
[data-theme=dark] #warning-sheet-toggle:focus-visible{outline:2px solid #ffcf72;outline-offset:-3px}
[data-theme=dark] .register-osp{background:#29313d;color:#ffcf72;border-color:#46505d}
[data-theme=dark] .register-osp-label,[data-theme=dark] .register-osp-symbol{color:#ffcf72}
[data-theme=dark] .ol-zoom{background:#29313d;border-color:#46505d}
[data-theme=dark] .ol-popup h4{color:#ffcf72!important}
[data-theme=dark] :is(.report-text-label,.report-mode-label,.report-time-label,.report-filters legend,.form-group label){color:#bec7d1}
#login-overlay[hidden],[onclick="openAccountAdministration()"][hidden]{display:none!important}
@media(max-width:700px){.ol-popup{padding:12px;border-radius:14px;font-size:12px}#popup-content{padding-right:5px;font-size:12px;line-height:1.45;overflow-wrap:anywhere}#popup-content h4{font-size:15px;margin:0 0 7px;padding-right:22px}#popup-content p{margin:5px 0}.unit-popup-title>.icon{width:26px;height:26px;padding:4px;flex-shrink:0}.unit-popup-title span{min-width:0;overflow-wrap:anywhere}.ol-popup-closer{top:3px;right:4px;width:26px;height:26px}.ol-popup:before,.ol-popup:after{display:none}}

#public-view-btn[hidden]{display:none!important}
