.custody-week-filter{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.custody-week-filter label{flex:1;min-width:160px}.custody-week-total,.custody-week-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.custody-week-total>div,.custody-week-card{border:2px solid #cddbe4;border-radius:10px;padding:14px;min-width:0}.custody-week-total>div,.custody-week-values>div,.custody-week-closing>div{display:flex;flex-direction:column;gap:6px}.custody-week-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.custody-week-closing{grid-column:1/-1;background:#edf9f1;padding:10px;border-radius:8px;color:#174b34}.custody-week-entry{display:flex;flex-direction:column;gap:6px;border-bottom:2px solid #d8e2e8;padding:12px 0;overflow-wrap:anywhere}.custody-week strong{overflow-wrap:anywhere}@media(max-width:600px){.custody-week-methods{grid-template-columns:1fr}.custody-week-total{gap:8px}.custody-week-total>div{padding:10px}}

.custody-week-review table{width:100%;min-width:0;table-layout:fixed}.custody-week-review td,.custody-week-review th{white-space:normal;overflow-wrap:anywhere;padding:12px 8px;border:1px solid #d4dee4;vertical-align:top}.custody-week-review td button{display:block;margin:4px 0;width:100%}.custody-week-review h3{margin-top:24px}.custody-week-review summary{cursor:pointer;font-weight:bold;padding:12px 0}.custody-week-review bdi{font-variant-numeric:tabular-nums}.custody-status-approved{color:#1b6846}.custody-status-pending{color:#895b0c}.custody-status-rejected,.custody-status-reversed{color:#a03c32}@media(max-width:650px){.custody-week-review table{min-width:700px}.custody-week-review .table-scroll{overflow:auto}.custody-week-filter button{flex:1}}
@media(max-width:650px){.custody-week-review table{min-width:0}.custody-week-review thead{display:none}.custody-week-review table,.custody-week-review tbody{display:block;width:100%}.custody-week-review tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:2px solid #cddbe4;border-radius:8px;margin:10px 0;overflow:hidden}.custody-week-review td{display:block;min-width:0}.custody-week-review td::before{content:attr(data-label);display:block;font-size:12px;font-weight:700;color:#526877;margin-bottom:8px}.custody-week-review td:last-child:nth-child(odd){grid-column:1/-1}}
.custody-receipt-actions{display:flex;gap:8px;flex-wrap:wrap}.custody-receipt-actions button{min-height:42px}.custody-receipt-actions .custody-receipt-cancel{color:#a32c27;border-color:#e1b6b3;background:#fff7f6}.custody-week-review .custody-receipt-actions{display:block}
