@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Pretendard:wght@400;500;600;700;800&display=swap');
:root{--ink:#20243a;--muted:#86899b;--line:#edf0f5;--paper:#fff;--canvas:#f5f6fa;--purple:#6558df;--purple2:#8176ef;--lavender:#f0efff;--mint:#dbf5ea;--green:#24a879;--orange:#ff9d58;--blue:#638eea;--radius:18px;font-family:Pretendard,'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--canvas);font-size:16.8px}button,input,select,textarea{font:inherit}button{cursor:pointer}.boot{height:100vh;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted)}.brand-mark{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:12px;background:linear-gradient(145deg,#8276fa,#594bd0);color:#fff;font-size:22.7px;font-weight:800;box-shadow:0 6px 16px #685de33b}.login-wrap{min-height:100vh;background:white;display:grid;grid-template-columns:minmax(360px,48%) 1fr}.login-art{position:relative;overflow:hidden;padding:42px clamp(36px,7vw,112px);color:white;background:radial-gradient(ellipse at 70% 28%,#8178f9 0,transparent 43%),linear-gradient(146deg,#6257df 0%,#5148c0 57%,#463da7 100%);display:flex;flex-direction:column;justify-content:space-between}.login-art:after{content:'';position:absolute;width:480px;height:480px;border:1px solid #ffffff21;border-radius:50%;right:-138px;bottom:-179px;box-shadow:0 0 0 46px #ffffff08,0 0 0 94px #ffffff06}.art-top{display:flex;align-items:center;gap:11px;font-size:14.4px;letter-spacing:.15em;font-weight:700}.art-top .brand-mark{background:#ffffff24;box-shadow:none;border:1px solid #ffffff33}.art-copy{z-index:1;margin-top:-20px}.eyebrow{display:block;font-size:14px;font-weight:700;letter-spacing:.15em;color:#9189e9}.eyebrow.light{color:#c7c3ff}.art-copy h1{font-size:clamp(38.9px,4vw,59.4px);letter-spacing:-.055em;line-height:1.26;margin:19px 0 16px;font-weight:750}.art-copy p{font-size:18px;line-height:1.9;color:#e2e0ff;margin:0}.art-note{display:flex;align-items:center;gap:13px;font-size:14px;color:#e1dfff;z-index:1}.art-note span:first-child{font-size:14px;border:1px solid #ffffff62;border-radius:20px;padding:6px 8px;letter-spacing:.08em}.float-card{z-index:1;position:absolute;right:42px;bottom:120px;background:white;color:var(--ink);padding:15px 19px;border-radius:15px;box-shadow:0 14px 36px #312a9a56;display:flex;align-items:center;gap:11px;font-size:14.4px;line-height:1.65;transform:rotate(3deg)}.float-icon{display:grid;place-items:center;background:#f0efff;color:#6558df;font-weight:700;width:38px;height:38px;border-radius:12px;font-size:20.5px}.float-card b{color:#5e53d2}.spark{align-self:flex-start;color:#ffa855;font-size:19.4px}.login-panel{display:grid;place-items:center;padding:42px}.login-inner{width:min(100%,382px)}.login-inner h2{font-size:32.4px;letter-spacing:-.045em;margin:11px 0 7px}.muted,.login-inner>p{color:var(--muted);margin:0 0 32px}.login-inner form{display:grid;gap:19px}.login-inner label,.form-grid label{display:grid;gap:9px;font-weight:600;font-size:14.4px}.login-inner input,.form-grid input,.form-grid select{height:47px;border:1px solid #e6e8ef;border-radius:10px;padding:0 14px;outline:0;color:var(--ink);background:#fff}.login-inner input:focus,.form-grid input:focus,.form-grid select:focus,.question-editor input:focus,.question-editor textarea:focus{border-color:#8c82ec;box-shadow:0 0 0 3px #7770dd17}.btn{border:0;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:43px;padding:0 17px;font-size:14.4px;font-weight:650;transition:.18s}.btn:hover{transform:translateY(-1px);filter:brightness(.98)}.btn.primary{background:var(--purple);color:white;box-shadow:0 6px 14px #6357dc2c}.btn.primary:hover{background:#594dcc}.btn.primary span,.btn.soft span,.btn.white span{font-size:19.2px;font-weight:400}.btn.full{width:100%}.login-inner .btn{height:49px;margin-top:2px}.login-inner .btn span{margin-left:auto;font-size:20.5px}.demo-box{background:#f7f7fb;border:1px solid #eff0f5;border-radius:12px;padding:15px;margin-top:22px}.demo-title{font-size:14px;font-weight:700;display:flex;gap:8px;align-items:center}.live-dot{width:7px;height:7px;border-radius:50%;background:#36bb8c;box-shadow:0 0 0 3px #36bb8c22}.demo-actions{display:flex;gap:8px;margin:12px 0 8px}.demo-actions button{border:1px solid #e8e8f0;border-radius:8px;background:#fff;color:#6159b7;padding:8px 11px;font-size:14px;font-weight:650}.demo-actions button:hover{border-color:#9b93ec}.demo-box small{color:#9697a5;font-size:14px}.demo-box code{background:#ecebf6;color:#5953a7;padding:2px 5px;border-radius:4px}.login-error{color:#dc5264;font-size:14.4px;min-height:0}.login-foot{text-align:center;margin-top:55px;color:#a4a5b1;font-size:14px}.login-foot span{padding:0 6px;color:#c9cad2}
.shell{min-height:100vh}.sidebar{width:245px;background:#fff;border-right:1px solid #edeef3;position:fixed;inset:0 auto 0 0;padding:24px 15px 14px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;color:var(--ink);font-size:16.8px;font-weight:750;letter-spacing:-.025em;padding:0 8px 29px}.brand small{display:block;font-size:14px;letter-spacing:.14em;color:#aaabb6;font-weight:700;margin-top:4px}.workspace-label{font-size:14px;font-weight:700;color:#b1b2be;letter-spacing:.13em;padding:0 12px 10px}.sidebar nav{display:grid;gap:5px}.nav-item{border:0;background:transparent;color:#777b8d;height:41px;text-align:left;padding:0 12px;border-radius:9px;display:flex;gap:12px;align-items:center;font-size:14.4px;font-weight:550}.nav-item>span{font-size:19.4px;color:#9698a9;width:18px;text-align:center}.nav-item:hover{background:#f8f7fd;color:#5549c7}.nav-item.active{background:#f0efff;color:#5b50cc;font-weight:700}.nav-item.active>span{color:#6558df}.nav-item i{font-style:normal;margin-left:auto;background:white;border-radius:20px;padding:3px 7px;font-size:14px;color:#8b89ad}.sidebar-bottom{margin-top:auto}.help-card{position:relative;overflow:hidden;margin:0 2px 14px;border-radius:13px;background:linear-gradient(138deg,#f4f1ff,#eff6ff);padding:15px 14px 14px}.help-glyph{display:block;color:#776be3;margin-bottom:7px}.help-card b{display:block;font-size:14px}.help-card small{display:block;color:#898b9b;font-size:14px;margin-top:5px}.profile{display:flex;align-items:center;gap:10px;width:100%;border:0;border-top:1px solid #f0f1f4;background:white;text-align:left;padding:15px 5px 2px}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fff0e2;color:#cb7835;font-size:14.4px;font-weight:750;flex:0 0 auto}.avatar.mint{background:#ddf5e9;color:#2b9d70}.profile b,.profile small{display:block}.profile b{font-size:14px}.profile small{font-size:14px;color:#9b9daa;margin-top:4px}.dots{margin-left:auto;color:#a7a8b4;letter-spacing:2px}.main{margin-left:245px;min-height:100vh}.topbar{height:62px;border-bottom:1px solid #ebeef3;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 37px}.crumb{color:#a2a4b2;font-size:14px}.crumb-sep{padding:0 10px;color:#d3d3dc;font-size:14px}.topbar>div:first-child b{font-size:14px}.top-actions{display:flex;align-items:center;gap:17px;color:#9b9daa}.icon-btn{position:relative;width:28px;height:28px;border:0;background:transparent;color:#7b7d8b;font-size:18.4px}.icon-btn i{position:absolute;right:4px;top:4px;width:5px;height:5px;background:#ff8d81;border:1px solid #fff;border-radius:50%}.top-date{font-size:14px}.avatar.small{width:29px;height:29px;font-size:14px}.page{max-width:1380px;margin:0 auto;padding:33px 37px 45px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:16px}.page-heading h1{font-size:27px;letter-spacing:-.05em;margin:7px 0 7px;font-weight:750}.page-heading p{font-size:14px;color:#9295a4;margin:0}.page-heading .btn{min-width:142px}.page-heading .btn span:first-child{font-size:18.4px}.wave{color:#8479ec;font-size:20.5px;margin-left:3px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.stat-card{position:relative;background:#fff;border:1px solid #eef0f4;border-radius:14px;padding:17px 18px 15px;min-height:127px;box-shadow:0 2px 7px #20243a04}.stat-icon{position:absolute;right:15px;top:15px;width:31px;height:31px;border-radius:10px;display:grid;place-items:center;font-size:18px}.stat-icon.purple{background:#f0efff;color:#7265dc}.stat-icon.blue{background:#edf3ff;color:#6188df}.stat-icon.orange{background:#fff3e9;color:#ee9656}.stat-icon.green{background:#e8f8f1;color:#37ac7e}.stat-label{display:block;color:#8d90a0;font-size:14px;font-weight:550;margin:2px 0 12px}.stat-card>b{display:block;font-size:29.2px;letter-spacing:-.05em}.stat-card>b small{font-size:14.4px;letter-spacing:0;color:#686c7e;margin-left:4px}.stat-foot{display:block;color:#b0b1bd;font-size:14px;margin-top:8px}.home-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr);gap:15px}.panel{background:#fff;border:1px solid #eef0f4;border-radius:15px;padding:18px 19px;margin-bottom:15px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.panel-head h2{font-size:16.8px;letter-spacing:-.025em;margin:0}.panel-head p{font-size:14px;color:#a0a2af;margin:6px 0 0}.text-btn{border:0;background:transparent;color:#7b70d6;font-size:14px;font-weight:650;white-space:nowrap}.text-btn span{font-size:16.8px;margin-left:5px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap}thead th{text-align:left;color:#a1a3b0;font-size:14px;font-weight:550;padding:9px 8px;border-bottom:1px solid #f0f1f5}tbody td{padding:12px 8px;border-bottom:1px solid #f3f4f7;color:#797d8e;font-size:14px}tbody tr:last-child td{border-bottom:0}.assignment-name{display:flex;align-items:center;gap:9px}.assignment-name b,.assignment-name small{display:block}.assignment-name b{color:#303349;font-size:14px;font-weight:650}.assignment-name small{font-size:14px;color:#a2a4b1;margin-top:5px}.book-icon{width:29px;height:29px;border-radius:8px;background:#f0efff;color:#7066d8;display:grid;place-items:center;font-size:14px;font-weight:700}.grade-chip{border-radius:20px;padding:5px 8px;color:#7166d7;background:#f1f0ff;font-size:14px;font-weight:650}.grade-chip.big{font-size:14px;padding:8px 13px}.submission-pill{background:#f6f7fa;border-radius:20px;padding:5px 8px;font-size:14px;color:#858898}.row-arrow{border:0;background:transparent;color:#b0b1bd;font-size:16.8px}.activity-list{display:grid}.activity-row{display:flex;align-items:center;gap:9px;width:100%;border:0;border-bottom:1px solid #f1f2f6;background:#fff;text-align:left;padding:12px 2px}.activity-row:last-child{border:0}.activity-row:hover{background:#fcfcff}.avatar.mini{width:29px;height:29px;font-size:14px}.activity-copy{flex:1;min-width:0}.activity-copy b,.activity-copy>span{display:block}.activity-copy b{font-size:14px}.activity-copy b small{font-size:14px;color:#a4a5b2;font-weight:500}.activity-copy>span{font-size:14px;color:#999ba8;margin-top:4px;overflow:hidden;text-overflow:ellipsis}.score{font-weight:700;color:#5c68d2;font-size:15.6px}.score small{font-size:14px;margin-left:2px}.score.good{color:#28a879}.score.low{color:#eb8567}.insight-panel{display:flex;align-items:center;gap:13px;background:linear-gradient(100deg,#faf9ff,#f5f8ff);border-color:#eeeefe;padding:15px 18px}.insight-mark{width:33px;height:33px;border-radius:10px;display:grid;place-items:center;background:#eceaff;color:#776de0}.insight-panel>div:nth-child(2){flex:1}.insight-panel b{font-size:14px}.insight-panel p{font-size:14px;color:#9698a7;margin:5px 0 0}.btn.soft{background:#f0efff;color:#6458ce}.btn.ghost{background:#f6f6f9;color:#676a7c}.empty{text-align:center;padding:38px 15px;color:#9b9dac;display:grid;justify-items:center;gap:8px}.empty>span{font-size:24.8px;color:#aaa4ed}.empty b{color:#55596b;font-size:14px}.empty small{font-size:14px}.empty.compact{padding:25px 12px}.list-panel{padding-bottom:8px}.count{font-size:14px;color:#8a7de0;background:#f0efff;border-radius:9px;padding:3px 7px;margin-left:5px}.filter-select{display:flex;align-items:center;gap:15px;border:1px solid #eff0f4;border-radius:8px;padding:8px 10px;font-size:14px;color:#7e8090}.filter-select b{font-size:16.8px;color:#a0a1ad}.recent-panel{max-width:none}.student-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:8px 0 7px}.student-card{border:1px solid #f0f1f5;border-radius:13px;padding:16px}.avatar.large{width:42px;height:42px;font-size:16.8px}.student-ident{display:grid;gap:4px;margin-top:10px}.student-ident b{font-size:14.4px}.student-ident>span{font-size:14px;color:#9799a7}.student-metrics{display:flex;gap:38px;margin:18px 0 12px}.student-metrics span{display:grid;gap:4px}.student-metrics b{font-size:15.6px}.student-metrics small{font-size:14px;color:#a2a4b1}.progress{height:5px;background:#f0f0f6;border-radius:8px;overflow:hidden}.progress i{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#8479ee,#a19afb)}.student-foot{display:block;font-size:14px;color:#a4a5b1;margin-top:8px}.report-stats{grid-template-columns:repeat(3,1fr)}.topic-bars{display:grid;gap:18px;padding:15px 2px}.topic-row{display:grid;grid-template-columns:145px minmax(100px,1fr) 93px;align-items:center;gap:16px;font-size:14px}.topic-row>span{color:#636678}.topic-row>b{font-size:14px;text-align:right;color:#55596b}.topic-row>b small{font-size:14px;color:#a1a2ad;font-weight:500}.bar{height:8px;background:#f3f2fa;border-radius:10px;overflow:hidden}.bar i{display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,#f4a470,#ee816c)}
.student-hero{height:214px;border-radius:17px;background:linear-gradient(106deg,#6055d8,#8076eb 72%,#958df1);color:#fff;display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;padding:25px 34px;margin-bottom:18px}.student-hero:after{content:'';position:absolute;width:270px;height:270px;right:60px;top:-107px;border:1px solid #ffffff27;border-radius:50%;box-shadow:0 0 0 31px #ffffff0b,0 0 0 65px #ffffff09}.student-hero h2{font-size:27px;line-height:1.35;letter-spacing:-.04em;margin:10px 0 6px}.student-hero p{font-size:14px;color:#e2dfff;margin:0 0 15px}.btn.white{min-height:36px;background:#fff;color:#5f53d3;padding:0 13px;font-size:14px}.hero-orbit{position:relative;width:255px;height:180px;z-index:1}.orbit-circle{position:absolute;right:75px;top:25px;width:120px;height:120px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#ffffff3d,#ffffff12);border:1px solid #ffffff67;font-size:43.2px;font-weight:700;letter-spacing:-.07em;color:#fff;transform:rotate(-9deg);box-shadow:0 14px 30px #4136b33b}.orbit-star{position:absolute;color:#fff4a8}.s1{right:53px;top:17px;font-size:23.8px}.s2{right:208px;top:110px;font-size:19.4px}.orbit-tag{position:absolute;right:13px;bottom:2px;background:#fff2a9;color:#5f55c6;width:49px;height:49px;border-radius:50%;display:grid;place-items:center;text-align:center;font-size:14px;font-weight:800;transform:rotate(12deg)}.student-stats{grid-template-columns:repeat(3,1fr)}.student-work{padding-bottom:19px}.student-assignment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.student-assignment{padding:15px;border:1px solid #f0f1f5;border-radius:13px;display:flex;flex-direction:column;min-height:196px}.assign-top{display:flex;justify-content:space-between;align-items:center}.subject-icon{width:34px;height:34px;border-radius:10px;background:#f0efff;color:#6e63d5;font-size:14px;font-weight:700;display:grid;place-items:center}.subject-icon.cyan{background:#eaf8fa;color:#49a3ae}.assign-grade{font-size:14px;color:#9698a8;background:#f6f7f9;border-radius:9px;padding:5px 7px}.assign-unit{font-size:14px;color:#9a9ca9;margin-top:13px}.student-assignment h3{font-size:14.4px;margin:5px 0 11px;letter-spacing:-.02em}.assign-meta{display:flex;gap:14px;font-size:14px;color:#a0a2ad;margin-bottom:15px}.student-assignment .btn{margin-top:auto}.last-score{font-size:14px;color:#a0a2ad;margin:-3px 0 10px}.last-score b{color:#5e58cb;font-size:14.4px;margin-left:4px}.history-list{display:grid}.history-row{display:flex;align-items:center;gap:12px;padding:13px 2px;border-bottom:1px solid #f1f2f5}.history-row:last-child{border:0}.history-check{width:26px;height:26px;border-radius:8px;background:#e8f8f1;color:#2aa77a;display:grid;place-items:center}.history-row>div{flex:1}.history-row b,.history-row small{display:block}.history-row b{font-size:14px}.history-row small{font-size:14px;color:#a0a2af;margin-top:5px}.history-row strong{font-size:14.4px;color:#655bd0}
.modal-backdrop{position:fixed;inset:0;z-index:20;background:#17172d7a;backdrop-filter:blur(3px);display:flex;justify-content:flex-end;align-items:stretch;animation:fade .16s ease}.creator-modal{width:min(720px,100%);height:100%;overflow:auto;background:#fff;padding:29px 30px 22px;box-shadow:-16px 0 50px #17172d21;animation:slide .2s ease}.modal-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:19px}.modal-head h2{font-size:23.8px;letter-spacing:-.045em;margin:7px 0}.modal-head p{font-size:14px;color:#989aa8;margin:0}.close-btn{border:0;background:#f4f4f8;width:32px;height:32px;border-radius:9px;color:#767989;font-size:22.7px;line-height:1;flex:0 0 auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-grid input,.form-grid select{height:41px;font-size:14px}.section-divider{display:flex;align-items:baseline;gap:9px;border-bottom:1px solid #eff0f4;padding:21px 0 9px;margin-bottom:10px}.section-divider span{font-size:14.4px;font-weight:700}.section-divider small{font-size:14px;color:#a1a3af}.question-editor{border:1px solid #eceef3;border-radius:12px;padding:13px;margin:11px 0;background:#fdfdff}.q-editor-head{display:flex;align-items:center;gap:9px;margin-bottom:12px}.q-number{width:25px;height:25px;border-radius:7px;display:grid;place-items:center;color:#6b60d2;background:#efedff;font-size:14px;font-weight:750}.q-editor-head select{border:1px solid #ebedf2;border-radius:7px;padding:6px 10px;font-size:14px;color:#5f6273;background:#fff}.remove-q{margin-left:auto;border:0;background:transparent;color:#c28383;font-size:14px}.q-field{display:grid;gap:6px;font-size:14px;color:#7e8191;margin:9px 0}.question-editor textarea,.question-editor input,.q-bottom select{border:1px solid #e9ebf1;border-radius:8px;padding:9px 10px;outline:0;color:#35384b;font-size:14px;background:white}.question-editor textarea{resize:vertical;line-height:1.55}.choices-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.choice-field{display:flex;align-items:center;gap:7px}.choice-field>span{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#f2f2f7;color:#8c8e9b;font-size:14px}.choice-field input{width:calc(100% - 27px);height:32px}.q-bottom{display:grid;grid-template-columns:145px 1fr;gap:10px;margin-top:9px}.q-bottom label{display:grid;gap:6px;color:#7d8090;font-size:14px}.q-bottom select,.q-bottom input{height:33px}.add-question{width:100%;height:35px;border:1px dashed #cbc8ee;border-radius:9px;background:#fbfaff;color:#7066ce;font-size:14px;font-weight:650}.student-picks{display:grid;grid-template-columns:1fr 1fr;gap:8px}.student-pick{display:flex;align-items:center;gap:8px;border:1px solid #eff0f4;border-radius:10px;padding:9px;position:relative;cursor:pointer}.student-pick input{accent-color:#6558df}.student-pick>span:nth-last-child(2){flex:1}.student-pick b,.student-pick small{display:block}.student-pick b{font-size:14px}.student-pick small{font-size:14px;color:#999ba7;margin-top:4px}.fake-check{display:none;color:#6558df}.student-pick:has(input:checked){border-color:#b7b1f2;background:#faf9ff}.modal-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:18px;margin-top:18px;border-top:1px solid #eef0f4}.modal-actions .btn{min-width:88px}
.quiz-backdrop{justify-content:center;align-items:center;padding:22px}.quiz-modal{width:min(900px,100%);max-height:min(850px,96vh);min-height:min(690px,96vh);display:flex;flex-direction:column;background:#fff;border-radius:19px;overflow:auto;box-shadow:0 22px 70px #14132d30}.quiz-head{height:64px;display:flex;align-items:center;padding:0 25px;border-bottom:1px solid #eff0f4}.quiz-head .brand{padding:0;font-size:14px}.quiz-head .brand-mark{width:28px;height:28px;font-size:18.4px;border-radius:9px}.quiz-head .brand small{font-size:14px}.quiz-title{margin:auto;font-size:14px;font-weight:650;color:#777a8c}.quiz-progress{padding:20px 48px 0}.quiz-progress>div:first-child{display:flex;justify-content:space-between;align-items:center;font-size:14px;color:#999ba8;margin-bottom:9px}.quiz-progress>div:first-child b{font-size:14.4px;color:#55596b}.quiz-progress>div:first-child b small{font-size:14px;color:#a8a9b4;font-weight:500}.quiz-question{padding:25px 65px;flex:1}.question-meta{display:flex;align-items:center;gap:10px;color:#aaa;letter-spacing:.08em;font-size:14px}.question-type{background:#f0efff;color:#7166d7;border-radius:20px;padding:5px 9px;letter-spacing:0;font-size:14px;font-weight:650}.quiz-question h1{font-size:24.8px;line-height:1.55;letter-spacing:-.035em;margin:22px 0}.passage-box{padding:15px 17px;background:#f8f8fc;border-radius:11px;margin:17px 0}.passage-box>span{font-size:14px;letter-spacing:.13em;color:#9a9ba9;font-weight:700}.passage-box p{font-family:'DM Sans',sans-serif;color:#505367;font-size:15.6px;line-height:1.8;margin:8px 0 0}.answer-choices{display:grid;gap:9px}.answer-choice{display:flex;align-items:center;gap:12px;text-align:left;min-height:48px;border:1px solid #eaecf2;border-radius:11px;padding:8px 13px;background:#fff;color:#4b4e61;font-size:14.4px}.answer-choice>span{width:26px;height:26px;border-radius:50%;background:#f5f5f8;color:#8d8f9f;display:grid;place-items:center;font-size:14px;font-weight:650}.answer-choice i{font-style:normal;margin-left:auto;color:transparent;border:1px solid #e5e5ed;width:19px;height:19px;display:grid;place-items:center;border-radius:50%;font-size:14px}.answer-choice:hover{border-color:#c8c3f2;background:#fdfcff}.answer-choice.selected{border-color:#776ce0;background:#f8f7ff;color:#554ac6}.answer-choice.selected>span{background:#6e62d7;color:#fff}.answer-choice.selected i{border-color:#7165dc;background:#7165dc;color:#fff}.quiz-footer{height:66px;border-top:1px solid #eff0f4;display:flex;align-items:center;justify-content:space-between;padding:0 28px}.quiz-footer>span{font-size:14px;color:#a1a3ae}.quiz-footer .btn{min-width:92px}.quiz-footer .btn:disabled{opacity:.5;cursor:default}.result-modal{align-self:center;margin:auto;width:min(590px,calc(100% - 28px));max-height:92vh;overflow:auto;background:#fff;border-radius:18px;padding:25px 26px 22px;position:relative;box-shadow:0 22px 65px #16152c35;animation:pop .18s ease}.result-modal>.close-btn{position:absolute;right:18px;top:18px}.result-confetti{width:45px;height:45px;border-radius:14px;background:#f0efff;color:#6e63d6;display:grid;place-items:center;font-size:23.8px;margin-bottom:13px}.result-modal h2{font-size:22.7px;letter-spacing:-.04em;margin:7px 0}.result-modal>p{font-size:14px;color:#999ba8;margin:0}.result-score{margin:16px 0;padding:13px 16px;border-radius:12px;background:linear-gradient(100deg,#f3f1ff,#f6f8ff);display:flex;align-items:center;justify-content:space-between}.result-score>b{font-size:32.4px;color:#6056d0;letter-spacing:-.05em}.result-score>b small{font-size:15.6px;margin-left:2px}.result-score>span{font-size:14px;color:#747789}.result-score i{font-style:normal;color:#c2c3cc;padding:0 4px}.result-details{display:grid;gap:7px;margin-bottom:14px}.result-item{display:flex;gap:9px;padding:10px;border:1px solid #eff0f4;border-radius:10px}.result-item>span{width:20px;height:20px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;font-size:14px}.result-item.correct>span{background:#e7f7ef;color:#2ea678}.result-item.wrong>span{background:#fff0eb;color:#e48064}.result-item>div{min-width:0}.result-item b{display:block;font-size:14px;line-height:1.5}.result-item small{display:block;font-size:14px;color:#d37b63;margin-top:5px}.result-item p{font-size:14px;color:#9698a7;margin:5px 0 0;line-height:1.5}.teacher-result{width:min(620px,calc(100% - 28px))}.teacher-result .eyebrow{margin-top:3px}.teacher-result .result-score{margin-top:16px}.teacher-result .result-item small{color:#7e8193}.result-done{margin-top:3px}@keyframes fade{from{opacity:0}to{opacity:1}}@keyframes slide{from{transform:translateX(18px);opacity:.8}to{transform:translateX(0);opacity:1}}@keyframes pop{from{transform:translateY(7px);opacity:.7}to{transform:translateY(0);opacity:1}}
@media(max-width:1100px){.sidebar{width:210px}.main{margin-left:210px}.page{padding:27px 24px}.topbar{padding:0 24px}.stats-grid{gap:9px}.stat-card{padding:15px}.home-grid{grid-template-columns:1fr}.activity-panel{display:none}.student-grid,.student-assignment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.login-art{padding:38px}.float-card{right:18px;bottom:90px}}
@media(max-width:720px){.login-wrap{grid-template-columns:1fr}.login-art{min-height:235px;padding:21px 24px}.art-top{font-size:14px}.art-copy{margin:22px 0 0}.art-copy h1{font-size:33.5px;margin:10px 0}.art-copy p{font-size:14px;line-height:1.6}.art-copy p br{display:none}.art-note{display:none}.float-card{right:15px;bottom:17px;padding:9px 12px;font-size:14px;transform:rotate(0)}.float-icon{width:29px;height:29px;font-size:16.8px}.login-panel{padding:32px 25px}.login-inner h2{font-size:27px}.login-foot{margin-top:30px}.sidebar{width:auto;height:60px;inset:auto 0 0;padding:0 8px;border-right:0;border-top:1px solid #eceef3;flex-direction:row;align-items:center}.brand,.workspace-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;width:100%;justify-content:space-around;gap:1px}.nav-item{height:52px;min-width:58px;justify-content:center;flex-direction:column;gap:1px;padding:3px 5px;font-size:14px}.nav-item>span{font-size:18.4px}.nav-item i{display:none}.main{margin-left:0;padding-bottom:60px}.topbar{height:52px;padding:0 16px}.top-date{display:none}.top-actions{gap:10px}.page{padding:23px 15px}.page-heading{align-items:flex-start;margin-bottom:17px}.page-heading h1{font-size:22.7px}.page-heading p{max-width:255px;line-height:1.55}.page-heading>.btn{min-width:auto;padding:0 11px;white-space:nowrap;font-size:14px;min-height:38px}.page-heading .btn span:first-child{display:none}.stats-grid{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.stat-card{min-height:108px;padding:13px}.stat-icon{width:27px;height:27px;right:11px;top:11px}.stat-label{font-size:14px;margin-bottom:10px}.stat-card>b{font-size:24.8px}.stat-foot{font-size:14px}.home-grid{gap:4px}.panel{padding:15px 13px;margin-bottom:11px}.panel-head h2{font-size:14.4px}.panel-head p{font-size:14px}.table-wrap{margin:0 -5px}table{min-width:590px}.student-hero{height:185px;padding:19px}.student-hero h2{font-size:21.6px}.student-hero p{max-width:190px;font-size:14px;line-height:1.5}.hero-orbit{width:110px;transform:scale(.7);transform-origin:center right;margin-right:-14px}.student-stats{grid-template-columns:repeat(3,1fr)}.student-stats .stat-card{min-height:100px}.student-stats .stat-label{max-width:70px;line-height:1.4}.student-stats .stat-card>b{font-size:21.6px}.student-assignment-grid,.student-grid{grid-template-columns:1fr}.student-assignment{min-height:180px}.topic-row{grid-template-columns:90px 1fr 67px;gap:8px;font-size:14px}.topic-row>b{font-size:14px}.topic-row>b small{display:block;margin-top:3px}.creator-modal{padding:22px 17px}.modal-head h2{font-size:20.5px}.form-grid{gap:9px}.form-grid label{font-size:14px}.form-grid input,.form-grid select{padding:0 9px;font-size:14px}.section-divider{padding-top:17px}.section-divider small{font-size:14px}.choices-grid{grid-template-columns:1fr}.q-bottom{grid-template-columns:105px 1fr}.student-picks{grid-template-columns:1fr}.quiz-backdrop{padding:0}.quiz-modal{max-height:100vh;min-height:100vh;border-radius:0}.quiz-head{padding:0 14px}.quiz-title{font-size:14px}.quiz-progress{padding:17px 19px 0}.quiz-question{padding:23px 19px}.quiz-question h1{font-size:20.5px}.answer-choice{min-height:47px;font-size:14px}.quiz-footer{padding:0 15px}.result-modal{padding:22px 17px}.result-modal h2{font-size:19.4px}.result-score>b{font-size:28.1px}}
.hidden{display:none!important}.question-entry form{padding:0 2px 3px}.question-entry .form-grid .wide-field{grid-column:1/-1}.question-entry textarea{border:1px solid #e9ebf1;border-radius:9px;padding:10px 12px;resize:vertical;line-height:1.55;color:var(--ink);outline:none;font-size:14px}.question-entry textarea:focus{border-color:#8c82ec;box-shadow:0 0 0 3px #7770dd17}.question-entry label small{font-weight:400;color:#a0a2ad}.question-entry .modal-actions{padding-top:13px;margin-top:12px}.bank-filter{border:1px solid #eceef3;background:white;border-radius:8px;padding:8px 11px;font-size:14px;color:#696d7f}.bank-list{display:grid}.bank-row{padding:15px 2px;border-top:1px solid #f0f1f5}.bank-row[hidden]{display:none}.bank-row-top{display:flex;align-items:center;gap:9px}.bank-type{font-size:14px;color:#8e90a0}.bank-row time{margin-left:auto;color:#aaa;font-size:14px}.bank-row h3{font-size:14.4px;font-weight:600;line-height:1.6;margin:10px 0}.bank-passage{background:#f8f8fb;padding:10px 12px;border-radius:8px;font-size:14px;line-height:1.65;color:#626578}.bank-options{display:grid;grid-template-columns:1fr 1fr;gap:7px}.bank-options span{background:#f8f8fb;padding:8px 10px;border-radius:7px;font-size:14px;color:#747789}.bank-options span.answer{background:#eff9f4;color:#218760;font-weight:650}.bank-explanation{font-size:14px;color:#9395a2;margin-top:10px}.bank-explanation b{color:#393d51}.worksheet-library{padding-bottom:20px}.library-note{font-size:14px;color:#8e8aaf;background:#f7f6ff;padding:8px 10px;border-radius:9px}.worksheet-list{display:grid;gap:11px}.worksheet-card{border:1px solid #eef0f4;border-radius:13px;padding:15px}.worksheet-card-main{display:flex;align-items:center;gap:12px}.worksheet-cover{width:44px;height:54px;border-radius:9px;background:linear-gradient(145deg,#f1efff,#e9f2ff);color:#7166d8;font-size:18.4px;font-weight:750;display:grid;place-items:center;box-shadow:inset -3px 0 #ddd9fa}.worksheet-card-main>div{flex:1}.worksheet-title-row{display:flex;align-items:center;gap:9px}.worksheet-title-row h3{font-size:14.4px;margin:0}.worksheet-card-main p{font-size:14px;color:#828596;margin:6px 0}.worksheet-card-main small{font-size:14px;color:#a1a3af}.status-chip{font-size:14px;color:#9a8e6c;background:#fbf5e8;padding:4px 7px;border-radius:20px}.status-chip.published{background:#e9f7ef;color:#2b9b6e}.worksheet-card-questions{display:grid;gap:6px;border-block:1px solid #f0f1f5;margin:13px 0;padding:11px 0}.worksheet-card-questions span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;color:#747789}.worksheet-card-questions b{color:#9d9eac;margin-right:5px}.worksheet-card-questions>small{font-size:14px;color:#aaa}.worksheet-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}.student-count{font-size:14px;color:#5e9b7c}.student-count.muted{color:#aaa}.worksheet-card-actions .btn{min-height:34px;font-size:14px}.workflow-hint{display:flex;justify-content:center;align-items:center;gap:11px;padding:12px;color:#9799a8;font-size:14px}.workflow-hint>span{width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:#efedff;color:#6e63d6;font-weight:700}.workflow-hint>b{font-size:14px;color:#6e7182}.workflow-hint>i{font-style:normal;color:#c8c9d1}.bank-picker{max-height:310px;overflow:auto;border:1px solid #eff0f4;border-radius:10px;padding:5px}.bank-pick{display:flex;align-items:center;gap:10px;padding:10px 8px;border-bottom:1px solid #f2f3f6;cursor:pointer}.bank-pick:last-child{border-bottom:0}.bank-pick input{accent-color:#6558df}.bank-pick>span:last-child{min-width:0}.bank-pick b,.bank-pick small{display:block}.bank-pick b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bank-pick small{font-size:14px;color:#9a9caa;margin-top:4px}.bank-pick:has(input:checked){background:#f9f8ff}.assign-modal{width:min(520px,100%);align-self:center;margin:auto;background:white;border-radius:16px;padding:25px;box-shadow:0 20px 60px #19183235}.due-field{display:grid;gap:7px;font-size:14px;font-weight:600}.due-field input{height:39px;border:1px solid #e9ebf1;border-radius:8px;padding:0 10px}.bank-filter,.due-field input{outline-color:#8c82ec}
@media(max-width:720px){.workflow-hint{gap:5px;font-size:14px;padding:10px 0}.workflow-hint>b{font-size:14px}.workflow-hint>i{font-size:14px}.worksheet-card{padding:12px}.worksheet-card-actions{justify-content:space-between}.bank-options{grid-template-columns:1fr}.question-entry .form-grid .wide-field{grid-column:1/-1}.bank-row h3{font-size:14px}.assign-modal{align-self:flex-end;border-radius:16px 16px 0 0;padding:22px 17px;max-height:92vh;overflow:auto}.page-heading .btn{white-space:normal}.nav-item{min-width:49px}}

.source-chip{font-size:14px;color:#887e56;background:#fcf8ea;padding:4px 7px;border-radius:20px;white-space:nowrap}

/* Daily vocabulary delivery, flashcards, and repeat quiz */
.vocab-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.vocab-teacher-panel{padding-bottom:8px}.vocab-deck-list{display:grid}.vocab-deck-row{display:flex;align-items:center;gap:14px;padding:15px 2px;border-top:1px solid #f0f1f5}.vocab-deck-icon{width:43px;height:43px;flex:0 0 auto;border-radius:13px;background:#f0efff;color:#675cd3;display:grid;place-items:center;font-weight:750;font-size:18px}.vocab-deck-main{flex:1;min-width:0}.vocab-deck-main>div{display:flex;align-items:center;gap:7px}.vocab-deck-main h3{font-size:14.4px;margin:8px 0 5px}.vocab-deck-main p,.vocab-deck-main>small{font-size:14px;color:#9496a5;margin:0}.vocab-deck-main>small{display:block;margin-top:6px}.vocab-deck-metrics{min-width:85px;text-align:right;display:grid;gap:5px}.vocab-deck-metrics b{font-size:15.6px;color:#4d5063}.vocab-deck-metrics b small{font-size:14px;color:#9496a5;margin-left:4px}.vocab-deck-metrics>span{font-size:14px;color:#9b9daa}.vocab-note{display:flex;align-items:center;gap:13px;flex-wrap:wrap;background:linear-gradient(100deg,#faf9ff,#f5f8ff)}.vocab-note>b{font-size:14px;margin-right:6px}.vocab-note>span{font-size:14px;color:#6a62c6;background:#fff;border:1px solid #efedf9;border-radius:20px;padding:7px 10px}.vocab-note>i{font-style:normal;font-size:14px;color:#b4b1d6}.vocab-note>small{flex-basis:100%;font-size:14px;color:#9b9daa}.vocab-student-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.vocab-student-card{border:1px solid #eceef4;border-radius:13px;padding:15px;display:flex;flex-direction:column;min-height:210px}.vocab-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.vocab-status{background:#fff6e8;color:#bc8940;border-radius:20px;padding:5px 8px;font-size:14px;white-space:nowrap}.vocab-status.done{background:#e9f8f0;color:#2a9b70}.vocab-student-card h3{font-size:15.6px;margin:14px 0 6px}.vocab-student-card>p{font-size:14px;color:#989aa8;margin:0 0 12px}.vocab-student-card>.progress{margin-bottom:10px}.vocab-last-score{font-size:14px;color:#8b8d9d;margin:0 0 10px}.vocab-student-card>.btn{margin-top:auto;min-height:35px}.vocab-student-card .vocab-retry-link{margin-top:7px}.vocab-intro{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(110deg,#f5f2ff,#f5f9ff);padding:22px 25px}.vocab-intro h2{font-size:18.4px;margin:8px 0 6px}.vocab-intro p{font-size:14px;line-height:1.6;color:#9294a3;margin:0;max-width:560px}.vocab-mark{width:64px;height:64px;border-radius:18px;display:grid;place-items:center;background:#fff;color:#756add;font-size:24.8px;font-weight:750;box-shadow:0 8px 22px #5547b010}.vocab-creator{width:min(820px,100%)}.vocab-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:15px 0 10px}.vocab-tools>span{font-size:14px;color:#898b9b}.vocab-tools .btn{min-height:34px;font-size:14px}.vocab-search{height:38px;width:100%;border:1px solid #e9ebf1;border-radius:9px;padding:0 11px;outline-color:#8c82ec;font-size:14px;margin-bottom:8px}.vocab-word-picker{max-height:330px;overflow:auto;border:1px solid #eff0f4;border-radius:10px;padding:4px}.vocab-word-pick{display:flex;align-items:center;gap:12px;padding:10px 9px;border-bottom:1px solid #f1f2f5;cursor:pointer}.vocab-word-pick:last-child{border-bottom:0}.vocab-word-pick:has(input:checked){background:#f8f7ff}.vocab-word-pick input{accent-color:#6558df}.vocab-word-term{width:100px;flex:0 0 auto}.vocab-word-term b,.vocab-word-term small,.vocab-word-definition b,.vocab-word-definition small{display:block}.vocab-word-term b{font-family:'DM Sans',sans-serif;font-size:14px}.vocab-word-term small{font-size:14px;color:#999baa;margin-top:4px}.vocab-word-definition{min-width:0}.vocab-word-definition b{font-size:14px}.vocab-word-definition small{font-size:14px;color:#9b9daa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}.vocab-modal{justify-content:center;align-items:center;padding:16px}.vocab-session{position:relative;width:min(640px,100%);max-height:94vh;overflow:auto;margin:auto;background:#fff;border-radius:18px;padding:24px;box-shadow:0 22px 65px #16152c35}.vocab-session>.close-btn{position:absolute;right:20px;top:19px}.vocab-session-head{display:flex;align-items:center;justify-content:space-between;padding-right:40px;margin-bottom:16px}.vocab-session-head b,.vocab-session-head small{display:block}.vocab-session-head b{font-size:14.4px}.vocab-session-head small{font-size:14px;color:#999baa;margin-top:5px}.vocab-session>.progress{margin-bottom:17px}.flashcard{min-height:330px;border:1px solid #ececf5;border-radius:16px;background:linear-gradient(145deg,#fbfaff,#fff);padding:30px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.flashcard-label{font-size:14px;color:#999baa}.flashcard h2{font-family:'DM Sans',sans-serif;font-size:38.9px;letter-spacing:-.04em;margin:14px 0 3px;color:#303349}.sound-btn{border:0;background:transparent;color:#6f64d8;font-size:14px;padding:9px 12px;margin-bottom:17px}.flashcard-answer{width:100%;border-top:1px solid #ececf3;padding-top:15px;margin:4px 0 12px}.flashcard-answer>b{font-size:19.4px}.flashcard-answer>p{font-family:'DM Sans',sans-serif;font-size:14.4px;line-height:1.6;color:#606376;margin:11px 0 4px}.flashcard-answer>small{font-size:14px;color:#999baa}.flashcard>[data-vocab-reveal]{width:min(300px,100%)}.vocab-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:13px}.vocab-exit{display:block;margin:14px auto 0}.vocab-session>h2{font-size:21.6px;margin:15px 0 6px}.vocab-session>p{font-size:14px;color:#9294a3}.vocab-finish-mark{width:68px;height:68px;border-radius:50%;background:#e8f8f0;color:#2da375;display:grid;place-items:center;font-size:33.5px;margin:25px auto}.vocab-session>.full+.full{margin-top:8px}.vocab-question{padding:22px 15px 16px;text-align:center}.vocab-question h2{font-size:25.9px;margin:10px 0}.vocab-question p{font-size:14px;color:#9496a4;margin:0}.vocab-choice-list{display:grid;grid-template-columns:1fr 1fr;gap:9px}.vocab-choice{min-height:56px;display:flex;align-items:center;gap:10px;text-align:left;background:#fff;border:1px solid #eaecf2;border-radius:11px;padding:9px 11px;font-family:'DM Sans',sans-serif;font-size:14.4px;color:#45485b}.vocab-choice>span{width:24px;height:24px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;background:#f4f4f8;color:#8e90a0;font:600 9px sans-serif}.vocab-choice>small{margin-left:auto;color:#9b9daa;font:8px sans-serif}.vocab-choice.selected{border-color:#776ce0;background:#f8f7ff;color:#554ac6}.vocab-choice.selected>span{background:#7165dc;color:#fff}.vocab-quiz-footer{display:flex;align-items:center;justify-content:space-between;margin-top:18px;padding-top:15px;border-top:1px solid #eff0f4}.vocab-quiz-footer>span{font-size:14px;color:#9b9daa}.vocab-quiz-footer .btn:disabled{opacity:.45;cursor:default}.vocab-result-session h2{padding-right:25px}.vocab-result-score{display:flex;align-items:center;justify-content:space-between;background:#f4f3ff;border-radius:12px;padding:13px 16px;margin:14px 0}.vocab-result-score>b{font-size:30.2px;color:#655ad3}.vocab-result-score>b small{font-size:14.4px}.vocab-result-score>span{font-size:14px;color:#77798a}.vocab-result-list{display:grid;gap:7px;max-height:310px;overflow:auto;margin-bottom:14px}.vocab-result-row{display:flex;gap:9px;border:1px solid #eff0f4;border-radius:10px;padding:10px}.vocab-result-row>span{width:21px;height:21px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;background:#fff1eb;color:#df8b6d;font-size:14px}.vocab-result-row.correct>span{background:#e9f8f0;color:#2c9f73}.vocab-result-row b{display:block;font-family:'DM Sans',sans-serif;font-size:14px}.vocab-result-row b small{font-family:inherit;font-size:14px;color:#858797;font-weight:500;margin-left:5px}.vocab-result-row p{font-family:'DM Sans',sans-serif;font-size:14px;color:#9b9daa;margin:5px 0 0}.vocab-result-session>.btn+.btn{margin-top:8px}
@media(max-width:720px){.vocab-stats{grid-template-columns:1fr 1fr}.vocab-student-grid{grid-template-columns:1fr}.vocab-deck-row{align-items:flex-start;gap:9px}.vocab-deck-icon{width:35px;height:35px;font-size:14.4px}.vocab-deck-main h3{font-size:14px}.vocab-deck-main>div{flex-wrap:wrap}.vocab-deck-metrics{min-width:60px}.vocab-note{gap:6px}.vocab-note>span{padding:6px 8px;font-size:14px}.vocab-intro{padding:16px}.vocab-mark{width:48px;height:48px;font-size:18.4px}.vocab-creator{padding:20px 15px}.vocab-tools{align-items:flex-start;flex-direction:column}.vocab-word-pick{gap:7px;padding:9px 5px}.vocab-word-term{width:76px}.vocab-word-definition small{max-width:170px}.vocab-session{padding:19px 15px;border-radius:16px}.flashcard{min-height:300px;padding:20px}.flashcard h2{font-size:33.5px}.vocab-choice-list{grid-template-columns:1fr}.vocab-choice{min-height:48px}.vocab-question h2{font-size:22.7px}}

.ai-actions{display:flex;align-items:center;gap:8px}.btn.ai{background:#21244f;color:#fff;border:1px solid #21244f}.btn.ai:hover{background:#34386f}.ai-gen-modal{width:min(760px,100%);align-self:center;margin:auto;background:#fff;border-radius:16px;padding:24px;max-height:92vh;overflow:auto;box-shadow:0 20px 60px #19183235}.ai-gen-modal .form-grid{margin-bottom:12px}.ai-gen-modal input:not([type=checkbox]),.ai-gen-modal select{height:38px;border:1px solid #e9ebf1;border-radius:8px;padding:0 10px;color:var(--ink);background:#fff}.ai-gen-modal label{display:grid;gap:6px;font-size:14px;font-weight:600}.ai-gen-modal .wide-field{grid-column:1/-1}.ai-key-status{font-size:14px;padding:10px 12px;border-radius:9px;margin:10px 0}.ai-key-status.ready{background:#eef8f2;color:#2f8b61}.ai-key-status.missing{background:#fff5e8;color:#a76a18}.ai-draft-list{display:grid;gap:10px;max-height:48vh;overflow:auto}.ai-loading{min-height:120px;display:grid;place-content:center;justify-items:center;gap:8px;color:#6d7082;text-align:center}.ai-loading small{font-size:14px;color:#9699a8}.loader{width:25px;height:25px;border:3px solid #e6e5f8;border-top-color:#675be0;border-radius:50%;animation:ai-spin .8s linear infinite}@keyframes ai-spin{to{transform:rotate(360deg)}}.ai-review-banner{position:sticky;top:0;z-index:1;background:#fff8e8;color:#987120;border:1px solid #f3e5bf;border-radius:9px;padding:10px 12px;font-size:14px}.ai-draft-card{border:1px solid #eceef4;border-radius:11px;padding:13px}.ai-draft-select{display:flex!important;grid-template-columns:none!important;align-items:center!important;gap:8px!important;color:#77798a!important;font-size:14px!important}.ai-draft-select input{accent-color:#6558df}.ai-draft-select span{margin-left:auto;color:#999baa}.ai-draft-card h3{font-size:14.4px;line-height:1.6;margin:10px 0}.ai-draft-card .bank-options{margin:8px 0}.ai-modal-actions{position:sticky;bottom:-24px;background:#fff;padding:12px 0 3px;margin-top:10px;border-top:1px solid #f0f1f5;justify-content:flex-end}.ai-modal-actions .hidden{display:none!important}
@media(max-width:720px){.ai-actions{gap:5px}.ai-actions .btn{padding:9px 10px;font-size:14px}.ai-gen-modal{align-self:flex-end;border-radius:16px 16px 0 0;padding:20px 16px;max-height:94vh}.ai-draft-list{max-height:40vh}.ai-modal-actions{bottom:-20px;flex-wrap:wrap}.ai-modal-actions .btn{flex:1;white-space:nowrap}.ai-modal-actions .btn.primary{flex:1.5}}

.daily-vocab-summary{display:grid;gap:8px;margin:18px 0;padding:18px;border:1px solid #e9e7fb;border-radius:12px;background:#f8f7ff;color:#494c60;font-size:16px;line-height:1.55}
.daily-vocab-summary>b{font-size:20px;color:#5549c7}
.daily-vocab-summary>small{font-size:15px;color:#555b6d}
.vocab-tools>span{font-size:15px;color:#555b6d}
.vocab-word-term small,.vocab-word-definition small{font-size:14.4px;line-height:1.5}
.vocab-word-definition>b{font-size:16px}
.vocab-creator .modal-head p{font-size:16px;line-height:1.6;color:#555b6d}
.vocab-creator .form-grid label{font-size:15px}
.vocab-creator .btn{font-size:15px;min-height:46px}
.vocab-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.page-heading p{font-size:16px;line-height:1.6;color:#555b6d}
.stat-label,.stat-foot,.panel-head p{font-size:15px}
@media(max-width:720px){.page-heading:has(.vocab-heading-actions){display:grid;grid-template-columns:1fr;align-items:stretch}.vocab-heading-actions{display:grid;grid-template-columns:1fr;gap:9px}.vocab-heading-actions>.btn{width:100%;min-height:48px;font-size:16px;white-space:nowrap}.page-heading p{font-size:16px;line-height:1.65}.stat-label,.stat-foot,.panel-head p{font-size:15px}}
/* Shared readability baseline for teacher and student screens. */
:root{--muted:#596071}
.nav-item{font-size:16px;min-height:46px;height:auto}
.nav-item i,.crumb,.crumb-sep,.topbar>div:first-child b,.top-date{font-size:15.5px}
.page-heading h1{font-size:31px;letter-spacing:-.025em}
.page-heading p{font-size:16.5px;color:#4e5464}
.eyebrow{font-size:15px}
.stat-label,.stat-foot,.panel-head p{font-size:16px;color:#4f5565}
.panel-head h2{font-size:19px}
.profile b{font-size:16px}
.profile small,.help-card small{font-size:15px;color:#545a69}
.grade-chip,.status-chip,.vocab-status{font-size:15px}
.btn{font-size:15.5px;min-height:46px}
@media(max-width:720px){.nav-item{font-size:14.5px;min-height:48px;height:auto}.page-heading h1{font-size:26px}.page-heading p{font-size:16px}.panel-head h2{font-size:18px}.btn{font-size:15.5px}.stat-label,.stat-foot,.panel-head p{font-size:15.5px}}

/* Login page: larger type, clear contrast, level alignment. */
.login-wrap {
  grid-template-columns: minmax(420px, 1fr) minmax(500px, 1fr);
  min-height: 100svh;
}
.login-art {
  padding: 48px clamp(36px, 6vw, 88px);
}
.art-top {
  font-size: 18px;
  letter-spacing: .11em;
}
.art-copy {
  margin-top: 0;
}
.eyebrow {
  font-size: 14.4px;
  letter-spacing: .1em;
}
.eyebrow.light {
  color: #f0eeff;
}
.art-copy h1 {
  font-size: clamp(45.4px, 4.3vw, 62.6px);
  line-height: 1.28;
  letter-spacing: -.04em;
}
.art-copy p {
  color: #f0eeff;
  font-size: 19.4px;
  line-height: 1.8;
}
.art-note {
  color: #f0eeff;
  font-size: 16.8px;
}
.float-card {
  right: 36px;
  bottom: 112px;
  transform: none;
  font-size: 16.8px;
  line-height: 1.6;
}
.login-panel {
  padding: 48px clamp(28px, 5vw, 72px);
}
.login-inner {
  width: min(100%, 440px);
}
.login-inner h2 {
  font-size: 38.9px;
  letter-spacing: -.035em;
  margin: 14px 0 10px;
}
.login-inner > p {
  color: #555b6d;
  font-size: 18.4px;
  line-height: 1.6;
  margin-bottom: 34px;
}
.login-inner form {
  gap: 22px;
}
.login-inner label {
  gap: 10px;
  font-size: 19.2px;
  color: #282d40;
}
.login-inner input {
  height: 56px;
  padding: 0 16px;
  font-size: 19.2px;
  border-color: #c9ced9;
}
.login-inner input::placeholder {
  color: #73798a;
  opacity: 1;
}
.login-inner input:focus {
  border-color: #5146c9;
  box-shadow: 0 0 0 3px #6558df25;
}
.login-inner .btn {
  height: 56px;
  font-size: 18.4px;
}
.login-inner .btn span {
  font-size: 22.7px;
}
.login-error {
  font-size: 16.8px;
}
.login-foot {
  margin-top: 40px;
  color: #626879;
  font-size: 15.6px;
}
.demo-box {
  padding: 18px;
  border-color: #d7d9e2;
}
.demo-title {
  font-size: 16.8px;
}
.demo-actions button {
  padding: 10px 13px;
  color: #40369f;
  font-size: 16.8px;
}
.demo-box small {
  color: #5d6374;
  font-size: 15.6px;
}
@media(max-width: 920px) {
  .login-wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
@media(max-width: 720px) {
  .login-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .login-art {
    min-height: 340px;
    padding: 26px 24px;
  }
  .art-copy {
    margin: 42px 0 30px;
  }
  .art-copy h1 {
    font-size: clamp(38.9px, 10vw, 49.7px);
    margin: 14px 0 12px;
  }
  .art-copy p {
    font-size: 19.2px;
  }
  .art-note,
  .float-card {
    display: none;
  }
  .login-panel {
    padding: 38px 24px 30px;
    place-items: start center;
  }
  .login-inner {
    max-width: 480px;
  }
}

/* Make every authenticated classroom view readable at normal browser zoom. */
.shell {
  zoom: 1.25;
  --muted: #626879;
}
.bank-filter-group{display:flex;gap:8px;align-items:center}
@media(max-width:720px){.bank-filter-group{width:100%}.bank-filter-group .bank-filter{flex:1;min-width:0}}

/* Kakao sign-in and student profile */
.kakao-login{display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;margin:20px 0 8px;border-radius:10px;background:#fee500;color:#191919;font-size:17px;font-weight:750;text-decoration:none}
.kakao-login:hover{background:#f5dc00;color:#191919}
.kakao-login.disabled{background:#f0f0ec;color:#555;cursor:not-allowed}
.kakao-setup-note{font-size:14px!important;line-height:1.55!important;color:#595c68!important;margin:0 0 16px!important}
.profile-setup{min-height:100vh;display:grid;place-items:center;padding:28px;background:#f5f6fb}
.profile-setup-card{width:min(520px,100%);display:grid;gap:16px;padding:38px;background:#fff;border:1px solid #e8eaf2;border-radius:20px;box-shadow:0 16px 50px #20213a12}
.profile-setup-card h1{font-size:30px;line-height:1.25;margin:0;color:#272941}
.profile-setup-card>p{font-size:17px;line-height:1.6;color:#565b6c;margin:0 0 5px}
.profile-setup-card label{display:grid;gap:8px;color:#35384b;font-size:16px;font-weight:700}
.profile-setup-card input,.profile-setup-card select{width:100%;height:52px;border:1px solid #cfd2df;border-radius:9px;padding:0 14px;background:#fff;color:#292c40;font:inherit;font-size:17px}
.profile-setup-card .btn{min-height:52px;font-size:17px}
.profile-privacy{font-size:14px;line-height:1.55;color:#626678}
.profile-panel{display:flex;align-items:center;justify-content:space-between;gap:20px}
.profile-panel h2{font-size:25px;margin:8px 0;color:#292c40}
.profile-panel p{font-size:16px;color:#585c6d;line-height:1.55}
.profile-panel .btn{min-width:145px;min-height:48px;font-size:16px}
.student-ident>small{display:block;margin-top:5px;font-size:14px;color:#4d5262}

/* High 1 textbook curriculum: chapter, theory, and assignment flows */
.textbook-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 20px;padding:26px 28px;border:1px solid #deddf8;border-radius:16px;background:linear-gradient(115deg,#f5f2ff,#f4f8ff)}
.textbook-intro h2{margin:8px 0;font-size:23px;line-height:1.45;color:#252a3f}
.textbook-intro p{max-width:830px;margin:0;color:#50576a;font-size:17px;line-height:1.7}
.textbook-badge{display:grid;place-content:center;flex:0 0 105px;height:105px;border-radius:22px;background:#6558df;color:white;text-align:center;font-weight:800;line-height:1.6}
.textbook-chapters{display:grid;gap:12px}
.textbook-chapter{overflow:hidden;background:white;border:1px solid #e6e8ef;border-radius:14px}
.textbook-chapter>summary{display:flex;align-items:center;gap:14px;min-height:79px;padding:14px 19px;cursor:pointer;list-style:none}
.textbook-chapter>summary::-webkit-details-marker{display:none}
.chapter-number{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:13px;background:#f0efff;color:#5e52d2;font-size:20px;font-weight:800}
.chapter-heading{display:grid;gap:5px;flex:1;min-width:0}
.chapter-heading>b{font-size:18px;color:#292d40}
.chapter-heading>small{font-size:15px;color:#686e7f}
.chapter-count{color:#6660c8;font-size:13px;font-weight:750;letter-spacing:.05em}
.chapter-chevron{color:#777b8c;font-size:21px;transition:transform .15s}
.textbook-chapter[open] .chapter-chevron{transform:rotate(180deg)}
.textbook-unit-list{padding:0 19px 13px 77px}
.textbook-unit{display:grid;grid-template-columns:75px minmax(150px,1fr) auto;align-items:center;gap:12px;padding:14px 0;border-top:1px solid #eff0f4}
.unit-number{color:#7469da;font-size:14px;font-weight:750;white-space:nowrap}
.textbook-unit-copy{display:grid;gap:4px;min-width:0}
.textbook-unit-copy>b{font-size:16.5px;line-height:1.45;color:#303449}
.textbook-unit-copy>small{font-size:14px;line-height:1.5;color:#646b7d}
.textbook-unit-actions{display:flex;gap:8px}
.textbook-unit-actions .btn{min-height:39px;padding:0 13px;font-size:14px;white-space:nowrap}
.lesson-modal{width:min(680px,calc(100% - 28px));padding:27px;max-height:90vh;overflow:auto}
.lesson-modal .modal-head h2{font-size:24px;line-height:1.4}
.lesson-modal .modal-head p{font-size:16px;color:#596071}
.lesson-goal{padding:17px 19px;background:#f0efff;border-radius:12px;color:#37364f}
.lesson-goal>b{font-size:16px;color:#5147b4}
.lesson-goal>p{margin:6px 0 0;font-size:17px;line-height:1.65}
.lesson-content{padding:4px 2px 14px}
.lesson-content h3{margin:20px 0 8px;font-size:17px;color:#373b50}
.lesson-content>p,.lesson-content li{font-size:16px;line-height:1.75;color:#4d5364}
.lesson-content blockquote{display:grid;gap:8px;margin:10px 0;padding:17px;border-left:4px solid #7769e3;border-radius:0 10px 10px 0;background:#f8f8fc}
.lesson-content blockquote b{font-size:18px;line-height:1.6;color:#252a3e}
.lesson-content blockquote span{font-size:15.5px;color:#565c6e}
.lesson-content ol{padding-left:23px}
.student-lesson-steps{display:grid;gap:7px;margin:13px 0;padding:13px;border:1px solid #e4e1fb;border-radius:11px;background:#f8f7ff;color:#474b5d}
.student-lesson-steps>b{font-size:15px;color:#5046b6}
.student-lesson-steps>span{font-size:14.5px}
.student-lesson-steps>.btn{margin-top:4px}
@media(max-width:850px){.textbook-intro{padding:19px}.textbook-intro h2{font-size:20px}.textbook-intro p{font-size:15.5px}.textbook-badge{flex-basis:82px;height:82px}.textbook-unit-list{padding-left:14px}.textbook-unit{grid-template-columns:66px minmax(130px,1fr);gap:9px}.textbook-unit-actions{grid-column:2;justify-content:flex-start}}
@media(max-width:720px){.textbook-intro{align-items:flex-start}.textbook-intro h2{font-size:18px}.textbook-intro p{font-size:15px}.textbook-badge{flex-basis:70px;height:70px;font-size:13px}.textbook-chapter>summary{gap:10px;padding:12px}.chapter-number{flex-basis:38px;height:38px;font-size:17px}.chapter-heading>b{font-size:16px}.chapter-heading>small{font-size:14px}.chapter-count{display:none}.textbook-unit{grid-template-columns:1fr;gap:6px;padding:13px 0}.unit-number{font-size:13px}.textbook-unit-copy>b{font-size:16px}.textbook-unit-copy>small{font-size:14px}.textbook-unit-actions{grid-column:auto}.textbook-unit-actions .btn{flex:1;min-height:43px}.lesson-modal{padding:20px 16px}.lesson-modal .modal-head h2{font-size:20px}.lesson-goal>p,.lesson-content>p,.lesson-content li{font-size:15.5px}}

/* Teacher vocabulary: one clear student path and readable assignment status. */
.vocab-start-guide{background:#fff;border:1px solid #e9eaf2;border-radius:16px;padding:22px 24px;margin:0 0 16px;box-shadow:0 5px 18px #25254508}
.vocab-guide-heading{display:flex;align-items:center;gap:13px}
.vocab-guide-icon{width:48px;height:48px;display:grid;place-items:center;flex:0 0 auto;border-radius:14px;background:#f0efff;color:#6659d7;font-size:20px;font-weight:800}
.vocab-guide-heading b,.vocab-guide-heading small{display:block}
.vocab-guide-heading b{font-size:19px;color:#292d42}
.vocab-guide-heading small{font-size:15px;line-height:1.55;color:#717487;margin-top:4px}
.vocab-start-guide ol{list-style:none;padding:16px 0 0;margin:16px 0 0;border-top:1px solid #eff0f4;display:flex;align-items:center;gap:10px}
.vocab-start-guide li{display:flex;align-items:center;gap:9px;color:#515469;font-size:16px}
.vocab-start-guide li+li:before{content:'→';color:#b4b5c2;margin-right:3px}
.vocab-start-guide li>span{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#f1efff;color:#6659d7;font-size:14px;font-weight:800}
.vocab-start-guide li strong{color:#5145c6}
.vocab-overview-strip{display:flex;align-items:center;gap:20px;background:#f9f9fc;border:1px solid #ececf3;border-radius:12px;padding:13px 18px;margin:0 0 18px;color:#696c7f;font-size:15px}
.vocab-overview-strip b{color:#303349;margin-left:5px}
.vocab-overview-strip i{height:20px;width:1px;background:#dedfe8}
.vocab-teacher-panel .panel-head{margin-bottom:0}
.vocab-deck-row{padding:20px 2px}
.vocab-deck-main h3{font-size:17px}
.vocab-deck-main p,.vocab-deck-main>small{font-size:15px}
.vocab-assigned-students{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.vocab-assigned-students>span{display:flex;align-items:center;gap:8px;background:#f7f7fb;border:1px solid #ededf3;border-radius:9px;padding:7px 10px}
.vocab-assigned-students b{font-size:14px;color:#4c4f62}
.vocab-assigned-students small{font-size:13px;color:#777a8c}
.vocab-deck-metrics b{font-size:17px}
.vocab-deck-metrics>span{font-size:14px}
.vocab-catalog-note{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:7px 2px;color:#777a8c;font-size:14px}
.vocab-catalog-note b{color:#4e5062}
.vocab-catalog-note small{color:#9698a5}
@media(max-width:720px){
 .vocab-start-guide{padding:17px 15px}
 .vocab-guide-heading b{font-size:17px}
 .vocab-guide-heading small{font-size:14px}
 .vocab-start-guide ol{align-items:flex-start;flex-direction:column;gap:9px;padding-top:13px}
 .vocab-start-guide li{font-size:15px}
 .vocab-start-guide li+li:before{content:'';display:none}
 .vocab-overview-strip{gap:8px;justify-content:space-between;padding:11px 9px;font-size:13px}
 .vocab-overview-strip b{display:block;margin:3px 0 0;font-size:14px}
 .vocab-overview-strip i{height:28px}
 .vocab-deck-row{flex-wrap:wrap}
 .vocab-deck-main{flex-basis:calc(100% - 50px)}
 .vocab-deck-metrics{margin-left:44px;min-width:unset;text-align:left;display:flex;gap:10px;align-items:center}
 .vocab-assigned-students>span{max-width:100%;flex-wrap:wrap}
 .vocab-catalog-note{align-items:flex-start;flex-direction:column;gap:5px}
}

/* Clear role switching, explicit sign-out, and a distraction-free assignment player. */
.demo-actions button{display:grid;gap:4px;flex:1;text-align:left;padding:10px 11px}
.demo-actions button b{font-size:14px;color:#5148bf}
.demo-actions button small{font-size:13px;color:#77798b;font-weight:500}
.logout-btn{height:36px;padding:0 13px;border:1px solid #e3e5ed;border-radius:9px;background:#fff;color:#4d5062;font-size:14px;font-weight:700}
.logout-btn:hover{border-color:#9a94e7;background:#f9f8ff;color:#5146c4}
.logout-btn:disabled{opacity:.6;cursor:wait}
.profile-setup-card .field-help{display:block;margin-top:7px;color:#8a8da0;font-size:13px;line-height:1.5}
.profile-panel small{display:block;margin-top:8px;color:#8a8da0;font-size:13px}
.nav-group{display:grid;gap:4px;margin-bottom:18px}.nav-group-label{padding:0 12px 6px;color:#b0b1bd;font-size:12px;font-weight:800;letter-spacing:.12em}.nav-group+.nav-group{padding-top:4px;border-top:1px solid #f0f1f5}.top-context{color:#777b8d;font-size:13px;font-weight:700;white-space:nowrap}.workflow-panel{padding:20px 21px;background:linear-gradient(135deg,#fff,#faf9ff);border-color:#e9e7fb}.workflow-status{padding:7px 10px;border-radius:999px;background:#f1f0ff;color:#6257c9;font-size:13px;font-weight:800;white-space:nowrap}.workflow-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.workflow-step,.study-plan-step{display:flex;align-items:center;gap:10px;border:1px solid #ececf3;background:#fff;border-radius:12px;padding:12px;text-align:left;color:#7a7d8d;transition:.18s ease}.workflow-step:hover,.study-plan-step:hover{border-color:#b8b2f1;transform:translateY(-1px);box-shadow:0 5px 14px #4d46a20d}.workflow-step>span,.study-plan-step>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#f2f2f7;color:#a0a2ae;font-size:13px;font-weight:900;flex:0 0 auto}.workflow-step.ready>span,.study-plan-step.active>span{background:#e9e7ff;color:#6458d2}.workflow-step div,.study-plan-step div{min-width:0;flex:1}.workflow-step b,.workflow-step small,.study-plan-step b,.study-plan-step small{display:block}.workflow-step b,.study-plan-step b{color:#34374a;font-size:14px}.workflow-step small,.study-plan-step small{margin-top:4px;color:#989aa8;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workflow-step strong,.study-plan-step strong{color:#b4b2c6;font-size:17px}.study-plan{margin-top:15px;background:#fff;border-color:#ececf3}.plan-date{color:#8a7de0;background:#f1f0ff;border-radius:999px;padding:7px 10px;font-size:13px;font-weight:800}.study-plan-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.study-plan-step{min-height:70px}.study-plan-step>span{width:34px;height:34px;border-radius:50%;background:#f3f3f8}.study-plan-step small{font-size:13px}.study-plan-step.active{border-color:#d9d5fb;background:#fdfcff}
@media(max-width:900px){.workflow-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.top-context{display:none}.study-plan-steps{grid-template-columns:1fr}}
@media(max-width:720px){.nav-group{margin-bottom:0}.nav-group-label{display:none}.sidebar nav{overflow-x:auto;justify-content:flex-start}.nav-group{display:flex;gap:2px}.nav-group+.nav-group{border:0;padding:0}.workflow-panel{padding:16px 13px}.workflow-panel .panel-head{align-items:flex-start}.workflow-status{font-size:12px}.workflow-steps{grid-template-columns:1fr 1fr;gap:7px}.workflow-step{padding:10px 8px;gap:7px}.workflow-step b{font-size:13px}.workflow-step small{font-size:11px}.workflow-step strong{display:none}.study-plan{padding:16px 13px}.study-plan-steps{gap:7px}.study-plan-step{min-height:58px;padding:10px 8px}.study-plan-step strong{font-size:15px}}
.unit-learning-intro{display:flex;align-items:center;justify-content:space-between;gap:25px;background:linear-gradient(135deg,#f8f7ff,#f4f9ff);border-color:#e7e6fb;padding:22px}.unit-learning-intro h2{font-size:21px;margin:8px 0}.unit-learning-intro p{color:#74788a;font-size:15px;margin:0;line-height:1.6}.unit-learning-metrics{display:flex;gap:14px;flex:0 0 auto}.unit-learning-metrics b{display:grid;justify-items:center;min-width:76px;padding:12px 9px;border-radius:12px;background:#fff;color:#5f55c9;font-size:22px}.unit-learning-metrics small{margin-top:4px;color:#999baa;font-size:12px;font-weight:700}.unit-chapter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.unit-chapter-card{background:#fff;border:1px solid #eceef4;border-radius:15px;padding:18px;box-shadow:0 2px 7px #20243a04}.unit-chapter-card>header{display:flex;align-items:flex-start;gap:12px;padding-bottom:14px;border-bottom:1px solid #f0f1f5}.unit-chapter-card .chapter-number{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#eeeaff;color:#6359d2;font-size:16px;font-weight:900}.unit-chapter-card header>div{flex:1;min-width:0}.unit-chapter-card h2{font-size:19px;margin:4px 0}.unit-chapter-card header small{color:#9699a8;font-size:13px}.chapter-result{padding:6px 8px;border-radius:999px;background:#f5f5f8;color:#9a9cab;font-size:12px;font-weight:800;white-space:nowrap}.chapter-result.done{background:#e9f8f1;color:#2b9d70}.unit-list{display:grid;gap:0;padding:8px 0 13px}.unit-learning-row{display:grid;grid-template-columns:59px 1fr auto;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid #f4f4f7}.unit-learning-row:last-child{border-bottom:0}.unit-learning-row>span{color:#9b9daa;font-size:11px;font-weight:800}.unit-learning-row>b{font-size:13px;color:#414458;line-height:1.35}.unit-learning-row .btn{min-height:31px;padding:0 8px;font-size:12px}.unit-exam-session{max-width:760px}.unit-exam-passage{padding:12px 14px;border-radius:10px;background:#f7f7fb;color:#55596b;line-height:1.6;text-align:left}.unit-result-list{display:grid;gap:8px;max-height:380px;overflow:auto;margin:15px 0}.unit-result-row{display:flex;gap:9px;padding:10px 11px;border-radius:10px;text-align:left;background:#fff5f2;border:1px solid #ffe5df}.unit-result-row.correct{background:#f0fbf6;border-color:#d8f2e5}.unit-result-row>span{font-weight:900;color:#e37e6f}.unit-result-row.correct>span{color:#2ba276}.unit-result-row b{display:block;font-size:13px}.unit-result-row p{margin:4px 0;color:#55596b;font-size:12px;line-height:1.4}.unit-result-row small{color:#8f92a1;font-size:11px;line-height:1.4}.unit-exam-result{max-width:760px}
@media(max-width:900px){.unit-chapter-grid{grid-template-columns:1fr}.unit-learning-intro{align-items:flex-start;flex-direction:column}.unit-learning-metrics{width:100%}.unit-learning-metrics b{flex:1}}
@media(max-width:720px){.unit-learning-intro{padding:16px 13px}.unit-learning-intro h2{font-size:19px}.unit-learning-intro p{font-size:14px}.unit-learning-metrics{gap:7px}.unit-learning-metrics b{min-width:0;font-size:19px;padding:10px 5px}.unit-chapter-card{padding:14px}.unit-chapter-card h2{font-size:17px}.unit-learning-row{grid-template-columns:50px 1fr}.unit-learning-row .btn{grid-column:2;justify-self:start}.unit-result-list{max-height:300px}}
.profile{cursor:default}
.quiz-backdrop{padding:0;justify-content:stretch;align-items:stretch;background:#f7f8fc;backdrop-filter:none}
.quiz-modal{width:100vw;height:100vh;height:100dvh;max-height:none;min-height:100vh;min-height:100dvh;border-radius:0;overflow:hidden;box-shadow:none}
.quiz-head{height:72px;flex:0 0 auto;padding:0 clamp(20px,4vw,64px)}
.quiz-progress{width:min(1120px,100%);margin:0 auto;padding:24px 32px 0}
.quiz-question{width:min(1120px,100%);margin:0 auto;padding:32px;overflow:auto}
.quiz-question h1{font-size:clamp(25px,2vw,34px)}
.answer-choice{min-height:58px;font-size:17px;padding:12px 16px}
.quiz-footer{height:82px;flex:0 0 auto;padding:0 clamp(20px,4vw,64px)}
.quiz-footer .btn{min-height:50px;min-width:130px;font-size:16px}
.quiz-footer>span{font-size:15px;color:#65697b}
.quiz-exit{margin-left:auto;border:1px solid #e3e5ed;border-radius:9px;background:#fff;color:#525568;padding:9px 15px;font-size:15px;font-weight:700}
.quiz-exit:hover{background:#f5f4ff;border-color:#c9c5ef}
@media(max-width:720px){
 .demo-actions{flex-direction:column}
 .logout-btn{height:34px;padding:0 10px;font-size:13px}
 .top-actions{gap:8px}
 .quiz-head{height:60px}
 .quiz-progress{padding:16px 18px 0}
 .quiz-question{padding:22px 18px;overflow:auto}
 .quiz-question h1{font-size:22px}
 .answer-choice{min-height:52px;font-size:16px}
 .quiz-footer{height:70px;padding:0 14px}
 .quiz-footer .btn{min-width:96px;min-height:46px;font-size:14px}
 .quiz-footer>span{font-size:13px}
 .quiz-exit{padding:8px 12px;font-size:14px}
}

/* Persistent account-role cue in the top-right, distinct from the account name. */
.mode-indicator{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border-radius:20px;font-size:14px;font-weight:800;white-space:nowrap}
.mode-indicator.teacher-mode{background:#f0efff;color:#5146c4;border:1px solid #dedafb}
.mode-indicator.student-mode{background:#eaf8f2;color:#21845f;border:1px solid #d0efdf}
.mode-indicator.admin-mode{background:#fff1df;color:#a5651e;border:1px solid #f2d4a6}
.logout-btn{white-space:nowrap}
@media(max-width:720px){.mode-indicator{min-height:30px;padding:0 9px;font-size:12px}.top-actions{gap:6px}}

@media(max-width:720px){.top-actions .icon-btn{display:none}}

.admin-approval-actions{display:flex;align-items:center;gap:8px}
.admin-approval-actions .btn{min-width:82px}
.login-role-switch{grid-template-columns:1fr 1fr}
.login-back{display:block;text-align:center;margin-top:20px;color:#6558df;font-size:14px;font-weight:700;text-decoration:none}
.admin-login-wrap .login-art{background:radial-gradient(ellipse at 70% 28%,#8d84ff 0,transparent 43%),linear-gradient(146deg,#6257df 0%,#5148c0 57%,#463da7 100%)}
@media(max-width:720px){.admin-approval-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.admin-approval-actions .btn{width:100%}.login-role-switch{grid-template-columns:1fr 1fr;gap:3px}.role-option{font-size:13px;padding:0 3px}}

/* Keep chapter cards and their mock-exam actions aligned within each row. */
.unit-chapter-grid{align-items:stretch}
.unit-chapter-card{display:flex;flex-direction:column;height:100%}
.unit-chapter-card .unit-list{flex:1}

/* The login choice is intentionally high contrast so the account mode is clear
   before credentials are submitted. */
.login-role-switch{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;background:#f1f1f7;border:1px solid #e5e5ef;border-radius:13px;margin:18px 0 9px}
.role-option{min-height:45px;border:0;border-radius:9px;background:transparent;color:#7e8191;font-size:15px;font-weight:800;cursor:pointer}
.role-option.active{background:#fff;color:#554bc5;box-shadow:0 2px 9px #20243a14}
.role-option:focus-visible{outline:3px solid #aaa4f2;outline-offset:2px}
.login-role-help{min-height:22px;margin:0 0 15px;color:#6f7284;font-size:14px;line-height:1.5}

/* Theory is a centered reading dialog, not a right-side editor drawer. */
.modal-backdrop:has(.lesson-modal){justify-content:center;align-items:center;padding:16px}
.lesson-modal{align-self:center;margin:auto;max-height:calc(100dvh - 32px);overflow:auto;border-radius:18px;box-shadow:0 22px 65px #17172d35}
.profile-student-name{margin:0 0 9px;color:#555b6d;font-size:16px;line-height:1.5}.profile-student-name b{color:#252a3e}
@media(max-width:1200px) and (min-width:901px){.top-context{max-width:360px;overflow:hidden;text-overflow:ellipsis}}

/* Teacher approval flow: applications remain visibly pending until an admin teacher approves them. */
.teacher-apply-link{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;border:0;background:transparent;color:#6257cc;font-size:15px;font-weight:750;padding:13px 0 2px}.teacher-apply-link:hover{color:#4137aa}.teacher-apply-link span{font-size:18px}.teacher-apply-card{width:min(560px,calc(100% - 32px));align-self:center;margin:auto;background:#fff;border-radius:18px;padding:28px;position:relative;box-shadow:0 22px 65px #17172d35}.teacher-apply-card h2{font-size:26px;margin:10px 0 8px}.teacher-apply-card>p{color:#626779;font-size:15px;line-height:1.6;margin:0 0 20px}.teacher-apply-card .form-grid{gap:16px}.teacher-apply-card .form-grid label{font-size:15px}.teacher-apply-card .form-grid input{height:48px;font-size:15px}.teacher-apply-card .form-grid small{color:#9699a8;font-weight:500}.teacher-apply-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:2px}.teacher-apply-actions .btn{min-width:120px}.approval-panel{border-color:#e4e0fc;background:linear-gradient(135deg,#fff,#faf9ff)}.approval-status{background:#fff5df;color:#b17327;border-radius:999px;padding:7px 10px;font-size:13px;font-weight:800}.approval-list{display:grid;gap:9px}.approval-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #eeeef5;background:#fff;border-radius:12px;padding:13px 14px}.approval-row>div{display:grid;gap:4px;min-width:0}.approval-row b{font-size:15px}.approval-row span{font-size:14px;color:#666b7b;overflow:hidden;text-overflow:ellipsis}.approval-row small{font-size:13px;color:#9a9cab}.approval-row .btn{min-width:92px;flex:0 0 auto}
.login-signup{display:flex;align-items:center;justify-content:center;gap:8px;margin:16px 0 0;color:#707486;font-size:14px}.login-signup button{border:0;background:transparent;color:#5d51c9;font-size:15px;font-weight:800;padding:4px}.login-signup button span{font-size:17px}.signup-choice-card{width:min(500px,calc(100% - 32px));align-self:center;margin:auto;background:#fff;border-radius:18px;padding:28px;position:relative;box-shadow:0 22px 65px #17172d35}.signup-choice-card h2{font-size:27px;margin:10px 0 7px}.signup-choice-card>p{color:#626779;font-size:15px;margin:0 0 19px}.signup-choice-list{display:grid;gap:10px}.signup-choice{position:relative;display:grid;gap:5px;text-align:left;border:1px solid #e9e9f2;border-radius:13px;background:#fff;padding:16px 48px 16px 17px}.signup-choice:hover{border-color:#9f96ee;background:#fbfaff}.signup-choice b{font-size:16px;color:#2e3347}.signup-choice small{font-size:14px;color:#777b8c}.signup-choice>span{position:absolute;right:17px;top:23px;font-size:21px;color:#675bd4}.signup-choice.student{border-color:#d9f0e4}.signup-choice.student>span{color:#2b9d70}
@media(max-width:720px){.teacher-apply-card,.signup-choice-card{padding:22px 17px;border-radius:16px}.teacher-apply-actions{flex-direction:column-reverse}.teacher-apply-actions .btn{width:100%}.approval-row{align-items:flex-start;flex-direction:column}.approval-row .btn{width:100%}}

/* Mobile pass: keep every primary action inside the viewport and make long
   learning panels scroll vertically instead of forcing a desktop canvas. */
@media(max-width:720px){
 html,body{width:100%;max-width:100%;overflow-x:hidden}
 .login-wrap{display:flex;flex-direction:column;min-height:100svh}
 .login-art{min-height:250px;flex:0 0 250px;padding:22px 20px 28px}
 .art-top{font-size:14px}
 .art-copy{margin:18px 0 0}
 .art-copy h1{font-size:34px;line-height:1.2;margin:10px 0 12px}
 .art-copy p{font-size:15px;line-height:1.55}
 .float-card{right:14px;bottom:15px;max-width:188px;padding:8px 10px;font-size:13px;line-height:1.45}
 .login-panel{display:block;padding:28px 18px 38px}
 .login-inner{width:100%;max-width:480px;margin:0 auto}
 .login-inner h2{font-size:30px;margin:10px 0 8px}
 .login-inner>p{font-size:16px;line-height:1.55;margin-bottom:20px}
 .login-role-switch{margin:15px 0 9px}
 .role-option{min-height:44px;font-size:15px}
 .login-role-help{font-size:15px;margin-bottom:17px}
 .login-inner label{font-size:16px}
 .login-inner input{height:52px;font-size:16px}
 .login-inner .btn{height:52px}
 .login-signup{margin-top:17px;font-size:14px}
 .teacher-apply-link{font-size:15px;padding:12px 0 0}
 .login-foot{margin-top:31px;font-size:13px}
 .sidebar{height:64px;padding:0 4px}
 .sidebar nav{width:100%;overflow-x:auto;justify-content:flex-start;gap:0;scrollbar-width:none}
 .sidebar nav::-webkit-scrollbar{display:none}
 .nav-group{display:flex;flex:0 0 auto;gap:0;margin:0}
 .nav-group+.nav-group{padding:0;border:0}
 .nav-item{flex:0 0 74px;min-width:74px;height:60px;min-height:60px;padding:5px 3px;font-size:12px;line-height:1.15;gap:3px}
 .nav-item>span{font-size:18px;width:auto}
 .main{padding-bottom:64px}
 .topbar{height:auto;min-height:58px;padding:9px 12px;gap:8px;align-items:center}
 .topbar>div:first-child{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
 .topbar>div:first-child b{font-size:14px}
 .crumb,.crumb-sep{font-size:12px}
 .top-actions{flex:0 0 auto;gap:5px}
 .top-context,.top-date,.top-actions .icon-btn,.avatar.small{display:none!important}
 .mode-indicator{min-height:29px;padding:0 7px;font-size:11px}
 .logout-btn{height:31px;padding:0 7px;font-size:12px}
 .page{width:100%;padding:18px 12px 82px}
 .page-heading{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-bottom:16px}
 .page-heading h1{font-size:25px;line-height:1.25}
 .page-heading p{max-width:none;font-size:15px;line-height:1.55}
 .page-heading>.btn{width:100%;min-height:46px;padding:0 14px;font-size:15px}
 .stats-grid{grid-template-columns:1fr 1fr;gap:8px}
 .stat-card{min-height:104px;padding:12px 11px}
 .stat-label,.stat-foot{font-size:13px}
 .stat-card>b{font-size:24px}
 .home-grid{grid-template-columns:1fr;gap:0}
 .activity-panel{display:block}
 .panel{width:100%;padding:15px 13px;border-radius:13px}
 .panel-head{align-items:flex-start;flex-wrap:wrap}
 .panel-head h2{font-size:17px}
 .panel-head p{font-size:14px;line-height:1.5}
 .table-wrap{width:100%;overflow-x:auto}
 .student-grid,.student-assignment-grid{grid-template-columns:1fr}
 .workflow-steps{grid-template-columns:1fr;gap:7px}
 .workflow-step{min-height:54px}
 .study-plan-steps{grid-template-columns:1fr;gap:7px}
 .study-plan-step{min-height:63px}
 .unit-chapter-grid{grid-template-columns:1fr;gap:11px}
 .unit-chapter-card{padding:14px}
 .unit-chapter-card h2{font-size:18px}
 .unit-learning-row{grid-template-columns:1fr;gap:7px;align-items:flex-start}
 .unit-learning-row .btn{grid-column:auto;width:100%;min-height:40px}
 .textbook-unit-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}
 .textbook-unit-actions .btn{width:100%;padding:0 7px}
 .form-grid{grid-template-columns:1fr;gap:11px}
 .choices-grid,.student-picks{grid-template-columns:1fr}
 .q-bottom{grid-template-columns:1fr}
 .creator-modal{width:100%;height:auto;max-height:94dvh;border-radius:18px 18px 0 0;padding:20px 15px 24px}
 .modal-backdrop{justify-content:center;align-items:flex-end;padding:0}
 .teacher-apply-card,.signup-choice-card{width:100%;max-height:94dvh;overflow:auto;border-radius:18px 18px 0 0;padding:22px 17px 24px}
 .lesson-modal{width:100%;max-height:94dvh;border-radius:18px 18px 0 0;padding:20px 16px}
 .vocab-session,.unit-exam-session,.unit-exam-result{width:100%;max-height:94dvh;border-radius:18px 18px 0 0;padding:19px 15px;overflow:auto}
 .quiz-backdrop{align-items:stretch;padding:0}
 .quiz-modal{width:100%;height:100dvh;min-height:100dvh;border-radius:0}
 .quiz-question{padding:20px 15px}
 .quiz-question h1{font-size:21px;line-height:1.45}
 .answer-choice{font-size:15px;min-height:52px;padding:10px 12px}
 .quiz-footer{padding:0 12px}
 .approval-row{padding:12px}
}

/* Mobile navigation and student home polish: use consistent vector icons and
   keep the hero message readable without decorative elements colliding with it. */
.nav-item>span.nav-icon{width:22px;height:22px;display:grid;place-items:center;flex:0 0 22px;color:currentColor}
.nav-svg{display:block;width:21px;height:21px}
.nav-word-icon{display:grid;place-items:center;font-size:16px;font-weight:850;letter-spacing:-.12em;line-height:1}
@media(max-width:720px){
 .nav-item>span.nav-icon{width:24px;height:24px;flex-basis:24px}
 .nav-svg{width:22px;height:22px}
 .nav-word-icon{font-size:16px}
 .student-hero{height:auto;min-height:0;padding:18px 17px;margin-bottom:12px;border-radius:16px;display:block}
 .student-hero:after,.student-hero .hero-orbit{display:none}
 .student-hero>div:first-child{position:relative;z-index:1}
 .student-hero .eyebrow{font-size:11px;letter-spacing:.12em}
 .student-hero h2{font-size:24px;line-height:1.28;margin:8px 0 7px}
 .student-hero p{max-width:none;font-size:14px;line-height:1.5;margin:0 0 14px}
 .student-hero .btn.white{min-height:42px;font-size:14px;padding:0 13px}
}

/* Mobile hamburger navigation: the full workspace menu lives in a clean drawer. */
.topbar-leading{display:flex;align-items:center;min-width:0}
.menu-toggle{display:none;border:0;background:transparent;color:#5551c9;width:34px;height:34px;padding:7px;border-radius:9px;place-items:center;gap:4px;flex:0 0 auto}
.menu-toggle span{display:block;width:18px;height:2px;border-radius:2px;background:currentColor}
.mobile-menu-backdrop,.mobile-menu{display:none}
@media(max-width:720px){
 .topbar-leading{gap:6px;min-width:0}
 .menu-toggle{display:grid;margin-right:2px}
 .menu-toggle:active{background:#f0efff}
 .mobile-menu-backdrop{display:block;position:fixed;inset:0;background:#19173555;opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:19}
 .mobile-menu-backdrop.open{opacity:1;pointer-events:auto}
 .mobile-menu{display:flex;position:fixed;z-index:20;inset:0 auto 0 0;width:min(315px,86vw);background:#fff;box-shadow:12px 0 35px #201d4b22;transform:translateX(-105%);transition:transform .22s ease;flex-direction:column;padding:18px 14px 15px}
 .mobile-menu.open{transform:translateX(0)}
 .mobile-menu-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:3px 7px 18px;border-bottom:1px solid #eff0f5}
 .mobile-menu-head>div{display:grid;gap:4px;min-width:0}
 .mobile-menu-head .eyebrow{font-size:11px;letter-spacing:.12em;color:#7a70dc}
 .mobile-menu-head b{font-size:18px;color:#252a3e}
 .mobile-menu-head small{font-size:13px;color:#8f92a1}
 .mobile-menu-close{width:34px;height:34px;border:0;border-radius:9px;background:#f5f5fa;color:#656879;font-size:24px;line-height:1;cursor:pointer}
 .mobile-menu-nav{display:grid;gap:4px;overflow:auto;padding:17px 0;flex:1}
 .mobile-menu-nav .nav-group{display:grid;gap:4px;margin:0 0 10px}
 .mobile-menu-nav .nav-group+.nav-group{border-top:1px solid #eff0f5;padding-top:13px}
 .mobile-menu-nav .nav-group-label{display:block;padding:0 12px 6px;color:#a3a5b1;font-size:11px;font-weight:800;letter-spacing:.12em}
 .mobile-menu-nav .nav-item{width:100%;height:46px;min-height:46px;flex:initial;flex-direction:row;justify-content:flex-start;gap:11px;padding:0 12px;font-size:15px}
 .mobile-menu-nav .nav-item i{display:block}
 .mobile-menu-nav .nav-item>span.nav-icon{flex-basis:23px;width:23px}
 .mobile-menu-logout{height:45px;border:1px solid #e6e7ef;border-radius:10px;background:#fff;color:#565969;font-size:14px;font-weight:750;text-align:left;padding:0 13px;display:flex;align-items:center;justify-content:space-between}
 .mobile-menu-logout span{color:#665bd2;font-size:19px}
}

/* Theory pop-up on small screens: keep the header and actions visible while
   the lesson body scrolls inside a proper bottom sheet. */
@media(max-width:720px){
 .modal-backdrop:has(.lesson-modal){justify-content:center;align-items:flex-end;padding:10px}
 .lesson-modal{width:min(100%,480px);height:min(calc(100svh - 20px),760px);max-height:calc(100svh - 20px);display:flex;flex-direction:column;overflow:hidden;padding:18px 16px 14px;border-radius:18px}
 .lesson-modal .modal-head{flex:0 0 auto;margin-bottom:12px}
 .lesson-modal .modal-head h2{font-size:20px;line-height:1.35;padding-right:6px}
 .lesson-modal .modal-head p{font-size:14px;line-height:1.45}
 .lesson-modal .lesson-goal{flex:0 0 auto;padding:14px 15px}
 .lesson-modal .lesson-goal>b{font-size:15px}
 .lesson-modal .lesson-goal>p{font-size:15px;line-height:1.5}
 .lesson-modal .lesson-content{flex:1 1 auto;min-height:0;overflow:auto;padding:0 2px 10px}
 .lesson-modal .lesson-content h3{font-size:16px;margin:16px 0 7px}
 .lesson-modal .lesson-content>p,.lesson-modal .lesson-content li{font-size:15px;line-height:1.6}
 .lesson-modal .lesson-content blockquote{margin:8px 0;padding:13px}
 .lesson-modal .lesson-content blockquote b{font-size:16px;line-height:1.45}
 .lesson-modal .modal-actions{flex:0 0 auto;display:grid;grid-template-columns:1fr;gap:8px;margin-top:8px;padding-top:10px}
 .lesson-modal .modal-actions .btn{width:100%;min-height:44px}
}

/* Unit learning cards use a single readable column on phones.  Keep every
   chapter action inside the viewport and let only the page scroll vertically. */
@media(max-width:720px){
 .unit-learning-intro{display:block;padding:16px 13px;overflow:hidden}
 .unit-learning-intro h2{font-size:20px;line-height:1.35;word-break:keep-all}
 .unit-learning-intro p{font-size:14px;line-height:1.55;word-break:keep-all}
 .unit-learning-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;margin-top:14px}
 .unit-learning-metrics b{min-width:0;width:100%;font-size:20px;padding:10px 4px;line-height:1.15}
 .unit-learning-metrics small{font-size:11px;white-space:nowrap}
 .unit-chapter-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:11px;width:100%;overflow:hidden}
 .unit-chapter-card{min-width:0;width:100%;padding:14px 12px;overflow:hidden}
 .unit-chapter-card>header{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:9px;align-items:start}
 .unit-chapter-card>header>div{min-width:0}
 .unit-chapter-card .chapter-number{width:40px;height:40px}
 .unit-chapter-card header .eyebrow{font-size:10px;line-height:1.2}
 .unit-chapter-card h2{font-size:18px;line-height:1.35;word-break:keep-all;overflow-wrap:anywhere}
 .unit-chapter-card header small{font-size:12px;line-height:1.4;word-break:keep-all}
 .chapter-result{font-size:11px;padding:5px 7px}
 .unit-list{padding:7px 0 11px}
 .unit-learning-row{grid-template-columns:minmax(0,1fr);gap:7px;padding:11px 0;align-items:stretch}
 .unit-learning-row>span{font-size:11px}
 .unit-learning-row>b{font-size:15px;line-height:1.45;word-break:keep-all}
 .unit-learning-row .btn{width:100%;min-height:42px;font-size:14px;padding:0 10px}
 .unit-chapter-card>.btn.full{width:100%;min-height:46px;font-size:14px;white-space:normal;line-height:1.3}
}
