/* Coaching screens extend the site's clear, compact visual system. */
@layer taxi-global {
 body #scenariosView :is(.taxi-story-hero,.taxi-story-card,.taxi-story-session,.taxi-story-brief,.taxi-story-debrief){background:linear-gradient(130deg,#102536ad,#081623a8)!important;border:1px solid #d1e5ef27!important;border-radius:20px!important;box-shadow:inset 0 1px 0 #f0faff08!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 body #scenariosView .taxi-story-hero{padding:28px 30px!important;grid-template-columns:minmax(0,1fr) 180px!important;gap:18px 30px!important}
 body #scenariosView .taxi-story-hero h2{font-size:34px!important;line-height:1.12!important;letter-spacing:-.04em!important;font-weight:500!important;max-width:560px;margin:8px 0 14px!important}
 body #scenariosView .taxi-story-hero p:not(.taxi-case-eyebrow){font-size:14px!important;line-height:1.65!important}
 body #scenariosView .taxi-story-hero-art>svg:first-child{width:46px!important;height:46px!important}
 body #scenariosView .taxi-story-level-row{padding-top:15px!important}
 body #scenariosView .taxi-story-level-row>p{font-size:12px!important}
 body #scenariosView .taxi-scenario-settings button{font-size:12px!important;border:1px solid #d4e8f12c!important;border-radius:100px!important;background:#e3f3ff09!important;min-height:40px!important;padding:8px 15px!important;color:#bdcdd7!important}
 body #scenariosView .taxi-scenario-settings [aria-pressed=true]{border-color:#b1dbe77a!important;background:#bfebf51a!important;color:#ecf7ff!important}
 body #scenariosView .taxi-story-grid{gap:16px!important;margin-top:18px!important}
 body #scenariosView .taxi-story-card{padding:22px!important;transform:none!important}
 body #scenariosView .taxi-story-card-top{margin-bottom:14px!important}
 body #scenariosView .taxi-story-icon{width:44px!important;height:44px!important;border-radius:13px!important;background:#c7e9f00a!important;border-color:#c7e9f028!important;color:#add6e4!important}
 body #scenariosView .taxi-story-icon svg{width:26px!important;height:26px!important}
 body #scenariosView .taxi-story-card>strong{font-size:20px!important;line-height:1.25!important;letter-spacing:-.025em!important;margin-bottom:9px!important}
 body #scenariosView .taxi-story-card-description{font-size:13px!important;line-height:1.6!important}
 body #scenariosView .taxi-story-card-meta{font-size:11px!important;margin:4px 0 14px!important}
 body #scenariosView .taxi-story-card-action{font-size:12px!important;padding-top:12px!important}
 body #scenariosView .taxi-story-card>.taxi-story-line{margin-top:10px!important;height:48px!important}
 body #scenariosView .taxi-story-card:hover{border-color:#c7e9f05e!important;background-color:#accddb09!important}
 body #scenariosView .taxi-story-coach{display:grid!important;grid-template-columns:minmax(0,1fr) 200px!important;gap:28px!important;align-items:center!important;margin:18px 0!important;padding:22px 26px!important;background:linear-gradient(110deg,#28475380,#132c3b70)!important;border:1px solid #c7e5ef2e!important;border-radius:18px!important;color:var(--taxi-text)!important}
 body #scenariosView .taxi-story-coach h3{font-size:21px!important;line-height:1.3!important;font-weight:450!important;letter-spacing:-.025em!important;margin:6px 0 10px!important}
 body #scenariosView .taxi-story-coach p:not(.taxi-case-eyebrow){font-size:12px!important;line-height:1.65!important;color:#b6cbd6!important;max-width:640px;margin:0 0 14px!important}
 body #scenariosView .taxi-story-coach aside{border-left:1px solid #d9eaf123!important;padding-left:26px!important}
 body #scenariosView .taxi-story-coach aside>span:first-child{display:block;font-size:11px;color:#a9c8d8}
 body #scenariosView .taxi-story-coach aside>strong{display:block;font-weight:400;font-size:30px;letter-spacing:-.04em;line-height:1.4;margin:4px 0}
 body #scenariosView .taxi-story-coach strong small{font-size:17px;color:#8fabbd;font-weight:400}
 body #scenariosView .taxi-story-coach aside>small{font-size:10px;line-height:1.5;color:#91acbd;display:block}
 .coach-dots{display:flex;gap:6px;margin:8px 0 10px}.coach-dots i{display:block;width:32px;height:3px;background:#cde9f022;border-radius:3px}.coach-dots .is-filled{background:#b1dbe7}
 body #scenariosView .taxi-story-workspace button.primary,body #scenariosView .taxi-story-coach button.primary{min-height:44px!important;background:#d6eef9!important;color:#152c3a!important;border:0!important;border-radius:100px!important;font-size:13px!important;padding:10px 18px!important;box-shadow:none!important}
 body #scenariosView .taxi-story-brief{padding:30px!important;max-width:740px!important}
 body #scenariosView .taxi-story-intro{font-size:17px!important;line-height:1.7!important}
 body #scenariosView .taxi-story-brief h2,body #scenariosView .taxi-story-debrief h2{font-size:30px!important;letter-spacing:-.035em!important;line-height:1.2!important}
 body #scenariosView .taxi-story-session-header{padding:22px 26px!important;gap:14px!important}
 body #scenariosView .taxi-story-session-header h2{font-size:22px!important;letter-spacing:-.02em!important}
 body #scenariosView .taxi-story-body{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)!important}
 body #scenariosView .taxi-story-scene{padding:26px!important;background:linear-gradient(155deg,#c8e7f006,transparent)!important}
 body #scenariosView .taxi-story-passage{font-size:16px!important;line-height:1.85!important}
 body #scenariosView .taxi-story-decision{padding:26px!important}
 body #scenariosView .taxi-story-prompt{font-size:19px!important;line-height:1.5!important;margin-bottom:18px!important}
 body #scenariosView .taxi-story-choice{font-size:14px!important;line-height:1.6!important;gap:12px!important;padding:14px 15px!important;border-radius:12px!important;border:1px solid #cee4ee30!important;background:#d5eaf005!important;overflow-wrap:normal!important}
 body #scenariosView .taxi-story-choice:hover{background:#d5eaf00c!important;border-color:#cee4ee60!important}
 body #scenariosView .taxi-story-choice.is-selected{background:#b9e1f015!important;border-color:#c4e7f180!important}
 body #scenariosView .taxi-story-choice.is-correct{background:#9de1c60e!important;border-color:#9de1c65c!important}
 body #scenariosView .taxi-story-choice.is-review{background:#f2cf980a!important;border-color:#f2cf9859!important}
 body #scenariosView .taxi-story-letter{font-size:11px!important;color:#a9c6d5!important;background:none!important;border:1px solid #cee4ee24!important;border-radius:6px!important}
 body #scenariosView .taxi-story-session-footer{padding:16px 26px!important;font-size:11px!important}
 body #scenariosView .taxi-story-stages{gap:12px!important;font-size:12px!important}
 body #scenariosView .taxi-story-stages .needs-review{color:#e4c895!important}
 body #scenariosView .taxi-story-feedback{border-radius:14px!important;padding:18px!important;border:1px solid #b5d8e42d!important;background:#cce8f007!important;font-size:13px!important;line-height:1.65!important}
 body #scenariosView .taxi-story-feedback h4{font-size:18px!important;letter-spacing:-.02em!important}
 body #scenariosView .taxi-story-evidence{border-left:2px solid #aad7e65e;padding:4px 0 4px 14px;margin:18px 0 6px;background:none!important}
 body #scenariosView .taxi-story-evidence blockquote{font-size:15px!important;line-height:1.65!important;font-weight:450!important;letter-spacing:-.01em!important;margin:8px 0!important;color:#e1f0f8!important}
 body #scenariosView .taxi-story-evidence p:last-child{font-size:12px!important;line-height:1.6!important;color:#b0c8d6!important;margin-bottom:0!important}
 body #scenariosView .taxi-story-reflection{padding:18px 0 8px!important;font-size:13px!important}
 body #scenariosView .taxi-story-reflection p{margin:0 0 10px!important}.taxi-story-reflection small{color:#8da9ba;font-size:10px;display:block;margin-top:5px}
 body #scenariosView .taxi-story-reflection>div{display:flex;gap:6px;flex-wrap:wrap}
 body #scenariosView .taxi-story-reflection button{font:inherit;font-size:11px!important;min-height:40px;padding:8px 12px;border-radius:100px;background:#d1e5ef07;border:1px solid #d1e5ef2b;color:#bcd1dc}
 body #scenariosView .taxi-story-reflection button[aria-pressed=true]{background:#bedee31c;border-color:#a7d9e775;color:#e4f4fb}
 body #scenariosView .taxi-story-alternatives{font-size:12px!important;line-height:1.6!important}
 body #scenariosView .taxi-story-alternatives summary{min-height:44px;display:flex;align-items:center;font-size:12px!important}
 body #scenariosView .taxi-story-results>section{background:#c5e5f007!important;border:1px solid #c5e5f023!important;border-radius:14px!important;padding:20px!important}
 body #scenariosView .taxi-story-results strong{font-size:36px!important;font-weight:400!important;letter-spacing:-.04em!important}
 body #scenariosView .taxi-story-self-notes{font-size:12px!important;color:#b6cfda!important;line-height:1.6!important}
 body #scenariosView .taxi-story-next-plan{background:#c5e5f007!important;border:1px solid #c5e5f023!important;border-radius:14px!important;padding:22px!important}
 body #scenariosView .taxi-story-next-plan h3{font-size:21px!important;letter-spacing:-.025em!important}
 body #scenariosView .taxi-story-recap summary{font-size:13px!important}
 body #scenariosView .taxi-story-recap>details{border-color:#c5e5f023!important;background:none!important}
 body .taxi-learning-complete{max-width:740px;margin-inline:auto;padding:26px!important}
 body .taxi-learning-complete h2{font-size:30px!important;font-weight:450!important;letter-spacing:-.04em!important;line-height:1.2!important}
 body .taxi-learning-complete>p{font-size:14px!important;line-height:1.65!important;color:#b5cad6!important}
 .taxi-round-insights{padding:20px;border:1px solid #c6e5f02b;border-radius:16px;background:linear-gradient(120deg,#c6e5f009,#c6e5f003);margin:22px 0}
 .taxi-round-insights>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:12px 0}
 .taxi-round-insights strong{display:block;font-weight:400;font-size:30px;letter-spacing:-.04em;color:#e4f4fb;line-height:1.4}
 .taxi-round-insights small{font-size:11px;line-height:1.5;color:#b4c9d7;display:block}
 .taxi-round-insights>p:not(.practice-kicker){font-size:12px;line-height:1.65;color:#b4c9d7;margin:12px 0 0}
 body .taxi-learning-complete>ol{list-style:none;padding:0;margin:20px 0}
 body .taxi-learning-complete>ol li{padding:14px 0;border-bottom:1px solid #c6e5f023;margin:0;font-size:13px;line-height:1.65}
 body .taxi-learning-complete>ol strong{font-weight:450}
 body .taxi-learning-complete .taxi-learning-actions .primary{border-radius:100px!important;background:#d6eef9!important;color:#152c3a!important;border:0!important;font-size:13px!important;min-height:44px!important;padding:10px 18px!important}
 body .taxi-learning-selection{border:1px solid #c6e5f026!important;border-radius:12px!important;background:#b3d9e207!important;font-size:12px!important;padding:12px 16px!important;line-height:1.6!important}
 body .taxi-learning-clue{margin:14px 0;border-left:2px solid #a5cddc66;padding:4px 0 4px 14px;font-size:14px;color:#cce7f4;line-height:1.6}
 @media(max-width:760px){
  body #scenariosView .taxi-story-hero{grid-template-columns:1fr!important;padding:22px!important}
  body #scenariosView .taxi-story-hero h2{font-size:28px!important}
  body #scenariosView .taxi-story-hero-art{display:none!important}
  body #scenariosView .taxi-story-grid{grid-template-columns:1fr!important}
  body #scenariosView .taxi-story-card{display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;gap:4px 14px!important;padding:20px!important}
  body #scenariosView .taxi-story-card>strong{font-size:19px!important}
  body #scenariosView .taxi-story-coach{grid-template-columns:1fr!important;gap:18px!important;padding:20px!important}
  body #scenariosView .taxi-story-coach aside{border-left:0!important;border-top:1px solid #d9eaf123!important;padding:16px 0 0!important;display:grid;grid-template-columns:auto 1fr;gap:4px 16px;align-items:center}
  body #scenariosView .taxi-story-coach aside>strong{grid-column:1;grid-row:2 / 4;font-size:30px}
  body #scenariosView .taxi-story-coach aside>p{grid-column:2;grid-row:2;margin:0!important}
  body #scenariosView .taxi-story-coach aside>.coach-dots{grid-column:2;grid-row:3;margin:3px 0}
  body #scenariosView .taxi-story-coach aside>small{grid-column:1 / -1;margin-top:8px}
  body #scenariosView .taxi-story-body{display:block!important}
  body #scenariosView .taxi-story-scene,body #scenariosView .taxi-story-decision{padding:22px!important}
  body #scenariosView .taxi-story-passage{font-size:16px!important;line-height:1.75!important}
  body #scenariosView .taxi-story-prompt{font-size:18px!important}
  body #scenariosView .taxi-story-choice{font-size:14px!important;padding:14px!important}
  body #scenariosView .taxi-story-brief,body #scenariosView .taxi-story-debrief{padding:22px!important}
  body #scenariosView .taxi-story-brief h2,body #scenariosView .taxi-story-debrief h2{font-size:26px!important}
  body .taxi-learning-complete{padding:18px!important}
  .taxi-round-insights{padding:16px}.taxi-round-insights>div{gap:12px}.taxi-round-insights small{font-size:10px}
 }
 @media(prefers-reduced-motion:reduce){body #scenariosView :is(.taxi-story-card,.taxi-story-choice){transition:none!important;transform:none!important}}
 @media(prefers-reduced-transparency:reduce){body #scenariosView :is(.taxi-story-hero,.taxi-story-card,.taxi-story-session,.taxi-story-brief,.taxi-story-debrief,.taxi-story-coach){background:#102536!important}}
}
@layer taxi-global {
 body #scenariosView :is([data-story-heading],[data-story-feedback],.taxi-story-session,.taxi-story-library){scroll-margin-top:146px!important}
 @media(max-width:760px){body #scenariosView :is([data-story-heading],[data-story-feedback],.taxi-story-session,.taxi-story-library){scroll-margin-top:132px!important}}
}
@layer taxi-global {
 body #scenariosView .taxi-story-response{border-top:1px solid #c6e5f026;padding:24px 26px 26px}
 body #scenariosView .taxi-story-response[hidden]{display:none!important}
 body #scenariosView .taxi-story-response .taxi-story-feedback{margin-top:0!important}
 body #scenariosView .taxi-story-response .taxi-story-feedback:has(.taxi-story-evidence){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:32px;align-items:start}
 body #scenariosView .taxi-story-response .taxi-story-feedback:has(.taxi-story-evidence)>:not(.taxi-story-evidence){grid-column:1}
 body #scenariosView .taxi-story-response .taxi-story-evidence{grid-column:2;grid-row:1 / 6;margin:0!important;align-self:center}
 body #scenariosView .taxi-story-response .taxi-story-next{margin-top:16px!important}
 body .view .design-text-link svg{transition:transform .16s ease}
 @media(hover:hover){body .view .design-text-link:hover svg{transform:translateX(3px)}}
 body #designSiteNav button[aria-current=page]{box-shadow:inset 0 0 0 1px #cde5f015}
 body .view :is(input[type=search],input[type=date],select,textarea):focus-visible{outline:2px solid #a7d4e4!important;outline-offset:3px!important}
 @media(max-width:760px){
  body #scenariosView .taxi-story-response{padding:22px}
  body #scenariosView .taxi-story-response .taxi-story-feedback:has(.taxi-story-evidence){display:block!important}
  body #scenariosView .taxi-story-response .taxi-story-evidence{margin-top:18px!important}
 }
 @media(prefers-reduced-motion:reduce){body .view .design-text-link svg{transition:none!important;transform:none!important}}
}
@layer taxi-global {
 /* A finished round needs a readable focus surface over the page beneath it. */
 body dialog.taxi-learning-dialog:has(.taxi-learning-complete){background:#0a1b29fa!important;border:1px solid #c7e3ee32!important;border-radius:20px!important;box-shadow:0 24px 90px #0005!important;backdrop-filter:none!important}
 body dialog.taxi-learning-dialog::backdrop{background:#020b16b3!important;backdrop-filter:none!important}
 body .taxi-learning-complete>.taxi-learning-actions{position:sticky;bottom:0;background:#0a1b29fa;border-top:1px solid #c7e3ee24;padding:12px 0;margin-bottom:0;gap:8px}
 body .taxi-learning-scenario-signals{padding:18px!important;border:1px solid #c7e3ee24!important;border-radius:14px!important;background:#d6ecf005!important}
 body .taxi-learning-scenario-signals h3{font-size:16px!important;font-weight:450!important;letter-spacing:-.02em!important;margin:0 0 14px!important}
 body .taxi-learning-scenario-signals dl{display:grid;grid-template-columns:1fr 1.2fr;gap:10px 18px;margin:0}
 body .taxi-learning-scenario-signals dt{font-size:12px!important;color:#afc8d7!important;line-height:1.6!important}
 body .taxi-learning-scenario-signals dd{font-size:12px!important;color:#d7e9f3!important;line-height:1.6!important;margin:0!important}
 body .taxi-learning-scenario-signals p{font-size:12px!important;line-height:1.65!important;color:#9dbbce!important;margin:16px 0 0!important}
 body .taxi-learning-clue blockquote{margin:6px 0;font-size:14px;line-height:1.65}
 @media(max-width:600px){body .taxi-learning-scenario-signals dl{grid-template-columns:1fr;gap:3px}body .taxi-learning-scenario-signals dd{margin-bottom:10px!important}}
}
/* The activity layer defines SkillPilot's shell; completed rounds use a solid
   reading surface while question frames keep their established layout. */
@layer taxi-quiz-component {
 body dialog.taxi-learning-dialog.taxi-skillpilot-dialog:has(.taxi-learning-complete){background:#0a1b29fa!important;border:1px solid #c7e3ee32!important;border-radius:20px!important;box-shadow:0 24px 90px #0005!important;backdrop-filter:none!important}
}
@layer taxi-global {
 body .taxi-learning-complete>.taxi-round-close{float:right;position:sticky;top:12px;z-index:2;display:grid;place-items:center;width:36px;height:36px;min-width:36px;min-height:36px;margin:0 0 8px 12px;padding:0!important;border:1px solid #c7e3ee32;border-radius:100px;background:#102333;color:#cce5f2;cursor:pointer}
}

@layer taxi-global {
 body #scenariosView .taxi-story-session{overflow:clip!important}
 body #scenariosView :is(.taxi-story-scene,.taxi-story-decision){padding:20px 24px!important}
 body #scenariosView .taxi-story-stages{display:flex!important;flex-wrap:wrap!important;gap:8px 18px!important;margin-top:16px!important;font-size:12px!important}
 body #scenariosView .taxi-story-response{padding:14px 24px!important}
 body #scenariosView .taxi-story-response .taxi-story-feedback{padding:14px 18px!important}
 body #scenariosView .taxi-story-feedback h4{font-size:18px!important;margin:3px 0 8px!important}
 body #scenariosView .taxi-story-feedback p{font-size:14px!important;line-height:1.5!important;margin-bottom:6px!important}
 body #scenariosView .taxi-story-alternatives{margin:4px 0!important}
 body #scenariosView .taxi-story-session-footer:has([data-story-next]){position:sticky!important;bottom:0!important;z-index:8;flex-wrap:wrap;padding:10px 24px calc(10px + env(safe-area-inset-bottom,0px))!important;background:#091e2ff5!important;box-shadow:0 -8px 22px #0002}
 body #scenariosView .taxi-story-session-footer .taxi-story-next{margin:0!important;min-height:44px!important;padding:10px 18px!important}
 body #scenariosView .taxi-story-session-footer:has([data-story-next])>span{display:none}
 @media(max-width:760px){body #scenariosView .taxi-story-stages{display:none!important}body #scenariosView :is(.taxi-story-scene,.taxi-story-decision){padding:16px!important}body #scenariosView .taxi-story-response{padding:12px 16px!important}body #scenariosView .taxi-story-session-footer:has([data-story-next]){padding-inline:16px!important}}
}
@layer taxi-quiz-component {
 body:has(#scenariosView:not([hidden]) .taxi-story-session) .taxi-mobile-nav{visibility:hidden!important;pointer-events:none!important}
}
