/* Shared Multi cards; compact phone plots take their proportions from wswin_modern. */
#multi-chart-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
    margin-top: 0.85rem;
}
.small-chart-panel {
    min-width: 0;
    height: auto;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    overflow: hidden;
}
body.dark-mode .small-chart-panel {
    background: rgba(15, 23, 42, 0.4);
}
.small-chart-panel > .weather-chart {
    display: block;
    width: 100%;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
}
.small-chart-summary {
    min-width: 0;
    margin: 0;
    padding: 0.5rem 0.6rem 0.6rem;
    border-top: 1px solid var(--border);
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
}
@media (min-width: 761px) {
    .small-chart-panel > .weather-chart {
        height: clamp(260px, 36vw, 440px);
    }
}
@media (max-width: 760px) {
    .small-chart-panel > .weather-chart {
        --weather-chart-proportional: 1;
        --weather-chart-height: 360;
        height: auto;
        min-height: 0;
        max-height: none;
        cursor: default;
        touch-action: auto;
    }
}
