/* The screen stays at its native aspect ratio. Captions and controls are live type. */
.training-guide { padding-block:clamp(2rem,4vw,4.5rem); }
.training-overview { display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); align-items:center; gap:clamp(1.6rem,4.8vw,5rem); }
.training-copy h1 { font-size:clamp(2.2rem,4.1vw,4.75rem); margin:.7rem 0 1rem; text-transform:none; line-height:1.04; letter-spacing:-.04em; }
.training-copy>p,.station-pair article>p:last-child,.training-transition { color:#454c57; line-height:1.6; }
.training-facts { margin:1.3rem 0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.6rem; padding:.9rem 0; border-block:1px solid #d6d5cd; }
.training-facts dt { font-size:.78rem; color:#52565b; overflow-wrap:anywhere; }
.training-facts dd { margin:.2rem 0 0; font:700 clamp(1.1rem,2vw,1.65rem) var(--display); font-variant-numeric:tabular-nums; }
.training-cover { position:relative; padding:0; background:#101725; overflow:hidden; border-radius:1rem; }
.training-cover img { width:100%; height:auto; display:block; }
.training-cover .card-play { position:absolute; bottom:.8rem; left:.8rem; }
.training-sequence { max-width:64rem; margin-top:clamp(2.4rem,5vw,5rem); }
.training-sequence h2 { font-size:clamp(1.7rem,3vw,2.4rem); text-transform:none; }
.station-pair { display:grid; grid-template-columns:1fr 1fr; gap:1.3rem 2rem; margin:1.1rem 0; }
.station-pair article { border-top:2px solid #c5aa57; padding-top:.9rem; }
.station-pair .station-turn { color:#715711; font-size:.87rem; font-weight:700; }
.station-pair h3 { margin:.2rem 0 .45rem; font-size:1.35rem; }
.session-guide-link { display:inline-flex; align-items:center; min-height:44px; margin-inline-start:.85rem; text-decoration:underline; text-underline-offset:.2em; }
.session-guide-link[hidden] { display:none; }
#activity { text-align:end; }
@media(max-width:750px) { .training-overview { grid-template-columns:1fr; } }
@media(max-width:460px) { .station-pair { grid-template-columns:1fr; } .training-facts { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.hero { background: #f7f6f1; color: #141a23; }
.hero-wash { background: radial-gradient(ellipse at 92% 14%,#f1e7c8,transparent 58%); }
.hero-inner {
  grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr);
  grid-template-areas: "copy tour" "stores tour";
  grid-template-rows: 1fr auto; align-items: center; gap: 1.3rem clamp(2rem,4.4vw,5rem);
  padding-block: clamp(2rem,4.3vw,4.6rem); min-height: 0;
}
.hero-copy { grid-area: copy; align-self: end; }
.hero .kicker { color: #555b61; letter-spacing: .095em; font-weight: 720; }
.hero h1 {
  color: #101725; text-transform: none; font-stretch: 96%; font-weight: 740;
  letter-spacing: -.065em; line-height: .99; font-size: clamp(2rem,14.4cqi,6.6rem);
  margin: 1.2rem 0 1.4rem;
}
.hero h1 .accent { color: #65500b; font-weight: 530; }
.hero-desc { color: #434a52; line-height: 1.58; max-width: 37ch; }
.hero-actions { gap: .9rem 1.25rem; margin-top: 1.5rem; }
.hero-actions .primary { border-radius: 2rem; background: #111827; color: white; gap: .8rem; }
.hero-actions .primary span[aria-hidden] { color: #ffcd36; font-size: 1.15em; }
.hero-actions .film-link { color: #28313c; }
.hero-actions .outline-play { border-color: #9c9b92; }
.hero-stores { grid-area: stores; align-self: start; padding-bottom: clamp(.6rem,6vw,5.6rem); }
.hero-stores .store-links { margin: 0; }
.hero .store-links p { color: #515861; font-size: .79rem; }
.hero-demo { grid-area: tour; }
.hero-demo,.zoom-dialog .hero-demo {
  background: #101725; color: #fff; border-radius: 1.25rem; border: 1px solid #d5d4cb;
  box-shadow: 0 18px 46px -26px #141c2f66;
}
.hero-demo .demo-device,.zoom-dialog .hero-demo .demo-device {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.7fr); grid-template-rows: minmax(0,1fr); align-items: center;
  padding: clamp(.85rem,2vw,1.65rem); gap: .9rem; height: clamp(24rem,34vw,33rem);
  min-height: 0; width: 100%; aspect-ratio: auto;
  background: linear-gradient(90deg,#16191bb3 3%,#10131730 63%,#10131770),url("media/rowing-1672.webp") 70% 40% / cover;
}
.hero-demo .tour-phone,.zoom-dialog .hero-demo .tour-phone {
  width: auto; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; aspect-ratio: 1080/2348;
  justify-self: center; align-self: center; position:relative; overflow:hidden; border-radius: 1.1rem;
  outline: 2px solid #252834; box-shadow: 0 5px 22px #0006; background: #0b1020;
}
#tour .tour-phone #hero-player {
  position:absolute; left:50%; top:50%; width:1080px; height:2348px; max-width:none; max-height:none;
  border:0; border-radius:0; outline:0; box-shadow:none; margin:0; object-fit:contain;
  transform:translate(-50%,-50%) scale(var(--phone-scale,.27)); transform-origin:center;
}
.tour-focus {
  align-self: end; justify-self: end; padding: .8rem 1rem; border-radius: .7rem;
  background: #fff9e9; color: #151a22; border-left: 4px solid #f4ba12; width: min(100%,14rem);
  box-shadow: 0 6px 16px #0002; overflow-wrap: anywhere;
}
.tour-focus span,.tour-focus strong { display: block; }
.tour-focus span { font-size: .73rem; font-weight: 620; line-height: 1.3; color: #555345; }
.tour-focus strong { font-family: var(--display); font-size: clamp(1.05rem,2.1vw,1.8rem); margin-top: .18rem; line-height: 1.07; }
.hero-demo .demo-panel { padding: .75rem 1.1rem .35rem; background: #121b29; }
.hero-demo .demo-heading { font-size: .8rem; }
.hero-demo #hero-caption { min-height: 1.55em; }
.hero-demo .demo-controls { margin-top: 0; }
.head-cta,.btn,.program-card,.workbench,.guide-lead img { border-radius: .7rem; }
.main-nav a { font-weight: 650; }
.app-preview { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.45fr); gap: clamp(2rem,5vw,5rem); }
.explorer-menu h2,.film-library h2,.section-head h2,.page-lead h1,.page-lead h2,.detail-copy h1,.context-film h2 {
  font-stretch: 96%; font-weight: 710; text-transform: none; letter-spacing: -.05em; line-height: 1.05;
}
.explorer-menu h2 { font-size: clamp(2.4rem,4.6vw,4.5rem); margin: .55rem 0 1.25rem; }
.explorer-menu .feature-strip,.explorer-menu .feature-strip .wrap { background: transparent; padding: 0; }
.explorer-menu .feature-strip .wrap { display: flex; width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: .5rem; overflow: visible; }
.feature-strip button { padding: .57rem .88rem; border: 1px solid #c8c9c4; border-radius: 2rem; color: #384049; background: #fff; font: inherit; font-size: .91rem; font-weight: 650; min-height: 44px; }
.feature-strip button[aria-pressed="true"] { background: #17212b; color: white; border-color: #17212b; }
.feature-strip button:hover { border-color: #604d14; }
.explorer-pane { overflow: hidden; border-radius: 1.3rem; display: grid; align-items: center; grid-template-columns: 1.12fr .88fr; background: #f2e7bd; color: #191c24; padding: clamp(1.1rem,3vw,2.75rem); gap: 1.5rem; }
.preview-copy h3 { font: 720 clamp(1.65rem,3vw,2.9rem)/1.07 var(--display); letter-spacing: -.045em; margin: 0; }
.explorer-pane .preview-copy p { font-size: 1rem; line-height: 1.52; color: #444738; }
.explorer-pane .preview-art { background: none; border: 0; height: auto; overflow: visible; text-align: center; }
.explorer-pane .preview-art #preview-phone { position: static; transform: none; width: auto; height: clamp(12rem,22vw,19rem); max-width: 100%; object-fit: contain; filter: drop-shadow(0 .6rem .65rem #13181233); }
.app-preview[data-selected="duel"] .explorer-pane { background: #f2ded2; }
.app-preview[data-selected="forge"] .explorer-pane { background: #dce8df; }
.app-preview[data-selected="social"] .explorer-pane { background: #dee6ef; }
.app-preview[data-selected="stats"] .explorer-pane { background: #e7e1ef; }
.program-card h3,.workbench h2,.reading h1,.guide-lead h1 { text-transform: none; font-stretch: 96%; letter-spacing: -.04em; }
.card-info p { line-height: 1.55; }
@media(min-width: 900px) {
  body[data-page="index"] .film-library .cards { grid-template-columns: 1.25fr 1fr 1fr; }
  .hero-demo .demo-panel { grid-template-columns: auto minmax(0,1fr) auto; align-items: center; }
  .hero-demo .demo-heading { grid-column:1; grid-row:1; }
  .hero-demo #hero-stage { grid-column:2; grid-row:1; }
  .hero-demo #hero-time { grid-column:3; grid-row:1; }
  .hero-demo #hero-caption { grid-row:2; padding-top:.35rem; }
  .hero-demo .demo-controls { grid-row:3; }
}
@media(max-width:850px) {
  .hero-inner { grid-template-columns: minmax(0,1fr); grid-template-areas: "copy" "tour" "stores"; gap: 1.25rem; }
  .hero-copy,.hero-stores { width: 100%; align-self: center; }
  .hero-stores { padding: 0; }
  .hero-desc { max-width: 52ch; }
  .hero h1 { font-size: clamp(2rem,10cqi,4.6rem); }
  .app-preview { grid-template-columns: 1fr; gap: 1.3rem; }
}
@media(max-width:650px) {
  .hero-inner { padding-block: 1.7rem 2rem; }
  .hero h1 { margin: .65rem 0 .72rem; font-size: clamp(2rem,13cqi,3.8rem); }
  .hero-actions { margin-top: .9rem; }
  .hero-demo .demo-device { height: min(28rem,72svh); grid-template-columns: 1.4fr .7fr; padding: .65rem; gap: .4rem; }
  .tour-focus { padding: .5rem; border-left-width: 3px; }
  .tour-focus span { font-size: .7rem; }
  .hero-demo .demo-panel { padding: .65rem .75rem .25rem; }
  .explorer-pane { grid-template-columns: 1.2fr .8fr; gap: .6rem; }
  .explorer-pane .preview-copy p { font-size: .91rem; }
  .explorer-pane .preview-art #preview-phone { height: auto; width: 100%; }
}
.zoom-dialog .hero-demo .demo-device { height: 100%; min-height: 0; background-color: #111827; }
.zoom-dialog:has(#tour) { grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,1fr); }
.zoom-dialog .hero-demo { grid-area:auto; height: 100%; width: min(100%,64rem); grid-template-rows: minmax(0,1fr) auto; }
@media(max-width:650px) { .zoom-dialog .tour-focus { display:none; } .zoom-dialog .hero-demo .demo-device { grid-template-columns:1fr; padding: .35rem; } }
@media(orientation:landscape) and (max-height:520px) { .zoom-dialog .hero-demo { grid-template-rows: minmax(0,1fr); grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); } .zoom-dialog .tour-focus { display:none; } .zoom-dialog .hero-demo .demo-device { grid-template-columns:1fr; } }
/* The intrinsic ratio of every portrait and landscape film survives inline and fullscreen playback. */
#film { width: min(72rem,96vw); max-height: 94dvh; padding: clamp(.8rem,2.5vw,2rem); }
#film video,#film[data-kind] video,#film.portrait-film video {
  display: block; width: 100%; height: auto; min-height: 0; max-height: min(68dvh,48rem);
  aspect-ratio: auto; object-fit: contain; background: #0b1020; margin: .7rem auto 0;
}
#film video:fullscreen { width: 100vw; height: 100vh; max-height: none; object-fit: contain; }
#film .film-heading h2 { text-transform: none; font-stretch: 96%; }
@media(max-width:650px) { #film { max-height: 100dvh; width: 100%; } #film video,#film[data-kind] video { max-height: 65dvh; } }
.film-screen { display: grid; place-items: center; min-width: 0; background: #101725; border-radius: .8rem; }
#film .film-screen video { margin: 0; }
.film-notes { min-width: 0; padding-block: .4rem; }
.film-presentation { min-width:0; }
#film .film-screen {
  position:relative; width:100%; aspect-ratio:var(--film-ratio); max-height:65dvh; overflow:hidden;
}
#film .film-screen #player {
  position:absolute; left:50%; top:50%; width:var(--film-width); height:var(--film-height);
  min-width:0; max-width:none; max-height:none; margin:0; border:0; border-radius:0;
  transform:translate(-50%,-50%) scale(var(--film-scale,.3)); transform-origin:center;
}
#training-controls:not([hidden]) { display:flex; gap:.45rem; align-items:center; padding:.25rem .4rem; background:#101725; color:#fff; border-radius:.6rem; margin-top:.3rem; }
#training-controls button { display:grid; place-items:center; color:#ffd057; min-width:44px; min-height:44px; background:transparent; border:0; }
#training-controls button[hidden] { display:none; }
#training-seek { flex:1; min-width:0; accent-color:#f6bd25; }
#training-time { font-variant-numeric:tabular-nums; font-size:.8rem; }
#film.expanded-training[open] { width:100vw; max-width:100vw; height:100dvh; max-height:100dvh; padding:.5rem; border-radius:0; }
#film.expanded-training[open] .film-layout { display:block; }
#expanded-caption { display:none; }
#film.expanded-training #expanded-caption { display:block; margin:.25rem .4rem; font-size:.875rem; }
#film.expanded-training .film-presentation { display:grid; height:calc(100dvh - 1rem); grid-template-rows:minmax(0,1fr) auto auto; }
#film.expanded-training .film-notes,#film.expanded-training .film-heading { display:none; }
#film.expanded-training .film-screen { height:100%; max-height:none; width:100%; aspect-ratio:auto; }
.film-heading { gap: .75rem; padding-bottom: .65rem; }
@media(min-width: 760px) {
  #film.portrait-film .film-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); align-items: center; gap: clamp(1.3rem,3vw,3rem); }
  #film.portrait-film .film-screen video { width: auto; height: auto; max-height: 75dvh; max-width: 100%; }
}
@media(max-height: 520px) and (orientation: landscape) {
  #film { max-height: 100dvh; }
  #film .film-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); gap: 1rem; }
  #film .film-screen video { max-height: 73dvh; }
}
@media(max-width:850px) and (max-height:700px) {
  :root { scroll-padding-top: .35rem; }
  .site-header { position: relative; }
  .hero .demo-device { height: min(28rem, calc(100svh - 11.25rem)); }
}
@media(min-width:651px) and (max-width:950px) and (max-height:520px) {
  .hero #tour { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); align-items: stretch; }
  .hero .demo-device { height: calc(100svh - 2rem); grid-template-columns: 1fr; }
  .hero .tour-focus { display: none; }
  .hero .demo-panel { align-content: center; }
}
.hero-demo .demo-device { height:clamp(29rem,45vw,42rem); grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr); }
.tour-guidance { grid-column:1/-1; grid-row:5; display:flex; align-items:center; flex-wrap:wrap; gap:.3rem .6rem; padding:.25rem 0 .45rem; border-top:1px solid #394455; }
.tour-guidance button { background:transparent; color:#f6d573; line-height:1.2; font-family:inherit; font-size:.83rem; font-weight:650; border:1px solid #59616c; border-radius:1.5rem; min-height:44px; padding:.4rem .8rem; cursor:pointer; }
.tour-guidance button:disabled { opacity:.5; cursor:default; }
.tour-guidance button[aria-pressed="true"] { border-color:#eed17b; }
#hero-manual { display:flex; align-items:center; flex-wrap:wrap; gap:.35rem; }
#hero-manual[hidden],#hero-target[hidden] { display:none; }
#hero-prev { width:44px; }
#hero-count { font-size:.78rem; color:#d5d9de; font-variant-numeric:tabular-nums; }
#hero-target { position:absolute; z-index:1; transform:translate(-50%,-50%); width:44px; height:44px; padding:0; border:0; border-radius:50%; background:transparent; cursor:pointer; touch-action:none; }
#hero-target::before { content:""; position:absolute; inset:6px; border-radius:50%; border:3px solid #ffce37; box-shadow:0 0 0 2px #172033,inset 0 0 0 1px #172033; }
#hero-target:focus-visible,.tour-guidance button:focus-visible { outline:3px solid white; outline-offset:2px; }
.icon,.chevron { stroke-width:1.9; }
.hero-arrow { color:#ffd363; }
.hero-demo .demo-controls .icon { width:20px; height:20px; }
.outline-play .icon,.card-play .icon,.big-play .icon,.demo-controls use[href="#i-play"],.demo-controls use[href="#i-pause"] { fill:currentColor; }
.feature-strip button,.tour-guidance button { display:inline-flex; align-items:center; justify-content:center; gap:.45rem; }
.feature-strip button .icon,.tour-guidance .icon { width:18px; height:18px; }
.feature-strip button[aria-pressed="true"] .icon { color:#ffd267; }
#hero-options { display:none; }
@media(max-width:650px) {
  .hero .demo-device { width:100%; height:min(82svh,calc((100vw - 3.4rem)*2.174 + 1rem),44rem); grid-template-columns:1fr; padding:.5rem; }
  .hero-demo .tour-focus { display:none; }
  .hero-demo #hero-caption { min-height:2.9em; }
  .tour-guidance { gap:.25rem; }
}
@media(min-width:651px) and (max-height:520px) {
  .hero .demo-device { height:calc(100svh - 2rem); grid-template-columns:1fr; }
}
@media(max-width:650px) and (min-height:440px) {
  .zoom-dialog[open] { padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
  .zoom-dialog #tour { border:0; border-radius:0; }
  .zoom-dialog #tour .demo-device { padding:2px; grid-template-columns:minmax(0,1fr); background:#101725; }
  .zoom-dialog #hero-options { display:inline-grid; place-items:center; }
  .zoom-dialog #tour .demo-controls { display:flex; grid-row:auto; gap:0; }
  .zoom-dialog #tour .demo-controls input { flex:1; min-width:20px; }
  .zoom-dialog #tour .demo-controls button { flex:0 0 42px; height:44px; }
  .zoom-dialog #tour:not(.show-options) .demo-panel { display:block; padding:2px .4rem; }
  .zoom-dialog #tour:not(.show-options) .demo-panel > :not(.demo-controls) { display:none; }
  .zoom-dialog #tour.show-options .demo-controls { grid-row:3; }
}
@media(min-width:651px) {
  .zoom-dialog:has(#tour) { padding:clamp(4px,1vw,12px); }
  .zoom-dialog #tour { grid-template-columns:minmax(0,1.35fr) minmax(0,.9fr); grid-template-rows:minmax(0,1fr); align-items:center; }
  .zoom-dialog #tour .demo-device { grid-template-columns:1fr; height:100%; max-height:none; padding:4px; background:#101725; }
  .zoom-dialog #tour .tour-focus { display:none; }
  .zoom-dialog #tour .demo-panel { grid-template-columns:minmax(0,1fr) auto; padding:1rem; border:0; background:none; }
  .zoom-dialog #tour .demo-heading,.zoom-dialog #tour #hero-time { grid-row:1; }
  .zoom-dialog #tour #hero-time { grid-column:2; }
  .zoom-dialog #tour #hero-stage { grid-column:1/-1; grid-row:2; }
  .zoom-dialog #tour #hero-caption { grid-row:3; }
  .zoom-dialog #tour .demo-controls { grid-row:4; }
}
@media(min-width:851px) {
  .hero-inner { grid-template-rows:max-content 1fr; align-items:start; row-gap:clamp(1.25rem,2vw,2rem); padding-block:clamp(1.75rem,3vw,3rem); }
  .hero-copy { align-self:start; padding-top:clamp(.65rem,1.4vw,1.5rem); }
  .hero-stores { align-self:start; padding:0; }
  .hero h1 { font-size:clamp(2.55rem,13.8cqi,5.9rem); line-height:1.045; letter-spacing:-.043em; margin:.9rem 0 1.05rem; text-wrap:balance; overflow-wrap:normal; }
  .hero-desc { max-width:42ch; }
  .hero .demo-device { height:clamp(25rem,min(45vw,79svh),42rem); }
  .hero .tour-focus { align-self:center; justify-self:stretch; width:100%; padding:clamp(.55rem,1.1vw,1rem); }
  .hero .tour-focus strong { font-size:clamp(1.05rem,1.6vw,1.55rem); text-wrap:balance; line-height:1.16; }
}

.practice-guide { display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); gap:clamp(2rem,7vw,7.5rem); margin-block:clamp(2.6rem,6vw,6rem); align-items:start; }
.practice-intro { background:#151b2a; color:#f8f6f0; border-radius:1.15rem; padding:clamp(1.65rem,3.8vw,3.7rem); }
.practice-intro .kicker { color:#f5ce66; }
.practice-intro h2,.session-routes h2,.session-chapters h2 { font-size:clamp(1.9rem,3.4vw,3.55rem); letter-spacing:-.043em; line-height:1.08; margin:.6em 0; text-wrap:balance; }
.practice-intro > p:not(.kicker) { color:#dce1ea; line-height:1.66; }
.practice-intro .btn { margin-top:.6rem; }
.practice-steps { counter-reset:usage; list-style:none; padding:0; margin:0; }
.practice-steps li { position:relative; padding:.2rem 0 1.15rem 3.2rem; }
.practice-steps li + li { border-top:1px solid var(--line); padding-top:1.1rem; }
.practice-steps li::before { counter-increment:usage; content:counter(usage); position:absolute; left:0; width:2.2rem; height:2.2rem; display:grid; place-items:center; background:#fae4a4; color:#332a17; border-radius:50%; font-weight:800; font-variant-numeric:tabular-nums; }
.practice-steps h3,.session-route h3 { margin:.12em 0 .45em; font-size:clamp(1.15rem,2vw,1.6rem); letter-spacing:-.025em; }
.practice-steps p,.session-route p { margin:0; line-height:1.65; }
.route-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.session-route { display:flex; justify-content:space-between; align-items:center; gap:1em; color:inherit; text-decoration:none; padding:clamp(1.15rem,2.4vw,2rem); background:#fff; border:1px solid var(--line); border-radius:1rem; }
.session-route:hover,.session-route:focus-visible { border-color:#967527; }
.session-route .icon,.chapter-rows .icon { flex:none; }
.route-time,.chapter-rows time { font-variant-numeric:tabular-nums; font-weight:800; font-size:.83rem; color:#71540b; }
.route-time { display:block; margin-bottom:1rem; }
.session-chapters { margin-top:clamp(2rem,5vw,4rem); }
.chapter-rows { margin-bottom:1.2rem; border-block:1px solid var(--line); }
.chapter-rows button { display:grid; width:100%; align-items:center; grid-template-columns:auto minmax(0,1fr) auto; gap:clamp(.65rem,2vw,1.8rem); padding:1.1rem .5rem; border:0; background:transparent; color:inherit; text-align:start; font:inherit; cursor:pointer; }
.chapter-rows button + button { border-top:1px solid var(--line); }
.chapter-rows button:hover,.chapter-rows button:focus-visible { background:#fff7df; }
.chapter-rows strong,.chapter-rows small { display:block; }
.chapter-rows small { font-size:.92em; line-height:1.55; margin-top:.22rem; }
#practice-dialog { width:min(28rem,calc(100vw - 1rem)); height:min(54rem,95dvh); max-height:100dvh; padding:0; border:1px solid #d5d9de; border-radius:1rem; background:#f6f7fa; color:#192030; overflow:hidden; }
#practice-dialog[open] { display:flex; flex-direction:column; }
#practice-dialog::backdrop { background:rgba(9,15,28,.76); }
.practice-bar { display:flex; justify-content:space-between; gap:1rem; align-items:center; padding:.5rem .85rem .22rem; flex:none; }
.practice-bar h2 { font:750 1.13rem/1.25 var(--body); text-transform:none; letter-spacing:-.015em; margin:0; }
.practice-intro h2,.session-routes h2,.session-chapters h2 { font-stretch:96%; text-transform:none; }
.practice-bar .close { display:grid; place-items:center; min-width:44px; min-height:44px; flex:none; }
.practice-note { margin:0; padding:0 .9rem .65rem; font-size:.8rem; line-height:1.4; color:#474e5c; }
#practice-surface { flex:1; min-height:0; background:#f2f2f5; }
#practice-surface iframe { display:block; width:100%; height:100%; border:0; }
@media(max-width:700px) {
  .practice-guide,.route-pair { grid-template-columns:minmax(0,1fr); }
  .practice-guide { gap:1.6rem; }
  .session-route .icon { align-self:center; }
  #practice-dialog { width:100vw; max-width:100vw; height:100dvh; max-height:100dvh; border:0; border-radius:0; padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
}
@media (max-height:450px) { .practice-note { display:none; } .practice-bar { padding-block:0; } }

