:root{color-scheme:light;font-family:system-ui,-apple-system,"Noto Sans",sans-serif;color:#183e38;background:#f8faf7;line-height:1.8}*{box-sizing:border-box}body{margin:0}a{color:#226c60;text-underline-offset:.2em}button,select{font:inherit}a:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b06c19;outline-offset:4px}.chapter-top{display:flex;justify-content:space-between;align-items:center;padding:12px max(16px,calc((100vw - 1120px)/2));gap:16px;background:#fff;border-bottom:1px solid #d5e4dd}.chapter-top a{min-height:56px;display:flex;align-items:center;gap:10px;font-weight:800;text-decoration:none}#chapter-app{max-width:1120px;margin:auto;padding:24px 20px 80px}h1{font-size:clamp(1.7rem,4vw,2.8rem);line-height:1.35}h2{font-size:1.4rem}h3{font-size:1.1rem}.chapter-kicker{font-weight:750;color:#54776b}.chapter-notice{background:#edf4f0;padding:16px;border-radius:12px}.chapter-filters{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;margin:24px 0}.chapter-filters label{display:grid;gap:4px}.chapter-filters select{min-height:56px;max-width:100%;padding:8px;border:1px solid #adc7bb;border-radius:10px;background:#fff}.chapter-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px}.chapter-card{padding:24px;border:1px solid #d5e4dd;background:#fff;border-radius:18px}.chapter-card a{display:flex;align-items:center;min-height:56px;font-weight:750}.chapter-card p{color:#4e6e63}.chapter-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px;align-items:start}.chapter-toc{position:sticky;top:16px;padding:16px;background:#edf4f0;border-radius:16px}.chapter-toc a{display:flex;align-items:center;min-height:56px}.chapter-body{min-width:0}.chapter-section{padding:24px;background:#fff;border:1px solid #d5e4dd;border-radius:18px;margin-bottom:20px;scroll-margin-top:18px}.chapter-section li{margin:12px 0}.chapter-section p{white-space:pre-line}.chapter-figure{margin:24px 0;padding:12px;background:#f7faf7;border-radius:16px}.chapter-figure svg{display:block;width:100%;height:auto;max-height:290px}.chapter-figure figcaption{padding:12px;color:#46685d;font-size:.95rem}.chapter-answer{border:1px solid #adc7bb;border-radius:12px;padding:0 16px}.chapter-answer summary{cursor:pointer;min-height:56px;display:flex;align-items:center;font-weight:750}.chapter-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:18px}.chapter-actions a{min-height:56px;display:flex;align-items:center;padding:10px 20px;border:1px solid #247568;border-radius:12px;text-decoration:none;font-weight:750}.chapter-practice{background:#247568;color:#fff}.chapter-disabled{color:#6d736d}.chapter-body,.chapter-card,h1{overflow-wrap:anywhere}.chapter-body li,.chapter-body p{max-width:75ch}.chapter-steps{padding-left:26px}@media(max-width:740px){.chapter-layout{grid-template-columns:1fr;gap:16px}.chapter-toc{position:static}.chapter-toc nav{display:flex;flex-wrap:wrap;gap:8px 16px}.chapter-toc a{padding:0 8px}#chapter-app{padding:16px 12px 60px}.chapter-section{padding:18px}.chapter-top{padding:8px 12px}.chapter-top a{font-size:.95rem}.chapter-filters label{width:100%}}
