@font-face{font-family:system;src:local('Inter'),local('Arial')}*{box-sizing:border-box}html{background:#f5f7fb;color:#15233c;font-family:system,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}body{margin:0}[hidden]{display:none!important}header{height:86px;background:white;border-bottom:1px solid #e5eaf2;padding:0 max(24px,calc((100vw - 1240px)/2));display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;color:#0b388b;text-decoration:none;font-weight:800;font-size:22px;letter-spacing:-.6px}.brand-icon{background:#0b388b;color:white;width:42px;height:42px;display:grid;place-content:center;border-radius:12px;position:relative;font-size:28px}.brand-icon span{position:absolute;right:6px;bottom:7px;color:#ffd209;font-size:16px}.pilot{font-size:10px;letter-spacing:1.4px;color:#617189;border:1px solid #dfe5ee;padding:5px 7px;border-radius:6px;margin-left:5px}.connection{font-size:13px;color:#66758d;display:flex;align-items:center;gap:8px}.connection.live:before{content:'';width:8px;height:8px;background:#2b9c71;border-radius:50%}.connection.offline{color:#a26408}main{max-width:1240px;margin:auto;padding:52px 24px;min-height:calc(100vh - 156px)}h1,h2,p{margin-top:0}h1{font-size:40px;letter-spacing:-1.4px;margin-bottom:12px;line-height:1.15}h2{font-size:25px;line-height:1.4;letter-spacing:-.5px}p{line-height:1.65;color:#6a778c;font-size:15px}.eyebrow,.small-label,.sidebar-title{font-size:11px;letter-spacing:1.7px;font-weight:800;color:#6b7b95}.eyebrow{margin-bottom:20px;color:#0b388b}.landing{display:grid;grid-template-columns:1.25fr 1fr;gap:100px;padding:36px 20px 45px;align-items:center}.intro h1{font-size:62px;line-height:1.06;letter-spacing:-2.6px}.intro h1 span{color:#0b388b}.intro>p{max-width:440px;font-size:17px;margin:24px 0}.intro-pills{display:flex;gap:10px;flex-wrap:wrap}.intro-pills span{background:#e9eef7;color:#355582;padding:9px 13px;border-radius:30px;font-size:12px}.lesson-preview{margin-top:36px;max-width:435px;background:white;border:1px solid #e1e7f0;border-radius:16px;padding:22px 24px;box-shadow:0 10px 25px #102c5710;transform:rotate(-1.5deg)}.preview-top{display:flex;justify-content:space-between;font-size:12px;color:#8490a3}.live-dot{color:#238264;font-size:10px;font-weight:800;letter-spacing:1px}.lesson-preview p{margin:28px 0;color:#233b62;font-size:21px}.lesson-preview strong{background:#fff2ae;padding:3px 10px;border-radius:5px}.preview-bottom{border-top:1px solid #edf0f5;padding-top:14px;font-size:12px;color:#7f8a9a;display:flex;justify-content:space-between}.login-card{background:white;border:1px solid #e2e7f0;border-radius:22px;padding:40px;box-shadow:0 20px 50px #17356008}.login-card h2{font-size:30px;margin:22px 0 10px}.login-card p{margin-bottom:25px}label{display:block;font-size:13px;font-weight:600;margin-bottom:10px}input,textarea,select{width:100%;font:inherit;font-size:15px;border:1px solid #dbe2ed;padding:13px 15px;border-radius:10px;background:#fff;color:#172641;outline:none}input:focus,textarea:focus,select:focus{border-color:#0b388b;box-shadow:0 0 0 3px #0b388b15}textarea{resize:vertical;line-height:1.6}button,.primary{font:inherit;font-size:14px;font-weight:650;border:none;border-radius:10px;padding:13px 18px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;transition:background .15s}button:disabled{cursor:wait;opacity:.55}.primary{background:#0b388b;color:white}.primary:hover{background:#082b6a}.secondary{background:#eaf0fa;color:#0b388b}.quiet{background:transparent;color:#6b7890}.quiet:hover{background:#e9eef6}.danger{color:#a64747}.success{background:#e6f6ee;color:#23764f}form .primary{margin-top:16px}.login-card form .primary{width:100%;justify-content:space-between}.note{font-size:12px;color:#8893a5;line-height:1.65;margin-top:20px}.page-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.page-title .eyebrow{margin-bottom:12px}.page-title p{margin-bottom:0}.toolbar{display:flex;gap:6px;flex-wrap:wrap}.create-card{display:flex;align-items:end;gap:20px;background:white;border:1px solid #e0e6ef;border-radius:16px;padding:24px;margin-bottom:28px}.create-card>div{flex:1}.create-card .primary{margin-top:0;min-height:46px}.room-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.room-card{background:#fff;border:1px solid #e0e6ef;border-radius:16px;padding:24px}.room-card h2{font-size:20px;margin-bottom:12px}.room-card .tag{margin-bottom:20px;display:inline-block}.room-card button{width:100%}.empty{padding:36px;color:#7b889a;border:1px dashed #d3dce9;border-radius:16px}.class-grid{display:grid;grid-template-columns:270px 1fr;gap:28px;align-items:start}aside{background:#fff;border:1px solid #e1e7f0;border-radius:16px;padding:24px 16px}.sidebar-title{padding:0 8px 16px;display:flex;justify-content:space-between}.sidebar-title span{color:#0b388b;background:#eef2f9;padding:1px 6px;border-radius:4px}nav button{width:100%;display:flex;justify-content:start;text-align:left;background:transparent;color:#607089;padding:14px 12px;margin-bottom:6px;gap:12px;font-size:13px}nav button.active{background:#edf2fb;color:#0b388b}nav button span:first-child{background:#e9edf4;border-radius:7px;min-width:27px;height:27px;display:grid;place-content:center;font-size:12px}nav button.active span:first-child{background:#0b388b;color:white}nav button span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}nav button em{font-style:normal;color:#2d9467}.add-button{width:100%;background:#fff9dc;color:#776018;margin-top:12px;font-size:13px}.sidebar-note{font-size:12px;line-height:1.7;color:#93a0b1;margin:28px 10px 0}.exercise-card{background:white;border:1px solid #e1e7f0;border-radius:18px;padding:36px;min-height:455px}.exercise-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;color:#8b98ab;font-size:12px}.tag{background:#fff3b5;color:#786317;padding:6px 10px;border-radius:6px;font-size:11px;font-weight:700}.exercise-card h2{font-size:26px;font-weight:650;margin-bottom:26px;white-space:pre-wrap;overflow-wrap:anywhere}#answer-label{font-size:13px;margin-bottom:10px}.answer-input{min-height:135px;background:#fcfdff;font-size:18px}.gap-input{min-height:50px}.choice{width:100%;text-align:left;justify-content:start;border:1px solid #e1e7f0;background:#fff;color:#314462;padding:17px;margin-bottom:10px;font-weight:500;white-space:pre-wrap;overflow-wrap:anywhere}.choice.selected{border-color:#0b388b;background:#edf3ff;color:#0b388b}.choice:disabled{cursor:default;opacity:1}.teacher-answer{background:#f5f7fb;border:1px solid #e6ebf2;border-radius:10px;padding:20px;min-height:90px;white-space:pre-wrap;font-size:18px;line-height:1.6;overflow-wrap:anywhere}.teacher-answer.blank{color:#a1adbd;font-size:15px}.save-state{font-size:12px;color:#8b99ad;margin:12px 0 24px;min-height:16px}.save-state.saved{color:#2b946c}.save-state.pending{color:#aa771a}#feedback{border-radius:12px;padding:16px 20px;background:#edf3fa;margin:20px 0;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}#feedback.correct{background:#eaf6ee;color:#2b7552}#feedback.retry{background:#fff7df;color:#866926}#feedback-form{border-top:1px solid #edf0f5;padding-top:22px}.feedback-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.exercise-footer{margin-top:30px;padding-top:24px;border-top:1px solid #edf0f5;display:flex;justify-content:space-between;align-items:center;gap:14px}.exercise-footer>span{font-size:12px;color:#9aa5b5}.invite-panel{background:#edf3fd;border:1px solid #d7e3fa;border-radius:15px;padding:24px;margin-bottom:26px}.invite-panel p{font-size:13px;margin:8px 0 16px}.copy-row{display:flex;gap:10px}.copy-row input{font-size:12px}.blocked{text-align:center;padding:80px 20px}.blocked p{margin:24px auto;max-width:450px}dialog{border:1px solid #dfe5ee;border-radius:20px;width:min(560px,95vw);padding:30px;color:#15233c}dialog::backdrop{background:#15233c66;backdrop-filter:blur(3px)}.dialog-top{display:flex;justify-content:space-between;align-items:start}.dialog-top h2{margin-bottom:25px}dialog label{margin-top:16px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#182b49;color:white;padding:14px 22px;border-radius:12px;max-width:90vw;box-shadow:0 8px 25px #0b388b22;z-index:20;font-size:14px}footer{max-width:1240px;margin:auto;padding:22px 24px;font-weight:700;color:#6d7c92;font-size:12px;display:flex;justify-content:space-between}footer span{font-weight:400;color:#9ba6b6}:focus-visible{outline:3px solid #ffd209;outline-offset:3px}@media(max-width:950px){.landing{gap:40px;padding:20px 0}.intro h1{font-size:48px}.login-card{padding:28px}.room-grid{grid-template-columns:repeat(2,1fr)}.class-grid{grid-template-columns:220px 1fr;gap:16px}.exercise-card{padding:26px}.page-title{align-items:start}.toolbar{justify-content:end}}@media(max-width:680px){header{height:70px;padding:0 18px}.brand{font-size:19px}.brand-icon{width:34px;height:34px;font-size:24px}.pilot{display:none}.connection{font-size:11px}main{padding:30px 18px}.landing{grid-template-columns:1fr;gap:32px}.intro h1{font-size:43px}.intro>p{font-size:15px}.lesson-preview{display:none}.login-card{padding:28px}.page-title{display:block}.page-title h1{font-size:30px}.toolbar{justify-content:start;margin-top:20px}.create-card{display:block;padding:20px}.create-card .primary{width:100%;margin-top:14px}.room-grid{grid-template-columns:1fr}.class-grid{grid-template-columns:1fr}.sidebar-note{display:none}aside{padding:16px}nav{display:flex;gap:6px;overflow-x:auto}nav button{min-width:145px;max-width:180px;margin-bottom:0}.sidebar-title{padding-bottom:12px}.exercise-card{padding:24px 20px}.exercise-card h2{font-size:22px}.exercise-footer>span{display:none}.exercise-footer{justify-content:end}.copy-row{display:block}.copy-row button{margin-top:10px;width:100%}footer span{max-width:180px;text-align:right}.intro-pills span{font-size:11px}}
.library-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:50px 0 24px}.library-heading h2{margin:0}.library-heading .eyebrow{margin-bottom:10px}.lesson-heading{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:24px}.lesson-heading h2{margin-bottom:10px;font-size:27px}.lesson-heading p{margin:0;font-size:13px}.lesson-heading .eyebrow{margin-bottom:10px}.lesson-page{min-width:0}.exercise-cards{display:grid;gap:22px}.exercise-cards .exercise-card{min-height:0}.exercise-top{gap:12px;flex-wrap:wrap;margin-bottom:20px}.exercise-top .toolbar{margin-left:auto}.gap-sentence{font-size:22px;line-height:2.7;color:#233b62;white-space:pre-wrap;overflow-wrap:anywhere;padding:14px 0}.inline-gap{display:inline-block;width:145px;max-width:75vw;min-width:85px;margin:0 5px;padding:8px 10px;border-radius:7px;border:0;border-bottom:2px solid #0b388b;background:#eef3fc;font-size:19px;text-align:center}.inline-gap[readonly]{background:#fff5c9;border-color:#c5ac47;color:#344764}.feedback-box{border-radius:12px;padding:16px 20px;background:#edf3fa;margin:20px 0;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.feedback-box.correct{background:#eaf6ee;color:#2b7552}.feedback-box.retry{background:#fff7df;color:#866926}.card-feedback{border-top:1px solid #edf0f5;padding-top:18px}.card-feedback textarea{font-size:14px}.editor-toolbar{display:flex;justify-content:space-between;gap:15px;margin:22px 0}.editor-card .field-label{margin-top:18px}.editor-card label{font-weight:600}.editor-card textarea{background:#fcfdff}.editor-card{max-width:900px}#attach-library{display:grid;gap:14px;max-height:55vh;overflow-y:auto}#attach-library .room-card{padding:18px}#attach-library .room-card h2{font-size:19px;margin:0 0 8px}#attach-library .room-card p{margin-bottom:14px}nav button:disabled{cursor:default;opacity:1}#lesson-list button span:nth-child(2){white-space:normal;line-height:1.4}.exercise-cards .teacher-answer{min-height:75px}.exercise-cards .answer-input{font-size:17px}#editor>input{max-width:900px}.lesson-page .toolbar{justify-content:start}@media(max-width:950px){.lesson-heading{display:block}.lesson-heading .toolbar{margin-top:16px}.class-grid{grid-template-columns:230px 1fr}.gap-sentence{font-size:20px}}@media(max-width:680px){.class-grid{grid-template-columns:1fr}.library-heading{align-items:start}.library-heading .primary{font-size:12px;padding:12px}.lesson-heading h2{font-size:24px}.inline-gap{width:115px;font-size:17px}.gap-sentence{font-size:19px;line-height:2.9}.exercise-cards .exercise-card{padding:22px 18px}.exercise-top .toolbar{gap:0}.exercise-top button{padding:8px 12px}.editor-toolbar{flex-wrap:wrap}.editor-card .exercise-top{gap:4px}.lesson-heading .toolbar button{font-size:12px}}
