/* 真题专项：与词序的纸白、苔绿和暖色细节保持一致。 */
.exam-hero{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:218px;padding:30px 37px;margin-bottom:24px;overflow:hidden;border:1px solid #e2e9dc;border-radius:14px;background:linear-gradient(115deg,#eaf0e4 0%,#f2f4e9 75%,#f5eee5 100%)}
.exam-hero h2{font-size:31px;line-height:1.5;font-weight:500;letter-spacing:.5px;margin:8px 0}.exam-hero p{max-width:680px;color:#788878;font-size:16px;line-height:1.9}.exam-hero-stamp{width:112px;height:112px;display:grid;place-content:center;text-align:center;line-height:1.25;border:1px solid #bac9b2;border-radius:50%;color:#668060;font-family:'Noto Sans SC',sans-serif;font-size:31px;transform:rotate(8deg);box-shadow:0 0 0 9px #ffffff30,0 0 0 10px #bac9b255;flex:none;margin-right:45px}
.exam-year-panel,.exam-category-grid,.exam-unit-list,.exam-history{margin-top:21px}.exam-year-panel{display:grid;grid-template-columns:190px 1fr;gap:20px;align-items:center;padding:21px 23px;background:#fff;border:1px solid var(--border);border-radius:11px}.exam-year-panel h2,.exam-section-title h2{font-size:19px;font-weight:600}.exam-year-panel p,.exam-section-title p{font-size:14px;color:#969f91;margin-top:5px}.exam-years{display:grid;grid-template-columns:repeat(9,minmax(54px,1fr));gap:8px}.exam-year{min-height:43px;border:1px solid #e7ebe3;border-radius:6px;color:#788477;background:#fafbf8;font-size:15px;font-variant-numeric:tabular-nums;transition:background .15s,border .15s,color .15s}.exam-year:hover{border-color:#b9c9af;color:var(--green)}.exam-year.active{background:var(--green);border-color:var(--green);color:#fff;font-weight:600}
.exam-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.exam-category{display:flex;align-items:center;gap:15px;min-height:106px;padding:18px 20px;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--text);text-align:left;transition:transform .15s,border .15s,box-shadow .15s}.exam-category:hover,.exam-category.chosen{transform:translateY(-2px);border-color:#bdcbb5;box-shadow:0 6px 18px #304c3410}.exam-category.chosen{background:#f5f8f1}.exam-category-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:12px;background:#f0f3eb;color:#688160;font-size:25px;flex:none}.exam-category:nth-child(2n) .exam-category-icon{background:#f6efe7;color:#ba8c68}.exam-category-copy{display:grid;gap:6px;flex:1;min-width:0}.exam-category-copy strong{font-weight:600;font-size:17px}.exam-category-copy small{font-size:14px;color:#929b8e}.exam-category-arrow{color:#aab4a4;font-size:25px}.exam-section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.exam-unit-list{padding:20px 22px;background:#fff;border:1px solid var(--border);border-radius:11px}.exam-unit-card{width:100%;display:flex;align-items:center;gap:17px;padding:15px 5px;text-align:left;background:transparent;border-bottom:1px solid #edf0e9;color:var(--text)}.exam-unit-card:last-child{border-bottom:0}.exam-unit-card:hover .exam-unit-info strong{color:#547650}.exam-unit-index{display:grid;place-items:center;width:43px;height:43px;border-radius:10px;background:#f6f7f1;color:#8b9b81;font-size:15px;font-variant-numeric:tabular-nums}.exam-unit-info{display:grid;gap:4px;flex:1;min-width:0}.exam-unit-info strong{font-size:16px;font-weight:500;overflow-wrap:anywhere}.exam-unit-info small{font-size:13px}.exam-unit-status{font-size:14px;color:#899581;white-space:nowrap}.exam-unit-status b{margin-left:6px;font-size:21px;font-weight:400}.exam-unit-status.complete{color:#66815e}.exam-unit-status.progress{color:#bf8b66}.exam-backup{display:flex;gap:22px;justify-content:flex-end;margin:17px 4px 4px}.exam-backup .text-button{font-size:14px;cursor:pointer;color:#87947f}.exam-restore-label{display:inline-flex;align-items:center}.exam-notice{padding:13px 16px;margin-top:14px;background:#fff3e2;border:1px solid #ead8b8;border-radius:7px;color:#795f42;font-size:15px}.exam-loading,.exam-empty,.exam-unit-empty{text-align:center;margin-top:16px;padding:46px 20px}.exam-loading p,.exam-empty p,.exam-unit-empty p{margin-top:10px;color:#919c87;font-size:15px}.exam-empty>span{font-size:33px;color:#92a286}.exam-empty h2,.exam-unit-empty h2{font-size:20px;font-weight:500}.exam-empty .secondary{margin-top:18px}.exam-spinner{display:block;width:25px;height:25px;border:2px solid #dfe8d7;border-top-color:#53744c;border-radius:50%;margin:0 auto 10px;animation:exam-spin .8s linear infinite}@keyframes exam-spin{to{transform:rotate(360deg)}}
.exam-unit-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;color:#8a9587;font-size:15px}.exam-unit-top .secondary{font-size:15px;padding:9px 14px}.exam-unit-heading{margin-bottom:21px}.exam-unit-heading h1{overflow-wrap:anywhere}.exam-work{display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,.9fr);align-items:start;gap:21px}.exam-passage,.exam-questions{min-width:0}.exam-passage{padding:25px 27px;position:sticky;top:18px;max-height:calc(100vh - 110px);overflow:auto}.exam-passage-label{color:#9ba58f;font-size:12px;letter-spacing:1.7px;font-weight:600}.exam-passage h2{font-size:20px;line-height:1.55;font-weight:600;margin:8px 0 12px}.exam-instructions{font-size:16px;color:#6f7d70;line-height:1.85;margin:10px 0 17px;white-space:pre-line}.exam-passage-text{font-family:Georgia,'Times New Roman',serif;font-size:18px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;color:#374b40}.exam-no-passage{min-height:175px}.exam-no-passage h2{font-weight:500}.exam-source-page{margin-top:19px;padding-top:13px;border-top:1px solid #edf0e9;font-size:13px}.exam-images{display:grid;gap:12px;margin:16px 0}.exam-image-button{display:block;width:100%;padding:0;background:#f5f6f1;border:1px solid var(--border);border-radius:7px;overflow:hidden}.exam-image-button img{display:block;width:100%;height:auto;max-height:390px;object-fit:contain}.exam-questions{padding:24px 25px}.exam-questions-heading{display:flex;justify-content:space-between;align-items:center}.exam-questions-heading h2{font-size:22px;font-weight:600;margin-top:3px}.exam-questions-heading>span{font-size:14px;color:#8e9a89}.exam-save-note{font-size:14px;color:#939e8b;margin:9px 0 17px}.exam-question{border:0;border-top:1px solid #edf0e9;padding:17px 0 15px;margin:0;min-width:0}.exam-question legend{display:flex;align-items:flex-start;gap:9px;padding:0;width:100%;font-size:16px;font-weight:500;line-height:1.75}.exam-question-number{display:grid;place-items:center;width:27px;height:27px;flex:none;border-radius:7px;background:#f1f4ed;color:#6e8565;font-size:13px}.exam-option{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;margin:9px 0 0;border:1px solid #e8ece4;border-radius:7px;cursor:pointer;font-size:15px;line-height:1.65;transition:background .12s,border .12s}.exam-option:hover,.exam-option.selected{background:#f4f7f0;border-color:#c6d3be}.exam-option input{appearance:none;position:absolute;width:1px;height:1px;opacity:0}.exam-option input:focus-visible+.exam-option-key{outline:3px solid #dba58b;outline-offset:3px}.exam-option-key{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;background:#f2f4ed;color:#71836a;font-size:12px;font-weight:600}.exam-response-label{display:block;margin:13px 0 7px;font-size:14px;color:#788574}.exam-response{display:block;width:100%;min-height:105px;padding:13px 14px;border:1px solid #dfe5d9;border-radius:7px;background:#fff;color:#263b34;font:17px/1.8 'DM Sans','Noto Sans SC','Microsoft YaHei',sans-serif;resize:vertical}.exam-response:focus{outline:2px solid #bed0ae;border-color:#aec29f}.exam-response:disabled{background:#f8f9f6;color:#5f6d61}.exam-wordcount{margin-top:6px;text-align:right;font-size:13px}.exam-manual-review{margin-top:9px;padding:9px 11px;border-radius:5px;background:#f7f5ef;color:#8d785f;font-size:14px}.exam-feedback{margin-top:11px;padding:11px 13px;border-left:3px solid #9bad8d;background:#f5f7f1;border-radius:0 6px 6px 0;font-size:14px;line-height:1.8}.exam-feedback strong{font-weight:600;color:#536f4d}.exam-feedback p{margin-top:6px;color:#75816e;overflow-wrap:anywhere}.exam-feedback b{font-weight:500}.exam-result{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0;padding:16px;background:#edf3e9;border:1px solid #dbe7d4;border-radius:8px}.exam-result strong{font-size:17px;color:#46633f}.exam-result span{font-size:14px;color:#7e8c76}.exam-result-subjective{display:block;background:#f7f4ed;border-color:#ebe1d0}.exam-result-subjective strong{color:#8a755a}.exam-result-subjective p{margin-top:5px;color:#8d887c;font-size:14px}.exam-submit{display:block;width:100%;min-height:49px;margin-top:14px;font-size:16px}.exam-submit-hint{font-size:13px;color:#969e90;text-align:center;margin-top:10px}.exam-redo{margin:1px 0 8px}.exam-history{padding:20px 23px}.exam-history h2{font-size:17px;font-weight:600;margin-bottom:7px}.exam-history-row{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #edf0e9;font-size:14px;color:#7d8878}.exam-history-row:last-child{border-bottom:0}.exam-image-dialog{width:min(92vw,1100px);max-width:1100px;max-height:92vh;border:0;border-radius:10px;padding:40px 18px 18px;background:#fff;box-shadow:0 20px 80px #18251c40}.exam-image-dialog::backdrop{background:#17251dcc}.exam-image-dialog>button{position:absolute;right:12px;top:6px;width:36px;height:36px;border-radius:50%;background:#f0f3ec;color:#51634e;font-size:25px}.exam-image-dialog img{display:block;max-width:100%;max-height:80vh;margin:auto;object-fit:contain}.exam-image-dialog:focus{outline:0}
@media(max-width:1080px){.exam-year-panel{grid-template-columns:1fr}.exam-years{grid-template-columns:repeat(6,minmax(52px,1fr))}.exam-work{grid-template-columns:minmax(0,1fr) minmax(350px,.95fr);gap:14px}.exam-passage,.exam-questions{padding:21px}.exam-passage-text{font-size:18px}}
@media(max-width:800px){.exam-hero{padding:22px;min-height:190px}.exam-hero h2{font-size:27px}.exam-hero p{font-size:15px;max-width:500px;padding-right:50px}.exam-hero-stamp{width:80px;height:80px;font-size:24px;margin:0 9px 0 0}.exam-year-panel{padding:18px}.exam-years{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.exam-year{min-height:42px}.exam-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.exam-category{min-height:95px;padding:14px;gap:11px}.exam-category-icon{width:41px;height:41px}.exam-category-copy strong{font-size:16px}.exam-category-copy small{font-size:13px}.exam-work{grid-template-columns:minmax(0,1fr)}.exam-passage{position:static;max-height:none}.exam-unit-heading{margin-bottom:15px}.exam-questions{padding:20px 18px}.exam-question legend{font-size:16px}.exam-option{font-size:15px}.exam-history-row{font-size:13px}}
@media(max-width:480px){.exam-hero{min-height:170px;padding:19px 17px}.exam-hero h2{font-size:24px}.exam-hero p{font-size:14px;line-height:1.75;padding-right:15px}.exam-hero-stamp{position:absolute;right:-6px;top:20px;opacity:.55;width:61px;height:61px;font-size:20px}.exam-year-panel{padding:16px 13px}.exam-years{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.exam-year{font-size:14px;min-height:40px}.exam-category-grid{grid-template-columns:1fr}.exam-category{min-height:80px}.exam-unit-list{padding:17px 14px}.exam-unit-card{gap:11px}.exam-unit-index{width:37px;height:37px}.exam-unit-info strong{font-size:15px}.exam-unit-status{font-size:13px}.exam-unit-top{align-items:flex-start;gap:10px;font-size:13px}.exam-unit-top .secondary{font-size:14px;padding:8px 10px;white-space:nowrap}.exam-unit-top>span{text-align:right}.exam-unit-heading h1{font-size:26px}.exam-passage,.exam-questions{padding:19px 15px}.exam-passage-text{font-size:17px}.exam-question{padding:15px 0 13px}.exam-result{align-items:flex-start;flex-direction:column}.exam-history{padding:18px 15px}.exam-history-row{align-items:flex-start;flex-direction:column;gap:3px}.exam-backup{justify-content:center;gap:17px}.exam-work{gap:12px}}

/* Keep exam text comfortable at the app's larger reading scale. */
.exam-passage-text{font-size:20px}.exam-question legend{font-size:18px}.exam-option{font-size:17px}.exam-response{font-size:18px}
.exam-old-answers{padding:0 0 10px 10px;color:#788574;font-size:14px}.exam-old-answers summary{cursor:pointer;padding:2px 0 8px;color:#75866d}.exam-old-answers>div{padding:3px 0;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.exam-old-answers b{color:#688160}.exam-history-entry{border-bottom:1px solid #edf0e9}.exam-history-entry:last-child{border-bottom:0}.exam-history-entry .exam-history-row{border-bottom:0}
.exam-image-dialog{width:96vw;height:94vh;max-width:none;max-height:none;overflow:auto}.exam-image-dialog img{display:block;width:auto;height:auto;max-width:none;max-height:none;margin:0}
@media(max-width:800px){.exam-passage-text{font-size:19px}.exam-question legend{font-size:17px}.exam-option{font-size:17px}}
@media(max-width:480px){.exam-passage-text{font-size:18px}.exam-question legend{font-size:17px}.exam-option{font-size:17px}.exam-image-dialog{width:96vw;height:92vh;padding:40px 12px 12px}}

/* Let passages follow the document flow; PDF line breaks are not visual line breaks. */
.exam-passage{position:static;max-height:none;overflow:visible}
.exam-passage-text{font-size:20px;white-space:normal;overflow-wrap:break-word}
.exam-passage-text p{margin:0 0 .65em;text-indent:2em}
.exam-passage-text p:last-child{margin-bottom:0}
.exam-passage-text p.exam-passage-line{text-indent:0;margin:.7em 0 .35em}
.exam-source-page{display:block}
.exam-category-icon svg{width:25px;height:25px}
.exam-hero-art{width:120px;height:120px;color:#87a080;flex:none;margin-right:35px}
.exam-hero-art svg{display:block;width:100%;height:100%}
@media(max-width:800px){.exam-hero-art{width:85px;height:85px;margin-right:0}}
@media(max-width:480px){.exam-passage-text{font-size:18px}.exam-hero-art{position:absolute;right:10px;top:18px;width:58px;height:58px;opacity:.45}}

.exam-passage-writing{white-space:pre-line}

/* Independent, keyboard-accessible desktop passage scrolling. Touch stays native. */
.exam-passage{position:sticky;top:16px;max-height:calc(100vh - 125px);overflow:auto;overscroll-behavior:contain;touch-action:pan-y;cursor:auto;scrollbar-gutter:stable}
.exam-passage:focus-visible{outline:2px solid #b9c9af;outline-offset:2px}

.exam-unit-nav{display:flex;align-items:center;justify-content:center;gap:16px;margin:-4px 0 13px;color:#87927f;font-size:14px}
.exam-unit-nav button{min-width:92px;padding:8px 13px}
.exam-unit-nav button:disabled{opacity:.45;cursor:not-allowed}
.exam-lookup-tools{display:flex;justify-content:flex-end;gap:12px;margin:0 0 14px}
.exam-lookup-tools button{font-size:14px}
.exam-analysis{margin-top:12px;padding-top:10px;border-top:1px solid #e6eadd}
.exam-analysis strong{color:#8a755a}
.exam-analysis p{margin-top:6px;color:#6e796d}
@media(max-width:800px){.exam-passage{position:static;max-height:none;overflow:visible;cursor:auto;scrollbar-gutter:auto}.exam-unit-nav{gap:9px}.exam-unit-nav button{min-width:78px}}
@media(max-width:360px){.exam-unit-nav{gap:6px;font-size:12px}.exam-unit-nav button{min-width:68px;padding:7px 8px}}

/* Generated paper-craft illustration; retain its transparent background. */
.exam-hero-art{width:240px;height:170px;margin-right:5px}.exam-hero-art img{display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:1080px){.exam-hero-art{width:180px;height:140px}}
@media(max-width:800px){.exam-hero-art{width:130px;height:110px}.exam-hero>div:first-child{min-width:0}}
@media(max-width:480px){.exam-hero-art{width:95px;height:85px;right:2px;top:16px;opacity:.9}.exam-hero h2{max-width:calc(100% - 65px)}}

/* Independent native scrollbars; panel content is never a drag handle. */
.exam-practice-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px;flex-wrap:wrap}
.exam-practice-toolbar .exam-unit-nav{margin:0;gap:14px}.exam-practice-toolbar .exam-lookup-tools{margin:0}
.exam-work>.exam-passage,.exam-work>.exam-questions{position:static;height:calc(100dvh - 165px);min-height:280px;max-height:780px;overflow-y:scroll;overflow-x:hidden;scrollbar-gutter:stable;overscroll-behavior:contain;cursor:auto}
.exam-question-number.exam-question-wrong{color:#b63838;background:#fbe8e5;font-weight:700}
@media(max-width:800px){.exam-work>.exam-passage,.exam-work>.exam-questions{height:65dvh;min-height:280px;max-height:650px}.exam-practice-toolbar{gap:10px}.exam-practice-toolbar .exam-unit-nav{gap:8px;flex:1;min-width:0}.exam-practice-toolbar .exam-unit-nav span{font-size:12px}.exam-practice-toolbar .exam-lookup-tools{margin-left:auto}}

.exam-option.exam-option-wrong{color:#a33232;background:#fff0ed;border-color:#da8b82}
.exam-option.exam-option-wrong .exam-option-key{color:#fff;background:#b63838}
.exam-option.exam-option-correct{color:#28603a;background:#edf7ef;border-color:#83b38c}
.exam-option.exam-option-correct .exam-option-key{color:#fff;background:#39804d}
