:root{color-scheme:light;--navy:#233b62;--ink:#182e4b;--muted:#435773;--line:#ccdbdf;--paper:#f6f8f3;--mint:#dcefe5;font-family:system-ui,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}
body{margin:0;line-height:1.55}
a{color:#214e72;text-underline-offset:.18em}
a:focus-visible,button:focus-visible,textarea:focus-visible,input:focus-visible{outline:3px solid #206b99;outline-offset:3px}
header{background:#fff;border-bottom:1px solid var(--line)}
.shell{width:min(100% - 2rem,67rem);margin:auto}
nav{display:flex;align-items:center;flex-wrap:wrap;gap:.7rem 1.25rem;padding:1rem 0}
nav a:first-child{font-weight:800;margin-right:auto}
main{padding:2rem 0 3rem}
h1,h2,h3{line-height:1.18}
h1{font-size:clamp(2rem,5vw,3.4rem);letter-spacing:-.045em;margin:.3em 0}
h2{margin:1.8rem 0 .65rem}
p{max-width:75ch}
.lede{font-size:1.14rem;color:var(--muted)}
.note,.panel,.guide-card{background:white;border:1px solid var(--line);border-radius:1rem;padding:1rem 1.25rem}
.note{background:var(--mint)}
.guide-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:.8rem}
.guide-card h3{margin:0 0 .5rem;font-size:1.08rem}
.guide-card p{margin:0 0 .55rem}
.guide-card p:last-child{margin-bottom:0}
.actions{display:flex;align-items:center;flex-wrap:wrap;gap:.7rem;margin:.7rem 0}
button{min-height:44px;border-radius:.6rem;border:1px solid var(--line);padding:.55rem .9rem;color:var(--ink);background:#fff;font:inherit;font-weight:700;cursor:pointer}
button.primary{color:#fff;background:var(--navy);border-color:var(--navy)}
button:disabled{opacity:.62;cursor:default}
label{font-weight:700}
textarea,input[type=text]{display:block;width:100%;padding:.65rem;border:1px solid #8297a7;border-radius:.55rem;font:inherit;color:var(--ink);background:#fff}
textarea{min-height:5.5rem;resize:vertical}
#batch{min-height:8rem}
.response-edit{border-top:1px solid var(--line);padding:1rem 0}
.response-edit textarea{margin:.5rem 0}
#status{min-height:1.6rem;margin:.35rem 0}
dialog{width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;overflow:auto;background:var(--paper);color:var(--ink)}
.projection{width:min(100% - 2rem,78rem);margin:auto;padding:1rem 0 2rem}
.projection h2{font-size:clamp(1.7rem,4vw,3rem);overflow-wrap:anywhere}
.projection ol{padding-left:1.8em;display:grid;gap:.8rem;font-size:clamp(1.25rem,3vw,2.4rem)}
.projection li{padding:.5em .8em;background:#fff;border:1px solid var(--line);border-radius:.6rem;white-space:pre-wrap;overflow-wrap:anywhere}
footer{padding:1.25rem 0;border-top:1px solid var(--line)}
@media print{header,footer,.guide-links{display:none}body{background:#fff}.guide-card{break-inside:avoid}main{padding:0}}
