#product-follow-up-page .follow-up-head-actions { display:flex!important; flex-wrap:wrap; gap:6px; }
#product-follow-up-page .follow-up-head-actions [hidden] { display:none!important; }
#product-follow-up-page .follow-up-action-group { display:flex; flex-wrap:wrap; gap:5px; padding:5px; border-radius:7px; background:#f1f6fb; max-width:100%; }
#product-follow-up-page .follow-up-action-group + .follow-up-action-group { background:#f2f7f3; }
#product-follow-up-page .follow-up-head-actions button { margin:0; min-height:28px; padding:4px 8px; font-size:12px; white-space:normal; }
#product-follow-up-page > .page-head { flex-wrap:wrap; gap:8px; }
#product-follow-up-page > .page-head > div { min-width:0; max-width:100%; }
#product-follow-up-page.journal-operator-page.operator-stocking-enabled.is-pending > #product-follow-up-pending-panel:not(.hidden) { display:block!important; }
#product-follow-up-page.journal-operator-page.operator-stocking-enabled.is-pending > #journal-followup-list { display:none!important; }
#product-follow-up-page.operator-no-product-manage [data-follow-up-create-product],
#product-follow-up-page.operator-no-product-manage [data-follow-up-edit-product] { display:none!important; }

/* The ordinary viewer reuses the compact table; owner settings/statistics stay closed. */
#product-follow-up-page.journal-operator-page.operator-followup-table:not(.is-pending) > .follow-up-tabs { display:flex!important; }
#product-follow-up-page.journal-operator-page.operator-followup-table:not(.is-pending) > .follow-up-filter-bar { display:flex!important; }
#product-follow-up-page.journal-operator-page.operator-followup-table:not(.is-pending) > #product-follow-up-main-list { display:block!important; }
#product-follow-up-page.operator-followup-table [data-follow-up-stage="OVERSTOCK_RATE"],
#product-follow-up-page.operator-followup-table > #journal-followup-list { display:none!important; }
.follow-up-compositions { margin-top:5px; font-size:12px; }
#product-follow-up-page.journal-operator-page.operator-followup-table.is-pending > #product-follow-up-pending-panel:not(.hidden) { display:block!important; }
#product-follow-up-page.journal-operator-page.operator-followup-table:not(.is-pending) > .guardrail { display:block!important; }
#product-follow-up-page.journal-operator-page.operator-followup-table:not(.is-pending) > .overstock-detail-entry { display:flex!important; }
#product-follow-up-page.journal-operator-page.operator-followup-table:not(.is-pending) > #product-follow-up-stock-overview-card:not(.hidden),
#product-follow-up-page.journal-operator-page.operator-followup-table:not(.is-pending) > #product-follow-up-missing-panel:not(.hidden) { display:block!important; }
#product-follow-up-page .follow-up-product-copy,
#product-follow-up-page .follow-up-compositions,
#product-follow-up-page .follow-up-sku-details { min-width:0; overflow-wrap:anywhere; }
#product-follow-up-page .follow-up-value-tags { display:flex; flex-wrap:wrap; gap:3px 6px; }
#product-follow-up-page .follow-up-value-tags > span { padding:2px 5px; background:#f4f7fb; border-radius:4px; }
#product-follow-up-page .product-follow-up-card,
#product-follow-up-page .table-scroll { min-width:0; max-width:100%; }
#product-follow-up-page .follow-up-threshold { flex-wrap:wrap; }
#product-follow-up-page .follow-up-threshold small { flex:1 1 180px; min-width:0; max-width:100%; overflow-wrap:anywhere; }

/* Original-file digest must wrap on narrow screens; tables retain their own scroll area. */
.shein-source-download { min-width: 0; overflow-wrap: anywhere; }

/* Each SKU source and metric line uses the available detail width. */
#product-follow-up-page .follow-up-sku-line { grid-template-columns: minmax(0, 1fr); }
#product-follow-up-page .follow-up-sku-line > * { grid-column: 1; }

/* SKU source status stays visible without widening the matching editor. */
.follow-up-match-source{min-width:0;max-width:100%;margin:8px 0}
.follow-up-match-source-row{display:flex;flex-wrap:wrap;gap:6px 14px;padding:6px 0;border-bottom:1px solid #e5eaf0;overflow-wrap:anywhere}
.follow-up-match-source-row>b{flex-basis:100%;min-width:0;overflow-wrap:anywhere}
