/* Academy-only surfaces. Single classes retain the canonical Program renderer
   and booking handlers, with the Academy visual tokens and card layout below. */
#academyCatalogMount.panel {
  padding: clamp(18px, 3vw, 34px) 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.academy-catalog {
  --academy-ink: #222722;
  --academy-muted: #63665f;
  --academy-line: #d9dbd2;
  --academy-surface: #fffef9;
  --academy-ivory: #f5f4ec;
  min-width: 0;
  color: var(--academy-ink);
}
.academy-catalog-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  margin-bottom: 30px;
  border: 1px solid var(--academy-line);
  background: var(--academy-ivory);
}
.academy-catalog-heading > div { min-width: 0; }
.academy-catalog-heading-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(28px, 4vw, 54px); }
.academy-catalog .academy-catalog-eyebrow {
  margin: 0 0 22px;
  color: #525b4f;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: .2em;
}
.academy-catalog .academy-catalog-heading h2 {
  max-width: 510px;
  margin: 0;
  color: var(--academy-ink);
  font-size: clamp(30px, 3.3vw, 43px);
  font-weight: 570;
  line-height: 1.35;
  letter-spacing: -.05em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.academy-catalog .academy-catalog-intro {
  max-width: 370px;
  margin: 20px 0 0;
  color: var(--academy-muted);
  font-size: 14px;
  font-weight: 460;
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.academy-catalog .academy-catalog-my {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 46px;
  margin-top: 26px;
  padding: 0 2px;
  border: 0;
  border-bottom: 1px solid #8b9386;
  border-radius: 0;
  background: transparent;
  color: var(--academy-ink);
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.academy-catalog .academy-catalog-my:hover { background: transparent; color: #4c6241; transform: none; }
html[lang="en"] .academy-catalog .academy-catalog-heading h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 4vw, 51px); font-weight: 400; line-height: 1.12; letter-spacing: -.035em; }

.academy-catalog-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  gap: 0;
  padding: 0;
  border: 1px solid var(--academy-line);
  border-radius: 3px;
  background: var(--academy-surface);
}
.academy-catalog-filters > button {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: start;
  min-width: 0;
  min-height: 78px;
  padding: 14px 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #555d50;
  font: inherit;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.academy-catalog-filters > button + button { border-left: 1px solid var(--academy-line); }
.academy-catalog-filters > button strong {
  min-width: 0;
  color: inherit;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
}
.academy-catalog-filters > button span {
  min-width: 0;
  margin-top: 3px;
  color: #63665f;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.academy-catalog-filters > button:hover { color: var(--academy-ink); background: #f5f5ef; }
.academy-catalog-filters > button[aria-pressed="true"] {
  background: #eeefe7;
  color: var(--academy-ink);
  box-shadow: none;
}
.academy-catalog-filters > button[aria-pressed="true"]::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #8b7933;
  content: "";
}
.academy-catalog button:focus-visible { outline: 3px solid #526849; outline-offset: 3px; }

.academy-catalog-path-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 460px);
  align-items: end;
  gap: 28px;
  padding: 38px 2px 23px;
}
.academy-catalog-path-heading > div { min-width: 0; }
.academy-catalog .academy-catalog-path-label {
  margin: 0 0 7px;
  color: #636b5c;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .09em;
}
.academy-catalog .academy-catalog-path-heading h3 {
  margin: 0;
  color: var(--academy-ink);
  font-size: clamp(22px, 2.45vw, 29px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.032em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.academy-catalog .academy-catalog-path-heading > p {
  margin: 0;
  color: var(--academy-muted);
  font-size: 13px;
  font-weight: 460;
  line-height: 1.7;
  text-align: right;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.academy-catalog-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.academy-catalog-list > * { min-width: 0; max-width: 100%; box-sizing: border-box; }
.academy-catalog-courses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.academy-catalog .academy-catalog-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: clamp(23px, 2.7vw, 30px);
  border: 1px solid var(--academy-line);
  border-radius: 4px;
  background: var(--academy-surface);
  color: var(--academy-ink);
  box-shadow: none;
  overflow-wrap: anywhere;
}
.academy-catalog-product-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.academy-catalog-kind {
  color: #596551;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: .035em;
}
.academy-catalog-availability {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 9px;
  border: 1px solid #bfdfd2;
  border-radius: 3px;
  background: #eef9f5;
  color: #17674e;
  font-size: 11px;
  font-weight: 720;
  line-height: 1.35;
}
.academy-catalog-availability.is-full { border-color: #e0e4e7; background: #f1f3f4; color: #67737b; }
.academy-catalog .academy-catalog-product h3 {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--academy-ink);
  font-size: clamp(22px, 2.35vw, 27px);
  font-weight: 630;
  line-height: 1.34;
  letter-spacing: -.034em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.academy-catalog .academy-catalog-description {
  margin: 10px 0 0;
  color: var(--academy-muted);
  font-size: 14px;
  font-weight: 460;
  line-height: 1.72;
  white-space: pre-wrap;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.academy-catalog-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 24px;
  margin: 24px 0 0;
  padding: 20px 0;
  border-top: 1px solid var(--academy-line);
  border-bottom: 1px solid var(--academy-line);
}
.academy-catalog-facts > div { min-width: 0; }
.academy-catalog-facts dt {
  margin: 0 0 4px;
  color: #646b5e;
  font-size: 11px;
  font-weight: 560;
  line-height: 1.4;
}
.academy-catalog-facts dd {
  min-width: 0;
  margin: 0;
  color: #353f30;
  font-size: 13px;
  font-weight: 670;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.academy-catalog-product-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, auto);
  align-items: end;
  gap: 14px 20px;
  margin-top: auto;
  padding-top: 22px;
}
.academy-catalog-price-label { display: block; margin-bottom: 5px; color: #646b5e; font-size: 11px; font-weight: 540; line-height: 1.4; }
.academy-catalog-price-block > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.academy-catalog-price { color: var(--academy-ink); font-size: 25px; font-weight: 650; line-height: 1.28; letter-spacing: -.034em; font-variant-numeric: tabular-nums; }
.academy-catalog-price.is-consultation { font-size: 21px; }
.academy-catalog-price-unit { color: var(--academy-muted); font-size: 11px; font-weight: 460; line-height: 1.5; }
.academy-catalog .academy-catalog-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 48px;
  margin: 0;
  padding: 12px 17px;
  border: 1px solid #e6cb51;
  border-radius: 4px;
  background: #f2d65c;
  color: #17212b;
  box-shadow: none;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
}
.academy-catalog .academy-catalog-cta.secondary { border-color: #b9c0b0; background: #f0f1e9; color: #303b2a; }
.academy-catalog .academy-catalog-cta:hover:not(:disabled) { transform: none; background: #eacb40; box-shadow: none; }
.academy-catalog .academy-catalog-cta.secondary:hover:not(:disabled) { background: #e6e9dd; }
.academy-catalog .academy-catalog-detail {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--academy-muted);
  font-size: 12px;
  font-weight: 460;
  line-height: 1.62;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.academy-catalog-days { display: grid; gap: 25px; }
.academy-catalog-single { min-width: 0; }
.academy-catalog-date {
  margin: 0 0 11px;
  color: #4e5f6a;
  font-size: 13px;
  font-weight: 680;
  line-height: 1.5;
}
.academy-catalog-single .public-session-day-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; overflow: visible; }
.academy-catalog-single .public-session-day-track > .session-card,
.academy-catalog-single .public-session-day-track > .session-card:only-child { width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; }
.academy-catalog-single .public-session-day-track .session-fact { padding-inline: 9px; }

/* One card, one information column. The Program's nested two-column layout
   squeezed a full session title and time into half of a half-width card.
   Scope all overrides here: other Program cards and roster dialogs are intact.
   !important is limited to properties already forced by the legacy shell. */
#academy .academy-catalog-single .public-session-day-track { align-items: stretch; }
#academy .academy-catalog-single .public-session-day-track > .session-card {
  display: flex !important;
  flex-direction: column;
  align-items: stretch !important;
  gap: 22px !important;
  height: auto;
  padding: 26px !important;
  border: 1px solid var(--academy-line) !important;
  border-radius: 5px !important;
  background: var(--academy-surface) !important;
  color: var(--academy-ink);
  box-shadow: none !important;
  cursor: default;
}
#academy .academy-catalog-single .session-card:hover { transform: none; }
#academy .academy-catalog-single .session-body { display: flex; flex-direction: column; align-items: stretch; gap: 16px; min-width: 0; }
#academy .academy-catalog-single .session-kicker { gap: 6px; }
#academy .academy-catalog-single .session-kicker .tag { min-height: 25px; padding: 4px 8px; border-radius: 3px; font-size: 11px; font-weight: 650; line-height: 1.35; }
/* The shared Program type chip says Open Session, not the lesson format. */
#academy .academy-catalog-single .session-type-chip { display: none; }
#academy .academy-catalog-single .session-title-line {
  margin: 0;
  color: var(--academy-ink);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: -.025em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
#academy .academy-catalog-single .session-summary {
  grid-template-columns: minmax(145px, 1.65fr) repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 2px 0 0;
  overflow: visible;
  border: 0 !important;
  border-top: 1px solid var(--academy-line) !important;
  border-bottom: 1px solid var(--academy-line) !important;
  border-radius: 0;
  background: transparent !important;
}
#academy .academy-catalog-single .session-fact { gap: 7px; padding: 15px 12px; }
#academy .academy-catalog-single .session-fact:first-child { padding-left: 0; }
#academy .academy-catalog-single .session-fact:last-child { padding-right: 0; }
#academy .academy-catalog-single .session-fact + .session-fact { border-left: 1px solid var(--academy-line); }
#academy .academy-catalog-single .session-fact-label,
#academy .academy-catalog-single .session-price-label {
  color: var(--academy-muted); font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: 0; text-transform: none;
  overflow: visible; text-overflow: clip; white-space: normal; word-break: keep-all;
}
#academy .academy-catalog-single .session-fact strong {
  color: var(--academy-ink); font-size: 18px; font-weight: 650; line-height: 1.5; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; white-space: nowrap; overflow: visible; text-overflow: clip;
}
#academy .academy-catalog-single .session-action {
  grid-template-columns: minmax(0, 1fr) minmax(120px, auto) !important;
  grid-column: auto; grid-row: auto;
  align-items: center; align-content: start; gap: 16px;
  margin-top: auto; padding: 0 !important; border: 0 !important; border-radius: 0;
  background: transparent !important;
}
#academy .academy-catalog-single .session-price-block { gap: 4px; }
#academy .academy-catalog-single .session-price { color: #354833; font-size: 25px; font-weight: 650; line-height: 1.25; font-variant-numeric: tabular-nums; white-space: nowrap; }
#academy .academy-catalog-single .session-action .btn,
#academy .academy-catalog-single .session-card.has-time-options .session-action .btn,
#academy .academy-catalog-single .session-card.has-time-options .session-action .btn.green {
  min-width: 120px; min-height: 46px; padding: 12px 18px; border: 1px solid #354833; border-radius: 4px;
  background: #354833; color: #fff; box-shadow: none; font: inherit; font-size: 14px; font-weight: 650; line-height: 1.5; white-space: nowrap;
}
#academy .academy-catalog-single .session-action .btn:hover:not(:disabled),
#academy .academy-catalog-single .session-card.has-time-options .session-action .btn:hover:not(:disabled) { transform: none; background: #263922; }
#academy .academy-catalog-single .session-action .btn.secondary,
#academy .academy-catalog-single .session-card.has-time-options .session-action .btn.secondary { background: #eef1e9; color: #354833; border-color: #bac5b4; }
#academy .academy-catalog-single .session-action .btn:disabled,
#academy .academy-catalog-single .session-card.has-time-options .session-action .btn:disabled { background: #f0f1eb; color: #687063; border-color: var(--academy-line); opacity: 1; cursor: not-allowed; }
#academy .academy-catalog-single .session-card.has-time-options .academy-time-booking-actions { flex: 1 1 100%; width: 100%; }
#academy .academy-catalog-single .session-card.has-time-options .session-action .btn { max-width: 100%; white-space: normal; word-break: keep-all; }
#academy .academy-catalog-single .session-capacity-caption { color: var(--academy-muted); font-size: 12px; font-weight: 500; line-height: 1.5; }
#academy .academy-catalog-single .session-capacity-caption strong { color: var(--academy-ink); font-weight: 650; }
#academy .academy-catalog-single .session-capacity-meter .bar { height: 5px; background: #e7e9df; }
#academy .academy-catalog-single .session-capacity-meter .bar span { background: #657b57; }
#academy .academy-catalog-single .session-queue-summary { color: var(--academy-muted); font-size: 12px; font-weight: 500; }
#academy .academy-catalog-single .public-roster-trigger,
#academy .academy-catalog-single .session-card.has-time-options .public-roster-trigger {
  grid-column: 1 / -1; grid-row: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 46px; margin: 0; padding: 11px 14px;
  border: 1px solid var(--academy-line); border-radius: 4px;
  background: var(--academy-ivory); color: #354833; font: inherit; font-size: 13px; font-weight: 600; line-height: 1.5;
  text-align: left; cursor: pointer;
}
#academy .academy-catalog-single .public-roster-trigger:hover,
#academy .academy-catalog-single .session-card.has-time-options .public-roster-trigger:hover { background: #ecefe4; border-color: #93a486; }
#academy .academy-catalog-single .public-roster-trigger[aria-expanded="true"],
#academy .academy-catalog-single .session-card.has-time-options .public-roster-trigger[aria-expanded="true"] { border-color: #526849; box-shadow: inset 0 0 0 1px #526849; }
#academy .academy-catalog-single .public-roster-trigger-main::before { background: #657b57; box-shadow: none; width: 6px; height: 6px; flex-basis: 6px; }
#academy .academy-catalog-single .public-roster-trigger-count { color: var(--academy-muted); font-size: 12px; }
#academy .academy-catalog-single :is(.public-roster-trigger, .btn):focus-visible { outline: 3px solid #526849; outline-offset: 3px; }
@media (max-width: 1100px) and (min-width: 721px) {
  #academy .academy-catalog-single .public-session-day-track { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  #academy .academy-catalog-single .public-session-day-track > .session-card { padding: 20px !important; gap: 20px !important; }
  #academy .academy-catalog-single .session-title-line { font-size: 20px; }
  #academy .academy-catalog-single .session-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #academy .academy-catalog-single .session-fact:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--academy-line); }
  #academy .academy-catalog-single .session-fact:nth-child(2) { padding-left: 0; border-left: 0; }
  #academy .academy-catalog-single .session-fact strong { font-size: 18px; }
  #academy .academy-catalog-single .session-action { gap: 14px 10px; }
}
@media (max-width: 360px) {
  #academy .academy-catalog-single .public-session-day-track > .session-card { padding: 16px !important; }
  #academy .academy-catalog-single .session-price { font-size: 22px; }
  #academy .academy-catalog-single .session-action .btn { min-width: 110px; padding-inline: 12px; }
}

.academy-catalog-state {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 46px 22px;
  border-top: 1px solid var(--academy-line);
  border-bottom: 1px solid var(--academy-line);
  background: rgba(255, 255, 255, .36);
  text-align: center;
}
.academy-catalog .academy-catalog-state h3 { margin: 0; color: #354551; font-size: 17px; font-weight: 680; line-height: 1.5; }
.academy-catalog .academy-catalog-state p { margin: 0; color: var(--academy-muted); font-size: 13px; font-weight: 460; line-height: 1.6; }
.academy-catalog .academy-catalog-state .btn,
.academy-catalog .academy-catalog-notice .btn { min-height: 44px; padding: 10px 15px; border-radius: 10px; background: #e8edef; color: #354551; box-shadow: none; font-size: 13px; font-weight: 660; }
.academy-catalog-error .btn { margin-top: 10px; }
.academy-catalog-loader { width: 22px; height: 22px; margin-bottom: 5px; border: 2px solid #dbe3e7; border-top-color: #607581; border-radius: 50%; animation: academy-catalog-spin .8s linear infinite; }
.academy-catalog-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 17px 19px; border: 1px solid var(--academy-line); border-radius: 4px; background: var(--academy-ivory); }
.academy-catalog .academy-catalog-notice p { flex: 1 1 240px; min-width: 0; margin: 0; color: var(--academy-muted); font-size: 13px; font-weight: 460; line-height: 1.6; }

@keyframes academy-catalog-spin { to { transform: rotate(360deg); } }
@media (max-width: 720px) {
  #academyCatalogMount.panel { padding-top: 18px; }
  .academy-catalog-heading { grid-template-columns: minmax(0, 1fr); align-items: start; margin-bottom: 22px; }
  .academy-catalog-heading-copy { padding: 28px 23px 24px; }
  .academy-catalog .academy-catalog-eyebrow { margin-bottom: 16px; }
  .academy-catalog .academy-catalog-heading h2 { max-width: 430px; font-size: clamp(28px, 7.5vw, 36px); }
  .academy-catalog .academy-catalog-intro { max-width: 440px; margin-top: 14px; font-size: 13px; }
  .academy-catalog .academy-catalog-my { min-height: 44px; margin-top: 15px; font-size: 12px; }
  html[lang="en"] .academy-catalog .academy-catalog-heading h2 { max-width: 430px; font-size: clamp(33px, 9vw, 42px); }
  .academy-catalog-filters { gap: 0; padding: 0; border-radius: 3px; }
  .academy-catalog-filters > button { justify-items: center; min-height: 54px; padding: 8px 4px; text-align: center; }
  .academy-catalog-filters > button strong { font-size: 12px; line-height: 1.25; }
  .academy-catalog-filters > button span { display: none; }
  .academy-catalog-filters > button[aria-pressed="true"]::after { right: 0; bottom: 0; left: 0; }
  .academy-catalog-path-heading { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 7px; padding: 26px 0 16px; }
  .academy-catalog .academy-catalog-path-heading h3 { font-size: 22px; }
  .academy-catalog .academy-catalog-path-heading > p { max-width: 480px; font-size: 12px; text-align: left; }
  .academy-catalog-courses { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .academy-catalog .academy-catalog-product { padding: 21px; border-radius: 4px; }
  .academy-catalog .academy-catalog-product h3 { margin-top: 14px; font-size: 22px; }
  .academy-catalog-facts { gap: 15px 18px; margin-top: 20px; padding: 17px 0; }
  .academy-catalog-product-footer { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 19px; }
  .academy-catalog .academy-catalog-cta { width: 100%; min-width: 0; }
  .academy-catalog .academy-catalog-detail { grid-column: 1; }
  .academy-catalog-single .public-session-day-track { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .academy-catalog-state { padding: 38px 18px; }
}
@media (max-width: 360px) {
  .academy-catalog .academy-catalog-heading h2 { font-size: 28px; }
  .academy-catalog-heading-copy { padding-inline: 20px; }
  .academy-catalog-filters > button strong { font-size: 11px; }
  .academy-catalog .academy-catalog-product { padding: 18px; }
  .academy-catalog-facts { grid-template-columns: minmax(0, 1fr); gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .academy-catalog-loader { animation: none; }
  .academy-catalog button { transition: none; }
}
