/* WeType 1.5.26.20 — standalone lesson learning workspace. No motor-side changes.
   Uses the semantic palette from the public shell, not hardcoded theme colors. */
body.single-lesson{
 --wt-learn-surface:var(--wt-page-surface,#fff);
 --wt-learn-soft:var(--wt-page-soft,#f2f6fc);
 --wt-learn-text:var(--wt-page-text,#1b2e47);
 --wt-learn-muted:var(--wt-page-muted,#60748d);
 --wt-learn-line:var(--wt-page-line,#e0e8f1);
 --wt-learn-accent:var(--wt-page-accent,#2767d8);
 --wt-learn-shadow:0 12px 34px rgba(22,45,77,.045);
}
html[data-wt-public-theme="dark"] body.single-lesson{--wt-learn-shadow:0 14px 34px rgba(0,0,0,.13)}
body.single-lesson .document>.container.content{width:min(1140px,calc(100% - 48px))!important;max-width:1140px!important;margin:28px auto 62px!important;padding:0!important}
body.single-lesson .document>.container.content>div:first-child{display:grid!important;grid-template-columns:minmax(0,1fr) 294px!important;gap:26px!important;align-items:start!important;direction:rtl!important;margin:0!important}
body.single-lesson .document>.container.content>div:first-child>.wt-learning-main,
body.single-lesson .document>.container.content>div:first-child>.wt-learning-rail{width:100%!important;max-width:none!important;min-width:0!important;float:none!important;flex:none!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
body.single-lesson .wt-learning-main article{padding:30px 36px 38px!important;border:1px solid var(--wt-learn-line)!important;background:var(--wt-learn-surface)!important;border-radius:22px!important;box-shadow:var(--wt-learn-shadow)!important;min-width:0!important;color:var(--wt-learn-text)!important}
body.single-lesson .wt-learning-intro{padding:0 0 24px;margin:0 0 22px;border-bottom:1px solid var(--wt-learn-line);color:var(--wt-learn-text)}
body.single-lesson .wt-learning-eyebrow{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;color:var(--wt-learn-accent);margin-bottom:14px}
body.single-lesson .wt-learning-eyebrow__line{width:19px;height:3px;border-radius:9px;background:var(--wt-learn-accent);display:block}
body.single-lesson .wt-learning-intro__heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
body.single-lesson .wt-learning-intro__kicker{margin:0 0 4px!important;color:var(--wt-learn-muted)!important;font-size:12px!important}
body.single-lesson .wt-learning-intro__title{font-size:clamp(24px,2.6vw,32px)!important;line-height:1.5!important;letter-spacing:-.25px;margin:0!important;color:var(--wt-learn-text)!important;font-weight:800!important}
body.single-lesson .wt-learning-intro__mark{display:grid;place-items:center;width:49px;height:49px;flex:0 0 49px;border-radius:15px;background:var(--wt-learn-soft);color:var(--wt-learn-accent);font-size:25px}
body.single-lesson .wt-learning-intro__subtitle{margin:12px 0 0!important;color:var(--wt-learn-muted)!important;font-size:13px!important;line-height:1.9!important}
body.single-lesson .wt-learning-main .entry-content{max-width:100%!important;color:var(--wt-learn-text)!important;font-size:14px!important;line-height:2.05!important}
body.single-lesson .wt-learning-main .entry-content> :is(p,h2,h3,h4,blockquote,ul,ol){max-width:70ch!important;margin-inline:auto!important}
body.single-lesson .wt-learning-main .entry-content> :is(h2,h3,h4){line-height:1.7!important;font-weight:750!important;margin-block:26px 13px!important}
body.single-lesson .wt-learning-main .entry-content p{line-height:2!important}
body.single-lesson .wt-learning-main .entry-content .keyboard{max-width:100%;margin:22px auto 28px!important}
body.single-lesson .wt-learning-main .entry-content :is(.wt-shell-light-notice,blockquote){border-radius:12px!important}
body.single-lesson .wt-learning-rail{display:flex!important;flex-direction:column!important;gap:18px!important;align-items:stretch!important}
body.single-lesson .wt-learning-rail>*{min-width:0}
/* A deliberate single panel for lesson progress and exercise list, not scattered widgets. */
body.single-lesson .wt-learning-practice{border:1px solid var(--wt-learn-line)!important;border-radius:20px!important;box-shadow:var(--wt-learn-shadow)!important;background:var(--wt-learn-surface)!important;padding:15px!important;box-sizing:border-box!important;margin:0!important;min-width:0!important;text-align:right!important}
html[data-wt-public-theme] body.single-lesson .wt-learning-practice .wt-learning-progress{background:var(--wt-learn-soft)!important;border:0!important;box-shadow:none!important;border-radius:13px!important;padding:16px!important;margin:0 0 18px!important}
body.single-lesson .wt-learning-progress .wt-a619-lesson-head{margin-bottom:14px!important}
body.single-lesson .wt-learning-progress .wt-a619-lesson-heading strong{font-size:15px!important;color:var(--wt-learn-text)!important}
body.single-lesson .wt-learning-progress .wt-a619-status{font-size:12px!important;color:var(--wt-learn-muted)!important}
body.single-lesson .wt-learning-progress .wt-a619-progress-info{font-size:12px!important;margin:6px 0!important}
body.single-lesson .wt-learning-progress .wt-a619-progress-info strong{font-size:14px!important;color:var(--wt-learn-accent)!important}
body.single-lesson .wt-learning-progress .wt-a619-progress{height:8px!important;margin:8px 0 15px!important}
body.single-lesson .wt-learning-progress .wt-a619-stars-row{font-size:12px!important;color:var(--wt-learn-text)!important}
body.single-lesson .wt-learning-progress .wt-a467-stars{font-size:18px!important}
body.single-lesson .wt-learning-progress .wt-a619-lesson-hint{font-size:11px!important;line-height:1.6!important;margin:8px 0 12px!important;color:var(--wt-learn-muted)!important}
html[data-wt-public-theme] body.single-lesson .wt-learning-progress .wt-a619-lesson-report{height:auto!important;min-height:38px!important;border-radius:9px!important;background:var(--wt-learn-surface)!important;border:1px solid var(--wt-learn-line)!important;font-size:12px!important;font-weight:700!important;color:var(--wt-learn-accent)!important}
body.single-lesson .wt-learning-practice__heading{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:1px 3px;margin:0 0 7px}
body.single-lesson .wt-learning-practice__eyebrow{font-size:10px;letter-spacing:.1px;color:var(--wt-learn-muted)}
body.single-lesson .wt-learning-practice__heading h2{margin:2px 0 0!important;font-size:17px!important;line-height:1.4!important;font-weight:800!important;color:var(--wt-learn-text)!important}
body.single-lesson .wt-learning-practice__count{background:var(--wt-learn-soft);color:var(--wt-learn-accent);border-radius:8px;font-size:11px;font-weight:750;padding:5px 7px;white-space:nowrap}
body.single-lesson .wt-learning-practice__note{font-size:11px!important;line-height:1.8!important;color:var(--wt-learn-muted)!important;padding:0 3px;margin:0 0 14px!important}
body.single-lesson .wt-learning-practice #exercises{display:flex!important;flex-direction:column!important;gap:10px!important;margin:0!important;padding:0!important;width:100%!important;align-items:stretch!important}
body.single-lesson .wt-learning-practice #exercises>*,body.single-lesson .wt-learning-practice #exercises .exercise-container{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;float:none!important}
html[data-wt-public-theme] body.single-lesson .wt-learning-practice .wt-learning-exercise{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:11px!important;min-height:0!important;border:1px solid var(--wt-learn-line)!important;border-radius:13px!important;padding:13px!important;margin:0!important;background:var(--wt-learn-surface)!important;box-shadow:none!important;transition:border-color .18s ease,box-shadow .18s ease!important}
html[data-wt-public-theme] body.single-lesson .wt-learning-practice .wt-learning-exercise:hover{border-color:var(--wt-learn-accent)!important;box-shadow:0 5px 15px rgba(24,54,94,.065)!important;transform:none!important}
body.single-lesson .wt-learning-exercise .wt-a617-exercise-info{width:100%!important;min-width:0!important}
body.single-lesson .wt-learning-exercise .wt-a617-exercise-details{display:flex!important;align-items:flex-start!important;flex-direction:column!important;gap:6px!important}
body.single-lesson .wt-learning-exercise .wt-a617-exercise-name{display:block!important;margin:0!important;padding:0!important;line-height:1.65!important;font-size:13px!important;font-weight:800!important;color:var(--wt-learn-text)!important;overflow-wrap:normal!important;word-break:normal!important}
body.single-lesson .wt-learning-exercise .wt-a617-exercise-status{font-size:11px!important;line-height:1.65!important;background:var(--wt-learn-soft)!important;padding:3px 8px!important;color:var(--wt-learn-muted)!important;border-radius:7px!important}
body.single-lesson .wt-learning-exercise .wt-a617-stars{font-size:18px!important;gap:2px!important}
body.single-lesson .wt-learning-exercise .wt-a617-exercise-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:4px!important;width:100%!important}
html[data-wt-public-theme] body.single-lesson .wt-learning-exercise button.button.wt-a617-start{display:flex!important;justify-content:center!important;align-items:center!important;min-height:40px!important;max-height:none!important;width:100%!important;border:0!important;border-radius:9px!important;font-size:13px!important;font-weight:800!important;background:var(--wt-learn-accent)!important;color:#fff!important;box-shadow:none!important;margin:0!important}
html[data-wt-public-theme] body.single-lesson .wt-learning-exercise button.wt-a467-insight-link{display:flex!important;justify-content:center!important;align-items:center!important;width:100%!important;min-height:32px!important;margin:0!important;font-size:11px!important;font-weight:700!important;color:var(--wt-learn-accent)!important;background:transparent!important;border:0!important;border-radius:7px!important;box-shadow:none!important;padding:4px!important}
html[data-wt-public-theme] body.single-lesson .wt-learning-exercise button.wt-a467-insight-link:hover{background:var(--wt-learn-soft)!important}
body.single-lesson .wt-learning-practice .wt-a617-guest-notice{margin:0 0 14px!important;padding:12px!important;border-radius:10px!important;font-size:11px!important}
/* The route is a two-item navigation panel, not the old heavy buttons. */
body.single-lesson .wt-learning-route{margin:0!important;padding:16px!important;border:1px solid var(--wt-learn-line);border-radius:19px;background:var(--wt-learn-surface);box-shadow:var(--wt-learn-shadow);color:var(--wt-learn-text)}
body.single-lesson .wt-learning-route__heading{margin:0 0 12px;padding:0 2px}
body.single-lesson .wt-learning-route__heading>span{font-size:10px;color:var(--wt-learn-muted)}
body.single-lesson .wt-learning-route__heading h2{font-size:15px!important;line-height:1.5!important;margin:3px 0 0!important;color:var(--wt-learn-text)!important}
body.single-lesson .wt-learning-route__links{display:grid;gap:9px}
body.single-lesson .wt-learning-route__item{display:flex;align-items:center;gap:11px;text-align:right;text-decoration:none!important;border:1px solid var(--wt-learn-line);border-radius:11px;padding:11px!important;background:var(--wt-learn-surface);color:var(--wt-learn-text)!important;transition:border-color .18s ease,background .18s ease}
body.single-lesson .wt-learning-route__item:hover{background:var(--wt-learn-soft);border-color:var(--wt-learn-accent)}
body.single-lesson .wt-learning-route__item:focus-visible{outline:3px solid var(--wt-learn-accent);outline-offset:2px}
body.single-lesson .wt-learning-route__icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:9px;color:var(--wt-learn-accent);background:var(--wt-learn-soft);font-size:19px}
body.single-lesson .wt-learning-route__copy{display:flex;flex-direction:column;gap:1px;min-width:0}
body.single-lesson .wt-learning-route__copy small{font-size:10px;color:var(--wt-learn-muted)}
body.single-lesson .wt-learning-route__copy strong{font-size:12px;font-weight:750;line-height:1.6;color:var(--wt-learn-text)}
body.single-lesson .wt-learning-route__empty{font-size:12px;color:var(--wt-learn-muted);line-height:1.8}
body.single-lesson :is(.wt-learning-exercise,.wt-learning-practice,.wt-learning-progress,.wt-learning-route) :focus-visible{outline:2px solid var(--wt-learn-accent)!important;outline-offset:2px}
@media(min-width:1250px){body.single-lesson .document>.container.content{max-width:1120px!important}}
@media(max-width:1000px){
 body.single-lesson .document>.container.content{width:calc(100% - 40px)!important;margin-top:18px!important}
 body.single-lesson .document>.container.content>div:first-child{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
 body.single-lesson .wt-learning-main article{padding:26px!important}
 body.single-lesson .wt-learning-rail{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
 body.single-lesson .wt-learning-route{align-self:start}
}
@media(max-width:640px){
 body.single-lesson .document>.container.content{width:calc(100% - 28px)!important;margin-top:14px!important}
 body.single-lesson .wt-learning-main article{padding:18px 16px 24px!important;border-radius:16px!important}
 body.single-lesson .wt-learning-intro{padding-bottom:18px;margin-bottom:16px}
 body.single-lesson .wt-learning-intro__mark{display:none}
 body.single-lesson .wt-learning-intro__title{font-size:23px!important}
 body.single-lesson .wt-learning-rail{display:flex!important;flex-direction:column!important;gap:13px!important}
 body.single-lesson .wt-learning-practice,body.single-lesson .wt-learning-route{border-radius:15px!important}
}
@media(prefers-reduced-motion:reduce){body.single-lesson :is(.wt-learning-route__item,.wt-learning-exercise){transition:none!important}}
/* Legacy lesson-navigation had intrinsic shrink sizing on narrow displays. */
body.single-lesson .wt-learning-rail>.wt-learning-route{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;flex:none!important;align-self:stretch!important;box-sizing:border-box!important}
