.rv-collection-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 0;border-top:1px solid var(--border-default)}
.rv-collection-amount{font-size:25px;font-weight:600;margin:7px 0;color:var(--text-heading)}
.rv-collection-actions{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
#divDepositRows .rv-collection-row:first-child{border-top:0;padding-top:0}
#divDepositRows .btn-link{color:var(--color-primary-outline);text-decoration:none}#divDepositRows .btn-link:hover{text-decoration:underline}
.rv-collection-note{background:var(--surface-sunken);color:var(--text-body);padding:12px 14px;border-radius:7px;font-size:13px;line-height:1.7}
.rv-collection-choice{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--border-default);border-radius:7px;padding:12px 14px;margin-bottom:9px;cursor:pointer}
.rv-collection-choice:has(input:checked){border-color:var(--rv-teal-700);background:var(--rv-green-50)}
.rv-collection-choice input{margin-top:5px;accent-color:var(--rv-teal-700)}
.rv-collection-choice strong{font-size:14px;font-weight:500}.rv-collection-choice small{display:block;color:var(--text-muted);margin-top:4px}
@media(max-width:576px){.rv-collection-row{gap:12px}.rv-collection-actions .btn{font-size:12px}.rv-collection-amount{font-size:22px}}
/* 金流紀錄 ledger: 付款狀態／付款方式, then 費用總額 | 已收 − 已退 = 淨收 | one conclusion row. */
.rv-ledger{border:1px solid var(--border-default);border-radius:8px;padding:14px 18px 16px}
.rv-ledger-meta{display:flex;flex-direction:column;gap:6px;padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid var(--border-default);font-size:15px}
.rv-ledger-meta-row{display:flex;justify-content:space-between;align-items:center;gap:12px}
.rv-ledger-meta .badge{font-size:12px}
.rv-ledger-edit{margin-left:2px;font-size:12px;color:var(--text-muted)}.rv-ledger-edit:hover{color:var(--text-body)}
.rv-ledger-figures{display:flex;flex-direction:column;gap:8px;font-variant-numeric:tabular-nums}
.rv-ledger-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:15px}
.rv-ledger-row>span:first-child{color:var(--text-muted)}
.rv-ledger-rule{margin:4px 0;border:0;border-top:1px solid var(--border-input);opacity:1}
.rv-ledger-net{padding-top:10px;margin-top:2px;border-top:1px solid var(--border-input)}
.rv-ledger-net>span:first-child,.rv-ledger-net>span:last-child{color:var(--text-heading);font-weight:600}
.rv-ledger-net>span:last-child{font-size:22px}
.rv-ledger-conclusion{display:flex;align-items:flex-start;gap:8px;margin-top:4px;padding:10px 12px;border-radius:6px;font-size:14px;line-height:1.5}
.rv-ledger-conclusion a{color:inherit;text-decoration:underline}
.rv-ledger-ok{background:#e3f5ec;color:#0b5c45}
.rv-ledger-neutral{background:#eceef1;color:var(--text-body)}
.rv-ledger-attention{background:#fff1d6;color:#6b4100}
.rv-ledger-danger{background:#fde7e7;color:#9b1c1c}
@media(max-width:576px){.rv-ledger{padding:12px 14px 14px}.rv-ledger-meta,.rv-ledger-row{font-size:14px}.rv-ledger-net>span:last-child{font-size:20px}.rv-ledger-conclusion{font-size:13px}}
/* Quick menu 費用明細: item and coupon lines at the ledger's size, so the card reads as one list. */
.rv-quick-fee-lines,.rv-quick-fee-lines .rv-fee-line-amount{font-size:15px}
@media(max-width:576px){.rv-quick-fee-lines,.rv-quick-fee-lines .rv-fee-line-amount{font-size:14px}}
/* Payment records table: the tag after a clickable 金流編號 says what the click opens. */
.rv-record-tag{display:inline-flex;align-items:center;height:18px;padding:0 7px;margin-left:6px;border-radius:2rem;font-size:11px;font-weight:600;line-height:1;border:1px solid currentColor;vertical-align:middle}
.rv-record-tag-dark{color:var(--text-primary)}.rv-record-tag-primary{color:var(--color-primary-outline)}.rv-record-tag-muted{color:var(--text-muted)}
/* Refund / confirm-report modals: the record summary card that replaced the 金流紀錄 modal. */
.rv-record-summary{background:var(--surface-sunken);border-radius:8px;padding:14px 16px}
.rv-record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px;margin-top:10px}
.rv-record-kv{display:flex;gap:8px;align-items:baseline;font-size:13px;min-width:0}
.rv-record-k{color:var(--text-muted);flex:none;width:72px}
.rv-record-v{color:var(--text-body);overflow-wrap:anywhere}
.rv-record-mono{font-family:SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}
.rv-refund-history{border:1px solid var(--border-default);border-radius:8px;overflow:hidden}
.rv-refund-history-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--border-default);font-size:14px}
.rv-refund-history-row:last-child{border-bottom:0}
@media(max-width:576px){.rv-record-grid{grid-template-columns:1fr}}
