@charset "UTF-8";
:root{--bg:#f7f8f5;--paper:#fff;--ink:#253b35;--muted:#718079;--line:#e8ece6;--orange:#e86c35;--orange-dark:#bd4919;--soft-orange:#fff0e6;--green:#356b52;--green-light:#eef5eb;--purple:#8170b6;--blue:#4a9198;--red:#b8473e;--radius:18px;--text:16px}
*{box-sizing:border-box}body{margin:0;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:var(--ink);background:var(--bg);font-size:var(--text);line-height:1.65}body.large{--text:19px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button{color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #db8c35;outline-offset:4px}button svg,a svg{pointer-events:none}svg.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex-shrink:0}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;background:#fff;border-right:1px solid var(--line);padding:34px 23px 20px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:12px;align-items:center;font-size:23px;letter-spacing:.5px;font-weight:750;white-space:nowrap}.brand small{display:block;font-size:11px;color:var(--muted);font-weight:400;letter-spacing:2px;margin-top:1px}.brand-icon{width:45px;height:45px;display:grid;place-items:center;color:white;background:var(--orange);border-radius:14px}.brand-icon svg{width:30px;height:30px;stroke-width:1.8}.side-label{color:#8b9790;font-size:11px;letter-spacing:2px;margin:46px 14px 14px}.main-nav{display:flex;flex-direction:column;gap:8px}.main-nav a{display:flex;align-items:center;gap:14px;min-height:50px;padding:9px 14px;border-radius:9px;color:#62716a;font-size:15px}.main-nav a:hover{background:#f6f7f3}.main-nav a.active{background:var(--soft-orange);color:#ca5729;font-weight:650}.nav-count{margin-left:auto;font-size:11px;line-height:22px;min-width:24px;text-align:center;border-radius:5px;background:#f1f3ee;color:#69776f;padding:0 5px}.active .nav-count{background:#ffe1cc;color:#bd5328}.nav-divider{height:1px;background:var(--line);margin:12px 14px}.side-bottom{margin-top:auto;padding-top:30px}.side-tip{padding:19px 17px;background:#f5f7f0;border-radius:12px}.side-tip>span{color:#7b946a}.side-tip strong{display:block;font-size:12px;margin:8px 0}.side-tip p{font-size:12px;color:#879080;line-height:1.9;margin:0}.help-link{display:flex;align-items:center;gap:8px;font-size:12px;color:#69776e;margin:22px 5px 0}.help-link svg{width:18px}.help-link>span:last-child{margin-left:auto}.version-label{color:#a1aaa4;font-size:10px;margin:14px 6px 0}.workspace{margin-left:246px}.topbar{height:85px;padding:0 40px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);gap:20px}.breadcrumb{display:flex;gap:16px;font-size:12px;color:#8b958f}.breadcrumb strong{font-weight:500;color:#41554a}.top-tools{display:flex;align-items:center;gap:17px}.tool-button{border:0;background:transparent;display:flex;align-items:center;gap:8px;font-size:12px;min-height:44px;padding:4px;color:#68796e}.tool-button[aria-pressed=true]{color:var(--orange-dark)}.font-icon{font-family:Georgia,serif;font-size:20px}.font-icon span{font-family:inherit;font-size:10px;vertical-align:top;margin-left:2px}.tool-divider{height:18px;width:1px;background:var(--line)}.avatar{display:grid;place-items:center;border:1px solid #ebded1;background:#fbf2e9;color:#ad8f72;border-radius:50%;height:36px;width:36px;margin-left:8px}main{max-width:1440px;margin:auto;padding:32px 40px 24px;min-height:calc(100vh - 148px)}main:focus{outline:none}.welcome-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:16px}h1,h2,h3,p{margin-top:0}h1{font-size:28px;letter-spacing:1px;line-height:1.4;margin-bottom:8px;font-weight:700}h2{font-size:19px;letter-spacing:.2px;line-height:1.5;margin-bottom:16px}h3{font-size:17px;margin-bottom:9px}p.muted,.muted{color:var(--muted)}.welcome-row p{font-size:13px;margin:0;color:var(--muted)}.date-label{font-size:12px;color:#8b958d;display:flex;align-items:center;gap:7px}.date-label svg{width:17px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}.hero{background:#eef2e7;border:1px solid #e4ead9;border-radius:20px;position:relative;overflow:hidden;padding:31px 30px;min-height:238px;display:flex;align-items:center}.hero-copy{position:relative;z-index:2;width:66%}.eyebrow{display:inline-flex;gap:7px;align-items:center;font-size:11px;font-weight:600;letter-spacing:.6px;color:#64814f;background:#ffffff95;padding:3px 10px;border-radius:5px;margin-bottom:15px}.eyebrow:before{content:"";width:5px;height:5px;background:#7e9e61;border-radius:50%}.hero h2{font-size:29px;line-height:1.5;letter-spacing:1.5px;margin:0 0 9px;color:#344d34}.hero p{font-size:12px;line-height:1.9;color:#7c8b72;margin:0 0 20px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.btn{border:1px solid transparent;border-radius:9px;min-height:46px;padding:10px 18px;display:inline-flex;justify-content:center;align-items:center;gap:9px;background:var(--orange);color:#fff;font-weight:600;font-size:14px;line-height:1.4}.btn:hover{background:#d85e2b}.btn svg{width:17px}.btn.secondary{background:#fff;color:#4c6051;border-color:#dfe6d8}.btn.secondary:hover{background:#f6f8f2}.btn.ghost{background:transparent;color:var(--green);border-color:#d8e1d3}.btn.danger{background:var(--red)}.btn.full{width:100%}.btn.small{min-height:40px;font-size:12px;padding:8px 12px}.hero-art{position:absolute;width:270px;height:230px;right:-15px;bottom:-2px;opacity:.95}.stats-row{display:grid;grid-template-columns:repeat(3,1fr);background:white;border:1px solid var(--line);border-radius:14px;padding:22px 0;margin:20px 0 27px}.stat{display:flex;align-items:center;justify-content:center;gap:15px;border-right:1px solid var(--line)}.stat:last-child{border:0}.stat-icon{color:#8b9b7b;background:#f1f5ec;padding:10px;border-radius:11px;display:grid;place-items:center}.stat:nth-child(2) .stat-icon{color:#c9a56c;background:#fbf4e8}.stat:nth-child(3) .stat-icon{color:#7c9eaa;background:#eef4f6}.stat strong{font-size:25px;line-height:1.2;font-weight:650}.stat strong small{font-size:11px;margin-left:4px;font-weight:400;color:#8b968e}.stat p{font-size:11px;color:#8b968e;margin:4px 0 0}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 15px;gap:15px}.section-heading h2{margin:0}.section-heading small{font-size:11px;color:#8a978e}.section-link{border:0;background:transparent;color:#7b8980;font-size:12px;min-height:40px;display:inline-flex;align-items:center;gap:7px}.section-link:hover{color:var(--orange-dark)}.section-link svg{width:15px}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.category-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px 20px 0;overflow:hidden;transition:transform .2s,border-color .2s}.category-card:hover{transform:translateY(-3px);border-color:#cdd7ca}.category-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.category-icon{width:45px;height:45px;display:grid;place-items:center;border-radius:12px;background:#f2edf9;color:#8d79bd}.category-icon svg{width:26px;height:26px}.category-card.judgment .category-icon{background:#eaf4ef;color:#55997f}.category-card.reaction .category-icon{background:#fff3e5;color:#d7a55c}.question-count{font-size:11px;color:#98a198}.category-card h3{font-size:18px;margin:0 0 4px}.category-desc{font-size:11px;color:#8a968d;line-height:1.8;min-height:40px;margin-bottom:15px}.progress-track{height:4px;background:#f0f2ed;border-radius:8px;overflow:hidden}.progress-track span{display:block;height:100%;background:#ab99d0;border-radius:8px}.judgment .progress-track span{background:#7bb49d}.reaction .progress-track span{background:#e4bc7b}.progress-caption{display:flex;justify-content:space-between;font-size:10px;color:#95a092;margin:6px 0 17px}.category-start{margin:0 -20px;width:calc(100% + 40px);border:0;border-top:1px solid #f1f2ee;background:#fff;min-height:48px;color:#5c7161;font-size:12px;display:flex;justify-content:center;align-items:center;gap:7px}.category-start:hover{background:#f8f9f5}.category-start svg{width:15px}.learning-note{display:flex;gap:12px;padding:17px 19px;background:#f0f3eb;border:1px solid #e4eadf;border-radius:11px;margin-top:22px;color:#7d8a72;align-items:center}.learning-note svg{width:20px;flex-shrink:0}.learning-note p{font-size:11px;line-height:1.8;margin:0}.learning-note strong{font-weight:600;color:#627655}.exam-promo{border:1px solid #eedcc6;background:#fffaf2;border-radius:17px;padding:23px 23px 20px}.promo-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.promo-top>span{background:#f8e6ca;color:#bc8c47;border-radius:9px;width:37px;height:37px;display:grid;place-items:center}.pill{display:inline-flex;align-items:center;gap:5px;font-size:10px;background:#f9ecd7;color:#b28c53;border-radius:4px;padding:3px 7px}.exam-promo h2{margin-bottom:5px;font-size:20px}.exam-promo>p{font-size:11px;color:#95856e;margin-bottom:22px}.exam-numbers{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;margin:0 -7px 20px}.exam-numbers strong{font-size:25px;font-family:Arial,sans-serif;color:#6a5942;display:block;line-height:1.2}.exam-numbers small{display:block;font-size:10px;color:#a2937d;margin-top:7px}.exam-numbers>div{border-right:1px solid #ebdfcd}.exam-numbers>div:last-child{border:0}.exam-promo .btn{width:100%;background:#e76e37;font-size:13px}.promo-foot{font-size:10px;text-align:center;color:#ac9981;margin:11px 0 0}.guide-card{margin-top:20px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:23px}.guide-card h3{font-size:15px;margin-bottom:20px}.guide-step{display:flex;gap:11px;margin:0 0 21px;position:relative}.guide-step:last-child{margin:0}.step-number{display:grid;place-items:center;background:#f2f5ec;color:#8a9a75;font-size:10px;width:22px;height:22px;flex-shrink:0;border-radius:50%;margin-top:2px}.guide-step strong{font-size:12px;font-weight:500}.guide-step p{font-size:10px;line-height:1.8;color:#909b92;margin:4px 0 0}.recent-block{margin-top:27px}.recent-list{border:1px solid var(--line);background:#fff;border-radius:13px;overflow:hidden}.recent-item{display:flex;align-items:center;gap:12px;padding:16px 19px;border-bottom:1px solid var(--line);font-size:12px}.recent-item:last-child{border-bottom:0}.recent-item .result-badge{margin-left:auto}.recent-item p{margin:0;font-size:11px;color:var(--muted)}.empty-inline{text-align:center;color:#98a393;font-size:12px;padding:24px}.site-footer{max-width:1440px;padding:15px 40px 22px;margin:auto;display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#98a296}.site-footer a:hover{color:var(--orange)}.resume-banner{padding:15px 20px;margin:0 0 20px;border:1px solid #e8bd91;border-radius:12px;background:#fff5e8;display:flex;gap:15px;align-items:center;justify-content:space-between;font-size:14px}.page-intro{margin-bottom:25px}.page-intro p{font-size:14px;color:var(--muted);margin:0}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px}.filter-row{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-bottom:21px}.tabs{display:flex;gap:6px;padding:4px;background:#edf0e9;border-radius:10px;flex-wrap:wrap}.tab{border:0;background:transparent;padding:9px 16px;min-height:44px;font-size:14px;border-radius:7px;color:#69796c}.tab.active{background:#fff;color:var(--green);box-shadow:0 2px 5px #243c3410;font-weight:600}.search-field{margin-left:auto;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dde4d9;border-radius:10px;padding:0 12px;min-height:48px}.search-field input{width:210px;border:0;outline:0;padding:8px 0;min-width:0;background:transparent}.search-field:focus-within{outline:2px solid #d98c50}.bank-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px;font-size:13px;color:var(--muted)}.bank-list{display:grid;gap:12px}.bank-item{background:#fff;border:1px solid var(--line);border-radius:13px;padding:20px 23px;display:flex;gap:18px;align-items:center}.bank-item-content{flex:1}.bank-item h3{font-size:16px;font-weight:500;line-height:1.7;margin:9px 0 0}.tags{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.tag{font-size:11px;display:inline-flex;align-items:center;padding:2px 8px;border-radius:5px;color:#6d7b6d;background:#f0f3ec}.tag.memory{color:#8066a9;background:#f2edf8}.tag.judgment{color:#4b826b;background:#eaf4ed}.tag.reaction{color:#b48444;background:#fff2e0}.pagination{display:flex;justify-content:center;gap:14px;align-items:center;margin:24px 0;font-size:14px}.empty-state{text-align:center;padding:54px 25px;background:#fff;border:1px solid var(--line);border-radius:16px}.empty-state .big-icon{width:64px;height:64px;display:grid;place-items:center;margin:0 auto 20px;border-radius:50%;color:#89a07b;background:#eef4e9}.big-icon svg{width:30px;height:30px}.empty-state p{color:var(--muted);font-size:14px}.exam-intro-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:25px}.exam-welcome{background:#eef2e7;padding:38px;border-radius:19px;border:1px solid #dfe6d7}.exam-welcome h2{font-size:26px}.exam-welcome>p{font-size:15px;color:#718063}.rule-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:30px 0}.rule-grid strong{display:block;font-size:29px;color:#416047}.rule-grid small{font-size:12px;color:#78896c}.check-list{list-style:none;padding:0;margin:0}.check-list li{position:relative;padding-left:30px;margin-bottom:20px;font-size:15px}.check-list li:before{content:"✓";position:absolute;left:0;color:#6f9265;font-weight:bold}.check-list small{display:block;color:var(--muted);font-size:12px;margin-top:6px}.source-note{font-size:12px;color:#89927e;line-height:1.8;margin:22px 0 0}.source-note a{text-decoration:underline;text-underline-offset:3px}.question-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:23px;align-items:start}.question-card{background:white;border:1px solid var(--line);border-radius:18px;padding:29px}.question-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:25px}.question-header .tag{font-size:12px}.icon-button{background:#fff;border:1px solid var(--line);border-radius:8px;width:44px;height:44px;display:inline-grid;place-items:center;flex-shrink:0}.icon-button.active{color:#c87930;background:#fff4e4;border-color:#f0cba0}.question-title{font-size:23px;font-weight:550;line-height:1.9;white-space:pre-line;word-break:break-word;margin-bottom:24px}.question-count-label{font-size:14px;color:#82907f}.question-count-label strong{font-size:23px;color:#415a44}.option-list{display:grid;gap:13px}.option{padding:16px 18px;min-height:62px;background:#fff;border:1.5px solid #e0e6dc;border-radius:11px;display:flex;align-items:center;gap:15px;text-align:left;width:100%;font-size:19px;color:#3e5143}.option:hover:not(:disabled){background:#f8faf3;border-color:#adbfa0}.option.selected{background:#fff6ec;border-color:#dc9d63;color:#ae591f}.option.correct{background:#edf6ed;border-color:#7bab73;color:#346b38}.option.incorrect{background:#fff0ee;border-color:#ce938b;color:#aa4438}.option:disabled{opacity:1}.option-letter{display:grid;place-items:center;border:1px solid #dce3d5;border-radius:6px;min-width:31px;height:31px;font-family:Arial,sans-serif;font-size:14px;color:#7e8d79}.selected .option-letter{background:#e78645;color:#fff;border-color:#e78645}.correct .option-letter{background:#709d69;color:#fff;border-color:#709d69}.incorrect .option-letter{background:#bd695c;color:#fff;border-color:#bd695c}.option-label{flex:1;white-space:pre-line}.option-status{font-size:12px}.question-actions{display:flex;justify-content:space-between;gap:10px;margin-top:28px;flex-wrap:wrap}.question-actions .btn{min-width:100px}.feedback{padding:20px;background:#f0f6ed;border:1px solid #dce9d5;border-radius:12px;margin:22px 0 0}.feedback.wrong{background:#fdf3ed;border-color:#f0d8c8}.feedback strong{display:block;margin-bottom:7px}.feedback p{margin:0;font-size:16px;line-height:1.9;color:#62765b}.feedback.wrong p{color:#816b58}.memory-box{border:1px dashed #b3a0d3;background:#f6f2fb;padding:23px;border-radius:12px;text-align:center;margin-bottom:24px}.memory-box h3{color:#7a669f;font-size:15px;font-weight:500}.memory-box .stimulus{font-size:26px;letter-spacing:2px;color:#5b477b;font-weight:600;line-height:1.9;white-space:pre-line}.memory-box p{font-size:12px;color:#927eac;margin:12px 0 0}.memory-hidden{padding:13px 17px;background:#f3f4ef;color:#7a8973;border-radius:9px;margin-bottom:19px;font-size:13px}.answer-card{padding:23px;background:#fff;border:1px solid var(--line);border-radius:16px;position:sticky;top:20px}.timer{display:flex;gap:9px;align-items:center;justify-content:center;border-radius:9px;background:#f9f3e9;color:#a17132;padding:12px;margin-bottom:22px;font-size:25px;font-variant-numeric:tabular-nums}.timer.urgent{background:#fff0ed;color:#b64a38}.answer-card h3{font-size:15px}.answer-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;max-height:340px;overflow:auto;padding:3px}.answer-dot{aspect-ratio:1;min-height:35px;border:1px solid #e1e6dc;background:#f6f8f2;color:#85917c;border-radius:6px;font-size:12px;display:grid;place-items:center}.answer-dot.answered{background:#dcead7;color:#547749;border-color:#c4d9bd}.answer-dot.current{outline:2px solid #db8a40;outline-offset:1px}.answer-dot.incorrect{background:#fae8e1;color:#b36449;border-color:#efccbd}.answer-dot.correct{background:#e3f0de;color:#518149}.answer-legend{font-size:11px;color:#84927e;margin:16px 0 20px;line-height:1.8}.session-hint{font-size:12px;color:#8b9585;line-height:1.9;margin:18px 0 0}.score-card{background:#eef3e8;border:1px solid #e0e8d6;border-radius:19px;display:flex;align-items:center;gap:35px;padding:30px 38px;margin-bottom:25px}.score-circle{border:8px solid #c2d3b7;border-radius:50%;width:135px;height:135px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#43693d;flex-shrink:0}.score-circle strong{font-size:42px;line-height:1.3}.score-circle small{font-size:12px}.score-copy{flex:1}.score-copy h2{font-size:25px;margin-bottom:9px}.score-copy p{font-size:14px;color:#79876f;margin-bottom:13px}.score-detail{display:flex;gap:19px;font-size:13px;flex-wrap:wrap}.score-actions{display:flex;flex-direction:column;gap:10px}.result-badge{font-size:11px;padding:3px 8px;background:#eef4e7;color:#6c8756;border-radius:5px}.result-badge.fail{background:#fbede0;color:#b58046}.review-card{padding:23px;border:1px solid var(--line);border-radius:13px;background:#fff;margin-bottom:14px}.review-card h3{font-size:17px;line-height:1.8;margin:12px 0}.review-card .review-answer{display:flex;gap:23px;flex-wrap:wrap;font-size:14px;margin:12px 0}.review-card .explanation{background:#f5f7f0;padding:14px 17px;border-radius:9px;font-size:14px;color:#6d7e63;line-height:1.9}.review-stimulus{padding:13px;background:#f7f3fa;color:#8b75a4;border-radius:8px;font-size:15px;margin-top:12px;white-space:pre-line}.history-list{display:grid;gap:13px}.history-row{padding:21px 24px;border:1px solid var(--line);border-radius:13px;background:#fff;display:flex;align-items:center;gap:24px}.history-score{font-size:30px;color:#6f8e60;min-width:68px}.history-score small{font-size:11px}.history-row h3{font-size:16px;margin:0 0 4px}.history-row p{font-size:12px;color:var(--muted);margin:0}.history-row .btn{margin-left:auto}.help-content{max-width:900px}.help-content h2{margin-top:28px}.help-content h2:first-child{margin-top:0}.help-content p,.help-content li{font-size:16px;line-height:2}.help-content a{color:#b7602e;text-decoration:underline;text-underline-offset:3px}.help-content ul{padding-left:23px}.help-content .fine-print{font-size:13px;color:#7d8974}.toast{position:fixed;bottom:28px;left:calc(50% + 110px);transform:translateX(-50%);background:#2e483c;color:#fff;padding:12px 22px;border-radius:10px;font-size:14px;max-width:min(80vw,550px);box-shadow:0 10px 30px #1e302425;z-index:60}.toast[hidden]{display:none}dialog{border:1px solid #e2e7dc;border-radius:20px;padding:30px;max-width:460px;width:calc(100% - 36px);color:var(--ink);box-shadow:0 25px 100px #1c2c3335}dialog::backdrop{background:#20312865;backdrop-filter:blur(3px)}dialog h2{font-size:22px}dialog p{color:var(--muted);line-height:1.9;font-size:15px}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:25px}.skip-link{position:fixed;top:-80px;left:15px;padding:12px;background:#fff;z-index:90}.skip-link:focus{top:10px}.noscript{position:fixed;inset:0;background:white;z-index:90;padding:80px;font-size:28px}.large .question-title{font-size:28px}.large .option{font-size:23px}.large .main-nav a{font-size:18px}.large .hero p,.large .category-desc,.large .welcome-row p,.large .guide-step p,.large .learning-note p{font-size:15px}.large .btn,.large .tab,.large .bank-item h3,.large .feedback p{font-size:18px}.large .bank-item{align-items:flex-start}.large .hero{min-height:270px}.large .category-card{padding-left:15px;padding-right:15px}.large .category-start{margin-left:-15px;width:calc(100% + 30px);font-size:16px}.large .category-desc{min-height:60px}.large .section-heading small{font-size:13px}.large .help-content p,.large .help-content li,.large .explanation{font-size:19px}.load-warning{padding:20px;background:#fff0e6;border-radius:10px}
@media(min-width:1550px){main{padding-top:40px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 310px;gap:28px}.hero{min-height:260px}.hero-art{width:310px;height:250px}.hero h2{font-size:34px}.category-card{padding-top:25px}.category-desc{font-size:13px}.guide-step p{font-size:12px}.exam-promo>p{font-size:12px}.stat p{font-size:13px}.stat strong{font-size:29px}.hero p{font-size:14px}}
@media(max-width:1200px){.sidebar{width:215px;padding-left:18px;padding-right:18px}.workspace{margin-left:215px}.brand{font-size:20px}.brand small{font-size:10px}.topbar{padding:0 27px}main{padding:28px 27px 20px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 240px;gap:18px}.hero{padding:25px}.hero h2{font-size:25px}.hero-art{right:-38px;width:230px}.hero-copy{width:75%}.category-grid{gap:10px}.category-card{padding-left:14px;padding-right:14px}.category-start{margin-left:-14px;width:calc(100% + 28px)}.category-desc{min-height:42px}.exam-promo,.guide-card{padding:20px}.stat{gap:10px}.stat-icon{padding:7px}.stat strong{font-size:23px}.question-layout{grid-template-columns:minmax(0,1fr) 220px}.question-card{padding:24px}.site-footer{padding-left:27px;padding-right:27px}}
@media(max-width:1050px){.sidebar{width:190px;padding-left:12px;padding-right:12px}.workspace{margin-left:190px}.brand{font-size:19px;gap:8px}.brand-icon{width:38px;height:38px}.brand small{font-size:8px}.main-nav a{font-size:14px;gap:10px;padding-left:13px}.dashboard-grid{grid-template-columns:1fr}.dashboard-aside{display:grid;grid-template-columns:1fr 1fr;gap:18px}.guide-card{margin:0}.hero-art{right:8px;width:275px}.hero-copy{width:66%}.hero h2{font-size:29px}.hero p{font-size:14px}.category-desc{font-size:13px}.hero{min-height:240px}.question-layout{grid-template-columns:1fr}.answer-card{position:static}.answer-grid{grid-template-columns:repeat(10,1fr);max-height:200px}.answer-dot{min-height:44px;aspect-ratio:auto}.timer{font-size:22px}.exam-intro-grid{grid-template-columns:1fr}.score-card{flex-wrap:wrap}.score-actions{flex-direction:row;width:100%}.toast{left:calc(50% + 85px)}}
@media(max-width:760px){.sidebar{position:static;width:100%;padding:17px 20px 0;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:21px;align-self:flex-start;margin-bottom:15px}.brand small{font-size:10px}.side-label,.side-bottom,.nav-divider{display:none}.main-nav{flex-direction:row;overflow:auto;gap:8px;padding-bottom:9px}.main-nav a{white-space:nowrap;padding:8px 12px;gap:6px;min-height:44px}.main-nav a svg{width:17px}.main-nav .nav-count{display:none}.workspace{margin:0}.topbar{height:64px;padding:0 20px}.desktop-only,.avatar{display:none}.top-tools{gap:9px}.tool-button{font-size:12px}.breadcrumb{font-size:12px}main{padding:22px 20px 15px}.welcome-row{margin-bottom:20px}.welcome-row h1{font-size:25px}.welcome-row p{font-size:12px}.date-label{display:none}.hero{padding:25px 22px;min-height:254px}.hero h2{font-size:26px}.hero-copy{width:82%}.hero p{font-size:12px;max-width:235px}.hero-art{width:190px;height:180px;right:-25px;opacity:.7}.hero-actions{gap:9px}.hero-actions .btn{font-size:12px;padding:10px 13px}.stats-row{padding:18px 0;margin-bottom:24px}.stat{gap:8px}.stat-icon{display:none}.stat strong{font-size:23px}.stat p{font-size:10px}.category-grid{grid-template-columns:1fr}.category-card{position:relative;padding:19px 20px 18px 85px;min-height:153px}.category-top{position:absolute;left:20px;top:22px;display:block;margin:0}.question-count{display:block;margin-top:10px;text-align:center}.category-card h3{font-size:19px}.category-desc{min-height:0;font-size:12px;margin-bottom:14px;padding-right:20px}.category-start{position:absolute;right:15px;bottom:15px;min-height:44px;padding:9px;border:0;background:transparent;width:auto;margin:0}.progress-track{max-width:calc(100% - 125px)}.progress-caption{max-width:calc(100% - 125px);margin-bottom:0}.section-heading small{font-size:10px}.dashboard-aside{grid-template-columns:1fr}.guide-card{display:none}.exam-promo{padding:24px}.exam-promo .promo-top{margin:0 0 10px}.exam-promo>p{font-size:12px}.exam-numbers strong{font-size:30px}.exam-numbers small{font-size:12px}.learning-note{margin-top:18px;padding:15px}.learning-note p{font-size:11px}.site-footer{padding:20px;flex-direction:column;text-align:center;font-size:10px}.filter-row{display:block}.tabs{margin-bottom:13px;justify-content:space-between}.tab{padding:8px 12px;font-size:13px}.search-field{width:100%;margin:0}.search-field input{width:100%}.bank-item{padding:18px;gap:10px;align-items:flex-start}.bank-item h3{font-size:16px}.bank-item>.btn{font-size:12px;min-width:61px;padding:8px;margin-top:25px}.bank-tools{align-items:flex-start;font-size:12px;gap:10px}.bank-tools .btn{padding:9px 12px;font-size:12px}.page-intro h1{font-size:25px}.page-intro p{font-size:13px}.question-card{padding:20px 17px;border-radius:13px}.question-title{font-size:21px;line-height:1.8}.question-header{margin-bottom:21px}.question-header>div{gap:5px}.question-layout{gap:15px}.option{font-size:18px;padding:14px 12px;gap:10px}.option-status{font-size:10px}.question-actions .btn{font-size:13px;min-width:0;padding:10px 14px}.answer-card{padding:20px 16px}.answer-grid{grid-template-columns:repeat(5,1fr)}.answer-dot{min-height:44px}.memory-box{padding:20px 15px}.memory-box .stimulus{font-size:23px;letter-spacing:1px}.exam-welcome{padding:25px}.exam-welcome h2{font-size:24px}.rule-grid{gap:9px}.rule-grid strong{font-size:25px}.rule-grid small{font-size:11px}.panel{padding:23px}.score-card{padding:25px;gap:20px}.score-circle{width:100px;height:100px;border-width:6px}.score-circle strong{font-size:34px}.score-copy h2{font-size:21px}.score-copy p{font-size:12px}.score-detail{font-size:12px;gap:12px}.score-actions .btn{flex:1;font-size:12px;padding:10px}.history-row{padding:18px;gap:15px;flex-wrap:wrap}.history-row .btn{font-size:12px}.history-row h3{font-size:14px}.history-score{font-size:26px;min-width:50px}.history-row p{font-size:11px}.toast{left:50%;bottom:20px;min-width:240px;text-align:center}.resume-banner{font-size:12px;padding:13px}.resume-banner .btn{font-size:11px;padding:9px 11px;white-space:nowrap}.large .category-card{padding-left:85px}.large .category-desc{min-height:0;padding-right:0}.large .category-start{width:auto;margin:0;font-size:14px}.large .hero-copy{width:100%}.large .hero-art{opacity:.2}.large .top-tools .tool-button{font-size:11px}.large .question-title{font-size:25px}.large .option{font-size:22px}.large .main-nav a{font-size:16px}.large .bank-item{flex-wrap:wrap}.large .bank-item .btn{margin-top:0}.large .question-actions .btn{font-size:15px}.large .score-card{display:block}.large .score-circle{margin:0 auto 20px}.large .score-actions{margin-top:18px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Large, reliable touch targets for all interactive learning controls. */
.btn.small,.section-link{min-height:44px}.answer-dot{min-width:44px;min-height:44px}.answer-grid{grid-template-columns:repeat(4,minmax(44px,1fr))}
@media(min-width:1051px) and (max-width:1200px){.answer-grid{grid-template-columns:repeat(3,minmax(44px,1fr))}}
@media(min-width:761px) and (max-width:1050px){.answer-grid{grid-template-columns:repeat(8,minmax(44px,1fr))}}
@media(max-width:760px){.answer-grid{grid-template-columns:repeat(5,minmax(44px,1fr))}}

/* Phone layouts keep every destination visible and respect narrow screens. */
@media(max-width:760px){
  .sidebar{padding:16px max(16px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left))}
  .brand{margin-bottom:15px}
  .main-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;overflow:visible;padding-bottom:14px}
  .main-nav a{justify-content:center;gap:6px;padding:9px 5px;min-height:48px;font-size:14px;white-space:normal}
  .main-nav a svg{width:19px;height:19px}
  .topbar{padding:0 16px;gap:10px;height:auto;min-height:64px;flex-wrap:wrap}
  .top-tools{gap:7px}.tool-button{min-height:48px}
  main{padding:23px 16px 16px}
  .welcome-row p,.hero p{font-size:14px;line-height:1.9}
  .hero-copy{width:100%}.hero-art{opacity:.42;right:-40px;width:165px;pointer-events:none}
  .hero p{max-width:100%}.hero-actions{max-width:100%;gap:10px}
  .hero-actions .btn{min-height:48px;font-size:14px;padding:11px 13px}
  .category-desc{font-size:14px;padding-right:0}.category-start{font-size:14px;min-height:48px}
  .question-count{font-size:12px}.progress-caption{font-size:12px}
  .category-card{min-height:172px}.stats-row{margin-top:17px}
  .learning-note p,.exam-promo>p,.promo-foot{font-size:13px}
  .section-heading small{font-size:12px}
  .btn,.btn.small{min-height:48px}.tab{min-height:48px;padding:9px 11px;font-size:14px}
  .search-field input{font-size:16px;min-height:48px}
  .question-header{flex-wrap:wrap;gap:12px}
  .question-header>div:last-child{margin-left:auto}
  .question-title{font-size:22px}.question-actions .btn{min-height:48px;font-size:15px}
  .option{min-height:64px;font-size:20px}.option-status{font-size:12px}
  .answer-grid{grid-template-columns:repeat(auto-fit,minmax(44px,1fr))}
  .answer-dot{min-width:44px;min-height:48px;font-size:14px}
  .answer-legend,.session-hint{font-size:13px}
  .section-heading{align-items:flex-start}.section-link{min-height:48px}
  .page-intro p,.bank-tools{font-size:14px}.bank-tools{flex-wrap:wrap}
  .tag{font-size:12px}.bank-item>.btn{min-height:48px;font-size:14px}
  .resume-banner{flex-wrap:wrap;font-size:14px}.resume-banner .btn{margin-left:auto;min-height:48px;font-size:14px}
  .history-row p{font-size:13px}.history-row .btn{font-size:14px}
  .review-card{padding:20px 16px}.review-card h3{font-size:19px}.review-card .explanation{font-size:16px}
  .site-footer{padding-bottom:max(22px,env(safe-area-inset-bottom))}
  .large .main-nav a{font-size:16px}.large .option{font-size:23px}
  dialog{padding:24px 20px}.dialog-actions{flex-wrap:wrap}
}
@media(max-width:360px){
  .main-nav a{font-size:13px;gap:3px;flex-direction:column;min-height:62px}.main-nav a svg{width:19px;height:19px}
  .large .main-nav a{font-size:14px}
  .topbar{gap:6px}.top-tools{gap:5px}.tool-divider{display:none}.tool-button{font-size:11px;gap:4px}
  .hero{padding:23px 18px}.hero h2{font-size:27px}.hero-actions .btn{width:100%}
  .category-card,.large .category-card{padding-left:74px;padding-right:14px}.category-top{left:15px}
  .category-start{right:7px;font-size:12px;padding:6px}.progress-track,.progress-caption{max-width:calc(100% - 105px)}
  .category-desc{font-size:13px}.large .category-desc{font-size:15px}
  .tabs{gap:2px}.tab{padding:8px;font-size:13px}.large .tab{font-size:15px}
  .bank-item{flex-wrap:wrap}.bank-item>.btn{margin:0 0 0 auto}
  .question-card{padding:20px 14px}.question-actions{gap:7px}.question-actions .btn{padding:10px 11px;font-size:14px}
  .large .question-actions .btn{font-size:15px}.score-card{padding:22px 18px}.score-actions{flex-wrap:wrap}
}

/* Difficulty choices and source references follow the existing reading layout. */
.difficulty-picker{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;margin:0 0 24px;border:1px solid var(--line);border-radius:14px;background:#fff}
.difficulty-picker strong,.bank-difficulty>strong{font-size:16px}
.difficulty-picker p{margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.7}
.difficulty-options{display:flex;flex-wrap:wrap;gap:8px}
.difficulty-options .tab{min-height:44px;white-space:normal;line-height:1.5}
.bank-difficulty{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:18px}
.difficulty-tag{background:#f0f3e9;color:#526446}
.bank-item-content{min-width:0;flex:1}
.bank-explanation{margin-top:10px;font-size:15px;line-height:1.9}
.bank-explanation summary{min-height:44px;padding:9px 0;cursor:pointer;color:#476c42;font-weight:600}
.bank-explanation p{margin:8px 0;overflow-wrap:anywhere}
.question-sources{margin-top:17px;padding-top:14px;border-top:1px solid var(--line);font-size:14px;line-height:1.8;overflow-wrap:anywhere}
.question-sources ul{margin:8px 0;padding-left:20px}
.question-sources li{margin-bottom:10px}
.question-sources a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;padding:7px 0;color:#476c42;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.question-sources p{margin:3px 0 0;white-space:pre-line}
.question-sources small{display:block;color:var(--muted);font-size:12px}
.question-title,.memory-box .stimulus,.review-stimulus,.bank-item h3,.review-card h3,.option-label,.explanation,.feedback p{white-space:pre-wrap;overflow-wrap:anywhere}
.question-card,.memory-box,.option-label{min-width:0;max-width:100%}
.memory-box .stimulus{line-height:1.9}
.large .difficulty-picker p,.large .question-sources,.large .bank-explanation{font-size:18px}
.large .question-sources small{font-size:15px}
@media(max-width:760px){
  .difficulty-picker{padding:17px 16px;gap:13px}
  .difficulty-picker p{font-size:14px}
  .difficulty-options{width:100%}
  .difficulty-options .tab{flex:1 1 125px;min-height:48px;padding:11px 10px;font-size:15px}
  .bank-difficulty{gap:10px}
  .bank-explanation{font-size:16px}.bank-explanation summary{min-height:48px}
  .question-sources{font-size:16px}.question-sources small{font-size:13px}
  .bank-item .tags{flex-wrap:wrap}
}

/* Reading content may grow with large type; its containers must grow with it. */
.workspace,main,.dashboard-grid>*,.question-layout>*,.score-copy,.question-header>*,.recent-item>div,.history-row>div,.difficulty-picker>div,.top-tools,.breadcrumb,.section-heading>div{min-width:0}
.btn,.tab,.section-link{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.tags{min-width:0;max-width:100%}.tag,.result-badge{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.section-heading,.question-header>div:last-child{flex-wrap:wrap}
.option{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;gap:12px}
.option-letter{align-self:start}.option-status{grid-column:2;overflow-wrap:anywhere}
.review-answer>span,.question-sources li,.question-sources a{min-width:0;max-width:100%;overflow-wrap:anywhere}
.visual-practice-links{display:flex;flex-wrap:wrap;gap:12px;margin:-8px 0 24px}
.visual-practice-links .btn{flex:1 1 220px;min-height:48px}
@media(max-width:760px){
  .topbar{height:auto;min-height:64px;padding:12px 16px;align-items:stretch;gap:8px}
  .breadcrumb{flex:1 1 100%;overflow-wrap:anywhere}
  .top-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}
  .top-tools .tool-divider,.top-tools .avatar{display:none}
  .top-tools .tool-button{width:100%;min-height:48px;justify-content:center;font-size:14px;white-space:normal}
  .large .top-tools .tool-button{font-size:17px}
  .large .main-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  .large .main-nav a{flex-direction:row;font-size:18px;min-height:48px}
  .category-card,.large .category-card{position:static;display:flex;flex-direction:column;gap:10px;padding:20px;min-height:0}
  .category-top{position:static;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0}
  .question-count{margin:0}.category-card h3{margin:0}
  .category-desc,.large .category-desc{min-height:0;margin:0;padding:0;font-size:16px}
  .large .category-desc{font-size:18px}
  .progress-track,.progress-caption{width:100%;max-width:none}
  .progress-caption{margin:0}
  .category-start,.large .category-start{position:static;width:100%;margin:4px 0 0;padding:12px;min-height:48px;border-top:1px solid var(--line);font-size:16px}
  .large .category-start{font-size:18px}
  .difficulty-picker>div,.bank-difficulty{width:100%}
  .large .difficulty-options{display:grid;grid-template-columns:minmax(0,1fr)}
  .large .difficulty-options .tab{width:100%;font-size:18px}
  .bank-tools{flex-direction:column;align-items:stretch}
  .bank-item,.large .bank-item{flex-direction:column;align-items:stretch;gap:14px}
  .bank-item>.btn,.large .bank-item>.btn{width:100%;margin:0;align-self:stretch}
  .question-header>div:last-child{max-width:100%;margin-left:0}
  .question-actions .btn{flex:1 1 150px;min-width:0;min-height:48px}
  .large .question-actions .btn{flex-basis:100%;font-size:18px}
  .answer-grid{grid-template-columns:repeat(auto-fit,minmax(48px,1fr))}
  .answer-dot{min-width:48px;min-height:48px}
  .large .answer-dot{font-size:18px}
  .score-card,.large .score-card{display:flex;flex-direction:column;align-items:stretch;gap:20px}
  .score-circle,.large .score-circle{align-self:center;margin:0 auto}
  .score-copy,.score-actions{width:100%}
  .score-actions,.large .score-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:0}
  .score-actions .btn{font-size:16px}.large .score-actions .btn{font-size:18px}
  .review-card .review-answer{flex-direction:column;gap:8px}
  .history-row{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
  .history-row .btn{width:100%;margin:0}
  .recent-item{flex-wrap:wrap}.recent-item>div{flex:1 1 150px}
  .recent-item .result-badge{margin-left:0}
  .large .stats-row{grid-template-columns:minmax(0,1fr);padding:8px 18px}
  .large .stat{justify-content:flex-start;border-right:0;border-bottom:1px solid var(--line);padding:12px 0}
  .large .stat:last-child{border-bottom:0}.large .stat p{font-size:17px}
  .large .stat strong{font-size:28px}.large .stat strong small{font-size:16px}
  .large .progress-caption,.large .question-count,.large .tag,.large .result-badge{font-size:15px}
  .large .rule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.large .rule-grid small{font-size:16px}
  .dialog-actions .btn{flex:1 1 140px;min-width:0}
}
@media(max-width:430px){
  .tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:6px}
  .tabs .tab{min-width:0;min-height:48px}.large .tabs .tab{font-size:18px}
  .visual-practice-links .btn{flex-basis:100%}
}
.exam-lock-note{margin:14px 0 0;padding:12px 14px;border-radius:10px;background:#f7f5ed;color:#74684c;font-size:16px;line-height:1.7;overflow-wrap:anywhere}
.large .exam-lock-note{font-size:18px}
