.lx-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 0 16px;margin-bottom:22px;border-bottom:1px solid #dce5dc;font:500 13px/1.5 system-ui,sans-serif;color:#193b30}
.lx-jumps{display:flex;flex:1 1 320px;flex-wrap:wrap;gap:6px}.lx-jumps a,.lx-focus{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 11px;border:1px solid #d6e1d9;border-radius:7px;background:#f5f7f2;color:#193b30!important;text-decoration:none;font:inherit;cursor:pointer}.lx-jumps a:hover,.lx-focus:hover{background:#eaf0e6;border-color:#65846c}.lx-focus[aria-pressed=true]{background:#193b30;color:#fff!important}.lx-toolbar :is(a,button,summary):focus-visible{outline:3px solid #a97c24;outline-offset:3px}.lx-contents{flex-basis:100%;margin:0!important;padding:0!important;background:transparent!important;border:0!important}.lx-contents summary{width:fit-content;cursor:pointer;padding:6px 2px;font-weight:600}.lx-contents ol{columns:2;column-gap:28px;margin:8px 0!important;padding-left:23px!important}.lx-contents li{break-inside:avoid;margin:5px 0!important}.lx-contents a{color:#285b46;text-underline-offset:3px}.lp-reading [id],.reader .lesson [id]{scroll-margin-top:100px}.lesson-focus-mode .lx-focus-hidden{display:none!important}.lesson-focus-mode .reader,.lesson-focus-mode .lp-page{max-width:1120px;margin:16px auto}.lesson-focus-mode .reader-nav{position:static;max-height:none}.lesson-focus-mode .lx-toolbar{position:relative;z-index:1}@media(max-width:600px){.lx-contents ol{columns:1}.lx-jumps{flex-basis:100%}.lx-focus{min-height:44px}.lx-jumps a{min-height:44px}}@media(prefers-reduced-motion:reduce){.lp-reading,.reader .lesson{scroll-behavior:auto!important}}@media print{.lx-toolbar{display:none!important}.lesson-focus-mode .lx-focus-hidden{display:block!important}}
body.lesson-focus-mode .kp-workarea,body.customer-service-shell.lesson-focus-mode .customer-service-workarea,body.customer-service-shell.kp-collapsed.lesson-focus-mode .customer-service-workarea{margin-left:0!important;padding-top:0!important;transition:none!important}body.lesson-focus-mode .lp-reading [id],body.lesson-focus-mode .reader .lesson [id]{scroll-margin-top:20px}
.lx-toolbar button.lx-focus{background:#f5f7f2!important;color:#193b30!important;border:1px solid #d6e1d9!important;box-shadow:none!important}.lx-toolbar button.lx-focus:hover{background:#eaf0e6!important}.lx-toolbar button.lx-focus[aria-pressed="true"]{background:#193b30!important;color:#fff!important;border-color:#193b30!important}
/* This is a reading utility, not a marketing section. Explicit block spacing
   prevents the shared section margin (78px) from creating a blank first screen. */
:is(.lp-reading,.reader .lesson) section.lx-toolbar{margin:0 0 18px!important;padding:10px 0 12px!important;min-height:0;align-content:start;gap:8px}
:is(.lp-reading,.reader .lesson) .lx-toolbar .lx-jumps{margin:0;padding:0}
:is(.lp-reading,.reader .lesson) .lx-toolbar :is(.lx-jumps a,button.lx-focus){margin:0;min-height:38px;padding:7px 11px;line-height:1.4}
@media(max-width:600px){:is(.lp-reading,.reader .lesson) section.lx-toolbar{margin-bottom:16px!important;padding:8px 0 10px!important}:is(.lp-reading,.reader .lesson) .lx-toolbar :is(.lx-jumps a,button.lx-focus){min-height:44px}}

/* One focus control at the top, with a persistent and explicit way back. */
.lp-context .lp-header-focus{flex:0 0 auto;min-height:44px;padding:9px 14px;background:#f5f7f2!important;color:#193b30!important;border:1px solid #d6e1d9!important;border-radius:8px;font:600 13px/1.4 system-ui,sans-serif;cursor:pointer;box-shadow:none}
.lp-context .lp-header-focus[hidden]{display:none!important}
.lp-context .lp-header-focus:focus-visible{outline:3px solid #a97c24;outline-offset:3px}
body.lesson-focus-mode .lx-focus{position:fixed!important;top:max(12px,env(safe-area-inset-top,0px));right:max(16px,env(safe-area-inset-right,0px));z-index:500;min-height:44px;padding:10px 16px;background:#193b30!important;color:#fff!important;border:1px solid #315b46!important;border-radius:9px;box-shadow:0 3px 18px #193b3026;white-space:nowrap}
body.lesson-focus-mode :is(.lp-page,.reader){padding-top:62px!important;box-sizing:border-box}

body.lesson-focus-mode .lp-header-action{display:none!important}

/* A dedicated focus viewport keeps the exit bar clear of videos and text. */
body.lesson-focus-mode{overflow:hidden}
body.lesson-focus-mode::before{content:'';position:fixed;inset:0 0 auto;height:68px;background:#fff;border-bottom:1px solid #e1e6e0;z-index:100}
body.lesson-focus-mode :is(.lp-page,.reader){position:fixed;inset:68px 0 0;max-width:1120px;margin:0 auto!important;padding:0 16px 30px!important;overflow-y:auto;overscroll-behavior:contain;scroll-padding-top:16px;background:#fff;z-index:101}

.lx-focus-exit[hidden]{display:none!important}
body.lesson-focus-mode .lx-focus:not(.lx-focus-exit){visibility:hidden}
body.lesson-focus-mode .lx-focus-exit{display:inline-flex;align-items:center;justify-content:center;visibility:visible}

body.lesson-focus-mode :is(.lp-page,.reader){overflow-x:hidden}
/* Compact expand icon reinforces the reading-focus action. */
button.lx-focus{display:inline-flex;align-items:center;justify-content:center;gap:8px!important}
button.lx-focus:not(.lx-focus-exit):not([aria-pressed=true])::before{content:"";display:block;flex:0 0 16px;width:16px;height:16px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 3H3v5m13-5h5v5M3 16v5h5m8 0h5v-5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 3H3v5m13-5h5v5M3 16v5h5m8 0h5v-5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
/* Keep the focused lesson comfortably below the fixed exit toolbar. */
body.lesson-focus-mode :is(.lp-page,.reader){padding-top:24px!important}
@media(max-width:600px){body.lesson-focus-mode :is(.lp-page,.reader){padding-top:16px!important}}
/* A single, compact lesson map follows the actual teaching sequence. */
:is(.lp-reading,.reader .lesson) .lx-toolbar{padding:0 0 14px!important;margin:0 0 22px!important;gap:8px;border-bottom:1px solid #e1e7dd}
.lx-contents ol{columns:1!important;margin:8px 0 0!important;padding-left:24px!important}
.lx-contents li{margin:7px 0!important;line-height:1.5}
.lx-contents summary{font-size:14px;min-height:40px;display:list-item;align-content:center}
/* A readable horizontal lesson map on wide screens; a compact disclosure on phones. */
.cd-preview-watch .lp-reading{padding-top:24px!important}
.lx-contents ol{list-style:none!important;counter-reset:lesson-map;padding:0!important}
.lx-contents li{counter-increment:lesson-map}
.lx-contents li a{display:flex;align-items:center;gap:9px;min-height:42px;padding:8px 12px;border:1px solid #e0e6dc;border-radius:9px;background:#f8faf5;text-decoration:none;font-size:13px;line-height:1.4}
.lx-contents li a::before{content:counter(lesson-map);display:grid;place-items:center;flex:0 0 23px;height:23px;border-radius:50%;background:#e8eee1;color:#315b40;font-size:12px;font-weight:600}
.lx-contents li a:hover{background:#eef3e7;border-color:#9db19b}
@media(min-width:900px){
 .lx-contents[open]{display:flex;align-items:flex-start;gap:18px}
 .lx-contents summary{flex:0 0 auto;font-size:13px;min-height:42px;padding:8px 0;margin:0;box-sizing:border-box}
 .lx-contents ol{display:flex!important;flex:1;flex-wrap:wrap;gap:8px;margin:0!important}
 .lx-contents li{flex:1 1 170px;margin:0!important}
}
@media(max-width:899px){.lx-contents ol{display:grid;gap:7px}.lx-contents li{margin:0!important}}
/* Equal-size section boxes, including when a title wraps onto another line. */
.lx-contents li{min-width:0;box-sizing:border-box}
.lx-contents li a{height:100%;box-sizing:border-box;min-height:60px}
@media(min-width:900px){.lx-contents ol{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));grid-auto-rows:1fr;align-items:stretch}.lx-contents li{display:flex}.lx-contents li a{width:100%}}
@media(min-width:900px){.lx-contents>summary{cursor:default;list-style:none}.lx-contents>summary::-webkit-details-marker{display:none}.lx-contents>summary::marker{content:''}}
/* Desktop shows only one horizontal row of equal section links. */
@media(min-width:900px){
 .lx-contents[open]{display:block}
 .lx-contents>summary{display:none!important}
 .lx-contents ol{display:grid!important;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:minmax(170px,1fr);grid-template-rows:1fr;gap:8px;overflow-x:auto;padding-bottom:4px!important;max-width:100%;scrollbar-width:thin}
 .lx-contents li{margin:0!important}
}
/* Separate the preview introduction from the lesson reading frame. */
.cd-preview-watch .lp-page>.lp-hero+.lp-reading{margin-top:24px!important}
@media(max-width:600px){.cd-preview-watch .lp-page>.lp-hero+.lp-reading{margin-top:18px!important}}
/* Shared reading rhythm for every enrolled lesson and public preview. */
.reader{gap:24px!important;align-items:start}
.reader>.reader-nav,.reader>.lesson{min-width:0;box-sizing:border-box;border-radius:12px}
.reader>.lesson,.lp-page>.lp-reading{padding:24px!important;border:1px solid #dfe6dc;background:#fff;border-radius:12px;min-width:0}
:is(.reader>.lesson,.lp-page>.lp-reading)>.lx-toolbar{margin-top:0!important}
:is(.reader>.lesson,.lp-page>.lp-reading) :is(img,iframe,video){max-width:100%;box-sizing:border-box}
:is(.reader>.lesson,.lp-page>.lp-reading) :is(table,pre){max-width:100%;overflow-x:auto}
:is(.reader>.lesson,.lp-page>.lp-reading) table{min-width:0;width:100%;overflow-wrap:anywhere}
@media(max-width:600px){
  :is(.reader>.lesson,.lp-page>.lp-reading) table:has(tr > :nth-child(5)){display:block;overflow-x:auto}
}
:is(.reader>.lesson,.lp-page>.lp-reading) :is(h2,h3){scroll-margin-top:100px}
.lx-contents{min-width:0;width:100%}
@media(max-width:899px){.reader{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}.reader>.reader-nav{position:static;max-height:none}.reader>.lesson,.lp-page>.lp-reading{padding:18px!important}.lx-contents li a{min-height:52px}}
@media(max-width:360px){.reader>.lesson,.lp-page>.lp-reading{padding:16px!important}}
/* Contained section slider with the same round directional controls as course tabs. */
.lx-section-rail{display:flex;align-items:center;gap:8px;min-width:0;width:100%}
.lx-section-rail>ol{flex:1;min-width:0}
.lx-toolbar .lx-section-arrow[hidden]{display:none!important}
@media(min-width:900px){.lx-section-rail>ol{scrollbar-width:none;scroll-behavior:smooth;scroll-snap-type:x proximity}.lx-section-rail>ol::-webkit-scrollbar{display:none}.lx-section-rail li{scroll-snap-align:start}}
@media(max-width:899px){.lx-section-rail{display:block}.lx-section-arrow{display:none!important}}
@media(prefers-reduced-motion:reduce){.lx-section-rail>ol{scroll-behavior:auto}}
/* The workspace theme's enlarged link ripple can extend beyond the lesson frame. */
.kp-shell .reader .lesson :where(a:not(.lesson-workbook-card))::after{content:none}

.lesson .course-foundation-intro{margin:1.25rem 0}
.lesson .course-foundation-intro h2{margin:0 0 .5rem}
.lesson .course-foundation-intro p{margin:.5rem 0;color:#40564d}
.lesson .lesson-key-terms{margin:1rem 0 1.4rem;padding:.25rem 1rem;border:1px solid #dbe2d6;border-radius:9px;background:#f8faf5}
.lesson .lesson-key-terms summary{min-height:44px;align-content:center;cursor:pointer;color:#193b30;font-weight:600}
.lesson .lesson-key-terms dl{margin:.15rem 0 .75rem}
.lesson .lesson-key-terms dt{font-weight:700;color:#193b30}
.lesson .lesson-key-terms dd{margin:.125rem 0 .65rem;color:#40564d;overflow-wrap:anywhere}
.lesson .lesson-key-terms dd:last-child{margin-bottom:0}

.lesson .lesson-context{
  margin:0 0 22px;
  padding:16px 18px;
  border:1px solid #dbe2d6;
  border-radius:10px;
  background:#f8faf5;
  overflow-wrap:anywhere;
}
.lesson .lesson-context h2{margin:0 0 8px;font-size:1.18em;color:#193b30}
.lesson .lesson-context p{margin:0 0 10px;line-height:1.6;color:#40564d}
.lesson .lesson-context-use strong{display:block;margin-bottom:2px;color:#193b30}
.lesson .lesson-context .lesson-key-terms{margin:12px 0 0;padding:0;border:0;border-top:1px solid #dbe2d6;border-radius:0;background:transparent}
.lesson .lesson-context .lesson-key-terms>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none}
.lesson .lesson-context .lesson-key-terms>summary::-webkit-details-marker{display:none}
.lesson .lesson-context .lesson-key-terms>summary::after{content:'';width:7px;height:7px;margin-right:3px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-2px) rotate(45deg)}
.lesson .lesson-context .lesson-key-terms[open]>summary::after{transform:translateY(2px) rotate(225deg)}
.lesson .lesson-context .lesson-key-terms dl{margin:.15rem 0 0}
@media(max-width:599px){.lesson .lesson-context{padding:14px}}

/* Enrolled learner workspace: visible progress, a useful outline and safe navigation. */
.reader>.reader-nav{padding:18px!important;background:#f8faf6;border:1px solid #dfe6dc;position:sticky;top:90px;max-height:calc(100dvh - 114px);overflow:auto}
.reader .reader-nav .reader-back{padding:0 0 12px;border:0;font-size:12px;color:#315b40;text-decoration:underline;text-underline-offset:3px}
.reader .reader-nav h2{font-size:16px;line-height:1.45;margin:0 0 16px}
.reader-progress-label{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px;font-size:11px;line-height:1.5;color:#60715f;margin-bottom:7px}.reader-progress-label strong{font-size:12px;color:#315b40}
.reader-nav>progress{display:block;width:100%;height:7px;border:0;border-radius:8px;overflow:hidden;accent-color:#315b40;margin:0 0 16px}
.reader .reader-outline{border:0!important;background:transparent!important;margin:0!important;padding:0!important}
.reader .reader-outline>summary{padding:10px 0;min-height:44px;box-sizing:border-box;font-size:13px;font-weight:600;line-height:1.5;cursor:pointer;border-bottom:1px solid #dfe6da}
.reader .reader-outline-items>a{display:block;margin:0;padding:11px 10px;border:0;border-bottom:1px solid #e7ece2;font-size:12px;line-height:1.55;overflow-wrap:anywhere;text-decoration:none;color:#35513c}
.reader .reader-outline-items>a.current{background:#e8efdf;color:#193b30;border-left:3px solid #b89449;border-radius:0 7px 7px 0;font-weight:600}
.reader .reader-outline-items>a.locked{color:#7e877b;cursor:default}
.reader .reader-nav .reader-group-link{font-size:12px;padding:12px 0 0;margin-top:12px;border:0;border-top:1px solid #dfe6da}
.reader>.lesson>header.reader-lesson-heading{position:static;display:block;min-height:0;height:auto;width:auto;max-width:none;background:transparent;color:#193b30;border:0;border-bottom:1px solid #e2e8dd;border-radius:0;box-shadow:none;padding:0 0 18px;margin:0 0 16px}
.reader-position{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;color:#6b7664;font-size:12px;line-height:1.5;margin-bottom:10px}.reader-position .eyebrow{margin:0;font-size:10px}.reader-position .reader-done{background:#e8f1e2;color:#315b40;border-radius:5px;padding:3px 7px;font-size:11px}
.reader .reader-lesson-heading h1{font-size:24px;line-height:1.35;margin:0 0 12px;letter-spacing:-.02em;overflow-wrap:anywhere}
.reader .reader-lesson-heading .reader-duration{font-size:12px;color:#647160;margin:0}.reader .reader-introduction{font-size:15px;line-height:1.65;margin:12px 0 0}
.reader .lesson :is(iframe.video,.lesson-video-frame){display:block;width:100%;height:auto!important;aspect-ratio:16/9;border:0;border-radius:10px;margin:20px 0}
.lesson-clip-restart{min-height:44px;padding:7px 12px;border:1px solid #cbd9cf;border-radius:7px;background:#f5f7f2;color:#193b30;font:inherit;cursor:pointer}
.lesson-clip-restart[hidden]{display:none}
.lesson-clip-restart:hover{background:#eaf0e6}
.lesson-clip-restart:focus-visible{outline:3px solid #a97c24;outline-offset:3px}
.reader .lesson iframe.pdf{width:100%;max-width:100%;height:65dvh;min-height:320px;border:1px solid #dfe6dc;border-radius:8px}
.reader-practice{min-width:0;max-width:100%}.reader-practice:empty{display:none}
.reader :is(.reader-notes,.reader-retake,.reader-optional-feedback){margin:22px 0;padding:14px 16px;border:1px solid #dfe6dc;border-radius:10px;background:#f8faf5}
.reader :is(.reader-notes,.reader-retake,.reader-optional-feedback)>summary{font-size:14px;line-height:1.5;min-height:28px;cursor:pointer;font-weight:500}
.reader .reader-assessment{padding:0;margin:24px 0}.reader .reader-assessment>h2{font-size:21px;margin:0 0 10px}.reader .reader-assessment>p{font-size:13px;line-height:1.6;color:#63715f}
.reader .reader-assessment fieldset{min-width:0;margin:22px 0;padding:18px;border:1px solid #dfe6dc;border-radius:10px;background:#fafbf8}.reader .reader-assessment legend{font-size:15px;line-height:1.6;font-weight:600;padding:0 6px;color:#294d36;max-width:100%}.reader .reader-answer-hint{font-size:12px;color:#6d7665;margin:0 0 12px}
.reader .reader-assessment .choice{display:flex;align-items:flex-start;gap:10px;margin:8px 0;padding:12px;min-height:44px;box-sizing:border-box;border:1px solid #e0e6da;border-radius:8px;background:#fff;font-size:14px;line-height:1.6;font-weight:400;cursor:pointer}
.reader .reader-assessment .choice input{flex:0 0 18px;width:18px;height:18px;min-height:0;padding:0;margin:3px 0 0;accent-color:#315b40}
.reader .reader-completion{margin:24px 0;padding:20px;border:1px solid #e4ddc9;border-radius:10px;background:#faf7ee}.reader .reader-completion h2{font-size:20px;margin:0 0 12px}.reader .reader-completion .check{display:flex;align-items:flex-start;gap:10px;line-height:1.6;font-size:14px}.reader .reader-completion .check input{flex:0 0 18px;width:18px;height:18px;margin:3px 0 0}
.reader :is(.reader-completion button,.reader-assessment button[type=submit],.reader-notes button){display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;border:1px solid #193b30;border-radius:8px;background:#193b30;color:#fff;font:400 14px/1.4 system-ui;cursor:pointer}
.reader-step-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:24px;padding-top:20px;border-top:1px solid #e1e7dc}
.reader-step-link,.reader-step-locked{display:flex;flex-direction:column;gap:6px;min-width:0;padding:14px;border:1px solid #dce4d7;border-radius:10px;text-decoration:none;line-height:1.5;background:#fff;overflow-wrap:anywhere}
.reader-step-link>span,.reader-step-locked>span{font-size:11px;color:#6d785f}.reader-step-link>strong,.reader-step-locked>strong{font-size:13px;color:#315b40;font-weight:500}.reader-step-link:hover{background:#f0f5e8;border-color:#a8ba9e}.reader-next,.reader-step-locked{grid-column:2}.reader-step-locked{background:#f7f8f4;color:#7b8274}.reader-step-locked>small{font-size:11px;line-height:1.6}
.reader :is(button,a,summary,input):focus-visible{outline:3px solid #b89449;outline-offset:3px}
@media(max-width:899px){.reader>.reader-nav{position:static;max-height:none;overflow:visible;padding:16px!important}.reader .reader-nav h2{margin-bottom:12px}.reader .reader-lesson-heading h1{font-size:22px}.reader .reader-outline-items{max-height:55dvh;overflow-y:auto;overscroll-behavior:contain}.reader .reader-assessment fieldset{padding:12px}.reader .reader-completion{padding:16px}.reader-step-navigation{grid-template-columns:1fr;gap:10px}.reader-next,.reader-step-locked{grid-column:1}.reader :is(.reader-completion button,.reader-assessment button[type=submit],.reader-notes button){max-width:100%;white-space:normal}.reader .lesson iframe.pdf{min-height:280px}}

/* Keep reading mode in the top-right space above the lesson title. */
.reader .reader-top-actions{display:flex;justify-content:flex-end;margin:0 0 12px;min-height:0}
.reader .reader-header-focus{gap:7px;min-height:38px;font:500 13px/1.4 system-ui,sans-serif;white-space:nowrap}
.reader .reader-header-focus[hidden]{display:none!important}
body.lesson-focus-mode .reader-header-focus{display:none!important}
.reader button.reader-header-focus:not([aria-pressed=true]){display:inline-flex;align-items:center;justify-content:center;background:#f5f7f2!important;color:#193b30!important;border:1px solid #d6e1d9!important;box-shadow:none!important;padding:7px 11px;border-radius:7px}
.reader button.reader-header-focus[hidden]{display:none!important}

.reader .reader-role-outline>details{padding:0;margin:0;background:transparent;border:0;border-bottom:1px solid #dfe6da;border-radius:0}
.reader .reader-role-outline>details>summary{padding:11px 6px;min-height:44px;box-sizing:border-box;cursor:pointer;font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.reader .reader-role-outline>details[open]>summary{color:#193b30;background:#f2f6ec}
.reader .reader-role-outline .reader-outline-items>a{padding-inline-start:16px}
/* Preserve the reader header's controls on narrow phones. */
@media (max-width: 375px) {
  body:has(.reader > .lesson) .site-course-header.public-learning-header > .ph-workspace-name {display: none !important;}
}
