/* Shared financial-research surface, loaded after the legacy page styles. */
[hidden] { display: none !important; }
.rate-table-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; flex-wrap: wrap; }
.rate-basis { display: flex; flex-wrap: wrap; gap: 16px; border: 0; padding: 0; margin: 0; min-width: 0; }
.rate-basis label { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; font-size: 13px; cursor: pointer; }
.rate-basis input { appearance: auto; width: 15px; height: 15px; min-height: 0; margin: 0; padding: 0; accent-color: var(--green); }
.rate-pager { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; }
.rate-pager label { display: flex; align-items: center; gap: 7px; }
.rate-pager select { width: 65px; min-height: 40px; padding: 0 8px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); font: inherit; color: var(--ink); }
.rate-pager button { flex: 0 0 40px; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); font-size: 20px; color: var(--ink); cursor: pointer; }
.rate-pager button:disabled { opacity: .4; cursor: default; }
.rate-pager button:not(:disabled):hover { border-color: var(--green); color: var(--green); }
.rate-pager button:focus-visible, .rate-basis input:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
#ratePageStatus { min-width: 82px; text-align: center; font-variant-numeric: tabular-nums; }
#rates .mobile-rate-context { display: none; }
@media (max-width: 600px) { .rate-table-controls { align-items: flex-start; gap: 8px; } .rate-basis { gap: 12px; } .rate-pager { justify-content: space-between; width: 100%; } }
@media (max-width: 600px) {
  #rates table { min-width: 0; width: 100%; table-layout: fixed; }
  #rates th:nth-child(2), #rates td:nth-child(2), #rates th:nth-child(3), #rates td:nth-child(3),
  #rates th:nth-child(5), #rates td:nth-child(5), #rates th:nth-child(6), #rates td:nth-child(6),
  #rates th:nth-child(7), #rates td:nth-child(7) { display: none; }
  #rates th:nth-child(4) { width: 96px; }
  #rates th:nth-child(8) { width: 64px; white-space: nowrap; }
  #rates th, #rates td { padding: 12px 8px; overflow-wrap: anywhere; }
  #rates td.rate { font-size: 16px; line-height: 1.4; }
  #rates td .muted-small { display: none; }
  #rates td .mobile-rate-context { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.5; }
  #ratesBody td:last-child button { padding: 8px 0; width: 100%; min-width: 0; min-height: 40px; font-size: 10px; white-space: nowrap; }
}
.dashboard-grid:has(> [hidden]) { grid-template-columns: 1fr; }
:root {
  --ink: #202626; --ink-deep: #202626; --muted: #596564; --quiet: #677371;
  --paper: #fff; --page: #f5f7f6; --panel: #fff; --line: #dce3e0;
  --blue: #087560; --green: #087560; --clay: #b44632; --sage: #f0f5f2;
  --sage-deep: #087560; --shadow: none;
  --rci-ink: #202626; --rci-green: #087560; --rci-line: #dce3e0;
}
html { scroll-padding-top: 90px; }
body { background: #fff; color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
body * { letter-spacing: 0; }
.shell { width: min(1320px, calc(100% - 64px)); }
header { background: #fff; backdrop-filter: none; border-color: var(--line); }
.nav { min-height: 76px; gap: 24px; }
.brand { font-size: 20px; font-weight: 750; white-space: nowrap; }
.brand .mark { border-radius: 6px; background: var(--ink); font: 700 20px Arial, sans-serif; }
.nav-links { font-size: 12px; gap: 20px; text-transform: none; }
.button, .hero-actions .button { border-radius: 4px; min-height: 44px; background: var(--ink); font-size: 13px; font-weight: 700; }
.button:hover, .hero-actions .button:hover { background: #087560; }
main.shell { padding-top: 28px; }
.hero { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; padding-bottom: 25px; }
.hero-main { min-height: 0; padding: 16px 0 0; border: 0; background: none; border-radius: 0; overflow: visible; box-shadow: none; }
.hero-main::after { display: none; }
.hero-main h1 { color: var(--ink); font: 750 44px/1.12 Arial, Helvetica, sans-serif; margin: 9px 0 16px; }
.hero-main p { color: var(--muted); font-size: 17px; max-width: 540px; line-height: 1.65; }
.hero-main .eyebrow { color: var(--muted); font-size: 11px; text-transform: none; }
.hero-kicker { color: var(--green); font-size: 11px; margin-bottom: 22px; }
.hero-kicker i { background: var(--green); }
.hero-main .search-row { background: #fff; border: 0; gap: 8px; margin-top: 22px; padding: 0; }
.hero-main .search-row input { background: #f5f7f6; color: var(--ink); border: 1px solid var(--line); border-radius: 4px; min-height: 48px; font-size: 14px; }
.hero-main .search-row input::placeholder { color: var(--muted); }
.hero-main .button.secondary { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.hero-actions { gap: 20px; margin-top: 16px; }
.hero-main .quiet-link { color: var(--green); font-size: 13px; }
.hero-main .country-switch { margin-top: 16px; align-self: flex-start; background: #f5f7f6; border: 1px solid var(--line); border-radius: 4px; padding: 3px; }
.hero-main .country-switch button { min-height: 38px; padding: 0 22px; text-transform: none; font-size: 13px; color: var(--muted); border-radius: 2px; }
.hero-main .country-switch button[aria-pressed="true"] { color: #fff; background: var(--ink); }
.hero-main .trust-row { display: none; }
.hero-main .pill { color: var(--muted); background: none; border: 0; padding: 0; text-transform: none; font-size: 11px; }
.market-shortcuts { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 10px; }
.market-shortcuts a { text-decoration: none; color: var(--green); font-size: 12px; padding: 8px 0; }
.market-shortcuts a:hover { text-decoration: underline; }
.research-directory { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.research-directory summary { cursor: pointer; color: var(--green); font-size: 12px; font-weight: 600; }
.hero-side, .rate-board { background: #f5f7f6; border-radius: 0; box-shadow: none; }
.rate-board { padding: 24px; border: 0; border-top: 3px solid var(--green); }
.rate-board h2 { font-size: 18px; }
.board-head p { font-size: 12px; line-height: 1.5; }
.board-head .badge { color: var(--green); background: none; border: 0; padding: 0; }
.rate-card { background: none; box-shadow: none; border-radius: 0; }
.rate-card .rate-value { font: 650 29px/1.2 Arial, sans-serif; font-variant-numeric: tabular-nums; }
.rate-card span { color: var(--muted); }
.rate-board .rate-card { min-height: 54px; padding: 9px 0; }
.hero-main .hero-actions { display: none; }
.intelligence { margin-top: 0; padding-top: 24px; border-top: 1px solid var(--ink); }
.index-tabs { gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.index-tab { border: 0; border-right: 1px solid var(--line); border-radius: 0; padding: 18px 22px; min-height: 125px; }
.index-tab:last-child { border-right: 0; }
.index-tab[aria-selected="true"] { box-shadow: inset 0 -3px var(--green); background: #f0f6f3; }
.index-tab .index-number { font-variant-numeric: tabular-nums; }
.section-head h2, .intelligence h2, .market-context h2 { font-family: Arial, sans-serif; font-size: 26px; font-weight: 700; line-height: 1.2; }
.metrics { gap: 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric { background: #fff; color: var(--ink); border: 0; border-radius: 0; border-right: 1px solid var(--line); padding: 20px; box-shadow: none; }
.metric:last-child { border-right: 0; }
.metric span { color: var(--muted); font-size: 11px; text-transform: none; }
.metric strong { color: var(--ink); font: 650 30px/1.3 Arial, sans-serif; font-variant-numeric: tabular-nums; }
.signal-station { background: #f5f7f6; border: 1px solid var(--line); border-radius: 0; margin-top: 24px; color: var(--ink); }
.signal-copy, .signal-controls { padding: 26px; }
.signal-copy { border-color: var(--line); }
.signal-station h2 { color: var(--ink); font: 700 28px/1.2 Arial, sans-serif; }
.signal-station p, .signal-notes span, .watch-list, .watch-list small, .watch-status { color: var(--muted); }
.signal-eyebrow, .signal-notes strong, .rate-watch-form label { color: var(--green); }
.signal-notes { border-color: var(--line); background: transparent; gap: 18px; }
.signal-notes div { background: transparent; border-top: 1px solid var(--line); padding: 15px 0; }
.signal-controls { background: #fff; color: var(--ink); }
.signal-controls h3 { color: var(--ink); }
.signal-controls input, .signal-controls select { background: #fff; color: var(--ink); border-color: #778780; }
.watch-enable { background: #fff; color: var(--ink); border-color: #8a9791; border-radius: 4px; min-height: 44px; }
.watch-enable:hover { color: var(--green); border-color: var(--green); }
.watch-list { background: transparent; }
.watch-item { background: #f5f7f6; border-top: 1px solid var(--line); }
.watch-item strong { color: var(--ink); }
.watch-item span, .watch-remove { color: var(--muted); }
.watch-remove { min-height: 44px; min-width: 44px; }
.watch-remove:hover { color: var(--clay); }
.coverage-card, .research-card { border-radius: 4px; box-shadow: none; }
.toolbar { background: #f5f7f6; border: 0; border-radius: 0; box-shadow: none; }
.table-wrap { box-shadow: none; border-radius: 0; }
th { font-size: 11px; text-transform: none; }
td { font-variant-numeric: tabular-nums; }
.dashboard-grid > .panel, .method-grid > .panel { background: #fff; box-shadow: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 24px 0; }
.freshness-strip { background: #fff; }
.detail-sheet { background: #fff; }
.section { scroll-margin-top: 90px; }
.research-summary { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 20px; border-block: 1px solid var(--line); padding: 20px 0; margin-top: 24px; }
.research-summary span { display: block; color: var(--muted); font-size: 11px; }
.research-summary strong { display: block; color: var(--ink); font-size: 24px; font-variant-numeric: tabular-nums; margin-top: 7px; }
.research-summary div:last-child strong { font-size: 18px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #c77c25; outline-offset: 3px; }
@media (max-width: 1100px) {
  .nav-links { gap: 12px; }
  .nav > .button { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr) 350px; gap: 28px; }
}
@media (max-width: 780px) {
  .shell { width: calc(100% - 32px); }
  .nav { min-height: 66px; flex-wrap: wrap; gap: 8px; padding: 12px 0; }
  .nav-links { display: flex; overflow-x: auto; width: 100%; padding: 4px 0; gap: 18px; }
  .nav-links a { white-space: nowrap; padding: 5px 0; }
  main.shell { padding-top: 18px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-main { min-height: 0; padding: 8px 0 0; }
  .hero-main h1 { font-size: 34px; }
  .hero-main p { font-size: 16px; }
  .hero-kicker { font-size: 10px; margin-bottom: 18px; flex-wrap: wrap; }
  .hero-main .search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .hero-main .hero-actions { flex-wrap: wrap; gap: 16px; }
  .hero-main .hero-actions { display: flex; }
  .hero-main .hero-actions .quiet-link { display: none; }
  .hero-main .country-switch { margin-top: 12px; flex-wrap: wrap; width: 100%; }
  .hero-main .country-switch button { flex: 1; }
  .hero-main .country-switch select { flex-basis: 100%; width: 100%; }
  .nav-links { scrollbar-width: none; }
  .hero-main .hero-actions .button { min-width: 0; white-space: normal; }
  .rate-board { padding: 20px; }
  .index-tab { padding: 14px 10px; }
  .metric { padding: 16px 10px; }
  .metric strong { font-size: 26px; }
  .signal-copy, .signal-controls { padding: 22px; }
  .signal-station h2 { font-size: 26px; }
  .research-summary { gap: 12px; }
  .research-summary div:last-child strong { font-size: 14px; }
}
.hero-main .country-switch button { white-space: nowrap; flex-shrink: 0; }
.hero-main .country-switch select { min-height: 38px; max-width: 260px; font: 500 13px/1.3 Arial,sans-serif; }
@media (max-width: 650px) { .hero-main .country-switch select { max-width: none; } }
