.quality-shared-page{width:100%;padding:20px 24px 36px;display:grid;gap:16px;box-sizing:border-box}.quality-shared-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 24px;background:#fff;border:1px solid #dbe5f2;border-radius:16px}.quality-shared-heading h3{margin:4px 0 6px;font-size:26px}.quality-shared-heading p{margin:0;color:#64748b}.quality-shared-heading-actions{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.quality-shared-heading-actions label{display:grid;gap:6px;min-width:170px}.quality-shared-heading-actions label span{font-size:12px;font-weight:700;color:#64748b}.quality-shared-heading-actions select{height:40px;border:1px solid #cbd8e8;border-radius:9px;background:#fff;padding:0 34px 0 12px}.quality-shared-summary{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px}.quality-shared-summary article{background:#fff;border:1px solid #dbe5f2;border-radius:14px;padding:16px 18px;display:grid;gap:6px}.quality-shared-summary span{color:#64748b;font-size:13px}.quality-shared-summary strong{font-size:25px;color:#143d73}.quality-shared-filters,.quality-shared-list{background:#fff;border:1px solid #dbe5f2;border-radius:16px;padding:16px}.quality-shared-loading{padding:44px;text-align:center;color:#64748b}@media(max-width:900px){.quality-shared-page{padding:14px}.quality-shared-heading{align-items:flex-start;flex-direction:column}.quality-shared-summary{grid-template-columns:repeat(2,minmax(120px,1fr))}}
/* Shared quality issue detail layout */
.quality-shared-page .rl-content:not(.rl-columns) .rl-details{grid-auto-flow:row;align-items:stretch}
.quality-shared-page .rl-content:not(.rl-columns) .rl-details .rl-field{min-height:68px}
.quality-order-links{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}
.quality-order-link{appearance:none;padding:0;border:0;background:transparent;color:#2863df;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer;white-space:nowrap}
.quality-order-link:hover{color:#1749b5}.quality-order-link:focus-visible{outline:2px solid #82acff;outline-offset:3px;border-radius:3px}
.quality-order-dialog{width:min(1480px,calc(100vw - 24px))}
.quality-order-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.quality-order-heading h2{margin:0;font:inherit;font-size:20px;font-weight:700}
.quality-order-close{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;padding:0;border:1px solid #d7e1ee;border-radius:8px;background:#fff;color:#536276;font-size:22px;line-height:1;cursor:pointer}
.quality-order-close:hover{background:#f3f6fb;color:#203954}
.quality-order-form{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px 18px;align-items:start}
.quality-order-field{grid-column:span var(--quality-field-span,3);display:grid;gap:7px;min-width:0;color:#28425f;font-size:13px;font-weight:700}
.quality-order-control{box-sizing:border-box;width:100%;min-width:0;min-height:42px;padding:10px 12px;border:1px solid #cfdaea;border-radius:7px;background:#fff;color:#203954;font:inherit;font-weight:400;line-height:1.5;outline:0;resize:vertical}
textarea.quality-order-control{white-space:pre-wrap;overflow-wrap:anywhere}
.quality-order-control:focus{border-color:#cfdaea;box-shadow:none}
.quality-order-empty{grid-column:1/-1;margin:8px 0;padding:28px 18px;border:1px dashed #cfdaea;border-radius:8px;color:#64758b;text-align:center}
@media(max-width:980px){.quality-order-field{grid-column:span min(var(--quality-field-span,6),6)}}
@media(max-width:760px){.quality-order-dialog{width:calc(100vw - 12px)}.quality-order-dialog .re-body{padding:12px}.quality-order-field{grid-column:1/-1}}
/* Quality issue follow-up: C approval-form style */
.qf-shade{position:fixed;inset:0;background:#1f30472b;z-index:1900}.qf-panel{position:fixed;z-index:1901;right:0;top:0;bottom:0;width:min(680px,100vw);background:#fff;box-shadow:-12px 0 40px #1731521f;display:flex;flex-direction:column;color:#26344a}.qf-panel *{box-sizing:border-box}.qf-head{padding:22px 26px 18px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid #edf0f5}.qf-head small{font-size:12px;color:#8a95a6}.qf-head h2{margin:4px 0 0;font-size:21px}.qf-head-actions{display:flex;align-items:center;gap:8px}.qf-status{font-size:12px;color:#2a64ce;background:#edf4ff;border:1px solid #dbe9ff;border-radius:20px;padding:4px 12px}.qf-close{display:grid;place-items:center;width:34px;height:34px;border:1px solid #d7e1ee;border-radius:8px;background:#fff;color:#536276;font-size:22px}.qf-toolbar{padding:14px 26px;border-bottom:1px solid #edf0f5;display:grid;grid-template-columns:1fr auto;gap:10px}.qf-toolbar select,.qf-dialog select,.qf-dialog input,.qf-dialog textarea{width:100%;border:1px solid #dbe3ef;border-radius:7px;background:#fff;padding:10px;color:#344761;font:inherit}.qf-toolbar button,.qf-footer button,.qf-dialog button{border:1px solid #dbe3ef;border-radius:7px;padding:9px 16px;background:#fff;color:#52667f;font:inherit}.qf-body{overflow:auto;flex:1;padding:22px 26px}.qf-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:#f7f9fc;border-radius:8px;padding:14px;margin-bottom:18px}.qf-summary small{display:block;color:#95a0b0;font-size:11px}.qf-summary b{font-weight:600;font-size:13px;overflow-wrap:anywhere}.qf-progress{display:flex;justify-content:space-between;gap:5px;border-bottom:1px solid #e7edf5;padding-bottom:18px;margin-bottom:20px}.qf-progress span{font-size:10px;color:#95a0b0;text-align:center;flex:1;border-top:3px solid #e6ebf3;padding-top:8px}.qf-progress .complete{border-color:#79b99a;color:#48866a}.qf-progress .current{border-color:#3267df;color:#3267df}.qf-notice{padding:10px 12px;border:1px solid #e3ebf7;background:#f7faff;border-radius:6px;color:#748399;font-size:12px;margin-bottom:18px}.qf-step{position:relative;margin-left:12px;padding:0 0 20px 28px;border-left:1px solid #dce4f0}.qf-step:last-child{border-left-color:transparent}.qf-dot{position:absolute;left:-12px;top:0;border-radius:50%;width:24px;height:24px;background:#f1f4f8;color:#9aa5b5;display:grid;place-items:center;font-size:12px;border:3px solid #fff}.qf-step.done .qf-dot{background:#e9f5ef;color:#27875d}.qf-step.active .qf-dot{background:#3267df;color:#fff}.qf-step summary{list-style:none;display:flex;align-items:center;gap:10px;cursor:pointer}.qf-step summary::-webkit-details-marker{display:none}.qf-step summary b{font-weight:600}.qf-step summary small{margin-left:auto;color:#95a0b0}.qf-history{color:#738095;font-size:13px;padding:10px 0;white-space:pre-wrap}.qf-history article{padding:9px 0;border-bottom:1px dashed #e4e9f0}.qf-history article:last-child{border:0}.qf-footer{padding:14px 26px;border-top:1px solid #e6ebf2;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff}.qf-footer span{color:#98a2b1;font-size:12px}.qf-footer .primary,.qf-dialog .primary{background:#3267df;color:#fff;border-color:#3267df}.qf-footer button:disabled{opacity:.45;cursor:not-allowed}.qf-dialog{width:min(570px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #e1e7f0;border-radius:14px;padding:24px;color:#26344a;box-shadow:0 24px 90px #12254333}.qf-dialog::backdrop{background:#16253b66}.qf-dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.qf-dialog-head h3{margin:0;font-size:19px}.qf-form{display:grid;gap:14px}.qf-form label{display:grid;gap:7px;color:#4b5d76;font-size:13px}.qf-form textarea{min-height:110px;resize:vertical}.qf-radio{display:flex;flex-wrap:wrap;gap:16px}.qf-radio label{display:flex;align-items:center;gap:6px}.qf-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;border-top:1px solid #e8edf4;padding-top:16px}.qf-empty{padding:55px 20px;text-align:center;color:#7c8798}@media(max-width:560px){.qf-head,.qf-toolbar,.qf-body,.qf-footer{padding-left:16px;padding-right:16px}.qf-summary{grid-template-columns:1fr}.qf-progress span{font-size:0}.qf-progress span:before{content:attr(data-step);font-size:10px}}


/* Quality follow-up related products */
.qf-tabs{display:flex;gap:8px;padding:12px 26px 0;border-bottom:1px solid #edf0f5;background:#fff}
.qf-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;color:#718096;padding:10px 18px 11px;font:inherit;font-weight:600;cursor:pointer}
.qf-tabs button.active{color:#3267df;border-bottom-color:#3267df}
.qf-summary-compact{grid-template-columns:repeat(2,minmax(0,1fr))}
.qf-products-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:14px}.qf-products-head h3{margin:0;color:#26344a}.qf-products-head p{margin:4px 0 0;color:#8793a5;font-size:12px}
.qf-products-wrap{overflow:auto;border:1px solid #e2e8f1;border-radius:9px}
.qf-products-table{width:100%;min-width:600px;border-collapse:collapse;table-layout:fixed}.qf-products-table th,.qf-products-table td{padding:12px 10px;border-right:1px solid #e6ebf2;border-bottom:1px solid #e6ebf2;text-align:left;vertical-align:top;overflow-wrap:anywhere}.qf-products-table th:last-child,.qf-products-table td:last-child{border-right:0}.qf-products-table tbody tr:last-child td{border-bottom:0}.qf-products-table th{background:#f5f7fa;color:#5c6c82;font-size:12px}.qf-products-table th:nth-child(1){width:27%}.qf-products-table th:nth-child(2){width:16%}.qf-products-table th:nth-child(3){width:39%}.qf-products-table th:nth-child(4){width:18%}
.qf-location{display:inline-flex;border-radius:999px;padding:3px 9px;font-size:12px;background:#eef2f7;color:#617086}.qf-location.office{background:#fff3df;color:#a45b00}.qf-location.factory{background:#e9f7f0;color:#18825a}
.qf-tracking-lines{display:grid;gap:4px}.qf-tracking-lines span{display:block}.qf-tracking-lines b{color:#6e7d91;font-weight:500}.qf-return-note{display:block;margin-top:7px;color:#7d8999;white-space:pre-wrap}
.qf-return-button{border:1px solid #8ab0ed;border-radius:7px;background:#edf5ff;color:#245bad;padding:7px 14px;font:inherit;cursor:pointer}.qf-return-button:disabled{border-color:#dce3eb;background:#f3f5f7;color:#9aa5b3;cursor:not-allowed}.qf-products-empty{text-align:center!important;color:#8a96a7;padding:32px!important}
.qf-return-dialog [role=alert]{min-height:20px;color:#c23a3a;font-size:12px}
@media(max-width:560px){.qf-tabs{padding-left:16px;padding-right:16px}.qf-tabs button{flex:1}.qf-summary-compact{grid-template-columns:1fr}.qf-products-table{min-width:560px}}
