:root {
  color-scheme: light;
  --bg: #f5f7f8;
  --panel: #ffffff;
  --ink: #182026;
  --muted: #64717d;
  --line: #dbe2e7;
  --accent: #1878b9;
  --accent-dark: #0f5c91;
  --danger: #c94343;
  --success: #1f8a5b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell {
  min-height: 100vh;
}

.topbar {
  align-items: center;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px 22px;
}

.topActions {
  display: flex;
  gap: 8px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 22px;
  font-weight: 700;
}

h2 {
  font-size: 18px;
  font-weight: 700;
}

.topbar p,
.panelHeader span {
  color: var(--muted);
  margin-top: 4px;
}

.layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: calc(100vh - 76px);
}

.sidebar {
  background: #edf2f5;
  border-right: 1px solid var(--line);
  padding: 14px;
}

.navItem {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #34424d;
  cursor: pointer;
  display: block;
  font: inherit;
  margin-bottom: 6px;
  min-height: 40px;
  padding: 10px 12px;
  text-align: left;
  width: 100%;
}

.navItem.active,
.navItem:hover {
  background: #ffffff;
  color: var(--accent-dark);
}

.workspace {
  padding: 22px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: none;
  max-width: 980px;
  padding: 20px;
}

.panel.active {
  display: block;
}

.studentPage {
  --student-bg: #f7f4ee;
  --student-ink: #173245;
  --student-muted: #6f7a82;
  --student-line: #e6ded1;
  --student-card: #fffdf9;
  --student-gold: #d59b35;
  --student-gold-dark: #a86f18;
  --student-green: #2f7d6d;
  background:
    linear-gradient(180deg, #fff9ef 0, #f7f4ee 360px, #f6f8f9 100%);
  color: var(--student-ink);
}

.studentShell {
  margin: 0 auto;
  max-width: 1120px;
  padding: 26px 20px 48px;
}

.studentHero {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  min-height: 184px;
  padding: 26px 4px 22px;
}

.studentEyebrow {
  color: var(--student-gold-dark);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.studentHero h1 {
  color: var(--student-ink);
  font-size: 42px;
  line-height: 1.15;
}

.studentHero p {
  color: #415362;
  font-size: 17px;
  margin-top: 12px;
  max-width: 620px;
}

.studentHeroActions {
  align-items: flex-end;
  display: grid;
  gap: 8px;
  justify-items: end;
}

.studentTimestamp {
  color: var(--student-muted);
  font-size: 12px;
}

.trialBenefitPage {
  --trial-ink: #102635;
  --trial-muted: #5d6870;
  --trial-line: #dfe6e8;
  --trial-card: #ffffff;
  --trial-gold: #d89a2b;
  --trial-teal: #1f8a83;
  --trial-red: #b8473d;
  background: #f4f7f6;
  color: var(--trial-ink);
}

.trialBenefitShell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 16px 16px 48px;
}

.trialBenefitHero {
  background: linear-gradient(90deg, rgba(9, 25, 35, .9) 0%, rgba(9, 25, 35, .5) 100%);
  border-radius: 8px;
  min-height: 380px;
  overflow: hidden;
  position: relative;
}

.trialHeroImage {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: right center;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.trialHeroShade {
  background: linear-gradient(90deg, rgba(9, 25, 35, .9) 0%, rgba(9, 25, 35, .72) 42%, rgba(9, 25, 35, .12) 100%);
  inset: 0;
  position: absolute;
}

.trialHeroContent {
  color: #fff;
  display: grid;
  gap: 14px;
  max-width: 620px;
  padding: 36px 38px;
  position: relative;
  z-index: 1;
}

.trialEyebrow {
  color: #f2c15b;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.trialHeroContent h1 {
  color: #fff;
  font-size: 42px;
  line-height: 1.08;
}

.trialHeroContent p {
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
  max-width: 520px;
}

.trialCountdown {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(66px, 1fr));
  max-width: 390px;
}

.trialCountdown div {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  min-height: 72px;
  padding: 10px 6px;
  place-items: center;
}

.trialCountdown strong {
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.trialCountdown span,
.trialDeadline {
  color: rgba(255, 255, 255, .76);
  font-weight: 700;
}

.trialBenefitGrid {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
  margin-left: auto;
  margin-right: auto;
  margin-top: 16px;
  max-width: 900px;
}

.trialLeadForm {
  background: var(--trial-card);
  border: 1px solid var(--trial-line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(28, 45, 54, .08);
  padding: 20px;
}

.trialLeadForm {
  display: grid;
  gap: 14px;
}

.trialSectionHeader {
  align-items: center;
  border-bottom: 1px solid var(--trial-line);
  display: flex;
  gap: 10px;
  margin-bottom: 4px;
  padding-bottom: 14px;
}

.trialSectionHeader span {
  align-items: center;
  background: var(--trial-teal);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 28px;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.trialSectionHeader h2 {
  color: var(--trial-ink);
}

.trialPhoneRow {
  display: grid;
  gap: 12px;
  grid-template-columns: 140px minmax(0, 1fr);
}

.trialPreferencePanel {
  background: #fbf7f1;
  border: 1px solid #eadfce;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 14px;
}

.trialPreferenceGroup {
  display: grid;
  gap: 8px;
}

.trialPreferenceGroup strong {
  color: #34424d;
  font-size: 13px;
}

.trialSegmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trialSegmented button {
  appearance: none;
  background: #fff;
  border: 1px solid #e5d8c6;
  border-radius: 999px;
  color: #40515e;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  min-height: 36px;
  padding: 9px 14px;
}

.trialSegmented button.active {
  background: var(--trial-teal);
  border-color: var(--trial-teal);
  color: #fff;
}

.trialTeacherPicker {
  display: grid;
  gap: 12px;
}

.trialTeacherPickerHeader {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.trialTeacherPickerHeader strong {
  color: #34424d;
}

.trialTeacherPickerHeader span {
  color: var(--trial-teal);
  font-size: 12px;
  font-weight: 800;
}

.recommendedTeacherGrid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.teacherSelfChoicePanel {
  display: grid;
  gap: 12px;
}

.teacherConsultantPanel {
  background: #f7faf9;
  border: 1px solid var(--trial-line);
  border-radius: 8px;
  color: var(--trial-muted);
  font-size: 13px;
  line-height: 1.6;
  padding: 13px 14px;
}

.teacherRecommendationEmpty {
  background: #f7faf9;
  border: 1px dashed var(--trial-line);
  border-radius: 8px;
  color: var(--trial-muted);
  font-size: 13px;
  line-height: 1.5;
  padding: 14px;
}

.teacherChoiceButton {
  background: #f7faf9;
  border: 1px solid var(--trial-line);
  border-radius: 8px;
  color: var(--trial-ink);
  cursor: pointer;
  display: flex;
  gap: 4px;
  height: 152px;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
  width: 100%;
}

.teacherChoiceButton > .friendTeacherBadge {
  background: #ffde75;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(103, 69, 0, .16);
  color: #674500;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 2;
}

.teacherChoiceButton.systemChoice {
  display: grid;
  gap: 4px;
  min-height: 86px;
  padding: 14px;
}

.teacherChoiceButton.selected {
  background: rgba(31, 138, 131, .08);
  border-color: var(--trial-teal);
  box-shadow: 0 10px 26px rgba(31, 138, 131, .12);
  outline: 2px solid rgba(31, 138, 131, .16);
}

.teacherChoiceButton.fullTeacherChoice {
  height: 188px;
}

.teacherChoiceButton.fullTeacherChoice .trialTeacherPhoto {
  flex-basis: 118px;
}

.teacherChoiceButton strong {
  font-size: 16px;
}

.teacherChoiceButton > span,
.trialTeacherCardBody > span {
  color: var(--trial-muted);
  font-size: 12px;
}

.trialTeacherPhoto {
  align-items: center;
  align-self: stretch;
  color: #fff;
  display: flex;
  flex: 0 0 92px;
  font-size: 28px;
  font-weight: 800;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.trialTeacherPhoto img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
  position: absolute;
  transform: none;
  width: 100%;
}

.trialTeacherCardBody {
  display: grid;
  gap: 5px;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  min-width: 0;
  padding: 12px;
}

.trialTeacherCardBody p {
  color: var(--trial-muted);
  display: -webkit-box;
  font-size: 12px;
  line-height: 1.35;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fullTeacherChoice .trialTeacherCardBody p {
  font-size: 13px;
  line-height: 1.45;
  -webkit-line-clamp: 3;
}

.trialAvailabilityBadge {
  align-self: end;
  background: #ffffff;
  border: 1px solid var(--trial-line);
  border-radius: 999px;
  color: var(--trial-teal);
  display: inline-flex;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  justify-self: start;
  padding: 4px 7px;
}

.allTeacherDetails {
  border: 1px solid var(--trial-line);
  border-radius: 8px;
  padding: 0;
}

.allTeacherDetails summary {
  color: var(--trial-teal);
  cursor: pointer;
  font-weight: 800;
  list-style-position: inside;
  padding: 11px 12px;
}

.allTeacherGrid {
  border-top: 1px solid var(--trial-line);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-height: 620px;
  overflow: auto;
  padding: 12px;
}

.trialLeadForm textarea {
  appearance: none;
  background: #fff;
  border: 1px solid #cfd8de;
  border-radius: 6px;
  color: #182026;
  font: inherit;
  padding: 9px 10px;
  resize: vertical;
  width: 100%;
}

.trialLeadForm textarea:focus {
  border-color: var(--trial-teal);
  outline: 2px solid rgba(31, 138, 131, .18);
}

.trialSubmitButton {
  background: var(--trial-gold);
  border: 0;
  border-radius: 6px;
  color: #261906;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 46px;
  padding: 11px 16px;
}

.trialSubmitButton:disabled {
  cursor: not-allowed;
  opacity: .62;
}

.trialSuccessModal {
  align-items: center;
  background: rgba(10, 24, 32, .48);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 1000;
}

.trialSuccessCard {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(9, 25, 35, .24);
  color: var(--trial-ink);
  display: grid;
  gap: 14px;
  max-width: 360px;
  padding: 24px;
  text-align: center;
  width: 100%;
}

.trialSuccessCard strong {
  color: var(--trial-teal);
  font-size: 24px;
}

.trialSuccessCard p {
  color: var(--trial-muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.trialSuccessCard button {
  appearance: none;
  background: var(--trial-teal);
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 42px;
  padding: 10px 18px;
}

.trialTeacherSlotModal {
  align-items: center;
  background: rgba(10, 24, 32, .48);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 1001;
}

.trialTeacherSlotCard {
  background: #fffdf9;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(9, 25, 35, .24);
  color: var(--trial-ink);
  display: grid;
  gap: 14px;
  max-height: 90vh;
  max-width: 720px;
  overflow: auto;
  padding: 18px;
  position: relative;
  width: 100%;
}

.trialTeacherSlotClose {
  appearance: none;
  background: #eef4f3;
  border: 0;
  border-radius: 999px;
  color: #40515e;
  cursor: pointer;
  font: inherit;
  font-size: 22px;
  font-weight: 800;
  height: 34px;
  line-height: 1;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 34px;
}

.trialTeacherSlotHeader {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 82px minmax(0, 1fr);
  padding-right: 42px;
}

.trialTeacherSlotPhoto {
  align-items: center;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 30px;
  font-weight: 900;
  height: 82px;
  justify-content: center;
  overflow: hidden;
  width: 82px;
}

.trialTeacherSlotPhoto img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.trialTeacherSlotHeader strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
}

.trialTeacherSlotHeader span {
  color: var(--trial-teal);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-top: 3px;
}

.trialTeacherSlotHeader p {
  color: var(--trial-muted);
  display: -webkit-box;
  font-size: 13px;
  line-height: 1.55;
  margin-top: 7px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.trialTeacherSlotSummary {
  background: rgba(31, 138, 131, .08);
  border: 1px solid rgba(31, 138, 131, .18);
  border-radius: 8px;
  color: var(--trial-teal);
  font-size: 13px;
  font-weight: 900;
  padding: 9px 11px;
}

.trialTeacherSlotList {
  display: grid;
  gap: 10px;
}

.trialTeacherSlotDay {
  background: #ffffff;
  border: 1px solid var(--trial-line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 11px;
}

.trialTeacherSlotDay strong {
  color: #34424d;
  font-size: 13px;
}

.trialTeacherSlotDay div {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
}

.trialTeacherSlotDay button {
  appearance: none;
  background: #f7faf9;
  border: 1px solid var(--trial-line);
  border-radius: 6px;
  color: var(--trial-ink);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  min-height: 36px;
  padding: 8px 6px;
}

.trialTeacherSlotDay button:hover,
.trialTeacherSlotDay button:focus,
.trialTeacherSlotDay button.selected {
  background: var(--trial-teal);
  border-color: var(--trial-teal);
  box-shadow: 0 8px 18px rgba(31, 138, 131, .2);
  color: #fff;
  outline: 2px solid rgba(31, 138, 131, .18);
}

.trialTeacherSlotEmpty {
  background: #f7faf9;
  border: 1px dashed var(--trial-line);
  border-radius: 8px;
  color: var(--trial-muted);
  font-size: 13px;
  font-weight: 800;
  padding: 14px;
  text-align: center;
}

.trialSideList {
  display: grid;
  gap: 12px;
}

.trialSideList div {
  background: #f7faf9;
  border: 1px solid var(--trial-line);
  border-radius: 8px;
  padding: 14px;
}

.trialSideList strong {
  color: var(--trial-teal);
  display: block;
  margin-bottom: 5px;
}

.trialSideList p {
  color: var(--trial-muted);
}

.banner.success {
  background: rgba(31, 138, 91, .1);
  border-color: rgba(31, 138, 91, .25);
  color: #16613f;
}

.banner.error {
  background: rgba(184, 71, 61, .1);
  border-color: rgba(184, 71, 61, .25);
  color: var(--trial-red);
}

.banner.warning {
  background: rgba(219, 158, 36, .12);
  border-color: rgba(219, 158, 36, .28);
  color: #8a5a0a;
}

.studentFlow {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
}

.studentPanel,
.studentSummary {
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid var(--student-line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(45, 55, 64, 0.08);
}

.studentPanel,
.studentSummary {
  padding: 18px;
}

.studentSide {
  display: grid;
  gap: 16px;
}

.studentPanelHeader {
  align-items: center;
  border-bottom: 1px solid var(--student-line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 13px;
}

.studentPanelHeader.compact {
  margin-bottom: 12px;
}

.studentPanelHeader > div:first-child {
  align-items: center;
  display: flex;
  gap: 10px;
}

.studentPanelHeader h2 {
  color: var(--student-ink);
}

.studentStep {
  align-items: center;
  background: var(--student-ink);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 28px;
  font-size: 13px;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.studentLookupForm {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(150px, 0.5fr) minmax(220px, 1fr) auto;
}

.studentLookupForm .primary {
  background: var(--student-gold);
  color: #271806;
}

.studentLookupForm .primary.full {
  grid-column: auto;
  margin-top: 0;
  min-width: 120px;
}

.studentLookupForm .primary:hover {
  background: #e8ad45;
}

.studentSummary {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.studentAccountMeta {
  align-items: center;
  background: rgba(23, 50, 69, 0.06);
  border: 1px solid rgba(23, 50, 69, 0.08);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
}

.studentAccountMeta span {
  color: var(--student-muted);
  font-size: 12px;
  font-weight: 800;
}

.studentAccountMeta strong {
  color: var(--student-ink);
  font-size: 14px;
}

.creditTile {
  background: #ffffff;
  border: 1px solid #eadfce;
  border-radius: 8px;
  color: var(--student-ink);
  cursor: pointer;
  display: grid;
  font: inherit;
  gap: 3px;
  padding: 14px;
  text-align: left;
  width: 100%;
}

.creditTile span,
.creditTile small,
.bookingItem span,
.slotButton small,
.slotDateHeader span {
  color: var(--student-muted);
}

.creditTile strong {
  color: var(--student-green);
  font-size: 30px;
  line-height: 1.1;
}

.creditTile em {
  color: var(--student-gold-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  margin-top: 4px;
}

.creditTile:hover,
.creditTile:focus,
.creditTile.selected {
  border-color: var(--student-gold);
  box-shadow: 0 12px 28px rgba(213, 155, 53, 0.18);
  outline: 2px solid rgba(213, 155, 53, 0.2);
}

.creditTile:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.creditTile:disabled:hover,
.creditTile:disabled:focus {
  border-color: #eadfce;
  box-shadow: none;
  outline: 0;
}

.studentIntroText,
.studentEmpty {
  color: var(--student-muted);
}

.studentIntroText {
  margin: 0 0 12px;
}

.studentEmpty {
  padding: 12px;
}

.slotToolbar {
  display: grid;
  gap: 10px;
  grid-template-columns: 170px 180px;
}

.slotGrid {
  display: grid;
  gap: 16px;
}

.slotDateGroup {
  display: grid;
  gap: 10px;
}

.slotDateHeader {
  align-items: baseline;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.slotCards {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.slotButton {
  background: #fff;
  border: 1px solid #e2d8c8;
  border-radius: 8px;
  color: var(--student-ink);
  cursor: pointer;
  display: grid;
  font: inherit;
  gap: 5px;
  min-height: 104px;
  padding: 13px;
  text-align: left;
}

.slotTeacher {
  color: var(--student-green);
  font-size: 13px;
  font-weight: 800;
}

.slotButton strong {
  font-size: 18px;
}

.slotButton:hover,
.slotButton:focus,
.slotButton.selected {
  border-color: var(--student-gold);
  box-shadow: 0 12px 28px rgba(213, 155, 53, 0.18);
  outline: 2px solid rgba(213, 155, 53, 0.2);
}

.slotButton:disabled {
  cursor: wait;
  opacity: 0.72;
}

.teacherFilterBar,
.dateFilterBar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.teacherFilterButton {
  background: #fff;
  border: 1px solid #eadfce;
  border-radius: 999px;
  color: #415362;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  min-height: 34px;
  padding: 7px 13px;
}

.teacherFilterButton.active {
  background: var(--student-ink);
  border-color: var(--student-ink);
  color: #fff;
}

.teacherBookingGrid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.teacherBookingCard {
  background: #fff;
  border: 1px solid #eadfce;
  border-radius: 8px;
  color: var(--student-ink);
  cursor: pointer;
  display: grid;
  font: inherit;
  overflow: hidden;
  padding: 0;
  text-align: left;
}

.teacherBookingCard:hover,
.teacherBookingCard:focus {
  border-color: var(--student-gold);
  box-shadow: 0 14px 32px rgba(45, 55, 64, 0.13);
  outline: 2px solid rgba(213, 155, 53, 0.2);
}

.teacherBookingPhoto {
  aspect-ratio: 4 / 3;
  background: #f4f1eb;
  overflow: hidden;
  position: relative;
}

.teacherBookingPhoto img {
  background: #f4f1eb;
  height: 118%;
  inset: 0;
  object-fit: cover;
  object-position: top center;
  position: absolute;
  transform: translateY(-18%);
  width: 100%;
}

.avatarInitial {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 42px;
  font-weight: 900;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.teacherBookingBody {
  display: grid;
  gap: 7px;
  padding: 12px;
}

.teacherBookingBody strong {
  font-size: 16px;
}

.teacherTags {
  color: var(--student-muted);
  font-size: 12px;
}

.teacherBookingFooter {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.slotBadge {
  color: var(--student-green);
  font-size: 12px;
  font-weight: 900;
}

.viewTeacher {
  color: var(--student-gold-dark);
  font-size: 12px;
  font-weight: 900;
}

.bookingModalOverlay {
  background: rgba(0, 0, 0, 0.48);
  inset: 0;
  position: fixed;
  z-index: 60;
}

.bookingModal {
  background: #fff9f2;
  border-radius: 24px 24px 0 0;
  bottom: 0;
  box-shadow: 0 -18px 50px rgba(20, 28, 38, 0.24);
  left: 0;
  margin: 0 auto;
  max-height: 92vh;
  max-width: 980px;
  overflow-y: auto;
  padding: 16px 20px 24px;
  position: fixed;
  right: 0;
  z-index: 70;
}

.bookingModalOverlay.hidden,
.bookingModal.hidden {
  display: none !important;
}

.bookingModal > .iconButton {
  position: absolute;
  right: 20px;
  top: 16px;
}

.teacherProfileHeader {
  align-items: center;
  display: flex;
  gap: 16px;
  padding: 20px 56px 14px 0;
}

.profileAvatar {
  align-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(26, 39, 68, 0.2);
  color: #fff;
  display: flex;
  flex: 0 0 76px;
  font-size: 32px;
  font-weight: 900;
  height: 76px;
  justify-content: center;
  overflow: hidden;
  width: 76px;
}

.profileAvatar img {
  height: 100%;
  object-fit: cover;
  object-position: top;
  width: 100%;
}

.specTags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.specTag {
  background: rgba(23, 50, 69, 0.08);
  border-radius: 999px;
  color: #415362;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
}

.specTag.highlight {
  background: rgba(213, 155, 53, 0.18);
  color: var(--student-gold-dark);
}

.profileBio {
  color: #415362;
  line-height: 1.7;
  margin-bottom: 16px;
}

.modalSectionHeader {
  align-items: baseline;
  border-top: 1px solid #eadfce;
  display: flex;
  justify-content: space-between;
  margin: 14px 0 12px;
  padding-top: 14px;
}

.modalSectionHeader h3 {
  margin: 0;
}

.modalSectionHeader span {
  color: var(--student-muted);
  font-weight: 800;
}

.modalScheduleGrid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
}

.modalDayColumn {
  background: #fff;
  border: 1px solid #eadfce;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 10px;
}

.modalDayColumn strong {
  color: var(--student-ink);
  font-size: 13px;
}

.modalSlotButton {
  background: rgba(23, 50, 69, 0.07);
  border: 0;
  border-radius: 6px;
  color: var(--student-ink);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  min-height: 34px;
  padding: 7px 6px;
  width: 100%;
}

.modalSlotButton:hover,
.modalSlotButton:focus,
.modalSlotButton.selected {
  background: rgba(213, 155, 53, 0.22);
  outline: 2px solid rgba(213, 155, 53, 0.24);
}

.modalSlotButton:disabled {
  cursor: wait;
  opacity: 0.65;
}

.modalSlotEmpty {
  align-items: center;
  background: rgba(23, 50, 69, 0.04);
  border-radius: 6px;
  color: var(--student-muted);
  display: flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
  min-height: 34px;
  padding: 7px 6px;
  text-align: center;
}

.bookingList {
  display: grid;
  gap: 10px;
}

.bookingItem {
  background: #fff;
  border: 1px solid #eadfce;
  border-radius: 8px;
  display: grid;
  gap: 5px;
  padding: 12px;
}

.bookingStatus {
  color: var(--student-gold-dark) !important;
  font-size: 12px;
  font-weight: 800;
}

.panelHeader {
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  padding-bottom: 14px;
}

.sectionHint {
  background: #f4f8fb;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  margin-bottom: 14px;
  padding: 10px 12px;
}

.sectionHint strong {
  color: #34424d;
  display: block;
  margin-bottom: 6px;
}

.sectionHint ul {
  margin: 0;
  padding-left: 18px;
}

.sectionHint li + li {
  margin-top: 4px;
}

.accountToolsResult {
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 16px;
  padding: 12px;
}

.accountToolsResult p {
  color: var(--muted);
  margin: 6px 0;
}

.accountToolsResult ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.accountWarnings {
  color: #8a5a0a;
  margin-top: 10px;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.full {
  grid-column: 1 / -1;
}

label {
  color: #34424d;
  display: grid;
  font-weight: 600;
  gap: 6px;
}

.requiredMark,
.weekdaySet.fieldRequired legend::after {
  color: var(--danger);
  content: "*";
  font-weight: 800;
  margin-left: 4px;
}

input,
select {
  appearance: none;
  background: #fff;
  border: 1px solid #cfd8de;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 40px;
  padding: 8px 10px;
  width: 100%;
}

select {
  background-image: linear-gradient(45deg, transparent 50%, #60717c 50%), linear-gradient(135deg, #60717c 50%, transparent 50%);
  background-position: calc(100% - 16px) 17px, calc(100% - 11px) 17px;
  background-repeat: no-repeat;
  background-size: 5px 5px;
  padding-right: 34px;
}

input:focus,
select:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(24, 120, 185, 0.18);
}

.combo {
  position: relative;
}

.comboMenu {
  background: #fff;
  border: 1px solid #cfd8de;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(25, 35, 45, 0.16);
  display: none;
  left: 0;
  max-height: 320px;
  overflow-y: auto;
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 20;
}

.combo.open .comboMenu {
  display: block;
}

.comboOption {
  border-bottom: 1px solid #edf1f4;
  cursor: pointer;
  padding: 10px 12px;
}

.comboOption:last-child {
  border-bottom: 0;
}

.comboOption:hover,
.comboOption.active {
  background: #edf7fc;
}

.comboTitle {
  color: var(--ink);
  font-weight: 700;
}

.comboMeta {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.comboEmpty {
  color: var(--muted);
  padding: 12px;
}

.recordList {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow-y: auto;
  padding: 10px;
}

.recordOption {
  align-items: center;
  background: #fff;
  border: 1px solid #cfd8de;
  border-radius: 6px;
  color: #34424d;
  cursor: pointer;
  display: flex;
  gap: 10px;
  padding: 10px;
  text-align: left;
  width: 100%;
}

.recordOption:hover {
  background: #f5f9fb;
}

.recordOption.selected {
  background: #e2f2fb;
  border-color: var(--accent);
  color: var(--accent-dark);
}

.recordCheck {
  align-items: center;
  background: #fff;
  border: 1px solid #b9c7d0;
  border-radius: 5px;
  color: transparent;
  display: inline-flex;
  flex: 0 0 22px;
  font-size: 15px;
  font-weight: 800;
  height: 22px;
  justify-content: center;
  line-height: 1;
  width: 22px;
}

.recordOption.selected .recordCheck {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.recordOption strong,
.recordOption small {
  display: block;
}

.recordOption small,
.recordEmpty {
  color: var(--muted);
}

.recordEmpty {
  padding: 12px;
}

.inlineCheck {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  margin-bottom: 10px;
  position: relative;
}

.inlineCheck input {
  opacity: 0;
  position: absolute;
}

.inlineCheck::before {
  align-items: center;
  background: #fff;
  border: 1px solid #b9c7d0;
  border-radius: 5px;
  color: #fff;
  content: "";
  display: inline-flex;
  flex: 0 0 22px;
  font-size: 15px;
  font-weight: 800;
  height: 22px;
  justify-content: center;
  line-height: 1;
  width: 22px;
}

.inlineCheck:has(input:checked) {
  color: var(--accent-dark);
}

.inlineCheck:has(input:checked)::before {
  background: var(--accent);
  border-color: var(--accent);
  content: "✓";
}

.primary,
.iconButton,
.smallButton {
  background: var(--accent);
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-height: 40px;
  padding: 9px 14px;
}

.primary {
  margin-top: 18px;
}

.primary:hover,
.iconButton:hover,
.smallButton:hover {
  background: var(--accent-dark);
}

.primary:disabled,
.iconButton:disabled,
.smallButton:disabled,
.secondary:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.secondaryAction {
  background: #ffffff;
  border: 1px solid var(--line);
  color: #34424d;
}

.secondaryAction:hover {
  background: #edf2f5;
}

.smallButton {
  min-height: 32px;
  padding: 6px 10px;
  white-space: nowrap;
}

.recordingLinkRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.recordingLinkRow .smallButton {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
}

.secondary {
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  margin-top: 12px;
  min-height: 38px;
  padding: 8px 12px;
}

.secondary:hover {
  background: #edf7fc;
}

.ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: #40515e;
}

.ghost:hover {
  background: #f5f8fa;
  color: var(--danger);
}

.scheduleList {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.scheduleBlock {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.scheduleBlockHeader {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.modeBar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.modeBar label {
  align-items: center;
  background: #eef4f7;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  font-weight: 600;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  position: relative;
}

.modeBar input {
  opacity: 0;
  position: absolute;
}

.modeBar label::before {
  align-items: center;
  background: #fff;
  border: 1px solid #b9c7d0;
  border-radius: 5px;
  color: #fff;
  content: "";
  display: inline-flex;
  flex: 0 0 24px;
  font-size: 16px;
  font-weight: 800;
  height: 24px;
  justify-content: center;
  line-height: 1;
  width: 24px;
}

.modeBar label:has(input:checked),
.modeBar label.checked {
  background: #e2f2fb;
  border-color: var(--accent);
  color: var(--accent-dark);
}

.modeBar label:has(input:checked)::before,
.modeBar label.checked::before {
  background: var(--accent);
  border-color: var(--accent);
  content: "✓";
}

.subModeBar {
  align-items: center;
  background: #f6f9fb;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
}

.subModeBar label {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #41505b;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  gap: 7px;
  min-height: 34px;
  padding: 6px 10px;
  position: relative;
}

.subModeBar input {
  opacity: 0;
  position: absolute;
}

.subModeBar label::before {
  align-items: center;
  border: 1px solid #b8c7d0;
  border-radius: 50%;
  color: transparent;
  content: "";
  display: inline-flex;
  flex: 0 0 16px;
  font-size: 11px;
  font-weight: 900;
  height: 16px;
  justify-content: center;
  width: 16px;
}

.subModeBar label:has(input:checked),
.subModeBar label.checked {
  background: #fff;
  border-color: #b8d7ea;
  color: var(--accent-dark);
}

.subModeBar label:has(input:checked)::before,
.subModeBar label.checked::before {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  content: "✓";
}

.weekdaySet {
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
  padding: 12px;
}

.weekdaySet legend {
  color: #34424d;
  font-weight: 700;
  padding: 0 4px;
}

.weekdaySet label {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  font-weight: 600;
  gap: 6px;
  min-height: 34px;
  padding: 5px 8px;
  position: relative;
}

.weekdaySet input {
  opacity: 0;
  position: absolute;
}

.weekdaySet label::before {
  align-items: center;
  background: #fff;
  border: 1px solid #b9c7d0;
  border-radius: 5px;
  color: #fff;
  content: "";
  display: inline-flex;
  flex: 0 0 22px;
  font-size: 15px;
  font-weight: 800;
  height: 22px;
  justify-content: center;
  line-height: 1;
  width: 22px;
}

.weekdaySet label:hover {
  background: #f5f9fb;
}

.weekdaySet label:has(input:checked) {
  background: #e2f2fb;
  border-color: #b8d7ea;
  color: var(--accent-dark);
}

.weekdaySet label:has(input:checked)::before {
  background: var(--accent);
  border-color: var(--accent);
  content: "✓";
}

.banner {
  border-radius: 6px;
  margin-bottom: 14px;
  max-width: 980px;
  padding: 10px 12px;
}

.banner.success {
  background: #e8f6ef;
  color: var(--success);
}

.banner.error {
  background: #fdecec;
  color: var(--danger);
}

.banner.warning {
  background: #fff7df;
  color: #8a5a0a;
}

.helperNote {
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #44525d;
  margin-bottom: 16px;
  padding: 10px 12px;
}

.hidden {
  display: none !important;
}

.tableWrap {
  overflow-x: auto;
}

.metricGrid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  margin-bottom: 16px;
}

.metricCard {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.metricCard span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
}

.metricCard strong {
  color: var(--ink);
  display: block;
  font-size: 22px;
  line-height: 1.1;
}

.dataSplit {
  display: grid;
  gap: 18px;
}

.dataSplit h3 {
  font-size: 15px;
  margin: 10px 0;
}

.reportList {
  display: grid;
  gap: 14px;
}

.filterBar {
  align-items: end;
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 150px minmax(220px, 1fr) repeat(4, minmax(140px, 1fr));
  margin-bottom: 16px;
  padding: 12px;
}

.filterBar label {
  font-size: 12px;
  gap: 4px;
}

.filterBar input,
.filterBar select {
  min-height: 36px;
}

.widePanel {
  max-width: none;
}

.selfServiceFilters {
  grid-template-columns: minmax(260px, 1fr) 180px 160px auto;
}

.selfServiceList {
  display: grid;
  gap: 14px;
}

.selfServiceCard {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.selfServiceCardHeader {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.selfServiceCard h3,
.selfServiceCard h4 {
  margin: 0;
}

.selfServiceCardHeader p {
  color: var(--muted);
  margin-top: 4px;
}

.selfServiceCredits,
.selfServiceTags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.selfServiceCreditPill,
.selfServiceTag {
  background: #eef5f8;
  border-radius: 999px;
  color: #263944;
  display: inline-flex;
  font-size: 12px;
  gap: 4px;
  line-height: 1.2;
  padding: 6px 9px;
}

.selfServiceCreditPill strong {
  color: var(--success);
}

.selfServiceMeta {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, .7fr) minmax(360px, 1fr);
}

.selfServiceMeta span,
.mutedText {
  color: var(--muted);
}

.selfServiceTextbookRow {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(220px, 1fr) auto;
  margin-top: 6px;
}

.selfServiceCreditTools {
  align-items: end;
  background: #fbfcfd;
  border: 1px dashed var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(220px, 1fr) 120px minmax(260px, 1fr) auto;
  padding: 12px;
}

.selfServiceCreditTools label {
  font-size: 12px;
  gap: 4px;
}

.selfServiceCreditTools input,
.selfServiceCreditTools select {
  min-height: 36px;
}

.selfServiceBookings {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  padding-top: 12px;
}

.selfServiceBookingRow {
  align-items: center;
  background: #f8fafb;
  border: 1px solid #edf1f4;
  border-radius: 8px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 12px;
}

.selfServiceBookingRow.inactive {
  opacity: .62;
}

.selfServiceBookingRow span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-top: 2px;
}

.selfServiceBookingActions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.dangerAction {
  border-color: rgba(201, 67, 67, .35);
  color: var(--danger);
}

.smallEmpty {
  padding: 8px 0;
}

.reportCard {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.reportHeader {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.reportHeader h3 {
  font-size: 17px;
  line-height: 1.25;
  margin: 0;
}

.reportHeader h3 .editField {
  font-size: 17px;
  font-weight: 800;
}

.reportMeta {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.statusPill {
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
  text-transform: capitalize;
  white-space: nowrap;
}

.statusPill.approved {
  background: #e8f6ef;
  color: var(--success);
}

.statusPill.pending {
  background: #fff4d8;
  color: #8a5f12;
}

.reportFacts {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  margin-bottom: 12px;
}

.reportFacts div {
  background: #f7fafb;
  border: 1px solid #edf1f4;
  border-radius: 6px;
  padding: 8px;
}

.reportFacts span {
  color: var(--muted);
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.reportFacts strong {
  display: block;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.assessmentGrid {
  background: #fbfcfd;
  border: 1px solid #edf1f4;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  margin: 12px 0;
  padding: 12px;
}

.assessmentControls {
  margin-top: 12px;
}

.editField {
  min-height: 34px;
  padding: 6px 8px;
}

.reportFacts .editField {
  font-weight: 700;
  margin-top: 4px;
}

.reportTextarea {
  min-height: 86px;
  resize: vertical;
}

.reportSection {
  border-top: 1px solid #edf1f4;
  padding: 12px 0 0;
}

.reportSection + .reportSection {
  margin-top: 10px;
}

.reportSection h4 {
  align-items: center;
  display: flex;
  font-size: 13px;
  gap: 8px;
  margin: 0 0 4px;
}

.reportSection p {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.translatedText {
  color: var(--muted);
  margin-top: 6px !important;
}

.skillReportSection {
  background: #fbfcfd;
  border: 1px solid #edf1f4;
  border-radius: 6px;
  margin-top: 10px;
  padding: 12px;
}

.skillReportSection + .skillReportSection {
  margin-top: 8px;
}

.scoreBadge {
  background: #e2f2fb;
  border: 1px solid #b8d7ea;
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 4px 8px;
}

.skillReportSection h4 .editField {
  flex: 0 0 82px;
  margin-left: 2px;
}

.multiEditField {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}

.unsupportedValue {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 6px;
  color: #9a3412;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 8px;
}

.multiEditOption {
  align-items: flex-start;
  background: #fff;
  border: 1px solid #d8e2ea;
  border-radius: 6px;
  color: #344552;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  line-height: 1.35;
  padding: 8px;
}

.multiEditOption input {
  flex: 0 0 auto;
  margin-top: 1px;
}

.commentText {
  color: #42515d;
  font-weight: 600;
  margin-bottom: 6px !important;
}

.baselineSummary {
  background: #eef7f7;
  border: 1px solid rgba(13, 126, 126, 0.2);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 12px 14px;
}

.baselineSummary span {
  color: #5d7373;
  font-size: 12px;
  font-weight: 800;
}

.baselineSummary strong {
  color: #0d5555;
  font-size: 15px;
}

.baselineSummary small {
  color: #5d6572;
  font-size: 12px;
  font-weight: 700;
}

.reportActions {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
}

.secondaryAction {
  background: #eef4f7;
  color: #34424d;
}

.secondaryAction:hover {
  background: #dfeaf0;
}

.approvedText {
  color: var(--success);
  font-weight: 800;
}

table {
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

th {
  color: #43515c;
  font-size: 12px;
  text-transform: uppercase;
}

td.errorText {
  color: var(--danger);
}

.loginPage {
  background: #edf2f5;
}

.loginShell {
  align-items: center;
  display: flex;
  min-height: 100vh;
  justify-content: center;
  padding: 24px;
}

.loginCard {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(24, 32, 38, 0.08);
  display: grid;
  gap: 18px;
  max-width: 420px;
  padding: 28px;
  width: 100%;
}

.loginCard p {
  color: var(--muted);
  margin-top: 4px;
}

.loginCard .primary {
  margin-top: 2px;
}

@media (max-width: 820px) {
  .trialBenefitShell {
    padding: 10px 10px 36px;
  }

  .trialBenefitHero {
    min-height: 430px;
  }

  .trialHeroImage {
    object-position: 62% center;
  }

  .trialHeroShade {
    background: linear-gradient(180deg, rgba(9, 25, 35, .9) 0%, rgba(9, 25, 35, .72) 58%, rgba(9, 25, 35, .24) 100%);
  }

  .trialHeroContent {
    gap: 12px;
    padding: 26px 18px;
  }

  .trialHeroContent h1 {
    font-size: 34px;
  }

  .trialHeroContent p {
    font-size: 15px;
  }

  .trialCountdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .trialCountdown div {
    min-height: 64px;
    padding: 8px 4px;
  }

  .trialCountdown strong {
    font-size: 24px;
  }

  .trialBenefitGrid,
  .trialPhoneRow {
    grid-template-columns: 1fr;
  }

  .recommendedTeacherGrid {
    grid-template-columns: 1fr;
  }

  .allTeacherGrid {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .teacherChoiceButton.fullTeacherChoice .trialTeacherPhoto {
    flex-basis: 104px;
  }

  .studentShell {
    padding: 16px 12px 36px;
  }

  .studentHero {
    align-items: flex-start;
    display: grid;
    min-height: 0;
    padding: 14px 2px 16px;
  }

  .studentHero h1 {
    font-size: 34px;
  }

  .studentHero p {
    font-size: 15px;
  }

  .studentHeroActions {
    justify-items: start;
    margin-top: 16px;
  }

  .studentFlow {
    grid-template-columns: 1fr;
  }

  .studentLookupForm,
  .slotToolbar {
    grid-template-columns: 1fr;
  }

  .studentPanelHeader {
    align-items: stretch;
    display: grid;
  }

  .slotCards {
    grid-template-columns: 1fr;
  }

  .teacherBookingGrid,
  .modalScheduleGrid {
    grid-template-columns: 1fr;
  }

  .bookingModal {
    max-width: none;
    padding-left: 14px;
    padding-right: 14px;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: 0;
    display: flex;
    gap: 8px;
    overflow-x: auto;
  }

  .navItem {
    flex: 0 0 auto;
    margin-bottom: 0;
    width: auto;
  }

  .grid.two {
    grid-template-columns: 1fr;
  }

  .reportFacts {
    grid-template-columns: 1fr;
  }

  .assessmentGrid {
    grid-template-columns: 1fr;
  }

  .filterBar {
    grid-template-columns: 1fr;
  }

  .selfServiceCardHeader,
  .selfServiceBookingRow {
    align-items: stretch;
    display: grid;
  }

  .selfServiceMeta,
  .selfServiceTextbookRow,
  .selfServiceCreditTools,
  .selfServiceFilters {
    grid-template-columns: 1fr;
  }

  .workspace {
    padding: 14px;
  }
}
