@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#f7f8fa;--ink:#252535;--muted:#82828e;--primary:#6551c8;--line:#eaeaf0;--green:#287e66;--purple-light:#eeebfa}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'DM Sans',system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b2a5ef;outline-offset:3px}h1,h2,h3,.brand{font-family:Manrope,system-ui,sans-serif}h1{font-size:30px;letter-spacing:-1px;margin:0 0 10px}h2{font-size:19px;letter-spacing:-.5px;margin:0}h3{font-size:16px;margin:0 0 9px}p{line-height:1.65}small{font-size:12px}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;background:white;border-right:1px solid var(--line);padding:32px 23px 20px;display:flex;flex-direction:column;z-index:3}.brand{font-weight:800;font-size:19px;display:flex;align-items:center;gap:11px}.brand-icon{background:var(--primary);color:white;width:37px;height:39px;border-radius:12px;font-size:31px;line-height:34px;text-align:center;position:relative}.brand-icon span{position:absolute;font-size:16px;right:3px;top:-6px;color:#dcd4ff}.workspace{font-size:9px;letter-spacing:1.6px;color:#9999a3;margin:42px 11px 16px;font-weight:700}nav{display:grid;gap:7px}nav a{padding:13px 14px;border-radius:9px;color:#71717e;display:flex;gap:13px;align-items:center;font-weight:500}nav a.active{background:var(--purple-light);color:var(--primary);font-weight:700}nav a:hover{background:#f4f2fc}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sidebar-bottom{margin-top:auto;padding:28px 14px;color:#666477}.little-star{color:var(--primary);font-size:28px}.sidebar-bottom b{font-size:13px}.sidebar-bottom p{font-size:11px;color:var(--muted)}.text-button{background:none;border:0;padding:0;color:var(--primary);font-weight:600}.profile{border-top:1px solid var(--line);padding:22px 5px 0;display:flex;align-items:center;gap:11px}.avatar{display:grid;place-items:center;background:#ebe5e0;color:#8d715e;width:38px;height:38px;border-radius:50%;font-weight:700}.profile b{font-size:12px}.profile small{display:block;color:var(--muted);margin-top:4px}.shell{margin-left:246px}header{height:83px;padding:0 42px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);background:#ffffffb0;gap:15px}.crumb{font-size:12px;color:#92929c}.crumb span{margin:0 12px;color:#c1c1ca}.crumb b{font-weight:500;color:#555564}.header-actions{display:flex;gap:18px;align-items:center}.header-actions select{font-size:12px;padding:9px;border:1px solid var(--line);background:white;border-radius:8px;color:#676172}.local-pill{font-size:10px;color:#84828d}.local-pill i{display:inline-block;width:6px;height:6px;background:#b49c6a;border-radius:50%;margin-right:5px}main{max-width:1380px;margin:auto;padding:39px 42px 50px;min-height:calc(100vh - 145px)}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:29px;gap:20px}.page-heading p{color:var(--muted);margin:0;font-size:13px}.eyebrow{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;font-weight:700;color:var(--primary);margin-bottom:10px}.date-chip{font-size:12px;color:#85828e;white-space:nowrap}.hero{border-radius:17px;background:#eeebf8;min-height:225px;position:relative;padding:31px 34px;display:flex;align-items:center;overflow:hidden;margin-bottom:25px}.hero-content{position:relative;z-index:1;max-width:60%}.hero h2{font-size:28px;line-height:1.3;margin:10px 0}.hero p{font-size:12px;color:#7b748e;margin:0 0 20px;max-width:370px}.hero .eyebrow{font-size:9px;letter-spacing:1.7px}.hero-art{position:absolute;right:3%;top:20px;width:270px;height:215px}.orbit{border:1px solid #d8d1ee;width:215px;height:215px;border-radius:50%;position:absolute;right:20px}.orbit:after{content:'';position:absolute;inset:23px;border:1px solid #ddd7ef;border-radius:50%}.bubble{position:absolute;box-shadow:0 12px 30px #7061951a;border-radius:15px;padding:17px 23px;font-family:Manrope,sans-serif;font-size:31px;font-weight:700;transform:rotate(-9deg);background:white;color:var(--primary);top:32px;left:9px}.bubble:after{content:'';position:absolute;bottom:-11px;left:25px;border-top:13px solid white;border-right:13px solid transparent}.bubble.second{background:var(--primary);color:white;font-size:26px;transform:rotate(8deg);top:113px;left:91px}.bubble.second:after{border-top-color:var(--primary)}.spark{position:absolute;color:#d0ad64;font-size:38px;right:15px;top:28px}.spark.two{top:151px;left:24px;font-size:24px}.btn{border:0;border-radius:8px;background:var(--primary);color:white;padding:11px 17px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:600;font-size:12px;line-height:1.4}.btn:hover{filter:brightness(.95)}.btn.secondary{background:white;color:#676172;border:1px solid var(--line)}.btn.soft{background:var(--purple-light);color:var(--primary)}.btn.danger{background:#faeeee;color:#b64b4b}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:32px}.stat{padding:20px;background:white;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;gap:15px}.stat-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#f2effc;color:var(--primary)}.stat:nth-child(2) .stat-icon{background:#eaf5ef;color:#529c7c}.stat:nth-child(3) .stat-icon{background:#fff5e7;color:#cba44f}.stat:nth-child(4) .stat-icon{background:#edf2fa;color:#6c92ba}.stat strong{font-family:Manrope,sans-serif;font-size:23px;display:block;line-height:1.1}.stat small{display:block;margin-top:6px;color:var(--muted);font-size:10px}.columns{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(250px,1fr);gap:25px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.section-heading a{color:var(--primary);font-size:11px;font-weight:600}.panel{background:white;border:1px solid var(--line);border-radius:13px;padding:23px}.class-row{display:flex;gap:16px;align-items:center;padding:17px 0;border-bottom:1px solid #f0eff4}.class-row:last-child{border:0;padding-bottom:2px}.class-row:first-child{padding-top:0}.day-box{width:48px;text-align:center;padding:9px 5px;background:#f7f6fb;border-radius:8px;flex-shrink:0}.day-box small{text-transform:uppercase;font-size:9px;color:#9b93b0}.day-box b{display:block;font-size:19px;margin-top:3px}.class-info{flex:1;min-width:0}.class-info h3{font-size:12px;margin-bottom:6px}.class-info p{font-size:10px;color:var(--muted);margin:0}.tag{display:inline-block;padding:5px 8px;border-radius:5px;background:#f0edf9;color:#8572b6;font-size:9px;font-weight:600}.tag.green{background:#edf7f1;color:#529879}.tag.gold{background:#fbf4e6;color:#ae914c}.level-line{display:flex;justify-content:space-between;align-items:center;margin:23px 0 10px;font-size:11px}.progress{height:7px;background:#f0edf8;border-radius:9px;overflow:hidden}.progress div{height:100%;background:#9e8bdc;border-radius:9px}.level-pills{display:flex;justify-content:space-between;margin-top:16px;color:#a7a1b6;font-size:10px}.level-pills .current{color:var(--primary);font-weight:bold}.progress-note{font-size:11px;color:var(--muted);margin:22px 0 0}.recordings-section{margin-top:30px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.recording{background:white;border-radius:12px;border:1px solid var(--line);overflow:hidden}.cover{height:139px;background:#e4e8df;position:relative;display:flex;align-items:center;padding:24px;overflow:hidden}.cover:after{content:'Aa';position:absolute;right:12px;bottom:-30px;font-size:126px;font-weight:800;letter-spacing:-12px;color:#ffffff55;transform:rotate(-14deg)}.cover.violet{background:#e9e3f4}.cover.peach{background:#f1e6db}.cover .cover-word{font-family:Manrope,sans-serif;font-weight:800;font-size:20px;color:#555f50;line-height:1.3;position:relative;z-index:1;max-width:80%}.cover.violet .cover-word{color:#75628e}.cover.peach .cover-word{color:#997c62}.play{position:absolute;right:18px;top:18px;border:0;background:#ffffffd9;color:#6c6a78;width:31px;height:31px;border-radius:50%;display:grid;place-items:center;z-index:1}.card-body{padding:17px}.card-body h3{font-size:13px;line-height:1.5;margin:10px 0 5px}.card-body p{font-size:10px;color:var(--muted);margin:0}.card-footer{margin-top:16px;padding-top:12px;border-top:1px solid #f2f1f6;display:flex;justify-content:space-between;gap:8px;align-items:center}.card-footer button{font-size:10px}.card-footer small{color:#92909c;font-size:9px}.daily{background:#f6f1e7;border:1px solid #eee6d7;border-radius:12px;padding:22px;margin-top:22px}.daily .eyebrow{color:#af975f;font-size:9px}.daily blockquote{margin:14px 0 7px;font-family:Manrope,sans-serif;font-size:20px;font-weight:700;letter-spacing:-.5px}.daily p{font-size:11px;color:#9a8e79;margin:0}.daily .text-button{font-size:11px;color:#9a7e44;margin-top:20px}footer{font-size:10px;color:#a7a5ae;padding:20px 42px;border-top:1px solid var(--line);display:flex;justify-content:space-between}.toolbar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px}.toolbar input{flex:1;min-width:160px}.toolbar input,.toolbar select{padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:white;color:#777383}.empty{text-align:center;padding:40px 20px;color:var(--muted)}.empty h3{color:var(--ink)}.notice{padding:13px 17px;background:#f3f0fb;border:1px solid #e6dff7;border-radius:9px;color:#7a6a98;font-size:12px;line-height:1.6;margin-bottom:23px}.note{padding:22px;background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:16px}.note p{white-space:pre-wrap;font-size:13px;color:#777181}.note-meta{font-size:10px;color:var(--muted);margin-bottom:13px}.note-actions{display:flex;gap:14px;justify-content:flex-end}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;background:white}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{font-size:10px;letter-spacing:.4px;color:#918a9e;background:#faf9fc;padding:16px 20px}td{padding:17px 20px;border-top:1px solid var(--line);font-size:12px}td small{color:var(--muted)}.stack{display:grid;gap:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#706b7b}.field.full{grid-column:1/-1}.field input,.field select,.field textarea{width:100%;border:1px solid #ddd9e8;border-radius:8px;padding:11px;background:white;color:var(--ink)}.field textarea{min-height:130px;resize:vertical}.field small{color:var(--muted);line-height:1.6}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}dialog{border:0;border-radius:16px;padding:27px;width:min(580px,calc(100% - 28px));max-height:90vh;box-shadow:0 20px 100px #30204a30}dialog::backdrop{background:#26223566;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.icon-button{border:0;background:#f6f4f9;color:#81778e;font-size:23px;width:31px;height:31px;border-radius:50%}video{width:100%;border-radius:10px;max-height:60vh;background:#17151f}.quiz{max-width:720px;margin:auto;padding:32px}.quiz-question{font-size:27px;line-height:1.5;margin:25px 0}.answers{display:grid;grid-template-columns:1fr 1fr;gap:12px}.answer{text-align:left;padding:17px;background:white;border:1px solid #ded8ee;border-radius:9px}.answer.correct{background:#e9f7ed;border-color:#77ac88}.answer.wrong{background:#faebeb;border-color:#d69292}.feedback{margin:20px 0;line-height:1.7;font-size:13px;min-height:44px}.subtle{font-size:12px;color:var(--muted);line-height:1.7}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.settings-grid .panel p{color:var(--muted);font-size:12px}.feature-list{padding-left:18px;color:#81778e;line-height:2;font-size:12px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#393044;color:white;border-radius:10px;padding:12px 20px;box-shadow:0 5px 30px #0002;z-index:10;display:none;max-width:90%;font-size:13px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.wide-gap{margin-top:28px}.delete-small{background:none;border:0;color:#ac7b7b;font-size:11px}.mobile-only{display:none}
@media(min-width:1450px){main{padding-top:48px}.hero{min-height:250px}.cover{height:160px}}
@media(max-width:1150px){.sidebar{width:210px;padding-left:15px;padding-right:15px}.shell{margin-left:210px}main{padding:30px 25px}header{padding:0 25px}.stat{padding:15px;gap:9px}.stat-icon{width:32px;height:36px}.stat strong{font-size:21px}.hero-art{right:-15px;transform:scale(.85)}.columns{gap:18px;grid-template-columns:1.5fr 1fr}.local-pill{display:none}.cards{gap:12px}.cover{padding:18px}.cover .cover-word{font-size:17px}}
@media(max-width:850px){.sidebar{position:static;width:100%;padding:18px 20px 0;border-right:0;border-bottom:1px solid var(--line)}.workspace,.sidebar-bottom,.profile{display:none}.brand{font-size:18px}.brand-icon{height:32px;width:32px;font-size:27px;line-height:29px}nav{display:flex;overflow-x:auto;margin-top:16px;gap:5px;padding-bottom:10px}nav a{font-size:12px;white-space:nowrap;padding:10px}nav svg{width:16px;height:16px}nav a span{display:block}.shell{margin:0}header{height:58px;padding:0 20px}main{padding:27px 20px}.hero-art{right:0}.stats{gap:10px}.stat{display:block}.stat-icon{margin-bottom:12px}.columns{grid-template-columns:1fr 1fr}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.cards .recording:last-child:nth-child(3){display:none}.recordings-page .cards .recording{display:block}.date-chip{display:none}.settings-grid{grid-template-columns:1fr}footer{padding:20px}}
@media(max-width:570px){h1{font-size:25px}.page-heading{margin-bottom:22px}.page-heading p{font-size:12px}.page-heading .btn{padding:10px;font-size:10px}.hero{padding:25px 22px;min-height:240px}.hero-content{max-width:75%}.hero h2{font-size:24px;max-width:240px}.hero p{max-width:210px;font-size:11px}.hero-art{right:-112px;top:53px;transform:scale(.64);opacity:.7}.hero .btn{font-size:11px}.hero .eyebrow{font-size:8px}.stats{grid-template-columns:repeat(2,1fr);margin-bottom:25px}.stat{display:flex;padding:16px}.stat-icon{margin:0;width:37px;height:37px}.stat small{font-size:10px}.columns{grid-template-columns:1fr}.section-heading h2{font-size:17px}.cards{grid-template-columns:1fr}.cards .recording:last-child:nth-child(3){display:block}.cover{height:150px}.cover .cover-word{font-size:23px}.panel{padding:20px}.daily{margin-top:18px}.class-row{gap:12px}.class-row .btn{font-size:10px;padding:8px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.answers{grid-template-columns:1fr}.quiz{padding:22px}.quiz-question{font-size:23px}footer span{display:none}.crumb{font-size:11px}.header-actions select{font-size:11px}.notice{font-size:11px}.toolbar{gap:8px}.toolbar input{min-width:130px}.local-pill{display:none}}
[hidden]{display:none!important}.recordings-section .cards{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:570px){.recordings-section .cards{grid-template-columns:1fr}}
/* Etien English v2: tipografía, acceso y módulos de la escuela */
:root{--muted:#6d697a;--ink:#272337;--bg:#f7f8fc;--line:#e4e3ec}body{font-size:16px}button:disabled{opacity:.55;cursor:wait}input:disabled,select:disabled{opacity:.7}.sidebar{width:250px;padding:25px 20px 18px}.shell{margin-left:250px}.workspace{font-size:12px;letter-spacing:1px;margin:25px 8px 13px}.sidebar nav{overflow-y:auto;gap:3px}.sidebar nav a{padding:10px 12px;font-size:14px;min-height:41px}.nav-glyph{display:inline-block;min-width:23px;text-align:center;font-size:21px}.sidebar-bottom{padding:20px 12px}.sidebar-bottom p,.sidebar-bottom b,.profile b,.profile small{font-size:13px}.profile{padding-top:16px}.sidebar-bottom .text-button{font-size:14px}.profile div{min-width:0}.profile b{overflow-wrap:anywhere}header{padding:0 32px;height:76px}.crumb,.header-actions .btn{font-size:13px}.header-actions{gap:9px}.mode-label{font-size:12px;color:#287e66}.mode-label.demo-mode{color:#865f21}main{padding:32px;max-width:1500px}.page-heading p{font-size:15px}.eyebrow{font-size:12px;letter-spacing:1.4px}.page-heading{margin-bottom:24px}.page-heading h1{font-size:30px}.btn{font-size:14px;padding:11px 17px;min-height:42px}.btn.text-button{background:none;color:var(--primary);padding:5px 0;min-height:32px}.stat small{font-size:13px}.stat strong{font-size:26px}.stats{gap:14px}.stat{padding:22px}.hero{min-height:245px}.hero h2{font-size:31px}.hero p{font-size:14px}.hero .eyebrow{font-size:12px}.section-heading a{font-size:14px}.section-heading h2{font-size:20px}.class-info h3{font-size:15px}.class-info p{font-size:13px;margin-top:5px}.class-row{flex-wrap:wrap}.day-box{width:52px}.day-box small{font-size:12px}.day-box b{font-size:22px}.tag{font-size:12px;padding:6px 9px;line-height:1.4}.row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.columns{grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr)}.reminder{display:block;border-bottom:1px solid var(--line);padding:17px 0}.reminder:last-child{border:0}.reminder b{font-size:14px}.reminder small{display:block;color:var(--muted);font-size:13px;margin-top:5px}.daily p,.daily .text-button{font-size:14px}.daily .eyebrow{font-size:12px}.card-body h3{font-size:16px}.card-body p{font-size:13px;margin-top:10px}.card-footer button{font-size:14px}.card-footer small{font-size:12px}.card-footer{flex-wrap:wrap}.card-body{padding:20px}.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.columns .resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cover{height:150px}.cover .cover-word{font-size:23px;max-width:85%}.subtle{font-size:14px}.notice{font-size:14px;line-height:1.7}.field{font-size:14px}.field small{font-size:13px}.field input,.field select,.field textarea{font-size:16px}.field input[readonly]{background:#f6f4fa}.full{grid-column:1/-1}.form-error{color:#aa3333;font-size:14px;line-height:1.6;margin-top:15px}.form-error:empty{display:none}.form-grid{gap:18px}.filter-label{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:12px}.toolbar select{font-size:14px;min-width:210px}select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#6c657a 50%),linear-gradient(135deg,#6c657a 50%,transparent 50%)!important;background-position:calc(100% - 17px) 50%,calc(100% - 12px) 50%!important;background-size:5px 5px!important;background-repeat:no-repeat!important;padding-right:35px!important}.note p{font-size:15px}.note-meta{font-size:13px}.note-actions{flex-wrap:wrap}td{font-size:14px;padding:18px}td small{font-size:13px}th{font-size:13px;padding:17px}.table-wrap td .btn{font-size:13px}.level-line,.level-pills{font-size:14px}.level-pills{gap:15px}.level-line{gap:15px}.settings-grid .panel p,.feature-list{font-size:14px}footer{font-size:12px}.demo-banner{background:#fff5dc;color:#795b21;padding:11px 32px;font-size:13px;display:flex;align-items:center;justify-content:space-between;gap:15px}.demo-banner .text-button{font-size:13px;color:#77532d}.empty h3{font-size:18px}.empty p{font-size:14px}.empty-icon{font-size:32px;color:#a89ad5;display:block;margin-bottom:16px}dialog{width:min(760px,calc(100% - 28px));padding:28px}dialog h2{font-size:22px}dialog audio{width:100%}.dialog-heading{gap:15px}.dialog-heading h2{overflow-wrap:anywhere}.question-editor{border:1px solid var(--line);padding:18px;border-radius:12px;margin:0 0 20px}.question-editor legend{font-weight:700;font-size:15px;padding:0 8px}.question-editor .field:first-child{grid-column:1/-1}.quiz-item{border:0;padding:0;margin:20px 0 30px}.quiz-item legend{font-weight:600;line-height:1.6;margin-bottom:12px}.quiz-option{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:9px;margin:9px 0;cursor:pointer}.quiz-option:has(input:checked){background:#f0ecfc;border-color:var(--primary)}.quiz-option input{accent-color:var(--primary)}.quiz-result{text-align:center;margin:25px 0}.quiz-result strong{font-size:48px;color:var(--primary)}.chat-panel{max-width:900px}.chat-messages{display:flex;flex-direction:column;gap:18px;max-height:55vh;overflow:auto;padding:10px 0 28px}.message{align-self:flex-start;max-width:85%;padding:17px 21px;background:#f3f2f8;border-radius:14px 14px 14px 2px}.message.own{align-self:flex-end;background:#ebe5fc;border-radius:14px 14px 2px 14px}.message b{font-size:13px;color:#786993}.message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0;font-size:15px}.message small{font-size:12px;color:var(--muted)}.chat-panel textarea{min-height:85px}.assistant-panel{max-width:750px}.assistant-star{color:var(--primary);font-size:50px}.assistant-panel #assistant-answer{white-space:pre-wrap;line-height:1.8;margin-top:25px}.signed-out .sidebar{display:none}.signed-out .shell{margin-left:0}.signed-out header{background:white}.signed-out #demo-banner{display:none}.signed-out main{max-width:1300px;padding:45px 40px}.auth-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:65px;align-items:center;min-height:calc(100vh - 240px)}.auth-story{padding:40px 10px;position:relative}.auth-story h1{font-size:clamp(42px,4.5vw,65px);line-height:1.17;letter-spacing:-2.5px;margin-top:20px}.auth-story h1 span{color:var(--primary)}.auth-story p{max-width:380px;color:var(--muted);font-size:17px}.auth-bubbles{display:flex;gap:18px;padding:35px 0 30px}.auth-bubbles span{padding:18px 25px;background:#ebe5fb;color:var(--primary);font-size:25px;font-weight:700;border-radius:16px;transform:rotate(-7deg)}.auth-bubbles span+span{background:var(--primary);color:white;transform:rotate(7deg);margin-top:25px}.auth-features{display:flex;flex-wrap:wrap;gap:14px;font-size:13px;color:#817991}.auth-features span:before{content:'✓';color:#499578;margin-right:7px}.auth-card{padding:33px;background:white;border:1px solid var(--line);border-radius:20px;box-shadow:0 18px 60px #30235c08}.brand-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--primary);color:white;font-weight:800;font-size:24px;margin-bottom:22px}.auth-card h2{font-size:25px;line-height:1.35}.auth-card .subtle{margin:12px 0 20px}.auth-card .notice{font-size:13px}.auth-card .stack{gap:17px}.auth-links{display:flex;justify-content:space-between;gap:15px;margin:15px 0}.auth-links .btn{font-size:13px}.demo-choice{border-top:1px solid var(--line);padding-top:14px;margin-top:20px}.demo-choice p{font-size:13px;color:var(--muted)}.demo-choice .btn{font-size:13px;margin:0 7px 8px 0}.demo-choice small{display:block;color:var(--muted);font-size:12px;line-height:1.6}.auth-card .btn[disabled]{cursor:not-allowed}.signed-out footer{padding-left:40px}#toast{font-size:14px}
@media(max-width:1200px){.sidebar{width:220px}.shell{margin-left:220px}main{padding:28px}.columns{grid-template-columns:1.5fr 1fr}.hero-art{right:-25px;transform:scale(.82)}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.class-row .class-info{min-width:180px}.class-row .row-actions{margin-left:auto}.auth-layout{gap:35px}.auth-story h1{font-size:52px}.mode-label{display:none}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.sidebar{position:static;width:auto;padding:18px 20px 0}.shell{margin-left:0}.sidebar nav{display:flex;overflow-x:auto;overflow-y:visible;padding-bottom:12px}.sidebar nav a{padding:10px 12px;font-size:14px}.sidebar-bottom,.workspace,.profile{display:none}.sidebar .brand{font-size:21px}main{padding:25px 20px}.demo-banner{padding:12px 20px}.columns{grid-template-columns:1fr}.auth-layout{gap:25px;grid-template-columns:1fr 1fr}.auth-story h1{font-size:43px}.auth-story p{font-size:15px}.auth-card{padding:25px}.signed-out main{padding:25px 20px}.auth-bubbles{gap:10px}.auth-bubbles span{padding:15px;font-size:21px}.cards .recording:last-child:nth-child(3){display:block}.hero-art{right:0}.hero .hero-content{max-width:65%}.stats{grid-template-columns:repeat(4,minmax(0,1fr))}.stat{padding:17px;display:block}.stat strong{font-size:24px}.stat small{line-height:1.5}header{padding:0 20px}.auth-card h2{font-size:22px}.settings-grid{grid-template-columns:1fr}}
@media(max-width:600px){.auth-layout{grid-template-columns:1fr;gap:20px}.auth-story{padding:5px 4px}.auth-story h1{font-size:38px;letter-spacing:-1.5px;margin:12px 0}.auth-story h1 br{display:none}.auth-story p{margin:10px 0}.auth-bubbles,.auth-features{display:none}.auth-card{padding:24px}.signed-out main{padding-top:18px}.brand-mark{display:none}.auth-links{flex-direction:column;gap:3px;align-items:flex-start}.page-heading{align-items:flex-start;gap:12px;flex-wrap:wrap}.page-heading h1{font-size:26px}.page-heading p{font-size:14px}.page-heading .btn{font-size:14px;padding:10px 14px}.hero{padding:25px;min-height:240px}.hero h2{font-size:27px}.hero p{font-size:14px}.hero .eyebrow{font-size:12px}.hero .hero-content{max-width:90%}.hero-art{right:-135px;opacity:.25;top:55px}.hero .btn{font-size:14px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{display:block;padding:18px}.stat small{font-size:13px}.cards,.columns .resource-grid{grid-template-columns:1fr}.class-row{gap:12px}.class-info{min-width:160px!important}.class-row .row-actions{margin-left:64px}.class-row .btn{font-size:14px;padding:10px 14px}.day-box{width:50px}.row-actions{margin-top:3px}.demo-banner{font-size:12px;display:block}.demo-banner .btn{display:block}.header-actions{gap:6px}.header-actions .btn{padding:8px;font-size:12px;min-height:36px}.crumb{font-size:12px}.crumb span{margin:0 4px}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.section-heading{flex-wrap:wrap}.section-heading h2{font-size:19px}.filter-label{display:block}.filter-label select{display:block;margin-top:8px;max-width:100%}dialog{padding:22px}.form-actions{flex-wrap:wrap}.form-actions .btn{flex:1}.question-editor{padding:13px}.message{max-width:95%}.toolbar input{font-size:16px}.toolbar select{font-size:14px}.level-line{font-size:13px}.demo-choice .btn{font-size:14px}.auth-card input{font-size:16px}footer{font-size:12px}.daily p,.daily .text-button{font-size:14px}.notice{font-size:14px}.signed-out .crumb{font-size:14px}}

/* Cuaderno visual: herramientas fuera de la hoja, contenido en una página legible. */
.notebook-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
.notebook-card{display:flex;flex-direction:column;gap:10px;margin:0!important}
.notebook-card p{white-space:pre-line;flex:1;margin:0;overflow-wrap:anywhere}
.notebook-card-icon{font-size:30px;color:#6551c8}
.notebook-card .note-actions{margin-top:16px}
.notebook-dialog{width:min(1200px,96vw);max-width:1200px;max-height:94vh;padding:0;overflow:auto}
.notebook-dialog .dialog-heading{padding:18px 24px;margin:0;border-bottom:1px solid #e5e0f2;background:white}
.notebook-dialog #dialog-body{padding:0}
.notebook{background:#f5f3fa;padding:24px}
.notebook-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}
.notebook-top p{margin:6px 0 0;color:#666077;font-size:16px}
.notebook-actions{display:flex;gap:8px;flex-wrap:wrap}
.notebook-meta{display:grid;grid-template-columns:1.4fr 1fr;gap:16px}
.notebook-meta label{display:grid;gap:6px;font-size:14px;font-weight:600;color:#514963}
.notebook-meta input,.notebook-meta select{width:100%;background:white;font-size:16px}
.notebook-status{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0;font-size:14px;color:#655e76}
.notebook-status #note-status{color:#216447}.notebook-status #note-status.error{color:#b32a35}
.note-toolbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;background:white;padding:12px;border:1px solid #ddd6ee;border-radius:14px 14px 0 0;position:sticky;top:0;z-index:2}
.note-toolbar button,.note-image-tools button{border:1px solid #ddd6ee;border-radius:7px;padding:8px 10px;background:#fff;color:#423550;font-size:14px;cursor:pointer;min-height:38px}
.note-toolbar button:hover,.note-toolbar button:focus-visible{background:#eee8fc;border-color:#6551c8}
.note-toolbar label,.note-image-tools label{display:flex;align-items:center;gap:6px;font-size:14px;color:#514963}
.note-toolbar select{width:auto;padding:7px 24px 7px 8px;font-size:14px;min-height:38px}
.note-image-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px;background:#eae3fa;font-size:14px}
.note-image-tools[hidden]{display:none}
.note-image-tools input{min-width:120px;max-width:240px;font-size:14px;padding:8px}
.note-image-tools select{width:90px;padding:8px}
.note-paper{padding:24px;background:#eae6f1;border:1px solid #ddd6ee}
.note-document{min-height:560px;max-width:820px;margin:0 auto;padding:48px;background:white;box-shadow:0 4px 16px #3224480c;color:#28243c;font-size:18px;line-height:1.65;overflow-wrap:anywhere;outline:none;white-space:normal}
.note-document:focus{box-shadow:0 0 0 2px #b3a5e2}
.note-document p,.note-document div{white-space:pre-wrap;margin:0 0 12px}
.note-document h2{font-size:28px;line-height:1.25;margin:20px 0 14px}
.note-document h3{font-size:24px;line-height:1.3}
.note-document img{display:block;max-width:100%;height:auto;margin:18px auto;border-radius:4px;cursor:pointer;min-height:24px}
.note-document img[data-error]{border:1px dashed #c44;padding:15px}
.note-document hr{border:0;border-top:2px solid #d9d2ea;margin:24px 0}
.note-document ul,.note-document ol{padding-left:30px}.note-document blockquote{border-left:3px solid #8c75d9;padding-left:20px;margin:20px 0}
.note-hint{font-size:14px;color:#726982;line-height:1.6;margin-bottom:0}.legacy-note{white-space:pre-wrap}
@media(max-width:700px){.notebook{padding:12px}.notebook-top{align-items:flex-start;flex-direction:column}.notebook-meta{grid-template-columns:1fr}.note-paper{padding:8px}.note-document{padding:24px 18px;font-size:17px;min-height:450px}.note-toolbar{position:static}.notebook-dialog .dialog-heading{padding:14px}.note-image-tools label{flex-wrap:wrap}.note-image-tools input{width:100%}}
@media print{
 body.printing-note{background:white!important;display:block!important;overflow:visible!important}
 body.printing-note>.sidebar,body.printing-note>.shell,body.printing-note>#toast{display:none!important}
 body.printing-note #dialog{position:static!important;display:block!important;margin:0!important;padding:0!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;overflow:visible!important;border:0!important;box-shadow:none!important}
 body.printing-note #dialog::backdrop{display:none}
 body.printing-note .dialog-heading,body.printing-note .note-toolbar,body.printing-note .note-image-tools,body.printing-note .notebook-actions,body.printing-note .notebook-status,body.printing-note #note-conflict,body.printing-note .note-hint{display:none!important}
 body.printing-note .notebook,body.printing-note .note-paper{background:white;padding:0;border:0}
 body.printing-note .notebook-meta{display:block;margin-bottom:20px}
 body.printing-note .notebook-meta label{font-size:0}
 body.printing-note #note-title{border:0;padding:0;font-size:26px;font-weight:700}
 body.printing-note #note-lesson{display:none}
 body.printing-note .note-document{padding:0;min-height:0;max-width:none;box-shadow:none;font-size:16px}
 body.printing-note .note-document img{break-inside:avoid;max-height:230mm;object-fit:contain}
 body.printing-note .notebook{print-color-adjust:exact;-webkit-print-color-adjust:exact}
 @page{margin:18mm}
}

.note-toolbar .note-color-picker input[type="color"]{width:46px;height:38px;min-height:38px;padding:3px;border:1px solid #ddd6ee;border-radius:7px;background:white;cursor:pointer}
.note-toolbar button[data-note-command="bold"]{font-weight:800}
.note-toolbar button[data-note-command="italic"]{font-style:italic}
.note-toolbar button[data-note-command="underline"]{text-decoration:underline}
.note-document font[size="1"]{font-size:12px}.note-document font[size="2"]{font-size:14px}.note-document font[size="3"]{font-size:16px}.note-document font[size="4"]{font-size:20px}.note-document font[size="5"]{font-size:24px}.note-document font[size="6"]{font-size:32px}.note-document font[size="7"]{font-size:40px}

/* Llamadas: panel persistente independiente de la navegación y del cuaderno. */
#voice-call{position:fixed;right:18px;bottom:18px;width:min(560px,calc(100vw - 36px));max-height:88vh;overflow:auto;z-index:20;background:white;border:1px solid #dcd5f3;border-radius:18px;box-shadow:0 14px 50px #29213e33;padding:18px}
#voice-call[hidden],#voice-call [hidden]{display:none!important}
.call-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.call-heading b{font-size:17px}
.call-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.call-actions .btn{font-size:13px;padding:9px 12px}
.call-media{border-radius:10px;background:#f5f3fc;overflow:hidden;min-height:70px}.call-media p{padding:12px;text-align:center;color:#737080}.call-media video{display:block;width:100%;max-height:48vh;object-fit:contain;background:#171321}
.call-help{font-size:12px;color:#6f687e;margin-bottom:0}#voice-call.compact .call-media,#voice-call.compact .call-help{display:none}
dialog.with-call{width:min(1700px,98vw);max-width:1700px}dialog.with-call #dialog-body{margin-right:min(570px,42vw);min-height:380px}dialog.with-call #voice-call{position:absolute;top:75px;right:12px;bottom:auto;width:min(550px,40vw);max-height:75vh}
@media(max-width:800px){dialog.with-call #dialog-body{margin-right:0}dialog.with-call #voice-call{position:relative;top:auto;right:auto;width:auto;max-height:none;margin:12px}#voice-call{right:8px;bottom:8px;width:calc(100vw - 16px)}.header-actions{flex-wrap:wrap}.call-media video{max-height:35vh}}
@media print{#voice-call{display:none!important}dialog.with-call #dialog-body{margin-right:0!important}}

/* English practice chat: navy, warm white and American red. */
.english-chat{--ec-navy:#142e51;--ec-red:#bc3545;--ec-muted:#617086;color:var(--ec-navy)}
.ec-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:4px 0 28px}.ec-eyebrow,.ec-label{font-size:10px;letter-spacing:1.6px;font-weight:800}.ec-eyebrow{color:var(--ec-red)}.ec-hero h1{font-size:clamp(28px,3vw,42px);letter-spacing:-1.5px;margin:12px 0}.ec-hero h1>span{color:var(--ec-red)}.ec-hero p{margin:0;color:var(--ec-muted);font-size:14px}.ec-emblem{flex-shrink:0;width:130px;border:1px solid #d9e1ec;border-radius:20px;background:#fff;text-align:center;overflow:hidden;transform:rotate(5deg);box-shadow:0 8px 25px #142e510a}.ec-emblem>span{display:block;padding:8px;background:var(--ec-navy);color:white;letter-spacing:10px;font-size:12px}.ec-emblem b{display:block;padding:12px;font-size:25px}.ec-emblem i{display:block;height:12px;background:repeating-linear-gradient(0deg,#bc3545 0 3px,#fff 3px 6px)}
.ec-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:26px;align-items:start}.ec-guide{padding:25px 0}.ec-guide>.ec-label{color:var(--ec-red)}.ec-guide h2{font-size:22px;margin:12px 0}.ec-guide>p{color:var(--ec-muted);line-height:1.7}.ec-topics{display:grid;gap:10px;margin:25px 0}.ec-topics button{display:flex;gap:12px;align-items:center;text-align:left;padding:14px;border:1px solid #dce3ed;border-radius:12px;background:white;color:var(--ec-navy);font-weight:600;cursor:pointer}.ec-topics button>span{display:grid;place-items:center;background:#eef2f8;border-radius:8px;width:30px;height:30px;color:var(--ec-red);font-size:17px}.ec-topics button b{margin-left:auto;color:#8290a3}.ec-topics button:hover:not(:disabled){border-color:var(--ec-red);background:#fff9f9}.ec-tip{border-left:3px solid var(--ec-red);padding:5px 16px;margin-top:30px}.ec-tip p{font-size:13px;line-height:1.8;color:var(--ec-muted)}.ec-tip strong{font-size:15px}.ec-guide .ec-limit{font-size:11px;margin-top:26px;line-height:1.7}
.ec-window{min-width:0;background:white;border:1px solid #dce3ed;border-radius:22px;overflow:hidden;box-shadow:0 12px 40px #142e5108}.ec-window .ec-header{position:static;display:flex;justify-content:flex-start;height:auto;gap:13px;align-items:center;padding:20px 24px;background:white;border-bottom:1px solid #e5eaf1}.ec-avatar{display:grid;place-items:center;position:relative;width:44px;height:44px;background:var(--ec-navy);color:white;border-radius:14px;font-size:29px;font-weight:800}.ec-avatar span{position:absolute;right:4px;top:0;font-size:13px;color:#fff}.ec-header h2{margin:0 0 4px;font-size:17px}.ec-header #ec-state{font-size:11px;color:var(--ec-muted)}.ec-new{margin-left:auto;background:white;color:var(--ec-navy);border:1px solid #dce3ed;border-radius:8px;padding:9px 12px;cursor:pointer;white-space:nowrap;font-size:12px}
.ec-conversation{height:440px;max-height:54vh;min-height:280px;overflow:auto;overscroll-behavior:contain;padding:26px;display:flex;flex-direction:column;gap:18px;background:linear-gradient(180deg,#f7f9fc,#fff)}.ec-message{max-width:86%;padding:16px 19px;border-radius:16px;flex-shrink:0;overflow-wrap:anywhere}.ec-bot{align-self:flex-start;background:#fff;border:1px solid #e0e6ef;border-bottom-left-radius:4px}.ec-user{align-self:flex-end;background:var(--ec-navy);color:white;border-bottom-right-radius:4px}.ec-author{display:block;font-size:9px;font-weight:800;letter-spacing:1.4px;color:var(--ec-red);margin-bottom:8px}.ec-user .ec-author{color:#c8d8ee}.ec-message p{margin:0;white-space:pre-wrap;font-size:14px;line-height:1.85}.ec-wait{display:flex;align-items:center;gap:12px;color:var(--ec-muted);font-size:12px}.ec-dots{display:flex;gap:4px}.ec-dots i{width:6px;height:6px;border-radius:50%;background:var(--ec-red);animation:ec-pulse 1.3s infinite}.ec-dots i:nth-child(2){animation-delay:.15s}.ec-dots i:nth-child(3){animation-delay:.3s}@keyframes ec-pulse{50%{opacity:.3;transform:translateY(-3px)}}
.ec-composer{padding:20px 24px 12px;border-top:1px solid #e5eaf1}.ec-composer>label{display:block;font-size:12px;font-weight:700;margin-bottom:9px}.ec-input-row{display:flex;gap:12px;align-items:flex-end;border:1px solid #cdd7e5;border-radius:14px;padding:10px;background:#fff}.ec-input-row:focus-within{outline:2px solid #142e5140;border-color:var(--ec-navy)}.ec-input-row textarea{flex:1;min-width:0;resize:vertical;min-height:54px;max-height:180px;border:0!important;box-shadow:none!important;outline:none!important;padding:5px;background:transparent;color:var(--ec-navy);line-height:1.6}.ec-input-row button{border:0;border-radius:10px;background:var(--ec-red);color:white;min-height:44px;padding:10px 17px;font-weight:700;cursor:pointer}.ec-composer>span{display:block;color:var(--ec-muted);font-size:10px;margin-top:9px}.english-chat button:disabled{opacity:.5;cursor:wait}.english-chat button:focus-visible,.ec-privacy summary:focus-visible{outline:3px solid #3773b9;outline-offset:3px}.ec-privacy{padding:0 24px 20px;color:var(--ec-muted);font-size:11px}.ec-privacy summary{cursor:pointer}.ec-privacy p{line-height:1.8}.ec-error{border-top:1px solid #ffffff40;margin-top:12px;padding-top:10px;font-size:12px;line-height:1.6}.ec-error button{display:block;margin-top:8px;background:white;border:0;border-radius:6px;color:var(--ec-navy);padding:7px 10px;cursor:pointer}
@media(max-width:1000px){.ec-layout{grid-template-columns:190px minmax(0,1fr);gap:18px}.ec-hero h1{font-size:32px}.ec-topics button{font-size:12px;padding:10px}}
@media(max-width:700px){.ec-layout{grid-template-columns:minmax(0,1fr);gap:12px}.ec-guide{padding:0}.ec-guide>h2,.ec-guide>p,.ec-guide>.ec-label,.ec-tip{display:none}.ec-topics{display:flex;overflow:auto;gap:8px;margin:0 0 5px;padding-bottom:5px}.ec-topics button{white-space:nowrap;flex-shrink:0}.ec-topics button b{display:none}.ec-hero{padding-bottom:20px;gap:12px}.ec-hero h1{font-size:28px;letter-spacing:-.8px}.ec-eyebrow{font-size:8px}.ec-emblem{width:80px;border-radius:13px}.ec-emblem b{font-size:18px;padding:9px}.ec-emblem>span{font-size:8px;letter-spacing:5px}.ec-hero p{font-size:12px}.ec-window .ec-header{padding:15px;gap:10px}.ec-new{font-size:10px;padding:8px}.ec-header h2{font-size:15px}.ec-header #ec-state{font-size:10px}.ec-conversation{padding:16px;height:420px;max-height:52vh}.ec-message{max-width:95%;padding:13px}.ec-composer{padding:15px}.ec-input-row{gap:6px}.ec-input-row button{font-size:12px;padding:9px 12px}.ec-privacy{padding:0 15px 16px}.ec-message p{font-size:13px}}
@media(prefers-reduced-motion:reduce){.ec-dots i{animation:none}}

/* Blue, red and white palette; retain the original Etien logo. */
:root{--primary:#174879;--purple-light:#eaf1fa;--bg:#f5f8fc;--ink:#142e51;--line:#dce5f0}
.brand-icon,.brand-mark{background:#6551c8}.brand-icon span{color:#dcd4ff}
nav a.active{background:#eaf1fa;color:#163e70;box-shadow:inset 3px 0 #c73548}
.btn{background:#b82e43}.btn.secondary{background:#fff;color:#174879;border-color:#d2ddec}.btn.soft{background:#eaf1fa;color:#174879}.btn.text-button{background:transparent;color:#174879}
.eyebrow{color:#b82e43}.hero{background:linear-gradient(120deg,#173e70,#245b94)}
.ec-original-logo{width:88px;height:88px;flex-shrink:0;filter:drop-shadow(0 8px 15px #173e7015)}.ec-avatar.ec-logo{background:transparent;object-fit:contain;flex-shrink:0}
.ec-window{border-top:4px solid #bd3045}.ec-topics button:hover{border-color:#bd3045;background:#fff7f8}
@media(max-width:700px){.ec-original-logo{width:64px;height:64px}}

/* Playful learning palette: shared by the school and the games. */
:root{--bg:#edf3ff;--primary:#2258a8;--ink:#152c50;--muted:#566984;--line:#d3e0f2;--purple-light:#e4edff}
body{background:radial-gradient(ellipse at 90% 0,#dce8ff 0,transparent 50%),radial-gradient(ellipse at 10% 90%,#daf3ee 0,transparent 45%),#edf3ff}
.sidebar{background:linear-gradient(170deg,#f1f6ff,#e6efff 70%,#dceaf9);border-right:1px solid #c9d8ef}.workspace{color:#536a8d}.sidebar nav a{color:#345176;border-radius:12px}.sidebar nav a:hover{background:#d8e5fa}.sidebar nav a.active{background:#1c4584;color:#fff;box-shadow:inset 4px 0 #ffbf54,0 5px 15px #183c7a18}.nav-glyph{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;background:#ffffffa6;border-radius:9px;color:#245aaa}.nav-glyph svg{width:21px;height:21px}.sidebar nav a:nth-child(3n+2) .nav-glyph{color:#b92f49;background:#ffe8ed}.sidebar nav a:nth-child(3n) .nav-glyph{color:#12756e;background:#d7f4ed}.sidebar nav a.active .nav-glyph{background:#ffffff20;color:#fff}.sidebar .brand-icon{background:#6551c8}.profile{border-color:#c5d6ec}.avatar{background:#cddcf6;color:#214c8c}
.shell>header{background:#f4f8ffe8;border-bottom:1px solid #cddcf2}.page-heading h1{color:#173d75}.page-heading .eyebrow{color:#a92945}.hero{background:linear-gradient(115deg,#163b75 0%,#235cb2 65%,#367bca 100%);border:0;box-shadow:0 14px 35px #16458220}.hero h2,.hero p,.hero .eyebrow{color:#fff}.hero .eyebrow{color:#ffdb8b}.hero .btn{background:#fff;color:#173d75}.hero .bubble{background:#ffcf64;color:#153b72}.hero .bubble.second{background:#ff7180;color:#33284c}.hero .spark{color:#ffd26d}.hero .orbit{border-color:#ffffff35}.panel{box-shadow:0 5px 18px #21457708;border-color:#d1def0}.empty{background:linear-gradient(135deg,#edf3ff,#e9f6f5)}.empty-icon{color:#3766aa}.stats .stat{background:#ddeaff;border-color:#c7daf5}.stats .stat:nth-child(2){background:#ffe3e9;border-color:#f1c9d2}.stats .stat:nth-child(3){background:#d8f1eb;border-color:#bce2d8}.stats .stat:nth-child(4){background:#fff0ca;border-color:#efdfad}.stat strong{color:#193f77}.stat small{color:#485d7d}.daily{background:#fff0ce;border:1px solid #ecd9a2}.daily blockquote{color:#173d75}.day-box{background:#e1edff;color:#204d90}.notice{background:#e9f0ff;color:#405a80;border-color:#cddcf6}.settings-grid>.panel:nth-child(2){background:#e7f5f1}.settings-grid>.panel:nth-child(3){background:#fff2d7}.settings-grid>.panel:nth-child(4){background:#e9efff}.auth-story{border-radius:28px;padding:32px;background:linear-gradient(145deg,#dce9ff,#edf5ff 55%,#d3eee8)}.auth-bubbles span{background:#ffdb86;color:#1b3c70}.auth-bubbles span+span{background:#bb3651}.auth-card{border-top:5px solid #ba3650}.btn:not(.secondary):not(.soft):not(.text-button){box-shadow:0 4px 10px #b82e4317}.btn:hover{filter:brightness(.96)}.ec-window{box-shadow:0 14px 38px #193d7814}.ec-conversation{background:linear-gradient(145deg,#e5efff,#edf7f5)}.ec-guide{background:#dde9ff;border-radius:18px;padding:20px}.ec-tip{border-color:#d43d58}.ec-header{background:#edf3ff}.ec-topics button{background:#f8fbff}.ec-hero{padding:24px;border-radius:22px;background:linear-gradient(110deg,#d9e8ff,#f1f6ff 70%,#ffe1e7);margin-bottom:24px}.ec-original-logo,.ec-logo{filter:none}
.play-banner{display:flex;align-items:center;gap:18px;margin:0 0 25px;padding:21px 25px;background:linear-gradient(110deg,#fbd779,#ffeab6);border:1px solid #eac063;border-radius:18px;color:#163b70;text-decoration:none;box-shadow:0 6px 18px #b57b1510}.play-banner-icon{width:48px;height:48px;display:grid;place-items:center;background:#fff8df;border-radius:14px}.play-banner-icon svg{width:30px;height:30px}.play-banner b{display:block;font-size:19px}.play-banner small{display:block;margin-top:5px;font-size:14px;color:#4a5572}.play-banner>strong{margin-left:auto;white-space:nowrap}
.games-hero{display:flex;justify-content:space-between;gap:30px;align-items:center;background:linear-gradient(120deg,#163a73,#215da7 75%,#267a9d);color:#fff;border-radius:26px;padding:38px 42px;margin-bottom:28px;overflow:hidden;position:relative}.games-kicker{font-size:12px;letter-spacing:2px;font-weight:800;color:#ffda80}.games-hero h1{font-size:clamp(28px,3vw,43px);line-height:1.16;letter-spacing:-1px;margin:15px 0}.games-hero p{font-size:15px;color:#e4edff;max-width:560px;line-height:1.7}.games-pill{display:inline-block;background:#ffffff18;border:1px solid #ffffff30;padding:8px 13px;border-radius:30px;font-size:12px;margin-top:8px}.games-art{position:relative;flex:0 0 185px;height:185px;border:1px solid #ffffff25;border-radius:50%;background:#ffffff0b;display:grid;place-items:center;transform:rotate(-8deg)}.games-art svg{width:110px;height:110px;color:#ffd272}.games-art span,.games-art b{position:absolute;right:-12px;top:0;background:#f46c7d;color:#fff;padding:12px 17px;border-radius:13px;font-size:18px;transform:rotate(13deg)}.games-art b{top:auto;bottom:-5px;right:24px;background:#85dfc7;color:#173c68;font-size:15px;transform:rotate(5deg)}
.game-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.game-card{display:flex;flex-direction:column;padding:27px;border-radius:22px;background:#dceaff;border:1px solid #bbd3f5;color:#173b70}.game-card.phrases{background:#ffe1e6;border-color:#f4bcc8}.game-card.pairs{background:#d6f1e9;border-color:#afdccc}.game-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;font-weight:800;color:#44628a}.game-icon{width:56px;height:56px;border-radius:17px;background:#ffffffa6;display:grid;place-items:center}.game-icon svg{width:30px;height:30px}.game-card small{font-size:12px;font-weight:700;color:#4a5875}.game-card h2{font-size:23px;margin:7px 0 12px;line-height:1.2}.game-card p{font-size:14px;color:#405879;line-height:1.7;margin:0 0 22px}.game-meta{font-size:12px;font-weight:700;margin-top:auto;padding-bottom:20px}.learning-games button{font:inherit;cursor:pointer;border-radius:12px;min-height:46px;padding:12px 18px;border:1px solid #bacde8;background:#fff;color:#183e75;font-size:14px;font-weight:700;transition:background .15s,transform .15s}.learning-games button:hover:not(:disabled){background:#edf4ff;transform:translateY(-2px)}.learning-games button:focus-visible,.play-banner:focus-visible{outline:3px solid #e1a500;outline-offset:4px}.learning-games button:disabled{cursor:default;opacity:.5}.game-card button{background:#1d4c90;color:white;border-color:#1d4c90;display:flex;justify-content:space-between}.game-card.phrases button{background:#ae2d49;border-color:#ae2d49}.game-card.pairs button{background:#116e65;border-color:#116e65}.game-card button:hover:not(:disabled){background:#173b70;color:white}.game-session{display:flex;gap:20px;justify-content:space-between;margin-top:24px;background:#fff0cf;border:1px solid #ead49e;padding:20px 24px;border-radius:16px;font-size:14px;color:#65501e}.games-footnote{font-size:12px;color:#546984;line-height:1.8;margin:22px 0}.game-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:20px 0;font-size:14px}.game-board{background:linear-gradient(145deg,#f8fbff,#e9f2ff);border:1px solid #c4d8f2;border-radius:24px;padding:32px;max-width:950px;margin:auto;text-align:center;box-shadow:0 12px 30px #224e8b0c}.word-picture{font-size:65px;line-height:1.4}.game-instruction{color:#566a86;font-size:15px;margin:10px 0}.game-question{font-size:27px;color:#163b70;margin:16px 0 25px;line-height:1.4}.game-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:650px;margin:auto}.game-options button{min-height:64px;font-size:19px}.game-feedback{min-height:35px;margin-top:22px}.game-feedback p{padding:16px;background:#fff0d0;border-radius:12px;color:#755013;font-weight:600;line-height:1.6}.game-feedback.correct p{background:#daf2e7;color:#17634d}.game-feedback button{margin-top:12px;background:#1d4c90;color:white}.game-feedback button:hover:not(:disabled){background:#123565}.sentence-answer{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:9px;min-height:90px;border:2px dashed #a9c1e4;border-radius:15px;padding:16px;margin:22px 0;color:#657b99}.sentence-answer span{background:#1e4b88;color:white;padding:10px 14px;border-radius:10px;font-size:17px}.sentence-tokens{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.game-controls{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:24px}.memory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0}.learning-games .memory-card{height:110px;background:#204b88;color:#ffda88;border-color:#204b88;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.memory-card>span{font-size:30px}.learning-games .memory-card:hover:not(:disabled){background:#3264a8;color:white}.learning-games .memory-card.revealed{background:white;color:#193d74;border-color:#8cabd4}.learning-games .memory-card.matched{background:#d7f2e6;color:#156047;border-color:#a3d8c0;opacity:1}.memory-card small{font-size:9px;letter-spacing:1px}.memory-card strong{font-size:17px}.game-result>span{font-size:66px}.game-result h2{font-size:32px;margin:12px}.game-result>strong{font-size:23px;color:#1c4c87}.game-result p{color:#526983;line-height:1.7}.game-result .games-kicker{color:#ab3149}
@media(max-width:1000px){.game-cards{gap:13px}.game-card{padding:20px}.game-card h2{font-size:20px}.games-hero{padding:30px}.games-art{flex-basis:150px;height:150px}}
@media(max-width:700px){.game-cards{grid-template-columns:1fr}.game-card{padding:24px}.game-card-top{margin-bottom:16px}.game-card h2{font-size:25px}.games-hero{padding:25px;gap:12px}.games-art{display:none}.game-session{flex-direction:column;gap:9px}.game-toolbar{flex-wrap:wrap}.game-board{padding:22px 16px}.memory-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.memory-card strong{font-size:14px}.learning-games .memory-card{height:95px;padding:7px}.game-question{font-size:23px}.play-banner{padding:18px;gap:12px;flex-wrap:wrap}.play-banner>strong{font-size:13px;margin-left:60px}.play-banner>span:nth-child(2){flex:1}.ec-guide{padding:12px}.ec-hero{padding:20px}.auth-story{padding:22px}.sidebar nav a{flex-shrink:0}.game-options{gap:10px}}
@media(prefers-reduced-motion:reduce){.learning-games button{transition:none}.learning-games button:hover:not(:disabled){transform:none}}

/* Vocabulary and pronunciation: generous tap targets for phones. */
.listen-button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;border:1px solid #b7cde9;border-radius:11px;background:#edf5ff;color:#173d75;padding:11px 13px;min-height:46px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;touch-action:manipulation}.listen-button svg{width:21px;height:21px;flex-shrink:0}.listen-button:hover{background:#dcecff}.listen-button:focus-visible,.vocab-categories button:focus-visible{outline:3px solid #dca900;outline-offset:3px}.game-feedback .listen-button{background:#edf5ff;color:#173d75;margin:10px}.game-feedback .listen-button:hover:not(:disabled){background:#dcecff;color:#173d75}.vocab-audio{display:flex;flex-wrap:wrap;gap:9px;justify-content:center;margin:16px 0}.vocab-symbol{font-size:85px;font-weight:800;color:#ffdf8e;position:relative;flex-shrink:0;padding:20px}.vocab-symbol span{display:block;font-size:18px;letter-spacing:1px;background:#f8778a;color:#fff;padding:9px 20px;transform:rotate(-8deg);border-radius:12px;text-align:center}.vocab-help{background:#d7efe8;border:1px solid #aedbcd;border-radius:16px;padding:20px 24px;color:#1d5c51;line-height:1.7}.vocab-help p{font-size:13px;margin:7px 0 0}.vocab-categories{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0 18px}.vocab-categories button{background:#f6faff;border:1px solid #bcd0ec;border-radius:24px;padding:12px 17px;min-height:46px;font:inherit;font-size:13px;color:#274c80;cursor:pointer}.vocab-categories button[aria-pressed=true]{background:#1b4786;color:#fff;border-color:#1b4786}.vocab-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:20px 0 28px}.vocab-card{background:#f9fbff;border:1px solid #c8d9ef;border-top:5px solid #3270b6;border-radius:20px;padding:24px;display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 6px 18px #173b7508}.vocab-card:nth-child(3n+2){border-top-color:#bf3b57;background:#fff5f7}.vocab-card:nth-child(3n){border-top-color:#188375;background:#effaf6}.vocab-emoji{font-size:39px;margin-bottom:15px}.vocab-card>small{font-size:11px;letter-spacing:.7px;text-transform:uppercase;color:#586b86}.vocab-card h2{font-size:28px;margin:9px 0 4px;color:#173d75;overflow-wrap:anywhere}.vocab-translation{color:#4d6383;margin:0 0 4px;font-size:16px}.vocab-card .vocab-audio{justify-content:flex-start}.vocab-example{border-top:1px solid #d5e2f2;padding-top:16px;font-size:15px;color:#284f7e;line-height:1.65;margin-top:auto;margin-bottom:15px;width:100%}.student-motivation{display:flex;align-items:center;gap:22px;border:1px solid #ebcc88;border-radius:20px;padding:26px;background:linear-gradient(110deg,#ffe6aa,#fff2d4 65%,#ffe0e7);margin-bottom:24px;color:#173d75}.student-motivation>span{font-size:45px;color:#b63c53}.student-motivation small{font-size:10px;font-weight:800;letter-spacing:2px;color:#a23049}.student-motivation h2{font-size:24px;margin:8px 0}.student-motivation p{font-size:14px;line-height:1.6;margin:0 0 13px}.student-motivation a{margin-left:auto;flex-shrink:0;font-size:13px;font-weight:700;background:#193f79;color:#fff;border-radius:12px;padding:15px;text-decoration:none}
@media(max-width:1100px){.vocab-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.student-motivation{flex-wrap:wrap}.student-motivation a{margin-left:65px}.vocab-card{padding:20px}}
@media(max-width:600px){.vocab-grid{grid-template-columns:minmax(0,1fr);gap:16px}.vocab-card{padding:23px}.vocab-symbol{display:none}.vocab-categories{gap:8px}.vocab-categories button{font-size:12px;padding:11px 13px}.vocab-help{padding:18px}.student-motivation{padding:22px;gap:12px}.student-motivation>span{display:none}.student-motivation a{margin-left:0}.student-motivation h2{font-size:23px}.vocab-card .listen-button{flex:1;white-space:nowrap}.vocab-card .vocab-audio{width:100%}.learning-games .vocab-audio{justify-content:center}}

.pronunciation-player{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);z-index:1100;display:flex;align-items:center;gap:12px;width:min(780px,calc(100% - 24px));padding:14px 18px;background:#173e75;color:white;border:1px solid #4977af;border-radius:18px;box-shadow:0 10px 40px #10254840}.pronunciation-player p{margin:0;font-size:14px;line-height:1.4;flex:1;overflow-wrap:anywhere}.pronunciation-player audio{width:280px;max-width:100%;height:44px}.pronunciation-player button{background:#fff;color:#173e75;border:0;padding:12px;border-radius:10px;min-height:44px;font:inherit;font-size:12px;cursor:pointer}.pronunciation-player button:focus-visible{outline:3px solid #ffd978;outline-offset:3px}body:has(.pronunciation-player:not([hidden])){padding-bottom:110px}body:has(.pronunciation-player:not([hidden])) #toast{bottom:130px}
@media(max-width:650px){.pronunciation-player{bottom:10px;padding:12px;display:grid;grid-template-columns:1fr auto;gap:9px}.pronunciation-player p{font-size:13px;max-height:55px;overflow:auto}.pronunciation-player audio{grid-column:1/-1;grid-row:2;width:100%;height:44px}.pronunciation-player button{grid-column:2;grid-row:1}body:has(.pronunciation-player:not([hidden])){padding-bottom:150px}body:has(.pronunciation-player:not([hidden])) #toast{bottom:155px}}

.transfer-value{display:block;overflow-wrap:anywhere;user-select:all;font-variant-numeric:tabular-nums;font-weight:600}
