:root{color-scheme:light;font-family:system-ui,-apple-system,"Yu Gothic",Meiryo,sans-serif;background:#f8fafc;color:#1e293b}
*{box-sizing:border-box}body{margin:0}main{max-width:1040px;padding:clamp(16px,3vw,36px);margin:auto}
h1{font-size:clamp(1.5rem,3vw,2.3rem);line-height:1.3;margin:.2rem 0}h2{font-size:1.15rem}
.eyebrow{font-size:.82rem;letter-spacing:.08em;color:#0369a1;font-weight:bold}
header{padding:24px 0}.controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:16px 0}
label{display:grid;gap:5px;font-size:.9rem;font-weight:600}
input,select,button{font:inherit;border:1px solid #64748b;border-radius:7px;padding:10px;min-height:44px;background:white;color:inherit}
input{min-width:225px}button{cursor:pointer;background:#e0f2fe;border-color:#0284c7}
button:hover{background:#bae6fd}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #0ea5e9;outline-offset:2px}
#table{margin:12px 0 28px;min-height:260px}#summary{font-weight:700;color:#075985}
section.notes{padding:16px;border-left:4px solid #0ea5e9;background:#f0f9ff}
a{color:#075985}@media(max-width:620px){input{min-width:0;width:100%}.controls label{width:100%}.controls button{flex:1}main{padding:16px}}
