/* Task menu in the public header (2026-11-18): Catch-up, Bookkeeping, Tax returns, Pricing, plus the "Member portal"
   link that site.js adds. Loaded on every page with the standard header.
   1. "Tax returns" shows in full where it fits; below 1240px the word " returns" is hidden visually only, so the
      link still reads "Tax returns" to screen readers.
   2. On laptop widths, once site.js has added "Member portal", the gaps tighten a little so the links, the phone
      number and the green button stay on one row from 961px up. Without that link the header keeps its spacing. */
@media (max-width: 1239.98px) {
  .nav__more { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
}
@media (min-width: 961px) and (max-width: 1279.98px) {
  .nav__in:has(.nav__links a[href="/portal"]) { column-gap: 1rem; }
  .nav__links:has(a[href="/portal"]) { column-gap: clamp(.85rem, 1.3vw, 1.25rem); }
}
/* Narrowest laptops (961-1040px) on pages with a longer green button ("Request filing help"): a little tighter again. */
@media (min-width: 961px) and (max-width: 1040px) {
  .nav__in:has(.nav__links a[href="/portal"]) { column-gap: .6rem; }
  .nav__links:has(a[href="/portal"]) { column-gap: .75rem; }
  .nav__in:has(.nav__links a[href="/portal"]) > .btn--sm { padding-inline: .9rem; }
}
