.qe-dialog{width:min(720px,96vw)}
.qe-body{padding:22px 28px;display:grid;gap:18px;overflow-wrap:anywhere}
.qe-body p{margin:8px 0;line-height:1.8}
.qe-summary,.qe-status{background:#fff;border:1px solid #e4e3ed;border-radius:13px;padding:16px}
.qe-amounts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 8px}
.qe-amounts small,.qe-amounts strong{display:block}.qe-amounts small{font-size:11px;color:#6b667b;margin-bottom:8px}.qe-amounts strong{font-size:15px}
.qe-payment{font-size:12px;color:#625a78}.qe-payment.is-overdue{color:#a62e39;font-weight:600}
.qe-status{background:#f7f6fc}.qe-status>strong{font-size:14px}.qe-status p{font-size:12px}.qe-status.is-approved{border-color:#b7d5c8;background:#f2f8f4;color:#22563f}
.qe-reason{white-space:pre-wrap}.qe-evidence{display:inline-block;margin-top:4px;font-size:12px}
.qe-form{display:grid;gap:14px}.qe-actions{display:flex;justify-content:flex-start;gap:8px;flex-wrap:wrap}.qe-revoke{color:#a13d46;border-color:#dbb8bc}
.qe-review{border:1px solid #d9d4ef;border-radius:13px;background:#f7f5ff;padding:16px}.qe-review>strong{font-size:14px}.qe-review p{font-size:12px}.qe-review.is-pending{border-inline-start:3px solid #6a4bb8}.qe-review.is-returned{background:#fff8ed;border-color:#e9d3a7}.qe-review.is-approved{background:#f2f8f4;border-color:#b7d5c8}.qe-review-note{white-space:pre-wrap;font-weight:600}
.qe-inbox-trigger{white-space:nowrap}.qe-inbox-trigger.has-pending{border-color:#7e67bf;color:#4d338e;background:#f3efff}.qe-inbox-list{display:grid;gap:10px}.qe-inbox-item{border:1px solid #e4e3ed;border-radius:12px;padding:14px;display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,.8fr);gap:18px}.qe-inbox-item.is-pending{border-inline-start:3px solid #6a4bb8}.qe-inbox-item p{font-size:12px;margin:6px 0}.qe-inbox-item small{display:block;color:#6b667b;font-size:11px;line-height:1.8}.qe-inbox-state{display:grid;justify-items:start;gap:5px}.qe-inbox-label{font-size:11px;font-weight:600;color:#584478}
.qe-history{border-top:1px solid #e4e3ed;font-size:12px;padding-top:12px}.qe-history summary{cursor:pointer}.qe-history>div{padding:12px 0;border-bottom:1px solid #eeeaf3}.qe-history strong{font-size:11px}.qe-history p{white-space:pre-wrap}
@media(max-width:520px){.qe-body{padding:18px 16px;gap:14px}.qe-dialog .qw-header{padding:18px 16px}.qe-dialog .qw-header h2{font-size:20px}.qe-amounts{gap:8px}.qe-amounts strong{font-size:12px}.qe-actions .qw-button{width:100%}.qe-inbox-item{grid-template-columns:minmax(0,1fr);gap:10px}.qe-inbox-trigger{font-size:11px;padding:8px 10px}}
