/**
 * portal.css — MyVEBA portal (ARES-authenticated experience).
 *
 * Everything that only exists for signed-in members: the login / forgot-password
 * slide-in panels, the signed-in header pill + account menu, the security
 * session-timeout modal, the WellnessLiving outbound interstitial, the portal
 * shell + sidebar and the portal pages (Dashboard, My Coverage, ID Cards,
 * My Profile) with their features (survey modal + reminder, Open Enrollment
 * banner, change password).
 *
 * Loaded on every page AFTER styles.css (inc/enqueue.php, handle
 * "calveba-portal") because the login panel, account menu and timeout modal
 * render from header.php site-wide. Base tokens, the signed-out .btn-signin pill
 * and the public "Member Portal / MyVEBA" marketing page (.myveba-*, .mv-videos)
 * stay in styles.css.
 *
 * Split out of styles.css on 2026-10-19 — blocks are moved verbatim and in
 * their original order, so the cascade is unchanged.
 */

/* ───── HEADER: SIGNED-IN PILL STATE (base .btn-signin lives in styles.css) ───── */
/* Logged-in state (Figma 544:26336 · Shell/Account "Signed"): white pill with a
   gradient 2-letter initials avatar, the "My account" label and a chevron.
   Default (signed-out) state untouched. */
.btn-signin--logged-in {
  background: var(--white);
}
.btn-signin--logged-in::before {
  /* No border-wipe animation on the signed-in pill. */
  display: none;
}
/* Fallback when ARES has no name for initials: keep the user icon, on the same
   gradient disc so it still reads as the signed-in avatar. */
.btn-signin--logged-in .btn-signin__icon {
  background: linear-gradient(225deg, #336ae9 13.158%, #259fd7 54.316%, #18d0c6 85.526%);
  color: #fff;
}
.btn-signin--avatar .btn-signin__icon { display: none; }
.btn-signin__avatar {
  width: 2.375rem;  /* 38px */
  height: 2.375rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  background: linear-gradient(225deg, #336ae9 13.158%, #259fd7 54.316%, #18d0c6 85.526%);
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  color: #fff;
}
/* Three-letter initials (ARES middleInitial present) — slightly smaller and
   tighter so "JAS" still sits centred inside the 38px disc. */
.btn-signin__avatar--long {
  font-size: 0.8125rem; /* 13px */
  letter-spacing: -0.01em;
}
.btn-signin__chevron {
  display: none; /* shown with the label from 48rem — see the tablet block */
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  color: var(--navy);
  transition: transform 0.18s ease;
}
.btn-signin__chevron svg { display: block; width: 100%; height: 100%; }
.signin-wrap.is-open .btn-signin__chevron { transform: rotate(180deg); }

@media (min-width: 48rem) {
  .btn-signin__chevron {
    display: inline-flex;
  }
}

/* ───── MYVEBA LOGIN SLIDE-IN PANEL ───── */
/* Mobile-first: full-bleed panel sliding in from the right.
   At ≥34rem the panel becomes a 482px floating card pinned to the right edge.
   Toggled via the `is-open` class on the wrapper. */
.mv-login {
  position: fixed;
  inset: 0;
  z-index: 99999;
  visibility: hidden;
  pointer-events: none;
}
.mv-login.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mv-login__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mv-login.is-open .mv-login__backdrop { opacity: 1; }

.mv-login__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100vw;
  background: #3362e9;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
  padding: 4.3125rem 1.5rem 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mv-login.is-open .mv-login__panel { transform: translateX(0); }

.mv-login__close {
  position: absolute;
  top: 1.1875rem;
  right: 1.1875rem;
  width: 1.875rem;
  height: 1.875rem;
  padding: 0;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease;
}
.mv-login__close:hover { opacity: 0.75; }

.mv-login__header { display: flex; flex-direction: column; gap: 0.625rem; }
.mv-login__title {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 1.875rem;   /* 30px per the slide-in comp (13604:4757) */
  line-height: 1.2;
  color: #fff;
  margin: 0;
}

/* ── Step blocks (Step 1: Register / Step 2: Log in) ── */
.mv-login__step { display: flex; flex-direction: column; gap: 0.875rem; }   /* 14px */
.mv-login__step-sub {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 0.875rem;   /* 14px */
  line-height: 1.3;
  color: #fff;
  margin: 0;
}
/* The panel's own 30px flex gap is right everywhere except between the Step 2
   intro and its form, which the comp keeps tight. */
.mv-login__step + .mv-login__form { margin-top: -1rem; }
.mv-login__divider { border-top: 1px solid rgba(255, 255, 255, 0.3); }
/* The Register CTA is an <a> wearing the submit pill's styles. */
.mv-login__register {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
  text-decoration: none;
  text-align: center;
}
.mv-login__signup,
.mv-login__subtitle {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.3;
  color: #fff;
  margin: 0;
}
.mv-login__subtitle { font-size: 0.875rem; line-height: 1.55; }
.mv-login__signup a,
.mv-login__subtitle a {
  color: #fff;
  text-decoration: underline;
}

/* Centered "Remembered your password? Log in" row below the submit button. */
.mv-login__back-row {
  margin: 0.25rem 0 0;
  font-family: var(--f-body);
  font-size: 0.875rem;
  line-height: 1.3;
  color: #fff;
  text-align: center;
}
.mv-login__back-link {
  margin-left: 0.375rem;
  color: #fff;
  font-weight: 500;
  text-decoration: underline;
}

.mv-login__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.mv-login__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mv-login__label {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.3;
  color: #fff;
}
.mv-login__req { margin-left: 0.125rem; }

.mv-login__input {
  width: 100%;
  height: 3.3125rem;
  padding: 1.125rem;
  background: #fff;
  border: 0;
  border-radius: 0.75rem;
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--text-dark);
  outline: none;
  transition: box-shadow 0.2s ease;
}
.mv-login__input::placeholder { color: #737785; font-size: 0.875rem; }
.mv-login__input:focus { box-shadow: 0 0 0 0.1875rem rgba(255, 255, 255, 0.4); }

.mv-login__forgot {
  display: inline-block;
  margin-top: -0.25rem;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.3;
  color: #fff;
  text-decoration: underline;
}

.mv-login__submit {
  margin-top: 0.25rem;
  height: 3.125rem;
  padding: 0 1rem;
  background: var(--coral);
  color: var(--navy);
  border: 0;
  border-radius: 22.5rem;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.45;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.mv-login__submit:hover { background: #ff6a55; transform: translateY(-1px); }
.mv-login__submit[disabled],
.mv-login__submit.is-loading { opacity: 0.7; cursor: progress; transform: none; }
.mv-login__submit.is-loading::after {
  content: '';
  display: inline-block;
  width: 0.875rem;
  height: 0.875rem;
  margin-left: 0.5rem;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: mv-login-spin 0.8s linear infinite;
  vertical-align: -2px;
}
@keyframes mv-login-spin { to { transform: rotate(360deg); } }

.mv-login__feedback {
  display: block;
  margin: 0;
  padding: 0.625rem 0.875rem;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: var(--f-body);
  font-size: 0.875rem;
  line-height: 1.4;
}
.mv-login__feedback[hidden] { display: none; }
.mv-login__feedback.is-error   { background: rgba(218, 26, 23, 0.25); color: #fff; }
.mv-login__feedback.is-success { background: rgba(24, 208, 198, 0.22); color: #fff; }

.mv-login__help {
  padding-top: 1.25rem;
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mv-login__help-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.875rem;
  color: #fff;
  margin: 0;
}
.mv-login__help-icon { display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.mv-login__help-contact {
  font-family: var(--f-body);
  font-size: 0.875rem;
  color: #fff;
  margin: 0;
}
.mv-login__help-link { color: #fff; text-decoration: underline; }
.mv-login__legal {
  font-family: var(--f-body);
  font-size: 0.6875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
  margin: 0.25rem 0 0;
}
.mv-login__legal a { color: #fff; text-decoration: underline; }

.mv-login__pin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3125rem;
  height: 3.125rem;
  padding: 0 1rem;
  background: transparent;
  color: #fff;
  border: 0.0625rem solid rgba(255, 255, 255, 0.3);
  border-radius: 22.5rem;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.45;
  text-decoration: none;
  transition: background 0.2s ease;
}
.mv-login__pin-btn:hover { background: rgba(255, 255, 255, 0.08); }

/* Desktop: pin the panel to the right with the Figma 482px width + 10px inset. */
@media (min-width: 34rem) {
  .mv-login__panel {
    top: 0.625rem;
    right: 0.625rem;
    bottom: 0.625rem;
    width: 30.125rem; /* 482px */
    max-width: calc(100vw - 1.25rem);
    border: 0.0625rem solid rgba(255, 255, 255, 0.14);
    border-radius: 1rem;
    box-shadow: -3.125rem 0 6.25rem rgba(0, 0, 0, 0.25);
    padding: 4.3125rem 2.4375rem 2rem;
  }
  .mv-login__close { top: 1.1875rem; right: 1.3125rem; }
  /* Slide-in comp (13604:4757): step titles are 30px at every width. */
  .mv-login__title { font-size: 1.875rem; max-width: 19rem; }
}

/* Lock background scroll while the panel is open. */
body.mv-login-open { overflow: hidden; }

/* ───── SECURITY SESSION-TIMEOUT MODAL ───── */
.mv-timeout {
  position: fixed;
  inset: 0;
  z-index: 100000; /* above the sign-in panel */
  visibility: hidden;
  pointer-events: none;
}
.mv-timeout.is-open { visibility: visible; pointer-events: auto; }
.mv-timeout__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mv-timeout.is-open .mv-timeout__backdrop { opacity: 1; }
.mv-timeout__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  width: calc(100% - 2.5rem);
  max-width: 27rem;
  background: #fff;
  color: var(--text-dark);
  border-radius: 20px;
  padding: 2.25rem 2rem 2rem;
  box-shadow: 0 24px 60px rgba(36, 35, 79, 0.25);
  text-align: center;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.mv-timeout.is-open .mv-timeout__panel { opacity: 1; transform: translate(-50%, -50%); }
.mv-timeout__title {
  font-family: var(--f-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.75rem;
}
.mv-timeout__desc {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 1.75rem;
}
.mv-timeout__count { font-weight: 700; color: var(--coral); }
.mv-timeout__actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.mv-timeout__btn {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.875rem;
  border-radius: 360px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.mv-timeout__btn--primary { background: var(--coral); color: #fff; }
.mv-timeout__btn--primary:hover { background: #ff6a55; transform: translateY(-1px); }
.mv-timeout__btn--ghost { background: #fff; color: var(--navy); border-color: #DADDE4; }
.mv-timeout__btn--ghost:hover { border-color: var(--navy); transform: translateY(-1px); }
body.mv-timeout-open { overflow: hidden; }

/* ── WellnessLiving outbound interstitial (Figma 857:2912 · Block/Outbound
   link modal). Same open/close mechanics as .mv-timeout. ─────────────── */
.wl-outbound {
  position: fixed;
  inset: 0;
  z-index: 100000;
  visibility: hidden;
  pointer-events: none;
}
.wl-outbound.is-open { visibility: visible; pointer-events: auto; }
.wl-outbound__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 11, 50, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.wl-outbound.is-open .wl-outbound__backdrop { opacity: 1; }
.wl-outbound__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  width: calc(100% - 2rem);
  max-width: 32.5rem; /* 520px */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 2.25rem 2.5rem 2rem; /* 36 40 32 */
  background: #fff;
  color: var(--text-dark);
  border: 1px solid #dadde4;
  border-radius: 1rem;
  box-shadow: 0 20px 24px -4px rgba(0, 0, 0, 0.08), 0 8px 8px -4px rgba(0, 0, 0, 0.03);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.wl-outbound.is-open .wl-outbound__panel { opacity: 1; transform: translate(-50%, -50%); }
.wl-outbound__close {
  position: absolute;
  top: 1.4375rem; /* 23px */
  right: 1.4375rem;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #737785;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wl-outbound__close svg { display: block; width: 100%; height: 100%; }
.wl-outbound__close:hover { color: var(--navy); }
.wl-outbound__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;  /* 52px */
  height: 3.25rem;
  border-radius: 1rem;
  background: #edf2ff;
  color: var(--blue);
}
.wl-outbound__badge svg { width: 1.5rem; height: 1.5rem; }
.wl-outbound__title {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 1.75rem; /* 28px */
  line-height: 1.2;
  color: var(--navy);
  margin: 0;
}
.wl-outbound__body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.55;
  color: #4a5160;
  margin: -0.5rem 0 0; /* 12px below the title (panel gap is 20px) */
}
.wl-outbound__dest {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0.875rem 1rem;
  background: #fafbfd;
  border: 1px solid #dadde4;
  border-radius: 0.75rem;
}
.wl-outbound__dest-globe,
.wl-outbound__dest-ext { flex-shrink: 0; display: inline-flex; color: #737785; }
.wl-outbound__dest-globe svg { width: 1.125rem; height: 1.125rem; }
.wl-outbound__dest-ext svg   { width: 1rem; height: 1rem; }
.wl-outbound__dest-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1875rem;
}
.wl-outbound__dest-logo { display: block; width: 6.75rem; height: 1.5rem; }
.wl-outbound__dest-url {
  font-family: var(--f-body);
  font-size: 0.75rem;
  color: #737785;
  overflow-wrap: anywhere;
}
.wl-outbound__remember {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--f-body);
  font-size: 0.875rem;
  color: #737785;
  cursor: pointer;
}
.wl-outbound__checkbox {
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  accent-color: var(--blue);
  cursor: pointer;
}
.wl-outbound__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  width: 100%;
  flex-wrap: wrap;
}
.wl-outbound__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.9375rem; /* 15px */
  line-height: normal;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.wl-outbound__btn svg { width: 1rem; height: 1rem; }
.wl-outbound__btn--ghost { background: #fff; color: var(--navy); border-color: #dadde4; }
.wl-outbound__btn--ghost:hover { border-color: var(--navy); }
.wl-outbound__btn--primary { background: var(--coral); color: var(--text-dark); }
.wl-outbound__btn--primary:hover { background: #ff6a55; transform: translateY(-1px); }
body.wl-outbound-open { overflow: hidden; }
@media (max-width: 35rem) {
  .wl-outbound__panel { padding: 2rem 1.5rem 1.5rem; }
  .wl-outbound__actions .wl-outbound__btn { flex: 1 1 auto; justify-content: center; }
}

/* Account menu: trailing external-link mark (Classes & Events). */
.signin-dropdown__ext {
  display: inline-flex;
  flex-shrink: 0;
  width: 0.875rem;
  height: 0.875rem;
  margin-left: auto;
  color: #737785;
}
.signin-dropdown__ext svg { display: block; width: 100%; height: 100%; }

/* ───── SIGN-IN DROPDOWN MENU ───── */
.signin-wrap {
  position: relative;
  display: inline-flex;
}
/* Account menu (Figma 544:26336 · Shell/Account menu): 260px panel, 8px inner
   padding, 38px rows, right-aligned 8px below the 50px pill (Figma top: 58). */
.signin-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 16.25rem; /* 260px */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  box-shadow: 0 0.375rem 1.125rem rgba(5, 11, 50, 0.16);
  z-index: 110;
  opacity: 0;
  transform: translateY(-0.375rem);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}
.signin-dropdown[hidden] { display: none; }
.signin-dropdown.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.signin-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  height: 2.375rem; /* 38px */
  padding: 0 0.75rem;
  box-sizing: border-box;
  border-radius: 0.5rem;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--text-dark, #191b23);
  text-decoration: none;
  transition: background 0.15s ease;
}
.signin-dropdown__item:hover,
.signin-dropdown__item:focus-visible {
  background: rgba(255, 125, 107, 0.2);
  outline: none;
}
.signin-dropdown__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  color: var(--navy);
}
.signin-dropdown__divider {
  display: block;
  height: 1px;
  margin: 0.125rem 0;
  border: 0;
  background: #e5e7eb;
}
/* Sign out is a regular row in the Figma menu — same ink + hover as the rest. */
.signin-dropdown__item--logout { color: var(--text-dark, #191b23); }

/* Trigger pill tint while the menu is open. */
.signin-wrap.is-open .btn-signin { background: var(--bg, #f4f8fe); }

/* ───── MYVEBA PORTAL (Dashboard + Profile) ───── */
.portal-page {
  background-color: #336ae9;
  background-image:
    url('../img/portal-bg.svg'),
    linear-gradient(180deg, #336ae9 0%, #2854c4 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: top center, top center;
  background-size: auto, 100% 100%;
  min-height: 100vh;
}
.portal-page .site-header { background: transparent; }

.portal {
  /* Top padding clears the floating header + 16px breathing room, plus the
     announcement bar's height when it's shown (--announce-offset).
     Mobile header ≈ 4.75rem tall, so 4.75rem + 1rem = 5.75rem. */
  padding: calc(5.75rem + var(--announce-offset, 0rem)) 1rem 4rem;
  color: #fff;
}
.portal__inner {
  max-width: 90rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.portal__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-sizing: border-box;
  width: 1180px;
  max-width: 100%;
  background: rgba(5, 11, 50, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.25rem;
  padding: 16px; /* mobile; 50px on desktop (≥64rem) */
  -webkit-backdrop-filter: blur(2.5rem);
  backdrop-filter: blur(2.5rem);
}
.portal__hero { display: flex; flex-direction: column; gap: 0.5rem; }
.portal__hero-title {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0;
}
.portal__hero-sub {
  font-family: var(--f-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Sidebar (Figma 544:26336 · Shell/Sidebar) */
.portal-sidebar {
  display: flex;
  flex-direction: column;
  background: rgba(5, 11, 50, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1.0625rem 0.5625rem; /* 17px 9px */
  box-shadow: 0 0.25rem 1.875rem rgba(93, 93, 93, 0.1);
  -webkit-backdrop-filter: blur(2.5rem);
  backdrop-filter: blur(2.5rem);
}
.portal-sidebar__eyebrow {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em; /* 1.2px */
  color: #fff;
  margin: 0 0 0.875rem;
  padding-left: 0.625rem;
  text-transform: uppercase;
}
.portal-sidebar__nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
/* Group labels (MY PLAN, ACCOUNT & SUPPORT). Desktop column only — the mobile
   nav is a horizontal strip where inline headings don't read. */
.portal-sidebar__group {
  display: none;
  width: 100%;
  margin: 0;
  padding: 1rem 0.625rem 0.25rem;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.6875rem; /* 11px */
  line-height: 0.875rem;
  letter-spacing: 0.05rem; /* 0.8px */
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.portal-sidebar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 0.625rem;
  border-radius: 12.5rem;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.25rem;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.portal-sidebar__link:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.portal-sidebar__link.is-active {
  background: var(--coral);
  color: var(--navy);
}
.portal-sidebar__icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
}
.portal-sidebar__icon svg { display: block; width: 100%; height: 100%; }
.portal-sidebar__label { flex: 1 1 auto; min-width: 0; }
/* Trailing mark on links that leave the portal (Classes & Events). */
.portal-sidebar__ext {
  display: inline-flex;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-left: auto;
  opacity: 0.9;
}
.portal-sidebar__ext svg { display: block; width: 100%; height: 100%; }

/* ── Survey reminder banner (Figma node 11421:6002) ───────────────────
   Nudges a member who started but didn't finish the survey. Rendered under
   .portal__hero, hidden until main.js confirms the client-side "started" flag.
   Mobile-first; ≥40rem matches the Figma padding/typography. */
.survey-reminder {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 1.5rem 1.25rem;
  box-sizing: border-box;
}
.survey-reminder[hidden] { display: none; }
.survey-reminder__content { display: flex; flex-direction: column; gap: 0.875rem; }
.survey-reminder__eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 0.375rem 0.75rem;
  color: #fff;
}
.survey-reminder__eyebrow-icon { display: inline-flex; }
.survey-reminder__eyebrow-icon svg { display: block; width: 0.875rem; height: 0.875rem; }
.survey-reminder__eyebrow-text {
  font-family: var(--f-head); font-weight: 700; font-size: 0.6875rem;
  letter-spacing: 1px; text-transform: uppercase; color: #fff;
}
.survey-reminder__title {
  font-family: var(--f-head); font-weight: 700; font-size: 1.5rem; line-height: 1.25;
  color: #fff; margin: 0;
}
.survey-reminder__sub {
  font-family: var(--f-body); font-size: 0.875rem; line-height: 1.57;
  color: rgba(255, 255, 255, 0.92); margin: 0;
}
.survey-reminder__progress { display: flex; flex-direction: column; gap: 0.375rem; padding-top: 0.25rem; }
.survey-reminder__prog-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.25rem 1rem; }
.survey-reminder__prog-count { font-family: var(--f-head); font-weight: 700; font-size: 0.75rem; color: #fff; }
.survey-reminder__prog-time { display: inline-flex; align-items: center; gap: 0.375rem; color: rgba(255, 255, 255, 0.85); }
.survey-reminder__prog-time-icon { display: inline-flex; }
.survey-reminder__prog-time-icon svg { display: block; width: 0.75rem; height: 0.75rem; }
.survey-reminder__prog-time span:last-child { font-family: var(--f-body); font-size: 0.75rem; color: rgba(255, 255, 255, 0.85); }
.survey-reminder__track { width: 100%; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.survey-reminder__fill { height: 6px; border-radius: 999px; background: #fff; transition: width 0.4s ease; }
.survey-reminder__cta-row { display: flex; padding-top: 0.375rem; }
.survey-reminder__cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--coral); color: var(--navy); border: 0; cursor: pointer;
  font-family: var(--f-head); font-weight: 700; font-size: 0.875rem; line-height: 1;
  border-radius: 999px; padding: 0.875rem 1.375rem;
  box-shadow: 0 8px 14px -2px rgba(255, 125, 107, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.survey-reminder__cta svg { display: block; width: 0.875rem; height: 0.875rem; transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.survey-reminder__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 20px -4px rgba(255, 125, 107, 0.45); }
.survey-reminder__cta:hover svg { transform: translateX(4px); }
@media (min-width: 40rem) {
  .survey-reminder { padding: 1.75rem 2rem; }
  .survey-reminder__title { font-size: 1.5rem; line-height: 1.25; }
  .survey-reminder__cta { padding: 0.875rem 1.375rem; }
}

/* ── Open Enrollment banner (Figma node 2777:4593) ───────────────────
   MyVEBA dashboard, rendered above the survey reminder for signed-in
   EMPLOYEES with an active OE window (ARES hasActiveOe). Mobile-first;
   ≥48rem is the Figma single-row layout. Fonts are exact at every width. */
.oe-banner {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem;
  background: var(--teal);
  border: 1px solid rgba(218, 221, 228, 0.3);
  border-radius: 1.5rem;
  padding: 1.75rem 2rem;
  overflow: hidden;
  box-sizing: border-box;
}
.oe-banner__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.25rem; height: 3.25rem; flex-shrink: 0;
  background: rgba(36, 35, 79, 0.04);
  border: 1px solid var(--navy);
  border-radius: 0.875rem;
  color: var(--navy);
}
.oe-banner__icon svg { display: block; width: 1.5rem; height: 1.5rem; }
.oe-banner__text { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; flex: 1 0 0; min-width: 1px; }
.oe-banner__meta { display: flex; align-items: center; gap: 0.625rem; flex-wrap: wrap; }
.oe-banner__eyebrow {
  display: inline-flex; align-items: center;
  background: rgba(36, 35, 79, 0.5);
  border: 1px solid var(--navy);
  border-radius: 999px;
  padding: 0.3125rem 0.625rem;
  font-family: var(--f-body); font-weight: 500; font-size: 0.625rem;
  letter-spacing: 1.2px; color: #fff; white-space: nowrap;
}
.oe-banner__dates { font-family: var(--f-body); font-weight: 500; font-size: 0.75rem; color: var(--navy); opacity: 0.95; }
.oe-banner__heading {
  font-family: var(--f-head); font-weight: 700; font-size: 1.375rem; line-height: 1.75rem;
  color: var(--navy); margin: 0;
}
.oe-banner__cta {
  display: inline-flex; align-items: center; gap: 0.5rem; flex-shrink: 0;
  background: var(--navy); color: #fff;
  font-family: var(--f-head); font-weight: 700; font-size: 0.875rem; line-height: 1;
  border-radius: 999px; padding: 0.875rem 1.375rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.oe-banner__cta svg { display: block; width: 0.875rem; height: 0.875rem; transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.oe-banner__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 20px -4px rgba(36, 35, 79, 0.35); }
.oe-banner__cta:hover svg { transform: translateX(4px); }
.oe-banner__cta[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
@media (min-width: 48rem) {
  .oe-banner { flex-direction: row; align-items: center; }
}

/* ── Dashboard cards ─────────────────────────── */
.portal__grid { display: flex; flex-direction: column; gap: 1rem; }
.portal__col { display: flex; flex-direction: column; gap: 0.625rem; }
.dash-card {
  background: #fff;
  color: var(--text-dark);
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 18px;
  box-shadow: 0 0.9375rem 0.9375rem rgba(93, 93, 93, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  position: relative;
}
.dash-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}
.dash-card__eyebrow {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: #9ca3af;
  margin: 0;
  text-transform: uppercase;
}
.dash-card__body {
  font-family: var(--f-body);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #4b5563;
  margin: 0;
}
.dash-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
}
.dash-link__chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  background: #e4ecff;
  border-radius: 50%;
  color: var(--blue);
}
.dash-icon-tile {
  width: 2.125rem;
  height: 2.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.625rem;
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
}
.dash-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(36, 35, 79, 0.3);
  border-radius: 12.5rem;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.15s ease;
  align-self: flex-start;
}
.dash-btn-outline:hover { background: rgba(36, 35, 79, 0.06); }

.dash-plan__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.5rem;
}
.dash-plan__tab {
  background: none;
  border: 0;
  padding: 0.25rem 0;
  font-family: var(--f-body);
  font-size: 0.9375rem;
  color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
  position: relative;
}
.dash-plan__tab.is-active {
  color: var(--blue);
  font-weight: 500;
}
.dash-plan__tab.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -0.5rem;
  height: 2px;
  background: var(--blue);
}
/* Carrier band: pastel iridescent bg with the carrier logo centered. */
.dash-plan__carrier {
  position: relative;
  height: 8rem;
  padding-left: 2rem;
  padding-right: 2rem;
  border-radius: 1rem;
  background-image: url('../img/dash-carrier-bg.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.dash-plan__carrier-logo {
  height: 104px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

/* Tab panels (one per plan, only the active one is visible). */
.dash-plan__panel { display: flex; flex-direction: column; gap: 0.875rem; }
.dash-plan__panel[hidden] { display: none; }
.dash-plan__list { margin: 0; }
.dash-plan__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid #f3f4f6;
  font-family: var(--f-body);
  font-size: 0.9375rem;
}
.dash-plan__row:first-child { border-top: 0; }
.dash-plan__row dt { color: #6b7280; margin: 0; }
.dash-plan__row dd { color: #111827; margin: 0; font-weight: 500; }
.dash-status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #dcfce7;
  color: #166534;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* Resources slider: horizontal flex of slides, JS controls translateX. */
.dash-slider { display: flex; flex-direction: column; gap: 0.875rem; overflow: hidden; }
.dash-slider__track {
  display: flex;
  gap: 0.625rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.dash-slide {
  flex: 0 0 100%; /* mobile: 1 card visible at a time */
  height: 223px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 0.5rem;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dash-slide:hover { transform: translateY(-1px); box-shadow: 0 0.375rem 0.875rem rgba(0, 0, 0, 0.05); }
.dash-slide__img {
  display: block;
  width: 100%;
  height: 120px;
  background-size: cover;
  background-position: center;
}
.dash-slide--video { cursor: pointer; }
.dash-slide--video:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
/* Video cover: centers the play badge; a fallback tint shows even with no image. */
.dash-slide__img--video {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--navy);
}
.dash-slide__play {
  width: 2.75rem;
  height: 2.75rem;
  display: block;
  transition: transform 0.2s ease;
}
.dash-slide__play svg { width: 100%; height: 100%; display: block; }
.dash-slide--video:hover .dash-slide__play { transform: scale(1.08); }
.dash-slide__body { display: flex; flex-direction: column; gap: 0.375rem; padding: 0.75rem; flex: 1 1 auto; }
.dash-slide__title {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.875rem;
  color: #191b23;
  line-height: 1.35;
}
.dash-slide__date {
  margin-top: auto; /* push to bottom of flex body regardless of title length */
  padding-top: 0.375rem;
  border-top: 1px solid #d6d6d6;
  font-family: var(--f-body);
  font-size: 0.75rem;
  color: #737785;
}

.dash-slider__nav { display: flex; align-items: center; gap: 0.75rem; }
.dash-slider__progress {
  position: relative;
  flex: 1 1 auto;
  height: 1px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}
.dash-slider__progress-fill {
  display: block;
  height: 100%;
  width: 33.333%; /* JS sets this to (visible / total) * 100 */
  background: #336AE9;
  border-radius: 999px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s ease;
  transform-origin: left center;
}
.dash-slider__arrows { display: inline-flex; gap: 0.5rem; flex: 0 0 auto; }
.dash-slider__arrow {
  width: 2.125rem;
  height: 2.125rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.15s ease;
}
.dash-slider__arrow:hover { background: #f4f8fe; }
.dash-slider__arrow[disabled] { opacity: 0.4; cursor: not-allowed; }

/* Benefit-guide card (Figma node 1451:3370): body copy stacked at the top
   left, "Read more" pinned to bottom-left, and the large magazine cover
   image filling the bottom-right corner of the card flush to its edges. */
.dash-guide {
  position: relative;
  flex: 1;
  overflow: hidden;
  min-height: 365px;
}
.dash-guide__body {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  max-width: 85%;
}
.dash-guide__cta {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-top: auto;
}
.dash-guide__cover {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 60%;
  max-width: 30rem;
  height: auto;
  filter: drop-shadow(0 0.25rem 0.875rem rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

/* Digital ID card decorative swoop background. */
.dash-id { position: relative; overflow: hidden; }
.dash-id__swoop {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 222px;
  height: 210px;
  max-width: 100%;
  pointer-events: none;
  z-index: 0;
}
.dash-id > *:not(.dash-id__swoop) { position: relative; z-index: 1; }

.dash-support__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.dash-tile {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1rem;
  background: #fcfcfc;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #111827;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dash-tile:hover { transform: translateY(-1px); box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.04); }
.dash-support .dash-tile,
.dash-help .dash-tile { padding: 11px 13px; }
.dash-tile__icon {
  width: 2.125rem;
  height: 2.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
}
.dash-tile--blue   .dash-tile__icon { background: #eff6ff; color: #1e40af; }
.dash-tile--green  .dash-tile__icon { background: #ecfdf5; color: #047857; }
.dash-tile--violet .dash-tile__icon { background: #f5f3ff; color: #6d28d9; }
.dash-tile__title { font-family: var(--f-body); font-weight: 500; font-size: 1rem; }
.dash-tile__desc  { font-family: var(--f-body); font-size: 0.875rem; color: #6b7280; }

/* ── Profile cards ───────────────────────────── */
.portal__stack { display: flex; flex-direction: column; gap: 1rem; }
.prof-card {
  background: #fff;
  color: var(--text-dark);
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
/* [hidden] override — the flex rule above otherwise wins over the attribute. */
.prof-card[hidden] { display: none; }
.prof-card__head { display: flex; flex-direction: column; gap: 0.25rem; }
.prof-card__eyebrow {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #737380;
  margin: 0;
  text-transform: uppercase;
}
.prof-card__help {
  font-family: var(--f-body);
  font-size: 0.8125rem;
  color: #6b7280;
  margin: 0;
}
.prof-list { margin: 0; display: flex; flex-direction: column; }
.prof-row {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0.75rem 0;
  border-top: 1px solid #f3f4f6;
  font-family: var(--f-body);
}
.prof-row:first-child { border-top: 0; }
.prof-row dt { color: #6b7280; font-size: 0.875rem; margin: 0; }
.prof-row dd { margin: 0; }
.prof-chip {
  display: inline-block;
  background: #f7f8fa;
  color: #111827;
  padding: 0.375rem 0.625rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
}
.prof-chip--block { display: block; line-height: 1.45; }
.prof-row__foot { color: #737380; font-size: 0.75rem; margin-top: 0.25rem; }

.prof-row--action,
.prof-row--toggle {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
}
.prof-row__copy { display: flex; flex-direction: column; gap: 0.125rem; flex: 1; min-width: 0; }
.prof-row__copy strong { font-family: var(--f-body); font-weight: 600; font-size: 0.9375rem; color: #121745; }
.prof-row__copy small  { font-family: var(--f-body); font-size: 0.8125rem; color: #737380; line-height: 1.4; }

.prof-btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(36, 35, 79, 0.3);
  border-radius: 12.5rem;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.prof-btn-outline { cursor: pointer; background: transparent; }
.prof-btn-outline:hover { background: rgba(36, 35, 79, 0.06); }

/* Change-password form (My Profile → Security settings) */
.prof-pw {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(18, 23, 69, 0.1);
}
.prof-pw[hidden] { display: none; }
.prof-pw__reqs { background: #f5f6fb; border-radius: 0.75rem; padding: 1rem 1.25rem; }
.prof-pw__reqs-title { font-family: var(--f-body); font-weight: 600; font-size: 0.875rem; color: #121745; margin: 0 0 0.5rem; }
.prof-pw__reqs-list { margin: 0; padding-left: 1.25rem; list-style: disc; font-family: var(--f-body); font-size: 0.8125rem; color: #737380; line-height: 1.6; }
.prof-pw__reqs-list li { transition: color 0.15s ease; }
/* On submit each requirement turns green (met) or red (not met). */
.prof-pw__reqs-list li.is-met   { color: #1e7e34; }
.prof-pw__reqs-list li.is-unmet { color: #b3261e; }
.prof-pw__field { display: flex; flex-direction: column; gap: 0.375rem; }
.prof-pw__label { font-family: var(--f-body); font-weight: 600; font-size: 0.875rem; color: #121745; }
.prof-pw__req { color: var(--coral); margin-left: 0.125rem; }
.prof-pw__input {
  font-family: var(--f-body); font-size: 0.9375rem; color: #121745;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(18, 23, 69, 0.18);
  border-radius: 0.625rem;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.prof-pw__input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(51, 106, 233, 0.15); }
.prof-pw__input-wrap { position: relative; display: flex; }
.prof-pw__input-wrap .prof-pw__input { width: 100%; padding-right: 2.75rem; }
.prof-pw__toggle {
  position: absolute; top: 50%; right: 0.5rem; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; padding: 0;
  background: transparent; border: 0; cursor: pointer; color: #737380;
  border-radius: 0.375rem; transition: color 0.15s ease;
}
.prof-pw__toggle:hover { color: #121745; }
.prof-pw__toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.prof-pw__icon { display: block; }
.prof-pw__icon--hide { display: none; }
.prof-pw__toggle.is-visible .prof-pw__icon--show { display: none; }
.prof-pw__toggle.is-visible .prof-pw__icon--hide { display: block; }
.prof-pw__feedback { font-family: var(--f-body); font-size: 0.875rem; line-height: 1.5; padding: 0.75rem 1rem; border-radius: 0.625rem; }
.prof-pw__feedback[hidden] { display: none; }
.prof-pw__feedback.is-error   { background: #fdecea; color: #b3261e; }
.prof-pw__feedback.is-success { background: #e6f4ea; color: #1e7e34; }
.prof-pw__actions { display: flex; gap: 0.75rem; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.prof-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.625rem 1.5rem; border: 0; border-radius: 12.5rem;
  background: var(--coral); color: var(--navy);
  font-family: var(--f-body); font-weight: 700; font-size: 0.875rem;
  cursor: pointer; transition: filter 0.15s ease, opacity 0.15s ease;
}
.prof-btn:hover { filter: brightness(0.96); }
.prof-btn:disabled, .prof-btn.is-loading { opacity: 0.6; cursor: default; }
.prof-btn-text {
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--f-body); font-weight: 600; font-size: 0.875rem;
  color: #737380; padding: 0.625rem 0.5rem;
}
.prof-btn-text:hover { color: #121745; }

/* iOS-style toggle */
.prof-toggle { position: relative; display: inline-block; width: 2.75rem; height: 1.5rem; flex-shrink: 0; cursor: pointer; }
.prof-toggle input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.prof-toggle__track {
  position: absolute; inset: 0;
  background: #d1d5db;
  border-radius: 1.5rem;
  transition: background 0.2s ease;
}
.prof-toggle__track::after {
  content: '';
  position: absolute;
  top: 0.125rem; left: 0.125rem;
  width: 1.25rem; height: 1.25rem;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}
.prof-toggle input:checked + .prof-toggle__track { background: var(--coral); }
.prof-toggle input:checked + .prof-toggle__track::after { transform: translateX(1.25rem); }

.prof-select { position: relative; }
.prof-select select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 1px solid rgba(18, 23, 69, 0.2);
  border-radius: 999px;
  padding: 0.375rem 1.75rem 0.375rem 0.75rem;
  font-family: var(--f-body);
  font-size: 0.875rem;
  color: #121745;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23121745' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.625rem center;
}

/* ── Tablet ≥ 48rem (768px) ──────────────────── */
@media (min-width: 48rem) {
  .portal { padding: calc(9.25rem + var(--announce-offset, 0rem)) 1.5rem 5rem; }
  .portal__hero-title { font-size: 3rem; }
  /* Tablet keeps the horizontal strip (no fixed height — that's desktop-only,
     see ≥64rem) and wraps so every link stays visible without scrolling. */
  .portal-sidebar__nav { flex-wrap: wrap; overflow: visible; }
  .prof-card { padding: 1.375rem; }

  .dash-support__grid { grid-template-columns: auto; /*1fr 1fr*/ }
  .dash-guide__cover { width: 55%; max-width: 32rem; }
  .dash-slide { flex: 0 0 calc((100% - 0.625rem) / 2); } /* 2-up on tablet */

  .prof-row--inline dt,
  .prof-row { /* labels above on tablet still */ }
}

/* ── Desktop ≥ 64rem (1024px) — sidebar pins to the left ── */
@media (min-width: 64rem) {
  .portal__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }
  .portal-sidebar {
    flex: 0 0 13.25rem; /* 212px */
    width: 13.25rem;
    height: 46.6875rem; /* 747px — column layout; Sign out pins to the bottom */
    position: sticky;
    top: 5.5rem;
    align-self: flex-start;
  }
  .portal-sidebar__nav {
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: visible;
  }
  .portal-sidebar__group { display: block; }
  .portal-sidebar__link {
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
  }
  /* Sign out sits at the bottom of the column (Figma: flex 1, items-end). */
  .portal-sidebar__link--signout { margin-top: auto; }
  .portal__content { flex: 1 1 auto; min-width: 0; padding: 50px; }
  .portal__hero-title { font-size: 4.5rem; }
  .portal__grid {
    flex-direction: row;
    align-items: flex-start;
  }
  .portal__col--main { flex: 1 1 60%; }
  .portal__col--side { flex: 1 1 40%; max-width: 33.25rem; }
  .dash-slide { flex: 0 0 calc((100% - 1.25rem) / 3); } /* 3-up on desktop */
  .dash-plan__carrier { height: 15.5625rem; } /* 249px */

  /* Profile rows go inline (label | value) at desktop. */
  .prof-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
  .prof-row dt { flex: 0 0 12rem; }
  .prof-row dd { text-align: right; }
  .prof-chip { text-align: left; }
  .prof-row--address dd { display: flex; flex-direction: column; align-items: flex-end; gap: 0.25rem; }
  .prof-row--address .prof-chip { text-align: left; }
}

/* ── ≥ 75rem (1200px) — utility bar surfaces, header gets taller. ── */
@media (min-width: 75rem) {
  .portal {  } /* utility-bar (~2rem) + main-nav (~6rem) + 1rem gap */
}

/* ── Wide desktop ≥ 80rem (1280px) — more breathing room ── */
@media (min-width: 80rem) {
  .portal__hero-title { font-size: 5.5rem; }
}

/* ───── MYVEBA COVERAGE PAGE ───── */
.cov-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  margin: 0 0 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cov-tabs::-webkit-scrollbar { display: none; }
.cov-tabs__tab { flex: 0 0 auto; white-space: nowrap; }
.cov-tabs__tab {
  background: none;
  border: 0;
  padding: 0.75rem 1.25rem;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  position: relative;
  transition: color 0.15s ease;
}
.cov-tabs__tab:hover { color: #fff; }
.cov-tabs__tab.is-active { color: #fff; }
.cov-tabs__tab.is-active::after {
  content: '';
  position: absolute;
  left: 1.25rem; right: 1.25rem; bottom: -1px;
  height: 3px; background: #fff; border-radius: 3px 3px 0 0;
}

.cov-panel { display: flex; flex-direction: column; gap: 0.625rem; }
.cov-panel[hidden] { display: none; }

.cov-grid { display: flex; flex-direction: column; gap: 0.625rem; }

.cov-card {
  background: #fff;
  color: var(--text-dark);
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.cov-card__head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 0.5rem; }
.cov-card__eyebrow {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #9ca3af;
  text-transform: uppercase;
  margin: 0;
}
.cov-card__help {
  font-family: var(--f-body);
  font-size: 0.8125rem;
  color: #6b7280;
  margin: 0;
}

.cov-plan__carrier {
  position: relative;
  height: 7.5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  border-radius: 1rem;
  background-image: url('../img/dash-carrier-bg.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cov-plan__carrier-logo {
  height: 88px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
/* Text fallback when the ARES carrier logo can't be resolved. */
.cov-plan__carrier-name {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  text-align: center;
  color: var(--white);
}

.cov-rows { margin: 0; display: flex; flex-direction: column; }
.cov-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid #f3f4f6;
  font-family: var(--f-body);
  font-size: 0.9375rem;
}
.cov-row:first-child { border-top: 0; }
.cov-row dt { color: #6b7280; margin: 0; }
.cov-row dd { color: #111827; margin: 0; font-weight: 500; text-align: right; }
.cov-row dd:empty::after { content: "—"; color: #9ca3af; font-weight: 400; }
.prof-chip:empty::after { content: "—"; color: #9ca3af; font-weight: 400; }

.cov-status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #d9f5e3;
  color: #297345;
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* Plan documents */
.cov-docs { height: 548px; overflow: hidden; }
.cov-docs .cov-doc-groups { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.cov-doc-groups { display: flex; flex-direction: column; gap: 0.75rem; }
.cov-doc-group {
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cov-doc-group.is-open {
  border-color: var(--blue);
  box-shadow: 0 6px 20px rgba(51, 106, 233, 0.1);
}
.cov-doc-group__heading { margin: 0; }
.cov-doc-group__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  background: var(--bg);
  border: 0;
  cursor: pointer;
  text-align: left;
  color: var(--navy);
  transition: background 0.2s ease, color 0.15s ease;
}
.cov-doc-group__toggle:hover { background: #e9f0fe; }
.cov-doc-group.is-open .cov-doc-group__toggle {
  background: var(--blue);
  color: #fff;
}
.cov-doc-group__title {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cov-doc-group__chevron {
  flex: 0 0 auto;
  transition: transform 0.25s ease;
}
.cov-doc-group.is-open .cov-doc-group__chevron { transform: rotate(180deg); }
.cov-doc-group .cov-doc-list { padding: 0.75rem; }
.cov-doc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; height: 19rem; overflow: auto; }
/* Author rule needed: the display:flex above overrides the UA [hidden] rule,
   so a collapsed accordion panel would otherwise keep showing its documents. */
.cov-doc-list[hidden] { display: none; }
.cov-doc {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  min-height: 3.375rem;
  background: #fff;
}
.cov-doc__badge {
  flex: 0 0 auto;
  width: 2rem; height: 2rem;
  background: #edf2ff;
  color: #336ae9;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
}
.cov-doc__title {
  flex: 1 1 auto;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.875rem;
  color: #111827;
  line-height: 1.35;
  min-width: 0;
}
.cov-doc__actions { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.375rem; }
.cov-doc__view,
.cov-doc__download {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.625rem;
  border: 0;
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.cov-doc__view { background: transparent; color: #6b7280; }
.cov-doc__view:hover { background: #f4f8fe; color: var(--blue); }
.cov-doc__download { background: transparent; color: #737785; }
.cov-doc__download:hover { background: #f4f8fe; color: var(--blue); }
.cov-doc__label { letter-spacing: 0.04em; text-transform: uppercase; }
/* Mobile: Plan Documents — drop the fixed heights/inner scroll so the open
   accordion shows all its docs, and stack each document's actions below its
   (wrapping) title so long file names stay legible in the narrow column. */
@media (max-width: 47.9375rem) {
  .cov-docs { height: auto; }
  .cov-docs .cov-doc-groups { overflow: visible; }
  .cov-doc-list { height: auto; overflow: visible; }
  .cov-doc { flex-wrap: wrap; align-items: flex-start; min-height: 0; }
  .cov-doc__title { flex: 1 1 auto; overflow-wrap: anywhere; }
  .cov-doc__actions { flex: 1 1 100%; justify-content: flex-end; }
}

/* Digital ID strip */
.cov-id {
  flex-direction: column;
  gap: 1rem;
}
.cov-id__body { display: flex; flex-direction: column; gap: 0.375rem; }
.cov-id__copy {
  font-family: var(--f-body);
  font-size: 0.9375rem;
  color: #4b5563;
  margin: 0;
  line-height: 1.55;
}
.cov-btn-outline {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border: 1px solid #d9d9de;
  border-radius: 12.5rem;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.15s ease;
}
.cov-btn-outline:hover { background: #f4f8fe; }

/* Dependents */
.cov-deps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}
.cov-dep {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  background: #fff;
}
.cov-dep__head { display: flex; align-items: center; gap: 0.75rem; }
.cov-dep__avatar {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.875rem;
  background: linear-gradient(135deg, #18d0c6 0%, #528cf2 100%);
}
.cov-dep:nth-child(even) .cov-dep__avatar {
  background: linear-gradient(135deg, #ff7d6b 0%, #336ae9 100%);
}
.cov-dep__meta { display: flex; flex-direction: column; gap: 0.125rem; }
.cov-dep__name { font-family: var(--f-body); font-weight: 600; font-size: 0.9375rem; color: #121745; margin: 0; }
.cov-dep__sub  { font-family: var(--f-body); font-size: 0.8125rem; color: #6b7280; margin: 0; }

/* Dep card values render as light chips (matches the dependent card spec). */
.cov-dep .cov-row dd {
  border-radius: 6px;
  background: #F7F8FA;
  padding: 5px 10px;
}
.cov-dep__rows { margin: 0; display: flex; flex-direction: column; }
.cov-dep__row {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0.5rem 0;
  border-top: 1px solid #f3f4f6;
}
.cov-dep__row:first-child { border-top: 0; }
.cov-dep__row dt { color: #6b7280; font-size: 0.8125rem; margin: 0; }
.cov-dep__row dd { margin: 0; }
.cov-chip {
  display: inline-block;
  background: #f7f8fa;
  color: #111827;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  font-size: 0.8125rem;
}

/* Tablet ≥ 48rem */
@media (min-width: 48rem) {
  .cov-card { padding: 1.5rem; }
  .cov-deps__grid { grid-template-columns: 1fr 1fr; }
  .cov-tabs__tab { padding: 0.875rem 1.5rem; font-size: 1.0625rem; }
}

/* Desktop ≥ 64rem — plan + docs side-by-side, ID card spans full width */
@media (min-width: 64rem) {
  .cov-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .cov-plan { grid-column: 1 / 2; }
  .cov-docs { grid-column: 2 / 3; }
  .cov-id   { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .cov-id__body { flex: 1 1 auto; }
}

/* ═══════════════════════════════════════════════════════════════════════
   MEMBER SURVEY MODAL  (.msurvey-*)  — Figma node 11421:3054. Multistep
   onboarding survey over the MyVEBA dashboard. Mobile-first; min-width
   breakpoint at 48rem (centered 780px card).
═══════════════════════════════════════════════════════════════════════ */
/* Above back-to-top/video modals (9000–9999), below the sign-in (99999) and
   session-timeout (100000) overlays, which must always win. */
.msurvey { position: fixed; inset: 0; z-index: 10500; display: flex; align-items: flex-end; justify-content: center; padding: 0; }
.msurvey[hidden] { display: none; }
.msurvey__overlay { position: absolute; inset: 0; background: rgba(18, 23, 69, 0.55); }
.msurvey__modal {
  position: relative; z-index: 1;
  width: 100%; max-height: 92vh; overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--color-border-default);
  border-radius: 1rem 1rem 0 0;
  box-shadow: 0 20px 24px -4px rgba(0,0,0,0.08), 0 8px 8px -4px rgba(0,0,0,0.03);
  padding: 1.75rem 1.25rem;
  display: flex; flex-direction: column; gap: 1.75rem;
}

/* Stepper */
.msurvey__stepper { display: flex; flex-direction: column; gap: 0.5rem; }
.msurvey__step-label { font-family: var(--f-body); font-weight: 500; font-size: 0.75rem; color: rgba(36, 35, 79, 0.55); margin: 0; }
.msurvey__track { height: 6px; background: #e5e8ed; border-radius: 4px; overflow: hidden; }
.msurvey__fill { height: 6px; background: var(--blue); border-radius: 4px; transition: width 0.35s ease; }

/* Hero (step 1) */
.msurvey__hero { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.75rem; }
.msurvey__hero-title { font-family: var(--f-head); font-weight: 700; font-size: 1.5rem; line-height: 1.29; color: #121745; margin: 0; }
.msurvey__hero-sub { font-family: var(--f-body); font-size: 0.875rem; line-height: 1.57; color: #737a8c; margin: 0; }

/* Question group */
.msurvey-panel { display: flex; flex-direction: column; }
.msurvey-panel[hidden] { display: none; }
.msurvey-group + .msurvey-group { margin-top: 1.75rem; }
.msurvey-group__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.msurvey-group__title { font-family: var(--f-head); font-weight: 600; font-size: 1.375rem; line-height: 1.25; color: #24234f; margin: 0; }
.msurvey-counter { flex-shrink: 0; background: rgba(30, 93, 223, 0.1); border-radius: 100px; padding: 0.125rem 0.5rem; font-family: var(--f-body); font-weight: 500; font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
.msurvey-group__q { font-family: var(--f-body); font-size: 0.9375rem; line-height: 1.5; color: var(--muted); margin: 0.5rem 0 1.5rem; }

/* Chips (multi-select) */
.msurvey-chips { display: flex; flex-wrap: wrap; gap: 0.625rem 0.5rem; }
.msurvey-chip {
  background: #fafbfd; border: 1px solid #e5e8ed; border-radius: 100px;
  padding: 0.5rem 1rem; cursor: pointer;
  font-family: var(--f-body); font-weight: 400; font-size: 0.8125rem; line-height: 1.3; color: #4a5160;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.msurvey-chip:hover { border-color: var(--blue); }
.msurvey-chip.is-selected { background: #24234f; border-color: #24234f; color: #fff; font-weight: 600; }
.msurvey-chip:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(51,106,233,0.18); }

/* Step 6: radios + conditional chips + checkbox */
.msurvey-radios { display: flex; flex-direction: column; gap: 0.875rem; }
.msurvey-radio, .msurvey-check { display: flex; align-items: flex-start; gap: 0.625rem; cursor: pointer; }
.msurvey-radio input, .msurvey-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.msurvey-radio__control {
  flex-shrink: 0; width: 1.25rem; height: 1.25rem; margin-top: 0.0625rem;
  border: 1.5px solid #d9deed; border-radius: 50%; background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.msurvey-radio input:checked + .msurvey-radio__control { border-color: var(--blue); box-shadow: inset 0 0 0 5px var(--blue), inset 0 0 0 8px #fff; background: #fff; }
.msurvey-radio input:focus-visible + .msurvey-radio__control,
.msurvey-check input:focus-visible + .msurvey-check__control { box-shadow: 0 0 0 3px rgba(51,106,233,0.18); }
.msurvey-radio__label, .msurvey-check__label { font-family: var(--f-body); font-size: 0.9375rem; line-height: 1.5; color: #24234f; }
.msurvey-chips--conditional { margin-left: 1.875rem; }
.msurvey-check__control {
  flex-shrink: 0; width: 1.25rem; height: 1.25rem; margin-top: 0.0625rem;
  border: 1.5px solid #d9deed; border-radius: 5px; background-color: var(--white);
  background-repeat: no-repeat; background-position: center; background-size: 0.75rem;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.msurvey-check input:checked + .msurvey-check__control {
  background-color: var(--blue); border-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20 6 9 17l-5-5' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Nav */
.msurvey__nav { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.25rem; }
.msurvey__nav-row { display: flex; align-items: center; justify-content: space-between; }
.msurvey__nav-row--center { justify-content: center; }
.msurvey__back {
  display: inline-flex; align-items: center; gap: 0.25rem;
  background: none; border: 0; cursor: pointer; padding: 0.5rem 0;
  font-family: var(--f-body); font-weight: 500; font-size: 0.875rem; color: #24234f;
  transition: opacity 0.15s ease;
}
.msurvey__back[aria-disabled="true"] { opacity: 0.35; cursor: default; }
.msurvey__back svg { display: block; }
.msurvey__continue {
  background: var(--coral); border: 0; cursor: pointer;
  border-radius: 9999px; padding: 0.875rem 1.75rem;
  font-family: var(--f-body); font-weight: 600; font-size: 0.9375rem; color: var(--text-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.msurvey__continue:hover { transform: translateY(-2px); box-shadow: 0 8px 14px -2px rgba(255,125,107,0.4); }
.msurvey__skip { background: none; border: 0; cursor: pointer; padding: 0.375rem; font-family: var(--f-body); font-weight: 500; font-size: 0.875rem; color: #24234f; text-decoration: underline; text-underline-offset: 2px; }
.msurvey__skip:hover { color: var(--blue); }

/* Lock footer */
.msurvey__lock {
  background: #fafbfd; border-radius: 0.75rem; padding: 0.75rem 1rem; margin: 0;
  font-family: var(--f-body); font-size: 0.75rem; line-height: 1.5; color: var(--muted); text-align: center;
}

/* ── Tablet+ (centered 780px card, as designed) ── */
@media (min-width: 48rem) {
  .msurvey { align-items: center; padding: 2rem; }
  .msurvey__modal { max-width: 48.75rem; border-radius: 1rem; padding: 2.5rem 3rem; }
  .msurvey__hero-title { font-size: 1.75rem; line-height: 1.29; }
  .msurvey-group__title { font-size: 1.625rem; }
}

/* ─────────────────────────────────────────────────────────────────────────
   MyVEBA portal — ID Cards (Figma node 2552:12277)
   Mobile-first; min-width queries step up to the desktop comp. Typography
   follows the design's sizes/weights exactly; the design's Inter maps to the
   theme's body face (--f-body), as on the sibling portal pages.
   ───────────────────────────────────────────────────────────────────────── */
.idc-hero { display: flex; flex-direction: column; gap: 1rem; }
.idc-hero__title {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 2.25rem;          /* 72px at ≥64rem — see below */
  line-height: 1;
  letter-spacing: -0.03em;     /* -2.16px at 72px */
  color: #fff;
  margin: 0;
}
.idc-hero__intro,
.idc-hero__note {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.875rem;         /* 14px */
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}
.idc-hero__intro { max-width: 44.0625rem; }  /* 705px */
.idc-hero__note {
  align-self: flex-start;
  background: rgba(36, 35, 79, 0.3);
  border-radius: 0.625rem;
  padding: 0.625rem 1.25rem;
}

.idc { display: flex; flex-direction: column; gap: 1.5rem; }

/* Tabs — white underline on the active item, over the dark portal card. */
.idc-tabs {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.idc-tabs::-webkit-scrollbar { display: none; }
.idc-tabs__tab {
  flex: 0 0 auto;
  background: none;
  border: 0;
  padding: 1rem;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 1.25rem;          /* 20px */
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0.6;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color 0.15s ease, opacity 0.15s ease;
}
.idc-tabs__tab:hover { opacity: 1; color: #fff; }
.idc-tabs__tab.is-active {
  font-weight: 600;
  color: #fff;
  opacity: 1;
}
.idc-tabs__tab.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: #fff;
}

.idc-panel { display: flex; flex-direction: column; gap: 1rem; }
.idc-panel[hidden] { display: none; }

/* One row per carrier: tile + instructions. */
.idc-row { display: flex; flex-direction: column; gap: 1rem; align-items: stretch; }

/* Carrier tile */
.idc-tile {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border: 1px solid #d1d1d9;
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow:
    0 12px 16px -4px rgba(0, 0, 0, 0.08),
    0 4px 6px -2px rgba(0, 0, 0, 0.03);
}
.idc-tile__top { display: flex; flex-direction: column; gap: 0.75rem; }
.idc-tile__logo { height: 2.75rem; }        /* 44px */
.idc-tile__logo img {
  height: 100%;
  width: auto;
  max-width: 7.875rem;                      /* 126px */
  object-fit: contain;
  object-position: left center;
}
.idc-tile__text { display: flex; flex-direction: column; gap: 0.375rem; }
.idc-tile__name {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 1.125rem;                      /* 18px */
  color: #1f1f26;
  margin: 0;
}
.idc-tile__desc {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 0.75rem;                       /* 12px */
  color: #737380;
  margin: 0;
}
.idc-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 1rem;                          /* 16px */
  line-height: 1.5;
  color: #010a0a;
  text-decoration: none;
}
.idc-tile__cta-icon { transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.idc-tile__cta:hover { color: var(--blue); }
.idc-tile__cta:hover .idc-tile__cta-icon { transform: translate(3px, -3px); }

/* Instructions card */
.idc-card {
  box-sizing: border-box;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.25rem;
}
.idc-card__eyebrow {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.75rem;                       /* 12px */
  letter-spacing: 0.1em;                    /* 1.2px */
  text-transform: uppercase;
  color: #737380;
  margin: 0;
}
.idc-card__block { display: flex; flex-direction: column; gap: 0.625rem; align-items: flex-start; }
.idc-card__label {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 1.125rem;                      /* 18px */
  color: #1f1f26;
  margin: 0;
}
.idc-card__body {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.75rem;                       /* 12px */
  line-height: 1.5;
  color: #737380;
  margin: 0;
  white-space: pre-line;                    /* each step in the copy deck is its own line */
}
.idc-card__body--note { font-style: normal; }
.idc-card__phone { color: var(--blue); text-decoration: none; white-space: nowrap; }
.idc-card__phone:hover { text-decoration: underline; }

/* "Go here" button */
.idc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--coral);
  border-radius: 22.5rem;
  padding: 0.875rem 2.5rem;                 /* 14px 40px */
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.9375rem;                     /* 15px */
  color: #121745;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.25s ease;
}
.idc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 125, 107, 0.35);
}
.idc-btn .idc-ext { flex: 0 0 auto; }

.idc-empty {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.25rem;
}

@media (min-width: 48rem) {
  .idc-hero__title { font-size: 3rem; }
}

@media (min-width: 64rem) {
  .idc-hero__title { font-size: 4.5rem; }   /* 72px, per the comp */
  .idc-hero { gap: 1rem; }
  /* Tile is a fixed 343×240 next to a flexible instructions card. `flex-start`
     keeps it at its own height instead of stretching to match the (taller)
     instructions card, as in the comp. */
  .idc-row { flex-direction: row; gap: 1rem; align-items: flex-start; }
  .idc-tile {
    flex: 0 0 21.4375rem;                   /* 343px */
    width: 21.4375rem;
    height: 15rem;                          /* 240px */
  }
}

/* Sentence-case exemptions — DISABLED along with the heading sentence-case
   block above (headings render as authored now, so nothing needs opting out).

.portal__hero-title,
.portal__hero-title::first-letter,
.idc-hero__title,
.idc-hero__title::first-letter,
— Login slide-in step titles: "Step 1: Register" — a colon isn't a sentence
  boundary for the caps pass, so preserve the authored casing outright.
.mv-login__title,
.mv-login__title::first-letter,
— Book Appointment page title: deliberate title case ("Book an Appointment").
.bkap-title,
.bkap-title::first-letter {
  text-transform: none !important;
}
*/
