/* Shared practice space, across native and embedded Learning Leap quizzes. */
.ll-study-chrome,.ll-study-resume{--study-ink:#213e32;--study-green:#285540;--study-line:#dfe6de;--study-muted:#637469;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;color:var(--study-ink);box-sizing:border-box}
.ll-study-chrome *, .ll-study-resume{box-sizing:border-box}
.ll-study-chrome[hidden],.ll-study-chrome [hidden],.ll-study-resume[hidden]{display:none!important}
html.ll-study-open,html.ll-study-open body{overflow:hidden!important;overscroll-behavior:none}
.ll-study-ancestor{transform:none!important;filter:none!important;perspective:none!important;contain:none!important;overflow:visible!important}
.ll-study-root,.ll-study-root *{box-sizing:border-box!important}
.ll-study-root{position:fixed!important;inset:68px 0 0!important;z-index:100010!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;min-height:0!important;margin:0!important;padding:28px max(24px,calc((100vw - 1180px)/2)) 44px!important;border:0!important;border-radius:0!important;overflow:auto!important;background:#f5f7f3!important;box-shadow:none!important;overscroll-behavior:contain;scroll-behavior:auto!important;scrollbar-gutter:stable;isolation:isolate}
.ll-study-root.ll-study-question-on{bottom:88px!important}
.ll-study-root[data-study-kind=resource]{padding:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
.ll-study-root[data-study-kind=resource]>.llhr-toolbar{display:none!important}
.ll-study-root[data-study-kind=resource]>iframe{width:100%!important;flex:1!important;height:100%!important;min-height:0!important;max-height:none!important;border:0!important;display:block!important}
.ll-study-header{position:fixed;inset:0 0 auto;z-index:100011;height:68px;display:flex;align-items:center;gap:24px;padding:10px 28px;border-bottom:1px solid #dfe6de;background:rgba(255,255,252,.98)}
.ll-study-brand{display:flex;gap:9px;align-items:center;min-width:160px;color:#214633!important;text-decoration:none!important;font-size:15px;font-weight:750;line-height:1.15}
.ll-study-brand small{display:block;color:#758276;font-size:10px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;margin-top:4px}
.ll-study-mark{display:block;position:relative;width:32px;height:34px;font-size:29px;letter-spacing:-.1em;font-weight:800}.ll-study-mark span{color:#bf9028;font-size:22px;position:absolute;right:0;top:-7px}
.ll-study-title{font-size:14px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}
.ll-study-tools{display:flex;align-items:center;gap:6px;flex-shrink:0}
.ll-study-chrome button{appearance:none!important;display:inline-flex;align-items:center;justify-content:center;min-height:42px;line-height:1.2!important;padding:10px 14px!important;margin:0!important;background:transparent!important;color:#31533f!important;border:1px solid transparent!important;border-radius:11px!important;font-family:inherit!important;font-size:13px!important;font-weight:650!important;letter-spacing:normal!important;text-transform:none!important;box-shadow:none!important;cursor:pointer;white-space:nowrap}
.ll-study-chrome button:hover:not(:disabled){background:#edf2e8!important}.ll-study-chrome button:disabled{opacity:.43;cursor:default}
.ll-study-chrome .ll-study-exit{border-color:#dce3d8!important;margin-left:8px!important}
.ll-study-footer{position:fixed;inset:auto 0 0;z-index:100012;min-height:88px;padding:16px max(24px,calc((100vw - 1180px)/2)) max(16px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:20px;background:rgba(255,255,252,.98);border-top:1px solid #dde5d9;box-shadow:0 -8px 28px #23403106}
.ll-study-forward{display:flex;align-items:center;gap:8px}
.ll-study-chrome .ll-study-primary{background:#285540!important;color:#fff!important;min-width:150px;padding:14px 24px!important;font-size:15px!important;box-shadow:0 3px 8px #23403112!important}
.ll-study-chrome .ll-study-primary:hover:not(:disabled){background:#1b4430!important}
.ll-study-chrome .ll-study-check{border-color:#aebfa5!important;background:#eef3e7!important}
.ll-study-chrome .ll-study-back{border-color:#dce3d8!important;min-width:86px}
.ll-study-status{flex:1;line-height:1.25;text-align:center;font-size:13px}.ll-study-status strong{font-weight:600;display:block;color:#506657}
.ll-study-chrome .ll-study-feedback-link{display:inline-block;font-size:12px!important;min-height:24px!important;padding:4px 8px!important;color:#285540!important;text-decoration:underline;text-underline-offset:3px}
.ll-study-progress{position:absolute;left:0;right:0;top:-2px;height:3px;background:#e8ede4}.ll-study-progress i{display:block;height:100%;background:#b49a43;border-radius:0 4px 4px 0;transition:width .18s ease}
.ll-study-resume{position:fixed!important;bottom:22px!important;right:24px!important;z-index:99990!important;padding:13px 20px!important;background:#285540!important;color:#fff!important;border:1px solid #285540!important;border-radius:30px!important;box-shadow:0 4px 24px #203c2e24!important;font-size:14px!important;cursor:pointer}
.ll-study-chrome :focus-visible,.ll-study-resume:focus-visible{outline:3px solid #bd9134!important;outline-offset:3px!important}
/* Original controls remain wired to each quiz engine. The persistent controls activate them. */
.ll-study-document .ll-study-original{display:none!important}
.ll-study-document .llfoc-btn,.ll-study-document .llfoc-exit,.ll-study-document .llfoc-sky,.ll-study-root [data-action=focus]{display:none!important}
.ll-study-document #llsp,.ll-study-document #llc,.ll-study-document #llcalc{z-index:100030!important}.ll-study-document #llsp-tab,.ll-study-document #llc-tab,.ll-study-document #llc-fab{display:none!important}
.ll-study-root .llqx{width:100%!important;max-width:1000px!important;margin:0 auto!important;padding:30px!important;background:#fffefb!important;border:1px solid #e0e6da!important;border-radius:22px!important;box-shadow:0 12px 40px #233f2a05!important;color:#243e31!important}
.ll-study-root .llqx-head{margin-bottom:16px!important;padding:0!important;background:none!important}.ll-study-root .llqx-meta{font-size:13px!important}.ll-study-root .llqx-meta b{font-size:14px!important}.ll-study-root .llqx-count{font-size:12px!important;color:#637566!important}
.ll-study-root .llqx-track{height:4px!important;background:#e7eddf!important;margin-bottom:22px!important}.ll-study-root .llqx-fill{background:#9bad82!important}
.ll-study-root .llqx-stem{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:clamp(21px,2.2vw,28px)!important;line-height:1.48!important;font-weight:600!important;margin-bottom:24px!important;color:#243e31!important}
.ll-study-root .llqx-opts{gap:12px!important}.ll-study-root .llqx-opt{border:1px solid #d9e1d2!important;border-radius:13px!important;background:#fff!important;min-height:62px!important;padding:16px 18px!important;font-size:17px!important;line-height:1.45!important;box-shadow:none!important;color:#253f31!important;transition:background .12s,border-color .12s}
.ll-study-root .llqx-opt:hover:not(:disabled){background:#f0f5e9!important;border-color:#8da378!important;transform:none!important}
.ll-study-root .llqx-opt.ok{background:#eaf3e2!important;border-color:#638757!important}.ll-study-root .llqx-opt.bad{background:#fcf0e9!important;border-color:#bf8570!important}.ll-study-root .llqx-opt.dim{opacity:.72!important}
.ll-study-root .llqx-let{background:#f1f5ed!important;color:#48623a!important;border-color:#d0ddc4!important}
.ll-study-root .llqx-why{margin:20px 0 0!important;padding:19px 22px!important;background:#eef4e7!important;border:1px solid #d6e3cd!important;border-radius:13px!important;color:#2e4835!important;font-size:16px!important;line-height:1.7!important}
.ll-study-root .llqx-foot{margin-top:18px!important}.ll-study-root .llqx-kbd{font-size:11px!important;color:#788373!important}
/* Native reading and test platforms. */
.ll-study-root.lli-app,.ll-study-root.llc-quiz{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;color:#243e31!important}
.ll-study-root .lli-card,.ll-study-root .llc-question,.ll-study-root .llc-reading{background:#fffefb!important;border:1px solid #dde5d5!important;border-radius:18px!important;box-shadow:0 8px 30px #23402b04!important;padding:26px!important}
.ll-study-root .lli-question-heading,.ll-study-root #llc-question-title{font-size:23px!important;line-height:1.5!important;color:#243e31!important}
.ll-study-root .lli-option,.ll-study-root .llc-option{border-radius:12px!important;min-height:58px!important;background:#fff!important;box-shadow:none!important;font-size:16px!important}
.ll-study-root .lli-question-grid,.ll-study-root .llc-workspace{gap:24px!important;align-items:start!important}
.ll-study-root .lli-passage,.ll-study-root .llc-passage{max-height:calc(100dvh - 260px)!important;overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable}
.ll-study-root .lli-toolbar,.ll-study-root .llc-toolbar{background:transparent!important;box-shadow:none!important;border-bottom:1px solid #e0e6da!important}
.ll-study-root .lli-notice,.ll-study-root .llc-practice-notice{font-size:12px!important;color:#687664!important;background:transparent!important;border:0!important}
/* Embedded resources fill the practice viewport, so there is only one page to scroll. */
.ll-study-embedded.ll-study-document{scroll-behavior:auto!important;scroll-padding:20px!important;overflow-anchor:none!important;background:#f5f7f3!important}
.ll-study-embedded.ll-study-document body{margin:0!important;background:#f5f7f3!important;color:#263f31!important;padding-bottom:36px!important;overflow-anchor:none!important;min-height:100dvh;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
.ll-study-embedded.ll-study-document main{max-width:1180px!important;margin-left:auto!important;margin-right:auto!important}
.ll-study-embedded.ll-study-document .ll-brand,.ll-study-embedded.ll-study-document .ll-brandbar,.ll-study-embedded.ll-study-document .ll-resource-footer,.ll-study-embedded.ll-study-document body>.brand{display:none!important}
.ll-study-embedded.ll-study-document .card,.ll-study-embedded.ll-study-document .question,.ll-study-embedded.ll-study-document .passage,.ll-study-embedded.ll-study-document .essay,.ll-study-embedded.ll-study-document #question-card{border-radius:18px!important;border-color:#dce4d3!important;box-shadow:0 8px 30px #243b2804!important;background:#fffefb!important}
.ll-study-embedded.ll-study-document .option,.ll-study-embedded.ll-study-document .choice{border-radius:12px!important;box-shadow:none!important;min-height:52px}
.ll-study-embedded.ll-study-document .question-layout{gap:24px!important;align-items:start!important}
.ll-study-embedded.ll-study-document .question h2{font-size:23px!important;line-height:1.5!important}
.ll-study-embedded.ll-study-document .passage{max-height:calc(100dvh - 44px)!important;position:sticky!important;top:22px!important;overscroll-behavior:contain;scrollbar-gutter:stable}
.ll-study-embedded.ll-study-document #footer,.ll-study-embedded.ll-study-document .bottomnav,.ll-study-embedded.ll-study-document footer:has(.nav-inner){position:static!important;box-shadow:none!important}
.ll-study-embedded.ll-study-document .ll-study-sheet-hidden{display:none!important}
.ll-study-embedded.ll-study-document #quizForm{margin:0 auto!important;max-width:1100px}
.ll-study-embedded.ll-study-document .questionnav:has(.ll-study-original){margin-top:0!important}
.ll-study-document *{scroll-behavior:auto!important}
@media(min-width:1000px){.ll-study-root .llqx-stem .llq-pass{max-height:48dvh;overflow:auto;padding:22px!important;font-size:18px!important;line-height:1.8!important;border:1px solid #dce4d3!important;border-radius:14px!important;background:#f8faf4!important}}
@media(max-width:760px){
 .ll-study-header{height:60px;padding:8px 14px;gap:10px}.ll-study-title{display:none}.ll-study-brand{min-width:0;flex:1;font-size:13px}.ll-study-brand small{font-size:8px}.ll-study-mark{width:27px;font-size:26px}.ll-study-tools{gap:2px}.ll-study-chrome button{font-size:11px!important;padding:8px 9px!important;min-height:39px}.ll-study-chrome .ll-study-exit{margin-left:3px!important}.ll-study-tools button[aria-pressed=true]{background:#e6eedc!important}
 .ll-study-root{top:60px!important;padding:18px 14px 32px!important}.ll-study-root.ll-study-question-on{bottom:82px!important}.ll-study-root .llqx{padding:22px 18px!important;border-radius:18px!important}.ll-study-root .llqx-stem{font-size:22px!important}.ll-study-root .llqx-opts{grid-template-columns:1fr!important;gap:10px!important}.ll-study-root .llqx-opt{min-height:58px!important;padding:13px 14px!important;font-size:16px!important}
 .ll-study-footer{min-height:82px;padding:12px 14px max(12px,env(safe-area-inset-bottom));gap:10px}.ll-study-chrome .ll-study-primary{min-width:102px;padding:12px 14px!important;font-size:13px!important}.ll-study-chrome .ll-study-back{min-width:54px;font-size:12px!important}.ll-study-forward{gap:5px}.ll-study-status{font-size:11px}.ll-study-chrome .ll-study-feedback-link{font-size:10px!important;white-space:normal}.ll-study-progress{height:3px}
 .ll-study-root .lli-question-grid,.ll-study-root .llc-workspace{grid-template-columns:1fr!important}.ll-study-root .lli-card,.ll-study-root .llc-question,.ll-study-root .llc-reading{padding:20px!important}.ll-study-root .lli-passage,.ll-study-root .llc-passage{max-height:32dvh!important}
 .ll-study-embedded.ll-study-document .passage{position:static!important;max-height:32dvh!important}.ll-study-embedded.ll-study-document .question-layout{grid-template-columns:1fr!important}.ll-study-embedded.ll-study-document main{padding-left:14px!important;padding-right:14px!important}.ll-study-embedded.ll-study-document .question h2{font-size:21px!important}
}
@media(max-width:420px){.ll-study-brand small{display:none}.ll-study-brand{font-size:12px;gap:5px}.ll-study-tools button{padding:7px!important;font-size:10px!important}.ll-study-chrome .ll-study-check{max-width:86px;white-space:normal}.ll-study-forward{gap:4px}.ll-study-chrome .ll-study-primary{min-width:94px;max-width:150px;white-space:normal}.ll-study-status{min-width:60px}.ll-study-header{gap:5px}}
@media(prefers-reduced-motion:reduce){.ll-study-progress i,.ll-study-root .llqx-opt{transition:none!important}}
@media print{.ll-study-chrome,.ll-study-resume{display:none!important}.ll-study-root{position:static!important;overflow:visible!important;height:auto!important;padding:0!important}.ll-study-document .ll-study-sheet-hidden{display:block!important}}
.ll-study-timer{font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums;background:#f0f4e9;border:1px solid #dce5d2;padding:6px 10px;border-radius:8px}
.ll-study-root .llqx.ll-study-split{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-areas:"head head" "track track" "kick kick" "reading prompt" "reading opts" "reading foot" "reading why";column-gap:28px;align-items:start;max-width:1180px!important}
.ll-study-split>.llqx-head{grid-area:head}.ll-study-split>.llqx-track{grid-area:track}.ll-study-split>.llqx-kick2{grid-area:kick}.ll-study-root .ll-study-reading-stem{display:contents!important}
.ll-study-split .ll-study-reading-pane{grid-area:reading;display:block!important;max-height:calc(100dvh - 270px)!important;overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable;margin:0!important;padding:23px!important;font:400 18px/1.85 Georgia,serif!important;position:sticky;top:18px;border:1px solid #dce4d3!important;border-radius:14px!important;background:#f8faf4!important}
.ll-study-split .ll-study-prompt{grid-area:prompt;margin-bottom:20px;font-size:22px!important;line-height:1.5!important;min-width:0}.ll-study-split>.llqx-opts{grid-area:opts;grid-template-columns:1fr!important}.ll-study-split>.llqx-foot{grid-area:foot}.ll-study-split>.llqx-why{grid-area:why}.ll-study-split>.llqx-next{grid-column:2}
@media(max-width:900px){.ll-study-root .llqx.ll-study-split{display:block!important}.ll-study-split .ll-study-reading-pane{position:static;max-height:30dvh!important;margin-bottom:22px!important;padding:18px!important}.ll-study-split .ll-study-prompt{font-size:21px!important}}
@media(max-width:760px){.ll-study-timer{font-size:11px;padding:4px 7px}.ll-study-header:has(.ll-study-timer:not([hidden])) .ll-study-brand>span:last-child{display:none}}
.ll-study-chrome .ll-study-passage-toggle{display:none}
@media(max-width:900px){
 .ll-study-chrome .ll-study-passage-toggle{display:inline-flex}
 .ll-study-document.ll-study-has-question:not(.ll-study-show-passage) .ll-study-root .lli-passage,
 .ll-study-document.ll-study-has-question:not(.ll-study-show-passage) .ll-study-root .llc-reading,
 .ll-study-document.ll-study-has-question:not(.ll-study-show-passage) .ll-study-reading-pane,
 .ll-study-embedded.ll-study-document.ll-study-has-question:not(.ll-study-show-passage) .passage,
 .ll-study-embedded.ll-study-document.ll-study-has-question:not(.ll-study-show-passage) #passages{display:none!important}
 .ll-study-header:has(.ll-study-passage-toggle:not([hidden])) .ll-study-brand>span:last-child{display:none}
}
.ll-study-root.llq .llqx::before,.ll-study-root.llq .llqx::after,.ll-study-root.llq .llqx-track::after,.ll-study-root.llq .llqx-fill::after{display:none!important}
.ll-study-root.llq .llqx{box-shadow:0 8px 30px #23402b05!important}
.ll-study-root .llqx-stem:focus,.ll-study-document [tabindex="-1"]:focus{outline:none!important}
.ll-study-direct-frame.ll-study-root{height:calc(100dvh - 68px)!important}
.ll-study-direct-frame.ll-study-root.ll-study-question-on{height:calc(100dvh - 156px)!important}
@media(max-width:760px){.ll-study-direct-frame.ll-study-root{height:calc(100dvh - 60px)!important}.ll-study-direct-frame.ll-study-root.ll-study-question-on{height:calc(100dvh - 142px)!important}}
.ll-study-embedded.ll-study-document .passage,.ll-study-split .ll-study-reading-pane{top:12px!important}
.ll-study-sheet-nav{display:none!important}
.ll-study-embedded.ll-study-document .reading{max-height:calc(100dvh - 30px)!important;overflow:auto!important;position:sticky!important;top:12px!important;overscroll-behavior:contain;scrollbar-gutter:stable}
@media(max-width:900px){.ll-study-embedded.ll-study-document .workgrid{grid-template-columns:1fr!important}.ll-study-embedded.ll-study-document .reading{max-height:40dvh!important;position:static!important}.ll-study-embedded.ll-study-document.ll-study-has-question:not(.ll-study-show-passage) .reading{display:none!important}}

.ll-study-root#llmt{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}.ll-study-root#llmt .mt-tabs,.ll-study-root#llmt #mt-drill,.ll-study-root#llmt #mtwp{max-width:820px;margin:0 auto 22px}.ll-study-root#llmt #mt-drill,.ll-study-root#llmt #mtwp{padding:28px;background:#fffefb;border:1px solid #dce4d3;border-radius:20px}.ll-study-root#llmt .mt-big{font-size:clamp(34px,5vw,52px);line-height:1.4}.ll-study-root#llmt .mt-story{font-size:21px;line-height:1.6;background:#f8faf4}.ll-study-root#llmt .mt-tab{font-size:14px}.ll-study-root#llmt input{min-height:54px}

/* Theme and older quiz skins use ID selectors with !important. Keep the
   viewport opaque and padded even when those skins load after this sheet. */
@media screen {
 html.ll-study-open :is(body,#page) .ll-study-root{background:#f5f7f3!important;padding:28px max(24px,calc((100vw - 1180px)/2)) 44px!important}
 html.ll-study-open :is(body,#page) .ll-study-root[data-study-kind=resource]{padding:0!important}
 html.ll-study-open #masthead,html.ll-study-open #wpadminbar,html.ll-study-open #colophon,html.ll-study-open #ast-scroll-top{visibility:hidden!important;pointer-events:none!important}
 .ll-study-document #llcalc{bottom:100px!important}
}
@media screen and (max-width:760px){
 html.ll-study-open :is(body,#page) .ll-study-root{padding:18px 14px 32px!important}
 html.ll-study-open :is(body,#page) .ll-study-root[data-study-kind=resource]{padding:0!important}
 .ll-study-document #llcalc{bottom:94px!important}
}
/* The question keeps its position while feedback has its own readable space. */
html.ll-study-open{--ll-study-header-height:68px;--ll-study-footer-height:88px;--ll-study-feedback-height:0px}
html.ll-study-open :is(body,#page) .ll-study-root{top:var(--ll-study-header-height)!important}
html.ll-study-open :is(body,#page) .ll-study-root.ll-study-question-on{bottom:calc(var(--ll-study-footer-height) + var(--ll-study-feedback-height))!important}
html.ll-study-open :is(body,#page) .ll-study-direct-frame.ll-study-root{height:calc(100dvh - var(--ll-study-header-height) - var(--ll-study-footer-height) - var(--ll-study-feedback-height))!important}
.ll-study-tool-options{display:flex;align-items:center;gap:6px}.ll-study-chrome .ll-study-tools-toggle{display:none}
.ll-study-feedback{position:fixed;inset:auto 0 var(--ll-study-footer-height,88px);z-index:100013;padding:10px max(24px,calc((100vw - 1180px)/2)) 16px;background:#fcfdf8;border-top:1px solid #cadbc0;box-shadow:0 -8px 30px #203c2e0b;color:#243e31}
.ll-study-feedback[data-outcome=review]{background:#fffdf7;border-color:#e2d2a6}
.ll-study-feedback-inner{max-width:1180px;margin:auto}.ll-study-feedback-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.ll-study-feedback-head strong{font-size:16px}.ll-study-chrome .ll-study-feedback-close{font-size:12px!important;text-decoration:underline;text-underline-offset:3px;min-height:44px}
.ll-study-feedback-body{max-height:min(24dvh,210px);overflow:auto;overscroll-behavior:contain;padding:2px 12px 2px 0;font-size:16px;line-height:1.65;scrollbar-gutter:stable}.ll-study-feedback-body p{margin:0 0 10px}.ll-study-feedback-body>div{color:inherit;font:inherit}.ll-study-feedback-body :last-child{margin-bottom:0}
.ll-study-document #llcalc{bottom:calc(var(--ll-study-footer-height,88px) + 12px)!important}
html.ll-study-open .ll-top,html.ll-study-open .ll-bar{display:none!important}
.ll-study-chrome button{min-height:44px}.ll-study-chrome .ll-study-feedback-link{min-height:32px!important}
/* The browser's top layer keeps answer review above the quiz and traps focus. */
dialog.llqx-prevpanel{position:fixed!important;inset:0!important;margin:auto!important;width:min(760px,calc(100vw - 32px))!important;max-width:760px!important;max-height:calc(100dvh - 48px)!important;height:max-content!important;overflow:auto!important;padding:28px!important;border:1px solid #d9e2d3!important;border-radius:22px!important;background:#fffefb!important;box-shadow:0 24px 90px #18352633!important;color:#263e30!important;font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
dialog.llqx-prevpanel:not([open]){display:none!important}dialog.llqx-prevpanel::backdrop{background:#15342666;backdrop-filter:blur(3px)}
dialog.llqx-prevpanel .llqx-prevhead{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}dialog.llqx-prevpanel .llqx-prevhead span{font-size:10px;letter-spacing:.13em;color:#687c62}dialog.llqx-prevpanel h2{font:650 23px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;color:#263e30!important;margin:4px 0!important}
dialog.llqx-prevpanel .llqx-prevstem{font-size:21px;font-weight:600;line-height:1.5;margin:0 0 20px}dialog.llqx-prevpanel .llqx-prevopts{display:grid;gap:10px}dialog.llqx-prevpanel .llqx-review-option{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid #d9e2d3;border-radius:12px;background:#fff}dialog.llqx-prevpanel .llqx-review-option.ok{background:#eef5e8;border-color:#72955e}dialog.llqx-prevpanel .llqx-review-option.bad{background:#fff2eb;border-color:#c39376}dialog.llqx-prevpanel .llqx-review-explanation{padding:18px;margin:18px 0;background:#f4f7ed;border:1px solid #dde6d4;border-radius:12px}
dialog.llqx-prevpanel .llqx-prevnav{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}dialog.llqx-prevpanel button{appearance:none!important;min-height:44px!important;margin:0!important;padding:10px 16px!important;background:#f0f5e9!important;color:#28553e!important;border:1px solid #d2dfc7!important;border-radius:11px!important;font:600 14px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:normal!important;text-transform:none!important;box-shadow:none!important;cursor:pointer}dialog.llqx-prevpanel button:disabled{opacity:.4;cursor:default}dialog.llqx-prevpanel .llqx-pclose{background:#285540!important;color:#fff!important}dialog.llqx-prevpanel :focus-visible{outline:3px solid #bd9134;outline-offset:3px}
@media(max-width:760px){
 .ll-study-chrome .ll-study-tools-toggle{display:inline-flex}.ll-study-tool-options{display:none;position:absolute;right:14px;top:calc(100% + 8px);min-width:180px;padding:8px;background:#fffffc;border:1px solid #d9e3d3;border-radius:14px;box-shadow:0 10px 35px #15352626}.ll-study-tools-open .ll-study-tool-options{display:flex;flex-direction:column;align-items:stretch}.ll-study-tool-options button{text-align:left;justify-content:flex-start;font-size:14px!important;padding:12px 16px!important;min-height:44px!important}.ll-study-tools-toggle[aria-expanded=true]{background:#eaf1e4!important}
 .ll-study-header .ll-study-tools>button{min-height:44px!important;font-size:12px!important;padding:9px!important}.ll-study-feedback{padding:6px 16px 12px}.ll-study-feedback-head{gap:8px}.ll-study-feedback-head strong{font-size:15px}.ll-study-feedback-body{font-size:15px;max-height:23dvh;line-height:1.6}.ll-study-feedback-close{white-space:normal!important;max-width:106px}
 .ll-study-footer .ll-study-status{font-size:12px}.ll-study-chrome .ll-study-feedback-link{font-size:11px!important}.ll-study-chrome .ll-study-back{min-width:64px}
 dialog.llqx-prevpanel{padding:20px!important;max-height:calc(100dvh - 24px)!important;width:calc(100vw - 24px)!important}dialog.llqx-prevpanel .llqx-prevstem{font-size:19px}
}
@media(max-width:480px){
 .ll-study-footer:has(.ll-study-check:not([hidden])){display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 12px}.ll-study-footer:has(.ll-study-check:not([hidden])) .ll-study-status{grid-column:1/-1;grid-row:1}.ll-study-footer:has(.ll-study-check:not([hidden])) .ll-study-back{grid-column:1;grid-row:2}.ll-study-footer:has(.ll-study-check:not([hidden])) .ll-study-forward{grid-column:2;grid-row:2;justify-content:flex-end}.ll-study-chrome .ll-study-check{min-height:44px!important;font-size:12px!important}
}
@media print{.ll-study-feedback{display:none!important}}
/* One high-contrast mark per answer, instead of overlapping legacy decorations. */
html.ll-study-open :is(body,#page) .llq .llqx-opt:is(.ok,.bad) .llqx-let{font-size:0!important;background:#285540!important;border-color:#285540!important}
html.ll-study-open :is(body,#page) .llq .llqx-opt.bad .llqx-let{background:#975437!important;border-color:#975437!important}
html.ll-study-open :is(body,#page) .llq .llqx-opt:is(.ok,.bad) .llqx-let>*{display:none!important}
html.ll-study-open :is(body,#page) .llq .llqx-opt.ok .llqx-let::after{content:'✓'!important;color:#fff!important;font:700 17px/1 system-ui!important}
html.ll-study-open :is(body,#page) .llq .llqx-opt.bad .llqx-let::after{content:'×'!important;color:#fff!important;font:700 19px/1 system-ui!important}
dialog.llqx-prevpanel .llqx-review-option{flex-wrap:wrap}dialog.llqx-prevpanel .llqx-review-verdict{flex-basis:100%;font-size:12px;font-weight:650;padding-left:44px;color:#385a30}dialog.llqx-prevpanel .bad .llqx-review-verdict{color:#945031}dialog.llqx-prevpanel h2{text-transform:none!important;letter-spacing:normal!important}dialog.llqx-prevpanel .llqx-prevstem{font-family:inherit!important}
@media(min-width:901px){.ll-study-root .ll-study-reading-pane,.ll-study-root .lli-passage,.ll-study-root .llc-passage{max-height:max(180px,calc(100dvh - var(--ll-study-header-height,68px) - var(--ll-study-footer-height,88px) - var(--ll-study-feedback-height,0px) - 160px))!important}}

@media screen{html.ll-study-document :is(body,#page) .ll-study-source-feedback{display:none!important}}

/* Keep embedded reading text inside its panel rather than spilling over controls. */
@media screen{
 .ll-study-chrome .ll-study-passage-toggle.ll-study-passage-compact{display:inline-flex}
 .ll-study-embedded.ll-study-document .passage{overflow:auto!important}
.ll-study-embedded.ll-study-document .grid.has-story > .passage:focus-visible{outline:3px solid #b38a29!important;outline-offset:3px!important}
}
/* Story grids use the same breakpoint as the shared Passage button. */
@media screen and (min-width:901px){
 .ll-study-embedded.ll-study-document .grid.has-story > .passage{max-height:max(180px,calc(100dvh - 150px))!important}
}
@media screen and (max-width:900px){
 .ll-study-embedded.ll-study-document .grid.has-story{grid-template-columns:minmax(0,1fr)!important}
 .ll-study-embedded.ll-study-document .grid.has-story > .passage{position:static!important;max-height:32dvh!important}
}
