/* One learning stage, one navigation rail, optional material in the header menu. */
.guided-page{background:#f5f4ee;color:#203c36;--ink:#203c36;--deep:#183e36;--paper:#fff;--line:#dce2db;--muted:#5e6c66;font-size:16px;min-height:100svh;display:flex;flex-direction:column}
.guided-header{height:64px;flex:0 0 64px;padding:0 32px;background:#183e36;color:#fff;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;position:relative;z-index:40}
.guided-brand{display:inline-flex;width:fit-content}.guided-brand img{width:139px;height:auto;display:block}.player-topic{margin:0;display:flex;align-items:center;gap:14px;font-size:13px;font-weight:500;color:#f0f3ee}.player-topic>span{font-size:11px;font-weight:400;color:#bdcdc3;border-right:1px solid #ffffff36;padding-right:14px}.player-header-actions{justify-self:end;display:flex;align-items:center;gap:12px}.player-exit{display:grid;place-items:center;width:44px;height:44px;border-radius:7px;text-decoration:none;font-size:28px;font-weight:300;color:#e8eee9}.player-exit:hover{background:#ffffff12;color:white}
.guided-shell{flex:1;display:flex;flex-direction:column;min-height:calc(100svh - 64px);padding-bottom:90px}.guided-main{width:min(840px,calc(100% - 48px));margin:auto;padding:28px 0;min-width:0}.guided-stage{min-width:0}.guided-main h1{font-size:clamp(25px,3vw,32px);letter-spacing:-.03em;line-height:1.25;font-weight:600;text-align:center;margin:0 0 24px}.guided-main h1:focus{outline:none}.guided-visual{min-width:0}
.guided-controls{position:fixed;z-index:20;bottom:0;left:0;right:0;border-top:1px solid #dee4dc;background:#fffefa;padding:18px 32px calc(18px + env(safe-area-inset-bottom))}.guided-controls-inner{max-width:1000px;min-height:46px;margin:auto;display:grid;grid-template-columns:1fr minmax(100px,180px) 1fr;align-items:center;gap:32px}.guided-controls form{margin:0}.guided-controls-inner>.button,.guided-controls-inner>form{justify-self:end}.guided-back-button{display:inline-flex;align-items:center;gap:10px;background:transparent;border:0;color:#415b50;text-decoration:none;font-size:14px;padding:8px 12px;min-height:44px;border-radius:7px}.guided-back-button:hover{background:#edf1e9;color:#183e36}.guided-back-button:disabled{color:#9eaaa0;opacity:1;cursor:default;background:transparent}.guided-next{min-width:160px;min-height:46px;background:#183e36;border-color:#183e36;border-radius:8px;font-size:14px;padding:12px 22px;white-space:nowrap}.guided-next:hover{background:#285447}.guided-progress{display:flex;flex-direction:column;align-items:center;gap:9px;font-size:11px;color:#68786e}.guided-progress progress{width:100%;height:3px;margin:0;accent-color:#50745c;border:0;border-radius:2px;overflow:hidden;background:#e2e8de}.guided-progress progress::-webkit-progress-bar{background:#e2e8de}.guided-progress progress::-webkit-progress-value{background:#50745c}
/* This is a non-modal disclosure: Escape, outside click or focus departure closes it. */
.guided-menu>summary{display:flex;align-items:center;justify-content:center;min-width:64px;min-height:44px;padding:8px 14px;border:1px solid #ffffff45;border-radius:7px;list-style:none;font-size:13px;font-weight:500;cursor:pointer}.guided-menu>summary::-webkit-details-marker{display:none}.guided-menu>summary:hover,.guided-menu[open]>summary{background:#ffffff14}.guided-menu-panel{position:absolute;top:72px;right:24px;width:360px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 92px);overflow:auto;overscroll-behavior:contain;background:#fff;color:#203c36;border:1px solid #dce4da;border-radius:12px;padding:22px;box-shadow:0 16px 60px #122b3540;text-align:left}.guided-menu[open] .guided-menu-panel{animation:menu-arrive .16s ease-out}.menu-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.menu-heading h2{font-size:19px;letter-spacing:-.02em;margin:0}.menu-heading button{font:inherit;font-size:12px;background:#f1f4ee;border:1px solid #dbe3d7;color:#385240;border-radius:5px;min-height:36px;padding:6px 10px}.menu-explanation h3{font-size:12px;font-weight:600;color:#5c7062;margin:0 0 8px}.menu-explanation p,.menu-section p{font-size:14px;line-height:1.7;margin:0 0 15px}.menu-section{border-top:1px solid #e2e8de;padding:4px 0}.menu-section>summary{font-size:14px;font-weight:600;min-height:44px;cursor:pointer;padding:12px 0;list-style-position:inside}.menu-section>div{padding:4px 0 12px}#course-outline{display:flex;flex-direction:column;padding:4px 0 12px;gap:3px}#course-outline a{display:flex;gap:12px;align-items:center;font-size:13px;line-height:1.5;padding:10px 8px;border-radius:6px;text-decoration:none}#course-outline a:hover{background:#f1f5ed}#course-outline a[aria-current]{background:#e8f1e4;font-weight:600}#course-outline a>span{font-size:11px;color:#657b69}#course-outline small{margin-left:auto;font-size:10px;font-weight:400;color:#52704b}.menu-links{display:flex;flex-direction:column;gap:4px;border-top:1px solid #e2e8de;padding-top:12px}.menu-links a{font-size:13px;padding:10px 0}.menu-preview{font-size:12px;line-height:1.6;color:#68796c;border-top:1px solid #e2e8de;padding-top:16px;margin:16px 0 0}
.guided-decision{max-width:700px;margin:auto;padding:24px;background:#fff;border:1px solid #dae2d7;border-radius:14px}.practice-message{background:#f5f7f2;border:1px solid #e2e8de;border-radius:8px;overflow:hidden;margin:0 0 24px}.practice-message-head{display:flex;justify-content:space-between;gap:15px;padding:11px 18px;border-bottom:1px solid #e2e8de;font-size:11px;font-weight:600;color:#687c6b}.practice-message-head small{font-size:10px;font-weight:400}.practice-message blockquote{font-size:18px;line-height:1.5;margin:18px 18px 10px;color:#263f36}.practice-message>p{font-size:12px;color:#5e6d66;margin:0;padding:0 18px 18px}.guided-decision fieldset{padding:0;border:0;margin:0;min-width:0}.guided-choice{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid #d1dcd3;border-radius:8px;padding:15px 18px;margin-bottom:10px;font-size:15px;line-height:1.5;cursor:pointer;transition:border-color .15s,background .15s}.guided-choice:last-child{margin-bottom:0}.guided-choice:hover{border-color:#557561;background:#f7faf5}.guided-choice:has(input:checked){background:#e9f1e8;border-color:#305e46;box-shadow:inset 0 0 0 1px #305e46}.guided-choice:has(input:focus-visible){outline:3px solid #ac8326;outline-offset:3px}.guided-choice input{margin:4px 0 0;width:18px;height:18px;flex:0 0 auto;accent-color:#24553f}
.step-explanation{font-size:14px;color:#51645d;line-height:1.65}.step-explanation summary{cursor:pointer;min-height:42px;list-style-position:inside;padding:9px 0}.step-explanation>div{padding:10px 0 14px;color:#314d43}.step-explanation p{margin:0}
/* Results lead with a visible outcome, then explain the learner's decision. */
.feedback-stage{padding:12px 0 24px}.feedback-card{--feedback-color:#a83d2e;--feedback-tint:#fff0ea;max-width:660px;margin:auto;padding:32px 36px 24px;background:#fff;border:1px solid #e1d7d1;border-radius:18px;text-align:center;box-shadow:0 8px 30px #243e2b06}.feedback-card.is-correct{--feedback-color:#21734a;--feedback-tint:#e5f4e9;border-color:#c9e1ce}.feedback-badge{position:relative;display:grid;place-items:center;width:88px;height:88px;margin:0 auto 18px;background:var(--feedback-tint);color:var(--feedback-color);border:1px solid currentColor;border-radius:50%}.feedback-badge svg{width:60px;height:60px}.feedback-card.is-correct .feedback-badge{animation:feedback-arrive .5s ease-out both}.feedback-card.is-correct .feedback-badge::after{content:"";position:absolute;inset:-1px;border:2px solid var(--feedback-color);border-radius:50%;opacity:0;animation:feedback-ripple .7s .12s ease-out both;pointer-events:none}.feedback-check{stroke-dasharray:1;stroke-dashoffset:0;animation:feedback-draw .4s .12s ease-out both}.guided-main .feedback-card h1{font-size:38px;line-height:1.15;letter-spacing:-.03em;color:var(--feedback-color);text-align:center;margin:0 0 8px}.feedback-outcome{display:inline-block;font-size:12px;font-weight:600;line-height:1.5;color:var(--feedback-color);background:var(--feedback-tint);border-radius:5px;padding:4px 10px;margin:0 0 22px}.feedback-summary{font-size:20px;font-weight:600;line-height:1.4;letter-spacing:-.015em;margin:0 auto 12px;max-width:31em;color:#203c36}.feedback-body{font-size:16px;line-height:1.65;color:#4d6258;margin:0 auto;max-width:54ch}.feedback-details{margin-top:24px;padding-top:10px;border-top:1px solid #e0e7df;text-align:left}.feedback-details:empty{display:none}.feedback-details .step-explanation{margin-top:0}.feedback-details .step-explanation summary{min-height:42px;padding:9px 0}
@keyframes feedback-arrive{from{transform:scale(.82)}70%{transform:scale(1.04)}to{transform:scale(1)}}
@keyframes feedback-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes feedback-ripple{from{transform:scale(1);opacity:.3}to{transform:scale(1.22);opacity:0}}
.feedback-stage{padding:0}.guided-error{padding:14px;background:#fff0e7;border:1px solid #c59278;border-radius:8px;font-size:14px}.player-sr-only{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}.save-state.is-error{position:fixed;z-index:30;bottom:104px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);padding:12px 16px;margin:0;background:#fff3e5;border:1px solid #c68d56;border-radius:7px;font-size:13px;line-height:1.5;color:#6f421a;box-shadow:0 4px 18px #30211018}.guided-page :is(a,button,summary):focus-visible{outline:3px solid #bb8a2b;outline-offset:3px}
@keyframes menu-arrive{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:640px){.guided-header{height:60px;flex-basis:60px;padding:0 18px;grid-template-columns:1fr auto;gap:12px}.guided-brand img{width:119px}.player-topic{display:none}.player-header-actions{gap:7px}.guided-menu>summary{min-width:60px;font-size:12px}.player-exit{width:36px}.guided-menu-panel{top:66px;right:12px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 80px);padding:20px}.guided-shell{min-height:calc(100svh - 60px);padding-bottom:84px}.guided-main{width:calc(100% - 32px);padding:24px 0}.guided-main h1{font-size:25px;line-height:1.25;margin-bottom:20px}.guided-controls{padding:14px 16px calc(14px + env(safe-area-inset-bottom))}.guided-controls-inner{grid-template-columns:1fr 82px 1fr;gap:12px}.guided-back-button{font-size:12px;gap:6px;padding:8px 4px}.guided-next{min-width:0;min-height:44px;font-size:13px;padding:11px 14px;gap:8px}.guided-progress{font-size:10px;gap:8px}.guided-decision{padding:16px}.practice-message-head{padding:10px 13px;font-size:10px}.practice-message blockquote{font-size:16px;margin:14px 13px 8px}.practice-message>p{padding:0 13px 15px;font-size:11px}.guided-choice{font-size:14px;padding:13px 12px;gap:10px}.feedback-card{padding:24px 20px 16px}.feedback-badge{width:76px;height:76px;margin-bottom:16px}.feedback-badge svg{width:52px;height:52px}.guided-main .feedback-card h1{font-size:34px;margin-bottom:8px}.feedback-outcome{margin-bottom:18px}.feedback-summary{font-size:18px}.feedback-body{font-size:15px}.feedback-details{margin-top:18px}.save-state.is-error{bottom:92px}}
@media(max-width:360px){.guided-controls-inner{grid-template-columns:auto 66px 1fr;gap:8px}.guided-main{width:calc(100% - 24px)}.guided-next{font-size:12px;padding:11px 10px}.guided-back-button{font-size:11px}.guided-header{padding:0 12px}.guided-main h1{font-size:23px}}
@media(prefers-reduced-motion:reduce){.guided-page *,.guided-page *::before,.guided-page *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
