.refund-dialog-content{display:flex;flex-direction:column;gap:20px}.refund-dialog-content h3{font-size:16px;margin:0 0 10px}.refund-overview .refund-number{font-size:12px;overflow-wrap:anywhere}.refund-order-lines{border-bottom:1px solid var(--line);padding:12px 0}.refund-order-lines .split{align-items:flex-start;gap:12px;margin:4px 0}.refund-balances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px 0}.refund-balances>div{display:flex;flex-direction:column;gap:5px}.refund-balances .muted{font-size:12px}.refund-balances strong{font-size:17px;font-variant-numeric:tabular-nums}.refund-available{border-top:1px solid var(--line);padding-top:12px}.refund-amount{font-size:25px;color:var(--green);font-variant-numeric:tabular-nums}.refund-modes{display:flex;gap:8px;margin:12px 0 20px}.refund-modes .refund-mode{display:flex;flex:1;min-width:0;min-height:68px;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:10px 4px;border:1px solid var(--line);border-radius:10px;background:var(--surface,#fff);color:var(--ink);cursor:pointer;font:inherit;font-size:13px}.refund-mode span{font-size:12px;color:var(--muted)}.refund-mode.selected{border-color:var(--green);background:var(--soft,#edf2eb);color:var(--green)}.refund-draft{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;margin:18px 0}.refund-draft p{font-size:12px;margin:6px 0 0}.refund-picker .field{margin:12px 0}.refund-fee-adjust>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:13px;color:var(--green)}.refund-merchant-cancel{margin:10px 0}.refund-merchant-cancel>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:13px;color:var(--muted)}.refund-merchant-cancel p{font-size:12px;margin:6px 0 0}.refund-reasons{display:flex;gap:8px;flex-wrap:wrap;margin-top:-6px}.refund-reason{font:inherit;font-size:13px;min-height:44px;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--canvas,#f7f5ef);color:var(--ink);cursor:pointer}.refund-inline-error{color:var(--danger,#b23a2e);font-size:13px;margin:0;white-space:pre-wrap}.refund-inline-error:empty{display:none}.refund-review-total{text-align:center;padding:20px 0}.refund-review-total strong{display:block;font-size:34px;color:var(--danger,#b23a2e);font-variant-numeric:tabular-nums}.refund-review .split{margin:10px 0}.refund-review-reason{margin:16px 0;padding-top:14px;border-top:1px solid var(--line)}.refund-review-reason p{margin:5px 0}.refund-review .actions{margin-top:18px}.refund-result{border-radius:10px;padding:16px;background:var(--canvas,#f7f5ef)}.refund-result.success{background:#e8f5ee;color:#1f7a54}.refund-result.warning{background:#fff4e4;color:#9a5c03}.refund-result.danger{background:#fcedeb;color:#b23a2e}.refund-result .actions{margin-top:14px}.refund-record{padding:16px 0;border-top:1px solid var(--line)}.refund-record p{margin:5px 0;font-size:13px}.refund-record-amount{font-size:19px;font-variant-numeric:tabular-nums}.refund-record .muted{font-size:12px}.refund-record .split{gap:12px}.refund-dialog-content [hidden],.refund-picker [hidden]{display:none!important}.refund-editor textarea{min-height:96px}.refund-editor>.button{width:100%}
@media(max-width:420px){.refund-review .actions{display:flex;flex-direction:column}.refund-review .actions .button{width:100%}.refund-balances{gap:6px}.refund-balances strong{font-size:15px}.refund-modes{gap:6px}.refund-mode strong{font-weight:500}.refund-order-lines .split{font-size:13px}.refund-order-lines .split>:last-child{flex-shrink:0}}

.refund-dialog-content .split{display:flex;justify-content:space-between;align-items:center;gap:12px}.refund-dialog-content .split>span:first-child{min-width:0}.refund-dialog-content .split>span:last-child{flex-shrink:0}

.refund-error-details summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:12px;color:var(--muted)}.refund-error-details p{overflow-wrap:anywhere}
