.share-button-container{position:relative;display:inline-block;margin-left:15px}.share-button{background:linear-gradient(135deg,#2c5530,#3a7d44);color:#fff;border:none;padding:8px 16px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 4px #0000001a;display:inline-flex;align-items:center;gap:6px}.share-button:hover{background:linear-gradient(135deg,#3a7d44,#4a9d54);transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.share-button:active{transform:translateY(0);box-shadow:0 2px 4px #0000001a}.share-options{position:absolute;top:100%;right:0;background:#fff;border-radius:8px;box-shadow:0 8px 24px #00000026;border:1px solid #e0e0e0;min-width:280px;z-index:1000;margin-top:8px;overflow:hidden}.share-options-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px 12px;border-bottom:1px solid #f0f0f0;background:#f8f9fa}.share-options-header h4{margin:0;font-size:16px;font-weight:600;color:#2c5530}.share-close{background:none;border:none;font-size:20px;color:#666;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background-color .2s ease}.share-close:hover{background-color:#e0e0e0}.share-platforms{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:16px 20px}.share-platform{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:6px;padding:10px 12px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;color:inherit}.share-platform:hover{background:#e0e0e0;transform:translateY(-1px);box-shadow:0 2px 6px #0000001a}.share-platform.facebook:hover{background:#1877f2;color:#fff}.share-platform.twitter:hover{background:#1da1f2;color:#fff}.share-platform.whatsapp:hover{background:#25d366;color:#fff}.share-platform.linkedin:hover{background:#0077b5;color:#fff}.share-platform.telegram:hover{background:#08c;color:#fff}.share-platform.copy:hover{background:#2c5530;color:#fff}.share-preview{padding:12px 20px 16px;background:#f8f9fa;border-top:1px solid #e0e0e0}.share-preview small{color:#666;font-size:12px;display:block;margin-bottom:8px}.share-text-preview{background:#fff;border:1px solid #e0e0e0;border-radius:4px;padding:8px;font-size:12px;line-height:1.4;color:#333;max-height:80px;overflow:hidden;white-space:pre-line}@media(max-width:768px){.share-options{min-width:260px;right:-20px}.share-platforms{grid-template-columns:1fr}.share-platform{padding:12px 16px;font-size:16px}}@media(prefers-color-scheme:dark){.share-options{background:#2d2d2d;border-color:#404040;color:#fff}.share-options-header{background:#333;border-color:#404040}.share-platform{background:#333;border-color:#404040;color:#fff}.share-platform:hover{background:#404040}.share-preview{background:#333;border-color:#404040}.share-text-preview{background:#2d2d2d;border-color:#404040;color:#fff}}.simulator{background:var(--bg-color);border:1px solid var(--border-color);border-radius:var(--radius);overflow:hidden}.simulator-header{padding:1.25rem;border-bottom:1px solid var(--border-color);background:var(--bg-secondary)}.simulator-title-section{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.simulator-title-section>div:first-child{flex:1}.simulator-header h2{margin:0;font-size:1.25rem;color:var(--heading-color)}.simulator-subtitle{margin:.25rem 0 0;font-size:.85rem;color:var(--text-muted)}.simulator-body{min-height:400px}.simulator-display{padding:1rem;position:relative}.loading-overlay{position:absolute;inset:0;background:#ffffffe6;display:flex;align-items:center;justify-content:center;font-size:1rem;color:var(--text-muted);z-index:10}.error-message{padding:1rem;background:#fee2e2;border:1px solid #fecaca;border-radius:var(--radius);color:#dc2626;margin-bottom:1rem}.live-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:1.5rem}.stat-card{padding:1rem;background:var(--bg-secondary);border-radius:var(--radius);display:flex;align-items:center;gap:.75rem}.stat-card.primary{background:linear-gradient(135deg,var(--accent-color) 0%,#1d4ed8 100%);color:#fff}.stat-card.primary .stat-label{color:#fffc}.stat-card.primary .stat-value{color:#fff}.stat-icon{font-size:1.5rem;opacity:.7}.stat-content{display:flex;flex-direction:column}.stat-value{font-size:1.25rem;font-weight:700;color:var(--heading-color)}.stat-label{font-size:.7rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em}.chart-container{background:var(--bg-secondary);border-radius:var(--radius);padding:1rem;margin-bottom:1rem}.chart-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.time-controls{display:flex;gap:.25rem;background:var(--bg-color);border-radius:6px;padding:.25rem}.time-controls button{padding:.4rem .75rem;border:none;background:transparent;font-size:.75rem;font-weight:500;color:var(--text-muted);cursor:pointer;border-radius:4px;transition:all .2s}.time-controls button.active{background:var(--accent-color);color:#fff}.time-controls button:disabled{opacity:.5;cursor:not-allowed}.playback-btn{padding:.4rem .75rem;border:1px solid var(--accent-color);background:transparent;color:var(--accent-color);font-size:.75rem;font-weight:500;border-radius:4px;cursor:pointer;transition:all .2s}.playback-btn:hover{background:var(--accent-color);color:#fff}.chart{width:100%;height:200px}.chart .axis{font-size:.7rem;color:var(--text-muted)}.chart .axis line,.chart .axis path{stroke:var(--border-color)}.playback-info{display:flex;justify-content:center;gap:1rem;padding-top:.75rem;margin-top:.75rem;border-top:1px solid var(--border-color);font-size:.85rem}.playback-time{font-weight:600;color:var(--heading-color)}.playback-weather{color:var(--text-muted);text-transform:capitalize}.comparison-row{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}.comparison-item{padding:.75rem;border-radius:var(--radius);text-align:center}.comparison-item.good{background:#dcfce7;border:1px solid #86efac}.comparison-item.current{background:#dbeafe;border:1px solid #93c5fd}.comparison-item.poor{background:#fee2e2;border:1px solid #fca5a5}.comp-label{display:block;font-size:.7rem;color:var(--text-muted);margin-bottom:.25rem}.comp-value{font-size:1rem;font-weight:700;color:var(--heading-color)}.capacity-banner{display:grid;grid-template-columns:1fr auto 1fr;gap:1rem;margin-bottom:1rem;padding:1rem;background:linear-gradient(135deg,#1e293b,#334155);border-radius:var(--radius);align-items:center}.share-button-wrapper{display:flex;justify-content:center;align-items:center}.capacity-item{text-align:center}.cap-label{display:block;font-size:.65rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.25rem}.cap-value{display:block;font-size:1.5rem;font-weight:700;color:#fff}.cap-note{display:block;font-size:.65rem;color:#64748b;margin-top:.25rem}.monthly-context{margin-top:1rem;padding:1rem;background:var(--bg-secondary);border-radius:var(--radius);border:1px solid var(--border-color)}.monthly-context h4{margin:0 0 .75rem;font-size:.8rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em}.monthly-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem}.monthly-stat{text-align:center;padding:.5rem;background:var(--bg-color);border-radius:4px}.ms-value{display:block;font-size:1rem;font-weight:700;color:var(--heading-color)}.ms-label{display:block;font-size:.65rem;color:var(--text-muted);margin-top:.25rem}.realtime-indicator{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem;font-size:.75rem;color:#22c55e}.realtime-dot{width:8px;height:8px;background:#22c55e;border-radius:50%;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.run-section{margin-top:1rem;text-align:center}.run-btn{padding:.75rem 2rem;background:var(--accent-color);color:#fff;border:none;border-radius:var(--radius);font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s}.run-btn:hover:not(:disabled){background:var(--accent-hover);transform:translateY(-1px)}.run-btn:disabled{opacity:.6;cursor:not-allowed}.no-simulation{text-align:center;padding:3rem;color:var(--text-muted)}.no-simulation p{margin-bottom:1rem}@media(max-width:900px){.live-stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.live-stats,.comparison-row{grid-template-columns:1fr}.chart-header{flex-direction:column;gap:.5rem;align-items:stretch}}.calculator{background:var(--bg-color);border:1px solid var(--border-color);border-radius:var(--radius);padding:1.25rem}.calculator h3{margin:0 0 1rem;font-size:1rem;color:var(--heading-color)}.calculator-inputs{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.25rem}.input-group{display:flex;flex-direction:column;gap:.25rem}.input-group label{font-size:.75rem;color:var(--text-muted);font-weight:500}.input-group input,.input-group select{padding:.5rem;border:1px solid var(--border-color);border-radius:4px;font-size:.9rem;background:var(--bg-color);color:var(--text-color)}.input-group input:focus,.input-group select:focus{outline:none;border-color:var(--accent-color)}.input-hint{font-size:.7rem;color:var(--text-muted)}.calculator-loading{padding:2rem;text-align:center;color:var(--text-muted)}.calculator-results{display:flex;flex-direction:column;gap:1rem}.result-primary{display:grid;grid-template-columns:1fr 1fr;gap:1rem;padding-bottom:1rem;border-bottom:1px solid var(--border-color)}.result-item{display:flex;flex-direction:column;gap:.25rem}.result-label{font-size:.75rem;color:var(--text-muted)}.result-value{font-size:1.25rem;font-weight:700;color:var(--heading-color)}.result-section h4{font-size:.85rem;margin:0 0 .75rem;color:var(--text-muted)}.comparison-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}.comparison-card{padding:.75rem;border-radius:var(--radius);text-align:center}.comparison-card.good{background:linear-gradient(135deg,#dcfce7,#bbf7d0);border:1px solid #86efac}.comparison-card.average{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #fcd34d}.comparison-card.poor{background:linear-gradient(135deg,#fee2e2,#fecaca);border:1px solid #fca5a5}.card-header{margin-bottom:.5rem}.card-label{display:block;font-size:.75rem;font-weight:600;color:var(--heading-color)}.card-sublabel{display:block;font-size:.65rem;color:var(--text-muted)}.card-energy{font-size:1.1rem;font-weight:700;color:var(--heading-color);margin-bottom:.5rem}.card-homes{display:flex;align-items:center;justify-content:center;gap:.25rem;font-size:.7rem;color:var(--text-color)}.homes-icon{font-size:.9rem}.homes-count{font-weight:600}.homes-label{color:var(--text-muted)}.assumptions-toggle{width:100%;padding:.5rem;border:1px solid var(--border-color);border-radius:4px;background:var(--bg-secondary);color:var(--text-color);font-size:.8rem;cursor:pointer;transition:all .2s}.assumptions-toggle:hover{background:var(--bg-color);border-color:var(--accent-color)}.assumptions-panel{padding:1rem;background:var(--bg-secondary);border-radius:var(--radius);font-size:.8rem}.assumptions-panel h4{margin:0 0 .75rem;font-size:.85rem}.assumptions-panel ul{margin:0;padding-left:1.25rem}.assumptions-panel li{margin-bottom:.5rem;color:var(--text-color)}.assumptions-panel li strong{text-transform:capitalize}.assumptions-note{margin:1rem 0 0;padding-top:.75rem;border-top:1px solid var(--border-color);font-style:italic;color:var(--text-muted)}@media(max-width:600px){.calculator-inputs,.comparison-grid,.result-primary{grid-template-columns:1fr}}.analytics{background:linear-gradient(135deg,#0f172af2,#1e293be6);border:1px solid rgba(148,163,184,.1);border-radius:12px;overflow:hidden;box-shadow:0 8px 32px #0000004d}.analytics-header{padding:1.5rem;border-bottom:1px solid rgba(148,163,184,.1);background:linear-gradient(90deg,rgba(59,130,246,.1),transparent)}.analytics-header h2{margin:0 0 .25rem;font-size:1.25rem;font-weight:600;color:#f1f5f9}.analytics-subtitle{margin:0;font-size:.85rem;color:#94a3b8}.analytics-body{padding:1.5rem}.analytics-content{display:flex;flex-direction:column;gap:1.5rem}.performance-rating{text-align:center;padding:1rem;background:#0003;border-radius:8px}.rating-badge{display:inline-block;padding:.5rem 1rem;border-radius:6px;font-size:.9rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#fff;margin-bottom:.75rem}.rating-summary{margin:0;font-size:.95rem;color:#e2e8f0;line-height:1.5}.analytics-controls{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1.5rem;padding:1rem;background:#0003;border-radius:8px}.controls-section{display:flex;flex-direction:column;gap:.75rem}.controls-section h4{margin:0;font-size:.9rem;font-weight:600;color:#f1f5f9;text-transform:uppercase;letter-spacing:.05em}.preset-buttons{display:flex;gap:.5rem;flex-wrap:wrap}.preset-btn{padding:.5rem .75rem;background:#3b82f61a;border:1px solid rgba(59,130,246,.3);border-radius:6px;color:#60a5fa;font-size:.85rem;cursor:pointer;transition:all .2s ease}.preset-btn:hover{background:#3b82f633;border-color:#3b82f680}.preset-btn.active{background:#3b82f64d;border-color:#3b82f6;color:#e2e8f0}.threshold-control{display:flex;flex-direction:column;gap:.5rem}.threshold-slider-container{display:flex;align-items:center;gap:.75rem}.threshold-slider{flex:1;height:6px;background:#0000004d;border-radius:3px;outline:none;-webkit-appearance:none}.threshold-slider::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;background:#3b82f6;border-radius:50%;cursor:pointer;box-shadow:0 0 0 3px #3b82f64d}.threshold-marks{display:flex;justify-content:space-between;width:100%;font-size:.75rem;color:#64748b;margin-top:.25rem}.threshold-value{font-size:1.25rem;font-weight:700;color:#3b82f6;text-align:center}.data-status{display:flex;flex-direction:column;gap:.5rem}.status-item{display:flex;justify-content:space-between;align-items:center}.status-label{font-size:.85rem;color:#94a3b8}.status-value{font-size:.9rem;font-weight:600;color:#f1f5f9}.refresh-btn{padding:.5rem 1rem;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:6px;color:#fff;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s ease}.refresh-btn:hover:not(:disabled){background:linear-gradient(135deg,#60a5fa,#3b82f6);transform:translateY(-1px)}.refresh-btn:disabled{opacity:.5;cursor:not-allowed}@media(max-width:1024px){.analytics-controls{grid-template-columns:1fr;gap:1rem}}.loading-state,.error-state{text-align:center;padding:3rem 1rem;color:#94a3b8;background:#0003;border-radius:8px}.loading-state{display:flex;flex-direction:column;align-items:center;gap:1rem}.loading-spinner{width:40px;height:40px;border:3px solid rgba(59,130,246,.2);border-top:3px solid #3b82f6;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error-state{color:#f87171}.error-state p{margin-bottom:1rem}.error-icon{font-size:2rem;margin-bottom:.5rem}.backfill-progress{background:#3b82f61a;border:1px solid rgba(59,130,246,.2);border-radius:8px;padding:1rem;margin-bottom:1.5rem}.progress-info{display:flex;justify-content:space-between;margin-bottom:.5rem;font-size:.85rem;color:#94a3b8}.progress-bar{height:6px;background:#0000004d;border-radius:3px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#60a5fa);border-radius:3px;transition:width .3s ease}.insights-section{margin-bottom:1.5rem;padding:1rem;background:#0003;border-radius:8px}.performance-badge{display:inline-block;padding:.35rem .75rem;border-radius:4px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#fff;margin-bottom:.75rem}.summary-text{margin:0 0 1rem;font-size:.95rem;color:#e2e8f0;line-height:1.5}.findings{display:flex;flex-direction:column;gap:.5rem}.finding-item{padding:.5rem .75rem;background:#0003;border-radius:6px;font-size:.85rem;color:#cbd5e1;border-left:3px solid #64748b}.callout-box{margin-top:1rem;padding:1rem;border-radius:8px;background:#ef44441a;border:1px solid rgba(239,68,68,.3)}.callout-box.warning{background:#f59e0b1a;border-color:#f59e0b4d}.callout-box strong{display:block;color:#fbbf24;margin-bottom:.5rem;font-size:.95rem}.callout-box p{margin:0;color:#e2e8f0;font-size:.9rem;line-height:1.4}.period-selector{display:flex;gap:.5rem;margin-bottom:1rem}.period-selector button{padding:.5rem 1rem;background:#0000004d;border:1px solid rgba(148,163,184,.2);border-radius:6px;color:#94a3b8;font-size:.85rem;cursor:pointer;transition:all .2s ease}.period-selector button:hover{background:#3b82f61a;border-color:#3b82f64d;color:#e2e8f0}.period-selector button.active{background:#3b82f633;border-color:#3b82f6;color:#60a5fa}.summary-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1.5rem}@media(max-width:640px){.summary-cards{grid-template-columns:repeat(2,1fr)}}.summary-card{background:#0000004d;border:1px solid rgba(148,163,184,.1);border-radius:8px;padding:1rem;text-align:center}.summary-card.highlight{background:#3b82f626;border-color:#3b82f64d}.summary-card.deficit{background:#ef44441a;border-color:#ef444433}.card-value{display:block;font-size:1.5rem;font-weight:700;color:#f1f5f9;margin-bottom:.25rem}.summary-card.highlight .card-value{color:#60a5fa}.summary-card.deficit .card-value{color:#f87171}.card-label{font-size:.75rem;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.chart-section{margin-bottom:1.5rem}.chart-section h3{margin:0 0 .25rem;font-size:1rem;color:#f1f5f9}.chart-subtitle{margin:0 0 1rem;font-size:.8rem;color:#64748b}.analytics-chart{background:#0003;border-radius:8px;padding:1rem;min-height:250px}.analytics-chart svg{overflow:visible}.analytics-chart .axis line,.analytics-chart .axis path{stroke:#475569}.analytics-chart .axis text{fill:#94a3b8;font-size:10px}.threshold-section{margin-bottom:1.5rem}.threshold-section h3{margin:0 0 1rem;font-size:1rem;color:#f1f5f9}.threshold-card{background:#f59e0b1a;border:1px solid rgba(245,158,11,.2);border-radius:8px;padding:1rem}.threshold-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;font-size:.85rem;color:#e2e8f0}.threshold-icon{font-size:1rem}.threshold-percent{font-size:.85rem;color:#fbbf24;font-weight:600}.actions-section{display:flex;justify-content:space-between;align-items:center;padding-top:1rem;border-top:1px solid rgba(148,163,184,.1)}.rebuild-btn{padding:.6rem 1.25rem;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:6px;color:#fff;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s ease}.rebuild-btn:hover:not(:disabled){background:linear-gradient(135deg,#60a5fa,#3b82f6);transform:translateY(-1px)}.rebuild-btn:disabled{opacity:.5;cursor:not-allowed}.rebuild-btn.secondary{background:#0000004d;border:1px solid rgba(148,163,184,.2)}.rebuild-btn.secondary:hover:not(:disabled){background:#3b82f633;border-color:#3b82f666}.data-info{font-size:.75rem;color:#64748b}.analytics-overview{display:flex;flex-direction:column;gap:1.5rem}.period-selector{display:flex;flex-direction:column;gap:.75rem;padding:1rem;background:#0003;border-radius:8px}.period-selector h3{margin:0;font-size:1rem;font-weight:600;color:#f1f5f9}.period-buttons{display:flex;gap:.5rem;flex-wrap:wrap}.period-btn{padding:.5rem 1rem;background:#0000004d;border:1px solid rgba(148,163,184,.2);border-radius:6px;color:#94a3b8;font-size:.85rem;cursor:pointer;transition:all .2s ease}.period-btn:hover{background:#3b82f61a;border-color:#3b82f64d;color:#e2e8f0}.period-btn.active{background:#3b82f633;border-color:#3b82f680;color:#60a5fa}.kpi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.kpi-card{background:#0000004d;border:1px solid rgba(148,163,184,.1);border-radius:8px;padding:1rem;text-align:center;transition:all .2s ease}.kpi-card:hover{border-color:#3b82f64d;box-shadow:0 4px 12px #3b82f61a}.kpi-card.primary{background:#3b82f626;border-color:#3b82f64d}.kpi-card.primary .kpi-value{color:#60a5fa}.kpi-value{display:block;font-size:1.75rem;font-weight:700;color:#f1f5f9;margin-bottom:.25rem}.kpi-label{font-size:.8rem;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.kpi-subtitle{font-size:.75rem;color:#94a3b8;margin-top:.25rem}@media(max-width:768px){.kpi-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.kpi-grid{grid-template-columns:1fr}}.insights-section{padding:1rem;background:#0003;border-radius:8px}.insights-section h3{margin:0 0 1rem;font-size:1rem;color:#f1f5f9}.insights-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.insight-card{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem;background:#0000004d;border-radius:6px;border-left:3px solid #64748b}.insight-card .insight-icon{font-size:1.25rem;margin-top:.1rem}.insight-content{flex:1}.insight-value{display:block;font-size:1.25rem;font-weight:700;color:#f1f5f9;margin-bottom:.25rem}.insight-label{font-size:.8rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.25rem}.insight-desc{font-size:.8rem;color:#cbd5e1;line-height:1.4}@media(max-width:640px){.insights-grid{grid-template-columns:1fr}}.threshold-analysis{padding:1rem;background:#0003;border-radius:8px}.threshold-analysis h3{margin:0 0 1rem;font-size:1rem;color:#f1f5f9}.threshold-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.threshold-card{padding:1rem;border-radius:8px;background:#f59e0b1a;border:1px solid rgba(245,158,11,.2)}.threshold-card.severe{background:#ef44441a;border-color:#ef444433}.threshold-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;font-size:.9rem;color:#e2e8f0;font-weight:500}.threshold-dot{width:8px;height:8px;border-radius:50%}.threshold-dot.safe{background:#22c55e}.threshold-dot.danger{background:#ef4444}.threshold-stats{display:flex;align-items:baseline;gap:.25rem;margin-bottom:.25rem}.threshold-value{font-size:1.75rem;font-weight:700;color:#f1f5f9}.threshold-total{font-size:.9rem;color:#64748b}.threshold-percent{font-size:.9rem;font-weight:600;color:#fbbf24}.threshold-card.severe .threshold-percent{color:#f87171}@media(max-width:480px){.threshold-cards{grid-template-columns:1fr}}.chart-section{padding:1rem;background:#0003;border-radius:8px}.chart-section h3{margin:0 0 .25rem;font-size:1.1rem;color:#f1f5f9}.chart-subtitle{margin:0 0 1rem;font-size:.85rem;color:#64748b}.analytics-chart-container{background:#0003;border-radius:8px;padding:1rem;min-height:320px}.analytics-chart-svg{width:100%;height:100%}.findings-section{padding:1rem;background:#0003;border-radius:8px}.findings-section h3{margin:0 0 1rem;font-size:1rem;color:#f1f5f9}.findings-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}.finding-card{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem;background:#0000004d;border-radius:6px;border-left:3px solid #64748b}.finding-icon{font-size:1.25rem;margin-top:.1rem}.finding-text{font-size:.85rem;color:#cbd5e1;line-height:1.4}@media(max-width:640px){.findings-grid{grid-template-columns:1fr}}.recommendation-section{padding:1rem;background:#0003;border-radius:8px}.recommendation-section h3{margin:0 0 1rem;font-size:1rem;color:#f1f5f9}.recommendation-card{display:flex;align-items:flex-start;gap:.75rem;padding:1rem;background:#0000004d;border-radius:6px;border-left:3px solid #3b82f6}.recommendation-card.critical{background:#ef44441a;border-left-color:#ef4444}.recommendation-card.critical .recommendation-text{color:#fca5a5}.recommendation-icon{font-size:1.25rem;margin-top:.1rem}.recommendation-text{font-size:.9rem;color:#e2e8f0;line-height:1.5}.recommendation-text strong{color:#f87171}.data-footer{padding:1rem;background:#0003;border-radius:8px;display:flex;justify-content:space-between;align-items:center;font-size:.8rem;color:#64748b}.data-range,.data-count,.data-source{margin:0}@media(max-width:640px){.data-footer{flex-direction:column;gap:.5rem;align-items:stretch;text-align:center}}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.map-container{position:relative;border:1px solid var(--border-color);border-radius:var(--radius);overflow:hidden;background:var(--bg-secondary)}.map-container.gritty{--map-bg: #1a1a2e}.leaflet-map{width:100%;height:400px;z-index:1}.map-controls{position:absolute;top:10px;left:10px;right:10px;z-index:1000;display:flex;justify-content:space-between;gap:.5rem;pointer-events:none}.map-controls>*{pointer-events:auto}.mode-toggle{display:flex;background:var(--bg-color);border-radius:6px;overflow:hidden;box-shadow:0 2px 8px #00000026}.mode-toggle button{padding:.4rem .75rem;border:none;background:transparent;font-size:.75rem;font-weight:500;color:var(--text-muted);cursor:pointer;transition:all .2s}.mode-toggle button.active{background:var(--accent-color);color:#fff}.mode-toggle button:hover:not(.active){background:var(--bg-secondary);color:var(--heading-color)}.kml-toggle{display:flex;background:var(--bg-color);border-radius:6px;overflow:hidden;box-shadow:0 2px 8px #00000026}.kml-toggle button{padding:.4rem .75rem;border:none;background:transparent;font-size:.75rem;font-weight:500;color:var(--text-muted);cursor:pointer;transition:all .2s}.kml-toggle button.active{background:#2563eb;color:#fff}.kml-toggle button:hover:not(.active){background:var(--bg-secondary);color:var(--heading-color)}.location-presets select{padding:.4rem .75rem;border:none;border-radius:6px;background:var(--bg-color);font-size:.75rem;color:var(--text-color);box-shadow:0 2px 8px #00000026;cursor:pointer}.location-presets select:focus{outline:none}.map-legend{position:absolute;bottom:10px;left:10px;z-index:1000;background:var(--bg-color);padding:.5rem .75rem;border-radius:6px;box-shadow:0 2px 8px #00000026;font-size:.75rem}.legend-item{display:flex;align-items:center;gap:.5rem}.legend-color{width:16px;height:16px;border-radius:3px;border:1px solid rgba(0,0,0,.2)}.legend-label{color:var(--text-color)}.legend-hint{margin-top:.25rem;font-size:.65rem;color:var(--text-muted)}.leaflet-control-attribution{font-size:10px!important;background:#fffc!important}.gritty .leaflet-control-attribution{background:#1a1a2ee6!important;color:#888!important}.gritty .leaflet-control-attribution a{color:#aaa!important}@keyframes pulse{0%,to{opacity:.6}50%{opacity:.8}}.leaflet-interactive{transition:fill-opacity .5s ease,stroke-width .2s ease}@media(max-width:768px){.leaflet-map{height:300px}.map-controls{flex-direction:column;align-items:flex-end}.map-stats{top:auto;bottom:50px}}.weather-panel{background:var(--bg-color);border:1px solid var(--border-color);border-radius:var(--radius);padding:1rem}.weather-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.weather-header h3{margin:0;font-size:.9rem;color:var(--heading-color)}.weather-cached{font-size:.7rem;padding:.15rem .4rem;background:var(--bg-secondary);border-radius:4px;color:var(--text-muted)}.weather-current{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid var(--border-color)}.weather-icon{font-size:2rem}.weather-temp{font-size:1.75rem;font-weight:700;color:var(--heading-color)}.weather-desc{font-size:.85rem;color:var(--text-muted);text-transform:capitalize}.weather-details{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.weather-detail{display:grid;grid-template-columns:1fr auto;gap:.5rem;font-size:.8rem}.detail-label{color:var(--text-muted)}.detail-value{font-weight:600;color:var(--heading-color)}.detail-bar{grid-column:1 / -1;height:4px;background:var(--bg-secondary);border-radius:2px;overflow:hidden}.detail-bar-fill{height:100%;border-radius:2px;transition:width .3s ease}.detail-bar-fill.cloud{background:linear-gradient(90deg,var(--accent-color),#94a3b8)}.weather-forecast h4{font-size:.8rem;margin:0 0 .5rem;color:var(--text-muted)}.forecast-list{display:flex;flex-direction:column;gap:.25rem}.forecast-item{display:grid;grid-template-columns:3rem 1.5rem 2rem 2.5rem;gap:.5rem;align-items:center;font-size:.75rem;padding:.25rem 0}.forecast-time{color:var(--text-muted)}.forecast-icon{font-size:1rem}.forecast-temp{font-weight:600;color:var(--heading-color)}.forecast-cloud{color:var(--text-muted);text-align:right}.sun-times{margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--border-color);display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.sun-time{display:flex;align-items:center;gap:.35rem;font-size:.8rem}.sun-icon{font-size:1rem}.sun-label{color:var(--text-muted)}.sun-value{font-weight:600;color:var(--heading-color)}.daylight-hours{grid-column:1 / -1;text-align:center;font-size:.75rem;color:var(--text-muted);padding-top:.25rem}.weather-updated{margin-top:.75rem;padding-top:.5rem;border-top:1px solid var(--border-color);font-size:.7rem;color:var(--text-muted);text-align:right}.weather-loading,.weather-error{padding:1rem;text-align:center;color:var(--text-muted);font-size:.85rem}.weather-error{color:#ef4444}.audio-controller{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:var(--bg-color);border:1px solid var(--border-color);border-radius:var(--radius)}.audio-mute-btn{width:32px;height:32px;padding:.4rem;border:none;background:var(--bg-secondary);border-radius:6px;cursor:pointer;color:var(--heading-color);transition:all .2s;display:flex;align-items:center;justify-content:center}.audio-mute-btn:hover{background:var(--accent-color);color:#fff}.audio-mute-btn.muted{color:var(--text-muted)}.audio-mute-btn svg{width:18px;height:18px}.audio-volume{width:60px}.volume-slider{width:100%;height:4px;-webkit-appearance:none;appearance:none;background:var(--bg-secondary);border-radius:2px;outline:none;cursor:pointer}.volume-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:12px;height:12px;background:var(--accent-color);border-radius:50%;cursor:pointer;transition:transform .1s}.volume-slider::-webkit-slider-thumb:hover{transform:scale(1.2)}.volume-slider::-moz-range-thumb{width:12px;height:12px;background:var(--accent-color);border:none;border-radius:50%;cursor:pointer}.audio-label{font-size:.7rem;color:var(--text-muted);white-space:nowrap}.modal-overlay{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-content{background:var(--bg-color, #ffffff);border-radius:12px;max-width:700px;width:100%;max-height:85vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d;animation:modalSlide .3s ease-out}@keyframes modalSlide{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:1px solid var(--border-color, #e2e8f0);background:linear-gradient(135deg,#1e40af,#3b82f6);border-radius:12px 12px 0 0}.modal-header h2{margin:0;font-size:1.25rem;color:#fff;display:flex;align-items:center;gap:.5rem}.modal-close{background:#fff3;border:none;color:#fff;font-size:1.5rem;cursor:pointer;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:background .2s}.modal-close:hover{background:#ffffff4d}.modal-tabs{display:flex;gap:0;border-bottom:1px solid var(--border-color, #e2e8f0);background:var(--bg-secondary, #f8fafc)}.modal-tabs button{flex:1;padding:.875rem 1rem;background:transparent;border:none;color:var(--text-muted, #64748b);font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s;border-bottom:2px solid transparent}.modal-tabs button:hover{color:var(--accent-color, #2563eb);background:#2563eb0d}.modal-tabs button.active{color:var(--accent-color, #2563eb);border-bottom-color:var(--accent-color, #2563eb);background:#fff}.modal-body{flex:1;overflow-y:auto;padding:1.5rem}.loading{text-align:center;padding:2rem;color:var(--text-muted, #64748b)}.tab-content{animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.methodology-intro{margin-bottom:1.5rem}.methodology-intro .version{font-size:.8rem;color:var(--accent-color, #2563eb);font-weight:600;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem}.methodology-intro .description{font-size:1rem;color:var(--text-color, #334155);line-height:1.6}.key-points{margin-bottom:1.5rem}.key-points h3,.caveats-section h3,.parameter-section h3,.sources-section h3,.formula-section h3,.contact-section h3{font-size:1rem;color:var(--heading-color, #1e293b);margin:0 0 1rem;display:flex;align-items:center;gap:.5rem}.comparison-table{width:100%;border-collapse:collapse;font-size:.85rem}.comparison-table th,.comparison-table td{padding:.75rem;text-align:left;border-bottom:1px solid var(--border-color, #e2e8f0)}.comparison-table th{background:var(--bg-secondary, #f8fafc);font-weight:600;color:var(--text-muted, #64748b);font-size:.75rem;text-transform:uppercase;letter-spacing:.05em}.comparison-table td:nth-child(2){color:var(--text-muted, #64748b);text-decoration:line-through}.comparison-table td:nth-child(3){color:#059669}.caveats-section ul{margin:0;padding-left:1.25rem}.caveats-section li{margin-bottom:.5rem;color:var(--text-color, #334155);font-size:.9rem;line-height:1.5}.parameter-section{margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border-color, #e2e8f0)}.parameter-section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.param-detail{background:var(--bg-secondary, #f8fafc);padding:1rem;border-radius:8px}.param-detail .param-value{display:inline-block;font-size:1.5rem;font-weight:700;color:var(--accent-color, #2563eb);margin-bottom:.5rem}.param-detail p{margin:.5rem 0;font-size:.9rem;color:var(--text-color, #334155)}.param-detail .source{font-size:.8rem;color:var(--text-muted, #64748b);font-style:italic}.param-detail .note{font-size:.85rem;color:#d97706;background:#fef3c7;padding:.5rem .75rem;border-radius:4px;margin-top:.75rem}.param-detail ul{margin:0;padding-left:1.25rem}.param-detail li{margin-bottom:.35rem;font-size:.9rem}.data-table{width:100%;border-collapse:collapse;font-size:.85rem}.data-table th,.data-table td{padding:.5rem .75rem;text-align:left;border-bottom:1px solid var(--border-color, #e2e8f0)}.data-table th{font-weight:600;color:var(--text-muted, #64748b)}.data-table .total-row{background:#2563eb1a}.data-table .total-row td{color:var(--accent-color, #2563eb)}.source-list{margin:0;padding-left:1.25rem}.source-list li{margin-bottom:.75rem;font-size:.9rem;color:var(--text-color, #334155)}.formula-section{margin:1.5rem 0}.formula-box{background:#1e293b;color:#22d3ee;padding:1rem 1.5rem;border-radius:8px;font-family:Monaco,Menlo,monospace;font-size:.9rem;overflow-x:auto}.formula-breakdown{margin-top:1rem;padding:1rem;background:var(--bg-secondary, #f8fafc);border-radius:8px}.formula-breakdown p{margin:0 0 .5rem;font-weight:600}.formula-breakdown ul{margin:0;padding-left:1.25rem}.formula-breakdown li{margin-bottom:.35rem;font-size:.85rem;color:var(--text-color, #334155)}.formula-breakdown em{color:var(--accent-color, #2563eb);font-style:normal;font-weight:500}.contact-section{margin-top:1.5rem;padding:1rem;background:linear-gradient(135deg,#ecfdf5,#f0fdf4);border-radius:8px;border-left:4px solid #10b981}.contact-section p{margin:0 0 .75rem;font-size:.9rem;color:var(--text-color, #334155);line-height:1.6}.contact-section p:last-child{margin-bottom:0}.modal-footer{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-top:1px solid var(--border-color, #e2e8f0);background:var(--bg-secondary, #f8fafc);border-radius:0 0 12px 12px}.methodology-note{font-size:.8rem;color:var(--text-muted, #64748b)}.close-btn{padding:.5rem 1.5rem;background:var(--accent-color, #2563eb);color:#fff;border:none;border-radius:6px;font-size:.9rem;font-weight:500;cursor:pointer;transition:background .2s}.close-btn:hover{background:var(--accent-hover, #1d4ed8)}@media(max-width:600px){.modal-content{max-height:95vh;border-radius:12px 12px 0 0;margin-top:auto}.modal-tabs button{padding:.75rem .5rem;font-size:.8rem}.modal-body{padding:1rem}.comparison-table th,.comparison-table td{padding:.5rem;font-size:.8rem}}:root{--primary-color: #0f172a;--accent-color: #dc2626;--accent-hover: #b91c1c;--text-color: #334155;--text-muted: #64748b;--heading-color: #1e293b;--bg-color: #ffffff;--bg-secondary: #f8fafc;--border-color: #e2e8f0;--white: #ffffff;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--radius: .5rem}*,*:before,*:after{box-sizing:border-box}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background-color:var(--bg-secondary);color:var(--text-color);margin:0;padding:0;line-height:1.6;-webkit-font-smoothing:antialiased}.app{min-height:100vh;display:flex;flex-direction:column;width:100%;max-width:100%;margin:0;padding:0}.app-header{background:var(--white);border-bottom:1px solid var(--border-color);box-shadow:var(--shadow-sm);position:sticky;top:0;z-index:100;width:100%;margin:0;padding:0}.header-content{max-width:1400px;margin:0 auto;padding:.75rem 1.5rem;display:flex;justify-content:space-between;align-items:center;width:100%;box-sizing:border-box}.header-left{display:flex;align-items:baseline;gap:1rem;flex:0 1 auto;min-width:0}.header-logo{display:flex;align-items:center;text-decoration:none}.header-logo-img{height:40px;width:auto;object-fit:contain}.header-subtitle{font-size:1rem;font-weight:600;color:var(--heading-color)}.header-right{display:flex;align-items:center;gap:.75rem;flex-wrap:nowrap;position:relative;z-index:1;margin-left:auto;flex:0 0 auto;min-width:0}.back-link{padding:.5rem 1rem;background:var(--bg-secondary);border-radius:var(--radius);font-size:.85rem;font-weight:500;color:var(--text-color);text-decoration:none;transition:all .2s}.back-link:hover{background:var(--accent-color);color:var(--white);text-decoration:none}.project-selector{padding:.5rem 1rem;border:1px solid var(--border-color);border-radius:var(--radius);background:var(--white);font-size:.85rem;color:var(--text-color);cursor:pointer}.project-selector:focus{outline:none;border-color:var(--accent-color)}.header-project-selector{padding:.5rem .75rem;border:1px solid var(--border-color);border-radius:var(--radius);background:var(--white);font-size:.8rem;color:var(--text-color);cursor:pointer;min-width:160px;max-width:200px;position:relative;z-index:2;flex-shrink:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-project-selector:focus{outline:none;border-color:var(--accent-color);box-shadow:0 0 0 3px #2563eb1a}.about-btn{width:32px;height:32px;border-radius:50%;border:2px solid var(--accent-color);background:transparent;color:var(--accent-color);font-size:1rem;font-weight:700;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;position:relative;z-index:3;flex-shrink:0;margin-left:0}.about-btn:hover{background:var(--accent-color);color:var(--white)}.about-btn:focus{outline:none;box-shadow:0 0 0 3px #2563eb4d}.project-banner{background:linear-gradient(135deg,var(--accent-color) 0%,#b91c1c 100%);color:#fff;padding:.75rem 1.5rem;margin-bottom:1rem;border-radius:var(--radius);max-width:1400px;margin-left:auto;margin-right:auto}.project-info{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem}.project-location{font-weight:600;font-size:1rem}.project-details{font-size:.8rem;opacity:.9}.app-main{flex:1;padding:1.5rem}.main-grid{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:350px 1fr;gap:1.5rem}.left-column{display:flex;flex-direction:column;gap:1rem}.right-column{display:flex;flex-direction:column}.tab-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding:.5rem;background:var(--bg-secondary);border-radius:var(--radius);border:1px solid var(--border-color)}.tab-header-left{display:flex;align-items:center;gap:.5rem}.project-site-label{font-size:.85rem;font-weight:500;color:var(--text-color)}.project-site-selector{padding:.25rem .5rem;border:1px solid var(--border-color);border-radius:var(--radius);background:var(--white);font-size:.8rem;color:var(--text-color);cursor:pointer;min-width:200px}.project-site-selector:focus{outline:none;border-color:var(--accent-color)}.tab-header-right{display:flex;gap:.5rem}.tab-btn{padding:.75rem 1.5rem;border:1px solid var(--border-color);background:var(--white);border-radius:var(--radius);font-size:.9rem;font-weight:600;color:var(--text-color);cursor:pointer;transition:all .2s}.tab-btn:hover{border-color:var(--accent-color);color:var(--accent-color)}.tab-btn.active{background:var(--accent-color);border-color:var(--accent-color);color:var(--white)}.tab-btn.analytics-tab{background:linear-gradient(135deg,#dc26261a,#b91c1c1a);border-color:#dc26264d}.tab-btn.analytics-tab:hover{background:linear-gradient(135deg,#dc262633,#b91c1c33);border-color:#dc262680}.tab-btn.analytics-tab.active{background:linear-gradient(135deg,#dc2626,#b91c1c);border-color:#dc2626;color:#fff}.tab-content{flex:1}.app-footer{background:var(--primary-color);color:#e2e8f0;margin-top:auto}.footer-content{max-width:1400px;margin:0 auto;padding:1.5rem;text-align:center}.footer-content p{margin:0 0 .75rem;font-size:.85rem}.footer-note{font-size:.75rem;color:#94a3b8}.methodology-link{background:none;border:none;color:#60a5fa;font-size:.75rem;cursor:pointer;text-decoration:underline;padding:0;margin-left:.25rem}.methodology-link:hover{color:#93c5fd}.footer-links{display:flex;justify-content:center;gap:.5rem}.footer-links a{color:#cbd5e1;text-decoration:none;font-size:.8rem}.footer-links a:hover{color:var(--white)}.separator{color:#64748b}@media(max-width:1100px){.main-grid{grid-template-columns:1fr}.left-column{order:2}.right-column{order:1}}@media(max-width:768px){.header-content{flex-direction:column;gap:.75rem;align-items:flex-start}.header-left{flex-direction:column;gap:.25rem}.header-right{width:100%;justify-content:flex-start;flex-wrap:wrap;gap:.5rem}.header-project-selector{min-width:140px;max-width:180px;font-size:.75rem;padding:.4rem .6rem}.about-btn{width:28px;height:28px;font-size:.9rem}.app-main{padding:1rem}.tab-header{width:100%}.tab-btn{flex:1;text-align:center;padding:.6rem 1rem}}.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}
