.refund-amount-note{display:block;color:#9a4b23;font-size:11px;line-height:1.5;white-space:normal;margin-top:4px}.refund-entry-link{display:inline-block;text-decoration:none;white-space:nowrap}.refund-recalculation,.refund-rule{background:#edf3ff;border:1px solid #ccdafa;border-radius:10px;padding:12px 16px;font-size:13px;line-height:1.65;color:#314e80}.refund-shell{max-width:1500px;margin:auto}.refund-intro,.refund-heading p,.refund-footnote{font-size:13px;color:#6b7d98;line-height:1.65}.refund-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.refund-stat,.refund-panel{background:#fff;border:1px solid #dfe7f3;border-radius:12px;padding:20px}.refund-stat strong{display:block;font-size:26px;line-height:1.5;color:#18365d;font-variant-numeric:tabular-nums}.refund-stat:first-child{border-top:3px solid #d18a28}.refund-stat small{color:#71819a}.refund-panel{margin:16px 0}.refund-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}.refund-heading h2{font-size:18px;margin:0}.refund-heading p{margin:5px 0 0}.refund-shell label{display:flex;flex-direction:column;gap:7px;font-size:13px;margin:12px 0}.refund-shell :is(input:not([type=checkbox]),select,textarea){width:100%;max-width:100%;box-sizing:border-box;border:1px solid #d4deef;border-radius:7px;background:white;color:#203e68;padding:10px 12px;min-height:42px;font:inherit}.refund-shell textarea{resize:vertical}.refund-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.refund-fields small{color:#70809a;line-height:1.5}.refund-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:14px}.refund-order-summary{background:#f5f8fd;border-radius:8px;padding:14px;font-size:13px;line-height:1.8;overflow-wrap:anywhere}.refund-order-summary strong{color:#1b4378}.refund-filters{display:flex;gap:12px;margin-bottom:14px}.refund-filters select{max-width:200px}.refund-record{border-top:1px solid #e3eaf4;padding:18px 0}.refund-record:first-child{border-top:0}.refund-record header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.refund-record h3{font-size:16px;margin:0 0 6px}.refund-record p{font-size:13px;margin:8px 0;line-height:1.7;overflow-wrap:anywhere}.refund-record .meta{font-size:12px;color:#70819a;line-height:1.7}.refund-badge{display:inline-block;border-radius:5px;padding:5px 9px;font-size:12px;white-space:nowrap;background:#eef1f6;color:#596c85}.refund-badge.pending{background:#fff1d9;color:#925d0b}.refund-badge.confirmed{background:#e4f5ee;color:#087553}.refund-badge.rejected,.refund-badge.voided{background:#fff0ee;color:#b13933}.refund-record-amounts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#f7f9fd;border-radius:8px;padding:12px;gap:12px;margin:12px 0;font-size:12px}.refund-record-amounts strong{display:block;margin-top:5px;font-size:18px;color:#1c3c66;font-variant-numeric:tabular-nums}.refund-record details{font-size:12px;color:#60738e;line-height:1.8}.refund-record details summary{cursor:pointer}.refund-record details ul{padding-left:18px}.refund-dialog{width:520px;max-width:calc(100vw - 32px);max-height:90vh;box-sizing:border-box;border:1px solid #d7e1f0;border-radius:14px;padding:24px;color:#1d395f}.refund-dialog::backdrop{background:#12284966}.refund-dialog h2{font-size:21px;margin:0 0 14px}.refund-dialog label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:13px}.refund-dialog :is(input,textarea){box-sizing:border-box;max-width:100%;width:100%;padding:10px;border:1px solid #cfdcec;border-radius:7px;font:inherit}.refund-dialog p{font-size:13px;line-height:1.7}.refund-dialog [role=alert],#refundMessage.error{color:#b0322d}#refundMessage{font-size:13px;min-height:20px}.refund-shell [hidden],.refund-dialog [hidden]{display:none!important}.refund-shell button:disabled{opacity:.5;cursor:not-allowed}.refund-empty{padding:28px;text-align:center;color:#75859b;font-size:14px}
@media(max-width:760px){.refund-fields{grid-template-columns:1fr;gap:0}.refund-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.refund-stat,.refund-panel{padding:14px}.refund-stat strong{font-size:23px}.refund-record-amounts{gap:8px;padding:10px}.refund-record-amounts strong{font-size:16px}.refund-filters{flex-direction:column}.refund-filters select{max-width:none}.refund-dialog{padding:18px}.refund-shell :is(input,select,textarea),.refund-dialog :is(input,textarea){font-size:16px}.refund-shell button,.refund-dialog button{min-height:44px}.refund-record header{flex-wrap:wrap}.refund-actions button{flex:1}.refund-rule{padding:10px 12px}.refund-heading{align-items:flex-start}.refund-shell{min-width:0}}
@media print{.refund-shell form,.refund-filters,.refund-actions,.refund-dialog{display:none}.refund-record{break-inside:avoid}.refund-stats{grid-template-columns:repeat(4,1fr)}}

.refund-verification-note{color:#885f12;background:#fff7e7;border-radius:7px;padding:10px 12px;font-size:13px;line-height:1.6}.refund-receipt-fields{min-width:0;border:1px solid #e6c990;background:#fffbf3;border-radius:8px;padding:12px;margin:14px 0}.refund-receipt-fields legend{font-weight:600}.refund-dialog label.refund-check{flex-direction:row;align-items:center;line-height:1.5}.refund-dialog .refund-check input{width:18px;height:18px;flex:0 0 18px;}
