:root { --ink:#101214; --paper:#ffffff; --accent:#b3122b; --muted:#5a6169; }
* { box-sizing:border-box; }
body { margin:0; font:16px/1.55 "Inter","Helvetica Neue",Arial,sans-serif; color:var(--ink); background:var(--paper); }
.site-head { display:flex; gap:2rem; align-items:baseline; padding:1.1rem 1.4rem; border-bottom:1px solid #e3e6ea; }
.brand { font-weight:800; letter-spacing:.08em; text-decoration:none; color:var(--ink); }
.site-head nav a { margin-right:1rem; color:var(--muted); text-decoration:none; }
.site-head nav a:hover { color:var(--accent); }
.wrap { max-width:940px; margin:0 auto; padding:1.7rem 1.4rem 3rem; }
h1 { font-size:1.85rem; margin:.2rem 0 .6rem; }
.lede { color:var(--muted); }
.grid { width:100%; border-collapse:collapse; margin:1rem 0; }
.grid th, .grid td { text-align:left; padding:.45rem .5rem; border-bottom:1px solid #e3e6ea; }
.inline { display:flex; gap:.5rem; margin:1rem 0; }
.inline input { flex:1; padding:.5rem; border:1px solid #c8ced6; }
.stack { display:grid; gap:.6rem; max-width:420px; }
.stack input { padding:.5rem; border:1px solid #c8ced6; font:inherit; }
button { background:var(--ink); color:#fff; border:0; padding:.55rem 1rem; cursor:pointer; }
.btn-prymary { background:var(--accent); }
.err { color:#a00; } .ok { color:#070; }
.preview { background:#0e1116; color:#d6e2f0; padding:1rem; overflow:auto; font-size:.8rem; }
.site-foot { border-top:1px solid #e3e6ea; padding:1.4rem; font-size:.85rem; color:var(--muted); }
.site-foot .legal { max-width:64ch; }
