.economic-intelligence { --ei-accent: var(--bs-info); }
.ei-hero {
    border: 1px solid var(--bs-border-color);
    border-radius: 1.25rem;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    background:
        radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--ei-accent) 18%, transparent), transparent 35%),
        color-mix(in srgb, var(--bs-body-bg) 94%, var(--bs-tertiary-bg));
}
.ei-tabs { position: sticky; top: .5rem; z-index: 20; padding: .5rem; border: 1px solid var(--bs-border-color); border-radius: 1rem; background: color-mix(in srgb, var(--bs-body-bg) 94%, transparent); backdrop-filter: blur(12px); }
.ei-tabs .nav { gap: .5rem; scrollbar-width: thin; }
.ei-tabs .nav-link { flex: 0 0 auto; white-space: nowrap; }
.ei-shell, .ei-metric, .ei-meta-card { border: 1px solid var(--bs-border-color); border-radius: 1rem; background: var(--bs-body-bg); }
.ei-shell { overflow: hidden; }
.ei-shell-header { padding: 1.25rem; border-bottom: 1px solid var(--bs-border-color); background: color-mix(in srgb, var(--bs-tertiary-bg) 58%, var(--bs-body-bg)); }
.ei-metric { height: 100%; padding: 1rem; }
.ei-metric-value { font-size: clamp(1.25rem, 3vw, 1.8rem); font-weight: 800; font-variant-numeric: tabular-nums; }
.ei-meta-card { padding: 1rem; height: 100%; }
.ei-chart { min-height: 240px; border: 1px solid var(--bs-border-color); border-radius: .9rem; padding: .75rem; background: color-mix(in srgb, var(--bs-body-bg) 96%, var(--bs-info-bg-subtle)); }
.ei-chart svg { width: 100%; height: 210px; overflow: visible; }
.ei-chart-line { fill: none; stroke: var(--bs-info); stroke-width: 3; vector-effect: non-scaling-stroke; }
.ei-chart-dot { fill: var(--bs-info); stroke: var(--bs-body-bg); stroke-width: 2; }
.ei-filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; }
.ei-column-menu { min-width: min(22rem, calc(100vw - 2rem)); max-height: 24rem; overflow-y: auto; }
.ei-table { min-width: 760px; }
.ei-table th { white-space: nowrap; font-size: .78rem; text-transform: uppercase; letter-spacing: .035em; color: var(--bs-secondary-color); }
.ei-table td { vertical-align: middle; }
.ei-source-list a { overflow-wrap: anywhere; }
.ei-status-dot { width: .55rem; height: .55rem; border-radius: 50%; display: inline-block; }
.ei-empty { min-height: 14rem; display: grid; place-items: center; padding: 2rem; text-align: center; }
@media (max-width: 575.98px) {
    .ei-hero { border-radius: 1rem; }
    .ei-shell-header { padding: 1rem; }
    .ei-filter-grid { grid-template-columns: 1fr 1fr; }
    .ei-filter-grid .ei-filter-wide { grid-column: 1 / -1; }
}
@media print {
    .ei-tabs, .ei-filter-panel, .ei-column-picker, .ei-pagination { display: none !important; }
    .ei-shell, .ei-metric, .ei-meta-card { break-inside: avoid; box-shadow: none; }
}
