.schedule-page {
  --ink: #102846;
  --muted: #526479;
  --line: #dce3eb;
  --green: #277363;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 28px 64px;
  color: var(--ink);
  font: 400 16px/1.75 Cairo, sans-serif;
}
/* Keep theme heading/form rules from introducing a second family. */
.schedule-page, .schedule-page * { box-sizing: border-box; font-family: Cairo, sans-serif !important; }
.schedule-page [hidden] { display: none !important; }
.schedule-page :is(h1,h2,h3,h4,p,dl,dd,dt,ul,ol) { margin: 0; }
.schedule-page a { color: inherit; }
.schedule-page :is(a,button,summary,input):focus-visible { outline: 3px solid #4c9982; outline-offset: 4px; }
.schedule-review { padding: 8px 18px; background: #fff4d8; color: #745721; border-bottom: 1px solid #ecddb5; text-align: center; font: 600 12px/1.8 Cairo, sans-serif; }
.schedule-hero { max-width: 860px; padding: 25px 0 36px; margin-inline-start: 0; margin-inline-end: auto; }
.schedule-hero, .schedule-hero * { text-align: right; }
.schedule-page h1 { color: var(--ink); font-size: clamp(30px,3.4vw,42px); font-weight: 800; line-height: 1.6; letter-spacing: -.6px; margin-bottom: 12px; }
.schedule-lead { font-size: 19px; line-height: 1.9; font-weight: 600; color: #244d44; margin-bottom: 10px !important; }
.schedule-definition { font-size: 15px; line-height: 2; color: var(--muted); }
.schedule-english, .schedule-english * { direction: ltr; text-align: left; }
.schedule-english { overflow-wrap: anywhere; }
.schedule-browser { border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; scroll-margin-top: 20px; box-shadow: 0 8px 35px #10284606; }
.schedule-toolbar { padding: 20px 26px; background: #f5f7fa; border-bottom: 1px solid var(--line); display: flex; gap: 22px; align-items: flex-start; justify-content: space-between; }
.schedule-course-links { display: flex; gap: 6px; flex: 0 0 auto; padding: 4px; background: #e8edf3; border-radius: 12px; }
.schedule-course-links a { display: block; min-width: 130px; padding: 10px 20px; border-radius: 9px; font-size: 16px; line-height: 1.5; font-weight: 700; color: #465a70; text-align: center; text-decoration: none; border: 1px solid transparent; }
.schedule-course-links a[aria-current] { background: var(--ink); color: #fff; box-shadow: 0 3px 7px #10284612; }
.schedule-search { width: 390px; max-width: 100%; }
.schedule-search > div { display: flex; align-items: center; gap: 12px; padding: 0 15px; min-height: 52px; border: 1px solid #cbd6e2; border-radius: 11px; background: #fff; }
.schedule-search svg { width: 20px; height: 20px; flex: none; color: #60758b; }
.schedule-page .schedule-search input { width: 100%; min-width: 0; padding: 12px 0; height: auto; margin: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; outline: 0; color: var(--ink); font-size: 15px; line-height: 1.7; }
.schedule-search input::placeholder { color: #657589; opacity: 1; }
.schedule-search > div:focus-within { border-color: #277363; box-shadow: 0 0 0 3px #27736312; }
.schedule-page .schedule-search button { border: 0; background: transparent; padding: 6px 0; color: var(--green); font-size: 13px; font-weight: 700; }
.schedule-search p { font-size: 13px; color: #3f6254; padding-top: 9px; }
.schedule-search p:empty { display: none; }
.schedule-course { padding: 28px 26px; scroll-margin-top: 18px; }
.schedule-course-heading h2 { font-size: 26px; font-weight: 800; line-height: 1.5; color: var(--ink); margin-bottom: 4px; }
.schedule-course-heading p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.schedule-stats { display: grid; grid-template-columns: 1fr 1fr 1.4fr; margin: 22px 0 26px !important; padding: 18px 0; border-block: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.schedule-stats > div { padding: 0 28px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); }
.schedule-stats > div:first-child { padding-left: 0; border-left: 0; }
.schedule-stats dt { order: 2; color: var(--muted); font-size: 14px; font-weight: 400; line-height: 1.7; }
.schedule-stats dd { color: var(--ink); font-size: 25px; line-height: 1.5; font-weight: 700; }
.schedule-subjects { display: grid; gap: 12px; }
.schedule-subject { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.schedule-subject > summary { display: flex; align-items: center; gap: 16px; padding: 18px 20px; list-style: none; cursor: pointer; }
.schedule-page summary::-webkit-details-marker { display: none; }
.schedule-subject > summary:hover { background: #f5f8fb; }
.schedule-subject-number { display: grid; place-items: center; width: 36px; height: 38px; flex: none; color: #567089; background: #eef2f7; border-radius: 8px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.schedule-subject-name { flex: 1; min-width: 0; }
.schedule-subject-name h3 { font-size: 17px; font-weight: 700; line-height: 1.7; color: var(--ink); margin-bottom: 2px; }
.schedule-subject-name > span { font-size: 13px; color: var(--muted); }
.schedule-toggle { width: 22px; height: 22px; flex: none; color: #476179; transition: transform .15s ease; }
.schedule-subject[open] > summary { background: #edf4f1; border-bottom: 1px solid #d5e4dc; }
.schedule-subject[open] .schedule-toggle { transform: rotate(180deg); }
.schedule-page .schedule-table { width: 100%; border: 0; border-collapse: collapse; table-layout: fixed; margin: 0; background: #fff; }
.schedule-table caption { color: var(--ink); }
.schedule-page .schedule-table :is(th,td) { border: 0; border-bottom: 1px solid var(--line); padding: 22px 20px; vertical-align: top; color: var(--ink); text-align: left; overflow-wrap: anywhere; }
.schedule-page .schedule-table thead th { background: #f6f8fb; font-size: 12px; line-height: 1.6; font-weight: 700; color: #566b80; padding-block: 12px; letter-spacing: .4px; text-transform: uppercase; }
.schedule-table thead th:first-child { width: 26%; }
.schedule-table thead th:last-child { width: 16%; }
.schedule-page .schedule-table tbody tr:last-child > * { border-bottom: 0; }
.schedule-table .schedule-lesson-number { display: block; color: #677b8f; font-size: 12px; line-height: 1.7; margin-bottom: 5px; font-weight: 400; }
.schedule-table h4 { color: var(--ink); font-size: 16px; line-height: 1.8; font-weight: 700; }
.schedule-page .schedule-table .schedule-topics { font-size: 15px; line-height: 1.8; font-weight: 400; color: #2d445c; }
.schedule-topics :is(ul,ol) { padding-left: 19px; columns: 1; }
.schedule-topics li { padding-left: 2px; margin-bottom: 5px; }
.schedule-topics li:last-child { margin-bottom: 0; }
.schedule-topics li::marker { color: #668f83; }
.schedule-topics p + p { margin-top: 8px; }
.schedule-page .schedule-table .schedule-duration { color: #275d50; font-size: 14px; line-height: 1.8; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.schedule-not-listed { color: #64758a; font-size: 14px; }
.schedule-live-note { padding: 18px 26px; background: #f7f9fb; border-top: 1px solid var(--line); }
.schedule-live-note p { color: #526479; font-size: 13px; line-height: 1.8; }
.schedule-faq { padding: 36px 0 30px; }
.schedule-faq h2 { color: var(--ink); font-size: 24px; font-weight: 700; line-height: 1.6; margin-bottom: 16px; }
.schedule-faq details { border-bottom: 1px solid var(--line); }
.schedule-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 0; cursor: pointer; list-style: none; color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.7; }
.schedule-faq summary svg { width: 21px; height: 21px; flex: none; stroke: currentColor; stroke-width: 1.8; fill: none; }
.schedule-faq details[open] summary svg { transform: rotate(180deg); }
.schedule-faq p { padding-bottom: 20px; max-width: 900px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.schedule-faq a, .schedule-dashboard { color: #276e5b !important; text-decoration: underline; text-underline-offset: 4px; }
.schedule-next { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 26px; border-top: 1px solid var(--line); padding: 28px 0 0; }
.schedule-next h2 { font-size: 22px; line-height: 1.6; color: var(--ink); font-weight: 700; margin-bottom: 4px; }
.schedule-next p { font-size: 15px; color: var(--muted); }
.schedule-next-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.schedule-next .schedule-primary { display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 10px; text-decoration: none; font-size: 15px; font-weight: 700; }
.schedule-dashboard { font-size: 13px; }
.schedule-unavailable { padding: 24px; border: 1px solid #e0d0b4; border-radius: 12px; background: #fff8ec; }
.schedule-unavailable h2 { font-size: 23px; margin-bottom: 8px; }
.schedule-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
@media (max-width: 760px) {
  .schedule-page { padding: 14px 18px 45px; }
  .schedule-hero { padding: 20px 0 28px; }
  .schedule-page h1 { font-size: 30px; line-height: 1.7; }
  .schedule-lead { font-size: 17px; }
  .schedule-definition { font-size: 14px; }
  .schedule-toolbar { flex-direction: column; gap: 16px; padding: 16px; }
  .schedule-course-links { width: 100%; }
  .schedule-course-links a { flex: 1; min-width: 0; padding: 10px; font-size: 15px; }
  .schedule-search { width: 100%; }
  .schedule-search > div { padding-inline: 12px; gap: 9px; }
  .schedule-page .schedule-search input { font-size: 14px; }
  .schedule-course { padding: 23px 16px; }
  .schedule-course-heading h2 { font-size: 24px; }
  .schedule-course-heading p { font-size: 14px; }
  .schedule-stats { grid-template-columns: 1fr 1fr; gap: 18px 0; padding-block: 17px; margin: 18px 0 22px !important; }
  .schedule-stats > div { padding: 0 20px; }
  .schedule-stats > div:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding: 15px 0 0; }
  .schedule-stats dt { font-size: 13px; }
  .schedule-stats dd { font-size: 23px; }
  .schedule-stats > div:nth-child(3) dd { font-size: 22px; }
  .schedule-subject > summary { padding: 16px 13px; gap: 11px; }
  .schedule-subject-number { width: 28px; height: 33px; font-size: 12px; }
  .schedule-subject-name h3 { font-size: 16px; line-height: 1.7; }
  .schedule-subject-name > span { font-size: 12px; }
  .schedule-toggle { width: 19px; height: 19px; }
  .schedule-page .schedule-table, .schedule-table tbody { display: block; width: 100%; }
  .schedule-table thead { display: none; }
  .schedule-table .schedule-lesson { display: flex; flex-direction: column; padding: 19px 16px; border-bottom: 1px solid var(--line); }
  .schedule-table .schedule-lesson:last-child { border-bottom: 0; }
  .schedule-page .schedule-table tbody :is(th,td) { display: block; width: 100%; border: 0; padding: 0; }
  .schedule-table .schedule-lecture { order: 0; }
  .schedule-page .schedule-table .schedule-duration { order: 1; padding-top: 7px; padding-bottom: 15px; font-size: 13px; }
  .schedule-page .schedule-table .schedule-duration::before { content: 'Duration: '; color: #526479; font-weight: 400; }
  .schedule-page .schedule-table .schedule-topics { order: 2; padding-top: 13px; border-top: 1px solid #e9eef3; font-size: 14px; }
  .schedule-table .schedule-topics::before { content: 'Topics covered'; display: block; color: #526479; font-size: 12px; font-weight: 600; margin-bottom: 9px; }
  .schedule-table h4 { font-size: 16px; }
  .schedule-table .schedule-lesson-number { font-size: 12px; margin-bottom: 3px; }
  .schedule-topics li { margin-bottom: 6px; }
  .schedule-live-note { padding: 16px; }
  .schedule-live-note p { font-size: 13px; }
  .schedule-faq { padding-top: 28px; }
  .schedule-faq h2 { font-size: 23px; }
  .schedule-faq summary { font-size: 15px; gap: 13px; }
  .schedule-faq p { font-size: 14px; }
  .schedule-next { gap: 19px; padding-top: 23px; }
  .schedule-next h2 { font-size: 21px; }
  .schedule-next p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .schedule-page * { transition: none !important; scroll-behavior: auto !important; } }
