/* app/globals.css */
@import "tailwindcss";:root{--g:#174c3b;--m:#dff4e8;--i:#17221c;--c:#fbf9f2;--o:#f17a5b}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--c);color:var(--i);font:16px Arial,sans-serif}.wrap{width:min(1160px,calc(100% - 40px));margin:auto}button,a{font:inherit}button{cursor:pointer}.nav{height:82px;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:4}.brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font-size:14px;line-height:1.05}.brand>b,.logo{display:grid;place-items:center;width:40px;height:40px;border-radius:12px 12px 12px 4px;background:var(--g);color:white;font:700 24px Georgia}.links{display:flex;gap:34px}.links a{color:#405048;text-decoration:none;font-weight:bold;font-size:14px}.actions{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:bold}.plain{border:0;background:none}.hamburger{display:none}.primary{border:0;background:var(--g);color:white;border-radius:11px;padding:13px 18px;font-weight:bold;text-decoration:none}.hero{min-height:610px;display:grid;grid-template-columns:1.05fr .95fr;gap:60px;align-items:center;padding:45px 0 90px}.hero label,.lessons label,.community>div>label,.steps label{color:var(--g);font-weight:800;font-size:12px;letter-spacing:.1em}.hero>div>label{background:var(--m);padding:9px 12px;border-radius:30px}.hero h1{font:clamp(52px,6vw,78px)/.98 Georgia;letter-spacing:-.05em;margin:25px 0}.hero h1 em{color:var(--o);font-weight:400}.hero>div>p{font-size:19px;line-height:1.6;color:#536158;max-width:590px}.hero-actions{display:flex;align-items:center;gap:25px;margin:30px 0}.talk{border:0;background:none;font-weight:bold}.visual{height:480px;background:var(--g);border-radius:42% 42% 18% 18%;position:relative;overflow:hidden}.visual>strong{position:absolute;inset:0;display:grid;place-items:center;color:#f6d36d;font:italic 145px Georgia}.visual>i{position:absolute;color:white;left:55px;top:75px;font:italic 24px Georgia}.visual article,.visual aside{position:absolute;background:white;border-radius:15px;padding:17px;z-index:2;box-shadow:0 18px 40px #001a102b}.visual article{left:25px;bottom:40px;width:250px;transform:rotate(-3deg)}.visual article>*{display:block;margin:5px}.visual article b{font:19px Georgia}.visual article small{color:#748078}.visual aside{right:20px;top:55px;display:flex;gap:7px;align-items:center;font-weight:bold;color:var(--g)}.visual aside svg{width:19px}.lessons{background:white;padding:90px 0}.lessons .wrap>header{display:flex;justify-content:space-between;align-items:end;margin-bottom:40px}.lessons h2,.community h2,.steps h2{font:44px Georgia;margin:10px 0}.lessons header p{max-width:410px;color:#67736c;line-height:1.6}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.cards>article{min-height:310px;border-radius:20px;padding:25px;display:flex;flex-direction:column}.c0{background:#ffe5dd}.c1{background:#e3edff}.c2{background:#fff0c9}.cards article>div{display:flex;justify-content:space-between}.cards article>div span{font:34px Georgia}.cards article>label{margin-top:42px}.cards h3{font:25px Georgia;margin:10px 0}.cards p{color:#5d6962;line-height:1.5}.cards button{margin-top:auto;border:0;border-top:1px solid #0002;background:none;padding-top:16px;text-align:left;font-weight:bold}.notice{margin-top:20px;background:var(--g);color:white;padding:14px;border-radius:10px;display:flex;justify-content:space-between}.notice button{border:0;background:none;color:white}.community{display:grid;grid-template-columns:.85fr 1.15fr;gap:80px;align-items:center;padding-top:100px;padding-bottom:100px}.community>div>p{color:#637068;line-height:1.65}.feature{display:flex;gap:13px;margin:20px 0}.feature>svg{color:var(--o)}.feature span{display:flex;flex-direction:column;gap:4px}.feature small{color:#69756f}.panel{min-height:420px;background:white;border:1px solid #dfe4df;border-radius:20px;box-shadow:0 25px 60px #143b2512;position:relative}.panel>header{display:flex;justify-content:space-between;padding:20px;border-bottom:1px solid #e5e8e4}.panel>header b{color:var(--g)}.new{border:0;background:var(--m);color:var(--g);font-weight:bold;border-radius:8px;padding:8px}.empty{min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;color:#718078}.empty svg{width:42px;height:42px}.empty h3{font:22px Georgia;color:var(--i);margin:12px}.empty p{max-width:290px}.group-list{padding:10px}.group-list>button{display:flex;width:100%;align-items:center;gap:12px;border:0;background:white;padding:13px;border-radius:10px;text-align:left}.group-list>button:hover{background:#f3f8f5}.group-list>button>b{display:grid;place-items:center;width:42px;height:42px;background:var(--m);color:var(--g);border-radius:11px;font:20px Georgia}.group-list span{display:flex;flex-direction:column;flex:1;gap:4px}.group-list small{color:#748078}.group-list i{font-style:normal}.steps{background:var(--g);color:white;padding:85px 0;text-align:center}.steps label{color:#9bd4bd}.steps>.wrap>div{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:45px;text-align:left}.steps article{border-top:1px solid #ffffff30;padding-top:22px}.steps article>b{display:grid;place-items:center;width:38px;height:38px;background:#ffffff12;border-radius:50%;color:#f6d36d}.steps h3{font:22px Georgia}.steps p{color:#bed1c8;line-height:1.6}footer{background:#102e24;color:white;padding:35px 0}footer .wrap{display:flex;justify-content:space-between;align-items:center;gap:20px}footer i{color:#adc2b8;font-family:Georgia}footer strong{font-size:13px}.shade{position:fixed;inset:0;background:#0b1c16aa;display:grid;place-items:center;z-index:20;padding:20px}.auth{width:min(430px,100%);max-height:92vh;overflow:auto;background:white;border-radius:22px;padding:32px;position:relative}.close{position:absolute;right:18px;top:18px;border:0;background:#f1f4f2;border-radius:50%;padding:8px}.auth h2{font:34px Georgia;margin:20px 0 5px}.auth>p{color:#68746d}.auth form{display:grid;gap:13px;margin-top:22px}.auth form label{display:grid;gap:7px;font-size:13px;font-weight:bold}.auth input,.auth select,.mini input,.mini select{height:45px;border:1px solid #d4dad5;border-radius:9px;padding:0 12px;font-size:16px;background:white}.auth form>.primary{margin-top:5px}.auth>small{display:block;text-align:center;margin-top:20px}.auth>small button{border:0;background:none;color:var(--g);font-weight:bold}.error{background:#fff0ed;color:#a23e2c;padding:10px;border-radius:8px}.sent{text-align:center;padding:25px 0}.sent svg{width:55px;height:55px;color:var(--g)}.mini{position:absolute;right:15px;top:65px;background:white;border:1px solid #ddd;border-radius:12px;padding:16px;z-index:3;box-shadow:0 15px 40px #0002}.mini form{width:270px;display:grid;gap:10px}.mini form>div{display:flex;justify-content:flex-end;gap:8px}.mini button{border:0;padding:9px;border-radius:8px}.chat{position:fixed;right:20px;bottom:20px;width:min(390px,calc(100% - 40px));height:min(600px,calc(100vh - 40px));background:white;border-radius:20px;box-shadow:0 25px 70px #102e2444;z-index:12;display:flex;flex-direction:column;overflow:hidden}.chat>header{background:var(--g);color:white;padding:17px;display:flex;justify-content:space-between}.chat>header span{display:flex;flex-direction:column}.chat>header small{color:#bcd3c8}.chat>header button{border:0;background:none;color:white}.messages{flex:1;overflow:auto;padding:16px;background:#f3f6f3}.messages .empty{min-height:100%}.messages article{max-width:82%;margin:10px 0}.messages article p{background:white;padding:10px 12px;border-radius:4px 13px 13px;margin:3px 0}.messages article small,.messages article time{font-size:11px;color:#748078}.messages article time{display:block;text-align:right}.messages .mine{margin-left:auto}.messages .mine p{background:var(--m);border-radius:13px 4px 13px 13px}.chat>form{display:flex;padding:12px;gap:8px}.chat>form input{flex:1;min-width:0;border:1px solid #d7ddd8;border-radius:12px;padding:12px;font-size:16px}.chat>form button{width:45px;border:0;background:var(--g);color:white;border-radius:12px}
@media(max-width:800px){.wrap{width:min(100% - 28px,1160px)}.links{display:none;position:absolute;top:72px;left:0;right:0;background:white;padding:20px;border-radius:14px;box-shadow:0 15px 35px #0002;flex-direction:column}.links.show{display:flex}.hamburger{display:block}.hide-mobile,.actions>span{display:none}.hero{grid-template-columns:1fr;gap:35px;padding-top:35px}.hero h1{font-size:54px}.visual{height:370px}.hero-actions{align-items:flex-start;flex-direction:column}.cards{grid-template-columns:1fr}.lessons .wrap>header{align-items:start;flex-direction:column}.lessons h2,.community h2,.steps h2{font-size:36px}.community{grid-template-columns:1fr;gap:35px}.steps{text-align:left}.steps>.wrap>div{grid-template-columns:1fr}footer .wrap{align-items:flex-start;flex-direction:column}.visual article{left:16px}.visual aside{right:12px}}

html,body{overflow-x:hidden}img,iframe{max-width:100%}button,.primary{min-height:44px}.plain{min-width:44px}.group-list span,.feature span{min-width:0}.group-list strong,.group-list small{overflow-wrap:anywhere}.cards .c3{background:#e3f5e9}.cards .c4{background:#ffe5ef}.cards .c5{background:#e7efff}.cards .c6{background:#fff1cc}
@media(max-width:520px){
 .wrap{width:calc(100% - 24px)}.nav{height:70px}.brand{gap:7px;font-size:12px}.brand>b{width:36px;height:36px}.actions{gap:3px}.actions>.primary{padding:10px 12px;font-size:12px}.hamburger{padding:8px}.links{top:64px;left:0;right:0;gap:4px;padding:9px}.links a{display:block;padding:12px;border-radius:8px}.links a:active{background:#eef6f1}
 .hero{min-height:auto;gap:24px;padding:28px 0 52px}.hero>div>label{display:inline-block;font-size:10px;line-height:1.35}.hero h1{margin:18px 0;font-size:clamp(42px,13vw,54px);line-height:1}.hero>div>p{font-size:17px;line-height:1.55}.hero-actions{gap:8px;margin:24px 0}.hero-actions .primary,.hero-actions .talk{display:flex;align-items:center;justify-content:center;width:100%;padding:14px;text-align:center}.visual{height:310px;border-radius:90px 90px 28px 28px}.visual>strong{font-size:105px}.visual>i{left:30px;top:50px}.visual article{bottom:22px;width:min(230px,72%);padding:13px}.visual aside{top:35px;right:8px;max-width:145px;padding:11px;font-size:12px}
 .lessons,.community,.steps{padding-top:58px;padding-bottom:58px}.lessons .wrap>header{margin-bottom:24px}.lessons h2,.community h2,.steps h2{font-size:32px;line-height:1.08}.lessons header p{margin-bottom:0}.cards{gap:14px}.cards>article{min-height:250px;padding:21px}.cards article>label{margin-top:24px}.cards h3{font-size:26px}.cards button{min-height:50px}.community{gap:26px}.feature{align-items:flex-start}.panel{min-height:350px;border-radius:16px}.panel>header{align-items:center;gap:8px;padding:14px}.panel>header b{font-size:14px}.new{flex:0 0 auto}.group-list{padding:6px}.group-list>button{padding:11px 8px}.group-list>button>b{flex:0 0 42px}.empty{min-height:260px;padding:20px 14px}.steps>.wrap>div{gap:24px;margin-top:30px}
 .shade{align-items:end;padding:0}.auth,.lesson-modal{width:100%;max-width:none;max-height:calc(100dvh - 18px);padding:24px 18px;border-radius:22px 22px 0 0}.auth h2{margin-top:18px;font-size:30px}.auth input,.auth select{height:48px}.mini{position:fixed;inset:auto 10px 10px;width:calc(100% - 20px);padding:16px;border-radius:16px}.mini form{width:100%}.mini form>div button{flex:1}.lesson-modal h2{font-size:28px}.lesson-modal>p{font-size:16px;line-height:1.65}
 footer .wrap{gap:10px}footer i{line-height:1.5}
}
@media(max-width:360px){.brand span{display:none}.actions>.primary{font-size:11px}.hero h1{font-size:40px}.visual aside{display:none}.panel>header b{font-size:13px}}
.skip-link{position:fixed;top:8px;left:8px;z-index:1000;transform:translateY(-150%);padding:11px 14px;border-radius:9px;background:#fff;color:var(--g);font-weight:800;box-shadow:0 6px 24px #0003}.skip-link:focus{transform:translateY(0)}:focus-visible{outline:3px solid #f1a14b;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.6}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
.google-signin{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;margin-top:20px;border:1px solid #ccd5d0;border-radius:10px;background:#fff;color:#263b33;font-weight:800}.google-signin:hover{background:#f7faf8;border-color:#aebdb5}.google-signin svg{width:21px;height:21px;flex:0 0 21px}.auth-divider{display:flex;align-items:center;gap:10px;margin:15px 0 0;color:#7b867f;font-size:12px}.auth-divider::before,.auth-divider::after{content:"";height:1px;flex:1;background:#dfe5e1}
.nav-profile{display:grid;place-items:center;width:42px;height:42px;min-width:42px;border:1px solid #d4ded8;border-radius:50%;background:#fff;color:var(--g)}.nav-profile svg{width:21px;height:21px}@media(max-width:520px){.nav-profile{width:40px;height:40px;min-width:40px}}


/* app/otp.css */
.verify>p{color:#68746d;line-height:1.5}.otp{display:grid;grid-template-columns:repeat(8,1fr);gap:6px;margin:24px 0}.otp input{width:100%;height:54px;text-align:center;padding:0;font-size:25px;font-weight:800;border:2px solid #d4dad5}.otp input:focus{outline:0;border-color:#174c3b;box-shadow:0 0 0 3px #dff4e8}.verify-btn{width:100%;margin-top:14px}.resend,.wrong{display:block;margin:14px auto 0;border:0;background:none;color:#174c3b;font-weight:bold}.resend:disabled{color:#89938e}.wrong{font-weight:normal;text-decoration:underline;color:#68746d}
@media(max-width:520px){.otp{gap:4px;margin:20px 0}.otp input{min-width:0;height:46px;font-size:21px;border-radius:7px}.verify>p{overflow-wrap:anywhere}}
@media(max-width:350px){.otp{gap:3px}.otp input{height:42px;font-size:19px}}


/* app/group-room.css */
.room{width:min(560px,100vw)}
.video-lessons{padding:85px 0;background:#eef6f1}.video-lessons header{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:24px}.video-lessons label{color:#174c3b;font-size:12px;font-weight:800;letter-spacing:.1em}.video-lessons h2{margin:9px 0 0;font:42px Georgia,serif;color:#173f33}.video-lessons header>a{color:#174c3b;font-weight:800;text-decoration:none}.video-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 24px;padding:10px 12px 10px 16px;border:1px solid #d4e2da;border-radius:13px;background:#fff}.video-tools>span{color:#53645b;font-size:13px;font-weight:800}.video-tools>div{display:flex;gap:7px}.video-tools button{display:flex;align-items:center;gap:6px;padding:9px 12px;border:1px solid #cfdbd4;border-radius:9px;background:#fff;color:#526159;font-weight:700}.video-tools button.active{border-color:#174c3b;background:#174c3b;color:#fff}.video-tools svg{width:17px;height:17px}.video-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;transition:.2s}.video-grid.portrait{grid-template-columns:repeat(3,1fr)}.video-grid article{overflow:hidden;padding-bottom:18px;border:1px solid #d8e3dc;border-radius:17px;background:#fff;box-shadow:0 12px 35px #163b2d12}.video-frame{position:relative;aspect-ratio:16/9;background:#102e24;transition:.2s}.video-grid.portrait .video-frame{aspect-ratio:9/16}.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.video-grid small,.video-grid h3{display:block;margin-left:18px;margin-right:18px}.video-grid small{margin-top:16px;color:#e47755;font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.video-grid h3{margin-top:6px;margin-bottom:0;color:#173f33;font:22px Georgia,serif}.video-grid.portrait h3{font-size:19px}.video-credit{margin:22px 0 0;color:#6e7771;font-size:13px}
.room-tabs{display:flex;padding:0 22px;border-bottom:1px solid #e8e2d9;background:#fff}
.room-tabs button{display:flex;min-width:0;flex:1;align-items:center;justify-content:center;gap:7px;padding:14px 10px;border:0;border-bottom:3px solid transparent;background:transparent;color:#746b61;font-weight:700;cursor:pointer}
.room-tabs button.active{color:#245c48;border-color:#245c48}.room-tabs svg{width:17px}
.lesson-room{overflow:auto;padding:20px;flex:1;background:#f7f3ed}.post-button{width:100%;margin-bottom:16px}
.published-lessons{display:grid;gap:14px}.published-lessons article{padding:19px;background:#fff;border:1px solid #e6ded3;border-radius:14px;box-shadow:0 5px 18px #392f2210}
.published-lessons label{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#b56835;font-weight:800}.published-lessons h3{margin:6px 0 2px;color:#243d35}.published-lessons small{color:#8b8177}
.published-lessons p{white-space:pre-wrap;line-height:1.65;color:#4e4943}
.lesson-editor{position:absolute;inset:0;z-index:5;display:grid;place-items:center;padding:20px;background:#173a30cc;backdrop-filter:blur(4px)}
.lesson-editor form{width:100%;max-height:92vh;overflow:auto;padding:22px;background:#fff;border-radius:16px}.lesson-editor h3{margin:0 0 16px}.lesson-editor label{display:grid;gap:6px;margin:12px 0;font-size:13px;font-weight:700;color:#3e4944}
.lesson-editor input,.lesson-editor select,.lesson-editor textarea{width:100%;padding:11px 12px;border:1px solid #d8d1c7;border-radius:8px;font:inherit}.lesson-editor textarea{resize:vertical;line-height:1.5}
.lesson-editor form>div:last-child{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.lesson-editor button{padding:10px 15px;border:0;border-radius:8px;cursor:pointer}
.assignment-list{display:grid;gap:11px}.assignment-list>button{display:flex;align-items:center;gap:12px;width:100%;padding:16px;border:1px solid #ded7cd;border-radius:13px;background:#fff;color:#203c32;text-align:left;cursor:pointer}.assignment-list>button:hover{border-color:#79a28f}.assignment-list svg{width:23px;color:#e47755}.assignment-list span{display:grid;gap:4px;flex:1}.assignment-list small{color:#776f66}.assignment-list i{font-style:normal;font-size:20px}
.assignment-detail{position:absolute;inset:0;z-index:7;overflow:auto;padding:20px;background:#173a30cc;backdrop-filter:blur(4px)}.assignment-detail>section{position:relative;min-height:100%;padding:24px;border-radius:17px;background:#faf7f1}.assignment-detail .close{position:absolute;top:16px;right:16px;display:grid;place-items:center;border:0;background:transparent;color:#173f33;cursor:pointer}.assignment-detail>section>label{color:#e47755;font-size:11px;font-weight:900;letter-spacing:.08em}.assignment-detail h2{margin:7px 42px 3px;color:#173f33}.assignment-detail>section>small{color:#746d65}.assignment-detail>section>p{white-space:pre-wrap;line-height:1.65;color:#48443f}
.answer-form,.submission-list article{display:grid;gap:12px;margin-top:22px;padding:18px;border:1px solid #ddd5ca;border-radius:14px;background:#fff}.answer-form label,.submission-list label{display:grid;gap:6px;color:#3e4944;font-size:13px;font-weight:800}.answer-form textarea,.submission-list input,.submission-list textarea{width:100%;padding:11px;border:1px solid #d3cbc1;border-radius:9px;font:inherit;line-height:1.5}.answer-form small{color:#7a746d;text-align:center}.submission-list h3{margin-top:28px}.submission-list article>small{color:#7a746d}.submission-list article>p{white-space:pre-wrap;line-height:1.6}.submission-list form{display:grid;gap:10px}.submission-list .primary,.answer-form .primary{display:flex;align-items:center;justify-content:center;gap:7px}.submission-list .primary svg{width:18px}.my-submission{margin-top:24px;padding:20px;border:1px solid #bdd6c9;border-radius:14px;background:#edf7f1}.my-submission>svg{color:#2e7659}.my-submission h3{margin:7px 0}.my-submission p{white-space:pre-wrap;line-height:1.6}.my-submission strong{display:block;margin-top:12px;color:#174c3b}.my-submission blockquote{display:grid;gap:6px;margin:16px 0 0;padding:14px;border-left:4px solid #e47755;background:#fff;white-space:pre-wrap}
@media(max-width:600px){.chat.room{left:0;right:0;bottom:0;width:100vw;height:calc(100dvh - 76px);max-height:none;border-radius:22px 22px 0 0}.chat.room>header{padding:16px 18px}.chat.room>header span{min-width:0}.chat.room>header b,.chat.room>header small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-tabs{padding:0 4px}.room-tabs button{gap:4px;padding:12px 3px;font-size:12px}.room-tabs svg{width:15px}.lesson-room{padding:14px}.lesson-editor,.assignment-detail{padding:10px}.assignment-detail>section{padding:20px 16px}}
.lesson-modal{position:relative;width:min(680px,92vw);max-height:88vh;overflow:auto;padding:28px;background:#fff;border-radius:18px;box-shadow:0 24px 70px #0005}.lesson-modal>label{color:#b56835;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.lesson-modal h2{margin:8px 45px 18px 0;color:#173f33}.lesson-modal>p{white-space:pre-wrap;color:#45433f;line-height:1.75;font-size:16px}.lesson-modal>.primary{margin-top:16px;width:100%}
.utility-launchers{position:fixed;right:20px;bottom:20px;z-index:10;display:grid;justify-items:end;gap:10px}.chat-launch,.dictionary-launch{position:static;display:flex;align-items:center;gap:9px;border:0;border-radius:999px;padding:14px 18px;color:#fff;font-weight:800;box-shadow:0 12px 32px #102e2455;cursor:pointer}.chat-launch{background:#174c3b}.dictionary-launch{background:#e47755}.chat-launch svg,.dictionary-launch svg{width:22px;height:22px}.chat-launch:active,.dictionary-launch:active{transform:scale(.97)}
.dictionary-shade{z-index:30}.dictionary{display:flex;flex-direction:column;width:min(680px,94vw);height:min(760px,90vh);overflow:hidden;background:#f9f6ef;border-radius:22px;box-shadow:0 24px 80px #0006}.dictionary>header{display:flex;align-items:center;justify-content:space-between;padding:19px 22px;background:#174c3b;color:#fff}.dictionary>header span{display:flex;align-items:center;gap:10px;font-size:19px}.dictionary>header button{border:0;background:transparent;color:#fff;cursor:pointer}.dictionary>nav{display:flex;border-bottom:1px solid #ddd5ca;background:#fff}.dictionary>nav button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;padding:15px;border:0;border-bottom:3px solid transparent;background:none;color:#716a62;font-weight:800;cursor:pointer}.dictionary>nav button.active{border-color:#e47755;color:#174c3b}.dictionary>nav svg{width:18px}.dictionary-body,.saved-words{flex:1;overflow:auto;padding:22px}.dictionary-body>form{display:flex;gap:8px}.dictionary-body>form input{min-width:0;flex:1;padding:14px 16px;border:1px solid #cbc4bb;border-radius:12px;font:inherit;font-size:16px}.dictionary-body>form button{display:grid;place-items:center;width:52px;border:0;border-radius:12px;background:#174c3b;color:#fff}.dict-status{color:#777}.dict-welcome{display:grid;place-items:center;padding:65px 25px;text-align:center;color:#748078}.dict-welcome>svg{width:58px;height:58px;color:#9aa79f}.dict-welcome h2{margin:15px 0 5px;font-family:Georgia,serif;color:#173f33}.dict-welcome p{max-width:390px;line-height:1.55}.word-result{margin-top:18px}.word-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px;border-radius:15px;background:#e8f3ed}.word-heading h2{margin:0;font:700 35px Georgia,serif;color:#173f33}.word-heading span{color:#69736d}.word-heading>div:last-child{display:flex;gap:8px}.word-heading button{display:flex;align-items:center;gap:6px;padding:10px;border:1px solid #bad0c4;border-radius:10px;background:#fff;color:#174c3b;font-weight:800}.word-heading button.saved{background:#174c3b;color:#fff}.word-result>section{padding:16px 4px;border-bottom:1px solid #ddd5ca}.word-result h3{margin:0;color:#e47755;font-style:italic}.word-result li p{line-height:1.55}.word-result blockquote{margin:7px 0;padding-left:12px;border-left:3px solid #e7b29f;color:#69625c}.word-list{font-size:14px;color:#69625c}.saved-words{display:grid;align-content:start;gap:10px}.saved-words>article{display:flex;align-items:center;border:1px solid #ded7ce;border-radius:14px;background:#fff;overflow:hidden}.saved-word{flex:1;padding:15px;border:0;background:none;text-align:left;cursor:pointer}.saved-word b,.saved-word small{display:block}.saved-word b{font:700 23px Georgia,serif;color:#173f33}.saved-word small{margin-top:2px;color:#788079}.saved-word p{margin:8px 0 0;color:#5b5752}.delete-word{align-self:stretch;padding:15px;border:0;border-left:1px solid #eee7df;background:#fff;color:#a54a3a;cursor:pointer}.delete-word svg{width:19px}
@media(max-width:600px){.utility-launchers{right:16px;bottom:18px}.chat-launch,.dictionary-launch{padding:14px}.chat-launch span,.dictionary-launch span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.dictionary-shade{align-items:end;padding:0}.dictionary{width:100%;max-width:100vw;height:calc(100dvh - 58px);max-height:none;border-radius:22px 22px 0 0}.dictionary>header{padding:17px 18px}.dictionary>header span{font-size:17px}.dictionary>nav button{min-width:0;padding:14px 8px;font-size:14px}.dictionary-body,.saved-words{width:100%;padding:15px}.dictionary-body>form{width:100%}.dictionary-body>form button{flex:0 0 52px}.word-heading{align-items:flex-start}.word-heading h2{font-size:30px}.word-heading button{font-size:0}.word-heading button svg{width:21px;height:21px}}
@media(max-width:700px){.video-lessons{padding:60px 0}.video-lessons header{display:block}.video-lessons h2{font-size:33px}.video-lessons header>a{display:inline-block;margin-top:14px}.video-tools{align-items:flex-start;flex-direction:column}.video-tools>div{width:100%}.video-tools button{flex:1;justify-content:center;padding:9px 7px;font-size:13px}.video-grid,.video-grid.portrait{grid-template-columns:1fr;gap:16px}.video-grid.portrait{width:min(100%,390px);margin:auto}.video-grid h3,.video-grid.portrait h3{font-size:20px}}
@media(max-width:520px){
 .video-lessons{padding:55px 0}.video-lessons h2{font-size:31px;line-height:1.1}.video-tools{padding:10px}.video-tools>div{gap:5px}.video-tools button{min-width:0;font-size:12px}.video-grid article{border-radius:14px}.video-grid small,.video-grid h3{margin-left:14px;margin-right:14px}.video-credit{line-height:1.5}
 .utility-launchers{right:12px;bottom:max(14px,env(safe-area-inset-bottom));gap:8px}.chat-launch,.dictionary-launch{width:50px;height:50px;justify-content:center;padding:0}.chat-launch svg,.dictionary-launch svg{width:22px}
 .chat.room{height:calc(100dvh - 58px);padding-bottom:env(safe-area-inset-bottom)}.chat.room>header{min-height:64px}.room-tabs{overflow:hidden}.room-tabs button{min-height:48px}.lesson-room{overscroll-behavior:contain}.published-lessons article{padding:16px}.published-lessons p{font-size:15px}.assignment-list>button{padding:14px 12px}.assignment-list small{font-size:12px;line-height:1.4}.lesson-editor form{max-height:calc(100dvh - 78px);padding:18px 15px}.lesson-editor input,.lesson-editor select{min-height:48px}.lesson-editor textarea{min-height:150px}.lesson-editor form>div:last-child{display:grid;grid-template-columns:1fr 1fr}.lesson-editor form>div:last-child button{min-width:0}.assignment-detail>section{min-height:calc(100dvh - 78px)}.answer-form,.submission-list article{padding:15px}.answer-form textarea{min-height:190px}.submission-list .primary,.answer-form .primary{width:100%}
 .dictionary{height:calc(100dvh - 24px);padding-bottom:env(safe-area-inset-bottom)}.dictionary>header button{min-width:44px;min-height:44px}.dictionary-body>form input{width:0}.dictionary-body>form button{min-height:52px}.dict-welcome{padding:45px 12px}.word-heading{padding:14px}.word-heading>div:first-child{min-width:0}.word-heading h2{overflow-wrap:anywhere}.saved-word{min-width:0}.saved-word p{overflow-wrap:anywhere}
}
.ai-model{display:flex;align-items:center;gap:10px;padding:10px 16px;border-bottom:1px solid #dbe3de;background:#fff;color:#315c4c;font-size:12px;font-weight:800}.ai-model select{min-width:0;flex:1;padding:8px 10px;border:1px solid #c8d8d0;border-radius:9px;background:#f7faf8;color:#183e31;font:inherit}.ai-assist{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:44px;margin:0 0 12px;padding:10px 14px;border:1px solid #8dbbab;border-radius:11px;background:#e6f5ed;color:#14543e;font-weight:800;cursor:pointer}.ai-assist svg{width:18px}.ai-assist:disabled{opacity:.55}
.mobile-dock{display:none}
.pdf-launch{position:fixed;right:20px;bottom:146px;z-index:14;display:flex;align-items:center;gap:9px;min-height:52px;padding:13px 17px;border:0;border-radius:999px;background:#e47755;color:#fff;font-weight:800;box-shadow:0 12px 32px #102e2455}.pdf-launch svg{width:22px}.pdf-launch>b{position:absolute;top:-5px;right:-2px;display:grid;place-items:center;width:22px;height:22px;border:2px solid #fff;border-radius:50%;background:#20b96b;font-size:11px}.pdf-shade{z-index:40}.pdf-library{width:min(720px,94vw);max-height:min(760px,90dvh);overflow:hidden;border-radius:22px;background:#f9f6ef;box-shadow:0 24px 80px #0006}.pdf-library>header{display:flex;align-items:center;justify-content:space-between;padding:19px 22px;background:#174c3b;color:#fff}.pdf-library>header span{display:flex;align-items:center;gap:10px;font-size:19px}.pdf-library>header button{display:grid;place-items:center;min-width:44px;min-height:44px;border:0;background:transparent;color:#fff}.pdf-body{overflow:auto;padding:22px}.pdf-count{margin:0 0 14px;color:#68746d;font-weight:700}.pdf-body>article{display:grid;grid-template-columns:145px 1fr;gap:22px;padding:18px;border:1px solid #ded7ce;border-radius:17px;background:#fff}.pdf-cover{min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border-radius:13px;background:#ffe5dd;color:#b74f34}.pdf-cover svg{width:52px;height:52px}.pdf-cover span{font-size:12px;font-weight:900;letter-spacing:.12em}.pdf-info small{color:#e47755;font-size:11px;font-weight:900;letter-spacing:.08em}.pdf-info h2{margin:7px 0;font:30px Georgia,serif;color:#173f33}.pdf-info p{color:#5c6861;line-height:1.55}.pdf-info>span{display:block;margin-bottom:18px;color:#778079;font-size:13px}.pdf-info>div{display:flex;gap:10px}.pdf-preview,.pdf-download{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:11px 16px;border-radius:10px;font-weight:800;text-decoration:none}.pdf-preview{border:1px solid #b9c9c0;color:#174c3b}.pdf-download svg{width:18px}
@media(max-width:700px){
 body{padding-bottom:76px}.mobile-dock{position:fixed;left:0;right:0;bottom:0;z-index:11;display:grid;grid-template-columns:repeat(5,1fr);height:72px;padding:6px max(4px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left));border-top:1px solid #dce4df;background:#fff;box-shadow:0 -8px 30px #102e2418}
 .mobile-dock a,.mobile-dock button{position:relative;display:flex;min-width:0;min-height:58px;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:14px;background:transparent;color:#64726b;font-size:11px;font-weight:800;text-decoration:none;-webkit-tap-highlight-color:transparent}
 .mobile-dock a:active,.mobile-dock button:active,.mobile-dock .active{background:#dff4e8;color:#174c3b}.mobile-dock svg{width:23px;height:23px;stroke-width:2.3}.mobile-dock .dock-groups b{position:absolute;top:3px;left:calc(50% + 7px);display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border:2px solid #fff;border-radius:999px;background:#20b96b;color:#fff;font-size:10px}
 .utility-launchers{display:none}.chat.room{z-index:15}.dictionary-shade,.shade{z-index:30}
 main[data-mobile-view]>.hero,main[data-mobile-view]>.steps,main[data-mobile-view]>footer{display:none}main[data-mobile-view="lessons"]>.video-lessons,main[data-mobile-view="lessons"]>.community{display:none}main[data-mobile-view="videos"]>.lessons,main[data-mobile-view="videos"]>.community{display:none}main[data-mobile-view="groups"]>.lessons,main[data-mobile-view="groups"]>.video-lessons{display:none}main[data-mobile-view]>.lessons,main[data-mobile-view]>.video-lessons,main[data-mobile-view]>.community{min-height:calc(100dvh - 142px);padding-top:32px;padding-bottom:32px}main[data-mobile-view] .links a[href="#how"]{display:none}
 .pdf-launch{right:14px;bottom:88px;width:54px;height:54px;justify-content:center;padding:0}.pdf-launch>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.pdf-shade{align-items:end;padding:0}.pdf-library{width:100%;max-width:100vw;max-height:calc(100dvh - 22px);border-radius:22px 22px 0 0}.pdf-library>header{padding:15px 18px}.pdf-library>header span{font-size:17px}.pdf-body{padding:15px}.pdf-body>article{grid-template-columns:88px 1fr;gap:14px;padding:14px}.pdf-cover{min-height:132px}.pdf-cover svg{width:38px}.pdf-info h2{font-size:24px}.pdf-info p{font-size:14px}.pdf-info>div{display:grid;grid-template-columns:1fr 1fr}.pdf-preview,.pdf-download{padding:9px 7px;font-size:13px}
}

/* Assignment grading and result delivery feedback. */
.success-notice{display:flex;align-items:center;gap:9px;margin:12px 0;padding:12px 14px;border:1px solid #a8dec4;border-radius:12px;background:#e8f8ef;color:#126344;font-weight:800;line-height:1.4}
.success-notice svg{flex:0 0 auto;width:21px;height:21px}

/* 2026 mobile learning experience */
.chat.room>header>span{display:grid;grid-template-columns:auto 1fr;column-gap:11px;align-items:center}.room-logo{grid-row:1/4;width:38px;height:38px;padding:7px;border-radius:12px;background:#ffffff18}.chat.room>header em{width:max-content;margin-top:5px;padding:4px 9px;border-radius:999px;background:#2fb878;color:#fff;font-size:10px;font-style:normal}.room-tabs svg{width:19px}.published-lessons{gap:18px}.published-lessons article{border:0;border-radius:20px;box-shadow:0 8px 26px #143b2514}.lesson-title{display:flex;align-items:start;justify-content:space-between;gap:12px;padding-left:12px;border-left:5px solid #159664}.lesson-title h3{margin:7px 0 0;font:700 25px/1.15 system-ui;color:#0b2948}.lesson-title>small{display:flex;align-items:center;gap:5px;white-space:nowrap}.lesson-title>small svg{width:15px}.lesson-content{display:grid;gap:12px;margin-top:18px}.lesson-content p{white-space:pre-wrap}.lesson-intro{margin:0}.lesson-block{padding:15px;border-radius:14px}.lesson-block h4{margin:0 0 8px;font-size:16px}.lesson-block p{margin:0!important;color:#254057!important}.lesson-block.objectives{background:#e8f8ef}.lesson-block.objectives h4{color:#08784e}.lesson-block.explanation{background:#edf7ff}.lesson-block.explanation h4{color:#0966a6}.lesson-block.examples{background:#fff7df}.lesson-block.examples h4{color:#bf7800}.lesson-block.practice{background:#f5eafe}.lesson-block.practice h4{color:#8337bd}
.assignment-list>button{position:relative;align-items:flex-start;padding:20px;border:0;border-top:4px solid #ff8561;border-radius:18px;box-shadow:0 8px 26px #143b2514}.assignment-list>button>svg{box-sizing:content-box;width:28px;height:28px;padding:12px;border-radius:13px;background:#fff0eb}.assignment-list span b{font-size:18px;color:#0b2948}.assignment-list span em{width:max-content;padding:3px 8px;border-radius:999px;background:#fff0eb;color:#e26042;font-size:11px;font-style:normal}.assignment-list span small{margin-top:8px}.assignment-list>button>i{align-self:center;padding:9px 12px;border-radius:999px;background:#087a4f;color:#fff;font-size:12px;font-weight:800}
.class-chat-card{display:flex;align-items:center;gap:12px;margin:12px;padding:13px;border:1px solid #dfe9e3;border-radius:17px;background:#fff;box-shadow:0 5px 18px #143b2510}.class-chat-card>svg{box-sizing:content-box;width:31px;height:31px;padding:11px;border-radius:13px;background:#e7f7ef;color:#087950}.class-chat-card span{display:grid;gap:2px}.class-chat-card b{font-size:18px;color:#0d2948}.class-chat-card small{color:#61716a}.class-chat-card em{color:#0a9c63;font-size:11px;font-style:normal}.chat-notice{margin:0 12px 8px;padding:10px 12px;border-radius:11px;background:#e8f8ef;color:#315c4c;font-size:12px}.chat-prompts{display:flex;gap:7px;overflow-x:auto;padding:8px 10px;background:#f5f7f5}.chat-prompts button{flex:0 0 auto;padding:8px 11px;border:1px solid #d6e1db;border-radius:999px;background:#fff;color:#25483a;font-size:11px;font-weight:700}.messages article p{box-shadow:0 4px 14px #143b2510}
.dictionary>header{background:linear-gradient(135deg,#087a51,#005b54)}.dictionary>header span>b{display:grid}.dictionary>header span small{margin-top:3px;color:#cdf4e3;font-size:11px;font-weight:500}.dictionary>nav button.active{border-color:#10a36b}.dict-welcome{padding:28px 8px}.dict-welcome>svg{box-sizing:content-box;width:70px;height:70px;padding:17px;border-radius:45% 55% 48% 52%;background:#dff8eb;color:#0a9f68}.dict-features{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;width:100%;margin-top:22px}.dict-features span{display:flex;min-width:0;min-height:105px;flex-direction:column;align-items:center;justify-content:center;padding:10px 6px;border:1px solid #e7ece9;border-radius:14px;background:#fff;box-shadow:0 5px 18px #143b2510}.dict-features svg{width:24px;color:#0a9f68}.dict-features b{margin-top:6px;color:#102e4d;font-size:12px}.dict-features small{margin-top:3px;color:#78857f;font-size:10px}
.online-pill{margin-left:auto;padding:6px 9px;border:1px solid #30d894;border-radius:999px;color:#7af0bc;font-size:10px;font-style:normal;white-space:nowrap}.ai-suggestions{grid-template-columns:1fr 1fr}.ai-suggestions button{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;min-height:70px;padding:11px;border-radius:15px;text-align:left}.ai-suggestions button>svg:first-child{box-sizing:content-box;width:20px;height:20px;padding:8px;border-radius:50%;background:#e2f7ed;color:#07965f}.ai-suggestions button>svg:last-child{width:16px}.ai-suggestions button span{display:grid;gap:3px}.ai-suggestions button span b{color:#102e4d;font-size:12px}.ai-suggestions button span small{color:#74817b;font-size:10px}.ai-topics{display:flex;gap:6px;overflow-x:auto;padding:0 12px 10px;background:#f4f7f5}.ai-topics button{display:flex;flex:0 0 auto;flex-direction:column;align-items:center;gap:3px;padding:7px 9px;border:1px solid #dce6e1;border-radius:12px;background:#fff;color:#315c4c;font-size:9px}.ai-topics svg{width:18px}
@media(max-width:700px){.chat.room>header{min-height:92px!important}.chat.room>header .room-logo{width:34px;height:34px}.chat.room>header em{padding:3px 7px}.lesson-room{padding:12px 10px}.lesson-title{display:grid;grid-template-columns:1fr}.lesson-title>small{grid-row:1;justify-self:end}.lesson-title h3{font-size:21px}.lesson-block{padding:13px}.assignment-list>button{display:grid;grid-template-columns:auto 1fr}.assignment-list>button>i{grid-column:1/-1;width:100%;text-align:center}.class-chat-card{margin:9px 10px}.chat-notice{margin:0 10px 7px}.messages{padding-top:7px!important}.dictionary>header span>b{font-size:17px}.dict-welcome h2{font-size:24px}.dict-features{gap:7px}.dict-features span{min-height:98px}.ai-tutor>header .online-pill{display:none}.ai-suggestions{grid-template-columns:1fr 1fr!important}.ai-suggestions button:last-child{grid-column:auto!important}.ai-messages{min-height:150px}.ai-topics{padding-bottom:8px}}

/* ChatGPT-style AI conversation */
.ai-tutor{background:#fff}.ai-tutor>header{min-height:66px}.ai-new-chat{margin-left:auto!important;border:1px solid #ffffff45!important;border-radius:11px!important;background:#ffffff12!important}.ai-new-chat svg{width:20px}.online-pill+.ai-new-chat{margin-left:8px!important}.ai-messages{padding:22px max(18px,calc((100% - 700px)/2));background:#fff}.ai-messages article{display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:11px;width:100%;max-width:700px;margin:0 auto 25px}.ai-messages article::before{content:"T";display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#0b7a53;color:#fff;font-weight:900}.ai-messages article.user::before{content:"You";background:#dfe9e4;color:#31564a;font-size:9px}.ai-messages article>b{grid-column:2;margin:0 0 6px!important;text-align:left!important;color:#183d31!important}.ai-message-content{grid-column:2;color:#253b34;line-height:1.65}.ai-messages article.user .ai-message-content{padding:11px 14px;border-radius:17px;background:#eef5f1}.ai-prose p{margin:0 0 9px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;white-space:normal!important}.ai-prose h3{margin:15px 0 7px;color:#102f25;font-size:17px}.ai-bullet{display:grid;grid-template-columns:22px 1fr;gap:5px;margin:5px 0}.ai-bullet i{color:#087a53;font-style:normal;font-weight:900}.ai-bullet.numbered i{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#dff4e9;font-size:10px}.ai-code{margin:12px 0;overflow:hidden;border-radius:12px;background:#101815;color:#eef8f3}.ai-code>div{display:flex;align-items:center;justify-content:space-between;padding:8px 11px;background:#1d2925;color:#c9ddd4;font-size:11px}.ai-code button{display:flex;align-items:center;gap:5px;border:0;background:transparent;color:#fff}.ai-code button svg{width:14px}.ai-code pre{margin:0;padding:14px;overflow:auto}.ai-code code{font:12px/1.55 ui-monospace,monospace}.ai-copy-native{grid-column:2;display:flex;align-items:center;gap:5px;width:max-content;margin-top:7px;padding:4px 0;border:0;background:transparent;color:#60746b;font-size:11px;font-weight:700}.ai-copy-native svg{width:14px}.ai-thinking p{grid-column:2;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}.ai-compose{width:min(730px,100%);margin:auto;border:1px solid #cad7d0;border-radius:20px 20px 0 0;box-shadow:0 -5px 25px #123a2910}.ai-compose textarea{border:0;background:#fff}.ai-compose textarea:focus{outline:0}.ai-note{border-top:0}.ai-suggestions,.ai-topics{width:min(730px,100%);margin:auto}
@media(max-width:700px){.ai-tutor>header{min-height:64px}.ai-new-chat{min-width:38px!important;min-height:38px!important}.ai-messages{padding:18px 12px}.ai-messages article{grid-template-columns:30px minmax(0,1fr);column-gap:8px;margin-bottom:22px}.ai-messages article::before{width:29px;height:29px;font-size:11px}.ai-message-content{font-size:14px}.ai-messages article.user .ai-message-content{padding:10px 12px}.ai-compose{width:calc(100% - 16px);margin:0 8px;border-radius:18px}.ai-suggestions{padding:8px}.ai-topics{padding-left:8px;padding-right:8px}}

/* Focused multiple-choice assignment */
.answer-form:has(.quiz-questions){margin:18px -8px 0;padding:0;border:0;background:transparent}.quiz-progress{position:sticky;top:-24px;z-index:2;display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:14px 5px;background:#faf7f1}.quiz-progress::before{content:"";grid-row:1;grid-column:1;height:9px;border-radius:99px;background:#e2e7e4}.quiz-progress>span{grid-row:1;grid-column:1;z-index:1;height:9px;border-radius:99px;background:linear-gradient(90deg,#079861,#12b978);transition:width .25s}.quiz-progress>b{font-size:11px;color:#315448}.quiz-instructions{display:grid;grid-template-columns:auto 1fr auto;align-items:start;gap:12px;padding:18px;border-radius:16px;background:#e8f8f0;color:#087950}.quiz-instructions>svg{width:26px}.quiz-instructions>svg:last-child{width:42px;height:42px}.quiz-instructions span{display:grid;gap:6px}.quiz-instructions b{font-size:18px}.quiz-instructions small{color:#315d50;line-height:1.5}.quiz-questions{display:grid;gap:14px}.quiz-questions fieldset{margin:0;padding:17px;border:1px solid #e1e8e4;border-radius:17px;background:#fff;box-shadow:0 5px 20px #123c2c0c}.quiz-questions legend{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;width:100%;padding:0}.quiz-questions legend i{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#087b53;color:#fff;font-style:normal;font-weight:900}.quiz-questions legend b{color:#102d4a;font-size:15px;line-height:1.35}.quiz-questions legend em{padding:6px 9px;border-radius:999px;background:#e8f8f0;color:#087950;font-size:10px;font-style:normal}.quiz-questions fieldset>div{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}.quiz-questions fieldset label{display:flex;align-items:center;gap:7px;min-height:51px;margin:0;padding:11px;border:1px solid #dfe6e2;border-radius:11px;background:#fff;color:#273c52;font-size:12px;cursor:pointer}.quiz-questions fieldset label.selected{border-color:#0a9c67;background:#e8f8f0;box-shadow:0 0 0 2px #bfead6}.quiz-questions fieldset label input{width:18px;height:18px;accent-color:#078052}.quiz-questions fieldset>small{display:block;margin-top:11px;padding:10px 12px;border-radius:10px;background:#edf8f3;color:#176147;text-align:left}.answer-form:has(.quiz-questions)>.primary{position:sticky;bottom:0;min-height:52px;border-radius:14px;box-shadow:0 -8px 25px #faf7f1}.answer-form>.primary:disabled{opacity:.45}
@media(max-width:700px){.assignment-detail{inset:0;padding:0;background:#fff;backdrop-filter:none}.assignment-detail>section{min-height:100dvh!important;padding:20px 14px 28px;border-radius:0}.assignment-detail .close{position:fixed;z-index:10;top:12px;right:12px;width:40px;height:40px;border-radius:50%;background:#ffffff22;color:#fff}.assignment-detail>section>label,.assignment-detail>section>h2,.assignment-detail>section>small{display:block;margin-right:45px}.assignment-detail>section>label{margin:-20px -14px 0;padding:24px 60px 4px 18px;background:linear-gradient(135deg,#075d4c,#008568);color:#dff8ef}.assignment-detail h2{margin:0 -14px;padding:5px 60px 3px 18px;background:linear-gradient(135deg,#075d4c,#008568);color:#fff;font-size:22px}.assignment-detail>section>small{margin:0 -14px;padding:3px 60px 18px 18px;background:linear-gradient(135deg,#075d4c,#008568);color:#dff8ef}.answer-form:has(.quiz-questions){margin-top:14px}.quiz-progress{top:0}.quiz-instructions{padding:14px}.quiz-instructions>svg:last-child{display:none}.quiz-questions fieldset{padding:14px 11px}.quiz-questions legend{grid-template-columns:auto 1fr}.quiz-questions legend em{grid-column:2;width:max-content}.quiz-questions fieldset>div{grid-template-columns:1fr}.quiz-questions fieldset label{font-size:13px}}

/* Floating AI English tutor */
.ai-launch{position:fixed;right:20px;bottom:210px;z-index:14;display:flex;align-items:center;gap:9px;min-height:52px;padding:13px 17px;border:0;border-radius:999px;background:linear-gradient(135deg,#143e32,#267c5c);color:#fff;font-weight:800;box-shadow:0 12px 32px #102e2455;cursor:pointer}.ai-launch>svg{width:23px}.ai-launch>i{position:absolute;top:-5px;right:-3px;display:grid;place-items:center;width:23px;height:23px;border:2px solid #fff;border-radius:50%;background:#f1a14b}.ai-launch>i svg{width:12px;height:12px}.ai-shade{z-index:45}.ai-tutor{display:flex;flex-direction:column;width:min(680px,94vw);height:min(760px,90dvh);overflow:hidden;border-radius:22px;background:#f5f8f6;box-shadow:0 24px 80px #0006}.ai-tutor>header{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;background:linear-gradient(135deg,#123b30,#1e654d);color:#fff}.ai-tutor>header span{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center}.ai-tutor>header span>svg{grid-row:1/3;width:27px;height:27px}.ai-tutor>header b{font-size:18px}.ai-tutor>header small{color:#d5eee4;font-size:11px}.ai-tutor>header button{display:grid;place-items:center;min-width:44px;min-height:44px;border:0;background:transparent;color:#fff;cursor:pointer}.ai-messages{min-height:0;flex:1;overflow:auto;padding:20px;overscroll-behavior:contain}.ai-messages article{width:min(86%,520px);margin:0 0 14px}.ai-messages article.user{margin-left:auto}.ai-messages article>b{display:block;margin:0 8px 5px;color:#66736c;font-size:12px}.ai-messages article.user>b{text-align:right}.ai-messages article p{margin:0;padding:13px 15px;border:1px solid #dae3de;border-radius:6px 17px 17px 17px;background:#fff;color:#273b34;line-height:1.55;white-space:pre-wrap}.ai-messages article.user p{border-color:#b9dfcd;border-radius:17px 6px 17px 17px;background:#dff4e8}.ai-thinking p{display:flex;align-items:center;gap:5px;color:#68766f}.ai-thinking p i{width:6px;height:6px;border-radius:50%;background:#2a7659;animation:ai-pulse 1s infinite}.ai-thinking p i:nth-child(2){animation-delay:.15s}.ai-thinking p i:nth-child(3){animation-delay:.3s}@keyframes ai-pulse{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}.ai-error{margin:10px 0;padding:11px 13px;border-radius:10px;background:#ffebe7;color:#9d3f30;font-size:14px}.ai-suggestions{display:flex;gap:7px;overflow-x:auto;padding:0 16px 10px}.ai-suggestions button{flex:0 0 auto;padding:9px 11px;border:1px solid #bdd2c8;border-radius:999px;background:#fff;color:#1b5a44;font-size:12px;font-weight:800;cursor:pointer}.ai-compose{display:flex;align-items:end;gap:8px;padding:12px 16px 8px;border-top:1px solid #dbe3de;background:#fff}.ai-compose textarea{min-height:48px;max-height:130px;flex:1;resize:none;padding:13px 14px;border:1px solid #c9d3ce;border-radius:14px;font:inherit;line-height:1.4}.ai-compose button{display:grid;place-items:center;flex:0 0 50px;height:50px;border:0;border-radius:14px;background:#175a43;color:#fff;cursor:pointer}.ai-compose button:disabled{opacity:.55}.ai-compose button svg{width:22px}.ai-note{display:block;padding:0 16px 11px;background:#fff;color:#7a857f;text-align:center;font-size:11px}
@media(max-width:700px){.ai-launch{right:14px;bottom:150px;width:54px;height:54px;justify-content:center;padding:0}.ai-launch>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.ai-shade{align-items:end;padding:0}.ai-tutor{width:100%;max-width:100vw;height:calc(100dvh - 22px);max-height:calc(100dvh - 22px);border-radius:22px 22px 0 0}.ai-tutor>header{padding:13px 14px}.ai-messages{padding:15px 12px}.ai-messages article{width:90%}.ai-compose{padding:9px 10px 7px}.ai-note{padding:0 10px calc(8px + env(safe-area-inset-bottom))}}

/* Polished app panels */
.chat.room,.ai-tutor{border:1px solid #d6e1db;box-shadow:0 28px 90px #081b1540}
.chat.room>header,.ai-tutor>header{background:linear-gradient(135deg,#103f31 0%,#176047 100%)}
.chat.room>header{align-items:center;gap:12px;padding:15px 18px}.chat.room>header>span{min-width:0;flex:1}.chat.room>header b{font-size:17px;letter-spacing:-.01em}.chat.room>header small{margin-top:2px;font-size:12px}
.room-tabs{padding:0 12px}.room-tabs button{position:relative;min-height:54px;border-bottom:0;font-size:13px}.room-tabs button::after{content:"";position:absolute;right:12px;bottom:0;left:12px;height:3px;border-radius:3px 3px 0 0;background:transparent}.room-tabs button.active::after{background:#1f6a50}.room-tabs button.active{border-color:transparent}
.lesson-room,.messages{background:#f5f7f5}.lesson-room>.empty,.messages>.empty{align-self:center;width:min(360px,calc(100% - 24px));min-height:0;margin:auto;padding:28px 22px;border:1px solid #dfe7e2;border-radius:20px;background:#fff;box-shadow:0 10px 35px #143b2510}.lesson-room>.empty svg,.messages>.empty svg{width:34px;height:34px;padding:7px;box-sizing:content-box;border-radius:14px;background:#e7f4ed;color:#1d674d}.lesson-room>.empty h3,.messages>.empty h3{margin:14px 0 5px;font:700 24px/1.15 Georgia,serif}.lesson-room>.empty p,.messages>.empty p{margin:0;line-height:1.5}
.ai-tutor{background:#f4f7f5}.ai-tutor>header span{min-width:0}.ai-tutor>header b{font-size:17px;line-height:1.15}.ai-tutor>header small{margin-top:2px;font-size:12px}.ai-model{padding:12px 18px;font-size:13px}.ai-model select{min-height:44px;padding:9px 12px;font-size:14px}
.ai-tutor>header .ai-save-toggle{gap:7px;margin-left:auto;padding:7px 9px;border:1px solid #ffffff42;border-radius:999px;background:#ffffff12}.ai-tutor>header .ai-save-toggle input{appearance:none;position:relative;width:30px;height:18px;margin:0;border-radius:999px;background:#ffffff55}.ai-tutor>header .ai-save-toggle input::after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:#fff;transition:.18s}.ai-tutor>header .ai-save-toggle input:checked{background:#72d6ad}.ai-tutor>header .ai-save-toggle input:checked::after{transform:translateX(12px)}.ai-tutor>header .ai-full-toggle{display:grid;place-items:center;width:40px;height:40px;padding:0;border-color:#ffffff35;background:#ffffff10;color:#fff}
.ai-messages{padding:18px;background:linear-gradient(#f7faf8,#f2f6f3)}.ai-messages article{width:min(82%,510px)}.ai-messages article p{padding:12px 14px;border-color:#d8e2dd;border-radius:5px 16px 16px 16px;box-shadow:0 4px 16px #173f330a;font-size:15px}.ai-messages article.user p{border-radius:16px 5px 16px 16px}.ai-suggestions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;padding:10px 16px 12px;background:#f4f7f5}.ai-suggestions button{min-width:0;white-space:normal;line-height:1.25}.ai-compose textarea{border-color:#bccbc4;background:#fbfdfc}.ai-compose textarea:focus{border-color:#1e7154;outline:3px solid #d9efe5}.ai-compose button{background:#155c44;box-shadow:0 7px 18px #155c4430}

@media(max-width:700px){
 body:has(.chat.room),body:has(.ai-tutor){overflow:hidden}
 .shade.ai-shade{align-items:stretch}.ai-tutor{width:100vw;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0}
 .ai-tutor>header{min-height:72px;padding:10px 12px}.ai-tutor>header span>svg{width:25px;height:25px}.ai-tutor>header b{font-size:16px;white-space:nowrap}.ai-tutor>header small{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .ai-tutor>header .ai-save-toggle{margin-left:auto;padding:7px}.ai-tutor>header .ai-save-toggle span{display:none}.ai-tutor>header .ai-full-toggle{display:none}
 .ai-model{gap:8px;padding:9px 12px}.ai-model select{height:42px;min-height:42px}
 .ai-messages{padding:14px 12px}.ai-messages article{width:88%;margin-bottom:12px}.ai-messages article>b{margin-bottom:4px;font-size:11px}.ai-messages article p{font-size:15px;line-height:1.5}
 .ai-suggestions{grid-template-columns:1fr 1fr;gap:7px;padding:9px 10px}.ai-suggestions button{min-height:42px;padding:8px 9px;font-size:11px}.ai-suggestions button:last-child{grid-column:1/-1}
 .ai-compose{padding:9px 10px 6px}.ai-compose textarea{min-height:48px}.ai-note{font-size:10px}
 .chat.room{inset:0;width:100vw;height:100dvh;max-height:none;border:0;border-radius:0;padding-bottom:env(safe-area-inset-bottom)}
 .chat.room>header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 12px;min-height:104px;padding:12px 14px}.chat.room>header>span{grid-column:1;grid-row:1}.chat.room>header>button{grid-column:2;grid-row:1}.chat.room>header .chat-extra-controls{grid-column:1/-1;grid-row:2;width:100%;margin:0}
 .chat.room>header .chat-extra-controls select{height:36px;max-width:none;min-width:0;flex:1;padding:6px 10px;font-size:12px}.chat.room>header .chat-extra-controls button{width:38px;height:36px;padding:0;font-size:0}.chat.room>header .chat-extra-controls button::before{content:"⛶";font-size:18px}
 .room-tabs{padding:0 3px}.room-tabs button{min-height:52px;padding:10px 3px;font-size:12px}.room-tabs button::after{right:8px;left:8px}
 .lesson-room{padding:12px}.lesson-room>.empty,.messages>.empty{width:min(330px,calc(100% - 16px));padding:24px 18px}.lesson-room>.empty h3,.messages>.empty h3{font-size:22px}.lesson-room>.empty p,.messages>.empty p{font-size:14px}
 .messages{padding:12px}.chat>form{padding:9px 10px}.chat>form input{min-height:48px}.chat>form button{width:48px}
}

/* Keep the new-group actions above the fixed mobile app dock. */
@media(max-width:700px){
 .mini{bottom:calc(82px + env(safe-area-inset-bottom));z-index:40;max-height:calc(100dvh - 164px);overflow-y:auto}
 .mini form>div{position:sticky;bottom:0;padding-top:8px;background:#fff}
}

/* Built-in PDF reader: page images work even when a phone has no PDF viewer. */
.pdf-preview{background:#fff;cursor:pointer}
.pdf-library.reader-open{display:flex;flex-direction:column;width:min(900px,96vw);height:min(920px,94dvh)}
.pdf-reader{display:flex;min-height:0;flex:1;flex-direction:column}
.pdf-reader-toolbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:12px 18px;border-bottom:1px solid #ded7ce;background:#fff}
.pdf-reader-toolbar button{display:flex;align-items:center;gap:5px;width:max-content;padding:8px 12px;border:1px solid #cbd5cf;border-radius:9px;background:#fff;color:#174c3b;font-weight:800;cursor:pointer}
.pdf-reader-toolbar button:last-child{justify-self:end}.pdf-reader-toolbar button:disabled{opacity:.4;cursor:not-allowed}.pdf-reader-toolbar svg{width:18px}.pdf-reader-toolbar strong{font-size:14px;color:#526159}
.pdf-reader-page{min-height:0;flex:1;overflow:auto;padding:18px;background:#d9dfdc;text-align:center;overscroll-behavior:contain}
.pdf-reader-page img{display:block;width:min(100%,760px);height:auto;margin:auto;background:#fff;box-shadow:0 7px 28px #102e2433}
.pdf-reader footer{display:flex;justify-content:space-between;gap:10px;padding:12px 18px;border-top:1px solid #ded7ce;background:#fff}
.pdf-back{padding:10px 14px;border:1px solid #bdc9c2;border-radius:10px;background:#fff;color:#174c3b;font-weight:800;cursor:pointer}
@media(max-width:700px){
 .pdf-library.reader-open{width:100%;max-width:100vw;height:calc(100dvh - 22px);max-height:calc(100dvh - 22px);border-radius:22px 22px 0 0}
 .pdf-reader-toolbar{padding:9px 8px}.pdf-reader-toolbar button{padding:8px}.pdf-reader-toolbar button span{display:none}.pdf-reader-page{padding:8px}
 .pdf-reader footer{padding:9px 10px calc(9px + env(safe-area-inset-bottom))}.pdf-reader footer>*{flex:1}.pdf-reader footer .pdf-download{font-size:12px}.pdf-back{padding:9px 7px;font-size:12px}
}

/* Teacher AI image and video studio launcher */
.pixazo-launch{position:fixed;right:20px;bottom:274px;z-index:14;display:flex;align-items:center;gap:9px;min-height:52px;padding:13px 17px;border-radius:999px;background:linear-gradient(135deg,#7048c8,#3858c7);color:#fff;font-weight:800;text-decoration:none;box-shadow:0 12px 32px #24104e44}
.pixazo-launch svg{width:22px}
@media(max-width:700px){.pixazo-launch{right:14px;bottom:212px;width:54px;height:54px;justify-content:center;padding:0}.pixazo-launch span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}}


/* app/account-tools.css */
.account-fab{position:fixed!important;right:16px!important;top:84px!important;bottom:auto!important;z-index:70;border:0;border-radius:50%;background:#fff;color:#124f3e;box-shadow:0 4px 16px #0002;padding:4px!important;display:flex;align-items:center;justify-content:center;font-weight:800;transform:none!important;transition:none!important;margin:0!important}.account-fab span{width:38px;height:38px;border-radius:50%;background:#17644f;color:#fff;display:grid;place-items:center;font-size:17px}.account-fab svg,.account-fab b{display:none}.forgot-fab{display:none!important}.account-shade{position:fixed;inset:0;background:#071b17aa;z-index:200000;display:grid;place-items:center;padding:18px}.account-card{position:relative;width:min(92vw,420px);background:#fff;border-radius:28px;padding:30px;color:#20342e;box-shadow:0 20px 60px #0004;text-align:center}.account-close{position:absolute;right:16px;top:16px;border:0;background:transparent}.account-avatar{width:82px;height:82px;border-radius:50%;background:#17644f;color:#fff;display:grid;place-items:center;margin:5px auto 15px;font-size:34px;font-weight:900}.account-card h2{margin:5px 0}.account-card>p{color:#66746f;margin:5px 0 12px}.account-role{display:inline-block;background:#e2f4ec;color:#17644f;border-radius:999px;padding:6px 13px;text-transform:capitalize;font-weight:800}.account-card dl{text-align:left;margin:22px 0}.account-card dl div{padding:12px 0;border-bottom:1px solid #e3e8e6}.account-card dt{font-size:12px;color:#7a8581}.account-card dd{margin:3px 0 0;font-weight:700;overflow-wrap:anywhere}.account-reset,.account-signout,.reset-card form button{width:100%;border:0;border-radius:14px;padding:14px;margin-top:10px;font-weight:800;display:flex;justify-content:center;gap:8px}.account-reset,.reset-card form button{background:#17644f;color:#fff}.account-signout{background:#f7eeee;color:#9a3d34}.reset-icon{width:42px;height:42px;color:#17644f}.reset-card form{text-align:left;margin-top:18px}.reset-card label{font-weight:800;display:grid;gap:7px}.reset-card input{width:100%;box-sizing:border-box;border:1px solid #ccd6d2;border-radius:13px;padding:14px;font:inherit}.account-error,.account-success{padding:11px;border-radius:10px;margin-top:12px}.account-error{background:#fde9e5;color:#9d3c31}.account-success{background:#e4f6ed;color:#17644f}body:has(.ai-messages) .account-fab,body:has(aside.chat.room) .account-fab{display:none!important}@media(max-width:700px){.account-fab{right:14px!important;top:76px!important;bottom:auto!important}.account-fab span{width:36px;height:36px}.account-card{border-radius:22px;padding:26px 20px}}


/* app/studio/studio.css */
*{box-sizing:border-box}body{margin:0;background:#f4f7f5;color:#12362b;font-family:system-ui,sans-serif}.studio-page{min-height:100dvh;padding:24px}.studio-page>header{display:flex;align-items:center;gap:14px;width:min(760px,100%);margin:auto;padding:18px;border-radius:20px 20px 0 0;background:linear-gradient(135deg,#0b7052,#064d48);color:#fff}.studio-page>header>a{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#ffffff1f;color:#fff}.studio-page>header span{display:grid;grid-template-columns:auto 1fr;column-gap:10px}.studio-page>header span>svg{grid-row:1/3;width:28px}.studio-page>header b{font-size:21px}.studio-page>header small{color:#cdf3e4}.studio-card{width:min(760px,100%);margin:auto;padding:22px;border:1px solid #d9e5df;border-top:0;border-radius:0 0 20px 20px;background:#fff;box-shadow:0 20px 55px #12362b18}.studio-card nav{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px}.studio-card nav button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;border:1px solid #cbdad2;border-radius:13px;background:#fff;color:#486158;font-weight:800}.studio-card nav button.active{border-color:#0a835a;background:#e5f7ee;color:#076b49}.studio-card nav svg{width:21px}.studio-card form{display:grid;gap:10px}.studio-card label{display:grid;gap:9px;font-weight:800}.studio-card textarea{width:100%;resize:vertical;padding:15px;border:1px solid #bdcdc5;border-radius:14px;font:inherit;line-height:1.5}.studio-card textarea:focus{border-color:#0a835a;outline:3px solid #d9f1e5}.studio-card form>small{text-align:right;color:#718078}.studio-card form>button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;border:0;border-radius:13px;background:#0b7052;color:#fff;font-weight:900}.studio-card form>button:disabled{opacity:.55}.studio-card form>button svg{width:21px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.studio-error{margin-top:15px;padding:13px;border-radius:11px;background:#ffebe6;color:#9d3d2f}.studio-results{display:grid;gap:15px;margin-top:20px}.studio-results article{overflow:hidden;border:1px solid #dce5e0;border-radius:15px;background:#f6f8f7}.studio-results img,.studio-results video{display:block;width:100%;max-height:520px;object-fit:contain;background:#13211c}.studio-results a{display:flex;align-items:center;justify-content:center;gap:7px;margin:12px;padding:11px;border-radius:10px;background:#0b7052;color:#fff;font-weight:800;text-decoration:none}.studio-results svg{width:18px}.studio-card aside{margin-top:20px;padding:14px;border-radius:13px;background:#eef8f3}.studio-card aside p{margin:5px 0 0;line-height:1.5;color:#52675e}.studio-gate{width:min(480px,100%);margin:15vh auto;padding:28px;border-radius:20px;background:#fff;box-shadow:0 20px 55px #12362b18;text-align:center}.studio-gate a{display:inline-block;margin-top:10px;padding:12px 18px;border-radius:10px;background:#0b7052;color:#fff;text-decoration:none;font-weight:800}@media(max-width:600px){.studio-page{padding:0}.studio-page>header,.studio-card{width:100%;border-radius:0}.studio-card{min-height:calc(100dvh - 82px);padding:16px}.studio-page>header b{font-size:18px}.studio-page>header small{font-size:11px}}
