:root{--paper:#f7f5ef;--white:#fffefa;--ink:#243e50;--body:#384c58;--muted:#6c7475;--line:#deded4;--accent:#a35c3e;--blue-soft:#edf1f1;--serif:Georgia,"Times New Roman",serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--paper);color:var(--body);font-family:"PingFang TC","Microsoft JhengHei",system-ui,sans-serif;font-size:14px;line-height:1.6}button,a,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:4px}button:disabled{cursor:not-allowed}button{touch-action:manipulation}.wrap{width:min(1120px,calc(100% - 64px));margin-inline:auto}.skip{position:absolute;top:-80px;left:16px;padding:12px;background:var(--white);z-index:5}.skip:focus{top:8px}.site-header{background:var(--white);border-bottom:1px solid var(--line)}.header-inner{min-height:88px;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;white-space:nowrap}.brand img{width:120px;height:80px;object-fit:contain}.brand span{font-size:18px;letter-spacing:2px;font-weight:700;color:#303b3d}.header-right{display:flex;align-items:center;gap:26px}.header-subject{font-size:10px;letter-spacing:.15em;color:var(--muted)}.preview{font-size:11px;padding:5px 11px;border:1px solid var(--line);border-radius:4px;white-space:nowrap;color:var(--muted)}
.hero{display:grid;grid-template-columns:1fr 332px;gap:60px;align-items:center;padding-block:30px 30px}.eyebrow{font-size:10px;font-weight:650;letter-spacing:.16em;color:var(--accent);margin:0 0 16px;display:flex;align-items:center;gap:10px}.short-rule{width:24px;height:1px;background:var(--accent)}h1{font-size:43px;line-height:1.2;letter-spacing:-.04em;color:var(--ink);margin:0;white-space:nowrap}h1 span:not(.period){margin-left:3px}.period{color:var(--accent)}.hero-serif{font-family:var(--serif);font-style:italic;font-size:29px;line-height:1.2;font-weight:400;color:#527184;margin:14px 0 21px}.intro{font-size:14px;line-height:1.9;color:var(--muted);margin:0}.hero-meta{display:flex;gap:22px;margin-top:20px;font-size:11px;color:var(--muted)}.hero-meta span+span{border-left:1px solid var(--line);padding-left:22px}.hero-meta b{font-family:var(--serif);font-size:18px;font-weight:400;color:var(--ink);margin-right:5px;font-variant-numeric:tabular-nums}.book{position:relative;background:var(--ink);color:#f9f3e5;padding:25px 26px 25px 32px;box-shadow:5px 5px 0 #e8e4da,6px 6px 0 #c4c8c7;min-height:238px}.book:before{content:"";position:absolute;left:9px;top:0;bottom:0;border-left:1px solid #ffffff20}.book-top{display:flex;justify-content:space-between;font-size:8px;letter-spacing:.16em;color:#d3dedf}.book-title{font-family:var(--serif);font-size:53px;line-height:1.05;letter-spacing:-.035em;margin:18px 0 16px}.book-title span{display:block;font-size:25px;font-style:italic;color:#d9c6a4;letter-spacing:0;line-height:1.35}.book-line{height:1px;background:#ffffff30}.book-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:14px}.book-bottom p{margin:0;font-size:11px;line-height:1.9;color:#d3dedf}.book-bottom strong{font-weight:450;color:#fbf8ef}.book-mark{font-family:var(--serif);font-size:42px;font-style:italic;color:#d9c6a4}
.library{padding-top:28px;border-top:1px solid #c9cfcf}.library-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:22px}.library-heading .eyebrow{font-size:9px;margin-bottom:6px;letter-spacing:.18em}.library-heading h2{font-size:23px;margin:0;color:var(--ink);letter-spacing:.03em}.library-heading p{margin:0 0 3px;color:var(--muted);font-size:12px}.filter-panel{background:var(--white);border:1px solid var(--line);border-radius:9px;overflow:hidden}.school-filters{display:flex;gap:6px;padding:0 20px;border-bottom:1px solid var(--line)}.school-filter{position:relative;border:0;background:none;padding:16px 22px 15px;min-height:58px;color:var(--muted);font-weight:600;font-size:14px}.school-filter span{font-size:10px;margin-left:9px;font-family:var(--serif);font-weight:400}.school-filter[aria-pressed=true]{color:var(--ink)}.school-filter[aria-pressed=true]:after{content:"";position:absolute;bottom:0;left:20px;right:20px;height:3px;background:var(--ink)}.school-filter:hover{background:#f5f5f0}.filter-bottom{padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.years{display:flex;align-items:center;gap:6px}.filter-label,.department-filter label{font-size:12px;color:var(--muted);white-space:nowrap;margin-right:12px}.years button{border:1px solid transparent;background:none;color:var(--muted);min-width:47px;min-height:40px;padding:6px 12px;font-size:13px;border-radius:5px;font-variant-numeric:tabular-nums}.years button[aria-pressed=true]{background:var(--ink);color:var(--white)}.years button:hover:not([aria-pressed=true]){background:var(--blue-soft)}.department-filter{display:flex;align-items:center}.department-filter select{color:var(--ink);background:var(--white);border:1px solid var(--line);border-radius:5px;min-height:40px;padding:6px 30px 6px 13px;min-width:125px}.result-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:22px 0 21px;font-size:12px;color:var(--muted)}.result-summary p{margin:0}.result-summary b{font-weight:600;color:var(--ink)}.status-note{font-size:11px;white-space:nowrap}.status-note>span{display:inline-block;width:5px;height:5px;border-radius:100%;background:var(--accent);margin:0 7px 2px 0}
.school-section{display:grid;grid-template-columns:167px minmax(0,1fr);gap:22px;margin-bottom:24px}.school-heading{padding:18px 0}.school-heading .school-code{font-family:var(--serif);font-size:12px;letter-spacing:.18em;color:var(--accent)}.school-heading h3{font-size:21px;color:var(--ink);margin:4px 0 0}.school-heading p{margin:5px 0 0;font-size:11px;color:var(--muted)}.school-collection{display:grid;gap:10px}.exam-card{background:var(--white);border:1px solid var(--line);border-radius:8px;overflow:hidden}.exam-info{padding:17px 21px 15px;display:flex;align-items:center;justify-content:space-between;gap:16px}.exam-title{display:flex;align-items:center;gap:13px}.exam-index{font-size:10px;font-family:var(--serif);color:var(--accent);border-right:1px solid var(--line);padding-right:12px}.exam-title h4{font-size:17px;font-weight:600;color:var(--ink);margin:0}.department-list{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:7px}.department-list .department-label{color:var(--muted);font-size:11px;margin-right:4px}.department-tag{font-size:11px;background:#f0f2ed;border-radius:3px;padding:2px 8px;color:#52645f}.department-tag.match{background:#dce5e7;color:var(--ink);font-weight:600}.exam-type{font-family:var(--serif);font-size:32px;line-height:1;opacity:.17;color:var(--ink);font-style:italic;flex-shrink:0}.year-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:15px;padding:12px 21px;border-top:1px solid #e8e8df;background:#fdfcf8}.year-label{display:flex;align-items:baseline;gap:7px}.year-label b{font-family:var(--serif);font-size:22px;line-height:1;font-weight:400;color:var(--ink)}.year-label span{font-size:11px;color:var(--muted)}.resources{display:flex;gap:8px;align-items:center}.resource{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;border-radius:4px;padding:7px 14px;border:1px solid #cad3d7;background:#f7f9f8;color:#647a86;font-size:12px;line-height:1.2;text-decoration:none;white-space:nowrap}.resource svg{width:14px;height:14px;flex-shrink:0}.resource small{font-size:9px;letter-spacing:.02em;color:#72828a}.resource.answer{background:#eaf0f2;border-color:#d7e0e4;color:#556e7d}.resource:not(:disabled){background:var(--ink);color:white}.resource:not(:disabled) small{color:#dae4e7}.pending-label{font-size:10px;color:var(--muted);margin-right:7px}.reading-note{display:flex;align-items:center;gap:23px;padding:20px 24px;background:#ecece4;border-radius:5px;margin-top:28px;font-size:12px;color:#626c69}.reading-note p{margin:0;line-height:1.8}.note-number{font-family:var(--serif);font-style:italic;font-size:12px;color:var(--ink);white-space:nowrap;border-right:1px solid #c8cfca;padding-right:23px}.mobile-break{display:none}.footer{display:flex;justify-content:space-between;padding-block:27px 30px;margin-top:38px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.footer a{text-decoration:none}.footer-divider{margin:0 10px;color:#bcc3c3}.noscript{padding:24px}.empty{padding:45px 24px;background:var(--white);border:1px solid var(--line);text-align:center;border-radius:8px}
@media(min-width:1500px){.hero{padding-block:36px 34px}}
@media(max-width:1000px){.hero{gap:35px;grid-template-columns:minmax(0,1fr) 285px}h1{font-size:35px}.hero-serif{font-size:26px}.book{padding-left:26px;padding-right:21px}.book-title{font-size:47px}.header-subject{display:none}.school-section{grid-template-columns:140px minmax(0,1fr);gap:15px}.hero-meta{gap:15px}.hero-meta span+span{padding-left:15px}.filter-bottom{gap:14px}.years{gap:2px}.department-filter label{margin-right:7px}.years button{min-width:40px;padding-inline:8px}.filter-label{margin-right:6px}.pending-label{margin:0}.resource{padding-inline:11px}}
@media(max-width:760px){.wrap{width:calc(100% - 40px)}.header-inner{min-height:72px}.brand img{width:95px;height:64px}.brand{gap:8px}.brand span{font-size:15px;letter-spacing:1px}.preview{font-size:10px;padding:4px 7px}.header-right{gap:0}.hero{grid-template-columns:1fr 235px;padding-block:32px;gap:24px}h1{font-size:31px;white-space:normal}h1 span:not(.period){display:block;margin:3px 0 0}h1 .period{display:none}.hero-serif{font-size:21px}.book{min-height:230px;padding:20px 20px 20px 26px}.book-title{font-size:39px}.book-title span{font-size:22px}.book-top{font-size:7px}.book-top>span:last-child{display:none}.book-bottom p{font-size:10px}.book-mark{font-size:34px}.hero-meta{gap:10px;flex-wrap:wrap;margin-top:20px}.hero-meta span+span{padding-left:10px}.hero-meta b{font-size:16px}.filter-bottom{flex-wrap:wrap;gap:12px}.school-filter{padding-inline:18px}.school-filter[aria-pressed=true]:after{left:16px;right:16px}.school-section{grid-template-columns:1fr;gap:10px;margin-bottom:25px}.school-heading{display:flex;align-items:baseline;gap:10px;padding:0}.school-heading h3{font-size:18px;margin:0}.school-heading p{margin:0 0 0 auto}.school-heading .school-code{font-size:11px}.library-heading h2{font-size:21px}.exam-info{padding:16px 18px 13px}.year-row{padding:11px 18px}}
@media(max-width:540px){.wrap{width:calc(100% - 32px)}.header-inner{gap:7px}.brand img{width:82px;height:57px}.brand span{font-size:14px}.preview{font-size:9px}.hero{display:block;padding-block:29px}.eyebrow{font-size:9px;margin-bottom:13px}h1{font-size:33px}h1 span:not(.period){display:inline;margin-left:2px}h1 .period{display:inline}.hero-serif{font-size:25px;margin:12px 0 15px}.intro{font-size:13px}.hero-meta{gap:15px;margin-top:20px}.hero-meta span+span{padding-left:15px}.hero-meta b{font-size:17px}.book{display:none}.library{padding-top:22px}.library-heading{display:block;margin-bottom:18px}.library-heading p{margin-top:5px;font-size:11px}.library-heading .eyebrow{font-size:8px}.school-filters{padding:0 7px;gap:0;justify-content:space-between}.school-filter{min-height:53px;padding:14px 11px 13px;font-size:13px}.school-filter span{font-size:9px;margin-left:5px}.school-filter[aria-pressed=true]:after{left:10px;right:10px}.filter-bottom{padding:13px 14px;gap:12px}.years{gap:3px;width:100%;justify-content:space-between}.filter-label{font-size:11px;margin-right:3px}.years button{min-width:35px;min-height:38px;padding:6px;font-size:12px}.department-filter{width:100%;gap:7px}.department-filter label{font-size:11px}.department-filter select{flex:1;min-height:38px;font-size:12px}.result-summary{margin:18px 0;font-size:11px;gap:8px}.status-note{font-size:10px}.exam-info{padding:15px 15px 13px}.exam-title{gap:10px}.exam-title h4{font-size:16px}.exam-index{padding-right:10px}.exam-type{font-size:30px}.department-list{gap:5px}.department-list .department-label{font-size:10px;margin-right:2px}.department-tag{font-size:10px;padding:2px 7px}.year-row{padding:11px 15px;gap:8px}.year-label{gap:4px;flex-wrap:wrap;max-width:58px}.year-label b{font-size:23px}.year-label span{font-size:10px}.resources{gap:6px;flex-wrap:wrap;justify-content:flex-end}.pending-label{width:100%;font-size:9px;text-align:right;line-height:1.2}.resource{min-height:40px;padding:7px 9px;gap:5px;font-size:11px}.resource svg{width:12px;height:12px}.resource small{font-size:8px}.school-heading .school-code{font-size:10px}.school-heading h3{font-size:17px}.school-heading p{font-size:10px}.reading-note{padding:16px;gap:14px;align-items:flex-start;font-size:11px}.note-number{font-size:10px;padding-right:13px;margin-top:2px}.mobile-break{display:block}.footer{font-size:10px;margin-top:26px;padding-block:21px;gap:14px}.footer-divider{margin-inline:5px}}
@media(max-width:360px){h1{font-size:29px}.hero-meta{gap:10px}.hero-meta span+span{padding-left:10px}.school-filter{padding-inline:7px}.school-filter span{margin-left:3px}.years{gap:1px}.years button{min-width:32px}.filter-bottom{padding-inline:10px}.resource{padding-inline:7px}.resource svg{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{.filter-panel,.preview,.footer a{display:none}.wrap{width:100%}.hero{padding:10px 0 20px}.book{display:none}.hero{display:block}.school-section{break-inside:avoid}.resource{border:1px solid #aaa}body{background:white}}

.access-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;margin:0 0 24px;border:1px solid #cdd8d4;background:#edf2ed;border-radius:4px}.access-panel h3{font-size:17px;margin:0 0 6px}.access-panel p{font-size:14px;margin:0;line-height:1.8}.access-panel a{flex-shrink:0;background:#243e50;color:#fff;text-decoration:none;padding:10px 18px;border-radius:3px;font-size:14px}.access-open{font-size:13px;color:#4b6964;margin:0 0 16px}.resource.locked{opacity:.75}.resource.answer{min-width:126px}@media(max-width:600px){.access-panel{align-items:flex-start;flex-direction:column;padding:18px}.header-inner{gap:14px}.header-right{flex-wrap:wrap;justify-content:flex-end}.resource.answer{min-width:116px}}

/* Reading and writing entrances precede the paper archive for every visitor. */
.guidance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding-block:28px 32px;border-top:1px solid #c9cfcf}.guidance-card{display:flex;flex-direction:column;padding:23px 26px 20px;border:1px solid #cdd8d4;border-radius:8px;text-decoration:none;color:var(--ink)}.guidance-reading{background:#edf2ed}.guidance-writing{background:#edf1f3;border-color:#ced8df}.guidance-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:10px;letter-spacing:.16em}.guidance-badge{padding:3px 9px;border:1px solid #c5d3cd;border-radius:20px;font-size:11px;letter-spacing:0;color:#4b6964}.guidance-writing .guidance-badge{border-color:#c3d0da;color:#526b7d}.guidance-card h2{margin:0;font-size:24px;line-height:1.4;letter-spacing:.04em}.guidance-card p{margin:9px 0 18px;line-height:1.85;font-size:13px;color:#5b6d70}.guidance-action{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:13px;border-top:1px solid #cdd8d4;font-size:13px;font-weight:600}.guidance-action>span:last-child{font-size:21px;line-height:1}.guidance-card:hover{border-color:#78948e}.guidance-card:hover .guidance-action>span:first-child{text-decoration:underline;text-underline-offset:4px}.guidance-writing:hover{border-color:#7690a3}.library{padding-top:0;border-top:0}.archive-access-note{margin:0 0 18px;color:#637275;font-size:12px;line-height:1.8}.archive-access-note a{display:inline-block;margin-left:8px;color:var(--ink);text-underline-offset:3px}
@media(max-width:600px){.guidance{grid-template-columns:1fr;gap:14px;padding-block:22px 28px}.guidance-card{padding:20px}.guidance-card h2{font-size:22px}.guidance-meta{margin-bottom:10px}.guidance-card p{margin-bottom:15px}.archive-access-note a{margin-left:0;margin-top:4px;display:block}.library{padding-top:0}}
@media print{.guidance{display:none}}

/* Expanded archive years and original-paper labels. */
.years{flex-wrap:wrap}.filter-bottom{align-items:flex-start;flex-wrap:wrap}.department-filter{flex-shrink:0}.year-note{grid-column:1/-1;margin:0;font-size:11px;color:var(--muted);line-height:1.6}

/* Statistics preview keeps the English archive's shared visual language. */
.header-link{font-size:12px;color:var(--ink);text-decoration:none;white-space:nowrap}.header-link:hover{text-decoration:underline;text-underline-offset:4px}.hero{padding-block:38px}.hero h1{white-space:normal}.hero h1 .title-tail{display:inline;margin-left:3px}.hero .intro{max-width:36em}.book-title{font-size:48px}.book-title span{font-size:23px}.library{padding-top:28px;border-top:1px solid #c9cfcf}.filter-bottom{padding-block:16px}.years{flex-wrap:wrap;justify-content:flex-start;gap:6px;width:auto}.years button{min-width:48px;min-height:44px}.filter-label{padding-block:8px}.school-heading p{font-size:12px;line-height:1.8}.exam-title{flex-wrap:wrap;row-gap:7px}.review-tag{display:inline-block;color:#875239;background:#f4ebe2;border:1px solid #e5d2c2;border-radius:3px;padding:2px 7px;font-size:10px;font-weight:500;white-space:nowrap}.resource{min-height:44px}.resource.paper{background:#fffefa;color:var(--ink);border-color:#aebec5}.resource.paper small{color:#647a86}.resource:hover{filter:brightness(.95)}.resource:disabled{background:#f2f3ef;color:#788381;opacity:.8}.resource:disabled small{color:#788381}.year-note{padding-left:1px;color:#805d43}.reading-note .note-number{font-style:normal;font-family:inherit}.result-summary{flex-wrap:wrap}.result-summary .status-note{white-space:normal}.year-row{scroll-margin-top:18px}.noscript{max-width:1120px;margin:auto}.stat-empty{padding:30px 20px}.footer>span{max-width:75%}
@media(max-width:760px){.hero{padding-block:30px}.hero h1 .title-tail{display:block;margin-left:0}.book-title{font-size:39px}.book-title span{font-size:20px}.years{width:100%}.school-heading p{margin-left:auto}.school-heading{flex-wrap:wrap}.resources{min-width:0}}
@media(max-width:540px){.hero h1{font-size:31px;line-height:1.3}.hero h1 .title-tail{display:inline;margin-left:2px}.hero-meta{gap:10px}.hero-meta span+span{padding-left:10px}.header-right{gap:12px}.header-link{font-size:11px}.header-inner{gap:8px}.brand{gap:3px}.brand span{font-size:13px}.brand img{width:70px;height:54px}.years{gap:4px;justify-content:flex-start}.years button{min-width:42px;min-height:44px;padding:6px 8px}.filter-label{width:100%;margin:0;padding:0 0 3px}.library-heading p{font-size:12px}.resource.answer{min-width:108px}.resource.paper{min-width:81px}.exam-info{padding:16px 14px}.exam-title h4{font-size:17px}.exam-type{font-size:29px}.review-tag{font-size:9px}.year-row{padding:12px 13px;grid-template-columns:48px minmax(0,1fr);column-gap:8px}.year-label{max-width:48px}.resources{gap:6px;flex-wrap:nowrap}.resource{padding:8px;gap:5px;font-size:11px}.resource small{font-size:8px}.result-summary{gap:5px}.reading-note{display:block}.reading-note .note-number{border:0;padding:0;display:block;margin:0 0 4px;font-size:11px}.reading-note p{font-size:12px}.year-note{font-size:11px}.footer{align-items:flex-start}}
@media(max-width:360px){.header-link{display:none}.brand img{width:76px}.brand span{font-size:14px}.resource svg{display:none}.resource.answer{min-width:101px}.resource.paper{min-width:76px}.resource{padding-inline:7px}.year-row{padding-inline:11px;column-gap:6px}.exam-title{gap:8px}.hero-meta{font-size:10px;gap:8px}.hero-meta span+span{padding-left:8px}.hero-meta b{font-size:16px}}

/* Department controls use the same archive tabs as the English collection. */
.department-options{display:flex;flex-wrap:wrap;gap:6px;padding:0 20px;border-bottom:1px solid var(--line)}.department-options button{position:relative;border:0;background:none;padding:16px 20px;min-height:56px;color:var(--muted);font-weight:600;font-size:14px}.department-options button[aria-pressed=true]{color:var(--ink)}.department-options button[aria-pressed=true]:after{content:"";position:absolute;bottom:0;left:18px;right:18px;height:3px;background:var(--ink)}.department-options button:hover{background:#f5f5f0}.school-collection{gap:20px}.archive-access-note{margin-bottom:22px}.archive-access-note a{margin-right:8px}.resource:disabled{cursor:not-allowed}.resource.answer.locked{background:var(--ink)}
@media(max-width:540px){.department-options{padding:0 7px;gap:0;justify-content:space-between}.department-options button{font-size:12px;padding:14px 10px;min-height:52px}.department-options button[aria-pressed=true]:after{left:8px;right:8px}.header-right{gap:12px}.header-link{display:inline}.school-collection{gap:16px}.exam-type{font-size:24px}.year-note{line-height:1.75}}
@media(max-width:360px){.header-right{gap:8px}.header-link{font-size:10px}.brand img{width:66px}.brand span{font-size:12px}.department-options button{padding-inline:8px}}
