:root,:root[data-theme=dark]{color-scheme:dark;--ui-canvas: #0a1322;--ui-page: #020c16;--ui-surface: #0f172a;--ui-surface-subtle: #0b1220;--ui-surface-raised: #111b2d;--ui-track: #020617;--ui-text: #cbd5e1;--ui-text-strong: #e2e8f0;--ui-heading: #f1f5f9;--ui-text-secondary: #94a3b8;--ui-text-muted: #64748b;--ui-text-faint: #475569;--ui-border: #1e293b;--ui-border-strong: #334155;--ui-accent: #38bdf8;--ui-accent-rgb: 56, 189, 248;--ui-accent-soft: rgba(56, 189, 248, .1);--ui-hover: rgba(148, 163, 184, .06);--ui-shadow: rgba(0, 0, 0, .3);--ui-overlay: rgba(2, 12, 22, .72);--ui-header: linear-gradient(90deg, rgba(2, 13, 23, .98), rgba(5, 25, 39, .96));--ui-toolbar: #0b1c2c;--ui-control: #0b2030;--ui-control-hover: #0d2b3d;--ui-card: linear-gradient(145deg, rgba(2, 22, 34, .97), rgba(5, 29, 44, .9));--ui-hero-overlay: linear-gradient(90deg, rgba(1, 13, 23, .84) 0%, rgba(1, 13, 23, .52) 44%, rgba(1, 13, 23, .67) 100%), linear-gradient(0deg, #020c16 1%, transparent 48%)}:root[data-theme=light]{color-scheme:light;--ui-canvas: #f2f7f5;--ui-page: #f7faf8;--ui-surface: #ffffff;--ui-surface-subtle: #f5f9f7;--ui-surface-raised: #ffffff;--ui-track: #e5eee9;--ui-text: #294351;--ui-text-strong: #183441;--ui-heading: #092936;--ui-text-secondary: #58717d;--ui-text-muted: #6d838d;--ui-text-faint: #84969e;--ui-border: #d8e5df;--ui-border-strong: #bfd3ca;--ui-accent: #00965e;--ui-accent-rgb: 0, 150, 94;--ui-accent-soft: rgba(0, 150, 94, .11);--ui-hover: rgba(0, 112, 75, .07);--ui-shadow: rgba(23, 65, 51, .14);--ui-overlay: rgba(250, 253, 251, .76);--ui-header: rgba(255, 255, 255, .95);--ui-toolbar: #f7faf8;--ui-control: #ffffff;--ui-control-hover: #edf7f2;--ui-card: linear-gradient(145deg, rgba(255, 255, 255, .97), rgba(247, 252, 249, .94));--ui-hero-overlay: linear-gradient(90deg, rgba(249, 253, 251, .96) 0%, rgba(249, 253, 251, .84) 43%, rgba(249, 253, 251, .34) 72%, rgba(249, 253, 251, .2) 100%), linear-gradient(0deg, #f7faf8 0%, transparent 46%)}html,body,#root{background:var(--ui-page);color:var(--ui-text)}:root[data-theme=light] .census-dashboard{background:var(--ui-canvas);color:var(--ui-text-strong)}:root[data-theme=light] .dashboard-heading>div>p:not(.eyebrow),:root[data-theme=light] .dashboard-kpi span,:root[data-theme=light] .evaluation-metric span,:root[data-theme=light] .municipality span,:root[data-theme=light] .panel-note,:root[data-theme=light] .records-table th,:root[data-theme=light] .records-table td small,:root[data-theme=light] .no-data,:root[data-theme=light] .analysis-title p,:root[data-theme=light] .profile-card>p,:root[data-theme=light] .analysis-title>span,:root[data-theme=light] .analysis-note,:root[data-theme=light] .territory-parent small,:root[data-theme=light] .condition-donut span,:root[data-theme=light] .overview-card>span,:root[data-theme=light] .overview-card small,:root[data-theme=light] .institutional-sources p span{color:var(--ui-text-secondary)}:root[data-theme=light] .dashboard-actions .secondary,:root[data-theme=light] .dashboard-filters input,:root[data-theme=light] .dashboard-filters select,:root[data-theme=light] .table-action,:root[data-theme=light] .territory-reset{background:var(--ui-control);color:var(--ui-text);border-color:var(--ui-border-strong)}:root[data-theme=light] .dashboard-kpi,:root[data-theme=light] .dashboard-panel,:root[data-theme=light] .damage-module,:root[data-theme=light] .territory-explorer,:root[data-theme=light] .profile-card,:root[data-theme=light] .empty-analysis,:root[data-theme=light] .overview-card,:root[data-theme=light] .overview-card.mild,:root[data-theme=light] .overview-card.moderate,:root[data-theme=light] .overview-card.severe{background:var(--ui-surface);border-color:var(--ui-border);box-shadow:0 8px 24px var(--ui-shadow)}:root[data-theme=light] .dashboard-panel h3,:root[data-theme=light] .territory-analysis h3,:root[data-theme=light] .territory-parent,:root[data-theme=light] .territory-child,:root[data-theme=light] .condition-list p,:root[data-theme=light] .overview-card b,:root[data-theme=light] .institutional-sources p{color:var(--ui-heading)}:root[data-theme=light] .bar-track,:root[data-theme=light] .damage-track,:root[data-theme=light] .severity-stack{background:var(--ui-track)}:root[data-theme=light] .evaluation-metric,:root[data-theme=light] .municipality,:root[data-theme=light] .territory-group,:root[data-theme=light] .territory-parent,:root[data-theme=light] .attention-flow>div,:root[data-theme=light] .institutional-assistance-flow>div{background:var(--ui-surface-subtle);border-color:var(--ui-border);color:var(--ui-text)}:root[data-theme=light] .territory-group{border-color:var(--ui-border)}:root[data-theme=light] .territory-child+.territory-child,:root[data-theme=light] .records-table td,:root[data-theme=light] .institutional-sources{border-color:var(--ui-border)}:root[data-theme=light] .territory-child.selected{background:var(--ui-accent-soft)}:root[data-theme=light] .condition-donut:after{background:var(--ui-surface)}:root[data-theme=light] .attention-flow>div:nth-child(2),:root[data-theme=light] .attention-flow>div:nth-child(3),:root[data-theme=light] .institutional-assistance-flow>div:nth-child(2),:root[data-theme=light] .institutional-assistance-flow>div:nth-child(3){background:#e5f3ed;color:var(--ui-text)}:root[data-theme=light] .dashboard-loading{color:var(--ui-text)}.geo-panel,.maplibregl-popup.geo-popup .maplibregl-popup-content{color:var(--ui-text)}.geo-panel ::-webkit-scrollbar-track{background:var(--ui-surface)}.geo-panel ::-webkit-scrollbar-thumb{background:var(--ui-border-strong)}.geo-panel ::-webkit-scrollbar-thumb:hover{background:var(--ui-text-faint)}.maplibregl-popup.geo-popup .maplibregl-popup-close-button{color:var(--ui-text-secondary)}.maplibregl-popup.geo-popup .maplibregl-popup-close-button:hover{color:var(--ui-heading);background:var(--ui-hover)}.maplibregl-popup.geo-popup.maplibregl-popup-anchor-top .maplibregl-popup-tip,.maplibregl-popup.geo-popup.maplibregl-popup-anchor-top-left .maplibregl-popup-tip,.maplibregl-popup.geo-popup.maplibregl-popup-anchor-top-right .maplibregl-popup-tip{border-bottom-color:var(--ui-surface)}.maplibregl-popup.geo-popup.maplibregl-popup-anchor-bottom .maplibregl-popup-tip,.maplibregl-popup.geo-popup.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip,.maplibregl-popup.geo-popup.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{border-top-color:var(--ui-surface)}.maplibregl-popup.geo-popup.maplibregl-popup-anchor-left .maplibregl-popup-tip{border-right-color:var(--ui-surface)}.maplibregl-popup.geo-popup.maplibregl-popup-anchor-right .maplibregl-popup-tip{border-left-color:var(--ui-surface)}.geo-range{background:var(--ui-border-strong)}.geo-range::-webkit-slider-thumb,.geo-range::-moz-range-thumb{background:var(--ui-accent);border-color:var(--ui-surface)}.rf-shell,.dashboard-page{background:var(--ui-page);color:var(--ui-text)}.rf-shell>header,.sidebar,.detail,.rf-login section{background:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-border)}.rf-shell h1,.rf-shell h2,.rf-shell h3,.rf-login h1,.rf-login h2,.detail dd,.record strong{color:var(--ui-heading)}.subtitle,.rf-login small,.empty,.hint,.address,.description,.coordinates,.detail dt,.record span,.record small{color:var(--ui-text-secondary)}.account button,.upload{color:var(--ui-accent)}.rf-shell input,.rf-shell select,.rf-shell textarea,.rf-login input,.rf-login select,.rf-login textarea{background:var(--ui-control);color:var(--ui-text-strong);border-color:var(--ui-border-strong)}.rf-shell input::placeholder,.rf-shell textarea::placeholder,.rf-login input::placeholder,.rf-login textarea::placeholder{color:var(--ui-text-muted)}.secondary{background:var(--ui-control-hover);color:var(--ui-text-strong);border-color:var(--ui-border)}.summary,hr{border-color:var(--ui-border)}.summary-row,.record,.legend{background:var(--ui-surface);color:var(--ui-text-strong);border-color:var(--ui-border)}.record.active{background:var(--ui-accent-soft);border-color:var(--ui-accent)}.record-modal-backdrop,.assistance-modal-backdrop,.evidence-preview-backdrop{background:var(--ui-overlay)}.record-modal,.record-modal-content,.assistance-modal,.evidence-preview-modal{background:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-border-strong)}.record-modal-content h3,.record-modal-data dd,.assistance-form h4,.assistance-inline-form h4,.assistance-detail h4,.assistance-modal-header h3,.evidence-preview-header h3{color:var(--ui-heading)}.record-modal-data dt,.record-modal-gallery small,.gallery-empty,.assistance-intro,.assistance-case small,.assistance-delivery small,.assistance-items small,.assistance-detail-title small,.assistance-evidence-gallery small{color:var(--ui-text-secondary)}.record-modal-close{background:var(--ui-control-hover);color:var(--ui-text-strong);border:1px solid var(--ui-border)}.record-modal-close:hover{background:var(--ui-hover)}.photo-thumbnail,.assistance-form,.assistance-inline-form,.assistance-case,.assistance-detail,.assistance-delivery,.assistance-evidence-thumbnail,.evaluation-static{background:var(--ui-surface-subtle);color:var(--ui-text);border-color:var(--ui-border)}.photo-thumbnail img,.assistance-evidence-thumbnail img,.evidence-preview-modal>img,.evidence-preview-document{background:var(--ui-track)}.photo-thumbnail span,.assistance-case strong,.assistance-items span,.assistance-evidence-thumbnail,.assistance-evidence-gallery>div:first-child b,.evaluation-static b{color:var(--ui-text-strong)}.assistance-modal-header{background:var(--ui-surface-subtle);color:var(--ui-text);border-color:var(--ui-border)}.assistance-empty,.assistance-observations{background:color-mix(in srgb,#f59e0b 9%,var(--ui-surface));color:var(--ui-text)}.assistance-items>div{background:var(--ui-control-hover)}.evaluation-edit{background:var(--ui-control-hover);color:var(--ui-accent);border-color:var(--ui-border-strong)}.evaluation-static span,.evaluation-static small{color:var(--ui-text-secondary)}.photo-lightbox{width:100vw;height:100dvh;padding:clamp(54px,6vh,76px) clamp(64px,7vw,120px);overflow:hidden}.photo-lightbox img{width:auto;height:auto;max-width:100%;max-height:calc(100dvh - clamp(108px,13vh,160px));object-fit:contain}@media (max-width: 650px){.photo-lightbox{padding:58px 14px 74px}.photo-lightbox img{max-height:calc(100dvh - 132px)}}:root[data-theme=light] .record-modal-summary{color:#f4fff8;background:linear-gradient(155deg,#076846,#00965e 58%,#087e82)}:root[data-theme=light] .photo-lightbox{background:#06121bf0}.public-shell{background:var(--ui-page);color:var(--ui-text)}.public-header{background:var(--ui-header);color:var(--ui-text);border-color:var(--ui-accent)}.public-header h1,.public-sidebar h2,.public-legend h3,.public-stat,.public-form h2{color:var(--ui-heading)}.public-sidebar,.public-map-control,.public-map-note,.public-form{background:color-mix(in srgb,var(--ui-surface) 96%,transparent);color:var(--ui-text);border-color:var(--ui-border)}.public-sidebar>p:not(.section-kicker),.public-sidebar small,.public-map-control small,.public-form>p:not(.section-kicker){color:var(--ui-text-secondary)}.public-legend{border-color:var(--ui-border)}.public-map-control button,.public-form input,.public-form select,.public-form textarea,.public-close{background:var(--ui-control);color:var(--ui-text-strong);border-color:var(--ui-border-strong)}.public-map-control button.active,.public-close:hover{background:var(--ui-accent-soft);color:var(--ui-heading)}
