/* mcl.css — Multi-Channel Listings (rebuilt Oct 2026, B1).
 *
 * LIFTED from the locked prototype (Multi-Channel-Listings-Prototype-v1.html, approved 7 Oct 2026),
 * not re-written from memory: the same tokens (hex values from the prototype's :root), sizes,
 * radii, borders, badges, banners, stepper, rail/body grid, fixed footer and modal shapes.
 *
 * Scoped so nothing outside the module is touched (no shared stylesheet is edited):
 *   - every class carries the `mcl-` prefix;
 *   - every rule lives under #listingBuilder (the tab) or .mcl-ovl / .mcl-toast (overlays on <body>);
 *   - the house's global element rules (button{}, input{min-width:170px}, table{}, th{}, td{}) are
 *     reset INSIDE the scope, the FBA Send to Amazon way.
 * Not built (prototype-only): the ribbon, the highlight dashes, the RMS shell stand-in (.shell/.side/
 * .top) — RMS's real sidebar and top bar stay. Light only, like the prototype and the FBA family.
 * Phone rules: @media (max-width:1180px).
 */
#listingBuilder, .mcl-ovl, .mcl-toast {
  --mcl-p: #0588b6; --mcl-pd: #03658e; --mcl-pl: #e6f4fa; --mcl-pl2: #cfe9f4;
  --mcl-bg: #f3f7fa; --mcl-card: #fff; --mcl-line: #d7e4ec; --mcl-ink: #17303d; --mcl-mut: #6b8291;
  --mcl-ok: #1f9d55; --mcl-okl: #e5f6ec; --mcl-warn: #b6791a; --mcl-warnl: #fff4e0; --mcl-bad: #c9403f; --mcl-badl: #fdeceb;
  --mcl-grey: #eef2f5; --mcl-greyt: #5c6b78;
  --mcl-r: 16px; --mcl-rs: 10px;
}
#listingBuilder { --mcl-side: 0px; --mcl-bottom: 0px; }

/* ── the page (prototype .wrap → .page) ─────────────────────────────────── */
#listingBuilder .mcl-wrap { max-width: 1920px; margin: 0 auto; padding: 0 0 110px; min-width: 0; color: var(--mcl-ink); font: 14px/1.45 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
#listingBuilder .mcl-wrap.mcl-editing { padding-bottom: calc(110px + var(--mcl-bottom, 0px)); }
#listingBuilder .mcl-page { background: #fff; border-radius: 22px; padding: 22px 24px; box-shadow: 0 4px 24px rgba(3, 60, 90, .06); min-width: 0; }
#listingBuilder *, .mcl-ovl *, .mcl-toast { box-sizing: border-box; }

/* ── global element resets, inside the scope only ───────────────────────── */
#listingBuilder button, .mcl-ovl button { font: inherit; color: inherit; margin: 0; box-shadow: none; transform: none; border-radius: 0; font-weight: inherit; padding: 0; background: none; border: 0; cursor: pointer; line-height: 1.45; text-transform: none; letter-spacing: normal; }
#listingBuilder button:hover, .mcl-ovl button:hover { transform: none; box-shadow: none; background: none; }
#listingBuilder input, #listingBuilder select, #listingBuilder textarea,
.mcl-ovl input, .mcl-ovl select, .mcl-ovl textarea { font: inherit; color: inherit; min-width: 0; margin: 0; box-shadow: none; outline: none; }
#listingBuilder input:focus, #listingBuilder select:focus, #listingBuilder textarea:focus,
.mcl-ovl input:focus, .mcl-ovl select:focus, .mcl-ovl textarea:focus { box-shadow: none; }
#listingBuilder :focus-visible, .mcl-ovl :focus-visible { outline: 2px solid var(--mcl-p); outline-offset: 2px; }
#listingBuilder table, .mcl-ovl table { width: 100%; border-collapse: collapse; border-spacing: 0; margin: 0; border-radius: 0; overflow: visible; }
#listingBuilder th, .mcl-ovl th { background: none; color: var(--mcl-mut); font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px; text-align: left; padding: 14px 12px 12px; border-bottom: 1px solid var(--mcl-line); font-weight: 700; white-space: nowrap; }
#listingBuilder td, .mcl-ovl td { background: none; padding: 10px 12px; border-bottom: 1px solid #edf2f6; vertical-align: top; font-size: 13px; }
#listingBuilder tr:last-child td, .mcl-ovl tr:last-child td { border-bottom: 0; }
#listingBuilder tr:hover td, .mcl-ovl tr:hover td { background: none; }
#listingBuilder td.mcl-r, #listingBuilder th.mcl-r { text-align: right; }
#listingBuilder h2, #listingBuilder h3, #listingBuilder h4, #listingBuilder h5, .mcl-ovl h4, .mcl-ovl h5 { color: var(--mcl-ink); }

/* ── header ─────────────────────────────────────────────────────────────── */
#listingBuilder .mcl-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin: 0 0 14px; flex-wrap: wrap; }
#listingBuilder .mcl-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--mcl-p); }
#listingBuilder .mcl-h2 { font-size: 23px; margin: 2px 0; font-weight: 800; letter-spacing: -.2px; }
#listingBuilder .mcl-sub, .mcl-ovl .mcl-sub { color: var(--mcl-mut); font-size: 13px; max-width: 78ch; }
#listingBuilder .mcl-acts, .mcl-ovl .mcl-acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
#listingBuilder .mcl-sample { display: inline-flex; align-items: center; gap: 6px; background: var(--mcl-warnl); color: var(--mcl-warn); border: 1.5px solid #f0d9a8; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 800; vertical-align: middle; }
#listingBuilder .mcl-sample .mcl-d { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* ── buttons ────────────────────────────────────────────────────────────── */
#listingBuilder .mcl-btn, .mcl-ovl .mcl-btn { border: 1.5px solid var(--mcl-line); background: #fff; border-radius: var(--mcl-rs); padding: 8px 14px; font-weight: 600; cursor: pointer; color: var(--mcl-ink); white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
#listingBuilder .mcl-btn:hover, .mcl-ovl .mcl-btn:hover { border-color: #b9cdd9; background: #fbfdfe; }
#listingBuilder .mcl-btn.mcl-primary, .mcl-ovl .mcl-btn.mcl-primary { background: linear-gradient(135deg, var(--mcl-p), #1467a8); border-color: transparent; color: #fff; }
#listingBuilder .mcl-btn.mcl-small, .mcl-ovl .mcl-btn.mcl-small { padding: 5px 10px; font-size: 12.5px; border-radius: 8px; }
#listingBuilder .mcl-btn.mcl-ghostred, .mcl-ovl .mcl-btn.mcl-ghostred { color: var(--mcl-bad); border-color: #efc9c8; }
#listingBuilder .mcl-btn.mcl-link, .mcl-ovl .mcl-btn.mcl-link { border-color: transparent; background: transparent; color: var(--mcl-p); padding: 4px 6px; }
#listingBuilder .mcl-btn:disabled, .mcl-ovl .mcl-btn:disabled { opacity: .45; cursor: not-allowed; }

/* ── cards + Connections ────────────────────────────────────────────────── */
#listingBuilder .mcl-card { background: var(--mcl-card); border: 1.5px solid var(--mcl-line); border-radius: var(--mcl-r); box-shadow: 0 2px 10px rgba(3, 101, 142, .05); }
#listingBuilder .mcl-status { margin-bottom: 14px; overflow: hidden; }
#listingBuilder .mcl-stop { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; cursor: pointer; gap: 10px; flex-wrap: wrap; }
#listingBuilder .mcl-sdots, .mcl-ovl .mcl-sdots { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; color: var(--mcl-mut); font-size: 12.5px; }
#listingBuilder .mcl-dot, .mcl-ovl .mcl-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 5px; vertical-align: middle; flex: none; }
#listingBuilder .mcl-dot.mcl-ok, .mcl-ovl .mcl-dot.mcl-ok { background: var(--mcl-ok); }
#listingBuilder .mcl-dot.mcl-warn, .mcl-ovl .mcl-dot.mcl-warn { background: var(--mcl-warn); }
#listingBuilder .mcl-dot.mcl-bad, .mcl-ovl .mcl-dot.mcl-bad { background: var(--mcl-bad); }
#listingBuilder .mcl-dot.mcl-grey, .mcl-ovl .mcl-dot.mcl-grey { background: #b9c6cf; }
#listingBuilder .mcl-sbody { border-top: 1.5px solid var(--mcl-line); padding: 14px 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
#listingBuilder .mcl-sbody.mcl-block { display: block; }
#listingBuilder .mcl-conn { border: 1.5px solid var(--mcl-line); border-radius: 12px; padding: 10px 12px; font-size: 12.8px; }
#listingBuilder .mcl-conn b { display: block; margin-bottom: 3px; }
#listingBuilder .mcl-switch { display: flex; gap: 8px; align-items: center; margin-top: 8px; font-size: 12.5px; font-weight: 700; }
#listingBuilder .mcl-switch input { width: 16px; height: 16px; }

/* ── tabs, search, table ────────────────────────────────────────────────── */
#listingBuilder .mcl-tb { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 13px 16px 0; border-bottom: 1.5px solid var(--mcl-line); }
#listingBuilder .mcl-tabs, .mcl-ovl .mcl-tabs { display: flex; gap: 2px; overflow: auto; align-self: stretch; }
#listingBuilder .mcl-tabs button, .mcl-ovl .mcl-tabs button { border: 0; background: none; padding: 8px 12px; font-weight: 700; color: var(--mcl-greyt); cursor: pointer; border-bottom: 2.5px solid transparent; white-space: nowrap; font-size: 13px; border-radius: 0; }
#listingBuilder .mcl-tabs button.mcl-on, .mcl-ovl .mcl-tabs button.mcl-on { color: var(--mcl-pd); border-bottom-color: var(--mcl-p); }
#listingBuilder .mcl-tabs button .mcl-n, .mcl-ovl .mcl-tabs button .mcl-n { color: var(--mcl-mut); font-weight: 600; margin-left: 5px; }
#listingBuilder .mcl-search { border: 1.5px solid var(--mcl-line); border-radius: var(--mcl-rs); padding: 7px 11px; min-width: 0; width: 260px; max-width: 100%; margin-bottom: 10px; background: #fff; font-size: 14px; }
#listingBuilder .mcl-grow { flex: 1; }
#listingBuilder .mcl-tw, .mcl-ovl .mcl-tw { overflow-x: auto; max-width: 100%; }
#listingBuilder .mcl-mut, .mcl-ovl .mcl-mut { color: var(--mcl-mut); }
#listingBuilder .mcl-small, .mcl-ovl .mcl-small { font-size: 12px; }
#listingBuilder .mcl-code, .mcl-ovl .mcl-code { font-family: Consolas, Menlo, monospace; color: var(--mcl-mut); font-size: 12px; }
#listingBuilder .mcl-num { font-variant-numeric: tabular-nums; }
#listingBuilder .mcl-nm { font-weight: 700; color: var(--mcl-pd); cursor: pointer; background: none; border: 0; padding: 0; text-align: left; }
#listingBuilder .mcl-nm:hover { text-decoration: underline; }
#listingBuilder .mcl-badge, .mcl-ovl .mcl-badge { display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: 11px; font-weight: 800; white-space: nowrap; }
#listingBuilder .mcl-b-draft, .mcl-ovl .mcl-b-draft { background: var(--mcl-grey); color: var(--mcl-greyt); }
#listingBuilder .mcl-b-sub, .mcl-ovl .mcl-b-sub { background: #eef3ff; color: #3557b7; }
#listingBuilder .mcl-b-live, .mcl-ovl .mcl-b-live { background: var(--mcl-okl); color: var(--mcl-ok); }
#listingBuilder .mcl-b-att, .mcl-ovl .mcl-b-att { background: var(--mcl-warnl); color: var(--mcl-warn); }
#listingBuilder .mcl-b-fail, .mcl-ovl .mcl-b-fail { background: var(--mcl-badl); color: var(--mcl-bad); }
#listingBuilder .mcl-chips { display: flex; gap: 5px; flex-wrap: wrap; }
#listingBuilder .mcl-chip { display: inline-flex; gap: 5px; align-items: center; border-radius: 999px; padding: 2px 9px; font-size: 11.5px; font-weight: 700; border: 1.5px solid var(--mcl-line); background: #fff; white-space: nowrap; }
#listingBuilder .mcl-chip .mcl-dot { margin: 0; }
#listingBuilder .mcl-thumb { width: 40px; height: 40px; border-radius: 8px; background: var(--mcl-pl); display: grid; place-items: center; font-size: 10px; color: var(--mcl-pd); overflow: hidden; }
#listingBuilder .mcl-thumb img { width: 100%; height: 100%; object-fit: cover; }
#listingBuilder .mcl-thumb.mcl-empty { background: var(--mcl-grey); }
#listingBuilder tr.mcl-rowlink { cursor: pointer; }
#listingBuilder tr.mcl-rowlink:hover td { background: #f7fbff; }

/* ── banners, boxes, empty, loader ──────────────────────────────────────── */
#listingBuilder .mcl-banner, .mcl-ovl .mcl-banner { border-radius: 12px; padding: 12px 14px; font-size: 13px; border: 1.5px solid; }
#listingBuilder .mcl-banner.mcl-bad, .mcl-ovl .mcl-banner.mcl-bad { background: var(--mcl-badl); border-color: #f1c7c6; color: #8a2b2a; }
#listingBuilder .mcl-banner.mcl-warn, .mcl-ovl .mcl-banner.mcl-warn { background: var(--mcl-warnl); border-color: #f0d9a8; color: #7a4f0e; }
#listingBuilder .mcl-banner.mcl-info, .mcl-ovl .mcl-banner.mcl-info { background: var(--mcl-pl); border-color: var(--mcl-pl2); color: var(--mcl-pd); }
#listingBuilder .mcl-banner.mcl-ok, .mcl-ovl .mcl-banner.mcl-ok { background: var(--mcl-okl); border-color: #bfe5cd; color: #16693a; }
#listingBuilder .mcl-banner b, .mcl-ovl .mcl-banner b { display: block; margin-bottom: 2px; }
#listingBuilder .mcl-banner strong, .mcl-ovl .mcl-banner strong { font-weight: 800; display: inline; }
#listingBuilder .mcl-bacts, .mcl-ovl .mcl-bacts { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
#listingBuilder details.mcl-tech, .mcl-ovl details.mcl-tech { margin-top: 8px; font-size: 12px; }
#listingBuilder details.mcl-tech summary, .mcl-ovl details.mcl-tech summary { cursor: pointer; font-weight: 700; }
#listingBuilder details.mcl-tech pre, .mcl-ovl details.mcl-tech pre { white-space: pre-wrap; background: #fff; border: 1px solid var(--mcl-line); padding: 8px; border-radius: 8px; margin: 6px 0 0; color: var(--mcl-ink); font-size: 11.5px; }
#listingBuilder .mcl-empty, .mcl-ovl .mcl-empty { padding: 36px 20px; text-align: center; color: var(--mcl-mut); }
#listingBuilder .mcl-empty b, .mcl-ovl .mcl-empty b { display: block; color: var(--mcl-ink); margin-bottom: 4px; font-size: 14px; }
#listingBuilder .mcl-rl, .mcl-ovl .mcl-rl { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px; color: var(--mcl-mut); font-size: 12.5px; }
#listingBuilder .mcl-rl svg, .mcl-ovl .mcl-rl svg { width: 40px; height: 40px; }
#listingBuilder .mcl-box, .mcl-ovl .mcl-box { border: 1.5px solid var(--mcl-line); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; background: #fff; }
#listingBuilder .mcl-box h4, .mcl-ovl .mcl-box h4 { margin: 0 0 4px; font-size: 14px; display: flex; justify-content: space-between; gap: 10px; }
#listingBuilder .mcl-box.mcl-warn { background: var(--mcl-warnl); border-color: #f0d9a8; }
#listingBuilder .mcl-box.mcl-okb { background: var(--mcl-okl); border-color: #bfe5cd; }
#listingBuilder .mcl-box.mcl-info { background: var(--mcl-pl); border-color: var(--mcl-pl2); }
#listingBuilder .mcl-note, .mcl-ovl .mcl-note { border-left: 3px solid var(--mcl-warn); background: var(--mcl-warnl); padding: 8px 10px; border-radius: 0 8px 8px 0; font-size: 13px; }

/* ── editor: stepper, rail, main ────────────────────────────────────────── */
#listingBuilder .mcl-stepper { display: flex; gap: 0; margin: 2px 0 16px; overflow-x: auto; }
#listingBuilder .mcl-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; }
#listingBuilder .mcl-st::before { content: ""; position: absolute; top: 14px; left: -50%; width: 100%; height: 2px; background: var(--mcl-line); z-index: 0; }
#listingBuilder .mcl-st:first-child::before { display: none; }
#listingBuilder .mcl-st.mcl-done::before, #listingBuilder .mcl-st.mcl-cur::before { background: var(--mcl-p); }
#listingBuilder .mcl-st .mcl-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(--mcl-line); color: var(--mcl-mut); z-index: 1; }
#listingBuilder .mcl-st.mcl-done .mcl-c { background: var(--mcl-p); border-color: var(--mcl-p); color: #fff; }
#listingBuilder .mcl-st.mcl-cur .mcl-c { border-color: var(--mcl-p); color: var(--mcl-p); box-shadow: 0 0 0 4px var(--mcl-pl); }
#listingBuilder .mcl-st .mcl-l { font-size: 12px; font-weight: 700; color: var(--mcl-mut); text-align: center; }
#listingBuilder .mcl-st.mcl-cur .mcl-l { color: var(--mcl-ink); }
#listingBuilder .mcl-ed { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 16px; align-items: start; }
#listingBuilder .mcl-ed > * { min-width: 0; }
#listingBuilder .mcl-rail { padding: 14px; position: sticky; top: 12px; display: flex; flex-direction: column; gap: 14px; }
#listingBuilder .mcl-rail h5 { margin: 0 0 6px; font-size: 11px; font-weight: 800; color: var(--mcl-greyt); text-transform: uppercase; letter-spacing: .4px; }
#listingBuilder .mcl-rrow { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: 12.8px; padding: 5px 0; border-bottom: 1px solid #edf2f6; }
#listingBuilder .mcl-rrow:last-child { border-bottom: 0; }
#listingBuilder .mcl-main { padding: 18px 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
#listingBuilder .mcl-main h3 { margin: 0; font-size: 18px; }

/* ── fields ─────────────────────────────────────────────────────────────── */
#listingBuilder .mcl-fgrid, .mcl-ovl .mcl-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
#listingBuilder .mcl-fgrid > *, .mcl-ovl .mcl-fgrid > * { min-width: 0; }
#listingBuilder .mcl-fgrid .mcl-span { grid-column: 1 / -1; }
#listingBuilder .mcl-fld label, .mcl-ovl .mcl-fld label { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 700; color: var(--mcl-greyt); margin-bottom: 4px; }
#listingBuilder .mcl-fld input, #listingBuilder .mcl-fld select, #listingBuilder .mcl-fld textarea,
.mcl-ovl .mcl-fld input, .mcl-ovl .mcl-fld select, .mcl-ovl .mcl-fld textarea { border: 1.5px solid var(--mcl-line); border-radius: var(--mcl-rs); padding: 8px 10px; width: 100%; min-width: 0; background: #fff; font-size: 14px; }
#listingBuilder .mcl-fld textarea, .mcl-ovl .mcl-fld textarea { min-height: 76px; resize: vertical; }
#listingBuilder .mcl-fld .mcl-hint, #listingBuilder .mcl-hint, .mcl-ovl .mcl-hint { font-size: 11.5px; color: var(--mcl-mut); margin-top: 3px; }
#listingBuilder .mcl-fld input.mcl-bad, #listingBuilder .mcl-fld textarea.mcl-bad, #listingBuilder .mcl-fld select.mcl-bad { border-color: var(--mcl-bad); background: var(--mcl-badl); }
#listingBuilder .mcl-fld input:disabled, #listingBuilder .mcl-fld select:disabled, #listingBuilder .mcl-fld textarea:disabled { background: #f6f9fb; color: var(--mcl-greyt); }
#listingBuilder .mcl-cnt { font-weight: 600; color: var(--mcl-mut); }
#listingBuilder .mcl-cnt.mcl-over { color: var(--mcl-bad); }
#listingBuilder .mcl-cnt.mcl-warn { color: var(--mcl-warn); }
#listingBuilder .mcl-tags { display: flex; gap: 4px; flex-wrap: wrap; }
#listingBuilder .mcl-tag, .mcl-ovl .mcl-tag { font-size: 10.5px; font-weight: 800; border-radius: 5px; padding: 0 6px; background: var(--mcl-grey); color: var(--mcl-greyt); }
#listingBuilder .mcl-tag.mcl-req, .mcl-ovl .mcl-tag.mcl-req { background: var(--mcl-pl); color: var(--mcl-pd); }
#listingBuilder .mcl-tag.mcl-off { opacity: .4; }
#listingBuilder .mcl-tag.mcl-ai { background: #f1e8ff; color: #6b3fb5; }
#listingBuilder .mcl-sec { margin: 20px 0 2px; font-size: 15px; }
#listingBuilder .mcl-tk { color: var(--mcl-ok); font-weight: 800; margin-left: 6px; }
#listingBuilder .mcl-okt { color: var(--mcl-ok); }
#listingBuilder .mcl-fld label.mcl-chk, #listingBuilder label.mcl-chk { justify-content: flex-start; gap: 8px; align-items: flex-start; display: flex; font-size: 13px; margin-top: 6px; cursor: pointer; }
#listingBuilder label.mcl-chk input, #listingBuilder .mcl-fld label.mcl-chk input { width: auto; flex: none; margin: 2px 0 0; }

/* ── look-up, pills, strength, AI ───────────────────────────────────────── */
#listingBuilder .mcl-lk, .mcl-ovl .mcl-lk { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
#listingBuilder .mcl-lk input, .mcl-ovl .mcl-lk input { flex: 1; min-width: 200px; border: 1.5px solid var(--mcl-line); border-radius: 10px; padding: 9px 12px; background: #fff; font-size: 14px; }
#listingBuilder .mcl-pills { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 10px; }
#listingBuilder .mcl-pill2 { border: 1.5px solid; border-radius: 999px; padding: 3px 12px; font-size: 12.5px; font-weight: 800; cursor: pointer; background: #fff; }
#listingBuilder .mcl-pill2.mcl-ready { background: var(--mcl-okl); color: var(--mcl-ok); border-color: #bfe5cd; }
#listingBuilder .mcl-pill2.mcl-mid { background: var(--mcl-pl); color: var(--mcl-pd); border-color: var(--mcl-pl2); }
#listingBuilder .mcl-pill2.mcl-low { background: var(--mcl-warnl); color: var(--mcl-warn); border-color: #f0d9a8; }
#listingBuilder .mcl-qw { margin: 6px 0 0; padding-left: 18px; font-size: 13px; }
#listingBuilder .mcl-aibtns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
#listingBuilder .mcl-sug, .mcl-ovl .mcl-sug { margin-top: 10px; border-top: 1px solid var(--mcl-line); padding-top: 6px; font-size: 13px; }
#listingBuilder .mcl-sug .mcl-row, .mcl-ovl .mcl-sug .mcl-row { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--mcl-line); }
#listingBuilder .mcl-sug .mcl-row:last-child { border-bottom: 0; }
#listingBuilder .mcl-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 11px; font-size: 12px; font-weight: 800; border: 1.5px solid; margin-top: 8px; }
#listingBuilder .mcl-pill.mcl-off { background: var(--mcl-warnl); color: var(--mcl-warn); border-color: #f0d9a8; }
#listingBuilder .mcl-pill.mcl-on { background: var(--mcl-okl); color: var(--mcl-ok); border-color: #bfe5cd; }
#listingBuilder .mcl-pill.mcl-part { background: var(--mcl-pl); color: var(--mcl-pd); border-color: var(--mcl-pl2); }
#listingBuilder .mcl-pnote { font-size: 12.5px; margin-top: 4px; padding: 4px 8px; border-radius: 6px; }
#listingBuilder .mcl-pnote.mcl-warn { background: var(--mcl-warnl); color: var(--mcl-warn); }
#listingBuilder .mcl-pnote.mcl-nudge { background: var(--mcl-pl); color: var(--mcl-pd); }
#listingBuilder details.mcl-more { margin-top: 10px; border: 1.5px solid var(--mcl-line); border-radius: 12px; padding: 8px 12px; }
#listingBuilder details.mcl-more > summary { cursor: pointer; font-weight: 800; color: var(--mcl-p); }
#listingBuilder .mcl-legend { font-size: 12.5px; margin-bottom: 12px; }
#listingBuilder .mcl-spark { border: 1.5px solid var(--mcl-pl2); background: var(--mcl-pl); color: var(--mcl-p); border-radius: 8px; width: 26px; height: 26px; display: inline-grid; place-items: center; cursor: pointer; font-size: 13px; flex: none; margin-left: 6px; vertical-align: middle; padding: 0; }
#listingBuilder .mcl-spark:hover { background: #fff; }
#listingBuilder .mcl-spop { border: 1.5px solid var(--mcl-line); border-radius: 14px; box-shadow: 0 12px 32px rgba(10, 40, 70, .14); background: #fff; padding: 12px 14px; margin-top: 8px; }
#listingBuilder .mcl-spop h5 { margin: 0 0 8px; font-size: 14px; display: flex; justify-content: space-between; }
#listingBuilder .mcl-spop textarea { width: 100%; min-height: 110px; border: 1.5px solid var(--mcl-line); border-radius: var(--mcl-rs); padding: 8px 10px; }
#listingBuilder .mcl-chips2 { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
#listingBuilder .mcl-chips2 button { border: 1.5px solid var(--mcl-line); background: #fff; border-radius: 999px; padding: 3px 11px; font-size: 12.5px; font-weight: 700; cursor: pointer; }
#listingBuilder .mcl-vers { display: flex; gap: 4px; align-items: center; font-size: 12px; margin-top: 6px; }
#listingBuilder .mcl-vers button { border: 1.5px solid var(--mcl-line); background: #fff; border-radius: 6px; min-width: 24px; height: 24px; font-size: 12px; font-weight: 800; cursor: pointer; }
#listingBuilder .mcl-vers button.mcl-on { background: var(--mcl-p); color: #fff; border-color: var(--mcl-p); }
#listingBuilder .mcl-menuw { position: relative; display: inline-block; }
#listingBuilder .mcl-menu { position: absolute; top: calc(100% + 6px); right: 0; background: #fff; border: 1.5px solid var(--mcl-line); border-radius: 12px; box-shadow: 0 10px 30px rgba(10, 40, 70, .15); min-width: 260px; z-index: 20; padding: 6px; }
#listingBuilder .mcl-menu button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 8px; cursor: pointer; color: inherit; }
#listingBuilder .mcl-menu button:hover { background: var(--mcl-pl); }
#listingBuilder .mcl-tplrow { display: flex; align-items: stretch; }
#listingBuilder .mcl-tplrow .mcl-del { width: auto !important; color: var(--mcl-bad); padding: 8px 10px !important; }

/* ── images ─────────────────────────────────────────────────────────────── */
#listingBuilder .mcl-imgs { display: flex; gap: 8px; flex-wrap: wrap; }
#listingBuilder .mcl-imgs.mcl-drag { outline: 2px dashed var(--mcl-p); outline-offset: 4px; border-radius: 10px; }
#listingBuilder .mcl-img { width: 74px; height: 74px; border-radius: 10px; border: 1.5px solid var(--mcl-line); display: grid; place-items: center; font-size: 11px; color: var(--mcl-mut); position: relative; background: #fafcfd; overflow: hidden; }
#listingBuilder .mcl-img img { width: 100%; height: 100%; object-fit: cover; }
#listingBuilder .mcl-img.mcl-main { border-color: var(--mcl-p); }
#listingBuilder .mcl-img .mcl-x { position: absolute; top: 2px; right: 4px; cursor: pointer; background: rgba(255, 255, 255, .85); border: 0; color: var(--mcl-mut); border-radius: 6px; padding: 0 4px; }
#listingBuilder .mcl-img.mcl-empty { border-style: dashed; cursor: pointer; color: var(--mcl-greyt); text-align: center; }
#listingBuilder .mcl-img.mcl-filled { cursor: pointer; }
#listingBuilder .mcl-img.mcl-busy { cursor: wait; }

/* ── variations ─────────────────────────────────────────────────────────── */
#listingBuilder .mcl-axis { display: flex; gap: 10px; align-items: flex-end; border: 1.5px solid var(--mcl-line); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; flex-wrap: wrap; background: #fbfdff; }
#listingBuilder .mcl-axis input.mcl-axname { border: 1.5px solid var(--mcl-line); border-radius: var(--mcl-rs); padding: 8px 10px; width: 190px; background: #fff; }
#listingBuilder .mcl-axl { font-size: 11px; font-weight: 800; color: var(--mcl-greyt); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
#listingBuilder .mcl-vals { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border-bottom: 1.5px dashed var(--mcl-line); padding: 4px 0; min-height: 38px; }
#listingBuilder .mcl-vchip { background: var(--mcl-pl); color: var(--mcl-pd); border-radius: 999px; padding: 2px 4px 2px 10px; font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 2px; }
#listingBuilder .mcl-vchip button { border: 0; background: none; cursor: pointer; color: inherit; font-size: 14px; line-height: 1; padding: 0 4px; }
#listingBuilder input.mcl-vin { border: 0; outline: none; flex: 1; min-width: 160px; padding: 6px 2px; background: transparent; box-shadow: none; }
#listingBuilder .mcl-vbulk { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
#listingBuilder .mcl-vbulk input { width: 110px; min-width: 0; border: 1.5px solid var(--mcl-line); border-radius: 8px; padding: 5px 8px; }
#listingBuilder .mcl-ctag { display: inline-block; background: var(--mcl-grey); border-radius: 6px; padding: 1px 6px; font-size: 12px; margin: 1px 2px 1px 0; }
#listingBuilder .mcl-vwarn { font-size: 12.5px; color: var(--mcl-warn); margin-top: 4px; }
#listingBuilder .mcl-vgrid input.mcl-cell { border: 1.5px solid var(--mcl-line); border-radius: 8px; padding: 5px 7px; width: 100%; min-width: 0; background: #fff; }
#listingBuilder input.mcl-cell.mcl-bad { border-color: var(--mcl-bad); background: var(--mcl-badl); }
#listingBuilder .mcl-vthumb { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 6px; background: var(--mcl-pl); font-size: 10px; color: var(--mcl-pd); overflow: hidden; vertical-align: middle; }
#listingBuilder .mcl-vthumb img { width: 100%; height: 100%; object-fit: cover; }
#listingBuilder .mcl-pre, .mcl-ovl .mcl-pre { white-space: pre-wrap; font-size: 13px; border: 1.5px solid var(--mcl-line); border-radius: 10px; padding: 10px 12px; background: #fff; overflow-wrap: anywhere; }
#listingBuilder .mcl-gl td, #listingBuilder .mcl-gl th, .mcl-ovl .mcl-gl td, .mcl-ovl .mcl-gl th { padding: 6px 8px; font-size: 12.5px; text-align: left; border-bottom: 1px solid var(--mcl-line); }
#listingBuilder .mcl-gl, .mcl-ovl .mcl-gl { border-collapse: collapse; width: 100%; margin-top: 8px; }
#listingBuilder .mcl-xh { margin: 12px 0 4px; font-size: 13px; }

/* ── channels, check, publish, status ───────────────────────────────────── */
#listingBuilder .mcl-chan { border: 1.5px solid var(--mcl-line); border-radius: 14px; background: #fff; overflow: hidden; }
#listingBuilder .mcl-chan.mcl-on { border-color: var(--mcl-p); }
#listingBuilder .mcl-chan .mcl-chh { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; flex-wrap: wrap; }
#listingBuilder .mcl-chan .mcl-chb { border-top: 1.5px solid var(--mcl-line); padding: 14px; display: flex; flex-direction: column; gap: 12px; background: #fbfdfe; }
#listingBuilder .mcl-tick { display: flex; gap: 10px; align-items: center; font-weight: 800; cursor: pointer; }
#listingBuilder .mcl-tick input { width: 18px; height: 18px; }
#listingBuilder .mcl-lock, .mcl-ovl .mcl-lock { display: flex; gap: 6px; align-items: center; color: var(--mcl-greyt); font-size: 13px; }
#listingBuilder .mcl-res { border: 1.5px solid var(--mcl-line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
#listingBuilder .mcl-res .mcl-rtop { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
#listingBuilder .mcl-issue { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
#listingBuilder .mcl-approve { border: 1.5px solid var(--mcl-p); border-radius: 14px; background: #f4fbfe; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
#listingBuilder .mcl-approve h4 { margin: 0; }
#listingBuilder .mcl-approve ul { margin: 0; padding-left: 18px; }
#listingBuilder .mcl-track { display: flex; gap: 0; align-items: center; flex-wrap: wrap; }
#listingBuilder .mcl-track span { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--mcl-grey); color: var(--mcl-greyt); margin-right: 4px; }
#listingBuilder .mcl-track span.mcl-done { background: var(--mcl-okl); color: var(--mcl-ok); }
#listingBuilder .mcl-track span.mcl-cur { background: #eef3ff; color: #3557b7; }
#listingBuilder .mcl-track span.mcl-fail { background: var(--mcl-badl); color: var(--mcl-bad); }

/* ── v1.1: sellers, per-channel prices ──────────────────────────────────── */
#listingBuilder .mcl-sbadge, .mcl-ovl .mcl-sbadge { display: inline-block; font-size: 11px; font-weight: 800; border-radius: 6px; padding: 1px 7px; vertical-align: middle; letter-spacing: .03em; }
#listingBuilder .mcl-sbadge.mcl-s-g4, .mcl-ovl .mcl-sbadge.mcl-s-g4 { background: #e7f1ff; color: #1c4f9c; }
#listingBuilder .mcl-sbadge.mcl-s-juyi, .mcl-ovl .mcl-sbadge.mcl-s-juyi { background: #f3e9ff; color: #6b3fb5; }
#listingBuilder .mcl-seg, .mcl-ovl .mcl-seg { display: inline-flex; border: 1.5px solid var(--mcl-line); border-radius: 10px; overflow: clip; margin-right: 8px; }
#listingBuilder .mcl-seg button, .mcl-ovl .mcl-seg button { border: 0; background: #fff; padding: 6px 10px; font-size: 12.5px; font-weight: 700; cursor: pointer; border-radius: 0; }
#listingBuilder .mcl-seg button.mcl-on, .mcl-ovl .mcl-seg button.mcl-on { background: var(--mcl-pl); color: var(--mcl-pd); }
.mcl-ovl .mcl-seg label.mcl-chk { padding: 6px 10px; margin: 0; }
#listingBuilder .mcl-vpch { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 8px 0; }
#listingBuilder .mcl-vpch button { border: 1.5px solid var(--mcl-line); background: #fff; border-radius: 999px; padding: 3px 11px; font-size: 12.5px; font-weight: 700; cursor: pointer; }
#listingBuilder .mcl-vpch button.mcl-on { background: var(--mcl-p); color: #fff; border-color: var(--mcl-p); }
.mcl-ovl .mcl-sellpick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.mcl-ovl .mcl-sellpick button { border: 1.5px solid var(--mcl-line); background: #fff; border-radius: 12px; padding: 14px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.mcl-ovl .mcl-sellpick button:hover { border-color: var(--mcl-p); background: var(--mcl-pl); }
.mcl-ovl .mcl-sellpick b { font-size: 16px; }
.mcl-ovl label.mcl-chk { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; margin-top: 6px; cursor: pointer; }
.mcl-ovl label.mcl-chk input { width: auto; margin: 2px 0 0; }
.mcl-ovl select { border: 1.5px solid var(--mcl-line); border-radius: 8px; padding: 4px 8px; background: #fff; }
@media (max-width: 1180px) { .mcl-ovl .mcl-sellpick { grid-template-columns: 1fr; } }

/* ── the fixed footer: starts at RMS's REAL sidebar edge, sits above the mobile tab bar (both measured) ── */
#listingBuilder .mcl-foot { position: fixed; left: var(--mcl-side); right: 0; bottom: var(--mcl-bottom, 0px); background: #fff; border-top: 1.5px solid var(--mcl-line); padding: 12px 24px; display: flex; justify-content: space-between; align-items: center; gap: 10px; z-index: 10; flex-wrap: wrap; }
#listingBuilder .mcl-foot .mcl-why { color: var(--mcl-mut); font-size: 12.5px; max-width: 70ch; }
#listingBuilder .mcl-foot .mcl-acts { flex-wrap: wrap; justify-content: flex-end; }

/* ── overlays (on <body>): modal, confirm, toast — toasts sit ABOVE modals ── */
.mcl-ovl { position: fixed; inset: 0; background: rgba(18, 28, 44, .45); display: none; align-items: flex-start; justify-content: center; padding: 26px 14px; overflow: auto; z-index: 100065; color: #17303d; font: 14px/1.45 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.mcl-ovl.mcl-open { display: flex; }
.mcl-ovl.mcl-confirm { z-index: 100070; }
.mcl-ovl .mcl-panel { width: min(760px, 100%); background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(10, 25, 50, .25); overflow: hidden; }
.mcl-ovl .mcl-ptop { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 18px 20px 0; }
.mcl-ovl .mcl-ptitle { font-size: 17px; font-weight: 800; }
.mcl-ovl .mcl-x { cursor: pointer; color: var(--mcl-mut); font-size: 18px; padding: 2px 6px; background: none; border: 0; }
.mcl-ovl .mcl-pbody { padding: 14px 20px 18px; display: flex; flex-direction: column; gap: 12px; }
.mcl-ovl .mcl-pfoot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 20px; border-top: 1.5px solid var(--mcl-line); background: #fbfdfe; flex-wrap: wrap; }
.mcl-ovl .mcl-lgd { background: #f8fbfd; }
.mcl-ovl .mcl-lgd pre { white-space: pre-wrap; margin: 0; font-size: 11.5px; font-family: Consolas, Menlo, monospace; }
.mcl-ovl .mcl-img { width: 64px; height: 64px; border-radius: 10px; border: 1.5px solid var(--mcl-line); display: grid; place-items: center; font-size: 11px; color: var(--mcl-mut); background: #fafcfd; overflow: hidden; }
.mcl-ovl .mcl-img img { width: 100%; height: 100%; object-fit: cover; }
.mcl-toast { position: fixed; bottom: calc(84px + var(--mcl-toast-bottom, 0px)); left: 50%; transform: translateX(-50%) translateY(20px); background: #17303d; color: #fff; padding: 10px 16px; border-radius: 10px; font: 13px/1.45 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; opacity: 0; pointer-events: none; transition: .2s; z-index: 100080; max-width: calc(100vw - 32px); }
.mcl-toast.mcl-show { opacity: 1; transform: translateX(-50%); }

@media (prefers-reduced-motion: reduce) { .mcl-toast { transition: none; } }

/* ── phones: the prototype's 1180px breakpoint ──────────────────────────── */
@media (max-width: 1180px) {
  #listingBuilder .mcl-page { padding: 16px; border-radius: 16px; }
  #listingBuilder .mcl-ed { grid-template-columns: 1fr; }
  #listingBuilder .mcl-rail { position: static; }
  #listingBuilder .mcl-fgrid, .mcl-ovl .mcl-fgrid { grid-template-columns: 1fr; }
  #listingBuilder .mcl-foot { left: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
  #listingBuilder .mcl-foot .mcl-acts { width: 100%; }
  #listingBuilder .mcl-search { width: 100%; }
  #listingBuilder .mcl-lk input, .mcl-ovl .mcl-lk input { min-width: 0; flex-basis: 100%; }
  #listingBuilder .mcl-axis input.mcl-axname { width: 100%; }
  #listingBuilder input.mcl-vin { min-width: 0; }
  #listingBuilder .mcl-sbody { grid-template-columns: 1fr; }
}
