:root{--reader-focus:#0ea5e9}.reader-settings-button{display:inline-grid;place-items:center;min-width:40px;min-height:36px;padding:0 9px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#172554;font:800 14px/1 Georgia,serif;cursor:pointer}.reader-settings-dialog{width:min(460px,calc(100vw - 28px));border:0;border-radius:18px;padding:0;box-shadow:0 24px 70px #0f172a44}.reader-settings-dialog::backdrop{background:#0f172a99}.reader-settings-head{display:flex;align-items:flex-start;justify-content:space-between;padding:20px 22px 15px;background:#0f2a4f;color:#fff}.reader-settings-head small{color:#7dd3fc;font-size:9px;font-weight:800;letter-spacing:.15em}.reader-settings-head h2{margin:3px 0;font-size:21px}.reader-settings-head button{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:#ffffff18;color:#fff;font-size:24px;cursor:pointer}.reader-settings-dialog section{padding:16px 22px 0}.reader-settings-dialog h3{margin:0 0 9px;font-size:13px}.reader-segments{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.reader-segments button{min-height:44px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#334155;font-weight:700;cursor:pointer}.reader-segments button[aria-pressed=true]{border-color:#2563eb;background:#eff6ff;color:#1d4ed8;box-shadow:inset 0 0 0 1px #2563eb}.reader-toggles label{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:62px;border-bottom:1px solid #e2e8f0}.reader-toggles span,.reader-toggles strong,.reader-toggles small{display:block}.reader-toggles strong{font-size:13px}.reader-toggles small{margin-top:2px;color:#64748b;font-size:10px}.reader-toggles input{width:22px;height:22px;accent-color:#2563eb}.reader-status{min-height:18px;margin:8px 22px 0;color:#047857;font-size:10px}.reader-reset{width:calc(100% - 44px);min-height:42px;margin:0 22px 20px;border:1px solid #cbd5e1;border-radius:9px;background:#f8fafc;color:#475569;font-weight:700;cursor:pointer}
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--reader-focus)!important;outline-offset:3px!important}
html[data-reading-size=large] .stem{font-size:20px!important;line-height:1.78!important}html[data-reading-size=large] .option-content{font-size:18px!important;line-height:1.72!important}html[data-reading-size=large] .solution-content,html[data-reading-size=large] .answer-box .value,html[data-reading-size=large] .essay-prompt{font-size:17px!important;line-height:1.8!important}html[data-reading-size=large] .cp-body p,html[data-reading-size=large] .cp-body li{font-size:17px!important;line-height:1.85!important}
html[data-reading-size=xlarge] .stem{font-size:23px!important;line-height:1.82!important}html[data-reading-size=xlarge] .option-content{font-size:20px!important;line-height:1.78!important}html[data-reading-size=xlarge] .solution-content,html[data-reading-size=xlarge] .answer-box .value,html[data-reading-size=xlarge] .essay-prompt{font-size:19px!important;line-height:1.85!important}html[data-reading-size=xlarge] .cp-body p,html[data-reading-size=xlarge] .cp-body li{font-size:19px!important;line-height:1.9!important}
html[data-english-enhanced=true] body[data-subject=english] .stem{font-size:max(19px,1.16em)!important;line-height:1.82!important;font-family:Arial,"Helvetica Neue",sans-serif!important}html[data-english-enhanced=true] body[data-subject=english] .option-content{font-size:max(17px,1.08em)!important;line-height:1.76!important;font-family:Arial,"Helvetica Neue",sans-serif!important}
html[data-reading-size=large][data-english-enhanced=true] body[data-subject=english] .stem{font-size:21px!important}html[data-reading-size=large][data-english-enhanced=true] body[data-subject=english] .option-content{font-size:19px!important}html[data-reading-size=xlarge][data-english-enhanced=true] body[data-subject=english] .stem{font-size:24px!important}html[data-reading-size=xlarge][data-english-enhanced=true] body[data-subject=english] .option-content{font-size:21px!important}
html[data-high-contrast=true]{--reader-focus:#005fcc}html[data-high-contrast=true] body{background:#fff!important;color:#000!important}html[data-high-contrast=true] :where(.card,.option,.mode-card,.chapter-step,.learning-center section,.assessment-card,.paper-option){border-color:#111!important;box-shadow:none!important}html[data-high-contrast=true] :where(.stem,.option-content,.solution-content,p,h1,h2,h3,strong){color:#000!important}html[data-high-contrast=true] a{color:#003ea8!important;text-decoration:underline}html[data-high-contrast=true] .btn-primary,html[data-high-contrast=true] .nav-cta{background:#003ea8!important;color:#fff!important;text-decoration:none}html[data-high-contrast=true] .progress-fill{background:#003ea8!important}
html[data-reduce-motion=true] *,html[data-reduce-motion=true] *::before,html[data-reduce-motion=true] *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
@media(max-width:768px){.reader-settings-button{min-width:36px;min-height:34px;padding:0 7px;font-size:13px}.reader-settings-dialog{max-height:calc(100dvh - 24px);overflow:auto}html[data-reading-size=xlarge] .question-tools{width:100%;justify-content:flex-start}html[data-reading-size=xlarge] .option{min-height:56px!important}}
.reader-settings-button{min-width:44px;min-height:44px}.option{width:100%;text-align:left;font-family:inherit}.exam-dot{border-style:solid;cursor:pointer}
html[data-high-contrast=true] :where(.top-nav,.curriculum-hero,.exam-setup>header){border:1px solid #111!important;background:#fff!important;color:#000!important;box-shadow:none!important}
@media(max-width:768px){.reader-settings-button{min-width:40px;min-height:40px}}
