.weather-panel {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s ease;
}

.weather-panel.loading {
    opacity: 0.5;
}

.weather-error {
    text-align: center;
    font-family: "DM Mono", monospace;
    font-size: 0.6rem;
    color: var(--cream-dim);
    padding: 0.5rem;
}

.dash-weather {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

.weather-city-row {
    margin-bottom: 0.35rem;
}

#weatherDistrictPicker {
    margin-bottom: 0.45rem;
}

.weather-now__hero {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0.55rem;
    margin-bottom: 0.4rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(94, 228, 199, 0.18);
    background: rgba(94, 228, 199, 0.05);
}

.weather-now__icon {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
}

.weather-now__main {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    min-width: 0;
}

.weather-now__city {
    font-family: "DM Mono", monospace;
    font-size: 0.5rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cream-dim);
}

.weather-now__temp {
    font-family: "DM Mono", monospace;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--cream);
    line-height: 1.1;
}

.weather-now__label {
    font-size: 0.6rem;
    color: var(--mint);
}

.weather-now__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
    margin-bottom: 0.45rem;
}

.weather-hourly {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 0;
}

.weather-hourly__track {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(243, 235, 224, 0.12) transparent;
}

.weather-hourly__track::-webkit-scrollbar {
    height: 3px;
}

.weather-hourly__track::-webkit-scrollbar-thumb {
    background: rgba(243, 235, 224, 0.12);
    border-radius: 2px;
}

.weather-hourly__item {
    flex: 0 0 4.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    padding: 0.4rem 0.35rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(243, 235, 224, 0.06);
    background: rgba(243, 235, 224, 0.02);
    text-align: center;
}

.weather-hourly__time {
    font-family: "DM Mono", monospace;
    font-size: 0.48rem;
    color: var(--cream-dim);
}

.weather-hourly__icon {
    font-size: 0.95rem;
    line-height: 1;
}

.weather-hourly__label {
    font-size: 0.46rem;
    line-height: 1.25;
    color: var(--mint);
    letter-spacing: 0.02em;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 1.1em;
}

.weather-hourly__temp {
    font-family: "DM Mono", monospace;
    font-size: 0.72rem;
    color: var(--cream);
    font-weight: 500;
}

.weather-hourly__prob {
    font-family: "DM Mono", monospace;
    font-size: 0.45rem;
    color: var(--violet);
}

.weather-hourly__type {
    font-size: 0.42rem;
    color: rgba(154, 143, 130, 0.8);
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .weather-now__temp { font-size: 1.3rem; }
    .weather-now__grid { grid-template-columns: repeat(2, 1fr); }
    .weather-hourly__item { flex-basis: 4.2rem; }
    .weather-hourly__label { font-size: 0.42rem; }
}
