.language-switch{display:inline-flex;gap:3px;border:1px solid #b7cec5;border-radius:6px;padding:3px;background:#f1f6f2;white-space:nowrap;line-height:1.5;margin-left:auto}
.language-switch a{display:inline-block;padding:6px 10px;text-decoration:none;border-radius:3px;font-size:13px}
.language-switch a[aria-current=page]{background:#087c73;color:#fff;font-weight:700}
.language-switch a:focus-visible{outline:3px solid #b65b35;outline-offset:2px}
html[lang=en-GB] body{line-height:1.8;overflow-wrap:break-word}
html[lang=en-GB] h1{font-size:36px;line-height:1.3}
html[lang=en-GB] h2{font-size:27px;line-height:1.4}
html[lang=en-GB] h3{line-height:1.5}
html[lang=en-GB] .card h2{font-size:22px}
html[lang=en-GB] .toc ol{column-gap:40px}
html[lang=en-GB] .top{gap:14px}
html[lang=en-GB] .top strong{flex-basis:100%}
html[lang=en-GB] .equation.scrollable::before{content:'↔ Scroll horizontally to read the full formula'}
.schematic svg{cursor:zoom-in}
.lightbox .zoomed-svg{display:block;margin:0 auto;width:min(900px,180vw);max-width:none;height:auto;background:#fff;font-family:CourseHK,sans-serif}
@media(max-width:700px){.schematic::after{content:'點按圖解可放大';display:block;font-size:12px;color:#58716d;padding:4px 6px 2px}html[lang=en-GB] .schematic::after{content:'Tap the diagram to enlarge'}}
.language-reading-note{font-size:13px;color:#566d6c}
@media(max-width:700px){.language-switch{margin-left:0}html[lang=en-GB] h1{font-size:28px}html[lang=en-GB] h2{font-size:24px}html[lang=en-GB] .top{gap:10px}html[lang=en-GB] .worked>h3{font-size:22px}}
@media print{.language-switch{display:none!important}.schematic::after{display:none!important}html[lang=en-GB] h1{font-size:25pt}html[lang=en-GB] h2{font-size:18pt}}
