@media (max-width:980px){.app-shell{min-height:100vh;min-height:100dvh;overflow-x:clip}.app-shell .workspace{width:100%;min-width:0;padding-bottom:calc(112px + env(safe-area-inset-bottom))}.app-shell .workspace>*{min-width:0;max-width:100%}.app-shell .mobile-nav{right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));left:max(8px,env(safe-area-inset-left));grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;min-height:68px;padding:7px;border-radius:17px}.app-shell .mobile-nav .notification-trigger,.app-shell .mobile-nav button{min-width:0;min-height:52px;justify-content:center;padding:4px 2px;text-align:center;line-height:1.1;touch-action:manipulation}.app-shell .mobile-nav button svg{width:20px;height:20px}.app-shell .mobile-nav button span{min-width:0;max-width:100%}.app-shell .mobile-nav .notification-trigger{display:grid;align-items:center;gap:3px;border:0;background:transparent;font-size:9px;font-weight:650}.app-shell .mobile-nav .notification-trigger b{position:absolute;margin:-27px 0 0 24px}.app-shell .mobile-more-menu{right:0;bottom:calc(76px + env(safe-area-inset-bottom));width:min(220px,calc(100vw - 16px));max-width:calc(100vw - 16px)}.app-shell .mobile-more-menu button{min-height:48px}}@media (max-width:760px){.app-shell .workspace{padding:16px 12px calc(112px + env(safe-area-inset-bottom))}.app-shell .topbar{display:grid;align-items:stretch;gap:14px}.app-shell .topbar h1{max-width:100%;font-size:clamp(24px,7.2vw,31px);line-height:1.08}.app-shell .topbar>div:first-child>span{display:block;max-width:62ch;line-height:1.45}.app-shell .top-actions{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.app-shell .top-actions button{min-width:0;min-height:46px;justify-content:center;padding:0 8px;white-space:normal}.app-shell .top-actions button:last-child:nth-child(odd){grid-column:1/-1}.app-shell .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .kpi{min-width:0;min-height:96px}.app-shell .dashboard-section-head{min-width:0}.app-shell .dashboard-section-head>span{max-width:100%;white-space:normal}.app-shell .dashboard-analysis-grid,.app-shell .dashboard-context-stack,.app-shell .dashboard-overview,.app-shell .dashboard-support-grid,.app-shell .iot-layout,.app-shell .parcels-hybrid,.app-shell .reports-layout,.app-shell .settings-grid{grid-template-columns:1fr}.app-shell .dashboard-overview{gap:12px}.app-shell .dashboard-map-workspace>.parcel-map-wrapper{height:min(64vh,480px)!important;height:min(64svh,480px)!important;min-height:400px!important}.app-shell .map-full{height:auto;min-height:0}.app-shell .parcel-map-wrapper{min-height:0!important}.app-shell .map-full .parcel-map-wrapper,.app-shell .parcels-hybrid>.parcel-map-wrapper{height:min(68vh,560px)!important;height:min(68svh,560px)!important;min-height:430px!important}.app-shell .parcel-map-basemap{top:10px;right:64px;left:10px;gap:2px;padding:3px}.app-shell .parcel-map-basemap button,.app-shell .parcel-map-fab{min-height:44px}.app-shell .parcel-map-basemap button{padding:0 9px}.app-shell .parcel-map-fab{top:10px;right:10px;width:44px;padding:0}.app-shell .parcel-map-fab-secondary{top:60px}.app-shell .parcel-map-fab span{display:none}.app-shell .parcel-map-metrics{top:62px;right:64px;left:10px;max-width:none;gap:2px;padding:3px;scrollbar-width:none}.app-shell .parcel-map-metrics::-webkit-scrollbar{display:none}.app-shell .parcel-map-metrics button{min-height:38px;padding:0 10px}.app-shell .parcel-map-panel{right:10px;bottom:62px;left:10px;width:auto;max-height:calc(100% - 154px);overflow:auto;padding:15px}.app-shell .parcel-map-panel-close{width:40px;height:40px}.app-shell .parcel-map-legend{right:10px;bottom:10px;left:10px;justify-content:center;gap:6px;padding:7px 8px;font-size:9px}.app-shell .parcel-map-hint{right:10px;bottom:10px;left:10px;padding:7px 8px;text-align:center}.app-shell .parcel-map-wrapper .maplibregl-ctrl-top-right{top:116px;right:10px}.app-shell .draw-map-wrapper .maplibregl-ctrl-top-right{top:64px;right:10px}.app-shell .maplibregl-ctrl-group button{width:44px;height:44px}.app-shell .view-stack .parcel-form{gap:14px;margin-bottom:12px;padding:16px 14px 18px;border-radius:16px!important;scroll-margin-top:14px}.app-shell .form-head{grid-template-columns:minmax(0,1fr);padding-right:42px}.app-shell .form-head>button,.app-shell .parcel-form .icon-btn{width:44px;height:44px}.app-shell .parcel-mode-tabs{display:grid;width:100%;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.app-shell .parcel-mode-tabs button{min-width:0;min-height:44px;padding:0 3px;font-size:10px}.app-shell .sigpac-import-panel{min-width:0;padding:14px}.app-shell .form-grid,.app-shell .sigpac-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.app-shell .iot-assignment-row select,.app-shell .iot-form input,.app-shell .modal-form input,.app-shell .modal-form select,.app-shell .parcel-form input,.app-shell .parcel-form select,.app-shell .parcel-form textarea,.app-shell .settings-form input,.app-shell .settings-form select,.app-shell .settings-form textarea{min-height:46px;font-size:16px}.app-shell .sigpac-row{display:grid;gap:8px}.app-shell .form-submit,.app-shell .sigpac-row button{width:100%;min-height:48px}.app-shell .form-hint,.app-shell .sigpac-row span{overflow-wrap:anywhere}.app-shell .parcel-card-head{min-width:0;gap:8px}.app-shell .parcel-card-head>div{min-width:0}.app-shell .parcel-card-head h3,.app-shell .parcel-card-head p,.app-shell .trend-copy{overflow-wrap:anywhere}.app-shell .parcel-card-head>.icon-btn{width:44px;height:44px;flex:0 0 44px}.app-shell .draw-map-wrapper{height:min(68vh,520px)!important;height:min(68svh,520px)!important;min-height:390px!important}.app-shell .draw-map-search{top:10px;right:10px;left:10px;width:auto}.app-shell .draw-map-search-input{min-height:46px}.app-shell .draw-map-search-input input{min-width:0;font-size:16px}.app-shell .draw-map-search-input button{width:40px;min-height:40px}.app-shell .draw-map-search-list{max-height:180px}.app-shell .draw-map-search-list button{min-height:44px;padding:8px}.app-shell .draw-map-toolbar{right:10px;bottom:10px;left:10px;display:grid;gap:9px;padding:10px}.app-shell .draw-map-hint{line-height:1.35}.app-shell .draw-map-actions{display:grid;grid-template-columns:minmax(0,1.35fr) repeat(2,minmax(0,1fr));gap:6px}.app-shell .draw-map-actions button{min-width:0;min-height:44px;justify-content:center;padding:0 5px;font-size:10px;white-space:normal}.app-shell .settings-actions{display:grid;gap:8px}.app-shell .settings-actions>*{min-height:46px;justify-content:center}.app-shell .report{grid-template-columns:auto minmax(0,1fr) repeat(2,44px);gap:7px}.app-shell .report>a,.app-shell .report>button{display:grid!important;width:44px;height:44px;place-items:center}.app-shell .pdf-preview{display:none}.app-shell .guide-arbot-callout,.app-shell .guide-intro,.app-shell .iot-device-card,.app-shell .iot-provision-card,.app-shell .settings-card{min-width:0}.app-shell .iot-assignment-row select{width:100%;margin-left:0}.app-shell .guide-arbot-callout,.app-shell .guide-intro{grid-template-columns:1fr}.app-shell .guide-arbot-link,.app-shell .guide-intro-aside{width:100%}.app-shell .guide-arbot-link{justify-content:center}.app-shell .modal-backdrop{align-items:flex-end;justify-content:stretch;padding:0}.app-shell .modal{width:100%;max-height:calc(100vh - env(safe-area-inset-top));max-height:calc(100dvh - env(safe-area-inset-top));border-right:0;border-bottom:0;border-radius:20px 20px 0 0;overflow:auto}.app-shell .modal-head{position:sticky;top:0;z-index:1;min-height:64px;background:var(--surface);padding:12px 16px}.app-shell .modal-head button{display:grid;width:44px;height:44px;place-items:center}.app-shell .modal-form{padding:16px 16px calc(24px + env(safe-area-inset-bottom))}.app-shell .modal-grid{grid-template-columns:1fr}.app-shell .modal-actions{display:grid;gap:9px;margin-top:5px}.app-shell .modal-actions-right{display:grid;grid-template-columns:1fr 1.25fr;gap:8px}.app-shell .modal-actions button{min-height:46px;justify-content:center}.app-shell .modal-actions>.danger{width:100%}.arbot-panel{max-height:calc(100vh - env(safe-area-inset-top) - 8px);max-height:calc(100dvh - env(safe-area-inset-top) - 8px)}.arbot-panel-header{padding-top:max(12px,env(safe-area-inset-top))}.arbot-close-button{width:44px;height:44px}.arbot-panel-messages{overscroll-behavior:contain}.arbot-panel-suggestions button{min-height:44px}.arbot-composer-meta{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center}.arbot-composer-meta select{max-width:none;min-height:44px;font-size:16px}.arbot-composer-meta span{grid-column:1/-1}.arbot-panel-composer textarea{min-height:68px;font-size:16px}.arbot-composer-footer{align-items:stretch;flex-direction:column}.arbot-composer-footer button{width:100%;min-height:48px;justify-content:center}.arbot-panel-composer{margin-bottom:calc(13px + env(safe-area-inset-bottom))}}@media (max-width:360px){.app-shell .workspace{padding-inline:10px}.app-shell .draw-map-actions,.app-shell .form-grid,.app-shell .sigpac-fields{grid-template-columns:1fr}}@media (max-width:980px) and (max-height:600px){.app-shell .workspace{padding-bottom:94px}.app-shell .map-full .parcel-map-wrapper,.app-shell .parcels-hybrid>.parcel-map-wrapper{height:calc(100vh - 148px)!important;min-height:360px!important}.arbot-panel{max-height:100vh;max-height:100dvh}}@media (max-width:1180px){.app-shell .mobile-nav{overflow:visible;box-sizing:border-box;max-width:calc(100vw - 16px)}}.app-shell .sidebar>.nav-list{flex:1 1 0;min-height:0;overflow-y:auto;align-content:start;scrollbar-width:thin}.app-shell .sidebar>.profile{flex-shrink:0;margin-top:0}.prevention-view{display:flex;flex-direction:column;gap:24px;padding-bottom:110px}.prevention-view .topbar{margin-bottom:0}.prevention-purpose{display:flex;align-items:center;gap:12px;margin:0;color:var(--text);line-height:1.6}.prevention-purpose svg{flex-shrink:0;color:var(--accent-strong)}.prevention-view button{min-height:44px}.prevention-view a,.prevention-view button,.prevention-view summary{-webkit-tap-highlight-color:transparent}.prevention-view :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--accent);outline-offset:3px}.prevention-view :is(h2,h3,p){overflow-wrap:anywhere}.prevention-view h2{font-size:20px;letter-spacing:-.025em;line-height:1.25;margin:0 0 12px}.prevention-view h3{font-size:17px;line-height:1.35;margin:6px 0 0}.prevention-view p{line-height:1.6}.prevention-view small{display:block;color:var(--muted);line-height:1.6;font-size:13px}.prevention-view a{color:var(--accent-strong);text-decoration:underline;text-underline-offset:3px}.prevention-view :is(button,input,select,textarea){font:inherit}.prevention-view :is(.prevention-card,.prevention-tabs,.prevention-error,.topbar) button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line-strong);background:var(--surface);border-radius:8px;padding:10px 16px;color:var(--text);cursor:pointer}.prevention-view button:disabled{cursor:wait;opacity:.65}.prevention-view button.primary{background:var(--accent-strong);color:var(--surface);border-color:var(--accent-strong)}.prevention-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-block:1px solid var(--line);padding:22px 0;gap:24px}.prevention-summary>div{display:flex;flex-direction:column;gap:6px}.prevention-summary strong{font-size:32px;font-weight:600;letter-spacing:-.045em;font-variant-numeric:tabular-nums}.prevention-summary span{color:var(--muted);font-size:13px;line-height:1.5}.prevention-tabs{display:flex;gap:8px;flex-wrap:wrap}.prevention-tabs button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-strong)}.prevention-card{min-width:0;border:1px solid var(--line);border-radius:12px;padding:24px;background:var(--surface)}.prevention-card>p{color:var(--muted);margin:8px 0 16px}.prevention-map-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:20px;align-items:start}.prevention-map{min-width:0;overflow:hidden;border-radius:12px;border:1px solid var(--line)}.prevention-map .parcel-map-legend{flex-wrap:wrap;max-width:calc(100% - 28px);bottom:56px}.prevention-view .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}.prevention-ranking{max-height:650px;overflow-y:auto}.prevention-ranking ol{list-style:none;margin:0;padding:0}.prevention-ranking li+li{border-top:1px solid var(--line)}.prevention-ranking li button{width:100%;text-align:left;display:grid;grid-template-columns:24px minmax(0,1fr) 16px;gap:12px;border:1px solid transparent;padding:16px 10px;border-radius:8px}.prevention-ranking li button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent)}.prevention-ranking strong{display:block;margin-bottom:6px}.prevention-ranking small{margin-bottom:8px}.prevention-rank{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums;align-self:start;padding-top:3px}.prevention-priority{display:inline-block;width:-moz-fit-content;width:fit-content;border-radius:5px;padding:5px 8px;font-size:12px;font-weight:600;line-height:1.5}.prevention-priority-high{color:var(--danger);background:var(--danger-soft)}.prevention-priority-medium{color:var(--warning);background:var(--warning-soft)}.prevention-priority-low{color:var(--accent-strong);background:var(--accent-soft)}.prevention-priority-unknown{color:var(--text);background:var(--surface-2)}.prevention-detail-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;align-items:start}.prevention-context{grid-column:1/-1}.prevention-reasons{padding-left:20px;line-height:1.65;margin:18px 0}.prevention-reasons li+li{margin-top:8px}.prevention-missing{background:var(--warning-soft);color:var(--text);border-left:3px solid var(--warning);padding:14px 16px;margin:16px 0;font-size:14px;line-height:1.6}.prevention-missing ul{margin:8px 0 0;padding-left:18px}.prevention-view summary{cursor:pointer;line-height:1.5;font-weight:600;min-height:44px;padding-block:10px}.prevention-evidence{border-top:1px solid var(--line);margin-block:18px;padding-top:6px}.prevention-evidence dl{margin:0}.prevention-evidence dl>div{padding-block:12px;border-bottom:1px solid var(--line)}.prevention-evidence dt{font-weight:600}.prevention-evidence dd{margin:5px 0 0}.prevention-official{display:flex;flex-direction:column;gap:12px}.prevention-official .topbar-kicker,.prevention-official h2{margin:0}.prevention-official-days{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.prevention-official-days li{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding-block:12px;border-block:1px solid var(--line)}.prevention-form{margin-top:18px}.prevention-form fieldset{border:0;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;min-width:0}.prevention-form label,.prevention-upload label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:500;line-height:1.5}.prevention-form :is(input,select,textarea){width:100%;min-width:0;color:var(--text);background:var(--surface);border:1px solid var(--line-strong);border-radius:7px;padding:11px 12px;min-height:44px}.prevention-form textarea{resize:vertical}.prevention-form-wide{grid-column:1/-1}.prevention-form button{justify-self:start}.prevention-error{display:flex;flex-direction:column;gap:10px;padding:20px;border:1px solid var(--danger);border-radius:10px;background:var(--danger-soft);line-height:1.5}.prevention-error button{align-self:start}.prevention-note{color:var(--muted);font-size:13px;margin:0;max-width:85ch}.prevention-tasks{display:grid;gap:20px}.prevention-task>header{display:flex;align-items:start;justify-content:space-between;gap:16px}.prevention-task-status{display:inline-block;white-space:nowrap;padding:5px 8px;border-radius:5px;background:var(--surface-2);font-size:12px;line-height:1.5}.prevention-task-status-completed{background:var(--accent-soft);color:var(--accent-strong)}.prevention-task-status-in_progress{background:var(--warning-soft);color:var(--warning)}.prevention-task>details{margin-top:16px;border-top:1px solid var(--line);padding-top:6px}.prevention-photos{padding-left:20px;line-height:2}.prevention-upload{display:flex;gap:16px;align-items:end;margin-top:22px;padding-top:16px;border-top:1px solid var(--line);flex-wrap:wrap}.prevention-upload input{display:block;max-width:100%;font-size:14px;padding-block:8px}.prevention-audit ol{line-height:1.65;padding-left:20px}.prevention-audit li{margin-bottom:12px}.prevention-audit li span{display:block}.prevention-create>summary{display:flex;align-items:center;gap:10px}@media (max-width:1100px){.prevention-map-layout{grid-template-columns:minmax(0,1fr)}.prevention-ranking{max-height:none}}@media (max-width:700px){.prevention-view{gap:20px}.prevention-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}.prevention-summary strong{font-size:28px}.prevention-card{padding:18px}.prevention-detail-grid,.prevention-form fieldset{grid-template-columns:minmax(0,1fr)}.prevention-tabs button{flex:1 1 140px;padding:10px 8px}.prevention-task>header{flex-direction:column;gap:10px}.prevention-map .parcel-map-wrapper{min-height:500px!important}.prevention-map .parcel-map-legend{bottom:40px;font-size:11px}.prevention-upload{align-items:start;flex-direction:column}}.prevention-operations{display:grid;gap:22px;min-width:0}.prevention-field-link{padding:14px 18px;border:1px solid var(--line);border-radius:8px;color:var(--accent-strong);background:var(--surface);font-weight:600}.field-vector-map{margin-block:18px}.field-vector-map svg{display:block;width:100%;height:auto;max-height:440px;border:1px solid var(--line);border-radius:8px}.field-vector-map p{color:var(--muted);font-size:13px}.prevention-estimate{border-top:1px solid var(--line);padding-block:16px}.prevention-estimate summary{cursor:pointer;line-height:1.6}.prevention-operations small{display:block;margin-top:6px;overflow-wrap:anywhere}.prevention-operations p{overflow-wrap:anywhere}.field-workspace{max-width:1080px;margin:0 auto;padding:32px 24px 72px;display:grid;gap:24px}.field-workspace .topbar{padding:0}.field-workspace h1{font-size:clamp(26px,5vw,40px)}.field-actions{display:flex;gap:12px;flex-wrap:wrap;margin-block:16px}.field-workspace select{max-width:100%;min-height:44px}.field-workspace li{margin-block:14px;overflow-wrap:anywhere}.field-workspace button{min-height:44px}@media(max-width:700px){.field-workspace{padding:20px 14px 60px;gap:18px}.field-workspace .topbar{align-items:start;flex-direction:column}.field-actions{flex-direction:column}.field-vector-map svg{min-height:220px}.prevention-operations .prevention-tabs{flex-wrap:wrap}}.fire-map-view{display:flex;flex-direction:column;gap:16px;padding-bottom:110px;min-width:0}.fire-map-view>*{min-width:0;max-width:100%}.fire-map-view .topbar{margin-bottom:0}.fire-map-view .topbar-kicker{display:inline-flex;align-items:center;gap:6px}.fire-map-view button{font:inherit;min-height:44px;-webkit-tap-highlight-color:transparent}.fire-map-view :is(button,a,summary,[tabindex]):focus-visible{outline:3px solid var(--accent);outline-offset:2px}.fire-map-view .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}.fire-map-disclaimer{margin:0;padding:12px 14px;border-left:3px solid var(--line-strong);background:var(--surface-2);color:var(--text);line-height:1.55;font-size:14px}.fire-map-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 14px;border-radius:8px;background:var(--warning-soft);color:var(--text);border:1px solid color-mix(in srgb,var(--warning) 35%,transparent);font-size:14px;line-height:1.5}.fire-map-notice-error{background:var(--danger-soft);border-color:color-mix(in srgb,var(--danger) 35%,transparent)}.fire-map-notice button{border:1px solid var(--line-strong);background:var(--surface);border-radius:8px;padding:6px 12px;color:var(--text);cursor:pointer}.fire-map-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.fire-map-segment{display:inline-flex;border:1px solid var(--line-strong);border-radius:10px;overflow:hidden;background:var(--surface)}.fire-map-segment button{border:0;border-right:1px solid var(--line);background:transparent;color:var(--text);padding:8px 14px;cursor:pointer;white-space:nowrap}.fire-map-segment button:last-child{border-right:0}.fire-map-segment button[aria-pressed=true]{background:var(--text-strong);color:var(--surface)}.fire-map-segment button:disabled{opacity:.5;cursor:not-allowed}.fire-map-list-toggle{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line-strong);border-radius:10px;background:var(--surface);color:var(--text);padding:8px 14px;cursor:pointer;margin-left:auto}.fire-map-list-toggle[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-strong)}.fire-map-days{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.fire-map-demo{margin:0;color:var(--muted);font-size:13px}.fire-map-day{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);text-align:left;cursor:pointer;font-variant-numeric:tabular-nums}.fire-map-day strong{font-size:15px;letter-spacing:-.01em;text-transform:capitalize}.fire-map-day-relative{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.fire-map-day[aria-checked=true]{border-color:var(--text-strong);box-shadow:inset 0 0 0 1px var(--text-strong)}.fire-map-day-extended{background-image:repeating-linear-gradient(135deg,transparent 0 7px,color-mix(in srgb,var(--line) 70%,transparent) 7px 8px)}.fire-map-day-bar{display:flex;width:100%;height:6px;border-radius:3px;overflow:hidden;background:var(--surface-3);gap:1px}.fire-map-day-bar i{display:block;min-width:2px}.fire-map-summary{margin:0;color:var(--muted);font-size:14px;line-height:1.5}.fire-map-stage{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.fire-map-stage-list{grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);align-items:start}.fire-map-side{display:flex;flex-direction:column;gap:12px;min-width:0}.fire-map-side .fire-map-detail{position:relative;inset:auto;width:auto;max-height:none}.fire-map-frame{position:relative;min-height:620px;height:calc(100vh - 330px);max-height:860px;border-radius:12px;overflow:hidden;border:1px solid var(--line);background:#dfe3df}.fire-map-frame .fire-map-canvas{position:absolute;inset:0}.fire-map-canvas-loading{background:linear-gradient(110deg,#dfe3df 30%,#eceeec 50%,#dfe3df 70%);background-size:200% 100%;animation:fire-map-shimmer 1.6s linear infinite}@keyframes fire-map-shimmer{to{background-position:-200% 0}}.fire-map-legend{position:absolute;left:12px;bottom:36px;z-index:2;max-width:min(320px,calc(100% - 24px));padding:12px 14px;border-radius:10px;background:color-mix(in srgb,var(--surface) 94%,transparent);color:var(--text);box-shadow:var(--shadow-md);font-size:13px;line-height:1.4;backdrop-filter:blur(6px)}.fire-map-legend summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;min-height:28px}.fire-map-legend summary::-webkit-details-marker{display:none}.fire-map-legend summary:after{content:"▾";margin-left:auto;color:var(--muted);transition:transform .15s}.fire-map-legend:not([open]) summary:after{transform:rotate(-90deg)}.fire-map-legend strong{display:block;font-size:13px}.fire-map-legend-when{display:block;color:var(--muted);margin:2px 0 8px;font-size:12px;text-transform:none}.fire-map-legend ul{list-style:none;margin:0;padding:0;display:grid;gap:5px}.fire-map-legend li{display:grid;grid-template-columns:18px auto 1fr;align-items:center;gap:8px}.fire-map-legend li small{color:var(--muted);text-align:right;font-variant-numeric:tabular-nums}.fire-map-legend i{width:18px;height:14px;border-radius:3px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45);font-style:normal;font-size:10px;line-height:14px;text-align:center;color:#fff;text-shadow:0 0 2px rgba(10,14,22,.9)}.fire-map-legend-inline{position:static;max-width:none;box-shadow:none;border:1px solid var(--line)}html[data-theme=dark] .fire-map-legend i{box-shadow:inset 0 0 0 1px rgba(255,255,255,.6)}.fire-map-legend i.fire-map-swatch-empty{background:transparent;box-shadow:inset 0 0 0 1.5px var(--muted)}.fire-map-swatch-nodata{background-image:repeating-linear-gradient(135deg,transparent 0 3px,rgba(255,255,255,.5) 3px 4px)}.fire-map-detail{position:absolute;top:12px;right:56px;z-index:3;width:min(360px,calc(100% - 80px));max-height:calc(100% - 24px);overflow-y:auto;padding:18px;border-radius:12px;background:var(--surface);color:var(--text);box-shadow:var(--shadow-md);border:1px solid var(--line)}.fire-map-detail:focus{outline:none}.fire-map-detail:focus-visible{outline:3px solid var(--accent)}.fire-map-detail-close{position:absolute;top:8px;right:8px;min-height:36px!important;width:36px;display:grid;place-items:center;border:0;border-radius:8px;background:var(--surface-2);color:var(--text);cursor:pointer}.fire-map-detail-body h2{font-size:18px;margin:4px 36px 4px 0;letter-spacing:-.02em}.fire-map-detail-body small{display:block;color:var(--muted);font-size:12px;overflow-wrap:anywhere}.fire-map-detail-note{font-size:13px;line-height:1.5;background:var(--surface-2);padding:8px 10px;border-radius:8px}.fire-map-detail-table{width:100%;border-collapse:collapse;margin:12px 0;font-size:14px;font-variant-numeric:tabular-nums}.fire-map-detail-table td,.fire-map-detail-table th{padding:7px 4px;border-bottom:1px solid var(--line);text-align:left}.fire-map-detail-table thead th{font-size:12px;color:var(--muted);font-weight:600}.fire-map-detail-table tbody th{font-weight:600;text-transform:capitalize}.fire-map-detail-table tbody th small{display:inline;margin-left:6px;text-transform:none}.fire-map-detail-table tr[aria-current=date]{background:var(--surface-2)}.fire-map-detail-table tr.is-extended td,.fire-map-detail-table tr.is-extended th{color:var(--muted)}.fire-map-detail-ensemble{font-size:13px;line-height:1.55;margin:0}.fire-map-chip{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}.fire-map-list{max-height:860px;overflow-y:auto;border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:16px}.fire-map-list h2{font-size:17px;margin:0 0 4px;text-transform:none}.fire-map-list>p{margin:0 0 10px;color:var(--muted);font-size:13px;line-height:1.5}.fire-map-list ul{list-style:none;margin:0;padding:0}.fire-map-list>ul>li+li{border-top:1px solid var(--line)}.fire-map-list>ul>li>button{width:100%;display:grid;grid-template-columns:16px 1fr auto;align-items:center;gap:8px;padding:8px 4px;border:0;background:transparent;color:var(--text);text-align:left;cursor:pointer}.fire-map-list>ul>li>button span:last-child{color:var(--muted);font-size:13px}.fire-map-list-cells{padding:0 0 8px 24px!important}.fire-map-list-cells button{border:0;background:transparent;color:var(--accent-strong);text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:6px 0;text-align:left;font-size:13px;min-height:36px!important}.fire-map-parcels{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:14px 16px}.fire-map-parcels h2{font-size:16px;margin:0 0 6px}.fire-map-parcels ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}.fire-map-parcels button{border:1px solid var(--line-strong);border-radius:8px;background:var(--surface);color:var(--text);padding:6px 12px;cursor:pointer}.fire-map-parcels button:disabled{cursor:not-allowed;opacity:.6}.fire-map-nowebgl{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:18px;border:1px dashed var(--line-strong);border-radius:12px;background:var(--surface-2)}.fire-map-nowebgl p{margin:0;line-height:1.5}.fire-map-nowebgl button{border:1px solid var(--line-strong);border-radius:8px;background:var(--surface);padding:6px 12px;cursor:pointer}.fire-map-method{border-top:1px solid var(--line);padding-top:6px;font-size:14px;line-height:1.6}.fire-map-method summary{cursor:pointer;font-weight:600;min-height:44px;padding-block:10px}.fire-map-method a{color:var(--accent-strong)}.fire-map-frame .maplibregl-ctrl-attrib{font-size:11px}@media (max-width:900px){.fire-map-stage-list{grid-template-columns:minmax(0,1fr)}.fire-map-frame{min-height:0;height:68vh}.fire-map-days{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}.fire-map-day{flex:0 0 132px;scroll-snap-align:start}.fire-map-controls{gap:8px}.fire-map-segment{width:100%;overflow-x:auto}.fire-map-segment button{flex:1 0 auto;padding:8px 10px}.fire-map-list-toggle{margin-left:0}.fire-map-legend{bottom:44px;left:8px;padding:8px 10px;font-size:12px;max-width:calc(100% - 16px)}.fire-map-legend ul{grid-template-columns:repeat(2,minmax(0,1fr));-moz-column-gap:10px;column-gap:10px}.fire-map-detail,.fire-map-side .fire-map-detail{position:fixed;left:0;right:0;top:auto;bottom:0;width:auto;max-height:62vh;border-radius:16px 16px 0 0;z-index:60;padding-bottom:calc(18px + env(safe-area-inset-bottom))}}@media (prefers-reduced-motion:reduce){.fire-map-canvas-loading{animation:none}}.fire-map-overlays .fire-map-list-toggle{margin-left:0}.fire-map-hotspots{display:grid;gap:8px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-size:14px;line-height:1.5}.fire-map-hotspots h2{margin:0;font-size:15px}.fire-map-hotspots p{margin:0}.fire-map-hotspots-legend,.fire-map-hotspots-sensors{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:6px 16px;color:var(--muted);font-size:13px}.fire-map-hotspots-legend li{display:inline-flex;align-items:center;gap:6px}.fire-map-hotspots-legend i{display:inline-block;width:14px;height:14px;border-radius:50%;background:#6b7280;box-sizing:border-box}.fire-map-hotspots-legend i.hotspot-recent{background:#ffffff;border:2px solid #111111}.fire-map-hotspots-legend i.hotspot-day{background:#4b5563;border:3px solid #ffffff;outline:1px solid #111111}.fire-map-hotspots-legend i.hotspot-old{background:#4b5563;border:1.5px solid #ffffff;outline:1px solid #111111}.fire-map-hotspots-sensors{display:grid;gap:2px}.fire-map-growth{display:grid;gap:8px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-size:14px;line-height:1.5}.fire-map-growth h2{margin:0;font-size:15px}.fire-map-growth p{margin:0}.fire-map-growth-load.is-saturated{padding:6px 10px;border-left:3px solid #b3261e;background:rgba(179,38,30,.07)}.fire-map-growth-list{margin:0;padding:0;list-style:none;display:grid;gap:8px}.fire-map-growth-list li{display:grid;grid-template-columns:auto 1fr auto;gap:2px 10px;align-items:center;padding-top:8px;border-top:1px solid var(--line)}.fire-map-growth-list li span:not(.fire-map-growth-chip){grid-column:2;color:var(--muted);font-size:13px}.fire-map-growth-list li button{grid-column:3;grid-row:1/span 2}.fire-map-growth-list li .fire-map-burn{grid-column:2;padding:4px 8px;border-radius:6px;background:rgba(107,114,128,.1);color:inherit}.fire-map-growth-list li .fire-map-burn.is-forbidden{background:rgba(179,38,30,.08)}.fire-map-growth-chip{display:inline-block;padding:1px 8px;border-radius:999px;color:#ffffff;font-size:12px;font-weight:600}.fire-map-risk{display:grid;gap:8px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-size:14px;line-height:1.5}.fire-map-risk p{margin:0}.fire-map-risk-anomalies{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}.fire-map-risk-tag{display:inline-block;padding:2px 8px;border-radius:999px;background:var(--surface-muted,rgba(125,42,119,.08));border:1px solid var(--line);font-size:13px;color:var(--muted)}.fire-map-risk-top{margin:0;padding:0 0 0 20px;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:2px 16px;font-size:13px}.fire-map-risk-top small{color:var(--muted)}.fire-map-layer-help{margin:0;padding:8px 12px;border-left:3px solid var(--line-strong);color:var(--muted);font-size:14px;line-height:1.5}.fire-map-layer-help strong{color:var(--text,inherit)}.fire-map-finder{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}.fire-map-finder label{font-weight:600;font-size:14px}.fire-map-finder input{flex:1 1 260px;max-width:420px;min-height:40px;padding:8px 12px;border:1px solid var(--line-strong);border-radius:10px;background:var(--surface);font:inherit}.fire-map-concello{display:grid;gap:6px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-size:14px;line-height:1.5}.fire-map-concello header{display:flex;align-items:center;justify-content:space-between;gap:8px}.fire-map-concello h2{margin:0;font-size:17px}.fire-map-concello h3{margin:6px 0 0;font-size:14px}.fire-map-concello p{margin:0}.fire-map-concello .fire-map-detail-close{position:static}.fire-map-concello-cells{margin:0;padding:0 0 0 20px;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:4px 24px}.fire-map-concello-cells button{background:none;border:0;padding:2px 0;color:inherit;text-decoration:underline;cursor:pointer;font:inherit}.fire-map-detail-location{display:grid;gap:2px;margin:10px 0;padding:10px 12px;border-radius:10px;background:var(--surface-muted,rgba(0,0,0,.03));font-size:13px}.fire-map-detail-location h3{margin:0 0 4px;font-size:14px}.fire-map-detail-location p{margin:0}.fire-map-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px}.fire-map-detail-links{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:4px!important}.fire-map-detail-links button{background:none;border:0;padding:0;color:inherit;text-decoration:underline;cursor:pointer;font:inherit}.fire-map-detail-seasonal h4{margin:10px 0 4px;font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.fire-map-reasons{margin:0;padding:0;list-style:none;display:grid;gap:6px;font-size:13px}.fire-map-reasons li{display:grid;gap:1px;padding-left:10px;border-left:3px solid var(--line-strong)}.fire-map-reasons li.is-high{border-left-color:#7d2a77}.fire-map-reasons li.is-medium{border-left-color:#cf8cc6}.fire-map-reasons span{color:var(--muted)}.fire-map-actions{margin:0;padding-left:18px;display:grid;gap:3px;font-size:13px}.fire-map-detail-vegetation{display:grid;gap:6px;margin:10px 0;font-size:13px}.fire-map-detail-vegetation h3{margin:0;font-size:14px}.fire-map-detail-vegetation p{margin:0}.fire-map-veg-bar{display:flex;height:12px;border-radius:6px;overflow:hidden;border:1px solid var(--line)}.fire-map-veg-bar i{display:block;min-width:2px}.fire-map-veg-fires.is-recent{padding:6px 10px;border-left:3px solid #b5401e;background:rgba(181,64,30,.07)}.fire-map-veg-list{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:2px 14px}.fire-map-detail-hotspots h3{margin:12px 0 6px;font-size:14px}.fire-map-hotspot-items{margin:4px 0 0;padding:0;list-style:none;display:grid;gap:6px;font-size:13px}.fire-map-hotspot-items li{display:grid;gap:1px;padding-left:10px;border-left:2px solid var(--line-strong)}.fire-map-hotspot-items small,.fire-map-hotspot-items span{color:var(--muted)}