:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#0f1a12;--surface:#16261a;--surface-alt:#1e3324;--text:#eaf3ec;--muted:#9fb3a6;--accent:#4caf7d;--border:#2a3e30;font-family:Segoe UI,system-ui,-apple-system,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--text)}.app{flex-direction:column;height:100vh;display:flex;overflow:hidden}.app-header{border-bottom:1px solid var(--border);flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:.75rem 1.5rem;padding:.9rem 1.5rem;display:flex}.app-header-title h1{margin:0;font-size:1.3rem}.tagline{color:var(--muted);margin:.15rem 0 0;font-size:.85rem}.tabs{gap:.5rem;display:flex}.tabs button{background:var(--surface);border:1px solid var(--border);color:var(--text);cursor:pointer;white-space:nowrap;border-radius:999px;padding:.55rem 1.1rem;font-size:.9rem}.tabs button.active{background:var(--accent);color:#06170c;border-color:var(--accent);font-weight:600}.tabs button.logout-btn{color:#f3b8b8;border-color:#7a2e2e;margin-left:.25rem}.login-page{background:var(--bg,#0c1a12);justify-content:center;align-items:center;width:100%;height:100vh;padding:1.5rem;display:flex}.login-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;flex-direction:column;gap:1rem;width:100%;max-width:380px;padding:2rem;display:flex}.login-card h1{margin:0;font-size:1.4rem}.login-subtitle{color:var(--muted);margin:0;font-size:.9rem}.login-card label{color:var(--muted);flex-direction:column;gap:.35rem;font-size:.85rem;display:flex}.login-card input{border:1px solid var(--border);color:var(--text);background:#0f2318;border-radius:8px;padding:.6rem .7rem;font-size:.95rem}.login-card button{background:var(--accent);color:#06170c;cursor:pointer;border:none;border-radius:8px;padding:.7rem;font-size:.95rem;font-weight:600}.login-card button:disabled{opacity:.6;cursor:not-allowed}.login-hint{color:var(--muted);margin:0;font-size:.78rem;line-height:1.4}.dashboard{flex:1;grid-template-columns:minmax(280px,340px) 1fr;min-height:0;display:grid;overflow:hidden}.dashboard-sidebar{border-right:1px solid var(--border);flex-direction:column;gap:1rem;padding:1.25rem;display:flex;overflow-y:auto}.dashboard-main{padding:1.25rem 1.75rem;overflow-y:auto}.sidebar-hint{line-height:1.4}.empty-state{height:100%;min-height:200px;color:var(--muted);text-align:center;justify-content:center;align-items:center;padding:2rem;font-size:1.05rem;display:flex}.app-footer{color:var(--muted);text-align:center;border-top:1px solid var(--border);flex-shrink:0;padding:.6rem 1rem;font-size:.78rem}.app-footer p{margin:0}.card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:1.1rem 1.25rem}.forecast-form,.observation-form{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:1rem;padding:1.1rem 1.25rem;display:flex}.field-row{flex-wrap:wrap;gap:1rem;display:flex}.field-row .field{flex:1;min-width:140px}.field{flex-direction:column;gap:.35rem;display:flex}.field label{color:var(--muted);font-size:.85rem}.field input,.field select,.field textarea{background:var(--surface-alt);border:1px solid var(--border);color:var(--text);border-radius:8px;width:100%;padding:.55rem .7rem;font-size:.95rem}button[type=submit]{background:var(--accent);color:#06170c;cursor:pointer;border:none;border-radius:8px;align-self:flex-start;padding:.65rem 1.3rem;font-weight:600}button[type=submit]:disabled{opacity:.6;cursor:not-allowed}.error-banner{color:#ffd7d7;background:#4a1f1f;border:1px solid #7a2f2f;border-radius:8px;margin:.5rem 1.5rem 0;padding:.7rem .9rem;font-size:.9rem}.climatology-banner{color:#f0e8a3;background:#2a2a1a;border:1px solid #6b6b2a;border-radius:8px;margin-bottom:1rem;padding:.8rem 1rem;font-size:.9rem;line-height:1.45}.forecast-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.75rem;margin-bottom:1rem;display:flex}.forecast-header h2{margin:0 0 .2rem}.forecast-header p{color:var(--muted);margin:0}.forecast-header .latin{color:var(--muted);font-size:.85rem;font-style:italic;font-weight:400}.activity-badge{white-space:nowrap;border-radius:999px;padding:.35rem .9rem;font-size:.85rem;font-weight:600;display:inline-block}.activity-faible{color:#ffb4b4;background:#4a1f1f}.activity-moderee{color:#ffe0a3;background:#4a3f1f}.activity-forte{color:#a3ffc2;background:#1f4a2c}.activity-exceptionnelle{color:#a3e0ff;background:#1f3a4a}.indices{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem 1.5rem;margin-bottom:1.5rem;display:grid}.index-bar-header{justify-content:space-between;margin-bottom:.25rem;font-size:.9rem;display:flex}.index-bar-track{background:var(--surface-alt);border-radius:999px;height:8px;overflow:hidden}.index-bar-fill{border-radius:999px;height:100%;transition:width .3s}.result-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));align-items:start;gap:1rem;display:grid}.charts-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem;margin-bottom:1rem;display:grid}.chart-card h3{margin:0 0 .5rem;font-size:.95rem}.result-grid .card h3{margin-top:0;font-size:1rem}.detail-list{color:var(--muted);margin:.5rem 0 0;padding-left:1.2rem;font-size:.9rem}.reasons ul{margin:.5rem 0 0;padding-left:1.2rem}.reasons li{margin-bottom:.4rem;font-size:.9rem}.reasons{grid-column:1/-1}.muted{color:var(--muted);font-size:.9rem}.observation-table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:.9rem;display:block;overflow-x:auto}.observation-table th,.observation-table td{text-align:left;border-bottom:1px solid var(--border);padding:.5rem .6rem}@media (width<=860px){.app{height:auto;min-height:100vh;overflow:visible}.dashboard{grid-template-columns:1fr;overflow:visible}.dashboard-sidebar{border-right:none;border-bottom:1px solid var(--border);overflow-y:visible}.dashboard-main{padding:1rem;overflow-y:visible}.app-header{padding:.75rem 1rem}.app-header-title h1{font-size:1.1rem}.error-banner{margin:.5rem 1rem 0}.forecast-header{flex-direction:column}.reasons{grid-column:auto}}
