.insights
{
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 18px 18px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.page-hint
{
    font-size: 13px;
    line-height: 1.5;
    color: var(--fg-dim);
    margin: 0;
    max-width: 720px;
}

.insights-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.insight-card
{
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.insight-card h2
{
    font-size: 15px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.insight-card h2 .pill
{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fg-dim);
}

.insight-row
{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 13px;
    gap: 8px;
    border-top: 1px dashed var(--border);
    padding-top: 6px;
}

.insight-row:first-of-type { border-top: none; padding-top: 0; }

.insight-row .label { color: var(--fg-dim); }
.insight-row .value
{
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    text-align: right;
}

.insight-row .value.positive { color: var(--danger); }
.insight-row .value.negative { color: var(--accent); }
.insight-row .value.muted    { color: var(--fg-dim); font-weight: 400; }

.event-list
{
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 140px;
    overflow-y: auto;
}

.event-list li
{
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: var(--fg-dim);
    background: rgba(125, 133, 144, 0.08);
    border-radius: 6px;
    padding: 4px 8px;
}

.event-list li.kind-ventilation { color: var(--accent); }
.event-list li.kind-warming     { color: var(--warn); }

.event-list li .delta
{
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.empty
{
    color: var(--fg-dim);
    font-style: italic;
    padding: 24px;
    text-align: center;
}
