.ow-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ow-list{min-width:0}
.ow-list-top,.ow-top-tools,.ow-switch,.ow-export,.ow-filter-bar,.ow-selection,.ow-row-links{display:flex;align-items:center}
.ow-list-top{padding:14px 18px 8px;gap:14px;justify-content:space-between;flex-wrap:wrap}
.ow-switch{gap:2px;padding:3px;border-radius:8px;background:#eef3f1;width:fit-content;flex:none}
.ow-switch .live-button{margin:0;border:0;min-height:32px;padding:5px 15px;line-height:1.3;box-shadow:none;border-radius:5px;background:transparent;color:#52655f}
.ow-switch .live-button[aria-pressed=true]{background:#fff;color:#123f38;font-weight:700;box-shadow:0 1px 3px #19362e26}
.ow-top-tools{gap:12px;flex-wrap:wrap}.ow-select{font-size:12px;color:#526760;white-space:nowrap}.ow-export{gap:5px}
.ow-export select,.ow-filter-bar select,.ow-extra select{height:34px;padding:3px 6px;border:1px solid #d4dfd9;border-radius:6px;background:#fff;color:#314f48;font:inherit;font-size:12px}
.ow-filter-bar{gap:7px;flex-wrap:wrap;padding:8px 18px 14px;border-bottom:1px solid #e1e9e4}
.ow-filter-bar .live-search{flex:1 1 230px;min-width:170px;max-width:420px}.ow-filter-bar .live-search input{width:100%;min-width:0}
.ow-filter-bar [aria-expanded=true]{background:#eef6f2;border-color:#87aca2}
.ow-extra[hidden]{display:none}.ow-extra{padding:13px 18px;background:#f6f9f7;border-bottom:1px solid #dae5df}
.ow-extra-selects{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px}.ow-extra-selects label{display:grid;gap:3px;font-size:12px;color:#50675e}
.ow-extra .live-order-date-filters{padding:10px 0 0}.ow-active-filters{display:flex;flex-wrap:wrap;gap:5px;padding:6px 18px}.ow-active-filters span{font-size:12px;border-radius:4px;padding:3px 6px;background:#edf5f0;color:#31574c}
.ow-selection,.ow-group-switch{padding:6px 18px;border-bottom:1px solid #dbe6df}.ow-selection{gap:8px;background:#f4faf6;font-size:12px}
.ow-table-wrap .ow-table{min-width:810px;table-layout:auto}
.ow-table th,.ow-table td{padding:10px 12px;vertical-align:top}.ow-table th{font-size:12px;white-space:nowrap}.ow-table .ow-check{width:36px;padding-inline:12px 2px}
.ow-table .ow-product{width:30%;min-width:190px}.ow-goods{display:flex;align-items:flex-start;gap:8px;justify-content:space-between}
.ow-table .live-product{min-width:0;max-width:none;gap:8px}.ow-table .live-product>span:last-child{min-width:0}
.ow-table .live-product-art{width:40px;height:40px;min-width:40px}.ow-table .live-product strong{font-size:13px;max-width:none;line-height:1.4}
.ow-table .live-product .live-muted,.ow-table .live-product-spec[title="规格待核实"],.ow-table .live-product-spec[title="规格待补充"]{display:none}
.ow-qty{flex:none;font-size:12px;white-space:nowrap;color:#335349}.ow-store{font-weight:650;font-size:13px;margin-bottom:3px}
.ow-id-line,.ow-label{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap;line-height:1.4;margin-top:3px}
.ow-id-line>span:first-child,.ow-label>span:first-child,.ow-time{font-size:11px;color:#597168}.ow-id-line .id-copy{max-width:100%}
.ow-table .ow-identity{min-width:153px}.ow-table .ow-status{max-width:180px;min-width:135px}
.ow-table .ow-status .oa-deadline,.ow-table .ow-status .oa-status-note{font-size:11px;line-height:1.4}
.ow-table .ow-state{min-width:94px}.ow-table .ow-action{min-width:136px;width:18%}
.ow-actions,.ow-actions .oa-buttons{display:flex;flex-flow:row wrap;align-items:center;gap:4px}
.ow-actions .oa-buttons{width:100%}.ow-actions .live-button,.ow-action>.live-button{min-height:27px;padding:3px 7px;font-size:12px}
.ow-row-links{gap:8px;align-items:flex-start;flex-wrap:wrap}.ow-row-links>.live-button{padding-left:0}
.ow-more-actions{font-size:12px}.ow-more-actions summary{display:list-item;cursor:pointer;color:#4f6961;line-height:27px}.ow-more-actions>div{display:flex;flex-wrap:wrap;gap:4px;max-width:156px}
@media(max-width:760px){
 .ow-list-top{padding:10px 10px 5px;gap:7px}.ow-top-tools{gap:6px}
 .ow-switch .live-button{padding:4px 9px}.ow-export{gap:3px}.ow-export select{max-width:9rem}
 .ow-filter-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 10px 10px;gap:6px}.ow-filter-bar .live-search{grid-column:1/-1;max-width:none;min-width:0;width:100%}
 .ow-filter-bar select{width:100%;min-width:0}.ow-extra,.ow-selection,.ow-group-switch{padding:8px 10px}.ow-extra .live-order-date-filters>small{display:none}
 .live-list-panel>.ow-table-wrap{max-height:none;overflow:visible;scrollbar-gutter:auto}.ow-table-wrap .ow-table{display:block;width:100%;min-width:0}
 .ow-table thead{position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden}
 .ow-table tbody{display:block}.ow-table tbody tr{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:12px;gap:9px 10px;border-bottom:1px solid #d9e4de}.ow-table tbody tr:last-child{border-bottom:0}
 .ow-table tbody td{display:block;border:0!important;background:transparent;padding:0;min-width:0!important;max-width:none!important;width:auto!important}
 .ow-table .ow-check{position:absolute;right:12px;top:12px}
 .ow-table .ow-product,.ow-table .ow-identity,.ow-table .ow-action{grid-column:1/-1}
 .ow-table .ow-product{padding-right:21px}.ow-table .ow-identity{display:flex;align-items:baseline;gap:2px 9px;flex-wrap:wrap}.ow-identity .ow-time{display:block;flex:1 0 100%;font-size:11px}
 .ow-table .ow-status:before,.ow-table .ow-state:before{content:attr(data-caption);display:block;margin-bottom:3px;color:#62766e;font-size:11px}.ow-table .ow-action{padding-top:8px;border-top:1px solid #e2eae6!important}
 .ow-actions{justify-content:space-between;align-items:flex-start}.ow-actions .oa-buttons{width:auto}.ow-more-actions>div{max-width:100%}
 .ow-table .live-product strong{font-size:14px}
}

/* Finance rows keep amounts together and let the product column absorb spare width. */
.of-list>.of-scroll{scrollbar-gutter:auto;scrollbar-width:thin}
.of-scroll .of-table{width:100%;min-width:1020px;table-layout:fixed;font-size:13px;line-height:1.4}
.of-table th,.of-table td{box-sizing:border-box;padding:11px 7px;vertical-align:top;font-size:13px;line-height:1.4}
.of-table th{padding-top:10px;padding-bottom:10px;font-size:12px;font-weight:600;color:#526b64;white-space:normal}
.of-table th:first-child,.of-table td:first-child{padding-left:12px}
.of-table th:last-child,.of-table td:last-child{padding-right:10px}
.of-table .of-order{width:132px}
.of-table .of-product{width:auto}
.of-table .of-qty{width:44px}
.of-table th.of-qty{white-space:nowrap;font-size:11px}
.of-table .of-sales{width:106px}
.of-table .of-cost{width:100px}
.of-table .of-commission{width:80px}
.of-table .of-logistics{width:88px}
.of-table .of-advertising{width:70px}
.of-table .of-profit{width:104px}
.of-table .of-platform{width:90px}
.of-table .of-action{width:54px}
.of-table .of-number{text-align:right;font-variant-numeric:tabular-nums}
.of-table .of-value{display:block;font-size:13px;line-height:1.45;font-weight:600;color:#254e45;overflow-wrap:normal;word-break:normal}
.of-table .of-meta{display:block;margin-top:3px;font-size:11px;line-height:1.4;font-weight:400;color:#657b74;overflow-wrap:anywhere}
.of-table .of-number .of-meta{overflow-wrap:normal;word-break:normal}
.of-table .of-number .of-meta small,.of-table .of-value small{display:inline;margin:0;line-height:inherit;color:inherit}
.of-table .of-number .of-meta small{font-size:inherit}.of-table .of-value small{font-size:10px}
.of-table .of-sales .of-meta{font-size:10px;white-space:nowrap}
.of-table .of-tag{display:inline-block;margin-top:4px;font-size:10px;line-height:1.4;font-weight:400;color:#607970}
.of-table .of-alert{color:#a46324}
.of-table small.of-alert{display:block;margin-top:3px;font-size:10px;line-height:1.4}
.of-table .of-value.of-positive{color:#147562}.of-table .of-value.of-negative{color:#b44e40}
.of-table .of-store{display:block;margin-bottom:3px;font-size:12px;line-height:1.4;font-weight:600}
.of-table .of-id{font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.of-table .of-time{font-size:10px;line-height:1.45}
.of-table .of-order>.of-value{font-size:12px;font-weight:600}
.of-table .of-order .id-copy{padding:0;max-width:100%;line-height:1.45}
.of-table .of-order .of-meta{margin-top:4px}
.of-table .live-product{align-items:flex-start;min-width:0;max-width:none;gap:7px}
.of-table .live-product>span:last-child{flex:1;min-width:0}
.of-table .live-product-art{width:36px;height:42px;flex-basis:36px;min-width:36px;border-radius:5px}
.of-table .live-product strong{font-size:12px;line-height:1.4;font-weight:550;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.of-table .live-product-spec{font-size:10px;line-height:1.35;margin-top:2px;-webkit-line-clamp:1;line-clamp:1}
.of-table .live-product .live-muted,.of-table .live-product-spec[title="规格待核实"],.of-table .live-product-spec[title="规格待补充"]{display:none}
.of-table .live-product .live-code{font-size:10px;line-height:1.4;margin-top:3px;padding:0 3px}
.of-table .live-order-skus{gap:2px;margin-top:5px;font-size:10px;line-height:1.35}
.of-table .live-order-skus>span{display:block;min-width:0;overflow-wrap:anywhere}
.of-table .live-order-skus .id-copy{padding:0;font-size:inherit;line-height:inherit}
.of-table .of-platform .live-badge{max-width:100%;margin-top:0;padding:3px 5px;font-size:10px;line-height:1.4;white-space:normal;text-align:left}
.of-table .of-platform .oa-status-note,.of-table .of-platform .oa-deadline{font-size:10px;line-height:1.4;margin-top:4px}
.of-table .of-action .live-button{min-height:26px;padding:3px 4px;margin:0;font-size:12px;line-height:1.5;white-space:nowrap}
.of-table .of-cost .live-button{min-height:24px;padding:2px 0;margin-top:3px;font-size:11px;line-height:1.4}
.of-table .of-cost-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px;margin:0;align-items:center}
.of-table .of-cost-form .live-cost-input{width:100%;min-width:0;height:28px;min-height:28px;padding:4px 5px;font-size:11px}
.of-table .of-cost-form .live-button{min-height:28px;margin:0;padding:3px 4px;font-size:10px;white-space:nowrap}
.of-table .live-cost-control{max-width:100%;min-width:0}
.of-table .live-cost-control>small{font-size:10px;line-height:1.35;margin-top:3px;text-align:left}
.of-table .fin-fee-cell{min-width:0;gap:3px;font-size:12px}
.of-table .fin-fee-cell>small,.of-table .fin-muted{font-size:10px;line-height:1.4}
.of-list>.live-pagination{padding:12px 16px}
@media(min-width:1600px){.of-scroll .of-table{font-size:13px}.of-table th,.of-table td{padding-inline:10px}.of-table .of-order{width:145px}.of-table .of-cost{width:110px}.of-table .of-sales{width:106px}.of-table .of-commission{width:94px}.of-table .of-logistics{width:108px}.of-table .of-advertising{width:85px}.of-table .of-profit{width:125px}.of-table .of-platform{width:115px}.of-table .of-action{width:64px}}
@media(max-width:760px){
 .of-list>.of-scroll{overflow:auto;scrollbar-gutter:auto;overscroll-behavior:contain}
 .of-scroll .of-table{display:table;width:1020px;min-width:1020px}
 .of-table thead{display:table-header-group;position:static;clip-path:none;width:auto;height:auto;overflow:visible}
 .of-table tbody{display:table-row-group}.of-table tbody tr{display:table-row;padding:0;border:0}
 .of-table tbody td{display:table-cell;padding:10px 7px;border-bottom:1px solid #e6ede8;min-width:0}
 .of-table .of-order{position:sticky;left:0;z-index:3;background:#fff;box-shadow:1px 0 0 #e0e9e4}
 .of-list .of-table thead .of-order{z-index:5;background:#f3f8f5}
 .of-table .of-order .id-copy{font-size:11px}
 .of-list>.live-pagination{position:static;padding:12px 10px;gap:9px}
}

/* flip2-compact */
.ow-table th,.ow-table td{padding:6px 8px!important;}
.ow-table .live-product strong{font-size:12px;line-height:1.25;}

/* v119: compact employee display; full sync diagnostics remain in the sync screen. */
.home-sync-scope,.home-queue > p.live-note[style="padding:0 4px"]:not(:has(.live-spinner)),
.live-data-freshness > strong,.live-data-freshness > small,.live-data-freshness-run,.live-data-freshness-time,
.live-product-provisional,.live-product-spec[title="规格待核实"],.pg-spec-missing { display:none!important }
.live-data-freshness-compact{font-size:12px;color:#677d7b;white-space:normal}
.co-amplify-table{table-layout:fixed;width:100%;max-width:1160px}
.co-amplify-table .co-product{width:34%}.co-amplify-table .co-kind{width:12%}.co-amplify-table .co-detail{width:36%}.co-amplify-table .co-action{width:18%}
.co-amplify-table td{white-space:normal;overflow-wrap:anywhere}.co-amplify-table small{display:block}
.today-sales-grid{display:flex;flex-wrap:wrap;gap:8px;padding:12px 0}.today-sales-product{padding:10px;border:1px solid #d9e7e2;border-radius:8px}.today-sales-product.is-popular{border:2px solid #168578;background:#eff9f4}
.today-fee-totals{padding:12px 16px;background:#f2f8f5;border-bottom:1px solid #d9e7e2;line-height:1.6}.today-fee-totals small{display:block;color:#586c69}
.product-original-title{display:block;color:#718480;font-size:12px}.inv-sold-out{color:#a33425;background:#fff0ea;padding:3px 8px;border-radius:5px}

.today-order-table td small{display:block;margin-top:4px;color:#687f7a}.today-order-table td{vertical-align:top}

@media screen {
  /* Leave room for the native number stepper and the adjacent save button. */
  :is(#erp-live, .live-modal) form.live-cost-form input.live-cost-input {
    font-size: 12px;
    padding-inline: 6px;
  }
  :is(#erp-live, .live-modal) form.live-cost-form .live-button {
    font-size: 11px;
    padding: 5px 8px;
    white-space: nowrap;
  }
  :is(#erp-live, .live-modal) .of-table .of-cost-form .live-cost-input {
    font-size: 11px;
    padding-inline: 5px;
  }
  :is(#erp-live, .live-modal) .of-table .of-cost-form .live-button {
    font-size: 10px;
    padding: 3px 4px;
  }
}

/* Orders and fees. Print documents keep their original layout. */
@media screen {
  .of-scroll .of-eight { min-width:960px; }
  .of-eight .of-order { width:14%; }
  .of-eight .of-product { width:19%; }
  .of-eight .of-qty { width:8%; }
  .of-eight .of-sales { width:11%; }
  .of-eight .of-fees { width:15%; }
  .of-eight .of-cost { width:12%; min-width:106px; }
  .of-eight .of-profit { width:10%; }
  .of-eight .of-platform { width:11%; }
  .of-eight .of-order .of-id { display:flex; align-items:flex-start; gap:4px; }
  .of-eight .of-order input { flex:none; margin-top:2px; }
  .of-eight .live-product .product-original-title { display:none; }
  .of-eight .live-product .live-order-skus { display:block; max-width:100%; }
  .of-eight .live-product .live-order-skus .offer-controls { display:inline-flex; max-width:100%; }
  .of-eight .live-product .live-order-skus .offer-detail { min-width:0; }
  .of-eight .of-charge { display:grid; grid-template-columns:2em minmax(0,1fr); gap:5px; }
  .of-eight .of-charge > span { color:var(--ds-secondary-text); font-size:11px; }
  .of-eight .of-charge + .of-charge { margin-top:5px; padding-top:4px; border-top:1px solid var(--ds-border); }
  .of-eight .of-platform .live-button { display:block; margin-top:4px; }
  .of-order-buy.of-cost-form { display:grid; grid-template-columns:minmax(52px,1fr) auto; align-items:center; gap:3px; }
  .of-order-buy input { min-width:0; width:100%; }
  .live-modal-backdrop:has(> .of-drawer) { padding:0; align-items:stretch; justify-content:flex-end; }
  .live-modal.of-drawer { display:flex; flex-direction:column; width:min(568px,100vw); max-height:100%; border-radius:12px 0 0 12px; overflow:hidden; }
  .of-drawer > header,.of-drawer > footer { flex:none; }
  .of-drawer .live-modal-body { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; }
  .of-drawer .live-order-detail-grid,.of-drawer .fin-two { grid-template-columns:minmax(0,1fr); }
  .of-drawer .live-order-detail-section { min-width:0; }
  .of-drawer .of-drawer-gallery { margin:12px 0; padding-block:8px; border-block:1px solid var(--ds-border); }
  .of-drawer-gallery summary { cursor:pointer; font-weight:600; color:var(--ds-primary); }
  .of-drawer .of-gallery-body { min-width:0; }
  .of-drawer .of-order-buy { width:170px; }
  @media(max-width:760px) {
    .of-scroll .of-eight { width:960px; }
    .live-modal.of-drawer { border-radius:0; }
  }
}

