.hero {
        background: linear-gradient(135deg, var(--sky-dark) 0%, var(--sky) 100%);
        border-radius: 14px;
        padding: 2.5rem 2rem;
        color: #fff;
        margin-bottom: 2rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }
    .hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: 1.9rem; font-weight: 600; margin-bottom: .4rem; }
    .hero p  { opacity: .8; font-size: .95rem; }

    .weather-controls {
        display: flex;
        align-items: flex-end;
        gap: 1rem;
        flex-wrap: wrap;
        margin-bottom: 1.25rem;
    }
    .weather-controls .form-group { min-width: 180px; }
    .weather-controls select { background: var(--surface); }

    .weather-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1rem;
        margin-top: 1.25rem;
    }
    .weather-metric {
        background: var(--surface-2);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 1rem;
    }
    .weather-metric .metric-icon { font-size: 1.4rem; margin-bottom: .4rem; }
    .weather-metric .metric-label { font-size: .75rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .25rem; }
    .weather-metric .metric-value { font-size: 1.4rem; font-weight: 600; color: var(--text); }
    .weather-metric .metric-unit  { font-size: .8rem; color: var(--text-muted); }

    .weather-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: .5rem;
        margin-bottom: .5rem;
    }
    .weather-header h2 { font-size: 1.2rem; }
    .badge {
        display: inline-flex; align-items: center; gap: .3rem;
        background: var(--sky-light); color: var(--sky-dark);
        font-size: .8rem; font-weight: 500;
        padding: .25rem .75rem; border-radius: 20px;
    }

    .no-data {
        text-align: center;
        padding: 3rem 1rem;
        color: var(--text-muted);
        font-size: .95rem;
    }
    .no-data .no-data-icon { font-size: 2.5rem; margin-bottom: .75rem; }

    /* ── IA Prediction ── */
    .ai-section { margin-top: 2rem; }

    .ai-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: .5rem;
        margin-bottom: 1rem;
    }
    .ai-header h2 { font-size: 1.2rem; }

    .badge-ai {
        display: inline-flex; align-items: center; gap: .3rem;
        background: #f0fdf4; color: #16a34a;
        font-size: .8rem; font-weight: 500;
        padding: .25rem .75rem; border-radius: 20px;
        border: 1px solid #bbf7d0;
    }

    .ai-controls {
        display: flex;
        align-items: flex-end;
        gap: 1rem;
        flex-wrap: wrap;
        margin-bottom: 1.25rem;
    }
    .ai-controls .form-group { min-width: 180px; }
    .ai-controls select { background: var(--surface); }

    .prediction-table-wrap {
        overflow-x: auto;
        border-radius: var(--radius);
        border: 1px solid var(--border);
    }
    .prediction-table {
        width: 100%;
        border-collapse: collapse;
        font-size: .9rem;
    }
    .prediction-table thead tr { background: var(--surface-2); }
    .prediction-table th {
        padding: .75rem 1rem;
        text-align: left;
        font-size: .75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .05em;
        color: var(--text-muted);
        border-bottom: 1px solid var(--border);
        white-space: nowrap;
    }
    .prediction-table td {
        padding: .75rem 1rem;
        border-bottom: 1px solid var(--border);
        vertical-align: middle;
    }
    .prediction-table tbody tr:last-child td { border-bottom: none; }
    .prediction-table tbody tr:hover { background: var(--surface-2); }

    .score-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 46px;
        padding: .2rem .6rem;
        border-radius: 20px;
        font-weight: 700;
        font-size: .85rem;
    }
    .score-high   { background: #dcfce7; color: #15803d; }
    .score-medium { background: #fef9c3; color: #a16207; }
    .score-low    { background: #fee2e2; color: #b91c1c; }

    .rank-cell {
        font-weight: 700;
        color: var(--text-muted);
        font-size: .8rem;
        width: 36px;
    }

    .wind-cell {
        display: inline-flex;
        align-items: center;
        gap: .35rem;
        color: var(--text-muted);
        font-size: .85rem;
    }

    .prediction-count {
        font-size: .85rem;
        color: var(--text-muted);
        margin-top: .75rem;
    }