.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 20px;
  align-items: stretch;
}
.settings-grid > .card { min-width:0; width:100%; height:100%; }
.settings-grid .integration-form input,
.settings-grid .integration-form select,
.settings-grid .integration-form textarea { width:100%; }
.inline-fields { display: grid; grid-template-columns: 1fr 90px; gap: 8px; }
.integration-form h3 { margin-bottom: 8px; }
@media (max-width: 1050px) { .settings-grid { grid-template-columns: 1fr; } }
.metric-grid { display:grid; grid-template-columns:repeat(4,minmax(170px,1fr)); gap:14px; padding:20px; }
.metric-card { border:1px solid #dbe3ef; border-radius:10px; padding:16px; background:linear-gradient(145deg,#fff,#f5f9ff); }
.metric-card strong { display:block; font-size:25px; color:#0b4c9c; margin-top:8px; }
.metric-card small { color:#708097; }
.subheading { padding:0 22px; }
.filter-bar,.refund-form { display:flex; flex-wrap:wrap; gap:12px; align-items:end; padding:16px 20px; border-bottom:1px solid #e5ebf3; }
.filter-bar label,.refund-form label { display:grid; gap:5px; font-weight:700; font-size:13px; }
.filter-bar input,.filter-bar select,.refund-form input,.refund-form select { min-width:150px; }
.summary-line { padding:10px 20px; color:#365574; background:#f4f8fd; }
.risk-high { color:#fff; background:#c62929; border-radius:5px; padding:3px 7px; font-weight:700; }
.risk-medium { color:#7b4b00; background:#ffe19c; border-radius:5px; padding:3px 7px; font-weight:700; }
.thumb { width:52px; height:52px; object-fit:cover; border-radius:6px; vertical-align:middle; margin-right:7px; }
@media (max-width: 900px) { .metric-grid { grid-template-columns:1fr 1fr; } }
.mail-layout { display:grid; grid-template-columns:minmax(700px,1.6fr) minmax(360px,.8fr); min-height:560px; }
.mail-detail { border-left:1px solid #dbe3ef; padding:18px; overflow:auto; }
.mail-detail label { display:grid; gap:5px; margin:12px 0; font-weight:700; }
.mail-detail textarea { width:100%; min-height:88px; resize:vertical; }
.mail-body { white-space:pre-wrap; line-height:1.55; max-height:280px; overflow:auto; border:1px solid #e1e7ef; background:#f8fafc; padding:12px; border-radius:7px; }
.mail-actions { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0; }
.proactive-mail { padding:16px 20px; border-top:1px solid #e5ebf3; }
.proactive-mail summary { cursor:pointer; font-weight:700; }
@media (max-width:1100px) { .mail-layout { grid-template-columns:1fr; }.mail-detail{border-left:0;border-top:1px solid #dbe3ef;} }
.danger-button{background:#c53b3b;color:#fff;border:0;border-radius:6px;padding:10px 16px;font-weight:700;cursor:pointer}.danger-button:hover{background:#a92f2f}.check{display:flex!important;align-items:center;gap:8px}.check input{width:auto!important}
.token-import-card{display:grid;gap:14px}.token-import-card h3,.token-import-card p{margin:0}.token-import-actions{display:flex;flex-wrap:wrap;gap:10px}.file-button{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.import-preview{padding:12px;border:1px dashed #aab9cb;border-radius:9px;background:#f7faff;line-height:1.7;user-select:text}.advanced-settings{border-top:1px solid #dbe3ef;padding-top:12px}.advanced-settings summary{cursor:pointer;font-weight:700;color:#244c78}.advanced-settings form{margin-top:14px}.guide-steps{display:grid;gap:12px;padding-left:24px}.guide-steps li{padding:10px 12px;background:#f4f8fd;border-radius:9px}.guide-steps strong,.guide-steps span{display:block}.guide-steps span{margin-top:4px;color:#65758a}.guide-example{padding:12px;border:1px solid #dbe3ef;border-radius:9px;background:#fff}.danger-text{color:#b42318}.copyable,.copyable *{user-select:text}.product-title-link,.temu-link{color:#075bbb;text-decoration:underline;text-underline-offset:2px}.temu-link{cursor:copy}.variant-name{color:#4c5d70;font-weight:600}.domestic-badge{display:inline-block;margin-top:4px;padding:2px 7px;border-radius:999px;background:#e8f2e8;color:#25633c;font-size:12px;font-weight:700}.product-separator{border:0;border-top:1px solid #dbe3ef;margin:8px 0}
.integration-save-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.integration-save-result{line-height:1.55}.success-text{color:#08783e;font-weight:700}
.integration-test-result{margin:12px 0 8px;padding:10px 12px;border:1px solid #cbd8e8;border-radius:8px;background:#f7faff}
.integration-test-result.success-text{border-color:#9dd8b7;background:#effaf3}.integration-test-result.danger-text{border-color:#efb1b1;background:#fff1f1}
.mapping-missing-badge{display:inline-block;margin-top:4px;padding:2px 7px;border-radius:999px;background:#fff2cc;color:#8a5700;font-size:12px;font-weight:700}.product-separator{border:0;border-top:1px solid #dbe3ef;margin:8px 0}
.customer-address-cell{width:300px;min-width:260px;max-width:320px;white-space:normal;line-height:1.45;overflow-wrap:anywhere}.customer-phone{font-weight:700;color:#163f72}.copy-procurement-info{margin-top:5px;white-space:nowrap}
.quick-operation{margin-top:5px;min-width:126px;padding:5px 7px;font-size:12px}
.operations-table-wrap .product-cell{max-width:390px}.operations-table-wrap .product-cell .product-title-link,.operations-table-wrap .product-cell .variant-name{display:inline-block;max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom}.operations-table-wrap .product-cell .thumb{width:52px;height:52px}
.inline-product-operation{display:grid;grid-template-columns:58px minmax(360px,1fr);gap:8px;align-items:start;min-width:600px}.inline-product-main{min-width:0}.inline-procurement-controls{display:grid;grid-template-columns:112px 110px 180px 64px;gap:5px;margin-top:6px}.inline-procurement-controls select,.inline-procurement-controls input,.inline-procurement-controls button{min-width:0;width:100%;padding:5px 6px;font-size:12px}.operations-table-wrap .product-cell{max-width:680px;min-width:650px}.operations-table-wrap .product-cell .product-title-link,.operations-table-wrap .product-cell .variant-name{display:inline-block;max-width:520px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom}
.operations-table-wrap .inline-procurement-controls{display:none}.operation-step{display:block;min-width:142px;width:142px;margin:6px 0;padding:7px}.operations-table-wrap .operation-logistics,.operations-table-wrap .operation-transaction{min-width:150px;line-height:1.65}
.copy-procurement-cell{cursor:copy;transition:background .15s,box-shadow .15s}.copy-procurement-cell:hover,.copy-procurement-cell:focus{background:#e8f3ff;box-shadow:inset 0 0 0 2px #4b8fe8;outline:0}
.cost-breakdown{display:inline-block;margin-top:2px;color:#506b88;font-size:11px;line-height:1.35;white-space:normal}
.bulk-price-bar{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:14px 20px;background:#fff8e8;border-bottom:1px solid #ead7a4}.bulk-price-bar label{display:grid;gap:4px;font-weight:700}.bulk-price-bar input{width:150px}.product-table-wrap{max-height:68vh;overflow:auto}.product-table-wrap table{min-width:1500px}.product-manager-thumb{width:72px;height:72px;object-fit:contain;border-radius:8px;background:#fff;border:1px solid #dbe3ef}.variant-manager-thumb{width:58px;height:58px;object-fit:contain;border-radius:7px;background:#fff;border:1px solid #dbe3ef}.product-row select{min-width:150px}.product-row input{width:120px}.product-row .save-product-status{display:block;margin-top:6px}.variant-count{font-size:12px;color:#6b7b8e;margin-top:4px}.status-on_hold{background:#ffe4a8;color:#7a4c00}.operation-row.operation-on_hold{background:#fff7df}
.operations-table-wrap,.dashboard-report-wrap{max-height:62vh;overflow:auto}.dashboard-report-wrap table{min-width:2500px}.operations-table-wrap table{min-width:2200px}.operations-legend{display:flex;gap:8px;flex-wrap:wrap;margin:8px 20px 12px}.status-chip{display:inline-block;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}.status-pending{background:#fff1bf;color:#795900}.status-purchased{background:#d8ecff;color:#125082}.status-shipped{background:#d8f3e4;color:#12643b}.status-delivered{background:#c9f0dd;color:#0c6335}.status-refund{background:#eadfff;color:#613f91}.status-dispute,.status-risk{background:#ffdada;color:#9a1f1f}.operation-row.operation-purchased{background:#eef7ff}.operation-row.operation-stockout{background:#fff3dc}.operation-row.operation-refund{background:#fbf7ff}.operation-row.operation-shipped,.operation-row.operation-delivered{background:#f2fbf6}.risk-reason{display:block;max-width:280px;color:#9a1f1f;font-weight:700;white-space:normal}.operation-actor{color:#566d88;font-weight:400}.status-separator{border:0;border-top:1px solid #d6e0eb;margin:5px 0}.product-cell{min-width:300px}.product-cell .thumb{vertical-align:middle;margin-right:6px}.positive{color:#078347}.negative{color:#c52b2b}.operation-drawer{margin:18px;padding:18px;background:#f7f9fc;border:1px solid #dbe3ef;border-radius:14px;box-shadow:0 12px 30px rgba(15,43,82,.12)}.drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.drawer-header h2,.drawer-header h3{margin:0}.drawer-header p{margin:5px 0;color:#718095}.risk-alert{background:#ffe0e0;border-left:5px solid #c92a2a;padding:12px 14px;color:#8c1717;font-weight:700;margin-bottom:14px}.action-card{background:#fff;border:1px solid #dbe3ef;border-radius:12px;padding:15px;margin:12px 0}.action-card h3{margin:0 0 10px}.compact-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));align-items:end}.operation-tasks{display:grid;gap:12px}.op-task{display:grid;grid-template-columns:minmax(280px,2fr) repeat(4,minmax(130px,1fr));gap:10px;align-items:end;border:1px solid #dbe3ef;padding:12px;border-radius:10px}.op-task .wide,.task-profit{grid-column:1/-1}.task-product{display:flex;gap:10px;align-items:flex-start}.task-image{width:76px;height:76px;object-fit:contain;border:1px solid #dbe3ef;border-radius:8px;background:#fff}.task-profit{padding:8px 10px;background:#edf5ff;border-radius:8px}.small-list{line-height:1.8}.dispute-item{display:grid;grid-template-columns:1.4fr 1fr 1fr 2fr auto;gap:10px;align-items:end;padding:8px 0;border-bottom:1px solid #dbe3ef}.line-choice{display:flex;align-items:center;gap:8px;padding:8px;border-bottom:1px solid #dbe3ef}.tiny-input{width:80px!important}.mail-layout{grid-template-columns:minmax(0,1.8fr) minmax(430px,1fr)!important}.mail-detail{min-width:430px}.new-mail-button{margin:14px}.mail-compose-dialog{width:min(920px,92vw);max-width:920px;border:0;border-radius:16px;padding:24px;box-shadow:0 25px 70px rgba(0,0,0,.3)}.mail-compose-dialog::backdrop{background:rgba(7,25,50,.55)}.compose-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.compose-form label:nth-of-type(3),.compose-form label:nth-of-type(4),.compose-form label:nth-of-type(5),.compose-form .actions{grid-column:1/-1}.compose-form textarea{min-height:130px}.compose-form label:nth-of-type(5) textarea{min-height:220px}@media(max-width:1000px){.op-task{grid-template-columns:1fr 1fr}.mail-layout{grid-template-columns:1fr!important}.mail-detail{min-width:0}.compose-form{grid-template-columns:1fr}.compose-form>*{grid-column:1!important}}
.payment-method{display:inline-block;margin-top:5px;color:#12345b;font-size:12px}.payment-fee,.attribution-source,.customer-order-index{font-size:12px;color:#526780}.payment-fee{display:inline-block;margin-top:3px}.attribution-source{color:#6b48c8}.customer-order-index{color:#0c7a52;font-weight:700}
.operations-table-wrap table{min-width:1900px}.operation-logistics,.operation-transaction{min-width:170px;line-height:1.5}.operation-logistics select,.operation-transaction select{display:block;width:100%;min-width:155px;margin-top:8px;padding:6px}.tracking-state{font-weight:700;color:#1767a8}.tracking-summary{max-width:260px;margin-top:5px;padding:6px;background:#eef6ff;border-radius:6px;color:#334f6d;white-space:normal;font-size:12px}
.operations-table-wrap .inline-product-operation{min-width:500px}.operations-table-wrap .product-cell{min-width:500px;max-width:560px}.operations-table-wrap .product-cell .product-title-link,.operations-table-wrap .product-cell .variant-name{max-width:430px}.operations-table-wrap td:last-child{min-width:320px;max-width:460px;white-space:normal}.operation-drawer textarea[data-field=note],#opOrderNote{min-height:110px;resize:vertical}
.inline-logistics{min-width:250px}.inline-logistics input,.inline-refund input{display:block;width:100%;min-width:0;margin-top:6px;padding:6px}.inline-action-buttons{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:7px}.inline-action-buttons button,.inline-refund button{width:100%;padding:7px}.inline-refund{min-width:190px}.inline-refund .danger-button{margin-top:7px}.inline-refund .risk-high{display:inline-block;margin-top:4px}
.integration-save-result{padding:9px 11px;border-radius:7px;background:#f3f6fa}.integration-save-result.success-text{background:#e6f7ed;color:#087443;font-weight:700}.integration-save-result.danger-text{background:#ffe8e8;color:#a61f1f;font-weight:700}
.state-cell{transition:background-color .15s ease}.cell-pending{background:#fffaf0}.cell-purchased{background:#eef7ff}.cell-shipped,.cell-delivered{background:#edf9f2}.cell-refund{background:#f7f0ff}.cell-dispute,.cell-risk{background:#fff0f0}
.mail-layout{grid-template-columns:minmax(0,1.8fr) minmax(460px,1fr)!important}.mail-detail{min-width:460px}.mail-detail label{display:grid;gap:6px;margin-top:10px}.mail-reply-text{min-height:420px;resize:vertical}.mail-reply-translation{min-height:260px;resize:vertical;background:#f7f9fc}.mail-compose-dialog{width:min(1040px,94vw);max-width:1040px;padding:26px}.compose-form{display:flex;flex-direction:column;gap:14px}.compose-form label{display:grid!important;grid-column:auto!important;gap:6px;font-weight:700}.compose-row-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.compose-form textarea{resize:vertical}.compose-instruction{min-height:150px!important}.compose-body{min-height:260px!important}.compose-toolbar{display:flex;justify-content:flex-start}.compose-form .actions{display:flex;justify-content:flex-end;gap:10px}@media(max-width:1000px){.compose-row-two{grid-template-columns:1fr}}
.mail-detail-content{display:grid;gap:12px}.mail-envelope,.mail-insight,.mail-core-card,.mail-reader-card{border:1px solid #dbe3ef;border-radius:10px;background:#fff;overflow:hidden}.mail-envelope{padding:12px 14px;display:grid;gap:7px;background:#f8fafc}.mail-envelope div{line-height:1.5;overflow-wrap:anywhere}.mail-envelope span,.mail-insight span{display:inline-block;min-width:76px;color:#6b7b8e;font-size:12px;font-weight:700}.mail-insight>div{padding:10px 14px;border-bottom:1px solid #e7edf4}.mail-insight>div:last-child{border-bottom:0}.mail-insight p{margin:6px 0 0;white-space:pre-wrap;line-height:1.65}.mail-priority{min-width:0!important;margin-left:9px;padding:2px 7px;border-radius:999px;background:#eef3fa;color:#49627e!important}.mail-core-heading,.mail-reader-heading{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;background:#f5f8fc;border-bottom:1px solid #dbe3ef}.mail-core-heading span,.mail-reader-heading span{font-size:12px;color:#718095}.mail-core-original{padding:16px 14px;white-space:pre-wrap;line-height:1.7;color:#172033}.mail-core-translation{padding:14px;background:#eef6ff;border-top:1px solid #c9dff8;color:#183b63}.mail-core-translation p{margin:7px 0 0;white-space:pre-wrap;line-height:1.7}.mail-reader-card summary{cursor:pointer;list-style-position:inside}.mail-reader-card:not([open]) .mail-reader-heading{border-bottom:0}.mail-reader-frame{display:block;width:100%;height:520px;border:0;background:#fff}.mail-layout{grid-template-columns:minmax(620px,1.45fr) minmax(560px,1fr)!important}.mail-detail{min-width:560px}@media(max-width:1200px){.mail-layout{grid-template-columns:1fr!important}.mail-detail{min-width:0}.mail-reader-frame{height:460px}}
.mail-reply-quote{margin:8px 0 12px;padding:12px 14px;border:1px solid #dbe3ef;border-left:4px solid #8ba4c3;border-radius:8px;background:#f8fafc;color:#526780}.mail-reply-quote pre{max-height:150px;margin:8px 0 0;overflow:auto;white-space:pre-wrap;word-break:break-word;font:13px/1.6 Arial,Helvetica,sans-serif}
#mailReplyInstruction{min-height:260px}#mailReplyText{min-height:420px}#mailReplyTranslation{min-height:320px}
.mail-reply-options{margin:12px 0;padding:13px;border:1px solid #c9dff8;border-radius:9px;background:#f5f9ff}.mail-reply-options>div{display:grid;gap:9px;margin-top:10px}.mail-reply-option{display:grid;grid-template-columns:70px 1fr;gap:10px;width:100%;padding:11px 13px;text-align:left;border:1px solid #cbd8e8;border-radius:8px;background:#fff;color:#183b63;line-height:1.55}.mail-reply-option span{font-weight:800;color:#1769df}.mail-reply-option:hover,.mail-reply-option.selected{border-color:#1769df;background:#eaf3ff;box-shadow:0 0 0 2px #1769df20}.mail-reply-tools{display:flex;gap:9px;flex-wrap:wrap;margin:8px 0 12px}
.mail-summary-cell{min-width:260px;max-width:420px;white-space:normal;line-height:1.5}.mail-status-select{min-width:105px;padding:6px}.mail-actor{min-width:90px;color:#526780}
.mail-replied-zh-cell{min-width:280px;max-width:420px;white-space:pre-wrap;line-height:1.55;color:#183b63;background:#f7fbff}
.mail-list-pane{min-width:0}.mail-pagination{display:flex;align-items:center;justify-content:center;gap:10px;padding:13px 16px;border-top:1px solid #dbe3ef;background:#f8fafc}.mail-pagination label{display:flex;align-items:center;gap:7px;font-weight:700}.mail-pagination select{min-width:105px;padding:8px}.mail-pagination button:disabled{cursor:not-allowed;opacity:.45}
.mail-state-unread{background:#fff1bf;color:#795900}.mail-state-processed{background:#d8f3e4;color:#12643b}.mail-state-ignored{background:#eef1f5;color:#526070}.mail-state-replied{background:#d8ecff;color:#125082}
#dashboardReport th[data-sort]{cursor:pointer;user-select:none;white-space:nowrap}#dashboardReport th[data-sort]:hover{background:#1e4f85}#dashboardReport th.sort-asc::after{content:' ▲';color:#ffd95a}#dashboardReport th.sort-desc::after{content:' ▼';color:#ffd95a}.pagination-status{display:inline-flex;align-items:center;min-height:38px;padding:0 12px;border:1px solid #cbd8e8;border-radius:8px;background:#fff;color:#314b68;font-weight:700;white-space:nowrap}
.operations-title{align-items:center}.operations-title-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0;flex:1}.operations-live-info{display:grid;gap:5px;padding:8px 12px;border:1px solid #d8e3f0;border-radius:10px;background:#f7faff;color:#385675;font-size:12px;line-height:1.3;min-width:700px}.live-info-row{display:flex;align-items:center;justify-content:flex-end;gap:11px;white-space:nowrap}.live-info-row strong{color:#0d3b73}.live-rates span{color:#075fae;font-weight:700}.live-clocks span{font-variant-numeric:tabular-nums}@media(max-width:1250px){.operations-title{align-items:flex-start}.operations-title-actions{align-items:flex-end;flex-direction:column}.operations-live-info{min-width:0;max-width:100%}.live-info-row{flex-wrap:wrap;white-space:normal}}
.product-save-result{margin-top:7px;max-width:190px;font-size:12px;line-height:1.35;white-space:normal}.product-save-result.saving{color:#986500}.product-save-result.success{color:#087645;font-weight:700}.product-save-result.failed{color:#ba2222;font-weight:700}
.mail-related-orders{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-bottom:10px;padding:10px 12px;background:#eef6ff;border:1px solid #c9dff8;border-radius:8px}.mail-order-link{border:1px solid #9bc3ef;background:#fff;color:#0759a8;border-radius:999px;padding:5px 10px;font-weight:700;cursor:pointer}.mail-order-link:hover{background:#1769df;color:#fff}.mail-orders-cell{min-width:150px}.zoomable-image{cursor:zoom-in}.image-hover-preview{position:fixed;z-index:1000;max-width:min(460px,42vw);max-height:72vh;object-fit:contain;padding:8px;background:#fff;border:1px solid #aebed2;border-radius:10px;box-shadow:0 18px 55px rgba(3,26,57,.36);pointer-events:none}
.dashboard-trend-card{margin:14px 20px 18px;padding:16px 18px;border:1px solid #d9e4f0;border-radius:12px;background:#fff}.trend-title{display:flex;justify-content:space-between;align-items:center;gap:16px}.trend-title h3{margin:0 0 4px}.trend-title p{margin:0;color:#718095}.trend-switch{display:flex;gap:8px}.dashboard-trend{min-height:260px;margin-top:12px;overflow-x:auto}.trend-svg{display:block;width:100%;min-width:760px;height:260px}.trend-grid{stroke:#dfe7f1;stroke-width:1}.trend-axis-label{fill:#718095;font-size:11px}.trend-bar{fill:#82b6f3}.trend-line{fill:none;stroke:#f39b2f;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.trend-dot{fill:#fff;stroke:#e78115;stroke-width:2}.trend-legend{display:flex;gap:18px;margin-top:6px;color:#526780;font-size:12px}.trend-legend i{display:inline-block;width:12px;height:12px;margin-right:5px;border-radius:3px;vertical-align:-2px}.trend-orders-key{background:#82b6f3}.trend-amount-key{background:#f39b2f}
.trend-svg-exact{height:300px}.trend-order-label{fill:#174f8f;font-size:11px;font-weight:800;paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round}.trend-amount-label{fill:#b76500;font-size:10px;font-weight:800;paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round}.trend-day-details{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(92px,1fr);gap:6px;overflow-x:auto;padding:10px 0 2px}.trend-day-detail{display:grid;gap:3px;min-width:92px;padding:8px 9px;border:1px solid #dce6f2;border-radius:8px;background:#f8fbff;text-align:center;font-size:12px}.trend-day-detail strong{color:#385675}.trend-day-detail span:nth-child(2){color:#1766b2;font-weight:800}.trend-day-detail span:nth-child(3){color:#b76500;font-weight:800}
.user-management-layout{padding:20px}.user-create-card{max-width:none}.store-select-toolbar{display:flex;align-items:center;gap:18px;margin-bottom:12px;padding:9px 11px;background:#f4f8fc;border-radius:8px}.store-select-toolbar label{display:flex!important;align-items:center;gap:7px;margin:0!important}.store-checks{max-height:210px;overflow:auto;align-content:flex-start}.user-edit-dialog{width:min(980px,94vw);max-width:980px;border:0;border-radius:15px;padding:0;box-shadow:0 25px 70px rgba(0,0,0,.32)}.user-edit-dialog::backdrop{background:rgba(7,25,50,.55)}.user-edit-dialog form{padding:24px}.dialog-title{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.dialog-title h2{margin:0 0 5px}.dialog-title p{margin:0}.user-edit-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dialog-actions{justify-content:flex-end}@media(max-width:800px){.user-edit-fields{grid-template-columns:1fr}.store-select-toolbar{align-items:flex-start;flex-direction:column;gap:6px}}
.shipping-search-card,.shipping-estimate-card{margin:14px 20px;padding:16px;border:1px solid #d9e4f0;border-radius:12px;background:#fff}.shipping-order-matches{display:flex;flex-wrap:wrap;gap:10px;padding:8px 20px 2px}.shipping-order-choice{display:flex;align-items:center;gap:10px;max-width:680px;padding:9px 12px;border:1px solid #bfd1e5;border-radius:9px;background:#f8fbff;color:#153e6a;cursor:pointer;text-align:left}.shipping-order-choice:hover{border-color:#2474d8;background:#eaf4ff}.shipping-order-choice img{width:46px;height:46px;object-fit:contain;border-radius:6px;background:#fff}.shipping-selected-product{min-height:44px;padding:10px 12px;margin-bottom:12px;border-radius:8px;background:#f4f8fc}.shipping-selected-product strong{color:#0c4e93}.shipping-estimate-form{grid-template-columns:repeat(6,minmax(130px,1fr))}.shipping-estimate-actions{margin-top:14px;align-items:center}.shipping-route-wrap{margin:0 20px 20px}.shipping-route-wrap table{min-width:1120px}.shipping-route-wrap tr.recommended-route{background:#eaf7ef}.route-rank{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#196bd7;color:#fff;font-weight:800}.route-warning{margin:12px 20px;padding:10px 12px;border-radius:8px;background:#fff7dd;color:#7a5800}@media(max-width:1100px){.shipping-estimate-form{grid-template-columns:repeat(2,minmax(150px,1fr))}.trend-title{align-items:flex-start;flex-direction:column}}
.shipping-image-button{display:inline-flex!important;align-items:center;justify-content:center;align-self:end;margin:0!important;min-height:39px;cursor:pointer}.shipping-upload-preview{width:76px;height:76px;object-fit:contain;margin-right:12px;border:1px solid #c9d8e8;border-radius:8px;background:#fff;vertical-align:middle}
.operations-live-info{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;max-width:1120px;padding:7px 9px;border:1px solid #d6e3f2;border-radius:12px;background:linear-gradient(135deg,#f9fbff,#eef5ff);box-shadow:0 2px 8px rgba(20,65,120,.06);font-size:12px;line-height:1.2}.live-info-group{display:flex;align-items:center;gap:6px;white-space:nowrap}.live-info-label{display:inline-flex;align-items:center;align-self:stretch;padding:0 8px;border-radius:7px;background:#123d72;color:#fff;font-weight:800}.live-rate-chip,.live-clock-chip{display:inline-flex;align-items:center;gap:4px;padding:6px 7px;border:1px solid #d7e3f1;border-radius:8px;background:#fff;font-variant-numeric:tabular-nums}.live-rate-chip b{color:#0b5ba8}.live-rate-chip em{color:#193b61;font-style:normal;font-weight:700}.live-clock-chip b{color:#1a4f87}.live-clock-chip time{color:#526a84}.live-info-divider{width:1px;height:28px;background:#c8d7e8}@media(max-width:1500px){.operations-title{align-items:flex-start}.operations-title-actions{align-items:flex-end;flex-direction:column}.operations-live-info{max-width:100%;flex-wrap:wrap}.live-info-divider{display:none}.live-info-group{flex-wrap:wrap;justify-content:flex-end}}
.domestic-shipping-box{display:flex;align-items:center;gap:8px;margin-top:7px;padding:7px 9px;border:1px dashed #98badd;border-radius:8px;background:#f4f9ff;color:#244f7d;font-size:12px;white-space:normal}.domestic-shipping-box.saved{justify-content:space-between;border-style:solid;border-color:#b9dbc8;background:#effaf4;color:#23563b}.domestic-shipping-box button{flex:0 0 auto;padding:6px 9px;font-size:12px}.domestic-shipping-hint{color:#69809a}.domestic-shipping-box small{color:#5c7569}
.trend-day-detail .trend-refund-count{margin-top:3px;color:#8b4a72;font-weight:700}.trend-day-detail .trend-refund-amount{color:#b62f55;font-weight:800}
.procurement-buyer-card{margin:14px 20px;padding:14px 16px;border:1px solid #d8e3ef;border-radius:10px;background:#f8fbff}.buyer-card-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.buyer-card-title h3{margin:0 0 4px}.buyer-card-title p{margin:0;color:#657b93}.procurement-buyer-profiles{display:grid;gap:7px;margin-top:12px}.buyer-profile-head,.buyer-profile-row{display:grid;grid-template-columns:minmax(150px,1.3fr) minmax(120px,.8fr) minmax(105px,.7fr) minmax(190px,1.1fr) 90px;gap:8px;align-items:center}.buyer-profile-head{padding:0 6px;color:#526780;font-size:12px;font-weight:800}.buyer-profile-row{padding:7px;border:1px solid #dde7f1;border-radius:8px;background:#fff}.buyer-profile-row input,.buyer-profile-row select{width:100%;min-width:0}.buyer-active{display:flex;align-items:center;gap:5px;white-space:nowrap}.buyer-active input{width:auto}.procurement-buyer-card>#addProcurementBuyer{margin-top:9px}@media(max-width:900px){.buyer-profile-head{display:none}.buyer-profile-row{grid-template-columns:1fr 1fr}.buyer-active{min-height:38px}}
.product-final-profit{display:inline-block;margin-top:4px;padding:2px 7px;border-radius:999px;background:#f0f5fb;font-size:12px;font-weight:800}.product-final-profit.positive{background:#e6f7ed}.product-final-profit.negative{background:#ffe8e8}
.buyer-cost-adjustment{display:inline-block;margin-top:3px;font-weight:800}.buyer-cost-extra{color:#b33a27}.buyer-cost-saving{color:#078347}
.mobile-push-dialog{width:min(640px,94vw);border:0;border-radius:16px;padding:24px;box-shadow:0 25px 70px rgba(0,0,0,.32)}.mobile-push-dialog::backdrop{background:rgba(7,25,50,.58)}.mobile-push-dialog h2{margin:0 0 5px}.mobile-push-dialog p{margin:0;color:#657b93}.mobile-push-status{margin:14px 0;padding:12px 14px;border:1px solid #b9cee5;border-radius:9px;background:#f3f8ff;color:#153e6a;font-weight:700;line-height:1.55}.mobile-push-status.success{border-color:#a8d7ba;background:#ecf9f1;color:#087443}.mobile-push-status.error{border-color:#efb2b2;background:#fff0f0;color:#a61f1f}.mobile-push-device{display:grid;gap:7px;font-weight:800}.mobile-push-steps{margin:16px 0;padding-left:24px;line-height:1.8}.mobile-push-note{padding:10px 12px;border-radius:8px;background:#fff8dc;color:#725700;line-height:1.6}.mobile-push-actions{justify-content:flex-end;flex-wrap:wrap;margin-top:18px}@media(max-width:700px){.mobile-push-actions{display:grid;grid-template-columns:1fr}.mobile-push-actions button{width:100%}}
