.coaching-room {
  --room-ink: #181e1b;
  --room-surface: #222a25;
  --room-rule: #444e46;
  --room-light: #f7f7f1;
  --room-soft: #d1d7cd;
  --room-accent: #d6ef9d;
  background: var(--room-ink);
  color: var(--room-light);
}
.coaching-room .kicker { color: var(--room-accent); }
.coaching-room .kicker::before { background: currentColor; }
.room-lead { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: clamp(28px,6vw,100px); align-items: end; }
.room-lead h2 { font-size: clamp(40px,5.6vw,80px); line-height: .99; max-width: 19ch; }
.room-lead h2 em { color: var(--room-accent); font-weight: inherit; font-style: normal; }
.room-intro { max-width: 42ch; color: var(--room-soft); font-size: clamp(16px,1.3vw,20px); line-height: 1.55; }
.room-grid {
  display: grid; grid-template-columns: minmax(225px,.83fr) minmax(0,1.17fr);
  grid-template-areas: "screen tabs" "screen notes";
  grid-template-rows: auto 1fr; align-items: start;
  gap: clamp(18px,2.2vw,32px) clamp(32px,6vw,88px);
  margin-top: clamp(30px,4.2vw,62px); padding-top: clamp(24px,3.3vw,48px);
  border-top: 1px solid var(--room-rule);
}
.room-screen { grid-area: screen; min-width: 0; align-self: center; }
.replay-figure { width: min(100%,332px); margin-inline: auto; }
.replay-frame {
  position: relative; overflow: hidden; border: 7px solid #0b100e; border-radius: 30px;
  background: #174737; outline: 1px solid #515b51; box-shadow: 0 13px 30px #0003;
}
.replay-frame video,.replay-frame .chapter-poster { display: block; width: 100%; height: auto; aspect-ratio: 640/860; object-fit: contain; }
.replay-frame .chapter-poster { position: absolute; inset: 0; pointer-events: none; }
.replay-transport { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 8px 1px 0; }
.replay-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 69px; padding: 0 4px; gap: 7px; font-size: 13px; font-weight: 720; color: var(--room-light); }
.transport-symbol { width: 10px; height: 12px; background: var(--room-accent); clip-path: polygon(0 0,100% 50%,0 100%); }
.replay-toggle.is-playing .transport-symbol { clip-path: polygon(0 0,38% 0,38% 100%,0 100%,0 0,62% 0,100% 0,100% 100%,62% 100%,62% 0); }
.replay-transport input { appearance: auto; cursor: pointer; flex: 1; min-width: 30px; height: 44px; margin: 0; accent-color: var(--room-accent); }
.replay-clock { font: 12px/1 ui-monospace,SFMono-Regular,Consolas,monospace; font-variant-numeric: tabular-nums; color: var(--room-soft); white-space: nowrap; }
.replay-figure > figcaption { margin-top: 7px; color: #b6bfb4; font-size: 12px; text-align: center; }
.replay-figure > figcaption span { margin-inline: 3px; }
.room-chapters { grid-area: tabs; min-width: 0; }
.room-tabs { display: inline-flex; align-items: stretch; border: 1px solid var(--room-rule); border-radius: 26px; padding: 3px; max-width: 100%; gap: 2px; }
.room-tabs button { min-height: 44px; border-radius: 22px; padding: 6px clamp(11px,1.45vw,24px); font-size: clamp(12px,.98vw,14px); font-weight: 680; line-height: 1.15; color: var(--room-soft); }
.room-tabs button[aria-selected=true] { background: var(--room-accent); color: var(--room-ink); }
.room-notes { grid-area: notes; min-width: 0; }
.room-panel + .room-panel:not([hidden]) { margin-top: 24px; }
.room-panel[hidden] + .room-panel:not([hidden]) { margin-top: 0; }
.room-panel h3 { font-size: clamp(25px,2.6vw,38px); line-height: 1.08; letter-spacing: -.045em; }
.room-panel > p { margin-top: 12px; max-width: 54ch; font-size: clamp(15px,1.1vw,18px); color: var(--room-soft); }
.rep-pair,.meal-evidence,.travel-week { margin-top: clamp(18px,2.1vw,30px); }
.rep-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.rep-pair figure { overflow: hidden; border-radius: 12px; background: var(--room-surface); border: 1px solid var(--room-rule); }
.rep-pair img { width: 100%; height: auto; aspect-ratio: 496 / 300; object-fit: contain; background: #b1baae; }
.rep-pair figcaption { display: flex; align-items: center; gap: 8px; padding: 10px; font-size: clamp(12px,1vw,15px); font-weight: 650; line-height: 1.2; }
.rep-pair figcaption i { width: 7px; height: 7px; border-radius: 50%; background: #9ba59c; flex: none; }
.rep-pair figure:last-child i { background: var(--room-accent); }
.meal-evidence { display: grid; grid-template-columns: minmax(80px,34%) 1fr; align-items: center; gap: clamp(14px,2.3vw,33px); padding: 12px; border: 1px solid var(--room-rule); background: var(--room-surface); border-radius: 13px; }
.meal-evidence img { width: 100%; max-height: 166px; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 7px; }
.meal-evidence strong,.meal-evidence span { display: block; }
.meal-evidence small,.travel-week dt { color: var(--room-accent); font-size: 12px; font-weight: 700; }
.meal-evidence strong { margin: 4px 0; letter-spacing: -.035em; font-size: clamp(18px,2vw,29px); line-height: 1.12; }
.meal-evidence span { color: var(--room-soft); font-size: 13px; }
.travel-week { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); background: var(--room-surface); border: 1px solid var(--room-rule); border-radius: 12px; padding: clamp(12px,2vw,26px) 0; }
.travel-week > div { padding: 4px clamp(9px,1.5vw,20px); }
.travel-week > div + div { border-left: 1px solid var(--room-rule); }
.travel-week dd { font-weight: 650; font-size: clamp(14px,1.15vw,18px); margin-top: 5px; line-height: 1.3; }
.room-plan-note { margin-top: clamp(18px,2.2vw,30px); padding-top: 15px; max-width: 69ch; border-top: 1px solid var(--room-rule); color: #bec8bc; font-size: 14px; }
.room-plan-note a { color: var(--room-accent); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.room-foot { margin-top: clamp(22px,3.4vw,48px); border-top: 1px solid var(--room-rule); display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0 24px; }
.room-transcript { flex: 1 1 360px; }
.room-transcript summary,.room-proof { min-height: 48px; padding-block: 12px; font-size: 14px; font-weight: 660; }
.room-transcript summary { cursor: pointer; }
.room-proof { color: var(--room-accent); }
.room-proof span { margin-left: 6px; }
.transcript-pages { border-top: 1px solid var(--room-rule); max-width: 65ch; }
.transcript-pages section { padding-block: 15px; }
.transcript-pages h3 { margin-bottom: 6px; font-size: 18px; }
.transcript-pages p { color: var(--room-soft); margin: 4px 0; font-size: 14px; }
.transcript-pages b { color: var(--room-light); margin-right: 5px; }
.coaching-room :focus-visible { outline-color: var(--room-accent); }

.booking-shell { margin-top: clamp(30px,5vw,70px); scroll-margin-top: 8px; border-radius: 18px; background: #fff; color: #20221f; border: 1px solid #dddcd5; }
.booking-head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px 24px; padding: clamp(18px,3.3vw,42px); border-bottom: 1px solid #e5e5de; }
.booking-head .kicker { color: #606359; margin-bottom: 8px; }
.booking-head h3 { font-size: clamp(25px,2.7vw,38px); }
.booking-head p[data-book-context] { margin-top: 7px; color: #565950; line-height: 1.45; }
.booking-head a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.booking-head a:focus-visible,.booking-head h3:focus-visible { outline-color: #6d752a; }
.booking-embed { width: 100%; min-width: 0; overflow: hidden; border-radius: 0 0 18px 18px; background: #fff; }
.booking-embed iframe { display: block; width: 100%; height: 805px; border: 0; color-scheme: light; }

@media(min-width:766px) {
  .room-notes { min-height: 385px; }
}
@media(max-width:765px) {
  .room-lead { grid-template-columns: 1fr; gap: 16px; }
  .room-lead h2 { font-size: clamp(41px,8.2vw,62px); }
  .room-intro { max-width: 52ch; }
  .room-grid { grid-template-columns: minmax(0,1fr); grid-template-areas: "tabs" "screen" "notes"; gap: 22px; margin-top: 25px; padding-top: 23px; }
  .room-chapters { justify-self: center; }
  .room-tabs button { padding-inline: clamp(10px,2.3vw,18px); }
  .replay-figure { width: min(100%,315px); }
  .room-notes { width: 100%; max-width: 530px; justify-self: center; }
  .room-foot { gap: 0; }
  .booking-embed iframe { height: 850px; }
}
@media(max-width:480px) {
  .booking-shell { margin-inline: calc(0px - var(--gutter)); border-inline: 0; border-radius: 0; }
  .booking-embed { border-radius: 0; }
  .room-chapters,.room-tabs { width: 100%; }
  .room-tabs button { flex: 1; }
  .room-transcript { flex-basis: 100%; }
  .room-proof { border-top: 1px solid var(--room-rule); width: 100%; }
}
@media(hover:hover) {
  .room-tabs button[aria-selected=false]:hover { color: white; background: var(--room-surface); }
  .room-proof:hover,.room-plan-note a:hover { color: white; }
}
.replay-fallback { margin-top: 12px; color: var(--room-accent); text-align: center; font-size: 14px; }
.replay-fallback a { text-decoration: underline; text-underline-offset: 4px; }

.replay-inline-link { text-decoration: underline; text-decoration-color: #9a875c; text-underline-offset: .18em; }
.rep-view { position: relative; }
.rep-mark { position: absolute; left: 58.2%; top: 73%; width: 11px; height: 11px; border: 2px solid #efffc8; border-radius: 50%; box-shadow: 0 0 0 1px #486148; transform: translate(-50%,-50%); }
.rep-mark::after { content: ""; position: absolute; top: 3px; left: 8px; width: clamp(13px,2.5vw,30px); height: 2px; background: #efffc8; box-shadow: 0 1px #486148; }
