.refund-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid var(--line,#444);border-radius:18px;background:var(--card,var(--graphite-2,#242424));color:var(--text,var(--bone,#eee));font:400 14px/1.5 Inter,sans-serif;overflow:auto;color-scheme:dark}
.refund-dialog::backdrop{background:#0009}.refund-dialog *{box-sizing:border-box}.refund-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #8884}.refund-head h2{margin:0;font-size:20px}.refund-close{background:transparent;border:0;color:inherit;font-size:28px;cursor:pointer}.refund-content{padding:20px 24px}.refund-order{margin-top:0}.refund-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.refund-totals span{font-size:12px;overflow-wrap:anywhere}.refund-totals strong{display:block;margin-top:6px;font-size:15px}.refund-note{color:var(--muted,#aaa);font-size:12px}.refund-entry{border:1px solid #8884;border-radius:12px;padding:16px;margin:18px 0}.refund-entry-head{display:flex;align-items:start;justify-content:space-between;gap:12px}.refund-entry-head h3{margin:0;font-size:15px}.refund-user-text{white-space:pre-wrap;overflow-wrap:anywhere}.refund-form{display:grid;gap:14px;margin-top:18px}.refund-form h3{margin:0}.refund-form label{display:grid;gap:6px}.refund-form input:not([type=checkbox]),.refund-form textarea,.refund-form select{width:100%;min-width:0;padding:11px;border-radius:8px;border:1px solid #8887;background:var(--input-bg,#fff1);color:inherit;font:inherit}.refund-form select option{background:#292929;color:#fff}.refund-form textarea{min-height:88px;resize:vertical}.refund-form input[type=checkbox]{width:18px;height:18px;accent-color:#f79a24}.refund-form .refund-check{display:flex;align-items:start;font-size:12px}.refund-form button,.refund-inbox-row{padding:11px 16px;border:1px solid #f79a24;border-radius:9px;background:#f79a24;color:#171717;font:600 14px Inter,sans-serif;cursor:pointer}.refund-form button:disabled{opacity:.5;cursor:wait}.refund-form .refund-secondary{background:transparent;color:inherit;border-color:#8887}.refund-buttons{display:flex;flex-wrap:wrap;gap:10px}.refund-error{color:#ffad9e;background:#b321211a;padding:12px;border-radius:8px;overflow-wrap:anywhere}.refund-history{margin:18px 0}.refund-history li{margin:8px 0}.refund-inbox-row{display:flex;justify-content:space-between;gap:12px;width:100%;text-align:left;margin-top:12px;background:transparent;border-color:#8885;color:inherit}.refund-inbox-row small{display:block;margin-top:4px}.refund-dialog [hidden]{display:none!important}.refund-dialog::-webkit-scrollbar{width:7px}.refund-dialog::-webkit-scrollbar-thumb{background:#8886;border-radius:8px}.refund-dialog{scrollbar-width:thin;scrollbar-color:#8886 transparent}.btn-refund{border:1px solid #8886;border-radius:8px;padding:7px 10px;background:transparent;color:inherit;font:inherit;cursor:pointer}.refund-launch{margin:0 0 16px}
[data-theme=light] .refund-dialog,body.light .refund-dialog{color-scheme:light;background:#fff;color:#252525}
@media(max-width:560px){.refund-head,.refund-content{padding:16px}.refund-head h2{font-size:18px}.refund-totals{grid-template-columns:1fr;gap:10px}.refund-totals span{display:flex;justify-content:space-between;gap:12px}.refund-totals strong{margin:0;text-align:right}.refund-entry{padding:13px}.refund-entry-head{flex-direction:column;gap:4px}.refund-buttons>*{flex:1}.refund-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}}
