.cash-balance-view{min-width:0;max-width:1100px;margin:0 auto}.cash-balance-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.cash-balance-totals article{border:1px solid var(--line,#dfe7e6);border-radius:10px;padding:14px;min-width:0}.cash-balance-totals small{display:block;min-height:2.8em}.cash-balance-totals strong{display:block;margin-top:8px;font-size:1.3rem;overflow-wrap:anywhere}.cash-balance-equation{background:#edf6f3;padding:12px;border-radius:8px;overflow-wrap:anywhere}.cash-balance-table{table-layout:fixed;width:100%;border-collapse:collapse;font-size:.86rem}.cash-balance-table th,.cash-balance-table td{padding:10px 8px;border-bottom:1px solid var(--line,#dfe7e6);text-align:left;vertical-align:top;overflow-wrap:anywhere}.cash-balance-table th:first-child{width:105px}.cash-balance-table th:last-child{width:125px}.cash-balance-table td:last-child,.cash-balance-table th:last-child{text-align:right;font-weight:700}.cash-balance-table small{display:block;color:var(--muted,#617177);margin-top:3px}.cash-balance-view p{line-height:1.5}.cash-balance-view .income{color:#08734f}.cash-balance-view .expense{color:#a33836}@media(max-width:650px){.cash-balance-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cash-balance-totals article{padding:10px}.cash-balance-totals strong{font-size:1.1rem}.cash-balance-table{font-size:.8rem}.cash-balance-table th:first-child{width:74px}.cash-balance-table th:last-child{width:87px}.cash-balance-table th,.cash-balance-table td{padding:8px 4px}}

.cash-balance-table .cash-operation-link{display:inline;text-align:left;border:0;padding:0;background:none;color:#0c776c;font:inherit;font-weight:700;line-height:1.4;text-decoration:underline;text-underline-offset:3px;white-space:normal;max-width:100%;overflow-wrap:anywhere}.cash-operation-link:hover{color:#07594f}.cash-operation-link:focus-visible{outline:2px solid #0c776c;outline-offset:3px}.cash-operation-detail{display:grid;grid-template-columns:minmax(100px,.5fr) minmax(0,1fr);gap:10px 16px}.cash-operation-detail dt{font-weight:700}.cash-operation-detail dd{margin:0;overflow-wrap:anywhere}.cash-operation-notes{white-space:pre-wrap;overflow-wrap:anywhere}

.cash-edit-review th:first-child{width:22%}.cash-edit-review th:last-child{width:39%}.cash-edit-review td:last-child,.cash-edit-review th:last-child{text-align:left}.cash-edit-balances th:first-child{width:40%}.cash-edit-balances th:last-child{width:30%}.cash-edit-balances th:nth-child(2),.cash-edit-balances td:nth-child(2){text-align:right}

.cash-operation-history{margin:24px 0;border-top:1px solid var(--line,#dfe7e6);padding-top:10px}.cash-history-list{list-style:none;margin:12px 0;padding:0;display:grid;gap:12px}.cash-history-entry{border:1px solid var(--line,#dfe7e6);border-radius:10px;padding:14px;overflow-wrap:anywhere}.cash-history-heading{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.cash-history-entry time,.cash-history-entry>small{color:var(--muted,#617177);font-size:.82rem}.cash-history-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.cash-history-values div{background:#f2f7f5;padding:10px;border-radius:7px;min-width:0}.cash-history-values span,.cash-history-values strong,.cash-history-values small{display:block}.cash-history-values span,.cash-history-values small{font-size:.8rem;color:var(--muted,#617177)}.cash-history-values strong{margin:4px 0;font-size:1.05rem}.cash-history-entry details{margin-top:10px}.cash-history-entry summary{cursor:pointer}.cash-history-entry ul{padding-left:20px;font-size:.85rem}.cash-history-entry li{margin:6px 0}.cash-history-entry>p{font-size:.8rem;margin-bottom:0}@media(max-width:600px){.cash-history-entry{padding:10px}.cash-history-values{gap:8px}.cash-history-values strong{font-size:.95rem}}

.cash-field-choice{display:flex!important;align-items:flex-start;gap:7px;font-size:inherit!important;margin:0!important;line-height:1.4}.cash-field-choice input[type=checkbox]{width:16px;height:16px;min-width:16px;flex:0 0 16px;margin:2px 0 0;accent-color:#0c776c}.cash-edit-review th:first-child{width:30%}.cash-edit-review th:last-child{width:35%}.cash-edit-review small{font-weight:400}.cash-edit-review td{transition:background .15s}.cash-edit-review tr:has(input:not(:checked)) td:last-child{background:#f4f6f5;color:var(--muted,#617177)}
