#fbsReturnsSection { margin-top: 24px; color: var(--text); }
.fbs-return-intro { display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px; }
.fbs-return-intro h2 {font-family:var(--font-display);font-size:27px;letter-spacing:-.7px;margin:5px 0 7px;}
.fbs-return-intro p {margin:0;color:var(--muted);max-width:760px;font-size:14px;}
.fbs-return-eyebrow {display:block;font-size:11px;font-weight:650;color:#365986;letter-spacing:.045em;}
.fbs-return-kpis {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0;}
.fbs-return-kpi {border:1px solid #dee7f3;border-radius:18px;background:#ffffffc9;padding:19px;text-align:left;color:var(--text);cursor:pointer;box-shadow:0 4px 16px #17395d06;transition:transform 240ms ease-in-out,box-shadow 240ms ease-in-out,border-color 240ms ease-in-out;}
.fbs-return-kpi:hover {transform:translateY(-2px);box-shadow:0 8px 20px #17395d0c;}
.fbs-return-kpi.is-selected {border-color:#2459d8;box-shadow:0 0 0 1px #2459d8;}
.fbs-return-kpi span {font-size:13px;font-weight:550;display:block;}
.fbs-return-kpi strong {font-family:var(--font-display);font-size:32px;line-height:1.5;display:block;}
.fbs-return-kpi small {font-size:11px;color:var(--muted);}
.fbs-return-toolbar {display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0 12px;}
.fbs-return-toolbar button[aria-pressed="true"] {background:#e1ebff;border-color:#9db9f5;color:#183f94;}
.fbs-return-toolbar input {margin-left:auto;width:min(100%,350px);min-height:43px;border:1px solid #ced9e8;border-radius:12px;background:#fff;padding:10px 14px;color:var(--text);}
.fbs-return-row {display:grid;grid-template-columns:minmax(210px,1.5fr) minmax(160px,1fr) minmax(160px,1fr) auto;gap:20px;align-items:center;background:#fff;border:1px solid #e0e8f2;border-radius:16px;padding:21px;margin-bottom:10px;box-shadow:0 3px 12px #182f5004;}
.fbs-return-row strong,.fbs-return-row small,.fbs-return-product>span {display:block;}
.fbs-return-row strong {font-size:14px;line-height:1.5;}
.fbs-return-row small,.fbs-return-product>span:not(.fbs-return-eyebrow) {font-size:12px;color:var(--muted);margin-top:5px;}
.fbs-return-product {min-width:0;overflow-wrap:anywhere;}
.fbs-return-product>.fbs-return-eyebrow {margin-bottom:7px;}
.fbs-return-pill {display:inline-flex;align-items:center;border-radius:8px;padding:5px 9px;font-size:11px;font-weight:650;max-width:100%;}
.fbs-return-awaiting {background:#edf1f7;color:#40536d;}.fbs-return-partial {background:#e4eeff;color:#224fae;}.fbs-return-discrepancy {background:#fff0eb;color:#9b3826;}.fbs-return-received {background:#e6f5ee;color:#226344;}
.fbs-return-muted {font-size:12px;color:var(--muted);line-height:1.55;}.fbs-return-warning {color:#984720!important;}
.fbs-return-quantities>.fbs-return-muted,.fbs-return-ozon>.fbs-return-muted {display:block;margin-bottom:6px;}
.fbs-return-sync {display:flex;gap:10px;flex-wrap:wrap;margin-top:18px;}
.fbs-return-sync-shop {background:#e9eff8;border-radius:10px;padding:10px 13px;flex:1;min-width:180px;font-size:11px;}
.fbs-return-sync-shop strong,.fbs-return-sync-shop span {display:block;}.fbs-return-sync-shop span {color:#4e6079;margin-top:4px;}
.fbs-return-error {border:1px solid #e6b9b5;background:#fff2ee;color:#8b302d;padding:14px 18px;border-radius:12px;margin:14px 0;font-size:13px;}
.fbs-return-empty {padding:55px 25px;text-align:center;border:1px dashed #c7d4e6;border-radius:16px;color:var(--muted);font-size:14px;}
.fbs-return-pager {display:flex;justify-content:flex-end;align-items:center;gap:12px;margin:20px 0;font-size:12px;}.fbs-return-pager>span {margin-right:auto;color:var(--muted);}
#fbsReturnDialog {color:var(--text);width:min(810px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #d3ddeb;border-radius:22px;background:#f8faff;box-shadow:0 30px 120px #06183166;overflow:auto;}
#fbsReturnDialog::backdrop {background:#071b3a99;backdrop-filter:blur(5px);}
.fbs-return-dialog-head {position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:19px 26px;background:#f8fafff5;border-bottom:1px solid #dce5f1;}
.fbs-return-dialog-head h2 {font-size:21px;margin:0;font-family:var(--font-display);}.fbs-return-dialog-head button {border:1px solid #ccd8e9;border-radius:10px;background:#fff;color:#253e62;width:42px;height:42px;font-size:23px;cursor:pointer;}
#fbsReturnBody {padding:23px 28px 30px;}.fbs-return-product-title {font-size:19px;line-height:1.4;overflow-wrap:anywhere;}
.fbs-return-details {display:grid;grid-template-columns:1fr 1fr;gap:15px 25px;padding:19px;background:#eef3fa;border-radius:14px;}.fbs-return-details dt {font-size:11px;color:#53647c;margin-bottom:4px;}.fbs-return-details dd {font-size:13px;margin:0;overflow-wrap:anywhere;}
.fbs-return-section-head {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:28px;}.fbs-return-section-head h3 {font-size:17px;margin:0;}
#fbsReturnReceiptForm label,#fbsReturnDraftWrap {display:block;font-size:13px;font-weight:550;margin:15px 0;}
#fbsReturnReceiptForm input:not([type="checkbox"]),#fbsReturnReceiptForm textarea,#fbsReturnDraftText {display:block;width:100%;margin-top:6px;border:1px solid #c6d2e4;border-radius:10px;background:#fff;padding:11px 12px;font:inherit;color:var(--text);resize:vertical;}
.fbs-return-form-grid {display:grid;grid-template-columns:1fr 1fr;gap:16px;}.fbs-return-checkbox {display:flex!important;gap:9px;align-items:center;}.fbs-return-checkbox input {width:19px;height:19px;accent-color:#2459d8;}
.fbs-return-notice {padding:13px 16px;background:#e9f0fc;border-radius:10px;font-size:12px;line-height:1.6;color:#365173;}
.fbs-return-evidence {padding-left:18px;font-size:13px;}.fbs-return-evidence a {color:#214da6;overflow-wrap:anywhere;}.fbs-return-evidence small {display:block;font-size:11px;color:var(--muted);margin:3px 0 10px;}
.fbs-return-file {display:block;font-size:13px;margin:15px 0;}.fbs-return-file input {display:block;margin-top:8px;max-width:100%;font-size:12px;}
.fbs-return-dialog-actions {display:flex;gap:12px;flex-wrap:wrap;margin:24px 0;}.fbs-return-history {border-top:1px solid #d7e0ed;margin-top:18px;padding-top:16px;font-size:12px;}.fbs-return-history summary {cursor:pointer;font-size:13px;font-weight:600;}.fbs-return-history div {padding:12px 0;border-bottom:1px solid #e0e7f0;}.fbs-return-history p {margin:5px 0;overflow-wrap:anywhere;}
#fbsReturnsSection button:focus-visible,#fbsReturnsSection input:focus-visible,#fbsReturnDialog :is(button,input,textarea,a,summary):focus-visible {outline:3px solid #597fcc;outline-offset:3px;}
#fbsReturnsSection button:disabled,#fbsReturnDialog button:disabled {opacity:.6;cursor:not-allowed;transform:none;}
@media(max-width:1100px){.fbs-return-row {grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:16px;}.fbs-return-row>button {justify-self:end;}.fbs-return-kpis {grid-template-columns:repeat(2,minmax(0,1fr));}.fbs-return-intro {align-items:flex-start;}}
@media(max-width:600px){.fbs-return-intro {display:block;}.fbs-return-intro>button {margin-top:16px;width:100%;}.fbs-return-intro h2 {font-size:23px;}.fbs-return-kpis {gap:9px;}.fbs-return-kpi {padding:13px 12px;}.fbs-return-kpi span {font-size:12px;}.fbs-return-kpi small {font-size:10px;}.fbs-return-row {padding:17px 15px;gap:15px 10px;}.fbs-return-product {grid-column:1/-1;}.fbs-return-row>button {grid-column:1/-1;width:100%;}.fbs-return-toolbar input {width:100%;margin:0;}.fbs-return-toolbar button {font-size:12px;}.fbs-return-pager {flex-wrap:wrap;}.fbs-return-pager>span {flex-basis:100%;}.fbs-return-sync {display:grid;grid-template-columns:1fr;}#fbsReturnDialog {width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:16px;}#fbsReturnBody {padding:18px 17px 25px;}.fbs-return-dialog-head {padding:15px 17px;}.fbs-return-dialog-head h2 {font-size:18px;}.fbs-return-details {padding:14px;gap:14px;}.fbs-return-section-head {align-items:flex-start;flex-direction:column;}.fbs-return-form-grid {gap:12px;}.fbs-return-dialog-actions>button {width:100%;}}
@media(prefers-reduced-motion:reduce){#fbsReturnsSection * {transition:none!important;}}
