/* Customer portal pill in the site header, always visible (next to Menu on phones) */
.portal-pill { display: inline-flex; align-items: center; gap: .45rem; margin-left: auto; padding: .4rem .9rem .4rem .45rem; border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: 999px; background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--ink); font-size: .92rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: border-color .2s, background .2s, transform .2s; }
.portal-pill:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, transparent); transform: translateY(-1px); }
.portal-pill .pp-ic { width: 1.55rem; height: 1.55rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--bg); flex: none; }
.portal-pill .pp-ic svg { width: .9rem; height: .9rem; }
.portal-pill .pp-short { display: none; }
header.site .wrap > .portal-pill + .btn, header.site .wrap > .portal-pill + .menu-btn { margin-left: 0; }
@media (max-width: 1000px) { header.site .wrap { gap: .6rem; } }
@media (max-width: 600px) { .portal-pill .pp-long { display: none; } .portal-pill .pp-short { display: inline; } .portal-pill { padding: .4rem .8rem .4rem .4rem; } }

/* Desktop header fit: the Customer portal pill is always shown, so the duplicate link in the nav only
   appears inside the mobile menu. On mid-width laptops the gaps tighten and the button text shortens. */
header.site .btn .bt-short { display: none; }
@media (min-width: 1001px) { nav.main a.nav-portal { display: none; } }
@media (min-width: 1001px) and (max-width: 1560px) {
  header.site nav.main { gap: clamp(.6rem, 1.1vw, 1.4rem); }
  header.site .btn .bt-long { display: none; }
  header.site .btn .bt-short { display: inline; }
}
