/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
:root {
  color-scheme: light;
  --ink: #172B3A;
  --navy: #123B5D;
  --teal: #18A6A6;
  --canvas: #F5F8FA;
  --line: #DCE6EC;
  --muted: #526574;
  --amber: #F2B84B;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; background: var(--canvas); }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: #0C617A; }
.site-bar { min-height: 68px; padding: 0 5vw; display: flex; align-items: center; gap: 24px; background: #fff; border-bottom: 1px solid var(--line); }
.site-nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.site-nav .site-tour-button { min-height: 36px; padding: 6px 12px; font-size: 13px; margin-top: 0; white-space: nowrap; }
.button-compact { min-height: 36px; padding: 6px 14px; font-size: 13px; margin-top: 0; }
.site-nav a { text-decoration: none; font-weight: 650; }
.brand { color: var(--navy); font-size: 21px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.brand-small { font-size: 18px; }
.site-school { flex: 1; color: var(--muted); }
.text-button { border: 0; padding: 8px 0; color: var(--navy); background: transparent; font: inherit; font-weight: 700; cursor: pointer; }
.auth-shell { min-height: 100vh; padding: 32px 20px; display: grid; place-items: center; }
.auth-card { width: min(100%, 450px); padding: 40px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 18px 48px rgb(18 59 93 / 8%); }
.auth-card .brand { display: inline-block; margin-bottom: 44px; }
.eyebrow { margin: 0 0 10px; color: #087F82; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 12px; color: var(--navy); font-size: clamp(27px, 5vw, 34px); letter-spacing: -.04em; line-height: 1.15; }
h2 { margin-bottom: 7px; color: var(--navy); font-size: 18px; }
.muted { color: var(--muted); line-height: 1.6; }
.form-stack { display: grid; gap: 10px; margin-top: 28px; }
.form-stack label { margin-top: 8px; color: var(--ink); font-size: 14px; font-weight: 700; }
.form-stack input[type="email"], .form-stack input[type="password"] { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #B7C8D2; border-radius: 8px; color: var(--ink); background: #fff; font: inherit; }
.form-stack input:focus { border-color: var(--teal); outline: 3px solid rgb(24 166 166 / 20%); }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 17px; border: 1px solid transparent; border-radius: 8px; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.button-primary { color: #fff; background: var(--navy); }
.button-primary:hover { color: #fff; background: #0D5270; }
.form-stack > .button-primary { margin-top: 14px; }
.button-secondary { color: var(--navy); border-color: var(--line); background: #fff; }
.button-secondary:hover { background: #EAF3F6; }
.flash-strip { width: min(1120px, calc(100% - 40px)); margin: 18px auto 0; }
.flash-strip .notice { margin: 0; }
.flash-strip .notice + .notice { margin-top: 10px; }
.form-footnote { margin: 20px 0 0; text-align: center; font-size: 14px; }
.notice { margin: 20px 0 0; padding: 12px 14px; border-radius: 8px; color: #15533C; background: #EAF7F0; line-height: 1.5; }
.notice-alert { color: #7E321D; background: #FFF2E9; }
.page-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 58px 0; }
.narrow-shell { max-width: 760px; }
.page-heading { margin-bottom: 28px; }
.page-heading .brand { display: inline-block; margin-bottom: 42px; }
.school-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.school-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.school-card p { margin-bottom: 0; font-size: 14px; }
.school-card--deletion-queued { border-color: #E2B089; background: #FFF8F2; }
.deletion-status { color: #7E321D; line-height: 1.5; }
.deletion-banner { margin-top: 24px; padding: 20px 18px; border: 1px solid #E2B089; border-radius: 12px; background: #FFF8F2; color: #7E321D; display: grid; gap: 12px; }
.deletion-banner--summary { margin-bottom: 24px; }
.deletion-banner h2 { margin: 0; color: #7E321D; font-size: 1.25rem; }
.deletion-banner p { margin: 0; line-height: 1.55; }
.deletion-banner .button { justify-self: start; margin-top: 4px; }
.deletion-pending-list { margin: 0; padding-left: 1.2rem; display: grid; gap: 8px; line-height: 1.5; }
.deletion-request { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.card-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.card-list-item { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid #D8E2EA; border-radius: 12px; background: #fff; }

.status-flag { display: inline-block; margin-left: 8px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; vertical-align: middle; }
.status-flag--danger { color: #7E321D; background: #F8D7C4; }
.site-school--pending { color: var(--muted); font-style: italic; }
.empty-state { padding: 30px; border: 1px dashed #A8BBC7; border-radius: 12px; background: #fff; line-height: 1.6; }
.dashboard-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.heading-actions { display: flex; align-items: center; gap: 20px; }
.welcome-panel { display: flex; gap: 20px; margin-top: 38px; padding: 28px; border: 1px solid #CBE5E4; border-radius: 16px; background: #fff; }
.welcome-panel p { max-width: 700px; margin-bottom: 0; color: var(--muted); line-height: 1.6; }
.welcome-icon { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; color: #087F82; background: #E1F5F1; font-size: 23px; }
.dashboard-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.dashboard-link { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; }
.dashboard-link > span:nth-child(2) { flex: 1; display: grid; gap: 5px; }
.dashboard-link strong { color: var(--navy); }
.dashboard-link small { color: var(--muted); font-size: 13px; }
.dashboard-link-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #087F82; background: #E1F5F1; font-size: 20px; }
@media (max-width: 620px) {
  .auth-card { padding: 28px 22px; }
  .site-bar { gap: 12px; padding: 0 20px; }
  .site-school { font-size: 13px; }
  .site-nav { gap: 9px; font-size: 12px; }
  .dashboard-heading { flex-direction: column; }
  .heading-actions { width: 100%; justify-content: space-between; }
  .school-card { align-items: flex-start; }
}

@media print {
  .site-bar, .report-filters, .report-actions { display: none !important; }
  body { background: #fff; color: #000; }
  .page-shell { width: 100%; margin: 0; padding: 0; }
  .table-scroll { overflow: visible; border: 0; }
  table { width: 100%; border-collapse: collapse; font-size: 9pt; }
  th, td { padding: 5px; border: 1px solid #aaa; text-align: left; }
  tr { break-inside: avoid; }
}

.form-stack input[type="text"], .form-stack input[type="email"], .form-stack input[type="url"], .form-stack input[type="tel"], .form-stack input[type="number"], .form-stack input[type="date"], .form-stack input[type="datetime-local"], .form-stack select, .form-stack textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #B7C8D2; border-radius: 8px; color: var(--ink); background: #fff; font: inherit;
}
.form-stack input:focus, .form-stack select:focus, .form-stack textarea:focus { border-color: var(--teal); outline: 3px solid rgb(24 166 166 / 20%); }
.choice-fieldset { display: grid; gap: 12px; margin: 8px 0; padding: 16px; border: 1px solid var(--line); border-radius: 9px; }
.choice-fieldset legend { padding: 0 5px; color: var(--ink); font-size: 14px; font-weight: 700; }
.choice-fieldset label, .consent-option { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; }
.radio-option { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 500 !important; line-height: 1.5; }
.choice-fieldset input, .consent-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--teal); }
.small-note { font-size: 13px; }
.weekday-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 720px) {
  .weekday-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.weekday-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 650;
}
.interval-list { display: grid; gap: 14px; margin-bottom: 14px; }
.interval-row {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.interval-row-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.interval-row-heading label { margin: 0; font-size: 14px; font-weight: 750; }
.interval-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.interval-fields label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.interval-fields input[type="time"] {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #B7C8D2;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}
.interval-fields input[type="time"]:focus {
  border-color: var(--teal);
  outline: 3px solid rgb(24 166 166 / 20%);
}
.public-shell { width: min(820px, calc(100% - 36px)); margin: 0 auto; padding: 46px 0 64px; }
.public-heading { margin-bottom: 28px; }
.public-heading .brand { display: inline-block; margin-bottom: 40px; }
.public-calendar { margin-top: 8px; }
.public-calendar-step {
  display: grid;
  gap: 4px;
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.public-day-heading {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-transform: capitalize;
}
.public-date-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(92px, 110px);
  gap: 10px;
  margin: 0 0 28px;
  padding: 4px 2px 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.public-date-chip {
  display: grid;
  gap: 2px;
  justify-items: center;
  min-height: 96px;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  scroll-snap-align: start;
  box-shadow: 0 8px 18px rgb(18 59 93 / 4%);
}
.public-date-chip:hover { border-color: #9EC8C8; background: #F7FCFC; }
.public-date-chip.is-selected,
.public-date-chip[aria-current="date"] {
  border-color: var(--teal);
  background: linear-gradient(180deg, #E8F7F5 0%, #fff 72%);
  box-shadow: 0 0 0 3px rgb(24 166 166 / 18%);
  color: var(--navy);
}
.public-date-chip-weekday {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.public-date-chip-day {
  color: var(--navy);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}
.public-date-chip-month {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-transform: capitalize;
}
.public-date-chip-count {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  text-align: center;
  line-height: 1.3;
}
.public-day-panel-stack { display: grid; gap: 0; }
.public-slot-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.public-multi-select-hint { margin: 0 0 12px; }
.public-slot-select { flex: 0 0 auto; display: flex; align-items: center; }
.public-slot-checkbox { width: 20px; height: 20px; accent-color: var(--navy); }
.public-slot-picker-bar {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 -4px 24px rgba(18, 59, 93, 0.08);
}
.public-slot-picker-count { margin: 0; color: var(--navy); font-weight: 650; }
.public-slot-picker-form { margin: 0; }
.batch-slot-summary { margin: 0; padding-left: 1.1rem; display: grid; gap: 8px; }
.batch-student-fields { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; }
.batch-student-row { display: grid; gap: 6px; }
.public-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.public-slot-copy { min-width: 0; }
.public-slot-time {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.03em;
}
.public-slot-meta { margin: 0; color: var(--muted); font-size: 14px; }
.public-slot-action { flex: 0 0 auto; min-width: 118px; }
.appointment-summary { display: grid; gap: 7px; margin: 24px 0; padding: 20px; border: 1px solid #CBE5E4; border-radius: 12px; background: #fff; }
.appointment-summary strong { color: var(--navy); }
.calendar-link { overflow-wrap: anywhere; }
.share-panel {
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
.share-panel-copy { flex: 1 1 280px; min-width: 0; }
.share-panel-copy h2 { margin: 0 0 8px; color: var(--navy); }
.share-panel-copy > p { margin-bottom: 14px; }
.share-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.share-status { margin-top: 12px; }
.share-qr {
  flex: 0 0 auto;
  margin: 0;
  text-align: center;
}
.share-qr-frame {
  display: grid;
  place-items: center;
  width: 176px;
  height: 176px;
  padding: 12px;
  border: 1px solid #CBE5E4;
  border-radius: 14px;
  background: #fff;
}
.share-qr-frame svg { width: 100%; height: auto; display: block; }
.share-qr figcaption { margin-top: 8px; max-width: 176px; }
.share-access-block { max-width: 720px; }
.public-access-form--compact { margin-top: 16px; }
.public-access-code-fields { display: grid; gap: 8px; margin-top: 4px; }
.public-access-code-fields[hidden] { display: none; }
.section-block { margin-top: 44px; }
.slot-list { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.slot-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.slot-row-head { color: var(--navy); background: #F5F8FA; font-size: 13px; font-weight: 700; }
.slot-row:last-child { border-bottom: 0; }
.empty-state-title { margin: 0 0 6px; color: var(--navy); font-size: 18px; font-weight: 800; }
.appointment-summary--sticky {
  position: sticky;
  top: 0;
  z-index: 2;
  box-shadow: 0 8px 20px rgb(18 59 93 / 8%);
}
.site-nav a { white-space: nowrap; }
.public-access-form--compact .choice-fieldset legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.table-scroll { overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.appointments-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
.appointments-table th, .appointments-table td { padding: 13px; border-bottom: 1px solid var(--line); vertical-align: top; }
.appointments-table th { color: var(--navy); background: #F5F8FA; white-space: nowrap; }
.appointments-table details summary { color: var(--navy); font-weight: 700; cursor: pointer; }
.appointments-table details form { min-width: 210px; display: grid; gap: 8px; padding-top: 10px; }
.appointments-table input[type="text"] { max-width: 260px; min-height: 38px; padding: 8px; border: 1px solid #B7C8D2; border-radius: 6px; font: inherit; }

/* Shared page components used by reports and data-heavy staff screens. */
.panel { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 28px rgb(18 59 93 / 4%); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); align-items: end; gap: 12px 16px; margin: 24px 0 18px; }
.form-field { display: grid; gap: 6px; min-width: 0; }
.form-field label, .form-grid label { color: var(--ink); font-size: 14px; font-weight: 700; }
.form-field input, .form-field select, .form-grid input, .form-grid select {
  width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #B7C8D2; border-radius: 8px; color: var(--ink); background: #fff; font: inherit;
}
.form-field input:focus, .form-field select:focus, .form-grid input:focus, .form-grid select:focus {
  border-color: var(--teal); outline: 3px solid rgb(24 166 166 / 20%);
}
.form-field-action { display: flex; align-items: end; }
.form-grid .button, .form-field-action .button { justify-self: start; color: #fff; background: var(--navy); border-color: transparent; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
.table-scroll th, .table-scroll td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-scroll th { color: var(--navy); background: #F5F8FA; font-size: 13px; white-space: nowrap; }
.table-scroll tbody tr:last-child td { border-bottom: 0; }
.appointment-cancel-dialog .appointment-cancel-form--modal { margin-top: 16px; }
.appointment-cancel-form--modal input[type="text"] {
  width: 100%; max-width: none; min-height: 48px; padding: 11px 13px; border: 1px solid #B7C8D2; border-radius: 8px; font: inherit;
}
.appointment-cancel-dialog-card .confirm-dialog-actions { margin-top: 20px; }
.appointment-filters { margin-top: 8px; }
.appointment-filter-hint { margin: -4px 0 8px; }
.appointment-row-actions { display: grid; gap: 8px; justify-items: start; min-width: 140px; }
.appointment-row-actions .text-button { padding: 0; border: 0; background: none; color: var(--navy); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.appointment-cancel-form { display: grid; gap: 8px; margin-top: 10px; }
.appointment-cancel-form label { color: var(--ink); font-size: 13px; font-weight: 700; }
.appointment-cancel-form input[type="text"] {
  width: 100%; max-width: 240px; min-height: 38px; padding: 8px; border: 1px solid #B7C8D2; border-radius: 6px; font: inherit;
}
.appointment-cancel-form--page {
  max-width: 480px; margin-top: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.form-stack.appointment-cancel-form--page { margin-top: 16px; }
.appointment-cancel-form--page label { font-size: 14px; }
.appointment-cancel-form--page input[type="text"] { max-width: none; min-height: 48px; padding: 11px 13px; border-radius: 8px; }
.appointment-cancel-form--page .button { margin-top: 6px; justify-self: start; }
.appointment-cancel-panel { margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.appointment-cancel-panel > .muted { margin-bottom: 0; }
.appointment-cancel-panel h2 { margin-bottom: 8px; }
.appointment-edit-form { max-width: 560px; margin-top: 24px; }
.status-pill { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.4; }
.status-booked { color: #15533C; background: #EAF7F0; }
.status-cancelled { color: #7E321D; background: #FFF2E9; }
.status-completed { color: var(--navy); background: #EAF3F6; }
.site-bar { flex-wrap: wrap; }
.site-nav { flex-wrap: wrap; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.confirm-dialog {
  width: min(100% - 32px, 440px);
  max-width: 440px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}
.confirm-dialog::backdrop {
  background: rgb(18 59 93 / 48%);
  backdrop-filter: blur(2px);
}
.confirm-dialog[open] {
  display: grid;
  place-items: center;
}
.confirm-dialog-card {
  width: 100%;
  margin: 0;
  padding: 28px 26px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, #fff 0%, #fff 72%, #F7FBFC 100%);
  box-shadow: 0 24px 60px rgb(18 59 93 / 22%);
}
.confirm-dialog[data-tone="warning"] .confirm-dialog-card {
  border-top: 4px solid var(--amber);
}
.confirm-dialog-eyebrow { margin-bottom: 14px; }
.confirm-dialog-card h2 {
  margin-bottom: 10px;
  font-size: clamp(22px, 4vw, 26px);
  letter-spacing: -.03em;
  line-height: 1.2;
}
.confirm-dialog-message { margin: 0; font-size: 15px; }
.confirm-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.confirm-dialog-actions .button { min-width: 120px; }

@media (max-width: 620px) {
  .public-shell { padding-top: 28px; }
  .public-date-scroller {
    grid-auto-columns: minmax(86px, 42vw);
    margin-inline: -18px;
    padding-inline: 18px;
  }
  .public-slot {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }
  .public-slot-action { width: 100%; }
  .interval-fields { grid-template-columns: 1fr; }
  .weekday-grid { grid-template-columns: 1fr; }
  .slot-row { grid-template-columns: 1fr; gap: 5px; }
  .welcome-panel { padding: 20px; }
  .share-panel { flex-direction: column; align-items: stretch; }
  .share-actions .button { width: 100%; }
  .share-qr { align-self: center; }
  .dashboard-links { grid-template-columns: 1fr; }
  .site-bar { padding: 12px 18px; gap: 8px 12px; }
  .site-school { min-width: 0; text-align: right; }
  .site-nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 16px; padding: 8px 0 4px; font-size: 13px; scrollbar-width: thin; }
  .site-nav a { flex: 0 0 auto; }
  .site-bar > .text-button { margin-left: auto; }
  .page-shell { padding: 34px 0; }
  .panel { padding: 20px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .button, .form-field-action .button { width: 100%; }
  .flash-strip { width: calc(100% - 40px); }
  .appointments-table { min-width: 920px; }
  .heading-actions { flex-wrap: wrap; }
  .heading-actions .button { width: 100%; }
  .confirm-dialog-actions { flex-direction: column-reverse; }
  .confirm-dialog-actions .button { width: 100%; }
}
.public-footer { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.public-footer nav { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; }
.legal-shell { padding-bottom: 48px; }
.legal-section { margin-top: 28px; }
.legal-section h2 { font-size: 1.05rem; margin: 0 0 10px; color: var(--navy); }
.legal-section p { margin: 0 0 12px; line-height: 1.55; color: var(--ink); }
.faq-list { display: grid; gap: 22px; margin-top: 24px; }
.faq-item h2 { font-size: 1.05rem; margin: 0 0 8px; color: var(--navy); }
.faq-item p { margin: 0; line-height: 1.55; }
.introjs-tooltip {
  border-radius: 12px;
  color: var(--ink);
  max-width: min(360px, calc(100vw - 32px));
  padding: 16px 18px 14px;
  font-family: inherit;
  box-shadow: 0 18px 40px rgba(18, 59, 93, 0.18);
  border: 1px solid var(--line);
}
.introjs-tooltipReferenceLayer { font-family: inherit; }
.introjs-tooltip-header,
.introjs-tooltipbuttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.introjs-tooltip-header {
  align-items: flex-start;
  margin-bottom: 8px;
  padding: 0;
  min-height: auto;
}
.introjs-tooltip-title {
  flex: 1;
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.35;
  color: var(--navy);
  float: none;
  width: auto !important;
  min-height: 0 !important;
}
.introjs-skipbutton {
  position: static !important;
  display: inline !important;
  flex: 0 0 auto;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 2px 0 0 !important;
  float: none !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.3 !important;
  color: var(--muted) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: right;
}
.introjs-tooltiptext {
  padding: 0 0 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}
.introjs-tooltipbuttons {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.introjs-button {
  all: unset;
  box-sizing: border-box;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px !important;
  margin: 0 !important;
  border-radius: 8px !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  cursor: pointer;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  color: var(--navy) !important;
}
.introjs-nextbutton,
.introjs-donebutton {
  background: var(--navy) !important;
  color: #fff !important;
  border-color: transparent !important;
}
.introjs-prevbutton.introjs-disabled,
.introjs-prevbutton[disabled] {
  opacity: 0.35;
  pointer-events: none;
}
.introjs-progress {
  margin: 8px 0 0;
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: #E8EEF2;
}
.introjs-progressbar {
  height: 4px;
  background: var(--teal);
}
.introjs-arrow.top { border-bottom-color: #fff; }
.introjs-arrow.bottom { border-top-color: #fff; }
.introjs-arrow.left { border-right-color: #fff; }
.introjs-arrow.right { border-left-color: #fff; }
