*{box-sizing:border-box} [hidden]{display:none!important}
:root{font-family:system-ui, sans-serif;color:#192d27;background:#f7f5ef;line-height:1.5;font-size:17px}
body{margin:0} button,input,select,textarea{font:inherit} h1,h2,h3,p{margin:0 0 .65rem} h1{font-size:clamp(2rem,7vw,3.4rem);letter-spacing:-.045em;line-height:1.04} h2{font-size:1.42rem} h3{font-size:1.08rem} p{max-width:63ch}
.top{background:#163a31;color:white} .frame{max-width:960px;margin:auto;padding:1rem max(1rem,4vw)} .top .frame{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:.55rem;font-weight:750;color:white;text-decoration:none;margin-right:auto} .brand img{width:43px;height:43px}.top button{background:#2d5146;border-color:#759488;color:white}
main{padding-top:2rem!important;min-height:80vh} .intro{margin-bottom:1.4rem}.muted{color:#4e6259}.tag{color:#183a30;background:#e4eee5;display:inline-block;border-radius:999px;padding:.25rem .7rem;font-size:.86rem;margin-bottom:.65rem}
.card{background:#fff;border:1px solid #d9e2d9;border-radius:16px;padding:1rem;margin:.7rem 0}.hero{background:#e8eee1;border-color:#d5dfd3;padding:clamp(1rem,5vw,2rem)}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,225px),1fr));gap:.65rem}.grid .card{margin:0}.split{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap}.row{display:flex;justify-content:space-between;align-items:start;gap:.65rem;flex-wrap:wrap}.row>*{min-width:0;overflow-wrap:anywhere}
button,.button{appearance:none;min-height:46px;border:1px solid #b6c6bb;border-radius:10px;padding:.55rem .82rem;background:#fff;color:#17392e;font-weight:650;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
button.primary,button[aria-current=page]{background:#164639;color:white;border-color:#164639} button.danger{color:#902e24} button:disabled{opacity:.55;cursor:wait}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a85920;outline-offset:3px}
nav{margin:1rem 0 1.25rem}.field{display:grid;gap:.3rem;margin:.65rem 0;font-weight:650}.field small{font-weight:400}.field input,.field select,.field textarea{width:100%;padding:.55rem;border:1px solid #98aea2;border-radius:8px;min-height:46px;background:#fff;color:#192d27}.form{max-width:580px}
dialog{width:min(92vw,560px);max-height:85dvh;border:1px solid #9bb0a4;border-radius:16px;padding:1rem;color:inherit} dialog::backdrop{background:#11271fc0}.notice{position:fixed;bottom:1rem;left:50%;transform:translateX(-50%);width:min(92vw,560px);background:#183b30;color:white;padding:.85rem 1rem;border-radius:10px;z-index:3}.code{overflow-wrap:anywhere;font-family:monospace;background:#f1f3ef;padding:.7rem}.space{margin-top:1rem}
dl{margin:.45rem 0}dt{font-weight:650}dd{margin:0 0 .35rem;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:550px){nav.split{display:grid;grid-template-columns:1fr 1fr}.top .frame{padding:.55rem 1rem}.top button{font-size:.82rem} .brand{font-size:1rem}}.dashboard-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.65rem}
.dashboard-totals dt{font-size:.9rem;color:#4e6259}
.dashboard-totals dd{margin:0;font-size:1.2rem;font-weight:750}
.dashboard-group summary{cursor:pointer;min-height:44px;padding:.45rem 0;font-weight:750}
.dashboard-group summary:focus-visible{outline:3px solid #a85920;outline-offset:3px}
.dashboard-item{border-top:1px solid #d9e2d9;padding:.75rem 0;align-items:center}
.dashboard-item h3,.dashboard-item p{margin:0}
.hero input[type=month]{max-width:18rem}
