/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/font-0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/font-1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(fonts/font-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(fonts/font-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root{--bg:#0b1324;--sidebar:#0c1425;--surface:#121d31;--surface2:#17243b;--surface3:#1c2a42;--stroke:#29364d;--text:#f5f7ff;--muted:#9aa8c0;--subtle:#65748c;--purple:#8978fa;--purple2:#6657e8;--cyan:#57c7e4;--green:#80dfb1;--yellow:#ffcf83;--red:#ff8c9c;--shadow:0 12px 45px rgba(0,0,0,.15)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--text);background:var(--bg);font:15px/1.55 'DM Sans','Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}button,textarea,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.icons{height:0;width:0;position:absolute;overflow:hidden}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{font-family:'Outfit','Segoe UI',sans-serif;line-height:1.18;letter-spacing:-.025em}h1{font-size:clamp(32px,4.5vw,51px);font-weight:700}h2{font-size:28px}h3{font-size:19px}p{color:var(--muted)}.app-shell{min-height:100vh;display:flex}.sidebar{flex:0 0 242px;background:var(--sidebar);border-right:1px solid #1c293d;min-height:100vh;display:flex;flex-direction:column;padding:28px 15px 18px;position:sticky;top:0;height:100vh}.brand{background:none;border:0;color:#fff;display:flex;align-items:center;gap:11px;text-align:left;padding:0 10px;font:800 24px/1 'Outfit','Segoe UI',Arial,sans-serif;letter-spacing:-.05em}.brand-mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,#a297ff,#6c55e9);display:grid;place-items:center;color:#fff;box-shadow:0 5px 18px #6654dc44;flex-shrink:0}.brand-mark svg{width:23px;height:23px;stroke-width:2.4}.brand-accent,.mobile-brand strong span{color:#aaa0ff}.brand small{font:700 9px/1.3 'DM Sans',sans-serif;letter-spacing:.24em;display:block;margin-top:4px;color:#818da7}.side-label{font-size:10px;font-weight:800;letter-spacing:.18em;color:#697791;margin:55px 18px 17px}.side-nav{display:grid;gap:6px}.nav-link{display:flex;align-items:center;gap:13px;color:#91a0ba;background:transparent;border:1px solid transparent;border-radius:12px;padding:13px 14px;text-align:left;font-weight:600;font-size:14px;transition:.2s}.nav-link svg{width:19px;height:19px}.nav-link:hover{background:#17233a;color:white}.nav-link.active{color:#e9e4ff;background:#24244c;border-color:#3a3265}.nav-link.active svg{color:#a99cff}.side-bottom{margin-top:auto;padding:12px 5px}.side-tip{position:relative;padding:18px 15px 10px;background:linear-gradient(135deg,#242650,#151f40);border:1px solid #353365;border-radius:16px;overflow:hidden}.side-tip:after{content:'✦';font-size:68px;color:#8275ff20;position:absolute;right:-1px;top:0}.side-tip-icon{font-size:23px;color:#bab1ff;margin-bottom:11px}.side-tip strong{display:block;font:600 15px 'Outfit'}.side-tip p{font-size:12px;line-height:1.5;margin:7px 0 4px;color:#98a7cb}.side-version{font-size:10px;color:#63718b;display:block;padding:17px 3px 0}.main-area{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{min-height:82px;border-bottom:1px solid #1b293c;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(25px,4.5vw,67px);gap:20px}.breadcrumb{font-size:13px;font-weight:600;color:#8896ae}.breadcrumb span{padding:0 10px;color:#55647b}.top-actions{display:flex;align-items:center;gap:10px;color:#a5b2c9;font-size:12px;font-weight:600}.live-dot{width:7px;height:7px;border-radius:50%;background:#78d9a5;box-shadow:0 0 0 4px #78d9a512}.icon-button{display:grid;place-items:center;border:1px solid var(--stroke);color:#c9d3e3;width:39px;height:39px;border-radius:12px;background:var(--surface)}.icon-button:hover{border-color:var(--purple)}.top-actions .icon-button{margin-left:16px}.mobile-brand{display:none}.content{width:min(1210px,100%);margin:0 auto;padding:38px clamp(25px,4.5vw,67px) 60px;flex:1}.footer{display:flex;gap:10px;justify-content:space-between;padding:20px clamp(25px,4.5vw,67px);font-size:11px;color:#6b7993;border-top:1px solid #1b293c}.mobile-nav{display:none}.eyebrow{font-size:11px;letter-spacing:.19em;font-weight:800;color:#a599ff;text-transform:uppercase;display:flex;align-items:center;gap:9px;margin-bottom:13px}.eyebrow .line{height:1px;width:25px;background:#8a7bf7}.hero{min-height:305px;position:relative;display:flex;align-items:center;padding:42px 47px;background:radial-gradient(circle at 78% 38%,#6553db65,transparent 36%),linear-gradient(112deg,#27255b 0%,#25275f 50%,#352669 100%);border:1px solid #514b87;border-radius:24px;box-shadow:var(--shadow);overflow:hidden}.hero:after{content:'';position:absolute;width:380px;height:380px;right:-50px;top:-55px;border:1px solid #a19bff35;border-radius:50%;box-shadow:0 0 0 47px #9d95ff09,0 0 0 95px #ac8fff0a,0 0 0 145px #978eff06;pointer-events:none}.hero:before{content:'✧';position:absolute;right:126px;top:45px;font-size:45px;color:#bcaaff9c}.hero-copy{position:relative;z-index:1;max-width:610px}.hero h1{margin:0 0 17px;max-width:590px;line-height:1.08}.hero h1 em{color:#bddaff;font-style:normal}.hero p{color:#c3c7ed;font-size:15px;max-width:420px;margin-bottom:24px}.hero-tag{color:#d4d0ff;font-size:11px;font-weight:800;letter-spacing:.16em;margin-bottom:14px}.hero-decoration{position:absolute;right:90px;bottom:-18px;width:205px;height:205px;border:1px solid #a198ff73;border-radius:50%;transform:rotate(-14deg);display:grid;place-items:center}.hero-decoration svg{width:120px;height:120px;stroke:#bdb3ff;stroke-width:.5;opacity:.55}.btn{border:0;border-radius:11px;font-weight:800;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:0 18px;transition:transform .18s,background .18s,box-shadow .18s;text-decoration:none}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn svg{width:17px;height:17px}.btn-primary{background:#8f80ff;color:#fff;box-shadow:0 6px 16px #6354cf3b}.btn-primary:hover{background:#a094ff}.btn-light{background:#fff;color:#31285c}.btn-light:hover{background:#f0efff}.btn-outline{background:#19263d;color:#dce3ef;border:1px solid #33415b}.btn-outline:hover{background:#22324d}.btn-ghost{background:transparent;color:#c0cbea;border:1px solid #3e4a67}.btn-green{background:#224d4a;color:#96f1c4;border:1px solid #316b60}.btn-danger{background:#492d3d;color:#ffb6c0;border:1px solid #6f3d51}.btn-lg{height:49px;padding:0 22px}.hero-actions{display:flex;gap:11px;flex-wrap:wrap}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:36px 0 18px}.section-heading h2{font-size:23px;margin:0 0 4px}.section-heading p{font-size:13px;margin:0}.text-link{border:0;background:none;color:#aaa1ff;font-weight:800;font-size:13px;padding:10px;white-space:nowrap}.text-link:hover{text-decoration:underline}.mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.mode-card{background:var(--surface);border:1px solid #26364d;padding:23px 23px 19px;border-radius:19px;min-height:225px;display:flex;flex-direction:column;position:relative;overflow:hidden;text-align:left;color:inherit;transition:transform .2s,border-color .2s,background .2s}.mode-card:hover{transform:translateY(-4px);border-color:#7167b5;background:#17223b}.mode-icon{display:grid;place-items:center;width:49px;height:49px;border-radius:15px;margin-bottom:20px}.mode-icon.purple{color:#b5adff;background:#363260}.mode-icon.blue{color:#86dbf7;background:#1f435b}.mode-icon.orange{color:#ffd493;background:#574332}.mode-icon svg{width:25px;height:25px}.mode-card h3{margin:0 0 8px;font-size:19px}.mode-card p{font-size:12.5px;line-height:1.55;margin:0 0 17px;max-width:260px}.card-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:auto;color:#b9c5dc;font-size:11px;font-weight:800}.card-bottom svg{width:17px;height:17px}.home-bottom{display:grid;grid-template-columns:1.25fr 1fr;gap:17px;margin-top:22px}.stat-card,.callout{background:#121d31;border:1px solid #26364d;border-radius:19px;padding:23px}.stat-card .stat-big{font:700 33px 'Outfit','Segoe UI',Arial,sans-serif;letter-spacing:-.04em;color:#fff}.stat-title{font-weight:800;margin-bottom:17px}.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.stat-minor{font-size:12px;color:#96a7c2}.stat-minor strong{display:block;font:700 29px 'Outfit','Segoe UI',Arial,sans-serif;color:#fff}.stat-minor:not(:first-child){border-left:1px solid #314057;padding-left:20px}.callout{background:linear-gradient(115deg,#172e3e,#182537);display:flex;align-items:center;gap:17px}.callout .callout-icon{background:#24485c;color:#78d8ea;width:48px;height:48px;display:grid;place-items:center;border-radius:14px;flex-shrink:0}.callout strong{display:block;font:700 18px 'Outfit','Segoe UI',Arial,sans-serif;margin-bottom:6px}.callout p{font-size:12px;margin:0}.subpage-head{margin-bottom:24px;display:flex;align-items:end;justify-content:space-between;gap:20px}.subpage-head h1{font-size:36px;margin:0 0 8px}.subpage-head p{font-size:14px;margin:0}.mode-select{display:flex;gap:10px;flex-wrap:wrap}.mode-chip{display:inline-flex;align-items:center;gap:8px;border:1px solid #344057;border-radius:999px;padding:9px 15px;background:#17233a;color:#aebbd0;font-size:12px;font-weight:800}.mode-chip.active{background:#39325c;color:#f0eaff;border-color:#7765da}.mode-chip svg{width:15px;height:15px}.practice-shell{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:20px;margin-top:20px;align-items:start}.practice-main{min-width:0}.practice-card{border:1px solid #33405d;background:#121d31;border-radius:22px;overflow:hidden;box-shadow:var(--shadow)}.practice-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:11px;padding:23px 26px 16px}.chips{display:flex;gap:7px;flex-wrap:wrap}.tag{display:inline-flex;align-items:center;gap:7px;border:1px solid #3d4667;background:#292849;border-radius:30px;padding:6px 12px;color:#b7acff;font-size:10px;font-weight:800;letter-spacing:.03em}.tag.blue{background:#1a354b;border-color:#2b5870;color:#83d1ef}.tag.orange{background:#44352e;border-color:#645045;color:#f2c68e}.tag.gray{background:#1d2b41;border-color:#354359;color:#a9b7d0}.prompt-label{font-size:11px;color:#a89df9;letter-spacing:.18em;font-weight:800;text-transform:uppercase;margin:15px 26px 11px}.prompt-text{font:600 clamp(24px,2.9vw,36px)/1.25 'Outfit','Segoe UI',Arial,sans-serif;letter-spacing:-.02em;color:#fff;margin:0 26px 14px}.prompt-trans{margin:0 26px 22px;color:#a4b3cd;font-size:14px}.practice-illustration{margin:0 25px 18px;border:1px solid #32425c;border-radius:15px;overflow:hidden;aspect-ratio:16/9;background:#e4edeb}.practice-illustration svg{display:block;width:100%;height:100%;stroke:none}.card-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 26px 22px}.tool-btn{border:1px solid #34435b;color:#c2cee0;background:#1b2940;padding:9px 12px;border-radius:10px;display:inline-flex;gap:7px;align-items:center;font-size:12px;font-weight:700}.tool-btn svg{height:16px;width:16px}.tool-btn:hover{color:#fff;border-color:#877cf5}.helper{background:#1a283d;border-top:1px solid #2a3b53;padding:15px 26px;display:none;font-size:13px}.helper.visible{display:block}.helper strong{color:#d8d0ff;display:block;margin-bottom:3px}.helper p{margin:0;color:#adc0d7}.answer-area{margin-top:18px;background:#121d31;border:1px solid #2d3b51;border-radius:19px;padding:22px}.answer-header{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.answer-header label{font:700 18px 'Outfit'}.answer-header span{font-size:11px;color:#8c9fbb}.response{display:block;width:100%;background:#0c1628;border:1px solid #34415b;color:#f7f7fc;border-radius:12px;padding:15px 16px;min-height:137px;resize:vertical;line-height:1.6;outline:none}.response::placeholder{color:#7789a4}.response:focus{border-color:#8275e5;box-shadow:0 0 0 3px #8370f420}.answer-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;flex-wrap:wrap}.mic-btn{background:#242c50;color:#d2caff;border:1px solid #4e487a}.mic-btn.listening{background:#78364e;color:#ffd7e1;border-color:#c16d80;animation:micpulse 1.1s infinite}@keyframes micpulse{50%{box-shadow:0 0 0 8px #f78d9c1c}}.speech-note{display:block;font-size:11px;color:#7f91ad;margin-top:9px}.aside-box{border:1px solid #2e3c51;border-radius:18px;background:#121d31;padding:21px;margin-bottom:16px}.aside-box h3{font-size:16px;margin-bottom:17px}.aside-box p{font-size:12.5px;line-height:1.55;margin-bottom:15px}.aside-head{display:flex;gap:8px;align-items:center;font-weight:700}.aside-head svg{color:#a39aff;width:18px}.progress-track{width:100%;height:7px;border-radius:99px;background:#2b3950;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#6c63db,#75d7ea);border-radius:99px;transition:width .4s}.progress-meta{display:flex;justify-content:space-between;margin-top:10px;font-size:11px;color:#9dafc6}.tip-list{display:grid;gap:12px}.tip-item{display:flex;gap:10px;font-size:12px;color:#b2bed3}.tip-dot{flex-shrink:0;width:18px;height:18px;border-radius:50%;background:#342d55;display:grid;place-items:center;color:#b7a9ff;font-size:11px;font-weight:900}.aside-streak{border-color:#3d4857;background:linear-gradient(135deg,#2a2845,#1d2a40)}.aside-streak strong{font:700 27px 'Outfit','Segoe UI',Arial,sans-serif;color:#e6deff}.feedback{margin-top:18px;background:#16243a;border:1px solid #44547a;border-radius:19px;padding:23px}.feedback-header{display:flex;align-items:center;gap:17px;margin-bottom:15px}.score-circle{width:75px;height:75px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:conic-gradient(#86dcb3 var(--score),#27384b 0);position:relative}.score-circle:before{content:'';position:absolute;inset:7px;background:#17253a;border-radius:50%}.score-circle span{z-index:1;font:700 23px 'Outfit'}.feedback h3{margin:0 0 5px}.feedback p{margin:0;font-size:12px}.feedback-list{display:grid;gap:9px;margin:17px 0}.feedback-point{border:1px solid #33435c;background:#162238;border-radius:10px;padding:11px 13px;display:flex;align-items:flex-start;gap:10px;font-size:12.5px;color:#d7e2f1}.feedback-point svg{flex-shrink:0;width:17px;height:17px}.feedback-point.good svg{color:#8ad6b4}.feedback-point.improve svg{color:#ffd38d}.model-answer{margin-top:15px;background:#0f1c2f;border:1px solid #2c3e55;border-radius:12px;padding:15px}.model-answer strong{display:block;color:#b2aaff;font-size:11px;text-transform:uppercase;letter-spacing:.12em;margin-bottom:6px}.model-answer p{color:#dfebf8;font-size:14px;line-height:1.65;margin:0}.feedback-actions{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:18px}.exam-setup{background:#121d31;border:1px solid #2b3c56;border-radius:23px;padding:28px}.exam-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:25px 0}.exam-feature{border:1px solid #34435d;border-radius:14px;background:#1a2941;padding:17px}.exam-feature svg{color:#ad9fff;margin-bottom:12px}.exam-feature strong{display:block;font:700 16px 'Outfit','Segoe UI',Arial,sans-serif;margin-bottom:5px}.exam-feature span{font-size:12px;color:#9faec6}.exam-settings{border-top:1px solid #2c3950;padding-top:22px;display:flex;gap:20px;align-items:end;flex-wrap:wrap}.field{display:grid;gap:7px}.field label{font-size:12px;font-weight:800;color:#bdc9df}.field select,.field input{padding:10px 12px;color:#f3f5ff;background:#0e1a2c;border:1px solid #34465e;border-radius:10px;min-width:155px}.exam-question-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px;gap:10px}.exam-counter{font-size:12px;color:#bdc7dc;font-weight:800}.timer{font:700 15px 'Outfit','Segoe UI',Arial,sans-serif;color:#a4e1d4;background:#193c42;padding:8px 12px;border:1px solid #2c6666;border-radius:9px}.timer.urgent{color:#ffb7bb;background:#5c293a;border-color:#91495e}.exam-report-head{text-align:center;padding:28px 20px}.trophy-large{font-size:56px;margin-bottom:15px}.report-number{font:800 65px 'Outfit','Segoe UI',Arial,sans-serif;color:#9c90ff;line-height:1.1;margin:14px}.report-items{display:grid;gap:9px;margin:18px 0}.report-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border:1px solid #304159;border-radius:11px;background:#16243a;font-size:13px}.report-row strong{font:700 17px 'Outfit'}.resource-toolbar{display:flex;gap:11px;flex-wrap:wrap;margin-bottom:20px}.search-input{flex:1;min-width:220px;padding:11px 15px;background:#121d31;color:#fff;border:1px solid #34465f;border-radius:12px;outline:none}.search-input:focus{border-color:#887af4}.filter-btn{padding:10px 14px;border:1px solid #34435b;border-radius:10px;background:#142238;color:#aab9d0;font-size:12px;font-weight:800}.filter-btn.active{background:#393260;border-color:#6b60b8;color:#f6f3ff}.library-list{display:grid;gap:11px}.library-item{background:#131f34;border:1px solid #2c3b52;border-radius:14px;overflow:hidden}.library-main{border:0;padding:17px 19px;width:100%;background:none;color:#f1f5fc;text-align:left;display:flex;gap:12px;align-items:center;justify-content:space-between}.library-main strong{font:600 15px/1.4 'Outfit','Segoe UI',Arial,sans-serif;display:block}.library-main small{color:#a69ef0;font-size:11px;display:block;margin-top:5px}.library-main svg{flex-shrink:0;color:#a6b5cb}.library-detail{border-top:1px solid #2b3d57;padding:17px 19px;background:#18263c}.library-detail p{font-size:13px;margin:0 0 9px;color:#c5d0e0}.library-detail strong{font-size:12px;color:#ac9efc}.library-detail .btn{margin-top:10px}.progress-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:25px 0}.progress-card{background:#141f33;border:1px solid #2b3a51;border-radius:17px;padding:23px}.progress-card strong{display:block;font:700 40px 'Outfit','Segoe UI',Arial,sans-serif;margin:8px 0}.progress-card span{font-size:12px;color:#a8b5c9}.bars{display:grid;gap:16px}.bar-row .bar-head{display:flex;justify-content:space-between;margin-bottom:7px;font-size:13px}.bar-row .bar-head strong{font-weight:700}.bar-row .bar-head span{color:#a0b1c8}.empty{padding:42px;text-align:center;color:#a9bad0;background:#141f34;border:1px dashed #38465d;border-radius:19px}.empty svg{display:block;margin:0 auto 13px;color:#a295ff;width:32px;height:32px}.notice{padding:14px 17px;border:1px solid #45516a;border-radius:12px;background:#1a2841;font-size:12px;color:#b7c5dd;margin:17px 0;display:flex;gap:10px}.notice svg{flex-shrink:0;width:17px;height:17px;color:#aaa0ff}.small-copy{font-size:12px;color:#8d9db7}.small-space{height:12px}.toast{position:fixed;bottom:22px;right:22px;z-index:99;max-width:min(410px,90vw);background:#31305b;color:#fff;border:1px solid #8173d4;box-shadow:0 15px 45px #0008;border-radius:12px;padding:13px 18px;font-weight:700;font-size:13px;transform:translateY(80px);opacity:0;transition:.2s;pointer-events:none}.toast.show{transform:translateY(0);opacity:1}.answer-sample-grid{display:grid;gap:10px}.hidden{display:none!important}.pill-warning{background:#4a3830;border:1px solid #8b6149;color:#ffcc96;border-radius:100px;font-size:11px;padding:6px 10px;font-weight:800}.hint-text{color:#d5cbff;font-size:13px}.scene-caption{display:flex;align-items:center;gap:6px;color:#98aac2;font-size:11px;margin:0 26px 17px}.scene-caption svg{width:14px;height:14px}.mode-chip:focus-visible,.btn:focus-visible,.nav-link:focus-visible,.tool-btn:focus-visible,button:focus-visible{outline:2px solid #bab1ff;outline-offset:3px}
@media(max-width:1200px){.sidebar{flex-basis:220px}.content{padding-left:32px;padding-right:32px}.topbar,.footer{padding-left:32px;padding-right:32px}.practice-shell{grid-template-columns:minmax(0,1fr) 230px}.aside-box{padding:17px}}
@media(max-width:980px){.sidebar{display:none}.mobile-brand{display:flex;align-items:center;gap:9px;font:800 21px 'Outfit'}.mobile-brand .brand-mark{width:31px;height:31px;border-radius:9px}.mobile-brand .brand-mark svg{width:18px;height:18px}.breadcrumb{display:none}.topbar{min-height:68px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:50;display:flex;align-items:stretch;justify-content:space-around;background:#111c2e;border-top:1px solid #2c3b51;padding:6px 8px max(6px,env(safe-area-inset-bottom));box-shadow:0 -10px 30px #05091470}.mobile-nav button{border:0;background:transparent;color:#7e8ea7;flex:1;display:grid;place-items:center;gap:2px;font-size:10px;font-weight:700;padding:6px 2px}.mobile-nav button.active{color:#b3a7ff}.mobile-nav button svg{height:20px;width:20px}.main-area{padding-bottom:70px}.footer{display:none}.toast{bottom:90px}}
@media(max-width:770px){.content{padding:23px 17px 45px}.topbar{padding:0 19px}.top-status{display:none}.top-actions .icon-button{margin-left:5px}.hero{padding:31px 25px;min-height:300px}.hero h1{font-size:37px}.hero-decoration{opacity:.22;right:-40px;bottom:-65px}.hero p{font-size:13px}.section-heading{margin-top:30px}.mode-grid{grid-template-columns:1fr}.mode-card{min-height:0;display:grid;grid-template-columns:54px 1fr 24px;gap:0 14px;align-items:center;padding:17px}.mode-icon{grid-row:1/3;margin:0}.mode-card h3{margin:0 0 5px;font-size:18px}.mode-card p{grid-column:2;margin:0;font-size:12px}.card-bottom{grid-column:3;grid-row:1/3}.card-bottom span{display:none}.home-bottom{grid-template-columns:1fr}.subpage-head{display:block}.subpage-head h1{font-size:31px}.subpage-head .btn{margin-top:12px}.practice-shell{display:block}.practice-side{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.practice-side .aside-box{margin:0}.aside-streak{display:none}.exam-feature-grid,.progress-overview{grid-template-columns:1fr}.exam-feature-grid{gap:9px}.exam-feature{padding:14px;display:grid;grid-template-columns:26px 1fr;column-gap:10px}.exam-feature svg{margin:0;grid-row:1/3}.exam-feature span{grid-column:2}.exam-feature strong{font-size:15px;margin:0}.exam-settings{gap:10px}.exam-settings .field{flex:1}.exam-settings select{min-width:0;width:100%}}
@media(max-width:490px){.hero{padding:28px 20px;border-radius:19px;min-height:312px}.hero h1{font-size:34px}.hero-actions{gap:8px}.hero .btn{padding:0 13px}.section-heading h2{font-size:21px}.section-heading p{font-size:12px}.section-heading .text-link{font-size:11px}.stat-card,.callout{padding:19px}.stats-row{gap:6px}.stat-minor strong{font-size:24px}.stat-minor:not(:first-child){padding-left:10px}.mode-select{gap:7px}.mode-chip{font-size:11px;padding:9px 11px}.practice-top{padding:17px 17px 12px}.prompt-label{margin:10px 17px}.prompt-text{margin:0 17px 13px;font-size:25px}.prompt-trans{margin:0 17px 18px;font-size:12px}.card-tools{margin:0 17px 17px}.practice-illustration{margin:0 13px 15px}.scene-caption{margin:0 16px 15px}.helper{padding:14px 18px}.answer-area{padding:17px}.answer-actions{align-items:stretch}.answer-actions .btn{flex:1}.answer-actions .btn-primary{flex:1 1 100%;order:1}.practice-side{grid-template-columns:1fr}.practice-side .aside-box:nth-child(2){display:none}.feedback{padding:16px}.feedback-actions .btn{flex:1}.footer{display:none}.exam-setup{padding:19px}.subpage-head h1{font-size:29px}.report-number{font-size:55px}.progress-card{padding:17px}.progress-overview{grid-template-columns:repeat(3,1fr);gap:7px}.progress-card strong{font-size:26px}.progress-card span{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.grammar-guide{margin-bottom:24px;padding:20px;background:var(--surface);border:1px solid var(--stroke);border-radius:16px}
.grammar-guide h2{font-size:22px}.grammar-guide p{font-size:13px}.grammar-guide details{border-top:1px solid var(--stroke);padding:12px 0}.grammar-guide summary{cursor:pointer;font-weight:700}.grammar-guide details p{margin:10px 0 0}.grammar-guide [lang=en]{color:#d6ddf8}
.grammar-guide summary:focus-visible{outline:2px solid #bab1ff;outline-offset:4px}
.prompt-text,.report-row span,.library-main strong{overflow-wrap:anywhere}
button,.tool-btn,.mode-chip,.filter-btn{min-height:44px}
.mobile-nav button{min-height:48px}.field select{min-height:44px}
@media(max-width:490px){.answer-header{flex-wrap:wrap}.resource-toolbar .search-input{min-width:0;width:100%;flex-basis:100%}.report-row span{min-width:0}.report-row strong{flex-shrink:0}}
