:root{color-scheme:light;--ink:#182d28;--muted:#536660;--line:#d9e3de;--paper:#f4f7f4;--brand:#155740;--alert:#982f26}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 system-ui,sans-serif}
h1,h2,p{margin:0}
h1{font-size:clamp(1.65rem,4vw,2.2rem);line-height:1.12;letter-spacing:-.045em}
h2{font-size:1.16rem;letter-spacing:-.025em}
button,.button,input{font:inherit}
button,.button{display:inline-block;border:1px solid #a9bcb2;border-radius:7px;background:white;color:var(--ink);padding:8px 13px;font-weight:650;text-decoration:none;cursor:pointer}
button:disabled{opacity:.48;cursor:default}
.primary{background:var(--brand);color:white;border-color:var(--brand)}
:focus-visible{outline:3px solid #3d896c;outline-offset:2px}
.eyebrow{font-size:.73rem;font-weight:780;letter-spacing:.15em;color:var(--brand);margin-bottom:5px}
.login{width:min(460px,calc(100% - 32px));margin:15vh auto 0;background:white;border:1px solid var(--line);border-radius:14px;padding:clamp(24px,7vw,44px)}
.login p:not(.eyebrow){margin:13px 0;color:var(--muted)}
.login .button{margin-top:8px}
.notice{border-left:3px solid var(--brand);padding:7px 11px;background:var(--paper)}
.top,.dashboard{width:min(1600px,100%);padding:0 clamp(14px,3vw,42px);margin:0 auto}
.top{padding-top:23px;padding-bottom:18px;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.actions,.toolbar,nav,.section-head{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.toolbar{justify-content:space-between}
nav button[aria-current=true]{border-color:var(--brand);background:#e2f0e7;color:var(--brand)}
#asof,#status,.section-head p{color:var(--muted);font-size:.88rem}
#status{min-height:2.4em;padding:5px 0}
#status.error,.negative{color:var(--alert)}
.panel{background:white;border:1px solid var(--line);border-radius:11px;padding:15px;margin-bottom:15px}
.summary{display:flex;gap:9px;flex-wrap:wrap;margin:11px 0}
.metric{flex:1 1 135px;padding:9px 11px;border:1px solid var(--line);border-radius:7px}
.metric span{display:block;color:var(--muted);font-size:.8rem}
.metric strong{font-variant-numeric:tabular-nums;font-size:1.16rem}
.section-head{justify-content:space-between;margin-bottom:11px}
.section-head label{color:var(--muted);font-size:.84rem}
.section-head input[type=search]{display:block;margin-top:3px;padding:5px 8px}
.checkbox{align-self:end}
.scroll{overflow:auto}
table{border-collapse:separate;border-spacing:0;width:100%;font-size:.82rem;font-variant-numeric:tabular-nums}
th,td{padding:7px 9px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}
thead th{background:#eff4f0;font-weight:700}
th:first-child,td:first-child{text-align:left}
body:not([data-view="spend"]) #budget th:nth-child(2),body[data-view="spend"] #budget th:nth-child(3){min-width:200px;max-width:320px;text-align:left;white-space:normal}
:is(#budget,#monthly) [data-project="ewing"]{--project-heading:#d5e5fa;--project-group:#e6effc;--project-row:#f5f8fe}
:is(#budget,#monthly) [data-project="marcheta"]{--project-heading:#e8dbfa;--project-group:#f0e9fb;--project-row:#faf7fd}
:is(#budget,#monthly) [data-project="loma"]{--project-heading:#f4e3bf;--project-group:#faf0da;--project-row:#fefbf4}
:is(#budget,#monthly) [data-project="dabney"]{--project-heading:#f5dbe2;--project-group:#fbedf0;--project-row:#fff7f9}
#budget tbody tr[data-project]{background:var(--project-row,white)}
#budget .group th,#budget .group td{background:var(--project-group,#f1f3f4);font-weight:700}
#budget .project th{background:var(--project-heading,#e4e8eb)}
input[type=month],input[type=number],input[type=search]{border:1px solid #a9bcb2;border-radius:5px;background:white;color:var(--ink)}
input[type=month],input[type=number]{padding:3px 5px}
input[type=number]{width:64px}
input[aria-invalid=true]{border-color:var(--alert)}
@media(max-width:620px){.actions button{font-size:.82rem}.panel{padding:10px}.toolbar{align-items:flex-start}}
#budget .nested{padding-left:22px}
#budget .omitted th,#budget .omitted td,#budget .omitted input{text-decoration:line-through}
.section-head select{display:block;margin-top:3px;padding:5px 8px;border:1px solid #a9bcb2;border-radius:5px;background:white;color:var(--ink);font:inherit}

#monthly th:first-child{position:sticky;left:0;max-width:min(40vw,14rem);white-space:normal}
#monthly tbody th{background:white}

#monthly thead th:not(:first-child),#monthly tbody td{text-align:center}
#monthly .project-spend{background:var(--project-row,white)}
#monthly .project-spend th{padding-left:22px;background:var(--project-group,white);font-weight:600}
