.demo-body{background:var(--paper)}
.cash-header{background:#09142d;color:#f7faff}
.cash-header .demo-nav{border-color:#acccff40;min-height:4.25rem}
.cash-header .footer-brand{color:#fff;letter-spacing:-.025em;font-size:1.2rem}
.cash-header :focus-visible,.cash-intro :focus-visible{outline-color:#bed4ff}
.cash-back{color:#dce8ff;font-size:.86rem;text-underline-offset:.24em;display:inline-flex;align-items:center;min-height:44px}
.cash-intro{background:linear-gradient(120deg,#09142d,#142b53 68%,#203f79);color:#f7faff;border-bottom:1px solid #324b74}
.cash-intro-inner{display:flex;align-items:end;justify-content:space-between;gap:1.6rem;padding-block:2.4rem 2.6rem}
.cash-intro h1{font-family:var(--display);font-size:3rem;line-height:1.07}
.cash-intro p{margin-top:.55rem;color:#f7faff;font-weight:650}
.cash-intro p span{color:#becfee;font-size:.87rem;font-weight:550;white-space:nowrap}
.month-control{display:grid;gap:.35rem;min-width:13rem}
.month-control label{font-size:.82rem;font-weight:700;color:#e1ebff}
.month-control select{min-height:46px;color:#fff;border:1px solid #8faedc;background:#102346;border-radius:.55rem;padding:.55rem .8rem;font-weight:650;cursor:pointer}
.month-control select:hover{background:#193565}
.cash-workspace{padding-block:1.65rem 3rem}
.cash-workspace h2{font-size:1.35rem;line-height:1.2}
.monthly-summary{border-bottom:1px solid var(--line);padding-block:0 1.25rem}
.summary-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem;margin:1.05rem 0 .7rem}
.summary-values div+div{border-left:1px solid var(--line);padding-left:1.2rem}
.summary-values dt{font-size:.85rem;color:var(--sub);font-weight:650}
.summary-values dd{margin:.22rem 0 0;font-family:var(--body);font-weight:800;font-size:1.65rem;line-height:1.25;font-variant-numeric:tabular-nums;letter-spacing:-.035em}
.summary-values div:last-child dd{color:#2246a4}
.monthly-summary p,.invoice-pane>p,.demo-note{font-size:.83rem;color:var(--sub)}
.cash-columns{display:grid;grid-template-columns:minmax(0,2fr) minmax(15.5rem,1fr);gap:2rem;margin-top:1.65rem}
.ledger-heading{display:flex;align-items:baseline;justify-content:space-between;gap:.4rem .8rem;margin-bottom:.65rem;flex-wrap:wrap}
.ledger-heading span{color:var(--sub);font-size:.8rem}
.ledger table{width:100%;border-collapse:collapse;line-height:1.4;font-size:.9rem}
.ledger th,.ledger td{padding:.72rem .65rem;border-bottom:1px solid var(--line);text-align:left}
.ledger thead th{background:#eaf0ff;color:#304a77;font-size:.76rem;font-weight:750}
.ledger th:last-child,.ledger td:last-child{text-align:right}
.ledger td:first-child{white-space:nowrap;color:var(--sub)}
.ledger td:last-child{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:700}
.ledger tbody th{font-weight:700}
.ledger tbody th span{display:block;margin-top:.13rem;color:var(--sub);font-size:.76rem;font-weight:550}
.invoice-pane{align-self:start;background:#eaf0ff;padding:1.15rem;border-radius:.85rem}
.invoice-pane>p{margin-top:.35rem}
.invoice-pane .cash-list{font-size:.88rem;margin:.85rem 0}
.invoice-pane .primary{width:100%}
#payment-status:not(:empty){margin-top:.75rem;color:#143d67;font-weight:700}
@media(max-width:49rem){.cash-columns{grid-template-columns:minmax(0,1fr);gap:1.6rem}.invoice-pane{max-width:32rem}}
@media(max-width:34rem){.cash-intro-inner{flex-direction:column;align-items:stretch;gap:1rem;padding-block:1.65rem}.cash-intro h1{font-size:2.3rem}.cash-intro p{font-size:.91rem}.month-control{max-width:100%}.summary-values{grid-template-columns:1fr;gap:0;margin:.5rem 0}.summary-values div,.summary-values div+div{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem;border-left:0;border-bottom:1px solid var(--line);padding:.52rem 0}.summary-values dd{font-size:1.07rem;margin:0}.summary-values div:last-child{border-bottom:0}.ledger th,.ledger td{padding:.66rem .32rem}.ledger table{font-size:.79rem}}
