:root{--bg:#f5f6f3;--paper:#fff;--ink:#202c2a;--muted:#78817a;--green:#244f42;--deep:#183d35;--lime:#d7ecb8;--line:#e3e7df;--soft:#eef3e9;--red:#b84d45;--amber:#a8752a;--radius:20px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif;font-size:14px;line-height:1.65}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}button:disabled{cursor:default;opacity:.45}a{color:var(--green);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9dbb7e;outline-offset:3px}button,a{touch-action:manipulation}svg{width:21px;height:21px;flex-shrink:0;vertical-align:middle}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.4;letter-spacing:-1px;font-weight:650}h2{font-size:20px;font-weight:650}h3{font-size:16px;font-weight:650}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:2.5px;font-weight:700;text-transform:uppercase}.shell{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:32px 20px;position:fixed;inset:0 auto 0 0;width:232px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 32px}.brand-mark{width:39px;height:43px;border-radius:12px;background:var(--deep);color:var(--lime);display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:21px}.brand-mark svg{width:26px;height:26px}.brand strong{font-size:17px;display:block}.brand small{font-size:10px;letter-spacing:2px;color:var(--muted)}.nav-label{font-size:10px;letter-spacing:1.6px;color:#9ba299;padding:14px 15px 9px}.nav{display:flex;flex-direction:column;gap:7px}.nav button{display:flex;align-items:center;gap:12px;background:transparent;color:#707b72;padding:12px 15px;border-radius:11px;text-align:left;width:100%;font-size:14px}.nav button.active{background:var(--soft);color:var(--green);font-weight:650}.nav button:hover{background:#f3f5f0}.nav .count{margin-left:auto;background:#e7ebe2;border-radius:7px;font-size:11px;padding:0 6px}.side-footer{margin-top:auto;padding:24px 11px 0}.side-note{border-top:1px solid var(--line);padding-top:20px;font-size:11px;color:var(--muted);line-height:1.9}.online-dot{display:inline-block;width:6px;height:6px;border-radius:100%;background:#6e9672;margin-right:6px}.main-wrap{grid-column:2;min-width:0}.topbar{height:80px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;gap:12px}.breadcrumb{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:9px}.breadcrumb b{font-weight:500;color:var(--ink)}.top-actions{display:flex;align-items:center;gap:16px}.local-badge{font-size:11px;color:#788578;display:flex;align-items:center;gap:6px}.local-badge svg{width:15px}.avatar{background:#e7eddf;color:var(--green);width:33px;height:33px;display:grid;place-items:center;border-radius:50%;font-size:12px}.main{max-width:1350px;margin:auto;padding:34px 42px 48px}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:26px}.page-head p{color:var(--muted);margin-top:7px;font-size:13px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 18px;border-radius:10px;background:var(--green);color:#fff;font-weight:550;white-space:nowrap}.button:hover{filter:brightness(1.08)}.button.light{background:#fff;color:var(--ink);border:1px solid var(--line)}.button.soft{background:var(--soft);color:var(--green)}.button.lime{background:var(--lime);color:var(--deep)}.button.danger{background:#f9eae6;color:var(--red)}.button.small{font-size:12px;min-height:34px;padding:6px 12px}.button svg{width:16px;height:16px}.hero{border-radius:var(--radius);background:var(--deep);color:#fff;display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:20px;position:relative;overflow:hidden;padding:32px 35px;margin-bottom:23px;min-height:237px}.hero .eyebrow{color:#b9cfaa;margin-bottom:14px}.hero h2{font-size:28px;letter-spacing:.3px;font-weight:550;line-height:1.5}.hero p{color:#c3d3c8;max-width:510px;font-size:12px;margin:10px 0 23px}.hero-bottom{display:flex;gap:18px;align-items:center}.hero-bottom span{font-size:11px;color:#bacbc1}.hero-art{align-self:center;justify-self:center;position:relative;width:174px;height:174px;display:grid;place-items:center;border:1px solid #456258;border-radius:50%;background:radial-gradient(circle,#2c5749,transparent 70%)}.hero-art:before{content:'';position:absolute;inset:13px;border:1px dashed #729070;border-radius:50%;opacity:.6}.hero-art:after{content:'';position:absolute;width:9px;height:9px;border-radius:50%;background:#d7ecb8;top:12px;right:24px;box-shadow:-142px 88px 0 -1px #9ab88a}.hero-art svg{width:78px;height:78px;color:#d7ecb8;stroke-width:1.2}.hero-art .art-caption{position:absolute;bottom:-14px;border:1px solid #4c6a54;background:#254b3e;border-radius:8px;padding:4px 12px;color:#b9d7a5;font-size:10px;letter-spacing:2px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:0 0 30px}.stat{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:18px 20px;position:relative}.stat .label{font-size:12px;color:var(--muted);display:flex;align-items:center;justify-content:space-between}.stat .label svg{width:17px;color:#90a18b}.stat .value{font-size:29px;font-weight:600;line-height:1.3;margin-top:9px;letter-spacing:-1px}.stat .value small{font-size:12px;color:#9aa194;margin-left:5px;font-weight:400;letter-spacing:0}.stat .foot{font-size:10px;color:#8b9588;margin-top:4px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:26px 0 14px;gap:12px}.section-title h2{font-size:17px}.section-title small{color:var(--muted)}.text-btn{background:transparent;color:var(--green);font-size:12px;padding:0;display:inline-flex;align-items:center;gap:5px}.text-btn svg{width:14px}.mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.mode-card{text-align:left;border:1px solid var(--line);border-radius:16px;padding:22px;background:#fff;position:relative;transition:transform .15s,border-color .15s;color:var(--ink)}.mode-card:hover{transform:translateY(-3px);border-color:#a8b99d}.mode-card .mode-icon{width:41px;height:41px;display:grid;place-items:center;border-radius:11px;background:#f0f4eb;color:var(--green);margin-bottom:15px}.mode-card .mode-icon.amber{background:#faf1e1;color:#ab8643}.mode-card .mode-icon.blue{background:#edf1f6;color:#6c87a5}.mode-card p{font-size:11px;color:var(--muted);margin-top:6px}.mode-card .arrow{position:absolute;right:19px;top:24px;color:#a1aa9c}.bottom-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(245px,1fr);gap:23px;margin-top:3px}.panel{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}.chapter-row{display:flex;align-items:center;padding:15px 20px;gap:13px;border-bottom:1px solid #eef0eb}.chapter-row:last-child{border:0}.chapter-num{font-size:11px;color:#a6b39d;border:1px solid #e5eade;background:#f9faf7;width:29px;height:29px;border-radius:8px;display:grid;place-items:center}.chapter-info{flex:1;min-width:0}.chapter-info strong{font-size:12px;font-weight:550}.chapter-info small{display:block;font-size:10px;color:#929b8e;margin-top:3px}.bar{height:4px;border-radius:10px;background:#eef1e9;overflow:hidden}.bar i{display:block;background:#8aa36d;height:100%;border-radius:10px}.chapter-progress{width:75px;color:#9ba592;font-size:10px;text-align:right}.chapter-progress .bar{margin-top:4px}.chapter-row>button{background:transparent;color:#929e8b;padding:7px}.chapter-row>button svg{width:16px}.notice-panel{padding:21px}.notice-panel .eyebrow{font-size:10px;color:#97a58b;letter-spacing:1.8px;margin-bottom:14px}.notice-panel h3{font-size:15px}.notice-panel p{font-size:11px;color:var(--muted);line-height:1.9;margin:10px 0 15px}.exam-meta{display:flex;justify-content:space-between;margin:17px 0 20px;border-top:1px solid var(--line);padding-top:15px}.exam-meta strong{font-size:19px;display:block;font-weight:550}.exam-meta small{font-size:10px;color:var(--muted)}.mini-note{background:#f3f5ed;border-radius:11px;padding:13px 15px;color:#7c896e;font-size:11px;line-height:1.8}.footer{color:#9ca493;font-size:10px;text-align:center;margin-top:30px}.filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;margin-bottom:22px}.filters select,.filters input{background:#f8f9f5;border:1px solid #e5e9df;border-radius:8px;padding:9px 11px;color:var(--ink);min-width:150px;max-width:100%}.filters input{flex:1;min-width:180px}.filter-label{font-size:12px;color:var(--muted)}.quiz-grid{display:grid;grid-template-columns:minmax(0,1fr) 238px;gap:22px;align-items:start}.quiz-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px}.question-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:21px}.tags{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.tag{display:inline-flex;padding:3px 9px;border-radius:6px;font-size:10px;background:var(--soft);color:var(--green);white-space:nowrap}.tag.gray{background:#f4f5f2;color:#8d9587}.tag.amber{background:#fcf3e1;color:#a27837}.tag.red{background:#fbece7;color:var(--red)}.star-btn{background:transparent;color:#99a18c;display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:11px;padding:8px}.star-btn.on{color:#b48a38}.star-btn.on svg{fill:#f6e5ae}.stem{font-size:21px;line-height:1.8;font-weight:550;white-space:pre-wrap;margin-bottom:10px;overflow-wrap:anywhere}.question-hint{font-size:11px;color:#9ca491;margin-bottom:23px}.options{display:flex;flex-direction:column;gap:12px}.option{width:100%;display:flex;align-items:center;text-align:left;gap:13px;background:#fff;border:1px solid #e2e7dc;border-radius:11px;color:var(--ink);padding:15px 17px;min-height:57px;line-height:1.6;opacity:1!important;overflow-wrap:anywhere}.option:not(:disabled):hover{background:#f7f9f3;border-color:#b1c19f}.option .letter{font-size:12px;border:1px solid #e3e8db;color:#8c9a81;width:27px;height:27px;flex-shrink:0;border-radius:7px;display:grid;place-items:center}.option.selected{border-color:#708e59;background:#f3f7ec}.option.selected .letter{background:var(--green);border-color:var(--green);color:white}.option.right{border-color:#81a56e;background:#f1f7e9}.option.wrong{border-color:#d6998c;background:#fff4ef}.option.wrong .letter{background:#b96758;color:white;border-color:#b96758}.option>svg{margin-left:auto;width:17px;color:#789567}.option.wrong>svg{color:var(--red)}.quiz-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:26px;padding-top:22px;border-top:1px solid var(--line)}.actions-right{display:flex;gap:8px}.feedback{border-radius:12px;background:#f3f7ee;border:1px solid #dce7d1;padding:19px;margin-top:23px}.feedback.bad{background:#fff8f3;border-color:#f0dfd4}.feedback>strong{display:flex;align-items:center;gap:7px;font-size:14px;color:var(--green)}.feedback.bad>strong{color:var(--red)}.feedback p{font-size:12px;color:#6c7962;margin-top:9px;line-height:1.85}.feedback .answer-line{font-size:13px;font-weight:600;color:#3b5435}.source-details{margin-top:15px;border-top:1px solid #dfe6d7;padding-top:12px}.source-details summary{font-size:11px;color:var(--green);cursor:pointer}.source-text{white-space:pre-wrap;font-size:11px;color:#788270;margin:11px 0;max-height:250px;overflow:auto;line-height:1.9}.quiz-aside{position:sticky;top:20px}.aside-heading{padding:18px 17px 12px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.number-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;padding:0 16px 17px;max-height:390px;overflow:auto}.number-grid button{height:30px;min-width:0;padding:0;background:#f5f6f1;border:1px solid transparent;border-radius:6px;color:#8a9580;font-size:10px}.number-grid button.current{outline:2px solid var(--green);outline-offset:1px}.number-grid button.answered{background:#dfe9d3;color:#4e6c3c}.number-grid button.bad{background:#f9e4dc;color:#aa6e5c}.legend{padding:10px 17px 15px;color:#8e9985;display:flex;gap:12px;font-size:10px}.legend i{display:inline-block;width:7px;height:7px;background:#dfe9d3;margin-right:4px;border-radius:2px}.legend i.bad{background:#f9e4dc}.timer{font-variant-numeric:tabular-nums;font-size:24px;letter-spacing:2px;line-height:1.2;color:var(--green);font-weight:550}.timer.low{color:var(--red)}.exam-banner{padding:16px 18px;margin-bottom:16px;background:#fff;border:1px solid var(--line);border-radius:14px;display:flex;justify-content:space-between;gap:10px;align-items:center}.resume{padding:14px 18px;display:flex;align-items:center;gap:15px;border:1px solid #c6d5b4;background:#edf3e7;border-radius:13px;margin-bottom:22px;font-size:12px}.resume p{flex:1}.resume strong{color:var(--green)}.empty{padding:65px 24px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:18px}.empty>svg{width:40px;height:40px;color:#9aab8a;margin-bottom:12px}.empty p{color:var(--muted);font-size:12px;margin:9px 0 23px}.question-list{display:flex;flex-direction:column;gap:10px}.list-row{background:#fff;border:1px solid var(--line);border-radius:13px;padding:17px 20px;text-align:left;display:flex;align-items:center;gap:17px;color:var(--ink);width:100%}.list-row:hover{border-color:#b0bea2}.list-row>div{flex:1}.list-row p{font-size:13px;margin:8px 0 4px;line-height:1.7}.list-row small{color:#929d86;font-size:10px}.list-row>svg{color:#a9b49e;width:16px}.result-hero{text-align:center;background:var(--deep);color:white;border-radius:18px;padding:35px;margin-bottom:22px}.result-score{font-size:65px;font-weight:550;letter-spacing:-3px;line-height:1.3;margin:10px}.result-score small{font-size:17px;color:#aac49c;letter-spacing:0}.result-hero p{font-size:12px;color:#bed0b5}.result-hero .button{margin-top:20px}.review-tabs{display:flex;gap:8px;margin:15px 0 20px;flex-wrap:wrap}.review-tabs button{border:1px solid var(--line);background:white;padding:8px 15px;border-radius:9px;color:var(--muted);font-size:12px}.review-tabs button.active{color:var(--green);border-color:#a8b995;background:var(--soft)}.settings-panel{padding:25px}.settings-row{display:flex;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid var(--line);align-items:center}.settings-row:last-child{border-bottom:0}.settings-row p{font-size:12px;color:var(--muted);margin-top:4px}.settings-row strong{font-size:14px}.notes{list-style:none;padding:0;margin:0;counter-reset:notes}.notes li{padding:18px 0 18px 35px;position:relative;border-bottom:1px solid var(--line);font-size:13px;color:#687761}.notes li:before{counter-increment:notes;content:counter(notes,decimal-leading-zero);position:absolute;left:0;color:#a4b396;font-size:11px;top:21px}.notes li:last-child{border-bottom:0}.pagination{display:flex;gap:15px;justify-content:center;align-items:center;margin-top:22px;font-size:12px;color:var(--muted)}#toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%) translateY(10px);padding:11px 20px;background:#263d32;color:#fff;z-index:30;border-radius:10px;box-shadow:0 8px 30px #152d2920;font-size:12px;pointer-events:none;opacity:0;transition:opacity .2s,transform .2s;max-width:90vw}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}dialog{border:1px solid var(--line);border-radius:20px;padding:27px;max-width:500px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 30px 80px #153b3426}dialog::backdrop{background:#1c332c66;backdrop-filter:blur(3px)}dialog h2{font-size:21px;margin-bottom:13px}dialog p{font-size:13px;color:var(--muted);line-height:1.9;margin:10px 0}dialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}dialog input{max-width:100%;width:100%;border:1px solid var(--line);padding:10px;border-radius:8px}.loading{min-height:80vh;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:18px;color:var(--muted)}.mobile-head{display:none}.wide-btn{width:100%}.divider-label{font-size:11px;color:#9aa58e;margin-top:20px}.bank-summary{font-size:12px;color:var(--muted);margin:-4px 0 18px}.history-item{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--line);font-size:12px}.history-item p{font-size:10px;color:var(--muted);margin-top:3px}.history-score{font-size:21px;color:var(--green)}
@media(min-width:1450px){.main{padding-top:42px}.hero{min-height:260px;padding:38px}.mode-card{padding:26px}.stat{padding:20px 24px}}
@media(max-width:1150px){.sidebar{width:202px;padding:28px 14px}.shell{grid-template-columns:202px minmax(0,1fr)}.main{padding:28px}.topbar{padding:0 28px}.hero{grid-template-columns:minmax(0,1fr) 170px;padding:28px}.hero-art{width:140px;height:140px}.hero h2{font-size:24px}.bottom-grid{grid-template-columns:minmax(0,1.4fr) minmax(230px,1fr)}.quiz-grid{grid-template-columns:minmax(0,1fr) 200px}.quiz-card{padding:23px}.stat{padding:16px}.chapter-progress{width:58px}.hero-bottom span{display:none}.number-grid{gap:5px;padding:0 12px 14px}}
@media(max-width:900px){.sidebar{width:80px;padding:24px 10px}.shell{grid-template-columns:80px minmax(0,1fr)}.brand{padding:0 9px 25px}.brand>div,.nav-label,.nav button>span,.side-footer{display:none}.nav button{justify-content:center;padding:14px}.nav button .count{display:none}.bottom-grid{grid-template-columns:1fr}.notice-panel{display:grid;grid-template-columns:1fr 1fr;gap:15px}.notice-panel .mini-note{align-self:center}.stats{gap:9px}.quiz-grid{grid-template-columns:1fr}.quiz-aside{position:static}.number-grid{grid-template-columns:repeat(10,1fr);max-height:170px}.quiz-aside .mini-note{margin-bottom:15px!important}.hero-art{width:130px;height:130px}.mode-grid{gap:10px}.mode-card{padding:18px}.topbar{height:67px}.local-badge{display:none}}
@media(max-width:600px){h1{font-size:25px}.shell{display:block;padding-bottom:72px}.sidebar{width:100%;height:65px;inset:auto 0 0;flex-direction:row;padding:5px 4px;border:0;border-top:1px solid var(--line)}.sidebar .brand,.sidebar .nav-label{display:none}.sidebar nav{width:100%;display:flex;justify-content:space-around;gap:0}.sidebar .nav button{display:flex;flex-direction:column;gap:3px;padding:6px 4px;flex:1;border-radius:9px;font-size:9px}.sidebar .nav button>span{display:block;font-size:9px}.sidebar .nav button[data-act="bank"],.sidebar .nav button[data-act="info"]{display:none}.sidebar .nav svg{width:20px;height:20px}.main{padding:24px 18px}.topbar{padding:0 18px;height:58px}.breadcrumb{font-size:11px}.top-actions{gap:10px}.top-actions .button{font-size:11px;padding:6px 11px;min-height:33px}.avatar{width:29px;height:29px;font-size:10px}.hero{grid-template-columns:1fr;padding:26px 24px;min-height:218px}.hero-art{display:none}.hero h2{font-size:25px}.hero p{font-size:11px;max-width:90%}.hero .eyebrow{font-size:9px;margin-bottom:11px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:24px}.stat{padding:15px 17px}.stat .value{font-size:27px}.mode-grid{grid-template-columns:1fr;gap:10px}.mode-card{padding:18px 18px 18px 76px;min-height:90px}.mode-card .mode-icon{position:absolute;left:19px;top:24px;margin:0}.mode-card .arrow{top:34px}.mode-card p{font-size:10px;margin-right:10px}.mode-card h3{font-size:15px}.notice-panel{display:block}.chapter-row{padding:13px 15px;gap:10px}.chapter-info strong{font-size:11px}.chapter-progress{width:57px}.chapter-row>button{padding:5px}.page-head{gap:8px;margin-bottom:21px;align-items:flex-start}.page-head p{font-size:11px}.page-head>.button{font-size:10px;padding:7px 10px;min-height:35px}.quiz-card{padding:21px 17px}.stem{font-size:18px}.question-meta{gap:4px}.star-btn{padding:6px 0;font-size:10px}.star-btn svg{width:17px}.option{padding:13px 12px;font-size:13px;gap:10px}.question-hint{font-size:10px}.tags{gap:4px}.tag{font-size:9px;padding:2px 6px}.quiz-actions{gap:7px}.quiz-actions .button{font-size:11px;padding:8px 12px;min-height:39px}.filters{padding:10px;gap:7px}.filters select{flex:1;min-width:110px;font-size:12px}.filters input{width:100%;font-size:12px}.number-grid{grid-template-columns:repeat(8,1fr)}.resume{gap:8px;align-items:flex-start;padding:12px}.resume p{font-size:11px}.resume>.button{font-size:10px;padding:6px 9px}.list-row{padding:14px;gap:10px}.list-row p{font-size:12px}.settings-panel{padding:20px}.settings-row{flex-wrap:wrap;gap:12px}.settings-row p{font-size:11px}.notes li{font-size:12px}.footer{font-size:9px}.result-hero{padding:28px 18px}.exam-banner{padding:13px;font-size:11px}.timer{font-size:22px}.notice-panel .wide-btn{margin-bottom:15px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:600px){.sidebar nav{flex-direction:row}.page-head>.tag{display:none}}
