.reading-page.company-financials { max-width: 1120px; padding-top: 24px; }
.company-financials [hidden] { display: none !important; }
.financial-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.ui-shell .company-financials .financial-page-heading h2 { margin: 0 0 4px; font-size: 24px; font-weight: 650; }
.financial-page-heading p { margin: 0; color: var(--ui-muted); font-size: 14px; }
.financial-page-heading .btn { gap: 12px; flex-shrink: 0; }
.financial-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.financial-section-heading h3 { font-size: 16px; font-weight: 650; margin: 0; }
.financial-section-heading > span { font-size: 12px; color: var(--ui-muted); }
.financial-highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.financial-highlight { padding: 18px 20px 12px; border: 1px solid var(--ui-line); border-radius: 8px; background: var(--ui-surface); }
.financial-highlight h4 { font-size: 13px; font-weight: 500; color: var(--ui-muted); margin: 0 0 10px; }
.financial-highlight .financial-highlight-value { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 650; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.financial-highlight .financial-highlight-unit { font-size: 12px; color: var(--ui-muted); margin: 4px 0 14px; }
.financial-highlight-comparison { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--ui-line); padding-top: 10px; font-size: 12px; font-variant-numeric: tabular-nums; }
.financial-highlight-comparison span { color: var(--ui-muted); }
.financial-highlight-comparison strong { font-weight: 500; }
.financial-highlight-source { display: inline-flex; align-items: center; min-height: 28px; font-size: 11px; }
.financial-overview-note { margin: 10px 0 28px; color: var(--ui-muted); font-size: 12px; line-height: 1.6; }
.financial-statement-nav { position: relative; display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border: 1px solid var(--ui-line); border-radius: 8px; background: var(--ui-surface); margin-bottom: 16px; }
.financial-statement-nav a { display: flex; align-items: center; justify-content: center; padding: 9px 14px; min-height: 44px; border-radius: 5px; color: var(--ui-muted); font-size: 13px; font-weight: 500; text-decoration: none; }
.financial-statement-nav a:hover { background: var(--ui-hover); color: var(--ui-link); }
.financial-statement-nav a[aria-selected="true"] { background: var(--ui-selected); color: var(--ui-link); box-shadow: inset 0 0 0 1px var(--ui-line); font-weight: 650; }
.financial-explorer-tools { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.financial-search { flex: 1; max-width: 420px; }
.financial-search label { margin-bottom: 5px; }
.financial-search-input { position: relative; }
.financial-search-input .form-control { height: 44px; padding-right: 66px; }
.financial-search-input input::-webkit-search-cancel-button { display: none; }
.financial-search-clear { position: absolute; right: 2px; top: 2px; height: 40px; padding: 0 12px; border: 0; background: transparent; color: var(--ui-link); font-size: 13px; border-radius: 4px; }
.ui-shell .financial-source-toggle { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; font-size: 12px; font-weight: 400; color: var(--ui-muted); cursor: pointer; }
.financial-source-toggle input { width: 16px; height: 16px; accent-color: var(--ui-link); }
.financial-numeric-section { margin-top: 24px; scroll-margin-top: 24px; }
.financial-enhanced .financial-numeric-section { margin-top: 0; }
.financial-table-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.financial-table-heading h4 { font-size: 18px; font-weight: 600; margin: 0 0 5px; }
.financial-table-count { font-size: 12px; color: var(--ui-muted); white-space: nowrap; }
.financial-table-hint { font-size: 12px; color: var(--ui-muted); margin: 0 0 12px; }
.financial-scroll-hint { margin-left: 8px; }
.financial-table-scroll { max-width: 100%; overflow: auto; border: 1px solid var(--ui-line); border-radius: 8px; background: var(--ui-surface); scrollbar-color: var(--ui-muted) var(--ui-hover); }
.financial-enhanced .financial-table-scroll { max-height: 660px; }
.company-financials .financial-numeric-table { margin: 0; width: 100%; font-size: 14px; border-collapse: separate; border-spacing: 0; line-height: 1.5; }
.company-financials .financial-numeric-table th, .company-financials .financial-numeric-table td { padding: 10px 16px; vertical-align: middle; border: 0; border-bottom: 1px solid var(--ui-line); }
.company-financials .financial-numeric-table thead th { position: sticky; top: 0; z-index: 2; background: var(--ui-hover); white-space: nowrap; text-align: right; font-size: 13px; }
.company-financials .financial-numeric-table thead th:first-child { text-align: left; left: 0; z-index: 4; }
.company-financials .financial-numeric-table tbody th[scope="row"] { position: sticky; left: 0; z-index: 1; min-width: 240px; max-width: 380px; background: var(--ui-surface); font-weight: 400; }
.financial-numeric-table .financial-value { min-width: 102px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.company-financials .financial-numeric-table .financial-latest { background: var(--ui-selected); }
.company-financials .financial-numeric-table thead .financial-latest { color: var(--ui-link); }
.financial-unit { display: block; font-weight: 400; font-size: 11px; color: var(--ui-muted); margin-top: 2px; }
.financial-column-scope { display: block; font-size: 11px; font-weight: 400; color: var(--ui-muted); }
.company-financials .financial-numeric-table .financial-table-section th { background: var(--ui-hover); font-size: 12px; color: var(--ui-muted); font-weight: 600; padding-top: 9px; padding-bottom: 9px; }
.company-financials .financial-numeric-table .financial-metric-total th, .company-financials .financial-numeric-table .financial-metric-total td { font-weight: 650; }
.company-financials .financial-numeric-table .financial-metric-row:hover th, .company-financials .financial-numeric-table .financial-metric-row:hover td { background: var(--ui-hover); }
.financial-source-cell { white-space: nowrap; font-size: 12px; }
.financial-enhanced:not(.financial-sources-visible) .financial-source-cell { display: none; }
.financial-report-notes { border-bottom: 1px solid var(--ui-line); }
.financial-report-notes summary, .financial-reading-notes summary { cursor: pointer; color: var(--ui-muted); font-size: 13px; padding: 12px 0; min-height: 44px; }
.financial-report-notes-body, .financial-reading-notes > div { padding: 0 0 16px; max-width: 88ch; color: var(--ui-muted); font-size: 12px; overflow-wrap: anywhere; }
.financial-report-notes-body p { margin-bottom: 8px; }
.financial-report-source-links a { display: inline-block; margin-right: 12px; padding: 4px 0; }
.financial-search-status { font-size: 12px; color: var(--ui-muted); margin: 8px 0 0; }
.financial-search-status:empty { display: none; }
.financial-reading-notes { margin-top: 16px; }
.company-financials :is(a, button, input, summary, [tabindex]):focus-visible { outline: 2px solid var(--ui-link); outline-offset: 3px; }
@media (max-width: 1100px) {
    .financial-highlight { padding: 16px 14px 10px; }
    .financial-highlight .financial-highlight-value { font-size: 27px; }
}
@media (max-width: 767px) {
    .reading-page.company-financials { padding-top: 20px; }
    .financial-page-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
    .financial-page-heading .btn { font-size: 12px; }
    .financial-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .financial-highlight h4 { min-height: 20px; font-size: 12px; }
    .financial-highlight .financial-highlight-value { font-size: 27px; }
    .financial-statement-nav { flex-wrap: nowrap; overflow-x: auto; }
    .financial-statement-nav a { flex-shrink: 0; padding: 9px 12px; }
    .financial-explorer-tools { flex-direction: column; align-items: stretch; gap: 4px; margin-bottom: 14px; }
    .financial-search { max-width: none; }
    .financial-enhanced .financial-table-scroll { max-height: 65vh; }
    .company-financials .financial-numeric-table th, .company-financials .financial-numeric-table td { padding: 10px; font-size: 13px; }
    .company-financials .financial-numeric-table tbody th[scope="row"] { min-width: 145px; max-width: 160px; width: 160px; overflow-wrap: anywhere; box-shadow: 1px 0 var(--ui-line); }
    .financial-numeric-table .financial-value { min-width: 88px; }
    .financial-table-section th { max-width: 0; overflow-wrap: anywhere; }
    .financial-scroll-hint { display: block; margin-left: 0; }
}
@media print {
    .company-financials .financial-numeric-section[hidden], .company-financials .financial-table-scroll[hidden] { display: block !important; }
    .company-financials .financial-metric-row[hidden], .company-financials .financial-table-section[hidden] { display: table-row !important; }
    .financial-statement-nav, .financial-explorer-tools, .financial-no-results, .financial-search-status { display: none !important; }
    .financial-enhanced .financial-table-scroll { max-height: none; overflow: visible; }
    .company-financials .financial-numeric-table th { position: static !important; }
}
