/* SHARE-MOBILE-RESPONSIVE:START */
/* Presentation only: preserve course, assessment and saved-progress contracts. */
html{scroll-padding-block-start:9rem}
body{min-inline-size:0}
body :where(main,.layout,.content-panel,.case-panel,.activity-panel,.check-panel,.reading,.lesson-model,.lesson-model-body,.model-toolbar,.share-reading-deck,.share-reading-step,.share-reading-nav,.share-reading-comparison,.share-reading-comparison dd,fieldset){min-inline-size:0;max-inline-size:100%}
body :where(h1,h2,h3,h4,p,li,dd,dt,td,th,label,legend,summary,a){overflow-wrap:anywhere;word-break:normal}
body :where(button,.button,select,input:not([type=checkbox]):not([type=radio]):not([type=hidden])){min-block-size:44px}
body :where(button,.button,select,textarea,input){max-inline-size:100%}
body :where(button,.button){white-space:normal;line-height:1.4}
body :where(button,a,input,textarea,select,summary,[tabindex]):focus-visible{outline:3px solid #123e68;outline-offset:3px}
body :where(summary){min-block-size:44px;cursor:pointer}
body :where(fieldset,legend){max-inline-size:100%}
body :where(textarea,input[type=text],input[type=email],input[type=search]){min-inline-size:0}
body .site-header{height:auto;min-height:83px;flex-wrap:wrap;align-items:center;padding-block:10px;gap:12px}
body .site-header .brand{min-inline-size:0;max-inline-size:100%;flex:0 1 auto}
body .site-header .brand img{max-inline-size:100%;height:auto;object-fit:contain}
body .site-header .header-actions{min-inline-size:0;max-inline-size:100%;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px}
body .site-header .header-actions>a{display:inline-flex;align-items:center;min-block-size:44px;padding:8px}
body .site-header .mode{overflow-wrap:anywhere;line-height:1.45}
body .share-course-navigation{padding-inline:max(12px,env(safe-area-inset-left));min-inline-size:0}
body .share-course-navigation button{min-block-size:44px;font-family:inherit;white-space:normal}
body .share-course-navigation [role=status]{min-inline-size:0;overflow-wrap:anywhere}
body :where(.module-grid,.resource-grid,.compare,.result-grid,.sort-targets){min-inline-size:0}
body :where(.module-grid,.resource-grid,.compare,.result-grid,.sort-targets)>*{min-inline-size:0}
body :where(.button-row,.lesson-footer,.exam-answers,.model-toolbar,.share-reading-controls,.share-reading-bottom){flex-wrap:wrap;min-inline-size:0}
body .lesson-footer :where(button,.button,a){min-block-size:44px;max-inline-size:100%;display:inline-flex;align-items:center;justify-content:center}
body .option{min-inline-size:0;min-block-size:44px;align-items:flex-start}
body .option input{flex-shrink:0}
body :where(.order-list li,.ordered-cards li){flex-wrap:wrap;min-inline-size:0}
body :where(.order-list p,.order-text){min-inline-size:0;flex:1 1 12rem}
body :where(.order-list button,.order-buttons button){min-inline-size:44px;min-block-size:44px}
body .order-buttons{flex-direction:row;flex-wrap:wrap;gap:6px}
body :where(.table-scroll,.table-wrap){max-inline-size:100%;min-inline-size:0;overflow:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
body :where(table){max-inline-size:100%}
body :where(.content-panel,.share-reading-step,.source-panel,.reference-comparison) :where(td,th){overflow-wrap:anywhere}
body :where(.visual,.share-reading-source-visual,figure){max-inline-size:100%;min-inline-size:0}
body :where(.visual,.share-reading-source-visual,.image-wrap) img:not(.brand-corner){max-inline-size:100%;height:auto;object-fit:contain}
body .share-reading-nav :where(label,select){min-inline-size:0;max-inline-size:100%}
body .share-reading-step :where(ul,ol){padding-inline-start:1.4rem}
body .share-reading-comparison dd{margin-inline-start:0}
body .lesson-model :where(#sim-host,#practice-frame){min-inline-size:0;max-inline-size:100%}
body .lesson-model.is-expanded{max-block-size:calc(100dvh - 8px)}
body .lesson-model.is-expanded>.model-toolbar{flex-shrink:0}
body .lesson-model.is-expanded>.model-status{flex-shrink:0;overflow-wrap:anywhere}
@media(max-width:1024px),(pointer:coarse){
 body :is(select,input,textarea){font-size:16px!important}
}
@media(max-width:1024px){
 body .layout{display:block}
 body #map-toggle{display:inline-flex;align-items:center;justify-content:center;min-block-size:44px}
 body #course-map{display:none;position:static;inset:auto;width:100%;height:auto;max-height:60vh;max-height:60dvh;overflow:auto;border-right:0;border-bottom:1px solid #dbe4ea;box-shadow:none}
 body #course-map.open,body #course-map.is-open{display:block}
 body #course-map .nav-group a{min-block-size:44px;align-items:center;font-size:14px;padding:10px}
 body main{padding:clamp(16px,3vw,28px)!important}
 body .content-panel{padding:clamp(16px,3vw,28px)}
 body .site-header .header-actions{flex:1 1 240px}
 body .site-header .mode{font-size:12px}
}
@media(max-width:600px){
 html{scroll-padding-block-start:11rem}
 body .site-header{padding:10px max(12px,env(safe-area-inset-right)) 10px max(12px,env(safe-area-inset-left));gap:8px}
 body .site-header .brand img{width:clamp(120px,35vw,160px);height:auto}
 body .site-header .header-actions{flex:1 1 145px;gap:6px}
 body .site-header .header-actions button{font-size:13px;padding:9px 12px}
 body .site-header .header-actions>a{font-size:13px;padding:8px 6px}
 body .site-header .mode{max-inline-size:none;font-size:12px;flex:1 1 100%}
 body :where(input,select,textarea){font-size:16px}
 body .share-course-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px max(8px,env(safe-area-inset-right)) 8px max(8px,env(safe-area-inset-left))}
 body .share-course-navigation button{min-inline-size:0;min-block-size:44px;font-size:13px;padding:9px 8px}
 body .share-course-navigation [role=status]{grid-column:1/-1;font-size:12px}
 body :where(.module-grid,.resource-grid,.compare,.result-grid,.sort-targets){grid-template-columns:minmax(0,1fr)}
 body :where(.content-panel,.case-panel,.activity-panel,.check-panel,.exam-question,.resource-card,.module-card,.result,.locked){padding:18px 14px}
 body .hero{min-height:0;padding:30px 20px 70px}
 body .hero h1{font-size:clamp(30px,8.3vw,42px);letter-spacing:-.7px}
 body .hero p{font-size:16px}
 body .lesson-head h1{font-size:clamp(28px,8vw,36px);letter-spacing:-.6px}
 body .lesson-lead{font-size:18px}
 body .content-panel p,body .reading p{font-size:16px;line-height:1.7}
 body :where(.button-row,.lesson-footer,.exam-answers){gap:8px}
 body .lesson-footer :where(button,.button,a){flex:1 1 9rem;max-width:none;padding:10px}
 body .lesson-footer span{flex-basis:100%;max-width:none}
 body .exam-answers{position:static}
 body .exam-answers button{flex:1 1 10rem}
 body .share-reading-step{padding:18px 14px}
 body .share-reading-nav{padding:14px}
 body .share-reading-count{white-space:normal}
 body .share-reading-comparison{padding:16px 12px}
 body .share-reading-bottom{padding:14px;gap:8px}
 body .share-reading-bottom button{flex:1 1 8rem}
 body .table-scroll table{min-width:32rem}
 body .model-toolbar{gap:8px;padding-inline:14px}
 body .model-toolbar button{min-block-size:44px;font-size:13px;flex:1 1 9rem}
 body .model-status{padding-inline:14px}
 body .site-footer{padding-inline:14px;overflow-wrap:anywhere}
}
@media(max-height:520px) and (max-width:1024px){
 body .share-course-navigation{position:static}
 body .site-header{position:static}
 body .lesson-model.is-expanded .model-toolbar button{flex:0 1 auto;font-size:13px;min-block-size:44px}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
 body *,body *:before,body *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
@media print{
 body #course-map,body .share-course-navigation{display:none!important}
 body main{padding:0!important}
 body :where(.content-panel,.case-panel,.activity-panel,.check-panel){padding:0}
 body :where(.table-scroll,.table-wrap){overflow:visible}
 body .table-scroll table{min-width:0}
}
/* SHARE-MOBILE-RESPONSIVE:END */
