/* charts.css — the "Timelines" disclosure on the dashboard. */

.timelines {
    margin-top: 16.8px;
    border-radius: 14px;
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}
.timelines[hidden] { display: none; }

.timelines > summary {
    list-style: none;
    cursor: pointer;
    padding: 16.8px 22.4px;
    display: flex;
    align-items: center;
    gap: 8.4px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-neutral-400);
}
.timelines > summary::-webkit-details-marker { display: none; }
.timelines > summary .ph { color: var(--color-accent); }
.timelines > summary::after {
    content: "";
    margin-left: auto;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 200ms ease;
}
.timelines[open] > summary::after { transform: rotate(225deg); }

.chart-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16.8px;
    padding: 0 22.4px 22.4px;
}

.chart-box {
    border-radius: 8px;
    background: rgba(233, 233, 237, 0.03);
    box-shadow: var(--shadow-sm);
    padding: 16.8px;
}
.chart-box h3 {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 13px;
    margin: 0 0 8.4px;
    color: var(--color-neutral-400);
}
.chart-canvas { position: relative; width: 100%; height: 220px; }

@media (min-width: 700px) {
    .chart-grid { grid-template-columns: 1fr 1fr; }
    .chart-canvas { height: 240px; }
}
@media (min-width: 1100px) {
    .chart-grid { grid-template-columns: 1fr 1fr 1fr; }
}
