.cash-page-heading{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:26px}
.cash-page-heading h1{margin:0 0 12px}.cash-page-heading p{margin:0;max-width:540px;color:var(--muted);font-size:14px;line-height:1.6}
.cash-weekly-tile{width:132px;height:132px;flex:0 0 132px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border:1px solid #7457d9;border-radius:20px;background:linear-gradient(145deg,#7c5ce6,#573bc0);color:#fff;box-shadow:0 6px 18px #6548bb26;font:inherit;font-weight:650;font-size:14px;line-height:1.4;text-align:center;padding:16px;cursor:pointer;transition:transform .15s,box-shadow .15s}
.cash-weekly-tile svg{width:33px;height:33px}.cash-weekly-tile:hover:enabled{transform:translateY(-2px);box-shadow:0 9px 24px #6548bb38}.cash-weekly-tile:disabled{background:#edebf2;border-color:#dedbe7;color:#898292;box-shadow:none;opacity:1;cursor:default}.cash-weekly-tile[aria-busy=true]{cursor:wait;opacity:.65}.cash-weekly-status{font-size:11px;line-height:1.3}.cash-weekly-status[hidden]{display:none}.cash-weekly-tile.is-checking>svg,.cash-weekly-tile.is-retry>svg{display:none}.cash-weekly-tile.is-checking .cash-weekly-status:before{content:'';display:inline-block;width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:sync-spin 1s linear infinite;vertical-align:middle;margin-right:5px}
.cash-overview{overflow:hidden}.cash-overview-head{padding:28px 26px 20px}.cash-eyebrow{display:block;color:#7d6a9b;letter-spacing:.12em;text-transform:uppercase;font-size:11px;font-weight:750;margin-bottom:7px}.cash-overview h2{font-size:23px;margin:0;color:#32283e}.cash-overview-head p{margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.6}
.cash-report-filters{padding:0 26px 24px;display:flex;gap:16px;flex-wrap:wrap;align-items:flex-end;justify-content:space-between}.cash-periods{display:flex;padding:4px;background:#f3f0f8;border:1px solid #eae5f1;border-radius:12px;flex-wrap:wrap;gap:3px}.cash-periods button{border:0;background:transparent;border-radius:8px;font:inherit;font-size:12px;font-weight:650;padding:10px 12px;color:#776a85;min-height:40px;cursor:pointer}.cash-periods button[aria-pressed=true]{background:#fff;color:#6542c3;box-shadow:0 2px 6px #30204710}.cash-periods button:disabled{cursor:wait}
.cash-date-range{display:flex;gap:9px;align-items:flex-end}.cash-date-range .field{margin:0;min-width:0}.cash-date-range .field>span{font-size:11px;color:#877b91}.cash-date-range input{font-size:13px;min-height:42px;width:149px;padding:8px 10px}.cash-date-range .btn{min-height:42px;font-size:12px}.cash-range-arrow{align-self:center;padding-top:18px;color:#a297ae}
.cash-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:0 26px 28px}.cash-metric{min-width:0;border:1px solid #eae5ef;border-radius:15px;padding:20px;background:#fcfbfe;display:flex;flex-direction:column;gap:14px}.cash-metric-top{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#766681;font-size:12px;font-weight:600}.cash-metric-top svg{width:22px;height:22px;flex-shrink:0;color:#9c85c3}.cash-metric>strong{font-size:28px;letter-spacing:-.8px;line-height:1.1;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cash-metric>small{color:#978a9f;font-size:11px}.cash-metric-primary{background:#203f38;border-color:#203f38;color:#fff}.cash-metric-primary .cash-metric-top,.cash-metric-primary .cash-metric-top svg,.cash-metric-primary>small{color:#bdd5cc}
.cash-section-head{display:flex;align-items:center;gap:9px;padding:21px 26px;border-top:1px solid #eee9f3}.cash-section-head h3{font-size:15px;margin:0;color:#45374f}.cash-count-badge{font-size:11px;color:#8a759d;background:#f2edf7;padding:3px 7px;border-radius:6px}
.cash-ledger-scroll{overflow-x:auto}.workspace .cash-ledger-table{font-variant-numeric:tabular-nums}.workspace .cash-ledger-table th{padding:13px 12px;background:#f8f6fb;color:#96849f;font-size:10px;font-weight:650;white-space:nowrap}.workspace .cash-ledger-table td{padding:17px 12px;font-size:12px;line-height:1.5;color:#574963}.workspace .cash-ledger-table td:first-child,.workspace .cash-ledger-table th:first-child{padding-left:26px;white-space:nowrap}.workspace .cash-ledger-table td:last-child{padding-right:26px}.cash-ledger-table time{white-space:nowrap}.cash-day-select{display:flex;gap:9px;align-items:center;cursor:pointer}.workspace .cash-day-select input{width:17px;height:17px;min-height:17px;padding:0;accent-color:#7153e6;flex-shrink:0}.cash-status{display:inline-block;border-radius:6px;font-size:10px;font-weight:650;padding:4px 7px;line-height:1.35}.cash-status-safe{background:#edf5f0;color:#397557}.cash-status-bank{background:#eef0fc;color:#5d65a2}.cash-status-owner{background:#f0eafb;color:#7750a4}.cash-status-none{background:#f4f2f6;color:#9a8f9f}.cash-status-review{background:#fff4df;color:#a67a28}.cash-review-reason{display:block;max-width:150px;font-size:10px;color:#a38c66;margin-top:4px}.cash-difference{color:#b75149;font-weight:700}
.cash-collection-bar{border-top:1px solid #eee9f3;background:#fcfbfe;display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:16px 26px;font-size:12px;color:#95829f}.cash-collection-bar>span{display:flex;align-items:center;gap:9px;margin-right:auto}.cash-collection-bar svg{width:20px;height:20px}.cash-collection-bar output{font-weight:700;color:#6546a7;font-variant-numeric:tabular-nums}.cash-collection-bar .btn{font-size:12px;min-height:40px}.cash-collection-bar .btn:disabled{background:#ebe7f1;color:#a79bb4;border-color:#e6e0ee;cursor:default;opacity:1}
.cash-history-grid{display:grid;grid-template-columns:1fr 1fr;align-items:start}.cash-history-grid>.cash-history:last-child{border-left:1px solid #eee9f3}.cash-count-row{display:flex;align-items:center;gap:11px;margin:0 26px;padding:16px 0;border-bottom:1px solid #f0ebf5}.cash-count-row:last-child{border:0}.cash-small-icon{background:#f3eff9;color:#9074b4;display:grid;place-items:center;border-radius:11px;width:38px;height:38px;flex-shrink:0}.cash-small-icon svg{width:21px;height:21px}.cash-count-info{min-width:0;display:grid;gap:5px}.cash-count-info>strong{font-size:12px}.cash-count-info>span{font-size:11px;color:#9a8da4;line-height:1.5}.cash-count-actions{margin-left:auto;display:grid;gap:8px;justify-items:end}.cash-count-actions>strong{font-size:14px;font-variant-numeric:tabular-nums}.cash-count-actions>div{display:flex;gap:5px}.cash-count-actions .btn,.cash-closed-body .btn{min-height:32px;font-size:11px;padding:6px 9px}
.cash-closed-count{margin:0 26px;border-bottom:1px solid #eee9f3}.cash-closed-count summary{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:17px 0;cursor:pointer;font-size:12px}.cash-closed-count summary>span:before{content:'›';display:inline-block;margin-right:8px;color:#a894b4}.cash-closed-count[open] summary>span:before{transform:rotate(90deg)}.cash-closed-count summary small{display:block;color:#9a8da4;font-size:11px;margin-top:6px}.cash-closed-count summary>strong{white-space:nowrap}.cash-closed-body{padding-bottom:18px}.cash-closed-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 14px;background:#f8f5fc;padding:12px;border-radius:9px}.cash-closed-totals dt{font-size:10px;color:#95839f}.cash-closed-totals dd{margin:6px 0 0;font-weight:650;font-size:12px}.cash-envelope-line{padding:10px 0;border-top:1px solid #f0ecf4;font-size:11px;display:grid;gap:5px}.cash-envelope-line>span,.cash-envelope-line p{color:#91819d;line-height:1.5;margin:0;overflow-wrap:anywhere}
.cash-access{margin-top:16px}.cash-timeline{list-style:none;padding:0 26px 12px;margin:0}.cash-timeline li{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #f3eff7;font-size:12px}.cash-timeline-dot{width:8px;height:8px;border-radius:50%;background:#baabd3;flex-shrink:0}.cash-timeline li>div{display:grid;gap:5px}.cash-timeline li>div span{font-size:11px;color:#9a89a6}.cash-timeline time{margin-left:auto;text-align:right;color:#a494af;font-size:11px;max-width:45%}.cash-empty{margin:0;padding:8px 26px 26px;color:#a395ae;font-size:13px}
@media(max-width:1200px){.cash-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.cash-history-grid{grid-template-columns:1fr}.cash-history-grid>.cash-history:last-child{border-left:0}}
@media(max-width:700px){.cash-page-heading{gap:16px;align-items:flex-start}.cash-page-heading h1{font-size:23px;line-height:1.2}.cash-page-heading p{font-size:12px}.cash-weekly-tile{width:108px;height:108px;flex-basis:108px;border-radius:16px;font-size:12px;padding:10px;gap:8px}.cash-weekly-tile svg{width:27px;height:27px}.cash-overview-head{padding:23px 16px 18px}.cash-overview h2{font-size:21px}.cash-report-filters{padding:0 16px 20px;gap:18px}.cash-periods{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.cash-periods button{padding:9px 3px;font-size:10px}.cash-date-range{width:100%;flex-wrap:wrap}.cash-date-range .field{flex:1}.cash-date-range input{width:100%;min-width:0}.cash-date-range .btn{width:100%}.cash-range-arrow{padding-top:17px}.cash-metrics{gap:10px;padding:0 16px 22px}.cash-metric{padding:15px 13px;gap:13px}.cash-metric-top{font-size:11px;align-items:flex-start;min-height:30px}.cash-metric-top svg{width:19px;height:19px}.cash-metric>strong{font-size:23px}.cash-metric>small{font-size:10px}.cash-section-head{padding:20px 16px}.cash-section-head h3{font-size:14px}
.cash-ledger-scroll{overflow:visible}.workspace .cash-ledger-table,.cash-ledger-table tbody{display:block;width:100%}.cash-ledger-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.cash-ledger-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 10px;margin:0 16px 13px;padding:16px;border:1px solid #ece5f2;border-radius:13px}.workspace .cash-ledger-table td{padding:0;border:0;min-width:0;font-size:12px}.workspace .cash-ledger-table td:first-child,.workspace .cash-ledger-table td:last-child{grid-column:1/-1;padding:0}.cash-ledger-table td[data-label]:before{content:attr(data-label);display:block;font-size:10px;color:#a18eae;margin-bottom:4px}.cash-ledger-table td:first-child:before,.cash-ledger-table td:last-child:before{display:none}.cash-ledger-table td:first-child{font-weight:700;font-size:14px;padding-bottom:12px!important;border-bottom:1px solid #f0eaf6!important}.cash-day-select{gap:12px;min-height:28px}.cash-review-reason{max-width:none}.cash-collection-bar{padding:16px;gap:12px}.cash-collection-bar>span{width:100%}.cash-collection-bar .btn{margin-left:auto}.cash-count-row{margin:0 16px;gap:9px}.cash-count-info>span{max-width:145px}.cash-count-actions .btn{font-size:10px;padding:6px}.cash-closed-count{margin:0 16px}.cash-timeline{padding:0 16px 15px}.cash-empty{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:reduce){.cash-weekly-tile{transition:none}}
.cash-comparison-hint,.cash-comparison-info{margin:0;padding:0 22px 14px;color:#776688;font-size:12px;line-height:1.6}.cash-comparison-info:empty{display:none}.cash-copy-status{display:block;margin-top:5px;font-size:10px;font-weight:400}.cash-copy-status.status-complete{color:#226b52}.cash-copy-status.status-current{color:#65508a}.cash-copy-status.status-partial,.cash-copy-status.status-unavailable{color:#916222}.cash-counts-table td{font-variant-numeric:tabular-nums}.cash-counts-table .inline-actions{gap:6px;flex-wrap:wrap}.cash-copy-spinner{display:inline-block;width:14px;height:14px;border:2px solid #e1d9f4;border-top-color:#7251dc;border-radius:50%;animation:cash-copy-spin .8s linear infinite}@keyframes cash-copy-spin{to{transform:rotate(360deg)}}
@media(max-width:700px){.cash-counts-panel>.table-wrap{overflow:visible}.workspace .cash-counts-table,.cash-counts-table tbody{display:block;width:100%;min-width:0}.cash-counts-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.cash-counts-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;margin:0 16px 16px;padding:16px;border:1px solid #e8e0ef;border-radius:13px}.workspace .cash-counts-table td{border:0;padding:0;min-width:0;overflow-wrap:anywhere;font-size:12px}.cash-counts-table td:before{content:attr(data-label);display:block;margin-bottom:5px;font-size:10px;color:#8b779c}.cash-counts-table td:first-child,.cash-counts-table td:last-child{grid-column:1/-1}.cash-counts-table td:first-child{font-weight:700}.cash-counts-table td:first-child:before,.cash-counts-table td:last-child:before{display:none}.cash-comparison-hint,.cash-comparison-info{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:reduce){.cash-copy-spinner{animation:none}}
.cash-counts-table th{white-space:normal}.cash-count-time{display:block;margin-top:6px;color:#8c7b99;font-size:10px}.cash-counts-panel[data-cash-comparison] .inline-actions{flex-direction:column;align-items:stretch;min-width:100px}.cash-counts-panel[data-cash-comparison] .inline-actions .btn{font-size:11px;padding:8px 10px;min-height:34px}
.cash-counts-table td:first-child{white-space:nowrap}
.cash-counts-table .cash-reconciliation-row>td{padding:0 18px 20px!important;white-space:normal}.cash-reconciliation-row [data-cash-reconcile]{padding:16px;border:1px solid #e7e1f0;border-radius:12px;background:#faf8fd}.cash-reconcile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.cash-reconcile-metric{padding:12px;border:1px solid #e6dff0;border-radius:9px;background:#fff;min-width:0}.cash-reconcile-metric>span{display:block;font-size:11px;color:#746281;line-height:1.5}.cash-reconcile-metric>strong{display:block;font-size:19px;margin-top:6px;font-variant-numeric:tabular-nums}.cash-reconcile-metric>small{display:block;margin-top:4px;font-size:10px}.cash-reconcile-metric.is-match{background:#edf8f1;border-color:#b9dfc8;color:#216b42}.cash-reconcile-metric.is-match>span{color:#216b42}.cash-reconcile-metric.is-mismatch{background:#fff1f0;border-color:#edc5c0;color:#ae302d}.cash-reconcile-metric.is-mismatch>span{color:#ae302d}.cash-reconcile-metric.is-unknown{color:#897593}.cash-reconcile-formula,.cash-reconcile-events{margin-top:14px;font-size:11px;color:#756183}.cash-reconcile-formula summary,.cash-reconcile-events summary{cursor:pointer;padding:5px 0;line-height:1.5}.cash-reconcile-formula>div{display:grid;gap:8px;margin-top:10px;max-width:480px}.cash-reconcile-formula>div>span{display:flex;justify-content:space-between;gap:16px}.cash-reconcile-formula strong{white-space:nowrap}.cash-reconcile-events ul{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:10px}.cash-reconcile-events li{display:flex;flex-wrap:wrap;gap:8px 16px}.cash-reconcile-note{margin:12px 0 0;color:#8d661f;font-size:11px;line-height:1.6}.cash-ledger-diff{display:inline-block;padding:4px 7px;border-radius:6px;font-weight:650}.cash-ledger-diff.is-match{background:#edf8f1;color:#216b42}.cash-ledger-diff.is-mismatch{background:#fff1f0;color:#ae302d}.cash-ledger-clover{display:block;color:#756183;font-size:10px;margin-top:6px}
@media(max-width:950px){.cash-reconcile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.cash-counts-table tr.cash-reconciliation-row{display:block;margin-top:-8px;padding:0;border:0}.workspace .cash-counts-table .cash-reconciliation-row>td{display:block;padding:0!important}.cash-reconciliation-row td:before{display:none}.cash-reconciliation-row [data-cash-reconcile]{padding:12px}.cash-reconcile-grid{gap:8px}.cash-reconcile-metric{padding:10px}.cash-reconcile-metric>strong{font-size:17px}}
.cash-reconcile-bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.7fr);gap:22px;align-items:start}.cash-reconcile-bottom:not(:has(.cash-owner-review)){grid-template-columns:1fr}.cash-owner-review{margin-top:16px;padding:18px;border:1px solid #ded4ee;border-radius:12px;background:#fff;display:grid;gap:12px;min-width:0}.cash-owner-review h3{margin:0;font-size:13px}.cash-owner-review p,.cash-overview-review p{margin:0;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.cash-owner-review small{font-size:10px;color:#887494;line-height:1.6}.cash-owner-review .btn{justify-self:start;font-size:12px}.cash-review-status{font-size:11px;font-weight:650;padding:6px 9px;border-radius:7px;justify-self:start;line-height:1.5}.cash-review-status.is-current{color:#216b42;background:#e8f5ee}.cash-review-status.is-stale{color:#966b18;background:#fff3db}.cash-overview-review{margin-top:10px;white-space:normal;max-width:260px}.cash-overview-review summary{font-size:11px;color:#216b42;cursor:pointer;white-space:normal}.cash-review-dialog{width:min(520px,calc(100% - 28px));max-height:calc(100dvh - 28px);padding:0;border:1px solid #e4daef;border-radius:18px;background:#fff;color:#382a4c;box-shadow:0 24px 70px #30204230}.cash-review-dialog::backdrop{background:#30204260}.cash-review-dialog header,.cash-review-dialog section,.cash-review-dialog footer{padding:22px 24px}.cash-review-dialog header{background:#f8f5fd}.cash-review-dialog h2{margin:0;font-size:20px}.cash-review-dialog header p{margin:8px 0 0;font-size:12px;color:#887494}.cash-review-dialog textarea{width:100%;resize:vertical;min-height:110px;font:inherit;font-size:16px;padding:12px;border:1px solid #ded1ed;border-radius:10px}.cash-review-dialog section>p{font-size:12px;line-height:1.6;color:#887494}.cash-review-dialog [role=alert]{color:#ad302e}.cash-review-dialog [role=alert]:empty{display:none}.cash-review-dialog .work-check{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6;margin-top:18px}.cash-review-dialog .work-check input{width:18px;height:18px;min-height:18px;flex-shrink:0;margin-top:3px;padding:0;accent-color:#7250de}.cash-review-dialog footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #eee8f5}.cash-review-dialog .btn{min-height:44px}
@media(max-width:700px){.cash-reconcile-bottom{grid-template-columns:1fr;gap:4px}.cash-owner-review{padding:15px;margin-top:14px}.cash-review-dialog header,.cash-review-dialog section,.cash-review-dialog footer{padding:18px}.cash-overview-review{max-width:none}}
.cash-recent-head .btn{margin-left:auto;font-size:12px;min-height:36px}.cash-recent-period{font-size:11px;color:#8b7b99;margin:0;padding:0 26px 10px}.cash-history-dialog{width:min(840px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #e5dcef;border-radius:20px;background:#fff;color:#3d2d4b;box-shadow:0 24px 80px #30204235}.cash-history-dialog::backdrop{background:#30204265}.cash-history-dialog>header{padding:22px 26px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#f8f5fc}.cash-history-dialog h2{margin:0;font-size:21px}.cash-archive-filters{padding:22px 26px;border-bottom:1px solid #eee7f5;display:grid;gap:18px}.cash-archive-filters form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.cash-archive-filters .field{margin:0;min-width:140px}.cash-archive-filters input{min-height:44px;font:inherit}.cash-archive-results{min-height:150px}.cash-archive-summary{display:flex;justify-content:space-between;gap:12px;padding:18px 26px;font-size:12px;color:#8d7b9b}.cash-archive-summary strong{color:#694ea1}.cash-history-dialog>footer{padding:18px 26px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #eee7f5;font-size:12px}.cash-archive-loading{padding:24px;color:#887295;font-size:13px;display:flex;gap:12px;align-items:center}.cash-history-dialog .cash-count-row{padding:14px 0}.cash-history-dialog [role=alert]{margin:20px 26px}.events-controls{display:grid;gap:16px;margin-bottom:20px}.events-controls form,.events-filter-row{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.events-controls .field{margin:0;min-width:130px;flex:1}.events-controls input,.events-controls select{min-height:44px}.events-controls [hidden]{display:none}.events-swipe{position:relative;overflow:hidden;border-radius:12px;margin-bottom:10px;background:#e8e1f5;isolation:isolate}.events-swipe-actions{position:absolute;inset:0 0 0 auto;width:156px;display:flex}.events-swipe-actions button{width:78px;background:#7353d2;color:#fff;border:0;font:inherit;font-size:12px;cursor:pointer;overflow-wrap:anywhere;padding:8px}.events-swipe-actions button:last-child{background:#445a54}.events-swipe-actions button:focus-visible{outline:3px solid #f2c96b;outline-offset:-4px}.events-swipe>.events-row{position:relative;background:#fff;border:1px solid #eee8f5;margin:0!important;padding:16px 44px 16px 14px!important;border-radius:12px;transition:transform .16s ease;touch-action:pan-y;min-height:90px}.events-swipe>.events-row.fresh{background:#f0eafa;border-color:#dfd0f3;border-left:3px solid #8c63c9}.events-swipe.is-open>.events-row{transform:translateX(-156px)}.events-more{position:absolute;right:8px;top:8px;min-width:32px;min-height:32px;font:inherit;font-size:22px;background:transparent;border:0;color:#806c94;cursor:pointer;border-radius:7px}.events-top{flex-wrap:wrap}.events-row:focus-visible{outline:2px solid #7953cc;outline-offset:-3px}.events-swipe-actions button:disabled{opacity:.5}.events-swipe .events-note{overflow-wrap:anywhere}
@media(max-width:600px){.cash-history-dialog>header,.cash-archive-filters,.cash-history-dialog>footer{padding:18px}.cash-history-dialog .cash-count-row{margin:0 18px;gap:9px}.cash-archive-summary{padding:16px 18px;flex-wrap:wrap}.cash-recent-period{padding-left:18px;padding-right:18px}.cash-archive-filters .field{min-width:0;flex:1 1 140px}.cash-archive-filters .cash-periods button{padding:9px 10px}.events-filter-row .field{min-width:110px}.events-top>span{font-size:10px}.events-swipe>.events-row{grid-template-columns:38px minmax(0,1fr);gap:10px}.events-shot{max-width:38px}}
@media(prefers-reduced-motion:reduce){.events-swipe>.events-row{transition:none}}
.history-period-form{padding:20px 24px;display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap}.history-range-fields{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.history-range-fields .field{margin:0;min-width:130px}.history-range-fields input{font-size:14px;min-height:44px}.report-folder-tabs{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 20px}.report-folder-tabs .btn[aria-pressed=true]{color:#fff;background:#7251db;border-color:#7251db}.report-pagination{padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.workspace [data-report-pane][hidden],.workspace [data-reports-dates][hidden]{display:none}.workspace [data-reports-dates]{background:#fff;border:1px solid #e8dff2;border-radius:16px;margin-bottom:20px}
@media(max-width:600px){.history-period-form{padding:18px;gap:16px}.history-range-fields{width:100%;gap:9px}.history-range-fields .field{flex:1;min-width:0}.history-range-fields input{max-width:100%;width:100%}.history-range-fields>.btn{width:100%}.report-folder-tabs{gap:7px}.report-folder-tabs .btn{font-size:12px;padding:10px}.report-pagination{padding:16px 18px}}
.events-controls input,.events-controls select{width:100%;min-width:0;max-width:100%;box-sizing:border-box}.events-filter-row .field{min-width:0;flex:1 1 145px}.events-controls [data-events-dates]{display:flex;gap:12px;flex-wrap:wrap}.events-controls [data-events-dates] .field{flex:1 1 140px}

/* History filters stay available without occupying the report list. */
.events-filters{border:1px solid #e7e1ef;border-radius:12px;background:#fcfbfe;margin-bottom:20px}
.events-filters>summary{display:flex;align-items:center;gap:12px;padding:14px 16px;cursor:pointer;font-size:14px;font-weight:650;color:#665080;list-style:none}
.events-filters>summary::-webkit-details-marker{display:none}.events-filters>summary::before{content:"";width:16px;height:14px;flex:none;background:linear-gradient(currentColor,currentColor) 0 0/100% 1.5px no-repeat,linear-gradient(currentColor,currentColor) 3px 6px/10px 1.5px no-repeat,linear-gradient(currentColor,currentColor) 6px 12px/4px 1.5px no-repeat}
.events-filters>summary::after{content:"⌄";font-size:18px;line-height:1}.events-filters[open]>summary::after{transform:rotate(180deg)}
.events-filters [data-event-range]{font-size:12px;font-weight:400;color:#8a7b98;margin-left:auto}
.events-filters .events-controls{padding:2px 16px 16px;margin:0}.events-filters:not([open])>.events-controls{display:none}
.events-filters>summary:focus-visible{outline:2px solid #7953cc;outline-offset:2px;border-radius:11px}
@media(max-width:600px){.events-filters>summary{padding:13px;gap:9px}.events-filters [data-event-range]{font-size:11px}.events-filters .events-controls{padding:2px 13px 14px}}

.events-controls [data-events-dates]{display:flex;gap:12px;align-items:end;flex-wrap:wrap}

/* A bounded history canvas replaces the long list of every recent observation. */
.cash-counts-panel .panel-head>div{min-width:0}.cash-trend-subtitle{display:block;font-size:12px;color:#867396;margin-top:7px;line-height:1.6}.cash-counts-panel [data-cash-trend-controls]{padding:0 22px 16px}.cash-trend-periods{display:flex;gap:6px;flex-wrap:wrap;background:#f5f1fb;border-radius:12px;padding:5px;width:max-content;max-width:100%}.cash-trend-periods button{border:0;background:transparent;color:#82708f;border-radius:8px;padding:10px 15px;font:inherit;font-size:12px;min-height:40px;cursor:pointer}.cash-trend-periods button[aria-pressed=true]{background:#fff;color:#6840d0;box-shadow:0 2px 6px #47315a12;font-weight:700}.cash-trend-range{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin-top:12px}.cash-trend-range>.field{width:170px;min-width:0;margin:0}.cash-trend-range input{width:100%;min-width:0;box-sizing:border-box}.cash-trend-range>span{font-size:12px;color:#8b7b98;padding:10px 0;line-height:1.5}.cash-trend-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 22px 22px}.cash-trend-metric{background:#fff;border:1px solid #e5ddef;border-radius:12px;padding:16px;text-align:left;font:inherit;color:#302545;display:grid;gap:8px;cursor:pointer;min-width:0}.cash-trend-metric[aria-pressed=true]{background:#f3eefe;border-color:#b9a2f1}.cash-trend-metric>span{font-size:12px;color:#80718e}.cash-trend-metric>strong{font-size:23px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cash-trend-metric>small{font-size:10px;color:#887999;line-height:1.5}.cash-trend-chart-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 22px 14px;font-size:13px}.cash-trend-chart-head>span{font-size:11px;color:#887999}.cash-trend-scroll{overflow-x:auto;overscroll-behavior-x:contain;margin:0 22px 12px;padding-bottom:8px}.cash-trend-chart{display:grid;grid-template-columns:repeat(var(--cash-bars),minmax(24px,1fr));gap:6px;min-width:calc(var(--cash-bars)*30px);height:215px;border-bottom:1px solid #e5ddef;background:repeating-linear-gradient(to top,transparent 0,transparent 42px,#f1ecf7 43px,#f1ecf7 44px)}.cash-trend-bar{min-width:0;background:transparent;border:0;color:#8a7b98;padding:0 3px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px;font:inherit;cursor:pointer;border-radius:8px}.cash-trend-bar:hover,.cash-trend-bar:focus-visible{background:#f3effc;outline:2px solid #bda8f2;outline-offset:-1px}.cash-trend-track{display:flex;align-items:flex-end;justify-content:center;height:140px;width:100%;flex-shrink:0}.cash-trend-track>span{display:block;width:70%;max-width:56px;min-width:6px;background:#a995ea;border-radius:7px 7px 2px 2px;transition:background .15s}.cash-trend-bar.is-selected .cash-trend-track>span{background:#7451d9}.cash-trend-bar.is-missing .cash-trend-track{background:linear-gradient(to top,#ebe5f4 2px,transparent 2px)}.cash-trend-value{font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}.cash-trend-chart:has(>:nth-child(16)) .cash-trend-value{visibility:hidden}.cash-trend-label{font-size:10px;line-height:1.4;min-height:28px;overflow-wrap:anywhere;text-align:center;flex-shrink:0}.cash-trend-partial{font-size:9px;color:#a38bb4;line-height:1}.cash-selected-day{padding:10px 22px 14px;border-top:1px solid #eee7f5}.cash-selected-day h3{margin:8px 0 0;font-size:14px}.cash-day-reconciliation>summary{font-size:12px;color:#7a6292;padding:10px 0;cursor:pointer}.cash-day-reconciliation>div{margin-top:8px}.cash-trend-explanation{margin:12px 22px 18px;font-size:11px;color:#8a7997;line-height:1.7}.cash-trend-explanation>summary{cursor:pointer}.cash-trend-explanation p{max-width:860px;margin:10px 0}.cash-ledger-summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px}.cash-ledger-summary>.cash-section-head{flex:1;margin:0;padding:0}.cash-ledger-summary:after{content:'⌄';color:#947da5}.cash-ledger[open]>.cash-ledger-summary:after{transform:rotate(180deg)}.cash-ledger[open]>.cash-ledger-summary{margin-bottom:16px}
@media(max-width:700px){.cash-counts-panel [data-cash-trend-controls]{padding:0 16px 14px}.cash-trend-periods{width:100%;box-sizing:border-box;gap:3px}.cash-trend-periods button{flex:1;padding:9px 6px;font-size:11px}.cash-trend-range{gap:10px}.cash-trend-range>.field{flex:1;width:auto}.cash-trend-range>span{width:100%;padding:0}.cash-trend-metrics{margin:0 16px 16px;gap:7px}.cash-trend-metric{padding:10px;gap:7px}.cash-trend-metric>span{font-size:10px;line-height:1.5}.cash-trend-metric>strong{font-size:16px}.cash-trend-metric>small{font-size:9px}.cash-trend-chart-head{margin:0 16px 12px;align-items:flex-start;flex-direction:column;gap:5px}.cash-trend-scroll{margin:0 16px 10px}.cash-trend-chart{height:205px}.cash-selected-day{padding:8px 16px 14px}.cash-trend-explanation{margin:10px 16px 16px}}

.cash-entry-toggle{margin:0 0 18px;border:1px solid #e6def2;border-radius:13px;background:#fff}.cash-entry-toggle>summary{padding:16px 20px;cursor:pointer;font-size:13px;color:#746088;line-height:1.6}.cash-entry-toggle>.cash-panel{border:0;margin:0;box-shadow:none}.cash-entry-toggle[open]>summary{border-bottom:1px solid #eee7f5}

.cash-trend-bar{display:grid;grid-template-rows:16px 140px 28px 12px;align-content:end;justify-items:center;row-gap:4px}.cash-trend-chart{height:220px}@media(max-width:700px){.cash-trend-chart{height:220px}}
