:root {--heading:Arial,Helvetica,sans-serif;--body:Arial,Helvetica,sans-serif;--paper:#f4efe3;--ink:#292b28;--charcoal:var(--ink);--cream:#e8dfc9;--clay:#ad5a3f}
html[data-palette="moss"] {--paper:#f4f2e9;--cream:#e1e5d4;--ink:#27352c;--clay:#4b6342}
html[data-palette="blue"] {--paper:#f2f3ef;--cream:#dce5e7;--ink:#27343e;--clay:#36617a}
html[data-palette="ochre"] {--paper:#f6f0df;--cream:#eadfbf;--ink:#353027;--clay:#805e20}
html[data-font="editorial"] {--heading:Georgia,'Times New Roman',serif}
html[data-font="technical"] {--heading:'Trebuchet MS',Arial,sans-serif;--body:Verdana,Arial,sans-serif}
body,body.site,button,select,input {font-family:var(--body)}h1,h2,h3,.site h1,.site h2,.site h3 {font-family:var(--heading)}body {color:var(--ink)}
button,select {font-size:.85rem;min-height:44px;padding:.65rem .85rem;border:1px solid var(--ink);background:var(--paper);color:var(--ink);border-radius:0;cursor:pointer}button:hover {background:var(--cream)}:focus-visible {outline:3px solid var(--clay);outline-offset:4px}[hidden] {display:none!important}
.site .masthead {flex-wrap:wrap}.site nav {flex-wrap:wrap;gap:18px}.site-logo {background:#e8dfc9;padding:8px}.theme-open {white-space:nowrap}.site .process-step {border-color:currentColor}.site .step-number {color:white}.site .small-note {color:var(--cream)}
dialog {width:min(560px,calc(100% - 24px));max-height:90dvh;overflow:auto;padding:24px;border:2px solid var(--ink);background:var(--paper);color:var(--ink);box-shadow:8px 8px 0 var(--clay);font-size:15px}dialog::backdrop {background:rgb(20 25 22 / .65)}.editor-heading {display:flex;gap:18px;align-items:center;justify-content:space-between}.editor-heading h2 {margin:0;font-size:28px}.editor-heading button {font-size:24px}dialog fieldset {border:0;padding:12px 0;margin:0}dialog legend {font-weight:bold}dialog label {display:flex;align-items:center;gap:12px;min-height:44px;padding:8px;border-bottom:1px solid var(--cream);cursor:pointer}dialog input {accent-color:var(--clay);width:18px;height:18px}.swatch {width:30px;height:20px;background:linear-gradient(90deg,#e8dfc9 50%,#ad5a3f 50%);border:1px solid #292b28}.swatch.moss {background:linear-gradient(90deg,#e1e5d4 50%,#4b6342 50%)}.swatch.blue {background:linear-gradient(90deg,#dce5e7 50%,#36617a 50%)}.swatch.ochre {background:linear-gradient(90deg,#eadfbf 50%,#805e20 50%)}input[name="font"]+.swatch {display:none}.editor-actions {display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}dialog [role=status] {min-height:24px;font-size:13px}
@media(max-width:760px){.site nav {justify-content:flex-start;gap:12px}.site nav a {min-height:44px}.theme-open {margin-left:auto}}
@media(prefers-reduced-motion:reduce){html {scroll-behavior:auto}}
