:root{color-scheme:light;background:#faf7f7;color:#302237;font:16px/1.65 "DM Sans",system-ui,sans-serif}
*{box-sizing:border-box}
body{margin:0}
header,main,footer{max-width:880px;margin:auto;padding-inline:clamp(18px,5vw,42px)}
header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-block:18px}
a{color:#603b71;text-underline-offset:.18em}
a:focus-visible{outline:2px solid #603b71;outline-offset:4px}
.wordmark{font-weight:700;font-size:1.8rem;letter-spacing:.12em;color:#281830;text-decoration:none}
.wordmark span{color:#87579b}
.intro{background:linear-gradient(110deg,#faeaf1,#eee2fa);padding:clamp(22px,6vw,48px);border-radius:26px}
h1,h2{font:400 clamp(2.15rem,6vw,4rem)/1 "Instrument Serif",Georgia,serif;margin:0 0 12px}
h2{font-size:clamp(1.95rem,5vw,2.8rem)}
nav{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
nav a{display:inline-flex;align-items:center;min-height:44px;background:#fff;padding:6px 12px;border-radius:12px}
section{margin-top:16px;padding:clamp(18px,4vw,30px);border:1px solid #e4dbe8;background:#fff;border-radius:20px;scroll-margin-top:12px}
dt{font-weight:700}dd{margin:0 0 10px}li+li{margin-top:6px}
.sources{font-size:.9rem;margin-bottom:0}
footer{color:#63546c;font-size:.9rem;padding-block:24px}
#measurement{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px}
#measurement label{display:grid;gap:4px;font-weight:600}
#measurement input,#measurement button{font:inherit;border:1px solid #cbb8d3;border-radius:10px;padding:8px;min-height:44px;background:#fff;color:inherit}
#measurement input{width:100%}
#measurement .measurement-check{display:flex;align-items:center}
#measurement .measurement-check input{width:22px}
#measurement button[type=submit]{background:#603b71;color:white;cursor:pointer}
#syringe-scale{display:block;width:min(100%,380px);margin:auto}
#syringe-scale[hidden]{display:none}
details summary{cursor:pointer;color:#603b71;font-weight:700}
