/* ==========================================================================
   SmartAdmit parent site - SHELLS AND PUBLIC SITE  (sa.shell.css)
   --------------------------------------------------------------------------
   The three layouts - the public site (_SaSiteLayout), the signed-in portal
   (_SaPortalLayout, BCDF bc-mis with the --parent modifier) and sign-in
   (_SaAuthLayout) - plus the public pages' own sections.

   Direction: editorial and calm. Type carries the hierarchy, whitespace
   groups things, hairlines separate them. One accent (the province's working
   colour) for actions and links; the province's ink for the dark grounds -
   sidebar, footer, closing band; the highlight colour only on those grounds.
   Photographs are the department's own, cover-fitted, under a flat scrim.
   No gradients, no decorative shadow.

   Load order: after sa.parent.css. No colour literals except white and the
   scrim token; everything is a --bc-* token mapped by sa.brand.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CREST
   Provincial crests are wide raster lockups with dark lettering. On white
   they sit as they are; on an ink ground they sit on a white plate - the
   crest is not ours to recolour.
   -------------------------------------------------------------------------- */
.sa-crest { display: inline-flex; align-items: center; flex: none; }
.sa-crest img { display: block; height: 56px; width: auto; max-width: 200px; object-fit: contain; }
.sa-crest--sm img { height: 40px; max-width: 150px; }
.sa-crest-plate { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 12px; padding: 10px 14px; }
.sa-crest-plate img { display: block; width: 100%; max-width: 176px; height: auto; max-height: 80px; object-fit: contain; }

/* --------------------------------------------------------------------------
   2. PUBLIC HEADER AND DRAWER  (bc-nav + bc-parent-publicnav)
   -------------------------------------------------------------------------- */
.bc-parent-publicnav { position: sticky; top: 0; z-index: var(--bc-z-sticky); background: #fff; border-bottom: 1px solid var(--bc-border); box-shadow: none; }
.bc-parent-publicnav .bc-nav__inner { height: 84px; gap: var(--bc-s-7); }
.bc-parent-publicnav .bc-nav__links { gap: var(--bc-s-6); margin-left: var(--bc-s-4); }
.bc-parent-publicnav .bc-nav__link { font-size: var(--bc-fs-sm); color: var(--bc-text-body); padding: 10px 2px; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap;
  border-bottom: 2px solid transparent; border-radius: 0; }
.bc-parent-publicnav .bc-nav__link:hover { color: var(--bc-text-strong); }
.bc-parent-publicnav .bc-nav__link.is-active { color: var(--bc-text-strong); border-bottom-color: var(--bc-accent-500); font-weight: var(--bc-fw-semi); }
.bc-parent-publicnav .bc-nav__actions { margin-left: auto; gap: var(--bc-s-2); }
.sa-nav__toggle { display: none; }
@media (max-width: 1023px) {
  .bc-parent-publicnav .bc-nav__inner { height: 68px; gap: var(--bc-s-3); }
  .bc-parent-publicnav .bc-nav__links { display: none; }
  /* BCDF hides the whole action group under 1024px; the parent site keeps
     Register and the menu button visible on phones - Log in, the guides and
     the help desk move to the drawer. */
  .bc-parent-publicnav .bc-nav__actions { display: flex; margin-left: auto; }
  .bc-parent-publicnav .bc-nav__actions .sa-menu { display: none; }
  .bc-parent-publicnav .bc-nav__actions .bc-btn--secondary { display: none; }
  .sa-nav__toggle { display: grid; }
  .sa-crest img { height: 44px; max-width: 150px; }
}
body.sa-shell .bc-btn[aria-disabled="true"], body.sa-shell .bc-btn.is-disabled { opacity: .5; pointer-events: none; cursor: not-allowed; }

.sa-drawer { position: fixed; inset: 0; z-index: var(--bc-z-drawer); visibility: hidden; }
.sa-drawer.is-open { visibility: visible; }
.sa-drawer__scrim { position: absolute; inset: 0; background: var(--bc-parent-scrim); opacity: 0; transition: opacity var(--bc-transition); }
.sa-drawer.is-open .sa-drawer__scrim { opacity: 1; }
.sa-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 90vw); background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 220ms cubic-bezier(.4,0,.2,1); overflow-y: auto; }
.sa-drawer.is-open .sa-drawer__panel { transform: none; }
.sa-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: var(--bc-s-3) var(--bc-s-4) var(--bc-s-3) var(--bc-s-5); border-bottom: 1px solid var(--bc-border); min-height: 68px; }
.sa-drawer__body { padding: var(--bc-s-4); display: flex; flex-direction: column; gap: 2px; }
.sa-drawer__link { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 12px; border-radius: var(--bc-r-sm); color: var(--bc-text-strong); font-weight: var(--bc-fw-medium); font-size: var(--bc-fs-base); }
.sa-drawer__link:hover { background: var(--bc-grey-50); color: var(--bc-text-strong); }
.sa-drawer__link svg { color: var(--bc-accent-600); }
.sa-drawer__group { font-size: var(--bc-fs-2xs); font-weight: var(--bc-fw-semi); letter-spacing: .10em; text-transform: uppercase; color: var(--bc-text-muted); padding: var(--bc-s-5) 12px 6px; }
.sa-drawer__foot { margin-top: auto; padding: var(--bc-s-5) var(--bc-s-4) calc(var(--bc-s-5) + env(safe-area-inset-bottom)); border-top: 1px solid var(--bc-border); display: grid; gap: var(--bc-s-3); }
body.sa-lock { overflow: hidden; }

/* --------------------------------------------------------------------------
   3. NEED HELP? MENU
   -------------------------------------------------------------------------- */
.sa-menu { position: relative; }
.sa-menu__list { position: absolute; right: 0; top: calc(100% + 8px); z-index: var(--bc-z-drawer); width: min(400px, 92vw); background: #fff; border: 1px solid var(--bc-border);
  border-radius: var(--bc-r-card); box-shadow: var(--bc-sh-lg); padding: var(--bc-s-3); display: none; }
.sa-menu.is-open .sa-menu__list { display: block; }
.sa-menu__head { padding: 8px 12px 10px; font-size: var(--bc-fs-2xs); letter-spacing: .08em; text-transform: uppercase; font-weight: var(--bc-fw-semi); color: var(--bc-text-muted); }
.sa-menu__item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: var(--bc-r-sm); font-size: var(--bc-fs-sm); color: var(--bc-text-body); line-height: 1.4; min-height: 44px; }
.sa-menu__item:hover { background: var(--bc-grey-50); color: var(--bc-text-strong); }
.sa-menu__item svg { margin-top: 3px; color: var(--bc-accent-600); flex: none; }
.sa-menu__sep { border-top: 1px solid var(--bc-border-subtle); margin: 6px 4px; }

/* --------------------------------------------------------------------------
   4. PUBLIC PAGE SECTIONS  (bc-parent-publicsection)
   -------------------------------------------------------------------------- */
.sa-site-main { background: #fff; }
.bc-parent-publicsection { padding-block: var(--bc-s-11); }
.bc-parent-publicsection--tight { padding-block: var(--bc-s-9); }
.bc-parent-publicsection--grey { background: var(--bc-grey-25); border-top: 1px solid var(--bc-border-subtle); border-bottom: 1px solid var(--bc-border-subtle); }
.bc-parent-publicsection--ink { background: var(--bc-brand-700); color: rgba(255,255,255,.80); }
.bc-parent-publicsection--ink :is(h1,h2,h3) { color: #fff; }
.sa-section-head { max-width: 680px; margin-bottom: var(--bc-s-8); }
.sa-section-head--center { text-align: center; margin-inline: auto; }
.sa-section-head .bc-eyebrow { display: block; margin-bottom: var(--bc-s-3); color: var(--bc-accent-700); }
.sa-section-head h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.375rem); line-height: 1.15; letter-spacing: -.025em; }
.sa-section-head p { margin-top: var(--bc-s-4); font-size: var(--bc-fs-lg); line-height: 1.6; color: var(--bc-text-muted); }
.sa-section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--bc-s-5); max-width: none; flex-wrap: wrap; }
.sa-section-head--row > div { max-width: 640px; }
.bc-parent-publicsection--ink .sa-section-head .bc-eyebrow { color: var(--sa-highlight); }
.bc-parent-publicsection--ink .sa-section-head p { color: rgba(255,255,255,.72); }
@media (max-width: 767px) {
  .bc-parent-publicsection { padding-block: var(--bc-s-9); }
  .bc-parent-publicsection--tight { padding-block: var(--bc-s-8); }
  .sa-section-head { margin-bottom: var(--bc-s-6); }
}

/* --------------------------------------------------------------------------
   5. HERO  (bc-parent-hero)
   A split: copy aligned to the container on the left, the photograph bleeding
   to the right edge. Below 1024px the photograph sits above the copy at 16:10.
   -------------------------------------------------------------------------- */
.bc-parent-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 600px; background: #fff; }
.bc-parent-hero__copy { display: flex; flex-direction: column; justify-content: center; padding: var(--bc-s-11) var(--bc-s-9) var(--bc-s-11)
  max(var(--bc-s-6), calc((100vw - var(--bc-container)) / 2 + var(--bc-s-6))); }
.bc-parent-hero__copy h1 { font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem); line-height: 1.06; letter-spacing: -.03em; font-weight: var(--bc-fw-semi); max-width: 16ch; margin-top: var(--bc-s-6); }
.bc-parent-hero__copy h1 em { font-style: normal; color: var(--bc-accent-600); }
.bc-parent-hero__lead { font-size: var(--bc-fs-lg); line-height: 1.65; color: var(--bc-text-body); max-width: 50ch; margin-top: var(--bc-s-5); }
.bc-parent-hero__cta { display: flex; flex-wrap: wrap; gap: var(--bc-s-3); margin-top: var(--bc-s-7); }
.bc-parent-hero__status { margin-top: var(--bc-s-6); display: flex; flex-wrap: wrap; gap: var(--bc-s-3) var(--bc-s-5); align-items: center; }
.bc-parent-hero__links { display: flex; gap: var(--bc-s-5); flex-wrap: wrap; font-size: var(--bc-fs-sm); }
.bc-parent-hero__links a { display: inline-flex; align-items: center; gap: 6px; font-weight: var(--bc-fw-semi); min-height: 44px; }
.bc-parent-hero__media { position: relative; overflow: hidden; background: var(--bc-brand-700); }
.bc-parent-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; display: block; }
.bc-parent-hero__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--bc-s-5) var(--bc-s-6); background: var(--bc-parent-scrim); color: #fff;
  font-size: var(--bc-fs-xs); display: flex; align-items: center; gap: 10px; }
.bc-parent-hero__caption svg { color: var(--sa-highlight); flex: none; }
.sa-eyebrow-pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: var(--bc-r-pill); border: 1px solid var(--bc-border);
  background: #fff; color: var(--bc-text-strong); font-size: var(--bc-fs-xs); font-weight: var(--bc-fw-semi); letter-spacing: .01em; }
.sa-eyebrow-pill svg { color: var(--bc-accent-600); }
@media (max-width: 1279px) {
  .bc-parent-hero__copy { padding-right: var(--bc-s-7); }
}
@media (max-width: 1023px) {
  .bc-parent-hero { grid-template-columns: 1fr; min-height: 0; }
  .bc-parent-hero__media { order: -1; aspect-ratio: 16 / 10; }
  .bc-parent-hero__copy { padding: var(--bc-s-8) var(--bc-s-6) var(--bc-s-9); }
  .bc-parent-hero__copy h1 { max-width: none; }
}
@media (max-width: 767px) {
  .bc-parent-hero__media { aspect-ratio: 4 / 3; }
  .bc-parent-hero__copy { padding: var(--bc-s-7) var(--bc-s-4) var(--bc-s-8); }
  .bc-parent-hero__cta .bc-btn { flex: 1 1 100%; }
  .bc-parent-hero__caption { padding: var(--bc-s-3) var(--bc-s-4); }
}

/* --------------------------------------------------------------------------
   6. ADMISSIONS CALENDAR STRIP  (the phase band)
   The one thing every parent wants to know first: is it open, and until when.
   A light strip under the hero with the countdown in the heading face. In
   the portal the same markup renders as a card (sa-phase--card).
   -------------------------------------------------------------------------- */
.sa-phase { background: var(--bc-grey-25); border-top: 1px solid var(--bc-border); border-bottom: 1px solid var(--bc-border); }
.sa-phase__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--bc-s-5) var(--bc-s-8); align-items: center; padding-block: var(--bc-s-6); }
.sa-phase__label { font-size: var(--bc-fs-2xs); font-weight: var(--bc-fw-semi); letter-spacing: .10em; text-transform: uppercase; color: var(--bc-text-muted); display: flex; align-items: center; gap: 8px; }
.sa-phase__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bc-success); }
.sa-phase--closed .sa-phase__label::before { background: var(--bc-danger); }
.sa-phase--pending .sa-phase__label::before { background: var(--bc-warning); }
.sa-phase__timer { font-family: var(--bc-font-display); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); font-weight: var(--bc-fw-semi); color: var(--bc-text-strong);
  letter-spacing: -.01em; font-variant-numeric: tabular-nums; line-height: 1.2; margin-top: 6px; min-height: 1.2em; }
.sa-phase__note { font-size: var(--bc-fs-sm); color: var(--bc-text-body); margin-top: 4px; }
.sa-phase__note strong { color: var(--bc-text-strong); font-weight: var(--bc-fw-semi); }
.sa-phase__cta { display: flex; gap: var(--bc-s-3); align-items: center; flex-wrap: wrap; }
.sa-phase--card { border: 1px solid var(--bc-border); border-radius: var(--bc-r-card); background: #fff; }
.sa-phase--card .sa-phase__inner { padding: var(--bc-s-5) var(--bc-s-6); }
@media (max-width: 767px) {
  .sa-phase__inner { grid-template-columns: 1fr; padding-block: var(--bc-s-5); }
  .sa-phase__cta .bc-btn { width: 100%; }
  .sa-phase--card .sa-phase__inner { padding: var(--bc-s-4); }
}

/* --------------------------------------------------------------------------
   7. HOW IT WORKS  (bc-journey, editorial)
   Four numbered columns with a hairline above each; one stacked sequence on
   phones with the line running down the left.
   -------------------------------------------------------------------------- */
.sa-journey { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--bc-s-7); }
.sa-journey__item { border-top: 2px solid var(--bc-border); padding-top: var(--bc-s-5); position: relative; }
.sa-journey__item::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--bc-accent-500); }
.sa-journey__no { font-family: var(--bc-font-display); font-size: var(--bc-fs-sm); font-weight: var(--bc-fw-semi); color: var(--bc-accent-700); letter-spacing: .04em; }
.sa-journey__title { font-family: var(--bc-font-display); font-size: var(--bc-fs-h4); font-weight: var(--bc-fw-semi); color: var(--bc-text-strong); margin-top: var(--bc-s-3); line-height: 1.3; }
.sa-journey__body { font-size: var(--bc-fs-sm); color: var(--bc-text-body); margin-top: var(--bc-s-2); line-height: 1.6; }
.sa-journey__link { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--bc-s-3); font-size: var(--bc-fs-sm); font-weight: var(--bc-fw-semi); min-height: 44px; }
@media (max-width: 1023px) { .sa-journey { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--bc-s-6); } }
@media (max-width: 767px)  { .sa-journey { grid-template-columns: 1fr; gap: var(--bc-s-5); } }

/* --------------------------------------------------------------------------
   8. BEFORE YOU START  (bc-parent-checklist)
   -------------------------------------------------------------------------- */
.sa-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--bc-s-10); align-items: start; }
.sa-split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sa-split--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.sa-split__sticky { position: sticky; top: calc(84px + var(--bc-s-6)); }
.bc-parent-checklist { background: #fff; border: 1px solid var(--bc-border); border-radius: var(--bc-r-card); }
.bc-parent-checklist__head { padding: var(--bc-s-5) var(--bc-s-6); border-bottom: 1px solid var(--bc-border-subtle); display: flex; justify-content: space-between; align-items: center; gap: var(--bc-s-3); flex-wrap: wrap; }
.bc-parent-checklist__head h3 { margin: 0; }
.bc-parent-checklist__list { list-style: none; margin: 0; padding: var(--bc-s-2) var(--bc-s-6); }
.bc-parent-checklist__item { display: flex; gap: var(--bc-s-4); padding: var(--bc-s-4) 0; border-bottom: 1px solid var(--bc-border-subtle); align-items: flex-start; }
.bc-parent-checklist__item:last-child { border-bottom: 0; }
.bc-parent-checklist__tick { width: 28px; height: 28px; border-radius: 50%; background: var(--bc-accent-50); color: var(--bc-accent-700); display: grid; place-items: center; flex: none; margin-top: 1px; }
.bc-parent-checklist__item strong { display: block; color: var(--bc-text-strong); font-weight: var(--bc-fw-semi); }
.bc-parent-checklist__item span { font-size: var(--bc-fs-sm); color: var(--bc-text-muted); }
.bc-parent-checklist__foot { padding: var(--bc-s-4) var(--bc-s-6); border-top: 1px solid var(--bc-border-subtle); background: var(--bc-grey-25); border-radius: 0 0 var(--bc-r-card) var(--bc-r-card);
  font-size: var(--bc-fs-sm); color: var(--bc-text-body); }
@media (max-width: 1023px) {
  .sa-split, .sa-split--even, .sa-split--5-7 { grid-template-columns: 1fr; gap: var(--bc-s-7); }
  .sa-split__sticky { position: static; }
}
@media (max-width: 767px) {
  .bc-parent-checklist__head, .bc-parent-checklist__foot { padding-inline: var(--bc-s-4); }
  .bc-parent-checklist__list { padding-inline: var(--bc-s-4); }
}

/* --------------------------------------------------------------------------
   9. FROM THE DEPARTMENT  (bc-parent-publicphoto + leaders)
   -------------------------------------------------------------------------- */
.bc-parent-publicphoto { position: relative; border-radius: var(--bc-r-lg); overflow: hidden; background: var(--bc-brand-700); aspect-ratio: 4 / 3; }
.bc-parent-publicphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-parent-publicphoto figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--bc-s-4) var(--bc-s-5); background: var(--bc-parent-scrim); color: #fff; font-size: var(--bc-fs-xs); }
.sa-prose { font-size: var(--bc-fs-lg); line-height: 1.7; color: var(--bc-text-body); max-width: 60ch; }
.sa-prose p + p { margin-top: var(--bc-s-4); }
.sa-leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--bc-s-5); margin-top: var(--bc-s-8); }
.sa-leader { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bc-border); border-radius: var(--bc-r-card); padding: var(--bc-s-6); }
.sa-leader__top { display: flex; align-items: center; gap: var(--bc-s-4); }
.sa-leader__photo { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex: none; background: var(--bc-brand-600); color: #fff; display: grid; place-items: center;
  font-family: var(--bc-font-display); font-weight: var(--bc-fw-semi); font-size: 1.25rem; }
.sa-leader__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.sa-leader__name { font-family: var(--bc-font-display); font-weight: var(--bc-fw-semi); font-size: var(--bc-fs-h4); color: var(--bc-text-strong); line-height: 1.3; }
.sa-leader__role { font-size: var(--bc-fs-sm); color: var(--bc-text-muted); margin-top: 2px; }
.sa-leader__bio { color: var(--bc-text-body); font-size: var(--bc-fs-sm); line-height: 1.65; margin-top: var(--bc-s-4); flex: 1 1 auto; }
.sa-leader__link { margin-top: var(--bc-s-4); display: inline-flex; align-items: center; gap: 6px; font-weight: var(--bc-fw-semi); font-size: var(--bc-fs-sm); min-height: 44px; align-self: flex-start; }
@media (max-width: 767px) {
  .sa-leaders { grid-template-columns: 1fr; margin-top: var(--bc-s-6); }
  .sa-leader { padding: var(--bc-s-5) var(--bc-s-4); }
  .bc-parent-publicphoto { border-radius: var(--bc-r-card); }
}

/* --------------------------------------------------------------------------
   10. DOCUMENTS AND GUIDES  (bc-parent-doclist)
   -------------------------------------------------------------------------- */
.sa-docgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--bc-s-6); align-items: start; }
.bc-parent-doclist { background: #fff; border: 1px solid var(--bc-border); border-radius: var(--bc-r-card); }
.bc-parent-doclist__head { padding: var(--bc-s-5) var(--bc-s-6) var(--bc-s-4); border-bottom: 1px solid var(--bc-border-subtle); display: flex; align-items: center; gap: 10px; }
.bc-parent-doclist__head h3 { margin: 0; }
.bc-parent-doclist__head svg { color: var(--bc-accent-600); }
.sa-doclist { display: flex; flex-direction: column; padding: var(--bc-s-2) var(--bc-s-3); }
.sa-doc { display: flex; align-items: center; gap: var(--bc-s-3); padding: 12px; border-radius: var(--bc-r-sm); min-height: 52px;
  color: var(--bc-text-strong); font-size: var(--bc-fs-sm); font-weight: var(--bc-fw-medium); line-height: 1.4; }
.sa-doc:hover { background: var(--bc-grey-50); color: var(--bc-text-strong); }
.sa-doc__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--bc-grey-50); color: var(--bc-text-muted); }
.sa-doc:hover .sa-doc__icon { background: var(--bc-accent-50); color: var(--bc-accent-700); }
.sa-doc__go { margin-left: auto; color: var(--bc-text-subtle); flex: none; }
@media (max-width: 1023px) { .sa-docgrid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   11. FAQ
   -------------------------------------------------------------------------- */
body.sa-shell .bc-faq { border: 0; border-bottom: 1px solid var(--bc-border); border-radius: 0; background: transparent; margin: 0; }
body.sa-shell .bc-faq:first-of-type { border-top: 1px solid var(--bc-border); }
body.sa-shell .bc-faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--bc-s-4); padding: var(--bc-s-5) 0; cursor: pointer; list-style: none;
  font-family: var(--bc-font-display); font-weight: var(--bc-fw-semi); font-size: var(--bc-fs-lg); color: var(--bc-text-strong); line-height: 1.35; min-height: 44px; }
body.sa-shell .bc-faq summary::-webkit-details-marker { display: none; }
body.sa-shell .bc-faq summary svg { flex: none; color: var(--bc-text-muted); transition: transform var(--bc-transition); }
body.sa-shell .bc-faq[open] summary svg { transform: rotate(180deg); }
body.sa-shell .bc-faq__body { padding: 0 0 var(--bc-s-5); color: var(--bc-text-body); line-height: 1.65; max-width: 62ch; }

/* --------------------------------------------------------------------------
   12. CLOSING BAND  (bc-parent-ctaband) AND FOOTER  (bc-parent-footer)
   -------------------------------------------------------------------------- */
.bc-parent-ctaband { background: var(--bc-brand-600); color: rgba(255,255,255,.80); }
.bc-parent-ctaband__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--bc-s-6) var(--bc-s-9); align-items: center; padding-block: var(--bc-s-10); }
.bc-parent-ctaband h2 { color: #fff; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.375rem); letter-spacing: -.025em; line-height: 1.15; }
.bc-parent-ctaband p { margin-top: var(--bc-s-3); font-size: var(--bc-fs-lg); max-width: 52ch; }
.bc-parent-ctaband .bc-eyebrow { color: var(--sa-highlight); display: block; margin-bottom: var(--bc-s-3); }
.bc-parent-ctaband__actions { display: flex; gap: var(--bc-s-3); flex-wrap: wrap; }
body.sa-shell .bc-parent-ctaband .bc-btn--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
body.sa-shell .bc-parent-ctaband .bc-btn--secondary:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.6); }
.bc-parent-ctaband__help { margin-top: var(--bc-s-5); font-size: var(--bc-fs-sm); display: flex; gap: var(--bc-s-5); flex-wrap: wrap; }
.bc-parent-ctaband__help a { color: #fff; font-weight: var(--bc-fw-semi); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.bc-parent-ctaband__help svg { color: var(--sa-highlight); }
@media (max-width: 1023px) { .bc-parent-ctaband__inner { grid-template-columns: 1fr; padding-block: var(--bc-s-9); } }
@media (max-width: 767px)  { .bc-parent-ctaband__actions .bc-btn { flex: 1 1 100%; } }

.bc-parent-footer { background: var(--bc-brand-700); color: rgba(255,255,255,.72); font-size: var(--bc-fs-sm); }
.bc-parent-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--bc-s-8); padding-block: var(--bc-s-10) var(--bc-s-8); }
.bc-parent-footer h6 { color: #fff; font-family: var(--bc-font-body); font-size: var(--bc-fs-2xs); letter-spacing: .10em; text-transform: uppercase; font-weight: var(--bc-fw-semi); margin: 0 0 var(--bc-s-4); }
.bc-parent-footer nav { display: flex; flex-direction: column; gap: 2px; }
.bc-parent-footer nav a, .bc-parent-footer__contact { color: rgba(255,255,255,.78); display: flex; align-items: center; gap: 10px; min-height: 40px; }
.bc-parent-footer nav a:hover, .bc-parent-footer__contact:hover { color: #fff; }
.bc-parent-footer .sa-crest-plate { display: inline-flex; }
.bc-parent-footer__blurb { margin-top: var(--bc-s-5); max-width: 40ch; line-height: 1.6; }
.bc-parent-footer__contact svg { color: var(--sa-highlight); flex: none; }
.bc-parent-footer .is-disabled { opacity: .45; pointer-events: none; }
.bc-parent-footer__legal { display: flex; justify-content: space-between; gap: var(--bc-s-4); flex-wrap: wrap; font-size: var(--bc-fs-xs); color: rgba(255,255,255,.55);
  padding-block: var(--bc-s-5) calc(var(--bc-s-6) + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.12); }
@media (max-width: 1023px) { .bc-parent-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px)  { .bc-parent-footer__grid { grid-template-columns: 1fr; gap: var(--bc-s-7); padding-block: var(--bc-s-8) var(--bc-s-6); } }

/* --------------------------------------------------------------------------
   13. LEGACY PUBLIC PAGES (Register, Error) inside the public shell
   -------------------------------------------------------------------------- */
.sa-legacy-page { padding-block: var(--bc-s-8) var(--bc-s-11); }
.sa-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--bc-r-lg); overflow: hidden; background: var(--bc-brand-900); border: 1px solid var(--bc-border); }
.sa-video video { width: 100%; height: 100%; display: block; object-fit: contain; }

/* --------------------------------------------------------------------------
   14. PARENT PORTAL SHELL  (bc-mis bc-mis--parent)
   >= 1024px  ink sidebar: crest plate, three groups, the parent at the foot
   <  1024px  sidebar hidden; a 64px top bar with the crest; bc-bottomnav--parent
   -------------------------------------------------------------------------- */
.bc-mis--parent { background: var(--bc-bg-app); }
.bc-mis--parent .bc-mis__aside { position: sticky; top: 0; height: 100vh; height: 100dvh; background: var(--bc-brand-600); }
.bc-mis--parent .bc-mis__brand { padding: var(--bc-s-5) var(--bc-s-5) var(--bc-s-4); border-bottom: 0; }
.bc-mis--parent .bc-mis__brand .sa-crest-plate { display: flex; }
.bc-mis--parent .bc-mis__nav { padding: var(--bc-s-2) var(--bc-s-3) var(--bc-s-5); }
.bc-mis--parent .bc-vnav__group { padding: var(--bc-s-5) 12px 6px; color: rgba(255,255,255,.48); font-size: var(--bc-fs-2xs); letter-spacing: .10em; text-transform: uppercase; font-weight: var(--bc-fw-semi); }
.bc-mis--parent .bc-vnav__group:first-child { padding-top: var(--bc-s-2); }
.bc-mis--parent .bc-vnav__item { position: relative; color: rgba(255,255,255,.80); font-size: var(--bc-fs-sm); font-weight: var(--bc-fw-medium); min-height: 44px; padding: 10px 12px;
  background: none; border: 0; width: 100%; text-align: left; cursor: pointer; border-radius: var(--bc-r-sm); font-family: inherit; }
.bc-mis--parent .bc-vnav__item:hover { background: rgba(255,255,255,.07); color: #fff; }
.bc-mis--parent .bc-vnav__item.is-active { background: rgba(var(--brand-accent-rgb), .16); color: #fff; font-weight: var(--bc-fw-semi); }
.bc-mis--parent .bc-vnav__item.is-active::before { background: var(--bc-accent-300); left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 2px 2px 0; }
.bc-mis--parent .bc-vnav__item.is-active svg { color: var(--bc-accent-300); }
.bc-mis--parent .bc-vnav__item.is-urgent svg { color: var(--sa-highlight); }
.sa-vnav__sub { display: block; font-size: var(--bc-fs-2xs); color: rgba(255,255,255,.55); font-weight: var(--bc-fw-regular); margin-top: 1px; }
.bc-mis--parent .bc-mis__user { display: flex; align-items: center; gap: 12px; padding: var(--bc-s-4) var(--bc-s-5); border-top: 1px solid rgba(255,255,255,.10); }
.bc-mis--parent .bc-mis__user .sa-avatar { background: rgba(255,255,255,.12); color: #fff; }
.bc-mis--parent .bc-mis__user-name { overflow-wrap: anywhere; }
.bc-mis--parent .bc-mis__user-role { color: rgba(255,255,255,.55); }
.sa-logout { margin: 0; }
.sa-logout .bc-vnav__item { color: rgba(255,255,255,.66); }

.bc-mis--parent .bc-mis__topbar { position: sticky; top: 0; z-index: var(--bc-z-sticky); height: auto; min-height: var(--bc-topbar-h); background: #fff; border-bottom: 1px solid var(--bc-border);
  display: flex; align-items: center; gap: var(--bc-s-4); padding: 0 var(--bc-s-7); }
.bc-mis--parent .bc-mis__title { font-size: var(--bc-fs-h3); letter-spacing: -.015em; margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sa-topbar__crest { display: none; }
.sa-topbar__actions { margin-left: auto; display: flex; align-items: center; gap: var(--bc-s-2); }
.sa-topbar__me { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 6px; border-radius: var(--bc-r-pill); color: var(--bc-text-strong); min-height: 44px; }
.sa-topbar__me:hover { background: var(--bc-grey-50); color: var(--bc-text-strong); }
.sa-topbar__me-text { display: flex; flex-direction: column; line-height: 1.2; }
.sa-topbar__me-name { font-size: var(--bc-fs-sm); font-weight: var(--bc-fw-semi); }
.sa-topbar__me-role { font-size: var(--bc-fs-2xs); color: var(--bc-text-muted); }
.sa-topbar__icon { position: relative; }
.sa-topbar__icon .bc-iconbtn__dot { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--bc-accent-500); border: 2px solid #fff; }

.bc-mis--parent .bc-mis__content { padding: var(--bc-s-7) var(--bc-s-7) var(--bc-s-10); max-width: 1360px; width: 100%; }
.sa-content { min-width: 0; }

/* the page's heading row inside the content area */
.sa-pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--bc-s-5); flex-wrap: wrap; margin-bottom: var(--bc-parent-section); }
.sa-pagehead h1 { margin: 0; }
.sa-pagehead p { margin-top: 6px; color: var(--bc-text-muted); font-size: var(--bc-fs-sm); }
.sa-pagehead__actions { display: flex; gap: var(--bc-s-3); flex-wrap: wrap; }

/* phone */
.bc-bottomnav--parent { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--bc-z-sticky); display: none; min-height: var(--bc-parent-bottomnav);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--bc-border); }
.bc-bottomnav--parent .bc-bottomnav__item { min-height: 56px; min-width: 44px; justify-content: center; gap: 4px; font-size: var(--bc-fs-2xs); font-weight: var(--bc-fw-medium);
  color: var(--bc-text-muted); background: none; border: 0; cursor: pointer; font-family: inherit; border-radius: var(--bc-r-sm); }
.bc-bottomnav--parent .bc-bottomnav__item svg { width: 22px; height: 22px; }
.bc-bottomnav--parent .bc-bottomnav__item.is-active { color: var(--bc-accent-700); }
.bc-bottomnav--parent .bc-bottomnav__item.is-active svg { color: var(--bc-accent-600); }

.sa-sheet { position: fixed; inset: 0; z-index: var(--bc-z-drawer); visibility: hidden; }
.sa-sheet.is-open { visibility: visible; }
.sa-sheet__scrim { position: absolute; inset: 0; background: var(--bc-parent-scrim); opacity: 0; transition: opacity var(--bc-transition); }
.sa-sheet.is-open .sa-sheet__scrim { opacity: 1; }
.sa-sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh; overflow-y: auto; background: #fff; border-radius: 20px 20px 0 0;
  padding: var(--bc-s-3) var(--bc-s-4) calc(var(--bc-s-6) + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform 240ms cubic-bezier(.4,0,.2,1); }
.sa-sheet.is-open .sa-sheet__panel { transform: none; }
.sa-sheet__grip { width: 40px; height: 4px; border-radius: 2px; background: var(--bc-grey-300); margin: 0 auto var(--bc-s-4); }
.sa-sheet .bc-vnav__item { color: var(--bc-text-strong); position: relative; min-height: 48px; font-size: var(--bc-fs-base); background: none; border: 0; width: 100%; text-align: left; font-family: inherit; }
.sa-sheet .bc-vnav__item svg { color: var(--bc-accent-600); }
.sa-sheet .bc-vnav__item:hover { background: var(--bc-grey-50); color: var(--bc-text-strong); }
.sa-sheet .bc-vnav__item.is-active { background: var(--bc-accent-50); color: var(--bc-accent-700); }
.sa-sheet .bc-vnav__item.is-active::before { display: none; }
.sa-sheet .sa-vnav__sub, .sa-sheet .bc-vnav__group { color: var(--bc-text-muted); }
.sa-sheet .bc-vnav__group { padding: var(--bc-s-4) 12px 6px; }
.sa-sheet__user { display: flex; align-items: center; gap: 12px; padding: var(--bc-s-3) 12px var(--bc-s-4); border-bottom: 1px solid var(--bc-border-subtle); margin-bottom: var(--bc-s-2); }

@media (max-width: 1023px) {
  .bc-mis--parent { grid-template-columns: 1fr; }
  .bc-mis--parent .bc-mis__aside { display: none; }
  .bc-mis--parent .bc-mis__topbar { min-height: 64px; padding: 0 var(--bc-s-4); gap: var(--bc-s-3); }
  .sa-topbar__crest { display: inline-flex; }
  .bc-mis--parent .bc-mis__title { font-size: var(--bc-fs-base); }
  .sa-topbar__me-text { display: none; }
  .sa-topbar__me { padding: 4px; }
  .sa-topbar__actions .sa-menu { display: none; }
  .bc-mis--parent .bc-mis__content { padding: var(--bc-s-6) var(--bc-s-6) calc(var(--bc-parent-bottomnav) + var(--bc-s-8) + env(safe-area-inset-bottom)); }
  .bc-bottomnav--parent { display: flex; }
}
@media (max-width: 767px) {
  .bc-mis--parent .bc-mis__content { padding-inline: var(--bc-s-4); padding-top: var(--bc-s-5); }
  .sa-pagehead { margin-bottom: var(--bc-s-6); }
  .sa-pagehead__actions { width: 100%; }
  .sa-pagehead__actions .bc-btn { flex: 1 1 0; }
}
@media (min-width: 1024px) { .bc-bottomnav--parent, .sa-sheet { display: none !important; } }

/* shortcuts row the legacy pages include under their heading (bc-parent-shortcuts) */
.bc-parent-shortcuts { display: flex; flex-wrap: wrap; gap: var(--bc-s-2); margin: 0 0 var(--bc-parent-section); }
.bc-parent-shortcuts .bc-btn[aria-current="page"] { background: var(--bc-accent-50); border-color: var(--bc-accent-200); color: var(--bc-accent-700); pointer-events: none; }
@media (max-width: 767px) { .bc-parent-shortcuts { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; margin-inline: calc(-1 * var(--bc-s-4)); padding-inline: var(--bc-s-4); }
  .bc-parent-shortcuts::-webkit-scrollbar { display: none; }
  .bc-parent-shortcuts .bc-btn { flex: none; } }

/* --------------------------------------------------------------------------
   15. OVERVIEW  (Home, signed in)
   -------------------------------------------------------------------------- */
.sa-overview { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--bc-s-6); align-items: start; }
.sa-overview__col { display: grid; gap: var(--bc-s-6); min-width: 0; }
.sa-keydates { list-style: none; margin: 0; padding: 0; }
.sa-keydates li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--bc-s-4); padding: var(--bc-s-4) var(--bc-s-6); border-bottom: 1px solid var(--bc-border-subtle); align-items: start; }
.sa-keydates li:last-child { border-bottom: 0; }
.sa-keydates__date { text-align: center; border: 1px solid var(--bc-border); border-radius: var(--bc-r-sm); padding: 6px 4px; line-height: 1.1; background: var(--bc-grey-25); }
.sa-keydates__day { font-family: var(--bc-font-display); font-weight: var(--bc-fw-semi); font-size: 1.25rem; color: var(--bc-text-strong); display: block; }
.sa-keydates__mon { font-size: var(--bc-fs-2xs); letter-spacing: .08em; text-transform: uppercase; color: var(--bc-text-muted); font-weight: var(--bc-fw-semi); display: block; margin-top: 2px; }
.sa-keydates__what { font-weight: var(--bc-fw-semi); color: var(--bc-text-strong); font-size: var(--bc-fs-sm); }
.sa-keydates__meta { font-size: var(--bc-fs-xs); color: var(--bc-text-muted); margin-top: 2px; }
.sa-keydates .is-urgent .sa-keydates__date { border-color: var(--bc-warning); background: var(--bc-warning-bg); }
.sa-keydates .is-urgent .sa-keydates__day { color: var(--bc-warning-fg); }
.sa-learnerlist { list-style: none; margin: 0; padding: 0; }
.sa-learnerlist li { display: flex; align-items: center; gap: var(--bc-s-3); padding: var(--bc-s-4) var(--bc-s-6); border-bottom: 1px solid var(--bc-border-subtle); }
.sa-learnerlist li:last-child { border-bottom: 0; }
.sa-learnerlist__name { font-weight: var(--bc-fw-semi); color: var(--bc-text-strong); font-size: var(--bc-fs-sm); min-width: 0; overflow-wrap: anywhere; }
.sa-learnerlist__meta { font-size: var(--bc-fs-xs); color: var(--bc-text-muted); margin-top: 2px; }
.sa-learnerlist__go { margin-left: auto; color: var(--bc-text-subtle); flex: none; }
body.sa-shell .bc-timeline { padding: 0 0 0 26px; margin: 0; }
body.sa-shell .bc-timeline__item { padding-bottom: var(--bc-s-4); }
.sa-helpcard { display: grid; gap: var(--bc-s-2); }
.sa-helpcard a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--bc-text-strong); font-weight: var(--bc-fw-semi); font-size: var(--bc-fs-sm); }
.sa-helpcard svg { color: var(--bc-accent-600); flex: none; }
@media (max-width: 1279px) { .sa-overview { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .sa-keydates li, .sa-learnerlist li { padding-inline: var(--bc-s-4); }
}

/* --------------------------------------------------------------------------
   16. SIGN-IN  (bc-parent-auth)
   Photograph on the left under a flat scrim with the crest and one line;
   the form on the right spans its panel - no 424px floating card.
   -------------------------------------------------------------------------- */
.bc-parent-auth { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: 100vh; min-height: 100dvh; background: #fff; }
.bc-parent-auth__visual { position: relative; overflow: hidden; background: var(--bc-brand-700); color: #fff; display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--bc-s-8); }
.bc-parent-auth__visual > .bc-parent-auth__photo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 35%; display: block; }
.bc-parent-auth__visual::after { content: ""; position: absolute; inset: 0; background: var(--bc-parent-scrim); }
.bc-parent-auth__visual > * { position: relative; z-index: 1; }
.bc-parent-auth__visual .sa-crest-plate { align-self: flex-start; width: 204px; }
.bc-parent-auth__statement h1 { color: #fff; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.12; letter-spacing: -.025em; max-width: 16ch; }
.bc-parent-auth__statement .bc-eyebrow { color: var(--sa-highlight); display: block; margin-bottom: var(--bc-s-3); }
.bc-parent-auth__statement p { margin-top: var(--bc-s-4); color: rgba(255,255,255,.78); max-width: 42ch; line-height: 1.65; }
.bc-parent-auth__support { display: flex; gap: var(--bc-s-6); flex-wrap: wrap; font-size: var(--bc-fs-sm); color: rgba(255,255,255,.78); }
.bc-parent-auth__support a { color: #fff; font-weight: var(--bc-fw-semi); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.bc-parent-auth__support svg { color: var(--sa-highlight); }

.bc-parent-auth__panel { display: flex; flex-direction: column; min-width: 0; }
.bc-parent-auth__top { display: flex; align-items: center; justify-content: space-between; gap: var(--bc-s-4); padding: var(--bc-s-5) var(--bc-s-8); min-height: 84px; }
.bc-parent-auth__top .sa-crest { display: none; }
.bc-parent-auth__body { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; padding: var(--bc-s-6) var(--bc-s-8) var(--bc-s-9); }
.sa-auth__form { width: 100%; max-width: 560px; }
.bc-parent-auth__foot { padding: var(--bc-s-5) var(--bc-s-8) calc(var(--bc-s-5) + env(safe-area-inset-bottom)); font-size: var(--bc-fs-xs); color: var(--bc-text-muted); border-top: 1px solid var(--bc-border-subtle); }
@media (max-width: 1023px) {
  .bc-parent-auth { grid-template-columns: 1fr; }
  .bc-parent-auth__visual { display: none; }
  .bc-parent-auth__top .sa-crest { display: inline-flex; }
  .bc-parent-auth__top, .bc-parent-auth__body, .bc-parent-auth__foot { padding-inline: var(--bc-s-6); }
  .bc-parent-auth__body { justify-content: flex-start; padding-top: var(--bc-s-4); }
}
@media (max-width: 767px) {
  .bc-parent-auth__top, .bc-parent-auth__body, .bc-parent-auth__foot { padding-inline: var(--bc-s-4); }
}
