.uph-card{grid-column:1/-1;min-width:0;padding:0!important;overflow:hidden;background:#fff;border-radius:14px}
.uph-head,.uph-toolbar,.uph-footer{padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px}.uph-head{border-bottom:1px solid #f1f3f9}.uph-head h3{font-size:16px;line-height:24px;margin:0;font-weight:500;color:#2c2d33}.uph-toolbar{flex-wrap:wrap}.uph-tabs{display:flex;padding:3px;gap:2px;background:#f5f5fb;border-radius:8px;max-width:100%}.uph-tab{border:0;background:transparent;border-radius:6px;padding:8px 12px;font:400 14px/20px Inter,Arial,sans-serif;color:#7c7e8a;cursor:pointer}.uph-tab[aria-pressed=true]{background:#fff;color:#5570f1;box-shadow:0 1px 4px #1c24600a}.uph-tab:focus-visible,.uph-table-scroll:focus-visible{outline:2px solid #5570f1;outline-offset:2px}.uph-muted{font-size:12px;line-height:18px;color:#8b8d97}.uph-table-scroll{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:0 6px}.uph-table{width:100%;min-width:740px;table-layout:auto}.uph-table small{display:block;margin-top:3px}.uph-table th{white-space:nowrap}.uph-table .uph-order{max-width:230px;overflow-wrap:anywhere}.uph-nowrap{white-space:nowrap}.uph-amount{text-align:right}.uph-table th:nth-child(3){text-align:inherit}.uph-table .btn{white-space:nowrap}.uph-status{display:inline-flex;align-items:center;padding:3px 8px;border-radius:8px;font:400 12px/16px Inter,Arial,sans-serif;white-space:nowrap;background:#f3f4f7;color:#6e7079}.uph-completed{color:#218568;background:#e6f4ed}.uph-declined{color:#d34a64;background:#fff0f3}.uph-cancelled,.uph-refunded,.uph-partially_refunded{color:#aa7331;background:#fff3e6}.uph-authorized,.uph-pending{color:#5570f1;background:#edf0ff}.uph-footer{align-items:flex-start;flex-direction:column;border-top:1px solid #f1f3f9}.uph-pagination{display:flex;align-items:center;gap:8px;flex-wrap:wrap;width:100%}.uph-pagination>span{margin-right:auto}.uph-note{margin:0}.uph-empty{padding:20px;text-align:center;color:#8b8d97}.uph-warning{color:#b57525;font-size:12px;line-height:18px}.uph-dialog{width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #e1e2e9;border-radius:16px;color:#45464e;box-shadow:0 16px 60px #20243826}.uph-dialog::backdrop{background:#20243870}.uph-dialog-head{padding:18px 22px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #f1f3f9}.uph-dialog-head h3{margin:0;font:500 18px/24px Inter,Arial,sans-serif}.uph-dialog-body{padding:20px 22px;overflow:auto;max-height:calc(100dvh - 126px)}.uph-detail-line{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;margin-top:12px;font-size:14px;line-height:20px;overflow-wrap:anywhere}.uph-events{margin:20px 0 0;padding-left:20px}.uph-events li{padding:8px 0}.uph-events li>span{display:block;margin-top:2px}.uph-events strong{font-weight:500;font-size:14px}.uph-activation{background:#e6f4ed;color:#218568;padding:10px 12px;border-radius:8px;font-size:13px;line-height:20px}
.uph-card .uph-table th{text-align:left}.uph-card[data-view=operations] .uph-table th:nth-child(3){text-align:right}
@media(max-width:650px){.uph-head,.uph-toolbar,.uph-footer{padding:14px 16px}.uph-toolbar{align-items:flex-start;gap:8px}.uph-tabs{width:100%}.uph-tab{flex:1;padding:8px;font-size:13px}.uph-load-state{width:100%}.uph-dialog-body{padding:16px}.uph-detail-line{grid-template-columns:110px minmax(0,1fr)}.uph-pagination .btn{min-height:34px}.uph-dialog-head{padding:14px 16px}}
