:root{--bg:#f6f6f1;--paper:#fff;--ink:#263b33;--green:#264e3f;--muted:#7a837b;--line:#e3e6dc;--lime:#e6edac;--soft:#eef1e9;--orange:#cb744f;--red:#b9574b;--shadow:0 12px 40px #2f47380b;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);font-synthesis:none;background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:wait;opacity:.6}a{color:var(--green)}button{border:0;background:none}button:focus-visible,a:focus-visible{outline:3px solid #b7c67e;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid #a7bc87;outline-offset:2px}input,textarea,select{font-size:16px}svg{flex-shrink:0;vertical-align:middle}h1,h2,h3,p{margin:0}h1{font-weight:500;letter-spacing:-1.7px;font-size:38px;line-height:1.15}h2{font-size:20px;letter-spacing:-.5px;font-weight:600}h3{font-size:15px;font-weight:600}p{line-height:1.65}.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase}.small{font-size:12px}.tag{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid var(--line);border-radius:7px;font-size:11px;font-weight:500}.tag.green{background:#e9efe1;border-color:transparent;color:var(--green)}.tag.orange{background:#fbebdf;border-color:transparent;color:#a9603e}.button{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:10px;padding:12px 19px;border-radius:10px;font-size:13px;font-weight:600;background:var(--green);color:white;transition:transform .15s,background .15s}.button:hover{background:#193e30;transform:translateY(-1px)}.button.secondary{background:var(--soft);color:var(--green)}.button.light{background:white;color:var(--green)}.button.outline{background:transparent;border:1px solid var(--line);color:var(--green)}.button.wide{width:100%}.linkbutton{font-size:12px;display:inline-flex;align-items:center;gap:8px;color:var(--green);padding:10px 0;font-weight:600}.icon-button{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--soft)}.layout{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100dvh}.sidebar{padding:36px 23px 24px;border-right:1px solid var(--line);position:fixed;top:0;bottom:0;width:220px;display:flex;flex-direction:column;background:var(--bg);z-index:20}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:23px;font-weight:650;letter-spacing:-1px}.brand-mark{height:32px;width:32px;border-radius:10px;background:var(--green);color:var(--lime);display:flex;align-items:center;justify-content:center}.brand-caption{font-size:9px;letter-spacing:1.25px;color:var(--muted);margin:9px 0 42px 42px}.nav{display:flex;flex-direction:column;gap:7px}.nav button{display:flex;align-items:center;gap:13px;min-height:46px;padding:12px 14px;text-align:left;font-size:12px;color:#7b847d;border-radius:10px;font-weight:500}.nav button.active{background:var(--green);color:#fff}.nav button:not(.active):hover{background:#e9ede2}.nav .nav-number{margin-left:auto;font-size:10px}.side-section{font-size:9px;letter-spacing:1.5px;color:#98a096;margin:32px 14px 13px}.side-goal{margin-top:auto;padding:19px 15px;background:#eaf0e2;border-radius:12px}.side-goal .goal-head{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600;margin-bottom:9px}.side-goal p{font-size:10px;color:#7b8777;line-height:1.7}.side-footer{display:flex;align-items:center;gap:10px;margin-top:23px;padding-top:18px;border-top:1px solid var(--line)}.avatar{width:32px;height:32px;border-radius:50%;background:#dce3d1;color:var(--green);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex-shrink:0}.side-footer strong{display:block;font-size:11px}.side-footer span{font-size:10px;color:var(--muted)}.main{grid-column:2;max-width:1550px;width:100%;margin:auto;padding:30px 43px 24px}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:35px;font-size:11px}.breadcrumb{display:flex;gap:11px;align-items:center;color:#90988e}.breadcrumb strong{color:var(--ink);font-weight:500}.top-actions{display:flex;align-items:center;gap:18px}.lang{font-size:10px;letter-spacing:1px}.lang b{color:var(--green)}.streak{display:flex;align-items:center;gap:6px;color:#bd7544;font-weight:600;font-size:11px}.mobile-brand{display:none}.heading-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.heading-row .subtitle{font-size:12px;color:var(--muted);margin-top:10px}.date{font-size:11px;color:var(--muted);text-align:right}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 268px;gap:25px}.hero{position:relative;background:#e9eddd;border:1px solid #e1e6d3;border-radius:17px;padding:32px 30px;min-height:270px;overflow:hidden}.hero-copy{position:relative;z-index:2;max-width:66%}.hero .eyebrow{color:#7f8b68;display:flex;align-items:center;gap:8px;margin-bottom:19px}.hero h2{font:48px/1.05 Georgia,"Times New Roman",serif;letter-spacing:-1.9px;margin-bottom:15px;color:#244738}.hero h2 em{font-weight:400;color:#789362}.hero p{font-size:11px;color:#77826c;max-width:290px}.hero .hero-bottom{display:flex;align-items:center;gap:12px;margin-top:23px}.hero-bottom span{font-size:10px;color:#7e866e}.hero-art{position:absolute;right:3px;bottom:0;width:43%;height:100%;color:#254c3d}.hero-art .sun{fill:#d4de91}.hero-art path,.hero-art line,.hero-art rect,.hero-art circle:not(.sun){vector-effect:non-scaling-stroke}.hero-stamp{position:absolute;top:24px;right:24px;font:italic 12px Georgia;transform:rotate(8deg);color:#6f815c}.config{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:22px 0 25px}.config-label{font-size:10px;color:var(--muted);margin-bottom:10px}.segmented{display:inline-flex;padding:3px;border:1px solid var(--line);background:#f1f2eb;border-radius:9px;gap:3px}.segmented button{font-size:11px;min-height:34px;min-width:52px;padding:7px 11px;color:#8a9185;border-radius:6px}.segmented button.selected{color:var(--green);background:white;box-shadow:0 2px 6px #2c45300d;font-weight:650}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.section-head h2{font-size:18px}.section-head small{font-size:10px;color:var(--muted)}.route{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.skill-card{position:relative;background:white;border:1px solid var(--line);border-radius:12px;padding:17px;min-height:148px;text-align:left;transition:transform .15s,box-shadow .15s;overflow:hidden}.skill-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.skill-card .card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.skill-card .number{font-size:10px;color:#b1b7a9}.skill-card h3{font-size:12px;margin-bottom:6px}.skill-card p{font-size:10px;line-height:1.5;color:var(--muted)}.skill-icon{height:32px;width:32px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:#edf1e6;color:#71885d}.skill-icon.listening{background:#e7edf2;color:#678399}.skill-icon.grammar{background:#f3ebdf;color:#b38e5f}.skill-icon.reading{background:#efe8ed;color:#9b7e95}.skill-icon.speaking{background:#e4eee9;color:#62907b}.skill-icon.writing{background:#f3e8e0;color:#b4876d}.card-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eff1ea;margin-top:15px;padding-top:11px;font-size:9px;color:#9ba293}.card-footer span{display:flex;gap:4px;align-items:center}.right-col{display:flex;flex-direction:column;gap:18px}.panel{background:white;border:1px solid var(--line);padding:23px;border-radius:13px}.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.panel-title h3{font-size:13px}.week{display:flex;justify-content:space-between;gap:6px;margin-bottom:21px}.week-item{display:flex;flex-direction:column;align-items:center;gap:9px;font-size:9px;color:#9a9e92}.week-dot{width:25px;height:25px;border-radius:50%;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;font-size:9px;background:#fafbf7}.week-dot.done{background:var(--green);color:var(--lime);border-color:var(--green)}.week-item:last-child .week-dot{border:1px dashed #8b9e73}.week-item:last-child{color:var(--green);font-weight:600}.stat-row{display:flex;justify-content:space-between;align-items:center;padding-top:15px;border-top:1px solid var(--line)}.stat-row strong{font-size:23px;letter-spacing:-1px}.stat-row span{font-size:10px;color:var(--muted)}.stat-row .xp{display:flex;align-items:center;gap:7px;color:#98a565;font-size:11px}.coach-panel{background:#f0f1e6;border-color:#e5e7d8}.coach-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}.coach-avatar{height:42px;width:42px;border-radius:50%;background:#d8e2cb;display:flex;align-items:center;justify-content:center;color:#557a50}.coach-head strong{font-size:13px;display:block;margin-bottom:4px}.status-dot{display:inline-block;width:5px;height:5px;background:#96ab75;border-radius:50%;margin-right:5px}.coach-head span{font-size:9px;color:#8d967e}.coach-panel p{font-size:11px;color:#7b856d}.coach-panel .quote{font:italic 18px/1.5 Georgia;color:#536947;margin:17px 0 13px}.coach-panel .linkbutton{font-size:10px}.homework{background:#fffdf5}.homework .eyebrow{color:#bb9b54;font-size:9px;margin-bottom:11px}.homework h3{font-size:13px;margin-bottom:9px}.homework p{font-size:10px;color:#8b8c79}.homework .linkbutton{font-size:10px;margin-top:5px}.bottom-note{margin-top:23px;font-size:10px;color:#98a08f;display:flex;align-items:center;gap:8px}.footer{margin-top:30px;padding-top:18px;border-top:1px solid var(--line);font-size:9px;color:#a2a99a;display:flex;justify-content:space-between;gap:10px}.footer span:last-child{font:italic 12px Georgia;color:#8d9b7c}.mobile-nav{display:none}.boot{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;font:40px Georgia;color:var(--green)}.boot span{font:12px Arial;color:var(--muted);margin-top:15px}.empty{padding:35px;text-align:center;background:#fff;border:1px dashed var(--line);border-radius:12px}.empty p{font-size:13px;color:var(--muted);margin:12px auto 18px;max-width:420px}.wide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.subtext{font-size:12px;color:var(--muted);margin-top:10px}.word-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:25px}.word{padding:20px;border:1px solid var(--line);border-radius:12px;background:white}.word strong{display:block;font-size:15px;margin-bottom:10px}.word p{font-size:12px;color:var(--muted)}.word .tag{margin-top:16px}.accent-panel{background:var(--green);color:#f6f9eb;position:relative;overflow:hidden}.accent-panel h2{font:34px Georgia;margin:17px 0}.accent-panel p{font-size:12px;color:#c6d2bf;max-width:440px}.accent-panel .button{margin-top:25px}.exam-list{list-style:none;margin:22px 0;padding:0}.exam-list li{font-size:12px;margin:12px 0;display:flex;align-items:center;gap:8px}.source-link{display:block;padding:17px 0;border-bottom:1px solid var(--line);text-decoration:none}.source-link strong{display:block;font-size:13px;margin-bottom:6px}.source-link span{font-size:11px;color:var(--muted)}.big-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:25px}.big-stat{background:white;border:1px solid var(--line);border-radius:12px;padding:23px}.big-stat strong{display:block;font-size:33px;font-weight:500;letter-spacing:-1px;margin-bottom:8px}.big-stat span{font-size:11px;color:var(--muted)}.skill-progress{margin:20px 0}.skill-progress .labels{display:flex;justify-content:space-between;font-size:12px;margin-bottom:10px}.progress{height:5px;background:#edf0e5;border-radius:6px;overflow:hidden}.progress>span{display:block;height:100%;background:#91a871;border-radius:6px;transition:width .3s}.history-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 0;border-bottom:1px solid var(--line)}.history-row strong{font-size:12px;display:block;margin-bottom:5px}.history-row span{font-size:10px;color:var(--muted)}.mistake{padding:18px 0;border-bottom:1px solid var(--line)}.mistake h3{font-size:12px;margin-bottom:10px}.mistake p{font-size:12px}.error-answer{color:var(--red)}.correct-answer{color:var(--green)}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.field{display:block;margin:18px 0;font-size:12px}.field>span{display:block;margin-bottom:9px;color:#667565}.field input,.field textarea,.field select,.answer-input{width:100%;padding:13px 15px;border:1px solid #dce1d5;background:#fff;border-radius:9px;color:var(--ink);line-height:1.5}.field textarea{resize:vertical}.connection{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 0;border-bottom:1px solid var(--line)}.connection strong{font-size:13px}.connection p{font-size:11px;color:var(--muted);margin-top:5px}.details-note{font-size:11px;color:var(--muted);margin-top:17px;line-height:1.8}.banner{padding:15px 18px;background:#eef1e5;border-radius:10px;font-size:12px;margin-bottom:22px;display:flex;align-items:center;justify-content:space-between;gap:10px}.modal-backdrop{position:fixed;inset:0;z-index:100;background:#1c362f70;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:20px}.modal{width:min(460px,100%);background:var(--bg);border-radius:20px;padding:30px;max-height:95dvh;overflow:auto;box-shadow:0 25px 100px #112b3040}.modal-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal h2{font:31px Georgia}.modal p{font-size:12px;color:var(--muted)}.auth-switch{display:flex;gap:15px;margin:20px 0}.auth-switch button{font-size:12px;padding:10px 0;color:var(--muted);border-bottom:2px solid transparent}.auth-switch button.active{border-bottom-color:var(--green);color:var(--green)}.form-error{font-size:12px;color:var(--red);line-height:1.5;margin:12px 0;min-height:18px}.lesson-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px}.lesson-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.lesson-top .tag{font-size:12px}.timer{font-variant-numeric:tabular-nums;font-size:16px;display:flex;align-items:center;gap:9px}.timer.urgent{color:var(--red)}.lesson-track{display:flex;gap:5px;margin-bottom:25px}.lesson-track span{height:4px;border-radius:5px;background:#e1e7d8;flex:1}.lesson-track span.done{background:#7d9b67}.lesson-track span.current{background:var(--green)}.exercise{padding:30px;background:white;border:1px solid var(--line);border-radius:16px;min-height:430px}.exercise .exercise-label{display:flex;align-items:center;gap:10px;margin-bottom:24px;font-size:11px;color:var(--muted)}.exercise h2{font-size:26px;font-weight:500;margin-bottom:14px;letter-spacing:-.8px}.exercise .prompt{font-size:14px;line-height:1.8;color:#687565;margin-bottom:25px}.reading-text{border-left:3px solid #b5c899;padding:18px 20px;background:#f5f7ef;font-size:17px;line-height:1.9;margin:20px 0 25px;white-space:pre-wrap}.grammar-prompt{font:26px/1.6 Georgia;margin:24px 0 30px}.options{display:flex;flex-direction:column;gap:10px;margin:22px 0}.option{display:flex;align-items:center;gap:14px;padding:15px;border:1px solid var(--line);border-radius:10px;font-size:14px;line-height:1.5;cursor:pointer}.option:has(input:checked){background:#f0f4e5;border-color:#9fb880}.option input{accent-color:var(--green);width:18px;height:18px;flex-shrink:0}.exercise-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:25px;flex-wrap:wrap}.exercise-footer small{font-size:10px;color:var(--muted)}.audio-player{display:flex;align-items:center;justify-content:center;gap:22px;background:#f0f3e6;border:1px solid #e4e9d6;border-radius:12px;margin:25px 0;padding:25px}.play{display:flex;align-items:center;justify-content:center;height:55px;width:55px;border-radius:50%;background:var(--green);color:white;flex-shrink:0}.wave{display:flex;gap:4px;align-items:center;height:40px}.wave i{width:3px;border-radius:4px;background:#a9bb8d;height:var(--h)}.playing .wave i{animation:wave .8s ease-in-out infinite alternate;animation-delay:var(--delay)}@keyframes wave{to{height:5px;opacity:.5}}.audio-info{font-size:10px;color:var(--muted);margin-top:9px}.speed{font-size:11px;color:var(--green);padding:10px}.feedback{border:1px solid #dbe6cc;background:#f1f6e9;padding:22px;border-radius:12px;margin-top:25px}.feedback.wrong{background:#fcf1e9;border-color:#eed8c9}.feedback.neutral{background:#f1f3ef;border-color:#e2e6dc}.feedback h3{display:flex;align-items:center;gap:8px;margin-bottom:10px;font-size:15px}.feedback p{font-size:13px;white-space:pre-wrap}.feedback .expected{margin-top:12px;font-size:13px;font-weight:600}.checklist{list-style:none;margin:18px 0 0;padding:0}.checklist li{font-size:12px;margin:12px 0}.checklist label{display:flex;align-items:center;gap:10px}.checklist input{accent-color:var(--green);width:18px;height:18px}.helper-bubble{padding:17px;background:white;border-radius:12px;font-size:12px;line-height:1.8;margin-top:15px;white-space:pre-wrap}.text-counter{font-size:10px;color:var(--muted);text-align:right;margin-top:8px}.chat{display:flex;flex-direction:column;gap:12px;margin:22px 0;max-height:420px;overflow:auto}.bubble{padding:13px 17px;max-width:90%;border-radius:14px 14px 14px 3px;background:#f0f4e9;font-size:14px;line-height:1.75;white-space:pre-wrap}.bubble.user{align-self:flex-end;background:var(--green);color:white;border-radius:14px 14px 3px 14px}.chat-entry{display:flex;gap:8px;align-items:flex-end}.chat-entry textarea{min-height:52px;resize:vertical;max-height:200px}.chat-entry .icon-button{flex-shrink:0}.lesson-note{font-size:10px;line-height:1.7;color:var(--muted);margin-top:15px}.summary{max-width:660px;margin:20px auto;text-align:center;padding:40px 32px;background:white;border:1px solid var(--line);border-radius:18px}.summary .summary-icon{width:82px;height:82px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--lime);margin:0 auto 25px;color:var(--green)}.summary h1{font:42px Georgia;margin-bottom:16px}.summary p{font-size:13px;color:var(--muted)}.summary-numbers{display:flex;justify-content:center;gap:50px;margin:30px 0}.summary-numbers strong{display:block;font-size:30px;font-weight:500}.summary-numbers span{font-size:10px;color:var(--muted)}.summary-actions{display:flex;gap:12px;justify-content:center;margin-top:26px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);z-index:150;background:#253f33;color:#f4f8e9;padding:13px 22px;border-radius:10px;font-size:12px;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:.2s;max-width:90vw;line-height:1.6}#toast.show{opacity:1;transform:translate(-50%,0)}.inline-error{color:var(--red);font-size:12px;line-height:1.6;margin-top:13px}.no-scroll{overflow:hidden}.profile-actions{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.mode-caption{font-size:11px;color:var(--muted);line-height:1.7;margin-top:18px}.source-panel{margin-top:20px}.week-hint{font-size:10px;color:var(--muted);margin-top:15px}
@media(min-width:1500px){.main{padding:40px 65px}.hero h2{font-size:58px}.hero{min-height:295px}.hero-copy{max-width:60%}.route{gap:16px}.skill-card{min-height:165px}}
@media(max-width:1200px){.sidebar{width:190px;padding:30px 16px}.layout{grid-template-columns:190px minmax(0,1fr)}.main{padding:26px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 230px;gap:18px}.hero{padding:26px 23px}.hero h2{font-size:41px}.hero-copy{max-width:70%}.hero-art{right:-12px;width:42%;opacity:.8}.panel{padding:19px}.skill-card{padding:14px}.lesson-layout{grid-template-columns:minmax(0,1fr) 230px}}
@media(max-width:1000px){.dashboard-grid{grid-template-columns:1fr}.right-col{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.hero{min-height:260px}.hero h2{font-size:48px}.hero-art{width:36%;right:10px}.hero-copy{max-width:66%}.hero-stamp{right:40px}.right-col .panel{padding:17px}.coach-head{gap:8px}.coach-avatar{width:32px;height:32px}.coach-panel .quote{font-size:16px}.week{gap:2px}.week-dot{width:22px;height:22px}.config{justify-content:flex-start;gap:45px}.lesson-layout{grid-template-columns:1fr}.lesson-layout>.coach-panel{min-height:0}.word-grid{grid-template-columns:repeat(2,1fr)}.account-grid{grid-template-columns:1fr}}
@media(max-width:760px){.sidebar{display:none}.layout{display:block}.main{padding:20px 20px 105px}.topbar{margin-bottom:28px}.breadcrumb{display:none}.mobile-brand{display:flex;font-size:22px;gap:8px}.mobile-brand .brand-mark{height:29px;width:29px;border-radius:9px}.top-actions{gap:13px}.top-actions .lang{font-size:9px}.top-actions .avatar{width:30px;height:30px}.heading-row{margin-bottom:22px}.heading-row h1{font-size:30px;letter-spacing:-1.1px}.heading-row .subtitle{font-size:11px;line-height:1.7;margin-top:8px;max-width:265px}.date{display:none}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;height:calc(70px + env(safe-area-inset-bottom));padding:6px 8px env(safe-area-inset-bottom);background:#fbfcf7f5;backdrop-filter:blur(15px);border-top:1px solid var(--line);z-index:50;justify-content:space-around}.mobile-nav button{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;font-size:9px;color:#91998a;min-width:53px;min-height:54px}.mobile-nav button.active{color:var(--green);font-weight:700}.mobile-nav button.active svg{background:#e9eecf;box-sizing:content-box;padding:4px 15px;border-radius:12px;margin-top:-8px}.hero{padding:26px 23px;min-height:300px}.hero-copy{max-width:77%}.hero h2{font-size:46px;letter-spacing:-1.8px}.hero p{max-width:210px;font-size:11px}.hero .eyebrow{font-size:8px;margin-bottom:18px}.hero-art{width:44%;height:77%;right:-18px;bottom:0;opacity:.7}.hero-stamp{right:20px;top:25px;font-size:10px}.hero-bottom{flex-wrap:wrap;max-width:240px}.hero .hero-bottom{gap:10px;margin-top:22px}.hero-bottom span{font-size:9px}.hero .button{font-size:12px;min-height:46px}.config{justify-content:space-between;gap:10px;margin:23px 0 28px}.segmented button{padding:7px 10px;min-width:45px;font-size:10px}.config-label{font-size:9px}.route{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.skill-card{min-height:157px;padding:17px}.skill-card h3{font-size:12px}.skill-card p{font-size:10px}.section-head h2{font-size:18px}.right-col{grid-template-columns:1fr;gap:14px}.right-col .panel{padding:22px}.right-col .coach-panel{display:none}.panel-title{margin-bottom:17px}.week-dot{width:33px;height:33px}.week-item{font-size:10px}.week{gap:7px}.right-col .homework{display:grid;grid-template-columns:1fr auto;gap:0 15px}.homework .eyebrow{grid-column:1/-1}.homework p{grid-column:1/-1;font-size:11px}.homework .linkbutton{grid-row:2;grid-column:2;margin:0;padding:0;align-self:start}.homework h3{margin:0 0 10px}.dashboard-grid{gap:22px}.bottom-note{font-size:9px;line-height:1.6;margin-top:20px}.footer{margin-top:26px;font-size:8px}.footer span:last-child{font-size:11px}.wide-grid{grid-template-columns:1fr}.word-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.word{padding:17px}.word strong{font-size:14px}.word p{font-size:11px}.big-stats{grid-template-columns:repeat(2,1fr);gap:12px}.big-stat{padding:20px}.big-stat strong{font-size:30px}.exercise{padding:23px 20px;min-height:400px;border-radius:13px}.exercise h2{font-size:23px}.exercise .prompt{font-size:13px}.exercise .exercise-label{margin-bottom:20px}.grammar-prompt{font-size:23px}.reading-text{font-size:16px;padding:15px;line-height:1.9}.lesson-top{margin-bottom:13px}.lesson-top .tag{font-size:10px}.timer{font-size:14px}.lesson-layout{gap:16px}.lesson-layout>.coach-panel{padding:20px}.lesson-layout>.coach-panel .coach-head{margin-bottom:10px}.lesson-layout>.coach-panel p{font-size:11px}.lesson-layout>.coach-panel .quote{display:none}.option{padding:14px 12px;font-size:13px;min-height:53px}.exercise-footer .button{flex:1;min-width:140px}.exercise-footer .linkbutton{padding:12px 0}.audio-player{padding:22px 12px;gap:17px}.wave{gap:3px}.wave i{width:3px}.speed{padding:10px 3px}.modal{padding:24px}.summary{padding:30px 21px}.summary h1{font-size:35px}.summary-actions{flex-direction:column}.summary-actions .button{width:100%}.banner{font-size:11px;align-items:flex-start;flex-direction:column}.banner .linkbutton{padding:0}.accent-panel h2{font-size:31px}#toast{bottom:90px;width:max-content;max-width:90vw}.chat-entry{flex-wrap:wrap}.chat-entry textarea{flex:1;min-width:170px}.chat-entry .button{padding:12px}.source-panel{margin-top:15px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:760px){.hero-stamp{display:none}.hero .eyebrow{max-width:240px;font-size:7px;letter-spacing:1.25px}.config>div:first-child{flex:1.2;min-width:0}.config>div:last-child{flex:1;min-width:0}.config .segmented{display:flex}.config .segmented button{min-width:0;flex:1;padding:7px 4px;white-space:nowrap}.heading-row h1{overflow-wrap:break-word}.hero-copy{max-width:82%}.hero h2{font-size:43px}}
.voice-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:17px 0}.voice-controls small{font-size:10px;color:var(--muted)}.voice-toggle{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:8px;padding:10px 12px;font-size:11px}.voice-toggle.on{background:#e8efd9;border-color:#b4c591}.correction{font-size:11px;line-height:1.8;color:#8e764a;background:#f7f2e6;padding:12px 15px;border-radius:9px;white-space:pre-wrap;max-width:95%;margin-top:-5px}.sentence-card{display:flex;align-items:center;justify-content:space-between;gap:24px}.sentence-card .button{flex-shrink:0}@media(max-width:760px){.sentence-card{align-items:flex-start;flex-direction:column}.voice-controls{gap:8px}.voice-controls small{display:block}}
.history-button{width:100%;text-align:left}.history-button:hover{background:#f5f7ef}.history-modal{width:min(740px,100%)}.history-attempt{padding:24px 0;border-top:1px solid var(--line)}.history-attempt .exercise-label{display:flex;justify-content:space-between;gap:10px;margin-bottom:14px}.history-attempt h3{font-size:18px}.saved-answer{background:#edf1e7;padding:17px;border-radius:9px;margin-top:20px}.saved-answer p{white-space:pre-wrap;font-size:14px;margin-top:10px}.official-audio{display:grid;grid-template-columns:1fr 1fr;gap:25px}@media(max-width:760px){.official-audio{grid-template-columns:1fr;gap:0}.history-modal{padding:22px}.history-modal .modal-top{align-items:flex-start;gap:10px}.history-modal h2{font-size:25px}.history-modal .icon-button{flex-shrink:0}}
.lang{display:flex;align-items:center;gap:3px}.lang button{font-size:10px;min-width:30px;min-height:36px;padding:7px 5px;color:#9ca591;font-weight:500}.lang button.active{color:var(--green);font-weight:800;text-decoration:underline;text-underline-offset:5px}.sidebar{overflow-y:auto}.connection-buttons{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:15px 0}.connection-identity{font-size:12px;margin-top:12px;overflow-wrap:anywhere}.sheet-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin:30px 0 22px}.sheet-search{display:flex;flex-direction:column;gap:10px;min-width:260px;font-size:11px;color:var(--muted)}.sheet-search input{padding:11px 14px;border:1px solid var(--line);border-radius:9px;background:white;width:100%;color:var(--ink)}.sheet-categories{display:flex;gap:8px;flex-wrap:wrap;padding-bottom:15px;border-bottom:1px solid var(--line)}.sheet-categories button{display:flex;align-items:center;gap:9px;min-height:40px;padding:9px 13px;border:1px solid var(--line);border-radius:9px;color:#7c8875;font-size:11px}.sheet-categories button.active{background:var(--green);color:white;border-color:var(--green)}.sheet-categories small{font-size:9px;opacity:.65}.sheet-info{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:15px 0 24px;font-size:11px;color:var(--muted)}.sheet-info label{display:flex;align-items:center;gap:9px;line-height:1.6}.sheet-info input{accent-color:var(--green);width:17px;height:17px;flex-shrink:0}.sheet-list{display:flex;flex-direction:column;gap:12px}.sheet-table{border:1px solid var(--line);border-radius:12px;background:white;overflow:hidden}.sheet-table summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px}.sheet-table summary::-webkit-details-marker{display:none}.sheet-table summary .eyebrow{color:#9aa58d;font-size:8px;letter-spacing:1.2px}.sheet-table h2{font-size:18px;margin-top:9px;line-height:1.5;letter-spacing:-.25px}.sheet-plus{color:#8ba172;font-size:25px;font-weight:300}.sheet-table[open] .sheet-plus{transform:rotate(45deg)}.sheet-table[open] summary{background:#f5f7ee;border-bottom:1px solid var(--line)}.sheet-body{padding:23px}.table-scroll{overflow:auto;max-width:100%;border:1px solid var(--line);border-radius:8px}.table-scroll table{border-collapse:collapse;width:100%;font-size:12px;line-height:1.7;min-width:460px}.table-scroll th,.table-scroll td{padding:12px 15px;border-bottom:1px solid var(--line);border-right:1px solid var(--line);text-align:left;vertical-align:top;min-width:120px}.table-scroll th:last-child,.table-scroll td:last-child{border-right:0}.table-scroll tr:last-child th,.table-scroll tr:last-child td{border-bottom:0}.table-scroll thead{background:#eaf0df;color:#4d6945}.table-scroll thead th{font-weight:650}.table-scroll tbody th{background:#f7f8f2;font-weight:500}.table-scroll tbody tr:hover{background:#fafbf5}.sheet-note{font-size:12px;line-height:1.9;color:#79866d;margin-top:20px;max-width:850px}.sheet-examples{border-left:3px solid #c3d09d;padding:3px 17px;margin-top:16px;font-size:15px;line-height:1.8}.sheet-examples p+p{margin-top:6px}.source-links{display:flex;gap:20px;flex-wrap:wrap;font-size:11px;margin-top:20px}.mascot{position:fixed;right:25px;bottom:20px;z-index:60;pointer-events:none}.mascot-button{height:78px;width:76px;display:flex;align-items:center;justify-content:center;padding:0;border-radius:50%;pointer-events:auto;transition:transform .2s;filter:drop-shadow(0 4px 5px #294e3c12)}.mascot-button:hover{transform:translateY(-4px) rotate(-4deg)}.pet-eyes{transform-box:fill-box;transform-origin:center;animation:pet-blink 9s infinite}.mascot-bubble{pointer-events:auto;position:absolute;bottom:88px;right:0;width:255px;padding:20px;background:#fffef7;border:1px solid #dce4ca;border-radius:15px 15px 4px 15px;box-shadow:0 8px 35px #243e3515}.mascot-bubble p{font-size:12px;line-height:1.8;color:#6a7b5d;margin-right:9px}.pet-close{position:absolute;right:7px;top:4px;font-size:20px;padding:4px 8px;color:#98a58b}.pet-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px}.pet-actions button{font-size:10px;color:#84996b;padding:9px 0;text-decoration:underline;text-underline-offset:3px}.pet-footer-toggle{font:10px system-ui;color:#93a17f;padding:4px}.mascot-button.hop{animation:pet-hop .6s ease}.breathing .pet-body{transform-origin:45px 87px;animation:pet-breathe 6s ease-in-out 3}@keyframes pet-blink{0%,95%,100%{transform:scaleY(1)}97%{transform:scaleY(.1)}}@keyframes pet-hop{0%,100%{transform:translateY(0)}35%{transform:translateY(-18px) rotate(-8deg)}70%{transform:translateY(-4px) rotate(5deg)}}@keyframes pet-breathe{0%,100%{transform:scale(.94)}50%{transform:scale(1.09)}}
@media(max-width:760px){.top-actions{gap:9px}.lang button{min-width:26px;padding:7px 3px}.top-actions .streak .desktop-only{display:none}.mobile-nav{gap:0;padding-left:4px;padding-right:4px}.mobile-nav button{min-width:0;flex:1;font-size:8px}.mobile-nav button.active svg{padding:4px 11px}.sheet-toolbar{align-items:stretch;flex-direction:column;gap:20px;margin-top:23px}.sheet-search{min-width:0}.sheet-toolbar .segmented{display:flex}.sheet-toolbar .segmented button{flex:1}.sheet-info{align-items:flex-start;gap:12px}.sheet-info .linkbutton{font-size:10px;white-space:nowrap;padding-top:0}.sheet-categories{gap:7px}.sheet-categories button{padding:9px 10px;font-size:10px}.sheet-table summary{padding:20px 17px;gap:12px}.sheet-table h2{font-size:16px}.sheet-body{padding:17px 12px}.table-scroll table{font-size:12px;min-width:430px}.table-scroll th,.table-scroll td{padding:11px 12px;min-width:105px}.sheet-note{font-size:11px}.sheet-examples{font-size:13px}.mascot{right:9px;bottom:calc(80px + env(safe-area-inset-bottom))}.mascot-button{width:61px;height:66px}.mascot-button svg{width:56px;height:62px}.mascot-bubble{bottom:75px;right:3px;width:min(255px,calc(100vw - 35px))}.footer{align-items:flex-start}.footer span:last-child{max-width:45%;text-align:right;line-height:1.7}.pet-footer-toggle{font-size:9px}.sheet-toolbar .config-label{font-size:11px}}
@media(prefers-reduced-motion:reduce){.mascot *, .mascot *::before{animation:none!important;transition:none!important}}
:root{--gender-m:#245b98;--gender-f:#a13671;--gender-n:#28694f;--gender-p:#7051a4}
.table-scroll tr.gender-m{--gender-ink:var(--gender-m);--gender-bg:#eff5fd}
.table-scroll tr.gender-f{--gender-ink:var(--gender-f);--gender-bg:#fdf0f7}
.table-scroll tr.gender-n{--gender-ink:var(--gender-n);--gender-bg:#edf7ef}
.table-scroll tr.gender-p{--gender-ink:var(--gender-p);--gender-bg:#f4effb}
.table-scroll tr[class*="gender-"]>th,.table-scroll tr[class*="gender-"]>td{color:var(--gender-ink);background:var(--gender-bg)}
.table-scroll tr[class*="gender-"]>th{border-left:4px solid var(--gender-ink)}
.table-scroll .inflection,.ending-key .inflection{font-weight:850;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.ending-key{font-size:11px;color:#65715f;margin:13px 0 0;line-height:1.8}
.ending-key span{white-space:nowrap;margin-left:5px}
.exercise-reference{margin:0 0 24px;border:1px solid #dbe3ce;border-radius:11px;background:#f8faf4;min-width:0}
.exercise-reference>summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:48px;padding:12px 15px;cursor:pointer;color:var(--green);font-size:12px;font-weight:600}
.exercise-reference>summary::-webkit-details-marker{display:none}
.exercise-reference>summary:focus-visible{outline:3px solid #b7c67e;outline-offset:3px;border-radius:10px}
.exercise-reference .sheet-plus{margin-left:auto}
.exercise-reference .reference-hide,.exercise-reference[open] .reference-show{display:none}
.exercise-reference[open] .reference-hide{display:inline}
.exercise-reference[open]>summary .sheet-plus{transform:rotate(45deg)}
.exercise-reference-body{border-top:1px solid #e0e6d5;padding:14px 15px 18px}
.reference-intro{font-size:11px;color:#6a775e;margin-bottom:16px;line-height:1.6}
.context-reference h3{font-size:14px;line-height:1.5;margin-bottom:14px}
.context-reference .sheet-body{padding:0}
.context-reference .table-scroll{max-width:100%;background:white;border:1px solid var(--line);border-radius:8px}
.context-reference table{font-size:12px}
.context-reference .sheet-note{font-size:12px}
.exercise,.lesson-layout{min-width:0}
@media(max-width:600px){.exercise-reference-body{padding:13px 10px 16px}.exercise-reference>summary{padding:12px 10px}.context-reference table{font-size:12px}.context-reference th,.context-reference td{padding:10px 12px}}
.word-learning{margin-top:25px;min-width:0}.word-learning>.section-head{align-items:flex-start;gap:14px}.word-learning .subtext{font-size:12px;margin-top:8px}
.word-set-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin:22px 0}
.word-set{border:1px solid var(--line);background:#fff;border-radius:10px;padding:13px 12px;text-align:left;min-height:68px}.word-set strong{display:block;font-size:12px;margin-bottom:6px}.word-set span{font-size:10px;color:#75816c}.word-set.selected{background:#edf2e2;border-color:#91a67d;box-shadow:inset 0 0 0 1px #91a67d}
.study-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:27px;max-width:800px;margin:auto}.study-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:23px}.study-top .eyebrow{color:#77856a}.study-card>h2{font-family:Georgia,serif;font-size:36px;font-weight:400;margin-bottom:8px;line-height:1.2}.study-card .study-translation{font-size:16px;color:#718364}.study-audio{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:20px 0}.study-audio .button{font-size:12px}.study-card blockquote{margin:22px 0;padding:16px 20px;border-left:3px solid #b2c58c;background:#f4f6ee;border-radius:0 9px 9px 0;font-size:15px;line-height:1.6}.study-tip{font-size:11px;color:#75816c;line-height:1.7;margin:15px 0}.study-card form .field{margin-top:20px}.study-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px}.study-footer .button{font-size:12px}.study-overview>h2{font:26px/1.3 Georgia,serif;margin-top:17px}.study-preview{display:flex;flex-wrap:wrap;gap:8px;margin:23px 0}.study-preview span{padding:8px 12px;border:1px solid #e3e8da;border-radius:8px;font-size:13px;background:#f9faf6}.set-dictation{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:20px auto 0;padding:20px 24px;border:1px solid var(--line);border-radius:12px;max-width:800px}.set-dictation .study-audio{flex-shrink:0;margin:0}.set-dictation button:disabled{cursor:default}.word-set:focus-visible{outline:3px solid #b7c67e}
@media(max-width:800px){.word-set-list{grid-template-columns:repeat(3,minmax(0,1fr))}.set-dictation{flex-direction:column;align-items:flex-start;gap:16px}}
@media(max-width:480px){.study-card{padding:20px 16px}.study-card>h2{font-size:31px}.study-footer{align-items:flex-start}.study-footer .button{max-width:75%}.study-card blockquote{padding:13px}.set-dictation{padding:18px}.word-learning>.section-head h2{font-size:18px}.word-set{padding:11px 9px}}
.study-card{scroll-margin-top:18px}.study-card>h2,.study-preview span{overflow-wrap:anywhere}
.sheet-body .inflection,.sheet-body .stem-change{font-weight:850;text-decoration-line:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.sheet-body .inflection{text-decoration-style:solid}
.sheet-body .stem-change{text-decoration-style:dotted;text-decoration-thickness:2px}
.voice-settings-panel{margin-top:24px;max-width:100%;overflow:hidden}.voice-picker{color:var(--ink);min-width:0}.voice-picker-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:23px}.voice-picker-heading .eyebrow{color:#879873;font-size:9px}.voice-picker-heading h2{font:32px/1.2 Georgia,serif;letter-spacing:-.8px;margin:9px 0}.voice-picker-heading p{color:#7a8775;font-size:12px}.voice-service-state{font-size:10px;white-space:nowrap;border:1px solid #e2e6d9;border-radius:20px;padding:6px 10px;color:#7a8370;margin-top:9px}.voice-service-state.connected{background:#ebf1df;color:#4b7047;border-color:#dee9d1}.voice-target{display:flex;background:#f3f5ed;border:1px solid #e4e9db;border-radius:11px;padding:4px;gap:4px}.voice-target button{flex:1;min-height:43px;border-radius:8px;font-size:12px;display:flex;align-items:center;justify-content:center;gap:9px;color:#839077}.voice-target button span{font-size:10px;letter-spacing:.7px;font-weight:700}.voice-target button.selected{background:white;box-shadow:0 2px 7px #334e2510;color:var(--green);font-weight:600}.voice-purpose{font-size:11px;color:#87917e;margin:10px 2px 22px}.voice-genders{display:flex;gap:7px;flex-wrap:wrap}.voice-genders button{display:flex;gap:9px;align-items:center;border:1px solid #e1e6d9;border-radius:22px;padding:9px 15px;font-size:12px;min-height:40px;background:white}.voice-genders button.selected{border-color:#819e68;background:#edf3e2;color:#34563c}.voice-genders small{font-size:10px;color:#7f8b73;background:#edf0e8;border-radius:12px;padding:2px 6px}.voice-preview-caption{display:flex;gap:7px;align-items:center;font-size:10px;color:#8a947e;margin:19px 0 12px}.voice-options{display:grid;gap:9px}.voice-option{display:flex;align-items:center;gap:10px;border:1px solid #e3e8dc;border-radius:13px;background:#fcfdf9;padding:5px 12px 5px 5px;transition:background .15s,border-color .15s;min-width:0}.voice-option.selected{border-color:#96ad7d;background:#f0f5e8;box-shadow:inset 0 0 0 1px #a6ba9133}.voice-choice{flex:1;display:flex;align-items:center;gap:13px;text-align:left;padding:10px;min-height:70px;min-width:0;border-radius:10px}.voice-portrait{display:flex;align-items:center;justify-content:center;border-radius:50%;height:49px;width:49px;flex-shrink:0;background:#e5e5ee;color:#7c7a9c}.voice-portrait.female{background:#f0e4e6;color:#a57587}.voice-portrait.male{background:#e2ebec;color:#688c98}.voice-choice-copy{min-width:0;display:flex;flex-direction:column;gap:6px}.voice-choice-copy strong{font-size:14px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.voice-choice-copy>span{font-size:10px;color:#829074}.voice-check{margin-left:auto;flex-shrink:0;width:21px;height:21px;display:flex;align-items:center;justify-content:center;border:1px solid #d4deca;border-radius:50%;font-size:12px;color:white}.voice-option.selected .voice-check{background:#617f4e;border-color:#617f4e}.voice-sample{display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;color:#547047;border-left:1px solid #e1e7d8;min-width:112px;min-height:42px;padding-left:13px}.voice-sample:disabled{cursor:default}.voice-sample.playing{color:#244e3d}.voice-picker-foot{display:flex;gap:8px;align-items:flex-start;margin:18px 1px 0;color:#859177}.voice-picker-foot p{font-size:10px;line-height:1.7}.voice-lock{font-size:12px}.voice-empty{margin:14px 0;padding:28px 18px;text-align:center;background:#f6f8f1;border:1px dashed #dce4d2;border-radius:12px;font-size:13px;color:#758366}.voice-empty p{font-size:11px;margin-top:8px}.voice-error{background:#fff1e8;border:1px solid #efdbcb;color:#9b6248;border-radius:9px;padding:12px;margin-top:14px;font-size:12px}.voice-modal{max-width:580px;position:relative;padding:32px}.voice-modal .voice-picker-heading{padding-right:36px}.voice-modal-close{position:absolute;right:18px;top:18px}.voice-modal .voice-service-state{display:none}.voice-spinner{width:15px;height:15px;border:2px solid #afbf9d;border-top-color:#355b3a;border-radius:50%;animation:voice-spin .8s linear infinite}.voice-mini-wave{height:20px;display:flex;align-items:center;gap:3px}.voice-mini-wave i{width:3px;height:9px;background:currentColor;border-radius:2px;animation:voice-wave .75s infinite alternate}.voice-mini-wave i:nth-child(2){animation-delay:.2s;height:17px}.voice-mini-wave i:nth-child(3){animation-delay:.4s;height:12px}@keyframes voice-spin{to{transform:rotate(360deg)}}@keyframes voice-wave{to{transform:scaleY(.4)}}
@media(max-width:600px){.voice-picker-heading{gap:9px}.voice-picker-heading h2{font-size:27px}.voice-service-state{font-size:9px;padding:5px 8px}.voice-option{gap:3px;padding-right:7px}.voice-choice{gap:9px;padding:8px 5px}.voice-portrait{height:40px;width:40px}.voice-choice-copy strong{font-size:13px}.voice-choice-copy>span{font-size:9px}.voice-sample{min-width:44px;width:44px;padding-left:8px}.voice-sample>span:not(.voice-spinner):not(.voice-mini-wave){display:none}.voice-choice-copy{gap:4px}.voice-target button{font-size:11px;gap:6px}.voice-modal{padding:22px 15px;margin:12px;max-height:calc(100dvh - 24px);overflow:auto}.voice-modal .voice-picker-heading h2{font-size:26px}.voice-picker-foot p{font-size:10px}.audio-player{flex-wrap:wrap}.voice-controls{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.voice-spinner,.voice-mini-wave i{animation:none}}
.voice-restriction{background:#fbf0e5;border:1px solid #ead9c3;border-radius:11px;padding:13px 15px;margin:0 0 20px;color:#815f42}.voice-restriction strong{font-size:12px;font-weight:600}.voice-restriction p{font-size:11px;line-height:1.7;margin-top:5px}

#app ::selection{background:#dfe8b8;color:var(--ink)}#app [lang="de"]::selection,#app [lang="de"] ::selection{background:#d6e6a4;color:#193e30}
.word-card{position:absolute;z-index:60;max-width:min(320px,calc(100vw - 24px));padding:12px 14px;background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 40px #1d33281f,0 2px 6px #1d33280f;font-size:13px;animation:word-card-in .14s ease-out}
.word-card-row+.word-card-row{margin-top:9px;padding-top:9px;border-top:1px solid var(--line)}
.word-card-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 8px}.word-card-head strong{font-family:Georgia,"Times New Roman",serif;font-size:17px;font-weight:500;color:var(--green)}
.word-card-lemma{font-size:12px;color:var(--muted)}.word-card p{margin-top:3px;line-height:1.45;color:var(--ink)}.word-card .word-card-missing{margin-top:8px;font-size:11px;color:var(--muted)}
@keyframes word-card-in{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.word-card{animation:none}}

.chatgpt-paste{margin:14px 0;padding:14px;border:1px solid #d9e3c3;background:#f5f8ec;border-radius:10px}.chatgpt-paste p{font-size:13px;margin-bottom:10px}.chatgpt-paste input{font-family:ui-monospace,Menlo,monospace;font-size:13px}
.chatgpt-shares{margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}.chatgpt-shares h3{margin-bottom:6px}.share-row{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px;padding:6px 0;border-bottom:1px dashed var(--line)}.share-form{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;margin-top:8px}.share-form .field{flex:1;min-width:160px;margin:0}

.writing-help{margin:6px 0 14px;border:1px solid var(--line);border-radius:12px;background:#fbfcf8;padding:0 14px}.writing-help[open]{padding-bottom:12px}
.writing-help summary{cursor:pointer;list-style:none;padding:12px 0;font-size:13px;font-weight:600;color:var(--green);display:flex;align-items:center;gap:8px}.writing-help summary::-webkit-details-marker{display:none}
.writing-help>p{margin:2px 0 10px;line-height:1.5}.help-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:8px 0}.help-label{flex:0 0 100%;font-size:11px;font-weight:600;letter-spacing:.3px;color:var(--muted);text-transform:uppercase}
.frame-chip{font-family:Georgia,"Times New Roman",serif;font-size:14px;line-height:1.35;text-align:left;padding:6px 10px;border:1px solid #d6e2bf;border-radius:8px;background:#fff;color:var(--ink);transition:background .12s,border-color .12s}.frame-chip:hover{background:#eef4dc;border-color:#b9cc8e}.frame-chip:active{transform:translateY(1px)}
.connector{font-family:Georgia,"Times New Roman",serif;font-size:13px;padding:3px 8px;border-radius:6px;background:var(--soft);color:var(--green)}.help-points{margin:6px 0 4px 18px;font-size:13px;line-height:1.6}
.draft-check{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin-top:6px}
.ai-review{margin-top:14px;padding:14px 16px;border-radius:12px;background:#f5f8ec;border:1px solid #dfe8c8;font-size:14px;line-height:1.55}.ai-review p{margin:0 0 6px}.ai-review ul{margin:4px 0 8px 18px;padding:0}.ai-review li{margin:2px 0}.ai-review code{font-family:ui-monospace,Menlo,monospace;font-size:12.5px;background:#fff;border:1px solid #e3e9d3;border-radius:4px;padding:0 4px}
.ai-review.streaming::after{content:"";display:inline-block;width:7px;height:14px;margin-left:2px;background:var(--green);vertical-align:-2px;animation:ai-caret 1s steps(2) infinite}@keyframes ai-caret{50%{opacity:0}}

.umlaut-tip{margin-top:6px;font-size:11.5px;color:var(--muted)}

.api-key-block{padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--line)}.api-key-block form{margin-top:10px}

.help-link{font-weight:500;color:var(--muted);text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:3px}.help-link:hover{color:var(--green)}
.help-modal{width:min(520px,100%)}.help-modal h2{font-size:19px}.help-lead{font-size:13.5px;color:var(--muted);margin-bottom:14px}
.help-steps{margin:0 0 14px 20px;padding:0;font-size:14px;line-height:1.55}.help-steps li{margin:0 0 8px;padding-left:2px}.help-steps code,.help-notes code{font-family:ui-monospace,Menlo,monospace;font-size:12px;background:#fff;border:1px solid var(--line);border-radius:4px;padding:0 4px;word-break:break-all}
.help-notes{margin:0;padding:12px 14px 12px 28px;background:var(--soft);border-radius:10px;font-size:12.5px;line-height:1.5;color:#55615a}.help-notes li{margin:3px 0}

.marked-answer{margin:10px 0 2px;padding:10px 12px;border-radius:10px;background:#fbf6f3;border:1px solid #f0dfd6;font-family:Georgia,"Times New Roman",serif;font-size:17px;line-height:1.9;letter-spacing:.2px}
.mw{white-space:nowrap}.err-ch{color:var(--red);text-decoration:underline wavy var(--red);text-decoration-thickness:1.5px;text-underline-offset:4px}
.err-gap{display:inline-block;width:2px;height:1.05em;margin:0 1.5px;vertical-align:-.15em;background:var(--red);border-radius:1px}
.err-miss{display:inline-block;width:14px;height:1.1em;margin:0 3px;vertical-align:-.2em;border-bottom:2.5px solid var(--red)}
.mw-word{color:var(--red);text-decoration:underline wavy var(--red);text-decoration-thickness:1.5px;text-underline-offset:4px}
.mw-extra{color:#b98c80;text-decoration:line-through 2px var(--red)}
.mw-order{background:#fdf0dd;border-bottom:2px dashed #d08a2c;border-radius:3px;padding:0 2px}
.option-wrong{opacity:.55}.option-wrong span{text-decoration:line-through;text-decoration-color:var(--red)}
.tries-left{color:var(--muted)}.exercise-footer .linkbutton[data-action="reveal-answer"]{margin-left:auto;margin-right:14px}

.mode-switch{display:inline-flex;gap:4px;padding:4px;margin:12px 0 4px;border-radius:12px;background:var(--soft)}.mode-switch button{padding:8px 14px;border-radius:9px;font-size:13px;font-weight:600;color:var(--muted)}.mode-switch button.on{background:var(--paper);color:var(--green);box-shadow:0 1px 4px #1d33281a}
.live-panel{display:flex;align-items:center;gap:16px;margin:12px 0;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}.live-panel.active{border-color:#cfdcae;background:#f8fbef}.live-copy{flex:1;min-width:0}.live-copy p{margin-top:2px}
.live-orb{flex:0 0 44px;height:44px;border-radius:50%;background:var(--soft);display:grid;place-items:center}.live-orb span{width:16px;height:16px;border-radius:50%;background:#b9c4b4;transition:transform .2s,background .2s}
.live-orb.live span,.live-orb.listening span{background:#7fae4f}.live-orb.listening span{animation:orb-pulse 1s ease-in-out infinite}.live-orb.speaking span{background:var(--green);animation:orb-pulse .6s ease-in-out infinite}.live-orb.thinking span{background:#d6a54a;animation:orb-pulse 1.4s ease-in-out infinite}.live-orb.connecting span{background:#d6a54a}
@keyframes orb-pulse{50%{transform:scale(1.45)}}@media (prefers-reduced-motion:reduce){.live-orb span{animation:none!important}}
@media (max-width:560px){.live-panel{flex-wrap:wrap}.live-panel .button{width:100%}}
.mic-button{position:relative;overflow:visible;transition:background .2s,color .2s}.mic-button .mic-ring{position:absolute;inset:0;border-radius:50%;pointer-events:none;opacity:0}
.mic-button.rec{background:var(--red);color:#fff}.mic-button.rec .mic-ring{opacity:1;box-shadow:0 0 0 calc(3px + var(--mic-level,0) * 13px) #b9574b2e,0 0 0 calc(1px + var(--mic-level,0) * 5px) #b9574b55;transition:box-shadow 60ms linear}
.mic-button.rec::after{content:"";position:absolute;top:2px;right:2px;width:9px;height:9px;border-radius:50%;background:#fff;border:2px solid var(--red);animation:rec-blink 1.2s ease-in-out infinite}
@keyframes rec-blink{50%{opacity:.25}}
.rec-status{display:flex;align-items:center;gap:10px;margin-top:9px;font-size:11px;color:var(--red);line-height:1.5}
.rec-bars{display:inline-flex;align-items:center;gap:2px;height:16px}.rec-bars i{width:3px;border-radius:2px;background:var(--red);height:calc(3px + var(--mic-level,0) * 13px * var(--k));transition:height 60ms linear}
.rec-bars i:nth-child(1){--k:.45}.rec-bars i:nth-child(2){--k:.8}.rec-bars i:nth-child(3){--k:1}.rec-bars i:nth-child(4){--k:.7}.rec-bars i:nth-child(5){--k:.4}
.live-panel.active .live-orb{box-shadow:0 0 0 calc(var(--me-level,0) * 12px) #7fae4f40,0 0 0 calc(var(--partner-level,0) * 12px) #264e3f30;transition:box-shadow 60ms linear}
.live-panel.active .live-orb span{animation:none;transform:scale(calc(1 + max(var(--me-level,0),var(--partner-level,0)) * .9));transition:transform 60ms linear,background .2s}
.live-meter{display:flex;align-items:center;gap:8px;margin-top:6px;font-size:10px;color:var(--muted)}.live-meter b{font-weight:500;width:58px}.live-meter span{flex:0 0 90px;height:4px;border-radius:3px;background:var(--soft);overflow:hidden}.live-meter span i{display:block;height:100%;width:calc(var(--lv,0) * 100%);background:#7fae4f;transition:width 60ms linear}.live-meter.partner span i{background:var(--green)}
@media (prefers-reduced-motion:reduce){.mic-button.rec::after{animation:none}}
.ru-toggle{font-size:11px;padding:8px 0 0}.correction{display:flex;align-items:flex-start;gap:8px}.correction>span{flex:1}.ru-mini{flex-shrink:0;font-size:9px;font-weight:700;letter-spacing:.6px;padding:3px 7px;border-radius:6px;border:1px solid #e5d9bf;color:#9a7a43;background:#fffaf0}.ru-mini:hover{background:#f7eedb}
.wrong-language{margin-top:10px;padding:10px 13px;border-radius:9px;background:#fbf3e3;border:1px solid #efdfbd;color:#8a6a2f;font-size:12px;line-height:1.55}
.timer.overtime{color:var(--orange)}.timer small{font-size:11px;font-weight:500;margin-left:4px}@media (max-width:560px){.timer small{display:none}}
/* Fips the corgi */
.corgi{position:fixed;left:0;top:0;z-index:60;width:96px;height:74px;will-change:transform;pointer-events:none}.corgi[hidden]{display:none}
.corgi-hit{display:block;width:96px;height:74px;padding:0;border:0;background:none;cursor:pointer;pointer-events:auto;filter:drop-shadow(0 3px 4px #294e3f1c);-webkit-tap-highlight-color:transparent}.corgi-hit:focus-visible{outline:3px solid #b7c67e;outline-offset:2px;border-radius:14px}
.corgi-act,.corgi-flip{display:block;width:100%;height:100%}.corgi-flip{transform:scaleX(var(--dir,1));transition:transform .18s}
.corgi svg{display:block;overflow:visible}.corgi svg *{transform-box:fill-box}
.corgi .leg{transform-origin:50% 8%;transition:transform .25s}.corgi .dog,.corgi .head,.corgi .tail,.corgi .torso{transition:transform .3s}
.corgi .head{transform-origin:15% 75%}.corgi .tail{transform-origin:100% 85%}.corgi .ear{transform-origin:40% 100%}
.corgi .eye{transform-origin:50% 50%;animation:corgi-blink 5s infinite}.corgi .eye-closed,.corgi .mouth-open,.corgi .tongue,.corgi .bone,.corgi .zzz,.corgi .hearts{opacity:0;transition:opacity .2s}
.corgi .ear-front{animation:corgi-ear 7s infinite}
@keyframes corgi-blink{0%,94%,100%{transform:scaleY(1)}96%{transform:scaleY(.1)}}
@keyframes corgi-ear{0%,88%,100%{transform:rotate(0)}91%{transform:rotate(-14deg)}94%{transform:rotate(4deg)}}
/* moods */
.corgi.wag .tail{animation:corgi-wag .18s ease-in-out infinite alternate}@keyframes corgi-wag{from{transform:rotate(-14deg)}to{transform:rotate(22deg)}}
.corgi.happy .tongue{opacity:1}.corgi.happy .mouth{opacity:0}
.corgi.bark .mouth-open{opacity:1}.corgi.bark .mouth,.corgi.bark .tongue{opacity:0}.corgi.bark .head{transform:rotate(-8deg)}
/* poses */
.corgi[data-pose=walk] .leg-a{animation:corgi-leg .36s linear infinite alternate}.corgi[data-pose=walk] .leg-b{animation:corgi-leg .36s linear infinite alternate-reverse}
.corgi[data-pose=run] .leg-a{animation:corgi-leg .2s linear infinite alternate}.corgi[data-pose=run] .leg-b{animation:corgi-leg .2s linear infinite alternate-reverse}
.corgi[data-pose=run] .dog{animation:corgi-bob .1s ease-in-out infinite alternate}.corgi[data-pose=run] .ear{transform:rotate(-22deg)}.corgi[data-pose=run] .tongue{opacity:1}.corgi[data-pose=run] .mouth{opacity:0}
.corgi[data-pose=walk] .dog{animation:corgi-bob .18s ease-in-out infinite alternate}.corgi[data-pose=walk] .tail,.corgi[data-pose=run] .tail{animation:corgi-wag .2s ease-in-out infinite alternate}
@keyframes corgi-leg{from{transform:rotate(30deg)}to{transform:rotate(-30deg)}}@keyframes corgi-bob{to{transform:translateY(-2.5px)}}
.corgi[data-pose=sit] .dog{transform:rotate(-15deg) translate(2px,-1px)}.corgi[data-pose=sit] .leg-back{transform:rotate(-75deg) scaleY(.65)}.corgi[data-pose=sit] .head{transform:rotate(10deg)}.corgi[data-pose=sit] .tail{animation:corgi-wag .18s ease-in-out infinite alternate}.corgi[data-pose=sit] .tongue{opacity:1}
.corgi[data-pose=sniff] .head{animation:corgi-sniff .5s ease-in-out infinite alternate}@keyframes corgi-sniff{from{transform:rotate(18deg)}to{transform:rotate(26deg) translateY(1px)}}
.corgi[data-pose=chew] .dog,.corgi[data-pose=sleep] .dog{transform:translateY(10px)}.corgi[data-pose=chew] .leg,.corgi[data-pose=sleep] .leg{transform:scaleY(.3)}
.corgi[data-pose=chew] .bone{opacity:1}.corgi[data-pose=chew] .mouth-open{opacity:1}.corgi[data-pose=chew] .mouth,.corgi[data-pose=chew] .tongue{opacity:0}.corgi[data-pose=chew] .head{animation:corgi-chew .45s ease-in-out infinite alternate}.corgi[data-pose=chew] .tail{animation:corgi-wag .4s ease-in-out infinite alternate}
@keyframes corgi-chew{from{transform:rotate(4deg)}to{transform:rotate(12deg)}}
.corgi[data-pose=sleep] .head{transform:rotate(14deg) translateY(2px)}.corgi[data-pose=sleep] .eye{opacity:0;animation:none}.corgi[data-pose=sleep] .eye-closed{opacity:1}.corgi[data-pose=sleep] .ear-front{animation:none;transform:rotate(-30deg)}
.corgi[data-pose=sleep] .zzz{opacity:1;animation:corgi-zzz 2.4s ease-in-out infinite}.corgi[data-pose=sleep] .dog .torso{animation:corgi-snore 2.4s ease-in-out infinite}
@keyframes corgi-zzz{0%{transform:translateY(4px);opacity:0}30%{opacity:1}100%{transform:translateY(-8px);opacity:0}}@keyframes corgi-snore{50%{transform:scaleY(1.05)}}
.corgi.happy[data-pose=idle] .hearts{opacity:1;animation:corgi-heart 1.4s ease-out}@keyframes corgi-heart{from{transform:translateY(6px) scale(.6)}to{transform:translateY(-6px) scale(1.1);opacity:0}}
/* one-shot tricks */
.corgi-act{transform-origin:50% 90%}
.corgi-act.hop{animation:corgi-hop .6s cubic-bezier(.3,.7,.4,1)}@keyframes corgi-hop{0%{transform:scale(1.08,.9)}35%{transform:translateY(-34px) scale(.96,1.06)}70%{transform:translateY(0) scale(1.06,.93)}100%{transform:none}}
.corgi-act.spin{animation:corgi-spin .8s ease-in-out}@keyframes corgi-spin{0%{transform:none}50%{transform:translateY(-22px) rotate(180deg)}100%{transform:rotate(360deg)}}
.corgi-act.wiggle{animation:corgi-wiggle .65s ease-in-out}@keyframes corgi-wiggle{20%{transform:rotate(-9deg)}40%{transform:rotate(8deg)}60%{transform:rotate(-6deg)}80%{transform:rotate(4deg)}}
.corgi-act.roll{animation:corgi-roll 1s ease-in-out}@keyframes corgi-roll{0%{transform:none}40%{transform:translateY(6px) rotate(-180deg) scaleY(.85)}60%{transform:translateY(6px) rotate(-180deg) scaleY(.85)}100%{transform:rotate(-360deg)}}
.corgi-act.stretch{animation:corgi-stretch .9s ease-in-out}@keyframes corgi-stretch{40%{transform:scale(1.12,.86)}}
.corgi.breathing .corgi-act{animation:corgi-breathe 6s ease-in-out 3}@keyframes corgi-breathe{50%{transform:scale(1.18)}}
/* speech bubble */
.corgi-bubble{position:absolute;bottom:calc(100% + 4px);right:0;width:250px;padding:16px 18px 14px;background:#fffef7;border:1px solid #dce4ca;border-radius:15px 15px 4px 15px;box-shadow:0 8px 30px #24412f1f;pointer-events:auto;animation:corgi-pop .2s ease-out}
.corgi.bubble-left .corgi-bubble{right:auto;left:0;border-radius:15px 15px 15px 4px}
.corgi-bubble p{font-size:12px;line-height:1.7;color:#5f6f55;margin:0 14px 0 0}.corgi-x{position:absolute;top:6px;right:8px;font-size:16px;line-height:1;padding:4px;color:#9aa58d}
.corgi-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.corgi-actions button{font-size:10px;padding:6px 9px;border-radius:7px;background:#eef2e4;color:var(--green);font-weight:600}.corgi-actions button:hover{background:#e2e9d2}
@keyframes corgi-pop{from{transform:translateY(6px);opacity:0}}
@media(max-width:760px){.corgi-bubble{width:min(250px,calc(100vw - 30px))}}
@media(prefers-reduced-motion:reduce){.corgi *,.corgi-act{animation:none!important;transition:none!important}}
.mascot-settings{margin:22px 0 4px;padding-top:18px;border-top:1px solid var(--line)}.mascot-settings h3{font-size:13px;margin-bottom:10px}.check-row{display:flex;align-items:center;gap:10px;font-size:12px;margin:10px 0;cursor:pointer}.check-row input{accent-color:var(--green);width:18px;height:18px}.mascot-settings small{display:block;font-size:10px;color:var(--muted);line-height:1.6;margin-left:28px;margin-top:-4px}

.corgi-paw{position:fixed;left:0;top:0;z-index:59;pointer-events:none;fill:#c8722f;opacity:0;animation:corgi-paw 2s ease-in forwards}.corgi-paw svg{display:block}@keyframes corgi-paw{0%{opacity:.42}100%{opacity:0}}
