/* ===========================================================================
   Multi-Channel Listings - the violet look (second stylesheet).

   mcl.css is NOT edited (its tests read it and it stays the layout source of truth). This file loads AFTER
   it and re-colours / re-spaces: it redefines the module's tokens, then overrides the colours mcl.css hardcodes
   instead of taking from a token. Same Easy Ship violet as Sale Pricing, Saved Dimensions and Easy Ship itself.

   What changes (approved prototype "Multi-Channel Listings - Violet prototype.html"):
     - violet tokens, a soft violet page behind white cards (the big white wrapper is gone)
     - the list tabs become count tiles (big number, small caps label), like Easy Ship's Pending / Unshipped row
     - the Connections card is a lavender strip with a bold violet label
     - gradient primary buttons, outlined secondary ones, lavender table heads and row hover
     - calmer stepper, rail, channel cards and overlays

   This module is light-only (mcl.css says so), so there is no dark-mode fence. Everything is scoped to
   #listingBuilder and the .mcl-ovl / .mcl-toast overlays that mcl.css already scopes to.
   TO REVERT: delete the <link> to this file in public/index.html.
   =========================================================================== */

#listingBuilder, .mcl-ovl, .mcl-toast{
  --mcl-p:#7c3aed; --mcl-pd:#6d28d9; --mcl-pl:#f5f3ff; --mcl-pl2:#ddd6fe;
  --mcl-bg:#f5f3ff; --mcl-line:#e6e1f5; --mcl-ink:#1e1b3a; --mcl-mut:#6b6788;
  --mcl-ok:#14693a; --mcl-okl:#e9f7ee;
  --mcl-warn:#b45309; --mcl-warnl:#fff4e6;
  --mcl-bad:#b91c1c; --mcl-badl:#fdeceb;
  --mcl-grey:#f1eff7; --mcl-greyt:#5b4a9a;
}

/* ---- the page: cards on the violet background, no big white wrapper ---- */
#listingBuilder .mcl-page{background:transparent;box-shadow:none;padding:0;border-radius:0}
#listingBuilder .mcl-h2{font-size:25px;letter-spacing:-.3px}
#listingBuilder .mcl-eyebrow{letter-spacing:.16em}
#listingBuilder .mcl-sub,.mcl-ovl .mcl-sub{color:#6b6788}
#listingBuilder .mcl-card{border:1.5px solid #e6e1f5;box-shadow:0 8px 26px rgba(76,29,149,.08)}

/* ---- buttons ---- */
#listingBuilder .mcl-btn,.mcl-ovl .mcl-btn{border-color:#ddd6fe;color:#6d28d9;border-radius:10px;font-weight:700}
#listingBuilder .mcl-btn:hover,.mcl-ovl .mcl-btn:hover{border-color:#ddd6fe;background:#f5f3ff}
#listingBuilder .mcl-btn.mcl-primary,.mcl-ovl .mcl-btn.mcl-primary{background:linear-gradient(180deg,#8b5cf6,#6d28d9);border-color:transparent;color:#fff;box-shadow:0 3px 9px rgba(109,40,217,.28)}
#listingBuilder .mcl-btn.mcl-primary:hover,.mcl-ovl .mcl-btn.mcl-primary:hover{background:linear-gradient(180deg,#9770fa,#7633e0);border-color:transparent;color:#fff}
#listingBuilder .mcl-btn.mcl-ghostred,.mcl-ovl .mcl-btn.mcl-ghostred{color:#b91c1c;border-color:#efc9c8;background:#fff}
#listingBuilder .mcl-btn.mcl-ghostred:hover,.mcl-ovl .mcl-btn.mcl-ghostred:hover{background:#fdeceb}
#listingBuilder .mcl-btn.mcl-link,.mcl-ovl .mcl-btn.mcl-link{background:transparent;border-color:transparent;color:#6d28d9;box-shadow:none}
#listingBuilder .mcl-btn.mcl-link:hover,.mcl-ovl .mcl-btn.mcl-link:hover{background:transparent;text-decoration:underline}

/* ---- Connections: a lavender strip with a bold violet label ---- */
#listingBuilder .mcl-status{background:linear-gradient(180deg,#fbfaff,#f5f3ff);border-color:#ddd6fe}
#listingBuilder .mcl-stop{padding:11px 18px;gap:16px;align-items:center;flex-wrap:nowrap}
#listingBuilder .mcl-stop>b{color:#6d28d9;font-size:13.5px;font-weight:800;min-width:110px}
#listingBuilder .mcl-stop:hover{background:#ede9fe}
#listingBuilder .mcl-stop .mcl-sdots{flex:1;justify-content:flex-start;row-gap:6px}
#listingBuilder .mcl-stop .mcl-sdots b{color:#1e1b3a}
#listingBuilder .mcl-sbody{background:#fff;border-top-color:#ddd6fe}
#listingBuilder .mcl-conn{border-color:#e6e1f5;background:#f5f3ff;border-radius:12px}
#listingBuilder .mcl-dot.mcl-grey,.mcl-ovl .mcl-dot.mcl-grey{background:#b9b3cb}

/* ---- the list tabs become count tiles ---- */
#listingBuilder .mcl-tb{padding:14px 18px 0;gap:12px 14px;border-bottom:1px solid #e6e1f5}
#listingBuilder .mcl-tb>.mcl-tabs{order:-1;flex:1 1 100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;overflow:visible;align-self:auto;padding-bottom:14px}
#listingBuilder .mcl-tb>.mcl-tabs button{display:flex;align-items:baseline;gap:9px;padding:9px 16px;border:1.5px solid #e6e1f5;border-radius:12px;background:#fff;color:#6b6788;
  font-size:10.5px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;text-align:left;min-width:0;white-space:normal}
#listingBuilder .mcl-tb>.mcl-tabs button .mcl-n{order:-1;margin:0;font-size:22px;line-height:1;font-weight:800;letter-spacing:0;color:#1e1b3a}
#listingBuilder .mcl-tb>.mcl-tabs button:hover{border-color:#ddd6fe;background:#f5f3ff}
#listingBuilder .mcl-tb>.mcl-tabs button.mcl-on{border-color:#7c3aed;background:#f5f3ff;box-shadow:0 0 0 3px #ede9fe;color:#6d28d9}
#listingBuilder .mcl-tb>.mcl-tabs button.mcl-on .mcl-n{color:#6d28d9}
#listingBuilder .mcl-search{border-color:#b9a9ee;border-radius:12px;height:38px;margin-bottom:12px}
#listingBuilder .mcl-search:focus{border-color:#7c3aed;box-shadow:0 0 0 3px #ede9fe}
#listingBuilder .mcl-tb .mcl-seg{margin-bottom:12px}

/* ---- segmented controls (seller filter, variant-price channel, ...) ---- */
#listingBuilder .mcl-seg,.mcl-ovl .mcl-seg{background:#fff;border:1.5px solid #e6e1f5;border-radius:12px;padding:3px;overflow:visible}
#listingBuilder .mcl-seg button,.mcl-ovl .mcl-seg button{border-radius:9px;padding:6px 16px;color:#6b6788;font-weight:700}
#listingBuilder .mcl-seg button:hover,.mcl-ovl .mcl-seg button:hover{background:#f5f3ff;color:#6d28d9}
#listingBuilder .mcl-seg button.mcl-on,.mcl-ovl .mcl-seg button.mcl-on{background:#7c3aed;color:#fff;box-shadow:0 3px 9px rgba(124,58,237,.35)}

/* ---- tables: lavender head and hover ---- */
#listingBuilder th,.mcl-ovl th{background:#f5f3ff;color:#5b4a9a;font-size:10.5px;letter-spacing:.09em;border-bottom:1.5px solid #ddd6fe}
#listingBuilder td,.mcl-ovl td{border-bottom-color:#e6e1f5}
#listingBuilder tr.mcl-rowlink:hover td{background:#f5f3ff}
#listingBuilder .mcl-nm{color:#4c1d95}
#listingBuilder .mcl-thumb,#listingBuilder .mcl-vthumb{background:#ede9fe;color:#6d28d9}
#listingBuilder .mcl-thumb.mcl-empty{background:#f1eff7}

/* ---- badges, chips, tags ---- */
#listingBuilder .mcl-b-draft,.mcl-ovl .mcl-b-draft{background:#f1eff7;color:#5b4a9a}
#listingBuilder .mcl-b-sub,.mcl-ovl .mcl-b-sub{background:#ede9fe;color:#5b21b6}
#listingBuilder .mcl-b-live,.mcl-ovl .mcl-b-live{background:#e9f7ee;color:#14693a}
#listingBuilder .mcl-b-att,.mcl-ovl .mcl-b-att{background:#fff4e6;color:#b45309}
#listingBuilder .mcl-b-fail,.mcl-ovl .mcl-b-fail{background:#fdeceb;color:#b91c1c}
#listingBuilder .mcl-badge,.mcl-ovl .mcl-badge{border-radius:99px;padding:2px 10px}
#listingBuilder .mcl-chip{border-color:#e6e1f5;color:#5b4a9a}
#listingBuilder .mcl-sbadge.mcl-s-g4,.mcl-ovl .mcl-sbadge.mcl-s-g4{background:#ede9fe;color:#4c1d95}
#listingBuilder .mcl-sbadge.mcl-s-juyi,.mcl-ovl .mcl-sbadge.mcl-s-juyi{background:#fce7f3;color:#9d174d}
#listingBuilder .mcl-tag,.mcl-ovl .mcl-tag{background:#f1eff7;color:#5b4a9a}
#listingBuilder .mcl-tag.mcl-req,.mcl-ovl .mcl-tag.mcl-req{background:#ede9fe;color:#5b21b6}
#listingBuilder .mcl-tag.mcl-ai{background:#ede9fe;color:#6d28d9}
#listingBuilder .mcl-ctag{background:#f1eff7}

/* ---- banners and boxes: calm info colour (the old teal-blue was the loudest thing) ---- */
#listingBuilder .mcl-banner.mcl-info,.mcl-ovl .mcl-banner.mcl-info{background:#f5f3ff;border-color:#ddd6fe;color:#4c1d95}
#listingBuilder .mcl-banner.mcl-bad,.mcl-ovl .mcl-banner.mcl-bad{border-color:#efc9c8;color:#7f1d1d}
#listingBuilder .mcl-banner.mcl-warn,.mcl-ovl .mcl-banner.mcl-warn{border-color:#f7d1a8;color:#7a4310}
#listingBuilder .mcl-banner.mcl-ok,.mcl-ovl .mcl-banner.mcl-ok{border-color:#bfe5cd;color:#14532d}
#listingBuilder .mcl-box,.mcl-ovl .mcl-box{border-color:#e6e1f5}
#listingBuilder .mcl-box.mcl-warn{border-color:#f7d1a8}
#listingBuilder .mcl-box.mcl-okb{border-color:#bfe5cd}
#listingBuilder .mcl-box.mcl-info{background:#f5f3ff;border-color:#ddd6fe}
#listingBuilder .mcl-note,.mcl-ovl .mcl-note{border-left-color:#b45309}

/* ---- publishing pill ---- */
#listingBuilder .mcl-pill.mcl-on{border-color:#bfe5cd}
#listingBuilder .mcl-pill.mcl-off{border-color:#f7d1a8}
#listingBuilder .mcl-pill.mcl-part{background:#f5f3ff;color:#6d28d9;border-color:#ddd6fe}

/* ---- editor: stepper, rail, main ---- */
#listingBuilder .mcl-st .mcl-c{border-color:#ddd6fe}
#listingBuilder .mcl-st.mcl-cur .mcl-c{box-shadow:0 0 0 4px #ede9fe}
#listingBuilder .mcl-st.mcl-cur .mcl-l{color:#6d28d9}
#listingBuilder .mcl-rail h5{color:#5b4a9a;letter-spacing:.1em}
#listingBuilder .mcl-rrow{border-bottom-color:#e6e1f5}
#listingBuilder .mcl-main{padding:22px 24px}
#listingBuilder .mcl-main h3{font-size:19px;font-weight:800}

/* ---- fields ---- */
#listingBuilder .mcl-fld label,.mcl-ovl .mcl-fld label{color:#1e1b3a;font-weight:800}
#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-color:#b9a9ee;border-radius:10px}
#listingBuilder .mcl-fld input:focus,#listingBuilder .mcl-fld select:focus,#listingBuilder .mcl-fld textarea:focus,
.mcl-ovl .mcl-fld input:focus,.mcl-ovl .mcl-fld select:focus,.mcl-ovl .mcl-fld textarea:focus{border-color:#7c3aed;box-shadow:0 0 0 3px #ede9fe}
#listingBuilder .mcl-fld input:disabled,#listingBuilder .mcl-fld select:disabled,#listingBuilder .mcl-fld textarea:disabled{background:#f5f3ff}
#listingBuilder .mcl-sec{font-size:12px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#5b4a9a;border-bottom:1.5px solid #ddd6fe;padding-bottom:7px;margin:24px 0 8px}
#listingBuilder .mcl-lk input,.mcl-ovl .mcl-lk input{border-color:#b9a9ee}
#listingBuilder .mcl-pill2.mcl-ready{border-color:#bfe5cd}
#listingBuilder .mcl-pill2.mcl-mid{background:#fff4e6;color:#b45309;border-color:#f7d1a8}
#listingBuilder .mcl-pill2.mcl-low{background:#fdeceb;color:#b91c1c;border-color:#efc9c8}
#listingBuilder .mcl-spark{border-color:#ddd6fe;background:#f5f3ff;color:#6d28d9}
#listingBuilder .mcl-spop{border-color:#e6e1f5;box-shadow:0 12px 32px rgba(76,29,149,.16)}
#listingBuilder .mcl-chips2 button,#listingBuilder .mcl-vpch button,#listingBuilder .mcl-vers button{border-color:#e6e1f5;color:#5b4a9a}
#listingBuilder .mcl-vpch button.mcl-on,#listingBuilder .mcl-vers button.mcl-on{background:#7c3aed;border-color:#7c3aed;color:#fff}
#listingBuilder .mcl-menu{border-color:#ddd6fe;box-shadow:0 14px 34px rgba(76,29,149,.2)}
#listingBuilder .mcl-menu button:hover{background:#f5f3ff}
#listingBuilder details.mcl-more{border-color:#e6e1f5}
#listingBuilder details.mcl-more>summary{color:#6d28d9}

/* ---- images + variations ---- */
#listingBuilder .mcl-img{border-color:#e6e1f5;background:#f5f3ff}
#listingBuilder .mcl-img.mcl-main{border-color:#7c3aed}
#listingBuilder .mcl-imgs.mcl-drag{outline-color:#7c3aed}
#listingBuilder .mcl-axis{border-color:#e6e1f5;background:#faf9ff}
#listingBuilder .mcl-vchip{background:#ede9fe;color:#5b21b6}
#listingBuilder .mcl-vals{border-bottom-color:#ddd6fe}
#listingBuilder .mcl-vbulk input,#listingBuilder .mcl-vgrid input.mcl-cell,#listingBuilder .mcl-axis input.mcl-axname{border-color:#b9a9ee}
#listingBuilder .mcl-vgrid input.mcl-cell:focus,#listingBuilder .mcl-vbulk input:focus,#listingBuilder .mcl-axis input.mcl-axname:focus{border-color:#7c3aed;box-shadow:0 0 0 3px #ede9fe}
#listingBuilder input.mcl-cell.mcl-bad,#listingBuilder .mcl-fld input.mcl-bad,#listingBuilder .mcl-fld textarea.mcl-bad{border-color:#b91c1c;background:#fdeceb}

/* ---- channels, check, publish, status ---- */
#listingBuilder .mcl-chan{border-color:#e6e1f5;border-radius:16px}
#listingBuilder .mcl-chan.mcl-on{border-color:#ddd6fe}
#listingBuilder .mcl-chan .mcl-chh{background:#f5f3ff}
#listingBuilder .mcl-chan .mcl-chb{background:#fff;border-top-color:#e6e1f5}
#listingBuilder .mcl-res{border-color:#e6e1f5}
#listingBuilder .mcl-approve{border-color:#ddd6fe;background:#f5f3ff}
#listingBuilder .mcl-track span{background:#f1eff7;color:#5b4a9a}
#listingBuilder .mcl-track span.mcl-done{background:#e9f7ee;color:#14693a}
#listingBuilder .mcl-track span.mcl-cur{background:#ede9fe;color:#5b21b6}
#listingBuilder .mcl-track span.mcl-fail{background:#fdeceb;color:#b91c1c}

/* ---- the fixed footer ---- */
#listingBuilder .mcl-foot{border-top-color:#ddd6fe;background:rgba(255,255,255,.96);backdrop-filter:blur(8px)}

/* ---- overlays: neutral dim, violet accents ---- */
.mcl-ovl{background:rgba(30,27,58,.5)}
.mcl-ovl .mcl-panel{border-radius:18px;box-shadow:0 24px 60px rgba(30,27,58,.35)}
.mcl-ovl .mcl-pfoot{background:#fcfbff;border-top-color:#e6e1f5}
.mcl-ovl .mcl-lgd{background:#f5f3ff}
.mcl-ovl .mcl-sellpick button{border-color:#ddd6fe;border-radius:14px}
.mcl-ovl .mcl-sellpick button:hover{border-color:#7c3aed;background:#f5f3ff}
.mcl-ovl select,.mcl-ovl .mcl-img{border-color:#e6e1f5}
.mcl-toast{background:#4c1d95}

@media(max-width:1180px){
  #listingBuilder .mcl-tb>.mcl-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
  #listingBuilder .mcl-stop{flex-wrap:wrap}
}

/* ---- the bulk bar ("N selected - Delete selected - Clear"): lavender with a violet edge, not green ---- */
#listingBuilder .mcl-card>.mcl-banner.mcl-ok{background:#f5f3ff;border:0;border-left:5px solid #7c3aed;border-bottom:1px solid #ddd6fe;border-radius:10px;color:#4c1d95}

/* ---- list toolbar: the seller switch and the search sit LEFT, under the tiles (the spacer used to push them to the far right) ---- */
#listingBuilder .mcl-tb>.mcl-grow{display:none}
#listingBuilder .mcl-tb{padding:14px 18px 0;align-items:center}
#listingBuilder .mcl-tb>.mcl-tabs{padding-bottom:4px}
#listingBuilder .mcl-tb .mcl-seg{margin:0 0 14px}
#listingBuilder .mcl-tb .mcl-search{margin:0 0 14px;width:300px}
