.academy-tour { --tour-ink:#1f2328; --tour-muted:#58616b; --tour-line:#dde1e5; --tour-soft:#f7f8fa; --tour-green:#61ed6a; --tour-deep:#1e7b33; color:var(--tour-ink); background:#fff; border:1px solid #c6ccd1; border-radius:20px; padding:0; width:min(1060px,calc(100% - 40px)); max-width:none; max-height:calc(100dvh - 48px); margin:auto; font:inherit; box-shadow:0 24px 90px #0b1b2226; }
.academy-tour::backdrop { background:rgb(20 27 32 / .48); }
.academy-tour *, .academy-tour *::before, .academy-tour *::after { box-sizing:border-box; }
.academy-tour button { font:inherit; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.academy-tour button:focus-visible { outline:3px solid #263f5c; outline-offset:3px; }
.academy-tour h2, .academy-tour h3, .academy-tour h4, .academy-tour p { margin:0; }
.academy-tour__shell { padding:30px; }
.academy-tour__header { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; padding:0 0 25px; }
.academy-tour h2 { font-size:clamp(24px,3vw,34px); font-weight:600; letter-spacing:-.025em; line-height:1.15; }
.academy-tour #academy-tour-description { font-size:14px; color:var(--tour-muted); margin-top:12px; line-height:1.5; }
.academy-tour__close { flex:0 0 44px; width:44px; height:44px; border:1px solid #d1d6db; background:#fff; color:var(--tour-ink); border-radius:50%; display:grid; place-items:center; font-size:27px!important; line-height:1; }
.academy-tour__close:hover { background:var(--tour-soft); }
.academy-tour h3 { font-size:24px; letter-spacing:-.035em; font-weight:600; line-height:1.18; }
.academy-tour h4 { font-size:16px; font-weight:600; letter-spacing:-.02em; line-height:1.3; }
.academy-tour__button { min-height:44px; background:#fff; color:var(--tour-ink); border:1px solid #89939c; border-radius:6px; padding:10px 15px; font-size:14px!important; font-weight:550; line-height:1.4; text-align:center; }
.academy-tour__button:hover { border-color:var(--tour-ink); background:#f1f3f5; }
.academy-tour__button[aria-pressed=true] { background:#e9faeb; border-color:var(--tour-deep); color:#185b28; box-shadow:inset 0 0 0 1px var(--tour-deep); }
.academy-tour__button--primary { background:var(--tour-green); color:#152a19; border-color:#34ad43; }
.academy-tour__button--primary:hover { background:#4bd855; }
.academy-tour__footer { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-top:18px; font-size:14px; color:var(--tour-muted); }
.academy-tour__footer>span { display:flex; gap:8px; align-items:center; }
.academy-tour__footer i { width:6px; height:6px; border-radius:50%; background:var(--tour-deep); flex:0 0 6px; }
.academy-tour__footer button { border:0; background:transparent; min-height:44px; padding:8px 0 8px 12px; color:var(--tour-ink); font-size:14px; font-weight:600; white-space:nowrap; }
.academy-tour__footer button span { margin-left:12px; }
.academy-tour__sr { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
@media (max-width:760px) {
  .academy-tour { width:calc(100% - 20px); max-height:calc(100dvh - 20px); border-radius:14px; }
  .academy-tour__shell { padding:20px; }
  .academy-tour__header { gap:12px; padding-bottom:20px; }
}
@media (max-width:440px) {
  .academy-tour__shell { padding:16px; }
  .academy-tour h2 { font-size:25px; }
  .academy-tour__header { gap:8px; }
  .academy-tour__close { flex-basis:44px; }
  .academy-tour__footer { align-items:flex-start; flex-direction:column; gap:2px; }
  .academy-tour__footer>span { font-size:14px; line-height:1.6; }
  .academy-tour__footer button { align-self:flex-end; }
}
@media (prefers-reduced-motion:reduce) {
  .academy-tour, .academy-tour * { scroll-behavior:auto!important; animation:none!important; transition:none!important; }
}

/* Polished controls and type; examples remain easy to explore on phones. */
.academy-tour{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:15px;line-height:1.55;border:0;border-radius:16px}
.academy-tour__header{padding-bottom:24px}.academy-tour h2{font-weight:600;letter-spacing:-.025em}
.academy-tour #academy-tour-description{font-size:13px;color:#58616B;margin-top:10px}.academy-tour h3{font-size:24px;font-weight:500;letter-spacing:-.025em}
.academy-tour__button{font-size:14px!important;font-weight:500;border-color:#8A9490;border-radius:7px;padding:11px 16px}
.academy-tour__button[aria-pressed=true]{box-shadow:none;border-color:#1E7B33;background:#EAF4EC;color:#145E26}
.academy-tour__button--primary{background:#61ED6A;color:#1F2328;border-color:#61ED6A}
.academy-tour__close{border-radius:7px;border:0;background:#F3F5F3;flex:0 0 44px}
.academy-tour__close .academy-icon{width:20px;height:20px}
.academy-tour__footer{justify-content:flex-end;padding-top:16px;border-top:1px solid #E1E6E2;margin-top:20px}
.academy-tour__footer button{font-size:15px;min-height:44px;padding:10px 22px;border:1px solid #8A9490;border-radius:7px}
.academy-tour .academy-icon{width:19px;height:19px}
@media(max-width:760px){.academy-tour__shell{padding:22px}.academy-tour__footer{flex-direction:row}}
@media(max-width:440px){.academy-tour__shell{padding:20px 16px}.academy-tour h2{font-size:26px}.academy-tour__header{padding-bottom:16px}}

/* Class setup: a small sample form beside its calendar and price preview. */

/* Conversation feedback stays inside the conversation, without extra panels. */

/* Financial examples: records, statements, credit calculations and reports. */

/* People, family context and coach roll call: scoped illustrative surfaces. */

/* Final example polish: one clear task per surface. */

.academy-tour__footer{justify-content:space-between;gap:16px}.academy-tour__details{color:#075b41;font-size:14px;font-weight:600;text-underline-offset:4px}.academy-tour__details:focus-visible{outline:2px solid #075b41;outline-offset:5px;border-radius:2px}

/* Manual browsing lives outside the artwork, so neither phone nor roster is covered. */
.academy-tour__shell { padding:16px 24px; }
.academy-tour__header { align-items:center; gap:16px; padding-bottom:6px; }
.academy-tour h2 { font-size:22px; }
.academy-tour__close { flex-basis:44px; width:44px; height:44px; }
.academy-tour__position { margin-left:auto; color:var(--tour-muted); font-size:12px; font-variant-numeric:tabular-nums; white-space:nowrap; }
.academy-tour__browse { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; margin-top:6px; border-top:1px solid #e1e6e2; }
.academy-tour__adjacent { display:flex; align-items:center; gap:9px; min-width:0; min-height:44px; border:0; border-radius:5px; padding:6px 8px; background:#fff; color:var(--tour-ink); text-align:left; transition:background-color 140ms; }
.academy-tour__adjacent:hover { background:#f2faf2; border-color:#9abc9e; }
.academy-tour__adjacent:active { background:#e9f5e9; }
.academy-tour__adjacent--next { justify-content:flex-end; text-align:right; }
.academy-tour__browse-hint { font-weight:400; color:var(--tour-muted); }
.academy-tour__feature-name { min-width:0; font-size:13px; line-height:1.35; font-weight:600; overflow-wrap:break-word; }
.academy-tour__arrow { display:grid; place-items:center; flex:0 0 20px; width:20px; height:20px; color:#276b31; }
.academy-tour__adjacent--next .academy-tour__arrow { transform:rotate(180deg); }
.academy-tour__footer { margin-top:0; padding-top:0; border-top:0; gap:8px; align-items:center; }
.academy-tour__details { font-size:12px; }
.academy-tour__playback { display:flex; align-items:center; gap:2px; }
.academy-tour__playback[hidden] { display:none; }
.academy-tour__footer .academy-tour__playback button { min-height:44px; border:0; padding:6px 8px; font-size:12px; font-weight:400; border-radius:5px; color:var(--tour-muted); }
.academy-tour__playback button:hover { background:#f2faf2; }
.academy-tour__playback button[aria-pressed="true"] { background:#e9f5e9; color:#276b31; }
@media(max-width:440px) {
  .academy-tour__browse { gap:4px; }
  .academy-tour__adjacent { gap:6px; padding-inline:4px; }
  .academy-tour h2 { font-size:21px; }
  .academy-tour__header { padding-bottom:4px; gap:10px; }
  .academy-tour__close { flex-basis:44px; }
  .academy-tour__feature-name { font-size:12px; }
  .academy-tour__browse-hint { display:none; }
}

/* Stop dialog/backdrop scroll chaining without changing the page scroller. */
.academy-tour:modal { overflow:auto; overscroll-behavior:contain; }
.academy-tour::backdrop { overflow:hidden; overscroll-behavior:contain; }
