
:root{font-family:system-ui,"Noto Sans TC",sans-serif;color:#232c35;background:#f5f5f0;--ink:#162b32;--muted:#52636b;--accent:#14695f;--line:#d9e0dd;--paper:#fff;--soft:#e3efea;--dark:#123239}
*{box-sizing:border-box}body{margin:0}a{color:var(--accent);text-underline-offset:.22em}button,input,select{font:inherit}button,select{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #df8d53;outline-offset:3px}.skip{position:absolute;left:1rem;top:-9rem;background:white;padding:.8rem;z-index:5}.skip:focus{top:1rem}
.top,.footer{padding:1rem max(5vw,calc((100vw - 1240px)/2));display:flex;align-items:center;justify-content:space-between;gap:1rem;background:#fff}.top{border-bottom:1px solid var(--line)}.brand{color:var(--ink);text-decoration:none;font-weight:800;display:flex;gap:.65rem;align-items:center;white-space:nowrap}.mark{width:23px;height:23px;border-radius:50%;border:5px solid #9d425a;box-shadow:inset 0 0 0 2px #f2c4c5}.top nav{display:flex;gap:clamp(.7rem,2.5vw,2rem)}.top nav a{color:var(--muted);text-decoration:none;font-weight:650}.top nav a[aria-current]{color:var(--accent);text-decoration:underline}.footer{border-top:1px solid var(--line);font-size:.88rem;color:var(--muted);flex-wrap:wrap}
main{max-width:1240px;margin:auto;padding:2rem 4vw 4rem;min-height:76vh}h1,h2,h3,p{margin-top:0}h1{color:var(--ink);font-size:clamp(2rem,5.2vw,4.25rem);line-height:1.12;letter-spacing:-.06em}h2{font-size:clamp(1.3rem,3vw,1.95rem);color:var(--ink);line-height:1.28}h3{line-height:1.35}p,li,td{line-height:1.65}.muted,.credit,.english{color:var(--muted)}.credit{font-size:.8rem}.english{font-size:.88rem;margin-bottom:.6rem}
.hero{background:var(--dark);color:#e5f3ee;border-radius:25px;overflow:hidden;display:grid;grid-template-columns:1fr 44%;min-height:365px;margin-bottom:2.4rem}.hero h1{color:white;margin:.5rem 0 1rem}.hero-copy{padding:clamp(1.5rem,4vw,3.75rem);align-self:center}.hero-copy p{max-width:35rem}.eyebrow{font-size:.82rem;letter-spacing:.14em;font-weight:750;text-transform:uppercase;margin-bottom:.45rem}.hero-photo{min-height:245px;position:relative;margin:0}.hero-photo img{width:100%;height:100%;position:absolute;object-fit:cover}.hero-photo figcaption{position:absolute;bottom:.6rem;right:.6rem;background:#10282f;color:white;padding:.35rem .6rem;border-radius:6px;font-size:.72rem}.hero-photo a{color:white}
.actions,.filters,.tags,.page-nav{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}.button,.chip{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:9px;padding:.55rem .85rem;background:var(--paper);color:var(--ink);font-weight:700;text-decoration:none}.button.primary,.chip[aria-pressed=true]{background:var(--accent);color:white;border-color:var(--accent)}.hero .button.primary{background:#cbebdc;border-color:#cbebdc;color:#143933}.hero .button{background:transparent;color:white;border-color:#6e9a92}.button:hover,.chip:hover{box-shadow:0 0 0 2px #90bdaf}.intro{max-width:52rem}.section{margin-top:2rem}.section h2{margin-bottom:.65rem}label{font-weight:650}.search{width:min(100%,34rem);padding:.73rem .9rem;border-radius:9px;border:1px solid var(--line);background:white;color:var(--ink)}.filters{margin:1rem 0}.list-title{display:flex;align-items:baseline;justify-content:space-between;gap:1rem}.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,275px),1fr));gap:1rem}.card{background:white;border:1px solid var(--line);border-radius:15px;overflow:hidden;min-width:0}.pad{padding:1.15rem}.chapter-list{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem}.chapter-link{display:flex;align-items:flex-start;gap:.8rem;padding:1rem;background:white;border:1px solid var(--line);border-radius:12px;text-decoration:none;color:var(--ink)}.chapter-link:hover{border-color:var(--accent)}.chapter-link strong{display:block;margin-bottom:.25rem}.chapter-link small{display:block;color:var(--muted)}.num,.tag{display:inline-block;background:var(--soft);color:#1c5a52;border-radius:6px;padding:.24rem .5rem;font-weight:700;font-size:.82rem;white-space:nowrap}.tag.abnormal{color:#812e49;background:#fae9ee}.thumb{display:block;width:100%;border:0;padding:0;background:#ece8eb;position:relative;text-align:left}.thumb img{display:block;width:100%;aspect-ratio:1.65;object-fit:contain}.thumb span{position:absolute;right:.6rem;bottom:.5rem;background:#182a33;color:white;border-radius:7px;padding:.3rem .55rem;font-size:.78rem}.table-wrap{overflow:auto;background:white;border:1px solid var(--line);border-radius:12px}table{border-collapse:collapse;width:100%;min-width:560px}th,td{padding:.8rem 1rem;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}thead{background:var(--soft)}tbody tr:last-child td,tbody tr:last-child th{border-bottom:0}tbody th{min-width:9rem}.page-nav{margin:2rem 0;justify-content:space-between}.book{border:1px solid var(--line);background:#ecf2ee;border-radius:15px;padding:1.2rem}.book p:last-child{margin-bottom:0}.book-actions{display:flex;flex-wrap:wrap;gap:.5rem}.practice{max-width:53rem}.quiz-options{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin:1rem 0}.quiz-options button{white-space:normal;text-align:left;justify-content:flex-start}.quiz-options .right{background:#d4f0e3;border-color:#278068}.quiz-options .wrong{background:#fee7e7;border-color:#a95064}.feedback{padding:.85rem;background:var(--soft);border-radius:10px;margin:.65rem 0}.quiz-controls{margin:1rem 0}dialog{width:min(95vw,1050px);max-height:92vh;border:0;border-radius:15px;padding:1.2rem;color:var(--ink)}dialog::backdrop{background:#0a1b22ce}dialog form{float:right}dialog img{display:block;max-width:100%;max-height:68vh;margin:0 auto 1rem;object-fit:contain}dialog button{padding:.4rem .7rem}.note-list{padding-left:1.35rem}.note-list li+li{margin-top:.45rem}.empty{padding:1rem;background:white;border-radius:10px}
@media(max-width:800px){.chapter-list{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){main{padding-top:1.2rem}.top{align-items:flex-start;flex-direction:column}.hero{grid-template-columns:1fr}.hero-photo{min-height:210px}.chapter-list,.quiz-options{grid-template-columns:1fr}.footer p{margin:0}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.pdf-page{display:block;max-width:100%;height:auto;margin:1rem auto;border:1px solid var(--line);background:white}.pad h3{margin:.65rem 0}.button:disabled{cursor:default;opacity:.7}

.book-highlights{margin-top:1rem}.book-highlights p{margin-bottom:.5rem}
