/* ============================================================
   Alfirdaus Maqra'ah — booking flow styles
   Palette: Alfirdaus turquoise · white · enrolment yellow
   Type: Raleway (display) · Open Sans (body)
   ============================================================ */

:root {
  --ink: #3d3d47;
  --ink-soft: #61616b;
  --cream: #f6f8fa;
  --card: #ffffff;
  --green: #0180aa;
  --green-deep: #006687;
  --green-tint: #edf7fb;
  --gold: #996900;
  --gold-soft: #fff3ce;
  --line: #dce3e8;
  --err: #a33b2e;
  --err-bg: #f9ece8;
  --radius: 6px;
  --shadow: 0 8px 30px rgba(35, 62, 80, 0.05);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font: 16.5px/1.55 "Open Sans", Arial, sans-serif;
  background-color: var(--cream);

}

.wrap { max-width: 660px; margin: 0 auto; padding: 20px 16px 80px; }

/* ---------- header ---------- */
header.site {
  text-align: center;
  padding: 26px 8px 18px;
}
.emblem {
  width: 46px; height: 46px; margin: 0 auto 10px;
  color: var(--gold);
}
header.site h1 {
  font-family: "Raleway", Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 6vw, 34px);
  letter-spacing: 0.2px;
  margin: 0;
  color: var(--green-deep);
}
header.site .tagline {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 15.5px;
}
.rule {
  width: 120px; height: 10px; margin: 14px auto 0;
  color: var(--gold);
}

/* ---------- stepper ---------- */
.stepper {
  display: flex; justify-content: center; gap: 6px;
  margin: 18px 0 22px; padding: 0; list-style: none;
  flex-wrap: wrap;
}
.stepper li {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--ink-soft);
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}
.stepper li .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line); transition: background 0.25s ease;
}
.stepper li.active {
  color: var(--green-deep); border-color: var(--gold-soft);
  background: var(--card); font-weight: 600;
}
.stepper li.active .dot { background: var(--gold); }
.stepper li.done { color: var(--green); }
.stepper li.done .dot { background: var(--green); }

/* ---------- card / steps ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 26px 30px;
}
@media (max-width: 480px) { .card { padding: 22px 16px 24px; } }

.step { animation: rise 0.35s ease both; }
.step[hidden] { display: none; }
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.step h2 {
  font-family: "Raleway", Arial, sans-serif;
  font-weight: 600;
  font-size: 23px;
  margin: 0 0 4px;
  color: var(--green-deep);
}
.step .hint { margin: 0 0 20px; color: var(--ink-soft); font-size: 15px; }

/* ---------- form fields ---------- */
.field { margin-bottom: 16px; }
.field label {
  display: block; font-weight: 600; font-size: 14.5px;
  margin-bottom: 5px; color: var(--ink);
}
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select {
  width: 100%;
  font: inherit; color: var(--ink);
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 5px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(1, 128, 170, 0.14);
}
.field .ferr {
  display: none; color: var(--err); font-size: 13.5px; margin-top: 4px;
}
.field.invalid input, .field.invalid select { border-color: var(--err); }
.field.invalid .ferr { display: block; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }

/* multi-select dropdown (current teachers) */
.msel { position: relative; }
.msel-btn {
  width: 100%; text-align: left; font: inherit; cursor: pointer;
  padding: 11px 38px 11px 13px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 5px; background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2357685f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 13px center no-repeat;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.msel-btn.placeholder { color: var(--ink-soft); }
.msel-btn:focus, .msel.open .msel-btn {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(1, 128, 170, 0.14);
}
.msel-panel {
  position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0;
  background: #fff; border: 1.5px solid var(--line); border-radius: 6px;
  box-shadow: var(--shadow); padding: 6px; max-height: 260px; overflow-y: auto;
}
.msel-opt {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 9px 10px; border-radius: 8px; font-size: 15px;
}
.msel-opt:hover { background: var(--green-tint); }
.msel-opt input {
  width: 17px; height: 17px; accent-color: var(--green); cursor: pointer;
}
@media (max-width: 480px) { .grid2 { grid-template-columns: 1fr; } }

/* ---------- program cards ---------- */
.choice-list { display: grid; gap: 10px; margin-bottom: 6px; }
.choice {
  position: relative;
  display: block; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 6px;
  padding: 13px 15px; background: #fff;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.choice:hover { border-color: var(--gold); }
.choice input {
  position: absolute; opacity: 0; pointer-events: none;
  left: 12px; top: 12px; width: 1px; height: 1px; min-height: 0;
  padding: 0; margin: 0; border: 0;
}
.choice .cname { font-weight: 700; font-size: 16px; color: var(--green-deep); }
.choice .cdesc { font-size: 14px; color: var(--ink-soft); margin-top: 2px; }
.choice.selected {
  border-color: var(--green); background: var(--green-tint);
}

/* ---------- teacher cards ---------- */
.teacher {
  display: flex; align-items: center; gap: 13px;
}
.teacher .tinitial {
  flex: 0 0 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-tint); color: var(--green-deep);
  font-family: "Raleway", Arial, sans-serif; font-size: 19px; font-weight: 600;
}
.teacher .tmeta { min-width: 0; }
.badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.badge {
  font-size: 12.5px; padding: 2px 9px; border-radius: 999px;
  background: var(--cream); border: 1px solid var(--line); color: var(--ink-soft);
}
.badge.gold { background: var(--gold-soft); border-color: var(--gold); color: #6d5417; }

/* ---------- slot calendar ---------- */
.cap-note {
  font-size: 13px; color: var(--ink-soft);
  margin: 0 0 8px;
}
.datestrip {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 4px 2px 12px; margin: 0 -2px;
  scrollbar-width: thin;
}
.datechip {
  flex: 0 0 auto; text-align: center; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 6px;
  background: #fff; padding: 8px 13px; min-width: 64px;
  transition: all 0.2s ease;
}
.datechip .dow { font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.4px; }
.datechip .dnum { font-family: "Raleway", Arial, sans-serif; font-size: 19px; font-weight: 600; color: var(--green-deep); }
.datechip .dmon { font-size: 12px; color: var(--ink-soft); }
.datechip .dcount { font-size: 11px; color: var(--gold); margin-top: 2px; }
.datechip.active { border-color: var(--green); background: var(--green-tint); }
.datechip.has-picks { border-color: var(--gold); }

.period-note {
  font-size: 13.5px; color: var(--ink-soft);
  margin: 2px 0 10px;
}
.period-note .badge { margin-left: 4px; }

.slotgrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 8px; margin-bottom: 4px;
}
.slot {
  font: inherit; font-size: 14.5px; cursor: pointer;
  padding: 9px 4px; text-align: center;
  border: 1.5px solid var(--line); border-radius: 5px;
  background: #fff; color: var(--ink);
  transition: all 0.15s ease;
}
.slot:hover { border-color: var(--green); }
.slot.selected {
  background: var(--green); border-color: var(--green);
  color: var(--cream); font-weight: 600;
}
.slot.booked {
  background: var(--err-bg); border-color: #e5c0b6; color: #b98277;
  cursor: not-allowed; text-decoration: line-through;
}
.slot.booked .bkd {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.6px;
  text-transform: uppercase; text-decoration: none; color: var(--err);
}

/* selection tray */
.tray {
  position: sticky; bottom: 12px;
  margin-top: 18px;
  background: var(--green-deep); color: var(--cream);
  border-radius: 6px; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  box-shadow: 0 12px 28px -10px rgba(0, 102, 135, 0.18);
}
.tray .tcount { font-weight: 700; }
.tray .tprice { font-family: "Raleway", Arial, sans-serif; font-size: 19px; }
.tray .tmsg { font-size: 13px; opacity: 0.85; }

/* ---------- review ---------- */
.review dl {
  margin: 0 0 6px; display: grid; grid-template-columns: 130px 1fr; gap: 7px 12px;
  font-size: 15.5px;
}
.review dt { color: var(--ink-soft); }
.review dd { margin: 0; font-weight: 600; }
.review .times li { margin-bottom: 3px; }
.review .times { margin: 4px 0 0; padding-left: 18px; font-weight: 400; }
.total {
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line);
  display: flex; justify-content: space-between; align-items: baseline;
}
.total .amount { font-family: "Raleway", Arial, sans-serif; font-size: 27px; color: var(--green-deep); }
.total .gst { font-size: 13px; color: var(--ink-soft); }

/* ---------- buttons & nav ---------- */
.nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; }
.btn {
  font: inherit; font-weight: 700; cursor: pointer;
  border-radius: 999px; padding: 12px 26px;
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
}
.btn.primary {
  background: var(--green); color: var(--cream);
  box-shadow: 0 6px 16px -6px rgba(0, 102, 135, 0.18);
}
.btn.primary:hover { background: var(--green-deep); transform: translateY(-1px); }
.btn.primary:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn.ghost {
  background: transparent; color: var(--ink-soft); border-color: var(--line);
}
.btn.ghost:hover { border-color: var(--ink-soft); color: var(--ink); }

/* ---------- alerts ---------- */
.alert {
  border-radius: 5px; padding: 11px 14px; margin-bottom: 16px;
  font-size: 14.5px; display: none;
}
.alert.show { display: block; animation: rise 0.3s ease; }
.alert.error { background: var(--err-bg); color: var(--err); border: 1px solid #e5c0b6; }
.alert.info { background: var(--green-tint); color: var(--green-deep); border: 1px solid #cfe0d3; }

/* ---------- loading ---------- */
.loading { text-align: center; color: var(--ink-soft); padding: 30px 0; }
.spin {
  width: 26px; height: 26px; margin: 0 auto 10px;
  border: 3px solid var(--line); border-top-color: var(--gold);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

footer.site {
  text-align: center; margin-top: 26px;
  font-size: 13.5px; color: var(--ink-soft);
}

/* ---------- Alfirdaus College brand and page layout ---------- */
:root { --brand-blue: #0180aa; --brand-yellow: #febd2d; --heading: #3d3d47; }
[hidden] { display: none !important; }
a { color: #006d94; text-underline-offset: 4px; }
a:hover { color: #004e6a; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #0180aa; outline-offset: 4px; }
.choice:focus-within { outline: 3px solid #0180aa; outline-offset: 3px; }
.skip-link { position: absolute; left: 16px; top: -100px; padding: 12px 20px; background: white; z-index: 100; }
.skip-link:focus { top: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; font-size: 14px; min-height: 46px; }
.btn.primary { background: var(--brand-yellow); color: #24242b; box-shadow: none; }
.btn.primary:hover { background: #f2ae13; color: #24242b; transform: none; }
.btn.primary:disabled { opacity: .55; }
.college-header { background: #fff; border-bottom: 1px solid #e8edf0; }
.college-header-inner { max-width: 1180px; padding: 15px 32px; margin: auto; display: flex; align-items: center; gap: 68px; }
.college-logo { display: block; flex: 0 0 174px; }
.college-logo img { display: block; width: 174px; height: auto; }
.college-navigation { flex: 1; min-width: 0; }
.college-contact { display: flex; align-items: center; gap: 24px; padding: 0 0 15px; border-bottom: 1px solid var(--line); font-size: 12px; }
.college-contact a { color: var(--ink); text-decoration: none; }
.college-contact .college-link { margin-left: auto; color: #006d94; }
.college-navigation nav { display: flex; align-items: center; gap: 28px; padding-top: 14px; }
.college-navigation nav > a:not(.btn) { font-family: 'Raleway', Arial, sans-serif; color: var(--heading); font-size: 14px; font-weight: 700; text-decoration: none; }
.college-navigation nav > a:hover { color: #006d94; }
.college-navigation nav .btn { margin-left: auto; white-space: nowrap; padding: 10px 23px; min-height: 42px; }
.college-footer { background: #35353f; color: #e5e5e8; padding: 48px 32px 22px; font-size: 13px; }
.footer-inner, .footer-bottom { max-width: 1116px; margin: auto; }
.footer-inner { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 40px; }
.college-footer a { color: #fff; text-decoration: none; }
.college-footer a:hover { text-decoration: underline; }
.footer-name { font: 700 24px/1.3 'Raleway', Arial, sans-serif; }
.footer-inner p { line-height: 1.9; color: #d2d2d8; }
.footer-inner h2 { font: 700 15px/1.5 'Raleway', Arial, sans-serif; margin: 0 0 12px; color: var(--brand-yellow); }
.footer-inner > div > a:not(.footer-name) { display: block; margin: 7px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid #5c5c65; margin-top: 34px; padding-top: 20px; font-size: 11px; color: #d2d2d8; }
.home-container { max-width: 1180px; padding-left: 32px; padding-right: 32px; margin: auto; }
.home-page { background: #fff; }
h1, h2, h3 { font-family: 'Raleway', Arial, sans-serif; }
.page-kicker { color: #006d94; font: 700 14px/1.5 'Raleway', Arial, sans-serif; margin: 0 0 14px; }
.home-hero { position: relative; min-height: 515px; display: flex; align-items: center; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-inner { width: 100%; position: relative; padding-top: 52px; padding-bottom: 52px; display: flex; justify-content: flex-end; }
/* The hero photograph's subject (the Qur'an) sits left of centre, so the panel takes the right side on wide screens. */
.hero-panel { max-width: 580px; padding: 38px 40px; background: #fff; border-left: 7px solid var(--brand-blue); }
.hero-panel h1 { font-size: clamp(32px, 3.3vw, 44px); line-height: 1.16; letter-spacing: -1.2px; font-weight: 700; margin: 0 0 20px; color: var(--heading); }
/* The program name is the thing a parent must recognise instantly — it outranks the strapline. */
.hero-panel h1.hero-program-title { font-size: clamp(44px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -1.8px; font-weight: 800; margin: 0 0 12px; color: #006d94; }
.hero-panel .hero-strap { font: 600 clamp(18px, 1.6vw, 22px)/1.4 'Raleway', Arial, sans-serif; color: var(--heading); margin: 0 0 14px; }
.hero-panel > p:not(.page-kicker) { font-size: 15px; line-height: 1.8; margin: 0 0 25px; }
.hero-actions { display: flex; align-items: center; gap: 23px; flex-wrap: wrap; }
.text-link { font-size: 13px; font-weight: 700; }
.program-facts { background: var(--brand-blue); color: #fff; }
.program-facts > div { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 24px; padding-bottom: 24px; }
.program-facts p { margin: 0; padding: 0 30px; border-right: 1px solid #ffffff55; }
.program-facts p:first-child { padding-left: 0; }
.program-facts p:last-child { border: 0; }
.program-facts strong { display: block; font: 700 22px/1.4 'Raleway', Arial, sans-serif; }
.program-facts span { display: block; font-size: 12px; margin-top: 5px; }
.intro-section { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; padding-top: 76px; padding-bottom: 76px; }
.home-page h2 { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.25; letter-spacing: -.6px; margin: 0; font-weight: 700; }
.intro-section > div > p:not(.page-kicker) { font-size: 14px; line-height: 1.9; margin: 0 0 14px; }
.programs-section { background: #f5f7f9; padding: 68px 0 76px; scroll-margin-top: 20px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 32px; }
.section-heading > p { font-size: 13px; max-width: 240px; margin: 0; color: var(--ink-soft); }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program-card { background: #fff; display: flex; flex-direction: column; }
.program-card > img { width: 100%; height: 185px; object-fit: cover; }
.program-copy { padding: 26px 24px; border-top: 5px solid #0180aa; display: flex; flex-direction: column; flex: 1; }
.program-card:nth-child(2) .program-copy { border-color: #018dad; }
.program-card:nth-child(3) .program-copy { border-color: #febd2d; }
.program-copy h3 { font-size: 21px; line-height: 1.3; margin: 0 0 13px; }
.program-copy p { font-size: 13px; line-height: 1.85; margin: 0 0 24px; }
.program-copy a { font-weight: 700; font-size: 12px; margin-top: auto; }
.how-section { display: grid; grid-template-columns: 1.2fr 1fr; gap: 100px; padding-top: 80px; padding-bottom: 80px; scroll-margin-top: 20px; }
.how-steps { counter-reset: how; padding: 0; list-style: none; margin: 32px 0 0; }
.how-steps li { counter-increment: how; position: relative; padding: 0 0 26px 56px; }
.how-steps li::before { content: counter(how); position: absolute; left: 0; top: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #edf7fb; color: #006687; font-weight: 700; }
.how-steps h3 { font-size: 16px; margin: 0 0 8px; }
.how-steps p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.8; }
.pricing-panel { padding: 34px; background: #edf7fb; border-top: 5px solid var(--brand-blue); align-self: start; }
.pricing-panel h3 { font-size: 23px; line-height: 1.35; margin: 0 0 22px; }
.price { font: 700 58px/1.1 'Raleway', Arial, sans-serif; color: #006687; margin: 0 0 5px; }
.price span { font: 600 14px/1.5 'Open Sans', Arial, sans-serif; }
.price-caption { font-size: 12px; margin: 0; }
.pricing-panel ul { list-style: none; padding: 20px 0; margin: 18px 0 0; border-top: 1px solid #c5e0eb; }
.pricing-panel li { font-size: 13px; margin-bottom: 12px; padding-left: 23px; position: relative; }
.pricing-panel li::before { content: '✓'; color: #006687; position: absolute; left: 0; font-weight: 700; }
.enrol-section { background: #fff4d7; padding: 64px 0; scroll-margin-top: 20px; }
.enrol-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.enrol-inner > div > p:not(.page-kicker) { font-size: 14px; line-height: 1.8; max-width: 410px; }
.enrol-gate h3 { font-size: 19px; line-height: 1.5; margin: 0 0 20px; }
.enrol-gate details { margin-top: 20px; font-size: 13px; }
.enrol-gate summary { cursor: pointer; color: #006687; font-weight: 600; padding: 8px 0; }
.enrol-answer { padding: 10px 0 0; line-height: 1.9; }
.enrol-answer p { margin: 0 0 10px; }
/* The booking DOM, IDs and payload remain the existing five-step flow. */
.portal-page .wrap { max-width: 820px; padding: 30px 24px 64px; }
.portal-page header.site { padding: 14px 0 28px; }
.portal-page header.site h1 { color: var(--heading); font-size: 32px; letter-spacing: -.6px; }
.portal-page header.site .tagline { font-size: 14px; margin-top: 12px; }
.booking-page .wrap { max-width: 1180px; padding: 38px 32px 64px; }
.booking-page header.site { text-align: left; padding-bottom: 32px; }
.booking-layout { display: grid; grid-template-columns: 310px minmax(0,1fr); align-items: start; gap: 40px; }
.booking-aside { background: #edf7fb; border-bottom: 4px solid var(--brand-yellow); }
.booking-aside > img { display: block; width: 100%; height: 180px; object-fit: cover; }
.aside-copy { padding: 26px; }
.aside-copy h2 { font-size: 24px; line-height: 1.3; margin: 0 0 16px; color: var(--heading); }
.aside-copy > p { font-size: 13px; line-height: 1.8; color: var(--ink-soft); }
.aside-copy dl { margin: 22px 0; }
.aside-copy dl > div { padding: 13px 0; border-top: 1px solid #cbe1eb; }
.aside-copy dt { font-weight: 700; font-size: 13px; color: #006687; }
.aside-copy dd { margin: 3px 0 0; font-size: 12px; color: var(--ink-soft); }
.aside-copy .aside-help { margin: 0; font-size: 12px; }
#app { min-width: 0; }
.stepper { margin: 0 0 22px; flex-wrap: nowrap; justify-content: space-between; gap: 0; counter-reset: steps; }
.stepper li { flex: 1; counter-increment: steps; flex-direction: column; gap: 8px; border: 0; border-radius: 0; padding: 0 4px 12px; font-size: 11px; border-bottom: 2px solid var(--line); }
.stepper li .dot { display: grid; place-items: center; width: 26px; height: 26px; background: #e5e9ed; color: #61616b; font-size: 11px; }
.stepper li .dot::before { content: counter(steps); }
.stepper li.active { background: none; border-color: #0180aa; color: #006687; }
.stepper li.active .dot { background: #0180aa; color: white; }
.stepper li.done { border-color: #0180aa; }
.stepper li.done .dot { background: #d9edf5; color: #006687; }
.stepper li.done .dot::before { content: '✓'; }
.card { padding: 30px; }
.step h2 { font-size: 26px; color: var(--heading); margin-bottom: 10px; }
.step .hint { font-size: 13px; line-height: 1.8; margin-bottom: 24px; }
.field label { font-size: 12px; margin-bottom: 8px; }
.field input, .field select, .msel-btn { font-size: 14px; min-height: 47px; }
.field { margin-bottom: 20px; }
.choice .cname { font-size: 15px; }
.choice .cdesc { font-size: 12px; }
.teacher .tinitial { font-size: 18px; }
.badge { font-size: 11px; }
.datechip { font: inherit; }
.datechip .dow { text-transform: none; }
.datechip .dcount { color: #796000; }
.slot { min-height: 44px; }
.slot.selected { color: #fff; }
.tray { color: #fff; }
.review dd { overflow-wrap: anywhere; }
.review dl { font-size: 13px; }
.review .times { line-height: 1.9; }
footer.site { font-size: 11px; line-height: 1.9; }
.doc { line-height: 1.85; }
@media (min-width: 1500px) { .home-hero { min-height: 565px; } }
@media (max-width: 960px) {
  .college-header-inner { gap: 30px; padding: 14px 24px; }
  .college-logo, .college-logo img { width: 140px; flex-basis: 140px; }
  .college-navigation nav { gap: 18px; }
  .college-navigation nav > a:not(.btn) { font-size: 12px; }
  .college-contact { gap: 18px; font-size: 11px; }
  .college-contact .college-link { display: none; }
  .intro-section, .how-section, .enrol-inner { gap: 40px; }
  .booking-layout { grid-template-columns: 250px minmax(0,1fr); gap: 24px; }
  .program-copy { padding: 22px 18px; }
  .program-copy h3 { font-size: 19px; }
}
@media (max-width: 720px) {
  .college-header-inner { padding: 12px 20px; gap: 16px; align-items: center; }
  .college-logo, .college-logo img { width: 114px; flex-basis: 114px; }
  .college-contact { justify-content: flex-end; border: 0; padding: 0 0 9px; font-size: 11px; }
  .college-contact a:nth-child(2) { display: none; }
  .college-navigation nav { padding: 0; justify-content: flex-end; }
  .college-navigation nav > a:not(.btn) { display: none; }
  .college-navigation nav .btn { padding: 9px 18px; font-size: 12px; min-height: 40px; }
  .home-container { padding-left: 22px; padding-right: 22px; }
  .home-hero { min-height: 0; display: block; padding-top: 190px; }
  .hero-photo { height: 245px; object-position: center 40%; }
  .hero-inner { justify-content: flex-start; }
  .hero-inner { padding-top: 0; padding-bottom: 26px; }
  .hero-panel { position: relative; padding: 26px 24px; border-left-width: 5px; max-width: none; box-shadow: 0 4px 20px #294b6310; }
  .hero-panel h1 { font-size: 32px; letter-spacing: -.8px; }
  .hero-panel h1.hero-program-title { font-size: 40px; letter-spacing: -1.2px; }
  .hero-panel .hero-strap { font-size: 17px; }
  .hero-panel > p:not(.page-kicker) { font-size: 13px; }
  .hero-actions { gap: 18px; }
  .hero-actions .btn { font-size: 12px; padding: 11px 18px; }
  .program-facts > div { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .program-facts p { padding: 0 0 0 22px; }
  .program-facts p:nth-child(odd) { padding-left: 0; }
  .program-facts p:nth-child(even) { border: 0; }
  .program-facts strong { font-size: 20px; }
  .program-facts span { font-size: 11px; }
  .intro-section, .how-section, .enrol-inner { grid-template-columns: 1fr; gap: 24px; }
  .intro-section, .how-section { padding-top: 48px; padding-bottom: 48px; }
  .programs-section, .enrol-section { padding: 48px 0; }
  .section-heading { display: block; margin-bottom: 26px; }
  .section-heading > p { max-width: none; margin-top: 16px; }
  .program-grid { grid-template-columns: 1fr; }
  .program-card > img { height: 210px; }
  .program-copy { padding: 24px; }
  .program-copy h3 { font-size: 23px; }
  .program-copy p { margin-bottom: 16px; }
  .how-steps li:last-child { padding-bottom: 0; }
  .pricing-panel { padding: 28px; margin-top: 10px; }
  .college-footer { padding: 36px 22px 22px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { display: block; line-height: 1.8; }
  .footer-bottom span { display: block; margin-top: 8px; }
  .portal-page .wrap, .booking-page .wrap { padding: 26px 16px 40px; }
  .portal-page header.site h1 { font-size: 27px; }
  .booking-page header.site .tagline { font-size: 12px; }
  .booking-layout { display: flex; flex-direction: column; gap: 28px; }
  .booking-layout #app { width: 100%; order: 0; }
  .booking-aside { width: 100%; order: 1; }
  .booking-aside > img { display: none; }
  .aside-copy { padding: 24px; }
  .aside-copy h2 br { display: none; }
  .aside-copy dl { margin: 18px 0; }
  .card { padding: 24px 20px; }
  .step h2 { font-size: 23px; }
  .stepper li { font-size: 10px; }
  .nav .btn { padding: 11px 18px; font-size: 12px; }
  .review dl { grid-template-columns: 90px minmax(0,1fr); gap: 12px; font-size: 12px; }
  .total { gap: 12px; }
  .total .amount { font-size: 25px; white-space: nowrap; }
  .field input, .field select, .msel-btn { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Eligibility gate on step 1 */
.gate { border: 0; padding: 0; margin: 0 0 18px; }
.gate legend { font-weight: 700; font-size: 16px; color: var(--heading); margin-bottom: 10px; padding: 0; }
.gate .choice > span, .gate .choice .cname, .gate .choice .cdesc { display: block; }
.gate-answer { margin-top: 12px; padding: 16px 18px; background: #fff6e0; border-left: 4px solid var(--gold); }
.gate-answer p { margin: 0 0 12px; }
.gate-answer .btn { margin-bottom: 10px; }
