/* Scoped corrections for the statistical lookup; loaded after the shared palette. */
.stat-search-page [hidden] { display: none !important; }
.hp-editorial .stat-search-page .stat-direct-answer-card {
    border: 1px solid #b8cad6;
    border-top: 3px solid #0077ad;
    box-shadow: none;
}
.stat-search-page .stat-direct-answer-card::before { display: none; }
.hp-editorial .stat-search-page .stat-source-credit,
.hp-editorial .stat-search-page .stat-direct-desc,
.hp-editorial .stat-search-page .stat-basis-note,
.hp-editorial .stat-search-page .stat-series-note {
    color: #334155;
    font-size: 14px;
    line-height: 1.6;
    text-transform: none;
    letter-spacing: normal;
}
.stat-search-page .stat-source-credit { margin: 0 0 12px; }
.stat-search-page .stat-metric-label { color: #334155; font-size: 14px; margin-bottom: 8px; }
.hp-editorial .stat-search-page .stat-direct-main-value { color: #102e42; font-size: 32px; line-height: 1.2; }
.stat-search-page .stat-comparison-period { color: #102e42; font-size: 16px; font-weight: 700; }
.stat-search-page .stat-basis-note { margin: 0 0 18px; }
.stat-search-page .stat-frequency { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.hp-editorial .stat-search-page .stat-frequency-link {
    display: inline-block; padding: 8px 14px; color: #075b85;
    background: #fff; border: 1px solid #9eb8c9; text-decoration: none; font-weight: 600;
}
.hp-editorial .stat-search-page .stat-frequency-link.active,
.hp-editorial .stat-search-page .stat-view-btn.active,
.hp-editorial .stat-search-page .stat-direct-btn.btn-primary-blue {
    background: #075b85 !important; color: #fff !important; border-color: #075b85;
}
.hp-editorial .stat-search-page .stat-view-btn { color: #075b85; background: #fff; min-height: 36px; }
.hp-editorial .stat-search-page .stat-direct-title,
.hp-editorial .stat-search-page .stat-timeseries-title,
.hp-editorial .stat-search-page .stat-result-section-title { color: #102e42; text-transform: none; letter-spacing: normal; }
.stat-search-page .stat-series-note { margin: 0 0 16px; }
.hp-editorial .stat-search-page .stat-data-table thead th {
    background: #075b85 !important; color: #fff !important;
    border-color: #367b9d; font-size: 14px; text-align: left; white-space: nowrap;
}
.hp-editorial .stat-search-page .stat-data-table tbody th,
.hp-editorial .stat-search-page .stat-data-table tbody td {
    background: transparent; color: #172e40 !important;
    font-size: 14px; padding: 12px 14px; border: 1px solid #cbd5e1;
    text-transform: none; vertical-align: middle;
}
.hp-editorial .stat-search-page .stat-data-table tbody th { white-space: nowrap; }
.hp-editorial .stat-search-page .stat-data-table tbody td:nth-child(3) { white-space: nowrap; }
.hp-editorial .stat-search-page .stat-data-table .stat-number { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-search-page .stat-data-table caption { color: #334155; padding: 0 0 10px; text-align: left; }
.stat-search-page .stat-chart-canvas { position: relative; height: 340px; }
.stat-search-page .stat-copy-status { color: #334155; font-size: 14px; margin: 10px 0 0; }
.stat-search-page .stat-copy-status:empty { display: none; }
.stat-search-page a:focus-visible, .stat-search-page button:focus-visible { outline: 3px solid #075b85; outline-offset: 3px; }
@media (max-width: 600px) {
    .hp-editorial .stat-search-page .stat-direct-answer-card,
    .hp-editorial .stat-search-page .stat-timeseries-box { padding: 16px; }
    .hp-editorial .stat-search-page .stat-direct-metric-row { align-items: flex-start; gap: 18px; padding: 14px; }
    .stat-search-page .stat-data-table { min-width: 580px; }
    .stat-search-page .stat-view-toggle-btns { flex-wrap: wrap; }
}
