@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Barlow:wght@400;500;600;700&display=swap');
:root{--ink:#26221f;--muted:#675e58;--line:#e8e0d9;--surface:#fff;--orange:#b63816;--wash:#fcfaf8;--title:"Barlow Condensed","Arial Narrow",sans-serif}
*{box-sizing:border-box}
body{margin:0;background:var(--wash);font:16px Barlow,Arial,sans-serif;color:var(--ink)}
a{color:#aa3213;text-underline-offset:.17em}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a53314;outline-offset:3px}
h1,h2,h3{font-family:var(--title);line-height:1.05}
h2{font-size:2rem;margin:0 0 .65rem}
h3{font-size:1.35rem;margin-bottom:.5rem}
p{line-height:1.45}
.wrap{width:min(1180px,calc(100% - 56px));margin-inline:auto}
.top{min-height:78px;display:flex;justify-content:space-between;gap:14px;align-items:center}
.brand{text-decoration:none;font:800 1.75rem/1 var(--title);letter-spacing:.045em;color:var(--orange)}
.brand span{display:grid;text-align:center}
.brand small{font-size:.57rem;letter-spacing:.42em;margin-left:.42em}
.brand img{width:auto;max-width:145px;max-height:52px;object-fit:contain;display:block}
.identity{display:flex;align-items:center;gap:14px;text-align:right}
.identity small,small{display:block;color:var(--muted)}
.hero{background:linear-gradient(112deg,#b33116 0%,#ce4418 56%,#9f3518 100%);color:#fff;padding:34px 0 39px}
.hero p{font-size:.77rem;letter-spacing:.17em;font-weight:700;margin:0 0 8px}
.hero h1{font-size:clamp(2.65rem,7vw,4.4rem);margin:0}
.hero span{display:block;font-size:1.05rem;margin-top:7px}
.nav{background:#fff;border-bottom:1px solid var(--line)}
.nav .wrap,.stage-tabs{display:flex;gap:24px;overflow:auto}
.nav a,.stage-tabs a{padding:15px 2px 12px;color:var(--muted);text-decoration:none;white-space:nowrap;border-bottom:3px solid transparent;font-weight:600}
.nav a[aria-current],.stage-tabs a[aria-current]{border-color:#c44925;color:var(--orange)}
main{padding:29px 0 34px;min-height:45vh}
footer{border-top:1px solid var(--line);padding:18px 0 30px;color:var(--muted);display:flex;justify-content:space-between;gap:8px}
.heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.heading h2,.heading p{margin:0}
.muted{color:var(--muted)}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0 28px}
.stats div,.card,.table{background:var(--surface);border:1px solid var(--line);border-radius:9px}
.stats div{padding:14px 16px}
.stats strong{display:block;font:700 2.4rem/1.1 var(--title);color:var(--orange)}
.stats span{display:block;color:var(--muted);margin-top:3px}
.table{overflow:auto;margin-top:14px}
table{border-collapse:collapse;width:100%}
.matrix{min-width:720px}
th,td{text-align:center;padding:10px 9px;border-bottom:1px solid var(--line)}
th:first-child,td:first-child{text-align:left;padding-left:15px}
.matrix th:first-child{width:32%}
thead th{background:#f4efea;font-family:var(--title);font-size:1.12rem;white-space:nowrap}
tbody th{font-weight:600}
tbody th a{color:var(--ink);text-decoration:none}
tbody th a:hover{text-decoration:underline}
tbody tr:last-child>*{border-bottom:0}
tbody tr:hover{background:#fdf8f3}
.dot,.tag,.legend span{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:700}
.dot{width:28px;height:28px;border-radius:50%;font-size:1rem}
.tag,.legend span{border-radius:5px;padding:5px 8px;white-space:nowrap;font-size:.88rem}
.green{background:#e0f3e7;color:#175e39}.amber{background:#ffedc4;color:#785000}.red{background:#fde4e1;color:#982524}.quiet{background:#eeebe8;color:#645d58}
.legend{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}
.totals{margin:18px 0 0}
.filter,.check{display:flex;align-items:center;gap:8px;margin:0}
.card{padding:14px 16px;margin:10px 0}
.auth{max-width:420px;margin-inline:auto;padding:22px}
label{display:grid;gap:5px;margin:11px 0;font-weight:600}
input:not([type=checkbox]),select,textarea{min-width:0;max-width:100%;border:1px solid #cfc4ba;border-radius:5px;background:#fff;color:var(--ink);padding:8px 10px}
textarea{min-height:72px;resize:vertical}
.primary,.secondary,.approve{display:inline-block;padding:8px 13px;border-radius:5px;border:1px solid transparent;font-weight:700;text-decoration:none}
.primary{background:#b63816;color:#fff}.secondary{background:#fff;color:#45352c;border-color:#d9cec4}.approve{background:#196641;color:#fff}
.alert,.notice{border-radius:6px;padding:9px 12px}.alert{background:#fde4e1;color:#801f1c}.notice{background:#e0f3e7;color:#175e39}
.overlay{position:fixed;inset:0;display:flex;justify-content:flex-end;background:#25171075;z-index:10}
.drawer{height:100%;width:min(520px,100%);overflow:auto;background:#fff;box-shadow:-8px 0 30px #0003;padding:20px 24px;overscroll-behavior:contain}
.drawer h2{margin-top:12px}
.drawer p{margin:.55em 0}
body:has(.overlay){overflow:hidden}
.event{padding:8px 0 12px 15px;border-left:2px solid #e3b19d;margin:11px 0;overflow-wrap:anywhere}
.event p{margin:5px 0}
.note{white-space:pre-wrap;background:#f6f1ec;padding:8px;border-radius:4px;overflow-wrap:anywhere}
summary{font-weight:700;cursor:pointer}
.adjust{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.stage-tabs{gap:13px;margin-bottom:9px}
.admin{max-width:760px}
.admin-row{padding:11px 0;border-top:1px solid var(--line);margin-top:10px}
@media(max-width:640px){.wrap{width:calc(100% - 28px)}.top{min-height:65px}.hero{padding:24px 0 29px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.drawer{width:100%;padding:16px}.nav .wrap{gap:16px}main{padding-top:21px}}
