/* Original Banpo academy course guide, scoped to the reservation shell. */
#academyGuide {
  --ink:#12271f; --pine:#193c30; --green:#276045; --paper:#f7f8f2;
  --rule:#d9dfd4; --muted:#54665b; --yellow:#ffdc28; --r:18px;
  width:min(100%,1200px,calc(100vw - 72px)); margin:0 auto 24px; color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",Arial,sans-serif;
  word-break:keep-all;
}
#academyGuide[hidden] { display:none; }
#academyGuide *, #academyGuide *::before, #academyGuide *::after { box-sizing:border-box; }
#academyGuide a { text-decoration:none; }
#academyGuide button { color:inherit; font:inherit; cursor:pointer; }
#academyGuide :is(button,a) { touch-action:manipulation; }
#academyGuide :is(button,a):focus-visible { outline:3px solid #1c84c4; outline-offset:3px; }
#academyGuide .acg-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
#academyGuide .acg-hero { margin-top:22px;border-radius:var(--r);overflow:hidden;background:#15372b;color:white;display:grid;grid-template-columns:1.04fr 1fr;position:relative; }
#academyGuide .acg-hero-text { padding:clamp(33px,4.7vw,65px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center; }
#academyGuide .acg-over { display:flex;align-items:center;gap:8px;font:750 10.5px/1.2 ui-sans-serif,Arial,sans-serif;letter-spacing:.16em;color:var(--yellow);margin:0 0 17px; }
#academyGuide .acg-hero :is(h1,h2) { font-size:clamp(44px,4.4vw,69px);line-height:1.09;letter-spacing:-.065em;margin:0;font-weight:810;color:white; }
#academyGuide .acg-lead { font-size:clamp(14px,1.2vw,17px);color:#e1e9dd;line-height:1.75;margin:20px 0 28px;max-width:39ch; }
#academyGuide .acg-hero-actions { display:flex;gap:22px;align-items:center;flex-wrap:wrap; }
#academyGuide .acg-cta { font-size:14px;font-weight:750; }
#academyGuide .acg-cta { min-height:44px;box-sizing:border-box;border:0;padding:13px 18px;display:inline-flex;align-items:center;gap:20px;border-radius:8px;background:var(--ink);color:white; }
#academyGuide .acg-cta.acg-yellow { background:var(--yellow);color:var(--ink); }
#academyGuide .acg-hero figure { position:relative;margin:0;min-height:320px; }
#academyGuide .acg-hero figure>img { width:100%;height:100%;object-fit:cover;object-position:center 56%;position:absolute;inset:0; }
#academyGuide .acg-hero figcaption { position:absolute;bottom:16px;right:18px;display:flex;align-items:center;gap:10px;color:white;font-weight:650;font-size:11px;background:#10211de6;padding:7px 12px;border-radius:30px; }
#academyGuide .acg-hero figcaption span { border-right:1px solid #7f9286;padding-right:10px; }
#academyGuide .acg-choices { padding:54px 0; }
#academyGuide .acg-section-title { display:flex;justify-content:space-between;align-items:flex-end;gap:16px; }
#academyGuide .acg-section-title h3, #academyGuide .acg-road-intro h3 { font-size:clamp(26px,2.7vw,39px);line-height:1.22;letter-spacing:-.055em;margin:0;color:var(--ink);font-weight:700; }
#academyGuide .acg-filters { display:flex;gap:8px;flex-wrap:wrap;margin:22px 0 17px; }
#academyGuide .acg-filters button { border:1px solid #cdd7ca;border-radius:22px;padding:10px 16px;min-height:39px;background:transparent;font-weight:640;font-size:14px; }
#academyGuide .acg-filters button[aria-pressed=true] { background:var(--pine);border-color:var(--pine);color:white; }
#academyGuide .acg-filters button:hover:not([aria-pressed=true]) { background:#e9eee3; }
#academyGuide .acg-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px; }
#academyGuide .acg-card { background:white;border:1px solid var(--rule);border-radius:14px;overflow:hidden;display:flex;flex-direction:column; }
#academyGuide .acg-card-image { height:clamp(145px,13vw,197px);overflow:hidden;background:#cbd4c7; }
#academyGuide .acg-card-image img { width:100%;height:100%;object-fit:cover; }
#academyGuide .acg-card-copy { padding:18px 20px 0;flex:1;display:flex;flex-direction:column; }
#academyGuide .acg-course-format { font-size:12px;color:#446449;font-weight:720; }
#academyGuide .acg-card h4 { font-size:clamp(19px,1.65vw,25px);margin:7px 0;letter-spacing:-.045em;color:var(--ink);line-height:1.22;font-weight:700; }
#academyGuide .acg-card p, #academyGuide .acg-road-intro p { font-size:15px;color:var(--muted);line-height:1.65;margin:0; }
#academyGuide .acg-card p { margin-bottom:19px; }
#academyGuide .acg-card button { min-height:44px;width:100%;background:transparent;border:0;border-top:1px solid var(--rule);display:flex;align-items:center;justify-content:space-between;text-align:left;padding:13px 0;font-size:14px;font-weight:700;color:var(--green);margin-top:auto; }
#academyGuide .acg-card button:hover { text-decoration:underline; }
#academyGuide .acg-road { background:#e9efdf;border:1px solid #dae3cf;border-radius:var(--r);padding:clamp(24px,3.4vw,48px);display:grid;grid-template-columns:.85fr 1.8fr;gap:20px; }
#academyGuide .acg-road-intro p { margin-top:14px; }
#academyGuide .acg-road ol { margin:0;padding:0;list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:22px 28px;align-content:center; }
#academyGuide .acg-road li { border-top:1px solid #b5c5aa;padding-top:10px; }
#academyGuide .acg-road li span { color:#496442;font-size:12px;font-weight:750;font-variant-numeric:tabular-nums; }
#academyGuide .acg-road h4 { margin:6px 0 3px;font-size:17px;letter-spacing:-.035em; }
#academyGuide .acg-road li p { margin:0;color:var(--muted);font-size:14px;line-height:1.55; }

@media(max-width:850px) {
  #academyGuide { width:min(100%,calc(100vw - 36px)); }
  #academyGuide .acg-hero-text { padding:30px; }
  #academyGuide .acg-hero :is(h1,h2) { font-size:44px; }
  #academyGuide .acg-grid { gap:10px; }
  #academyGuide .acg-card-copy { padding:14px 14px 0; }
  #academyGuide .acg-road { grid-template-columns:.8fr 1.4fr; }
  #academyGuide .acg-road ol { gap:15px; }
  #academyGuide .acg-road-intro h3 { font-size:28px; }
}

@media(max-width:680px) {
  #academyGuide { width:min(100%,calc(100vw - 28px)); }
  #academyGuide .acg-hero { margin-top:13px;grid-template-columns:1fr;border-radius:14px; }
  #academyGuide .acg-hero-text { padding:24px 23px 22px; }
  #academyGuide .acg-hero :is(h1,h2) { font-size:42px; }
  #academyGuide .acg-hero .acg-over { margin-bottom:11px; }
  #academyGuide .acg-lead { font-size:14px;margin:12px 0 17px; }
  #academyGuide .acg-hero figure { min-height:148px;height:clamp(148px,41vw,218px); }
  #academyGuide .acg-hero figure>img { object-position:center 57%; }
  #academyGuide .acg-hero figcaption { bottom:8px;right:9px; }
  #academyGuide .acg-cta { padding:11px 14px; }
  #academyGuide .acg-hero-actions a { font-size:13px; }
  #academyGuide .acg-choices { padding:33px 0; }
  #academyGuide .acg-section-title { align-items:flex-start;flex-wrap:wrap;gap:7px; }
  #academyGuide .acg-filters { margin:14px 0;gap:6px; }
  #academyGuide .acg-filters button { font-size:12px;padding:8px 10px;min-height:35px; }
  #academyGuide .acg-grid { grid-template-columns:1fr; }
  #academyGuide .acg-card { display:grid;grid-template-columns:30% 1fr; }
  #academyGuide .acg-card-image { height:100%;min-height:148px; }
  #academyGuide .acg-card-copy { padding:13px 14px 0; }
  #academyGuide .acg-card p { font-size:13px;margin-bottom:9px; }
  #academyGuide .acg-card h4 { margin:5px 0; }
  #academyGuide .acg-card button { font-size:12px;padding:8px 0; }
  #academyGuide .acg-road { grid-template-columns:1fr; }
  #academyGuide .acg-road-intro h3 br { display:none; }
  #academyGuide .acg-road ol { grid-template-columns:1fr; }
  #academyGuide .acg-road li { display:flex;gap:12px; }
  #academyGuide .acg-road li span { flex:0 0 52px;padding-top:7px; }
  #academyGuide .acg-road h4 { font-size:15px; }
  #academyGuide .acg-road li p { font-size:13px; }
}

#academyCourseChoices, #academyCatalogMount { scroll-margin-top:105px; }
#academyGuide .acg-card.is-selected {border-color:var(--pine);box-shadow:0 0 0 1px var(--pine)}
#academyGuide .acg-card.is-selected button {color:var(--pine);font-weight:750}
#academyGuideDetail {scroll-margin-top:112px}
#academyGuideDetail:not(:empty) {margin-top:20px}
#academyGuide .acg-detail-panel {border:1px solid #b9cbbd;border-radius:16px;background:#fff;overflow:hidden}
#academyGuide .acg-detail-head {position:static;top:auto;z-index:auto;max-width:none;width:auto;margin:0;border-radius:0;box-shadow:none;backdrop-filter:none;display:flex;flex-direction:row;text-align:left;justify-content:space-between;gap:20px;align-items:center;padding:24px 28px;border-bottom:1px solid var(--rule);background:#f0f4ec}
#academyGuide .acg-detail-head > div {min-width:0}
#academyGuide .acg-detail-format {font-size:12px;font-weight:650;color:#526b57;margin:0 0 7px}
#academyGuide #acg-detail-title {font-size:clamp(22px,2vw,28px);line-height:1.25;letter-spacing:-.035em;margin:0;color:var(--ink)}
#academyGuide .acg-detail-close {flex:none;border:1px solid #c7d3c5;border-radius:8px;background:#fff;padding:8px 14px;min-height:40px;font-size:14px}
#academyGuide .acg-detail-body {display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,230px);gap:32px;align-items:center;padding:26px 28px}
#academyGuide .acg-detail-copy {max-width:70ch;min-width:0}
#academyGuide .acg-detail-copy p {font-size:16px;line-height:1.8;color:#3f5347;margin:0;white-space:pre-line}
#academyGuide .acg-detail-actions {display:grid;gap:10px}
#academyGuide .acg-detail-actions button {width:100%;min-height:48px;border:1px solid #bdccbf;border-radius:9px;background:#fff;padding:12px 16px;font-size:14px;font-weight:650;line-height:1.45}
#academyGuide .acg-detail-actions button:first-child {background:var(--pine);color:#fff;border-color:var(--pine)}
#academyGuide .acg-detail-actions button:hover {filter:brightness(.94)}
@media (max-width:680px) {
  #academyCourseChoices, #academyCatalogMount, #academyGuideDetail h4 {scroll-margin-top:148px}
  #academyGuide .acg-detail-head {padding:20px;gap:14px}
  #academyGuide .acg-detail-body {grid-template-columns:1fr;gap:22px;padding:20px}
  #academyGuide .acg-detail-copy p {font-size:15px;line-height:1.75}
  #academyGuide .acg-detail-actions {grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
}

.academy-group-section + .academy-group-section {margin-top:26px}
#academy .academy-group-card > summary {display:grid;gap:10px;cursor:pointer;list-style:none;color:var(--academy-ink)}
.academy-group-card > summary::-webkit-details-marker {display:none}
.academy-group-card > summary:focus-visible {outline:3px solid #415e45;outline-offset:4px}
.academy-group-card .session-title-line {display:block}
.academy-group-meta,.academy-group-disclosure,.academy-group-registration small {color:var(--academy-muted);font-size:.83rem;line-height:1.5}
.academy-group-disclosure {display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--academy-line);padding-top:10px;font-weight:650}
.academy-group-detail {display:grid;gap:12px;border-top:1px solid var(--academy-line);padding-top:14px;margin-top:12px}
.academy-group-detail p {margin:0;line-height:1.6}
.academy-group-date,.academy-group-registration {display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.academy-group-date {justify-content:space-between}
.academy-group-date p {color:var(--academy-muted);font-size:.85rem}
.academy-group-detail button {justify-self:start}
.academy-group-registration {border-top:1px solid var(--academy-line);padding-top:12px}
.academy-group-detail button:disabled {cursor:not-allowed;opacity:.7}
.academy-group-monthly .academy-catalog-facts {margin:.6rem 0 1rem}

.academy-enrollment-info > summary {width:fit-content;cursor:pointer;font-weight:650;padding:8px 0}
.academy-enrollment-info > p {color:var(--academy-muted)}

/* Fixed duration tracks share a minute scale across all seven days. */
#academy .academy-week-board {
  --grid-line:#dce3db; --hour-line:#d2dbd0;
  min-width:0; max-width:100%; overflow:hidden; background:#fffefa;
}
#academy .academy-week-key {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap;
  gap:10px 18px; padding:12px 16px; background:#f3f5ee; border-bottom:1px solid var(--grid-line);
}
#academy .academy-week-navigation,#academy .academy-week-legend {display:flex;align-items:center;gap:5px}
#academy .academy-week-navigation strong {padding:0 7px;font-size:1rem;font-variant-numeric:tabular-nums;color:#233d30}
#academy .academy-week-key button {font:inherit;cursor:pointer;box-sizing:border-box;border-radius:7px}
#academy .academy-week-navigation button {border:1px solid var(--grid-line);background:#fffefa;min-width:44px;min-height:40px;padding:0 10px;color:#314e3c;font:650 .84rem/1.25 system-ui,sans-serif}
#academy .academy-week-navigation button:disabled {color:#abb4aa;cursor:default}
#academy .academy-week-legend button {border:1px solid transparent;background:transparent;padding:6px 9px;font-size:.78rem;font-weight:650;color:#425043}
#academy .academy-week-legend button::before {display:inline-block;content:"";width:7px;height:7px;background:#50755f;border-radius:50%;margin-right:5px}
#academy .academy-week-legend button[data-timetable-family=private]::before {background:#41778d}
#academy .academy-week-legend button[data-timetable-family=special]::before {background:#ad702f}
#academy .academy-week-legend button[data-timetable-family=all]::before {display:none}
#academy .academy-week-legend button[aria-pressed=true] {background:white;color:#203929;border-color:#bdcabc;box-shadow:0 1px 2px #243c2b0c}
#academy .academy-week-scroll {max-height:min(78dvh,1040px);overflow:auto;position:relative;overscroll-behavior:contain;scrollbar-color:#bac7ba #f4f5f0}
#academy .academy-week {display:grid;grid-template-columns:48px repeat(7,minmax(0,1fr));min-width:0;isolation:isolate}
#academy .academy-week-day {display:contents}
#academy .academy-axis-heading,#academy .academy-week-day h4 {
  position:sticky;top:0;z-index:5;grid-row:1;margin:0;display:flex;align-items:center;justify-content:center;gap:7px;
  background:#fbfcf8;border-bottom:1px solid var(--hour-line);border-right:1px solid var(--grid-line);
  color:#263c2c;font-weight:700;font-size:.86rem;
}
#academy .academy-week-day h4 {flex-direction:column;gap:3px}
#academy .academy-week-day h4 time {font-size:.77rem;font-weight:500;color:#626d64}
#academy .academy-week-day h4[aria-current=date] {background:#e6eee3;box-shadow:inset 0 -2px #56785c}
#academy .academy-week-day[data-weekday="6"] h4 {color:#305876}
#academy .academy-week-day[data-weekday="7"] h4 {color:#8a4e47}
#academy .academy-axis-heading {grid-column:1;left:0;z-index:6;font-size:.72rem}
#academy .academy-day-back {grid-row:2/-1;border-right:1px solid var(--grid-line);background:#fffefa;pointer-events:none}
#academy .academy-week-day:is([data-weekday="6"],[data-weekday="7"]) .academy-day-back {background:#f8f9f5}
#academy .academy-grid-line {grid-column:1/-1;align-self:start;z-index:1;border-top:1px solid var(--hour-line);pointer-events:none}
#academy .academy-hour {grid-column:1;align-self:stretch;position:sticky;left:0;z-index:3;border-right:1px solid var(--grid-line);background:#f9faf5;color:#5b685e;text-align:center;padding-top:3px;font-size:.69rem;font-weight:620;line-height:1.25;font-variant-numeric:tabular-nums}
#academy .academy-grid-line.is-half-hour {border-top:1px dashed var(--grid-line)}
#academy .academy-hour.is-half-hour {font-weight:400;color:#637168}
#academy .academy-week-cell {
  z-index:2;align-self:stretch;justify-self:start;min-width:0;min-height:0;box-sizing:border-box;
  width:calc(100% / var(--lanes));margin-left:calc(100% * var(--lane) / var(--lanes));padding:0 2px;
}
#academy .academy-week-slot {
  display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;overflow:hidden;
  gap:1px;min-width:0;min-height:0;width:100%;height:100%;box-sizing:border-box;
  padding:5px 7px;border:1px solid var(--edge);border-left:3px solid var(--stripe);border-radius:6px;
  --edge:#cbdccc;--stripe:#568667;--tint:#edf5ec;--ink:#274f34;
  background:var(--tint);color:var(--ink);font:inherit;line-height:1.22;text-align:left;cursor:pointer;
}
#academy .academy-unavailable {width:100%;margin:0;z-index:1;pointer-events:none;border-right:1px solid var(--grid-line);background:repeating-linear-gradient(135deg,#ebeee9 0 2px,#f4f5f1 2px 7px)}
#academy .academy-week-slot:is([data-kind=one-day],[data-kind=ball-machine],[data-kind=one-point]) {--edge:#e5d5bb;--stripe:#ad7834;--tint:#fdf5e7;--ink:#69471c}
#academy div.academy-week-slot {cursor:default}
#academy button.academy-week-slot:hover {border-color:var(--stripe);box-shadow:0 1px 4px #293e3026}
#academy .academy-week-slot strong {font-size:.82rem;font-weight:720;overflow-wrap:anywhere}
#academy .academy-week-slot small {font-size:.7rem;color:var(--ink);overflow-wrap:anywhere}
#academy .academy-slot-clock {font-size:.70rem;font-weight:540;letter-spacing:.02em;font-variant-numeric:tabular-nums}
#academy .academy-slot-count {font-size:.74rem;font-weight:700;margin-top:2px;font-variant-numeric:tabular-nums}
#academy :is(.academy-week-slot,.academy-week-key button,.academy-week-scroll,[data-academy-special],[data-week-close]):focus-visible {outline:2px solid #2b6540;outline-offset:-2px}
#academy .academy-week-swipe {display:none}
#academy .academy-calendar-note {margin:0;padding:10px 16px;font-size:.86rem;color:#4e594f}
@media(max-width:1100px) {
  #academy .academy-week {grid-template-columns:36px repeat(7,minmax(0,1fr));min-width:0}
  #academy .academy-week-key {padding:9px 10px}
  #academy .academy-week-swipe {display:block;margin:0;padding:8px 12px;border-top:1px solid var(--grid-line);color:#576459;font-size:.75rem}
}
#academy [data-academy-special] {
  min-height:44px;
  margin:0 5px 6px 0;
  padding:8px 15px;
  border:1px solid #bac4b8;
  border-radius:999px;
  background:#fff;
  color:#354733;
  font:inherit;
  font-size:.89rem;
  font-weight:600;
  cursor:pointer;
}
#academy [data-academy-special][aria-pressed=true] {border-color:#31492f;background:#31492f;color:#fff}

#academy dialog.academy-week-dialog {
  --academy-ink:#222722;
  --academy-muted:#63665f;
  --academy-line:#d9dbd2;
  --academy-surface:#fffef9;
  --academy-ivory:#f5f4ec;
  box-sizing:border-box;
  width:min(580px,calc(100% - 24px));
  max-width:calc(100% - 24px);
  max-height:calc(100dvh - 32px);
  padding:0;
  border:1px solid var(--academy-line);
  border-radius:12px;
  color:var(--academy-ink);
  background:var(--academy-surface);
  box-shadow:0 14px 54px #15251b38;
  overflow:auto;
  overscroll-behavior:contain;
}
#academy .academy-week-dialog::backdrop {background:rgba(15,25,20,.56)}
#academy .academy-week-dialog-head {
  position:sticky;
  top:0;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:6px 10px 6px 18px;
  border-bottom:1px solid var(--academy-line);
  background:var(--academy-ivory);
  color:#4b6047;
  font-size:.73rem;
  font-weight:700;
  letter-spacing:.1em;
}
#academy .academy-week-dialog-head button {
  width:44px;
  height:44px;
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--academy-ink);
  cursor:pointer;
  font-size:1.5rem;
}
#academy .academy-week-dialog-head button:hover {background:#e7ebdf}
#academy .academy-week-dialog .public-session-day-track {grid-template-columns:minmax(0,1fr)}
#academy .academy-week-dialog .session-fact strong {white-space:normal;overflow-wrap:anywhere}
#academy .academy-week-dialog .academy-week-occurrence {min-width:0}
#academy .academy-week-occurrence > time {display:block;padding:12px 18px 6px;font-size:.89rem;font-weight:650}
#academy .academy-week-dialog :is(.academy-enrollment-info,.academy-group-date,.academy-group-monthly) {grid-column:1 / -1;min-width:0}
#academy .academy-week-dialog .academy-enrollment-info p {line-height:1.6;margin:0 0 8px}


#academy .academy-gap-hint {margin:0;padding:8px 14px;color:#445b4b;background:#f6f8f2;border-bottom:1px solid var(--grid-line);font-size:.84rem}
#academy .academy-week-gap {
  display:grid;place-items:center;padding:1px 2px;border:0;background:transparent;color:#206044;
  cursor:pointer;text-align:center;font:650 clamp(10px,1.1vw,12px)/1.1 system-ui,sans-serif;
  word-break:keep-all;
}
#academy .academy-week-gap:focus-visible {outline:2px solid #2b6540;outline-offset:-2px}
#academy dialog.academy-request-dialog {width:min(440px,calc(100% - 24px))}
#academy .academy-request-body {padding:16px 20px 22px}
#academy .academy-request-body [hidden] {display:none}
#academy .academy-request-body h3 {margin:3px 0 15px;font-size:1.25rem}
#academy .academy-request-body p {margin:0 0 12px;line-height:1.5}
#academy .academy-request-date {color:#4a624f;font-size:.89rem;font-weight:650}
#academy .academy-request-choice {display:grid;gap:4px;text-align:left;position:relative;width:100%;margin-top:9px;padding:13px 14px;border-radius:8px;border:1px solid #c7d3c6;background:#fbfcf8;color:#233e2a;cursor:pointer;font:inherit}
#academy .academy-request-choice:hover {background:#edf4ea}
#academy .academy-request-choice small {color:#4f6053}
#academy .academy-request-body form {display:grid;gap:12px}
#academy .academy-request-body form p {margin:0;font-size:.89rem}
#academy .academy-request-body label {display:grid;gap:4px;min-width:0;font-size:.87rem;font-weight:650}
#academy .academy-request-body :is(input,select) {box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:7px 9px;border:1px solid #bac7b9;border-radius:6px;background:#fff;color:#23362a;font:inherit}
#academy .academy-request-body fieldset {margin:0;min-width:0;padding:10px 12px 12px;border:1px solid #d6dfd3;border-radius:8px}
#academy .academy-request-body legend {padding:0 4px;font-weight:700}
#academy .academy-callback-fields {display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:8px;margin-top:9px}
#academy .academy-request-status {color:#90461e}
#academy .academy-request-status:empty {display:none}
#academy .academy-request-actions {display:flex;gap:8px;justify-content:flex-end}

#academy .academy-week-coaches {display:flex;align-items:center;gap:6px;font-size:.8rem;color:#284232}
#academy .academy-week-coaches select {width:auto;margin:0;padding:6px 9px;color:#233d30;background:white;border:1px solid #bdcabc;border-radius:7px}
@media(max-width:640px){
  #academy .academy-week-slot {padding:2px;border-left-width:2px}
  #academy .academy-week-slot strong,#academy .academy-slot-count {font-size:.66rem}
  #academy .academy-week-day h4 {flex-direction:column;gap:0}
  #academy .academy-slot-clock,#academy .academy-week-slot small {font-size:.59rem}
}

/* Session list follows the Program tab's time / lesson / enrollment layout. */
#academy .academy-catalog-single > .public-session-day-track:has(> .lesson-row) {
  display:grid; grid-template-columns:minmax(0,1fr); grid-auto-rows:1fr; gap:8px;
}
#academy .lesson-row {
  box-sizing:border-box; position:relative; min-height:max(84px,calc(var(--lesson-row-content,0px) + 20px)); min-width:0; padding:10px 18px 10px 16px;
  display:grid; grid-template-columns:72px minmax(0,1fr) auto; align-items:center; column-gap:10px;
  color:#0f1820; background:white; border-radius:14px;
  box-shadow:0 0 0 1px rgb(15 24 32 / 5%),0 1px 3px rgb(15 24 32 / 6%);
}
#academy .lesson-row:hover {box-shadow:0 0 0 1px rgb(15 24 32 / 8%),0 4px 12px rgb(15 24 32 / 8%)}
#academy .lesson-row::before {content:""; position:absolute; inset:18px auto 18px 0; width:3px; border-radius:0 3px 3px 0; background:#1f9a8a}
#academy .lesson-row[data-lesson-kind=special]::before {background:#8b6ad8}
#academy .lesson-row-time {display:grid; gap:2px; font:800 16.5px/22px Inter,system-ui,sans-serif; letter-spacing:-.02em; font-variant-numeric:tabular-nums}
#academy .lesson-row-main {display:grid; gap:3px; min-width:0}
#academy .lesson-row h3,#academy .lesson-row p {margin:0}
#academy .lesson-row-open,#academy button.lesson-row-count {appearance:none; border:0; background:none; padding:0; margin:0; min-height:0; box-shadow:none; font-family:inherit; cursor:pointer}
#academy .lesson-row-open {display:block; width:fit-content; color:#0f1820; text-align:start; font-size:15px; font-weight:700; line-height:20px; letter-spacing:-.01em; word-break:keep-all; overflow-wrap:anywhere}
#academy .lesson-row-open::after {position:absolute; inset:0; content:""; border-radius:14px}
#academy .lesson-row-open:disabled {cursor:default}
#academy .lesson-row-open:focus-visible {outline:0}
#academy .lesson-row-open:focus-visible::after {outline:3px solid #2f7de1; outline-offset:-3px}
#academy .lesson-row p {display:flex; flex-wrap:wrap; color:#66727d; font-size:13px; line-height:18px}
#academy .lesson-row p span + span::before {content:"·"; margin:0 5px}
#academy .lesson-row-side {position:relative; display:grid; justify-items:end; gap:2px; text-align:end; pointer-events:none; font-variant-numeric:tabular-nums}
#academy .lesson-row-side strong {color:#0f1820; font-size:14.5px; line-height:20px}
#academy .lesson-row-side small,#academy .lesson-row-count {color:#36434e; font-size:12px; font-weight:600; line-height:16px}
#academy button.lesson-row-count {position:relative; pointer-events:auto; text-decoration:underline; text-underline-offset:3px}
#academy button.lesson-row-count::before {position:absolute; inset:-7px -3px; content:""}
#academy .academy-week-layout {
  display:grid; grid-template-columns:clamp(184px,16vw,214px) minmax(0,1fr);
  overflow:hidden; border:1px solid #cdd7cc; border-radius:13px;
  background:#fffefa; box-shadow:0 6px 24px #253c2d0c;
}
#academy .academy-filter-rail {
  min-width:0; padding:16px; border-inline-end:1px solid #d2dbd0;
  background:#f3f5ee; color:#233d30;
}
#academy .academy-filter-head,#academy .academy-filter-foot {display:flex; align-items:center; justify-content:space-between; gap:12px}
#academy .academy-filter-head :is(h3,h4) {margin:0; font-size:16px; color:#233d30}
#academy .academy-filter-head button,#academy .academy-filter-foot button,#academy [data-week-filters] {cursor:pointer; color:#16212b; border:0; background:#e8ecf0; padding:8px 14px; border-radius:999px; line-height:20px; font-family:inherit; font-size:13px; font-weight:600}
#academy .academy-filter-rail [data-week-reset] {border:0; background:transparent; text-decoration:underline; color:#4f5d6a}
#academy .academy-filter-options {display:grid; gap:18px; margin-top:20px}
#academy .academy-filter-options fieldset {margin:0; min-width:0; border:0; padding:0}
#academy .academy-filter-options legend {padding:0; margin-bottom:7px; font-size:13px; font-weight:700; color:#4f5d6a}
#academy .academy-filter-options fieldset > div {display:flex; flex-wrap:wrap; gap:4px 6px}
#academy .academy-filter-options button {box-sizing:border-box; border:1px solid #c9d4c8; background:#fffefa; padding:0 11px; min-height:37px; border-radius:999px; font:inherit; font-size:13px; font-weight:600; color:#16212b; cursor:pointer}
#academy .academy-filter-options button[aria-pressed=true],#academy [data-week-filters][data-active=true] {background-color:#274d38; color:white; border-color:#274d38}
#academy [data-week-filters] {display:none; min-width:76px; min-height:38px}
#academy dialog.academy-filter-sheet {margin:auto 0 0; box-sizing:border-box; width:100%; max-width:100%; max-height:min(80dvh,640px); padding:18px 18px max(16px,env(safe-area-inset-bottom)); border:0; border-radius:18px 18px 0 0; color:#0f1820; background:white; overscroll-behavior:contain}
#academy .academy-filter-sheet::backdrop {background:rgb(11 17 24 / 46%)}
#academy .academy-filter-sheet .academy-filter-head button {width:42px; height:42px; font-size:22px; line-height:1}
#academy .academy-filter-foot {position:sticky; bottom:0; margin:18px -2px 0; padding-top:12px; border-top:1px solid #dde4e9; background:white}
#academy .academy-filter-foot button {min-height:44px; border-radius:12px}
#academy .academy-filter-foot [data-show] {flex:1; color:white; background:#0b1118; box-shadow:inset 0 -3px #ffd21e}
#academy .academy-filter-rail .academy-filter-head {padding-bottom:12px;border-bottom:1px solid #d2dbd0}
#academy .academy-filter-rail [data-week-reset] {padding:4px;color:#49644e;font-size:12px}
#academy .academy-filter-rail fieldset > div {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
#academy .academy-filter-rail fieldset button {min-width:0;padding:5px 3px;border-radius:8px}
#academy .academy-filter-rail [data-week-coach=""] {grid-column:1/-1}
#academy .academy-filter-rail fieldset:has([data-timetable-family]) > div {grid-template-columns:1fr}
#academy .academy-filter-rail [data-timetable-family] {display:flex;align-items:center;gap:8px;text-align:start;padding-inline:12px}
#academy .academy-filter-rail [data-timetable-family]::before {content:"";width:8px;height:8px;border-radius:50%;background:#798379}
#academy .academy-filter-rail [data-timetable-family="regular"]::before {background:#568667}
#academy .academy-filter-rail [data-timetable-family="private"]::before {background:#51849a}
#academy .academy-filter-rail [data-timetable-family="special"]::before {background:#ad7834}
#academy .academy-filter-rail [data-timetable-family][aria-pressed=true]::before {box-shadow:0 0 0 1px #fff}
@media (max-width:999.98px) {
  #academy .academy-week-layout {display:block}
  #academy .academy-filter-rail {display:none}
  #academy [data-week-filters] {display:inline-block}
}
@media (max-width:599px) {
  #academy .lesson-row {grid-template-columns:48px minmax(0,1fr) auto; column-gap:9px; padding:10px 10px}
  #academy .lesson-row-open {font-size:14px}
}

#academy .academy-week-key:has([data-timetable-week]) {justify-content:start;gap:6px}
#academy [data-timetable-week] {width:auto;max-width:7.5rem;min-height:36px;padding:4px;border-radius:7px;background:#fff;color:#233d30;border:1px solid #c7d0c7;font:600 13px/1.25 system-ui,sans-serif}
#academy [data-week-filters] {margin-inline-start:auto}
@media(max-width:440px){#academy .academy-week-navigation {gap:2px} #academy .academy-week-navigation strong {padding:0 2px;font-size:14px}}

/* Keep the weekly controls and all seven days inside the same surface. */
#academy .academy-week-board > .academy-week-key {background:#f5f7f0; padding:10px 16px; min-height:49px; box-sizing:border-box; flex-wrap:nowrap}
#academy .academy-week-caption {display:inline-flex; align-items:center; gap:9px; color:#173e32; font-size:15px; font-weight:700; line-height:1.25; letter-spacing:-.02em}
#academy .academy-week-caption svg {color:#417456}
#academy .academy-week-key [data-week-filters] {align-items:center; justify-content:center; gap:7px; min-height:40px; min-width:0; padding:0 14px; border:1px solid #b9c9bb; border-radius:999px; background:#fff; color:#234b39; font:650 14px/1 system-ui,sans-serif}
#academy .academy-week-key [data-week-filters][data-active=true] {background:#1c4938; color:#fff; border-color:#1c4938}
#academy [data-week-filters] b {display:grid; place-items:center; width:19px; height:19px; background:#e4f1c9; color:#173c2c; border-radius:50%; font-size:11px}
#academy .academy-gap-hint {padding:9px 15px; font-size:12px; line-height:1.5; color:#4d6254; background:#fffefa}
#academy .academy-week-gap {width:100%; margin:0; padding:0; border:0; color:#497259; z-index:3; -webkit-tap-highlight-color:transparent}
#academy .academy-week-slot[data-kind=regular] {--ink:#fff; --edge:#306543; --stripe:#a8d660; --tint:#275c47}
#academy .academy-week-slot[data-kind=early] {--ink:#154e53; --edge:#a4cfcc; --stripe:#357e83; --tint:#e2f3ee}
#academy .academy-selection-bar:not([hidden]) {display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:7px 14px; padding:12px 16px; border-block:1px solid #b9ccb9; background:#f1f6eb; color:#203d2e}
#academy .academy-selection-items {display:flex; flex-wrap:wrap; gap:4px 6px}
#academy .academy-selection-items button {border:1px solid #b6cbb8; border-radius:999px; padding:3px 9px; background:#fff; color:#214936; font:650 12px/1.4 system-ui,sans-serif; min-height:32px; cursor:pointer}
#academy .academy-selection-items button span {padding-left:4px; color:#537660}
#academy .academy-selection-total {grid-column:1; display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px}
#academy .academy-selection-total span {font-size:12px}
#academy .academy-selection-total strong {color:#15402d; font-size:18px; font-variant-numeric:tabular-nums}
#academy .academy-selection-actions {display:flex; align-items:center; justify-content:flex-end; gap:6px; flex-wrap:wrap; grid-column:2; grid-row:1/span 2}
#academy .academy-selection-actions button {padding:0 14px; border:1px solid #b6cbb8; border-radius:10px; min-height:44px; background:white; color:#254834; font:650 13px/1.3 system-ui,sans-serif; cursor:pointer}
#academy .academy-selection-actions [data-review-plan] {background:#214d39; color:white; border-color:#214d39}
#academy .academy-selection-actions [data-review-plan] span {margin-left:5px; color:#dbedb4}
#academy .academy-selection-bar p {grid-column:1/-1; font-size:13px; margin:0}
#academy .academy-selection-actions button:disabled {opacity:.65; cursor:progress}
#academy :is(.academy-selection-bar button,.academy-filter-options button,[data-week-filters]):focus-visible {outline:3px solid #307860; outline-offset:1px}
.academy-plan-summary {padding:12px; border:1px solid #ccdace; background:#f5f8f2; border-radius:13px; margin-block:12px 16px}
.academy-plan-summary > div {display:flex; justify-content:space-between; gap:8px; color:#244a38}
.academy-plan-summary ol {list-style:none; padding:0; margin:9px 0 0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px}
.academy-plan-summary li {display:grid; gap:2px; padding:6px 8px; color:#234733; border-radius:6px; background:white; font:650 13px/1.35 system-ui,sans-serif}
.academy-plan-summary li span {font-size:11px; font-weight:500; color:#4d6352}
@media (max-width:999.98px) {
  #academy .academy-week-key [data-week-filters] {display:inline-flex; min-height:44px}
  #academy .academy-filter-sheet .academy-filter-options button {min-height:44px}
}
@media (max-width:600px) {
  #academy .academy-week-board > .academy-week-key {padding:6px 11px}
  #academy .academy-week-caption {font-size:14px}
  #academy .academy-gap-hint {padding:8px 10px; font-size:12px}
  #academy .academy-selection-bar:not([hidden]) {padding:8px 10px; gap:5px}
  #academy .academy-selection-items {grid-column:1/-1}
  #academy .academy-selection-actions {grid-row:auto; grid-column:1/-1; justify-content:stretch}
  #academy .academy-selection-actions button {flex:1; white-space:nowrap}
  #academy .academy-selection-total {grid-column:1/-1; justify-content:space-between}
  #academy .academy-catalog-filters {padding:4px; gap:3px; background:#e9eee4; border:1px solid #d4dfd1; border-radius:12px}
  #academy .academy-catalog-filters > button {min-height:44px; border:0; border-radius:8px; background:transparent; color:#455d4e}
  #academy .academy-catalog-filters > button[aria-pressed=true] {background:#204635; color:#fff; box-shadow:0 1px 3px #1e392820}
  #academy .academy-catalog-filters > button[aria-pressed=true] strong {color:white}
  #academy .academy-catalog-filters > button[aria-pressed=true]::after {display:none}
}
#academy .academy-week-cell.has-open-court {position:relative; --picker-size:30px}
#academy .has-open-court .academy-week-slot {padding-block-end:calc(var(--picker-size) + 2px)}
#academy .academy-gap-picker {
  position:absolute; inset-inline-end:3px; inset-block-end:1px; display:grid; place-items:center;
  width:min(var(--picker-size),calc(100% - 6px)); min-width:0; height:var(--picker-size); padding:0;
  border:0; border-radius:4px; background:transparent; box-shadow:none; color:#254f40; cursor:pointer;
}
#academy .academy-week-slot[data-kind=regular] ~ .academy-gap-picker {color:white}
#academy .academy-gap-picker:is(:hover,:focus-visible) {background:rgb(0 0 0 / 10%)}
#academy .academy-gap-picker:focus-visible {outline:2px solid currentColor; outline-offset:-3px}
#academy dialog.academy-time-picker {box-sizing:border-box; width:min(340px,calc(100vw - 32px)); max-height:80dvh; overflow:auto; margin:auto; padding:20px; border:1px solid #c9d9cb; border-radius:18px; background:#fffefa; color:#1c3d2e; box-shadow:0 14px 44px #183a2a38; text-align:start}
#academy .academy-time-picker::backdrop {background:rgb(12 30 21 / 48%)}
#academy .academy-time-picker h3 {font-size:19px; margin:0}
#academy .academy-time-picker p {margin:4px 0 12px; color:#566d60; font-size:13px}
#academy .academy-time-picker > div {display:grid; grid-template-columns:1fr 1fr; gap:7px}
#academy .academy-time-picker button {border:1px solid #b3c7b5; border-radius:9px; min-height:44px; background:#f4f8f1; color:#294d38; cursor:pointer; font:650 14px/1.3 system-ui,sans-serif}
#academy .academy-time-picker [aria-pressed=true],#academy .academy-time-picker [data-picker-close] {background:#234c39; color:white; border-color:#234c39}
#academy .academy-time-picker [data-picker-close] {width:100%; margin-top:14px}
/* A glyph sits inside a full touch target; only a chosen cell has a fill. */
#academy .academy-week-gap span,#academy .academy-gap-picker span {background:none; border:0; border-radius:0; box-shadow:none; color:inherit; font:500 17px/1 system-ui,sans-serif; pointer-events:none}
#academy .academy-week-gap:not([aria-pressed=true]) {background:transparent; color:#3b604a; border:0; box-shadow:none}
#academy .academy-week-gap:hover {background:#edf4e9; color:#153c2a}
#academy .academy-week-gap[aria-pressed=true] {background:#e1efda; color:#1c4932; box-shadow:inset 0 0 0 1px #89ad8e}
#academy .academy-week-slot {display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; overflow:visible; padding:3px 5px; white-space:normal; container-type:inline-size}
#academy .academy-tile-body {display:grid; flex:none; align-content:start; gap:1px; width:100%; min-width:0; color:var(--ink); font:550 11px/1.18 system-ui,sans-serif; text-align:start; font-variant-numeric:tabular-nums}
#academy .academy-tile-body > * {min-width:0; overflow:visible; white-space:normal; word-break:keep-all; overflow-wrap:anywhere}
#academy .academy-tile-body strong {color:inherit; font:700 12px/1.16 system-ui,sans-serif; letter-spacing:-.02em}
#academy .academy-tile-seats {font-weight:700}
#academy .academy-tile-time {font-size:10px}
@container (max-width:74px) {
  #academy .academy-tile-body,#academy .academy-tile-body strong {font-size:10px; line-height:12px; letter-spacing:-.04em}
  #academy .academy-tile-time {font-size:9px; line-height:11px}
}
@media (max-width:600px) {
  #academy .academy-week-slot {padding:3px 1px; border-inline-start-width:2px}
}

#academy .academy-selection-bar:not([hidden]) {grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:16px}
#academy .academy-selection-head {grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:12px}
#academy .academy-selection-head > strong {font-size:14px;font-weight:650;color:#314e3d}
#academy .academy-selection-head [data-retry-week] {border:0;background:transparent;color:#385e47;min-height:36px;padding:4px 0;font:500 12px/1.4 system-ui,sans-serif;text-decoration:underline;text-underline-offset:3px}
#academy .academy-selection-items {display:grid;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;width:100%}
#academy .academy-pick-row {display:block;box-sizing:border-box;min-width:0;max-width:100%;padding:12px 14px 14px;border:1px solid #cbd8ca;border-radius:12px;color:#244735;background:#fffefa}
#academy .academy-pick-head {display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}
#academy .academy-pick-head > strong {font:650 16px/1.4 system-ui,sans-serif;font-variant-numeric:tabular-nums}
#academy .academy-pick-head > strong span {font-weight:450}
#academy .academy-pick-fields {display:grid;grid-template-columns:1fr 1fr;gap:12px}
#academy .academy-pick-fields > label {display:grid;gap:6px;min-width:0;margin:0}
#academy .academy-pick-fields > label > span {font:500 12px/1.4 system-ui,sans-serif;color:#627263}
#academy .academy-pick-row select {box-sizing:border-box;width:100%;min-width:0;min-height:46px;margin:0;padding:9px 30px 9px 11px;border:1px solid #bccabb;border-radius:8px;background-color:#f8faf6;color:#203f30;font:500 15px/1.4 system-ui,sans-serif;text-overflow:ellipsis}
@media (max-width:780px), (pointer:coarse) {#academy .academy-pick-row select {font-size:16px !important}}
#academy .academy-pick-row [data-remove-time] {flex:none;width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:7px;background:transparent;color:#64756a;font:400 22px/1 system-ui,sans-serif}
#academy .academy-pick-row [data-remove-time]:hover {background:#edf2e9}
#academy .academy-pick-row small {color:#73532f;line-height:1.5}
#academy .academy-pick-row :is(button,select,summary):focus-visible {outline:2px solid #286445;outline-offset:2px}
#academy .academy-selection-total {grid-column:1;grid-row:auto;margin-top:0;gap:6px 12px}
#academy .academy-selection-actions {grid-column:2;grid-row:auto;justify-content:flex-end}
#academy [data-week-selection] > [data-private-pass] {grid-column:1/-1}
#academy .academy-selection-actions [data-review-plan] {min-height:46px;padding:12px 22px}
#academy .academy-pick-pending {grid-column:1/-1; min-width:0; margin:0 10px 4px 0; padding:0; border:0; border-top:1px solid #e5e7dd; border-radius:0; background:transparent; box-shadow:none; color:#73532f; font:400 12px/1.5 system-ui,sans-serif}
#academy .academy-pick-pending summary {display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:4px 8px; min-height:36px; padding:2px 0; list-style:none; cursor:pointer}
#academy .academy-pick-pending summary::-webkit-details-marker {display:none}
#academy .academy-pick-pending summary::after {content:none}
#academy .academy-pending-action {color:#315841; font-weight:600}
#academy .academy-pick-pending .when-open, #academy .academy-pick-pending[open] .when-closed {display:none}
#academy .academy-pick-pending[open] .when-open {display:inline}
#academy .academy-pending-content {padding:0 0 8px; min-width:0; overflow-wrap:anywhere}
#academy .academy-pending-content p {margin:0 0 6px; color:inherit; font:inherit; line-height:1.5}
#academy .academy-pending-content ul {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 10px; padding:0; margin:0; list-style:none; font-variant-numeric:tabular-nums}
#academy .academy-day-ranges {display:none}
#academy .academy-week-day h4 .academy-week-date {display:block; font:500 11px/1.1 system-ui,sans-serif; color:#536758}
#academy .academy-axis-heading {background:#f7f9f4}
#academy .academy-week-slot:is([data-kind=regular],[data-kind=early]) {
  justify-content:center; padding:7px 8px; border-radius:6px;
}
#academy .academy-week-slot:is([data-kind=regular],[data-kind=early]) .academy-tile-body {
  display:flex; flex-direction:column; align-items:flex-start; gap:3px;
  font:550 13px/1.25 system-ui,sans-serif; letter-spacing:0;
}
#academy .academy-week-slot:is([data-kind=regular],[data-kind=early]) strong {font:700 15px/1.25 system-ui,sans-serif; letter-spacing:-.025em}
#academy .academy-tile-kind {font-size:12px}
#academy .has-open-court .academy-tile-level {max-width:calc(100% - 29px)}
#academy .academy-week-cell.has-open-court {--picker-size:40px}
#academy .academy-gap-picker {border-radius:8px; inset-block-end:0; inset-inline-end:1px}
#academy .academy-gap-picker span {display:grid; place-items:center; width:25px; height:25px; border:1px solid currentColor; border-radius:50%; background:var(--tint,#fffefa); color:#234c39}
#academy .academy-week-slot[data-kind=regular] ~ .academy-gap-picker span {background:#275c47; color:#fff}
#academy .academy-schedule-details {padding:16px 20px; line-height:1.6}
#academy .academy-schedule-details h3 {margin-top:0}
@media (max-width:700px) {
  #academy .academy-week-scroll {max-height:74dvh; overscroll-behavior-x:contain; overscroll-behavior-y:auto}
  /* Three full day columns fit beside the fixed time axis. Native scrolling reaches all seven. */
  #academy .academy-week {width:calc(233.333333% - 58.666667px); max-width:none; grid-template-columns:44px repeat(7,minmax(0,1fr))}
  #academy .academy-axis-heading {z-index:8}
  #academy .academy-hour {z-index:4}
  #academy .academy-week-key .academy-week-caption {display:none}
  #academy .academy-day-ranges {display:flex; gap:2px; align-items:center}
  #academy .academy-day-ranges button {padding:0 9px; min-width:44px; min-height:44px; border:0; border-radius:7px; background:transparent; color:#385542; font:600 14px/1.25 system-ui,sans-serif}
  #academy .academy-day-ranges button[aria-pressed=true] {background:#dce9dc; color:#183e29}
  #academy .academy-week-day h4 {gap:2px}
  #academy .academy-selection-items {display:grid; grid-template-columns:1fr}
  #academy .academy-pick-row {width:100%;padding:12px}
  #academy .academy-selection-bar:not([hidden]) {grid-template-columns:1fr}
  #academy .academy-selection-actions {grid-column:1/-1}
  #academy .academy-selection-head {gap:8px}
  #academy .academy-selection-head > strong {font-size:13px}
  #academy .academy-selection-actions [data-review-plan] {width:100%}
  #academy .academy-week-cell.has-open-court {--picker-size:44px}
}
#academy .academy-special-intro {margin:12px 0 22px; padding:8px 0 8px 16px; border-inline-start:3px solid #749367; color:#233c30; word-break:keep-all; overflow-wrap:anywhere}
#academy .academy-special-intro h4 {margin:0 0 6px; font-size:1.15rem; line-height:1.45}
#academy .academy-special-intro p {margin:0; max-width:72ch; font-size:.95rem; line-height:1.7}

/* Shared session components also appear inside academy lesson dialogs. */
#academy .public-roster-trigger-count::after,
body:has(#academy.active) .public-roster-trigger-count::after {content:none}
#home.openplay-home .oph-upcoming__row[data-home-academy-path],
#home.openplay-home .oph-upcoming__row[data-academy-lesson] {grid-template-columns:78px minmax(0,1fr)}
@media(max-width:600px) {
  #home.openplay-home .oph-upcoming__row[data-home-academy-path],
  #home.openplay-home .oph-upcoming__row[data-academy-lesson] {grid-template-columns:66px minmax(0,1fr)}
}

#academy .academy-first-start {grid-column:auto;display:grid;align-items:start;gap:6px;padding:0;font-size:13px;font-weight:500}
#academy .academy-first-start > span {white-space:nowrap}
#academy .academy-first-start select {flex:1; min-width:0}

#academyGuide .acg-title-intro {display:block;font-size:clamp(19px,1.9vw,29px);line-height:1.45;letter-spacing:-.045em;font-weight:650;margin-bottom:8px}
#academyGuide .acg-title-main {display:block;font-size:clamp(29px,3.1vw,46px);line-height:1.28;letter-spacing:-.055em}
