:root{color-scheme:light;font-family:"Aptos", "Segoe UI",sans-serif;color:#38212a;background:#fff5ef;font-synthesis:none;--green:#8d1838;--muted:#71505a;--border:#ecd5d5}*{box-sizing:border-box}body{margin:0}header{background:white;border-bottom:1px solid var(--border)}.bar,main{max-width:1140px;margin:auto;padding-inline:28px}.bar{height:74px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:11px;font-weight:750;font-size:1.12rem}.logo,.icon{display:inline-grid;place-items:center;border-radius:12px;width:42px;height:42px;font-size:1.45rem;font-weight:650}.logo,.green{background:#f9e1e5;color:#8d1838}.blue{background:#f8e8dc;color:#824526}main{padding-block:34px 56px}.hero{position:relative;overflow:hidden;background:linear-gradient(115deg,#68102d,#a8274c);color:white;border-radius:22px;min-height:225px;padding:40px 42px;display:flex;align-items:center;justify-content:space-between;gap:24px}.hero>div:first-child{z-index:1}.hero h1{font-size:clamp(2.25rem,5vw,3.6rem);letter-spacing:-.05em;line-height:1.05;margin:9px 0 13px}.hero p{color:#fff1eb;margin:0;max-width:460px;line-height:1.5}.hero .eyebrow{font-size:.875rem;letter-spacing:.13em;font-weight:700;color:#ffd5dd}.hero-art{width:242px;flex:none;margin:-30px 5px -24px 0}.totals{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0 24px}.totals article,.ledger,dialog{background:white;border:1px solid var(--border);border-radius:18px}.totals article{padding:21px 23px}.totals p{margin:12px 0 3px;color:var(--muted);font-weight:650}.totals strong{font-size:clamp(1.4rem,3vw,2.05rem);letter-spacing:-.035em;display:block;overflow-wrap:anywhere}.totals small,small{display:block;margin-top:6px;color:var(--muted);font-size:.875rem}.ledger{padding:25px}.ledger-head,.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.ledger h2,.dialog-head h2{margin:0;letter-spacing:-.02em}.ledger p{color:var(--muted);margin:7px 0 0}.filters{display:flex;flex-wrap:wrap;gap:7px;border-bottom:1px solid var(--border);padding:20px 0 12px}button{border:1px solid transparent;border-radius:9px;background:var(--green);color:white;padding:9px 14px;font:inherit;font-weight:650;cursor:pointer}button:hover{filter:brightness(.92)}button:disabled{opacity:.6;cursor:wait}.outline,.filters button,[data-close]{background:white;color:var(--green);border-color:var(--border)}.filters button[aria-pressed=true]{background:#f9e1e5;border-color:#f9e1e5}.ledger .empty{text-align:center;padding:28px 8px;margin:0}ul{padding:0;margin:0;list-style:none}li{padding:15px 0;display:flex;align-items:center;justify-content:space-between;gap:12px}li+li{border-top:1px solid var(--border)}.record{display:flex;gap:12px;align-items:center;min-width:0}.record div{overflow-wrap:anywhere}.record-side{text-align:right;flex-shrink:0}.record-side a,.record-side button{display:block;margin:5px 0 0 auto;font-size:.875rem;color:var(--green)}.record-side button{padding:3px 7px;background:white;border-color:var(--border)}dialog{width:min(460px,calc(100% - 28px));padding:24px;color:inherit}dialog::backdrop{background:#35101f80}label{display:block;margin-top:14px;font-weight:650}input,select{display:block;width:100%;margin-top:5px;padding:9px;border:1px solid #c5a2aa;border-radius:8px;font:inherit;color:inherit;background:white}.fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fields input{min-width:0}.check{display:flex;gap:8px;align-items:center}.check input{width:auto;margin:0;accent-color:var(--green)}.error{color:#a52c29}.error:empty{display:none}form>button{margin-top:16px}[hidden]{display:none!important}:focus-visible{outline:3px solid #a8274c;outline-offset:3px}@media(max-width:650px){.bar,main{padding-inline:15px}.hero{padding:25px;min-height:185px}.hero-art{position:absolute;right:-74px;bottom:10px;opacity:.4}.hero p{max-width:270px}.totals{grid-template-columns:1fr;gap:8px;margin:12px 0}.totals article{display:grid;grid-template-columns:42px 1fr;gap:1px 11px;padding:12px 15px}.totals .icon{grid-row:span 3;align-self:center}.totals p,.totals small{margin:0}.ledger{padding:16px}.ledger-head{align-items:flex-start;flex-wrap:wrap}}
.access{border:1px solid var(--border);border-radius:9px;padding:9px 14px;font-weight:650;text-decoration:none;text-align:center}.actions{display:flex;gap:8px;flex-wrap:wrap}.pending{color:#805601}

.editor-actions{margin-top:16px}.danger-outline{border-color:#eac4c2;color:#9c302c;background:#fff}.danger{background:#9c302c}

.hero{isolation:isolate;min-height:280px}
.hero-portrait{position:absolute;inset:0 0 0 auto;width:55%;height:100%;object-fit:cover;object-position:center 13%;z-index:-2}
.hero.has-portrait::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#68102d 0%,#751333 39%,#751333c4 53%,#75133315 79%);z-index:-1}
.hero.has-portrait .hero-art{display:none}
@media(max-width:650px){
  .hero{min-height:235px}
  .hero-portrait{width:68%;object-position:60% 15%}
  .hero.has-portrait::after{background:linear-gradient(90deg,#68102d 0%,#68102df2 30%,#68102d85 61%,#68102d19 100%)}
}
