/* Compact chapter reader; contains the cover at every screen size. */
body .hero{padding:30px 0 20px}
body .hero-grid{grid-template-columns:1fr 360px;gap:25px}
body h1{font-size:clamp(2.4rem,5vw,3.6rem);margin:10px 0}
body .dek{font:16px/1.5 system-ui;margin-bottom:0}
body .hero-image{height:165px;overflow:hidden;min-width:0}
body .hero-image img{display:none}
.model-cover{height:160px;width:100%;display:block;background:#0b131a;border:1px solid #253743}
body .hero .note{font-size:14px;padding:12px 15px;margin:15px 0 0}
.chart-reading{margin:0 0 20px;background:transparent;padding:0;border:0}
.chart-reading>summary{padding:14px 16px;background:#0b131a;border:1px solid #253743;color:#3be0a5}
body .visual-guide{margin:0;padding:18px}
body .visual-guide h2{font-size:1.5rem}
.chapter-nav a{padding:10px 12px;border-left:2px solid transparent;border-bottom:1px solid #15232d}
.chapter-nav a[aria-current=true]{background:#0c2320;border-left-color:#3be0a5;color:#eef4f8;font-weight:700}
.chapter-status{color:#3be0a5;font:700 13px monospace;letter-spacing:.06em;margin-bottom:12px}
article section[hidden]{display:none!important}
.chapter-pager{display:flex;justify-content:space-between;gap:12px;padding:16px 0;border-top:1px solid #253743}
.chapter-pager button{min-height:44px;padding:10px 16px;background:#0b131a;border:1px solid #253743;color:#eef4f8;font:600 14px system-ui;cursor:pointer}
.chapter-pager button:disabled{opacity:.35;cursor:default}
.chapter-pager button:last-child{color:#3be0a5}
.chapter-intro{color:#eef4f8;font-size:17px;line-height:1.5;max-width:650px}
.chapter-detail{margin:15px 0}
.chapter-detail>summary{font-size:14px;color:#adbec8}
.chapter-detail p{font-size:15px}
.shock-highlight{color:#f0b85a;background:#f0b85a18;border-bottom:2px solid #f0b85a;padding:2px 5px;white-space:nowrap;font-weight:800}
.demo .shock-context{font-size:14px;line-height:1.5;border-left:2px solid #f0b85a;padding-left:12px}
.formula-citation{font:13px/1.5 system-ui;color:#adbec8;margin-top:12px}
.reference-group li{margin-bottom:12px}.reference-group li span{display:block;font:14px/1.5 system-ui;color:#adbec8;margin-top:3px}.reference-group summary{color:#3be0a5}.reference-group ul{padding-left:20px;margin-bottom:0}.reference-group a{font-size:15px}
.chapter-figure{padding:18px;border:1px solid #253743;background:#0b131a;margin:15px 0}
.chapter-figure svg{display:block;width:100%;height:120px}
.chapter-figure figcaption{font-size:14px}
@media(max-width:700px){body .hero-grid{grid-template-columns:1fr;gap:12px}body .hero-image{height:120px}.model-cover{height:115px}body .hero{padding:20px 0 16px}body .hero .note{font-size:13px}body .layout{gap:12px}.chapter-nav{position:sticky;top:0;background:#06090d;z-index:2;padding:5px 0;gap:8px}.chapter-nav a{font-size:14px;padding:9px 12px;border:1px solid #253743}.chapter-nav a[aria-current=true]{border-color:#3be0a5}body .guide-icon{height:50px;margin-bottom:8px}body .guide-card{padding:14px}body .visual-guide{padding:15px}body .visual-guide>p{margin:8px 0}body .guide-grid{margin-top:12px}body section{padding:18px 0}body h2{font-size:1.55rem}body .demo{padding:15px}body .demo>p{font-size:14px}body .demo-grid{gap:10px}.chapter-intro{font-size:16px}body .result-panel{padding:15px}body .demo label{margin-top:10px}body .demo figcaption{font-size:12px}body .hero h1{font-size:2.5rem}body .hero .dek{font-size:15px}}
