/* UHAA Program Manager — participant portal styles (v2.4.6). Loaded after public.css. */

/* ── Program colour dots ─────────────────────────────────────────────────
   .uhaa-prog-dot (public.css) sits left of every program name in the
   participant portal. Inside flex rows that already have a gap, drop the
   dot's own margin so spacing stays even. */
#uhaa-participant-portal .uhaa-myprog-program-head .uhaa-prog-dot,
#uhaa-participant-portal .uhaa-enroll-accordion__toggle .uhaa-prog-dot {
  margin-right: 0;
}
#uhaa-participant-portal .uhaa-enroll-accordion__toggle .uhaa-prog-dot,
#uhaa-participant-portal .uhaa-myprog-program-head .uhaa-prog-dot,
#uhaa-participant-portal .uhaa-browse-program__header .uhaa-prog-dot {
  width: 12px;
  height: 12px;
}
#uhaa-participant-portal .uhaa-browse-program__header .uhaa-prog-dot {
  vertical-align: 1px;
}
#uhaa-participant-portal .uhaa-session-card__program .uhaa-prog-dot,
#uhaa-participant-portal .uhaa-next-session__program .uhaa-prog-dot {
  width: 8px;
  height: 8px;
  margin-right: .35rem;
  vertical-align: 1px;
}
#uhaa-participant-portal .uhaa-cert-card h3 .uhaa-prog-dot {
  vertical-align: 2px;
}
#uhaa-participant-portal .uhaa-cert-card__icon svg {
  display: inline-block;
}

/* ── Loading states ──────────────────────────────────────────────────────── */
#uhaa-participant-portal .uhaa-tab-loading .uhaa-loading-msg,
.uhaa-donor-wall__loading .uhaa-loading-msg,
.uhaa-verify-result .uhaa-loading-msg {
  display: block;
  margin-top: .65rem;
  text-align: center;
}
.uhaa-verify-result .uhaa-tab-loading,
.uhaa-donor-wall__loading .uhaa-tab-loading {
  padding: 1rem 0;
}

/* Respect reduced-motion preferences for the loading dots */
@media (prefers-reduced-motion: reduce) {
  .uhaa-tab-loading .uhaa-spinner div,
  .uhaa-tab-loading .uhaa-spinner span {
    animation: none;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   v2.4.8 — Attendance: one card per program / series
   ══════════════════════════════════════════════════════════════════════════ */
#uhaa-participant-portal .uhaa-att-list { display: flex; flex-direction: column; gap: 20px; }
#uhaa-participant-portal .uhaa-att-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top: 5px solid var(--card-accent, #0A2540);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(10,37,64,.06), 0 6px 18px rgba(10,37,64,.04);
  overflow: hidden;
  min-width: 0;
}
#uhaa-participant-portal .uhaa-att-card__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .5rem 1rem;
  padding: 1rem 1.25rem .95rem;
  border-bottom: 1px solid #eef0f3;
  background: linear-gradient(to bottom, #fbfcfe, #fff);
}
#uhaa-participant-portal .uhaa-att-card__title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .2rem .6rem;
  min-width: 0;
}
#uhaa-participant-portal .uhaa-att-card__program .uhaa-prog-dot {
  width: 12px; height: 12px; margin: 0 .55rem 0 0; flex-shrink: 0;
}
#uhaa-participant-portal .uhaa-att-card h3.uhaa-att-card__program {
  display: inline-flex;
  align-items: center;
  margin: 0 !important;
  padding: 0;
  border: 0;
  font-size: 1.15rem !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  color: #0A2540;
}
#uhaa-participant-portal .uhaa-att-card__term { font-size: .9rem; color: #4b5563; white-space: nowrap; }
#uhaa-participant-portal .uhaa-att-card__summary {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .15rem .4rem;
  font-size: .9rem;
  color: #374151;
  white-space: nowrap;
}
#uhaa-participant-portal .uhaa-att-card__pct { font-size: 1.05rem; color: #0A2540; font-weight: 800; }
#uhaa-participant-portal .uhaa-att-card__sep { color: #9ca3af; }
#uhaa-participant-portal .uhaa-att-card__excused {
  flex-basis: 100%;
  text-align: right;
  font-size: .8rem;
  color: #6b7280;
}
#uhaa-participant-portal .uhaa-att-card__bar {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 99px;
  background: #eef0f3;
  overflow: hidden;
}
#uhaa-participant-portal .uhaa-att-card__bar > span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--card-accent, #0A2540);
}
#uhaa-participant-portal .uhaa-att-card__body { padding: .25rem 1.25rem .75rem; }
#uhaa-participant-portal .uhaa-att-card .uhaa-att-table { margin: 0; }
#uhaa-participant-portal .uhaa-att-card .uhaa-att-table th { background: transparent; }
#uhaa-participant-portal .uhaa-att-card__none { margin: .75rem 0 .5rem; color: #6b7280; font-size: .92rem; }

/* Phones: header stacks; each session is a compact row inside the program card */
@media (max-width: 640px) {
  #uhaa-participant-portal .uhaa-att-list { gap: 16px; }
  #uhaa-participant-portal .uhaa-att-card__head { grid-template-columns: 1fr; padding: .9rem 1rem .85rem; }
  #uhaa-participant-portal .uhaa-att-card__summary { justify-content: flex-start; }
  #uhaa-participant-portal .uhaa-att-card__excused { flex-basis: auto; text-align: left; }
  #uhaa-participant-portal .uhaa-att-card__excused::before { content: "· "; color: #9ca3af; }
  #uhaa-participant-portal .uhaa-att-card__body { padding: .6rem .6rem .7rem; background: #f8fafc; }
  #uhaa-participant-portal .uhaa-att-card .uhaa-att-table.uhaa-rtable tr {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "session session status" "date time time";
    align-items: center;
    gap: .3rem .4rem;
    margin: 0 0 .5rem;
    padding: .65rem .8rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 3px solid var(--card-accent, #0A2540);
    border-radius: 8px;
  }
  #uhaa-participant-portal .uhaa-att-card .uhaa-att-table.uhaa-rtable tr:last-child { margin-bottom: 0; }
  #uhaa-participant-portal .uhaa-att-card .uhaa-att-table.uhaa-rtable td {
    display: block;
    width: auto;
    padding: 0 !important;
    border: 0 !important;
    text-align: left;
  }
  #uhaa-participant-portal .uhaa-att-card .uhaa-att-table.uhaa-rtable td::before { content: none; }
  #uhaa-participant-portal .uhaa-att-card .uhaa-att-table.uhaa-rtable td:nth-child(2) {
    grid-area: session; font-weight: 700; color: #0A2540; font-size: .95rem; line-height: 1.35;
  }
  #uhaa-participant-portal .uhaa-att-card .uhaa-att-table.uhaa-rtable td:nth-child(1) {
    grid-area: date; font-size: .82rem; color: #4b5563; white-space: nowrap;
  }
  #uhaa-participant-portal .uhaa-att-card .uhaa-att-table.uhaa-rtable td:nth-child(3)::before { content: "· "; color: #9ca3af; }
  #uhaa-participant-portal .uhaa-att-card .uhaa-att-table.uhaa-rtable td:nth-child(3) {
    grid-area: time; font-size: .82rem; color: #4b5563;
  }
  #uhaa-participant-portal .uhaa-att-card .uhaa-att-table.uhaa-rtable td:nth-child(4) {
    grid-area: status; align-self: start; justify-self: end;
  }
}

/* ── My Programs: each program is its own group ─────────────────────────── */
#uhaa-participant-portal .uhaa-myprog-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
#uhaa-participant-portal .uhaa-myprog-group .uhaa-myprog-program-head {
  margin: 0;
  padding: 0 0 .5rem;
  border-bottom: 2px solid var(--card-accent, #e8ddd0);
}
#uhaa-participant-portal .uhaa-myprog-group .uhaa-myprog-program-name {
  font-size: .92rem;
  line-height: 1.35;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #0A2540;
}
#uhaa-participant-portal .uhaa-enroll-list > .uhaa-myprog-group + .uhaa-myprog-group { margin-top: 8px; }
@media (max-width: 640px) {
  #uhaa-participant-portal .uhaa-enroll-card__title-row { flex-wrap: wrap; }
  /* v2.4.9: keep the series name readable when the badge / button are longer (Spanish):
     they move to their own line instead of squeezing or overlapping the title */
  #uhaa-participant-portal .uhaa-enroll-card__title { flex: 1 1 10rem; overflow-wrap: anywhere; }
  #uhaa-participant-portal .uhaa-enroll-card__body-row { flex-direction: column; }
  #uhaa-participant-portal .uhaa-enroll-card__body-right { max-width: none; }
  #uhaa-participant-portal .uhaa-enroll-card__dates { flex-direction: row; flex-wrap: wrap; }
  #uhaa-participant-portal .uhaa-portal-drop-btn,
  #uhaa-participant-portal .uhaa-reenroll-btn { min-height: 40px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   v2.4.9 — EN / ES language switch (portal sidebar, [uhaa_portal_nav],
   [uhaa_lang_switch], participant login prompt, certificate verify page)
   ══════════════════════════════════════════════════════════════════════════ */
.uhaa-lang-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: #f1f3f6;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  box-sizing: border-box;
}
.uhaa-lang-switch__btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 30px;
  margin: 0;
  padding: 4px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #4b5563;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none;
  text-transform: none;
  letter-spacing: 0;
  transition: background .15s, color .15s, box-shadow .15s;
}
.uhaa-lang-switch__btn:hover { color: #0A2540; background: rgba(255,255,255,.6); }
.uhaa-lang-switch__btn.is-active,
.uhaa-lang-switch__btn[aria-pressed="true"] {
  background: #fff;
  color: #0A2540;
  box-shadow: 0 1px 2px rgba(10,37,64,.18);
}
.uhaa-lang-switch__btn:focus-visible { outline: 2px solid #0070F3; outline-offset: 1px; }
.uhaa-lang-switch__btn:disabled { cursor: progress; }
.uhaa-lang-switch[aria-busy="true"] { opacity: .75; }

/* Portal sidebar (v2.5.0): the switch sits at the BOTTOM, under the Resources
   links — same place as in the [uhaa_portal_nav] menu */
.uhaa-sidebar-user { flex-wrap: wrap; }
.uhaa-sidebar-user .uhaa-sidebar-user-info { flex: 1 1 0; }
.uhaa-sidebar-user .uhaa-lang-switch { flex: 1 1 100%; margin-top: 4px; }
.uhaa-sidebar .uhaa-sidebar-lang { padding: 4px 16px 14px; }
.uhaa-sidebar .uhaa-sidebar-lang .uhaa-lang-switch { width: 100%; }

/* [uhaa_portal_nav] menu: below the links */
.uhaa-portal-nav-shortcode .uhaa-lang-switch--nav { margin: 4px 16px 8px; }

/* Public pages ([uhaa_lang_switch], login prompt, verify page) */
.uhaa-lang-switch--inline { display: inline-flex; width: auto; margin: 0 0 12px; }
.uhaa-lang-switch--inline .uhaa-lang-switch__btn { flex: 0 0 auto; padding: 4px 14px; }

@media (max-width: 768px) {
  /* Phone: name on the left, switch on the right — one row */
  .uhaa-portal-shell .uhaa-sidebar-user { flex-wrap: nowrap; }
  .uhaa-portal-shell .uhaa-sidebar-user .uhaa-lang-switch { flex: 0 0 auto; margin: 0 0 0 auto; }
  .uhaa-portal-shell .uhaa-sidebar-user .uhaa-lang-switch__btn { padding: 4px 10px; min-height: 32px; }
  .uhaa-portal-nav-shortcode .uhaa-lang-switch--nav { grid-column: 1 / -1; margin: 2px 0 0; }
  /* Phone: its own full-width row at the bottom of the menu */
  .uhaa-portal-shell .uhaa-sidebar .uhaa-sidebar-lang {
    flex: 1 1 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 16px 12px;
    border-top: 1px solid #e5e7eb;
  }
  .uhaa-portal-shell .uhaa-sidebar .uhaa-sidebar-lang .uhaa-lang-switch__btn { min-height: 36px; font-size: 13.5px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   v2.5.0 — Scholarships tab: list, application wizard, results
   Brand: navy #0A2540 · blue #0070F3 · teal #00C2A8 · orange #FF6B35 · gold #E3B341 / #FFF4D6
   ══════════════════════════════════════════════════════════════════════════ */
#uhaa-participant-portal .uhaa-sch {
  --sch-navy: #0A2540;
  --sch-blue: #0070F3;
  --sch-teal: #00C2A8;
  --sch-teal-ink: #007D6C;
  --sch-orange: #FF6B35;
  --sch-orange-ink: #B9461C;
  --sch-gold: #E3B341;
  --sch-cream: #FFF4D6;
  --sch-ink: #1f2937;
  --sch-muted: #5b6472;
  --sch-line: #e3e8ef;
  --sch-soft: #f6f8fb;
  --sch-red: #B42318;
  --sch-display: 'Syne', 'Inter', inherit;
  color: var(--sch-ink);
  font-size: 15px;
  line-height: 1.55;
  min-width: 0;
}
/* Visually-hidden helpers are absolutely positioned: keep them inside their box (no page overflow) */
#uhaa-participant-portal .uhaa-sch,
#uhaa-participant-portal .uhaa-sch-chip,
#uhaa-participant-portal .uhaa-sch-btn,
#uhaa-participant-portal .uhaa-sch-iconbtn,
#uhaa-participant-portal .uhaa-sch-steps { position: relative; }
#uhaa-participant-portal .uhaa-sch *,
#uhaa-participant-portal .uhaa-sch *::before,
#uhaa-participant-portal .uhaa-sch *::after { box-sizing: border-box; }
#uhaa-participant-portal .uhaa-sch svg { width: 18px; height: 18px; flex-shrink: 0; }
#uhaa-participant-portal .uhaa-sch p { margin: 0; }
#uhaa-participant-portal .uhaa-sch .uhaa-sch-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
#uhaa-participant-portal .uhaa-sch .uhaa-sch-muted { color: #8a93a1; font-style: italic; }
#uhaa-participant-portal .uhaa-sch [tabindex="-1"]:focus { outline: none; }
#uhaa-participant-portal .uhaa-sch [tabindex="-1"]:focus-visible { outline: 2px solid var(--sch-blue); outline-offset: 4px; border-radius: 4px; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
#uhaa-participant-portal .uhaa-sch-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 44px; margin: 0; padding: .6rem 1.15rem;
  border: 1.5px solid transparent; border-radius: 10px;
  font: inherit; font-size: .95rem; font-weight: 650; line-height: 1.2; letter-spacing: 0; text-transform: none;
  text-decoration: none; cursor: pointer; white-space: nowrap; box-shadow: none;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .05s;
}
#uhaa-participant-portal .uhaa-sch-btn:active:not(:disabled) { transform: translateY(1px); }
#uhaa-participant-portal .uhaa-sch-btn:focus-visible,
#uhaa-participant-portal .uhaa-sch-chip:focus-visible,
#uhaa-participant-portal .uhaa-sch-back:focus-visible,
#uhaa-participant-portal .uhaa-sch-iconbtn:focus-visible,
#uhaa-participant-portal .uhaa-sch-fix:focus-visible,
#uhaa-participant-portal .uhaa-sch-more:focus-visible,
#uhaa-participant-portal .uhaa-sch-retry:focus-visible,
.uhaa-sch-dialog .uhaa-sch-btn:focus-visible { outline: 3px solid rgba(0,112,243,.45); outline-offset: 2px; }
#uhaa-participant-portal .uhaa-sch-btn--primary,
.uhaa-sch-dialog .uhaa-sch-btn--primary { background: var(--sch-navy, #0A2540); color: #fff; }
#uhaa-participant-portal .uhaa-sch-btn--primary:hover:not(:disabled),
.uhaa-sch-dialog .uhaa-sch-btn--primary:hover:not(:disabled) { background: #12385f; color: #fff; box-shadow: 0 6px 16px rgba(10,37,64,.22); }
#uhaa-participant-portal .uhaa-sch-btn--outline { background: #fff; color: var(--sch-navy); border-color: #c4d0de; }
#uhaa-participant-portal .uhaa-sch-btn--outline:hover:not(:disabled) { border-color: var(--sch-navy); background: #f5f8fc; color: var(--sch-navy); }
#uhaa-participant-portal .uhaa-sch-btn--ghost,
.uhaa-sch-dialog .uhaa-sch-btn--ghost { background: transparent; color: #4b5563; border-color: #d6dde6; }
#uhaa-participant-portal .uhaa-sch-btn--ghost:hover:not(:disabled),
.uhaa-sch-dialog .uhaa-sch-btn--ghost:hover:not(:disabled) { background: #f3f5f8; color: #0A2540; }
#uhaa-participant-portal .uhaa-sch-btn--danger,
.uhaa-sch-dialog .uhaa-sch-btn--danger { background: #B42318; color: #fff; }
#uhaa-participant-portal .uhaa-sch-btn--danger:hover:not(:disabled),
.uhaa-sch-dialog .uhaa-sch-btn--danger:hover:not(:disabled) { background: #912018; color: #fff; }
#uhaa-participant-portal .uhaa-sch-btn--gold { background: var(--sch-gold); color: var(--sch-navy); border-color: #d4a12c; }
#uhaa-participant-portal .uhaa-sch-btn--gold:hover:not(:disabled) { background: #d9a52f; color: var(--sch-navy); box-shadow: 0 6px 16px rgba(227,179,65,.35); }
#uhaa-participant-portal .uhaa-sch-btn--link { background: transparent; color: var(--sch-blue); border-color: transparent; padding-left: .5rem; padding-right: .5rem; }
#uhaa-participant-portal .uhaa-sch-btn--link:hover:not(:disabled) { color: #0059c2; text-decoration: underline; }
#uhaa-participant-portal .uhaa-sch-btn--sm { min-height: 38px; padding: .45rem .9rem; font-size: .88rem; }
#uhaa-participant-portal .uhaa-sch-btn--lg { min-height: 52px; padding: .8rem 1.6rem; font-size: 1.02rem; }
#uhaa-participant-portal .uhaa-sch-btn--add {
  width: 100%; margin-top: .75rem; background: #fff; color: var(--sch-navy);
  border: 1.5px dashed #b6c3d3; border-radius: 12px;
}
#uhaa-participant-portal .uhaa-sch-btn--add:hover:not(:disabled) { border-color: var(--sch-blue); color: var(--sch-blue); background: #f5f9ff; }
#uhaa-participant-portal .uhaa-sch-btn:disabled,
.uhaa-sch-dialog .uhaa-sch-btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
#uhaa-participant-portal .uhaa-sch-iconbtn {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; margin: 0; padding: .35rem .6rem;
  background: transparent; border: 0; border-radius: 8px; color: #5b6472; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
}
#uhaa-participant-portal .uhaa-sch-iconbtn svg { width: 16px; height: 16px; }
#uhaa-participant-portal .uhaa-sch-iconbtn:hover:not(:disabled) { background: #fef2f2; color: #B42318; }

/* ── Page head & groups ──────────────────────────────────────────────────── */
#uhaa-participant-portal .uhaa-sch-head { margin-bottom: 1.25rem; }
#uhaa-participant-portal .uhaa-sch .uhaa-sch-head .uhaa-panel__title { font-family: var(--sch-display); color: var(--sch-navy) !important; }
#uhaa-participant-portal .uhaa-sch-lede { margin-top: .35rem !important; color: var(--sch-muted); max-width: 46rem; }
#uhaa-participant-portal .uhaa-sch-group { margin-top: 1.75rem; }
#uhaa-participant-portal .uhaa-sch-group:first-child { margin-top: 0; }
#uhaa-participant-portal .uhaa-sch-group__head {
  display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap;
  margin-bottom: .85rem; padding-bottom: .5rem; border-bottom: 2px solid var(--sch-line);
}
#uhaa-participant-portal .uhaa-sch .uhaa-sch-group__title {
  margin: 0 !important; font-family: var(--sch-display); font-size: 1.05rem !important; font-weight: 800 !important;
  letter-spacing: .02em; color: var(--sch-navy);
}
#uhaa-participant-portal .uhaa-sch-group--results .uhaa-sch-group__head { border-bottom-color: var(--sch-gold); }
#uhaa-participant-portal .uhaa-sch-group--open .uhaa-sch-group__head { border-bottom-color: var(--sch-teal); }
#uhaa-participant-portal .uhaa-sch-group--soon .uhaa-sch-group__head { border-bottom-color: #9cc7ff; }
#uhaa-participant-portal .uhaa-sch-group__count { font-size: .85rem; color: var(--sch-muted); }
#uhaa-participant-portal .uhaa-sch-group__list { display: flex; flex-direction: column; gap: 16px; }
#uhaa-participant-portal .uhaa-sch-group__none {
  padding: 1rem 1.15rem; border-radius: 12px; background: var(--sch-soft); color: var(--sch-muted);
}

/* ── Empty state ─────────────────────────────────────────────────────────── */
#uhaa-participant-portal .uhaa-sch-empty {
  text-align: center; padding: 2.75rem 1.25rem; border: 1px dashed #cfd8e3; border-radius: 16px;
  background: linear-gradient(180deg, #fbfcfe, #fff);
}
#uhaa-participant-portal .uhaa-sch-empty__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: .75rem;
  border-radius: 50%; background: #e8f9f6; color: var(--sch-teal-ink);
}
#uhaa-participant-portal .uhaa-sch-empty__icon svg { width: 32px; height: 32px; }
#uhaa-participant-portal .uhaa-sch .uhaa-sch-empty h3 { font-family: var(--sch-display); font-size: 1.2rem !important; color: var(--sch-navy); }
#uhaa-participant-portal .uhaa-sch-empty p { max-width: 30rem; margin: 0 auto; color: var(--sch-muted); }

/* ── Tags: countdown + my status ─────────────────────────────────────────── */
#uhaa-participant-portal .uhaa-sch-card__tags { display: flex; flex-wrap: wrap; gap: .4rem .5rem; margin-bottom: .6rem; }
#uhaa-participant-portal .uhaa-sch-when,
#uhaa-participant-portal .uhaa-sch-status {
  display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .65rem; border-radius: 999px;
  font-size: .8rem; font-weight: 700; line-height: 1.5; white-space: nowrap;
}
#uhaa-participant-portal .uhaa-sch-when svg { width: 14px; height: 14px; }
#uhaa-participant-portal .uhaa-sch-when--open     { background: #e6f8f5; color: var(--sch-teal-ink); }
#uhaa-participant-portal .uhaa-sch-when--soon     { background: #fff4e0; color: #8a5a00; }
#uhaa-participant-portal .uhaa-sch-when--urgent   { background: #fff0ea; color: var(--sch-orange-ink); box-shadow: inset 0 0 0 1px #ffd2bf; }
#uhaa-participant-portal .uhaa-sch-when--upcoming { background: #eaf3ff; color: #0b5bc4; }
#uhaa-participant-portal .uhaa-sch-when--closed   { background: #eef1f5; color: #5b6472; }
#uhaa-participant-portal .uhaa-sch-status { white-space: normal; }
#uhaa-participant-portal .uhaa-sch-status--none      { background: #fff; color: #5b6472; box-shadow: inset 0 0 0 1px #d6dde6; }
#uhaa-participant-portal .uhaa-sch-status--draft     { background: var(--sch-cream); color: #6f5200; box-shadow: inset 0 0 0 1px #f0d68e; }
#uhaa-participant-portal .uhaa-sch-status--submitted { background: #eaf3ff; color: #0b4fa8; }
#uhaa-participant-portal .uhaa-sch-status--award     { background: var(--sch-gold); color: var(--sch-navy); }
#uhaa-participant-portal .uhaa-sch-status--alt       { background: #eef0ff; color: #3d3fa8; }

/* ── Scholarship card ────────────────────────────────────────────────────── */
#uhaa-participant-portal .uhaa-sch-card {
  display: grid; grid-template-columns: minmax(0, 1fr) 236px;
  background: #fff; border: 1px solid var(--sch-line); border-left: 5px solid var(--sch-teal); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(10,37,64,.05), 0 8px 24px rgba(10,37,64,.05); overflow: hidden; min-width: 0;
}
#uhaa-participant-portal .uhaa-sch-card--upcoming { border-left-color: #6aa9ff; }
#uhaa-participant-portal .uhaa-sch-card--closed { border-left-color: #c3cad4; }
#uhaa-participant-portal .uhaa-sch-card.is-locked { border-left-color: #d0d5dd; }
#uhaa-participant-portal .uhaa-sch-card__main { padding: 1.2rem 1.35rem 1.25rem; min-width: 0; }
#uhaa-participant-portal .uhaa-sch .uhaa-sch-card__name {
  margin: 0 0 .15rem !important; font-family: var(--sch-display); font-size: 1.22rem !important; font-weight: 800 !important;
  line-height: 1.3 !important; color: var(--sch-navy); overflow-wrap: anywhere;
}
#uhaa-participant-portal .uhaa-sch-card__provider { color: var(--sch-muted); font-size: .92rem; }
#uhaa-participant-portal .uhaa-sch-card__desc { margin-top: .7rem; color: #374151; font-size: .95rem; overflow-wrap: anywhere; }
#uhaa-participant-portal .uhaa-sch-card__desc p + p,
#uhaa-participant-portal .uhaa-sch-card__desc ul,
#uhaa-participant-portal .uhaa-sch-card__desc ol { margin-top: .5rem; }
#uhaa-participant-portal .uhaa-sch-card__desc ul,
#uhaa-participant-portal .uhaa-sch-card__desc ol { padding-left: 1.2rem; }
#uhaa-participant-portal .uhaa-sch .uhaa-sch-card__desc h3,
#uhaa-participant-portal .uhaa-sch .uhaa-sch-card__desc h4 { font-size: 1rem !important; margin: .6rem 0 .2rem !important; }
#uhaa-participant-portal .uhaa-sch-card__desc a { color: var(--sch-blue); }
#uhaa-participant-portal .uhaa-sch-card__desc.is-clamped:not(.is-open) {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
#uhaa-participant-portal .uhaa-sch-more {
  margin: .25rem 0 0; padding: .2rem 0; background: none; border: 0; color: var(--sch-blue);
  font: inherit; font-size: .88rem; font-weight: 650; cursor: pointer;
}
#uhaa-participant-portal .uhaa-sch-more:hover { text-decoration: underline; }
#uhaa-participant-portal .uhaa-sch-facts {
  display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin: .9rem 0 0; padding: .75rem 0 0; border-top: 1px solid #eef1f5;
}
#uhaa-participant-portal .uhaa-sch-facts dt {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #7a8391;
}
#uhaa-participant-portal .uhaa-sch-facts dd { margin: 0; font-weight: 650; color: var(--sch-navy); font-size: .92rem; }

/* Eligibility */
#uhaa-participant-portal .uhaa-sch-elig { margin-top: .9rem; }
#uhaa-participant-portal .uhaa-sch-elig__badge {
  display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .7rem; border-radius: 999px;
  font-size: .82rem; font-weight: 700;
}
#uhaa-participant-portal .uhaa-sch-elig__badge svg { width: 15px; height: 15px; }
#uhaa-participant-portal .uhaa-sch-elig--yes .uhaa-sch-elig__badge { background: #e3f7ec; color: #0f6b3f; }
#uhaa-participant-portal .uhaa-sch-elig--no {
  padding: .75rem .9rem; border-radius: 12px; background: #fff6f5; border: 1px solid #f7d4d0;
}
#uhaa-participant-portal .uhaa-sch-elig--no .uhaa-sch-elig__badge { background: #fde8e6; color: var(--sch-red); }
#uhaa-participant-portal .uhaa-sch-elig__lead { margin-top: .5rem !important; font-weight: 650; color: #7a271a; font-size: .9rem; }
#uhaa-participant-portal .uhaa-sch-elig ul { margin: .3rem 0 0; padding-left: 1.15rem; color: #5c1d14; font-size: .9rem; }
#uhaa-participant-portal .uhaa-sch-elig__notes { color: var(--sch-muted) !important; }
#uhaa-participant-portal .uhaa-sch-who { margin-top: .6rem; font-size: .9rem; }
#uhaa-participant-portal .uhaa-sch-who summary { cursor: pointer; color: var(--sch-blue); font-weight: 650; width: fit-content; }
#uhaa-participant-portal .uhaa-sch-who ul { margin: .4rem 0 0; padding-left: 1.15rem; color: #374151; }

/* Award column */
#uhaa-participant-portal .uhaa-sch-card__side {
  display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.2rem 1.25rem; background: linear-gradient(180deg, #f8fafd, #f3f6fa); border-left: 1px solid #edf0f4;
}
#uhaa-participant-portal .uhaa-sch-award { display: flex; flex-direction: column; gap: .1rem; }
#uhaa-participant-portal .uhaa-sch-award__label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #7a8391;
}
#uhaa-participant-portal .uhaa-sch-award__amt {
  font-family: var(--sch-display); font-size: 1.9rem; font-weight: 800; line-height: 1.15; color: var(--sch-navy); letter-spacing: -.01em;
}
#uhaa-participant-portal .uhaa-sch-award__detail { font-size: .88rem; color: #374151; }
#uhaa-participant-portal .uhaa-sch-award__count { font-size: .85rem; color: var(--sch-muted); }
#uhaa-participant-portal .uhaa-sch-card__act { display: flex; flex-direction: column; gap: .45rem; }
#uhaa-participant-portal .uhaa-sch-card__act .uhaa-sch-btn { width: 100%; white-space: normal; text-align: center; }
#uhaa-participant-portal .uhaa-sch-why { font-size: .82rem; color: var(--sch-muted); }
#uhaa-participant-portal .uhaa-sch-mini { height: 6px; border-radius: 99px; background: #e6eaf0; overflow: hidden; }
#uhaa-participant-portal .uhaa-sch-mini > span { display: block; height: 100%; background: var(--sch-gold); border-radius: 99px; }

/* ── Results (decisions) ─────────────────────────────────────────────────── */
#uhaa-participant-portal .uhaa-sch-res {
  position: relative; padding: 1.6rem 1.6rem 1.5rem; border-radius: 16px; border: 1px solid var(--sch-line);
  background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(10,37,64,.05), 0 8px 24px rgba(10,37,64,.05);
}
#uhaa-participant-portal .uhaa-sch-res__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: .7rem;
  border-radius: 50%; background: #eef2f7; color: var(--sch-navy);
}
#uhaa-participant-portal .uhaa-sch-res__icon svg { width: 26px; height: 26px; }
#uhaa-participant-portal .uhaa-sch-res__eyebrow {
  font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--sch-teal-ink);
}
#uhaa-participant-portal .uhaa-sch .uhaa-sch-res__title {
  margin: .2rem 0 .1rem !important; font-family: var(--sch-display); font-size: 1.45rem !important; font-weight: 800 !important;
  line-height: 1.25 !important; color: var(--sch-navy); overflow-wrap: anywhere;
}
#uhaa-participant-portal .uhaa-sch-res__name { font-weight: 700; color: #374151; font-size: 1.02rem; }
#uhaa-participant-portal .uhaa-sch-res__text { margin-top: .6rem !important; color: #374151; max-width: 40rem; }
#uhaa-participant-portal .uhaa-sch-res__note,
#uhaa-participant-portal .uhaa-sch-res__order { margin-top: .6rem !important; font-weight: 650; color: var(--sch-navy); }
#uhaa-participant-portal .uhaa-sch-res__due,
#uhaa-participant-portal .uhaa-sch-res__pay { display: flex; align-items: flex-start; gap: .45rem; margin-top: .85rem !important; color: #374151; }
#uhaa-participant-portal .uhaa-sch-res__due svg,
#uhaa-participant-portal .uhaa-sch-res__pay svg { margin-top: 2px; color: var(--sch-navy); }
#uhaa-participant-portal .uhaa-sch-res__pay.is-paid { color: #0f6b3f; font-weight: 650; }
#uhaa-participant-portal .uhaa-sch-res__pay.is-paid svg { color: #0f6b3f; }
#uhaa-participant-portal .uhaa-sch-res__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
#uhaa-participant-portal .uhaa-sch-res .uhaa-sch-award--big { margin-top: .8rem; }
#uhaa-participant-portal .uhaa-sch-award--big .uhaa-sch-award__amt { font-size: 2.4rem; }
/* Awarded: warm gold celebration */
#uhaa-participant-portal .uhaa-sch-res--award {
  border-color: #f0d68e; border-top: 6px solid var(--sch-gold);
  background: radial-gradient(120% 90% at 100% 0%, #fff1c9 0%, rgba(255,244,214,.55) 38%, #fff 70%);
}
#uhaa-participant-portal .uhaa-sch-res--award .uhaa-sch-res__icon { background: var(--sch-gold); color: var(--sch-navy); box-shadow: 0 0 0 6px rgba(227,179,65,.22); }
#uhaa-participant-portal .uhaa-sch-res--award .uhaa-sch-res__eyebrow { color: #8a6200; }
#uhaa-participant-portal .uhaa-sch-res__burst { position: absolute; top: 14px; right: 18px; display: flex; gap: 8px; pointer-events: none; }
#uhaa-participant-portal .uhaa-sch-res__burst svg { width: 20px; height: 20px; color: var(--sch-gold); opacity: .9; }
#uhaa-participant-portal .uhaa-sch-res__burst svg:nth-child(2) { width: 14px; height: 14px; color: var(--sch-orange); margin-top: 18px; opacity: .75; }
#uhaa-participant-portal .uhaa-sch-res__burst svg:nth-child(3) { width: 26px; height: 26px; color: var(--sch-teal); margin-top: -4px; opacity: .55; }
#uhaa-participant-portal .uhaa-sch-res--accepted { border-top: 6px solid var(--sch-teal); background: linear-gradient(180deg, #f1fcfa, #fff 55%); }
#uhaa-participant-portal .uhaa-sch-res--accepted .uhaa-sch-res__icon { background: #d9f6f1; color: var(--sch-teal-ink); }
#uhaa-participant-portal .uhaa-sch-res--alt { border-top: 6px solid #7d8cff; background: linear-gradient(180deg, #f5f6ff, #fff 55%); }
#uhaa-participant-portal .uhaa-sch-res--alt .uhaa-sch-res__icon { background: #e7e9ff; color: #3d3fa8; }
#uhaa-participant-portal .uhaa-sch-res--alt .uhaa-sch-res__eyebrow { color: #3d3fa8; }
#uhaa-participant-portal .uhaa-sch-res--kind { border-top: 6px solid #ffb59a; background: linear-gradient(180deg, #fff7f3, #fff 55%); }
#uhaa-participant-portal .uhaa-sch-res--kind .uhaa-sch-res__icon { background: #ffe7dd; color: var(--sch-orange-ink); }
#uhaa-participant-portal .uhaa-sch-res--kind .uhaa-sch-res__eyebrow { color: var(--sch-orange-ink); }
#uhaa-participant-portal .uhaa-sch-res--quiet .uhaa-sch-res__icon { color: #5b6472; }

/* ── Wizard ──────────────────────────────────────────────────────────────── */
#uhaa-participant-portal .uhaa-portal-content:has(.uhaa-sch-wiz) { overflow: clip; }   /* lets the action bar stick on phones */
#uhaa-participant-portal .uhaa-sch-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem;
}
#uhaa-participant-portal .uhaa-sch-back {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; margin: 0 0 0 -.4rem; padding: .3rem .5rem;
  background: none; border: 0; border-radius: 8px; color: var(--sch-blue); font: inherit; font-weight: 650; cursor: pointer;
}
#uhaa-participant-portal .uhaa-sch-back:hover { background: #eef5ff; }
#uhaa-participant-portal .uhaa-sch-save {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 28px; font-size: .85rem; color: var(--sch-muted);
}
#uhaa-participant-portal .uhaa-sch-save svg { width: 16px; height: 16px; }
#uhaa-participant-portal .uhaa-sch-save[data-state="saved"] { color: #0f6b3f; }
#uhaa-participant-portal .uhaa-sch-save[data-state="error"] { color: var(--sch-red); font-weight: 650; }
#uhaa-participant-portal .uhaa-sch-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sch-blue); animation: uhaaSchPulse 1s ease-in-out infinite; }
#uhaa-participant-portal .uhaa-sch-dot.is-idle { background: var(--sch-gold); animation: none; }
@keyframes uhaaSchPulse { 50% { opacity: .3; } }
#uhaa-participant-portal .uhaa-sch-retry {
  margin: 0; padding: .1rem .4rem; background: none; border: 0; color: var(--sch-blue); font: inherit; font-weight: 700;
  text-decoration: underline; cursor: pointer;
}
#uhaa-participant-portal .uhaa-sch-wiz__head { margin-bottom: 1.1rem; }
#uhaa-participant-portal .uhaa-sch-eyebrow {
  font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--sch-teal-ink);
}
#uhaa-participant-portal .uhaa-sch .uhaa-sch-wiz__title {
  margin: .15rem 0 .5rem !important; font-family: var(--sch-display); font-size: 1.65rem !important; font-weight: 800 !important;
  line-height: 1.2 !important; color: var(--sch-navy) !important; overflow-wrap: anywhere;
}
#uhaa-participant-portal .uhaa-sch-wiz__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; font-size: .9rem; color: var(--sch-muted); }
#uhaa-participant-portal .uhaa-sch-wiz__amt { display: inline-flex; align-items: center; gap: .25rem; font-weight: 700; color: var(--sch-navy); }
#uhaa-participant-portal .uhaa-sch-wiz__amt svg { width: 16px; height: 16px; color: var(--sch-teal-ink); }

/* Step chips */
#uhaa-participant-portal .uhaa-sch-steps { margin: 0 0 .6rem; }
#uhaa-participant-portal .uhaa-sch-steps ol { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
#uhaa-participant-portal .uhaa-sch-steps li { margin: 0; padding: 0; }
#uhaa-participant-portal .uhaa-sch-chip {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 38px; margin: 0; padding: .3rem .8rem .3rem .35rem;
  background: #fff; border: 1px solid #d9e0e8; border-radius: 999px; color: #374151;
  font: inherit; font-size: .84rem; font-weight: 600; line-height: 1.2; cursor: pointer; white-space: nowrap;
}
#uhaa-participant-portal .uhaa-sch-chip:hover { border-color: #9fb0c4; }
#uhaa-participant-portal .uhaa-sch-chip__n {
  display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%;
  background: #eef1f5; color: #4b5563; font-size: .78rem; font-weight: 800;
}
#uhaa-participant-portal .uhaa-sch-chip__n svg { width: 14px; height: 14px; stroke-width: 3; }
#uhaa-participant-portal .uhaa-sch-chip.is-done .uhaa-sch-chip__n { background: var(--sch-teal); color: #fff; }
#uhaa-participant-portal .uhaa-sch-chip.is-warn .uhaa-sch-chip__n { background: #ffe1d4; color: var(--sch-orange-ink); }
#uhaa-participant-portal .uhaa-sch-chip.is-current { background: var(--sch-navy); border-color: var(--sch-navy); color: #fff; }
#uhaa-participant-portal .uhaa-sch-chip.is-current .uhaa-sch-chip__n { background: #fff; color: var(--sch-navy); }
#uhaa-participant-portal .uhaa-sch-bar { height: 5px; margin: 0 0 1.1rem; border-radius: 99px; background: #e6eaf0; overflow: hidden; }
#uhaa-participant-portal .uhaa-sch-bar > span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--sch-teal), #00a8e0); transition: width .3s; }

/* Step card */
#uhaa-participant-portal .uhaa-sch-step {
  margin: 0; padding: 1.6rem 1.6rem 1.75rem; background: #fff; border: 1px solid var(--sch-line); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(10,37,64,.04), 0 10px 28px rgba(10,37,64,.05);
}
#uhaa-participant-portal .uhaa-sch-step__head { margin-bottom: 1.35rem; }
#uhaa-participant-portal .uhaa-sch-step__count { font-size: .8rem; font-weight: 700; color: var(--sch-muted); text-transform: uppercase; letter-spacing: .08em; }
#uhaa-participant-portal .uhaa-sch .uhaa-sch-step__title {
  display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .7rem;
  margin: .2rem 0 .35rem !important; font-family: var(--sch-display); font-size: 1.35rem !important; font-weight: 800 !important;
  line-height: 1.25 !important; color: var(--sch-navy);
}
#uhaa-participant-portal .uhaa-sch-pill {
  display: inline-block; padding: .12rem .6rem; border-radius: 999px; font-family: inherit;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.6;
}
#uhaa-participant-portal .uhaa-sch-pill--req { background: #fff0ea; color: var(--sch-orange-ink); }
#uhaa-participant-portal .uhaa-sch-pill--opt { background: #eef1f5; color: #5b6472; }
#uhaa-participant-portal .uhaa-sch-step__intro { color: #4b5563; max-width: 44rem; }
#uhaa-participant-portal .uhaa-sch-reqnote { margin-top: .5rem !important; font-size: .82rem; color: var(--sch-muted); }
#uhaa-participant-portal .uhaa-sch-reqnote span,
#uhaa-participant-portal .uhaa-sch-req { color: #D9480F; font-weight: 800; }
#uhaa-participant-portal .uhaa-sch-req { margin-left: .2rem; }
#uhaa-participant-portal .uhaa-sch-prompt {
  margin-top: .9rem; padding: .85rem 1rem; border-left: 4px solid var(--sch-blue); border-radius: 0 10px 10px 0; background: #f3f8ff;
}
#uhaa-participant-portal .uhaa-sch-prompt span { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #0b5bc4; }
#uhaa-participant-portal .uhaa-sch-prompt p { margin-top: .2rem !important; font-weight: 600; color: var(--sch-navy); font-size: 1rem; }

/* Fields */
#uhaa-participant-portal .uhaa-sch-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
#uhaa-participant-portal .uhaa-sch-fields > .is-wide { grid-column: 1 / -1; }
#uhaa-participant-portal .uhaa-sch-field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
#uhaa-participant-portal .uhaa-sch-label { display: block; margin: 0; font-weight: 650; font-size: .93rem; color: var(--sch-navy); line-height: 1.35; }
#uhaa-participant-portal .uhaa-sch-label--q { font-weight: 600; font-size: 1rem; }
#uhaa-participant-portal .uhaa-sch-qn { display: block; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--sch-teal-ink); margin-bottom: .15rem; }
#uhaa-participant-portal .uhaa-sch input[type="text"],
#uhaa-participant-portal .uhaa-sch input[type="email"],
#uhaa-participant-portal .uhaa-sch input[type="tel"],
#uhaa-participant-portal .uhaa-sch input[type="number"],
#uhaa-participant-portal .uhaa-sch input[type="date"],
#uhaa-participant-portal .uhaa-sch input[type="month"],
#uhaa-participant-portal .uhaa-sch select,
#uhaa-participant-portal .uhaa-sch textarea,
.uhaa-sch-dialog textarea {
  display: block; width: 100%; max-width: 100%; min-height: 46px; margin: 0; padding: .62rem .8rem;
  background: #fff; border: 1.5px solid #cdd6e1; border-radius: 10px; box-shadow: none;
  color: var(--sch-ink, #1f2937); font: inherit; font-size: 16px; line-height: 1.45;
  transition: border-color .15s, box-shadow .15s;
}
#uhaa-participant-portal .uhaa-sch textarea,
.uhaa-sch-dialog textarea { line-height: 1.6; resize: vertical; }
#uhaa-participant-portal .uhaa-sch select { appearance: auto; padding-right: 2rem; }
#uhaa-participant-portal .uhaa-sch input:hover:not(:disabled):not(:focus),
#uhaa-participant-portal .uhaa-sch select:hover:not(:disabled):not(:focus),
#uhaa-participant-portal .uhaa-sch textarea:hover:not(:disabled):not(:focus) { border-color: #9fb0c4; }
#uhaa-participant-portal .uhaa-sch input:focus,
#uhaa-participant-portal .uhaa-sch select:focus,
#uhaa-participant-portal .uhaa-sch textarea:focus,
.uhaa-sch-dialog textarea:focus { outline: none; border-color: var(--sch-blue, #0070F3); box-shadow: 0 0 0 4px rgba(0,112,243,.16); }
#uhaa-participant-portal .uhaa-sch input:disabled,
#uhaa-participant-portal .uhaa-sch select:disabled,
#uhaa-participant-portal .uhaa-sch textarea:disabled { background: #f3f5f8; color: #8a93a1; }
#uhaa-participant-portal .uhaa-sch [aria-invalid="true"] { border-color: var(--sch-red) !important; }
#uhaa-participant-portal .uhaa-sch [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180,35,24,.14); }
#uhaa-participant-portal .uhaa-sch-hint { font-size: .84rem; color: var(--sch-muted); }
#uhaa-participant-portal .uhaa-sch-from { display: inline-flex; align-items: center; gap: .25rem; color: var(--sch-teal-ink); font-weight: 600; }
#uhaa-participant-portal .uhaa-sch-from svg { width: 14px; height: 14px; stroke-width: 3; }
#uhaa-participant-portal .uhaa-sch-ferr { font-size: .86rem; font-weight: 600; color: var(--sch-red); }
#uhaa-participant-portal .uhaa-sch-ferr::before { content: "! "; font-weight: 800; }
#uhaa-participant-portal .uhaa-sch-ferr[hidden] { display: none; }
#uhaa-participant-portal .uhaa-sch-wc { font-size: .84rem; color: var(--sch-muted); text-align: right; font-variant-numeric: tabular-nums; }
#uhaa-participant-portal .uhaa-sch-wc:empty { display: none; }
#uhaa-participant-portal .uhaa-sch-wc.is-under { color: #8a5a00; }
#uhaa-participant-portal .uhaa-sch-wc.is-over { color: var(--sch-red); font-weight: 700; }
#uhaa-participant-portal .uhaa-sch-wc[data-state="ok"] { color: #0f6b3f; }
#uhaa-participant-portal .uhaa-sch-check { display: flex; align-items: flex-start; gap: .65rem; margin: 0; cursor: pointer; font-weight: 500; color: #1f2937; }
#uhaa-participant-portal .uhaa-sch-check input { width: 22px; height: 22px; min-height: 0; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--sch-navy); cursor: pointer; }
#uhaa-participant-portal .uhaa-sch-check--sm { font-size: .88rem; color: #4b5563; margin-top: .15rem; }
#uhaa-participant-portal .uhaa-sch-check--sm input { width: 18px; height: 18px; }
#uhaa-participant-portal .uhaa-sch-field--bool .uhaa-sch-check {
  padding: .85rem 1rem; border: 1.5px solid #cdd6e1; border-radius: 12px; background: #fbfcfe;
}
#uhaa-participant-portal .uhaa-sch-field.has-error .uhaa-sch-check { border-color: var(--sch-red); }

/* Repeatable entries */
#uhaa-participant-portal .uhaa-sch-list { margin: 0; padding: 0; border: 0; min-width: 0; }
#uhaa-participant-portal .uhaa-sch-items { display: flex; flex-direction: column; gap: 12px; }
#uhaa-participant-portal .uhaa-sch-items__none {
  padding: 1rem 1.1rem; border-radius: 12px; background: var(--sch-soft); color: var(--sch-muted); font-size: .92rem;
}
#uhaa-participant-portal .uhaa-sch-item { padding: .9rem 1.1rem 1.15rem; border: 1px solid #dfe5ec; border-radius: 14px; background: #fafbfd; }
#uhaa-participant-portal .uhaa-sch-item__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .55rem; }
#uhaa-participant-portal .uhaa-sch-item__title { font-weight: 800; color: var(--sch-navy); font-size: .95rem; }
#uhaa-participant-portal .uhaa-sch-item__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; }
#uhaa-participant-portal .uhaa-sch-item__grid > .is-wide { grid-column: 1 / -1; }

/* Uploads */
#uhaa-participant-portal .uhaa-sch-upload { margin-top: 1.4rem; display: flex; flex-direction: column; gap: .5rem; }
#uhaa-participant-portal .uhaa-sch-fields:empty + .uhaa-sch-upload { margin-top: 0; }
#uhaa-participant-portal .uhaa-sch-drop {
  display: flex; flex-direction: column; align-items: center; gap: .45rem; padding: 1.6rem 1rem 1.3rem; text-align: center;
  border: 2px dashed #b9c6d6; border-radius: 16px; background: #f8fafc; transition: border-color .15s, background .15s;
}
#uhaa-participant-portal .uhaa-sch-drop.is-over { border-color: var(--sch-blue); background: #eef5ff; }
#uhaa-participant-portal .uhaa-sch-upload.has-error .uhaa-sch-drop { border-color: #e9958b; background: #fffafa; }
#uhaa-participant-portal .uhaa-sch-drop__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%;
  background: #e6f0ff; color: var(--sch-blue);
}
#uhaa-participant-portal .uhaa-sch-drop__icon svg { width: 24px; height: 24px; }
#uhaa-participant-portal .uhaa-sch-drop__text { display: flex; flex-direction: column; color: var(--sch-navy); }
#uhaa-participant-portal .uhaa-sch-drop__text span { font-size: .85rem; color: var(--sch-muted); }
#uhaa-participant-portal .uhaa-sch-drop__rules { font-size: .82rem; color: var(--sch-muted); }
#uhaa-participant-portal .uhaa-sch-file-input { display: none; }
#uhaa-participant-portal .uhaa-sch-files { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
#uhaa-participant-portal .uhaa-sch-files:empty { display: none; }
#uhaa-participant-portal .uhaa-sch-file {
  display: flex; align-items: center; gap: .75rem; margin: 0; padding: .6rem .7rem .6rem .8rem;
  border: 1px solid #dfe5ec; border-radius: 12px; background: #fff;
}
#uhaa-participant-portal .uhaa-sch-file__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px;
  background: #eef5ff; color: var(--sch-blue); flex-shrink: 0;
}
#uhaa-participant-portal .uhaa-sch-file__main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
#uhaa-participant-portal .uhaa-sch-file__name { font-weight: 650; color: var(--sch-navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#uhaa-participant-portal a.uhaa-sch-file__name { color: var(--sch-blue); text-decoration: none; }
#uhaa-participant-portal a.uhaa-sch-file__name:hover { text-decoration: underline; }
#uhaa-participant-portal .uhaa-sch-file__meta { font-size: .8rem; color: var(--sch-muted); }
#uhaa-participant-portal .uhaa-sch-file__bar { display: block; height: 6px; margin-top: .35rem; border-radius: 99px; background: #e6eaf0; overflow: hidden; }
#uhaa-participant-portal .uhaa-sch-file__bar > span { display: block; height: 100%; background: var(--sch-blue); border-radius: 99px; transition: width .2s; }
#uhaa-participant-portal .uhaa-sch-file.is-error { border-color: #f3c0b9; background: #fff7f6; }
#uhaa-participant-portal .uhaa-sch-file.is-error .uhaa-sch-file__icon { background: #fde8e6; color: var(--sch-red); }
#uhaa-participant-portal .uhaa-sch-file.is-error .uhaa-sch-file__meta { color: #7a271a; white-space: normal; }

/* Action bar */
#uhaa-participant-portal .uhaa-sch-nav {
  display: flex; align-items: center; gap: .6rem; margin-top: 1.1rem; padding: .85rem 0;
}
#uhaa-participant-portal .uhaa-sch-nav__save { margin-left: auto; }

/* Alerts & review */
#uhaa-participant-portal .uhaa-sch-alert {
  display: flex; align-items: flex-start; gap: .7rem; padding: .9rem 1rem; border-radius: 12px; margin-bottom: .9rem;
  border: 1px solid; font-size: .95rem;
}
#uhaa-participant-portal .uhaa-sch-alert > svg { margin-top: 2px; width: 20px; height: 20px; }
#uhaa-participant-portal .uhaa-sch-alert ul { margin: .3rem 0 0; padding-left: 1.1rem; }
#uhaa-participant-portal .uhaa-sch-alert--ok { background: #ecfaf6; border-color: #b4ebdf; color: #0b5c50; }
#uhaa-participant-portal .uhaa-sch-alert--warn { background: #fff8e6; border-color: #f3dc9b; color: #6f5200; }
#uhaa-participant-portal .uhaa-sch-alert--error { background: #fff6f5; border-color: #f7d4d0; color: #7a271a; }
#uhaa-participant-portal .uhaa-sch-checklist { margin: 0 0 1.4rem; padding: 0; list-style: none; border: 1px solid var(--sch-line); border-radius: 14px; overflow: hidden; }
#uhaa-participant-portal .uhaa-sch-check-row {
  display: flex; align-items: flex-start; gap: .8rem; margin: 0; padding: .8rem 1rem; border-top: 1px solid #eef1f5; background: #fff;
}
#uhaa-participant-portal .uhaa-sch-check-row:first-child { border-top: 0; }
#uhaa-participant-portal .uhaa-sch-check-row.is-todo { background: #fffcf4; }
#uhaa-participant-portal .uhaa-sch-check-row__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%;
  flex-shrink: 0; font-weight: 800; font-size: .85rem; background: #eef1f5; color: #6b7280;
}
#uhaa-participant-portal .uhaa-sch-check-row__icon svg { width: 14px; height: 14px; stroke-width: 3; }
#uhaa-participant-portal .uhaa-sch-check-row.is-done .uhaa-sch-check-row__icon { background: var(--sch-teal); color: #fff; }
#uhaa-participant-portal .uhaa-sch-check-row.is-todo .uhaa-sch-check-row__icon { background: #ffe1d4; color: var(--sch-orange-ink); }
#uhaa-participant-portal .uhaa-sch-check-row__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
#uhaa-participant-portal .uhaa-sch-check-row__label { font-weight: 700; color: var(--sch-navy); }
#uhaa-participant-portal .uhaa-sch-check-row__state { font-size: .85rem; color: var(--sch-muted); }
#uhaa-participant-portal .uhaa-sch-check-row.is-todo .uhaa-sch-check-row__state { color: #8a5a00; font-weight: 600; }
#uhaa-participant-portal .uhaa-sch-check-row__items { margin: .35rem 0 0; padding: 0; list-style: none; }
#uhaa-participant-portal .uhaa-sch-check-row__items li { margin: .15rem 0 0; }
#uhaa-participant-portal .uhaa-sch-fix {
  margin: 0; padding: .15rem 0; background: none; border: 0; color: #7a271a; font: inherit; font-size: .9rem; text-align: left;
  cursor: pointer; text-decoration: underline; text-decoration-color: #e9a59c; text-underline-offset: 3px;
}
#uhaa-participant-portal .uhaa-sch-fix:hover { color: var(--sch-red); }
#uhaa-participant-portal .uhaa-sch-check-row .uhaa-sch-btn--link { min-height: 34px; padding: .2rem .5rem; font-size: .88rem; }
#uhaa-participant-portal .uhaa-sch-sign {
  margin: 0; padding: 1.1rem 1.2rem 1.25rem; border: 1px solid #f0d68e; border-radius: 14px; background: #fffbef;
}
#uhaa-participant-portal .uhaa-sch-sign legend {
  padding: 0 .4rem; margin-left: -.4rem; font-family: var(--sch-display); font-weight: 800; font-size: 1.05rem; color: var(--sch-navy);
}
#uhaa-participant-portal .uhaa-sch-sign .uhaa-sch-field--bool .uhaa-sch-check { background: #fff; }
#uhaa-participant-portal .uhaa-sch-submit { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; margin-top: 1.4rem; }
#uhaa-participant-portal .uhaa-sch-submit .uhaa-sch-btn--primary:not(:disabled) { background: var(--sch-teal-ink); }
#uhaa-participant-portal .uhaa-sch-submit .uhaa-sch-btn--primary:not(:disabled):hover { background: #00695b; box-shadow: 0 8px 20px rgba(0,125,108,.28); }

/* Confirmation */
#uhaa-participant-portal .uhaa-sch-done {
  max-width: 40rem; margin: .5rem auto 0; padding: 2.2rem 1.75rem 2rem; text-align: center;
  background: radial-gradient(100% 70% at 50% 0%, #e6faf6 0%, #fff 65%); border: 1px solid #c9eee6; border-radius: 20px;
  box-shadow: 0 10px 30px rgba(10,37,64,.06);
}
#uhaa-participant-portal .uhaa-sch-done__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin-bottom: 1rem;
  border-radius: 50%; background: var(--sch-teal); color: #fff; box-shadow: 0 0 0 10px rgba(0,194,168,.16);
}
#uhaa-participant-portal .uhaa-sch-done__icon svg { width: 38px; height: 38px; stroke-width: 3; }
#uhaa-participant-portal .uhaa-sch .uhaa-sch-done__title {
  margin: 0 0 .5rem !important; font-family: var(--sch-display); font-size: 1.85rem !important; font-weight: 800 !important; color: var(--sch-navy) !important;
}
#uhaa-participant-portal .uhaa-sch-done__lead { color: #374151; font-size: 1.02rem; }
#uhaa-participant-portal .uhaa-sch-done__facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1rem; margin: 1.4rem 0 0; padding: 1rem 1.1rem;
  text-align: left; background: #fff; border: 1px solid var(--sch-line); border-radius: 14px;
}
#uhaa-participant-portal .uhaa-sch-done__facts dt { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #7a8391; }
#uhaa-participant-portal .uhaa-sch-done__facts dd { margin: 0; font-weight: 700; color: var(--sch-navy); overflow-wrap: anywhere; }
#uhaa-participant-portal .uhaa-sch-done__next { margin-top: 1.1rem !important; color: var(--sch-muted); font-size: .93rem; }
#uhaa-participant-portal .uhaa-sch-done__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }

/* Read-only view */
#uhaa-participant-portal .uhaa-sch-view { display: flex; flex-direction: column; gap: 1rem; }
#uhaa-participant-portal .uhaa-sch-view .uhaa-sch-wiz__head { margin-bottom: 0; }
#uhaa-participant-portal .uhaa-sch-statuspanel {
  display: flex; gap: .9rem; padding: 1.2rem 1.25rem; border-radius: 16px; background: #f1fbf9; border: 1px solid #c9eee6;
}
#uhaa-participant-portal .uhaa-sch-statuspanel > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; }
#uhaa-participant-portal .uhaa-sch-statuspanel__icon { color: var(--sch-teal-ink); padding-top: 2px; }
#uhaa-participant-portal .uhaa-sch-statuspanel__icon svg { width: 26px; height: 26px; }
#uhaa-participant-portal .uhaa-sch .uhaa-sch-statuspanel__title { margin: 0 !important; font-family: var(--sch-display); font-size: 1.15rem !important; color: var(--sch-navy); }
#uhaa-participant-portal .uhaa-sch-statuspanel .uhaa-sch-btn { margin-top: .4rem; }
#uhaa-participant-portal .uhaa-sch-statuspanel.is-muted { background: var(--sch-soft); border-color: var(--sch-line); }
#uhaa-participant-portal .uhaa-sch-statuspanel.is-muted .uhaa-sch-statuspanel__icon { color: #5b6472; }
#uhaa-participant-portal .uhaa-sch-statuspanel .uhaa-sch-card__act { margin-top: .9rem; min-width: 220px; }
#uhaa-participant-portal .uhaa-sch-answers { border: 1px solid var(--sch-line); border-radius: 16px; background: #fff; }
#uhaa-participant-portal .uhaa-sch-answers > summary {
  padding: 1rem 1.2rem; cursor: pointer; font-weight: 700; color: var(--sch-navy); list-style-position: inside;
}
#uhaa-participant-portal .uhaa-sch-anssec { padding: .2rem 1.2rem 1rem; border-top: 1px solid #eef1f5; }
#uhaa-participant-portal .uhaa-sch .uhaa-sch-anssec h4 { margin: .9rem 0 .5rem !important; font-size: .95rem !important; font-weight: 800; color: var(--sch-navy); }
#uhaa-participant-portal .uhaa-sch-anssec dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.25rem; margin: 0; }
#uhaa-participant-portal .uhaa-sch-ans.is-wide { grid-column: 1 / -1; }
#uhaa-participant-portal .uhaa-sch-ans dt { font-size: .8rem; color: var(--sch-muted); font-weight: 600; }
#uhaa-participant-portal .uhaa-sch-ans dd { margin: 0; color: #1f2937; overflow-wrap: anywhere; }
#uhaa-participant-portal .uhaa-sch-ans__long { white-space: pre-wrap; }
#uhaa-participant-portal .uhaa-sch-ans__items { margin: 0; padding-left: 1.1rem; }
#uhaa-participant-portal .uhaa-sch-ans__items span { display: inline-block; margin-right: .9rem; }
#uhaa-participant-portal .uhaa-sch-ans__items em { font-style: normal; color: var(--sch-muted); }

/* Dialog (appended to <body>) */
.uhaa-sch-overlay {
  position: fixed; inset: 0; z-index: 10001; display: flex; align-items: center; justify-content: center; padding: 1rem;
  background: rgba(10,37,64,.55);
}
.uhaa-sch-dialog {
  width: 100%; max-width: 480px; max-height: calc(100vh - 2rem); overflow-y: auto; padding: 1.5rem 1.5rem 1.25rem;
  background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(10,37,64,.3); color: #1f2937; font-size: 15px; line-height: 1.55;
}
.uhaa-sch-dialog .uhaa-sch-dialog__title { margin: 0 0 .5rem; font-family: 'Syne', 'Inter', inherit; font-size: 1.3rem; font-weight: 800; line-height: 1.3; color: #0A2540; }
.uhaa-sch-dialog__body p { margin: 0 0 .9rem; color: #374151; }
.uhaa-sch-dialog__body .uhaa-sch-label { display: block; margin: 0 0 .35rem; font-weight: 650; color: #0A2540; }
.uhaa-sch-dialog__actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.uhaa-sch-dialog .uhaa-sch-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 0; padding: .6rem 1.15rem;
  border: 1.5px solid transparent; border-radius: 10px; font: inherit; font-weight: 650; cursor: pointer;
}

/* ── Phones ──────────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  #uhaa-participant-portal .uhaa-sch-card { grid-template-columns: 1fr; }
  #uhaa-participant-portal .uhaa-sch-card__main { padding: 1rem 1rem 1rem; }
  #uhaa-participant-portal .uhaa-sch-card__side { border-left: 0; border-top: 1px solid #edf0f4; padding: 1rem; gap: .8rem; }
  #uhaa-participant-portal .uhaa-sch-award { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; }
  #uhaa-participant-portal .uhaa-sch-award__label { flex-basis: 100%; }
  #uhaa-participant-portal .uhaa-sch-award__amt { font-size: 1.6rem; }
  #uhaa-participant-portal .uhaa-sch-award--big .uhaa-sch-award__amt { font-size: 2rem; }
  #uhaa-participant-portal .uhaa-sch-facts { gap: .5rem 1.25rem; }
  #uhaa-participant-portal .uhaa-sch-res { padding: 1.25rem 1.1rem 1.2rem; }
  #uhaa-participant-portal .uhaa-sch .uhaa-sch-res__title { font-size: 1.25rem !important; padding-right: 3.5rem; }
  #uhaa-participant-portal .uhaa-sch-res__actions .uhaa-sch-btn { flex: 1 1 auto; }

  #uhaa-participant-portal .uhaa-sch .uhaa-sch-wiz__title { font-size: 1.35rem !important; }
  #uhaa-participant-portal .uhaa-sch-steps { margin: 0 -16px .5rem; padding: 0 16px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; }
  #uhaa-participant-portal .uhaa-sch-steps::-webkit-scrollbar { display: none; }
  #uhaa-participant-portal .uhaa-sch-steps ol { flex-wrap: nowrap; padding-bottom: 2px; }
  #uhaa-participant-portal .uhaa-sch-chip:not(.is-current) .uhaa-sch-chip__l { max-width: 7.5rem; overflow: hidden; text-overflow: ellipsis; }
  #uhaa-participant-portal .uhaa-sch-step { margin: 0 -6px; padding: 1.15rem 1rem 1.3rem; border-radius: 14px; }
  #uhaa-participant-portal .uhaa-sch .uhaa-sch-step__title { font-size: 1.2rem !important; }
  #uhaa-participant-portal .uhaa-sch-fields,
  #uhaa-participant-portal .uhaa-sch-item__grid { grid-template-columns: 1fr; gap: .95rem; }
  #uhaa-participant-portal .uhaa-sch-item { padding: .8rem .85rem 1rem; }
  #uhaa-participant-portal .uhaa-sch-drop { padding: 1.2rem .9rem 1rem; }
  #uhaa-participant-portal .uhaa-sch-drop__text strong { font-size: .95rem; }
  #uhaa-participant-portal .uhaa-sch-file .uhaa-sch-iconbtn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  /* Sticky, thumb-friendly action bar */
  #uhaa-participant-portal .uhaa-sch-nav {
    position: sticky; bottom: 0; z-index: 5; margin: 1rem -16px 0; padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.97); border-top: 1px solid var(--sch-line); box-shadow: 0 -6px 18px rgba(10,37,64,.08);
  }
  #uhaa-participant-portal .uhaa-sch-nav .uhaa-sch-btn { padding-left: .8rem; padding-right: .8rem; }
  #uhaa-participant-portal .uhaa-sch-nav__prev span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  #uhaa-participant-portal .uhaa-sch-nav__save { margin-left: 0; flex: 1 1 auto; }
  #uhaa-participant-portal .uhaa-sch-nav__next { flex: 1 1 auto; }
  #uhaa-participant-portal .uhaa-sch-check-row { padding: .75rem .8rem; gap: .6rem; }
  #uhaa-participant-portal .uhaa-sch-submit .uhaa-sch-btn { width: 100%; }
  #uhaa-participant-portal .uhaa-sch-done { padding: 1.6rem 1.1rem 1.4rem; }
  #uhaa-participant-portal .uhaa-sch .uhaa-sch-done__title { font-size: 1.5rem !important; }
  #uhaa-participant-portal .uhaa-sch-done__facts,
  #uhaa-participant-portal .uhaa-sch-anssec dl { grid-template-columns: 1fr; }
  #uhaa-participant-portal .uhaa-sch-done__actions .uhaa-sch-btn { flex: 1 1 100%; }
  .uhaa-sch-overlay { align-items: flex-end; padding: 0; }
  .uhaa-sch-dialog { max-width: none; border-radius: 18px 18px 0 0; padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); }
  .uhaa-sch-dialog__actions .uhaa-sch-btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  #uhaa-participant-portal .uhaa-sch-dot { animation: none; }
  #uhaa-participant-portal .uhaa-sch-bar > span,
  #uhaa-participant-portal .uhaa-sch-file__bar > span { transition: none; }
}
