/* Header extension 2026-12-01: preserve font sizes; collapse before links crowd. */
.tf-header a[data-ha-calculator-nav][aria-current="page"], .site-header a[data-ha-calculator-nav][aria-current="page"] { color: #194480; font-weight: 700; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .tf-header .tf-desktop-nav, .tf-header .tf-nav-actions { display: none; }
  .tf-header .tf-menu-toggle { display: flex; }
  .tf-header .tf-nav { justify-content: space-between; }
  .tf-header .tf-mobile-menu { display: grid; gap: 0; padding: 5px 36px 25px; border-top: 1px solid #dce5ea; background: #fff; }
  .tf-header .tf-mobile-menu > a:not(.tf-button) { display: flex; justify-content: space-between; padding-block: 14px; font-size: 16px; border-bottom: 1px solid #edf2f4; }
  .tf-header .tf-mobile-menu .tf-button { margin-top: 17px; max-width: 250px; }
}
/* Legacy secondary-page SPA uses its original accessible mobile toggle. */
@media (min-width: 1024px) and (max-width: 1439px) {
  .site-header > div > nav, .site-header > div > div.hidden { display: none; }
  .site-header > div > .mobile-menu-button { display: flex; }
  .site-header > .mobile-menu { display: flex; flex-direction: column; }
}
