:root { --paper:#fbfaf6; --ink:#20263f; --blue:#354a9c; --paper-3:#fff; --blue-tint:#eceffb; --rule:#d9dbe4; --blue-deep:#19264c; }
body { background:var(--paper); }
.reader-mast { border-bottom:1px solid var(--rule); background:#fbfaf6; }
.reader-mast>div,.reader-foot,.read-wrap { width:min(100% - 40px,1080px); margin-inline:auto; }
.reader-mast>div,.reader-mast nav,.reader-foot { display:flex; justify-content:space-between; align-items:center; gap:18px; }
.reader-mast>div { min-height:62px; }
.reader-mast a,.reader-foot a,.crumb,.next-topic { text-decoration:none; color:var(--ink); }
.reader-mast a:hover,.reader-foot a:hover,.crumb:hover,.next-topic:hover { color:var(--blue); text-decoration:underline; }
.wordmark { font:800 1.14rem/1.2 system-ui,sans-serif; letter-spacing:.08em; }
.wordmark span { font-size:.86rem; letter-spacing:.02em; margin-left:8px; }
.reader-mast nav,.reader-foot { font-size:.87rem; }
.reader-foot { border-top:1px solid var(--rule); padding:20px 0 28px; margin-top:32px; }
.topic-intro { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:30px; align-items:center; padding:38px 0 28px; }
.crumb { font-size:.82rem; color:var(--blue); }
.topic-intro h1,.sec-head h1 { font-size:clamp(2.1rem,5vw,4.2rem); line-height:1.12; margin:14px 0; letter-spacing:-.045em; }
.topic-intro p { color:#47516b; max-width:29em; line-height:1.75; }
.topic-intro figure { margin:0; background:#edf1fa; border:1px solid #cfd7ec; border-radius:16px; padding:12px; text-align:center; }
.topic-intro figcaption { font-size:.88rem; font-weight:650; margin-top:3px; }
.mechanism { width:100%; max-height:190px; }
.mechanism path,.mechanism circle,.mechanism rect { stroke:#44569b; stroke-width:2.3; fill:#fafbff; stroke-linecap:round; stroke-linejoin:round; }
.mechanism path { fill:none; }
.mechanism .filled { fill:#e1ddfb; }
.mechanism .dot { fill:#de704a; stroke:#aa4f32; }
.mechanism text { text-anchor:middle; fill:#19233f; font:650 14px system-ui,sans-serif; }
.mechanism text.small { fill:#47577d; font:550 12px system-ui,sans-serif; }
.units { border-top:1px solid var(--rule); }
details.unit { margin:0; border:0; border-radius:0; border-bottom:1px solid var(--rule); background:transparent; padding:0; max-width:none; scroll-margin:12px; }
.unit>summary { display:flex; gap:16px; justify-content:space-between; align-items:center; padding:18px 5px; color:var(--ink); list-style:none; }
.unit>summary::-webkit-details-marker { display:none; }
details.unit>summary::before,details.unit[open]>summary::before { content:none; }
.unit>summary:after { content:'＋'; color:var(--blue); font-size:1.4rem; }
.unit[open]>summary:after { content:'−'; }
.unit>summary strong,.unit>summary small { display:block; }
.unit>summary strong { font-size:1.15rem; }
.unit>summary small { margin-top:4px; font-size:.94rem; font-weight:400; line-height:1.6; color:#485168; }
.unit .lesson-b { background:white; border:1px solid var(--rule); border-radius:12px; padding:clamp(16px,3vw,30px); margin:0 0 20px; }
.unit .lesson-b p { max-width:56em; }
.next-topic { display:inline-block; margin-top:24px; font-weight:650; color:var(--blue); }
.lab .sec-head h1 { color:white; }
@media(max-width:680px){.topic-intro{grid-template-columns:1fr;gap:14px;padding:22px 0}.topic-intro p{margin:0}.topic-intro figure{padding:6px}.mechanism{max-height:150px}.reader-mast>div,.reader-foot,.read-wrap{width:calc(100% - 28px)}.wordmark span{font-size:.76rem}.reader-mast nav{gap:12px}}
