.after-sale-order-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:18px;padding-top:18px;border-top:1px solid #e5e7eb}
.after-sale-guest-form .after-sale-code-row{display:flex;align-items:stretch;gap:10px;min-width:0}
.after-sale-guest-form .after-sale-code-row input{flex:1;min-width:0;width:0}
.after-sale-guest-form .after-sale-send-code{flex-shrink:0;padding:8px 12px;border:1px solid #d7dae2;border-radius:8px;background:#f8fafc;color:#344054;font-size:13px;cursor:pointer}
.after-sale-guest-form button:disabled{opacity:.55;cursor:wait}
.after-sale-guest-status{min-height:22px;color:#596474;font-size:13px;overflow-wrap:anywhere}
.after-sale-guest-dialog.layui-layer{border-radius:16px;overflow:hidden}
.after-sale-extra-fields{min-width:0;margin:0 0 20px;padding:16px 18px;border:1px solid #e3eaf0;border-radius:12px;background:#f8fafb}
.after-sale-extra-fields legend{width:auto;padding:0 6px;font-size:14px;font-weight:600;color:#364656}
.after-sale-extra-required{margin-left:8px;font-size:12px;font-weight:400;color:#8591a0}
.after-sale-extra-fields .after-sale-field:last-child,.after-sale-extra-values .after-sale-field:last-child{margin-bottom:0}
.after-sale-extra-values{margin:20px 0;padding:16px;border:1px solid #e5ebf0;border-radius:10px;background:#f8fafb;min-width:0}
.after-sale-extra-values h4{margin:0 0 12px;font-size:14px;font-weight:600;color:#364656}
.after-sale-extra-values .after-sale-field{display:block;margin:0 0 12px;font-size:13px;color:#5c6c79}
.after-sale-extra-values input,.after-sale-extra-values textarea{display:block;width:100%;max-width:100%;box-sizing:border-box;margin-top:6px;padding:10px 12px;border:1px solid #dfe6eb;border-radius:8px;background:#fff;color:#364656;font:inherit;line-height:1.6;resize:vertical;overflow-wrap:anywhere}
.after-sale-decision-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.after-sale-decision{padding:11px 10px;border:1px solid #d5d9e0;border-radius:8px;background:#fff;color:#24272e;font-size:14px;cursor:pointer}.after-sale-decision.after-sale-reject{border-color:#e5b1b1;color:#a33d36}.after-sale-history{border-left:2px solid #e5e7eb;padding-left:14px}.after-sale-history-item{margin:0 0 16px}.after-sale-history-title{display:flex;gap:12px;flex-wrap:wrap;font-weight:600;margin-bottom:6px}.after-sale-history-title span{font-size:12px;color:#747985;font-weight:400}.after-sale-history-item .after-sale-evidence{margin-top:10px}.after-sale-interface-check{display:flex;align-items:center;gap:8px;margin-top:18px;font-size:14px}
.after-sale-open{padding:8px 16px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#24272e;font-size:14px;cursor:pointer;white-space:nowrap}
.after-sale-order-status{font-size:13px;color:#6b7280}
.after-sale-popup{padding:22px;color:#24272e;font-size:14px;line-height:1.65;box-sizing:border-box}
.after-sale-popup h4{font-size:15px;font-weight:600;margin:20px 0 10px}
.after-sale-notice{padding:13px 15px;border:1px solid #f5dba0;border-radius:10px;background:#fffbeb;color:#8a5c12;margin-bottom:20px;font-size:14px}
.after-sale-email-notice{margin:-8px 0 18px;color:#596474;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.after-sale-countdown{margin:0 0 18px;padding:12px 14px;border:1px solid #dce9e2;border-left:3px solid #62937b;border-radius:8px;background:#f7faf8;color:#355a47;font-size:14px;line-height:1.6;font-variant-numeric:tabular-nums}.after-sale-countdown[hidden]{display:none}.after-sale-countdown.is-overdue{border-color:#f0ddbb;border-left-color:#c48b39;background:#fffbf4;color:#8a632d}
.after-sale-average{display:inline-block;margin-left:12px;color:#657168;font-size:12px;font-weight:400}@media(max-width:680px){.after-sale-average{display:block;margin:4px 0 0}}
.after-sale-field{display:flex;flex-direction:column;gap:8px;margin:0 0 18px;font-weight:500}
.after-sale-field input:not([type=file]),.after-sale-field textarea,.after-sale-field select{display:block;box-sizing:border-box;width:100%;padding:10px 12px;border:1px solid #d7dae2;border-radius:8px;background:#fff;color:#24272e;font-size:14px;font-weight:400;line-height:1.5}
.after-sale-field input[readonly]{background:#f7f8fa;color:#555}
.after-sale-field textarea{resize:vertical;min-height:120px}
.after-sale-type{padding:0;border:0;margin:0 0 18px}.after-sale-type legend{float:none;margin:0 0 8px;font-size:14px;font-weight:500}.after-sale-type label{display:flex;gap:6px;align-items:center}.after-sale-type input{accent-color:#111}
.after-sale-muted,.after-sale-upload-status{font-size:12px;font-weight:400;color:#747985}
.after-sale-upload-progress{padding:11px 12px;border:1px solid #e1e7e3;border-radius:8px;background:#f8faf9;font-size:12px;font-weight:400;color:#5c6961}
.after-sale-upload-progress[hidden]{display:none!important}
.after-sale-progress-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:8px}
.after-sale-progress-name{min-width:0;overflow-wrap:anywhere}
.after-sale-progress-percent{flex-shrink:0;white-space:nowrap;color:#3c7757;font-variant-numeric:tabular-nums}
.after-sale-progress-track{height:7px;overflow:hidden;border-radius:6px;background:#e5ebe7}
.after-sale-progress-fill{display:block;height:100%;width:0;border-radius:inherit;background:#629b79;transition:width .15s linear}
.after-sale-progress-detail{margin-top:7px;color:#7a857e;font-variant-numeric:tabular-nums}
.after-sale-upload-progress[data-state="error"] .after-sale-progress-percent{color:#a33d36}
.after-sale-upload-progress[data-state="error"] .after-sale-progress-fill{background:#ca7b70}
.after-sale-upload-progress.is-indeterminate .after-sale-progress-fill{animation:after-sale-transfer 1.3s ease-in-out infinite}
@keyframes after-sale-transfer{0%{transform:translateX(-100%)}100%{transform:translateX(290%)}}
@media(prefers-reduced-motion:reduce){.after-sale-progress-fill{transition:none}.after-sale-upload-progress.is-indeterminate .after-sale-progress-fill{animation:none}}
.after-sale-upload-error{flex-basis:100%;padding:10px;border-radius:8px;background:#fff1f0;color:#a33d36;font-size:13px;overflow-wrap:anywhere}.after-sale-clear-failed{margin-left:10px;border:0;background:transparent;color:#a33d36;text-decoration:underline;cursor:pointer}
.after-sale-upload{position:relative;display:inline-flex;align-self:flex-start;padding:9px 14px;border:1px dashed #afb6c3;border-radius:8px;overflow:hidden;background:#fafbfc;cursor:pointer}
.after-sale-upload input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.after-sale-evidence,.after-sale-files{display:flex;flex-wrap:wrap;gap:12px}.after-sale-media{width:164px;max-width:100%}.after-sale-media img,.after-sale-media video{display:block;width:164px;height:120px;max-width:100%;object-fit:contain;background:#f4f5f7;border:1px solid #e3e5ea;border-radius:8px}
.after-sale-filename{display:block;margin-top:5px;max-width:164px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;color:#535b68}.after-sale-file{width:164px}.after-sale-remove{display:block;padding:4px 0;border:0;background:transparent;color:#b64646;font-size:12px;cursor:pointer}
.after-sale-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:18px;border-top:1px solid #e8eaf0;margin-top:24px}.after-sale-actions button{border:1px solid #d5d9e0;border-radius:8px;padding:10px 20px;cursor:pointer;font-size:14px;background:#fff;color:#24272e}.after-sale-actions .after-sale-submit{background:#111;color:#fff;border-color:#111}.after-sale-popup button:disabled{opacity:.5;cursor:wait}
.after-sale-summary{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px 14px;margin:0}.after-sale-summary dt{font-weight:400;color:#777e8b}.after-sale-summary dd{margin:0;overflow-wrap:anywhere}.after-sale-description{white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f8fa;border:1px solid #eceef2;border-radius:8px;padding:12px;font-weight:400}.after-sale-order-secret{width:100%;box-sizing:border-box;min-height:100px;padding:12px;border:1px solid #e3e5ea;border-radius:8px;background:#f7f8fa;resize:vertical;font-size:13px}
@media(max-width:600px){.after-sale-popup{padding:16px}.after-sale-summary{grid-template-columns:74px minmax(0,1fr);gap:8px}.after-sale-media,.after-sale-file{width:142px}.after-sale-media img,.after-sale-media video{width:142px;height:108px}.after-sale-actions{position:sticky;bottom:-16px;background:#fff;padding:14px 0}.after-sale-order-actions{flex-wrap:wrap}}

.after-sale-replacement{margin-top:12px}.after-sale-replacement-secret{display:block;box-sizing:border-box;width:100%;min-height:104px;max-height:260px;margin-top:7px;padding:10px;border:1px solid #dce4df;border-radius:7px;background:#f7faf8;color:#35483c;font:13px/1.8 monospace;white-space:pre;resize:vertical}

.after-sale-type-options{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;gap:22px}.after-sale-type .after-sale-type-options>label{display:inline-flex!important;flex:0 0 auto;align-items:center;gap:6px;width:auto;margin:0!important;white-space:nowrap}.after-sale-type-options input[type=radio]{flex:0 0 auto;margin:0}
.after-sale-text-card{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:164px;max-width:100%;height:120px;background:#f4f7f5;border:1px solid #dce5df;border-radius:8px}.after-sale-text-card strong{font-size:22px;letter-spacing:2px;color:#4a735b}.after-sale-text-card button,.after-sale-text-card a{border:0;background:transparent;color:#3f7656;font-size:13px;cursor:pointer;padding:0 8px}.after-sale-text-viewer{box-sizing:border-box;height:100%;display:flex;flex-direction:column;gap:12px;padding:16px}.after-sale-text-viewer textarea{box-sizing:border-box;flex:1;width:100%;min-height:120px;padding:12px;border:1px solid #dde3df;border-radius:7px;resize:none;white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.7 monospace;color:#323d36;background:#fafcfb}.after-sale-text-viewer>a{align-self:flex-end;color:#397b56;font-size:13px}

.after-sale-reply-image-label{margin:10px 0 6px;font-size:12px;color:#6f8175}

/* Customer receipt workbench: scoped to this dialog only. */
.after-sale-receipt-workbench.layui-layer{border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 20px 70px rgba(20,30,45,.18)}
.after-sale-receipt-workbench .layui-layer-title{height:52px;line-height:52px;padding-left:24px;background:#fff;border-bottom:1px solid #e9edf3;font-size:15px;font-weight:600;color:#263247}
.after-sale-receipt-workbench .layui-layer-content{overflow:hidden!important;background:#f6f8fb}
.after-sale-receipt-workbench .asr-shell{height:100%;padding:0;display:flex;flex-direction:column;overflow:hidden;font-family:inherit;color:#263247;font-size:14px;line-height:1.65}
.asr-shell *{box-sizing:border-box}.asr-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:24px;scrollbar-width:thin;scrollbar-color:#cbd4df transparent}
.asr-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.asr-eyebrow{display:block;color:#8090a4;font-size:11px;letter-spacing:2px;margin-bottom:4px}.asr-heading h2{margin:0;color:#1c293d;font-size:24px;line-height:1.4;font-weight:650}.asr-heading p{margin:6px 0 0;color:#7a8799;font-size:13px}
.asr-status{flex:0 0 auto;padding:5px 12px;border:1px solid #cce9db;border-radius:999px;background:#eaf8f1;color:#25865d;font-size:12px}.asr-status-action{color:#94651c;border-color:#efdfb9;background:#fff8e9}
.asr-order-line{display:flex;flex-wrap:wrap;gap:7px 20px;padding:12px 0 17px;border-bottom:1px solid #e4e9f0;margin-bottom:18px;font-size:12px;color:#8591a2}.asr-order-line b{font-weight:500;color:#536176;margin-left:6px;overflow-wrap:anywhere}
.asr-confirmation{border:1px solid #f0dfb8;border-radius:12px;background:#fffbf2;padding:13px 16px;margin:0 0 18px}.asr-confirmation-title{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-weight:600;color:#94651c;font-size:13px}.asr-confirmation-title time{font-weight:400;font-size:12px}.asr-confirmation p{color:#a08352;margin:6px 0 0;font-size:12px;line-height:1.7}
.asr-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:18px;align-items:start}.asr-main,.asr-side{min-width:0}.asr-card{margin:0 0 16px;padding:18px;border:1px solid #e5eaf1;border-radius:14px;background:#fff;min-width:0}.asr-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.asr-section-heading h3{margin:0;font-size:14px;line-height:1.5;font-weight:600;color:#334155}.asr-section-heading>span{font-size:11px;color:#9aa5b4}.asr-result{border-top:3px solid #809d8c}.asr-result-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;color:#405169;font-size:13px}.asr-question{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.9;color:#58667a}.asr-empty{padding:18px 0;color:#99a3b2;font-size:13px}
.asr-history>h4{display:none}.asr-shell .after-sale-history{border-left:1px solid #dfe6ef;margin-left:4px;padding-left:17px}.asr-shell .after-sale-history-item{position:relative;margin:0 0 22px}.asr-shell .after-sale-history-item:before{content:'';position:absolute;left:-21px;top:7px;width:7px;height:7px;border-radius:50%;background:#c2cedc;box-shadow:0 0 0 3px #fff}.asr-shell .after-sale-history-item:last-child{margin-bottom:0}.asr-shell .after-sale-history-title{display:block;font-size:12px;font-weight:500;color:#52637b;line-height:1.6;margin-bottom:8px}.asr-shell .after-sale-history-title span{display:block;color:#a0a9b5;font-size:11px;margin-top:3px}.asr-shell .after-sale-description{padding:11px 13px;border:0;border-radius:9px;background:#f4f6f9;color:#526176;font-size:13px;line-height:1.8}
.asr-shell .after-sale-evidence{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.asr-shell .after-sale-media{width:auto;min-width:0;max-width:100%}.asr-shell .after-sale-media img,.asr-shell .after-sale-media video,.asr-shell .after-sale-text-card{width:100%;height:100px;border-radius:9px;border-color:#e8ecf2;background:#f7f9fc}.asr-shell .after-sale-filename{font-size:10px;color:#929ca9;max-width:100%;margin-top:5px}.asr-email-note{font-size:11px;line-height:1.8;color:#8f9aad;padding:0 4px;margin:0 0 10px}.asr-fields{margin-top:12px;border-top:1px solid #edf0f5;padding-top:10px}.asr-fields summary{font-size:12px;color:#6b7f99;cursor:pointer}.asr-shell .after-sale-extra-values{margin:10px 0 0;padding:10px}.asr-shell .after-sale-extra-values h4{margin-top:0;font-size:12px}.asr-shell .after-sale-extra-values input,.asr-shell .after-sale-extra-values textarea{font-size:12px}
.asr-footer{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 24px;border-top:1px solid #e4e9f0;background:#fff}.asr-footer>span{color:#8995a5;font-size:11px;line-height:1.6;max-width:44%}.asr-footer-buttons{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.asr-footer button{font-family:inherit;font-weight:500;font-size:13px;line-height:1.5;cursor:pointer;padding:9px 16px;border:1px solid #e1e6ed;border-radius:999px;color:#6b778a;background:#fff;white-space:nowrap;min-height:38px}.asr-footer .after-sale-submit{color:#fff;background:#202733;border-color:#202733}.asr-footer .asr-secondary{color:#536b88;border-color:#c7d3e2;background:#f7faff}.asr-footer button:hover{filter:brightness(.96)}.asr-footer button:focus-visible{outline:2px solid #6699d3;outline-offset:3px}.asr-shell .after-sale-countdown{font-size:12px;border-left-width:1px;margin-bottom:16px}
@media(max-width:680px){.after-sale-receipt-workbench.layui-layer{border-radius:0}.after-sale-receipt-workbench .layui-layer-title{padding-left:16px}.asr-scroll{padding:16px}.asr-heading{align-items:flex-start;gap:10px}.asr-heading h2{font-size:20px}.asr-heading p{font-size:12px}.asr-status{font-size:11px;padding:4px 9px}.asr-grid{grid-template-columns:minmax(0,1fr);gap:0}.asr-main,.asr-side{display:contents}.asr-result{order:0}.asr-side .asr-card:first-child{order:1}.asr-side .asr-card:nth-child(2){order:2}.asr-history{order:3}.asr-email-note{order:4}.asr-side .asr-card{padding:14px}.asr-side .after-sale-evidence{grid-template-columns:repeat(3,minmax(0,1fr))}.asr-shell .after-sale-media img,.asr-shell .after-sale-media video,.asr-shell .after-sale-text-card{height:86px}.asr-card{padding:16px}.asr-footer{padding:12px 16px;flex-direction:column;align-items:stretch;gap:8px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.asr-footer>span{max-width:none;text-align:center}.asr-footer-buttons{justify-content:flex-end}.asr-footer button{padding:9px 13px;font-size:12px}.asr-confirmation-title time{display:block;width:100%}.asr-order-line{gap:5px 12px}}

.asr-shell .asr-actor{display:inline-block;padding:3px 9px;margin:0 8px 4px 0;border-radius:6px;background:#e8eef8;color:#354b70;font-size:12px;font-weight:600}.asr-shell .asr-event{font-size:13px;font-weight:600;color:#37485f}.after-sale-image-view{height:100%;overflow:auto;display:flex;align-items:center;justify-content:center;background:#18202c;padding:12px;box-sizing:border-box}.after-sale-image-view img{max-width:100%;max-height:100%;object-fit:contain}.after-sale-image-dialog .layui-layer-content{height:calc(100% - 43px)!important}.after-sale-image-open{cursor:zoom-in}
