.customer-rma{color:#17212f;font-size:14px;min-width:0;letter-spacing:0}.customer-rma *,.cr-dialog *{box-sizing:border-box;letter-spacing:0}.cr-heading,.cr-actions,.cr-footer,.cr-detail>header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.cr-heading{margin:0 0 22px}.cr-heading h1{font-size:28px;line-height:1.25;margin:0}.cr-heading p{margin:5px 0 0;color:#64748b;font-size:13px}.cr-actions{justify-content:flex-start;gap:8px}.cr-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:36px;min-height:36px;padding:8px 11px;border:1px solid #d8e0e9;border-radius:5px;background:#fff;color:#334155;font:inherit;font-size:13px;cursor:pointer;line-height:1.3;max-width:100%}.cr-button:hover{background:#edf3fc;border-color:#91b4ff}.cr-button:focus-visible,.cr-tabs button:focus-visible{outline:2px solid #205cef;outline-offset:2px}.cr-button:disabled{opacity:.5;cursor:wait}.cr-button.cr-primary{color:#fff;background:#205cef;border-color:#205cef}.cr-button svg,.customer-rma svg,.cr-dialog svg{width:18px;height:18px;flex-shrink:0;stroke-width:1.8}.cr-tabs{display:flex;gap:14px;overflow-x:auto;border-bottom:1px solid #dbe2ea;margin-bottom:18px}.cr-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#586577;padding:12px 6px;display:flex;gap:8px;align-items:center;white-space:nowrap;cursor:pointer;font-size:14px}.cr-tabs button[aria-current]{color:#205cef;border-bottom-color:#205cef;font-weight:600}.cr-tabs span{font-size:12px;background:#f0f3f7;color:#576477;padding:2px 6px;border-radius:4px}.cr-filters{display:flex;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}.cr-search{flex:1;min-width:220px;display:flex;gap:10px;align-items:center;border:1px solid #cbd5e1;border-radius:5px;padding:0 12px;height:40px}.customer-rma .cr-search input{border:0;box-shadow:none;outline:0;width:100%;min-width:0;padding:8px 0;background:transparent;font:inherit}.customer-rma select{border:1px solid #cbd5e1;background:#fff;color:#334155;min-height:36px;padding:7px 10px;border-radius:4px;font:inherit;max-width:100%}.cr-table-scroll{overflow:auto;border:1px solid #dce3eb;border-radius:5px}.customer-rma table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:840px;background:#fff}.customer-rma th{text-align:left;background:#f3f5f8;color:#526176;font-size:12px;font-weight:600;padding:13px 14px;border-bottom:1px solid #dce3eb}.customer-rma td{vertical-align:top;padding:15px 14px;border-bottom:1px solid #e7edf3;font-size:13px;overflow-wrap:anywhere;line-height:1.45}.customer-rma th:nth-child(2){width:24%}.customer-rma th:last-child{width:65px}.customer-rma td>span,.customer-rma td small,.customer-rma td strong{display:block}.customer-rma td small{color:#687a8e;font-size:12px;margin-top:4px}.customer-rma td strong{font-size:13px;font-weight:600;margin-bottom:4px}.customer-rma tr:last-child td{border-bottom:0}.customer-rma tr.cr-selected td{background:#eff5ff}.customer-rma .cr-badge{display:inline-block;width:fit-content;background:#edf1f6;color:#536173;padding:3px 7px;font-size:12px;line-height:1.3;border-radius:4px}.customer-rma .cr-ticket_created,.customer-rma .cr-inbound_in_transit{background:#fff4d9;color:#80570e}.customer-rma .cr-received_at_lab{background:#e6f1ff;color:#2857a4}.customer-rma .cr-replacement_approved,.customer-rma .cr-closed{background:#def6e9;color:#146b47}.customer-rma .cr-danger{background:#ffeaec;color:#ac243a}.cr-footer{padding:12px 0;color:#64748b;font-size:12px}.cr-footer label{display:flex;align-items:center;gap:8px}.cr-detail{margin-top:20px;border-top:2px solid #205cef;padding-top:20px}.cr-detail h2{font-size:19px;line-height:1.4;margin:0}.cr-detail h2 span{font-size:14px;color:#526176;margin-left:12px;font-weight:400}.cr-detail p{font-size:13px;color:#5c6b7f;overflow-wrap:anywhere;margin:8px 0}.cr-case-actions{margin:16px 0}.cr-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:16px 0;margin:0;border-top:1px solid #e0e7ef;border-bottom:1px solid #e0e7ef}.cr-detail dt{font-size:12px;color:#69788d;margin-bottom:5px}.cr-detail dd{font-size:13px;color:#243146;margin:0;overflow-wrap:anywhere}.cr-parcels{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin:20px 0}.cr-parcels h3{display:flex;align-items:center;gap:8px;font-size:14px;margin:0 0 15px}.cr-parcels dl{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0}.cr-inspection{border-top:1px solid #e0e7ef;padding:14px 0;font-size:13px}.cr-inspection span{display:block;margin-top:8px}.cr-track{display:flex;align-items:center;gap:5px;margin-top:14px;color:#205cef}.cr-empty{text-align:center;height:120px;color:#64748b}.cr-dialog{border:1px solid #dbe2ea;border-radius:8px;padding:0;max-width:740px;width:calc(100% - 32px);max-height:90dvh;overflow:auto;background:#fff;color:#17212f;box-shadow:0 16px 60px #0f172a33;font:14px system-ui,sans-serif}.cr-dialog::backdrop{background:#101a2a80}.cr-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 22px;border-bottom:1px solid #e0e7ef}.cr-dialog h2{font-size:19px;margin:0;overflow-wrap:anywhere}.cr-dialog h3{font-size:15px}.cr-dialog form{padding:22px}.cr-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cr-fields label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:13px}.cr-fields input,.cr-fields select,.cr-fields textarea{width:100%;min-width:0;max-width:100%;border:1px solid #cbd5e1;border-radius:4px;padding:10px;font:inherit;background:#fff;color:#17212f;min-height:40px}.cr-fields textarea{resize:vertical}.cr-wide{grid-column:1/-1}.cr-lookup{display:flex;align-items:flex-end;gap:10px}.cr-lookup label{flex:1}.cr-lookup-result{display:flex;gap:6px;flex-direction:column;font-size:13px;overflow-wrap:anywhere}.cr-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.cr-error{background:#fff0f1;color:#9e2234;padding:12px;border-left:3px solid #ce4051;overflow-wrap:anywhere}.cr-timeline{padding:0 0 0 20px;margin:0}.cr-timeline li{padding:0 0 18px 8px;border-left:1px solid #e0e7ef;overflow-wrap:anywhere}.cr-timeline small{display:block;color:#687a8e;margin-top:5px}.cr-timeline p{font-size:13px;white-space:pre-wrap}.cr-files{display:flex;flex-direction:column;gap:8px}.cr-disposition{padding-bottom:16px}.cr-serial{font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px}
@media(max-width:650px){.cr-heading h1{font-size:23px}.cr-heading{gap:14px}.cr-tabs{gap:8px}.cr-filters>*{flex:1}.cr-filters>.cr-button{flex:0}.cr-search{min-width:100%;flex-basis:100%}.cr-facts{grid-template-columns:1fr 1fr}.cr-parcels{grid-template-columns:1fr}.cr-dialog{width:calc(100% - 20px)}.cr-dialog form{padding:16px}.cr-dialog>header{padding:16px}.cr-fields{grid-template-columns:1fr}.cr-lookup{flex-wrap:wrap}.cr-lookup label{flex-basis:100%}.cr-detail h2 span{display:block;margin-left:0}.cr-case-actions .cr-button{flex-grow:1}.cr-dialog footer{flex-wrap:wrap}.cr-facts dd,.cr-parcels dd{font-size:12px}}
.cr-return-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.cr-return-filters label{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:12px;color:#536173}.cr-return-filters input,.cr-return-filters select{height:38px;min-width:0;width:100%;border:1px solid #cbd5e1;border-radius:4px;background:#fff;padding:8px;font:inherit;color:#243146}.cr-return-filters .cr-actions{align-self:end;flex-wrap:nowrap}.cr-return-totals{display:flex;flex-wrap:wrap;gap:12px 28px;padding:14px 0;margin-bottom:18px;border-block:1px solid #e0e7ef;color:#526176;font-size:13px}.cr-return-totals strong{font-size:20px;color:#17212f;margin-right:5px}.customer-returns h2{font-size:18px}.customer-returns h2 small{font-weight:400;font-size:12px;color:#64748b}.customer-returns .cr-table-scroll{max-height:65vh}.customer-returns th{position:sticky;top:0}.customer-returns .cr-serial{max-height:80px;overflow:auto}.customer-returns .cr-table-scroll table{min-width:1000px}@media(max-width:1100px){.cr-return-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:750px){.cr-return-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.cr-return-filters .cr-actions{grid-column:1/-1}}@media(max-width:430px){.cr-return-filters{grid-template-columns:minmax(0,1fr)}}
.cr-dialog .cr-writeoff{display:flex;flex-direction:row;align-items:flex-start;gap:10px;color:#9e2234}.cr-dialog .cr-writeoff input{width:18px;min-height:18px;flex:0 0 18px;margin-top:2px}.cr-dialog .cr-facts dd{margin:0;overflow-wrap:anywhere}.cr-dialog .cr-facts dt{font-size:12px;color:#687a8e;margin-bottom:4px}.cr-dialog [hidden]{display:none!important}
.cr-dialog{margin:auto}.cr-dialog [data-unit-routing]>h3{margin:18px 0 12px}.cr-dialog [data-unit-routing] .cr-facts{padding-bottom:14px;margin-bottom:16px}
