/* Keep the product navigation separate from the listing assignment tools. */
html body #article-section #article-view-switch { display:flex; flex-wrap:wrap; gap:8px; width:auto; margin-bottom:8px; }
html body #article-matching-tools { display:flex; justify-content:flex-end; margin:-46px 0 10px; min-height:38px; pointer-events:none; }
html body #article-matching-tools button { pointer-events:auto; border:1px solid var(--psk-border,#d7dee6); border-radius:7px; padding:9px 12px; min-height:38px; color:var(--psk-text,#223347); background:var(--psk-surface,#fff); font:600 12px/1.4 Inter,"Segoe UI",system-ui,sans-serif; cursor:pointer; }
html body #article-matching-tools button[aria-pressed=true] { background:var(--psk-surface-soft,#eef3f8); border-color:#7798b9; }
html body #article-matching-tools[hidden] { display:none!important; }
html body #article-matching-tools button:focus-visible { outline:3px solid #477eb4; outline-offset:2px; }
html body #ebay-offer-panel .offer-heading { gap:12px; align-items:start; }
html body #ebay-offer-panel .offer-heading-tools { flex-wrap:wrap; justify-content:flex-end; }
html body #ebay-offer-panel .offer-purpose { margin:6px 0; }
html body #ebay-offer-panel .offer-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
html body #ebay-offer-panel .offer-kpis b { font-size:20px!important; }
html body #ebay-offer-panel .offer-source-totals { padding:10px 12px; margin:10px 0; border:1px solid var(--psk-border,#d7dee6); border-radius:7px; background:var(--psk-surface,#fff); color:var(--psk-text,#223347); }
html body #ebay-offer-panel .offer-source-totals summary { cursor:pointer; font-weight:600; }
html body #ebay-offer-panel .offer-source-totals[open] summary { margin-bottom:10px; }
html body #ebay-offer-panel .offer-source-totals>span { display:inline-block; margin:0 10px; }
html body #ebay-offer-panel .offer-source-totals p { margin:8px 0 0; font-size:12px; line-height:1.5; }
/* The supplementary overview must not squeeze assignment buttons under the sticky header. */
@media(min-width:1024px) {
 html body.ebay-compact #article-matching-tools { display:none; }
 html body.ebay-compact #article-section { overflow:auto; }
 html body.ebay-compact #ebay-offer-panel,
 html body.ebay-compact #offer-filters { flex:none; min-height:auto; }
 html body.ebay-compact #ebay-offer-panel .offer-source-totals { margin:0; padding:5px 9px; }
 html body.ebay-compact #ebay-offer-panel .offer-purpose { margin:0; }
 html body.ebay-compact #ebay-offer-panel .offer-kpis b { font-size:13px!important; }
 html body.ebay-compact #ebay-offer-panel .offer-table-scroll { flex:none; height:clamp(300px,48vh,430px); min-height:300px; }
}
@media(max-width:760px) {
 html body #article-matching-tools { margin:0 0 10px; justify-content:flex-start; }
 html body #ebay-offer-panel .offer-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }
 html body #ebay-offer-panel .offer-heading { flex-wrap:wrap; }
 html body #ebay-offer-panel .offer-heading-tools { justify-content:flex-start; }
 html body #ebay-offer-panel .offer-source-totals>span { display:block; margin:10px 0; }
}
