/* styles/widgets/reports.css
 *
 * Extracted from styles/main.css during T4#20 (the May-2026
 * CSS-split refactor). Originally lived at lines 6222-6306
 * of main.css. Cascade order is preserved: main.css loads first
 * (themes + base + modal/tab/layout infra), then per-widget
 * files in alphabetical order via <link> tags in index.html.
 */

/* ── REPORTS WIDGET (Phase 2.15) ───────────────────────────── */
.reports-tabs {
    display: flex;
    gap: 4px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
}
.reports-tab {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 5px 14px;
    font-size: 12px;
    color: var(--muted);
    cursor: pointer;
    font-family: inherit;
}
.reports-tab:hover { color: var(--text); border-color: var(--accent); }
.reports-tab-active {
    background: color-mix(in oklab, var(--accent) 20%, var(--surface2));
    border-color: var(--accent);
    color: var(--text);
    font-weight: 600;
}
.reports-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
}
.reports-card {
    --habit-color: var(--accent);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 8px;
    background: var(--surface2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
}
.reports-card-streak {
    background: color-mix(in oklab, var(--habit-color) 14%, var(--surface2));
    border-color: var(--habit-color);
}
.reports-card-icon { font-size: 22px; line-height: 1; }
.reports-card-value {
    font-size: 24px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--text);
    line-height: 1.1;
}
.reports-card-label {
    font-size: 10px;
    color: var(--muted);
    line-height: 1.3;
    word-break: break-word;
}
.reports-inventory {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 8px 0;
    margin-top: 10px;
    border-top: 1px solid var(--border);
    font-size: 11px;
    color: var(--muted);
}
.reports-inventory strong {
    color: var(--text);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.reports-footnote {
    font-size: 10px;
    color: var(--muted);
    text-align: center;
    margin-top: 8px;
    line-height: 1.4;
    font-style: italic;
}

