:root{--bg:#f6f7fb;--surface:#fff;--ink:#20223a;--muted:#7a7e94;--line:#e9eaf2;--primary:#6c55df;--primary-dark:#513abe;--lavender:#eeeafd;--navy:#171b32;--green:#138b6f;--orange:#db883e;--blue:#4e83cf;--shadow:0 5px 26px #26294804;--radius:20px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.6 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #aa98ff;outline-offset:4px}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,h4,p{margin:0}h1{font-size:29px;letter-spacing:-1px;line-height:1.35;font-weight:750}h2{font-size:19px;letter-spacing:-.4px;line-height:1.5}h3{font-size:16px;line-height:1.5}small,.small{font-size:12px}.muted{color:var(--muted)}.strong{font-weight:650}.eyebrow{font-size:11px;font-weight:750;letter-spacing:1.6px;text-transform:uppercase;color:var(--primary)}.icon{width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.icon-lg{width:26px;height:26px}.app-shell{min-height:100vh;padding-left:236px}.sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:var(--navy);color:#a5abc6;padding:31px 20px 22px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:11px;color:#fff;padding:0 10px}.brand:hover{text-decoration:none}.brand img{width:38px;height:38px}.brand-name{font-size:20px;letter-spacing:-.7px;font-weight:750;line-height:1.2}.brand-name span{font-weight:400;color:#c9c4f9}.brand small{font-size:10px;letter-spacing:2px;color:#8b93b2}.nav-label{font-size:10px;letter-spacing:1.6px;padding:37px 14px 11px;color:#6f789a;font-weight:700}.nav-list{display:grid;gap:7px}.nav-link{width:100%;border:0;background:none;display:flex;align-items:center;gap:13px;padding:12px 14px;color:#a7aec7;border-radius:11px;font-weight:550;text-align:left;white-space:nowrap}.nav-link:hover{background:#ffffff08;color:#fff;text-decoration:none}.nav-link.active{background:#7160df;color:#fff;box-shadow:0 5px 18px #100d2a38}.nav-link .badge-small{margin-left:auto;background:#ffffff18;padding:1px 7px;border-radius:5px;font-size:10px}.sidebar-bottom{margin-top:auto;padding-top:40px}.sidebar-card{margin:24px 2px;padding:18px 16px;background:linear-gradient(135deg,#2c3153,#242740);border:1px solid #ffffff0b;border-radius:14px;color:#fff}.sidebar-card .icon{color:#d0c7ff}.sidebar-card p{font-size:12px;line-height:1.8;color:#9da6c8;margin:7px 0 12px}.sidebar-card button{font-size:12px;width:100%;background:#ffffff10;border:1px solid #ffffff12;border-radius:8px;padding:8px;color:#eeeaff}.sidebar-foot{font-size:10px;color:#636f93;padding:0 13px}.sidebar-foot span{display:flex;align-items:center;gap:5px;color:#969fbb;margin-bottom:5px}.sidebar-foot .icon{width:13px;height:13px}.topbar{height:84px;background:#ffffffc9;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:15px}.breadcrumbs{display:flex;gap:10px;align-items:center;font-size:12px;color:var(--muted)}.breadcrumbs strong{font-weight:550;color:var(--ink)}.top-actions{display:flex;align-items:center;gap:17px}.level-pill{background:#f5f3fd;border:1px solid #e9e3fc;border-radius:9px;padding:7px 12px;display:flex;gap:8px;align-items:center;color:#75698f;font-size:11px}.level-pill select{border:0;background:transparent;color:var(--primary);font-weight:750;padding:1px 3px;cursor:pointer}.avatar{height:36px;width:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#e8e4fa;color:#6a56bb;font-weight:750}.icon-btn{border:0;background:none;padding:7px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;color:var(--muted)}.icon-btn:hover{background:var(--lavender);color:var(--primary)}.menu-btn{display:none}.content{max-width:1500px;margin:auto;padding:31px 38px 40px}.page-intro{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:26px}.page-intro p{color:var(--muted);margin-top:7px;font-size:13px}.intro-date{color:var(--muted);font-size:12px;display:flex;gap:8px;align-items:center;white-space:nowrap}.intro-date .icon{width:17px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 19px;min-height:43px;border-radius:10px;font-size:13px;font-weight:650;border:1px solid transparent;line-height:1.5;white-space:nowrap}.btn:hover{text-decoration:none}.btn.primary{color:#fff;background:var(--primary);box-shadow:0 5px 12px #6c55df17}.btn.primary:hover{background:var(--primary-dark)}.btn.secondary{background:#fff;border-color:var(--line);color:#5b5c75}.btn.secondary:hover{border-color:#c5b9f2;background:#faf9ff}.btn.soft{background:var(--lavender);color:var(--primary)}.btn.ghost{color:var(--primary);background:transparent;padding:7px 0}.btn.danger{background:#fff0f0;color:#b2424b;border:1px solid #f5d8da}.btn.small{font-size:12px;padding:7px 13px;min-height:35px}.btn .icon{width:17px;height:17px}.badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:650;background:#f3f2f8;color:#858099;padding:4px 8px;border-radius:6px;white-space:nowrap}.badge.purple{background:#eee9fe;color:#7454d3}.badge.green{background:#e7f7f0;color:var(--green)}.hero{min-height:225px;background:#eeebfd;border:1px solid #e5defa;border-radius:22px;display:flex;justify-content:space-between;position:relative;overflow:hidden;padding:29px 32px}.hero-copy{max-width:63%;z-index:2}.hero .eyebrow{display:flex;align-items:center;gap:8px;margin-bottom:10px}.hero .eyebrow .dot{background:#8b71ef;width:5px;height:5px;border-radius:50%}.hero h2{font-size:28px;line-height:1.35;letter-spacing:-.9px;color:#3b305f;margin-bottom:11px}.hero p{font-size:13px;color:#817494;max-width:440px;margin-bottom:21px}.hero-actions{display:flex;gap:19px;align-items:center}.hero-art{position:absolute;right:19px;bottom:0;top:0;width:290px;display:flex;align-items:center;justify-content:center;pointer-events:none}.hero-art svg{width:285px;height:230px}.hero-art::before{content:"";position:absolute;border-radius:50%;width:210px;height:210px;background:#e5dff9;z-index:0;right:18px;top:6px}.hero-art svg{z-index:1}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:25px;align-items:start}.main-column{min-width:0}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:21px 0 29px}.metric{background:#fff;border:1px solid var(--line);border-radius:14px;padding:17px;display:flex;align-items:center;gap:12px}.metric-icon,.skill-icon{height:41px;width:41px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;flex:none}.metric-icon.purple,.skill-icon.purple{color:#8b68d3;background:#f1ebfc}.metric-icon.orange,.skill-icon.orange{color:#d89143;background:#fff2e5}.metric-icon.blue,.skill-icon.blue{color:#578bcd;background:#eaf2fd}.metric-icon.green,.skill-icon.green{color:#3f9e81;background:#e7f6ef}.metric-value{font-weight:750;font-size:21px;line-height:1.3;letter-spacing:-.4px}.metric-value span{font-size:11px;font-weight:400;color:var(--muted);margin-left:3px}.metric-label{font-size:11px;color:var(--muted);margin-top:3px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:15px}.section-heading p{font-size:12px;color:var(--muted);margin-top:3px}.section-heading .btn{font-size:11px}.skill-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.skill-card{padding:20px 16px 15px;background:#fff;border:1px solid var(--line);border-radius:15px;text-align:left;position:relative;transition:transform .18s,box-shadow .18s}.skill-card:hover{transform:translateY(-4px);box-shadow:0 8px 23px #3524510c;border-color:#d6cdf0}.skill-card h3{font-size:15px;margin-top:16px}.skill-card .en{font-size:11px;color:var(--muted);margin-bottom:16px}.skill-card .count{font-size:10px;color:#9899aa}.skill-card .go{position:absolute;right:13px;bottom:15px;color:#a4a2b5}.go .icon{width:15px}.progress{height:5px;background:#f0eff6;border-radius:9px;overflow:hidden}.progress span{display:block;height:100%;background:#9a85ed;border-radius:9px}.skill-card .progress{margin-top:8px}.study-panel{margin-top:27px}.study-list{display:grid;gap:11px}.study-row{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);padding:16px;border-radius:13px}.study-step{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#f4f2fc;color:#9986c9;font-size:11px;border-radius:9px;flex:none}.study-step.done{background:#e9f7f0;color:#429378}.study-step .icon{width:17px}.study-copy{flex:1;min-width:0}.study-copy h3{font-size:13px;white-space:normal}.study-copy p{font-size:11px;color:var(--muted);margin-top:3px}.study-row .btn{font-size:11px}.aside-column{display:grid;gap:20px}.aside-column .panel{padding:22px}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:9px;margin-bottom:18px}.panel-title h3{font-size:14px}.panel-title .icon-btn{padding:3px}.goal-ring{--pct:0;background:conic-gradient(#8c74e8 calc(var(--pct)*1%),#f0edf8 0);width:133px;height:133px;border-radius:50%;margin:8px auto 17px;padding:10px;position:relative}.goal-ring .inner{width:100%;height:100%;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column}.goal-ring strong{font-size:26px;letter-spacing:-.7px;font-weight:750;line-height:1.3}.goal-ring small{font-size:10px;color:var(--muted)}.center{text-align:center}.goal-caption{font-size:12px;color:#72748b}.week{display:flex;justify-content:space-between;margin-top:22px}.day{text-align:center;font-size:9px;color:#989aad}.day i{display:flex;align-items:center;justify-content:center;border:1px solid #eae8f3;width:24px;height:24px;border-radius:50%;margin:5px auto 0;font-size:10px;font-style:normal}.day.today i{border-color:#a88eef;color:#7b5ccc;background:#f4efff}.day.done i{background:#8e78d8;color:#fff;border-color:#8e78d8}.aside-tip{background:linear-gradient(140deg,#7d66d7,#6051ba);border:0;color:#fff;position:relative;overflow:hidden}.aside-tip .eyebrow{color:#e3d8ff;font-size:9px;letter-spacing:1.2px}.aside-tip .tip-icon{width:33px;height:33px;border-radius:10px;background:#ffffff17;display:flex;align-items:center;justify-content:center;margin-bottom:15px}.aside-tip h3{font-size:20px;letter-spacing:-.5px;margin:8px 0}.aside-tip p{color:#dfd8f8;font-size:12px;line-height:1.9}.aside-tip .btn{background:#ffffff17;border-color:#ffffff29;color:#fff;margin-top:18px;width:100%}.aside-tip::after{content:"";position:absolute;width:130px;height:130px;border:25px solid #ffffff05;border-radius:50%;right:-68px;top:55px;pointer-events:none}.source-note{font-size:10px;line-height:1.8;color:#9697a9;padding:4px 7px}.source-note a{color:#8474ae}.tabs{display:flex;gap:7px;border-bottom:1px solid var(--line);margin-bottom:23px;overflow-x:auto;scrollbar-width:none}.tab{border:0;background:none;padding:13px 17px;color:#838499;font-size:13px;display:flex;gap:8px;align-items:center;white-space:nowrap;border-bottom:2px solid transparent}.tab.active{color:var(--primary);border-color:var(--primary);font-weight:650}.tab .icon{width:17px}.lesson-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.lesson-card{padding:23px;position:relative}.lesson-card h3{font-size:18px;margin:16px 0 8px}.lesson-card p{font-size:12px;color:var(--muted)}.lesson-card .card-foot{margin-top:22px;display:flex;justify-content:space-between;align-items:center;gap:10px}.meta{display:flex;gap:13px;align-items:center;font-size:11px;color:var(--muted);flex-wrap:wrap}.meta span{display:flex;gap:5px;align-items:center}.meta .icon{width:14px;height:14px}.notice{display:flex;gap:11px;background:#f0edfb;border:1px solid #e6def9;color:#7b6b9c;font-size:12px;border-radius:12px;padding:14px 17px;line-height:1.8}.notice .icon{width:18px;margin-top:2px}.notice.info{background:#edf4fc;color:#5b7da4;border-color:#e1ebf7}.notice.success{background:#eaf7f0;color:#298168;border-color:#d8eee4}.notice.warning{background:#fff6e8;color:#997340;border-color:#f3e5cb}.space-top{margin-top:20px}.back{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);padding:0;border:0;background:none;margin-bottom:17px}.back .icon{width:16px}.lesson-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:21px}.lesson-header h1{font-size:25px}.lesson-header p{font-size:12px;color:var(--muted);margin-top:5px}.lesson-layout{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.passage{font-size:14px;line-height:2;color:#55586f;white-space:pre-line;margin-top:19px}.passage-title{display:flex;align-items:center;gap:8px;color:var(--ink);font-size:15px;font-weight:650}.passage-title .icon{color:var(--primary);width:18px}.question{padding:20px 0;border-bottom:1px solid var(--line)}.question:first-child{padding-top:0}.question:last-child{border-bottom:0}.question-title{font-size:13px;line-height:1.8;font-weight:600;margin-bottom:12px}.q-number{font-size:10px;color:var(--primary);font-weight:750;margin-bottom:7px}.answers{display:grid;gap:8px}.answer{display:flex;gap:10px;align-items:start;padding:10px 12px;border:1px solid var(--line);border-radius:9px;font-size:12px;line-height:1.7;cursor:pointer;background:#fff}.answer:hover{border-color:#c8b8ee}.answer.selected{background:#f3efff;border-color:#a58be8;color:#6547ad}.answer.correct{background:#ecf8f1;border-color:#a2d6b8;color:#267e51}.answer.wrong{background:#fff1f1;border-color:#eab8bd;color:#af505a}.answer input{accent-color:var(--primary);margin-top:4px;flex:none}.answer-letter{font-weight:700}.explanation{font-size:12px;line-height:1.9;color:#748476;padding:11px 2px 0}.question-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:20px}.question-actions small{color:var(--muted)}.score-banner{padding:23px;display:flex;align-items:center;gap:20px;margin-bottom:21px;background:#f1edfd;border:1px solid #e3dafa;border-radius:15px}.score-number{font-size:37px;line-height:1;letter-spacing:-1px;font-weight:800;color:var(--primary)}.score-number small{font-size:13px;font-weight:500}.score-banner h3{font-size:17px;margin-bottom:6px}.score-banner p{font-size:12px;color:#8d80a4}.audio-box{background:#f6f3fd;border:1px solid #ebe4f7;border-radius:14px;padding:22px;margin-top:19px}.audio-controls{display:flex;align-items:center;gap:11px;flex-wrap:wrap}.audio-controls .play{width:48px;height:48px;border-radius:50%;background:var(--primary);color:#fff;border:0;display:flex;align-items:center;justify-content:center}.audio-controls .icon{width:19px}.audio-meta{flex:1;font-size:12px}.audio-meta small{color:#9a8cae;font-size:10px;display:block}.rate{border:1px solid #dfd7ef;border-radius:6px;padding:5px;font-size:11px;background:#fff;color:#80718d}.wave{height:50px;display:flex;align-items:center;justify-content:center;gap:5px;margin:17px 0 4px}.wave i{width:3px;height:var(--h);background:#c4b6ed;border-radius:4px}.wave.playing i{animation:wave 1s ease-in-out infinite alternate;animation-delay:var(--d)}@keyframes wave{to{height:8px;background:#8f73d8}}details{margin-top:17px;font-size:12px}summary{cursor:pointer;color:var(--primary);padding:5px 0;font-weight:550}details .passage{font-size:13px;margin-top:13px}.prompt{padding:19px;border:1px solid #e8e1f3;border-radius:12px;background:#f8f5fe;font-size:14px;line-height:1.9;color:#605472;margin:18px 0}.tip-list{padding-left:19px;margin:14px 0;color:#828297;font-size:12px;line-height:2.1}.editor{width:100%;min-height:380px;resize:vertical;border:1px solid var(--line);border-radius:12px;padding:18px;line-height:1.9;font-size:14px;color:#45485f;background:#fdfdff}.editor:focus{border-color:#aa94e8;outline:2px solid #e4daf9;outline-offset:1px}.editor.short{min-height:150px}.editor-foot{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted);margin:10px 0 20px}.editor-foot .good{color:var(--green)}.check-result{font-size:12px;color:#77718a;line-height:1.9;margin-top:20px}.check-result h4{font-size:13px;color:var(--ink);margin-bottom:8px}.rubric{display:grid;gap:10px;margin-top:18px}.rubric label{font-size:12px;display:flex;gap:10px;align-items:start;color:#6e7187}.rubric input{accent-color:var(--primary);margin-top:4px}.recorder{text-align:center;padding:30px 20px;background:#faf8ff;border-radius:14px;border:1px solid #eee6fb;margin:18px 0}.record-clock{font-size:36px;font-weight:650;color:#7b60bd;font-variant-numeric:tabular-nums;line-height:1.3;margin:15px 0 4px}.record-status{font-size:11px;color:var(--muted);margin-bottom:20px}.record-btn{border:0;width:61px;height:61px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:var(--primary);box-shadow:0 0 0 8px #eae3fb;margin:8px}.record-btn.recording{background:#cf6272;box-shadow:0 0 0 8px #f8e4e7;animation:recordpulse 1.5s infinite}.record-btn .icon{width:26px;height:26px}@keyframes recordpulse{50%{box-shadow:0 0 0 13px #f8e4e7}}audio{width:100%;max-width:410px;margin:15px 0}.vocab-wrap{max-width:770px;margin:auto}.vocab-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:19px}.flashcard{width:100%;min-height:310px;border-radius:24px;border:1px solid #e0d6f7;background:linear-gradient(125deg,#f4effe,#faf8ff);display:flex;align-items:center;justify-content:center;flex-direction:column;padding:28px;cursor:pointer;position:relative;text-align:center}.flashcard .word{font-size:37px;font-weight:750;letter-spacing:-1px;color:#604799}.flashcard .ipa{color:#aa94bd;font-size:15px;margin:9px 0}.flashcard .meaning{font-size:24px;color:#65517f;font-weight:650}.flashcard .example{font-size:15px;max-width:440px;line-height:1.9;color:#93819f;margin-top:22px}.flashcard .flip-hint{position:absolute;bottom:19px;font-size:10px;color:#b19ebf}.flash-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:22px}.flash-progress{font-size:12px;color:var(--muted);text-align:center;margin:17px 0}.vocab-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:28px}.vocab-item{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:#fff;border-radius:11px;padding:13px 15px;font-size:12px;text-align:left}.vocab-item strong{font-size:13px;color:#57536b;display:block}.vocab-item .icon{width:15px;color:#b2a1d0;margin-left:auto}.vocab-item.known{background:#f1f9f5;border-color:#d6eade}.vocab-item.known .icon{color:#4f9d7d}.exam-hero{background:linear-gradient(115deg,#ebe6fa,#f6f3fe);padding:32px;border-radius:21px;border:1px solid #e5def5;display:flex;justify-content:space-between;align-items:center;gap:24px}.exam-hero h2{font-size:27px;margin:9px 0}.exam-hero p{font-size:13px;color:#8e7f9f;max-width:580px}.exam-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:23px 0}.exam-details .panel{padding:21px}.exam-details .panel h3{font-size:14px;margin:14px 0 6px}.exam-details .panel p{font-size:11px;color:var(--muted);line-height:1.9}.format-table{width:100%;border-collapse:collapse;font-size:12px;min-width:510px}.format-table th{text-align:left;font-weight:600;color:#a29bad;background:#faf8fd}.format-table th,.format-table td{padding:14px;border-bottom:1px solid var(--line)}.table-scroll{overflow:auto}.timer{display:flex;align-items:center;gap:8px;border-radius:10px;background:#f0ebfc;color:#7960b7;padding:10px 15px;font-size:19px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.timer.urgent{background:#fff0f1;color:#c15c6a}.exam-tabs{display:flex;gap:9px;margin-bottom:20px;flex-wrap:wrap}.exam-tab{flex:1;min-width:95px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:10px 15px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px}.exam-tab.active{background:#f1ebff;border-color:#b7a3e6;color:#7553be}.exam-tab .icon{width:16px}.result-skills{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:20px 0}.result-skills .panel{padding:19px}.result-skills strong{font-size:24px;display:block;margin-top:12px}.result-skills p{font-size:11px;color:var(--muted)}.history-list{display:grid;gap:12px}.history-row{display:flex;align-items:center;gap:16px;padding:18px 21px;border-radius:13px;background:#fff;border:1px solid var(--line)}.history-row .history-copy{flex:1}.history-row h3{font-size:13px}.history-row p{font-size:11px;color:var(--muted);margin-top:4px}.history-score{font-size:19px;color:var(--primary);font-weight:700}.history-score small{font-size:10px;font-weight:400;color:var(--muted)}.empty{padding:50px 20px;text-align:center;color:var(--muted);background:#fff;border:1px solid var(--line);border-radius:18px}.empty .empty-icon{width:65px;height:65px;display:flex;align-items:center;justify-content:center;background:#f0ecfa;border-radius:19px;margin:0 auto 18px;color:#9d87d1}.empty .icon{width:28px;height:28px}.empty h3{color:#5d5773;margin-bottom:7px}.empty p{font-size:12px;margin-bottom:23px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{display:block;margin:20px 0;font-size:12px;color:#77738c}.field span{display:block;font-weight:600;color:#656075;margin-bottom:7px}.field select{width:100%;padding:11px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink)}.settings-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}.dialog-overlay{position:fixed;inset:0;background:#16142a80;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:100}.dialog{max-width:460px;width:100%;padding:28px;border-radius:21px;background:#fff;box-shadow:0 20px 80px #15102025;max-height:90vh;overflow:auto}.dialog h2{font-size:21px;margin-bottom:13px}.dialog p{font-size:13px;color:var(--muted);line-height:1.9}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px;flex-wrap:wrap}.toast{position:fixed;bottom:25px;left:calc(50% + 118px);transform:translate(-50%,20px);color:#fff;background:#28253e;border-radius:12px;padding:12px 20px;z-index:150;opacity:0;transition:all .2s;pointer-events:none;box-shadow:0 5px 25px #1612242a;font-size:12px;max-width:85vw;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.mobile-nav{display:none}.footer{font-size:10px;color:#a0a0af;display:flex;justify-content:space-between;gap:15px;margin-top:33px;padding-top:19px;border-top:1px solid var(--line)}.footer button{font-size:10px;color:#9b8bb2;border:0;background:none;padding:0}.hidden{display:none!important}.skip-link{position:fixed;left:250px;top:-100px;z-index:200;background:#fff;padding:10px;border:2px solid var(--primary)}.skip-link:focus{top:10px}#storage-warning{margin-bottom:20px}.button-row{display:flex;gap:10px;flex-wrap:wrap}.mini-label{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:1px;margin-bottom:9px}.review-write{white-space:pre-wrap;font-size:13px;line-height:1.9;color:#6f6783}.target-toggle{display:flex;gap:5px}.target-toggle button{padding:8px 14px;border:1px solid var(--line);background:#fff;border-radius:8px;color:var(--muted);font-size:12px}.target-toggle button.active{background:var(--primary);border-color:var(--primary);color:#fff}
@media(min-width:1600px){.content{padding-top:38px}.dashboard-columns{grid-template-columns:minmax(0,1fr) 310px}.hero{min-height:250px}.hero-art{width:330px;right:36px}.hero-art svg{width:310px;height:250px}.hero h2{font-size:32px}.skill-card{padding:25px 20px 20px}}
@media(max-width:1230px){.app-shell{padding-left:206px}.sidebar{width:206px;padding-left:14px;padding-right:14px}.brand-name{font-size:18px}.brand{gap:8px}.brand img{width:33px;height:33px}.content{padding:27px 25px}.topbar{padding:0 25px}.dashboard-columns{grid-template-columns:minmax(0,1fr) 252px;gap:20px}.metrics{gap:10px}.metric{padding:14px 11px;gap:9px}.metric-icon{width:33px;height:33px}.metric-value{font-size:19px}.metric-label{font-size:10px}.hero{padding:26px;min-height:235px}.hero-copy{max-width:67%}.hero h2{font-size:25px}.hero-art{right:-31px;opacity:.9;width:220px}.hero-art svg{width:235px}.hero p{max-width:330px;font-size:12px}.skill-grid{gap:9px}.skill-card{padding:16px 12px 13px}.skill-card h3{font-size:14px}.skill-card .en{font-size:10px}.aside-column .panel{padding:19px}.toast{left:calc(50% + 103px)}}
@media(max-width:1030px){.dashboard-columns{grid-template-columns:minmax(0,1fr)}.aside-column{grid-template-columns:1fr 1fr}.aside-column .source-note{grid-column:1/-1}.week{justify-content:center;gap:17px}.goal-ring{width:115px;height:115px}.aside-tip .tip-icon{margin-bottom:8px}.hero-copy{max-width:65%}.hero-art{right:20px;width:250px;opacity:1}.hero-art svg{width:265px}.skill-grid{gap:15px}.hero{min-height:220px}.metrics{gap:15px}.metric{padding:17px}.exam-details{grid-template-columns:repeat(2,1fr)}.result-skills{grid-template-columns:repeat(2,1fr)}.lesson-layout{grid-template-columns:1fr}.passage{line-height:1.95}.settings-grid{grid-template-columns:1fr 1fr}.intro-date{display:none}}
@media(max-width:760px){body{font-size:13px}.app-shell{padding-left:0;padding-bottom:70px}.sidebar{display:none}.topbar{height:69px;padding:0 20px;background:#fff}.menu-btn{display:inline-flex}.breadcrumbs{display:none}.topbar-brand{font-size:17px;font-weight:750;display:flex;align-items:center;gap:8px}.topbar-brand img{width:30px;height:30px}.topbar-brand span{font-weight:450}.top-actions{gap:10px}.top-actions .avatar,.top-actions>.icon-btn{display:none}.level-pill{padding:6px 8px;font-size:10px;gap:4px}.content{padding:24px 20px}.page-intro{margin-bottom:21px;align-items:flex-start}h1{font-size:25px}.page-intro p{font-size:12px;max-width:320px;line-height:1.8}.hero{padding:24px;min-height:215px;border-radius:18px}.hero h2{font-size:25px;max-width:310px}.hero .eyebrow{font-size:9px;letter-spacing:1.2px}.hero-copy{max-width:72%}.hero p{max-width:280px;font-size:11px}.hero-art{right:-52px;top:13px;width:210px;opacity:.6}.hero-art::before{width:170px;height:170px}.hero-art svg{width:220px}.hero-actions{gap:13px}.hero-actions .btn{font-size:11px;padding:9px 12px;min-height:38px}.hero-actions .btn.ghost{display:none}.metrics{gap:9px;margin-top:14px;margin-bottom:25px}.metric{padding:14px 10px;gap:9px;flex-direction:column;align-items:flex-start}.metric-icon{height:30px;width:30px;border-radius:9px}.metric-icon .icon{height:17px;width:17px}.metric-value{font-size:20px}.metric-label{font-size:10px}.skill-grid{gap:11px;grid-template-columns:repeat(2,1fr)}.skill-card{padding:18px;min-height:166px}.skill-card h3{font-size:16px;margin-top:13px}.skill-card .en{font-size:11px;margin-bottom:12px}.skill-card .count{font-size:10px}.skill-card .go{right:18px}.section-heading h2{font-size:18px}.section-heading p{font-size:11px}.section-heading .btn{font-size:10px}.study-row{padding:13px;gap:10px}.study-row .btn{font-size:10px;padding:6px 10px}.study-copy h3{font-size:12px}.study-copy p{font-size:10px}.study-step{width:28px;height:28px}.aside-column{gap:14px;grid-template-columns:1fr 1fr}.aside-column .panel{padding:19px 15px}.panel-title h3{font-size:12px}.goal-ring{width:104px;height:104px;padding:8px;margin-top:15px}.goal-ring strong{font-size:23px}.goal-caption{font-size:10px}.week{gap:0;justify-content:space-between}.day{font-size:8px}.day i{width:19px;height:19px;font-size:8px}.aside-tip h3{font-size:17px}.aside-tip p{font-size:11px}.aside-tip .btn{font-size:10px;padding:8px 9px;white-space:normal}.aside-tip .eyebrow{font-size:8px}.lesson-grid{grid-template-columns:1fr}.panel{padding:20px}.tabs{gap:0;margin-left:-5px;margin-right:-5px}.tab{padding:12px 14px;font-size:12px;gap:6px}.lesson-header{align-items:flex-start}.lesson-header h1{font-size:22px}.lesson-header .badge{font-size:9px}.lesson-card{padding:22px}.lesson-layout{gap:16px}.lesson-layout>.panel{padding:21px}.lesson-header p{max-width:260px;line-height:1.8}.passage{font-size:13px}.question-title{font-size:13px}.answer{font-size:12px}.question-actions .btn{font-size:11px;padding:10px 13px}.question-actions small{font-size:10px}.editor{min-height:330px;font-size:13px}.vocab-list{grid-template-columns:1fr 1fr;gap:8px}.vocab-item{padding:10px;font-size:10px;gap:5px}.vocab-item strong{font-size:11px}.flashcard{min-height:305px;padding:24px 18px}.flashcard .word{font-size:30px}.flashcard .meaning{font-size:22px}.flashcard .example{font-size:13px}.exam-hero{padding:25px;align-items:flex-start;flex-direction:column}.exam-hero h2{font-size:24px}.exam-hero p{font-size:12px}.exam-details{gap:11px}.exam-details .panel{padding:18px}.exam-tab{font-size:11px;padding:10px 8px;min-width:65px}.exam-tab .icon{width:14px}.timer{font-size:16px;padding:8px 10px;gap:5px}.timer .icon{width:16px}.settings-grid{grid-template-columns:1fr}.history-row{padding:15px;gap:11px}.history-row .skill-icon{width:33px;height:33px}.history-row h3{font-size:12px}.history-row p{font-size:10px}.history-score{font-size:17px}.history-row .icon-btn{padding:3px}.score-banner{padding:20px;gap:16px}.score-banner h3{font-size:15px}.score-banner p{font-size:11px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fffffff5;backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:8px 12px calc(9px + env(safe-area-inset-bottom));justify-content:space-around;z-index:40}.mobile-nav a{display:flex;align-items:center;flex-direction:column;font-size:9px;gap:3px;min-width:49px;padding:4px;color:#9995ac}.mobile-nav a.active{color:var(--primary)}.mobile-nav a.active .icon{stroke-width:2.2}.mobile-nav .icon{height:21px;width:21px}.toast{left:50%;bottom:86px;min-width:240px}.footer{font-size:9px;margin-top:27px}.source-note{font-size:9px}.skip-link{left:15px}.panel-title{margin-bottom:13px}.record-clock{font-size:33px}.topbar-brand{white-space:nowrap}.topbar .brand{display:none}}
@media(min-width:761px){.topbar-brand{display:none}}
@media(max-width:390px){.content{padding:20px 15px}.topbar{padding:0 15px}.hero{padding:22px 18px}.hero h2{font-size:22px}.hero-copy{max-width:77%}.hero-art{right:-64px;opacity:.4}.level-pill .goal-word{display:none}.aside-column{grid-template-columns:1fr}.week{justify-content:center;gap:15px}.aside-column .panel{padding:22px}.aside-tip h3{font-size:21px}.aside-tip p{font-size:12px}.metric-value span{font-size:9px}.page-intro h1{font-size:23px}.flash-actions{gap:8px}.flash-actions .btn{font-size:11px;padding:9px 12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.mobile-nav,.footer,.btn,.back{display:none}.app-shell{padding:0}.content{padding:0}.lesson-layout{display:block}.panel{break-inside:avoid}.editor{min-height:200px}}
