.login-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#f9f8f4}.login-story{position:relative;min-height:600px;background:#163e33;color:white;padding:64px;display:flex;flex-direction:column;justify-content:flex-end;isolation:isolate}.login-story:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(12,39,30,.96),rgba(12,39,30,.12)),url('assets/body-author.jpg') center/cover}.login-story h1{font-size:58px;max-width:520px;color:white;line-height:1.05}.login-story p{max-width:460px;color:#e8efea;line-height:1.7}.login-story img{position:absolute;top:40px;left:56px;width:120px;filter:invert(1)}.login-form-wrap{display:flex;align-items:center;justify-content:center;padding:50px}.login-form-wrap>div{width:100%;max-width:420px}.login-form-wrap h2{font-size:32px}.login-form-wrap form{margin:28px 0}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}.field input,.field select,.field textarea{width:100%;max-width:100%;padding:12px;border:1px solid #cbd5cc;border-radius:10px;background:white;font:inherit}.field textarea{min-height:110px;resize:vertical}.field input[type=checkbox],.field input[type=radio]{width:auto}.test-roles{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0}.test-roles button{padding:11px;border:1px solid #d9e0d8;background:#eef3eb;border-radius:10px;font:inherit;cursor:pointer}.caption{font-size:12px;line-height:1.6;color:#607064}.form-error{color:#912e22;font-size:14px;min-height:20px}.actions{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}.button{cursor:pointer}.button:disabled{opacity:.5;cursor:wait}.notice{line-height:1.65}.sidebar-bottom{margin-top:auto}.panel,.course-card,.course-content,.main-wrap,.heading-line>div{min-width:0}.heading-line h1{overflow-wrap:anywhere}.message{padding:16px;border-radius:12px;background:#f0f4ed;margin:12px 0;overflow-wrap:anywhere}.message strong{font-size:13px}.message p{white-space:pre-wrap;margin:8px 0}.message small{color:#647267}.lesson-step{width:100%;text-align:left}.lesson-detail p{white-space:pre-wrap;overflow-wrap:anywhere}.muted{color:#66746a}.details{margin:18px 0}.details summary{cursor:pointer;padding:10px 0}.table-wrap{overflow:auto}td,th{min-width:100px}table small{display:block}.queue-row{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #e2e6df}.queue-row p{margin:3px 0}.list-row{display:flex;flex-wrap:wrap;align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid #e2e6df}.list-row>div:first-child{flex:1;min-width:200px}.login-form-wrap .button{width:100%;justify-content:center}.plain-text{white-space:pre-wrap;overflow-wrap:anywhere}.empty{padding:35px 20px;text-align:center;color:#617064}.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.quiz-options label{display:flex;gap:12px;padding:12px;margin:8px 0;background:#f3f6ef;border-radius:9px}.quiz-options input{flex:0 0 auto}.top-actions .button{padding:8px 13px}.lesson-layout{grid-template-columns:270px minmax(0,1fr)}.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.catalog-item{padding:20px;background:white;border:1px solid #e0e6dd;border-radius:16px}.catalog-item h3{font-size:17px}.private-file{display:block;padding:10px 0;color:#214c3b;overflow-wrap:anywhere}.preview-bar{height:auto;min-height:38px;flex-wrap:wrap;padding:9px 20px}.profile{min-width:0}#modal{max-width:min(620px,92vw);width:600px}#modal-body{max-height:70vh;overflow:auto}#modal-body input{max-width:100%}.two-column{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
@media(max-width:900px){.login-shell{grid-template-columns:1fr}.login-story{min-height:310px;padding:30px}.login-story h1{font-size:40px}.login-story img{top:20px;left:30px;width:90px}.login-story p{margin-bottom:0}.login-form-wrap{padding:35px 24px}.lesson-layout,.two-column{grid-template-columns:minmax(0,1fr)}.lesson-sidebar>div{max-height:260px;overflow:auto}.catalog-grid{grid-template-columns:1fr}.stats{grid-template-columns:1fr}.hero-grid{grid-template-columns:1fr}.profile{display:none}.topbar{padding:16px}.top-actions{gap:8px}.heading-line{display:block}.preview-bar span:last-child{display:none}.queue-row{flex-wrap:wrap}}
@media(max-width:600px){nav .nav-label{display:inline}nav button{width:auto;min-width:max-content;gap:8px;padding:9px 11px}.top-actions .profile+button{display:inline-flex}.lesson-sidebar>div{display:grid}.lesson-step{min-width:0;width:100%}.course-grid{grid-template-columns:minmax(0,1fr)}}

/* ESSE campus: keep the school's identity, give every task its own color. */
:root{--paper:#fbfaf6;--ink:#183e34;--dark:#183e34;--muted:#596d62;--sage:#dbf2dd;--line:#e3e8df;--mint:#dbf2dd;--peach:#f9dfcc;--lilac:#e9e0f5;--radius:25px}
body{background:radial-gradient(ellipse at 95% 0,#e9e3f340,transparent 40%),var(--paper);font-size:14px}
.preview-bar{background:#183e34;min-height:34px;font-size:11px;letter-spacing:0;padding:8px 24px}
.sidebar{width:238px;background:#fffefb;padding:30px 21px 24px;height:calc(100vh - 34px);min-height:0;overflow-y:auto}
.brand-note{font-size:10px;letter-spacing:.035em;margin:16px 0 25px;color:#66776c}
nav{gap:7px}nav button{font-size:12px;line-height:1.5;min-height:46px;padding:12px 13px;border-radius:15px;transition:background .2s,transform .2s}
nav button.active{background:#183e34;color:#fff;box-shadow:0 6px 15px #183e3415}
nav button:hover{background:#eaf2e4;color:#183e34;transform:translateX(2px)}nav button.active:hover{background:#285748;color:#fff}
.logo img{width:154px;height:37px}.sidebar-bottom{padding-top:28px}.sidebar-bottom>a{font-size:11px}
.mentor-mini img{width:42px;height:42px}.mentor-mini strong{font-size:11px}.mentor-mini span{font-size:10px}
.topbar{height:78px;background:#fffefb80;padding:0 34px}.breadcrumb{font-size:12px}.avatar{width:40px;height:40px;background:var(--lilac);font-size:15px;font-weight:600}.profile strong{font-size:12px}.profile span{font-size:10px}
main{padding:30px 34px 42px;max-width:1450px}.heading-line{margin-bottom:26px}.heading-line h1{font-size:44px;line-height:1.12;margin:7px 0 10px}.heading-line p{font-size:13px;color:#596d62}.eyebrow{font-size:10px;color:#566d5d;letter-spacing:.105em}
.button{font-size:12px;line-height:1.5;min-height:46px;padding:13px 18px;border-radius:14px;transition:transform .18s,box-shadow .18s,background .18s;box-shadow:0 5px 13px #183e3410}
.button svg{width:18px;height:18px}.button:hover:not(:disabled){transform:translateY(-2px);background:#2c5a48;box-shadow:0 9px 19px #183e3426}.button:active:not(:disabled){transform:translateY(0)}
.button.outline{background:#ffffff75;border-color:#aec5b6;box-shadow:none}.button.outline:hover:not(:disabled){background:#eaf4e9;color:#183e34}.button.light{background:var(--mint);color:#183e34}.button.small{font-size:11px;min-height:40px;padding:9px 13px}.button:disabled{cursor:not-allowed}
.text-button{font-size:12px;line-height:1.5;color:#234f3c;border-bottom:1px solid #aac3ae;padding:3px 0}.text-button:hover{color:#5f4080;border-color:#b4a1c3}
.pill-label{display:inline-flex;align-items:center;max-width:100%;padding:6px 12px;border-radius:99px;background:#fff9;font-size:10px;font-weight:600;color:#315544;border:1px solid #ffffff70}
.hero-grid{grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:20px}
.welcome-card{display:grid;grid-template-columns:1.05fr 1fr;min-height:355px;position:relative;border-radius:28px;background:#f4f0e7;overflow:hidden;border:1px solid #eee5d4;box-shadow:0 10px 32px #66593208}
.welcome-copy{padding:29px 0 29px 29px;position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0}
.welcome-copy h2{font-size:38px;line-height:1.13;margin:17px 0 14px;max-width:365px}.welcome-copy p{font-size:12px;line-height:1.7;margin-bottom:22px;max-width:295px;color:#52695b}.welcome-caption{display:block;font-size:10px;color:#5c705f;margin-top:13px}
.welcome-art{display:flex;align-items:center;overflow:hidden;min-width:0}.welcome-art img{width:100%;height:100%;object-fit:cover;object-position:50% 50%;mix-blend-mode:multiply}
.progress-tile{display:flex;background:var(--mint);padding:25px;border:1px solid #cce4cd;box-shadow:0 9px 28px #30523906}.progress-tile h2{font-size:30px;margin-top:10px;line-height:1.15}.progress-layout{gap:18px;justify-content:flex-start;margin:23px 0 19px}
.ring{width:113px;height:113px;flex-shrink:0;background:conic-gradient(#285b45 calc(var(--value)*1%),#bfdbbe 0)}.ring:before{inset:8px;background:var(--mint)}.ring span{font-size:37px}.ring small{font-family:Manrope;font-size:14px;margin-left:2px}.progress-facts strong{font-size:22px}.progress-facts p{font-size:10px;margin:1px 0 9px}.progress-tile .mini-divider{font-size:10px;padding:14px 0;margin-bottom:8px;line-height:1.6;border-color:#bad5ba}
.journey{margin:25px 0 29px;padding:20px 22px;background:#fff;border:1px solid var(--line);border-radius:22px}.journey .section-head{margin-bottom:17px}.journey-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.journey-step{display:flex;align-items:center;gap:10px;text-align:left;padding:12px 9px;border-radius:15px;background:#f4f6ef;min-width:0;transition:transform .2s,background .2s}.journey-step:nth-child(2){background:var(--peach)}.journey-step:nth-child(3){background:var(--lilac)}.journey-step:nth-child(4){background:var(--mint)}.journey-step:hover{transform:translateY(-3px);box-shadow:0 5px 12px #183e340e}.journey-step>span{font:400 25px Oswald;color:#305444}.journey-step strong{display:block;font-size:12px}.journey-step small{display:block;font-size:9px;line-height:1.5;color:#536556;margin-top:4px}
.section-head h2{font-size:18px}.course-grid{gap:20px}.course-card{border-radius:24px;border-color:#e1e7db;box-shadow:0 7px 22px #2a423008;transition:transform .2s,box-shadow .2s}.course-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px #2a423012}.course-image{height:175px}.course-image img{filter:none;transition:transform .45s}.course-card:hover .course-image img{transform:scale(1.025)}
.chip{font-size:10px;padding:7px 11px;background:#fffef5eb;backdrop-filter:blur(5px)}.course-image .chip{top:15px;left:15px;background:#fffef5eb}.course-mark{position:absolute;bottom:12px;right:14px;width:48px;height:48px;border-radius:50%;background:var(--peach);font:400 25px Oswald;display:grid;place-items:center;transform:rotate(-8deg)}.tone-2 .course-mark{background:var(--lilac)}.tone-0 .course-mark{background:var(--mint)}
.course-content{padding:23px}.course-content h3{font-size:28px;line-height:1.18;margin:9px 0}.course-content p{font-size:12px}.course-content .muted{font-size:10px;line-height:1.6;display:block}.course-content .actions{margin:17px 0 12px}.course-content .button{width:100%}.course-content .eyebrow{font-size:9px}.progress-bar{height:7px;margin:17px 0 8px;background:#edf0e5}.progress-bar span{background:#5a8963;border-radius:5px}.course-progress-caption{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#5b7060}
.panel{padding:25px;border-radius:24px;box-shadow:0 5px 20px #183e3404}.two-column{grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr)}.student-lower{grid-template-columns:minmax(0,1.45fr) minmax(270px,1fr)}
.library-promo{background:#efe8f7;border:1px solid #e6dcf0}.library-promo h2{font-size:33px;margin:12px 0}.library-promo>p{font-size:13px;color:#65596e;max-width:400px;margin-bottom:21px}.library-promo .mentor-panel{margin-top:26px;padding-top:22px;border-top:1px solid #d7cde2}.mentor-portraits{display:flex;min-width:85px}.mentor-portraits img{width:51px;height:61px;border:3px solid #efe8f7;border-radius:14px;object-position:50% 20%}.mentor-portraits img+img{margin-left:-11px}.mentor-panel h3{font-size:14px}.mentor-panel p{font-size:11px;line-height:1.5}
.community-card{display:flex;flex-direction:column;padding:0;gap:0;overflow:hidden;background:#f7e6d8;min-height:340px;border:1px solid #efdbc9}.community-visual{width:100%;height:170px;object-fit:cover;object-position:center;mix-blend-mode:multiply}.community-copy{padding:0 25px 25px}.community-copy>.eyebrow{display:block}.community-copy h2{font-size:33px;margin:10px 0}.community-copy p{max-width:none;font-size:12px;line-height:1.7;margin-bottom:18px;color:#6d5849}.community-copy .button{width:100%}
.staff-banner{display:grid;grid-template-columns:1.5fr 1fr;min-height:215px;margin-bottom:23px;border-radius:26px;background:#ede5f5;border:1px solid #e3d9ee;overflow:hidden}.staff-banner>div{padding:27px}.staff-banner h2{font-size:34px;line-height:1.14;margin:12px 0}.staff-banner p{font-size:12px;max-width:430px;margin-bottom:17px;color:#665872}.staff-banner>img{width:100%;height:100%;max-height:265px;mix-blend-mode:multiply}
.stat{border:0;border-radius:21px;padding:22px;background:#f0efe6}.stat.sage{background:var(--mint)}.peach,.stat.peach{background:var(--peach)}.lilac,.stat.lilac{background:var(--lilac)}.mint{background:var(--mint)}.cream{background:#f0eddf}.stat p{font-size:12px;color:#425a4e}.stat strong{font-size:38px;margin:11px 0}.stat span{font-size:10px;color:#526958}
.action-row{display:flex;align-items:center;gap:13px;padding:17px 0;border-bottom:1px solid var(--line)}.action-row:last-child{border-bottom:0;padding-bottom:3px}.action-count{display:grid;place-items:center;width:47px;height:47px;flex-shrink:0;border-radius:15px;font:400 26px Oswald}.action-row>div{flex:1;min-width:0}.action-row h3{font-size:13px}.action-row p{font-size:11px;color:#596d62;margin-top:5px}.action-row .button{flex-shrink:0}.action-board .pill-label{background:#f0f4e8}
.library-intro,.chat-welcome,.practice-summary{display:grid;grid-template-columns:1.4fr 1fr;min-height:180px;background:#e5f0dc;border:1px solid #d9e7ca;border-radius:24px;overflow:hidden;margin-bottom:22px}.library-intro>div,.chat-welcome>div,.practice-summary>div{padding:26px}.library-intro h2,.chat-welcome h2,.practice-summary h2{font-size:32px;margin:12px 0}.library-intro p,.chat-welcome p,.practice-summary p{font-size:12px;color:#51674e}.library-intro>img,.chat-welcome>img,.practice-summary>img{width:100%;height:100%;max-height:210px;mix-blend-mode:multiply}.chat-welcome{background:#f6e4d8;border-color:#efdbc9}.practice-summary{background:#ede4f5;border-color:#e4d8ee}
.library-controls{margin:23px 0 12px}.library-search{display:flex;align-items:center;gap:12px;border:1px solid #c9d7c7;border-radius:16px;background:#fff;padding:0 16px;margin-bottom:16px;max-width:650px}.library-search svg{width:20px}.library-search input{border:0;background:none;flex:1;width:100%;min-width:0;padding:15px 0;font-size:13px}.library-search:focus-within{outline:3px solid #93b38f;outline-offset:2px}.library-search input:focus-visible{outline:none}
.filter-tabs{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 20px}.filter-tabs button{font-size:12px;line-height:1.5;border:1px solid #d2dfcb;border-radius:99px;background:#fff;padding:9px 15px;transition:background .15s}.filter-tabs button.selected{color:#fff;background:#285443;border-color:#285443}.filter-tabs button:hover:not(.selected){background:#eaf4e4}.library-count{margin:0 0 16px;font-size:12px}
.library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.library-item{min-width:0;border:1px solid #e1e6d9;border-radius:23px;padding:23px;background:white;box-shadow:0 7px 20px #183e3405;display:flex;flex-direction:column}.library-item h3{font:400 26px/1.2 Oswald;margin:12px 0}.library-item>p{font-size:12px;line-height:1.7;color:#596d62;white-space:pre-wrap;overflow-wrap:anywhere}.library-item .actions{margin-top:auto;padding-top:17px}.library-item .eyebrow{font-size:9px}.lesson-kind{font-size:10px;padding:6px 10px;background:var(--mint);border-radius:99px}.lesson-kind.practice{background:var(--peach)}.lesson-kind.quiz{background:var(--lilac)}.bookmark-button{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#f3f4ed;color:#6a7f6b}.bookmark-button.saved{background:var(--mint);color:#285443}.bookmark-button.saved svg{fill:#abd7b2}
.personal-note{background:#f4eedf;border-left:3px solid #c3aa73;border-radius:0 12px 12px 0;padding:13px 14px;margin-top:16px}.personal-note>span{font-size:10px;font-weight:600;color:#695f42}.personal-note p{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 0;font-size:12px;color:#5b614b}.private-file{display:flex;align-items:center;gap:9px;font-size:12px}.private-file svg{width:18px;height:18px;flex-shrink:0}.lesson-heading h2{font-size:34px}.lesson-heading .actions{margin-top:13px}
.lesson-sidebar{position:sticky;top:20px}.lesson-step{font-size:12px;padding:14px 10px;line-height:1.6}.lesson-step.selected{background:var(--mint);border-radius:12px}.lesson-step>span{font-size:11px}.lesson-detail p{font-size:14px;line-height:1.8;color:#53675a}.video-placeholder>img{opacity:.3;filter:none}.video-overlay p{font-size:12px;line-height:1.7}.video-overlay h3{font-size:32px}.assignment-card{border-radius:23px;padding:26px}.assignment-card>p{font-size:13px;line-height:1.7}.assignment-card .section-head{align-items:start;flex-wrap:wrap}
.message{display:block;background:#f0f6e9;border-radius:17px;padding:19px;max-width:100%;margin:13px 0}.message strong{font-size:12px}.message p{font-size:13px;line-height:1.75;max-width:none;border-radius:0;padding:0;background:none;margin:9px 0}.message small{margin-left:0;font-size:10px}.chat-panel .filters select{max-width:100%;font-size:12px;width:100%}
.empty{padding:27px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:15px;min-height:210px}.empty img{width:150px;height:100px;object-fit:cover;border-radius:20px;mix-blend-mode:multiply}.empty p{font-size:13px;max-width:410px;line-height:1.8}.library-grid>.empty{grid-column:1/-1}
.document-card{border-radius:22px;padding:23px}.doc-picture{background:var(--lilac);border:0;border-radius:15px;transform:rotate(-3deg)}.doc-picture svg{color:#68517e}.document-card h3{font-size:16px}.document-card p{font-size:12px;line-height:1.7}.status{font-size:10px;border-radius:99px;padding:6px 11px;background:#e3f0db;color:#395c40}.status.wait{background:#f8e8c4;color:#725c26}.catalog-item{border-radius:22px;padding:24px}.catalog-item h3{font:400 26px/1.2 Oswald;margin:10px 0}.catalog-item .muted{font-size:10px}.catalog-item p{font-size:12px;margin:9px 0}
.field{font-size:12px;line-height:1.65}.field input,.field textarea,.field select{border-radius:14px;padding:13px 14px;font-size:13px}.field textarea{min-height:130px}.notice{font-size:12px;line-height:1.75;background:#eef3e8;border-left:3px solid #97b489;border-radius:0 14px 14px 0}.caption{color:#5a7060}.form-error{font-size:12px}.queue-row{font-size:13px}.list-row h3{font-size:16px}.list-row p{font-size:12px;line-height:1.8}.plain-text{font-size:13px}.table-wrap table{font-size:12px}th{font-size:10px}td strong{font-size:12px}td small{font-size:10px}
footer{font-size:10px;padding:0 34px 26px}.modal-top{align-items:center}.modal-top button{padding:8px 12px;background:#e8eddf;border-radius:12px;font-size:12px}#modal{border-radius:25px;background:#fffdf8;box-shadow:0 25px 75px #183e3430}#modal-body label{font-size:12px}.modal-top strong{font-size:17px}#toast{border-radius:16px;background:#244d3d;font-size:13px;line-height:1.6;box-shadow:0 12px 35px #183e3428}
.login-shell{background:#fffef9;min-height:100vh;padding:18px;gap:0;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}.login-story{background:#edf0df;border:1px solid #e2e6d2;border-radius:28px;color:#183e34;min-height:760px;padding:35px;overflow:hidden;justify-content:flex-start}.login-story:before{display:none}.login-story .login-logo{position:static;filter:none;width:145px;height:37px;object-fit:contain;object-position:left}.login-story-copy{position:relative;z-index:1;margin-top:43px}.login-story .login-story-copy h1{font-size:58px;color:#183e34;max-width:540px;margin:16px 0 18px;line-height:1.12}.login-story .login-story-copy p{font-size:14px;color:#4f6857;max-width:370px;line-height:1.8}.login-story .login-visual{position:relative;left:auto;top:auto;width:calc(100% + 70px);height:360px;margin:0 -35px;filter:none;mix-blend-mode:multiply;object-fit:cover;object-position:center}.login-story-foot{display:flex;justify-content:space-between;font-size:11px;margin-top:auto;gap:10px;position:relative;z-index:1}.login-form-wrap{padding:45px 50px}.login-form-wrap h2{font:400 44px Oswald;margin:11px 0 14px}.login-form-wrap>div>p{font-size:13px;color:#647265}.login-form-wrap form{margin:28px 0 22px}.login-form-wrap .notice{margin-top:30px;font-size:11px}.test-roles button{background:#fff;border-radius:13px;font-size:11px}.test-roles button:nth-child(2){background:var(--peach)}.test-roles button:nth-child(3){background:var(--lilac)}.test-roles button:nth-child(4){background:var(--mint)}.test-roles button:hover{box-shadow:0 3px 10px #183e3414}
@media(min-width:1500px){main{padding:37px 46px}.welcome-card{min-height:370px}.welcome-copy h2{font-size:44px}.welcome-art img{object-fit:cover}.course-image{height:195px}}
@media(max-width:1150px){.sidebar{width:205px;padding:27px 15px}.topbar{padding:0 25px}main{padding:27px 25px}.hero-grid{grid-template-columns:minmax(0,1.75fr) minmax(240px,1fr)}.welcome-card{grid-template-columns:1.3fr .8fr}.welcome-copy{padding:25px 0 25px 25px}.welcome-copy h2{font-size:33px}.progress-tile{padding:22px}.progress-tile h2{font-size:27px}.progress-layout{gap:12px}.ring{width:89px;height:89px}.ring span{font-size:31px}.journey-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.journey-step{padding:12px 14px}.journey-step small{font-size:10px}.two-column,.student-lower{grid-template-columns:minmax(0,1.35fr) minmax(250px,1fr)}.login-story .login-story-copy h1{font-size:48px}.login-form-wrap{padding:35px}.action-row{flex-wrap:wrap}.action-row .button{margin-left:60px}.library-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:900px){.sidebar{width:76px;padding:25px 13px;overflow-y:auto}.logo img{width:49px;height:29px;object-fit:cover;object-position:left}.brand-note,.sidebar-bottom,.sidebar nav .nav-label{display:none}nav button{padding:13px;justify-content:center}.hero-grid{grid-template-columns:minmax(0,1.6fr) minmax(220px,1fr)}.welcome-card{display:block;min-height:355px}.welcome-copy{padding:24px}.welcome-copy h2{font-size:31px}.welcome-art{height:130px;max-width:100%;position:absolute;bottom:0;right:0;width:160px;opacity:.45;pointer-events:none}.welcome-copy .button{z-index:2}.welcome-copy p{max-width:260px}.progress-tile{display:flex;padding:20px}.progress-tile h2{font-size:25px}.ring{width:80px;height:80px}.progress-layout{gap:11px}.progress-facts strong{font-size:19px}.progress-facts p{font-size:9px}.two-column,.student-lower{grid-template-columns:minmax(0,1fr)}.community-card{display:grid;grid-template-columns:1fr 1fr;min-height:0}.community-visual{height:100%;min-height:205px}.community-copy{padding:24px}.community-copy h2{margin:10px 0}.community-copy p{margin-bottom:16px}.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.stat{padding:17px}.stat strong{font-size:32px}.staff-banner h2{font-size:30px}.staff-banner>div{padding:24px}.action-row .button{margin-left:0}.action-row{flex-wrap:nowrap}.login-shell{grid-template-columns:1fr;padding:15px}.login-story{min-height:345px;padding:27px}.login-story-copy{margin-top:20px;max-width:70%}.login-story .login-story-copy h1{font-size:40px}.login-story .login-story-copy p{font-size:12px;max-width:320px}.login-story .login-visual{position:absolute;width:40%;height:230px;right:0;left:auto;top:auto;bottom:15px;margin:0;opacity:.65;object-fit:cover}.login-story-foot{margin-top:25px}.login-form-wrap{padding:40px 24px}.login-form-wrap>div{max-width:500px}.lesson-sidebar{position:static}}
@media(max-width:600px){.sidebar{width:100%;position:relative;height:auto;min-height:0;padding:17px;border-radius:0;overflow:visible}.logo img{width:133px;height:31px;object-fit:contain}.sidebar nav .nav-label{display:inline}nav{margin-top:15px;gap:6px;max-width:100%;overflow-x:auto;scrollbar-width:thin;padding-bottom:5px}nav button{padding:10px 12px;width:auto;min-width:max-content;font-size:11px;border-radius:12px;min-height:41px;gap:8px}nav button svg{width:18px;height:18px}nav button:hover{transform:none}.topbar{height:65px;padding:0 17px}.top-actions{gap:9px}.top-actions .button{font-size:11px;min-height:37px;padding:8px 11px}.avatar{width:34px;height:34px;font-size:13px}.breadcrumb{font-size:10px}.preview-bar{padding:8px 17px;min-height:32px}.preview-bar>span:first-child{font-size:10px}main{padding:25px 17px 32px}.heading-line h1{font-size:35px;line-height:1.15}.heading-line p{font-size:12px;line-height:1.7}.heading-line{margin-bottom:21px}.hero-grid{grid-template-columns:minmax(0,1fr);gap:16px}.welcome-card{display:flex;flex-direction:column-reverse;min-height:0;border-radius:25px}.welcome-art{position:static;width:100%;max-width:none;height:177px;opacity:1;pointer-events:auto}.welcome-art img{object-fit:cover;object-position:center 45%}.welcome-copy{padding:22px 24px 25px}.welcome-copy h2{font-size:34px;margin-top:14px;max-width:none}.welcome-copy p{max-width:none;margin-bottom:17px;font-size:12px}.welcome-copy .button{width:100%}.welcome-caption{font-size:10px;align-self:center;margin-top:11px}.progress-tile{padding:22px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 14px}.progress-tile>.eyebrow,.progress-tile>h2,.progress-tile>.mini-divider,.progress-tile>.button{grid-column:1/-1}.progress-tile h2{font-size:29px}.progress-layout{grid-column:1/-1;margin:17px 0 13px;gap:23px}.ring{width:94px;height:94px}.ring span{font-size:34px}.progress-facts{display:flex;flex-wrap:wrap;gap:0 10px;align-items:baseline}.progress-facts strong{font-size:23px}.progress-facts p{font-size:10px;margin:0;width:100%}.progress-tile>.button{width:100%}.journey{padding:20px 17px;margin:19px 0 26px}.journey-steps{gap:9px}.journey-step{gap:9px;align-items:flex-start;flex-direction:column;padding:13px 14px}.journey-step>span{font-size:24px}.journey-step small{font-size:9px;line-height:1.6}.journey-step strong{font-size:12px}.journey .caption{font-size:9px}.section-head h2{font-size:17px}.section-head .text-button{font-size:10px}.course-grid,.all-courses{grid-template-columns:minmax(0,1fr)}.course-image{height:178px}.course-content{padding:21px}.course-content h3{font-size:29px}.two-column,.student-lower{gap:16px;margin-top:21px}.panel{padding:21px}.library-promo h2{font-size:31px}.library-promo>p{font-size:12px}.library-promo>.button{width:100%}.community-card{display:flex;min-height:0;padding:0}.community-visual{height:180px;min-height:0}.community-copy{padding:0 23px 24px}.community-copy h2{font-size:33px}.community-copy>.eyebrow{display:block}.community-copy p{font-size:12px}.mentor-panel{gap:12px}.mentor-portraits{min-width:80px}.mentor-panel .text-button{font-size:11px}.stats{grid-template-columns:minmax(0,1fr);gap:11px}.stat{padding:20px 23px}.stat strong{font-size:35px}.stat p{font-size:12px}.staff-banner{grid-template-columns:1fr}.staff-banner>div{padding:24px}.staff-banner>img{height:150px;object-fit:cover;object-position:center 45%}.staff-banner h2{font-size:33px}.staff-banner .button{width:100%}.action-row{flex-wrap:wrap;gap:11px}.action-row .button{margin-left:58px}.action-row>div{min-width:170px}.action-row h3{font-size:12px}.action-row p{font-size:10px}.action-count{width:47px}.library-intro,.chat-welcome,.practice-summary{grid-template-columns:1fr}.library-intro>div,.chat-welcome>div,.practice-summary>div{padding:23px}.library-intro>img,.chat-welcome>img,.practice-summary>img{height:140px;object-fit:cover;object-position:center}.library-intro h2,.chat-welcome h2,.practice-summary h2{font-size:30px}.library-search{padding:0 12px}.library-search input{font-size:12px;padding:14px 0}.filter-tabs{gap:7px}.filter-tabs button{font-size:10px;padding:9px 12px}.library-grid{grid-template-columns:minmax(0,1fr);gap:16px}.library-item{padding:22px}.library-item .actions{gap:14px;flex-wrap:wrap}.empty{padding:25px 20px}.document-card{padding:19px}.doc-copy{min-width:185px}.document-card p{font-size:11px}.lesson-layout{gap:16px}.lesson-sidebar>div{display:grid;max-height:200px;overflow:auto}.lesson-step{min-width:0;width:100%;font-size:12px}.lesson-heading h2{font-size:30px}.lesson-detail p{font-size:13px}.video-overlay{padding:21px}.video-overlay p{font-size:11px}.message p{font-size:12px}.message{padding:16px}.assignment-card{padding:21px}.assignment-card .section-head{gap:10px}.assignment-card h3{font-size:15px}.chat-panel{padding:20px}.catalog-item{padding:22px}.list-row>div:first-child{min-width:0;width:100%}.list-row p{overflow-wrap:anywhere}footer{padding:0 17px 22px;flex-direction:column;gap:6px;font-size:10px}.login-shell{padding:12px}.login-story{min-height:385px;padding:25px;border-radius:24px}.login-story-copy{max-width:100%;margin-top:22px}.login-story .login-story-copy h1{font-size:41px;line-height:1.1;max-width:290px}.login-story .login-story-copy p{max-width:215px;font-size:12px}.login-story .login-visual{width:42%;height:165px;right:-5px;bottom:10px;opacity:.6}.login-story .login-logo{width:125px;height:31px}.login-story-foot{font-size:9px;margin-top:auto;padding-top:24px}.login-form-wrap{padding:33px 12px}.login-form-wrap h2{font-size:40px}.login-form-wrap .notice{padding:14px 14px}.test-roles{gap:8px}.test-roles button{font-size:10px;padding:12px 9px}.field input,.field textarea,.field select{font-size:14px}.quiz-options label{font-size:12px;align-items:flex-start}#modal{padding:21px}#modal-body .actions .button{width:100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:600px){.login-story{min-height:0;padding:24px}.login-story .login-story-copy h1{font-size:36px;max-width:none}.login-story .login-story-copy p{max-width:none}.login-story .login-visual{position:relative;width:calc(100% + 48px);height:165px;right:auto;bottom:auto;margin:16px -24px 0;opacity:1;object-position:center}.login-story-foot{padding-top:16px}.login-story-copy{margin-top:22px}.login-form-wrap{padding-top:29px}}
/* Original course content stays readable on narrow screens. */
.source-draft{margin-bottom:22px;background:#f3e7cf;border:1px solid #e7d4ac}
.module-title{font-family:Manrope,sans-serif;font-size:13px;line-height:1.5;color:#446351;margin:24px 0 10px;border-top:1px solid #e2e8de;padding-top:14px}
.source-richtext{font-size:16px;line-height:1.85;overflow-wrap:anywhere;margin:16px 0;max-width:76ch}
.source-richtext p{white-space:normal;margin:0 0 14px;font-size:inherit}
.source-richtext ul,.source-richtext ol{padding-left:24px}
.source-richtext h1,.source-richtext h2,.source-richtext h3{line-height:1.3;margin:24px 0 14px}
.source-richtext table{width:100%;table-layout:fixed;border-collapse:collapse}
.source-richtext td,.source-richtext th{padding:8px;border:1px solid #dce7dd;overflow-wrap:anywhere;min-width:0}
.source-image{margin:20px 0}.source-image img{display:block;max-width:100%;height:auto;max-height:620px;object-fit:contain;border-radius:16px}
.source-video-pending{display:flex;align-items:center;gap:18px;padding:25px;background:linear-gradient(120deg,#dcecd9,#e9e0f0);border-radius:22px;margin:18px 0}
.source-video-pending svg{width:34px;height:34px;stroke:#23483d;stroke-width:1.5;fill:none;flex-shrink:0}
.source-video-pending p{margin-bottom:0}.source-question{border:1px solid #d9e6da;border-radius:20px;padding:20px;margin:22px 0;min-width:0}.source-question legend{font-weight:600;padding:0 8px;font-size:16px;line-height:1.6;max-width:100%}
.source-question .quiz-options label{display:flex;align-items:flex-start;gap:10px;overflow-wrap:anywhere}.source-question input{flex-shrink:0;margin-top:6px}
.preparation-counts{display:grid;gap:6px;margin-top:14px;padding:13px;background:#f1f4eb;border-radius:12px;font-size:12px;color:#546b5d}
.source-video{margin:20px 0}.source-video video{display:block;width:100%;aspect-ratio:16/9;background:#172c25;border-radius:18px}
.lesson-file{margin:16px 0}.lesson-body{white-space:pre-wrap}#quiz-result{padding:16px 0;font-weight:600;line-height:1.7;overflow-wrap:anywhere}
@media(max-width:600px){.source-richtext{font-size:15px}.source-question{padding:14px 10px}.source-video-pending{padding:17px;gap:12px}.source-richtext h1{font-size:30px}.source-richtext h2{font-size:27px}.lesson-detail{min-width:0}.source-question legend{font-size:15px}.source-richtext table{font-size:12px}}

.video-position-caption{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 0;font-size:14px;color:var(--muted,#666)}

.student-access-actions{display:flex;flex-direction:column;gap:10px;align-items:flex-start;max-width:420px}.journal-count{display:inline-block;min-width:22px;border-radius:20px;padding:2px 7px;background:#355d3e;color:#fff;font-size:12px}.journal-card{padding:24px 0;border-top:1px solid #dbe4d7}.journal-card h2{font-size:23px;margin:12px 0}.journal-card a,.journal-notice a{color:#25482e}.journal-notice{margin-bottom:24px;background:#f0f5e9}.access-expiry{font-size:13px;color:#355d3e}#access-term-form fieldset{border:1px solid #c7d6c3;border-radius:12px;padding:16px;margin:16px 0}@media(max-width:700px){.student-access-actions{max-width:100%;margin-top:15px}.list-row{flex-wrap:wrap}.journal-card h2{font-size:20px}}

.bank-methods{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.bank-otp,.bank-option{background:#e8e5d5;color:#163d3b}.bank-bnpl{background:#d4e5da;color:#163d3b}.bank-methods button[aria-pressed=true]{outline:2px solid #315e59;outline-offset:3px}.bank-option{padding:14px 20px;border-radius:22px}.bank-address,.bank-spec{overflow-wrap:anywhere;white-space:pre-wrap;font-size:13px}.bank-spec{max-height:50vh;overflow:auto}

.bank-methods .button.bank-bnpl,.bank-methods .button.bank-bnpl:hover{background:#d4e5da;color:#163d3b}.bank-methods .button.bank-otp,.bank-methods .button.bank-otp:hover{background:#e8e5d5;color:#163d3b}.bank-methods .button span{color:inherit}

.test-roles[hidden]{display:none!important}

/* Private lesson materials, all URLs recheck the current session. */
.file-attachment{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 0;border-bottom:1px solid #dce4df}.file-name{overflow-wrap:anywhere}.file-name small{color:#6b7e77;margin-left:8px}.file-viewer{width:min(1100px,96vw);max-width:96vw;max-height:94dvh}.file-viewer #modal-body{min-height:0}.file-toolbar{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.file-pdf{display:block;width:100%;height:65dvh;min-height:300px;border:1px solid #dce4df;border-radius:14px;background:#f4f4ef}.file-image-stage{max-height:72dvh;overflow:auto;text-align:center;background:#f1f4ef;border-radius:14px}.file-image{display:block;max-width:100%;height:auto;margin:auto}.source-image-open{display:block;background:none;border:0;padding:0;width:100%;cursor:zoom-in}.source-image-open img{display:block;width:100%;height:auto}.file-toolbar a:focus-visible,.source-image-open:focus-visible{outline:3px solid #526f68;outline-offset:4px}@media(max-width:600px){.file-viewer{padding:18px;width:96vw}.file-pdf{height:62dvh}.file-attachment{align-items:flex-start;gap:10px}.file-attachment .actions{width:100%}}

#modal.file-viewer{width:min(1100px,96vw);max-width:96vw;max-height:94dvh}#modal.file-viewer #modal-body{max-height:calc(90dvh - 90px);overflow:auto}.pdf-navigation{display:flex;justify-content:center;align-items:center;gap:20px;margin:8px 0 16px;flex-wrap:wrap}.file-pdf-stage{min-height:240px;overflow:auto;background:#e9ece7;padding:12px;border-radius:14px;text-align:center}#file-pdf-canvas{display:block;margin:0 auto;max-width:100%;height:auto;background:white;box-shadow:0 2px 12px #183e361a}@media(max-width:600px){#modal.file-viewer{padding:14px}.pdf-navigation{gap:12px}.file-pdf-stage{padding:8px}}

/* Keep long original filenames inside the material viewer on phones. */
#modal.file-viewer{overflow-x:hidden}#modal.file-viewer .modal-top{min-width:0;align-items:flex-start}#modal.file-viewer #modal-title{min-width:0;flex:1;overflow-wrap:anywhere}#modal.file-viewer #modal-close{flex:0 0 auto}#modal.file-viewer #modal-body{width:100%;min-width:0}#modal.file-viewer .file-image-stage{width:100%;min-width:0}
/* School review records a content version; it never opens enrollment. */
.review-program-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px}.review-program-card{min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:22px}.review-program-card h2{font-size:clamp(22px,2vw,30px);line-height:1.15;overflow-wrap:anywhere}.review-program-card .actions{display:flex;flex-wrap:wrap;gap:10px}.review-program-card .button{max-width:100%;white-space:normal}.review-program-card .caption{overflow-wrap:anywhere}@media(max-width:760px){.review-program-grid{grid-template-columns:minmax(0,1fr)}.review-program-card .actions>*{flex:1 1 100%}}

.video-position-caption [data-video-quality-label]{display:inline-flex;align-items:center;gap:.45rem;font-size:.85rem;color:var(--muted,#596b68)}
.video-position-caption [data-video-quality-label][hidden]{display:none}
.video-position-caption [data-video-quality]{width:auto;min-height:2rem;margin:0;padding:.25rem .5rem;border:1px solid #bacbc4;border-radius:.5rem;background:#f7faf7;font:inherit;color:#284c48}

.document-delivery p{white-space:pre-wrap;overflow-wrap:anywhere}

.login-account-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.login-account-actions .button{flex:1 1 190px;min-height:46px}.course-access-options{display:grid;gap:12px;padding:16px;margin:0 0 20px;border:1px solid #d6dfd9;border-radius:12px;max-height:48vh;overflow:auto}.course-access-options label{display:flex;align-items:flex-start;gap:10px;line-height:1.5}.course-access-options input{flex:none;margin-top:5px;width:18px;height:18px}.student-access-actions{max-width:100%}

/* V82 course authoring */
.authoring-v82{max-width:820px}.authoring-v82 .field{margin:16px 0}.authoring-v82 input,.authoring-v82 textarea,.authoring-v82 select{max-width:100%;box-sizing:border-box}.authoring-lesson{padding:18px 0;border-bottom:1px solid #dce3d8}.authoring-lesson h3{margin:8px 0}.authoring-files{margin-top:28px}.authoring-v82 progress{display:block;width:100%;height:20px;margin:16px 0}.authoring-v82 .actions{gap:10px;flex-wrap:wrap}.authoring-v82 a{overflow-wrap:anywhere}.authoring-v82 ol{padding-left:24px}.authoring-v82 li{margin:12px 0}#authoring-message{overflow-wrap:anywhere} @media(max-width:600px){.authoring-v82 .actions .button{min-height:44px}.authoring-v82 .notice{padding:16px}.authoring-v82 .field input[type=file]{font-size:14px}}
