:root {
    --bg-main: #09090b;
    --bg-card: #18181b;
    --border-subtle: #27272a;
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --cai-color: #8b5cf6;
    --font-main: 'Inter', -apple-system, sans-serif;
    --slate-color: #94a3b8; /* Dark slate standard for charts now */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.dashboard-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* HEADER */
.header { border-bottom: 1px solid var(--border-subtle); padding-bottom: 1.5rem; margin-bottom: 2rem; }
.header h1 { font-size: 1.5rem; font-weight: 600; color: #fff; margin-bottom: 0.25rem; }
.header .subtitle { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: 0.5rem; line-height: 1.4; }
.header .caption { font-size: 0.875rem; color: var(--text-secondary); opacity: 0.8; }

/* SECTION 1: THE FINDING */
.finding-section { margin-bottom: 3rem; padding: 0 1rem; }
.huge-finding {
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}
.finding-caption {
    font-size: 1rem;
    color: var(--text-secondary);
}
.delta-val { font-weight: 700; }

/* CARDS */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.card-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .card-grid-2 { grid-template-columns: 1fr 1fr; }
}

.card-header h2 { font-size: 1.25rem; font-weight: 600; color: #fff; margin-bottom: 1rem; }
.card-body.type-copy p { margin-bottom: 0.75rem; color: var(--text-secondary); font-size: 0.95rem; }
.card-body.type-copy ul { margin-left: 1.25rem; color: var(--text-secondary); font-size: 0.95rem; }
.card-body.type-copy li { margin-bottom: 0.5rem; }

.term-list {
    list-style: none !important;
    margin-left: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.term-list li {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-subtle);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: monospace;
    color: var(--text-secondary);
    margin-bottom: 0 !important;
}

/* CHARTS */
.chart-wrapper { position: relative; width: 100%; }
.primary-wrapper { height: 350px; }
.volume-wrapper { height: 100px; }
.control-wrapper { height: 210px; } /* Roughly 60% of primary */

.chart-caption { font-size: 0.85rem; color: var(--text-secondary); text-align: center; }
