:root{--font-sans:"Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-mono:"JetBrains Mono", Menlo, Consolas, monospace;--bg-app:#f8fafc;--bg-card:#fffffff0;--bg-card-solid:#fff;--bg-subtle:#f1f5f9;--border-subtle:#e2e8f0;--border-strong:#cbd5e1;--text-main:#0f172a;--text-muted:#64748b;--text-light:#94a3b8;--color-active:#2b8a3e;--color-active-bg:#e6f4ea;--color-active-border:#a3d9a5;--color-dried:#c92a2a;--color-dried-bg:#fce8e6;--color-dried-border:#f5c2c7;--color-accent:#2563eb;--color-accent-bg:#eff6ff;--radius-sm:6px;--radius-md:10px;--radius-lg:14px;--shadow-sm:0 1px 2px 0 #0000000d;--shadow-md:0 4px 12px -2px #0f172a14, 0 2px 6px -1px #0f172a0a;--shadow-lg:0 10px 25px -5px #0f172a1f, 0 8px 10px -6px #0f172a0f}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{width:100%;height:100%;font-family:var(--font-sans);color:var(--text-main);background-color:var(--bg-app);-webkit-font-smoothing:antialiased;overflow:hidden}button{cursor:pointer;background:0 0;border:none;font-family:inherit}input,select{font-family:inherit}.tabular-nums{font-variant-numeric:tabular-nums;font-family:var(--font-mono)}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}.map-container{z-index:1;width:100%;height:100%;position:absolute;top:0;left:0}.glass-panel{background:var(--bg-card);-webkit-backdrop-filter:blur(12px);border:1px solid var(--border-subtle);border-radius:var(--radius-md);box-shadow:var(--shadow-md)}.leaflet-container{background-color:#e2e8f0;font-family:var(--font-sans)!important}.leaflet-control-zoom{overflow:hidden;border:1px solid var(--border-subtle)!important;border-radius:var(--radius-sm)!important;box-shadow:var(--shadow-sm)!important}.leaflet-control-zoom a{color:var(--text-main)!important;border-bottom:1px solid var(--border-subtle)!important;background-color:#fff!important}.leaflet-control-zoom a:hover{background-color:var(--bg-subtle)!important}.leaflet-popup-content-wrapper{border:1px solid var(--border-subtle);overflow:hidden;border-radius:var(--radius-md)!important;box-shadow:var(--shadow-md)!important;padding:0!important}.leaflet-popup-content{margin:0!important;line-height:1.4!important}.leaflet-popup-tip{background:#fff!important}.app-container{background-color:#e2e8f0;width:100vw;height:100vh;position:relative;overflow:hidden}.map-viewport{z-index:1;width:100%;height:100%;position:absolute;top:0;left:0}.header-bar{z-index:1000;justify-content:space-between;align-items:center;gap:16px;height:52px;padding:0 16px;display:flex;position:absolute;top:14px;left:14px;right:14px}.header-left{align-items:center;gap:14px;display:flex}.brand-badge{align-items:center;gap:8px;display:flex}.brand-icon{color:#2563eb}.brand-title{letter-spacing:.5px;color:#0f172a;font-size:14px;font-weight:700}.brand-tag{letter-spacing:.6px;color:#475569;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:4px;padding:2px 6px;font-size:10px;font-weight:600}.stats-pill{background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;align-items:center;gap:8px;padding:4px 10px;font-size:12px;display:flex}.stat-item{color:#334155}.stat-label{color:#64748b;font-weight:400}.stat-divider{color:#cbd5e1}.dried-stat strong{color:#c92a2a}.active-stat strong{color:#2b8a3e}.header-center{align-items:center;gap:10px;display:flex}.control-group{color:#475569;background:#fff;border:1px solid #cbd5e1;border-radius:6px;align-items:center;gap:6px;padding:4px 10px;display:flex}.control-icon{color:#64748b}.header-select{color:#0f172a;cursor:pointer;background:0 0;border:none;outline:none;font-size:12px;font-weight:500}.filter-button-group{background:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;gap:2px;padding:2px;display:flex}.filter-btn{color:#475569;border-radius:4px;align-items:center;gap:5px;padding:4px 10px;font-size:12px;font-weight:500;transition:all .15s;display:flex}.filter-btn:hover{color:#0f172a;background:#fff9}.filter-btn.active{color:#0f172a;background:#fff;font-weight:600;box-shadow:0 1px 2px #0000000d}.dot{border-radius:50%;width:7px;height:7px;display:inline-block}.dried-dot{background-color:#c92a2a}.active-dot{background-color:#2b8a3e}.header-right{align-items:center;gap:8px;display:flex}.header-action-btn{color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:6px;align-items:center;gap:6px;padding:6px 12px;font-size:12px;font-weight:500;transition:all .15s;display:flex}.header-action-btn:hover{color:#0f172a;background:#f8fafc;border-color:#94a3b8}.drawer-toggle-btn.drawer-active{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe;font-weight:600}.map-legend{z-index:990;width:250px;padding:14px;position:absolute;bottom:24px;left:20px}.legend-title{letter-spacing:.6px;text-transform:uppercase;color:#475569;border-bottom:1px solid #e2e8f0;margin-bottom:10px;padding-bottom:4px;font-size:11px;font-weight:700}.legend-section{margin-bottom:12px}.legend-subtitle{color:#1e293b;margin-bottom:6px;font-size:11px;font-weight:600}.legend-row{color:#334155;align-items:center;gap:8px;margin-bottom:4px;font-size:12px;display:flex}.legend-symbol{border-radius:50%;flex-shrink:0;width:10px;height:10px}.active-symbol{background-color:#2b8a3e;border:1px solid #14532d}.dried-symbol{background-color:#c92a2a;border:1px solid #7f1d1d}.choropleth-gradient{border:1px solid #cbd5e1;border-radius:4px;grid-template-columns:repeat(4,1fr);margin-bottom:6px;display:grid;overflow:hidden}.choro-step{text-align:center;color:#1e293b;font-size:9px;font-weight:600;font-family:var(--font-mono);padding:3px 2px}.unsurveyed-row{margin-top:6px}.unsurveyed-symbol{background-color:#f1f5f9;border:1px dashed #94a3b8;border-radius:2px;width:14px;height:8px}.legend-footer{color:#94a3b8;font-size:10px;font-family:var(--font-mono);border-top:1px solid #f1f5f9;margin-top:6px;padding-top:6px}.insights-drawer{z-index:1000;flex-direction:column;width:460px;max-width:calc(100vw - 28px);display:flex;position:absolute;top:76px;bottom:14px;right:14px;overflow:hidden}.drawer-header{background:#f8fafce6;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:8px 12px;display:flex}.drawer-nav{gap:4px;display:flex;overflow-x:auto}.tab-btn{color:#64748b;white-space:nowrap;border-radius:6px;align-items:center;gap:5px;padding:6px 10px;font-size:12px;font-weight:500;transition:all .15s;display:flex}.tab-btn:hover{color:#0f172a;background:#f1f5f9}.tab-btn.active{color:#2563eb;background:#eff6ff;font-weight:600}.drawer-close-btn{color:#94a3b8;border-radius:4px;padding:2px 6px;font-size:20px;line-height:1}.drawer-close-btn:hover{color:#0f172a;background:#f1f5f9}.drawer-content{flex:1;padding:16px;overflow-y:auto}.tab-pane{flex-direction:column;gap:16px;display:flex}.tab-intro h4{color:#0f172a;margin-bottom:4px;font-size:14px;font-weight:700}.tab-intro p{color:#64748b;font-size:12px;line-height:1.4}.hero-kpi-row{justify-content:space-between;align-items:center;gap:8px;margin-bottom:16px;display:flex}.hero-kpi-box{text-align:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex:1;padding:10px}.hero-kpi-box.highlight{background:#eff6ff;border-color:#bfdbfe}.hero-kpi-box.badge-box{background:#fef2f2;border-color:#fecaca}.hero-label{color:#64748b;text-transform:uppercase;letter-spacing:.5px;font-size:10px;font-weight:600}.hero-val{color:#0f172a;margin:2px 0;font-size:22px;font-weight:700}.hero-kpi-box.highlight .hero-val{color:#1d4ed8}.hero-kpi-box.badge-box .hero-val{color:#b91c1c}.hero-sub{color:#64748b;font-size:10px}.hero-vs{color:#94a3b8;font-size:11px;font-weight:600}.insight-heading{color:#0f172a;margin-bottom:6px;font-size:14px;font-weight:700}.insight-p{color:#334155;margin-bottom:14px;font-size:13px;line-height:1.5}.insight-grid{flex-direction:column;gap:10px;display:flex}.insight-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:12px}.card-badge{text-transform:uppercase;letter-spacing:.5px;border-radius:4px;margin-bottom:6px;padding:2px 6px;font-size:10px;font-weight:700;display:inline-block}.card-badge.danger{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.card-badge.info{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe}.insight-card h5{color:#0f172a;margin-bottom:4px;font-size:13px;font-weight:600}.insight-card p{color:#475569;font-size:12px;line-height:1.45}.palika-list{flex-direction:column;gap:8px;display:flex}.palika-item{cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px;transition:all .15s}.palika-item:hover{box-shadow:var(--shadow-sm);background:#f8fafc;border-color:#cbd5e1}.palika-item.selected{background:#eff6ff;border-color:#2563eb}.palika-row-top{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}.palika-name{color:#0f172a;margin-right:8px;font-size:13px;font-weight:600}.palika-elev{color:#64748b;font-size:11px}.rate-pill{border-radius:12px;padding:2px 8px;font-size:11px;font-weight:600}.rate-pill.low{color:#065f46;background:#d1fae5}.rate-pill.med{color:#92400e;background:#fef3c7}.rate-pill.high{color:#991b1b;background:#fee2e2}.palika-bar-track{background:#e2e8f0;border-radius:3px;width:100%;height:6px;margin-bottom:6px;overflow:hidden}.palika-bar-fill{border-radius:3px;height:100%}.palika-bar-fill.low{background:#10b981}.palika-bar-fill.med{background:#f59e0b}.palika-bar-fill.high{background:#ef4444}.palika-row-bottom{color:#64748b;justify-content:space-between;font-size:11px;display:flex}.typology-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.typology-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;gap:4px;padding:10px;display:flex}.typology-card-header{justify-content:space-between;align-items:center;display:flex}.typology-tag{color:#475569;background:#f1f5f9;border-radius:4px;padding:1px 5px;font-size:11px;font-weight:700}.typology-risk{text-transform:uppercase;border-radius:4px;padding:1px 5px;font-size:10px;font-weight:600}.typology-risk.high{color:#991b1b;background:#fee2e2}.typology-risk.moderate{color:#92400e;background:#fef3c7}.typology-risk.low,.typology-risk.resilient{color:#065f46;background:#d1fae5}.typology-title{color:#0f172a;margin-top:2px;font-size:12px;font-weight:600}.typology-stats{color:#64748b;justify-content:space-between;font-size:11px;display:flex}.typology-desc{color:#475569;margin-top:2px;font-size:11px;line-height:1.35}.timeline-container{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:12px}.timeline-bars{justify-content:space-between;align-items:flex-end;height:130px;padding-bottom:24px;display:flex;position:relative}.timeline-col{flex-direction:column;flex:1;align-items:center;display:flex;position:relative}.bar-wrapper{flex-direction:column;align-items:center;width:100%;display:flex}.bar-val{color:#64748b;margin-bottom:4px;font-size:10px;font-weight:600}.bar-visual{background:#cbd5e1;border-radius:3px 3px 0 0;width:16px;transition:height .3s}.quake-year .bar-val{color:#b91c1c;font-weight:700}.bar-visual.quake{background:#ef4444}.timeline-year{color:#64748b;font-size:10px;position:absolute;bottom:-20px}.quake-tag{color:#b91c1c;white-space:nowrap;background:#fee2e2;border-radius:3px;padding:1px 3px;font-size:8px;font-weight:700;position:absolute;bottom:-34px}.rules-list{flex-direction:column;gap:8px;display:flex}.rule-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:10px}.rule-header{align-items:center;gap:6px;margin-bottom:4px;font-size:12px;font-weight:600;display:flex}.rule-antecedent{color:#1e293b}.rule-arrow{color:#94a3b8}.rule-consequent.dried{color:#dc2626;background:#fee2e2;border-radius:3px;padding:1px 5px}.rule-consequent.active{color:#16a34a;background:#dcfce7;border-radius:3px;padding:1px 5px}.rule-metrics{color:#64748b;gap:12px;margin-bottom:4px;font-size:11px;display:flex}.rule-desc{color:#475569;font-size:11px;line-height:1.35}.credit-pill{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:6px;align-items:center;gap:5px;padding:3px 8px;font-size:11px;display:flex}.credit-icon{color:#15803d}.header-link-btn{color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:6px;align-items:center;gap:5px;padding:5px 10px;font-size:12px;font-weight:500;text-decoration:none;transition:all .15s;display:flex}.header-link-btn:hover{color:#1d4ed8;background:#f8fafc;border-color:#93c5fd}.header-link-btn.github:hover{color:#0f172a;border-color:#64748b}.ext-icon{color:#94a3b8}.chart-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:12px}.chart-card-header{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.chart-title-group{align-items:center;gap:6px;display:flex}.chart-icon{color:#2563eb}.chart-title-group h5{color:#0f172a;font-size:13px;font-weight:700}.chart-badge{color:#475569;text-transform:uppercase;letter-spacing:.4px;background:#f1f5f9;border-radius:4px;padding:2px 6px;font-size:10px;font-weight:600}.chart-badge.warning{color:#c2410c;background:#fff7ed;border:1px solid #ffedd5}.chart-badge.success{color:#15803d;background:#f0fdf4;border:1px solid #dcfce7}.chart-sub{color:#64748b;margin-bottom:10px;font-size:11px;line-height:1.4}.custom-bar-chart{flex-direction:column;gap:6px;display:flex}.chart-bar-row{grid-template-columns:110px 1fr 60px;align-items:center;gap:8px;font-size:11px;display:grid}.bar-label{color:#334155;white-space:nowrap;font-weight:500}.bar-label.truncate{text-overflow:ellipsis;overflow:hidden}.bar-track-stacked{background:#f1f5f9;border-radius:3px;width:100%;height:12px;display:flex;overflow:hidden}.bar-seg-active{background:#2b8a3e;height:100%}.bar-seg-dried{background:#c92a2a;height:100%}.bar-rate-pill{text-align:right;border-radius:4px;padding:1px 4px;font-size:10px;font-weight:700}.bar-rate-pill.low{color:#065f46;background:#d1fae5}.bar-rate-pill.med{color:#92400e;background:#fef3c7}.bar-rate-pill.high{color:#991b1b;background:#fee2e2}.chart-legend-inline{color:#64748b;border-top:1px solid #f1f5f9;gap:14px;margin-top:8px;padding-top:6px;font-size:10px;display:flex}.legend-chip{vertical-align:middle;border-radius:2px;width:8px;height:8px;margin-right:4px;display:inline-block}.legend-chip.active-chip{background:#2b8a3e}.legend-chip.dried-chip{background:#c92a2a}.bar-track-simple{background:#f1f5f9;border-radius:4px;width:100%;height:8px;overflow:hidden}.bar-simple-fill{border-radius:4px;height:100%}.bar-simple-fill.low{background:#10b981}.bar-simple-fill.med{background:#f59e0b}.bar-simple-fill.high{background:#ef4444}.bar-count-inline{text-align:right;color:#0f172a;font-size:11px}.bar-count-inline small{color:#64748b;font-weight:400}.causes-list{flex-direction:column;gap:8px;display:flex}.cause-item{border-bottom:1px solid #f8fafc;padding:6px 0}.cause-item:last-child{border-bottom:none}.cause-header{color:#1e293b;justify-content:space-between;margin-bottom:4px;font-size:12px;font-weight:600;display:flex}.cause-pct{color:#b91c1c}.cause-bar-track{background:#f1f5f9;border-radius:3px;width:100%;height:6px;margin-bottom:4px;overflow:hidden}.cause-bar-fill{background:#ef4444;border-radius:3px;height:100%}.cause-desc{color:#64748b;font-size:11px}.credits-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:12px;padding:14px}.credits-card.primary{border-left:4px solid #10b981}.credits-card.secondary{border-left:4px solid #2563eb}.credits-header{align-items:flex-start;gap:10px;margin-bottom:8px;display:flex}.credits-icon.icimod{color:#10b981}.credits-icon.noesis{color:#2563eb}.credits-header h4{color:#64748b;text-transform:uppercase;letter-spacing:.5px;font-size:11px;font-weight:700}.credits-header h5{color:#0f172a;font-size:13px;font-weight:700}.credits-body{color:#334155;margin-bottom:10px;font-size:12px;line-height:1.5}.credits-meta{color:#64748b;border-top:1px solid #f1f5f9;flex-direction:column;gap:3px;padding-top:8px;font-size:11px;display:flex}.links-group{flex-direction:column;gap:8px;margin-top:10px;display:flex}.credit-link-btn{color:#1e293b;background:#f8fafc;border:1px solid #cbd5e1;border-radius:6px;justify-content:space-between;align-items:center;padding:8px 12px;font-size:12px;font-weight:600;text-decoration:none;transition:all .15s;display:flex}.credit-link-btn:hover{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd}.credits-footer-note{color:#94a3b8;text-align:center;padding:8px 0;font-size:11px;line-height:1.4}@media (width<=900px){.header-bar{flex-direction:column;align-items:stretch;gap:10px;height:auto;padding:10px}.header-left,.header-center,.header-right{flex-wrap:wrap;justify-content:space-between}.credit-pill{display:none}.insights-drawer{border-radius:14px 14px 0 0;width:100%;max-width:100%;height:60vh;inset:auto 0 0}.map-legend{display:none}}
