/* fbaSendToAmazon.css — FBA Send to Amazon, the S2 screens (6 Oct 2026).
 *
 * Built to the agreed prototype (FBA-Send-to-Amazon-Prototype-v1.html) straight away, so S4's restyle
 * does not have to style these twice: the page header and Sample/Live flag, the account switch, the
 * status panel, error banners with "Technical detail", the "Ready to continue?" approval card, the
 * refund countdown, "Amazon is still working on this", the confirm dialog and the Diagnostic log.
 * The older wizard screens keep the runtime-injected styles in fbaSendToAmazon.js until S4.
 *
 * Tokens are the prototype's (the same house palette as Vendor Listing / Buy Box Repricer / Evri
 * Claims), scoped to the FBA tab and its overlays so nothing outside the module is touched.
 * Light only: RMS does not follow the OS theme for this family.
 */
#fbaSendToAmazon, #fbaSendToAmazon, .fsa-ovl {
  --fsa-p: #0588b6; --fsa-pd: #03658e; --fsa-pl: #e6f4fa; --fsa-pl2: #cfe9f4;
  --fsa-line: #d7e4ec; --fsa-ink: #17303d; --fsa-mut: #6b8291;
  --fsa-ok: #1f9d55; --fsa-okl: #e5f6ec; --fsa-warn: #b6791a; --fsa-warnl: #fff4e0; --fsa-bad: #c9403f; --fsa-badl: #fdeceb;
  --fsa-grey: #eef2f5; --fsa-greyt: #5c6b78; --fsa-r: 16px; --fsa-rs: 10px;
}

/* ── header ─────────────────────────────────────────────────────────── */
.fsa-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin: 0 0 14px; flex-wrap: wrap; }
.fsa-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--fsa-p); }
.fsa-title { font-size: 23px; margin: 2px 0; font-weight: 800; letter-spacing: -.2px; color: var(--fsa-ink); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fsa-sub { color: var(--fsa-mut); font-size: 13px; max-width: 72ch; }
.fsa-acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fsa-flag { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 800; border: 1.5px solid; vertical-align: middle; letter-spacing: 0; }
.fsa-flag .d { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.fsa-flag.sample { background: var(--fsa-warnl); color: var(--fsa-warn); border-color: #f0d9a8; }
.fsa-flag.live { background: var(--fsa-okl); color: var(--fsa-ok); border-color: #bfe5cd; }
.fsa-flag.bad { background: var(--fsa-badl); color: var(--fsa-bad); border-color: #f1c7c6; }
.fsa-flag.grey { background: var(--fsa-grey); color: var(--fsa-greyt); border-color: var(--fsa-line); }

/* ── buttons (scoped so the global button{} rules cannot reach them) ── */
#fbaSendToAmazon .fsa-btn, #fbaSendToAmazon .fsa-btn, .fsa-ovl .fsa-btn {
  appearance: none; border: 1.5px solid var(--fsa-line); background: #fff; border-radius: var(--fsa-rs); padding: 8px 14px; margin: 0;
  font: inherit; font-weight: 600; font-size: 13.5px; cursor: pointer; color: var(--fsa-ink); white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; box-shadow: none; line-height: 1.3; width: auto;
}
#fbaSendToAmazon .fsa-btn:hover, #fbaSendToAmazon .fsa-btn:hover, .fsa-ovl .fsa-btn:hover { border-color: #b9cdd9; background: #fbfdfe; transform: none; }
#fbaSendToAmazon .fsa-btn.primary, #fbaSendToAmazon .fsa-btn.primary, .fsa-ovl .fsa-btn.primary { background: linear-gradient(135deg, var(--fsa-p), #1467a8); border-color: transparent; color: #fff; }
#fbaSendToAmazon .fsa-btn.primary:hover, #fbaSendToAmazon .fsa-btn.primary:hover, .fsa-ovl .fsa-btn.primary:hover { filter: brightness(1.05); }
#fbaSendToAmazon .fsa-btn.small, #fbaSendToAmazon .fsa-btn.small, .fsa-ovl .fsa-btn.small { padding: 5px 10px; font-size: 12.5px; border-radius: 8px; }
#fbaSendToAmazon .fsa-btn.ghostred, #fbaSendToAmazon .fsa-btn.ghostred, .fsa-ovl .fsa-btn.ghostred { color: var(--fsa-bad); border-color: #efc9c8; }
#fbaSendToAmazon .fsa-btn.ghostred:hover, #fbaSendToAmazon .fsa-btn.ghostred:hover, .fsa-ovl .fsa-btn.ghostred:hover { background: var(--fsa-badl); }
#fbaSendToAmazon .fsa-btn.link, #fbaSendToAmazon .fsa-btn.link, .fsa-ovl .fsa-btn.link { border-color: transparent; background: transparent; color: var(--fsa-p); padding: 4px 6px; }
#fbaSendToAmazon .fsa-btn:disabled, #fbaSendToAmazon .fsa-btn:disabled, .fsa-ovl .fsa-btn:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.fsa-seg { display: inline-flex; border: 1.5px solid var(--fsa-line); border-radius: var(--fsa-rs); overflow: hidden; background: #fff; }
#fbaSendToAmazon .fsa-seg button { appearance: none; border: 0; border-left: 1.5px solid var(--fsa-line); background: #fff; padding: 6px 14px; margin: 0; font: inherit; font-weight: 700; font-size: 13px; color: var(--fsa-greyt); cursor: pointer; border-radius: 0; box-shadow: none; width: auto; }
#fbaSendToAmazon .fsa-seg button:first-child { border-left: 0; }
#fbaSendToAmazon .fsa-seg button.on { background: var(--fsa-pl); color: var(--fsa-pd); }

/* ── cards, status panel ─────────────────────────────────────────────── */
.fsa-card { background: #fff; border: 1.5px solid var(--fsa-line); border-radius: var(--fsa-r); box-shadow: 0 2px 10px rgba(3, 101, 142, .05); }
.fsa-status { margin-bottom: 14px; overflow: hidden; }
.fsa-stop { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; cursor: pointer; gap: 10px; flex-wrap: wrap; }
.fsa-sdots { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; color: var(--fsa-mut); font-size: 12.5px; }
.fsa-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 5px; vertical-align: middle; flex: none; }
.fsa-dot.ok { background: var(--fsa-ok); } .fsa-dot.warn { background: var(--fsa-warn); } .fsa-dot.bad { background: var(--fsa-bad); } .fsa-dot.grey { background: #b9c6cf; }
.fsa-sbody { border-top: 1.5px solid var(--fsa-line); padding: 14px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fsa-sbody h4 { margin: 0 0 8px; font-size: 13px; color: var(--fsa-ink); }
.fsa-kv { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 3px 10px; font-size: 12.8px; color: var(--fsa-ink); }
.fsa-kv .k { color: var(--fsa-mut); }
.fsa-kv > span { min-width: 0; overflow-wrap: anywhere; }

/* ── banners, technical detail, empty, skeleton ──────────────────────── */
.fsa-banner { border-radius: 12px; padding: 12px 14px; font-size: 13px; border: 1.5px solid; margin: 0 0 12px; line-height: 1.45; max-width: 1100px; }   /* no sentence runs the full width of a wide screen */
.fsa-banner.bad { background: var(--fsa-badl); border-color: #f1c7c6; color: #8a2b2a; }
.fsa-banner.warn { background: var(--fsa-warnl); border-color: #f0d9a8; color: #7a4f0e; }
.fsa-banner.info { background: var(--fsa-pl); border-color: var(--fsa-pl2); color: var(--fsa-pd); }
.fsa-banner.ok { background: var(--fsa-okl); border-color: #bfe5cd; color: #16693a; }
.fsa-banner > b:first-child { display: block; margin-bottom: 2px; }
.fsa-bacts { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
details.fsa-tech { margin-top: 8px; font-size: 12px; }
details.fsa-tech summary { cursor: pointer; font-weight: 700; }
details.fsa-tech pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #fff; border: 1px solid var(--fsa-line); padding: 8px; border-radius: 8px; margin: 6px 0 0; color: var(--fsa-ink); font-size: 11.5px; font-family: Consolas, Menlo, monospace; }
.fsa-empty { padding: 32px 20px; text-align: center; color: var(--fsa-mut); font-size: 13px; }
.fsa-empty b { display: block; color: var(--fsa-ink); margin-bottom: 4px; font-size: 14px; }
/* S5 (D23): every wait shows RMS's shared logo loader (css/rloader.css + js/rloader.js), replacing the
   prototype's grey skeletons. This only gives it room; the mark itself is the house component. */
#fbaSendToAmazon .fsa-loading, .fsa-ovl .fsa-loading { display: flex; justify-content: center; align-items: center; min-height: 190px; padding: 12px 16px; }
#fbaSendToAmazon .fsa-loading.compact, .fsa-ovl .fsa-loading.compact { min-height: 0; padding: 4px 16px; }
#fbaSendToAmazon .fsa-waitnote { padding: 12px 0; }
/* The shared loader inlines the WHITE mark (it was drawn for the dark boot splash), which vanishes on
   this module's white cards. CSS fill/stroke beat SVG presentation attributes, so the mark is shown in
   the house blue of img/logos/repark-mark-blue.svg — here only; rloader.js/.css are not touched. Only
   the drawn shapes change: the <mask> inside stays black/white. This needs each FBA loader's OWN mask id
   (loaderHtml in fbaSendToAmazon.js): with the shared duplicate id the mask resolves to the hidden boot
   splash's, never applies, and this fill painted a solid blue square (fixed 6 Oct 2026). */
#fbaSendToAmazon .fsa-loading .rload-mk svg > path, .fsa-ovl .fsa-loading .rload-mk svg > path { stroke: #0369a1; }
#fbaSendToAmazon .fsa-loading .rload-mk svg > g > rect[mask], .fsa-ovl .fsa-loading .rload-mk svg > g > rect[mask] { fill: #0369a1; }
.fsa-note { font-size: 12px; margin-top: 3px; }
.fsa-note.warn { color: var(--fsa-warn); } .fsa-note.p { color: var(--fsa-p); } .fsa-note.bad { color: var(--fsa-bad); }

/* ── badges ─────────────────────────────────────────────────────────── */
.fsa-badge { display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.fsa-badge.b-draft { background: var(--fsa-grey); color: var(--fsa-greyt); } .fsa-badge.b-sub { background: #eef3ff; color: #3557b7; }
.fsa-badge.b-ok { background: var(--fsa-okl); color: var(--fsa-ok); } .fsa-badge.b-att { background: var(--fsa-warnl); color: var(--fsa-warn); }
.fsa-badge.b-fail { background: var(--fsa-badl); color: var(--fsa-bad); }

/* ── approval card, lock, countdown ──────────────────────────────────── */
.fsa-approve { border: 1.5px solid var(--fsa-p); border-radius: 14px; background: #f4fbfe; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; margin: 12px 0; color: var(--fsa-ink); }
.fsa-approve h4 { margin: 0; font-size: 15px; color: var(--fsa-ink); }
.fsa-approve ul { margin: 0; padding-left: 18px; font-size: 13px; }
.fsa-approve .fsa-figs { display: flex; gap: 24px; flex-wrap: wrap; margin: 2px 0 4px; }
.fsa-approve .fsa-figs .small { font-size: 12px; color: var(--fsa-mut); }
.fsa-approve .fsa-figs b { font-variant-numeric: tabular-nums; }
.fsa-approve .fsa-figs .big { font-size: 18px; }
.fsa-approve .fsa-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.fsa-lock { display: flex; gap: 6px; align-items: center; color: var(--fsa-greyt); font-size: 13px; }
.fsa-lock code { font-size: 12px; background: var(--fsa-grey); padding: 0 5px; border-radius: 4px; }
.fsa-chk { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
.fsa-chk input { margin-top: 3px; }
.fsa-countdown { font-variant-numeric: tabular-nums; font-weight: 800; }
.fsa-money { border: 1.5px solid var(--fsa-line); border-radius: 12px; padding: 12px 14px; margin: 10px 0; background: #fff; font-size: 13px; color: var(--fsa-ink); }
.fsa-money h5 { margin: 0 0 6px; font-size: 11px; font-weight: 800; color: var(--fsa-greyt); text-transform: uppercase; letter-spacing: .4px; }

/* ── tables (log viewer). rk-ownmobile on the wrapper opts out of the global cardifier ── */
.fsa-tw { overflow-x: auto; }
table.fsa-table { width: 100%; border-collapse: collapse; }
table.fsa-table th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px; color: var(--fsa-mut); text-align: left; padding: 12px 10px 10px; border-bottom: 1px solid var(--fsa-line); font-weight: 700; white-space: nowrap; background: #fff; }
table.fsa-table td { padding: 9px 10px; border-bottom: 1px solid #edf2f6; vertical-align: top; font-size: 12.5px; color: var(--fsa-ink); }
table.fsa-table tr.fsa-row { cursor: pointer; }
table.fsa-table tr.fsa-row:hover td { background: #f8fbfd; }
table.fsa-table tr.fsa-detail td { background: #f8fbfd; }
table.fsa-table tr.fsa-detail pre { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; font-size: 11.5px; font-family: Consolas, Menlo, monospace; }
.fsa-code { font-family: Consolas, Menlo, monospace; color: var(--fsa-mut); font-size: 12px; overflow-wrap: anywhere; }
.fsa-mut { color: var(--fsa-mut); } .fsa-small { font-size: 12px; }
.fsa-tabs { display: flex; gap: 2px; overflow-x: auto; border-bottom: 1.5px solid var(--fsa-line); }
.fsa-ovl .fsa-tabs button { appearance: none; border: 0; background: none; padding: 8px 12px; margin: 0; font: inherit; font-weight: 700; font-size: 13px; color: var(--fsa-greyt); cursor: pointer; border-bottom: 2.5px solid transparent; white-space: nowrap; border-radius: 0; box-shadow: none; width: auto; }
.fsa-ovl .fsa-tabs button.on { color: var(--fsa-pd); border-bottom-color: var(--fsa-p); }
.fsa-tabs .n { color: var(--fsa-mut); font-weight: 600; margin-left: 5px; }

/* ── overlays: the confirm dialog and the log viewer ─────────────────── */
.fsa-ovl { position: fixed; inset: 0; background: rgba(18, 28, 44, .45); display: flex; align-items: flex-start; justify-content: center; padding: 26px 14px; overflow: auto; z-index: 10050; font: 14px/1.45 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--fsa-ink); }
.fsa-panel { width: min(760px, 100%); background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(10, 25, 50, .25); overflow: hidden; }
.fsa-panel.wide { width: min(1440px, 94vw); }   /* the log: wider on big screens */
.fsa-panel.narrow { width: min(520px, 100%); }
.fsa-ptop { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 18px 20px 0; }
.fsa-ptitle { font-size: 17px; font-weight: 800; }
.fsa-ovl .fsa-x { appearance: none; cursor: pointer; color: var(--fsa-mut); font-size: 18px; padding: 2px 6px; background: none; border: 0; margin: 0; box-shadow: none; width: auto; }
.fsa-pbody { padding: 14px 20px 18px; display: flex; flex-direction: column; gap: 12px; }
.fsa-pbody p { margin: 0; }
.fsa-pfoot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 20px; border-top: 1.5px solid var(--fsa-line); background: #fbfdfe; flex-wrap: wrap; }

/* ── S3 · step 1 "Choose inventory to send" + the prep modal (prototype .fgrid/.fld/table/.prod/.th/
 *    .cell/.cats/.catb/.note/.foot, lifted and scoped). Buttons are reset here because style.css:1
 *    paints every button white-on-colour. ───────────────────────────────────────────────────────── */
#fbaSendToAmazon .fsa-h3 { margin: 0 0 12px; font-size: 18px; font-weight: 800; color: var(--fsa-ink); }
#fbaSendToAmazon .fsa-h5 { margin: 0 0 6px; font-size: 11px; font-weight: 800; color: var(--fsa-greyt); text-transform: uppercase; letter-spacing: .4px; }
#fbaSendToAmazon .fsa-sk { border: 1.5px solid var(--fsa-line); border-radius: 12px; padding: 8px 10px; display: flex; flex-direction: column; gap: 3px; margin-bottom: 6px; background: #fff; }
#fbaSendToAmazon .fsa-sk b { font-size: 12.5px; color: var(--fsa-ink); overflow-wrap: anywhere; }
#fbaSendToAmazon .fsa-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-bottom: 14px; }
#fbaSendToAmazon .fsa-fld { margin-bottom: 12px; }
#fbaSendToAmazon .fsa-fgrid .fsa-fld { margin-bottom: 0; }
#fbaSendToAmazon .fsa-fld label { display: block; font-size: 12px; font-weight: 700; color: var(--fsa-greyt); margin-bottom: 4px; }
#fbaSendToAmazon .fsa-fld input:not([type=file]), #fbaSendToAmazon .fsa-fld select { border: 1.5px solid var(--fsa-line); border-radius: var(--fsa-rs); padding: 8px 10px; width: 100%; min-width: 0; background: #fff; font: inherit; font-size: 14px; color: var(--fsa-ink); box-shadow: none; height: auto; margin: 0; }
#fbaSendToAmazon .fsa-fld select:disabled { background: #f6f9fb; color: var(--fsa-mut); }
#fbaSendToAmazon .fsa-hint { font-size: 11.5px; color: var(--fsa-mut); margin-top: 3px; }
#fbaSendToAmazon table.fsa-inv { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
#fbaSendToAmazon table.fsa-inv th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px; color: var(--fsa-mut); text-align: left; padding: 14px 12px 12px; border-bottom: 1px solid var(--fsa-line); font-weight: 700; white-space: nowrap; background: none; }
#fbaSendToAmazon table.fsa-inv td { padding: 10px 12px; border-bottom: 1px solid #edf2f6; vertical-align: top; font-size: 13px; color: var(--fsa-ink); background: none; }
#fbaSendToAmazon table.fsa-inv tr:last-child td { border-bottom: 0; }
#fbaSendToAmazon table.fsa-inv td.r, #fbaSendToAmazon table.fsa-inv th.r { text-align: right; }
#fbaSendToAmazon table.fsa-pick td { padding: 7px 12px; }
#fbaSendToAmazon .fsa-prod { display: flex; gap: 10px; align-items: center; min-width: 0; }
#fbaSendToAmazon .fsa-th { width: 36px; height: 36px; border-radius: 8px; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; object-fit: cover; }
#fbaSendToAmazon .fsa-pt { font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
#fbaSendToAmazon input.fsa-cell { border: 1.5px solid var(--fsa-line); border-radius: 8px; padding: 5px 7px; width: 64px; text-align: right; min-width: 0; font: inherit; font-size: 13px; background: #fff; color: var(--fsa-ink); box-shadow: none; height: auto; margin: 0; }
#fbaSendToAmazon input.fsa-cell.bad { border-color: var(--fsa-bad); background: var(--fsa-badl); }
#fbaSendToAmazon input.fsa-cell:disabled { opacity: .5; }
#fbaSendToAmazon .fsa-foot { position: sticky; bottom: 0; background: #fff; border-top: 1.5px solid var(--fsa-line); padding: 12px 0 4px; margin-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; z-index: 2; }
#fbaSendToAmazon .fsa-why { color: var(--fsa-mut); font-size: 12.5px; max-width: 60ch; }
.fsa-ovl .fsa-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fsa-ovl .fsa-catb { appearance: none; border: 1.5px solid var(--fsa-line); border-radius: 12px; padding: 10px; margin: 0; cursor: pointer; background: #fff; text-align: left; font: inherit; color: var(--fsa-ink); box-shadow: none; width: auto; height: auto; line-height: 1.35; }
.fsa-ovl .fsa-catb:hover { border-color: #b9cdd9; background: #fbfdfe; transform: none; }
.fsa-ovl .fsa-catb.on { border-color: var(--fsa-p); background: #f4fbfe; }
.fsa-ovl .fsa-catb b { display: block; font-size: 14px; }
.fsa-ovl .fsa-catb span { font-size: 12px; color: var(--fsa-mut); }
.fsa-ovl details.fsa-more { margin-top: 8px; font-size: 13px; }
.fsa-ovl details.fsa-more summary { cursor: pointer; font-weight: 700; color: var(--fsa-p); }
.fsa-ovl .fsa-pnote { border-left: 3px solid var(--fsa-warn); background: var(--fsa-warnl); padding: 8px 10px; border-radius: 0 8px 8px 0; font-size: 13px; color: var(--fsa-ink); }
.fsa-ovl .fsa-chk { margin-top: 6px; color: var(--fsa-ink); }
.fsa-ovl .fsa-chk input { width: auto; height: auto; margin: 3px 0 0; box-shadow: none; }
.fsa-ovl .fsa-btn.link.small, #fbaSendToAmazon .fsa-btn.link.small { padding: 2px 0; }

/* ── S3 · Confirm shipping: warehouse option cards + carrier cards + shipping-mode switch (prototype
 *    .opt/.otop/.cars/.car/.seg, lifted and scoped) ─────────────────────────────────────────────── */
#fbaSendToAmazon .fsa-opt { border: 1.5px solid var(--fsa-line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; background: #fff; cursor: pointer; color: var(--fsa-ink); }
#fbaSendToAmazon .fsa-opt.on { border-color: var(--fsa-p); background: #f4fbfe; }
#fbaSendToAmazon .fsa-otop { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
/* Warehouse-option cards: one per row, two side by side once the step body has room (wide screens). */
#fbaSendToAmazon .fsa-optgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(620px, 100%), 1fr)); gap: 10px; align-items: start; }
#fbaSendToAmazon .fsa-cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
#fbaSendToAmazon .fsa-car { appearance: none; border: 1.5px solid var(--fsa-line); border-radius: 10px; padding: 8px 10px; margin: 0; cursor: pointer; background: #fff; text-align: left; font: inherit; color: var(--fsa-ink); box-shadow: none; width: auto; height: auto; line-height: 1.35; }
#fbaSendToAmazon .fsa-car:hover { border-color: #b9cdd9; transform: none; }
#fbaSendToAmazon .fsa-car.on { border-color: var(--fsa-p); background: var(--fsa-pl); }
#fbaSendToAmazon .fsa-car:disabled { cursor: default; opacity: .7; }
#fbaSendToAmazon .fsa-car .cn { font-size: 12.5px; font-weight: 700; }
#fbaSendToAmazon .fsa-car .cp { font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
#fbaSendToAmazon .fsa-car .cs { font-size: 11.5px; color: var(--fsa-mut); }
#fbaSendToAmazon .fsa-ownsel { margin-top: 6px; width: 100%; border: 1.5px solid var(--fsa-line); border-radius: 8px; padding: 5px 7px; font: inherit; font-size: 13px; background: #fff; color: var(--fsa-ink); height: auto; }
#fbaSendToAmazon .fsa-seg button { appearance: none; border: 0; border-left: 1.5px solid var(--fsa-line); background: #fff; padding: 6px 14px; margin: 0; font: inherit; font-weight: 700; font-size: 13px; color: var(--fsa-greyt); cursor: pointer; box-shadow: none; border-radius: 0; width: auto; height: auto; }
#fbaSendToAmazon .fsa-seg button:first-child { border-left: 0; }
#fbaSendToAmazon .fsa-seg button.on { background: var(--fsa-pl); color: var(--fsa-pd); }
#fbaSendToAmazon .fsa-seg button:disabled { cursor: not-allowed; opacity: .6; }
#fbaSendToAmazon .fsa-approve h4 { font-size: 15px; }
/* S3 §4 · Pack individual units: one block per pack group; the box grid keeps its columns (scrolls). */
#fbaSendToAmazon .fsa-pgroup { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
#fbaSendToAmazon .fsa-pgroup .fsa-banner, #fbaSendToAmazon .fsa-pgroup .fsa-fld { margin: 0; }
#fbaSendToAmazon table.fsa-boxes { min-width: 520px; }

/* ── S4 · THE PAGE: the prototype's .wrap / .page / .ed / .rail / .main / .stepper / .foot, with its
 *    measurements copied exactly. The content column sits inside RMS's page area (RMS's own sidebar and
 *    top bar stay); the footer starts at RMS's REAL sidebar edge (--fsa-side, measured in JS). ──── */
#fbaSendToAmazon { --fsa-side: 0px; --fsa-bottom: 0px; }
#fbaSendToAmazon .fsa-wrap.fsa-editing { padding-bottom: calc(110px + var(--fsa-bottom, 0px)); }
#fbaSendToAmazon.card { background: transparent; border: 0; box-shadow: none; padding: 0; }
/* Width (6 Oct 2026, supersedes S4's 1240 px prototype cap): the module fills RMS's page area like B&Q Orders,
   with the same 18 px side padding, up to a 1920 px ceiling so an ultra-wide screen shows more, not just
   margins, while tables and cards stay scannable. The rail stays 270 px; the step body takes the rest. */
#fbaSendToAmazon .fsa-wrap { max-width: 1920px; margin: 0 auto; padding: 0 18px 110px; color: var(--fsa-ink); font: 14px/1.45 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
#fbaSendToAmazon .fsa-page { background: #fff; border-radius: 22px; padding: 22px 24px; box-shadow: 0 4px 24px rgba(3, 60, 90, .06); }
#fbaSendToAmazon .fsa-title { font-size: 23px; margin: 2px 0; }
#fbaSendToAmazon .fsa-hd .fsa-btn.link { font-size: 14px; }
/* style.css gives EVERY input/select/textarea min-width:170px — it beats max-width and pushes cells into
   their neighbours on desktop (responsive.css only cancels it below 1180px). Zero it inside the module. */
#fbaSendToAmazon input, #fbaSendToAmazon select, #fbaSendToAmazon textarea, .fsa-ovl input, .fsa-ovl select, .fsa-ovl textarea { min-width: 0; }
#fbaSendToAmazon table { margin-top: 0; border-radius: 0; overflow: visible; border-collapse: collapse; }
#fbaSendToAmazon th, #fbaSendToAmazon td { background: none; }
#fbaSendToAmazon tr:hover td { background: none; }

/* stepper */
#fbaSendToAmazon .fsa-stepper { display: flex; gap: 0; margin: 2px 0 16px; overflow-x: auto; }
#fbaSendToAmazon .fsa-st { flex: 1; min-width: 120px; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; background: none; border: 0; cursor: pointer; padding: 0 4px; margin: 0; box-shadow: none; border-radius: 0; color: inherit; font: inherit; }
#fbaSendToAmazon .fsa-st:hover { background: none; transform: none; }
#fbaSendToAmazon .fsa-st::before { content: ""; position: absolute; top: 14px; left: -50%; width: 100%; height: 2px; background: var(--fsa-line); z-index: 0; }
#fbaSendToAmazon .fsa-st:first-child::before { display: none; }
#fbaSendToAmazon .fsa-st.done::before, #fbaSendToAmazon .fsa-st.cur::before { background: var(--fsa-p); }
#fbaSendToAmazon .fsa-st .c { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 12px; background: #fff; border: 2px solid var(--fsa-line); color: var(--fsa-mut); z-index: 1; }
#fbaSendToAmazon .fsa-st.done .c { background: var(--fsa-p); border-color: var(--fsa-p); color: #fff; }
#fbaSendToAmazon .fsa-st.cur .c { border-color: var(--fsa-p); color: var(--fsa-p); box-shadow: 0 0 0 4px var(--fsa-pl); }
#fbaSendToAmazon .fsa-st.done.cur .c { color: #fff; }
#fbaSendToAmazon .fsa-st .l { font-size: 12px; font-weight: 700; color: var(--fsa-mut); text-align: center; }
#fbaSendToAmazon .fsa-st.cur .l { color: var(--fsa-ink); }
#fbaSendToAmazon .fsa-st:disabled { cursor: default; opacity: 1; }

/* editor grid: 270px rail + the step body */
#fbaSendToAmazon .fsa-ed { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 16px; align-items: start; }
#fbaSendToAmazon .fsa-rail { padding: 14px; position: sticky; top: 12px; display: flex; flex-direction: column; gap: 14px; font-size: 13px; }
#fbaSendToAmazon .fsa-rail .fsa-kv { font-size: 12.8px; }
#fbaSendToAmazon .fsa-main { padding: 18px 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
#fbaSendToAmazon .fsa-main > * { margin-top: 0; margin-bottom: 0; }
#fbaSendToAmazon .fsa-main .fsa-h3 { margin: 0; }
#fbaSendToAmazon .fsa-main .fsa-banner { margin: 0; }
#fbaSendToAmazon .fsa-main #fbaBoxBody, #fbaSendToAmazon .fsa-main #fsaShipBody, #fbaSendToAmazon .fsa-main #fbaConfirmBody { display: flex; flex-direction: column; gap: 16px; }

/* the fixed footer bar: from RMS's sidebar edge to the window edge */
#fbaSendToAmazon .fsa-foot { position: fixed; left: var(--fsa-side); right: 0; bottom: var(--fsa-bottom, 0px); background: #fff; border-top: 1.5px solid var(--fsa-line); padding: 12px 24px; margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; z-index: 10; flex-wrap: wrap; }
#fbaSendToAmazon .fsa-foot .fsa-why { color: var(--fsa-mut); font-size: 12.5px; max-width: 60ch; }

/* home: tabs bar + search + table + collapsibles */
#fbaSendToAmazon .fsa-card { margin-top: 0; }
#fbaSendToAmazon .fsa-status, #fbaSendToAmazon #fsaHomeCard { margin-bottom: 14px; }
#fbaSendToAmazon .fsa-tb { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 13px 16px 0; border-bottom: 1.5px solid var(--fsa-line); }
#fbaSendToAmazon .fsa-tb .fsa-tabs { border-bottom: 0; align-self: stretch; }
#fbaSendToAmazon .fsa-tabs button { appearance: none; border: 0; background: none; padding: 8px 12px; margin: 0; font: inherit; font-weight: 700; font-size: 13px; color: var(--fsa-greyt); cursor: pointer; border-bottom: 2.5px solid transparent; border-radius: 0; white-space: nowrap; box-shadow: none; }
#fbaSendToAmazon .fsa-tabs button:hover { background: none; transform: none; }
#fbaSendToAmazon .fsa-tabs button.on { color: var(--fsa-pd); border-bottom-color: var(--fsa-p); }
#fbaSendToAmazon .fsa-tabs button.on .n { color: var(--fsa-pd); }
#fbaSendToAmazon .fsa-tabs .rq { background: var(--fsa-warnl); color: var(--fsa-warn); border-radius: 6px; padding: 1px 6px; font-size: 11px; font-weight: 800; margin-left: 6px; }
#fbaSendToAmazon .fsa-grow { flex: 1; }
#fbaSendToAmazon input.fsa-search { border: 1.5px solid var(--fsa-line); border-radius: var(--fsa-rs); padding: 7px 11px; width: 260px; max-width: 100%; margin: 0 0 10px; font: inherit; font-size: 14px; box-shadow: none; height: auto; background: #fff; color: var(--fsa-ink); }
#fbaSendToAmazon table.fsa-home td { vertical-align: top; }
#fbaSendToAmazon .fsa-nm { appearance: none; font: inherit; font-weight: 700; color: var(--fsa-pd); cursor: pointer; background: none; border: 0; padding: 0; margin: 0; text-align: left; box-shadow: none; border-radius: 0; }
#fbaSendToAmazon .fsa-nm:hover { text-decoration: underline; background: none; transform: none; }
#fbaSendToAmazon .fsa-rowacts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
#fbaSendToAmazon .fsa-coll { margin-top: 12px; }
#fbaSendToAmazon .fsa-ch { appearance: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; cursor: pointer; background: none; border: 0; width: 100%; text-align: left; margin: 0; font: inherit; color: var(--fsa-ink); box-shadow: none; border-radius: var(--fsa-r); }
#fbaSendToAmazon .fsa-ch:hover { background: none; transform: none; }
#fbaSendToAmazon .fsa-ch b { font-size: 14.5px; }
#fbaSendToAmazon .fsa-collbody { border-top: 1.5px solid var(--fsa-line); }
#fbaSendToAmazon .fsa-bar { height: 7px; border-radius: 999px; background: var(--fsa-grey); overflow: hidden; min-width: 90px; flex: 1; display: block; }
#fbaSendToAmazon .fsa-bar i { display: block; height: 100%; background: var(--fsa-ok); }
#fbaSendToAmazon .fsa-bar.short i { background: var(--fsa-warn); }
#fbaSendToAmazon .fsa-badge.b-live { background: var(--fsa-okl); color: var(--fsa-ok); }
#fbaSendToAmazon .fsa-sfform { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 10px; border: 1.5px solid var(--fsa-line); border-radius: 12px; padding: 12px; }
#fbaSendToAmazon .fsa-sfform .fsa-fld { margin: 0; }
#fbaSendToAmazon .fsa-optlist { display: flex; flex-direction: column; gap: 2px; }

/* ── phones and tablets (≤1180px): one column, no sideways scroll ────── */
@media (max-width: 1180px) {
  .fsa-sbody { grid-template-columns: 1fr; }
  .fsa-kv { grid-template-columns: 110px minmax(0, 1fr); }
  .fsa-hd .fsa-acts { width: 100%; }
  .fsa-ovl { padding: 10px 8px; }
  .fsa-panel, .fsa-panel.wide, .fsa-panel.narrow { width: 100%; border-radius: 14px; }
  /* style.css floors classed tables at 900px and nowraps every cell on mobile — undo both here. */
  table.fsa-table { min-width: 0 !important; }
  table.fsa-table th, table.fsa-table td { white-space: normal !important; }
  table.fsa-table thead { display: none; }
  table.fsa-table tr.fsa-row { display: block; width: auto; border-bottom: 1px solid #edf2f6; padding: 8px 0; }
  table.fsa-table tr.fsa-row td { display: block; border: 0; padding: 2px 6px; }
  table.fsa-table tr.fsa-detail td { display: block; }
  .fsa-approve .fsa-figs { gap: 14px; }
  /* S3 step 1: one column; the SKU table becomes stacked cards (thead hidden, each cell a row). */
  #fbaSendToAmazon .fsa-fgrid { grid-template-columns: 1fr; }
  /* S4 — the prototype at ≤1180px: one column, the rail above the body and not sticky, the footer full
     width; a table or option grid that can't fit scrolls inside its own container, never the page. */
  #fbaSendToAmazon .fsa-ed { grid-template-columns: 1fr; }
  #fbaSendToAmazon .fsa-rail { position: static; }
  #fbaSendToAmazon .fsa-foot { left: 0; }
  #fbaSendToAmazon .fsa-wrap { padding: 0 0 110px; }
  #fbaSendToAmazon .fsa-page { padding: 16px; border-radius: 16px; }
  #fbaSendToAmazon .fsa-main { padding: 14px; }
  #fbaSendToAmazon .fsa-tw, #fbaSendToAmazon .fsa-stepper, #fbaSendToAmazon .fsa-cars { max-width: 100%; overflow-x: auto; }
  #fbaSendToAmazon .fsa-sfform { grid-template-columns: 1fr; }
  #fbaSendToAmazon input.fsa-search { width: 100%; }
  #fbaSendToAmazon .fsa-tb .fsa-tabs { max-width: 100%; overflow-x: auto; }
  .fsa-ovl .fsa-cats { grid-template-columns: 1fr; }
  #fbaSendToAmazon .fsa-seg { display: flex; flex-direction: column; width: 100%; }
  #fbaSendToAmazon .fsa-seg button { border-left: 0; border-top: 1.5px solid var(--fsa-line); text-align: left; }
  #fbaSendToAmazon .fsa-seg button:first-child { border-top: 0; }
  #fbaSendToAmazon table.fsa-inv:not(.fsa-boxes) { min-width: 0 !important; }
  #fbaSendToAmazon table.fsa-inv:not(.fsa-boxes) thead { display: none; }
  #fbaSendToAmazon table.fsa-inv:not(.fsa-boxes) tr { display: block; border-bottom: 1px solid #edf2f6; padding: 8px 0; }
  #fbaSendToAmazon table.fsa-inv:not(.fsa-boxes) td { display: block; border: 0; padding: 3px 4px; white-space: normal !important; }
  #fbaSendToAmazon table.fsa-inv:not(.fsa-boxes) td.r { text-align: left; }
  #fbaSendToAmazon table.fsa-inv:not(.fsa-boxes) td.r > div { justify-content: flex-start !important; }
}

/* Bulk select on the Drafts tab — the house pattern (Easy Ship's .es-bulkbar / .es-cbx), FBA tokens. */
#fbaSendToAmazon .fsa-bulkbar { display: flex; align-items: center; gap: 10px; padding: 11px 16px; background: #f0f9ff; border-bottom: 1.5px solid #e0f2fe; font-size: 13px; font-weight: 700; color: var(--fsa-p); flex-wrap: wrap; }
#fbaSendToAmazon #fsaBulkSlot .fsa-banner { margin: 12px 16px; }
#fbaSendToAmazon th.fsa-selcol, #fbaSendToAmazon td.fsa-selcol { width: 28px; padding-right: 0; }
#fbaSendToAmazon input.fsa-cbx { width: 16px; height: 16px; min-width: 0; margin: 2px 0 0; accent-color: var(--fsa-p); cursor: pointer; }
#fbaSendToAmazon tr.fsa-picked td { background: #f4fbfe; }
.fsa-bulklist { margin: 6px 0 0; padding-left: 18px; }
#fbaSendToAmazon .fsa-selall-m { display: none; }
@media (max-width: 1180px) { #fbaSendToAmazon .fsa-selall-m { display: block; padding: 10px 16px 0; font-size: 13px; } #fbaSendToAmazon .fsa-selall-m label { display: inline-flex; gap: 8px; align-items: center; } }
.fsa-bulklist li { margin: 3px 0; }

/* ── C1: case packs (packing templates) — lifted from prototype v2, scoped to this module ───────────── */
#fbaSendToAmazon .fsa-pkcell { min-width: 140px; max-width: 200px; }
#fbaSendToAmazon #fsaInvRows td:last-child { width: 1%; white-space: nowrap; }
#fbaSendToAmazon table.fsa-inv th { white-space: normal; }
#fbaSendToAmazon .fsa-pkrow { display: flex; gap: 6px; align-items: center; }
#fbaSendToAmazon .fsa-pkrow select { min-width: 0; max-width: 150px; flex: 0 1 auto; border: 1.5px solid var(--fsa-line); border-radius: var(--fsa-rs); padding: 7px 9px; background: #fff; font: inherit; font-size: 13px; color: var(--fsa-ink); }
#fbaSendToAmazon .fsa-qtybox { display: flex; gap: 6px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
#fbaSendToAmazon .fsa-casebox { margin-bottom: 14px; }
#fbaSendToAmazon .fsa-casebox table.fsa-inv { margin-bottom: 0; }
.fsa-ovl .fsa-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.fsa-ovl .fsa-fld label { display: block; font-size: 12px; font-weight: 700; color: var(--fsa-greyt); margin-bottom: 4px; }
.fsa-ovl .fsa-fld input:not([type=file]), .fsa-ovl .fsa-fld select { border: 1.5px solid var(--fsa-line); border-radius: var(--fsa-rs); padding: 8px 10px; width: 100%; min-width: 0; background: #fff; font: inherit; font-size: 14px; color: var(--fsa-ink); box-sizing: border-box; }
.fsa-ovl .fsa-fld select:disabled { background: #f6f9fb; color: var(--fsa-mut); }
.fsa-ovl .fsa-hint { font-size: 11.5px; color: var(--fsa-mut); margin-top: 3px; }
.fsa-ovl .fsa-dims { display: flex; gap: 6px; align-items: center; }
.fsa-ovl .fsa-dims input { width: 90px; min-width: 0; flex: 0 1 90px; }
@media (max-width: 1180px) {
  .fsa-ovl .fsa-fgrid { grid-template-columns: 1fr; }
  #fbaSendToAmazon .fsa-pkcell { min-width: 150px; }
  #fbaSendToAmazon .fsa-qtybox { justify-content: flex-start; }
}

/* F1: the diagnostic log's header (title, Download log, close) and footer stay put; only the entries scroll. */
.fsa-panel.wide { display: flex; flex-direction: column; max-height: calc(100vh - 52px); }
.fsa-panel.wide .fsa-ptop { flex: 0 0 auto; padding-bottom: 12px; border-bottom: 1.5px solid var(--fsa-line); }
.fsa-panel.wide .fsa-pbody { flex: 1 1 auto; min-height: 0; overflow: auto; }
.fsa-panel.wide .fsa-pfoot { flex: 0 0 auto; }
.fsa-lhd { display: flex; gap: 8px; align-items: center; flex: 0 0 auto; }
/* F1: an option whose carrier quote failed is shown on its own card and can't be picked. */
#fbaSendToAmazon .fsa-opt.fsa-optfail { cursor: default; }
@media (max-width: 1180px) {
  .fsa-panel.wide { max-height: calc(100vh - 20px); }
  .fsa-panel.wide .fsa-ptop { flex-wrap: wrap; }
}

/* F2: product pictures. The tile keeps its fixed size and shows first; the picture is laid over it (no layout jump) and is removed if it fails. */
#fbaSendToAmazon .fsa-th { position: relative; overflow: hidden; }
#fbaSendToAmazon .fsa-th .fsa-thimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; display: block; }
/* F2: the add-SKU list can never push its Add button off the right edge: one scroller (the list box), fixed column layout, long words wrap. */
#fbaSendToAmazon #fbaPickerTable .fsa-tw { overflow: visible; }
#fbaSendToAmazon #fbaPickerTable table.fsa-pick { table-layout: fixed; width: 100%; min-width: 0; }
#fbaSendToAmazon #fbaPickerTable table.fsa-pick td:last-child { width: 88px; text-align: right; white-space: nowrap; }
#fbaSendToAmazon #fbaPickerTable table.fsa-pick .fsa-prod { min-width: 0; }
#fbaSendToAmazon #fbaPickerTable table.fsa-pick .fsa-prod > div { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }

/* ── R2 · RESTOCK HELP: the Running low card, the "⚙ Stock alerts" tab and pop-up, the Suggested marks in step 1 (29 Oct 2026).
 *    Built to FBA-Send-to-Amazon-Prototype-v9. Everything is scoped to #fbaSendToAmazon / .fsa-ovl; no shared stylesheet is touched.
 *    polish.css paints every <button> on hover unless it has a hover rule of its own, so the small link buttons pin theirs here. ── */
#fbaSendToAmazon .fsa-num { font-variant-numeric: tabular-nums; }
#fbaSendToAmazon .fsa-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
#fbaSendToAmazon select.fsa-search { border: 1.5px solid var(--fsa-line); border-radius: var(--fsa-rs); padding: 7px 11px; width: auto; max-width: 100%; margin: 0 0 10px; font: inherit; font-size: 14px; box-shadow: none; height: auto; background: #fff; color: var(--fsa-ink); }
#fbaSendToAmazon .fsa-tabs button.fsa-rstab { margin-left: 14px; border-left: 1.5px solid var(--fsa-line); padding-left: 16px; border-radius: 0; }
#fbaSendToAmazon .fsa-lowcard { border-color: #f0d9a8; margin-bottom: 14px; overflow: hidden; }
#fbaSendToAmazon .fsa-lowload, #fbaSendToAmazon .fsa-lowerr { margin-bottom: 14px; }
#fbaSendToAmazon .fsa-lowhd { background: var(--fsa-warnl); padding: 13px 16px; display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; border-bottom: 1.5px solid #f0d9a8; }
#fbaSendToAmazon .fsa-lowhdt { flex: 1; min-width: 240px; color: var(--fsa-ink); }
#fbaSendToAmazon .fsa-lowhdt .fsa-small { color: #7a5210; }
#fbaSendToAmazon .fsa-warnt { color: var(--fsa-warn); font-weight: 700; }
#fbaSendToAmazon .fsa-btn.link.fsa-flat { padding: 2px 0; }
#fbaSendToAmazon .fsa-btn.link.fsa-flat:hover { background: transparent; border-color: transparent; color: var(--fsa-pd); }
#fbaSendToAmazon .fsa-btn.link:hover { background: transparent; border-color: transparent; color: var(--fsa-pd); }
#fbaSendToAmazon table.fsa-inv.fsa-rs { min-width: 900px; margin-bottom: 0; }   /* wide tables scroll sideways inside .fsa-tw on a phone (the fsa-boxes opt-out), as the prototype does */
#fbaSendToAmazon table.fsa-rs td { vertical-align: top; }
#fbaSendToAmazon tr.fsa-dim td { opacity: .75; }
#fbaSendToAmazon .fsa-rsstrip { padding: 12px 16px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; border-bottom: 1.5px solid var(--fsa-line); color: var(--fsa-ink); }
#fbaSendToAmazon .fsa-rtag { font-weight: 700; }
#fbaSendToAmazon .fsa-rtag.pd { color: var(--fsa-pd); }
#fbaSendToAmazon .fsa-rtag.mut { color: var(--fsa-mut); }
#fbaSendToAmazon input.fsa-cell.fsa-cellrs { width: 80px; }
#fbaSendToAmazon input.fsa-cell.fsa-sughl { border-color: #e9b04e; background: #fffaf0; }
#fbaSendToAmazon .fsa-sugline { display: flex; gap: 6px; justify-content: flex-end; align-items: center; flex-wrap: wrap; margin-top: 5px; font-size: 12px; color: #7a5210; }
#fbaSendToAmazon .fsa-sugok { margin-top: 5px; color: var(--fsa-ok); }
#fbaSendToAmazon .fsa-sugown { margin-top: 5px; }
#fbaSendToAmazon .fsa-ownline { margin-top: 4px; color: var(--fsa-mut); }
#fbaSendToAmazon .fsa-ownline.over { color: var(--fsa-warn); font-weight: 700; }
#fbaSendToAmazon .fsa-banner .fsa-bacts .fsa-btn.small { background: #fff; }
.fsa-ovl #fsaRsAt { text-align: left; }
.fsa-rstoast { position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%) translateY(20px); background: #17303d; color: #fff; padding: 10px 16px; border-radius: 10px; font: 600 13px/1.4 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; opacity: 0; pointer-events: none; transition: .2s; z-index: 10060; max-width: min(92vw, 520px); }
.fsa-rstoast.show { opacity: 1; transform: translateX(-50%); }
.fsa-rstoast.bad { background: #8a2b2a; }
@media (max-width: 760px) {
  #fbaSendToAmazon .fsa-tools { width: 100%; }
  #fbaSendToAmazon .fsa-tools select.fsa-search { flex: 0 0 auto; }
  #fbaSendToAmazon .fsa-tools input.fsa-search { flex: 1 1 200px; width: auto; }   /* wide enough for the whole placeholder, so on a phone it wraps to its own row */
  #fbaSendToAmazon .fsa-lowhd .fsa-btn { flex: 1 1 auto; justify-content: center; }
}
