@charset "UTF-8";
:root{--bg:#f8f7f1;--paper:#fffefa;--green:#244c3d;--green-mid:#50715e;--ink:#233b32;--muted:#7a8278;--line:#e3e6dc;--light:#edf2e8;--gold:#c69d46;--orange:#b8693f;--radius:22px;font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}button{color:inherit}a{color:inherit}button,select,textarea{touch-action:manipulation}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid #c99b45;outline-offset:4px}button svg{flex-shrink:0}button:disabled{opacity:.45}button.option:disabled{opacity:1}button,select{min-height:46px}svg{vertical-align:middle;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:650}p{line-height:1.8}h3{font-size:20px}small{line-height:1.65}.site-header{border-bottom:1px solid var(--line);background:#fdfcf8}.header-inner{max-width:1248px;margin:auto;min-height:94px;padding:16px 34px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;flex-shrink:0}.brand>span{font-size:23px;font-weight:750;letter-spacing:1px}.brand small{display:block;font-size:10px;font-weight:450;color:var(--muted);letter-spacing:2px;margin-top:1px}.header-inner nav{display:flex;gap:12px}.nav-item{display:flex;align-items:center;gap:7px;border:0;background:none;padding:0 16px;font-size:14px;border-radius:12px;color:#738072}.nav-item.active{background:#eaf0e5;color:var(--green);font-weight:650}.nav-item b{font-size:10px;background:#e2e8d9;border-radius:20px;padding:2px 6px}.header-tag{font-size:12px;color:#8a8973;display:flex;align-items:center;gap:7px}.home-main{max-width:1248px;margin:auto;padding:0 34px 60px}.hero{min-height:377px;display:grid;grid-template-columns:1.12fr 1fr;align-items:center;gap:40px;padding-top:32px}.eyebrow{font-size:11px;font-weight:650;letter-spacing:2px;color:var(--green-mid);display:flex;align-items:center;gap:9px}.eyebrow>span{width:7px;height:7px;background:var(--gold);border-radius:50%}.hero h1{font-family:"STKaiti","KaiTi","PingFang SC","Microsoft YaHei",serif;font-weight:650;letter-spacing:1px;font-size:46px;line-height:1.45;margin:18px 0 16px}.hero h1>span{color:#6d8759}.hero-copy>p{font-size:14px;line-height:1.9;color:#7a8275;margin-bottom:24px}.hero-pills{display:flex;gap:20px;flex-wrap:wrap;font-size:12px;color:#5d6c5d}.hero-pills>span{display:flex;gap:6px;align-items:center}.hero-art{height:330px;position:relative;overflow:hidden;isolation:isolate}.grain-art{position:absolute;width:100%;height:100%;left:0;bottom:-12px}.art-orbit{border:1px solid #e4e6d8;position:absolute;border-radius:50%;z-index:-1}.orbit-one{width:280px;height:280px;top:22px;left:calc(50% - 140px)}.orbit-two{width:338px;height:338px;top:-7px;left:calc(50% - 169px);border-style:dashed}.art-sun{position:absolute;width:105px;height:105px;top:15px;right:56px;background:#eee6cb;border-radius:50%;z-index:-1}.art-caption{font-size:8px;letter-spacing:2px;color:#8c937f;position:absolute;right:0;top:100px;writing-mode:vertical-rl}.art-label{position:absolute;bottom:11px;right:20px;display:flex;gap:8px;align-items:center;font-size:11px;border:1px solid #e4e4d5;background:var(--paper);border-radius:30px;padding:9px 15px;transform:rotate(-6deg)}.section-heading{display:flex;justify-content:space-between;align-items:end;margin:34px 0 20px;gap:16px}.section-heading h2{font-size:26px;margin:8px 0 0;letter-spacing:.5px}.section-heading .eyebrow{font-size:9px;letter-spacing:2px;color:#92967e}.section-heading>p,.section-heading>span{font-size:12px;color:var(--muted);margin:0 0 3px}.practice-layout{display:grid;grid-template-columns:minmax(0,1fr) 274px;gap:24px}.practice-panel{background:var(--paper);border:1px solid var(--line);padding:26px;border-radius:var(--radius)}.filter-row{display:grid;grid-template-columns:1.1fr 1fr 1.2fr;gap:16px}.filter-label{display:flex;flex-direction:column;gap:9px;font-size:11px;color:#7b8475}.filter-label select,.exam-count select{border:1px solid #e1e5d9;border-radius:9px;background:#fbfbf6;color:#465344;padding:0 12px;max-width:100%;width:100%;font-size:13px;min-height:43px}.pool-count{font-size:11px;color:#929786;margin:15px 0 22px}.pool-count strong{font-size:13px;color:var(--green);padding:0 3px}.pool-count span{margin-left:7px}.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.mode-card{position:relative;border:1px solid #e6e6dc;border-radius:16px;padding:23px 22px 20px;display:flex;flex-direction:column;align-items:flex-start;background:#fdfcf7}.mode-card.recommended{border-color:#d9e1ce;background:#f1f5eb}.mode-icon{width:49px;height:49px;display:inline-flex;align-items:center;justify-content:center;background:#e0ead5;color:var(--green);border-radius:15px}.mode-icon.amber{background:#f4e9d2;color:#a1823b}.recommend{position:absolute;right:16px;top:21px;font-size:10px;color:#69815c;border:1px solid #d7e1cb;border-radius:20px;padding:4px 9px}.mode-card h3{margin:18px 0 9px;font-size:23px}.mode-card p{font-size:12px;color:#7c8675;margin-bottom:22px;line-height:1.9}.mode-card .btn{width:100%}.mode-card.recommended .btn{margin-top:auto}.mode-card small{font-size:10px;color:#8a927f;align-self:center;margin-top:11px}.btn{border:1px solid transparent;border-radius:10px;padding:12px 22px;min-height:49px;display:inline-flex;align-items:center;justify-content:center;gap:15px;text-decoration:none;font-size:14px;font-weight:550;transition:background .15s,transform .15s}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn.dark{background:var(--green);color:#fffefa}.btn.dark:hover:not(:disabled){background:#183d2e}.btn.outline{border-color:#cfd7c6;background:transparent;color:var(--green)}.btn.outline:hover:not(:disabled){background:#eaf0e3}.btn.small{font-size:12px;min-height:42px;padding:9px 15px;gap:8px}.exam-count{display:flex;align-items:center;width:100%;gap:10px;font-size:11px;white-space:nowrap;color:#7c8675;margin-top:auto;margin-bottom:12px}.exam-count select{min-height:36px;font-size:12px;flex:1}.growth-panel{background:#ecf0e4;border:1px solid #dfe6d4;border-radius:var(--radius);padding:25px 23px;position:relative;overflow:hidden}.growth-head{display:flex;align-items:center;gap:10px}.growth-head h3{font-size:16px;margin:0}.mode-icon.light{width:35px;height:35px;border-radius:50%;background:#e0e9d4}.growth-panel>p{font-size:12px;color:#7b866e;line-height:1.9;margin:18px 0 25px}.today-number{font-size:54px;line-height:1.25;letter-spacing:-1px;font-weight:650}.today-number>span{font-size:12px;font-weight:400;letter-spacing:0;margin-left:9px;color:#7d886e}.muted{color:var(--muted);font-size:13px}.growth-panel>.muted{font-size:11px;margin-top:3px}.growth-line{display:flex;justify-content:space-between;font-size:10px;color:#7e896f;margin:28px 0 9px}.growth-line strong{font-weight:500;color:var(--green)}.progress{height:5px;border-radius:8px;background:#dbe3d0;overflow:hidden}.progress i{display:block;height:100%;background:#789065;border-radius:8px;transition:width .3s}.mini-stats{display:flex;border-top:1px solid #d9e1cd;margin-top:25px;padding-top:23px}.mini-stats>div{flex:1;display:flex;flex-direction:column;gap:6px}.mini-stats>div+div{border-left:1px solid #d9e1cd;padding-left:25px}.mini-stats strong{font-size:23px;font-weight:600}.mini-stats span{font-size:10px;color:#8a927c}.text-button{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;padding:6px 0;font-size:13px;color:var(--green);text-decoration:none;min-height:38px}.growth-panel .text-button{margin-top:19px;font-size:11px;gap:15px}.source-note{font-size:12px;color:#8a907f;margin-top:28px;border-top:1px solid var(--line);padding-top:18px}.source-note summary{cursor:pointer;min-height:30px}.source-note p{font-size:12px;max-width:900px;margin:10px 0 0;line-height:1.9}footer{border-top:1px solid var(--line);text-align:center;padding:23px 20px 27px;font-size:11px;letter-spacing:.5px;color:#929887}footer>span{padding:0 8px}footer small{display:block;margin-top:8px;color:#a3a898;font-size:10px}.resume-banner{display:flex;align-items:center;gap:15px;background:#fff9e9;border:1px solid #ebdfbc;border-radius:15px;padding:16px 20px;margin:10px 0 22px}.resume-banner>svg{color:#a28b4e}.resume-banner>div{flex:1}.resume-banner strong,.resume-banner span{display:block}.resume-banner strong{font-size:13px;font-weight:550}.resume-banner span{font-size:11px;color:#9c926f;margin-top:4px}.empty-hint{font-size:13px;color:var(--orange);margin:20px 0 0}.storage-warning{max-width:1180px;margin:16px auto 0;background:#fff0dc;border:1px solid #e0ba8f;padding:12px 20px;border-radius:10px;font-size:13px}.storage-warning[hidden]{display:none}.loading{min-height:100vh;display:grid;place-items:center;color:var(--green)}
.quiz-main{max-width:956px;margin:auto;padding:24px 28px 56px;min-height:calc(100vh - 185px)}.quiz-topline{display:flex;justify-content:space-between;align-items:center;color:#8a9381}.quiz-topline>div{display:flex;align-items:center;gap:7px;font-size:12px;font-variant-numeric:tabular-nums}.quiz-topline .text-button{font-size:12px;color:#7c8874}.quiz-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0 25px}.quiz-title h2{font-size:26px;margin:9px 0 0;display:flex;align-items:center;gap:17px}.quiz-title h2>span{font-size:12px;color:#8a927f;font-weight:400}.quiz-title .eyebrow{font-size:9px;letter-spacing:1.5px}.quiz-progress-label{display:flex;justify-content:space-between;font-size:12px;color:#7c8874;margin-bottom:11px}.quiz-progress-label>strong{font-weight:500;color:var(--green)}.quiz-progress{height:5px;background:#e4e8dc;margin-bottom:22px}.quiz-progress i{background:#799567}.question-card{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:32px 38px 14px;box-shadow:0 7px 24px #263b2904}.question-meta{display:flex;align-items:center;gap:13px;font-size:11px;flex-wrap:wrap;color:#84907c}.topic-badge{background:#edf2e7;padding:6px 10px;border-radius:6px;color:#627c53}.difficulty{color:#c5a35d;font-size:12px;letter-spacing:2px}.question-code{margin-left:auto;color:#9a9f8e}.question-card h1{font-size:25px;font-weight:550;line-height:1.85;margin:24px 0 9px;overflow-wrap:anywhere;outline:none}.question-instruction{font-size:12px;color:#9b9f90;line-height:1.8;margin-bottom:26px}.options{display:grid;gap:13px}.option{display:flex;width:100%;align-items:center;gap:16px;text-align:left;padding:15px 18px;min-height:69px;border:1px solid #e2e7da;border-radius:12px;background:#fcfcf7;line-height:1.7;font-size:16px;transition:background .12s,border-color .12s}.option:not(:disabled):hover{background:#f0f4e9;border-color:#becbb1}.option-key{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9px;background:#eeefe7;font-size:14px;color:#8c937f;flex-shrink:0}.option>span:nth-child(2){flex:1;overflow-wrap:anywhere}.option-indicator{display:flex;justify-content:center;align-items:center;flex-shrink:0;width:23px;min-height:23px}.option.selected{border-color:#789268;background:#edf3e5}.option.selected .option-key{background:#5f8051;color:white}.option.correct{border-color:#759c6c;background:#edf4e7}.option.correct .option-key{background:#628753;color:white}.option.correct .option-indicator{color:#638656}.option.incorrect{border-color:#d29b78;background:#fff5ed}.option.incorrect .option-key{background:#ca926e;color:white}.option.incorrect .option-indicator{color:#ba7b57}.question-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:26px 0 24px}.question-bottom>span{display:flex;gap:6px;align-items:center;font-size:11px;color:#a2a68f}.question-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.question-source{border-top:1px solid #edf0e4;padding-top:12px;color:#9aa08f;font-size:10px}.question-source summary{cursor:pointer;min-height:26px}.question-source p{margin:5px 0 10px;line-height:1.8}.quiz-tip{text-align:center;font-size:11px;color:#9ba18e;margin:20px 0 0}.answer-input-label{display:block;font-size:13px;color:#7c8874;margin-bottom:12px}textarea{width:100%;padding:17px 18px;border:1px solid #dce3d2;border-radius:12px;background:#fbfcf6;font-size:17px;line-height:1.8;color:var(--ink);resize:vertical;min-height:130px}textarea::placeholder{color:#abb39f;font-size:14px}textarea:disabled{color:#7a8470;opacity:1;-webkit-text-fill-color:#7a8470}.feedback{background:#eff5e9;border:1px solid #dce7d1;border-radius:14px;margin:23px 0 0;padding:22px 24px;animation:appear .2s ease}.feedback.needs-work{background:#fff6ed;border-color:#edd9c8}.feedback-title{font-size:16px;font-weight:600;display:flex;align-items:center;gap:9px;margin-bottom:15px}.feedback.needs-work .feedback-title{color:#a77954}.reference-answer{font-size:14px;line-height:1.8;margin:12px 0;overflow-wrap:anywhere;color:#52734b}.reference-answer strong{font-weight:600}.explanation{font-size:14px;line-height:1.95;color:#7a866e;overflow-wrap:anywhere;margin-bottom:0}.self-grade{display:flex;justify-content:flex-end;gap:12px;margin-top:20px;flex-wrap:wrap}.feedback small{display:block;font-size:10px;color:#9aa28f;margin-top:11px;text-align:right}.results-main{max-width:900px;margin:auto;padding:38px 28px 60px}.results-hero{text-align:center;background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:32px}.result-icon{display:inline-flex;width:80px;height:80px;align-items:center;justify-content:center;border-radius:50%;color:#ab8941;background:#f5ecd4;margin-bottom:22px}.results-hero .eyebrow{justify-content:center;font-size:9px}.results-hero h1{font-size:28px;margin:16px 0 12px}.results-hero>p{font-size:12px;color:#8b9380}.score{font-size:68px;font-weight:650;color:var(--green);margin:20px 0 14px;line-height:1.3}.score>span{font-size:13px;display:block;font-weight:400;color:#8b937d;margin:7px 0}.result-stats{display:flex;justify-content:center;gap:27px;font-size:13px;color:#7c8873;margin:23px 0}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px}.dot.green{background:#799463}.dot.orange{background:#c68d62}.result-actions{display:flex;justify-content:center;gap:14px;margin-top:24px}.review-list{display:grid;gap:18px}.review-card{border:1px solid var(--line);background:var(--paper);border-radius:17px;padding:25px 28px}.review-card h3{font-size:18px;font-weight:500;line-height:1.9;margin:19px 0;overflow-wrap:anywhere}.review-card .explanation{font-size:13px}.review-card .muted{font-size:12px}.review-options{background:#f5f6ef;border-radius:10px;padding:12px 16px;margin-bottom:20px}.review-options p{margin:3px 0;font-size:13px;line-height:1.8}.pending-label{font-size:10px;background:#fff1d5;color:#a2854d;padding:5px 10px;border-radius:20px;margin-left:auto}.all-good{text-align:center;padding:44px 20px 10px;color:#869279}.all-good h3{font-size:18px;margin:15px 0 8px}.all-good p{font-size:12px}.collection-main{max-width:1248px;min-height:calc(100vh - 220px);margin:auto;padding:48px 34px 60px}.collection-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin:15px 0 32px}.collection-heading h1{font-size:32px;line-height:1.6;margin:16px 0 10px}.collection-heading p{font-size:13px;color:#86917c;margin-bottom:0}.collection-heading .btn{flex-shrink:0}.wrong-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.wrong-card{background:var(--paper);border:1px solid var(--line);border-radius:17px;padding:24px;display:flex;flex-direction:column}.wrong-card h3{font-size:17px;line-height:1.9;font-weight:500;margin:18px 0 14px;overflow-wrap:anywhere}.wrong-card-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:16px}.wrong-card-bottom small{font-size:10px;color:#9ca18e}.wrong-card-bottom .text-button{font-size:11px}.empty-state{text-align:center;padding:70px 28px;max-width:800px;margin:auto;color:#839275}.empty-state h2{font-size:22px;margin:24px 0 12px}.empty-state p{font-size:13px;color:#9a9f8b}.empty-state .btn{margin-top:15px}.history-list{display:grid;gap:15px}.history-card{background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:22px 28px;display:flex;align-items:center;gap:20px}.history-icon{width:48px;height:48px;border-radius:14px;background:#eef2e7;display:flex;align-items:center;justify-content:center;color:#7c9068}.history-card h3{font-size:17px;margin-bottom:8px}.history-card p{margin:0;font-size:12px;color:#9b9f8e}.history-score{margin-left:auto;font-size:30px;font-weight:550;color:#55784a;white-space:nowrap}.history-score>span{font-size:11px;margin-left:4px;font-weight:400}.history-score>small{display:block;font-size:10px;font-weight:400;margin-top:5px;color:#9ba18d}.center{text-align:center;margin-top:25px}dialog{border:1px solid var(--line);border-radius:22px;max-width:460px;width:calc(100% - 36px);padding:0;color:var(--ink);box-shadow:0 20px 100px #14271930;background:var(--paper)}dialog::backdrop{background:#132b2059;backdrop-filter:blur(3px)}.dialog-content{padding:30px}.dialog-content h2{font-size:22px;margin:22px 0 13px}.dialog-content p{font-size:14px;color:#859079;line-height:1.9}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:26px}
.oral-answer{display:flex;align-items:center;gap:16px;padding:24px;border:1px dashed #d4dfc7;border-radius:13px;background:#f5f8ef;color:#6c825b}.oral-answer strong{font-size:16px;font-weight:550}.oral-answer p{font-size:12px;color:#929c84;margin:7px 0 0;line-height:1.8}
@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(min-width:1500px){.home-main{padding-top:10px}.hero{min-height:410px}.hero h1{font-size:51px}.section-heading{margin-top:42px}}
@media(max-width:1100px){.header-tag{display:none}.practice-layout{grid-template-columns:minmax(0,1fr) 245px;gap:18px}.practice-panel{padding:22px}.filter-row{gap:10px}.mode-card{padding:20px 17px}.hero{gap:10px}.hero h1{font-size:40px}.hero-pills{gap:12px}.growth-panel{padding:24px 20px}.growth-head h3{font-size:14px}.recommend{font-size:9px;right:12px}}
@media(max-width:850px){.header-inner{padding:15px 25px;min-height:84px}.header-inner nav{gap:5px}.nav-item{padding:0 11px;font-size:12px}.home-main{padding:0 25px 45px}.hero{grid-template-columns:1.1fr .9fr;min-height:350px;padding-top:20px}.hero h1{font-size:35px}.hero-art{height:290px}.hero-pills{gap:11px;font-size:10px}.hero-copy>p{font-size:12px}.art-sun{right:20px;width:90px;height:90px}.art-caption{display:none}.art-label{right:0;bottom:4px;font-size:9px}.practice-layout{grid-template-columns:1fr}.growth-panel{display:grid;grid-template-columns:1.2fr 1fr 1fr;column-gap:25px;align-items:center;padding:22px 24px}.growth-head{grid-column:1;grid-row:1}.growth-panel>p{grid-column:1;grid-row:2/4;margin:11px 0 0;font-size:11px}.today-number{grid-column:2;grid-row:1/3;font-size:40px}.growth-panel>.muted{grid-column:2;grid-row:3}.growth-line{grid-column:3;grid-row:1;margin:0 0 9px}.growth-panel>.progress{grid-column:3;grid-row:2;align-self:start}.mini-stats{grid-column:3;grid-row:3;margin:0;padding:0;border:0;gap:20px}.mini-stats>div+div{padding-left:15px}.mini-stats strong{font-size:18px}.mini-stats span{font-size:9px}.growth-panel .text-button{grid-column:1/4;grid-row:4;border-top:1px solid #d9e1cd;margin-top:18px;padding-top:14px;justify-content:center;min-height:25px}.collection-heading{align-items:flex-start;flex-direction:column}.collection-heading h1{font-size:28px}.quiz-title h2{font-size:24px}.question-card{padding:28px 30px 14px}.question-card h1{font-size:24px}.quiz-title h2>span{display:none}.hero .eyebrow{font-size:9px;letter-spacing:1px}}
@media(max-width:600px){.header-inner{padding:13px 17px;min-height:76px;gap:8px;flex-wrap:wrap}.brand>span{font-size:21px}.brand small{font-size:8px;letter-spacing:1px}.brand img{width:35px;height:35px}.brand{gap:8px}.header-inner nav{gap:0}.nav-item{padding:0 9px;min-height:42px;border-radius:10px;font-size:11px;gap:4px}.nav-item svg{display:none}.nav-item b{font-size:8px;padding:1px 4px}.home-main{padding:0 17px 35px}.hero{grid-template-columns:1fr .7fr;min-height:285px;gap:0;padding-top:19px}.hero h1{font-size:29px;letter-spacing:0;line-height:1.5;margin:13px 0}.hero .eyebrow{font-size:8px;letter-spacing:0;white-space:nowrap}.hero .eyebrow>span{width:5px;height:5px}.hero-copy>p{font-size:11px;line-height:1.9;margin-bottom:14px;white-space:nowrap}.hero-art{height:232px;align-self:center;margin-right:-10px}.grain-art{width:142%;max-width:none;left:-24%;height:100%;bottom:-3px}.orbit-one{width:150px;height:150px;top:47px;left:calc(50% - 75px)}.orbit-two{width:190px;height:190px;top:27px;left:calc(50% - 95px)}.art-sun{width:58px;height:58px;right:7px;top:33px}.art-label{font-size:8px;padding:7px 9px;right:4px;bottom:17px;gap:5px}.art-label svg{width:12px}.hero-pills{gap:7px;max-width:205px;font-size:9px;line-height:1.9}.hero-pills>span{gap:4px}.hero-pills svg{width:12px}.section-heading{margin:22px 0 16px}.section-heading h2{font-size:23px}.section-heading>p{font-size:10px}.section-heading .eyebrow{font-size:8px}.practice-panel{padding:17px;border-radius:18px}.filter-row{gap:9px;grid-template-columns:1fr 1fr}.filter-label:last-child{grid-column:1/3;display:grid;grid-template-columns:80px 1fr;align-items:center;margin-top:3px}.filter-label{font-size:10px;gap:7px}.filter-label select{font-size:12px;min-height:42px;padding:0 9px}.pool-count{margin:13px 0 17px;font-size:10px}.mode-grid{gap:11px}.mode-card{padding:17px 13px 15px;border-radius:13px}.mode-card h3{font-size:20px;margin:15px 0 9px}.mode-icon{width:41px;height:41px;border-radius:12px}.mode-icon svg{width:23px;height:23px}.recommend{right:10px;top:23px;padding:3px 5px;font-size:8px}.mode-card p{font-size:10px;margin-bottom:18px;white-space:nowrap}.btn{font-size:13px;min-height:49px;padding:12px 15px;gap:10px}.mode-card .btn{font-size:12px;padding:11px 8px;gap:7px;min-height:46px}.mode-card small{font-size:8px;margin-top:9px;white-space:normal;text-align:center}.exam-count{font-size:9px;gap:6px;flex-wrap:wrap;margin-bottom:10px}.exam-count select{font-size:10px;padding:0 6px;width:auto;min-height:33px}.growth-panel{grid-template-columns:1.1fr .75fr;column-gap:16px;padding:20px}.growth-head{grid-row:1;grid-column:1}.growth-head h3{font-size:14px}.growth-panel>p{grid-row:2/4;grid-column:1;margin:12px 0}.today-number{grid-row:1/3;grid-column:2;text-align:right}.growth-panel>.muted{grid-row:3;grid-column:2;text-align:right}.growth-line{grid-row:4;grid-column:1/3;margin:18px 0 10px}.growth-panel>.progress{grid-row:5;grid-column:1/3}.mini-stats{grid-row:6;grid-column:1/3;border-top:1px solid #d9e1cd;padding-top:17px;margin-top:19px;gap:0}.mini-stats strong{font-size:23px}.mini-stats span{font-size:10px}.mini-stats>div{align-items:center}.growth-panel .text-button{grid-row:7;grid-column:1/3;margin-top:14px;padding-top:11px}.source-note{margin-top:20px;font-size:11px}.source-note p{font-size:11px}.resume-banner{padding:13px;gap:10px;margin:2px 0 20px}.resume-banner>svg{display:none}.resume-banner strong{font-size:12px}.resume-banner span{font-size:10px}.resume-banner .btn{font-size:11px;padding:8px 11px}.quiz-main{padding:17px 14px 35px}.quiz-title{margin:20px 0;gap:10px}.quiz-title h2{font-size:23px}.quiz-title .eyebrow{font-size:7px;letter-spacing:1px}.quiz-title>.btn{font-size:10px;padding:9px 10px}.quiz-progress-label{font-size:11px}.question-card{padding:23px 20px 10px;border-radius:17px}.question-meta{gap:10px;font-size:10px}.topic-badge{padding:5px 8px}.question-code{font-size:9px}.difficulty{font-size:10px;letter-spacing:1px}.question-card h1{font-size:22px;line-height:1.85;margin:21px 0 11px}.question-instruction{font-size:11px;margin-bottom:20px}.option{font-size:16px;min-height:67px;padding:13px 14px;gap:12px}.option-key{width:29px;height:29px;font-size:13px}.option-indicator{width:18px}.options{gap:12px}.question-bottom{padding:21px 0 19px;display:block}.question-bottom>span{display:none}.question-actions{justify-content:flex-end}.question-actions>.btn.dark{flex:1}.question-actions>.btn.outline{min-height:49px;font-size:12px;padding:12px 16px}.feedback{padding:18px;margin-top:20px}.feedback-title{font-size:14px;line-height:1.7}.reference-answer{font-size:14px}.explanation{font-size:13px;line-height:1.95}.self-grade{gap:10px}.self-grade .btn{flex:1;min-height:46px}.feedback small{text-align:left;font-size:10px}.quiz-tip{font-size:10px;line-height:1.9;padding:0 8px}.results-main{padding:25px 16px 40px}.results-hero{padding:27px 20px;border-radius:20px}.results-hero h1{font-size:23px;line-height:1.65}.results-hero .eyebrow{font-size:7px;letter-spacing:1px}.result-icon{height:66px;width:66px}.result-stats{font-size:11px;gap:13px;flex-wrap:wrap}.score{font-size:56px}.result-actions{gap:10px}.result-actions .btn{font-size:12px;padding:12px 16px}.results-main .section-heading h2{font-size:18px;line-height:1.8}.review-card{padding:21px}.review-card h3{font-size:17px}.review-card .question-meta{gap:9px}.collection-main{padding:27px 17px 40px}.collection-heading{margin:13px 0 25px;gap:20px}.collection-heading h1{font-size:25px;line-height:1.8;margin:14px 0 10px}.collection-heading .eyebrow{font-size:8px;letter-spacing:1px}.collection-heading p{font-size:12px;line-height:1.9}.wrong-grid{grid-template-columns:1fr;gap:14px}.wrong-card{padding:21px}.wrong-card h3{font-size:17px}.history-card{padding:18px;gap:14px}.history-icon{width:38px;height:38px;border-radius:11px;flex-shrink:0}.history-card h3{font-size:15px}.history-card p{font-size:10px;line-height:1.8}.history-score{font-size:25px}.history-score small{font-size:8px}.empty-state{padding:50px 10px}.empty-state h2{font-size:20px;line-height:1.8}.empty-state p{font-size:12px}.dialog-content{padding:27px}.dialog-content h2{font-size:21px}.dialog-content p{font-size:13px}.dialog-actions .btn{font-size:12px;padding:12px 15px}.storage-warning{margin:12px 16px 0;font-size:12px}footer{font-size:9px;line-height:1.8;padding:20px 15px}footer small{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Fixed-position confirmation works on iPads without HTMLDialogElement. */
.confirm-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:rgba(19,43,32,.45);padding:18px;overflow:auto}.confirm-panel{border:1px solid #e2e5d9;border-radius:22px;max-width:460px;width:100%;padding:0;color:#283e31;box-shadow:0 20px 100px rgba(20,39,25,.19);background:#fdfcf8;max-height:90vh;overflow:auto}
