:root { color-scheme:light; font-family:Inter,ui-sans-serif,system-ui,sans-serif; background:#f3f1eb; color:#171713; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; min-height:100vh; background:radial-gradient(circle at 84% 0,#d6e6fa 0,transparent 30%),#f3f1eb; }
main { width:min(1180px,calc(100% - 40px)); margin:auto; padding:24px 0 80px; }
.site-header { display:flex; align-items:center; justify-content:space-between; padding-bottom:18px; border-bottom:1px solid #cfcdc5; color:#62625d; font:650 12px/1 ui-monospace,monospace; letter-spacing:.05em; text-transform:uppercase; }
.brand { display:flex; align-items:center; gap:10px; color:#171713; text-decoration:none; }
.site-nav { display:flex; align-items:center; gap:6px; }
.site-nav a { border-radius:7px; padding:8px 10px; color:#62625d; text-decoration:none; }
.site-nav a:hover,.site-nav a[aria-current="page"] { background:rgba(255,255,255,.72); color:#171713; }
.mark { width:11px; height:11px; background:#1f70c1; border-radius:3px; box-shadow:8px 8px 0 #e6a541; }
.hero { max-width:840px; padding:clamp(70px,11vw,130px) 0 72px; }
.eyebrow { margin:0; color:#65717d; font:700 11px/1.4 ui-monospace,monospace; letter-spacing:.11em; text-transform:uppercase; }
h1 { margin:16px 0 24px; font-size:clamp(44px,7.3vw,82px); line-height:.96; letter-spacing:-.055em; }
.hero>p:last-child { max-width:650px; margin:0; color:#555550; font-size:19px; line-height:1.6; }
.workspace { display:grid; grid-template-columns:minmax(300px,.78fr) minmax(420px,1.22fr); align-items:start; gap:24px; }
.form-panel,.list-panel { border:1px solid #d1cfc7; border-radius:18px; background:rgba(255,255,255,.68); box-shadow:0 14px 40px rgba(38,38,31,.04); }
.form-panel { padding:30px; position:sticky; top:24px; }
.list-panel { padding:30px; min-height:440px; }
.section-heading { margin-bottom:28px; }
.section-heading h2 { margin:7px 0 0; font-size:26px; letter-spacing:-.03em; }
.list-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; padding-bottom:22px; border-bottom:1px solid #dedcd5; }
.count { color:#666660; font:650 12px/1.4 ui-monospace,monospace; white-space:nowrap; }
form { display:grid; grid-template-columns:1fr 1fr; gap:20px 16px; }
.field { display:flex; flex-direction:column; gap:8px; }
.field-wide { grid-column:1/-1; }
label { font-size:14px; font-weight:700; }
input,textarea,select { width:100%; border:1px solid #bdbbb3; border-radius:9px; padding:11px 12px; background:#fff; color:#171713; font:inherit; line-height:1.4; }
textarea { resize:vertical; min-height:116px; }
input:hover,textarea:hover,select:hover { border-color:#777771; }
input:focus-visible,textarea:focus-visible,select:focus-visible,button:focus-visible,.brand:focus-visible { outline:3px solid #8abbe9; outline-offset:2px; border-color:#1f70c1; }
.hint { color:#6a6a65; font-size:12px; line-height:1.45; }
button { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; min-height:46px; margin-top:4px; border:0; border-radius:9px; padding:0 16px; background:#171713; color:#fff; font:700 14px/1 system-ui,sans-serif; cursor:pointer; }
button:hover { background:#1f70c1; }
.filters { display:flex; flex-wrap:wrap; gap:14px 16px; margin-bottom:22px; }
.filter { display:flex; flex-direction:column; gap:7px; flex:1 1 150px; min-width:130px; }
.filter label { color:#62625d; font:700 11px/1.4 ui-monospace,monospace; letter-spacing:.06em; text-transform:uppercase; }
.filter select { padding:9px 11px; }
.decision-list { display:grid; gap:14px; margin:0; padding:0; list-style:none; }
.decision-card { padding:21px; border:1px solid #d9d7d0; border-radius:12px; background:#fff; }
.decision-card:focus-visible { outline:3px solid #8abbe9; outline-offset:2px; border-color:#1f70c1; }
.decision-meta { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:14px; }
.badge { border-radius:99px; padding:5px 8px; font:750 10px/1 ui-monospace,monospace; letter-spacing:.07em; text-transform:uppercase; }
.badge-proposed { background:#fff0c7; color:#72520a; }
.badge-accepted { background:#dcefdc; color:#205d2b; }
.badge-superseded { background:#e8e6e2; color:#5c5b56; }
.date { color:#74746e; font:600 11px/1.4 ui-monospace,monospace; }
.decision-card h3 { margin:0 0 10px; font-size:20px; line-height:1.3; letter-spacing:-.02em; overflow-wrap:anywhere; }
.context { margin:0; color:#555550; line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; }
.owner { display:flex; gap:10px; margin:18px 0 0; padding-top:15px; border-top:1px solid #ebe9e3; font-size:13px; overflow-wrap:anywhere; }
.owner-label { color:#777771; font:700 10px/1.5 ui-monospace,monospace; letter-spacing:.08em; text-transform:uppercase; }
.empty-state { padding:58px 20px; color:#696963; text-align:center; }
.empty-state p { margin:5px 0; }
.empty-state .empty-title { color:#282824; font-size:18px; font-weight:700; }
.notice { margin:0 0 16px; border-radius:8px; padding:10px 12px; background:#fff0c7; color:#644a0b; font-size:13px; }
@media(max-width:800px) { .workspace{grid-template-columns:1fr}.form-panel{position:static}.hero{padding-bottom:52px} }
@media(max-width:520px) { main{width:calc(100% - 24px);padding-top:18px}.site-header{align-items:flex-start;gap:18px}.site-nav{align-items:flex-end;flex-direction:column}.form-panel,.list-panel{padding:21px}.hero{padding-top:60px}form{grid-template-columns:1fr}.field{grid-column:1/-1}.list-heading{align-items:start;flex-direction:column;gap:10px}.filters{flex-direction:column;gap:14px}.filter{flex:1 1 auto} }
@media(prefers-reduced-motion:reduce) { html{scroll-behavior:auto} }
