
:root{
  --primary:#b11d1c;
  --primary-dark:#7a1312;
  --ink:#111111;
  --gray-900:#111111;
  --gray-700:#444444;
  --gray-600:#888888;
  --gray-300:#dddddd;
  --gray-100:#f3f3f3;
  --bg:#f3f3f3;
  --card:#ffffff;
  --green:#444444;
  --green-bg:#f3f3f3;
  --amber:#7a1312;
  --amber-bg:#fdf3f3;
  --red-status:#b11d1c;
  --red-bg:#fdf3f3;
  --blue:#444444;
  --blue-bg:#f3f3f3;
  --edited-bg:#f5d0cf;
  --mono:'JetBrains Mono', monospace;
}
*{box-sizing:border-box;}
.bca-app{min-height:100vh;background:var(--bg);font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased;}
.topbar{background:#fff;color:var(--ink);border-bottom:1px solid var(--gray-300);padding:16px 28px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;}
.topbar h1{font-family:'Oswald',sans-serif;font-weight:800;font-size:21px;letter-spacing:.2px;margin:0;display:flex;align-items:center;gap:10px;}
.topbar h1 .mark{width:10px;height:10px;border-radius:2px;background:var(--primary);display:inline-block;}
.topbar .sub{font-size:12px;color:var(--gray-600);margin-top:2px;}
.stats{display:flex;gap:10px;flex-wrap:wrap;}
.stat{background:var(--gray-100);border:1px solid var(--gray-300);border-radius:8px;padding:7px 13px;min-width:96px;}
.stat .n{font-family:'Oswald',sans-serif;font-size:19px;font-weight:800;line-height:1;}
.stat .l{font-size:10px;color:var(--gray-600);text-transform:uppercase;letter-spacing:.4px;margin-top:3px;}
.stat.alert .n{color:#ff8a75;}
.stat.warn .n{color:#ffcf7a;}

.tabs{display:flex;gap:4px;padding:0 28px;background:#fff;border-bottom:1px solid var(--gray-300);overflow:auto;}
.tab{padding:12px 16px;font-size:13px;font-weight:650;color:var(--gray-600);cursor:pointer;border:0;border-bottom:3px solid transparent;background:transparent;font-family:'Inter',sans-serif;white-space:nowrap;}
.tab.active{color:var(--primary);border-bottom-color:var(--primary);}
.tab:hover{color:var(--ink);}

.wrap{padding:20px 28px 60px;}
.view{display:none;}
.view.active{display:block;}

.panel-note{background:#fdf3f3;border:1px solid #f5d0cf;color:#7a1312;font-size:12.5px;padding:10px 14px;border-radius:8px;margin-bottom:16px;line-height:1.5;}
.panel-note b{color:#7a1312;}

.controls{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:14px;}
.controls input[type=text]{padding:9px 12px;border-radius:8px;border:1px solid var(--gray-300);font-size:13px;min-width:220px;font-family:'Inter',sans-serif;}
.controls select{padding:9px 10px;border-radius:8px;border:1px solid var(--gray-300);font-size:13px;background:#fff;font-family:'Inter',sans-serif;}
.legend{margin-left:auto;display:flex;gap:14px;font-size:11px;color:var(--gray-600);align-items:center;flex-wrap:wrap;}
.legend .dot{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:5px;}
.d-vs{background:#444444;}
.d-manual{background:#b11d1c;}
.d-jefe{background:#7a1312;}
.d-edit{background:#f5d0cf;}

.btn{
  background:var(--primary-dark);color:#fff;border:none;padding:9px 16px;border-radius:8px;font-size:13px;font-weight:600;
  cursor:pointer;font-family:'Inter',sans-serif;text-decoration:none;display:inline-block;line-height:1.4;
}
.btn:hover{background:#5c100f;color:#fff;}
.btn.secondary{background:#fff;color:var(--gray-900);border:1px solid var(--gray-300);}
.btn.secondary:hover{background:var(--gray-100);color:var(--gray-900);}

.tablecard{background:var(--card);border-radius:12px;overflow:auto;box-shadow:0 2px 8px rgba(17,17,17,.06),0 10px 24px rgba(17,17,17,.05);}
table{width:100%;border-collapse:collapse;font-size:12px;}
thead th{background:var(--gray-100);text-align:left;padding:8px 8px;font-size:9.5px;text-transform:uppercase;letter-spacing:.3px;color:var(--gray-600);border-bottom:1px solid var(--gray-300);white-space:nowrap;position:sticky;top:0;z-index:2;}
th .src{display:inline-block;width:6px;height:6px;border-radius:50%;margin-left:4px;vertical-align:middle;}

tbody td{padding:7px 8px;vertical-align:middle;border-top:1px solid var(--gray-100);}
tr.sku-first td{border-top:2px solid var(--gray-300);}

.foto-cell{text-align:center;padding:12px 8px !important;}
.foto-cell img{display:block;width:112px;height:112px;max-width:none;object-fit:contain;margin:0 auto;border-radius:12px;background:#fff;border:1px solid var(--gray-300);box-shadow:0 2px 8px rgba(17,17,17,.08);}
.foto-cell .noimg{width:112px;height:112px;margin:0 auto;border-radius:12px;background:var(--gray-100);border:1px dashed var(--gray-300);display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--gray-600);text-align:center;box-sizing:border-box;}

.sku-code{font-family:var(--mono);font-weight:600;font-size:12px;white-space:nowrap;}
.cat-pill{font-size:10px;background:var(--gray-100);color:var(--gray-600);padding:2px 7px;border-radius:20px;display:inline-block;margin-top:3px;white-space:nowrap;}
.stockcells{display:flex;gap:4px;}
.stockchip{font-family:var(--mono);font-size:10.5px;padding:2px 5px;border-radius:6px;background:var(--gray-100);color:var(--gray-900);min-width:28px;text-align:center;}
.stockchip.zero{color:#b3b6bb;}
.weeklabels{display:flex;gap:6px;}
.weeklabels div{font-family:var(--mono);font-size:11px;text-align:center;min-width:16px;}
.weeklabels .lbl{font-size:8px;color:var(--gray-600);display:block;text-transform:uppercase;}
.costo{font-family:var(--mono);color:var(--gray-600);white-space:nowrap;}
.num{font-family:var(--mono);}

.tipo-badge{font-size:8.5px;font-weight:700;padding:2px 6px;border-radius:6px;display:inline-block;text-transform:uppercase;letter-spacing:.2px;white-space:nowrap;}
.tipo-principal{background:var(--gray-100);color:var(--gray-900);}
.tipo-catalogo{background:#f1f1f1;color:#333;font-weight:800;}
.tipo-sin_bc{background:#f5d0cf;color:#7a1312;font-weight:800;}
.tipo-catalogo_sin_principal{background:var(--blue-bg);color:var(--blue);}
.mla-code{font-family:var(--mono);font-size:10.5px;color:var(--gray-900);white-space:nowrap;}
.cuota-tag{font-size:9.5px;padding:2px 6px;border-radius:6px;background:var(--gray-100);color:var(--gray-600);white-space:nowrap;}
.mla-link, .vs-link{font-size:10px;text-decoration:none;white-space:nowrap;display:block;}
.mla-link{color:var(--gray-600);border-bottom:1px dotted var(--gray-300);}
.mla-link:hover{color:var(--primary);}
.vs-link{color:var(--green);margin-top:2px;}
.vs-link:hover{text-decoration:underline;}
.dash{color:#c4c7cc;}
.sug-cell{min-width:110px;}
.sug-value{font-family:var(--mono);font-weight:700;font-size:13px;color:var(--ink);}
.sug-cell .dash{font-size:11px;font-style:italic;color:var(--gray-600);}

.price-input{
  width:78px;padding:5px 6px;border:1px solid var(--gray-300);border-radius:8px;font-family:var(--mono);font-size:12px;
  background:#fff;
}
.price-input:focus{outline:2px solid var(--primary);outline-offset:1px;border-color:var(--primary);}
.price-input.edited{background:var(--edited-bg);border-color:#e0a80c;}
.readonly-price{font-family:var(--mono);font-size:11.5px;color:var(--gray-600);white-space:nowrap;}

/* chequeo view */
tr.check-row td{padding:10px 9px;border-top:1px solid var(--gray-100);vertical-align:middle;}
.semaforo{display:flex;flex-direction:column;gap:2px;}
.semaforo i{width:7px;height:7px;border-radius:50%;background:#e2e4e7;}
.semaforo.ok i:nth-child(1){background:var(--green);}
.semaforo.warn i:nth-child(2){background:var(--amber);}
.semaforo.bad i:nth-child(3){background:var(--red-status);}
.delta{font-family:var(--mono);font-size:12px;font-weight:600;}
.delta.ok{color:var(--green);}
.delta.warn{color:var(--amber);}
.delta.bad{color:var(--red-status);}
.status-tag{font-size:10.5px;font-weight:600;padding:3px 9px;border-radius:20px;display:inline-block;white-space:nowrap;}
.st-ok{background:var(--green-bg);color:var(--green);}
.st-warn{background:var(--amber-bg);color:var(--amber);}
.st-bad{background:var(--red-bg);color:var(--red-status);}
.check-mla{font-family:var(--mono);font-size:12px;font-weight:600;}
.check-sku{font-family:var(--mono);font-size:11px;color:var(--gray-600);}
.edited-pill{font-size:9.5px;font-weight:700;background:var(--edited-bg);color:#7a1312;padding:2px 7px;border-radius:5px;}
.notedited-pill{font-size:9.5px;color:var(--gray-600);}

.foot{padding:14px 10px;font-size:11px;color:var(--gray-600);text-align:center;}
.check-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;flex-wrap:wrap;gap:10px;}
.semaforo-sug{
  font-size:10.5px; font-weight:700; padding:3px 8px; border-radius:5px; color:#fff; white-space:nowrap; display:inline-block;
}
td.sug-cell{transition:none;}
td.sug-band-1{background:#6aa84f;color:#111;}
td.sug-band-2{background:#274e13;color:#fff;}
td.sug-band-3{background:#f0c294;color:#111;}
td.sug-band-4{background:#e0a72f;color:#111;}
td.sug-band-5{background:#a1443b;color:#fff;}
td.sug-band-6{background:#4c0f0a;color:#fff;}
.sug-value{font-family:var(--mono);font-weight:800;font-size:19px;line-height:1.15;}
.sug-pct{font-family:var(--mono);font-weight:600;font-size:10.5px;opacity:.85;margin-top:2px;}
.calc-price{font-style:italic;opacity:.85;}

.mla-group-main{font-family:var(--mono);font-size:11px;font-weight:700;color:var(--gray-900);white-space:nowrap;}
.mla-group-cat{font-family:var(--mono);font-size:9.5px;color:var(--gray-600);white-space:nowrap;margin-top:2px;}
.mla-group-cat b{color:#333;}

/* carga de datos view */
.carga-input{width:76px;padding:5px 6px;border:1px solid var(--gray-300);border-radius:6px;font-family:var(--mono);font-size:12px;}
.carga-input.small{width:52px;}
.carga-select{padding:5px 6px;border:1px solid var(--gray-300);border-radius:6px;font-size:11.5px;font-family:'Oswald',sans-serif;}
.csv-block{background:var(--card);border-radius:12px;padding:14px 16px;margin-bottom:10px;box-shadow:0 2px 8px rgba(17,17,17,.06),0 8px 20px rgba(17,17,17,.05);}
.csv-block-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;}
.csv-block-head h3{font-family:'Oswald',sans-serif;font-weight:700;font-size:15px;margin:0;display:flex;align-items:center;gap:6px;}
.csv-cols{font-size:11.5px;color:var(--gray-600);margin-top:6px;}
.csv-cols code{background:var(--gray-100);padding:2px 6px;border-radius:4px;font-family:var(--mono);font-size:11px;}
.csv-status{font-size:12px;color:var(--gray-600);display:block;margin-top:4px;}

.bca-userbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:9px 28px;background:#111111;color:#fff;font-size:12px}.bca-userbar>div:first-child{display:flex;align-items:center;gap:8px}.bca-userbar>div:first-child span{color:#888888}.bca-user-actions{display:flex;gap:14px;align-items:center}.bca-userbar a{color:#f5d0cf;text-decoration:none}.bca-actionbar{display:flex;justify-content:space-between;align-items:center;padding:12px 28px;background:#fff;border-bottom:1px solid var(--gray-300)}.bca-save-area{display:flex;gap:12px;align-items:center;color:var(--gray-600);font-size:12px}.bca-autosave-area{min-height:40px;justify-content:flex-end}.bca-autosave-area #bca-save-status{display:inline-flex;align-items:center;min-height:30px;padding:0 2px;font-weight:500}.btn:disabled{opacity:.5;cursor:not-allowed}.narrow{max-width:560px}.tiny{max-width:300px;margin-bottom:16px}.carga-input.full{width:100%}.st-nodata{background:#f3f3f3;color:#888888}.bca-modal[hidden]{display:none}.bca-modal{position:fixed;inset:0;z-index:99999;background:rgba(17,17,17,.46);display:flex;align-items:center;justify-content:center;padding:24px}.bca-modal-card{width:min(520px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:12px;padding:24px;box-shadow:0 24px 80px rgba(17,17,17,.14)}.bca-modal-card.wide{width:min(980px,100%)}.bca-modal-card h2{margin:0 0 8px;font-size:20px}.bca-modal-card form{display:grid;gap:12px}.bca-modal-card label{font-size:12px;font-weight:650;color:var(--gray-600);display:grid;gap:5px}.bca-modal-card input{width:100%;padding:10px 12px;border:1px solid var(--gray-300);border-radius:8px;font:inherit}.bca-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.preview{max-height:48vh}.bca-placeholder{max-width:720px;margin:80px auto;padding:36px;background:#fff;border:1px solid var(--gray-300);border-radius:12px;box-shadow:0 12px 40px rgba(17,17,17,.08)}.bca-access-denied{max-width:620px;margin:80px auto;padding:28px;background:#fff;border:1px solid #f5d0cf;border-radius:12px;color:#7a1312}.bca-login-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#f3f3f3,#fdf3f3)}.bca-login-box{width:min(390px,100%);background:#fff;border:1px solid #dddddd;border-radius:12px;padding:34px;box-shadow:0 16px 40px rgba(17,17,17,.12);font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.bca-login-mark{width:44px;height:44px;border-radius:12px;background:#b11d1c;color:#fff;display:grid;place-items:center;font-weight:800;margin-bottom:18px}.bca-login-box h1{margin:0;color:#111111;font-size:24px}.bca-login-box p{margin:6px 0 24px;color:#888888}.bca-login-box form{display:grid;gap:13px}.bca-login-box label{display:grid;gap:6px;color:#888888;font-size:12px;font-weight:650}.bca-login-box input[type=text],.bca-login-box input[type=password]{padding:11px 12px;border:1px solid #dddddd;border-radius:8px;font:inherit}.bca-login-box input:focus{outline:2px solid rgba(177,29,28,.16);border-color:#b11d1c}.bca-login-box .remember{display:flex;grid-template-columns:auto 1fr;align-items:center;font-weight:500}.bca-login-box button{padding:12px;border:0;border-radius:8px;background:#b11d1c;color:#fff;font-weight:750;cursor:pointer}.bca-login-error{margin-top:14px;color:#b91c1c;font-size:12px}.tablecard table thead th:nth-child(-n+3){position:sticky;z-index:5}.tablecard table thead th:nth-child(1){left:0}.tablecard table thead th:nth-child(2){left:52px}.tablecard table thead th:nth-child(3){left:205px}@media(max-width:800px){.bca-userbar,.bca-actionbar,.topbar{padding-left:16px;padding-right:16px}.wrap{padding:16px}.tabs{padding:0 12px}.bca-actionbar{align-items:flex-start;gap:10px}.bca-save-area{align-items:flex-end;flex-direction:column}.legend{display:none}}


/* identidad roja/negra */
.topbar h1,.csv-block-head h3,.bca-modal-card h2,.bca-login-box h1,.bca-placeholder h1,.bca-access-denied h1{font-family:'Oswald',sans-serif;letter-spacing:.2px;}
.tabs{background:#ffffff;}
.tab.active{color:var(--primary);border-bottom-color:var(--primary);}
.btn{font-family:'Inter',sans-serif;}
.legend .d-manual,.legend .d-jefe{background:#b11d1c;}
.tipo-catalogo_sin_principal{background:var(--gray-100);color:var(--gray-700);}
.bca-modal{background:rgba(17,17,17,.48);}
.bca-login-box button:hover{background:#7a1312;}
.bca-userbar a:hover,.mla-link:hover{color:#b11d1c;}
.bca-user-actions a:hover,.bca-user-actions a:focus,.bca-user-actions a:active{color:#ffffff!important;text-decoration:none;outline:none;}
.price-input:focus,.bca-login-box input:focus{outline-color:rgba(177,29,28,.16);}

.bca-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0;color:var(--gray-600);font-size:12px;flex-wrap:wrap}.bca-pagination>div{display:flex;align-items:center;gap:10px}.bca-page-label{font-weight:700;color:var(--ink)}


/* Ajustes v2.3.0 */
.topbar{justify-content:flex-start;}
.topbar .sub,.stats,.legend{display:none !important;}
.topbar h1{display:flex;align-items:center;gap:0;font-size:34px;}
.topbar h1 .mark{display:none;}
.cuota-wrap{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:96px;}
.cuota-tag{font-size:9px;padding:3px 7px;border-radius:999px;letter-spacing:.25px;}
.cuota-tag.sin-cuotas{font-size:10.5px;font-weight:800;color:#7a1312;background:#fdf3f3;border:1px solid #f5d0cf;}
.cuota-tag.con-cuotas{font-size:9px;font-weight:700;color:#777;background:#f3f3f3;}
.cuotas-toggle{border:0;background:transparent;color:#7a1312;font-size:11px;font-weight:700;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:2px;}
.cuotas-toggle:hover{color:#b11d1c;}
.quota-extra{display:none;}
.num:empty::after{content:'';}


/* Ajustes v2.4.0: separación, stock identificado y lista editable */
tbody tr.sku-first td{
  border-top:10px solid var(--bg) !important;
  padding-top:11px;
  padding-bottom:11px;
}
tbody tr.sku-first:first-child td{
  border-top-width:0 !important;
}
.stockcells{
  display:flex;
  align-items:flex-end;
  gap:7px;
  min-width:118px;
}
.stockitem{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:3px;
}
.stocklabel{
  font-family:'Inter',sans-serif;
  font-size:7px;
  line-height:1;
  font-weight:700;
  color:var(--gray-600);
  letter-spacing:.25px;
}
.stockchip{
  min-width:30px;
  padding:3px 5px;
}
.lista-cell{
  min-width:92px;
}
.list-price-input{
  width:86px;
}


/* Ajustes v2.5.0: mayor contraste tipográfico en Base Comercial */
#view-base .tablecard table{
  color:#222222;
}
#view-base thead th{
  color:#4a4a4a;
  font-weight:800;
}
#view-base tbody td{
  color:#222222;
}
#view-base .sku-code,
#view-base .mla-group-main,
#view-base .num,
#view-base .weeklabels div,
#view-base .costo,
#view-base .readonly-price,
#view-base .calc-price,
#view-base .price-input,
#view-base .stockchip{
  color:#222222;
  opacity:1;
}
#view-base .cat-pill{
  color:#555555;
  font-weight:600;
}
#view-base .weeklabels .lbl,
#view-base .stocklabel{
  color:#555555;
  font-weight:800;
}
#view-base .stockchip.zero{
  color:#777777;
}
#view-base .cuota-tag.con-cuotas{
  color:#555555;
}
#view-base .mla-link,
#view-base .vs-link{
  color:#555555;
  font-weight:600;
}
#view-base .mla-link:hover,
#view-base .vs-link:hover{
  color:#b11d1c;
}
#view-base .dash,
#view-base .sug-cell .dash{
  color:#555555;
  opacity:1;
}
#view-base .tipo-badge{
  color:#333333;
}
#view-base .readonly-price{
  font-weight:600;
}
#view-base .price-input{
  font-weight:600;
}


/* Ajustes v2.6.0: anchos estables al abrir/cerrar cuotas */
#view-base .bca-base-tablecard{
  overflow-x:auto;
  overflow-y:visible;
}
#view-base .bca-base-table{
  width:100%;
  min-width:1490px;
  table-layout:fixed;
}
#view-base .bca-base-table col.col-foto{width:132px;}
#view-base .bca-base-table col.col-mla{width:130px;}
#view-base .bca-base-table col.col-sku{width:150px;}
#view-base .bca-base-table col.col-costo{width:70px;}
#view-base .bca-base-table col.col-stock{width:120px;}
#view-base .bca-base-table col.col-ventas{width:85px;}
#view-base .bca-base-table col.col-cuotas{width:110px;}
#view-base .bca-base-table col.col-cant{width:55px;}
#view-base .bca-base-table col.col-dod{width:85px;}
#view-base .bca-base-table col.col-dxi{width:85px;}
#view-base .bca-base-table col.col-sugerido{width:120px;}
#view-base .bca-base-table col.col-dod-web{width:75px;}
#view-base .bca-base-table col.col-dxi-web{width:75px;}
#view-base .bca-base-table col.col-lista{width:90px;}
#view-base .bca-base-table col.col-links{width:110px;}
#view-base .bca-base-table th,
#view-base .bca-base-table td{
  min-width:0;
  max-width:none;
  overflow-wrap:anywhere;
}
#view-base .bca-base-table .price-input,
#view-base .bca-base-table .list-price-input{
  width:100%;
  max-width:78px;
}
#view-base .bca-base-table .list-price-input{
  max-width:82px;
}
#view-base .bca-base-table .stockcells{
  min-width:0;
  width:100%;
}
#view-base .bca-base-table .cuota-wrap{
  min-width:0;
  width:100%;
}
#view-base .bca-base-table .mla-link,
#view-base .bca-base-table .vs-link{
  white-space:normal;
}
#view-base .bca-base-table thead th:nth-child(1){left:0;}
#view-base .bca-base-table thead th:nth-child(2){left:48px;}
#view-base .bca-base-table thead th:nth-child(3){left:178px;}


/* Ajustes v2.7.0: tabla completa, encabezado fijo y mejor legibilidad de stock/cuotas */
#view-base .bca-pagination{display:none !important;}
#view-base .bca-base-tablecard{overflow-x:auto; overflow-y:visible; position:relative;}
#view-base .bca-base-table thead th{position:sticky; top:0; z-index:20; background:var(--gray-100); box-shadow:0 1px 0 var(--gray-300);}
#view-base .bca-base-table thead th .th-title{display:block;}
#view-base .bca-base-table thead th .th-subgrid{display:grid; gap:6px; margin-top:6px; font-size:10px; color:#555; letter-spacing:.2px;}
#view-base .bca-base-table thead th .th-subgrid span{font-weight:800; text-align:center;}
#view-base .bca-base-table thead th .th-subgrid-stock{grid-template-columns:repeat(3,1fr);}
#view-base .bca-base-table thead th .th-subgrid-ventas{grid-template-columns:repeat(4,1fr);}
#view-base .bca-base-table col.col-stock{width:136px;}
#view-base .bca-base-table col.col-ventas{width:104px;}
#view-base .bca-base-table col.col-cuotas{width:118px;}
#view-base .bca-base-table col.col-cant{width:62px;}
#view-base .bca-base-table .stockcells{gap:9px; min-width:0; width:100%;}
#view-base .bca-base-table .stockitem{min-width:0; flex:1;}
#view-base .bca-base-table .stockchip{min-width:34px; padding:4px 6px; font-size:11px; font-weight:800;}
#view-base .bca-base-table .weeklabels{display:grid; grid-template-columns:repeat(4,1fr); gap:7px;}
#view-base .bca-base-table .weeklabels div{font-size:11.5px; font-weight:800; min-width:0; background:#fafafa; border:1px solid #ececec; border-radius:999px; padding:3px 0;}
#view-base .stocklabel, #view-base .weeklabels .lbl{display:none !important;}
#view-base .cuota-tag.sin-cuotas{font-size:11px; font-weight:800;}
#view-base .cuota-tag.con-cuotas{font-size:10px; font-weight:800; color:#7a1312; background:#fff1f1; border:1px solid #f1caca;}
#view-base .cuota-wrap{gap:6px;}
#view-base td.num{font-size:12px; font-weight:800; color:#1f1f1f;}
#view-base .readonly-price, #view-base .calc-price{font-weight:700;}
#view-base .sug-cell:empty{background:transparent !important;}
#view-base .sug-cell .dash{display:none !important;}
#view-base tbody tr.sku-first td{padding-top:13px; padding-bottom:13px;}


/* Ajustes v2.8.0: variantes de color agrupadas como un solo producto */
#view-base tbody tr.variant-first td{border-top:2px solid #ececec;padding-top:10px;}
#view-base .variant-shared-photo{vertical-align:top;padding-top:18px;}
#view-base .variant-sku-cell{vertical-align:top;}
#view-base .variant-color{display:flex;align-items:center;gap:5px;margin-top:4px;font-size:10px;color:#333;font-weight:750;}
#view-base .variant-sku-cell,
#view-base td.variant-sku-cell{vertical-align:middle;}
#view-base .variant-dot{width:10px;height:10px;display:inline-block;border:1px solid rgba(0,0,0,.15);border-radius:50%;box-shadow:inset 0 0 0 1px rgba(255,255,255,.25);flex:0 0 auto;}
#view-base .group-price-input{font-weight:800;border-color:#c8c8c8;background:#fff;}
#view-base .cuota-count{font-size:13px!important;color:#7a1312!important;}
#view-base tr.variant-catalog-row td{background:#fff;}
#view-base .variant-shared-photo img{width:42px;height:42px;}

#view-base tbody tr.quota-tier-first td{border-top:7px solid #f1f1f1;padding-top:11px;}


/* Ajuste centrado encabezados Stock / Ventas */
#view-base .bca-base-table thead th:nth-child(5),
#view-base .bca-base-table thead th:nth-child(6){
  text-align:center;
  vertical-align:middle;
}
#view-base .bca-base-table thead th .th-title{
  display:block;
  width:100%;
  text-align:center;
  font-size:10px;
  font-weight:800;
  letter-spacing:.3px;
}
#view-base .bca-base-table thead th .th-subgrid{
  width:100%;
  justify-items:center;
  align-items:center;
  margin-top:5px;
}
#view-base .bca-base-table thead th .th-subgrid span{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  text-align:center;
}
#view-base .bca-base-table thead th .th-subgrid-stock{
  grid-template-columns:repeat(3, minmax(26px, 1fr));
}
#view-base .bca-base-table thead th .th-subgrid-ventas{
  grid-template-columns:repeat(4, minmax(18px, 1fr));
}


/* Ajuste v3.0.0: encabezado fijo real al desplazarse */
#view-base .bca-base-table thead th{
  top:auto !important;
  position:relative;
}
#view-base .bca-base-table thead th:nth-child(1),
#view-base .bca-base-table thead th:nth-child(2),
#view-base .bca-base-table thead th:nth-child(3){
  position:sticky;
}
.bca-fixed-base-header{
  display:none;
  position:fixed;
  z-index:99990;
  overflow:hidden;
  background:var(--gray-100);
  border-radius:0 0 8px 8px;
  box-shadow:0 5px 14px rgba(17,17,17,.12);
  pointer-events:none;
}
.bca-fixed-base-header.is-visible{display:block;}
.bca-fixed-base-header .bca-fixed-header-table{
  margin:0;
  min-width:1408px;
  table-layout:fixed;
  border-collapse:collapse;
  transform-origin:left top;
}
.bca-fixed-base-header .bca-fixed-header-table thead th{
  position:static !important;
  left:auto !important;
  top:auto !important;
  z-index:auto !important;
  background:var(--gray-100) !important;
  box-shadow:0 1px 0 var(--gray-300);
}
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(5),
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(6){
  text-align:center;
}


/* Ajustes v3.1.0: ventas con mini grafico y costo sin $ */
#view-base .costo{font-family:var(--mono);font-weight:700;color:#222;white-space:nowrap;}
#view-base .weeklabels{display:none !important;}
#view-base .weekchart{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;align-items:end;min-width:92px;}
#view-base .weekbar{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;min-width:0;}
#view-base .weekbar .barbox{height:26px;display:flex;align-items:flex-end;justify-content:center;}
#view-base .weekbar .barfill{display:block;width:8px;min-height:4px;border-radius:999px;background:linear-gradient(180deg,#f0b1ae 0%, #b11d1c 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);}
#view-base .weekbar.zero .barfill{background:#d9dde3;}
#view-base .weekbar .num{font-family:var(--mono);font-size:11px;font-weight:800;color:#1f1f1f;line-height:1;}
#view-base .bca-base-table col.col-ventas{width:118px;}


/* Ajuste v3.2.0: header fijo alineado con header original */
.bca-fixed-base-header .bca-fixed-header-table{width:auto;min-width:0;}
.bca-fixed-base-header .bca-fixed-header-table thead th .th-title{
  display:block;
  width:100%;
  text-align:center;
  font-size:10px;
  font-weight:800;
  letter-spacing:.3px;
}
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid{
  display:grid;
  gap:6px;
  width:100%;
  justify-items:center;
  align-items:center;
  margin-top:5px;
  font-size:10px;
  color:#555;
  letter-spacing:.2px;
}
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid span{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  text-align:center;
  font-weight:800;
}
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid-stock{
  grid-template-columns:repeat(3, minmax(26px, 1fr));
}
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid-ventas{
  grid-template-columns:repeat(4, minmax(18px, 1fr));
}


/* Barra horizontal superior sincronizada */
#view-base .bca-base-topscroll{
  display:none;
  overflow-x:auto;
  overflow-y:hidden;
  height:10px;
  margin:0 0 8px;
  background:transparent;
}

#view-base .bca-base-topscroll-inner{
  height:1px;
}

#view-base .bca-base-topscroll::-webkit-scrollbar,
#view-base .bca-base-tablecard::-webkit-scrollbar{
  height:12px;
}
#view-base .bca-base-topscroll::-webkit-scrollbar-track,
#view-base .bca-base-tablecard::-webkit-scrollbar-track{
  background:#ececec;
  border-radius:999px;
}
#view-base .bca-base-topscroll::-webkit-scrollbar-thumb,
#view-base .bca-base-tablecard::-webkit-scrollbar-thumb{
  background:#8a8a8a;
  border-radius:999px;
  border:2px solid #ececec;
}
#view-base .bca-base-topscroll::-webkit-scrollbar-thumb:hover,
#view-base .bca-base-tablecard::-webkit-scrollbar-thumb:hover{
  background:#6f6f6f;
}


/* Barra superior fija al hacer scroll */
#view-base .bca-base-topscroll.is-fixed{
  position:fixed;
  z-index:61;
  margin:0;
  box-shadow:0 4px 14px rgba(17,17,17,.08), inset 0 0 0 1px #dfdfdf;
}


/* Ajuste visual v3.5.0: barra superior mucho más sutil */
#view-base .bca-base-topscroll::-webkit-scrollbar,
#view-base .bca-base-tablecard::-webkit-scrollbar{
  height:8px;
}
#view-base .bca-base-topscroll::-webkit-scrollbar-track,
#view-base .bca-base-tablecard::-webkit-scrollbar-track{
  background:#e7e7e7;
  border-radius:999px;
}
#view-base .bca-base-topscroll::-webkit-scrollbar-thumb,
#view-base .bca-base-tablecard::-webkit-scrollbar-thumb{
  background:#8e8e8e;
  border-radius:999px;
  border:1px solid #e7e7e7;
}
#view-base .bca-base-topscroll::-webkit-scrollbar-thumb:hover,
#view-base .bca-base-tablecard::-webkit-scrollbar-thumb:hover{
  background:#727272;
}
#view-base .bca-base-topscroll.is-fixed{
  position:fixed;
  z-index:61;
  margin:0;
  padding:6px 10px 8px;
  height:auto;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(6px);
  border:1px solid #e6e6e6;
  border-radius:12px;
  box-shadow:0 6px 18px rgba(17,17,17,.08);
}
#view-base .bca-base-topscroll.is-fixed::-webkit-scrollbar{
  height:8px;
}


/* Ajustes v3.6.0: variantes agrupadas por familia real, sin SKU padre inventado */
#view-base .variant-parent{display:none !important;}
#view-base .variant-sku-cell{vertical-align:middle;}
#view-base .variant-sku-cell .sku-code{margin-bottom:3px;}
#view-base .variant-color{margin-top:2px;}
#view-base tbody tr.variant-first td{border-top:1px solid #e7e7e7;padding-top:9px;}


/* Auditoría de importación Excel v3.8.0 */
.mla-dup{display:inline-block;margin-left:4px;padding:1px 4px;border-radius:999px;background:#fee2e2;color:#991b1b;font-size:7px;font-weight:900;letter-spacing:.25px;vertical-align:middle;}


/* Ajustes v3.9.0: principal compartido y categoría al inicio del grupo */
#view-base .family-category-head{margin:0 0 8px;display:block;}
#view-base .family-category-head .cat-pill{margin:0;font-size:10px;font-weight:750;}
#view-base .variant-family-head{vertical-align:top;padding-top:12px;}
#view-base .shared-principal-row td{background:#fbfbfc;}
#view-base .shared-principal-row .tipo-badge{margin-top:1px;}
#view-base .shared-catalog-row .variant-sku-cell{vertical-align:middle;}
#view-base .shared-catalog-row td{background:#fff;}
#view-base .shared-catalog-row .sku-code{margin-bottom:3px;}
#view-base .variant-parent{display:none !important;}


/* v4.0.2: el costo queda anclado al bloque SIN CUOTAS */
#view-base td.costo{vertical-align:middle;}

/* ===== Cambios de precios ===== */
.price-change-summary{display:grid;grid-template-columns:repeat(3,minmax(150px,220px));gap:12px;margin-bottom:14px;}
.price-summary-card{background:#fff;border:1px solid var(--gray-300);border-radius:12px;padding:14px 16px;box-shadow:0 2px 8px rgba(17,17,17,.04);}
.price-summary-card strong{display:block;font-family:'Oswald',sans-serif;font-size:25px;line-height:1;color:var(--ink);}
.price-summary-card span{display:block;margin-top:6px;font-size:11px;color:var(--gray-600);font-weight:600;text-transform:uppercase;letter-spacing:.35px;}
.price-change-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#fff;border:1px solid var(--gray-300);border-radius:12px;padding:12px;margin-bottom:10px;}
.price-change-filters input,.price-change-filters select{height:36px;border:1px solid var(--gray-300);border-radius:8px;background:#fff;padding:0 10px;font:600 12px 'Inter',sans-serif;color:var(--ink);}
.price-change-filters input[type=search]{min-width:210px;}
.price-change-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0;}
.price-change-actions .btn{padding:8px 12px;font-size:12px;}
.price-change-spacer{flex:1;}
.price-change-status{min-height:20px;margin:4px 0 8px;font-size:12px;font-weight:600;color:var(--primary-dark);}
.price-change-empty{background:#fff;border:1px solid var(--gray-300);border-radius:12px;padding:28px;text-align:center;color:var(--gray-600);font-size:13px;}
.price-change-empty.error{color:var(--primary-dark);background:var(--red-bg);border-color:#f0b9b8;}
.pc-day{margin:18px 0 24px;}
.pc-day>h3{margin:0 0 10px;font:700 18px 'Oswald',sans-serif;text-transform:capitalize;color:var(--ink);}
.pc-family{background:#fff;border:1px solid var(--gray-300);border-radius:12px;box-shadow:0 3px 12px rgba(17,17,17,.05);overflow:hidden;margin-bottom:12px;}
.pc-family-header{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:14px;padding:13px 14px;background:#fff;border-bottom:1px solid var(--gray-100);}
.pc-family-checkbox{font-size:11px;color:var(--gray-700);font-weight:600;white-space:nowrap;}
.pc-family-title strong{display:block;font-size:13px;color:var(--ink);}
.pc-family-title span{display:block;margin-top:2px;font-size:10.5px;color:var(--gray-600);}
.pc-family-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;font-size:10.5px;color:var(--gray-600);}
.pc-family-meta b{background:var(--red-bg);color:var(--primary-dark);border:1px solid #f0c2c1;border-radius:999px;padding:3px 8px;font-size:10px;}
.pc-family-meta b.done{background:var(--gray-100);color:var(--gray-700);border-color:var(--gray-300);}
.pc-toggle-quotas{border:0;background:transparent;color:var(--primary-dark);font:700 11px 'Inter',sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer;white-space:nowrap;}
.pc-sku-list{display:flex;gap:6px;flex-wrap:wrap;padding:8px 14px;background:#fafafa;border-bottom:1px solid var(--gray-100);}
.pc-sku-list span{font:700 10px var(--mono);color:var(--gray-700);background:#fff;border:1px solid var(--gray-300);border-radius:999px;padding:3px 7px;}
.pc-table-wrap{overflow:auto;}
.pc-table{min-width:1180px;font-size:11px;}
.pc-table thead th{position:static;background:#f6f6f6;color:#666;font-size:8.8px;padding:7px 8px;}
.pc-table tbody td{padding:8px;border-top:1px solid #eeeeee;color:#222;}
.pc-table tbody tr.is-updated{opacity:.68;background:#fafafa;}
.pc-table .pc-check{width:34px;text-align:center;}
.pc-mla{font-family:var(--mono);font-size:10px;white-space:nowrap;}
.pc-listing-type{font-size:9px;font-weight:800;text-transform:uppercase;color:var(--gray-700);}
.pc-cuota{display:inline-block;border-radius:999px;padding:3px 7px;font-size:9px;font-weight:800;white-space:nowrap;}
.pc-cuota.sin{background:var(--red-bg);border:1px solid #f0c4c3;color:var(--primary-dark);}
.pc-cuota.con{background:var(--gray-100);border:1px solid var(--gray-300);color:var(--gray-700);}
.pc-money{font:700 11px var(--mono);white-space:nowrap;}
.pc-money.new{color:var(--primary-dark);}
.pc-difference{font:800 11px var(--mono);white-space:nowrap;}
.pc-difference.positive{color:#8d1716;}
.pc-difference.negative{color:#444;}
.pc-origin,.pc-status-badge{display:inline-block;border-radius:999px;padding:3px 7px;font-size:9px;font-weight:800;white-space:nowrap;}
.pc-origin.manual{background:#fce5e4;color:#8d1716;}
.pc-origin.recalculado{background:#eeeeee;color:#555;}
.pc-status-badge.pending{background:#fdf3f3;color:#8d1716;border:1px solid #f0c2c1;}
.pc-status-badge.updated{background:#eeeeee;color:#555;border:1px solid #d7d7d7;}
.pc-quota-rows[hidden]{display:none;}
@media(max-width:900px){
  .price-change-summary{grid-template-columns:1fr;}
  .pc-family-header{grid-template-columns:1fr;gap:8px;}
  .pc-family-meta{justify-content:flex-start;}
  .price-change-spacer{display:none;}
}


/* v4.3.0: el semáforo toma los colores configurados y adapta el contraste */
td.sug-cell .sug-value,
td.sug-cell .sug-pct{
  color:inherit !important;
  text-shadow:none;
}
td.sug-cell .sug-pct{opacity:.88;}


/* Costos v4.4.0: distribución compacta de columnas */
#view-costos .cost-variables-card{
  display:grid;
  grid-template-columns:minmax(220px,1fr) minmax(240px,320px) minmax(240px,320px);
  align-items:end;
  gap:18px;
  margin-bottom:18px;
  padding:20px 22px;
  background:#fff;
  border:1px solid var(--gray-300);
  border-radius:12px;
  box-shadow:0 8px 24px rgba(17,17,17,.06);
}
#view-costos .cost-variables-copy{display:grid;gap:4px;align-self:center;}
#view-costos .cost-variables-copy strong{font-size:16px;color:#111;font-weight:800;}
#view-costos .cost-variables-copy span{font-size:12px;color:var(--gray-600);}
#view-costos .cost-variables-card label{display:grid;gap:7px;font-size:11px;font-weight:750;color:#444;text-transform:uppercase;letter-spacing:.25px;}
#view-costos .cost-variable-input{
  width:100%;
  min-height:48px;
  box-sizing:border-box;
  padding:11px 14px;
  border:1px solid var(--gray-300);
  border-radius:9px;
  background:#fff;
  color:#111;
  font-family:var(--mono);
  font-size:16px;
  font-weight:750;
}
#view-costos .cost-variable-input:focus,
#view-costos .cost-large-input:focus{outline:3px solid rgba(177,29,28,.11);border-color:#b11d1c;}
#view-costos .bca-costos-tablecard{overflow-x:auto;}
#view-costos .bca-costos-table{width:100%;min-width:1180px;table-layout:fixed;}
#view-costos .bca-costos-table col.cost-col-sku{width:250px;}
#view-costos .bca-costos-table col.cost-col-denom{width:auto;}
#view-costos .bca-costos-table col.cost-col-origin{width:180px;}
#view-costos .bca-costos-table col.cost-col-m3{width:210px;}
#view-costos .bca-costos-table col.cost-col-result{width:190px;}
#view-costos .bca-costos-table th,
#view-costos .bca-costos-table td{padding:10px 12px;vertical-align:middle;}
#view-costos .bca-costos-table th:nth-child(n+3),
#view-costos .bca-costos-table td:nth-child(n+3){text-align:center;}
#view-costos .cost-sku-list{display:flex;flex-wrap:wrap;gap:7px;align-items:center;}
#view-costos .cost-sku-item{
  display:inline-flex;
  align-items:center;
  min-height:29px;
  padding:5px 9px;
  border:1px solid #e1e1e1;
  border-radius:7px;
  background:#f7f7f7;
  color:#111;
  font-family:var(--mono);
  font-size:12px;
  font-weight:750;
  overflow-wrap:anywhere;
}
#view-costos .cost-large-input{
  width:100% !important;
  min-height:44px;
  box-sizing:border-box;
  padding:10px 12px !important;
  border-radius:8px;
  font-size:14px !important;
}
#view-costos .cost-denom-input{font-family:var(--mono);font-size:12.5px !important;}
#view-costos .cost-calculated{
  background:#f3f3f3;
  border-color:#dfdfdf;
  color:#111;
  font-weight:800;
  cursor:default;
}
@media(max-width:1000px){
  #view-costos .cost-variables-card{grid-template-columns:1fr 1fr;}
  #view-costos .cost-variables-copy{grid-column:1/-1;}
}
@media(max-width:680px){
  #view-costos .cost-variables-card{grid-template-columns:1fr;}
  #view-costos .cost-variables-copy{grid-column:auto;}
}



/* v4.6.0 — Campos de precios más grandes */
#view-base .bca-base-table{
  min-width:1495px;
}
#view-base .bca-base-table col.col-dod,
#view-base .bca-base-table col.col-dxi{
  width:105px;
}
#view-base .bca-base-table col.col-lista{
  width:112px;
}
#view-base .bca-base-table .price-input,
#view-base .bca-base-table .list-price-input{
  width:100%;
  max-width:none;
  min-width:0;
  height:36px;
  padding:7px 10px;
  box-sizing:border-box;
  font-size:13px;
  font-weight:700;
  border-radius:9px;
}
#view-base .bca-base-table td:nth-child(9),
#view-base .bca-base-table td:nth-child(10),
#view-base .bca-base-table td:nth-child(14){
  padding-left:8px;
  padding-right:8px;
}


/* Editor completo de alta y edición de productos */
.bca-product-view{max-width:1260px;margin:0 auto;}
.product-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px;}
.product-editor-head h2{font-family:'Oswald',sans-serif;font-size:28px;line-height:1.1;margin:8px 0 4px;color:#111;}
.product-editor-head p{margin:0;color:#777;font-size:13px;}
.product-back{padding:0;border:0;background:transparent;color:#8c1717;font:700 12px 'Inter',sans-serif;cursor:pointer;}
.product-mode-badge{display:inline-flex;align-items:center;justify-content:center;padding:7px 11px;border-radius:999px;background:#fdf3f3;color:#8c1717;border:1px solid #f2cccc;font-size:11px;font-weight:800;letter-spacing:.5px;}
.product-editor-form{display:grid;gap:16px;}
.product-form-card{background:#fff;border:1px solid #dedede;border-radius:14px;padding:20px;box-shadow:0 8px 22px rgba(17,17,17,.045);}
.product-card-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px;}
.product-card-title h3{font-family:'Oswald',sans-serif;font-size:19px;margin:0 0 3px;color:#111;}
.product-card-title span{display:block;color:#777;font-size:12px;}
.product-general-grid{display:grid;grid-template-columns:190px minmax(0,1fr);gap:22px;}
.product-image-editor{display:flex;flex-direction:column;align-items:center;gap:9px;}
.product-image-preview{width:170px;height:170px;border:1px dashed #cfcfcf;border-radius:12px;background:#fafafa;display:grid;place-items:center;overflow:hidden;color:#999;font-size:12px;}
.product-image-preview img{width:100%;height:100%;object-fit:contain;background:#fff;}
.product-image-button{width:100%;text-align:center;box-sizing:border-box;cursor:pointer;}
.product-image-editor small{font-size:10px;color:#999;text-align:center;}
.product-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-content:start;}
.product-fields-grid .field-wide{grid-column:1/-1;}
.product-editor-form label{display:grid;gap:6px;color:#555;font-size:12px;font-weight:700;}
.product-editor-form input,.product-editor-form select{width:100%;min-height:46px;padding:11px 13px;border:1px solid #d6d6d6;border-radius:9px;background:#fff;color:#111;font:600 14px 'Inter',sans-serif;box-sizing:border-box;}
.product-editor-form input:focus,.product-editor-form select:focus{outline:3px solid rgba(177,29,28,.1);border-color:#b11d1c;}
.product-editor-form input[readonly]{background:#f5f5f5;color:#333;}
.product-cost-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.product-variant-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:end;}
.product-variant-grid [hidden]{display:none!important;}
.color-input-wrap{display:grid;grid-template-columns:minmax(170px,220px) 1fr;gap:8px;align-items:start;}
.variant-color-control{display:grid;gap:6px;color:#555;font-size:12px;font-weight:700;position:relative;}
.color-picker-shell{position:relative;min-width:0;}
.color-palette-trigger{width:100%;height:46px;display:flex;align-items:center;gap:10px;padding:7px 11px;border:1px solid #d6d6d6;border-radius:9px;background:#fff;color:#111;font:700 13px 'Inter',sans-serif;cursor:pointer;text-align:left;box-sizing:border-box;}
.color-palette-trigger:hover{border-color:#b9b9b9;background:#fcfcfc;}
.color-palette-trigger svg{margin-left:auto;color:#777;flex:0 0 auto;}
.color-palette-current{width:29px;height:29px;border-radius:8px;border:1px solid rgba(0,0,0,.16);box-shadow:inset 0 0 0 1px rgba(255,255,255,.45);flex:0 0 auto;}
.variant-color-palette{position:absolute;z-index:80;left:0;top:calc(100% + 7px);width:290px;padding:12px;background:#fff;border:1px solid #dedede;border-radius:13px;box-shadow:0 14px 34px rgba(17,17,17,.17);box-sizing:border-box;}
.variant-color-palette[hidden]{display:none!important;}
.variant-color-palette-grid{display:grid;grid-template-columns:repeat(6,34px);gap:9px;justify-content:start;}
.variant-color-swatch{position:relative;width:34px;height:34px;padding:0;border:0;background:transparent;border-radius:50%;cursor:pointer;}
.variant-color-swatch>span{display:block;width:30px;height:30px;margin:2px;border-radius:50%;border:1px solid rgba(0,0,0,.12);box-sizing:border-box;}
.variant-color-swatch>b{display:none;position:absolute;inset:0;align-items:center;justify-content:center;font-size:16px;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.5);}
.variant-color-swatch.active{box-shadow:0 0 0 2px #fff,0 0 0 4px #ff643f;}
.variant-color-swatch.active>b{display:flex;}
.variant-color-custom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding-top:11px;border-top:1px solid #ededed;font-size:11px;font-weight:800;color:#555;}
.variant-color-custom input[type=color]{width:46px!important;height:34px!important;min-height:34px!important;padding:3px!important;border-radius:8px!important;cursor:pointer;}
.product-variant-card{overflow:visible;}
.check-field{display:flex!important;flex-direction:row;align-items:center;min-height:46px;padding:10px 12px;border:1px solid #dedede;border-radius:9px;background:#fafafa;}
.check-field input{width:18px!important;min-height:18px!important;margin:0;}
.listing-card-title{align-items:center;}
.product-listing-head,.product-listing-row{display:grid;grid-template-columns:135px 120px 145px 155px minmax(210px,1fr) 95px 95px 105px 36px;gap:8px;align-items:center;}
.product-listing-head{padding:0 4px 7px;color:#777;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.25px;}
.product-listings{display:grid;gap:8px;}
.product-listing-row{padding:10px;background:#fafafa;border:1px solid #e5e5e5;border-radius:10px;}
.product-listing-row input,.product-listing-row select{min-height:40px;padding:8px 9px;font-size:12px;}
.listing-remove{width:34px;height:34px;border:0;border-radius:8px;background:#fdf0f0;color:#a31515;font-size:20px;line-height:1;cursor:pointer;}
.listing-remove:hover{background:#f5d0cf;}
.product-listings-empty{padding:20px;border:1px dashed #d6d6d6;border-radius:10px;text-align:center;color:#999;font-size:12px;}
.product-listings-empty[hidden]{display:none;}
.product-form-actions{display:flex;justify-content:flex-end;gap:10px;padding:3px 0 16px;}
.product-form-actions .btn{min-height:42px;padding:0 18px;}
.product-form-message{min-height:20px;text-align:right;color:#8c1717;font-size:12px;font-weight:700;}
.bca-edit-product-link{display:block;margin-top:5px;padding:0;border:0;background:transparent;color:#8c1717;font:700 10px 'Inter',sans-serif;text-decoration:underline;text-underline-offset:2px;cursor:pointer;}
.bca-edit-product-link:hover{color:#b11d1c;}
@media(max-width:1100px){.product-listing-head{display:none}.product-listing-row{grid-template-columns:repeat(2,minmax(0,1fr));}.product-listing-row [data-field=link]{grid-column:1/-1}.listing-remove{justify-self:end}.product-general-grid{grid-template-columns:150px 1fr}.product-image-preview{width:140px;height:140px}}
@media(max-width:700px){.product-general-grid,.product-fields-grid,.product-cost-grid,.product-variant-grid{grid-template-columns:1fr}.product-fields-grid .field-wide{grid-column:auto}.product-image-editor{align-items:flex-start}.product-listing-row{grid-template-columns:1fr}.product-listing-row [data-field=link]{grid-column:auto}.product-form-actions{flex-direction:column-reverse}.product-form-actions .btn{width:100%}}


/* Login Base Comercial v4.8 */
.bca-login-box{padding-top:38px;}
.bca-login-mark{display:none !important;}
.bca-login-box h1{font-size:28px;}
.bca-login-box form{gap:15px;}
.bca-password-field{position:relative;display:block;}
.bca-password-field input{width:100%;padding-right:52px !important;box-sizing:border-box;}
.bca-password-toggle{
  position:absolute;
  top:50%;
  right:5px;
  width:40px;
  height:40px;
  padding:0 !important;
  transform:translateY(-50%);
  display:grid;
  place-items:center;
  border:0 !important;
  border-radius:7px !important;
  background:transparent !important;
  color:#666666 !important;
  box-shadow:none !important;
}
.bca-password-toggle:hover,
.bca-password-toggle:focus{background:#f3f3f3 !important;color:#111111 !important;outline:none !important;}
.bca-password-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.bca-password-toggle .bca-eye-closed{display:none;}
.bca-password-toggle.is-visible .bca-eye-open{display:none;}
.bca-password-toggle.is-visible .bca-eye-closed{display:block;}
.bca-login-box .bca-login-submit{width:100%;}
.bca-forgot-password{display:block;margin-top:16px;color:#7a1312;font-size:12px;font-weight:650;text-align:center;text-decoration:none;}
.bca-forgot-password:hover{color:#b11d1c;text-decoration:underline;}
.bca-login-success{margin:0 0 18px;padding:12px 14px;border:1px solid #b9dfbd;border-radius:8px;background:#f1faf2;color:#245d29;font-size:12px;font-weight:650;line-height:1.45;}


/* v4.9.0 — cursor de escritura y controles visibles */
html,
body,
.bca-login-screen,
.bca-panel-app {
  color-scheme: light !important;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="tel"],
textarea,
[contenteditable="true"] {
  color: #111111 !important;
  caret-color: #111111 !important;
  cursor: text !important;
  -webkit-text-fill-color: #111111 !important;
}

select,
button,
input[type="button"],
input[type="submit"],
input[type="checkbox"],
input[type="radio"],
input[type="color"] {
  color-scheme: light !important;
}

select,
button,
input[type="button"],
input[type="submit"] {
  cursor: pointer;
}


/* v5.0.0 — barra horizontal integrada y centrada sobre el encabezado */
#view-base .bca-base-topscroll-shell{
  display:none;
  align-items:center;
  width:100%;
  height:32px;
  box-sizing:border-box;
  padding:10px 12px;
  margin:0;
  overflow:hidden;
  background:#ffffff;
  border:1px solid #dedede;
  border-bottom:0;
  border-radius:12px 12px 0 0;
  box-shadow:0 2px 8px rgba(17,17,17,.045);
}
#view-base .bca-base-topscroll-shell.is-needed + .bca-base-tablecard{
  border-top-left-radius:0;
  border-top-right-radius:0;
}
#view-base .bca-base-topscroll{
  display:block !important;
  width:100%;
  height:10px;
  margin:0;
  padding:0;
  overflow-x:auto;
  overflow-y:hidden;
  background:transparent;
  border:0;
  border-radius:999px;
  box-shadow:none;
  scrollbar-width:thin;
  scrollbar-color:#858585 #ececec;
}
#view-base .bca-base-topscroll-inner{
  height:1px;
}
#view-base .bca-base-topscroll::-webkit-scrollbar{
  height:10px;
}
#view-base .bca-base-topscroll::-webkit-scrollbar-track{
  background:#ececec;
  border-radius:999px;
  box-shadow:inset 0 0 0 1px #dfdfdf;
}
#view-base .bca-base-topscroll::-webkit-scrollbar-thumb{
  min-width:70px;
  background:#858585;
  border:2px solid #ececec;
  border-radius:999px;
}
#view-base .bca-base-topscroll::-webkit-scrollbar-thumb:hover{
  background:#686868;
}
#view-base .bca-base-topscroll-shell.is-fixed{
  position:fixed;
  z-index:99991;
  margin:0;
  background:#ffffff;
  border:1px solid #dedede;
  border-bottom:0;
  border-radius:10px 10px 0 0;
  box-shadow:0 3px 10px rgba(17,17,17,.08);
  backdrop-filter:none;
}
/* Anula el modo flotante viejo: el elemento scroll ya vive dentro de la franja */
#view-base .bca-base-topscroll.is-fixed{
  position:static !important;
  width:100% !important;
  height:10px !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:999px !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
}

/* v5.1.0 — alta y edición de productos simples o con variantes */
.product-details{display:grid;gap:16px;}
.product-details[hidden],.product-kind-editor[hidden]{display:none!important;}
.product-kind-card{padding:22px;}
.product-kind-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.product-kind-option{display:grid;grid-template-columns:46px 1fr;grid-template-rows:auto auto;column-gap:14px;align-items:center;text-align:left;padding:18px;border:1px solid #d9d9d9;border-radius:12px;background:#fff;color:#222;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;}
.product-kind-option:hover{border-color:#c9a3a3;background:#fffafa;}
.product-kind-option.active{border:2px solid #b11d1c;background:#fff8f8;box-shadow:0 0 0 4px rgba(177,29,28,.08);}
.product-kind-icon{grid-row:1/3;width:44px;height:44px;display:grid;place-items:center;border-radius:11px;background:#f2f2f2;color:#333;font:800 17px 'Inter',sans-serif;}
.product-kind-option.active .product-kind-icon{background:#b11d1c;color:#fff;}
.product-kind-option strong{font-size:15px;color:#111;}
.product-kind-option small{font-size:12px;color:#777;line-height:1.35;margin-top:3px;}
.product-simple-grid,.product-family-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:end;}
.product-family-grid .family-share-field{grid-column:1/-1;}
.product-variants{display:grid;gap:16px;}
.product-variant-card{border:1px solid #dcdcdc;border-radius:13px;background:#fbfbfb;overflow:visible;box-shadow:0 3px 10px rgba(17,17,17,.035);}
.variant-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;background:#f3f3f3;border-bottom:1px solid #dfdfdf;}
.variant-card-head>div{display:flex;align-items:center;gap:10px;min-width:0;}
.variant-number{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.35px;color:#777;}
.variant-card-name{font-size:14px;color:#111;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.variant-remove{border:0;background:transparent;color:#9b1d1d;font:700 11px 'Inter',sans-serif;text-decoration:underline;text-underline-offset:2px;cursor:pointer;}
.variant-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px;}
.variant-fields-grid .variant-color-control[hidden]{display:none!important;}
.variant-own-costs,.variant-publications{padding:0 16px 16px;}
.variant-own-costs[hidden]{display:none!important;}
.variant-section-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 10px;padding-top:14px;border-top:1px solid #e3e3e3;}
.variant-section-title>div{display:grid;gap:2px;}
.variant-section-title strong{font-size:13px;color:#222;}
.variant-section-title span{font-size:11px;color:#888;}
.variant-section-title .btn{min-height:36px;padding:0 12px;font-size:11px;}
.product-variant-card .product-listing-row{background:#fff;}
.product-variants-card>.product-listings-empty{margin-top:2px;}
.product-family-grid .check-field{min-height:46px;padding:0 4px;}
.product-family-grid .check-field input{width:18px;min-height:18px;padding:0;}
#bca-variable-shared-cost-card[hidden]{display:none!important;}

@media(max-width:900px){
  .product-kind-options,.product-simple-grid,.product-family-grid,.variant-fields-grid{grid-template-columns:1fr;}
  .color-input-wrap{grid-template-columns:1fr;}
  .variant-color-palette{width:min(290px,calc(100vw - 64px));}
  .product-family-grid .family-share-field{grid-column:auto;}
}


/* v5.2.0 — fotos grandes en Base Comercial */
#view-base .bca-base-table tbody tr.sku-first > td.foto-cell{padding-top:14px !important;padding-bottom:14px !important;}
#view-base .foto-cell.variant-shared-photo img,
#view-base .foto-cell.variant-shared-photo .noimg{width:120px;height:120px;}
@media (max-width:1100px){
  #view-base .bca-base-table col.col-foto{width:108px;}
  #view-base .foto-cell img,
  #view-base .foto-cell .noimg{width:90px;height:90px;}
  #view-base .foto-cell.variant-shared-photo img,
  #view-base .foto-cell.variant-shared-photo .noimg{width:96px;height:96px;}
}


/* v5.3.0 — fotos muchísimo más grandes en Base Comercial */
#view-base .bca-base-table col.col-foto{width:200px !important;}
#view-base .foto-cell{text-align:center;padding:18px 10px !important;vertical-align:top;}
#view-base .foto-cell img,
#view-base .foto-cell .noimg{
  width:180px !important;
  height:180px !important;
  max-width:none !important;
  border-radius:16px;
}
#view-base .foto-cell.variant-shared-photo img,
#view-base .foto-cell.variant-shared-photo .noimg{
  width:190px !important;
  height:190px !important;
}
#view-base .bca-base-table tbody tr.sku-first > td.foto-cell{padding-top:18px !important;padding-bottom:18px !important;}
@media(max-width:1400px){
  #view-base .bca-base-table col.col-foto{width:170px !important;}
  #view-base .foto-cell img,
  #view-base .foto-cell .noimg{width:150px !important;height:150px !important;}
  #view-base .foto-cell.variant-shared-photo img,
  #view-base .foto-cell.variant-shared-photo .noimg{width:160px !important;height:160px !important;}
}
@media(max-width:980px){
  #view-base .bca-base-table col.col-foto{width:136px !important;}
  #view-base .foto-cell img,
  #view-base .foto-cell .noimg{width:116px !important;height:116px !important;}
  #view-base .foto-cell.variant-shared-photo img,
  #view-base .foto-cell.variant-shared-photo .noimg{width:124px !important;height:124px !important;}
}


/* v5.4.0 — escalar el resto de la tabla para acompañar las fotos grandes */
#view-base .bca-base-table{font-size:13px !important;}
#view-base .bca-base-table col.col-mla{width:165px !important;}
#view-base .bca-base-table col.col-sku{width:240px !important;}
#view-base .bca-base-table col.col-costo{width:90px !important;}
#view-base .bca-base-table col.col-stock{width:150px !important;}
#view-base .bca-base-table col.col-ventas{width:132px !important;}
#view-base .bca-base-table col.col-cuotas{width:132px !important;}
#view-base .bca-base-table col.col-dod,
#view-base .bca-base-table col.col-dxi,
#view-base .bca-base-table col.col-lista{width:122px !important;}
#view-base .bca-base-table col.col-sugerido{width:140px !important;}
#view-base .bca-base-table col.col-links{width:132px !important;}

#view-base .bca-base-table th{
  font-size:11px !important;
  padding:10px 10px !important;
}
#view-base .bca-base-table thead th .th-title{font-size:11px !important;}
#view-base .bca-base-table thead th .th-subgrid{margin-top:8px !important;}
#view-base .bca-base-table thead th .th-subgrid span{font-size:11px !important;}

#view-base .bca-base-table td{
  padding:12px 10px !important;
  font-size:13px !important;
}
#view-base tbody tr.sku-first td{padding-top:16px !important; padding-bottom:16px !important;}
#view-base tbody tr.quota-tier-first td{padding-top:14px !important;}

#view-base .tipo-badge{font-size:9.5px !important; padding:3px 8px !important;}
#view-base .mla-code,
#view-base .mla-group-main{font-size:12.5px !important;}
#view-base .mla-group-cat{font-size:10.5px !important;}
#view-base .sku-code{font-size:14px !important; font-weight:700 !important;}
#view-base .cat-pill{font-size:11px !important; padding:3px 8px !important; margin-top:5px !important;}
#view-base .costo{font-size:13px !important;}

#view-base .stockcells{gap:7px !important;}
#view-base .stockchip{min-width:40px !important; padding:5px 8px !important; font-size:12px !important; border-radius:8px !important;}
#view-base .weeklabels{gap:9px !important;}
#view-base .weeklabels div{font-size:12px !important; min-width:20px !important;}
#view-base .weeklabels .lbl{font-size:9px !important;}

#view-base .cuota-tag{font-size:10.5px !important; padding:4px 9px !important; border-radius:999px !important;}
#view-base .pc-toggle-quotas{font-size:12px !important;}

#view-base .price-input,
#view-base .list-price-input{
  width:100px !important;
  min-height:38px !important;
  padding:7px 10px !important;
  font-size:13px !important;
  border-radius:10px !important;
}

#view-base .sug-cell{min-width:132px !important;}
#view-base .sug-value{font-size:15px !important; font-weight:800 !important;}
#view-base .sug-cell .dash{font-size:12px !important;}

#view-base .mla-link,
#view-base .vs-link,
#view-base .bca-edit-product-link{font-size:11px !important; line-height:1.45 !important;}

#view-base .bca-base-table thead th:nth-child(1){left:0 !important;}
#view-base .bca-base-table thead th:nth-child(2){left:200px !important;}
#view-base .bca-base-table thead th:nth-child(3){left:365px !important;}

@media(max-width:1400px){
  #view-base .bca-base-table col.col-sku{width:210px !important;}
  #view-base .bca-base-table th,
  #view-base .bca-base-table td{padding:10px 8px !important;}
  #view-base .bca-base-table thead th:nth-child(2){left:170px !important;}
  #view-base .bca-base-table thead th:nth-child(3){left:335px !important;}
}
@media(max-width:980px){
  #view-base .bca-base-table{font-size:12px !important;}
  #view-base .sku-code{font-size:12.5px !important;}
  #view-base .price-input,
  #view-base .list-price-input{width:90px !important; min-height:34px !important;}
}


/* v5.5.0 — jerarquía de categoría, contenido más grande y editor con más aire */
#view-base .family-category-head{
  display:block;
  margin:0 0 9px !important;
}
#view-base .family-category-head .cat-pill,
#view-base .cat-pill{
  margin:0 !important;
  font-size:12px !important;
  line-height:1.25 !important;
  padding:4px 9px !important;
  font-weight:750 !important;
}
#view-base .sku-code{
  font-size:15.5px !important;
  line-height:1.25 !important;
  font-weight:750 !important;
}
#view-base .mla-code,
#view-base .mla-group-main{
  font-size:13px !important;
  line-height:1.3 !important;
}
#view-base .mla-group-cat{font-size:11px !important;line-height:1.3 !important;}
#view-base .tipo-badge{font-size:10px !important;padding:4px 8px !important;}
#view-base .variant-label,
#view-base .variant-descriptor{font-size:12.5px !important;line-height:1.35 !important;}
#view-base .costo,
#view-base .readonly-price,
#view-base .calc-price{font-size:14px !important;}
#view-base .stockchip{font-size:12.5px !important;}
#view-base .weekbar .num{font-size:12px !important;}
#view-base .cuota-tag{font-size:11px !important;}
#view-base .cuotas-toggle,
#view-base .pc-toggle-quotas{font-size:12.5px !important;}
#view-base .price-input,
#view-base .list-price-input{
  min-height:42px !important;
  font-size:14px !important;
}
#view-base .sug-value{font-size:17px !important;}
#view-base .mla-link,
#view-base .vs-link,
#view-base .bca-edit-product-link{font-size:12px !important;}

.product-editor-form{gap:28px !important;}
.product-kind-editor:not([hidden]){display:grid;gap:28px;}
.product-form-card{padding:24px !important;}
.product-card-title{margin-bottom:20px !important;}
.product-family-grid-compact{grid-template-columns:minmax(300px,1fr) !important;gap:18px !important;}
.product-family-grid-compact .family-share-field{grid-column:1 !important;}
.product-variants{gap:26px !important;}
.product-variant-card{box-shadow:0 7px 20px rgba(17,17,17,.055) !important;}
.variant-card-head{padding:17px 19px !important;}
.variant-fields-grid{gap:18px !important;padding:20px !important;}
.variant-own-costs,
.variant-publications{padding:0 20px 20px !important;}
.variant-section-title{margin-bottom:14px !important;padding-top:18px !important;}
.product-listings{gap:12px !important;}
.product-listing-row{padding:12px !important;}
@media(max-width:900px){
  .product-family-grid-compact{grid-template-columns:1fr !important;}
}


/* v5.6.0 — campos de precio y contenido general todavía más grandes */
#view-base .bca-base-table col.col-dod,
#view-base .bca-base-table col.col-dxi{width:145px !important;}
#view-base .bca-base-table col.col-lista{width:155px !important;}
#view-base .bca-base-table col.col-sugerido{width:150px !important;}
#view-base .bca-base-table th, #view-base .bca-base-table td{padding-top:14px !important; padding-bottom:14px !important;}
#view-base .sku-code{font-size:16.5px !important;}
#view-base .mla-code,#view-base .mla-group-main{font-size:13.5px !important;}
#view-base .cat-pill{font-size:12.5px !important; padding:5px 10px !important;}
#view-base .costo,#view-base .readonly-price,#view-base .calc-price{font-size:15px !important;}
#view-base .price-input, #view-base .list-price-input{width:112px !important; min-height:46px !important; font-size:15px !important; padding:9px 12px !important; border-radius:11px !important;}
#view-base .sug-value{font-size:18px !important;}
#view-base .sug-cell{padding-left:12px !important;padding-right:12px !important;}
#view-base .mla-link,#view-base .vs-link,#view-base .bca-edit-product-link{font-size:12.5px !important; line-height:1.55 !important;}
@media(max-width:980px){#view-base .price-input,#view-base .list-price-input{width:100px !important; min-height:42px !important; font-size:14px !important;}}


/* v5.7.0 — encabezado superior más centrado y grande */
#view-base .bca-base-table thead th{ text-align:center !important; vertical-align:middle !important; }
#view-base .bca-base-table thead th .th-title{ display:block !important; width:100% !important; text-align:center !important; font-size:12.5px !important; font-weight:800 !important; letter-spacing:.25px !important; line-height:1.2 !important;}
#view-base .bca-base-table thead th .th-subgrid{ justify-items:center !important; align-items:center !important; margin-top:8px !important; font-size:11.5px !important; }
#view-base .bca-base-table thead th .th-subgrid span{ font-size:11.5px !important; text-align:center !important; }
#view-base .bca-base-table th{ font-size:12.5px !important; padding-top:12px !important; padding-bottom:12px !important;}
.bca-fixed-base-header .bca-fixed-header-table thead th{ text-align:center !important; vertical-align:middle !important; }
.bca-fixed-base-header .bca-fixed-header-table thead th .th-title{ font-size:12.5px !important; font-weight:800 !important; line-height:1.2 !important; text-align:center !important; }
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid{ margin-top:8px !important; font-size:11.5px !important; justify-items:center !important; align-items:center !important; }
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid span{ font-size:11.5px !important; text-align:center !important; }


/* v5.8.0 — STOCK y VENTAS en una sola línea visual */
#view-base .bca-base-table col.col-stock{width:185px !important;}
#view-base .bca-base-table col.col-ventas{width:165px !important;}
#view-base .bca-base-table thead th:nth-child(5), #view-base .bca-base-table thead th:nth-child(6){text-align:center !important;}
#view-base .bca-base-table thead th:nth-child(5) .th-wrap, #view-base .bca-base-table thead th:nth-child(6) .th-wrap{display:flex; align-items:center; justify-content:center; gap:10px; flex-wrap:nowrap;}
#view-base .bca-base-table thead th:nth-child(5) .th-title, #view-base .bca-base-table thead th:nth-child(6) .th-title{margin:0 !important; white-space:nowrap !important;}
#view-base .bca-base-table thead th:nth-child(5) .th-subgrid, #view-base .bca-base-table thead th:nth-child(6) .th-subgrid{display:grid !important; margin-top:0 !important; gap:8px !important; align-items:center !important;}
#view-base .bca-base-table thead th:nth-child(5) .th-subgrid-stock{grid-template-columns:repeat(3,minmax(34px,1fr)) !important;}
#view-base .bca-base-table thead th:nth-child(6) .th-subgrid-ventas{grid-template-columns:repeat(4,minmax(24px,1fr)) !important;}
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(5), .bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(6){text-align:center !important;}
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(5) .th-wrap, .bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(6) .th-wrap{display:flex; align-items:center; justify-content:center; gap:10px; flex-wrap:nowrap;}
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(5) .th-title, .bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(6) .th-title{margin:0 !important; white-space:nowrap !important;}
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(5) .th-subgrid, .bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(6) .th-subgrid{display:grid !important; margin-top:0 !important; gap:8px !important; align-items:center !important;}
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(5) .th-subgrid-stock{grid-template-columns:repeat(3,minmax(34px,1fr)) !important;}
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(6) .th-subgrid-ventas{grid-template-columns:repeat(4,minmax(24px,1fr)) !important;}
#view-base .bca-base-table thead th:nth-child(5) .th-title + .th-subgrid, #view-base .bca-base-table thead th:nth-child(6) .th-title + .th-subgrid, .bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(5) .th-title + .th-subgrid, .bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(6) .th-title + .th-subgrid{display:inline-grid !important; vertical-align:middle; margin-left:10px !important;}


/* v5.9.0 — más separación entre columnas */
#view-base .bca-base-table{border-collapse:separate !important; border-spacing:0 !important;}
#view-base .bca-base-table thead th,
#view-base .bca-base-table tbody td{padding-left:14px !important; padding-right:14px !important;}
#view-base .bca-base-table col.col-foto{width:230px !important;}
#view-base .bca-base-table col.col-mla{width:190px !important;}
#view-base .bca-base-table col.col-sku{width:270px !important;}
#view-base .bca-base-table col.col-costo{width:105px !important;}
#view-base .bca-base-table col.col-stock{width:210px !important;}
#view-base .bca-base-table col.col-ventas{width:185px !important;}
#view-base .bca-base-table col.col-cuotas{width:145px !important;}
#view-base .bca-base-table col.col-dod,
#view-base .bca-base-table col.col-dxi{width:155px !important;}
#view-base .bca-base-table col.col-sugerido{width:165px !important;}
#view-base .bca-base-table col.col-lista{width:165px !important;}
#view-base .bca-base-table col.col-links{width:145px !important;}
#view-base .bca-base-table td + td,
#view-base .bca-base-table th + th{box-shadow:inset 1px 0 0 rgba(0,0,0,.03);}
#view-base .foto-cell{padding-right:20px !important;}
#view-base .sku-wrap,
#view-base .mla-wrap,
#view-base .cuota-wrap,
#view-base .sug-cell{padding-right:6px !important;}
#view-base .price-input,
#view-base .list-price-input{width:118px !important;}
.bca-fixed-base-header .bca-fixed-header-table thead th{padding-left:14px !important; padding-right:14px !important;}
@media(max-width:1400px){
  #view-base .bca-base-table thead th,
  #view-base .bca-base-table tbody td{padding-left:12px !important; padding-right:12px !important;}
  #view-base .bca-base-table col.col-sku{width:245px !important;}
  #view-base .bca-base-table col.col-stock{width:190px !important;}
  #view-base .bca-base-table col.col-ventas{width:170px !important;}
}


/* v6.0.0 — más separación en Precio de lista y Links */
#view-base .bca-base-table col.col-lista{width:190px !important;}
#view-base .bca-base-table col.col-links{width:170px !important;}
#view-base .bca-base-table thead th:nth-last-child(2),
#view-base .bca-base-table tbody td:nth-last-child(2){padding-right:18px !important;}
#view-base .bca-base-table thead th:last-child,
#view-base .bca-base-table tbody td:last-child{padding-left:18px !important;}
#view-base .list-price-input{width:126px !important; min-height:48px !important;}
#view-base .links-cell,
#view-base td.col-links,
#view-base .bca-links-cell{padding-left:20px !important; padding-right:18px !important;}
#view-base .mla-link,
#view-base .vs-link,
#view-base .bca-edit-product-link{display:block !important; margin:6px 0 !important; line-height:1.65 !important;}
#view-base .bca-base-table td + td,
#view-base .bca-base-table th + th{box-shadow:inset 1px 0 0 rgba(0,0,0,.04);}
@media(max-width:1400px){
  #view-base .bca-base-table col.col-lista{width:175px !important;}
  #view-base .bca-base-table col.col-links{width:155px !important;}
}


/* v6.1.0 — separar muchísimo más DOD WEB / DXI WEB / Precio de Lista / Links */
#view-base .bca-base-table col.col-dod-web{width:105px !important;}
#view-base .bca-base-table col.col-dxi-web{width:105px !important;}
#view-base .bca-base-table col.col-lista{width:230px !important;}
#view-base .bca-base-table col.col-links{width:210px !important;}
#view-base .bca-base-table thead th:nth-child(11),
#view-base .bca-base-table tbody td:nth-child(11),
#view-base .bca-base-table thead th:nth-child(12),
#view-base .bca-base-table tbody td:nth-child(12),
#view-base .bca-base-table thead th:nth-child(13),
#view-base .bca-base-table tbody td:nth-child(13),
#view-base .bca-base-table thead th:nth-child(14),
#view-base .bca-base-table tbody td:nth-child(14){
  padding-left:22px !important;
  padding-right:22px !important;
}
#view-base .bca-base-table th:nth-child(11),
#view-base .bca-base-table td:nth-child(11),
#view-base .bca-base-table th:nth-child(12),
#view-base .bca-base-table td:nth-child(12),
#view-base .bca-base-table th:nth-child(13),
#view-base .bca-base-table td:nth-child(13),
#view-base .bca-base-table th:nth-child(14),
#view-base .bca-base-table td:nth-child(14){
  box-shadow: inset 1px 0 0 rgba(0,0,0,.05);
}
#view-base .list-price-input{width:138px !important; min-height:50px !important;}
#view-base .links-cell,
#view-base td.col-links,
#view-base .bca-links-cell{padding-left:26px !important; padding-right:24px !important;}
#view-base .mla-link,
#view-base .vs-link,
#view-base .bca-edit-product-link{margin:8px 0 !important;}
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(11),
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(12),
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(13),
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(14){
  padding-left:22px !important;
  padding-right:22px !important;
}
@media(max-width:1400px){
  #view-base .bca-base-table col.col-dod-web{width:96px !important;}
  #view-base .bca-base-table col.col-dxi-web{width:96px !important;}
  #view-base .bca-base-table col.col-lista{width:205px !important;}
  #view-base .bca-base-table col.col-links{width:185px !important;}
}


/* v6.2.0 — encabezado sincronizado con el desplazamiento horizontal */
#view-base .bca-base-table thead th:nth-child(1),
#view-base .bca-base-table thead th:nth-child(2),
#view-base .bca-base-table thead th:nth-child(3){
  position:relative !important;
  left:auto !important;
  z-index:auto !important;
}
.bca-fixed-base-header{
  overflow:hidden !important;
}
.bca-fixed-header-viewport{
  display:block;
  width:100%;
  height:100%;
  overflow:hidden;
  scrollbar-width:none;
}
.bca-fixed-header-viewport::-webkit-scrollbar{
  display:none;
}
.bca-fixed-base-header .bca-fixed-header-table{
  transform:none !important;
  margin:0 !important;
}
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(1),
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(2),
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(3){
  position:static !important;
  left:auto !important;
}


/* v6.3.0 — quitar líneas finitas entre columnas/celdas */
#view-base .bca-base-table td + td,
#view-base .bca-base-table th + th,
#view-base .bca-base-table td,
#view-base .bca-base-table th,
.bca-fixed-base-header .bca-fixed-header-table td + td,
.bca-fixed-base-header .bca-fixed-header-table th + th,
.bca-fixed-base-header .bca-fixed-header-table td,
.bca-fixed-base-header .bca-fixed-header-table th {
  box-shadow: none !important;
}

#view-base .bca-base-table,
#view-base .bca-base-table * ,
.bca-fixed-base-header .bca-fixed-header-table,
.bca-fixed-base-header .bca-fixed-header-table * {
  border-left-color: transparent !important;
  border-right-color: transparent !important;
}


/* v6.4.0 — separar muchísimo más todas las columnas, especialmente DOD WEB / DXI WEB */
#view-base .bca-base-table,
.bca-fixed-base-header .bca-fixed-header-table{
  border-collapse:separate !important;
  border-spacing:0 !important;
}

#view-base .bca-base-table thead th,
#view-base .bca-base-table tbody td,
.bca-fixed-base-header .bca-fixed-header-table thead th,
.bca-fixed-base-header .bca-fixed-header-table tbody td{
  padding-left:22px !important;
  padding-right:22px !important;
}

#view-base .bca-base-table col.col-foto{width:245px !important;}
#view-base .bca-base-table col.col-mla{width:210px !important;}
#view-base .bca-base-table col.col-sku{width:300px !important;}
#view-base .bca-base-table col.col-costo{width:118px !important;}
#view-base .bca-base-table col.col-stock{width:230px !important;}
#view-base .bca-base-table col.col-ventas{width:205px !important;}
#view-base .bca-base-table col.col-cuotas{width:160px !important;}
#view-base .bca-base-table col.col-dod,
#view-base .bca-base-table col.col-dxi{width:170px !important;}
#view-base .bca-base-table col.col-sugerido{width:185px !important;}
#view-base .bca-base-table col.col-dod-web{width:145px !important;}
#view-base .bca-base-table col.col-dxi-web{width:145px !important;}
#view-base .bca-base-table col.col-lista{width:245px !important;}
#view-base .bca-base-table col.col-links{width:230px !important;}

/* Mucho más aire en el bloque derecho */
#view-base .bca-base-table thead th:nth-child(11),
#view-base .bca-base-table tbody td:nth-child(11),
#view-base .bca-base-table thead th:nth-child(12),
#view-base .bca-base-table tbody td:nth-child(12),
#view-base .bca-base-table thead th:nth-child(13),
#view-base .bca-base-table tbody td:nth-child(13),
#view-base .bca-base-table thead th:nth-child(14),
#view-base .bca-base-table tbody td:nth-child(14){
  padding-left:30px !important;
  padding-right:30px !important;
}
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(11),
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(12),
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(13),
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(14){
  padding-left:30px !important;
  padding-right:30px !important;
}

#view-base .price-input,
#view-base .list-price-input{width:146px !important; min-height:50px !important;}
#view-base .links-cell,
#view-base td.col-links,
#view-base .bca-links-cell{padding-left:32px !important; padding-right:28px !important;}
#view-base .mla-link,
#view-base .vs-link,
#view-base .bca-edit-product-link{display:block !important; margin:10px 0 !important; line-height:1.7 !important;}
#view-base .sug-cell{padding-left:24px !important; padding-right:24px !important;}

@media(max-width:1400px){
  #view-base .bca-base-table thead th,
  #view-base .bca-base-table tbody td,
  .bca-fixed-base-header .bca-fixed-header-table thead th,
  .bca-fixed-base-header .bca-fixed-header-table tbody td{
    padding-left:18px !important;
    padding-right:18px !important;
  }
  #view-base .bca-base-table col.col-dod-web{width:125px !important;}
  #view-base .bca-base-table col.col-dxi-web{width:125px !important;}
  #view-base .bca-base-table col.col-lista{width:220px !important;}
  #view-base .bca-base-table col.col-links{width:205px !important;}
}


/* v6.6.0 — más legibilidad y limpieza visual */
/* Stock */
#view-base .stockchip{
  min-width:46px !important;
  padding:6px 10px !important;
  font-size:14px !important;
  font-weight:700 !important;
  border-radius:10px !important;
}
#view-base .stockcells{gap:10px !important;}

/* Ventas */
#view-base .weeklabels{gap:12px !important; align-items:end !important;}
#view-base .weeklabels div{min-width:24px !important; font-size:14px !important; font-weight:700 !important;}
#view-base .weeklabels .lbl{font-size:10px !important; font-weight:700 !important;}
#view-base .weekbar,
#view-base .ventas-bar,
#view-base .bar-week,
#view-base .week-chart .bar,
#view-base .ventas-chart .bar{
  width:8px !important;
  border-radius:8px !important;
}
#view-base .ventas-chart,
#view-base .week-chart{gap:10px !important;}

/* Badge sin cuotas */
#view-base .cuota-tag{
  font-size:12px !important;
  font-weight:800 !important;
  padding:6px 12px !important;
  border-width:1.5px !important;
  border-color:#d78a86 !important;
  color:#b11d1c !important;
  background:#fff7f7 !important;
  box-shadow:0 1px 0 rgba(177,29,28,.08) !important;
}

/* Inputs de precio más marcados */
#view-base .price-input,
#view-base .list-price-input,
#view-base input[name*="dod"],
#view-base input[name*="dxi"],
#view-base input[name*="lista"]{
  min-height:52px !important;
  font-size:15px !important;
  font-weight:700 !important;
  color:#111 !important;
  background:#fff !important;
  border:1.6px solid #d2d2d2 !important;
  box-shadow:0 1px 2px rgba(0,0,0,.04) !important;
}
#view-base .price-input:focus,
#view-base .list-price-input:focus,
#view-base input[name*="dod"]:focus,
#view-base input[name*="dxi"]:focus,
#view-base input[name*="lista"]:focus{
  border-color:#b11d1c !important;
  box-shadow:0 0 0 3px rgba(177,29,28,.08) !important;
}

/* Links más limpios sin línea punteada */
#view-base .links-cell,
#view-base td.col-links,
#view-base .bca-links-cell{
  border-left:none !important;
}
#view-base .mla-link,
#view-base .vs-link,
#view-base .bca-edit-product-link{
  text-decoration:none !important;
}
#view-base .links-cell *,
#view-base .bca-links-cell *{
  border-bottom:none !important;
  background-image:none !important;
  box-shadow:none !important;
}
#view-base .links-cell hr,
#view-base .bca-links-cell hr,
#view-base .links-cell .sep,
#view-base .bca-links-cell .sep{
  display:none !important;
}

/* MLA principal / catálogo sin líneas divisorias internas */
#view-base .mla-wrap,
#view-base .mla-cell,
#view-base .col-mla{
  background-image:none !important;
  box-shadow:none !important;
}
#view-base .mla-wrap hr,
#view-base .mla-cell hr,
#view-base .mla-wrap .sep,
#view-base .mla-cell .sep,
#view-base .mla-group-main + .mla-group-cat,
#view-base .mla-code + .mla-code{
  border-top:none !important;
  background-image:none !important;
  box-shadow:none !important;
}
#view-base .mla-group-main,
#view-base .mla-group-cat,
#view-base .mla-code{padding-top:0 !important;}

/* Un poco más grandes badges principal / catálogo */
#view-base .tipo-badge{font-size:10px !important; padding:4px 9px !important;}
#view-base .mla-code,#view-base .mla-group-main,#view-base .mla-group-cat{font-size:13px !important; font-weight:700 !important;}


/* v6.7.0 — más separación, más contraste y sin líneas molestas */
/* Quitar líneas internas cortitas */
#view-base tbody td{border-top:none !important;}
#view-base tbody tr.sku-first td{border-top:12px solid #f3f3f3 !important;}
#view-base tbody tr.variant-first td{border-top:12px solid #f3f3f3 !important;}
#view-base tbody tr.quota-tier-first td{border-top:12px solid #f3f3f3 !important;}
#view-base td:nth-child(2),
#view-base td:nth-child(14){background-image:none !important; box-shadow:none !important;}
#view-base .mla-link,
#view-base .vs-link,
#view-base .bca-edit-product-link{ text-decoration:none !important; border-bottom:none !important; background-image:none !important; box-shadow:none !important; }

/* Números en general más grandes */
#view-base td.num,
#view-base .readonly-price,
#view-base .calc-price,
#view-base .price-input,
#view-base .list-price-input,
#view-base .sug-value,
#view-base .sug-pct{font-size:16px !important;}
#view-base .readonly-price,
#view-base .calc-price{font-weight:800 !important; color:#111 !important;}

/* Stock mucho más legible */
#view-base .stockcells{gap:14px !important;}
#view-base .stockchip{min-width:52px !important; padding:8px 12px !important; font-size:16px !important; font-weight:800 !important; border-radius:11px !important;}

/* Ventas más grandes + barras más visibles */
#view-base .weeklabels{display:grid !important; grid-template-columns:repeat(4,1fr) !important; gap:12px !important;}
#view-base .weeklabels div{font-size:16px !important; font-weight:800 !important; min-width:24px !important; background:transparent !important; border:none !important; padding:0 !important; line-height:1.1 !important;}
#view-base .weekbar,
#view-base .ventas-bar,
#view-base .bar-week,
#view-base .week-chart .bar,
#view-base .ventas-chart .bar{width:10px !important; min-height:10px !important; border-radius:10px !important;}

/* Badge sin cuotas más grande y marcado */
#view-base .cuota-tag,
#view-base .cuota-tag.sin-cuotas{font-size:14px !important; font-weight:900 !important; padding:8px 16px !important; border:1.8px solid #d45b55 !important; color:#b11d1c !important; background:#fff5f4 !important; box-shadow:0 2px 4px rgba(177,29,28,.08) !important;}
#view-base .cuotas-toggle{font-size:13px !important; font-weight:700 !important; margin-top:8px !important;}

/* Inputs de precio más grandes y marcados */
#view-base .price-input,
#view-base .list-price-input,
#view-base input[name*="dod"],
#view-base input[name*="dxi"],
#view-base input[name*="lista"]{
  width:160px !important;
  min-height:58px !important;
  padding:10px 14px !important;
  border-radius:12px !important;
  border:1.8px solid #d58d89 !important;
  background:#fff7f7 !important;
  color:#751312 !important;
  font-weight:800 !important;
  box-shadow:0 1px 2px rgba(0,0,0,.04) !important;
}
#view-base .price-input:focus,
#view-base .list-price-input:focus,
#view-base input[name*="dod"]:focus,
#view-base input[name*="dxi"]:focus,
#view-base input[name*="lista"]:focus{border-color:#b11d1c !important; background:#fff !important; box-shadow:0 0 0 3px rgba(177,29,28,.12) !important;}

/* Separación mucho mayor entre DOD / DXI y SUGERIDO */
#view-base .bca-base-table col.col-dod{width:190px !important;}
#view-base .bca-base-table col.col-dxi{width:190px !important;}
#view-base .bca-base-table col.col-sugerido{width:220px !important;}
#view-base .bca-base-table thead th:nth-child(8),
#view-base .bca-base-table tbody td:nth-child(8),
#view-base .bca-base-table thead th:nth-child(9),
#view-base .bca-base-table tbody td:nth-child(9){padding-left:24px !important; padding-right:28px !important;}
#view-base .bca-base-table thead th:nth-child(10),
#view-base .bca-base-table tbody td:nth-child(10){padding-left:42px !important; padding-right:26px !important;}
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(8),
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(9){padding-left:24px !important; padding-right:28px !important;}
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(10){padding-left:42px !important; padding-right:26px !important;}

/* Sugerido más protagonista */
#view-base .sug-cell{padding-left:32px !important; padding-right:26px !important;}
#view-base .sug-value{font-size:20px !important; font-weight:900 !important; letter-spacing:.2px !important;}
#view-base .sug-pct{font-size:13px !important; font-weight:800 !important; margin-top:6px !important;}

/* Quitar líneas cortitas dentro de MLA principal / catálogo */
#view-base td:nth-child(2),
#view-base td:nth-child(2) *{box-shadow:none !important; background-image:none !important;}
#view-base td:nth-child(2) hr,
#view-base td:nth-child(2) .sep{display:none !important;}

/* Links sin puntitos ni subrayados raros */
#view-base td:nth-child(14),
#view-base td:nth-child(14) *{box-shadow:none !important; background-image:none !important; border-bottom:none !important; text-decoration:none !important;}

/* Header fijo sincronizado con nuevos anchos */
.bca-fixed-base-header .bca-fixed-header-table col.col-dod{width:190px !important;}
.bca-fixed-base-header .bca-fixed-header-table col.col-dxi{width:190px !important;}
.bca-fixed-base-header .bca-fixed-header-table col.col-sugerido{width:220px !important;}


/* v6.8.0 — más aire entre DXI y Sugerido */
#view-base .bca-base-table col.col-dxi{width:205px !important;}
#view-base .bca-base-table col.col-sugerido{width:245px !important;}
.bca-fixed-base-header .bca-fixed-header-table col.col-dxi{width:205px !important;}
.bca-fixed-base-header .bca-fixed-header-table col.col-sugerido{width:245px !important;}

#view-base .bca-base-table thead th:nth-child(10),
#view-base .bca-base-table tbody td:nth-child(10){
  padding-right:30px !important;
}
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(10){
  padding-right:30px !important;
}

#view-base .sug-value,
#view-base .sug-pct{
  position:relative;
  left:2px;
}


/* v6.9.0 — números de precios más grandes y uniformes */
#view-base .price-input,
#view-base .list-price-input,
#view-base input[name*="dod"],
#view-base input[name*="dxi"],
#view-base input[name*="lista"]{
  font-size:18px !important;
  font-weight:800 !important;
  min-height:60px !important;
  line-height:1.15 !important;
}

#view-base .readonly-price,
#view-base .calc-price,
#view-base .price-readonly,
#view-base .web-price,
#view-base .lista-value,
#view-base td.num{
  font-size:18px !important;
  font-weight:800 !important;
  line-height:1.15 !important;
  color:#111 !important;
}

#view-base .sug-value{
  font-size:22px !important;
  font-weight:900 !important;
  line-height:1.05 !important;
}
#view-base .sug-pct{
  font-size:16px !important;
  font-weight:800 !important;
  line-height:1.1 !important;
}

#view-base .price-input::placeholder,
#view-base .list-price-input::placeholder{
  font-size:16px !important;
}

@media(max-width:980px){
  #view-base .price-input,
  #view-base .list-price-input,
  #view-base input[name*="dod"],
  #view-base input[name*="dxi"],
  #view-base input[name*="lista"]{font-size:17px !important;}
  #view-base .readonly-price,
  #view-base .calc-price,
  #view-base .web-price,
  #view-base .lista-value,
  #view-base td.num{font-size:17px !important;}
  #view-base .sug-value{font-size:20px !important;}
  #view-base .sug-pct{font-size:15px !important;}
}


/* v7.0.0 — eliminar producto completo */
.product-form-actions .product-delete-button{
  margin-right:auto;
  background:#8f1716;
  color:#fff;
  border:1px solid #7a1312;
  box-shadow:0 3px 10px rgba(122,19,18,.16);
}
.product-form-actions .product-delete-button:hover{
  background:#6f100f;
  border-color:#6f100f;
}
.product-form-actions .product-delete-button:disabled{opacity:.6;cursor:wait;}
@media(max-width:700px){
  .product-form-actions .product-delete-button{margin-right:0;order:3;}
}


/* v7.1.0 — DOD WEB / DXI WEB más grandes + header fijo más legible */
#view-base .bca-base-table col.col-dod-web,
.bca-fixed-base-header .bca-fixed-header-table col.col-dod-web{width:165px !important;}
#view-base .bca-base-table col.col-dxi-web,
.bca-fixed-base-header .bca-fixed-header-table col.col-dxi-web{width:165px !important;}

#view-base .bca-base-table td:nth-child(11),
#view-base .bca-base-table td:nth-child(12){
  font-size:18px !important;
  font-weight:800 !important;
  color:#111 !important;
}
#view-base .bca-base-table td:nth-child(11) .readonly-price,
#view-base .bca-base-table td:nth-child(12) .readonly-price,
#view-base .bca-base-table td:nth-child(11) .calc-price,
#view-base .bca-base-table td:nth-child(12) .calc-price,
#view-base .bca-base-table td:nth-child(11) .web-price,
#view-base .bca-base-table td:nth-child(12) .web-price{
  font-size:18px !important;
  font-weight:800 !important;
  color:#111 !important;
  line-height:1.15 !important;
}

/* Header fijo: tipografía negra y más contraste */
.bca-fixed-base-header,
.bca-fixed-base-header .bca-fixed-header-table,
.bca-fixed-base-header .bca-fixed-header-table thead,
.bca-fixed-base-header .bca-fixed-header-table tr,
.bca-fixed-base-header .bca-fixed-header-table th{
  background:#f6f6f6 !important;
}
.bca-fixed-base-header .bca-fixed-header-table thead th,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-title,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid span{
  color:#111 !important;
  opacity:1 !important;
}
.bca-fixed-base-header .bca-fixed-header-table thead th .th-title{
  font-weight:800 !important;
}

/* Sacar línea/borde feo del header fijo */
.bca-fixed-base-header{
  border:none !important;
  box-shadow:none !important;
  background-image:none !important;
}
.bca-fixed-base-header::before,
.bca-fixed-base-header::after,
.bca-fixed-base-header .bca-fixed-header-table::before,
.bca-fixed-base-header .bca-fixed-header-table::after,
.bca-fixed-base-header .bca-fixed-header-table thead::before,
.bca-fixed-base-header .bca-fixed-header-table thead::after{
  display:none !important;
  content:none !important;
}
.bca-fixed-base-header .bca-fixed-header-table,
.bca-fixed-base-header .bca-fixed-header-table thead,
.bca-fixed-base-header .bca-fixed-header-table tr,
.bca-fixed-base-header .bca-fixed-header-table th{
  border-top:none !important;
  outline:none !important;
  box-shadow:none !important;
  background-image:none !important;
}

/* línea divisoria suave sólo abajo, no arriba */
.bca-fixed-base-header .bca-fixed-header-table thead th{
  border-bottom:1px solid #e8e8e8 !important;
}


/* v7.2.0 — Stock sin ZF + BOEDO/FULL más anchos */
#view-base .bca-base-table col.col-stock{
  width:220px !important;
}
#view-base .bca-base-table .stockcells{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(86px, 1fr)) !important;
  gap:14px !important;
  width:100% !important;
  min-width:190px !important;
  align-items:center !important;
}
#view-base .bca-base-table .stockitem{
  min-width:86px !important;
  width:100% !important;
}
#view-base .bca-base-table .stockchip{
  display:block !important;
  width:100% !important;
  min-width:86px !important;
  padding:9px 14px !important;
  font-size:16px !important;
  line-height:1.15 !important;
  font-weight:800 !important;
  border-radius:11px !important;
  white-space:nowrap !important;
  word-break:keep-all !important;
  overflow-wrap:normal !important;
  text-align:center !important;
  font-variant-numeric:tabular-nums !important;
}
#view-base .bca-base-table thead th:nth-child(5) .th-subgrid-stock{
  grid-template-columns:repeat(2, minmax(86px, 1fr)) !important;
  gap:14px !important;
}
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(5) .th-subgrid-stock{
  grid-template-columns:repeat(2, minmax(86px, 1fr)) !important;
  gap:14px !important;
}
.bca-fixed-base-header .bca-fixed-header-table col.col-stock{
  width:220px !important;
}


/* v7.3.0 — Cuotas y precios editables en gris, sin rojo */
#view-base .cuota-tag,
#view-base .cuota-tag.sin-cuotas{
  border-color:#bfc2c5 !important;
  color:#292b2e !important;
  background:#f5f5f5 !important;
  box-shadow:0 1px 3px rgba(0,0,0,.05) !important;
}

#view-base .cuotas-toggle{
  color:#66686b !important;
  text-decoration-color:#b9bbbd !important;
}
#view-base .cuotas-toggle:hover{
  color:#292b2e !important;
}

/* DOD / DXI / Precio de lista */
#view-base .price-input,
#view-base .list-price-input,
#view-base input[name*="dod"],
#view-base input[name*="dxi"],
#view-base input[name*="lista"]{
  border-color:#bfc2c5 !important;
  background:#f5f5f5 !important;
  color:#111 !important;
  box-shadow:0 1px 2px rgba(0,0,0,.035) !important;
}

#view-base .price-input:hover,
#view-base .list-price-input:hover,
#view-base input[name*="dod"]:hover,
#view-base input[name*="dxi"]:hover,
#view-base input[name*="lista"]:hover{
  border-color:#9ea1a4 !important;
  background:#f3f3f3 !important;
}

#view-base .price-input:focus,
#view-base .list-price-input:focus,
#view-base input[name*="dod"]:focus,
#view-base input[name*="dxi"]:focus,
#view-base input[name*="lista"]:focus{
  border-color:#777a7d !important;
  background:#fff !important;
  box-shadow:0 0 0 3px rgba(90,90,90,.10) !important;
  outline:none !important;
}


/* v7.5.0 — costo fusionado en familias de variantes */
#view-base td.costo.variant-shared-cost{
  vertical-align:middle !important;
  font-weight:800 !important;
  color:#222 !important;
  white-space:nowrap !important;
}


/* v7.6.0 — Ventas mucho más grandes y legibles */
#view-base .bca-base-table col.col-ventas{width:250px !important;}
.bca-fixed-base-header .bca-fixed-header-table col.col-ventas{width:250px !important;}

#view-base .bca-base-table thead th:nth-child(6) .th-subgrid-ventas,
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(6) .th-subgrid-ventas{
  display:grid !important;
  grid-template-columns:repeat(4, minmax(36px, 1fr)) !important;
  gap:18px !important;
  align-items:center !important;
  justify-items:center !important;
}

#view-base .weeklabels{
  display:grid !important;
  grid-template-columns:repeat(4, minmax(36px, 1fr)) !important;
  gap:18px !important;
  align-items:end !important;
  justify-items:center !important;
}
#view-base .weeklabels div{
  font-size:18px !important;
  font-weight:900 !important;
  min-width:36px !important;
  text-align:center !important;
  line-height:1 !important;
}

#view-base .weeksales,
#view-base .ventas-chart{
  display:grid !important;
  grid-template-columns:repeat(4, minmax(36px, 1fr)) !important;
  gap:18px !important;
  align-items:end !important;
  justify-items:center !important;
}

#view-base .weekbar{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:8px !important;
  min-width:36px !important;
}

#view-base .weekbar .barbox{
  height:44px !important;
  display:flex !important;
  align-items:flex-end !important;
  justify-content:center !important;
}

#view-base .weekbar .barfill{
  width:12px !important;
  min-height:6px !important;
  border-radius:999px !important;
}

#view-base .weekbar .num{
  font-size:16px !important;
  font-weight:900 !important;
  line-height:1 !important;
  white-space:nowrap !important;
}

@media (max-width: 1200px){
  #view-base .bca-base-table col.col-ventas,
  .bca-fixed-base-header .bca-fixed-header-table col.col-ventas{width:230px !important;}
  #view-base .bca-base-table thead th:nth-child(6) .th-subgrid-ventas,
  .bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(6) .th-subgrid-ventas,
  #view-base .weeklabels,
  #view-base .weeksales,
  #view-base .ventas-chart{
    gap:14px !important;
    grid-template-columns:repeat(4, minmax(32px, 1fr)) !important;
  }
  #view-base .weeklabels div{font-size:17px !important;}
  #view-base .weekbar{min-width:32px !important;}
  #view-base .weekbar .barbox{height:40px !important;}
  #view-base .weekbar .barfill{width:11px !important;}
  #view-base .weekbar .num{font-size:15px !important;}
}


/* v7.7.0 — header superior mucho más grande y uniforme */
#view-base .bca-base-table thead th,
.bca-fixed-base-header .bca-fixed-header-table thead th{
  vertical-align:middle !important;
  text-align:center !important;
  padding-top:14px !important;
  padding-bottom:14px !important;
}

#view-base .bca-base-table thead th .th-title,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-title{
  font-size:16px !important;
  line-height:1.05 !important;
  font-weight:900 !important;
  letter-spacing:.2px !important;
  color:#111 !important;
  text-transform:uppercase !important;
}

#view-base .bca-base-table thead th .th-subgrid,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid{
  margin-top:8px !important;
  gap:12px !important;
  color:#111 !important;
}

#view-base .bca-base-table thead th .th-subgrid span,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid span,
#view-base .bca-base-table thead th .th-subgrid div,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid div{
  font-size:16px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:.1px !important;
  color:#111 !important;
  text-transform:uppercase !important;
}

#view-base .bca-base-table thead th .th-subgrid-stock,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid-stock{
  grid-template-columns:repeat(2, minmax(60px,1fr)) !important;
  gap:16px !important;
}

#view-base .bca-base-table thead th .th-subgrid-ventas,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid-ventas{
  grid-template-columns:repeat(4, minmax(34px,1fr)) !important;
  gap:14px !important;
}


/* v7.8.0 — Sugerido: contenido centrado y alineado igual en todos los cuadros */
#view-base td.sug-cell{
  vertical-align:middle !important;
  text-align:center !important;
  padding:0 18px !important;
}

#view-base td.sug-cell .sug-value,
#view-base td.sug-cell .sug-pct{
  position:static !important;
  left:auto !important;
  right:auto !important;
  width:100% !important;
  text-align:center !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

#view-base td.sug-cell .sug-value{
  display:block !important;
  margin-top:0 !important;
  line-height:1.05 !important;
}

#view-base td.sug-cell .sug-pct{
  display:block !important;
  margin-top:6px !important;
  line-height:1 !important;
}


/* v7.9.0 — stock y ventas con header del mismo tamaño que el resto */
#view-base .bca-base-table thead th:nth-child(5) .th-title,
#view-base .bca-base-table thead th:nth-child(6) .th-title,
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(5) .th-title,
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(6) .th-title{
  font-size:14px !important;
  line-height:1 !important;
  padding-bottom:12px !important;
}

#view-base .bca-base-table thead th:nth-child(5) .th-subgrid span,
#view-base .bca-base-table thead th:nth-child(6) .th-subgrid span,
#view-base .bca-base-table thead th:nth-child(5) .th-subgrid div,
#view-base .bca-base-table thead th:nth-child(6) .th-subgrid div,
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(5) .th-subgrid span,
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(6) .th-subgrid span,
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(5) .th-subgrid div,
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(6) .th-subgrid div{
  font-size:14px !important;
  line-height:1 !important;
}

/* v75: encabezado unificado, mismo tamaño y legibilidad en header fijo */
#view-base .bca-base-table thead th,
.bca-fixed-base-header .bca-fixed-header-table thead th{
  padding-top:14px;
  padding-bottom:14px;
  vertical-align:middle;
}

#view-base .bca-base-table thead th:not(:nth-child(5)):not(:nth-child(6)),
.bca-fixed-base-header .bca-fixed-header-table thead th:not(:nth-child(5)):not(:nth-child(6)){
  font-size:14px !important;
  font-weight:800;
  letter-spacing:.2px;
  color:#111 !important;
  text-align:center;
  white-space:nowrap;
}

#view-base .bca-base-table thead th:nth-child(5),
#view-base .bca-base-table thead th:nth-child(6),
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(5),
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(6){
  text-align:center;
  vertical-align:middle;
}

#view-base .bca-base-table thead th .th-title,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-title{
  display:block;
  width:100%;
  text-align:center;
  font-size:14px !important;
  font-weight:800;
  letter-spacing:.2px;
  color:#111 !important;
  line-height:1.05;
  white-space:nowrap;
}

#view-base .bca-base-table thead th .th-subgrid,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid{
  display:grid;
  width:100%;
  gap:6px;
  margin-top:4px;
  justify-items:center;
  align-items:center;
}

#view-base .bca-base-table thead th .th-subgrid span,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid span{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  text-align:center;
  font-size:14px !important;
  font-weight:800;
  letter-spacing:.2px;
  color:#111 !important;
  line-height:1.05;
  white-space:nowrap;
}

#view-base .bca-base-table thead th .th-subgrid-stock,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid-stock{
  grid-template-columns:repeat(2, minmax(64px, 1fr));
}

#view-base .bca-base-table thead th .th-subgrid-ventas,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid-ventas{
  grid-template-columns:repeat(4, minmax(34px, 1fr));
}

/* v76: centrar siempre el bloque de precio sugerido */
#view-base .bca-base-table td.sug-cell{
  text-align:center !important;
  vertical-align:middle !important;
  padding:0 !important;
}

#view-base .bca-base-table td.sug-cell .sug-value,
#view-base .bca-base-table td.sug-cell .sug-pct,
#view-base .bca-base-table td.sug-cell .dash{
  display:block;
  width:100%;
  text-align:center !important;
  margin-left:auto;
  margin-right:auto;
}

#view-base .bca-base-table td.sug-cell .sug-value{
  margin-top:0;
}

#view-base .bca-base-table td.sug-cell .sug-pct{
  margin-top:4px;
}


/* v8.0.2 — SUGERIDO usa una única estructura y no depende del nth-child */
#view-base .bca-base-table tbody td.sug-cell{
  position:relative !important;
  padding:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  text-align:center !important;
  vertical-align:middle !important;
  overflow:hidden !important;
}

/* El contenido ocupa exactamente toda la celda/rowspan y se centra por flex.
   Así queda igual aunque el TD sea el hijo 8, 9, 10, etc. por los rowspans. */
#view-base .bca-base-table tbody td.sug-cell > .sug-inner{
  position:absolute !important;
  inset:0 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  height:auto !important;
  margin:0 !important;
  padding:0 12px !important;
  text-align:center !important;
}

#view-base .bca-base-table tbody td.sug-cell .sug-value,
#view-base .bca-base-table tbody td.sug-cell .sug-pct{
  position:static !important;
  left:auto !important;
  right:auto !important;
  top:auto !important;
  bottom:auto !important;
  display:block !important;
  width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  text-align:center !important;
  transform:none !important;
}

#view-base .bca-base-table tbody td.sug-cell .sug-value{
  margin-top:0 !important;
  line-height:1.05 !important;
}

#view-base .bca-base-table tbody td.sug-cell .sug-pct{
  margin-top:6px !important;
  line-height:1 !important;
}

/* v8.0.4 — la columna Costo se veía demasiado chica, se sube tamaño y peso.
   Selector con más especificidad a propósito (id + 2 clases + elemento) para
   que gane siempre, sin depender de estar al final del archivo. */
#view-base .bca-base-table tbody td.costo{
  font-size:18px !important;
  font-weight:800 !important;
  color:var(--gray-900) !important;
}
#view-base .bca-base-table tbody td.costo.variant-shared-cost{
  font-size:18px !important;
  font-weight:800 !important;
}

/* v8.0.6 — un poco más grandes MLA y SKU/Categoría (columna izquierda de datos) */
#view-base .bca-base-table tbody td .tipo-badge{font-size:11px !important; padding:4px 9px !important;}
#view-base .bca-base-table tbody td .mla-code,
#view-base .bca-base-table tbody td .mla-group-main{font-size:14.5px !important; font-weight:700 !important;}
#view-base .bca-base-table tbody td .mla-group-cat{font-size:12.5px !important;}
#view-base .bca-base-table tbody td .sku-code{font-size:18px !important; font-weight:700 !important;}
#view-base .bca-base-table tbody td .cat-pill{font-size:13.5px !important; padding:5px 10px !important;}

/* v8.6.3 — botón "Chequeo de Promos": chip negro con ícono de link externo
   a la izquierda, en vez del chip verde azulado de la versión anterior. */
.bca-price-check-link{
  background:#111111 !important;
  color:#ffffff !important;
  font-size:14px !important;
  font-weight:700 !important;
  padding:9px 18px 9px 15px !important;
  border-radius:999px !important;
  box-shadow:none !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:7px !important;
}
.bca-price-check-link:hover{background:#2c2c2c !important;color:#ffffff !important;}
.bca-price-check-link svg{flex-shrink:0;}
/* El .topbar tiene justify-content:flex-start (ver "Ajustes v2.3.0" más arriba),
   así que separamos el botón empujándolo al extremo derecho con margin-left:auto
   en el div que envuelve el link, que es el que realmente es ítem flex de .topbar. */
.topbar .bca-price-check-wrap{margin-left:auto;}

/* v8.1.1 — "Chequeo de Promos": Panel Principal muestra solo Foto, MLA,
   SKU/Categoría, Cuotas, DOD, DXI y Precio de Lista. El resto de columnas
   se ocultan poniendo display:none en el <col> correspondiente, lo que
   también saca la celda del header y del cuerpo en toda fila (sin pelearse
   con los rowspan, a diferencia de nth-child).
   Las pestañas ajenas a esta página se ocultan con !important porque
   applyPermissions() puede reactivar el atributo hidden según los
   permisos del usuario (por ejemplo "Cambios de precios" si tiene
   permiso de auditoría) — acá no corresponde mostrarlas nunca. */
/* v8.1.2 — La técnica anterior (display:none en <col>) no la respetan los
   navegadores para tablas HTML; corregido ocultando directamente cada celda
   por su clase (evita también el problema de rowspan con nth-child). */
.bca-price-check-app .costo,
.bca-price-check-app .col-costo,
.bca-price-check-app .col-stock,
.bca-price-check-app .col-ventas,
.bca-price-check-app .sug-cell,
.bca-price-check-app .col-sugerido,
.bca-price-check-fixed-header .costo,
.bca-price-check-fixed-header .col-costo,
.bca-price-check-fixed-header .col-stock,
.bca-price-check-fixed-header .col-ventas,
.bca-price-check-fixed-header .sug-cell,
.bca-price-check-fixed-header .col-sugerido{
  display:none !important;
}
.bca-price-check-app .tab[data-tab="producto"],
.bca-price-check-app .tab[data-tab="costos"],
.bca-price-check-app .tab[data-tab="carga"],
.bca-price-check-app .tab[data-tab="cuotas"],
.bca-price-check-app .tab[data-tab="semaforo"],
.bca-price-check-app .tab[data-tab="precios"],
.bca-price-check-app #bca-new-product{
  display:none !important;
}

/* v8.1.4 — nota "Falta el link" cuando no hay URL cargada para Ver publicación / Ver en VS */
.mla-link-missing,.vs-link-missing{
  color:var(--gray-400,#bbb) !important;
  cursor:default;
  border-bottom-style:dotted;
  opacity:.75;
}
.link-missing-note{
  display:block;
  font-size:9.5px;
  color:#b91c1c;
  font-style:italic;
  margin-top:1px;
}

/* v8.1.9 — elegido "verde clásico" para stock disponible (>0), en vez de
   resaltar el 0; el 0 queda gris apagado, discreto. */
#view-base .stockchip:not(.zero),
.bca-fixed-base-header .stockchip:not(.zero){
  background:#EAF3DE !important;
  color:#27500A !important;
  opacity:1 !important;
  font-weight:700 !important;
}
#view-base .stockchip.zero,
.bca-fixed-base-header .stockchip.zero{
  background:#f0f0f0 !important;
  color:#a3a3a3 !important;
  opacity:1 !important;
  font-weight:600 !important;
}

/* v8.2.0 — advertencia cuando DOD/DXI/DOD WEB/DXI WEB/Sugerido superan el
   Precio de Lista. La celda pasa a flex-column centrado para que el cartel
   quede alineado con el valor sin romper el centrado que ya tenía. */
#view-base .bca-base-table tbody td.price-over-list{
  background:#FCEBEB !important;
  border:1.5px solid #E24B4A !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:5px !important;
  padding:8px 6px !important;
}
#view-base .bca-base-table tbody td.price-over-list .price-input,
#view-base .bca-base-table tbody td.price-over-list .readonly-price,
#view-base .bca-base-table tbody td.price-over-list .cell-value,
#view-base .bca-base-table tbody td.price-over-list .sug-inner{
  margin:0 !important;
}
.price-warning-tag{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:3px 8px;
  border-radius:6px;
  background:#F09595;
  color:#501313;
  font-size:11px;
  font-weight:700;
  white-space:nowrap;
  line-height:1.3;
}
.price-warning-tag::before{
  content:"⚠";
  font-size:12px;
  line-height:1;
}

/* v8.3.2 — "Principal asociado" no aplica para filas tipo Principal */
.product-listing-row input:disabled{
  background:var(--gray-100);
  color:var(--gray-600);
  cursor:not-allowed;
}

/* v8.4.1 — producto guardado sin publicaciones todavía (para completar después) */
.mla-code-empty{
  font-size:11px;
  font-style:italic;
  color:var(--gray-600);
}

/* v8.6.0 — banner de bloqueo de edición (solo lectura mientras otra persona edita) */
.bca-lock-banner{
  background:#fff3cd;
  color:#664d03;
  border-bottom:1px solid #ffe69c;
  padding:11px 28px;
  font-size:13px;
  font-weight:600;
  text-align:center;
}

/* v8.8.2 — modal de confirmación propio (reemplaza el confirm() nativo del navegador) */
#bca-confirm-message{
  color:var(--gray-700);
  font-size:14px;
  line-height:1.5;
  margin:0;
}

/* v8.8.4 — "DUPLICADO" ahora se calcula en vivo (antes quedaba fijo desde la
   importación del Excel y nunca se actualizaba); se agrega el aviso de con
   qué otro SKU está pisado, tanto en la tabla como en el editor de producto. */
.product-listing-row .mla-field-wrap{display:flex;flex-direction:column;gap:3px;min-width:0;}
.mla-dup-warning{
  font-size:10.5px;
  color:#b91c1c;
  font-weight:600;
  line-height:1.3;
}

/* v8.9.15 — Sugerido menos ancha (venía en 245px), a pedido, de a una
   columna por vez. */
#view-base .bca-base-table col.col-sugerido{width:160px !important;}
.bca-fixed-base-header .bca-fixed-header-table col.col-sugerido{width:160px !important;}

/* v8.9.17 — SKU/Categoría menos ancha (venía en 300px), de a una columna
   por vez. */
#view-base .bca-base-table col.col-sku{width:180px !important;}
.bca-fixed-base-header .bca-fixed-header-table col.col-sku{width:180px !important;}

/* v8.9.18 — texto de categoría más chico, para que entre en la columna
   SKU/Categoría ya achicada (v136) sin sobresalir. */
#view-base .bca-base-table tbody td .cat-pill{
  font-size:9.5px !important;
  padding:3px 7px !important;
  white-space:nowrap !important;
  line-height:1.3 !important;
}

/* v8.9.19 — MLA menos ancha (venía en 210px), de a una columna por vez. */
#view-base .bca-base-table col.col-mla{width:180px !important;}
.bca-fixed-base-header .bca-fixed-header-table col.col-mla{width:180px !important;}

/* v8.9.22 — DOD/DXI/Precio de Lista más angostas + recuadros de precio a
   100px (mismo alto de siempre, 46px, sin tocar). */
/* v8.9.23 — DOD/DXI/Precio de Lista más angostas de nuevo, recuadro a 110px,
   y se centra el recuadro dentro de su celda (el header ya estaba centrado,
   pero el recuadro colgaba a la izquierda, por eso se veían desalineados). */
/* v8.9.26 / paquete v145 — DOD, DXI y Precio de Lista sin superposición.
   El input conserva 110px; la celda incluye el padding real de la tabla y no
   usa márgenes artificiales hacia la columna vecina. */
#view-base .bca-base-table col.col-dod{width:150px !important;}
#view-base .bca-base-table col.col-dxi{width:150px !important;}
#view-base .bca-base-table col.col-lista{width:180px !important;}
.bca-fixed-base-header .bca-fixed-header-table col.col-dod{width:150px !important;}
.bca-fixed-base-header .bca-fixed-header-table col.col-dxi{width:150px !important;}
.bca-fixed-base-header .bca-fixed-header-table col.col-lista{width:180px !important;}
#view-base .price-input,#view-base .list-price-input{width:110px !important;max-width:110px !important;margin-left:auto !important;margin-right:auto !important;display:block !important;box-sizing:border-box !important;}
#view-base .bca-base-table tbody td:has(> .price-input),
#view-base .bca-base-table tbody td:has(> .list-price-input),
#view-base .bca-base-table tbody td:has(> .readonly-price.calc-price){
  text-align:center !important;
}
#view-base .bca-base-table col.col-links{width:200px !important;}
.bca-fixed-base-header .bca-fixed-header-table col.col-links{width:200px !important;}

/* ===== v8.9.26 / paquete v145: filtro histórico ===== */
.bca-base-controls{position:relative;}
.bca-history-filter-wrap{position:relative;display:inline-flex;align-items:center;}
.bca-filter-btn{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;}
.bca-history-popover{position:absolute;left:0;top:calc(100% + 8px);z-index:80;width:min(360px,calc(100vw - 48px));background:#fff;border:1px solid var(--gray-300);border-radius:12px;padding:14px;box-shadow:0 16px 42px rgba(17,17,17,.16);}
.bca-history-popover[hidden]{display:none;}
.bca-history-popover-head{display:grid;gap:4px;margin-bottom:12px;}
.bca-history-popover-head strong{font-size:13px;color:var(--ink);}
.bca-history-popover-head span{font-size:11px;line-height:1.45;color:var(--gray-600);}
.bca-history-popover label{display:grid;gap:6px;font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.25px;color:var(--gray-600);}
.bca-history-popover input[type=date]{height:40px;border:1px solid var(--gray-300);border-radius:8px;padding:0 10px;font:600 12px 'Inter',sans-serif;color:var(--ink);background:#fff;}
.bca-history-popover-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px;}
.bca-history-popover-actions .btn{padding:8px 12px;font-size:12px;}
.bca-history-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px;padding:11px 13px;background:#fff7f7;border:1px solid #ebc8c7;border-radius:10px;color:#57100f;}
.bca-history-banner[hidden]{display:none;}
.bca-history-banner>div{display:grid;gap:2px;}
.bca-history-banner strong{font-size:12.5px;}
.bca-history-banner span{font-size:10.5px;color:#7c5a59;line-height:1.4;}
.bca-history-banner .btn{padding:7px 11px;font-size:11px;white-space:nowrap;}

/* ===== v8.9.26 / paquete v145: Movimientos ===== */
.movement-summary{display:grid;grid-template-columns:repeat(3,minmax(150px,220px));gap:12px;margin-bottom:14px;}
.movement-summary-card{background:#fff;border:1px solid var(--gray-300);border-radius:12px;padding:14px 16px;box-shadow:0 2px 8px rgba(17,17,17,.04);}
.movement-summary-card strong{display:block;font-family:'Oswald',sans-serif;font-size:25px;line-height:1;color:var(--ink);}
.movement-summary-card span{display:block;margin-top:6px;font-size:11px;color:var(--gray-600);font-weight:600;text-transform:uppercase;letter-spacing:.35px;}
.movement-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#fff;border:1px solid var(--gray-300);border-radius:12px;padding:12px;margin-bottom:10px;}
.movement-filters input,.movement-filters select{height:36px;border:1px solid var(--gray-300);border-radius:8px;background:#fff;padding:0 10px;font:600 12px 'Inter',sans-serif;color:var(--ink);}
.movement-filters input[type=search]{min-width:240px;flex:1 1 240px;}
.movement-status{min-height:20px;margin:4px 0 8px;font-size:12px;font-weight:600;color:var(--gray-600);}
.movement-empty{background:#fff;border:1px solid var(--gray-300);border-radius:12px;padding:28px;text-align:center;color:var(--gray-600);font-size:13px;}
.movement-day{margin:18px 0 8px;font:700 18px 'Oswald',sans-serif;text-transform:capitalize;color:var(--ink);}
.movement-list{max-width:1100px;}
.movement-item{display:grid;grid-template-columns:24px minmax(0,1fr);gap:0;background:#fff;border:1px solid var(--gray-300);border-radius:12px;margin-bottom:8px;overflow:hidden;box-shadow:0 2px 8px rgba(17,17,17,.035);}
.movement-item-rail{position:relative;display:flex;justify-content:center;padding-top:18px;background:#fafafa;border-right:1px solid #f0f0f0;}
.movement-dot{width:8px;height:8px;border-radius:50%;background:#888;box-shadow:0 0 0 3px #fff;border:1px solid #ccc;}
.movement-dot-prices{background:#b11d1c;border-color:#b11d1c;}
.movement-dot-costs{background:#111;border-color:#111;}
.movement-dot-import{background:#6b7280;border-color:#6b7280;}
.movement-dot-products{background:#8b5e3c;border-color:#8b5e3c;}
.movement-dot-config{background:#73528f;border-color:#73528f;}
.movement-item-body{padding:13px 14px;min-width:0;}
.movement-item-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;}
.movement-item-title{display:flex;align-items:center;gap:9px;min-width:0;}
.movement-item-title strong{font-size:12.5px;color:var(--ink);line-height:1.35;}
.movement-area{display:inline-flex;align-items:center;border:1px solid var(--gray-300);border-radius:999px;padding:3px 7px;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.25px;color:var(--gray-600);white-space:nowrap;background:#fafafa;}
.movement-item-top time{font-size:10.5px;color:var(--gray-600);white-space:nowrap;}
.movement-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px;font-size:10.5px;color:var(--gray-600);}
.movement-meta span+span:before{content:'·';margin-right:10px;color:#bbb;}
.movement-change{display:flex;align-items:center;gap:9px;margin-top:10px;padding:8px 10px;background:#fafafa;border-radius:8px;font:700 11px var(--mono);overflow:auto;}
.movement-change span{color:#777;}
.movement-change b{color:#aaa;}
.movement-change strong{color:var(--ink);}
@media(max-width:900px){
  .movement-summary{grid-template-columns:1fr;}
  .movement-item-top{display:grid;gap:6px;}
  .bca-history-banner{align-items:flex-start;flex-direction:column;}
}


/* ===== v8.9.27 / paquete v146: alineación exacta de encabezados ===== */
/* El encabezado original y el fijo comparten la misma caja y el mismo modelo
   de tabla; esto evita el corrimiento acumulativo de unos píxeles al fijarlo. */
#view-base .bca-base-table thead th,
.bca-fixed-base-header .bca-fixed-header-table thead th{
  text-align:center !important;
  vertical-align:middle !important;
}
.bca-fixed-base-header .bca-fixed-header-table{
  border-collapse:separate !important;
  border-spacing:0 !important;
  table-layout:fixed !important;
}
.bca-fixed-base-header .bca-fixed-header-table col{
  box-sizing:border-box !important;
}
/* STOCK tiene dos subcolumnas reales: BOEDO y FULL. El grid anterior reservaba
   tres lugares y dejaba visualmente el bloque corrido. */
#view-base .bca-base-table thead th:nth-child(5) .th-subgrid-stock,
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(5) .th-subgrid-stock{
  grid-template-columns:repeat(2,minmax(34px,1fr)) !important;
  width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
#view-base .bca-base-table thead th:nth-child(6) .th-subgrid-ventas,
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(6) .th-subgrid-ventas{
  width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
#view-base .bca-base-table thead th .th-title + .th-subgrid,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-title + .th-subgrid{
  margin-left:0 !important;
}

/* Histórico por fecha solamente. */
.bca-history-popover input[type=date]{
  width:100%;
  min-width:0;
}

/* ===== v8.9.28 / paquete v147: columna LINKS más compacta ===== */
/* Reduce espacio vacío sin apretar los accesos. Se mantienen 18px de aire a
   ambos lados y el mismo espaciado vertical entre los tres links. */
#view-base .bca-base-table col.col-links{
  width:170px !important;
}
.bca-fixed-base-header .bca-fixed-header-table col.col-links{
  width:170px !important;
}
#view-base .bca-base-table thead th:nth-child(14),
#view-base .bca-base-table tbody td:nth-child(14),
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(14){
  padding-left:18px !important;
  padding-right:18px !important;
}
#view-base .links-cell,
#view-base td.col-links,
#view-base .bca-links-cell{
  padding-left:18px !important;
  padding-right:18px !important;
}


/* ===== v8.9.29 / paquete v148: DOD WEB y DXI WEB más compactas ===== */
/* Ambas columnas muestran un único precio centrado; 140px conserva aire lateral
   suficiente y recupera 50px de ancho total respecto de los 165px anteriores. */
#view-base .bca-base-table col.col-dod-web,
.bca-fixed-base-header .bca-fixed-header-table col.col-dod-web{
  width:140px !important;
}
#view-base .bca-base-table col.col-dxi-web,
.bca-fixed-base-header .bca-fixed-header-table col.col-dxi-web{
  width:140px !important;
}
#view-base .bca-base-table thead th:nth-child(11),
#view-base .bca-base-table thead th:nth-child(12),
#view-base .bca-base-table tbody td:nth-child(11),
#view-base .bca-base-table tbody td:nth-child(12),
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(11),
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(12){
  text-align:center !important;
}


/* ===== v8.9.30 / paquete v149: STOCK más compacto ===== */
/* BOEDO y FULL pasan a compartir una columna total de 180px. Se conserva aire
   entre ambos chips y se eliminan mínimos antiguos que forzaban desborde. */
#view-base .bca-base-table col.col-stock,
.bca-fixed-base-header .bca-fixed-header-table col.col-stock{
  width:180px !important;
}
#view-base .bca-base-table .stockcells{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:10px !important;
  min-width:0 !important;
  width:100% !important;
}
#view-base .bca-base-table .stockitem{
  min-width:0 !important;
  width:100% !important;
}
#view-base .bca-base-table .stockchip{
  min-width:0 !important;
  width:100% !important;
  padding-left:10px !important;
  padding-right:10px !important;
}
#view-base .bca-base-table thead th:nth-child(5) .th-subgrid-stock,
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(5) .th-subgrid-stock{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:10px !important;
}

/* ===== v8.9.31 / paquete v150: VENTAS más compacta y números más legibles ===== */
/* S1–S4 comparten 200px totales. Se reduce el aire sobrante manteniendo una
   separación cómoda y se agrandan únicamente los valores de ventas. */
#view-base .bca-base-table col.col-ventas,
.bca-fixed-base-header .bca-fixed-header-table col.col-ventas{
  width:200px !important;
}
#view-base .bca-base-table thead th:nth-child(6) .th-subgrid-ventas,
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(6) .th-subgrid-ventas,
#view-base .weekchart,
#view-base .weeksales,
#view-base .ventas-chart{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:8px !important;
  width:100% !important;
  min-width:0 !important;
}
#view-base .weekbar{
  min-width:0 !important;
  gap:7px !important;
}
#view-base .weekbar .num{
  font-size:18px !important;
  font-weight:900 !important;
  line-height:1 !important;
}
@media (max-width:1200px){
  #view-base .bca-base-table col.col-ventas,
  .bca-fixed-base-header .bca-fixed-header-table col.col-ventas{
    width:200px !important;
  }
  #view-base .weekbar .num{
    font-size:18px !important;
  }
}

/* ===== v8.9.32 / paquete v151: STOCK y MLA más legibles ===== */
/* STOCK: se agrandan solamente los valores dentro de BOEDO/FULL. */
#view-base .bca-base-table .stockchip{
  font-size:16px !important;
  font-weight:900 !important;
  line-height:1.05 !important;
}

/* MLA: más jerarquía visual y separación clara entre tipo y código. */
#view-base .bca-base-table td:nth-child(2) .tipo-badge{
  font-size:11px !important;
  line-height:1 !important;
  padding:4px 9px !important;
  margin-bottom:7px !important;
  display:inline-block !important;
}
#view-base .bca-base-table td:nth-child(2) .mla-code,
#view-base .bca-base-table td:nth-child(2) .mla-group-main,
#view-base .bca-base-table td:nth-child(2) .mla-group-cat{
  font-size:15px !important;
  font-weight:800 !important;
  line-height:1.25 !important;
}


/* v8.9.28 / paquete v152 — auto-fit de Base Comercial para que entre completa
   sin depender del scroll horizontal, pero viéndose lo más grande posible. */
#view-base .bca-base-tablecard.fit-active{
  overflow-x:hidden !important;
}
#view-base .bca-base-fit-stage{
  transform-origin:left top;
  will-change:transform;
}
#view-base .bca-base-tablecard.fit-active .bca-base-fit-stage{
  margin:0;
}
#view-base .bca-base-topscroll-shell.is-fit-hidden,
#view-base .bca-base-topscroll.is-fit-hidden{
  display:none !important;
}


/* v8.9.33 / paquete v153 — el header fijo replica la escala del auto-fit. */
.bca-fixed-base-header .bca-fixed-header-table{
  transform-origin:left top !important;
}


/* v8.9.35 / paquete v155 — evita el flash de la tabla sin auto-fit mientras carga.
   La geometría sigue existiendo para poder medirla, pero no se pinta hasta
   que el cálculo de escala inicial ya está aplicado. */
#view-base .bca-base-tablecard.bca-fit-pending{
  overflow-x:hidden !important;
}
#view-base .bca-base-tablecard.bca-fit-pending .bca-base-table{
  visibility:hidden !important;
  opacity:0 !important;
}
#view-base .bca-base-tablecard.bca-fit-ready .bca-base-table{
  visibility:visible !important;
  opacity:1 !important;
}
#view-base .bca-base-topscroll-shell:has(+ .bca-base-tablecard.bca-fit-pending),
#view-base .bca-base-topscroll-shell.is-fit-pending{
  display:none !important;
}


/* v8.9.36 / paquete v156 — descuento especial por producto/familia. */
.product-special-discount-card .bca-special-discount-toggle{
  display:flex !important;
  align-items:flex-start !important;
  gap:12px !important;
  padding:14px 16px !important;
  border:1px solid #e2e2e2 !important;
  border-radius:10px !important;
  background:#fafafa !important;
  cursor:pointer !important;
}
.product-special-discount-card .bca-special-discount-toggle input{
  width:18px !important;
  height:18px !important;
  margin:2px 0 0 !important;
  flex:0 0 auto !important;
  accent-color:#b11d1c;
}
.product-special-discount-card .bca-special-discount-toggle>span{
  display:grid !important;
  gap:4px !important;
  color:#222 !important;
}
.product-special-discount-card .bca-special-discount-toggle strong{
  font-size:13px !important;
  font-weight:800 !important;
}
.product-special-discount-card .bca-special-discount-toggle small{
  font-size:11px !important;
  line-height:1.45 !important;
  color:#777 !important;
  font-weight:500 !important;
}
#view-base .bca-special-discount-price-cell{
  vertical-align:middle !important;
  text-align:center !important;
}
#view-base .bca-special-discount-factor{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:5px !important;
  margin:0 auto 8px !important;
  font-family:var(--mono) !important;
  font-size:12px !important;
  line-height:1 !important;
  font-weight:900 !important;
  color:#777 !important;
  white-space:nowrap !important;
}
#view-base .bca-special-discount-factor-input{
  width:58px !important;
  max-width:58px !important;
  height:28px !important;
  min-height:28px !important;
  box-sizing:border-box !important;
  padding:3px 6px !important;
  margin:0 !important;
  border:1px solid #d7bf7a !important;
  border-radius:7px !important;
  background:#fff9e8 !important;
  color:#4d3b00 !important;
  text-align:center !important;
  font-family:var(--mono) !important;
  font-size:12px !important;
  font-weight:900 !important;
  box-shadow:none !important;
}
#view-base .bca-special-discount-factor-input:focus{
  outline:3px solid rgba(177,29,28,.08) !important;
  border-color:#b78d20 !important;
  background:#fff !important;
}


/* v8.9.38 / paquete v158 — Costos SKU por SKU + denominaciones exactas de VirtualSeller */
#view-costos .cost-denom-source[readonly]{
  background:#fafafa !important;
  color:#111 !important;
  border-color:#e0e0e0 !important;
  cursor:default;
}
#view-costos tr.cost-kit-row td{background:#fffdf9;}
#view-costos tr.cost-kit-row input[readonly]{background:#f7f4ef !important;}
#view-costos tr.cost-kit-row .cost-sku-item::after{
  content:'KIT';
  display:inline-flex;
  align-items:center;
  margin-left:7px;
  padding:2px 5px;
  border-radius:999px;
  background:#eee;
  color:#666;
  font-family:'Inter',sans-serif;
  font-size:8px;
  font-weight:800;
  letter-spacing:.25px;
}

/* v8.9.41 / paquete v162 — precios automáticos de kits desde VirtualSeller. */
#view-base .bca-kit-auto-cell{
  text-align:center !important;
  vertical-align:middle !important;
  padding:10px 8px !important;
}
#view-base .bca-kit-auto-wrap{
  min-height:112px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
}
#view-base .bca-kit-auto-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:25px;
  padding:4px 9px;
  border:1px solid #d5e1d3;
  border-radius:7px;
  background:#f0f5ef;
  color:#364834;
  font-size:10px;
  line-height:1;
  font-weight:850;
  letter-spacing:.2px;
  white-space:nowrap;
}
#view-base .bca-kit-auto-value{
  width:110px;
  min-height:54px;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px 8px;
  border:1px solid #d7dadd;
  border-radius:10px;
  background:#fff;
  color:#111;
  box-shadow:0 3px 9px rgba(17,17,17,.07);
  font-family:var(--mono);
  font-size:17px;
  line-height:1;
  font-weight:900;
  white-space:nowrap;
}
#view-base .bca-kit-auto-value.is-missing{
  font-family:'Inter',sans-serif;
  font-size:9px;
  color:#9b1c1c;
  background:#fff6f6;
  border-color:#efcaca;
}
#view-base .bca-kit-calc-link{
  border:0;
  background:transparent;
  padding:0;
  color:#666;
  font:700 10px 'Inter',sans-serif;
  text-decoration:underline;
  text-underline-offset:3px;
  cursor:pointer;
}
#view-base .bca-kit-calc-link:hover{color:#111;}
#view-base .bca-kit-auto-note{
  color:#777;
  font-size:9.5px;
  font-weight:650;
  white-space:nowrap;
}

/* El coeficiente sí es editable: se diferencia claramente del resultado AUTO. */
#view-base .bca-kit-auto-wrap .bca-special-discount-factor,
#view-base .bca-special-discount-price-cell .bca-special-discount-factor{
  width:110px !important;
  height:44px !important;
  min-height:44px !important;
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:4px !important;
  margin:0 auto !important;
  padding:5px 8px !important;
  border:1px solid #b8cee7 !important;
  border-radius:10px !important;
  background:#eef5fc !important;
  color:#26394d !important;
  box-shadow:0 1px 4px rgba(53,91,130,.06) !important;
  font-size:16px !important;
  font-weight:900 !important;
}
#view-base .bca-kit-auto-wrap .bca-special-discount-factor-input,
#view-base .bca-special-discount-price-cell .bca-special-discount-factor-input{
  width:72px !important;
  max-width:72px !important;
  height:32px !important;
  min-height:32px !important;
  padding:2px 4px !important;
  border:0 !important;
  border-radius:6px !important;
  background:transparent !important;
  color:#1e3145 !important;
  text-align:center !important;
  font-family:var(--mono) !important;
  font-size:16px !important;
  font-weight:900 !important;
  box-shadow:none !important;
  outline:none !important;
}
#view-base .bca-kit-auto-wrap .bca-special-discount-factor:focus-within,
#view-base .bca-special-discount-price-cell .bca-special-discount-factor:focus-within{
  border-color:#6f9cca !important;
  box-shadow:0 0 0 3px rgba(91,137,184,.12) !important;
  background:#f7fbff !important;
}

.bca-kit-calc-popover{
  position:fixed;
  z-index:100020;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
.bca-kit-calc-card{
  overflow:hidden;
  border:1px solid #dedede;
  border-radius:14px;
  background:#fff;
  box-shadow:0 18px 50px rgba(17,17,17,.18);
  color:#171717;
}
.bca-kit-calc-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  padding:16px 17px 13px;
}
.bca-kit-calc-head>div{display:grid;gap:3px;}
.bca-kit-calc-head strong{font-size:15px;font-weight:850;}
.bca-kit-calc-head span{font-size:10px;color:#777;font-family:var(--mono);font-weight:700;}
.bca-kit-calc-close{border:0;background:#f1f1f1;width:27px;height:27px;border-radius:999px;cursor:pointer;font-size:17px;line-height:1;color:#555;}
.bca-kit-calc-section-title{padding:9px 17px;background:#f7f7f7;border-top:1px solid #eee;border-bottom:1px solid #eee;font-size:10px;font-weight:800;color:#666;text-transform:uppercase;letter-spacing:.25px;}
.bca-kit-calc-components{padding:4px 17px;}
.bca-kit-calc-component{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #f0f0f0;font-size:11px;}
.bca-kit-calc-component:last-child{border-bottom:0;}
.bca-kit-calc-component>div:first-child{min-width:0;}
.bca-kit-calc-component strong{font-family:var(--mono);font-weight:850;}
.bca-kit-calc-component span{display:block;margin-top:3px;color:#777;font-size:9.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.bca-kit-calc-component>div:last-child{white-space:nowrap;font-family:var(--mono);font-size:10.5px;}
.bca-kit-calc-line{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 17px;padding:11px 0;border-top:1px solid #e8e8e8;font-size:11px;}
.bca-kit-calc-line strong{font-family:var(--mono);font-size:12px;}
.bca-kit-calc-final{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 12px 12px;padding:12px 10px;border-radius:9px;background:#eef5ed;font-size:12px;font-weight:850;}
.bca-kit-calc-final strong{font-family:var(--mono);font-size:14px;}
.bca-kit-calc-alert{margin:8px 12px;padding:9px 10px;border:1px solid #efcccc;border-radius:8px;background:#fff6f6;color:#9a1d1d;font-size:10px;line-height:1.45;}
.bca-kit-calc-missing{color:#a51e1e !important;font-weight:750;}
.bca-kit-calc-foot{padding:0 17px 15px;color:#777;font-size:9.5px;line-height:1.45;}


/* v8.9.34 / paquete v163 — más separación entre SKU/CATEGORÍA y COSTO */
#view-base .bca-base-table col.col-sku{width:340px !important;}
#view-base .bca-base-table col.col-costo{width:140px !important;}
#view-base .bca-base-table td.sku,
#view-base .bca-base-table th.col-sku,
.bca-fixed-base-header .bca-fixed-header-table td.sku,
.bca-fixed-base-header .bca-fixed-header-table th.col-sku{padding-right:34px !important;}
#view-base .bca-base-table td.costo,
#view-base .bca-base-table th.col-costo,
.bca-fixed-base-header .bca-fixed-header-table td.costo,
.bca-fixed-base-header .bca-fixed-header-table th.col-costo{padding-left:34px !important;}
#view-base .bca-base-table td.sku .sku-main{word-break:break-word;}


/* v8.9.42 / paquete v165 — detección de kits exclusivamente por SKU presente
   informado por VirtualSeller. */


/* v8.9.44 / paquete v168 — DOD WEB y DXI WEB con tipografía idéntica.
   Se usan clases semánticas en vez de nth-child para que los rowspans no cambien el selector. */
#view-base .bca-base-table tbody td.web-price-cell,
#view-base .bca-base-table tbody td.web-price-cell .cell-value{
  font-family:var(--mono) !important;
  font-size:18px !important;
  font-weight:800 !important;
  line-height:1.15 !important;
  color:#111 !important;
  text-align:center !important;
  white-space:nowrap !important;
}
#view-base .bca-base-table tbody td.dod-web-cell,
#view-base .bca-base-table tbody td.dxi-web-cell{
  vertical-align:middle !important;
  text-align:center !important;
}


/* v8.9.45 / paquete v169 — tarjetas AUTO KIT más visibles (prototipo aprobado). */
#view-base .bca-kit-auto-wrap{
  gap:9px !important;
}
#view-base .bca-kit-auto-badge{
  min-height:27px !important;
  padding:5px 11px !important;
  border:1px solid #cfddcc !important;
  border-radius:8px !important;
  background:#eef5ec !important;
  color:#2f432d !important;
  box-shadow:0 1px 3px rgba(36,66,32,.05) !important;
  font-size:10.5px !important;
  font-weight:900 !important;
}
#view-base .bca-kit-auto-value{
  width:118px !important;
  min-height:66px !important;
  padding:13px 10px !important;
  border:1.5px solid #cfd3d6 !important;
  border-radius:11px !important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfbfb 100%) !important;
  color:#0d0d0d !important;
  box-shadow:0 5px 13px rgba(17,17,17,.13),0 1px 2px rgba(17,17,17,.06) !important;
  font-size:20px !important;
  line-height:1 !important;
  font-weight:950 !important;
  letter-spacing:-.25px !important;
}
#view-base .bca-kit-auto-value.is-missing{
  font-size:10px !important;
  font-weight:850 !important;
  letter-spacing:0 !important;
  background:#fff6f6 !important;
  border-color:#efcaca !important;
  box-shadow:0 3px 9px rgba(155,28,28,.08) !important;
}
#view-base .bca-kit-calc-link{
  margin-top:1px !important;
  font-size:10px !important;
  font-weight:750 !important;
  color:#555 !important;
}
#view-base .bca-kit-auto-note{
  margin-top:1px !important;
  font-size:9.5px !important;
  font-weight:700 !important;
  color:#666 !important;
}


/* v8.9.47 / paquete v176 — aviso explícito de componente faltante */
#view-base .bca-kit-missing-component{
  margin-top:7px;
  padding:5px 7px;
  border:1px solid #efb5b2;
  border-radius:7px;
  background:#fff1f0;
  color:#9d1715;
  font-size:9.5px;
  font-weight:900;
  line-height:1.15;
  text-align:center;
  white-space:normal;
  letter-spacing:.1px;
}

/* v181 · MLA / SKU seleccionables + icono de copiar tipo Mercado Libre */
#view-base .bca-copyable-code{
  display:inline-flex;
  align-items:center;
  gap:4px;
  max-width:100%;
  vertical-align:middle;
}
#view-base .bca-copyable-mla{margin-top:2px;}
#view-base .bca-copyable-code .bca-code-text{
  user-select:text;
  -webkit-user-select:text;
  cursor:text;
  min-width:0;
  border-radius:2px;
}
#view-base .bca-copyable-code .bca-code-text::selection{
  background:rgba(52,131,250,.22);
}
#view-base .bca-copy-btn{
  appearance:none;
  -webkit-appearance:none;
  border:0;
  background:transparent;
  color:#777;
  width:16px;
  height:16px;
  padding:1px;
  margin:0;
  border-radius:3px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  cursor:pointer;
  line-height:1;
  transition:background-color .12s ease,color .12s ease,transform .12s ease;
}
#view-base .bca-copy-btn:hover{
  background:#f2f2f2;
  color:#444;
}
#view-base .bca-copy-btn:active{transform:scale(.92);}
#view-base .bca-copy-btn:focus-visible{
  outline:2px solid #8aa4bf;
  outline-offset:1px;
}
#view-base .bca-copy-btn.is-copied{
  background:#edf7ea;
  color:#267326;
}
#view-base .bca-copy-svg{
  display:block;
  width:13px;
  height:13px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  pointer-events:none;
}
#view-base .bca-copy-svg-check{stroke-width:2.2;}


/* v182 · legibilidad/centrado de MLA + SKU y selección real de texto */
#view-base .bca-base-table tbody td.bca-sku-column-cell,
#view-base .bca-base-table tbody td.variant-sku-cell.bca-sku-column-cell{
  text-align:center !important;
  padding-left:16px !important;
  padding-right:16px !important;
}
#view-base .bca-base-table tbody td.bca-sku-column-cell .family-category-head,
#view-base .bca-base-table tbody td.variant-sku-cell.bca-sku-column-cell .family-category-head{
  text-align:center !important;
  display:flex !important;
  justify-content:center !important;
  width:100% !important;
}
#view-base .bca-base-table tbody td.bca-sku-column-cell .bca-copyable-code,
#view-base .bca-base-table tbody td.variant-sku-cell.bca-sku-column-cell .bca-copyable-code{
  justify-content:center !important;
  width:auto !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
#view-base .bca-base-table tbody td.bca-sku-column-cell .variant-color,
#view-base .bca-base-table tbody td.variant-sku-cell.bca-sku-column-cell .variant-color{
  justify-content:center !important;
}

/* MLA/SKU: selección nativa con arrastre en todo el bloque de código. */
#view-base .bca-copyable-code,
#view-base .bca-copyable-code .bca-code-text{
  user-select:text !important;
  -webkit-user-select:text !important;
  cursor:text !important;
  -webkit-touch-callout:default !important;
}
#view-base .bca-copyable-code .bca-code-text{
  display:inline-block !important;
  pointer-events:auto !important;
}
#view-base .bca-copy-btn{
  user-select:none !important;
  -webkit-user-select:none !important;
  cursor:pointer !important;
}

/* Más tamaño real antes del auto-fit: al escalar siguen siendo legibles. */
#view-base .bca-base-table tbody td .mla-group-main,
#view-base .bca-base-table tbody td .mla-code{
  font-size:17px !important;
  font-weight:800 !important;
  line-height:1.25 !important;
}
#view-base .bca-base-table tbody td .mla-group-cat{
  font-size:15px !important;
  font-weight:750 !important;
}
#view-base .bca-base-table tbody td .sku-code{
  font-size:20px !important;
  font-weight:800 !important;
  line-height:1.22 !important;
}
#view-base .bca-base-table tbody td .cat-pill{
  font-size:11.5px !important;
  line-height:1.25 !important;
  padding:4px 8px !important;
  font-weight:800 !important;
}
#view-base .bca-base-table tbody td .variant-color{
  font-size:12.5px !important;
  line-height:1.2 !important;
  font-weight:800 !important;
  margin-top:5px !important;
}
#view-base .bca-base-table tbody td .variant-dot{
  width:11px !important;
  height:11px !important;
}
#view-base .bca-base-table tbody td:nth-child(2) .tipo-badge{
  font-size:11.5px !important;
  padding:4px 9px !important;
}


/* v183 · clic directo sobre MLA/SKU para copiar */
#view-base .bca-copyable-code .bca-code-text{
  cursor:pointer !important;
  user-select:none !important;
  -webkit-user-select:none !important;
  padding:2px 3px !important;
  margin:-2px -3px !important;
  border-radius:4px !important;
  transition:background-color .12s ease,color .12s ease,box-shadow .12s ease !important;
}
#view-base .bca-copyable-code .bca-code-text:hover{
  background:#f2f2f2 !important;
  box-shadow:inset 0 0 0 1px #e2e2e2 !important;
}
#view-base .bca-copyable-code .bca-code-text:focus-visible{
  outline:2px solid #8aa4bf !important;
  outline-offset:2px !important;
}
#view-base .bca-copyable-code .bca-code-text.is-copied{
  background:#edf7ea !important;
  color:#267326 !important;
  box-shadow:inset 0 0 0 1px #cce7c7 !important;
}

/* v185 · más aire entre etiquetas y códigos MLA/SKU */
#view-base .bca-base-table tbody td:nth-child(2) .tipo-badge{
  display:inline-flex !important;
  align-items:center !important;
  margin-bottom:7px !important;
}
#view-base .bca-base-table tbody td:nth-child(2) .bca-copyable-mla{
  margin-top:0 !important;
}
#view-base .bca-base-table tbody td.bca-sku-column-cell .family-category-head,
#view-base .bca-base-table tbody td.variant-sku-cell.bca-sku-column-cell .family-category-head{
  margin-bottom:8px !important;
}
#view-base .bca-base-table tbody td.bca-sku-column-cell > .bca-copyable-code,
#view-base .bca-base-table tbody td.variant-sku-cell.bca-sku-column-cell > .bca-copyable-code{
  margin-top:0 !important;
}

/* v186 · COSTO centrado con su encabezado y mayor legibilidad */
#view-base .bca-base-table thead th.col-costo,
#view-base .bca-base-table tbody td.costo,
.bca-fixed-base-header .bca-fixed-header-table thead th.col-costo,
.bca-fixed-base-header .bca-fixed-header-table tbody td.costo{
  text-align:center !important;
  padding-left:12px !important;
  padding-right:12px !important;
}
#view-base .bca-base-table tbody td.costo,
#view-base .bca-base-table tbody td.costo.variant-shared-cost{
  font-size:21px !important;
  font-weight:850 !important;
  line-height:1.15 !important;
}

/* v187 · icono copiar MLA/SKU más visible */
#view-base .bca-copy-btn{
  width:19px !important;
  height:19px !important;
  padding:1px !important;
  color:#5f6368 !important;
  opacity:1 !important;
}
#view-base .bca-copy-svg{
  width:15px !important;
  height:15px !important;
  stroke-width:2 !important;
}
#view-base .bca-copy-btn:hover{
  color:#2f3337 !important;
  background:#eeeeee !important;
}


/* v188 · refinamiento de alineación, espaciado y legibilidad general */

/* 1) El icono de copiar respira más respecto del MLA/SKU. */
#view-base .bca-copyable-code{
  gap:8px !important;
}
#view-base .bca-copy-btn{
  margin-left:1px !important;
}

/* 2) Cerrar el hueco entre SKU/CATEGORÍA y COSTO.
   No se cambian los anchos del resto: al achicar sólo SKU, COSTO→LINKS se desplazan a la izquierda. */
#view-base .bca-base-table col.col-sku,
.bca-fixed-base-header .bca-fixed-header-table col.col-sku{
  width:290px !important;
}
#view-base .bca-base-table td.sku,
#view-base .bca-base-table th.col-sku,
.bca-fixed-base-header .bca-fixed-header-table td.sku,
.bca-fixed-base-header .bca-fixed-header-table th.col-sku{
  padding-left:12px !important;
  padding-right:12px !important;
}
#view-base .bca-base-table td.costo,
#view-base .bca-base-table th.col-costo,
.bca-fixed-base-header .bca-fixed-header-table td.costo,
.bca-fixed-base-header .bca-fixed-header-table th.col-costo{
  padding-left:10px !important;
  padding-right:10px !important;
}

/* 3) Un poco más grandes todos los textos/números operativos de la Base Comercial. */
#view-base .bca-base-table{
  font-size:14.5px !important;
}
#view-base .bca-base-table tbody td{
  font-size:14.5px !important;
}
#view-base .bca-base-table thead th,
.bca-fixed-base-header .bca-fixed-header-table thead th{
  font-size:13.5px !important;
}
#view-base .bca-base-table thead th .th-title,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-title{
  font-size:13.5px !important;
}
#view-base .bca-base-table thead th .th-subgrid span,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid span{
  font-size:12.5px !important;
}
#view-base .bca-base-table tbody td .mla-group-main,
#view-base .bca-base-table tbody td .mla-code{
  font-size:18.5px !important;
}
#view-base .bca-base-table tbody td .mla-group-cat{
  font-size:16px !important;
}
#view-base .bca-base-table tbody td .sku-code{
  font-size:21.5px !important;
}
#view-base .bca-base-table tbody td .cat-pill{
  font-size:12.5px !important;
  padding:4px 9px !important;
}
#view-base .bca-base-table tbody td .variant-color{
  font-size:13.5px !important;
}
#view-base .bca-base-table tbody td:nth-child(2) .tipo-badge{
  font-size:12.5px !important;
  padding:4px 9px !important;
}
#view-base .stockchip{
  font-size:17px !important;
}
#view-base .weeklabels div{
  font-size:17px !important;
}
#view-base .weeklabels .lbl{
  font-size:10.5px !important;
}
#view-base .cuota-tag,
#view-base .cuota-tag.sin-cuotas{
  font-size:14.5px !important;
}
#view-base .cuotas-toggle{
  font-size:13.5px !important;
}
#view-base .price-input,
#view-base .list-price-input,
#view-base input[name*="dod"],
#view-base input[name*="dxi"],
#view-base input[name*="lista"],
#view-base .readonly-price,
#view-base .calc-price,
#view-base .price-readonly,
#view-base .web-price,
#view-base .lista-value,
#view-base td.num{
  font-size:19px !important;
}
#view-base .sug-value{
  font-size:23px !important;
}
#view-base .sug-pct{
  font-size:16.5px !important;
}
#view-base .mla-link,
#view-base .vs-link,
#view-base .bca-edit-product-link{
  font-size:12.5px !important;
}
#view-base .bca-base-table tbody td.costo,
#view-base .bca-base-table tbody td.costo.variant-shared-cost{
  font-size:22px !important;
}

/* 4) Separación REAL entre PRINCIPAL/CATÁLOGO y MLA. */
#view-base .bca-mla-column-cell .bca-mla-label-row{
  display:flex !important;
  align-items:center !important;
  gap:6px !important;
  margin-bottom:10px !important;
  min-height:20px !important;
}
#view-base .bca-mla-column-cell .bca-mla-code-row{
  display:block !important;
}
#view-base .bca-mla-column-cell .bca-copyable-mla{
  margin-top:0 !important;
}

/* Categoría separada de verdad del SKU. */
#view-base .bca-base-table tbody td.bca-sku-column-cell .family-category-head,
#view-base .bca-base-table tbody td.variant-sku-cell.bca-sku-column-cell .family-category-head{
  margin-bottom:12px !important;
  min-height:22px !important;
  align-items:center !important;
}
#view-base .bca-base-table tbody td.bca-sku-column-cell > .bca-copyable-code,
#view-base .bca-base-table tbody td.variant-sku-cell.bca-sku-column-cell > .bca-copyable-code{
  margin-top:0 !important;
}

/* 5) Campos editables de DOD / DXI / Lista: mismo gris, pero con más profundidad. */
#view-base .price-input,
#view-base .list-price-input,
#view-base input[name*="dod"],
#view-base input[name*="dxi"],
#view-base input[name*="lista"]{
  box-shadow:0 5px 14px rgba(17,17,17,.13), 0 1px 3px rgba(17,17,17,.08) !important;
}
#view-base .price-input:hover,
#view-base .list-price-input:hover,
#view-base input[name*="dod"]:hover,
#view-base input[name*="dxi"]:hover,
#view-base input[name*="lista"]:hover{
  box-shadow:0 7px 17px rgba(17,17,17,.16), 0 2px 4px rgba(17,17,17,.09) !important;
}
#view-base .price-input:focus,
#view-base .list-price-input:focus,
#view-base input[name*="dod"]:focus,
#view-base input[name*="dxi"]:focus,
#view-base input[name*="lista"]:focus{
  box-shadow:0 0 0 3px rgba(90,90,90,.10), 0 7px 18px rgba(17,17,17,.15) !important;
}

/* v189 · uniformidad MLA principal/catalogo + icono sin superposición + SKU más compacto */
/* Todos los MLA, sean Principal, Catálogo o Catálogo s/principal, usan exactamente la misma tipografía. */
#view-base .bca-base-table tbody td.bca-mla-column-cell .bca-code-text,
#view-base .bca-base-table tbody td.bca-mla-column-cell .mla-group-main,
#view-base .bca-base-table tbody td.bca-mla-column-cell .mla-group-cat,
#view-base .bca-base-table tbody td.bca-mla-column-cell .mla-code{
  font-size:16.5px !important;
  font-weight:800 !important;
  line-height:1.22 !important;
  white-space:nowrap !important;
}

/* El área clickeable ya no usa márgenes negativos: así el SVG nunca pisa el último dígito. */
#view-base .bca-copyable-code .bca-code-text{
  margin:0 !important;
  padding:1px 0 !important;
}
#view-base .bca-copyable-code,
#view-base .bca-copyable-mla{
  gap:10px !important;
  max-width:none !important;
  white-space:nowrap !important;
  overflow:visible !important;
}
#view-base .bca-mla-code-row{
  overflow:visible !important;
}
#view-base .bca-copy-btn{
  margin-left:0 !important;
  width:18px !important;
  height:18px !important;
  flex:0 0 18px !important;
}
#view-base .bca-copy-svg{
  width:14px !important;
  height:14px !important;
}

/* El SKU de v188 había quedado demasiado dominante. */
#view-base .bca-base-table tbody td .sku-code,
#view-base .bca-base-table tbody td.bca-sku-column-cell .sku-code,
#view-base .bca-base-table tbody td.variant-sku-cell.bca-sku-column-cell .sku-code{
  font-size:18px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
}

/* Etiquetas secundarias acompañan el nuevo tamaño sin competir con el código. */
#view-base .bca-base-table tbody td .cat-pill{
  font-size:11.5px !important;
}
#view-base .bca-base-table tbody td:nth-child(2) .tipo-badge,
#view-base .bca-mla-column-cell .tipo-badge{
  font-size:11.5px !important;
}


/* v191 · Chequeo de Promos: precios estrictamente solo lectura + columnas futuras de promoción */
.bca-price-check-app .bca-actionbar{
  display:none !important;
}
.bca-price-check-app .price-input,
.bca-price-check-app .bca-special-discount-factor,
.bca-price-check-app .bca-special-discount-factor-input{
  display:none !important;
}
.bca-price-check-app .bca-price-check-readonly-cell,
.bca-price-check-app td.bca-kit-auto-cell{
  text-align:center !important;
}
.bca-price-check-app .bca-price-check-price-card,
.bca-price-check-app .calc-price,
.bca-price-check-app .bca-kit-auto-value{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:108px !important;
  min-height:58px !important;
  padding:10px 15px !important;
  border:1px solid #c8cdd2 !important;
  border-radius:12px !important;
  background:#f7f7f7 !important;
  box-shadow:0 5px 14px rgba(17,17,17,.13),0 1px 3px rgba(17,17,17,.08) !important;
  font-size:18px !important;
  font-weight:800 !important;
  color:#171717 !important;
  cursor:default !important;
  user-select:text !important;
}
.bca-price-check-app .bca-kit-auto-wrap .bca-special-discount-factor{display:none !important;}
.bca-price-check-app .col-promo-type,
.bca-price-check-app .col-promo-validity,
.bca-price-check-fixed-header .col-promo-type,
.bca-price-check-fixed-header .col-promo-validity{
  display:table-cell !important;
}
.bca-price-check-app .bca-promo-placeholder{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:96px;
  min-height:40px;
  padding:6px 10px;
  border-radius:10px;
  background:#f5f5f5;
  border:1px dashed #d2d2d2;
  color:#999;
  font-size:15px;
  font-weight:700;
}
.bca-price-check-app td.col-links,
.bca-price-check-fixed-header th.col-links{
  display:table-cell !important;
}
.bca-price-check-app .bca-base-table col.col-dod-web,
.bca-price-check-app .bca-base-table col.col-dxi-web{
  width:155px !important;
}
.bca-price-check-app .bca-base-table col.col-links{
  width:190px !important;
}

/* v8.9.67 / paquete v194 — Chequeo de Promos: DOD, DXI y Precio de Lista
   siempre en una sola línea y con la misma tipografía numérica del panel. */
.bca-price-check-app .bca-price-check-price-card,
.bca-price-check-app .bca-price-check-readonly-cell .calc-price,
.bca-price-check-app td.bca-kit-auto-cell .bca-kit-auto-value{
  box-sizing:border-box !important;
  min-width:118px !important;
  width:118px !important;
  max-width:118px !important;
  min-height:58px !important;
  padding:10px 12px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-family:var(--mono) !important;
  font-size:19px !important;
  font-weight:800 !important;
  font-style:normal !important;
  line-height:1 !important;
  letter-spacing:0 !important;
  font-variant-numeric:tabular-nums !important;
  white-space:nowrap !important;
  word-break:keep-all !important;
  overflow-wrap:normal !important;
  opacity:1 !important;
  text-align:center !important;
}
.bca-price-check-app .bca-price-check-readonly-cell,
.bca-price-check-app td.bca-kit-auto-cell{
  white-space:nowrap !important;
  word-break:keep-all !important;
  overflow-wrap:normal !important;
}

/* v8.9.68 / paquete v195 — Chequeo de Promos: dar aire al encabezado
   "Tipo de promoción" para que no se recorte la última letra. */
.bca-price-check-app .bca-base-table col.col-dod-web{
  width:178px !important;
}
.bca-price-check-app .bca-base-table col.col-dxi-web{
  width:155px !important;
}
.bca-price-check-app thead th.col-promo-type,
.bca-price-check-fixed-header thead th.col-promo-type{
  min-width:178px !important;
  padding-left:12px !important;
  padding-right:12px !important;
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
}


/* v8.9.71 / paquete v198 — Carga de Archivos de Chequeo de Promos */
.bca-price-check-app #view-archivos{
  padding-top:6px;
}
.bca-promo-import-shell{
  width:min(1180px,100%);
  margin:18px auto 54px;
}
.bca-promo-import-head{
  margin-bottom:18px;
}
.bca-promo-import-head h1{
  margin:0 0 7px;
  font-family:'Oswald',sans-serif;
  font-size:31px;
  line-height:1.08;
  letter-spacing:.15px;
}
.bca-promo-import-head p{
  margin:0;
  color:var(--gray-600);
  font-size:14px;
}
.bca-promo-import-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.bca-promo-import-card{
  position:relative;
  min-height:248px;
  display:flex;
  flex-direction:column;
  padding:22px;
  background:#fff;
  border:1px solid #dadada;
  border-radius:16px;
  box-shadow:0 10px 28px rgba(17,17,17,.07),0 2px 7px rgba(17,17,17,.04);
  overflow:hidden;
}
.bca-promo-import-card:before{
  content:'';
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:#b11d1c;
}
.bca-promo-import-card-top{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:14px;
}
.bca-promo-import-icon{
  width:48px;
  height:48px;
  flex:0 0 48px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:#f7eeee;
  color:#a81817;
  border:1px solid #f0dada;
}
.bca-promo-import-icon svg{
  width:24px;
  height:24px;
}
.bca-promo-import-number{
  display:block;
  margin-bottom:2px;
  color:#999;
  font-size:10px;
  font-weight:800;
  letter-spacing:.11em;
}
.bca-promo-import-card h2{
  margin:0;
  font-family:'Oswald',sans-serif;
  font-size:21px;
  line-height:1.15;
}
.bca-promo-import-card p{
  margin:0 0 18px;
  color:#666;
  font-size:13px;
  line-height:1.45;
}
.bca-promo-file-button{
  margin-top:auto;
  align-self:flex-start;
  min-width:142px;
}
.bca-promo-file-status{
  margin-top:12px;
  min-height:19px;
  color:#8a8a8a;
  font-size:12px;
  font-weight:650;
  overflow-wrap:anywhere;
}
.bca-promo-file-status.is-ready{
  color:#2f6b2c;
}
.bca-promo-file-status.is-error{
  color:#a81817;
}
@media(max-width:800px){
  .bca-promo-import-grid{grid-template-columns:1fr;}
  .bca-promo-import-card{min-height:220px;}
}

/* El encabezado debe verse completo aun cuando el auto-fit reduzca la tabla. */
.bca-price-check-app thead th.col-promo-type,
.bca-price-check-fixed-header thead th.col-promo-type{
  min-width:188px !important;
  font-size:12px !important;
  letter-spacing:0 !important;
}


/* v8.9.73 / paquete v200 — Chequeo de Promos: encabezado completo de Tipo de promoción.
   Se fuerza una etiqueta interna no recortable y ancho suficiente incluso con auto-fit. */
.bca-price-check-app .bca-base-table col.col-dod-web{
  width:220px !important;
}
.bca-price-check-app thead th.col-promo-type,
.bca-price-check-fixed-header thead th.col-promo-type{
  width:220px !important;
  min-width:220px !important;
  max-width:none !important;
  padding-left:14px !important;
  padding-right:14px !important;
  overflow:visible !important;
  white-space:nowrap !important;
  text-overflow:clip !important;
}
.bca-price-check-app thead th.col-promo-type .bca-promo-type-label,
.bca-price-check-fixed-header thead th.col-promo-type .bca-promo-type-label{
  display:inline-block !important;
  width:max-content !important;
  max-width:none !important;
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
  font-size:12px !important;
  line-height:1.15 !important;
  letter-spacing:0 !important;
}


/* v8.9.74 / paquete v201 — Chequeo de Promos: encabezados uniformes y
   ancho real para "Tipo de promoción". Este selector incluye #view-base
   para superar los anchos históricos del colgroup que estaban ganando por
   especificidad y recortaban la última parte del título. */
.bca-price-check-app #view-base .bca-base-table col.col-dod-web{
  width:205px !important;
  min-width:205px !important;
}
.bca-price-check-app #view-base .bca-base-table col.col-dxi-web{
  width:165px !important;
  min-width:165px !important;
}
.bca-price-check-app #view-base .bca-base-table thead th,
.bca-price-check-fixed-header .bca-base-table thead th{
  font-size:12.5px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
  letter-spacing:.25px !important;
  text-align:center !important;
  vertical-align:middle !important;
  white-space:nowrap !important;
}
.bca-price-check-app #view-base .bca-base-table thead th.col-promo-type,
.bca-price-check-fixed-header .bca-base-table thead th.col-promo-type{
  width:205px !important;
  min-width:205px !important;
  max-width:205px !important;
  padding-left:10px !important;
  padding-right:10px !important;
  overflow:visible !important;
  text-overflow:clip !important;
}
.bca-price-check-app #view-base .bca-base-table thead th.col-promo-type .bca-promo-type-label,
.bca-price-check-fixed-header .bca-base-table thead th.col-promo-type .bca-promo-type-label{
  display:inline-block !important;
  width:auto !important;
  max-width:none !important;
  font:inherit !important;
  line-height:inherit !important;
  letter-spacing:inherit !important;
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
}



/* v8.9.77 / paquete v204 — solapa Estado en Chequeo de Promos */
.bca-price-check-app #view-estado{padding:48px 0;}
.bca-price-check-app .bca-state-placeholder{
  max-width:760px;
  margin:0 auto;
  padding:38px 40px;
  background:#fff;
  border:1px solid #dedede;
  border-radius:16px;
  box-shadow:0 16px 34px rgba(0,0,0,.08);
}
.bca-price-check-app .bca-state-placeholder h1{margin:0 0 12px;font-size:30px;}
.bca-price-check-app .bca-state-placeholder p{margin:0;font-size:16px;color:#555;}


/* v8.9.79 / paquete v206 — Carga de Archivos siempre al final en Chequeo de Promos */
.bca-price-check-app .tabs .bca-price-check-files-tab{order:9999;}

/* v8.9.80 — selector de rebate exclusivo para la exportación de Cambios de precios */
.pc-export-rebate{
  min-width:132px;
  height:38px;
  padding:0 34px 0 12px;
  border:1px solid #d7d7d7;
  border-radius:9px;
  background:#fff;
  color:#111;
  font:700 13px/1 Montserrat,Arial,sans-serif;
}


/* v8.9.84 / paquete v211 — nueva solapa Precios en Chequeo de Promos. */
.bca-price-check-app #view-promo-precios{padding:48px 0;}
.bca-price-check-app .bca-promo-prices-placeholder{
  max-width:760px;
  margin:0 auto;
  padding:38px 40px;
  background:#fff;
  border:1px solid #dedede;
  border-radius:16px;
  box-shadow:0 16px 34px rgba(0,0,0,.08);
}
.bca-price-check-app .bca-promo-prices-placeholder h1{margin:0 0 12px;font-size:30px;}
.bca-price-check-app .bca-promo-prices-placeholder p{margin:0;font-size:16px;color:#555;}

/* v8.9.85 / paquete v212 — generador de CSV en Precios Web */
#view-preciosweb{padding:24px 0 56px;}
.bca-pw-page{display:flex;flex-direction:column;gap:20px;max-width:1460px;margin:0 auto;}
.bca-pw-card{background:#fff;border:1px solid #dedede;border-radius:16px;box-shadow:0 12px 30px rgba(0,0,0,.07);overflow:hidden;}
.bca-pw-main-card{padding:28px 30px 24px;}
.bca-pw-head h2{font-family:'Oswald',Arial,sans-serif;font-size:32px;line-height:1.05;margin:0 0 8px;color:#111;}
.bca-pw-head p{margin:0;color:#444;font-size:15px;line-height:1.5;}
.bca-pw-config-grid{display:grid;grid-template-columns:minmax(230px,1.05fr) minmax(190px,.82fr) minmax(190px,.82fr) minmax(300px,1.2fr);gap:18px;align-items:stretch;margin-top:25px;padding:22px;border:1px solid #e6e6e6;border-radius:14px;background:#fff;}
.bca-pw-field{display:flex;flex-direction:column;gap:9px;min-width:0;}
.bca-pw-field>span{font-size:13px;font-weight:800;color:#242424;}
.bca-pw-field select,.bca-pw-field input{width:100%;height:48px;border:1px solid #cfcfcf;border-radius:10px;background:#fff;padding:0 13px;font-size:15px;font-weight:700;color:#111;box-sizing:border-box;outline:none;box-shadow:0 2px 7px rgba(0,0,0,.03);}
.bca-pw-field select:focus,.bca-pw-field input:focus{border-color:#b11d1c;box-shadow:0 0 0 3px rgba(177,29,28,.08);}
.bca-pw-field input:disabled{background:#f3f3f3;color:#888;cursor:not-allowed;}
.bca-pw-example{display:flex;gap:12px;align-items:flex-start;border:1px solid #efc8c6;border-radius:12px;padding:15px 16px;background:#fff7f7;min-width:0;}
.bca-pw-example-icon{display:flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;border-radius:8px;background:#fbe3e2;color:#b11d1c;font-weight:900;}
.bca-pw-example strong{font-size:13px;color:#3b1514;}
.bca-pw-example p{margin:5px 0 0;font-size:12px;line-height:1.45;color:#5d4847;}
.bca-pw-info{display:flex;gap:15px;margin-top:22px;padding:18px 20px;border:1px solid #cddbf1;border-radius:13px;background:#f7faff;}
.bca-pw-info-icon{display:flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;border:2px solid #4e83cf;border-radius:50%;color:#2e65b1;font-weight:900;font-family:Georgia,serif;}
.bca-pw-info strong{font-size:14px;}
.bca-pw-info ul{margin:8px 0 0 18px;padding:0;color:#333;font-size:13px;line-height:1.55;}
.bca-pw-actions{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:22px;}
.bca-pw-status{font-size:13px;color:#666;font-weight:600;}
.bca-pw-status.is-error{color:#a41312;}
.bca-pw-status.is-ok{color:#23651b;}
.bca-pw-action-buttons{display:flex;gap:12px;align-items:center;}
.bca-pw-action-buttons .btn{min-height:44px;padding:0 18px;border-radius:10px;}
.bca-pw-download{min-width:235px;background:#b11d1c!important;box-shadow:0 7px 18px rgba(177,29,28,.18);}
.bca-pw-preview{margin-top:22px;border:1px solid #dedede;border-radius:13px;overflow:hidden;background:#fff;}
.bca-pw-preview-head{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;background:#f7f7f7;border-bottom:1px solid #e4e4e4;}
.bca-pw-preview-head>div{display:flex;align-items:baseline;gap:10px;}
.bca-pw-preview-head strong{font-size:14px;}
.bca-pw-preview-head span{font-size:12px;color:#777;}
.bca-pw-preview-close{border:0;background:transparent;font-size:24px;line-height:1;cursor:pointer;color:#777;padding:0 4px;}
.bca-pw-preview-scroll{overflow:auto;max-height:420px;}
.bca-pw-preview table,.bca-pw-history-wrap table{width:100%;border-collapse:collapse;table-layout:auto;}
.bca-pw-preview th,.bca-pw-preview td,.bca-pw-history-wrap th,.bca-pw-history-wrap td{padding:11px 13px;border-bottom:1px solid #ececec;text-align:left;white-space:nowrap;font-size:12px;}
.bca-pw-preview th,.bca-pw-history-wrap th{background:#fafafa;font-size:11px;text-transform:uppercase;letter-spacing:.25px;color:#555;font-weight:800;}
.bca-pw-preview td.is-missing{color:#b11d1c;font-weight:800;}
.bca-pw-history-card{padding:0;}
.bca-pw-history-head{display:flex;align-items:center;gap:12px;padding:17px 20px;border-bottom:1px solid #e4e4e4;}
.bca-pw-history-head h3{margin:0;font-size:16px;}
.bca-pw-history-head span{font-size:12px;color:#888;}
.bca-pw-history-wrap{overflow:auto;}
.bca-pw-history-wrap td{font-size:13px;}
.bca-pw-history-empty{text-align:center!important;color:#888;padding:24px!important;}
.bca-pw-history-file{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#a41312;font-size:12px;}
.bca-pw-history-download{display:inline-flex;align-items:center;justify-content:center;width:32px;height:30px;border:1px solid #d7d7d7;border-radius:8px;background:#fff;color:#111;cursor:pointer;font-weight:900;}
.bca-pw-history-download:hover{border-color:#b11d1c;color:#b11d1c;}
@media (max-width:1150px){.bca-pw-config-grid{grid-template-columns:1fr 1fr}.bca-pw-example{grid-column:1/-1}.bca-pw-actions{align-items:flex-start;flex-direction:column}.bca-pw-action-buttons{width:100%;justify-content:flex-end}}
@media (max-width:720px){.bca-pw-main-card{padding:20px 16px}.bca-pw-config-grid{grid-template-columns:1fr;padding:15px}.bca-pw-example{grid-column:auto}.bca-pw-action-buttons{flex-direction:column}.bca-pw-action-buttons .btn{width:100%}}


/* v8.9.86 / paquete v213 — Fravega */
#view-fravega{padding:24px 0 56px;}
.bca-fr-page{max-width:1500px;margin:0 auto;}
.bca-fr-card{background:#fff;border:1px solid #dedede;border-radius:16px;box-shadow:0 12px 30px rgba(0,0,0,.07);overflow:hidden;}
.bca-fr-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:28px 30px 20px;}
.bca-fr-head h2{font-family:'Oswald',Arial,sans-serif;font-size:32px;line-height:1.05;margin:0 0 8px;color:#111;}
.bca-fr-head p{margin:0;color:#555;font-size:14px;line-height:1.5;}
.bca-fr-download{min-height:44px;padding:0 19px;border-radius:10px;background:#9e1716!important;white-space:nowrap;box-shadow:0 7px 18px rgba(158,23,22,.17);}
.bca-fr-info{display:flex;gap:13px;margin:0 30px 18px;padding:15px 17px;border:1px solid #e3d2d1;border-radius:12px;background:#fffafa;}
.bca-fr-info-icon{display:flex;align-items:center;justify-content:center;flex:0 0 27px;width:27px;height:27px;border:2px solid #b11d1c;border-radius:50%;color:#b11d1c;font-weight:900;font-family:Georgia,serif;}
.bca-fr-info strong{display:block;font-size:13px;margin-bottom:3px;}
.bca-fr-info p{margin:0;font-size:12px;line-height:1.5;color:#4d4d4d;}
.bca-fr-summary{padding:0 30px 15px;color:#555;font-size:12px;}
.bca-fr-summary strong{color:#111;font-size:13px;}
.bca-fr-summary .is-warning{color:#a41312;font-weight:700;}
.bca-fr-table-wrap{overflow:auto;border-top:1px solid #e5e5e5;}
.bca-fr-table{width:100%;border-collapse:collapse;table-layout:auto;}
.bca-fr-table th,.bca-fr-table td{padding:12px 15px;border-bottom:1px solid #ededed;text-align:left;vertical-align:middle;}
.bca-fr-table th{position:sticky;top:0;z-index:2;background:#f5f5f5;color:#333;font-size:11px;text-transform:uppercase;letter-spacing:.25px;white-space:nowrap;}
.bca-fr-table td{font-size:12px;color:#222;}
.bca-fr-table td:first-child{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:800;white-space:nowrap;}
.bca-fr-ref{display:inline-flex;padding:4px 8px;border-radius:7px;background:#f4f4f4;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:800;white-space:nowrap;}
.bca-fr-price{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:800;white-space:nowrap;font-size:13px!important;}
.bca-fr-price small{display:block;margin-top:2px;color:#947000;font-family:Montserrat,Arial,sans-serif;font-size:9px;font-weight:700;}
.bca-fr-price.is-missing{color:#b11d1c;}
@media(max-width:800px){.bca-fr-head{flex-direction:column;padding:22px 18px}.bca-fr-download{width:100%}.bca-fr-info{margin:0 18px 16px}.bca-fr-summary{padding:0 18px 14px}}


/* v8.9.88 / paquete v215 — Fravega: acciones compactas */
.bca-fr-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;}
.bca-fr-copy{min-height:44px;padding:0 18px;border-radius:10px;white-space:nowrap;}
@media(max-width:800px){.bca-fr-head-actions{width:100%;justify-content:stretch}.bca-fr-head-actions .btn{flex:1}}

/* v8.9.90 / paquete v217 — generador de Rebates */
#view-rebates{padding:24px 0 58px;}
.bca-rb-page{max-width:1480px;margin:0 auto;}
.bca-rb-card{background:#fff;border:1px solid #dedede;border-radius:16px;box-shadow:0 12px 30px rgba(0,0,0,.07);overflow:hidden;padding:28px 30px 26px;}
.bca-rb-head h2{font-family:'Oswald',Arial,sans-serif;font-size:32px;line-height:1.05;margin:0 0 8px;color:#111;}
.bca-rb-head p{margin:0;color:#505050;font-size:14px;line-height:1.5;}
.bca-rb-config{display:grid;grid-template-columns:1.08fr .72fr;gap:16px;margin-top:24px;}
.bca-rb-section{border:1px solid #e3e3e3;border-radius:14px;padding:18px;background:#fff;min-width:0;}
.bca-rb-date-section{grid-column:1/-1;}
.bca-rb-section-title{display:flex;align-items:baseline;gap:9px;margin-bottom:15px;}
.bca-rb-section-title strong{font-size:14px;color:#111;}
.bca-rb-section-title span{font-size:11px;color:#858585;}
.bca-rb-segmented{display:inline-flex;padding:4px;background:#f2f2f2;border:1px solid #dedede;border-radius:11px;gap:3px;}
.bca-rb-segmented button{height:38px;border:0;border-radius:8px;background:transparent;padding:0 18px;color:#555;font:800 13px/1 Montserrat,Arial,sans-serif;cursor:pointer;}
.bca-rb-segmented button.is-active{background:#fff;color:#a41312;box-shadow:0 2px 7px rgba(0,0,0,.10);}
.bca-rb-import{display:flex;align-items:center;gap:13px;margin-top:14px;}
.bca-rb-import .btn{height:42px;border-radius:9px;white-space:nowrap;}
.bca-rb-file-status{font-size:12px;color:#777;display:flex;flex-direction:column;gap:2px;min-width:0;}
.bca-rb-file-status strong{color:#222;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:390px;}
.bca-rb-file-status.is-ready span{color:#2f6d27;font-weight:700;}
.bca-rb-file-status.is-error{color:#b11d1c;font-weight:700;}
.bca-rb-all-note{margin-top:14px;padding:12px 14px;border-radius:10px;background:#f6f8f3;border:1px solid #d9e4d2;color:#46633e;font-size:12px;font-weight:700;}
.bca-rb-field{display:flex;flex-direction:column;gap:8px;min-width:0;}
.bca-rb-field>span{font-size:12px;font-weight:800;color:#333;}
.bca-rb-field select,.bca-rb-field input{width:100%;height:46px;border:1px solid #cdcdcd;border-radius:10px;background:#fff;padding:0 13px;font-size:14px;font-weight:700;color:#111;box-sizing:border-box;outline:none;}
.bca-rb-field select:focus,.bca-rb-field input:focus{border-color:#b11d1c;box-shadow:0 0 0 3px rgba(177,29,28,.08);}
.bca-rb-field-type{max-width:330px;}
.bca-rb-date-grid{display:grid;grid-template-columns:minmax(210px,.7fr) minmax(280px,.9fr) minmax(520px,1.65fr);gap:16px;align-items:end;}
.bca-rb-dxi-grid{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(220px,.8fr) minmax(260px,1fr);gap:16px;align-items:end;}
.bca-rb-week-summary,.bca-rb-format-note{min-height:46px;border:1px solid #dedede;border-radius:10px;background:#fafafa;padding:9px 12px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;}
.bca-rb-week-summary strong,.bca-rb-format-note strong{font-size:10px;text-transform:uppercase;letter-spacing:.3px;color:#777;}
.bca-rb-week-summary span,.bca-rb-format-note span{font-size:13px;font-weight:800;color:#111;margin-top:2px;}
.bca-rb-week-summary small{font-size:9px;color:#888;margin-top:2px;}
.bca-rb-dod-map{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;}
.bca-rb-dod-map span{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:46px;padding:6px;border:1px solid #e4d2d1;border-radius:9px;background:#fffafa;color:#611b1a;font-size:12px;font-weight:800;}
.bca-rb-dod-map b{font-size:9px;text-transform:uppercase;letter-spacing:.2px;color:#9a5958;margin-bottom:2px;}
.bca-rb-summary{margin-top:18px;padding:13px 15px;border-radius:11px;background:#f5f5f5;border:1px solid #e3e3e3;font-size:12px;font-weight:700;color:#4c4c4c;}
.bca-rb-summary.is-error{background:#fff6f6;border-color:#edc5c3;color:#a41312;}
.bca-rb-preview{margin-top:16px;border:1px solid #dedede;border-radius:12px;overflow:hidden;}
.bca-rb-preview-head{display:flex;align-items:center;gap:10px;padding:13px 15px;background:#f7f7f7;border-bottom:1px solid #e4e4e4;}
.bca-rb-preview-head strong{font-size:13px;}.bca-rb-preview-head span{font-size:11px;color:#888;}
.bca-rb-preview-scroll{max-height:380px;overflow:auto;}
.bca-rb-preview table{width:100%;border-collapse:collapse;}
.bca-rb-preview th,.bca-rb-preview td{padding:9px 12px;border-bottom:1px solid #ededed;text-align:left;font-size:11px;white-space:nowrap;}
.bca-rb-preview th{background:#fafafa;text-transform:uppercase;letter-spacing:.2px;color:#666;font-size:10px;position:sticky;top:0;}
.bca-rb-sheet-pill{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:9px;font-weight:900;}.bca-rb-sheet-pill.is-dod{background:#fff0ef;color:#a41312}.bca-rb-sheet-pill.is-dxi{background:#f0eefb;color:#5f4896}
.bca-rb-empty{text-align:center!important;color:#888;padding:22px!important;}
.bca-rb-actions{display:flex;justify-content:flex-end;gap:11px;margin-top:18px;}
.bca-rb-actions .btn{height:44px;border-radius:10px;padding:0 18px;}
.bca-rb-download{min-width:245px;background:#a41312!important;box-shadow:0 7px 18px rgba(164,19,18,.18);}
@media(max-width:1050px){.bca-rb-config{grid-template-columns:1fr}.bca-rb-date-section{grid-column:auto}.bca-rb-date-grid,.bca-rb-dxi-grid{grid-template-columns:1fr 1fr}.bca-rb-dod-map{grid-column:1/-1}.bca-rb-week-summary{grid-column:auto}}
@media(max-width:700px){.bca-rb-card{padding:20px 15px}.bca-rb-date-grid,.bca-rb-dxi-grid{grid-template-columns:1fr}.bca-rb-dod-map{grid-template-columns:repeat(2,1fr)}.bca-rb-import{align-items:flex-start;flex-direction:column}.bca-rb-actions{flex-direction:column}.bca-rb-actions .btn{width:100%}.bca-rb-section-title{align-items:flex-start;flex-direction:column;gap:3px}}

/* v8.9.91 / paquete v218 — Rebates */
.bca-rb-import[hidden]{display:none!important;}


/* v8.9.94 / paquete v221 — Precios Web: duración DOD */
.bca-pw-duration-field[hidden]{display:none!important;}
.bca-pw-segmented{display:flex;align-items:center;gap:4px;width:100%;height:46px;padding:4px;box-sizing:border-box;border:1px solid #d2d2d2;border-radius:10px;background:#f2f2f2;}
.bca-pw-segmented button{flex:1;height:36px;padding:0 14px;border:0;border-radius:7px;background:transparent;color:#555;font:800 13px/1 Montserrat,Arial,sans-serif;cursor:pointer;white-space:nowrap;}
.bca-pw-segmented button.is-active{background:#fff;color:#a41312;box-shadow:0 2px 8px rgba(0,0,0,.12);}
.bca-pw-field input:disabled{background:#f5f5f5;color:#555;cursor:not-allowed;opacity:1;}
@media(max-width:1150px){.bca-pw-duration-field{min-width:0;}}


/* v8.9.95 — Precios Web: en DXI no se muestran campos de fecha */
.bca-pw-field[hidden]{display:none!important;}
.bca-pw-config-grid.is-dxi{grid-template-columns:minmax(300px,.85fr) minmax(460px,1.65fr);}
.bca-pw-config-grid.is-dxi .bca-pw-example{min-height:48px;align-items:center;}
@media (max-width:900px){.bca-pw-config-grid.is-dxi{grid-template-columns:1fr;}}

/* v8.9.98 / paquete v224 — Estado visual de promociones */
.bca-price-check-app #view-estado{padding:18px 0 34px;}
.bca-price-check-app .promo-state-shell{display:flex;flex-direction:column;gap:14px;}
.promo-state-stats{display:grid;grid-template-columns:1.15fr 1fr 1fr 1fr .92fr .92fr .9fr;gap:12px;align-items:stretch;}
.promo-state-stat-hidden{display:none !important;}
.promo-state-stat,.promo-state-legend{background:#fff;border:1px solid #e2e2e2;border-radius:13px;min-height:126px;padding:18px 18px;box-shadow:0 3px 12px rgba(0,0,0,.035);}
.promo-state-stat{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;}
.promo-state-stat>div{display:flex;min-width:0;flex-direction:column;gap:7px;}
.promo-state-stat span:first-child{font-size:12px;font-weight:700;color:#333;white-space:nowrap;}
.promo-state-stat strong{font-family:'Oswald',Arial,sans-serif;font-size:31px;line-height:1;font-weight:600;color:#111;}
.promo-state-stat strong.green{color:#18962c}.promo-state-stat strong.amber{color:#ed9300}.promo-state-stat strong.red{color:#d51515}
.promo-state-stat small{font-size:11px;font-weight:500;color:#606060;line-height:1.25;}
.promo-state-stat-icon{width:42px;height:42px;flex:0 0 42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:23px;font-weight:800;border:1px solid transparent;}
.promo-state-stat-icon.neutral{background:#f1f1f1;color:#666}.promo-state-stat-icon.green{background:#e9f8e9;color:#18962c}.promo-state-stat-icon.amber{background:#fff3dc;color:#ed9300}.promo-state-stat-icon.red{background:#ffe8e8;color:#d51515}.promo-state-stat-icon.blue{background:#eaf4ff;color:#2f78d5}.promo-state-stat-icon.violet{background:#f4eaff;color:#8a3ec0}
.promo-state-legend{display:flex;flex-direction:column;gap:11px;justify-content:center;padding-left:20px;}
.promo-state-legend strong{font-size:12px;color:#666;margin-bottom:2px;}.promo-state-legend span{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:600;color:#444;white-space:nowrap}.promo-state-legend i{width:9px;height:9px;border-radius:50%;display:inline-block}.promo-state-legend i.green{background:#24a434}.promo-state-legend i.amber{background:#f09b00}.promo-state-legend i.red{background:#e21d1d}
.promo-state-controls{display:flex;align-items:center;gap:10px;background:transparent;padding:0;}
.promo-state-search{height:42px;min-width:330px;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #ddd;border-radius:9px;padding:0 13px;}.promo-state-search span{font-size:21px;color:#555}.promo-state-search input{border:0!important;box-shadow:none!important;outline:none!important;background:transparent!important;height:100%;width:100%;padding:0!important;font:500 13px/1 'Inter',Arial,sans-serif;color:#333}
.promo-state-controls select{height:42px;min-width:220px;border:1px solid #ddd;border-radius:9px;background:#fff;padding:0 34px 0 13px;font:600 12px/1 'Inter',Arial,sans-serif;color:#333}.promo-state-controls #promo-state-order{min-width:210px}.promo-state-control-spacer{flex:1}.promo-state-controls .btn{height:42px;min-width:145px}
.promo-state-table-card{background:#fff;border:1px solid #ddd;border-radius:12px;overflow:hidden;box-shadow:0 4px 16px rgba(0,0,0,.04)}
.promo-state-table{width:100%;border-collapse:collapse;table-layout:fixed}.promo-state-table th{height:42px;background:#f6f6f6;border-bottom:1px solid #ddd;padding:0 12px;text-align:center;text-transform:uppercase;font-size:11px;font-weight:800;color:#171717;white-space:nowrap}.promo-state-table th:nth-child(1){width:12%}.promo-state-table th:nth-child(2){width:15%}.promo-state-table th:nth-child(3){width:17%}.promo-state-table th:nth-child(4){width:19%}.promo-state-table th:nth-child(5){width:23%}.promo-state-table th:nth-child(6){width:14%}
.promo-state-table td{height:96px;border-bottom:1px solid #e9e9e9;padding:10px 12px;vertical-align:middle}.promo-state-table tbody tr:last-child td{border-bottom:0}.promo-state-table tbody tr:hover{background:#fcfcfc}
.promo-state-photo{width:88px;height:72px;margin:auto;border:1px solid #e1e1e1;border-radius:10px;background:#fff;box-shadow:0 2px 7px rgba(0,0,0,.06);display:flex;align-items:center;justify-content:center;overflow:hidden}.promo-state-photo img{width:100%;height:100%;object-fit:contain;padding:5px}.promo-state-photo span{font-size:10px;color:#aaa}
.promo-state-mla,.promo-state-sku{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;max-width:max-content;margin:0 auto}.promo-state-mla .tipo-badge{font-size:9px!important}.promo-state-mla .mla-group-main{font-size:13px!important;font-weight:700!important}.promo-state-sku .cat-pill{font-size:9px!important}.promo-state-sku .sku-code{font-size:14px!important;font-weight:800!important}
.promo-state-dod,.promo-state-dxi{max-width:315px;margin:0 auto}.promo-state-promo-head{display:flex;align-items:center;gap:8px;font-size:11px;margin-bottom:7px}.promo-state-promo-head i{width:8px;height:8px;border-radius:50%;display:inline-block}.promo-state-promo-head.green{color:#222}.promo-state-promo-head.green i{background:#22a531}.promo-state-promo-head.red{color:#d71919}.promo-state-promo-head.red i{background:#e31c1c}.promo-state-promo-head strong{font-size:11px;font-weight:800;white-space:nowrap}
.promo-state-week,.promo-state-dxi-empty{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;align-items:end}.promo-state-week span{display:flex;flex-direction:column;align-items:center;gap:5px}.promo-state-week small{font-size:8px;color:#727272}.promo-state-week i,.promo-state-dxi-empty span{width:11px;height:11px;border-radius:50%;display:block}.promo-state-week i.inactive,.promo-state-dxi-empty span{border:1.4px solid #c9c9c9;background:#fff}.promo-state-week i.active{border:2px solid #2c9c37;background:#fff;box-shadow:0 0 0 2px #dff4e1 inset}
.promo-state-subtext{display:block;margin-top:7px;font-size:9px;color:#666;font-weight:500}.promo-state-dxi-range{display:grid;grid-template-columns:auto 1fr auto;align-items:end;gap:8px}.promo-state-dxi-range>small{font-size:8px;color:#666}.promo-state-dxi-range>div{height:15px;display:flex;align-items:center}.promo-state-dxi-range>div span{height:3px;background:#28a63a;flex:1}.promo-state-dxi-range>div i{width:10px;height:10px;border:2px solid #28a63a;background:#fff;border-radius:50%;flex:0 0 10px}
.promo-state-badge{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}.promo-state-badge b{width:17px;height:17px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:11px}.promo-state-badge.complete{background:#e5f5e3;color:#167b24}.promo-state-badge.complete b{background:#25a437;color:#fff}.promo-state-badge.partial{background:#fff2d8;color:#c67700}.promo-state-badge.partial b{border:2px solid #e89900}.promo-state-badge.none{background:#ffe5e5;color:#c41313}.promo-state-badge.none b{background:#e21b1b;color:#fff}
.promo-state-empty{text-align:center!important;color:#777;font-size:13px;padding:40px!important}.promo-state-footer{min-height:54px;border-top:1px solid #e2e2e2;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 16px;font-size:10px;color:#555}.promo-state-footer>label{justify-self:end;display:flex;align-items:center;gap:8px}.promo-state-footer select{height:30px;border:1px solid #ddd;border-radius:7px;background:#fff;padding:0 24px 0 8px;font-size:10px}.promo-state-pagination{display:flex;align-items:center;gap:5px}.promo-state-pagination button{width:31px;height:31px;border:1px solid #ddd;border-radius:7px;background:#fff;color:#555;font:700 11px/1 'Inter',Arial,sans-serif;cursor:pointer}.promo-state-pagination button.active{background:#b11d1c;border-color:#b11d1c;color:#fff}.promo-state-pagination button:disabled{opacity:.35;cursor:default}.promo-state-pagination span{padding:0 3px;color:#888}
@media(max-width:1450px){.promo-state-stats{grid-template-columns:repeat(4,1fr)}.promo-state-legend{grid-column:span 2}.promo-state-controls{flex-wrap:wrap}.promo-state-control-spacer{display:none}.promo-state-table{min-width:1280px}.promo-state-table-card{overflow-x:auto}}
@media(max-width:900px){.promo-state-stats{grid-template-columns:repeat(2,1fr)}.promo-state-search{min-width:100%;width:100%}.promo-state-controls select{min-width:calc(50% - 6px);flex:1}.promo-state-footer{grid-template-columns:1fr;gap:10px;padding:12px 14px}.promo-state-footer>*{justify-self:center!important}}

/* v8.9.98 / paquete v225 — estilos de Movimiento de Stock. */


/* v8.9.99 / paquete v226 — Estado: fotos correctas + MLA/SKU y copiar consistentes */
.bca-price-check-app #view-estado .promo-state-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  padding:5px;
  box-sizing:border-box;
}
.bca-price-check-app #view-estado .promo-state-photo .noimg{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#aaa;
  font-size:10px;
}
.bca-price-check-app #view-estado .promo-state-mla,
.bca-price-check-app #view-estado .promo-state-sku{
  gap:11px;
  overflow:visible;
}
.bca-price-check-app #view-estado .promo-state-mla .tipo-badge,
.bca-price-check-app #view-estado .promo-state-sku .cat-pill{
  margin:0;
  line-height:1.15;
}
.bca-price-check-app #view-estado .promo-state-mla .tipo-badge{
  font-size:9.5px !important;
}
.bca-price-check-app #view-estado .promo-state-sku .cat-pill{
  font-size:9.5px !important;
}
.bca-price-check-app #view-estado .bca-copyable-code{
  display:inline-flex;
  align-items:center;
  gap:8px;
  max-width:none;
  overflow:visible;
  white-space:nowrap;
  vertical-align:middle;
}
.bca-price-check-app #view-estado .bca-copyable-code .bca-code-text{
  display:inline-block;
  margin:0;
  padding:1px 0;
  user-select:none;
  -webkit-user-select:none;
  cursor:pointer;
  border-radius:3px;
  white-space:nowrap;
  color:#171717;
  transition:background-color .12s ease,color .12s ease;
}
.bca-price-check-app #view-estado .bca-copyable-code .bca-code-text:hover{
  background:#f3f3f3;
}
.bca-price-check-app #view-estado .bca-copyable-code .bca-code-text:focus-visible{
  outline:2px solid #a8b9ca;
  outline-offset:2px;
}
.bca-price-check-app #view-estado .promo-state-mla .mla-group-main,
.bca-price-check-app #view-estado .promo-state-mla .bca-code-text{
  font-family:var(--mono);
  font-size:13.5px !important;
  font-weight:750 !important;
  line-height:1.2 !important;
  letter-spacing:0;
}
.bca-price-check-app #view-estado .promo-state-sku .sku-code,
.bca-price-check-app #view-estado .promo-state-sku .bca-code-text{
  font-family:var(--mono);
  font-size:14.5px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
  letter-spacing:0;
}
.bca-price-check-app #view-estado .bca-copy-btn{
  appearance:none;
  -webkit-appearance:none;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#777;
  width:17px;
  height:17px;
  min-width:17px;
  min-height:17px;
  padding:1px !important;
  margin:0 !important;
  border-radius:3px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 17px;
  cursor:pointer;
  line-height:1;
  transition:background-color .12s ease,color .12s ease,transform .12s ease;
}
.bca-price-check-app #view-estado .bca-copy-btn:hover{
  background:#f0f0f0 !important;
  color:#444;
}
.bca-price-check-app #view-estado .bca-copy-btn:active{transform:scale(.92)}
.bca-price-check-app #view-estado .bca-copy-btn.is-copied{
  background:#edf7ea !important;
  color:#267326;
}
.bca-price-check-app #view-estado .bca-copy-svg{
  display:block;
  width:13px;
  height:13px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.bca-price-check-app #view-estado .bca-copy-svg-check{
  stroke-width:2.2;
}


/* v8.9.100 / paquete v227 — Estado: todos los productos, sin paginación,
   header sticky y tabla adaptada al ancho disponible como Panel Principal. */
.bca-price-check-app #view-estado .promo-state-shell{
  width:100%;
  max-width:100%;
  min-width:0;
}
.bca-price-check-app #view-estado .promo-state-table-card{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:visible !important;
}
.bca-price-check-app #view-estado .promo-state-table{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  table-layout:fixed !important;
}
.bca-price-check-app #view-estado .promo-state-table thead th{
  position:sticky !important;
  top:0 !important;
  z-index:35 !important;
  background:#f6f6f6 !important;
  box-shadow:0 1px 0 #d8d8d8,0 3px 8px rgba(17,17,17,.04);
}
.bca-price-check-app #view-estado .promo-state-table td,
.bca-price-check-app #view-estado .promo-state-table th{
  box-sizing:border-box;
  min-width:0;
}
.bca-price-check-app #view-estado .promo-state-dod,
.bca-price-check-app #view-estado .promo-state-dxi{
  width:100%;
  max-width:none;
  min-width:0;
}
.bca-price-check-app #view-estado .promo-state-footer-all{
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:0 16px;
  border-top:1px solid #e2e2e2;
  font-size:10px;
  color:#555;
}
.bca-price-check-app #view-estado .promo-state-pagination,
.bca-price-check-app #view-estado #promo-state-page-size{
  display:none !important;
}
@media(max-width:1450px){
  .bca-price-check-app #view-estado .promo-state-table{min-width:0 !important;}
  .bca-price-check-app #view-estado .promo-state-table-card{overflow:visible !important;}
  .bca-price-check-app #view-estado .promo-state-table th{padding-left:8px;padding-right:8px;font-size:10px;}
  .bca-price-check-app #view-estado .promo-state-table td{padding-left:8px;padding-right:8px;}
  .bca-price-check-app #view-estado .promo-state-table th:nth-child(1){width:11%;}
  .bca-price-check-app #view-estado .promo-state-table th:nth-child(2){width:14%;}
  .bca-price-check-app #view-estado .promo-state-table th:nth-child(3){width:16%;}
  .bca-price-check-app #view-estado .promo-state-table th:nth-child(4){width:21%;}
  .bca-price-check-app #view-estado .promo-state-table th:nth-child(5){width:24%;}
  .bca-price-check-app #view-estado .promo-state-table th:nth-child(6){width:14%;}
}


/* v8.9.101 / paquete v228 — Estado replica población/orden de Panel Principal
   y usa un header fijo real (clonado), igual que la tabla principal. */
.bca-price-check-app #view-estado .promo-state-mla{
  gap:12px;
  max-width:none;
  width:100%;
  align-items:center;
}
.bca-price-check-app #view-estado .promo-state-mla-entry{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  min-width:0;
}
.bca-price-check-app #view-estado .promo-state-table thead th{
  position:relative !important;
  top:auto !important;
}
.promo-state-fixed-header{
  display:none;
  position:fixed;
  z-index:99991;
  overflow:hidden;
  background:#f6f6f6;
  box-shadow:0 5px 14px rgba(17,17,17,.12);
  pointer-events:none;
}
.promo-state-fixed-header.is-visible{display:block;}
.promo-state-fixed-header-viewport{overflow:hidden;width:100%;height:100%;}
.promo-state-fixed-header-table{
  margin:0 !important;
  border-collapse:collapse !important;
  table-layout:fixed !important;
  background:#f6f6f6;
}
.promo-state-fixed-header-table thead th{
  position:static !important;
  top:auto !important;
  left:auto !important;
  z-index:auto !important;
  height:42px !important;
  background:#f6f6f6 !important;
  border-bottom:1px solid #ddd !important;
  padding:0 12px !important;
  text-align:center !important;
  text-transform:uppercase !important;
  font-size:11px !important;
  font-weight:800 !important;
  color:#171717 !important;
  white-space:nowrap !important;
  box-sizing:border-box !important;
}

/* v8.9.102 / paquete v229 — Chequeo de Promos > Precios */
.bca-price-check-app #view-promo-precios{padding:0;}
.bca-price-check-app .promo-prices-shell{width:100%;max-width:100%;min-width:0;}
.bca-price-check-app .promo-prices-sticky{position:sticky;top:0;z-index:64;background:#f3f3f3;padding:18px 0 14px;border-bottom:1px solid rgba(17,17,17,.08);}
.bca-price-check-app .promo-prices-stats{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr)) minmax(210px,.9fr);gap:0;background:#fff;border:1px solid #ddd;border-radius:12px 12px 0 0;overflow:hidden;box-shadow:0 4px 18px rgba(17,17,17,.04);}
.bca-price-check-app .promo-prices-stat{min-height:106px;padding:18px 20px;display:flex;align-items:center;gap:15px;border-right:1px solid #e4e4e4;}
.bca-price-check-app .promo-prices-stat>div{display:grid;gap:2px;min-width:0;}
.bca-price-check-app .promo-prices-stat span:not(.promo-prices-stat-icon){font-size:12px;font-weight:750;color:#333;}
.bca-price-check-app .promo-prices-stat strong{font-family:'Oswald','Arial Narrow',sans-serif;font-size:29px;line-height:1;color:#111;}
.bca-price-check-app .promo-prices-stat small{font-size:11px;color:#777;}
.bca-price-check-app .promo-prices-stat.bad strong{color:#c31313;}
.bca-price-check-app .promo-prices-stat.ok strong{color:#16822e;}
.bca-price-check-app .promo-prices-stat-icon{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;flex:0 0 46px;background:#f4f4f4;color:#444;font-size:22px;font-weight:800;}
.bca-price-check-app .promo-prices-stat.bad .promo-prices-stat-icon{background:#fde8e8;color:#d51616;}
.bca-price-check-app .promo-prices-stat.ok .promo-prices-stat-icon{background:#e7f5e9;color:#16822e;}
.bca-price-check-app .promo-prices-updated{display:flex;align-items:center;justify-content:flex-end;padding:18px 20px;color:#777;font-size:12px;text-align:right;background:#fff;}
.bca-price-check-app .promo-prices-controls{display:flex;align-items:center;gap:10px;min-width:0;background:#fff;border:1px solid #ddd;border-top:0;border-radius:0 0 12px 12px;padding:13px 14px;box-shadow:0 8px 18px rgba(17,17,17,.04);}
.bca-price-check-app .promo-prices-search{height:42px;display:flex;align-items:center;gap:8px;flex:1 1 330px;min-width:240px;padding:0 12px;border:1px solid #d8d8d8;border-radius:9px;background:#fff;}
.bca-price-check-app .promo-prices-search span{font-size:19px;color:#555;}
.bca-price-check-app .promo-prices-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:13px;}
.bca-price-check-app .promo-prices-controls select{height:42px;min-width:190px;padding:0 36px 0 12px;border:1px solid #d8d8d8;border-radius:9px;background:#fff;font:inherit;font-size:12.5px;color:#222;}
.bca-price-check-app .promo-prices-diff-toggle{height:42px;display:flex;align-items:center;gap:10px;white-space:nowrap;padding:0 4px 0 8px;font-size:12px;font-weight:650;color:#333;}
.bca-price-check-app .promo-prices-diff-toggle input{position:absolute;opacity:0;pointer-events:none;}
.bca-price-check-app .promo-prices-diff-toggle i{position:relative;width:38px;height:22px;border-radius:999px;background:#d7d7d7;transition:.18s;cursor:pointer;}
.bca-price-check-app .promo-prices-diff-toggle i:after{content:'';position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.18);transition:.18s;}
.bca-price-check-app .promo-prices-diff-toggle input:checked+i{background:#b11d1c;}
.bca-price-check-app .promo-prices-diff-toggle input:checked+i:after{transform:translateX(16px);}
.bca-price-check-app .promo-prices-controls .btn{height:42px;white-space:nowrap;border-radius:9px;padding:0 17px;font-size:12.5px;}
.bca-price-check-app .promo-prices-clear{color:#a51b1b;border-color:#e5bcbc;background:#fff;}
.bca-price-check-app .promo-prices-export{background:#b11d1c;border-color:#b11d1c;color:#fff;box-shadow:0 5px 12px rgba(177,29,28,.12);}

.bca-price-check-app .promo-prices-table-card{width:100%;max-width:100%;min-width:0;margin-top:14px;background:#fff;border:1px solid #ddd;border-radius:12px;overflow:hidden;box-shadow:0 5px 18px rgba(17,17,17,.05);}
.bca-price-check-app .promo-prices-scroll{width:100%;max-width:100%;overflow-x:auto;overflow-y:visible;scrollbar-gutter:stable;}
.bca-price-check-app .promo-prices-table{width:100%;min-width:1510px;border-collapse:separate;border-spacing:0;table-layout:fixed;background:#fff;}
.bca-price-check-app .promo-prices-table .pp-col-photo{width:94px}.bca-price-check-app .promo-prices-table .pp-col-mla{width:175px}.bca-price-check-app .promo-prices-table .pp-col-sku{width:230px}.bca-price-check-app .promo-prices-table .pp-col-price{width:150px}.bca-price-check-app .promo-prices-table .pp-col-diff{width:140px}
.bca-price-check-app .promo-prices-table th{height:43px;padding:8px 10px;background:#f7f7f7;color:#171717;border-right:1px solid #e3e3e3;border-bottom:1px solid #dedede;text-align:center;text-transform:uppercase;font-size:10.5px;font-weight:800;line-height:1.18;white-space:normal;vertical-align:middle;}
.bca-price-check-app .promo-prices-table th:last-child{border-right:0;}
.bca-price-check-app .promo-prices-table .promo-prices-group{height:38px;font-family:'Oswald','Arial Narrow',sans-serif;font-size:18px;letter-spacing:.3px;}
.bca-price-check-app .promo-prices-table .promo-prices-group.dod{background:linear-gradient(180deg,#edf5ff,#f6f9fd);border-bottom-color:#cbdff2;}
.bca-price-check-app .promo-prices-table .promo-prices-group.dxi{background:linear-gradient(180deg,#edf9ef,#f6fbf7);border-bottom-color:#cce5d0;}
.bca-price-check-app .promo-prices-table .promo-prices-subhead-row th:nth-child(-n+4){background:#f3f8ff;}
.bca-price-check-app .promo-prices-table .promo-prices-subhead-row th:nth-child(n+5){background:#f3faf4;}
.bca-price-check-app .promo-prices-table td{height:82px;padding:9px 10px;border-right:1px solid #ededed;border-bottom:1px solid #e9e9e9;text-align:center;vertical-align:middle;font-size:12.5px;color:#222;background:#fff;}
.bca-price-check-app .promo-prices-table td:last-child{border-right:0;}
.bca-price-check-app .promo-prices-table tbody tr:last-child td{border-bottom:0;}
.bca-price-check-app .promo-prices-table tbody tr:hover td{background:#fdfdfd;}
.bca-price-check-app .promo-prices-photo{width:66px;height:66px;margin:auto;border:1px solid #e1e1e1;border-radius:9px;background:#fff;display:grid;place-items:center;overflow:hidden;box-shadow:0 2px 7px rgba(0,0,0,.04);}
.bca-price-check-app .promo-prices-photo img{max-width:92%;max-height:92%;object-fit:contain;display:block;}
.bca-price-check-app .promo-prices-photo .noimg{font-size:10px;color:#aaa;}
.bca-price-check-app .promo-prices-mla{display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left;}
.bca-price-check-app .promo-prices-mla .tipo-badge{font-size:9px;}
.bca-price-check-app .promo-prices-sku{display:flex;flex-direction:column;align-items:center;gap:7px;}
.bca-price-check-app .promo-prices-sku .cat-pill{max-width:205px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.bca-price-check-app .promo-prices-money{font-family:'Roboto Mono',ui-monospace,SFMono-Regular,Consolas,monospace;font-weight:750;font-size:13px;white-space:nowrap;}
.bca-price-check-app .promo-prices-money.missing{color:#aaa;font-weight:600;}
.bca-price-check-app .promo-prices-diff{display:inline-flex;align-items:center;justify-content:center;min-width:72px;min-height:30px;padding:5px 9px;border-radius:8px;font-family:'Roboto Mono',ui-monospace,SFMono-Regular,Consolas,monospace;font-weight:800;font-size:12px;line-height:1.2;white-space:nowrap;}
.bca-price-check-app .promo-prices-diff.ok{background:#e8f6eb;color:#18762a;}
.bca-price-check-app .promo-prices-diff.bad{background:#fdeaea;color:#c90f18;}
.bca-price-check-app .promo-prices-diff.missing{background:#f3f3f3;color:#888;}
.bca-price-check-app .promo-prices-diff-stack{display:grid;gap:3px;justify-items:center;}
.bca-price-check-app .promo-prices-diff-stack small{font-size:9px;font-family:Inter,Arial,sans-serif;font-weight:700;color:inherit;}
.bca-price-check-app .promo-prices-final-bad{color:#c90f18;font-weight:800;}
.bca-price-check-app .promo-prices-loaded-bad{color:#c90f18;font-weight:800;}
.bca-price-check-app .promo-prices-empty{height:130px!important;text-align:center!important;color:#888!important;font-size:13px!important;}
.bca-price-check-app .promo-prices-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:10px 15px;border-top:1px solid #e5e5e5;background:#fafafa;color:#777;font-size:11px;}
.bca-price-check-app .promo-prices-footer span:last-child{text-align:right;}

/* Cabecera flotante clonada: evita que overflow-x rompa el sticky del thead. */
.promo-prices-fixed-header{position:fixed;display:none;z-index:90;background:#fff;border:1px solid #ddd;border-bottom:0;box-shadow:0 4px 12px rgba(17,17,17,.08);overflow:hidden;pointer-events:none;}
.promo-prices-fixed-header.is-visible{display:block;}
.promo-prices-fixed-header-viewport{width:100%;height:100%;overflow:hidden;}
.promo-prices-fixed-header-table{border-collapse:separate;border-spacing:0;table-layout:fixed;margin:0;transform:translateX(0);}
.promo-prices-fixed-header-table th{box-sizing:border-box;}

@media(max-width:1500px){
  .bca-price-check-app .promo-prices-stats{grid-template-columns:repeat(4,minmax(160px,1fr));}
  .bca-price-check-app .promo-prices-updated{grid-column:1/-1;justify-content:flex-start;border-top:1px solid #e4e4e4;padding:10px 18px;}
  .bca-price-check-app .promo-prices-controls{flex-wrap:wrap;}
  .bca-price-check-app .promo-prices-search{flex:1 1 100%;}
}
@media(max-width:900px){
  .bca-price-check-app .promo-prices-stats{grid-template-columns:repeat(2,minmax(150px,1fr));}
  .bca-price-check-app .promo-prices-stat{min-height:92px;padding:14px;}
  .bca-price-check-app .promo-prices-controls select{min-width:160px;flex:1 1 160px;}
  .bca-price-check-app .promo-prices-diff-toggle{flex:1 1 auto;}
  .bca-price-check-app .promo-prices-footer{align-items:flex-start;flex-direction:column;}
  .bca-price-check-app .promo-prices-footer span:last-child{text-align:left;}
}


/* v8.9.103 / paquete v230 — Precios: mismo lenguaje visual de Estado,
   solo cabecera de tabla fija, scroll horizontal accesible y MLA/SKU consistentes. */
.bca-price-check-app #view-promo-precios .promo-prices-sticky{
  position:static !important;
  top:auto !important;
  z-index:auto !important;
  background:transparent !important;
  padding:18px 0 0 !important;
  border-bottom:0 !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-stats{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  background:transparent;
  border:0;
  border-radius:0;
  overflow:visible;
  box-shadow:none;
  margin:0 0 14px;
}
.bca-price-check-app #view-promo-precios .promo-prices-stat,
.bca-price-check-app #view-promo-precios .promo-prices-updated{
  min-height:112px;
  padding:17px 18px;
  background:#fff;
  border:1px solid #e2e2e2;
  border-radius:13px;
  box-shadow:0 3px 12px rgba(0,0,0,.035);
}
.bca-price-check-app #view-promo-precios .promo-prices-stat{
  align-items:flex-start;
  justify-content:space-between;
  border-right:1px solid #e2e2e2;
}
.bca-price-check-app #view-promo-precios .promo-prices-stat span:not(.promo-prices-stat-icon){font-size:12px;font-weight:700;color:#333;}
.bca-price-check-app #view-promo-precios .promo-prices-stat strong{font-family:'Oswald',Arial,sans-serif;font-size:31px;line-height:1;font-weight:600;}
.bca-price-check-app #view-promo-precios .promo-prices-stat small{font-size:11px;font-weight:500;color:#606060;line-height:1.25;}
.bca-price-check-app #view-promo-precios .promo-prices-stat-icon{width:42px;height:42px;flex:0 0 42px;font-size:23px;}
.bca-price-check-app #view-promo-precios .promo-prices-updated{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  text-align:right;
  color:#777;
  font-size:11px;
}
.bca-price-check-app #view-promo-precios .promo-prices-controls{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  background:transparent;
  border:0;
  border-radius:0;
  padding:0;
  box-shadow:none;
}
.bca-price-check-app #view-promo-precios .promo-prices-table-card{
  overflow:hidden !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-topscroll-shell{
  width:100%;
  max-width:100%;
  padding:8px 10px 6px;
  background:#fafafa;
  border-bottom:1px solid #e5e5e5;
}
.bca-price-check-app #view-promo-precios .promo-prices-topscroll{
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  height:14px;
  scrollbar-width:auto;
}
.bca-price-check-app #view-promo-precios .promo-prices-topscroll-inner{height:1px;}
.bca-price-check-app #view-promo-precios .promo-prices-scroll{
  width:100%;
  max-width:100%;
  overflow-x:auto;
  overflow-y:visible;
  scrollbar-gutter:stable;
}
.bca-price-check-app #view-promo-precios .promo-prices-table{
  width:1680px;
  min-width:1680px;
  max-width:none;
}
/* MLA y SKU: exactamente el mismo tratamiento visual usado en Estado. */
.bca-price-check-app #view-promo-precios .promo-prices-mla,
.bca-price-check-app #view-promo-precios .promo-prices-sku{
  gap:11px;
  overflow:visible;
}
.bca-price-check-app #view-promo-precios .promo-prices-mla{align-items:flex-start;text-align:left;}
.bca-price-check-app #view-promo-precios .promo-prices-sku{align-items:center;text-align:center;}
.bca-price-check-app #view-promo-precios .promo-prices-mla .tipo-badge,
.bca-price-check-app #view-promo-precios .promo-prices-sku .cat-pill{
  margin:0;
  line-height:1.15;
  font-size:9.5px !important;
}
.bca-price-check-app #view-promo-precios .bca-copyable-code{
  display:inline-flex;
  align-items:center;
  gap:8px;
  max-width:none;
  overflow:visible;
  white-space:nowrap;
  vertical-align:middle;
}
.bca-price-check-app #view-promo-precios .bca-copyable-code .bca-code-text{
  display:inline-block;
  margin:0;
  padding:1px 0;
  user-select:none;
  -webkit-user-select:none;
  cursor:pointer;
  border-radius:3px;
  white-space:nowrap;
  color:#171717;
  transition:background-color .12s ease,color .12s ease;
}
.bca-price-check-app #view-promo-precios .bca-copyable-code .bca-code-text:hover{background:#f3f3f3;}
.bca-price-check-app #view-promo-precios .bca-copyable-code .bca-code-text:focus-visible{outline:2px solid #a8b9ca;outline-offset:2px;}
.bca-price-check-app #view-promo-precios .promo-prices-mla .mla-group-main,
.bca-price-check-app #view-promo-precios .promo-prices-mla .bca-code-text{
  font-family:var(--mono);
  font-size:13.5px !important;
  font-weight:750 !important;
  line-height:1.2 !important;
  letter-spacing:0;
}
.bca-price-check-app #view-promo-precios .promo-prices-sku .sku-code,
.bca-price-check-app #view-promo-precios .promo-prices-sku .bca-code-text{
  font-family:var(--mono);
  font-size:14.5px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
  letter-spacing:0;
}
.bca-price-check-app #view-promo-precios .bca-copy-btn{
  appearance:none;
  -webkit-appearance:none;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#777;
  width:17px;
  height:17px;
  min-width:17px;
  min-height:17px;
  padding:1px !important;
  margin:0 !important;
  border-radius:3px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 17px;
  cursor:pointer;
  line-height:1;
  transition:background-color .12s ease,color .12s ease,transform .12s ease;
}
.bca-price-check-app #view-promo-precios .bca-copy-btn:hover{background:#f0f0f0 !important;color:#444;}
.bca-price-check-app #view-promo-precios .bca-copy-btn:active{transform:scale(.92);}
.bca-price-check-app #view-promo-precios .bca-copy-btn.is-copied{background:#edf7ea !important;color:#267326;}
.bca-price-check-app #view-promo-precios .bca-copy-svg{
  display:block;
  width:13px;
  height:13px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.bca-price-check-app #view-promo-precios .bca-copy-svg-check{stroke-width:2.2;}
/* La cabecera natural no intenta ser sticky; la copia fija se encarga de eso. */
.bca-price-check-app #view-promo-precios .promo-prices-table thead th{position:relative !important;top:auto !important;}
.promo-prices-fixed-header{z-index:99991 !important;box-shadow:0 5px 14px rgba(17,17,17,.12) !important;}
@media(max-width:1500px){
  .bca-price-check-app #view-promo-precios .promo-prices-stats{grid-template-columns:repeat(4,minmax(160px,1fr));}
  .bca-price-check-app #view-promo-precios .promo-prices-updated{grid-column:1/-1;min-height:54px;justify-content:flex-start;text-align:left;}
  .bca-price-check-app #view-promo-precios .promo-prices-controls{flex-wrap:wrap;}
  .bca-price-check-app #view-promo-precios .promo-prices-search{flex:1 1 100%;}
}


/* v8.9.104 / paquete v231 — Precios + Estado alineados con Panel Principal. */
.bca-price-check-app #view-promo-precios .promo-prices-topscroll-shell{display:none!important;}
.bca-price-check-app #view-promo-precios .promo-prices-table-card{overflow:hidden!important;}
.bca-price-check-app #view-promo-precios .promo-prices-scroll{width:100%;max-width:100%;overflow-x:auto;overflow-y:visible;scrollbar-gutter:auto;}
.bca-price-check-app #view-promo-precios .promo-prices-table{width:100%!important;min-width:1180px!important;max-width:none!important;table-layout:fixed!important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-photo{width:5.5%!important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-mla{width:11.5%!important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-sku{width:13.5%!important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-cuotas{width:8%!important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-price,
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-diff{width:7.6875%!important;}
.bca-price-check-app #view-promo-precios .promo-prices-table th{padding:7px 5px!important;font-size:9.5px!important;line-height:1.12!important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .promo-prices-group{font-size:17px!important;}
.bca-price-check-app #view-promo-precios .promo-prices-table td{padding:9px 6px!important;}
.bca-price-check-app #view-promo-precios .promo-prices-photo{width:58px;height:58px;}
.bca-price-check-app #view-promo-precios .promo-prices-mla{gap:12px;align-items:flex-start;text-align:left;margin:0 auto;max-width:150px;}
.bca-price-check-app #view-promo-precios .promo-prices-mla-entry{display:flex;flex-direction:column;align-items:flex-start;gap:7px;width:100%;padding:2px 0;}
.bca-price-check-app #view-promo-precios .promo-prices-mla-entry + .promo-prices-mla-entry{padding-top:10px;border-top:1px solid #ededed;}
.bca-price-check-app #view-promo-precios .promo-prices-mla .bca-mla-label-row,
.bca-price-check-app #view-promo-precios .promo-prices-mla .bca-mla-code-row{display:flex;align-items:center;width:100%;}
.bca-price-check-app #view-promo-precios .promo-prices-mla .bca-mla-code-row{justify-content:flex-start;}
.bca-price-check-app #view-promo-precios .promo-prices-sku{gap:9px;align-items:center;text-align:center;}
.bca-price-check-app #view-promo-precios .promo-prices-sku .family-category-head{display:flex;justify-content:center;width:100%;}
.bca-price-check-app #view-promo-precios .promo-prices-cuota-wrap{align-items:center;min-width:0;margin:auto;}
.bca-price-check-app #view-promo-precios .promo-prices-cuota-wrap .cuota-tag{font-size:9px!important;padding:5px 8px!important;}
.bca-price-check-app #view-promo-precios .promo-prices-cuota-wrap .cuotas-toggle{font-size:9px!important;margin-top:2px!important;}

.bca-price-check-app #view-estado .promo-state-table-card{overflow-x:auto!important;overflow-y:visible!important;}
.bca-price-check-app #view-estado .promo-state-table{width:100%!important;min-width:1120px!important;table-layout:fixed!important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(1){width:9%!important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(2){width:15%!important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(3){width:16%!important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(4){width:10%!important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(5){width:19%!important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(6){width:20%!important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(7){width:11%!important;}
.bca-price-check-app #view-estado .promo-state-mla{gap:12px;align-items:flex-start;text-align:left;margin:0 auto;max-width:170px;}
.bca-price-check-app #view-estado .promo-state-mla-entry{display:flex;flex-direction:column;align-items:flex-start;gap:7px;width:100%;padding:2px 0;}
.bca-price-check-app #view-estado .promo-state-mla-entry + .promo-state-mla-entry{padding-top:10px;border-top:1px solid #ededed;}
.bca-price-check-app #view-estado .promo-state-mla .bca-mla-label-row,
.bca-price-check-app #view-estado .promo-state-mla .bca-mla-code-row{display:flex;align-items:center;width:100%;}
.bca-price-check-app #view-estado .promo-state-sku{gap:9px;align-items:center;text-align:center;}
.bca-price-check-app #view-estado .promo-state-sku .family-category-head{display:flex;justify-content:center;width:100%;}
.bca-price-check-app #view-estado .promo-state-cuota-wrap{align-items:center;min-width:0;margin:auto;}
.bca-price-check-app #view-estado .promo-state-cuota-wrap .cuota-tag{font-size:9px!important;padding:5px 8px!important;}
.bca-price-check-app #view-estado .promo-state-cuota-wrap .cuotas-toggle{font-size:9px!important;margin-top:2px!important;}

.promo-prices-fixed-header,.promo-state-fixed-header{background:#fff!important;overflow:hidden!important;}
.promo-prices-fixed-header-table,.promo-state-fixed-header-table{background:#fff!important;margin:0!important;}
.promo-prices-fixed-header-table th,.promo-state-fixed-header-table th{box-sizing:border-box!important;}

@media(max-width:1250px){
  .bca-price-check-app #view-promo-precios .promo-prices-table{min-width:1120px!important;}
  .bca-price-check-app #view-estado .promo-state-table{min-width:1080px!important;}
}


/* v8.9.106 / paquete v233 — Precios: cards con el mismo formato visual que Estado. */
.bca-price-check-app #view-promo-precios .promo-prices-stats{
  grid-template-columns:repeat(4,minmax(190px,1fr)) minmax(220px,.82fr) !important;
  gap:12px !important;
  align-items:stretch !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-stat,
.bca-price-check-app #view-promo-precios .promo-prices-updated{
  min-height:126px !important;
  padding:18px !important;
  border:1px solid #e2e2e2 !important;
  border-radius:13px !important;
  background:#fff !important;
  box-shadow:0 3px 12px rgba(0,0,0,.035) !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-stat{
  display:flex !important;
  flex-direction:row !important;
  justify-content:space-between !important;
  align-items:flex-start !important;
  gap:12px !important;
  border-right:1px solid #e2e2e2 !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-stat>div{
  order:1 !important;
  flex:1 1 auto !important;
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:7px !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-stat-icon{
  order:2 !important;
  margin-left:auto !important;
  width:42px !important;
  height:42px !important;
  min-width:42px !important;
  flex:0 0 42px !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-stat span:not(.promo-prices-stat-icon){
  font-size:12px !important;
  font-weight:700 !important;
  color:#333 !important;
  line-height:1.2 !important;
  white-space:normal !important;
  text-align:left !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-stat strong{
  font-family:'Oswald',Arial,sans-serif !important;
  font-size:31px !important;
  line-height:1 !important;
  font-weight:600 !important;
  text-align:left !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-stat small{
  font-size:11px !important;
  font-weight:500 !important;
  line-height:1.25 !important;
  color:#606060 !important;
  text-align:left !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-updated{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  line-height:1.35 !important;
  color:#777 !important;
  font-size:11px !important;
}
@media(max-width:1500px){
  .bca-price-check-app #view-promo-precios .promo-prices-stats{
    grid-template-columns:repeat(4,minmax(170px,1fr)) !important;
  }
  .bca-price-check-app #view-promo-precios .promo-prices-updated{
    grid-column:span 2 !important;
    min-height:86px !important;
  }
}
@media(max-width:1050px){
  .bca-price-check-app #view-promo-precios .promo-prices-stats{
    grid-template-columns:repeat(2,minmax(170px,1fr)) !important;
  }
  .bca-price-check-app #view-promo-precios .promo-prices-updated{grid-column:1/-1 !important;}
}


/* v8.9.108 / paquete v235 — Precios: cruce configurable, sin categoría ni limpiar filtros */
.bca-price-check-app #view-promo-precios .promo-prices-controls{
  display:grid;grid-template-columns:minmax(300px,1fr) minmax(150px,190px) auto minmax(500px,auto) auto;align-items:center;gap:10px;
}
.bca-price-check-app #view-promo-precios .promo-prices-search{min-width:0;width:100%;}
.bca-price-check-app #view-promo-precios .promo-prices-controls>select{min-width:0;width:100%;}
.bca-price-check-app #view-promo-precios .promo-prices-linker{display:flex;align-items:flex-end;gap:8px;min-width:0;padding:7px 8px;border:1px solid #e3e3e3;border-radius:10px;background:#fafafa;}
.bca-price-check-app #view-promo-precios .promo-prices-linker-title{align-self:center;padding:0 4px;font-size:11px;font-weight:800;color:#555;white-space:nowrap;}
.bca-price-check-app #view-promo-precios .promo-prices-linker label{display:flex;flex-direction:column;gap:3px;min-width:104px;}
.bca-price-check-app #view-promo-precios .promo-prices-linker label>span{font-size:9px;line-height:1;font-weight:800;color:#777;text-transform:uppercase;letter-spacing:.02em;}
.bca-price-check-app #view-promo-precios .promo-prices-linker select{height:34px;min-width:104px;padding:0 30px 0 10px;border:1px solid #d8d8d8;border-radius:8px;background:#fff;font:inherit;font-size:11.5px;font-weight:700;color:#222;}
.bca-price-check-app #view-promo-precios .promo-prices-link-arrow{align-self:center;margin-top:10px;font-size:15px;font-weight:800;color:#a61918;}
.bca-price-check-app #view-promo-precios .promo-prices-link-run{height:34px;padding:0 12px;border-radius:8px;font-size:11px;background:#a61918;border-color:#a61918;color:#fff;}
.bca-price-check-app #view-promo-precios .promo-prices-link-run.is-applied{background:#2f7d32;border-color:#2f7d32;}
.bca-price-check-app #view-promo-precios .promo-prices-export{justify-self:end;}
@media(max-width:1500px){.bca-price-check-app #view-promo-precios .promo-prices-controls{grid-template-columns:minmax(280px,1fr) minmax(145px,170px) auto}.bca-price-check-app #view-promo-precios .promo-prices-linker{grid-column:1/span 2;justify-self:start}.bca-price-check-app #view-promo-precios .promo-prices-export{grid-column:3;grid-row:2;align-self:center}}
@media(max-width:900px){.bca-price-check-app #view-promo-precios .promo-prices-controls{display:flex;flex-wrap:wrap}.bca-price-check-app #view-promo-precios .promo-prices-search{flex:1 1 100%}.bca-price-check-app #view-promo-precios .promo-prices-linker{flex:1 1 100%;flex-wrap:wrap}.bca-price-check-app #view-promo-precios .promo-prices-export{margin-left:auto}}


/* v8.9.109 / paquete v236 — Precios: mapeo DOD y DXI independiente + tipografía más legible */
.bca-price-check-app #view-promo-precios .promo-prices-controls{
  grid-template-columns:minmax(330px,1fr) minmax(155px,190px) auto minmax(560px,auto) auto;
}
.bca-price-check-app #view-promo-precios .promo-prices-linker{gap:10px;padding:8px 10px;align-items:flex-end;}
.bca-price-check-app #view-promo-precios .promo-prices-linker-title{font-size:12px!important;padding:0 5px;}
.bca-price-check-app #view-promo-precios .promo-prices-linker label{min-width:178px;gap:4px;}
.bca-price-check-app #view-promo-precios .promo-prices-linker label>span{font-size:10px!important;}
.bca-price-check-app #view-promo-precios .promo-prices-link-pair{display:grid;grid-template-columns:auto 18px minmax(92px,1fr);align-items:center;gap:5px;}
.bca-price-check-app #view-promo-precios .promo-prices-link-pair b{font-size:12px;font-weight:850;color:#202020;white-space:nowrap;}
.bca-price-check-app #view-promo-precios .promo-prices-link-pair>span{font-size:16px;font-weight:850;color:#a61918;text-align:center;}
.bca-price-check-app #view-promo-precios .promo-prices-linker select{height:38px!important;min-width:92px!important;font-size:13px!important;font-weight:800!important;}
.bca-price-check-app #view-promo-precios .promo-prices-link-run{height:38px!important;font-size:12.5px!important;font-weight:800!important;}

/* Lectura de tabla: no reducir a 9px aunque la tabla se autoajuste. */
.bca-price-check-app #view-promo-precios .promo-prices-table th{font-size:11.5px!important;line-height:1.18!important;padding:8px 6px!important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .promo-prices-group{font-size:19px!important;line-height:1!important;}
.bca-price-check-app #view-promo-precios .promo-prices-table td{font-size:13.5px!important;padding:10px 7px!important;}
.bca-price-check-app #view-promo-precios .promo-prices-money{font-size:15px!important;font-weight:850!important;letter-spacing:.01em;}
.bca-price-check-app #view-promo-precios .promo-prices-diff{font-size:13.5px!important;min-width:78px;min-height:32px;}
.bca-price-check-app #view-promo-precios .promo-prices-diff-stack small{font-size:10px!important;}
.bca-price-check-app #view-promo-precios .promo-prices-mla .mla-group-main,
.bca-price-check-app #view-promo-precios .promo-prices-mla .bca-code-text{font-size:14px!important;font-weight:800!important;}
.bca-price-check-app #view-promo-precios .promo-prices-sku .sku-code,
.bca-price-check-app #view-promo-precios .promo-prices-sku .bca-code-text{font-size:14.5px!important;font-weight:850!important;}
.bca-price-check-app #view-promo-precios .promo-prices-mla .tipo-badge{font-size:10px!important;padding:4px 7px!important;}
.bca-price-check-app #view-promo-precios .promo-prices-sku .cat-pill{font-size:10px!important;padding:4px 7px!important;}
.bca-price-check-app #view-promo-precios .promo-prices-cuota-wrap .cuota-tag{font-size:10px!important;padding:6px 9px!important;}
.bca-price-check-app #view-promo-precios .promo-prices-cuota-wrap .cuotas-toggle{font-size:10px!important;margin-top:4px!important;}
.bca-price-check-app #view-promo-precios .promo-prices-search input,
.bca-price-check-app #view-promo-precios .promo-prices-controls>select{font-size:13.5px!important;}
.bca-price-check-app #view-promo-precios .promo-prices-diff-toggle{font-size:12.5px!important;}
@media(max-width:1500px){
  .bca-price-check-app #view-promo-precios .promo-prices-controls{grid-template-columns:minmax(300px,1fr) minmax(155px,185px) auto;}
  .bca-price-check-app #view-promo-precios .promo-prices-linker{grid-column:1/span 2;justify-self:start;}
  .bca-price-check-app #view-promo-precios .promo-prices-export{grid-column:3;grid-row:2;align-self:center;}
}


/* v8.9.110 / paquete v237 — Precios: franja de cruce compacta y footer limpio */
.bca-price-check-app #view-promo-precios .promo-prices-footer{justify-content:flex-start !important;}

/* v8.9.111 / paquete v238 — Precios: controles principales arriba y cruce en una segunda fila */
.bca-price-check-app #view-promo-precios .promo-prices-controls{
  display:grid !important;
  grid-template-columns:minmax(300px,1fr) minmax(150px,185px) auto auto !important;
  grid-template-areas:
    "search status diff export"
    "linker linker linker linker" !important;
  align-items:center !important;
  gap:10px 12px !important;
  padding:12px 14px !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-search{grid-area:search;min-width:0;width:100%;}
.bca-price-check-app #view-promo-precios #promo-prices-status{grid-area:status;min-width:0;width:100%;}
.bca-price-check-app #view-promo-precios .promo-prices-diff-toggle{grid-area:diff;white-space:nowrap;}
.bca-price-check-app #view-promo-precios .promo-prices-export{
  grid-area:export;
  justify-self:end !important;
  height:40px !important;
  padding:0 16px !important;
  font-size:12.5px !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-linker{
  grid-area:linker;
  display:flex !important;
  align-items:flex-end !important;
  justify-content:flex-start !important;
  gap:12px !important;
  width:max-content !important;
  max-width:100% !important;
  min-width:0 !important;
  padding:9px 11px !important;
  border:1px solid #e1e1e1 !important;
  border-radius:10px !important;
  background:#fafafa !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-linker-title{
  align-self:center !important;
  padding:0 5px 0 1px !important;
  font-size:12px !important;
  font-weight:800 !important;
  color:#555 !important;
  white-space:nowrap !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-linker label{
  display:flex !important;
  flex-direction:column !important;
  gap:4px !important;
  min-width:150px !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-linker label>span{
  font-size:10px !important;
  line-height:1 !important;
  font-weight:800 !important;
  color:#777 !important;
  text-transform:uppercase !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-link-pair{
  display:grid !important;
  grid-template-columns:auto 16px 96px !important;
  align-items:center !important;
  gap:4px !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-link-pair b{font-size:12.5px !important;font-weight:850 !important;white-space:nowrap;}
.bca-price-check-app #view-promo-precios .promo-prices-link-pair>span{font-size:15px !important;font-weight:850 !important;color:#a61918 !important;text-align:center;}
.bca-price-check-app #view-promo-precios .promo-prices-linker select{
  height:36px !important;
  min-width:96px !important;
  width:96px !important;
  padding:0 28px 0 9px !important;
  font-size:12.5px !important;
  font-weight:800 !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-link-run{
  height:36px !important;
  padding:0 13px !important;
  font-size:12px !important;
  font-weight:800 !important;
  flex:0 0 auto !important;
}
@media(max-width:1050px){
  .bca-price-check-app #view-promo-precios .promo-prices-controls{
    grid-template-columns:minmax(260px,1fr) minmax(145px,175px) auto !important;
    grid-template-areas:
      "search status diff"
      "linker linker export" !important;
  }
  .bca-price-check-app #view-promo-precios .promo-prices-export{align-self:center !important;}
}
@media(max-width:760px){
  .bca-price-check-app #view-promo-precios .promo-prices-controls{
    display:flex !important;
    flex-wrap:wrap !important;
  }
  .bca-price-check-app #view-promo-precios .promo-prices-search{flex:1 1 100% !important;}
  .bca-price-check-app #view-promo-precios #promo-prices-status{flex:1 1 180px !important;}
  .bca-price-check-app #view-promo-precios .promo-prices-diff-toggle{flex:0 0 auto !important;}
  .bca-price-check-app #view-promo-precios .promo-prices-export{margin-left:auto !important;}
  .bca-price-check-app #view-promo-precios .promo-prices-linker{
    order:10 !important;
    flex:1 1 100% !important;
    width:100% !important;
    flex-wrap:wrap !important;
  }
}

/* v8.9.113 / paquete v240 — Estado: publicación inactiva + cruce de precios conectado */
.bca-price-check-app .promo-state-stats{grid-template-columns:1.15fr repeat(4,minmax(145px,1fr)) .92fr .92fr .9fr;}
.promo-state-stat strong.gray{color:#777;}
.promo-state-stat-icon.gray{background:#eeeeee;color:#777;}
.promo-state-legend i.gray{background:#888;}
.promo-state-promo-head.gray{color:#777;}.promo-state-promo-head.gray i{background:#8a8a8a;}
.promo-state-badge.inactive{background:#ededed;color:#666}.promo-state-badge.inactive b{background:#888;color:#fff}
.promo-prices-bc-money{display:inline-flex!important;flex-direction:column;align-items:center;gap:2px}.promo-prices-bc-source{display:block;font-family:'Inter',Arial,sans-serif;font-size:9px;line-height:1;color:#8a1312;font-weight:800;letter-spacing:.02em}
@media(max-width:1650px){.bca-price-check-app .promo-state-stats{grid-template-columns:repeat(4,1fr)}.promo-state-legend{grid-column:auto}}

/* v8.9.115 / paquete v242 — auditoría de Carga de Archivos */
.bca-promo-import-overview{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  margin:0 0 16px;
  padding:13px 16px;
  border:1px solid #dedede;
  border-radius:14px;
  background:#fff;
  box-shadow:0 5px 16px rgba(17,17,17,.045);
}
.bca-promo-import-overview-title{font-weight:850;color:#222;}
.bca-promo-import-overview-meta{color:#777;font-size:12px;margin-left:auto;}
.bca-promo-import-overview-sources{display:flex;gap:8px;flex-wrap:wrap;width:100%;}
.bca-promo-source-chip{
  display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;
  border:1px solid #ddd;background:#f7f7f7;color:#777;font-size:11px;font-weight:800;
}
.bca-promo-source-chip i{width:7px;height:7px;border-radius:50%;background:#aaa;}
.bca-promo-source-chip.ok{background:#f2f8ef;border-color:#d7e8d1;color:#315f2b;}
.bca-promo-source-chip.ok i{background:#2f8a32;}
.bca-promo-source-chip.missing{background:#fafafa;color:#999;}
.bca-promo-detail-toggle{
  align-self:flex-start;margin-top:9px;border:0;background:transparent;color:#8f1514;
  padding:0;font:inherit;font-size:12px;font-weight:850;text-decoration:underline;cursor:pointer;
}
.bca-promo-import-detail{
  margin-top:12px;padding:13px;border:1px solid #e4e4e4;border-radius:12px;background:#fafafa;
}
.bca-promo-import-detail[hidden]{display:none !important;}
.bca-promo-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.bca-promo-detail-grid>div{padding:8px 9px;border:1px solid #ececec;border-radius:9px;background:#fff;min-width:0;}
.bca-promo-detail-grid small{display:block;color:#888;font-size:10px;font-weight:750;margin-bottom:3px;}
.bca-promo-detail-grid strong{display:block;font-size:12px;line-height:1.3;overflow-wrap:anywhere;}
.bca-promo-detail-section{margin-top:11px;padding-top:10px;border-top:1px solid #e6e6e6;}
.bca-promo-detail-section>b{display:block;font-size:11px;margin-bottom:7px;}
.bca-promo-detail-columns{display:flex;flex-direction:column;gap:4px;}
.bca-promo-detail-columns span{font-size:10.5px;color:#4f4f4f;line-height:1.3;overflow-wrap:anywhere;}
.bca-promo-detail-samples{display:flex;gap:6px;flex-wrap:wrap;}
.bca-promo-detail-samples code{padding:4px 6px;border:1px solid #ddd;border-radius:7px;background:#fff;font-size:10.5px;}
@media(max-width:800px){
  .bca-promo-import-overview-meta{margin-left:0;width:100%;}
  .bca-promo-detail-grid{grid-template-columns:1fr;}
}

/* v8.9.116 / paquete v243 — Estado + Precios replican la jerarquía visual del Panel Principal.
   Foto, MLA Principal/Catálogo, SKU/Categoría y Cuotas usan el mismo peso y escala.
   Panel Principal: todos los precios quedan rectos, sin itálica ni subrayado. */

/* ---------- Chequeo de Promos · ESTADO ---------- */
.bca-price-check-app #view-estado .promo-state-table{
  width:100% !important;
  min-width:1500px !important;
  table-layout:fixed !important;
}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(1){width:11% !important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(2){width:15% !important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(3){width:16% !important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(4){width:10% !important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(5){width:19% !important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(6){width:19% !important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(7){width:10% !important;}
.bca-price-check-app #view-estado .promo-state-table tbody tr.promo-panel-style-row > td{
  min-height:178px !important;
  height:178px !important;
  padding:16px 14px !important;
  vertical-align:middle !important;
}
.bca-price-check-app #view-estado .promo-state-photo-cell{
  text-align:center !important;
  padding:14px 10px !important;
}
.bca-price-check-app #view-estado .promo-state-photo{
  width:150px !important;
  height:150px !important;
  margin:0 auto !important;
  border:1px solid #e1e1e1 !important;
  border-radius:15px !important;
  background:#fff !important;
  box-shadow:0 4px 12px rgba(17,17,17,.08) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
}
.bca-price-check-app #view-estado .promo-state-photo img,
.bca-price-check-app #view-estado .promo-state-photo .noimg{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  box-sizing:border-box !important;
}
.bca-price-check-app #view-estado .promo-state-photo img{padding:8px !important;}
.bca-price-check-app #view-estado .promo-state-photo .noimg{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  color:#aaa !important;
  font-size:13px !important;
}
.bca-price-check-app #view-estado .promo-state-mla{
  width:100% !important;
  max-width:210px !important;
  margin:0 auto !important;
  gap:13px !important;
  align-items:flex-start !important;
  text-align:left !important;
}
.bca-price-check-app #view-estado .promo-state-mla-entry{
  width:100% !important;
  padding:1px 0 !important;
  gap:9px !important;
}
.bca-price-check-app #view-estado .promo-state-mla-entry + .promo-state-mla-entry{
  padding-top:13px !important;
  border-top:1px solid #e9e9e9 !important;
}
.bca-price-check-app #view-estado .promo-state-mla .bca-mla-label-row{
  min-height:20px !important;
  margin-bottom:0 !important;
}
.bca-price-check-app #view-estado .promo-state-mla .tipo-badge{
  font-size:11.5px !important;
  font-weight:800 !important;
  padding:4px 9px !important;
}
.bca-price-check-app #view-estado .promo-state-mla .mla-group-main,
.bca-price-check-app #view-estado .promo-state-mla .bca-code-text{
  font-size:16.5px !important;
  font-weight:800 !important;
  line-height:1.22 !important;
}
.bca-price-check-app #view-estado .promo-state-mla .bca-copyable-code{gap:10px !important;}
.bca-price-check-app #view-estado .promo-state-mla .bca-copy-btn{
  width:18px !important;height:18px !important;min-width:18px !important;min-height:18px !important;flex:0 0 18px !important;
}
.bca-price-check-app #view-estado .promo-state-mla .bca-copy-svg{width:14px !important;height:14px !important;}
.bca-price-check-app #view-estado .promo-state-sku{
  width:100% !important;
  max-width:255px !important;
  margin:0 auto !important;
  gap:12px !important;
  align-items:center !important;
  text-align:center !important;
}
.bca-price-check-app #view-estado .promo-state-sku .family-category-head{
  min-height:22px !important;
  margin:0 0 1px !important;
}
.bca-price-check-app #view-estado .promo-state-sku .cat-pill{
  font-size:11.5px !important;
  font-weight:750 !important;
}
.bca-price-check-app #view-estado .promo-state-sku .sku-code,
.bca-price-check-app #view-estado .promo-state-sku .bca-code-text{
  font-size:18px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
}
.bca-price-check-app #view-estado .promo-state-sku .bca-copyable-code{gap:10px !important;}
.bca-price-check-app #view-estado .promo-state-sku .bca-copy-btn{
  width:18px !important;height:18px !important;min-width:18px !important;min-height:18px !important;flex:0 0 18px !important;
}
.bca-price-check-app #view-estado .promo-state-sku .bca-copy-svg{width:14px !important;height:14px !important;}
.bca-price-check-app #view-estado .promo-state-cuota-wrap{
  align-items:center !important;
  justify-content:center !important;
  margin:0 auto !important;
  min-width:112px !important;
  gap:8px !important;
}
.bca-price-check-app #view-estado .promo-state-cuota-wrap .cuota-tag,
.bca-price-check-app #view-estado .promo-state-cuota-wrap .cuota-tag.sin-cuotas{
  font-size:14px !important;
  font-weight:900 !important;
  padding:8px 15px !important;
  border:1.8px solid #d45b55 !important;
  color:#b11d1c !important;
  background:#fff5f4 !important;
}
.bca-price-check-app #view-estado .promo-state-cuota-wrap .cuotas-toggle{
  font-size:13px !important;
  font-weight:700 !important;
  margin-top:3px !important;
}

/* ---------- Chequeo de Promos · PRECIOS ---------- */
.bca-price-check-app #view-promo-precios .promo-prices-table{
  width:100% !important;
  min-width:1760px !important;
  table-layout:fixed !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-photo{width:10% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-mla{width:13% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-sku{width:15% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-cuotas{width:9% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-price,
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-diff{width:6.625% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table tbody tr.promo-panel-style-row > td{
  min-height:178px !important;
  height:178px !important;
  padding:16px 10px !important;
  vertical-align:middle !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-photo-cell{
  text-align:center !important;
  padding:14px 10px !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-photo{
  width:150px !important;
  height:150px !important;
  margin:0 auto !important;
  border:1px solid #e1e1e1 !important;
  border-radius:15px !important;
  background:#fff !important;
  box-shadow:0 4px 12px rgba(17,17,17,.08) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-photo img,
.bca-price-check-app #view-promo-precios .promo-prices-photo .noimg{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  box-sizing:border-box !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-photo img{padding:8px !important;}
.bca-price-check-app #view-promo-precios .promo-prices-photo .noimg{
  display:flex !important;align-items:center !important;justify-content:center !important;color:#aaa !important;font-size:13px !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-mla{
  width:100% !important;
  max-width:220px !important;
  margin:0 auto !important;
  gap:13px !important;
  align-items:flex-start !important;
  text-align:left !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-mla-entry{
  width:100% !important;
  padding:1px 0 !important;
  gap:9px !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-mla-entry + .promo-prices-mla-entry{
  padding-top:13px !important;
  border-top:1px solid #e9e9e9 !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-mla .tipo-badge{
  font-size:11.5px !important;
  font-weight:800 !important;
  padding:4px 9px !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-mla .mla-group-main,
.bca-price-check-app #view-promo-precios .promo-prices-mla .bca-code-text{
  font-size:16.5px !important;
  font-weight:800 !important;
  line-height:1.22 !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-mla .bca-copyable-code{gap:10px !important;}
.bca-price-check-app #view-promo-precios .promo-prices-mla .bca-copy-btn{
  width:18px !important;height:18px !important;min-width:18px !important;min-height:18px !important;flex:0 0 18px !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-mla .bca-copy-svg{width:14px !important;height:14px !important;}
.bca-price-check-app #view-promo-precios .promo-prices-sku{
  width:100% !important;
  max-width:260px !important;
  margin:0 auto !important;
  gap:12px !important;
  align-items:center !important;
  text-align:center !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-sku .family-category-head{
  min-height:22px !important;
  margin:0 0 1px !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-sku .cat-pill{
  font-size:11.5px !important;
  font-weight:750 !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-sku .sku-code,
.bca-price-check-app #view-promo-precios .promo-prices-sku .bca-code-text{
  font-size:18px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-sku .bca-copyable-code{gap:10px !important;}
.bca-price-check-app #view-promo-precios .promo-prices-sku .bca-copy-btn{
  width:18px !important;height:18px !important;min-width:18px !important;min-height:18px !important;flex:0 0 18px !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-sku .bca-copy-svg{width:14px !important;height:14px !important;}
.bca-price-check-app #view-promo-precios .promo-prices-cuota-wrap{
  align-items:center !important;
  justify-content:center !important;
  margin:0 auto !important;
  min-width:112px !important;
  gap:8px !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-cuota-wrap .cuota-tag,
.bca-price-check-app #view-promo-precios .promo-prices-cuota-wrap .cuota-tag.sin-cuotas{
  font-size:14px !important;
  font-weight:900 !important;
  padding:8px 15px !important;
  border:1.8px solid #d45b55 !important;
  color:#b11d1c !important;
  background:#fff5f4 !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-cuota-wrap .cuotas-toggle{
  font-size:13px !important;
  font-weight:700 !important;
  margin-top:3px !important;
}

/* ---------- Panel Principal de Chequeo de Promos · precios uniformes ---------- */
.bca-price-check-app #view-base .bca-price-check-price-card,
.bca-price-check-app #view-base .bca-price-check-readonly-cell .calc-price,
.bca-price-check-app #view-base .readonly-price,
.bca-price-check-app #view-base .calc-price,
.bca-price-check-app #view-base .bca-kit-auto-value,
.bca-price-check-app #view-base .cell-value,
.bca-price-check-app #view-base .lista-cell .calc-price{
  font-family:var(--mono) !important;
  font-style:normal !important;
  font-weight:800 !important;
  text-decoration:none !important;
  opacity:1 !important;
  letter-spacing:0 !important;
}
.bca-price-check-app #view-base .bca-price-check-price-card *,
.bca-price-check-app #view-base .bca-kit-auto-value *{
  font-style:normal !important;
  text-decoration:none !important;
}

@media(max-width:1500px){
  .bca-price-check-app #view-estado .promo-state-table{min-width:1400px !important;}
  .bca-price-check-app #view-promo-precios .promo-prices-table{min-width:1680px !important;}
  .bca-price-check-app #view-estado .promo-state-photo,
  .bca-price-check-app #view-promo-precios .promo-prices-photo{width:136px !important;height:136px !important;}
}


/* v8.9.117 / v244 — Precios Meli + Precios Manual */
.bca-price-check-app #view-promo-precios .promo-prices-bc-candidates,
.bca-price-check-app #view-promo-precios-manual .promo-prices-bc-candidates{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;}
.bca-price-check-app #view-promo-precios .promo-prices-bc-money,
.bca-price-check-app #view-promo-precios-manual .promo-prices-bc-money{display:flex!important;flex-direction:column;align-items:center;gap:2px;line-height:1.08;}
.bca-price-check-app #view-promo-precios .promo-prices-bc-money.is-selected,
.bca-price-check-app #view-promo-precios-manual .promo-prices-bc-money.is-selected{font-weight:900!important;}
.bca-price-check-app .promo-prices-final-source{display:block;margin-top:4px;font-family:var(--font)!important;font-size:10px!important;font-weight:800!important;color:#777!important;line-height:1.1;white-space:normal;text-align:center;}
.bca-price-check-app .promo-prices-no-promo{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:9px;background:#fff0ef;border:1px solid #f2c2bf;color:#b11d1c;font-size:12px;font-weight:900;white-space:nowrap;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-stats{grid-template-columns:repeat(3,minmax(190px,1fr)) minmax(260px,.85fr)!important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-controls{grid-template-columns:minmax(300px,1fr) minmax(185px,220px) auto auto!important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-linker{grid-column:1/-1;width:max-content;max-width:100%;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-table{width:100%!important;min-width:1180px!important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-table th,
.bca-price-check-app #view-promo-precios-manual .promo-prices-table td{vertical-align:middle;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-photo{width:150px!important;height:150px!important;margin:0 auto!important;border:1px solid #e0e0e0!important;border-radius:14px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 3px 10px rgba(0,0,0,.05)!important;display:flex!important;align-items:center!important;justify-content:center!important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-photo img,.bca-price-check-app #view-promo-precios-manual .promo-prices-photo .noimg{width:100%!important;height:100%!important;object-fit:contain!important;box-sizing:border-box!important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-photo img{padding:8px!important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-mla{width:100%!important;max-width:220px!important;margin:0 auto!important;gap:13px!important;align-items:flex-start!important;text-align:left!important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-mla-entry{width:100%!important;padding:1px 0!important;gap:9px!important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-mla-entry + .promo-prices-mla-entry{padding-top:13px!important;border-top:1px solid #e9e9e9!important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-mla .tipo-badge{font-size:11.5px!important;font-weight:800!important;padding:4px 9px!important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-mla .mla-group-main,.bca-price-check-app #view-promo-precios-manual .promo-prices-mla .bca-code-text{font-size:16.5px!important;font-weight:800!important;line-height:1.22!important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-sku{width:100%!important;max-width:260px!important;margin:0 auto!important;gap:12px!important;align-items:center!important;text-align:center!important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-sku .cat-pill{font-size:11.5px!important;font-weight:750!important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-sku .sku-code,.bca-price-check-app #view-promo-precios-manual .promo-prices-sku .bca-code-text{font-size:18px!important;font-weight:800!important;line-height:1.2!important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-cuota-wrap{align-items:center!important;justify-content:center!important;margin:0 auto!important;min-width:112px!important;gap:8px!important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-cuota-wrap .cuota-tag{font-size:14px!important;font-weight:900!important;padding:8px 15px!important;border:1.8px solid #d45b55!important;color:#b11d1c!important;background:#fff5f4!important;}
@media(max-width:1500px){.bca-price-check-app #view-promo-precios-manual .promo-prices-table{min-width:1180px!important}.bca-price-check-app #view-promo-precios-manual .promo-prices-photo{width:136px!important;height:136px!important;}}
\n\n/* v8.9.118 / v245 — Precios Meli y Precios Manual: layout estable + carga posterior a Base Comercial */
/* PRECIOS MELI: en escritorio la grilla ocupa exactamente el ancho disponible. */
.bca-price-check-app #view-promo-precios .promo-prices-table{
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  table-layout:fixed !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-scroll{width:100% !important;max-width:100% !important;overflow-x:auto !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-photo{width:9% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-mla{width:13% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-sku{width:15% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-cuotas{width:9% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-price,
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-diff{width:6.75% !important;}

/* PRECIOS MANUAL: mismo lenguaje visual y estructura que Precios Meli. */
.bca-price-check-app #view-promo-precios-manual{padding:0 !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-sticky{
  position:static !important;top:auto !important;z-index:auto !important;background:transparent !important;
  padding:18px 0 0 !important;border:0 !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-prices-stats{
  display:grid !important;grid-template-columns:repeat(3,minmax(190px,1fr)) minmax(220px,.82fr) !important;
  gap:12px !important;background:transparent !important;border:0 !important;border-radius:0 !important;
  overflow:visible !important;box-shadow:none !important;margin:0 0 14px !important;align-items:stretch !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-prices-stat,
.bca-price-check-app #view-promo-precios-manual .promo-prices-updated{
  min-height:126px !important;padding:18px !important;border:1px solid #e2e2e2 !important;border-radius:13px !important;
  background:#fff !important;box-shadow:0 3px 12px rgba(0,0,0,.035) !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-prices-stat{
  display:flex !important;flex-direction:row !important;justify-content:space-between !important;align-items:flex-start !important;
  gap:12px !important;border-right:1px solid #e2e2e2 !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-prices-stat>div{
  order:1 !important;flex:1 1 auto !important;min-width:0 !important;display:flex !important;flex-direction:column !important;
  align-items:flex-start !important;gap:7px !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-prices-stat-icon{
  order:2 !important;margin-left:auto !important;width:42px !important;height:42px !important;min-width:42px !important;flex:0 0 42px !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-prices-stat span:not(.promo-prices-stat-icon){font-size:12px !important;font-weight:700 !important;color:#333 !important;line-height:1.2 !important;text-align:left !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-stat strong{font-family:'Oswald',Arial,sans-serif !important;font-size:31px !important;line-height:1 !important;font-weight:600 !important;text-align:left !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-stat small{font-size:11px !important;font-weight:500 !important;line-height:1.25 !important;color:#606060 !important;text-align:left !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-updated{display:flex !important;align-items:center !important;justify-content:center !important;text-align:center !important;line-height:1.35 !important;color:#777 !important;font-size:11px !important;}

.bca-price-check-app #view-promo-precios-manual .promo-prices-controls{
  display:grid !important;
  grid-template-columns:minmax(300px,1fr) minmax(150px,185px) auto auto !important;
  grid-template-areas:"search status diff export" "linker linker linker linker" !important;
  align-items:center !important;gap:10px 12px !important;background:transparent !important;border:0 !important;border-radius:0 !important;
  padding:0 !important;box-shadow:none !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-prices-search{grid-area:search !important;min-width:0 !important;width:100% !important;}
.bca-price-check-app #view-promo-precios-manual #promo-manual-status{grid-area:status !important;min-width:0 !important;width:100% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-diff-toggle{grid-area:diff !important;white-space:nowrap !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-export{grid-area:export !important;justify-self:end !important;height:40px !important;padding:0 16px !important;font-size:12.5px !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-linker{
  grid-area:linker !important;display:flex !important;align-items:flex-end !important;justify-content:flex-start !important;
  gap:12px !important;width:max-content !important;max-width:100% !important;min-width:0 !important;padding:9px 11px !important;
  border:1px solid #e1e1e1 !important;border-radius:10px !important;background:#fafafa !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-prices-linker-title{align-self:center !important;padding:0 5px 0 1px !important;font-size:12px !important;font-weight:800 !important;color:#555 !important;white-space:nowrap !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-linker label{display:flex !important;flex-direction:column !important;gap:4px !important;min-width:150px !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-linker label>span{font-size:10px !important;line-height:1 !important;font-weight:800 !important;color:#777 !important;text-transform:uppercase !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-link-pair{display:grid !important;grid-template-columns:auto 16px 104px !important;align-items:center !important;gap:4px !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-link-pair b{font-size:12.5px !important;font-weight:850 !important;white-space:nowrap !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-link-pair>span{font-size:15px !important;font-weight:850 !important;color:#a61918 !important;text-align:center !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-linker select{height:36px !important;min-width:104px !important;width:104px !important;padding:0 28px 0 9px !important;font-size:12.5px !important;font-weight:800 !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-link-run{height:36px !important;padding:0 13px !important;font-size:12px !important;font-weight:800 !important;flex:0 0 auto !important;}

.bca-price-check-app #view-promo-precios-manual .promo-prices-table-card{width:100% !important;max-width:100% !important;min-width:0 !important;overflow:hidden !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-scroll{width:100% !important;max-width:100% !important;overflow-x:auto !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-table{width:100% !important;min-width:0 !important;max-width:100% !important;table-layout:fixed !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-table .pp-col-photo{width:10% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-table .pp-col-mla{width:18% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-table .pp-col-sku{width:22% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-table .pp-col-cuotas{width:12% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-table .pp-col-price,
.bca-price-check-app #view-promo-precios-manual .promo-prices-table .pp-col-diff{width:12.6667% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-table th{font-size:11.5px !important;line-height:1.18 !important;padding:8px 6px !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-table .promo-prices-group{font-size:19px !important;line-height:1 !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-table td{font-size:13.5px !important;padding:10px 7px !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-money{font-size:15px !important;font-weight:850 !important;}
.bca-price-check-app #view-promo-precios-manual .promo-prices-diff{font-size:13.5px !important;min-width:78px !important;min-height:32px !important;}

@media(max-width:1350px){
  .bca-price-check-app #view-promo-precios .promo-prices-table{min-width:1480px !important;max-width:none !important;}
  .bca-price-check-app #view-promo-precios-manual .promo-prices-table{min-width:1120px !important;max-width:none !important;}
}
@media(max-width:1100px){
  .bca-price-check-app #view-promo-precios-manual .promo-prices-stats{grid-template-columns:repeat(2,minmax(170px,1fr)) !important;}
  .bca-price-check-app #view-promo-precios-manual .promo-prices-updated{grid-column:1/-1 !important;min-height:86px !important;}
  .bca-price-check-app #view-promo-precios-manual .promo-prices-controls{grid-template-columns:minmax(260px,1fr) minmax(145px,175px) auto !important;grid-template-areas:"search status diff" "linker linker export" !important;}
}
@media(max-width:760px){
  .bca-price-check-app #view-promo-precios-manual .promo-prices-controls{display:flex !important;flex-wrap:wrap !important;}
  .bca-price-check-app #view-promo-precios-manual .promo-prices-search{flex:1 1 100% !important;}
  .bca-price-check-app #view-promo-precios-manual #promo-manual-status{flex:1 1 180px !important;}
  .bca-price-check-app #view-promo-precios-manual .promo-prices-export{margin-left:auto !important;}
  .bca-price-check-app #view-promo-precios-manual .promo-prices-linker{order:10 !important;flex:1 1 100% !important;width:100% !important;flex-wrap:wrap !important;}
}

/* v8.9.119 / paquete v246 — Estado: auto-fit real, búsqueda de cuotas y conteo completo */
.bca-price-check-app #view-estado .promo-state-table-card{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  overflow-x:auto !important;
  overflow-y:visible !important;
}
.bca-price-check-app #view-estado .promo-state-table{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  table-layout:fixed !important;
}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(1){width:9% !important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(2){width:15% !important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(3){width:16% !important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(4){width:9% !important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(5){width:20% !important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(6){width:20% !important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(7){width:11% !important;}
.bca-price-check-app #view-estado .promo-state-table td,
.bca-price-check-app #view-estado .promo-state-table th{
  min-width:0 !important;
  max-width:none !important;
  box-sizing:border-box !important;
}
.bca-price-check-app #view-estado .promo-state-table tbody tr.promo-panel-style-row > td{
  height:164px !important;
  min-height:164px !important;
  padding:13px 10px !important;
}
.bca-price-check-app #view-estado .promo-state-photo{
  width:min(126px,100%) !important;
  height:126px !important;
}
.bca-price-check-app #view-estado .promo-state-mla{
  max-width:190px !important;
}
.bca-price-check-app #view-estado .promo-state-sku{
  max-width:230px !important;
}
.bca-price-check-app #view-estado .promo-state-mla .mla-group-main,
.bca-price-check-app #view-estado .promo-state-mla .bca-code-text{
  font-size:15px !important;
}
.bca-price-check-app #view-estado .promo-state-sku .sku-code,
.bca-price-check-app #view-estado .promo-state-sku .bca-code-text{
  font-size:16px !important;
}
.bca-price-check-app #view-estado .promo-state-cuota-wrap{
  min-width:0 !important;
  width:100% !important;
}
.bca-price-check-app #view-estado .promo-state-cuota-wrap .cuota-tag,
.bca-price-check-app #view-estado .promo-state-cuota-wrap .cuota-tag.sin-cuotas{
  max-width:100% !important;
  font-size:12px !important;
  padding:7px 10px !important;
  white-space:nowrap !important;
}
.bca-price-check-app #view-estado .promo-state-cuota-wrap .cuotas-toggle{
  font-size:11px !important;
}
.bca-price-check-app #view-estado .promo-state-dod,
.bca-price-check-app #view-estado .promo-state-dxi{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
}
.bca-price-check-app #view-estado .promo-state-promo-head{
  min-width:0 !important;
}
.bca-price-check-app #view-estado .promo-state-promo-head strong{
  min-width:0 !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
  line-height:1.15 !important;
}
.bca-price-check-app #view-estado .promo-state-week,
.bca-price-check-app #view-estado .promo-state-dxi-empty{
  min-width:0 !important;
  gap:3px !important;
}
.bca-price-check-app #view-estado .promo-state-dxi-range{
  min-width:0 !important;
  gap:5px !important;
}
.bca-price-check-app #view-estado .promo-state-badge{
  max-width:100% !important;
  width:max-content !important;
  white-space:normal !important;
  text-align:center !important;
  justify-content:center !important;
  line-height:1.15 !important;
  padding:7px 9px !important;
}
.bca-price-check-app #view-estado .promo-state-badge b{
  flex:0 0 17px !important;
}

@media(max-width:1500px){
  .bca-price-check-app #view-estado .promo-state-table{min-width:0 !important;}
  .bca-price-check-app #view-estado .promo-state-photo{width:min(108px,100%) !important;height:108px !important;}
  .bca-price-check-app #view-estado .promo-state-table tbody tr.promo-panel-style-row > td{height:148px !important;min-height:148px !important;padding:11px 7px !important;}
  .bca-price-check-app #view-estado .promo-state-mla .mla-group-main,
  .bca-price-check-app #view-estado .promo-state-mla .bca-code-text{font-size:13.5px !important;}
  .bca-price-check-app #view-estado .promo-state-sku .sku-code,
  .bca-price-check-app #view-estado .promo-state-sku .bca-code-text{font-size:14.5px !important;}
  .bca-price-check-app #view-estado .promo-state-promo-head strong{font-size:10px !important;}
  .bca-price-check-app #view-estado .promo-state-subtext{font-size:8.5px !important;}
  .bca-price-check-app #view-estado .promo-state-badge{font-size:9px !important;padding:6px 7px !important;}
}
@media(max-width:1120px){
  .bca-price-check-app #view-estado .promo-state-table{min-width:1080px !important;}
}

/* v8.9.120 / paquete v247 — Estado + Precios Meli + Precios Manual: misma composición visual del Panel Principal */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) table tbody tr.sku-first > td{
  border-top:12px solid #f3f3f3 !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) table tbody tr.variant-first > td{
  border-top:12px solid #f3f3f3 !important;
  padding-top:16px !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) table tbody tr.promo-panel-style-row > td{
  height:auto !important;
  min-height:164px !important;
  padding-top:18px !important;
  padding-bottom:18px !important;
  vertical-align:middle !important;
  background:#fff !important;
}

/* Foto: mismos tamaños y caja visual que Panel Principal. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.foto-cell{
  text-align:center !important;
  padding:18px 10px !important;
  vertical-align:top !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.foto-cell img,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.foto-cell .noimg{
  display:block !important;
  width:180px !important;
  height:180px !important;
  max-width:none !important;
  object-fit:contain !important;
  margin:0 auto !important;
  border-radius:16px !important;
  background:#fff !important;
  border:1px solid var(--gray-300) !important;
  box-shadow:0 2px 8px rgba(17,17,17,.08) !important;
  box-sizing:border-box !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.foto-cell.variant-shared-photo img,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.foto-cell.variant-shared-photo .noimg{
  width:190px !important;
  height:190px !important;
}

/* MLA: misma jerarquía, separación e icono del Panel Principal. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.bca-mla-column-cell{
  text-align:left !important;
  padding-left:16px !important;
  padding-right:16px !important;
  vertical-align:middle !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .bca-mla-label-row{
  display:flex !important;
  align-items:center !important;
  gap:6px !important;
  margin-bottom:10px !important;
  min-height:20px !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .bca-mla-code-row{
  display:block !important;
  overflow:visible !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .promo-state-mla-entry,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .promo-prices-mla-entry{
  padding:0 !important;
  margin:0 !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .promo-state-mla-entry + .promo-state-mla-entry,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .promo-prices-mla-entry + .promo-prices-mla-entry{
  margin-top:14px !important;
  padding-top:14px !important;
  border-top:1px solid #ececec !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.bca-mla-column-cell .bca-code-text,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.bca-mla-column-cell .mla-group-main{
  font-size:16.5px !important;
  font-weight:800 !important;
  line-height:1.22 !important;
  white-space:nowrap !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.bca-mla-column-cell .tipo-badge{
  font-size:11.5px !important;
  line-height:1 !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .bca-copyable-code,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .bca-copyable-mla{
  gap:10px !important;
  max-width:none !important;
  white-space:nowrap !important;
  overflow:visible !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .bca-copy-btn{
  margin-left:0 !important;
  width:18px !important;
  height:18px !important;
  flex:0 0 18px !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .bca-copy-svg{
  width:14px !important;
  height:14px !important;
}

/* SKU / categoría / variante: mismos márgenes y centrado del Panel Principal. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.bca-sku-column-cell{
  text-align:center !important;
  padding-left:16px !important;
  padding-right:16px !important;
  vertical-align:middle !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.bca-sku-column-cell .family-category-head{
  text-align:center !important;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  width:100% !important;
  margin-bottom:12px !important;
  min-height:22px !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.bca-sku-column-cell .bca-copyable-code{
  justify-content:center !important;
  width:auto !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.bca-sku-column-cell .sku-code,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.bca-sku-column-cell .bca-code-text{
  font-size:18px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.bca-sku-column-cell .cat-pill{
  font-size:11.5px !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.bca-sku-column-cell .variant-color{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  margin-top:9px !important;
  font-size:13px !important;
  font-weight:700 !important;
}

/* Cuotas compartidas entre variantes, igual que Panel Principal. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .promo-state-cuota-cell,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .promo-prices-cuota-cell{
  vertical-align:middle !important;
  text-align:center !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .cuota-wrap{
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:center !important;
  gap:10px !important;
  width:100% !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .cuota-tag,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .cuota-tag.sin-cuotas{
  font-size:14px !important;
  font-weight:800 !important;
  padding:8px 14px !important;
  white-space:nowrap !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .cuotas-toggle{
  font-size:12px !important;
  font-weight:800 !important;
}

/* Estado: auto-fit sin cortar la última columna. */
.bca-price-check-app #view-estado .promo-state-table{
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  table-layout:fixed !important;
}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(1){width:11% !important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(2){width:16% !important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(3){width:18% !important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(4){width:11% !important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(5){width:17% !important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(6){width:17% !important;}
.bca-price-check-app #view-estado .promo-state-table th:nth-child(7){width:10% !important;}
.bca-price-check-app #view-estado .promo-state-badge{max-width:100% !important;white-space:normal !important;}

/* Precios: las cuatro columnas base conservan el mismo peso visual que Panel Principal. */
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-photo{width:10% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-mla{width:15% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-sku{width:17% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-cuotas{width:10% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-price,
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-diff{width:6% !important;}

@media(max-width:1400px){
  .bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.foto-cell img,
  .bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.foto-cell .noimg{width:150px !important;height:150px !important;}
  .bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.foto-cell.variant-shared-photo img,
  .bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.foto-cell.variant-shared-photo .noimg{width:160px !important;height:160px !important;}
}
@media(max-width:1120px){
  .bca-price-check-app #view-estado .promo-state-table{min-width:1180px !important;}
  .bca-price-check-app #view-promo-precios .promo-prices-table{min-width:1480px !important;max-width:none !important;}
  .bca-price-check-app #view-promo-precios-manual .promo-prices-table{min-width:1120px !important;max-width:none !important;}
}


/* v8.9.121 / paquete v248 — Precios Meli: ajuste real al ancho disponible.
   La grilla completa DOD + DXI debe entrar como en Panel Principal; solo se habilita
   scroll horizontal en pantallas donde físicamente ya no es legible mantener las 12 columnas. */
.bca-price-check-app #view-promo-precios .promo-prices-table-card,
.bca-price-check-app #view-promo-precios .promo-prices-scroll{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-scroll{
  overflow-x:hidden !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-table{
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  table-layout:fixed !important;
}
/* 52% para la identidad de la publicación + 48% para los dos bloques de precios. */
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-photo{width:10% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-mla{width:15% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-sku{width:17% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-cuotas{width:10% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-price,
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-diff{width:6% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table th,
.bca-price-check-app #view-promo-precios .promo-prices-table td{
  box-sizing:border-box !important;
  overflow:hidden !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-table th{
  word-break:normal !important;
  overflow-wrap:anywhere !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-money,
.bca-price-check-app #view-promo-precios .promo-prices-diff{
  max-width:100% !important;
}
/* Si realmente no entra (pantallas chicas), recién ahí vuelve el scroll interno prolijo. */
@media(max-width:1180px){
  .bca-price-check-app #view-promo-precios .promo-prices-scroll{overflow-x:auto !important;}
  .bca-price-check-app #view-promo-precios .promo-prices-table{
    width:1380px !important;
    min-width:1380px !important;
    max-width:none !important;
  }
}


/* v8.9.122 / paquete v249 — compactación visual + Precios Manual con un único cruce DXI. */
/* Fotos más chicas y consistentes en Estado, Precios Meli y Precios Manual. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.foto-cell{
  padding:12px 8px !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.foto-cell img,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.foto-cell .noimg{
  width:118px !important;
  height:118px !important;
  border-radius:13px !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.foto-cell.variant-shared-photo img,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.foto-cell.variant-shared-photo .noimg{
  width:124px !important;
  height:124px !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) table tbody tr.promo-panel-style-row > td{
  min-height:132px !important;
  padding-top:12px !important;
  padding-bottom:12px !important;
}

/* Precios Meli: más aire útil para DOD/DXI y menos espacio desperdiciado en identidad. */
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-photo{width:8% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-mla{width:15% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-sku{width:16% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-cuotas{width:9% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-price,
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-diff{width:6.5% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table td{padding-left:7px !important;padding-right:7px !important;}
.bca-price-check-app #view-promo-precios td.bca-mla-column-cell,
.bca-price-check-app #view-promo-precios td.bca-sku-column-cell{padding-left:11px !important;padding-right:11px !important;}
.bca-price-check-app #view-promo-precios td.bca-mla-column-cell .bca-code-text,
.bca-price-check-app #view-promo-precios td.bca-mla-column-cell .mla-group-main{font-size:15px !important;}
.bca-price-check-app #view-promo-precios td.bca-sku-column-cell .sku-code,
.bca-price-check-app #view-promo-precios td.bca-sku-column-cell .bca-code-text{font-size:16px !important;}
.bca-price-check-app #view-promo-precios .cuota-tag,
.bca-price-check-app #view-promo-precios .cuota-tag.sin-cuotas{font-size:12.5px !important;padding:7px 11px !important;}
.bca-price-check-app #view-promo-precios .promo-prices-money{font-size:14.5px !important;}

/* Precios Manual: un único selector: el DXI de MELI se compara con DOD BC o DXI BC. */
.bca-price-check-app #view-promo-precios-manual .promo-manual-single-linker{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
  width:max-content !important;
  max-width:100% !important;
  padding:9px 12px !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-manual-link-choice{
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
  margin:0 !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-manual-link-choice>span{
  font-size:12px !important;
  font-weight:750 !important;
  color:#555 !important;
  white-space:nowrap !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-manual-link-choice select{
  min-width:130px !important;
  width:130px !important;
  height:40px !important;
}
/* El icono/texto copiable debe responder igual que en las otras vistas. */
.bca-price-check-app #view-promo-precios-manual .bca-code-text,
.bca-price-check-app #view-promo-precios-manual .bca-copy-btn{cursor:pointer !important;}

@media(max-width:1400px){
  .bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.foto-cell img,
  .bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.foto-cell .noimg{width:106px !important;height:106px !important;}
  .bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.foto-cell.variant-shared-photo img,
  .bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.foto-cell.variant-shared-photo .noimg{width:112px !important;height:112px !important;}
}

/* v8.9.123 / paquete v250 — Precios Meli: foto contenida, cuotas compactas,
   importes más legibles y MLA centrado dentro de su columna. */
.bca-price-check-app #view-promo-precios td.foto-cell{
  padding:10px 6px !important;
  vertical-align:middle !important;
  overflow:visible !important;
}
.bca-price-check-app #view-promo-precios td.foto-cell img,
.bca-price-check-app #view-promo-precios td.foto-cell .noimg{
  width:86px !important;
  height:86px !important;
  max-width:calc(100% - 8px) !important;
  max-height:86px !important;
  margin:0 auto !important;
  object-fit:contain !important;
  border-radius:11px !important;
}
.bca-price-check-app #view-promo-precios td.foto-cell.variant-shared-photo img,
.bca-price-check-app #view-promo-precios td.foto-cell.variant-shared-photo .noimg{
  width:92px !important;
  height:92px !important;
  max-width:calc(100% - 8px) !important;
  max-height:92px !important;
}

/* Redistribución: conserva 48% para identidad y 52% para DOD + DXI. */
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-photo{width:7% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-mla{width:16% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-sku{width:16% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-cuotas{width:9% !important;}
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-price,
.bca-price-check-app #view-promo-precios .promo-prices-table .pp-col-diff{width:6.5% !important;}

/* MLA centrado y con la misma jerarquía Principal/Catálogo. */
.bca-price-check-app #view-promo-precios td.bca-mla-column-cell{
  text-align:center !important;
  padding-left:8px !important;
  padding-right:8px !important;
  vertical-align:middle !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-mla{
  width:100% !important;
  max-width:100% !important;
  margin:0 auto !important;
  align-items:center !important;
  text-align:center !important;
}
.bca-price-check-app #view-promo-precios .bca-mla-label-row{
  justify-content:center !important;
  margin-bottom:7px !important;
}
.bca-price-check-app #view-promo-precios .bca-mla-code-row{
  display:flex !important;
  justify-content:center !important;
  width:100% !important;
}
.bca-price-check-app #view-promo-precios .bca-copyable-mla{
  justify-content:center !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
.bca-price-check-app #view-promo-precios td.bca-mla-column-cell .bca-code-text,
.bca-price-check-app #view-promo-precios td.bca-mla-column-cell .mla-group-main{
  font-size:15.5px !important;
  line-height:1.18 !important;
}

/* Cuotas más compactas para que no dominen la fila. */
.bca-price-check-app #view-promo-precios .promo-prices-cuota-cell{padding-left:5px !important;padding-right:5px !important;}
.bca-price-check-app #view-promo-precios .promo-prices-cuota-wrap,
.bca-price-check-app #view-promo-precios .cuota-wrap{gap:5px !important;}
.bca-price-check-app #view-promo-precios .cuota-tag,
.bca-price-check-app #view-promo-precios .cuota-tag.sin-cuotas{
  font-size:11px !important;
  line-height:1 !important;
  padding:5px 8px !important;
  border-width:1.3px !important;
}
.bca-price-check-app #view-promo-precios .cuotas-toggle{
  font-size:10.5px !important;
  line-height:1.15 !important;
}

/* Importes un poco más grandes, manteniendo los subtítulos de procedencia discretos. */
.bca-price-check-app #view-promo-precios .promo-prices-money{
  font-size:16.5px !important;
  line-height:1.14 !important;
  font-weight:850 !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-diff{
  font-size:15px !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-bc-source,
.bca-price-check-app #view-promo-precios .promo-prices-final-source{
  font-size:9.5px !important;
  line-height:1.05 !important;
}
.bca-price-check-app #view-promo-precios .promo-prices-table td{
  padding-top:9px !important;
  padding-bottom:9px !important;
}

@media(max-width:1400px){
  .bca-price-check-app #view-promo-precios td.foto-cell img,
  .bca-price-check-app #view-promo-precios td.foto-cell .noimg{width:78px !important;height:78px !important;max-height:78px !important;}
  .bca-price-check-app #view-promo-precios td.foto-cell.variant-shared-photo img,
  .bca-price-check-app #view-promo-precios td.foto-cell.variant-shared-photo .noimg{width:84px !important;height:84px !important;max-height:84px !important;}
}


/* v8.9.124 / paquete v251 — Precios Manual: copiado limpio + header fijo idéntico al header natural. */
/* El botón de copiar no debe heredar fondos/bordes del tema o de WordPress. */
.bca-price-check-app #view-promo-precios-manual .bca-copyable-code{
  display:inline-flex !important;
  align-items:center !important;
  gap:7px !important;
  max-width:none !important;
  overflow:visible !important;
  white-space:nowrap !important;
  vertical-align:middle !important;
}
.bca-price-check-app #view-promo-precios-manual .bca-copyable-code .bca-code-text{
  display:inline-block !important;
  margin:0 !important;
  padding:1px 0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  cursor:pointer !important;
  user-select:none !important;
  -webkit-user-select:none !important;
}
.bca-price-check-app #view-promo-precios-manual .bca-copy-btn{
  appearance:none !important;
  -webkit-appearance:none !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:18px !important;
  height:18px !important;
  min-width:18px !important;
  min-height:18px !important;
  flex:0 0 18px !important;
  margin:0 !important;
  padding:1px !important;
  border:0 !important;
  outline:0 !important;
  border-radius:4px !important;
  background:transparent !important;
  color:#777 !important;
  box-shadow:none !important;
  line-height:1 !important;
  cursor:pointer !important;
}
.bca-price-check-app #view-promo-precios-manual .bca-copy-btn:hover{
  background:#f0f0f0 !important;
  color:#444 !important;
}
.bca-price-check-app #view-promo-precios-manual .bca-copy-btn:active{transform:scale(.92) !important;}
.bca-price-check-app #view-promo-precios-manual .bca-copy-btn:focus-visible{
  outline:2px solid #a8b9ca !important;
  outline-offset:2px !important;
}
.bca-price-check-app #view-promo-precios-manual .bca-copy-btn.is-copied{
  background:#edf7ea !important;
  color:#267326 !important;
}
.bca-price-check-app #view-promo-precios-manual .bca-copy-svg{
  display:block !important;
  width:14px !important;
  height:14px !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:1.7 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
  pointer-events:none !important;
}
.bca-price-check-app #view-promo-precios-manual .bca-copy-svg-check{stroke-width:2.2 !important;}

/* La copia flotante vive dentro de #view-promo-precios-manual, por lo que reutiliza
   las mismas reglas de .promo-manual-table que la cabecera original. Solo anulamos
   el sticky nativo del TH porque el contenedor completo ya es position:fixed. */
.bca-price-check-app #view-promo-precios-manual #promo-manual-fixed-header{
  background:#fff !important;
  border:1px solid #ddd !important;
  border-bottom:0 !important;
  overflow:hidden !important;
  box-shadow:0 5px 14px rgba(17,17,17,.12) !important;
}
.bca-price-check-app #view-promo-precios-manual #promo-manual-fixed-header .promo-prices-fixed-header-viewport{
  width:100% !important;
  height:100% !important;
  overflow:hidden !important;
}
.bca-price-check-app #view-promo-precios-manual #promo-manual-fixed-header .promo-manual-table{
  margin:0 !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
  table-layout:fixed !important;
  background:#fff !important;
}
.bca-price-check-app #view-promo-precios-manual #promo-manual-fixed-header thead th{
  position:static !important;
  top:auto !important;
  left:auto !important;
  z-index:auto !important;
  box-sizing:border-box !important;
}

/* v8.9.125 / paquete v252 — Cuotas compactas + Precios Manual sin gutter y header fijo alineado. */
/* En Precios Meli y Precios Manual, SIN CUOTAS / cuotas no deben dominar visualmente la fila. */
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .promo-prices-cuota-wrap,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .cuota-wrap{
  min-width:0 !important;
  gap:5px !important;
}
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .promo-prices-cuota-wrap .cuota-tag,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .promo-prices-cuota-wrap .cuota-tag.sin-cuotas,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .cuota-tag,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .cuota-tag.sin-cuotas{
  font-size:10px !important;
  line-height:1 !important;
  font-weight:850 !important;
  padding:5px 8px !important;
  border-width:1.2px !important;
  border-radius:999px !important;
}
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .promo-prices-cuota-wrap .cuotas-toggle,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .cuotas-toggle{
  font-size:9.5px !important;
  line-height:1.1 !important;
  margin-top:1px !important;
  font-weight:750 !important;
}

/* Precios Manual: que la tabla y su cabecera natural ocupen exactamente todo el ancho,
   sin reservar el gutter vertical que dejaba una franja blanca a la derecha. */
.bca-price-check-app #view-promo-precios-manual .promo-prices-table-card,
.bca-price-check-app #view-promo-precios-manual .promo-prices-scroll{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-prices-scroll{
  overflow-x:hidden !important;
  overflow-y:visible !important;
  scrollbar-gutter:auto !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-manual-table{
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  table-layout:fixed !important;
}
/* Porcentajes exactos = 100%. */
.bca-price-check-app #view-promo-precios-manual .promo-manual-table .pp-col-photo{width:10% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-manual-table .pp-col-mla{width:18% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-manual-table .pp-col-sku{width:22% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-manual-table .pp-col-cuotas{width:12% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-manual-table .pp-col-price{width:13% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-manual-table .pp-col-diff{width:12% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-manual-table th,
.bca-price-check-app #view-promo-precios-manual .promo-manual-table td{box-sizing:border-box !important;}

/* El clon fijo usa exactamente la misma geometría y colores que el thead natural. */
.bca-price-check-app #view-promo-precios-manual #promo-manual-fixed-header{
  box-sizing:border-box !important;
  padding:0 !important;
}
.bca-price-check-app #view-promo-precios-manual #promo-manual-fixed-header .promo-prices-fixed-header-viewport{
  width:100% !important;
  max-width:100% !important;
  overflow:hidden !important;
  scrollbar-gutter:auto !important;
}
.bca-price-check-app #view-promo-precios-manual #promo-manual-fixed-header .promo-manual-table{
  width:100% !important;
  min-width:100% !important;
  max-width:none !important;
}

@media(max-width:1120px){
  .bca-price-check-app #view-promo-precios-manual .promo-prices-scroll{overflow-x:auto !important;}
  .bca-price-check-app #view-promo-precios-manual .promo-manual-table{
    width:1120px !important;
    min-width:1120px !important;
    max-width:none !important;
  }
}

/* v8.9.126 / paquete v253 — Panel Principal ejecutivo de Chequeo de Promos */
.bca-price-check-legacy-base{display:none!important;}
.bca-price-check-app #view-base .promo-main-shell{width:100%;max-width:100%;}
.bca-price-check-app #view-base .promo-main-controls{
  display:grid;grid-template-columns:minmax(300px,1.25fr) minmax(210px,.6fr) minmax(190px,.45fr);gap:12px;
  align-items:center;margin:0 0 16px;padding:0;
}
.bca-price-check-app #view-base .promo-main-controls input,
.bca-price-check-app #view-base .promo-main-controls select{
  width:100%;height:44px;border:1px solid #d8d8d8;border-radius:10px;background:#fff;color:#171717;
  font:500 14px/1.2 Montserrat,Arial,sans-serif;padding:0 14px;box-shadow:none;outline:none;
}
.bca-price-check-app #view-base .promo-main-controls input:focus,
.bca-price-check-app #view-base .promo-main-controls select:focus{border-color:#b11d1c;box-shadow:0 0 0 2px rgba(177,29,28,.08);}
.bca-price-check-app #view-base .promo-main-table-card{
  width:100%;max-width:100%;background:#fff;border:1px solid #e0e0e0;border-radius:14px;overflow:hidden;
  box-shadow:0 7px 24px rgba(0,0,0,.045);
}
.bca-price-check-app #view-base .promo-main-scroll{width:100%;max-width:100%;overflow-x:auto;overflow-y:visible;}
.bca-price-check-app #view-base .promo-main-table{
  width:100%;min-width:1260px;border-collapse:separate;border-spacing:0;table-layout:fixed;background:#fff;
  font-family:Montserrat,Arial,sans-serif;
}
.bca-price-check-app #view-base .promo-main-table thead th{
  height:52px;padding:10px 8px;background:#f7f7f7;border-right:1px solid #e5e5e5;border-bottom:1px solid #dedede;
  color:#161616;font-size:12px;font-weight:800;text-align:center;text-transform:uppercase;letter-spacing:.01em;vertical-align:middle;
}
.bca-price-check-app #view-base .promo-main-table thead th:last-child{border-right:0;}
.bca-price-check-app #view-base .promo-main-table thead .promo-main-price-head.dod{background:#eef5ff;color:#17212e;}
.bca-price-check-app #view-base .promo-main-table thead .promo-main-price-head.dxi{background:#eef9f1;color:#17212e;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(1){width:120px;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(2){width:14%;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(3){width:18%;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(4){width:11%;}
.bca-price-check-app #view-base .promo-main-table tbody td{
  padding:16px 10px;border-right:1px solid #ededed;border-bottom:10px solid #f5f5f5;background:#fff;
  text-align:center;vertical-align:middle;color:#1a1a1a;font-size:13px;overflow-wrap:anywhere;
}
.bca-price-check-app #view-base .promo-main-table tbody td:last-child{border-right:0;}
.bca-price-check-app #view-base .promo-main-table tbody tr:last-child td{border-bottom-width:0;}
.bca-price-check-app #view-base .promo-main-photo-cell{padding:10px 6px!important;text-align:center!important;vertical-align:middle!important;background:#fff!important;}
.bca-price-check-app #view-base .promo-main-photo-cell .foto-box,
.bca-price-check-app #view-base .promo-main-photo-cell .foto-wrap,
.bca-price-check-app #view-base .promo-main-photo-cell img,
.bca-price-check-app #view-base .promo-main-photo-cell .noimg{width:72px!important;height:72px!important;max-width:72px!important;max-height:72px!important;object-fit:contain!important;box-sizing:border-box!important;margin:0 auto!important;}
.bca-price-check-app #view-base .promo-main-mla-cell{text-align:left!important;padding-left:14px!important;}
.bca-price-check-app #view-base .promo-main-mla-entry{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:5px 0;}
.bca-price-check-app #view-base .promo-main-mla-entry+.promo-main-mla-entry{border-top:1px solid #ededed;margin-top:4px;padding-top:9px;}
.bca-price-check-app #view-base .promo-main-mla-entry .tipo-badge{font-size:9px!important;padding:3px 7px!important;line-height:1.1!important;}
.bca-price-check-app #view-base .promo-main-mla-entry .mla-group-main{font-size:13.5px!important;font-weight:750!important;letter-spacing:.01em;}
.bca-price-check-app #view-base .promo-main-sku-cell{padding-left:12px!important;padding-right:12px!important;}
.bca-price-check-app #view-base .promo-main-sku .family-category-head{margin-bottom:8px!important;}
.bca-price-check-app #view-base .promo-main-sku .cat-pill{font-size:10px!important;padding:4px 8px!important;font-weight:600!important;}
.bca-price-check-app #view-base .promo-main-sku .sku-code{font-size:14px!important;font-weight:750!important;}
.bca-price-check-app #view-base .promo-main-cuota-cell{padding:10px 7px!important;}
.bca-price-check-app #view-base .promo-main-cuota-wrap{gap:7px!important;}
.bca-price-check-app #view-base .promo-main-cuota-wrap .cuota-tag{font-size:10px!important;padding:6px 10px!important;border-radius:999px!important;}
.bca-price-check-app #view-base .promo-main-cuota-wrap .cuotas-toggle{font-size:10px!important;line-height:1.2!important;padding:0!important;}
.bca-price-check-app #view-base .promo-main-price-cell.dod{background:#fbfdff;}
.bca-price-check-app #view-base .promo-main-price-cell.dxi{background:#fbfffc;}
.bca-price-check-app #view-base .promo-main-price-lines{display:flex;flex-direction:column;align-items:center;gap:8px;}
.bca-price-check-app #view-base .promo-main-price-lines>div{display:flex;flex-direction:column;align-items:center;gap:2px;}
.bca-price-check-app #view-base .promo-main-price-lines strong{font-size:15px;font-weight:800;white-space:nowrap;}
.bca-price-check-app #view-base .promo-main-price-lines small{font-size:8.5px;font-weight:750;color:#9b1717;text-transform:uppercase;white-space:nowrap;}
.bca-price-check-app #view-base .promo-main-lines{display:flex;flex-direction:column;gap:7px;align-items:center;}
.bca-price-check-app #view-base .promo-main-line{min-height:30px;display:flex;align-items:center;justify-content:center;gap:4px;width:100%;}
.bca-price-check-app #view-base .promo-main-type,
.bca-price-check-app #view-base .promo-main-state{
  display:inline-flex;align-items:center;justify-content:center;min-height:25px;padding:5px 9px;border-radius:7px;
  font-size:9px;font-weight:800;white-space:nowrap;text-transform:uppercase;
}
.bca-price-check-app #view-base .promo-main-type.preneg{background:#edf3ff;color:#2458b7;}
.bca-price-check-app #view-base .promo-main-type.manual{background:#fff0f0;color:#b11d1c;}
.bca-price-check-app #view-base .promo-main-type.smart{background:#fff5dc;color:#b66a00;}
.bca-price-check-app #view-base .promo-main-state.active{background:#e9f7e7;color:#248b29;}
.bca-price-check-app #view-base .promo-main-state.scheduled{background:#eef3ff;color:#315ca8;}
.bca-price-check-app #view-base .promo-main-state.eligible{background:#f3f3f3;color:#777;}
.bca-price-check-app #view-base .promo-main-state.none{background:#fde8e8;color:#c71f1f;}
.bca-price-check-app #view-base .promo-main-state.inactive{background:#eeeeee;color:#777;}
.bca-price-check-app #view-base .promo-main-line strong{display:block;font-size:11.5px;font-weight:800;white-space:nowrap;}
.bca-price-check-app #view-base td:nth-child(8) .promo-main-line{min-height:24px!important;}
.bca-price-check-app #view-base .promo-main-line small{display:block;margin-left:4px;color:#8b8b8b;font-size:9px;white-space:nowrap;}
.bca-price-check-app #view-base .promo-main-list-price{font-size:15px;font-weight:800;white-space:nowrap;}
.bca-price-check-app #view-base .promo-main-links{display:flex;flex-direction:column;gap:6px;align-items:center;}
.bca-price-check-app #view-base .promo-main-links a{font-size:10px;color:#555;text-decoration:none;font-weight:650;white-space:nowrap;}
.bca-price-check-app #view-base .promo-main-links a:hover{color:#b11d1c;text-decoration:underline;}
.bca-price-check-app #view-base .promo-main-muted{color:#aaa;font-weight:600;}
.bca-price-check-app #view-base .promo-main-no-price{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:6px 10px;border-radius:8px;background:#fff1f1;color:#b11d1c;font-size:10px;font-weight:800;line-height:1.1;text-transform:uppercase;white-space:nowrap;}
.bca-price-check-app #view-base .promo-main-empty{height:160px!important;color:#888!important;font-size:14px!important;text-align:center!important;}
.bca-price-check-app #view-base .promo-main-footer{display:flex;align-items:center;min-height:40px;padding:0 14px;border-top:1px solid #ececec;color:#777;font-size:11px;}
@media(max-width:1380px){
  .bca-price-check-app #view-base .promo-main-table{min-width:1180px;}
  .bca-price-check-app #view-base .promo-main-table tbody td{padding-left:7px;padding-right:7px;}
  .bca-price-check-app #view-base .promo-main-photo-cell .foto-box,
  .bca-price-check-app #view-base .promo-main-photo-cell .foto-wrap,
  .bca-price-check-app #view-base .promo-main-photo-cell img,
  .bca-price-check-app #view-base .promo-main-photo-cell .noimg{width:66px!important;height:66px!important;max-width:66px!important;max-height:66px!important;}
}
@media(max-width:900px){
  .bca-price-check-app #view-base .promo-main-controls{grid-template-columns:1fr;}
  .bca-price-check-app #view-base .promo-main-table{min-width:1120px;}
}


/* v8.9.127 / paquete v254 — Cuotas desplegadas compactas como Panel Principal.
   Estado / Precios Meli / Precios Manual comparten FOTO + SKU entre niveles de cuotas,
   evitando repetir una tarjeta gigante por cada 3/6/9/12 cuotas. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.quota-compact-row > td{
  min-height:78px !important;
  height:78px !important;
  padding-top:8px !important;
  padding-bottom:8px !important;
  border-top:1px solid #ececec !important;
  vertical-align:middle !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.quota-compact-row > td::before{
  display:none !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.quota-shared-photo,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.quota-shared-sku{
  vertical-align:middle !important;
  background:#fff !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.quota-shared-photo{
  border-bottom:1px solid #e9e9e9 !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.quota-shared-sku{
  border-bottom:1px solid #e9e9e9 !important;
}
/* El primer nivel mantiene presencia, pero sin inflar todo el bloque cuando hay cuotas abiertas. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.sku-first:has(+ tr.quota-compact-row) > td:not([rowspan]){
  min-height:88px !important;
  height:88px !important;
  padding-top:9px !important;
  padding-bottom:9px !important;
}
/* MLA y badges de cuotas secundarios más compactos, igual al desglose del Panel Principal. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.quota-compact-row .promo-state-mla,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.quota-compact-row .promo-prices-mla{
  gap:5px !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.quota-compact-row .tipo-badge{
  font-size:9.5px !important;
  padding:3px 7px !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.quota-compact-row .cuota-tag,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.quota-compact-row .cuota-tag.sin-cuotas{
  font-size:10.5px !important;
  padding:5px 8px !important;
}
/* Una sola foto por SKU/cuotas desplegadas, del tamaño compacto ya aprobado. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.quota-shared-photo img,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.quota-shared-photo .noimg{
  width:112px !important;
  height:112px !important;
}
.bca-price-check-app #view-base tr.quota-compact-row .promo-main-mla-entry{gap:5px!important;padding:3px 0!important;}
.bca-price-check-app #view-base tr.quota-compact-row .promo-main-mla-entry+.promo-main-mla-entry{margin-top:3px!important;padding-top:7px!important;}
.bca-price-check-app #view-base tr.quota-compact-row .promo-main-mla-entry .tipo-badge{font-size:9px!important;padding:3px 6px!important;}
.bca-price-check-app #view-base td.quota-shared-photo img,
.bca-price-check-app #view-base td.quota-shared-photo .noimg{width:78px!important;height:78px!important;max-width:78px!important;max-height:78px!important;}
.bca-price-check-app #view-base tr.sku-first:has(+ tr.quota-compact-row) > td:not([rowspan]){border-bottom:1px solid #ececec!important;}
.bca-price-check-app #view-base tr.quota-compact-row > td{border-bottom:10px solid #f5f5f5!important;}
.bca-price-check-app #view-base tr.quota-compact-row > td:first-child{border-left:0!important;}
.bca-price-check-app #view-base td.quota-shared-photo,
.bca-price-check-app #view-base td.quota-shared-sku{border-bottom:10px solid #f5f5f5!important;}
.bca-price-check-app #view-base td.quota-shared-photo img,
.bca-price-check-app #view-base td.quota-shared-photo .noimg{width:72px!important;height:72px!important;max-width:72px!important;max-height:72px!important;}

/* v255 hotfix — Panel Principal de Chequeo de Promos: foto centrada y sin corte */
.bca-price-check-app #view-base .promo-main-photo-cell{
  width:120px !important;
  min-width:120px !important;
  max-width:120px !important;
  padding:10px 10px !important;
  text-align:center !important;
  vertical-align:middle !important;
  overflow:visible !important;
}
.bca-price-check-app #view-base .promo-main-photo-cell img,
.bca-price-check-app #view-base .promo-main-photo-cell .noimg{
  display:block !important;
  width:84px !important;
  height:84px !important;
  max-width:84px !important;
  max-height:84px !important;
  margin:0 auto !important;
  object-fit:contain !important;
  transform:none !important;
}
.bca-price-check-app #view-base td.quota-shared-photo{
  width:120px !important;
  min-width:120px !important;
  max-width:120px !important;
}
.bca-price-check-app #view-base td.quota-shared-photo img,
.bca-price-check-app #view-base td.quota-shared-photo .noimg{
  width:84px !important;
  height:84px !important;
  max-width:84px !important;
  max-height:84px !important;
  margin:0 auto !important;
}
@media(max-width:1380px){
  .bca-price-check-app #view-base .promo-main-photo-cell{width:110px !important;min-width:110px !important;max-width:110px !important;}
  .bca-price-check-app #view-base .promo-main-photo-cell img,
  .bca-price-check-app #view-base .promo-main-photo-cell .noimg,
  .bca-price-check-app #view-base td.quota-shared-photo img,
  .bca-price-check-app #view-base td.quota-shared-photo .noimg{width:76px !important;height:76px !important;max-width:76px !important;max-height:76px !important;}
}

/* v255 hotfix v4 — Panel Principal Chequeo de Promos: tipografía más compacta y columnas adaptables */
.bca-price-check-app #view-base .promo-main-table{
  width:100% !important;
  min-width:0 !important;
  table-layout:fixed !important;
}
.bca-price-check-app #view-base .promo-main-table thead th{
  font-size:11px !important;
  line-height:1.15 !important;
  padding:8px 6px !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
  word-break:break-word !important;
}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(1){width:104px !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(2){width:15% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(3){width:20% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(4){width:12% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(5){width:9.5% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(6){width:9.5% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(7){width:9.5% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(8){width:8.5% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(9){width:10% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(10){width:8.5% !important;}
.bca-price-check-app #view-base .promo-main-table tbody td{
  font-size:12px !important;
  padding:14px 8px !important;
}
.bca-price-check-app #view-base .promo-main-photo-cell{
  width:104px !important;
  min-width:104px !important;
  max-width:104px !important;
  padding:8px 8px !important;
}
.bca-price-check-app #view-base .promo-main-photo-cell img,
.bca-price-check-app #view-base .promo-main-photo-cell .noimg,
.bca-price-check-app #view-base td.quota-shared-photo img,
.bca-price-check-app #view-base td.quota-shared-photo .noimg{
  width:78px !important;
  height:78px !important;
  max-width:78px !important;
  max-height:78px !important;
}
.bca-price-check-app #view-base .promo-main-mla-entry .tipo-badge,
.bca-price-check-app #view-base .promo-main-type,
.bca-price-check-app #view-base .promo-main-no-price{
  font-size:8.5px !important;
}
.bca-price-check-app #view-base .promo-main-mla-entry .mla-group-main{font-size:12.5px !important;}
.bca-price-check-app #view-base .promo-main-sku .cat-pill{font-size:9px !important;}
.bca-price-check-app #view-base .promo-main-sku .sku-code{font-size:13px !important;}
.bca-price-check-app #view-base .promo-main-cuota-wrap .cuota-tag{font-size:9px !important;padding:6px 9px !important;}
.bca-price-check-app #view-base .promo-main-cuota-wrap .cuotas-toggle{font-size:9px !important;}
.bca-price-check-app #view-base .promo-main-price-lines{gap:6px !important;}
.bca-price-check-app #view-base .promo-main-price-lines strong{font-size:13px !important;}
.bca-price-check-app #view-base .promo-main-price-lines small{font-size:8px !important;}
.bca-price-check-app #view-base .promo-main-line strong{font-size:10.5px !important;}
.bca-price-check-app #view-base .promo-main-list-price{font-size:13px !important;}
.bca-price-check-app #view-base .promo-main-links a{font-size:9.5px !important;white-space:normal !important;line-height:1.2 !important;}
.bca-price-check-app #view-base .promo-main-mla-entry+.promo-main-mla-entry{padding-top:7px !important;}
.bca-price-check-app #view-base .promo-main-line{min-height:26px !important;}
@media(max-width:1600px){
  .bca-price-check-app #view-base .promo-main-table thead th{font-size:10.5px !important;}
  .bca-price-check-app #view-base .promo-main-table tbody td{font-size:11.5px !important;padding:12px 7px !important;}
  .bca-price-check-app #view-base .promo-main-photo-cell{width:96px !important;min-width:96px !important;max-width:96px !important;}
  .bca-price-check-app #view-base .promo-main-photo-cell img,
  .bca-price-check-app #view-base .promo-main-photo-cell .noimg,
  .bca-price-check-app #view-base td.quota-shared-photo img,
  .bca-price-check-app #view-base td.quota-shared-photo .noimg{width:72px !important;height:72px !important;max-width:72px !important;max-height:72px !important;}
}
@media(max-width:1360px){
  .bca-price-check-app #view-base .promo-main-table thead th{font-size:10px !important;padding:7px 5px !important;}
  .bca-price-check-app #view-base .promo-main-table tbody td{font-size:11px !important;padding:11px 6px !important;}
  .bca-price-check-app #view-base .promo-main-table thead th:nth-child(7){width:10.5% !important;}
  .bca-price-check-app #view-base .promo-main-table thead th:nth-child(8){width:9% !important;}
  .bca-price-check-app #view-base .promo-main-table thead th:nth-child(9){width:10.5% !important;}
  .bca-price-check-app #view-base .promo-main-table thead th:nth-child(10){width:9% !important;}
  .bca-price-check-app #view-base .promo-main-mla-entry .mla-group-main{font-size:11.5px !important;}
  .bca-price-check-app #view-base .promo-main-sku .sku-code{font-size:12px !important;}
  .bca-price-check-app #view-base .promo-main-price-lines strong,
  .bca-price-check-app #view-base .promo-main-list-price{font-size:12px !important;}
}

/* v255 hotfix v5 — Panel Principal debe replicar foto/cuotas de Estado + Precios Meli + Precios Manual */
.bca-price-check-app #view-base .promo-main-table-card{
  overflow-x:auto !important;
  overflow-y:visible !important;
}
.bca-price-check-app #view-base .promo-main-table{
  width:100% !important;
  min-width:1180px !important;
  table-layout:fixed !important;
}
.bca-price-check-app #view-base .promo-main-table thead th{
  font-size:10.5px !important;
  line-height:1.15 !important;
  padding:8px 6px !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(1){width:7% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(2){width:14% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(3){width:18% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(4){width:10% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(5){width:9% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(6){width:9% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(7){width:9.5% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(8){width:9% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(9){width:10% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(10){width:7.5% !important;}
.bca-price-check-app #view-base .promo-main-table tbody tr.promo-panel-style-row > td{
  min-height:132px !important;
  height:132px !important;
  padding-top:12px !important;
  padding-bottom:12px !important;
}
/* FOTO: mismo tratamiento visual que Precios Meli */
.bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell{
  padding:10px 6px !important;
  vertical-align:middle !important;
  text-align:center !important;
  overflow:visible !important;
}
.bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell img,
.bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell .noimg{
  display:block !important;
  width:86px !important;
  height:86px !important;
  max-width:calc(100% - 8px) !important;
  max-height:86px !important;
  margin:0 auto !important;
  object-fit:contain !important;
  border-radius:11px !important;
  background:#fff !important;
  border:1px solid var(--gray-300) !important;
  box-shadow:0 2px 8px rgba(17,17,17,.08) !important;
  box-sizing:border-box !important;
  transform:none !important;
}
.bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell.variant-shared-photo img,
.bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell.variant-shared-photo .noimg,
.bca-price-check-app #view-base td.quota-shared-photo img,
.bca-price-check-app #view-base td.quota-shared-photo .noimg{
  width:92px !important;
  height:92px !important;
  max-width:calc(100% - 8px) !important;
  max-height:92px !important;
}
/* CUOTAS: mismo aspecto que Precios Meli / Manual */
.bca-price-check-app #view-base .promo-main-cuota-cell{padding-left:5px !important;padding-right:5px !important;}
.bca-price-check-app #view-base .promo-main-cuota-wrap,
.bca-price-check-app #view-base .cuota-wrap{
  min-width:0 !important;
  gap:5px !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 auto !important;
}
.bca-price-check-app #view-base .promo-main-cuota-wrap .cuota-tag,
.bca-price-check-app #view-base .promo-main-cuota-wrap .cuota-tag.sin-cuotas,
.bca-price-check-app #view-base .cuota-tag,
.bca-price-check-app #view-base .cuota-tag.sin-cuotas{
  font-size:10px !important;
  line-height:1 !important;
  font-weight:850 !important;
  padding:5px 8px !important;
  border-width:1.2px !important;
  border-radius:999px !important;
}
.bca-price-check-app #view-base .promo-main-cuota-wrap .cuotas-toggle,
.bca-price-check-app #view-base .cuotas-toggle{
  font-size:9.5px !important;
  line-height:1.1 !important;
  margin-top:1px !important;
  font-weight:750 !important;
}
/* Cuando se despliega VER CUOTAS, compactar exactamente el bloque como las otras solapas */
.bca-price-check-app #view-base tr.quota-compact-row > td{
  min-height:78px !important;
  height:78px !important;
  padding-top:8px !important;
  padding-bottom:8px !important;
  border-top:1px solid #ececec !important;
  vertical-align:middle !important;
}
.bca-price-check-app #view-base tr.sku-first:has(+ tr.quota-compact-row) > td:not([rowspan]){
  min-height:88px !important;
  height:88px !important;
  padding-top:9px !important;
  padding-bottom:9px !important;
}
.bca-price-check-app #view-base tr.quota-compact-row .promo-main-mla-entry{
  gap:5px !important;
  padding:3px 0 !important;
}
.bca-price-check-app #view-base tr.quota-compact-row .promo-main-mla-entry + .promo-main-mla-entry{
  margin-top:3px !important;
  padding-top:7px !important;
}
.bca-price-check-app #view-base tr.quota-compact-row .promo-main-mla-entry .tipo-badge{
  font-size:9px !important;
  padding:3px 6px !important;
}
@media(max-width:1400px){
  .bca-price-check-app #view-base .promo-main-table{min-width:1120px !important;}
  .bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell img,
  .bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell .noimg{width:78px !important;height:78px !important;max-height:78px !important;}
  .bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell.variant-shared-photo img,
  .bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell.variant-shared-photo .noimg,
  .bca-price-check-app #view-base td.quota-shared-photo img,
  .bca-price-check-app #view-base td.quota-shared-photo .noimg{width:84px !important;height:84px !important;max-height:84px !important;}
}

/* v255 hotfix v6 — Panel Principal: misma tipografía que Estado / Precios Meli / Precios Manual */
.bca-price-check-app #view-base .promo-main-table thead th{
  font-size:9.5px !important;
  font-weight:800 !important;
  line-height:1.12 !important;
  letter-spacing:.01em !important;
}
.bca-price-check-app #view-base .promo-main-table tbody td{
  font-size:12.5px !important;
  color:#222 !important;
}
.bca-price-check-app #view-base .promo-main-mla-cell{
  text-align:center !important;
  padding-left:8px !important;
  padding-right:8px !important;
  vertical-align:middle !important;
}
.bca-price-check-app #view-base .promo-main-mla-entry{
  align-items:center !important;
  text-align:center !important;
  gap:7px !important;
}
.bca-price-check-app #view-base .promo-main-mla-entry .tipo-badge{
  font-size:10px !important;
  font-weight:800 !important;
  padding:4px 8px !important;
}
.bca-price-check-app #view-base .promo-main-mla-entry .mla-group-main,
.bca-price-check-app #view-base .promo-main-mla-entry .bca-code-text{
  font-size:15.5px !important;
  line-height:1.18 !important;
  font-weight:800 !important;
}
.bca-price-check-app #view-base .promo-main-sku-cell{
  text-align:center !important;
  vertical-align:middle !important;
}
.bca-price-check-app #view-base .promo-main-sku{
  width:100% !important;
  max-width:100% !important;
  margin:0 auto !important;
  align-items:center !important;
  text-align:center !important;
}
.bca-price-check-app #view-base .promo-main-sku .family-category-head{
  margin-bottom:7px !important;
}
.bca-price-check-app #view-base .promo-main-sku .cat-pill{
  font-size:11px !important;
  font-weight:750 !important;
  padding:4px 9px !important;
}
.bca-price-check-app #view-base .promo-main-sku .sku-code,
.bca-price-check-app #view-base .promo-main-sku .bca-code-text{
  font-size:16px !important;
  line-height:1.18 !important;
  font-weight:800 !important;
}
.bca-price-check-app #view-base .promo-main-cuota-wrap .cuota-tag,
.bca-price-check-app #view-base .promo-main-cuota-wrap .cuota-tag.sin-cuotas{
  font-size:11px !important;
  line-height:1 !important;
  font-weight:850 !important;
  padding:5px 8px !important;
}
.bca-price-check-app #view-base .promo-main-cuota-wrap .cuotas-toggle{
  font-size:10px !important;
  line-height:1.15 !important;
  font-weight:750 !important;
}
.bca-price-check-app #view-base .promo-main-price-lines strong{
  font-size:16.5px !important;
  line-height:1.14 !important;
  font-weight:850 !important;
}
.bca-price-check-app #view-base .promo-main-price-lines small{
  font-size:9.5px !important;
  line-height:1.05 !important;
  font-weight:750 !important;
}
.bca-price-check-app #view-base .promo-main-type,
.bca-price-check-app #view-base .promo-main-no-price{
  font-size:10px !important;
  font-weight:850 !important;
  line-height:1 !important;
  padding:5px 8px !important;
}
.bca-price-check-app #view-base .promo-main-line strong{
  font-size:15px !important;
  line-height:1.14 !important;
  font-weight:800 !important;
}
.bca-price-check-app #view-base .promo-main-list-price{
  font-size:16.5px !important;
  line-height:1.14 !important;
  font-weight:850 !important;
}
.bca-price-check-app #view-base .promo-main-links a{
  font-size:10.5px !important;
  line-height:1.15 !important;
  font-weight:700 !important;
}
@media(max-width:1400px){
  .bca-price-check-app #view-base .promo-main-mla-entry .mla-group-main,
  .bca-price-check-app #view-base .promo-main-mla-entry .bca-code-text{font-size:15px !important;}
  .bca-price-check-app #view-base .promo-main-sku .sku-code,
  .bca-price-check-app #view-base .promo-main-sku .bca-code-text{font-size:15px !important;}
  .bca-price-check-app #view-base .promo-main-price-lines strong,
  .bca-price-check-app #view-base .promo-main-list-price{font-size:15px !important;}
  .bca-price-check-app #view-base .promo-main-line strong{font-size:14px !important;}
}

/* v255 hotfix v7 — Panel Principal: precios menos pesados */
.bca-price-check-app #view-base .promo-main-price-lines strong{
  font-weight:780 !important;
}
.bca-price-check-app #view-base .promo-main-list-price{
  font-weight:780 !important;
}
.bca-price-check-app #view-base .promo-main-line strong{
  font-weight:760 !important;
}
@media(max-width:1400px){
  .bca-price-check-app #view-base .promo-main-price-lines strong,
  .bca-price-check-app #view-base .promo-main-list-price,
  .bca-price-check-app #view-base .promo-main-line strong{font-weight:760 !important;}
}

/* v255 hotfix v8 — Panel Principal: tipografía general más chica */
.bca-price-check-app #view-base .promo-main-table thead th{
  font-size:8.75px !important;
  line-height:1.08 !important;
  padding:7px 5px !important;
}
.bca-price-check-app #view-base .promo-main-table tbody td{
  font-size:11px !important;
  line-height:1.15 !important;
  padding:10px 6px !important;
}
.bca-price-check-app #view-base .promo-main-mla-entry{
  gap:5px !important;
  padding:3px 0 !important;
}
.bca-price-check-app #view-base .promo-main-mla-entry+.promo-main-mla-entry{
  padding-top:6px !important;
}
.bca-price-check-app #view-base .promo-main-mla-entry .tipo-badge,
.bca-price-check-app #view-base .promo-main-type,
.bca-price-check-app #view-base .promo-main-no-price{
  font-size:8px !important;
  padding:4px 7px !important;
}
.bca-price-check-app #view-base .promo-main-mla-entry .mla-group-main,
.bca-price-check-app #view-base .promo-main-mla-entry .bca-code-text{
  font-size:13px !important;
  line-height:1.12 !important;
}
.bca-price-check-app #view-base .promo-main-sku .cat-pill{
  font-size:9px !important;
  padding:3px 8px !important;
}
.bca-price-check-app #view-base .promo-main-sku .sku-code,
.bca-price-check-app #view-base .promo-main-sku .bca-code-text{
  font-size:14px !important;
  line-height:1.14 !important;
}
.bca-price-check-app #view-base .promo-main-cuota-wrap .cuota-tag,
.bca-price-check-app #view-base .promo-main-cuota-wrap .cuota-tag.sin-cuotas{
  font-size:9px !important;
  padding:4px 7px !important;
}
.bca-price-check-app #view-base .promo-main-cuota-wrap .cuotas-toggle,
.bca-price-check-app #view-base .cuotas-toggle{
  font-size:8.5px !important;
  line-height:1.05 !important;
}
.bca-price-check-app #view-base .promo-main-price-lines{
  gap:4px !important;
}
.bca-price-check-app #view-base .promo-main-price-lines strong,
.bca-price-check-app #view-base .promo-main-list-price{
  font-size:13px !important;
  line-height:1.1 !important;
  font-weight:760 !important;
}
.bca-price-check-app #view-base .promo-main-price-lines small{
  font-size:7.5px !important;
  line-height:1.02 !important;
}
.bca-price-check-app #view-base .promo-main-line{
  min-height:22px !important;
  gap:3px !important;
}
.bca-price-check-app #view-base .promo-main-line strong{
  font-size:12.5px !important;
  line-height:1.08 !important;
  font-weight:740 !important;
}
.bca-price-check-app #view-base .promo-main-line small{
  font-size:7.5px !important;
  line-height:1 !important;
}
.bca-price-check-app #view-base .promo-main-links,
.bca-price-check-app #view-base .promo-main-lines{
  gap:4px !important;
}
.bca-price-check-app #view-base .promo-main-links a{
  font-size:8.75px !important;
  line-height:1.08 !important;
  font-weight:650 !important;
}
.bca-price-check-app #view-base .promo-main-photo-cell{
  padding:8px 6px !important;
}
.bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell img,
.bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell .noimg{
  width:78px !important;
  height:78px !important;
  max-height:78px !important;
}
.bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell.variant-shared-photo img,
.bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell.variant-shared-photo .noimg,
.bca-price-check-app #view-base td.quota-shared-photo img,
.bca-price-check-app #view-base td.quota-shared-photo .noimg{
  width:84px !important;
  height:84px !important;
  max-height:84px !important;
}
@media(max-width:1400px){
  .bca-price-check-app #view-base .promo-main-table thead th{font-size:8.25px !important;}
  .bca-price-check-app #view-base .promo-main-table tbody td{font-size:10.5px !important;}
  .bca-price-check-app #view-base .promo-main-mla-entry .mla-group-main,
  .bca-price-check-app #view-base .promo-main-mla-entry .bca-code-text{font-size:12px !important;}
  .bca-price-check-app #view-base .promo-main-sku .sku-code,
  .bca-price-check-app #view-base .promo-main-sku .bca-code-text{font-size:13px !important;}
  .bca-price-check-app #view-base .promo-main-price-lines strong,
  .bca-price-check-app #view-base .promo-main-list-price{font-size:12px !important;}
  .bca-price-check-app #view-base .promo-main-line strong{font-size:11.5px !important;}
  .bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell img,
  .bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell .noimg{width:72px !important;height:72px !important;max-height:72px !important;}
  .bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell.variant-shared-photo img,
  .bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell.variant-shared-photo .noimg,
  .bca-price-check-app #view-base td.quota-shared-photo img,
  .bca-price-check-app #view-base td.quota-shared-photo .noimg{width:78px !important;height:78px !important;max-height:78px !important;}
}

/* v255 rebuild v11 — Chequeo de Promos sobre base estable v8 */
.bca-price-check-app #view-base .promo-main-controls-simple{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;grid-template-columns:none!important;}
.bca-price-check-app #view-base .promo-main-mini-stats{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;}
.bca-price-check-app #view-base .promo-main-mini-chip{display:inline-flex!important;align-items:center!important;gap:5px!important;min-height:30px!important;padding:6px 10px!important;border:1px solid #e4e4e4!important;border-radius:999px!important;background:#fff!important;font-size:10px!important;font-weight:700!important;line-height:1!important;}
.bca-price-check-app #view-base .promo-main-mini-chip strong{font-size:11px!important;font-weight:800!important;color:#171717!important;}
.bca-price-check-app #view-base .promo-main-mini-chip.preneg{background:#f5f8ff!important;color:#2458b7!important;border-color:#d9e4ff!important;}
.bca-price-check-app #view-base .promo-main-mini-chip.manual{background:#fff5f5!important;color:#b11d1c!important;border-color:#f0d7d7!important;}
.bca-price-check-app #view-base .promo-main-mini-chip.smart{background:#fff9ec!important;color:#b66a00!important;border-color:#f1e1b5!important;}
.bca-price-check-app #view-base #promo-main-type-filter{width:270px!important;min-width:270px!important;max-width:270px!important;height:42px!important;}
/* Precios: mismo mono de Precios Meli / Manual, sin exceso de bold */
.bca-price-check-app #view-base .promo-main-price-lines strong,.bca-price-check-app #view-base .promo-main-list-price{font-family:'Roboto Mono',ui-monospace,SFMono-Regular,Consolas,monospace!important;font-size:14px!important;font-weight:750!important;letter-spacing:.01em!important;line-height:1.12!important;}
.bca-price-check-app #view-base .promo-main-price-lines small{font-size:8.5px!important;font-weight:750!important;line-height:1.02!important;}
.bca-price-check-app #view-base .promo-main-line strong{font-size:12.5px!important;font-weight:780!important;line-height:1.08!important;}
/* Mantener variantes y cuotas visualmente agrupadas como Base Comercial */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.quota-compact-row>td{height:74px!important;min-height:74px!important;padding-top:7px!important;padding-bottom:7px!important;border-top:1px solid #ececec!important;}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.sku-first:has(+ tr.quota-compact-row)>td:not([rowspan]){height:84px!important;min-height:84px!important;padding-top:8px!important;padding-bottom:8px!important;border-bottom:1px solid #ececec!important;}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.quota-shared-photo,.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.quota-shared-sku{vertical-align:middle!important;background:#fff!important;}
/* Header fijo del Panel Principal: clon exacto del header natural */
.promo-main-fixed-header{position:fixed;display:none;overflow:hidden;background:#fff;z-index:100000;border:1px solid #dedede;border-radius:0 0 10px 10px;box-shadow:0 5px 16px rgba(17,17,17,.10);pointer-events:none;box-sizing:border-box;}
.promo-main-fixed-header.is-visible{display:block;}
.promo-main-fixed-header-viewport{overflow:hidden;position:relative;}
.promo-main-fixed-header-table{border-collapse:separate!important;border-spacing:0!important;table-layout:fixed!important;margin:0!important;transform-origin:left top;}
.promo-main-fixed-header-table thead th{position:static!important;top:auto!important;}
@media(max-width:1200px){.bca-price-check-app #view-base .promo-main-controls-simple{flex-direction:column!important;align-items:stretch!important;}.bca-price-check-app #view-base #promo-main-type-filter{width:100%!important;min-width:0!important;max-width:none!important;}}


/* v13 — Chequeo de Promos: ajuste fino de tipografías + cabecera fija más prolija */
/* 1) MLA y SKU un poco más chicos */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .promo-main-mla-entry .mla-group-main,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .promo-main-mla-entry .bca-code-text,
.bca-price-check-app :is(#view-estado) .promo-state-mla .mla-group-main,
.bca-price-check-app :is(#view-estado) .promo-state-mla .bca-code-text,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .promo-prices-mla .mla-group-main,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .promo-prices-mla .bca-code-text{
  font-size:12.5px !important;
  line-height:1.14 !important;
  font-weight:700 !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .promo-main-sku .sku-code,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .promo-main-sku .bca-code-text,
.bca-price-check-app #view-estado .promo-state-sku .sku-code,
.bca-price-check-app #view-estado .promo-state-sku .bca-code-text,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .promo-prices-sku .sku-code,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .promo-prices-sku .bca-code-text{
  font-size:13px !important;
  line-height:1.15 !important;
  font-weight:700 !important;
}
/* 2) Resto de tipografías un poco más parejas y legibles */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) table thead th{
  font-size:11px !important;
  line-height:1.15 !important;
  font-weight:750 !important;
  letter-spacing:.01em !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) table tbody td{
  font-size:12.75px !important;
  line-height:1.16 !important;
  color:#202020 !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .tipo-badge,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .cat-pill,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .promo-main-type,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .promo-main-no-price,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .promo-main-cuota-wrap .cuota-tag,
.bca-price-check-app :is(#view-estado,#view-promo-precios,#view-promo-precios-manual) .cuota-tag{
  font-size:9.5px !important;
  font-weight:700 !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .cuotas-toggle{
  font-size:9.5px !important;
  font-weight:600 !important;
}
.bca-price-check-app #view-base .promo-main-line strong,
.bca-price-check-app #view-estado .promo-state-promo-head strong,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .promo-prices-diff,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .promo-main-links a,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .promo-prices-links a{
  font-weight:650 !important;
}
/* 3) Sacar el bold excesivo de precios y números */
.bca-price-check-app #view-base .promo-main-price-lines strong,
.bca-price-check-app #view-base .promo-main-list-price,
.bca-price-check-app #view-estado .promo-state-promo-head strong,
.bca-price-check-app .promo-prices-money,
.bca-price-check-app .promo-prices-diff,
.bca-price-check-app .promo-prices-final-bad,
.bca-price-check-app .promo-prices-loaded-bad{
  font-weight:680 !important;
}
.bca-price-check-app #view-base .promo-main-price-lines strong,
.bca-price-check-app #view-base .promo-main-list-price,
.bca-price-check-app .promo-prices-money{
  font-size:14.5px !important;
  letter-spacing:0 !important;
}
.bca-price-check-app #view-base .promo-main-price-lines small,
.bca-price-check-app .promo-prices-diff-stack small{
  font-size:8.5px !important;
  font-weight:650 !important;
}
.bca-price-check-app #view-base .promo-main-line strong{
  font-size:13.25px !important;
  font-weight:680 !important;
}
/* 4) Cabeceras fijas con look igual al natural + leve shadow */
.promo-main-fixed-header,
.promo-state-fixed-header,
.promo-prices-fixed-header{
  background:#fff !important;
  border:1px solid #dddddd !important;
  border-bottom:0 !important;
  border-radius:0 0 12px 12px !important;
  box-shadow:0 8px 20px rgba(17,17,17,.08) !important;
  overflow:hidden !important;
}
.promo-main-fixed-header-table,
.promo-state-fixed-header-table,
.promo-prices-fixed-header-table{
  background:#fff !important;
  margin:0 !important;
}
.promo-main-fixed-header-table thead th,
.promo-state-fixed-header-table thead th,
.promo-prices-fixed-header-table thead th{
  background:#f7f7f7 !important;
  color:#171717 !important;
  border-right:1px solid #e4e4e4 !important;
  border-bottom:1px solid #dedede !important;
  box-sizing:border-box !important;
  font-size:11px !important;
  line-height:1.15 !important;
  font-weight:750 !important;
  padding:8px 10px !important;
  text-transform:uppercase !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
  box-shadow:inset 0 -1px 0 rgba(0,0,0,.03) !important;
}
.promo-main-fixed-header-table thead .promo-main-price-head.dod,
.promo-prices-fixed-header-table thead .promo-prices-group.dod,
.promo-prices-fixed-header-table thead .promo-prices-subhead-row th:nth-child(-n+4){
  background:#eef5ff !important;
}
.promo-main-fixed-header-table thead .promo-main-price-head.dxi,
.promo-prices-fixed-header-table thead .promo-prices-group.dxi,
.promo-prices-fixed-header-table thead .promo-prices-subhead-row th:nth-child(n+5){
  background:#eef9f1 !important;
}
/* Cabecera fija del Panel Principal alineada al header real */
.promo-main-fixed-header{z-index:99995 !important;}
.promo-main-fixed-header-viewport{overflow:hidden !important;width:100% !important;height:100% !important;}
.promo-main-fixed-header-table{border-collapse:separate !important;border-spacing:0 !important;table-layout:fixed !important;transform:translateX(0);}
@media(max-width:1500px){
  .bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) table thead th{font-size:10.5px !important;}
  .bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) table tbody td{font-size:12.25px !important;}
  .bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .promo-main-price-lines strong,
  .bca-price-check-app :is(#view-base) .promo-main-list-price,
  .bca-price-check-app .promo-prices-money{font-size:14px !important;}
}


/* v14 — Agrupación de variantes de Chequeo de Promos igual a Base Comercial */
/* Un solo bloque visual por familia: foto compartida, variantes juntas y cuota compartida por nivel. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row > td{
  border-bottom:1px solid #ededed !important;
  border-top:0 !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row.sku-first > td{
  border-top:2px solid #dedede !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row.tier-last-row > td:not(.promo-shared-photo):not(.promo-shared-quota){
  border-bottom:10px solid #f5f5f5 !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.promo-shared-photo{
  vertical-align:top !important;
  padding-top:18px !important;
  padding-bottom:12px !important;
  background:#fff !important;
  border-bottom:10px solid #f5f5f5 !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.promo-shared-quota{
  vertical-align:middle !important;
  background:#fff !important;
  border-bottom:10px solid #f5f5f5 !important;
}
/* La variante mantiene su propio SKU, como Base Comercial; la categoría aparece solo al comienzo del grupo. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row .variant-sku-cell{
  justify-content:center !important;
  align-items:center !important;
  text-align:center !important;
  min-height:0 !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row .family-category-head{
  margin-bottom:5px !important;
}
/* Filas de variantes compactas, sin el enorme espacio de una tarjeta por SKU. */
.bca-price-check-app #view-base .promo-main-table tbody tr.family-row > td,
.bca-price-check-app #view-estado .promo-state-table tbody tr.family-row > td,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .promo-prices-table tbody tr.family-row > td{
  height:96px !important;
  min-height:96px !important;
  padding-top:9px !important;
  padding-bottom:9px !important;
}
/* Cuando aparece un nuevo nivel de cuotas, separarlo como un bloque nuevo dentro de la misma familia. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row.quota-tier-first > td:not(.promo-shared-photo){
  border-top:0 !important;
}
/* Producto simple: al abrir cuotas, foto + SKU siguen siendo una sola identidad compartida. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.single-group-row > td{
  border-bottom:1px solid #ededed !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.single-group-row.family-last > td:not([rowspan]),
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.single-group-row:last-child > td:not([rowspan]){
  border-bottom:10px solid #f5f5f5 !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.single-group-row > td[rowspan]{
  border-bottom:10px solid #f5f5f5 !important;
  vertical-align:middle !important;
}
/* La foto de una familia se comporta como la foto compartida de Base Comercial. */
.bca-price-check-app #view-base td.promo-shared-photo img,
.bca-price-check-app #view-base td.promo-shared-photo .noimg,
.bca-price-check-app #view-estado td.promo-shared-photo img,
.bca-price-check-app #view-estado td.promo-shared-photo .noimg,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) td.promo-shared-photo img,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) td.promo-shared-photo .noimg{
  width:86px !important;
  height:86px !important;
  max-width:calc(100% - 8px) !important;
  max-height:86px !important;
  object-fit:contain !important;
  margin:0 auto !important;
  border-radius:11px !important;
}
/* Cuota centrada verticalmente sobre todas las variantes del mismo nivel, como Base Comercial. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.promo-shared-quota .cuota-wrap{
  height:100% !important;
  min-height:72px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:5px !important;
}
/* El separador grande aparece al terminar cada tier, no entre variantes. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row:not(.tier-last-row) > td:not([rowspan]){
  border-bottom:1px solid #ededed !important;
}
@media(max-width:1400px){
  .bca-price-check-app #view-base .promo-main-table tbody tr.family-row > td,
  .bca-price-check-app #view-estado .promo-state-table tbody tr.family-row > td,
  .bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .promo-prices-table tbody tr.family-row > td{
    height:88px !important;
    min-height:88px !important;
    padding-top:8px !important;
    padding-bottom:8px !important;
  }
  .bca-price-check-app #view-base td.promo-shared-photo img,
  .bca-price-check-app #view-base td.promo-shared-photo .noimg,
  .bca-price-check-app #view-estado td.promo-shared-photo img,
  .bca-price-check-app #view-estado td.promo-shared-photo .noimg,
  .bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) td.promo-shared-photo img,
  .bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) td.promo-shared-photo .noimg{
    width:78px !important;height:78px !important;max-height:78px !important;
  }
}


/* v16 — Chequeo de Promos: desglosado completo por fila y sin separadores grises */
/* Al abrir cuotas de productos simples, cada fila muestra su propio SKU/identidad. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.single-group-row > td.promo-main-sku-cell,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.single-group-row > td.promo-state-sku-cell,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.single-group-row > td.promo-prices-sku-cell{vertical-align:middle!important;}

/* Quitar las franjas grises grandes que aparecían al desglosar cuotas. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row.tier-last-row > td:not(.promo-shared-photo):not(.promo-shared-quota),
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.promo-shared-photo,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.promo-shared-quota,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.single-group-row.family-last > td:not([rowspan]),
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.single-group-row:last-child > td:not([rowspan]),
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.single-group-row > td[rowspan],
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.quota-shared-sku{
  border-bottom:1px solid #ededed !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row.quota-tier-first > td:not(.promo-shared-photo),
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.quota-tier-first > td,
.bca-price-check-app #view-base tbody tr.quota-tier-first td,
.bca-price-check-app #view-estado tbody tr.quota-tier-first td,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) tbody tr.quota-tier-first td{
  border-top:1px solid #ededed !important;
  padding-top:9px !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.promo-shared-photo,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.promo-shared-quota,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.quota-shared-sku{
  background:#fff !important;
}
/* Mantener los bloques prolijos, sin huecos enormes entre tiers. */
.bca-price-check-app #view-base .promo-main-table tbody tr.family-row > td,
.bca-price-check-app #view-estado .promo-state-table tbody tr.family-row > td,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .promo-prices-table tbody tr.family-row > td,
.bca-price-check-app #view-base .promo-main-table tbody tr.single-group-row > td,
.bca-price-check-app #view-estado .promo-state-table tbody tr.single-group-row > td,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .promo-prices-table tbody tr.single-group-row > td{
  padding-top:8px !important;
  padding-bottom:8px !important;
}


/* v17 — Ver cuotas abre TODA la familia + sin franjas grises entre tiers */
/* El estado abierto ahora se comparte por displayKey/familia en JS. Visualmente no hay
   separadores gruesos al pasar de SIN CUOTAS a 3/6/9/12 cuotas. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row > td,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.single-group-row > td,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.quota-tier-first > td,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.tier-last-row > td,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.promo-shared-photo,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.promo-shared-quota,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.quota-shared-sku{
  border-top-width:1px !important;
  border-bottom-width:1px !important;
  border-top-color:#ededed !important;
  border-bottom-color:#ededed !important;
}
.bca-price-check-app #view-base tbody tr.quota-tier-first td,
.bca-price-check-app #view-estado tbody tr.quota-tier-first td,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) tbody tr.quota-tier-first td{
  border-top:1px solid #ededed !important;
  padding-top:8px !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row.tier-last-row > td:not(.promo-shared-photo):not(.promo-shared-quota),
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.single-group-row.family-last > td:not([rowspan]),
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.single-group-row > td[rowspan]{
  border-bottom:1px solid #ededed !important;
}
/* En familias abiertas cada tier conserva todas las variantes, sin huecos artificiales. */
.bca-price-check-app #view-base .promo-main-table tbody tr.family-row > td,
.bca-price-check-app #view-estado .promo-state-table tbody tr.family-row > td,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .promo-prices-table tbody tr.family-row > td{
  height:88px !important;
  min-height:88px !important;
  padding-top:8px !important;
  padding-bottom:8px !important;
}


/* v19 — Panel Principal: header fijo sin franja blanca inferior */
.promo-main-fixed-header{
  background:#f7f7f7 !important;
  border:0 !important;
  border-bottom:1px solid #dcdcdc !important;
  border-radius:0 !important;
  box-shadow:0 5px 14px rgba(17,17,17,.10) !important;
  overflow:hidden !important;
}
.promo-main-fixed-header-viewport,
.promo-main-fixed-header-table,
.promo-main-fixed-header-table thead,
.promo-main-fixed-header-table thead tr{
  height:100% !important;
  min-height:100% !important;
  margin:0 !important;
  padding:0 !important;
  background:#f7f7f7 !important;
}
.promo-main-fixed-header-table{
  border-collapse:separate !important;
  border-spacing:0 !important;
}
.promo-main-fixed-header-table thead th{
  height:100% !important;
  min-height:100% !important;
  margin:0 !important;
  vertical-align:middle !important;
  border-bottom:0 !important;
}
.promo-main-fixed-header-table thead .promo-main-price-head.dod{background:#eef5ff !important;}
.promo-main-fixed-header-table thead .promo-main-price-head.dxi{background:#eef9f1 !important;}


/* v20 — Precios Manual: columna ESTADO y reglas de revisión de diferencias */
.bca-price-check-app #view-promo-precios-manual .promo-manual-table .pp-col-status{width:13% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-manual-review-state{
  display:inline-flex !important;align-items:center !important;justify-content:center !important;
  min-width:86px !important;min-height:28px !important;padding:5px 9px !important;border-radius:8px !important;
  font-size:9.5px !important;font-weight:750 !important;line-height:1 !important;white-space:nowrap !important;text-transform:uppercase !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-manual-review-state.ok{background:#e8f6eb !important;color:#18762a !important;}
.bca-price-check-app #view-promo-precios-manual .promo-manual-review-state.review{background:#fdeaea !important;color:#c31313 !important;}
.bca-price-check-app #view-promo-precios-manual .promo-manual-review-state.missing{background:#f3f3f3 !important;color:#777 !important;}


/* v21 — Precios Manual: múltiples precios válidos + Precios Meli sin espacio blanco */
.bca-price-check-app #view-promo-precios-manual .promo-manual-multi-values{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;
}
.bca-price-check-app #view-promo-precios-manual .promo-manual-multi-values .promo-prices-money{
  display:flex!important;flex-direction:column!important;align-items:center!important;gap:2px!important;
}
.bca-price-check-app #view-promo-precios-manual .promo-manual-diff-values{gap:6px!important;}
.bca-price-check-app #view-promo-precios .promo-prices-table-card,
.bca-price-check-app #view-promo-precios .promo-prices-scroll{
  width:100%!important;max-width:100%!important;min-width:0!important;
}
.bca-price-check-app #view-promo-precios .promo-prices-table{
  width:100%!important;max-width:100%!important;table-layout:fixed!important;
}
.bca-price-check-app #view-promo-precios .promo-prices-table colgroup col{box-sizing:border-box!important;}
.bca-price-check-app #view-promo-precios .promo-prices-table thead{width:100%!important;}
.bca-price-check-app #view-promo-precios .promo-prices-table thead tr{width:100%!important;}


/* v22 — Separación visual: variantes colapsadas como productos individuales; expandido de cuotas sin aplicar esta regla */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row.family-collapsed > td:not(.promo-shared-photo):not(.promo-shared-quota){
  border-bottom:10px solid #f5f5f5 !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.family-collapsed-photo,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.family-collapsed-quota{
  border-bottom:10px solid #f5f5f5 !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row.family-collapsed > td{
  padding-top:10px !important;
  padding-bottom:10px !important;
}
/* Cuando se expande ver cuotas, volver al separador fino entre filas/tier para no romper el bloque. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row.family-expanded > td:not(.promo-shared-photo):not(.promo-shared-quota),
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row.family-expanded.tier-last-row > td:not(.promo-shared-photo):not(.promo-shared-quota),
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row.family-expanded td.family-collapsed-photo,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row.family-expanded td.family-collapsed-quota{
  border-bottom:1px solid #ededed !important;
}


/* v23 — Chequeo de Promos: identidad (MLA / SKU / categoría / tipo) más compacta en todas las solapas */
/* MLA */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.bca-mla-column-cell .mla-group-main,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.bca-mla-column-cell .bca-code-text,
.bca-price-check-app #view-base .promo-main-mla-entry .mla-group-main,
.bca-price-check-app #view-base .promo-main-mla-entry .bca-code-text,
.bca-price-check-app #view-estado .promo-state-mla .mla-group-main,
.bca-price-check-app #view-estado .promo-state-mla .bca-code-text,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .promo-prices-mla .mla-group-main,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .promo-prices-mla .bca-code-text{
  font-size:11.5px !important;
  line-height:1.12 !important;
  font-weight:650 !important;
  letter-spacing:0 !important;
}

/* SKU */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.bca-sku-column-cell .sku-code,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.bca-sku-column-cell .bca-code-text,
.bca-price-check-app #view-base .promo-main-sku .sku-code,
.bca-price-check-app #view-base .promo-main-sku .bca-code-text,
.bca-price-check-app #view-estado .promo-state-sku .sku-code,
.bca-price-check-app #view-estado .promo-state-sku .bca-code-text,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .promo-prices-sku .sku-code,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .promo-prices-sku .bca-code-text{
  font-size:12px !important;
  line-height:1.12 !important;
  font-weight:650 !important;
  letter-spacing:0 !important;
}

/* Categoría */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.bca-sku-column-cell .cat-pill,
.bca-price-check-app #view-base .promo-main-sku .cat-pill,
.bca-price-check-app #view-estado .promo-state-sku .cat-pill,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .promo-prices-sku .cat-pill{
  font-size:8.5px !important;
  line-height:1.05 !important;
  font-weight:600 !important;
  padding:3px 7px !important;
}

/* PRINCIPAL / CATÁLOGO / CATÁLOGO SIN PRINCIPAL */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.bca-mla-column-cell .tipo-badge,
.bca-price-check-app #view-base .promo-main-mla-entry .tipo-badge,
.bca-price-check-app #view-estado .promo-state-mla .tipo-badge,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .promo-prices-mla .tipo-badge{
  font-size:8px !important;
  line-height:1.05 !important;
  font-weight:700 !important;
  padding:3px 6px !important;
  letter-spacing:0 !important;
}

/* Descriptor de variante (color / nombre) acompaña al SKU sin dominarlo */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.bca-sku-column-cell .variant-color{
  margin-top:5px !important;
  font-size:9.5px !important;
  line-height:1.1 !important;
  font-weight:600 !important;
  gap:4px !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.bca-sku-column-cell .variant-dot{
  width:8px !important;
  height:8px !important;
  flex-basis:8px !important;
}


/* v24 — ESTADO: reducir un poco el tamaño de SIN CUOTAS / 3 CUOTAS / etc. */
.bca-price-check-app #view-estado .promo-state-cuota-wrap .cuota-tag,
.bca-price-check-app #view-estado .promo-state-cuota-wrap .cuota-tag.sin-cuotas,
.bca-price-check-app #view-estado .cuota-tag,
.bca-price-check-app #view-estado .cuota-tag.sin-cuotas{
  font-size: 11px !important;
  padding: 6px 11px !important;
  font-weight: 800 !important;
}
.bca-price-check-app #view-estado .promo-state-cuota-wrap .cuotas-toggle,
.bca-price-check-app #view-estado .cuotas-toggle{
  font-size: 10px !important;
}


/* v25 — ESTADO: cuotas exactamente del mismo tamaño que Precios Meli */
.bca-price-check-app #view-estado .promo-state-cuota-wrap .cuota-tag,
.bca-price-check-app #view-estado .promo-state-cuota-wrap .cuota-tag.sin-cuotas,
.bca-price-check-app #view-estado .cuota-tag,
.bca-price-check-app #view-estado .cuota-tag.sin-cuotas{
  font-size:9.5px !important;
  line-height:1 !important;
  font-weight:700 !important;
  padding:5px 8px !important;
  border-width:1.2px !important;
  border-radius:999px !important;
}
.bca-price-check-app #view-estado .promo-state-cuota-wrap .cuotas-toggle,
.bca-price-check-app #view-estado .cuotas-toggle{
  font-size:9.5px !important;
  line-height:1.1 !important;
  margin-top:1px !important;
  font-weight:600 !important;
}


/* v27 — Separación correcta de familias de variantes */
/* Colapsado: las variantes forman UN solo producto visual. Entre variantes va línea fina. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row.family-collapsed > td:not(.promo-shared-photo):not(.promo-shared-quota){
  border-bottom:1px solid #ededed !important;
}
/* La separación gruesa equivalente a un producto individual aparece SOLO al final de la familia. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row.family-collapsed.family-last > td:not(.promo-shared-photo):not(.promo-shared-quota){
  border-bottom:10px solid #f5f5f5 !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.family-collapsed-photo,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.family-collapsed-quota{
  border-bottom:10px solid #f5f5f5 !important;
}
/* No generar una franja gruesa al inicio de la familia. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row.family-collapsed.sku-first > td{
  border-top:1px solid #ededed !important;
}
/* Expandido por Ver cuotas: conservar únicamente separaciones finas dentro del bloque. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row.family-expanded > td:not(.promo-shared-photo):not(.promo-shared-quota),
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row.family-expanded.family-last > td:not(.promo-shared-photo):not(.promo-shared-quota),
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row.family-expanded.tier-last-row > td:not(.promo-shared-photo):not(.promo-shared-quota){
  border-bottom:1px solid #ededed !important;
}


/* v28 — Separación de variantes colapsadas igual a un producto individual */
/* Familia SIN cuotas desplegadas: cada variante recibe la misma franja gris de un producto individual. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.family-row.family-collapsed > td:not(.promo-shared-photo):not(.promo-shared-quota){
  border-bottom:10px solid #f5f5f5 !important;
}
/* Las celdas compartidas (foto y cuotas) siguen siendo una sola para toda la familia;
   su cierre grueso queda únicamente al final del grupo. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
td.family-collapsed-photo,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
td.family-collapsed-quota{
  border-bottom:10px solid #f5f5f5 !important;
}
/* No agregar una franja arriba de la primera variante. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.family-row.family-collapsed.sku-first > td{
  border-top:1px solid #ededed !important;
}
/* Al abrir VER CUOTAS se vuelve al tratamiento fino para que las filas extra no parezcan productos separados. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.family-row.family-expanded > td:not(.promo-shared-photo):not(.promo-shared-quota),
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.family-row.family-expanded.family-last > td:not(.promo-shared-photo):not(.promo-shared-quota),
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.family-row.family-expanded.tier-last-row > td:not(.promo-shared-photo):not(.promo-shared-quota){
  border-bottom:1px solid #ededed !important;
}


/* v29 — La franja gris cruza también las celdas con rowspan (FOTO y CUOTAS). */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.promo-family-separator-host{
  position:relative !important;
  overflow:hidden !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .promo-family-cell-separator{
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  height:10px !important;
  display:block !important;
  background:#f5f5f5 !important;
  z-index:2 !important;
  pointer-events:none !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.promo-family-separator-host > img,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.promo-family-separator-host > .noimg,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) td.promo-family-separator-host > .cuota-wrap{
  position:relative !important;
  z-index:3 !important;
}
/* Las filas normales de una familia colapsada conservan exactamente el mismo corte de 10px. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row.family-collapsed > td:not(.promo-shared-photo):not(.promo-shared-quota){
  border-bottom:10px solid #f5f5f5 !important;
}
/* Al abrir cuotas no se dibujan estas franjas internas gruesas. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) tr.family-row.family-expanded > td:not(.promo-shared-photo):not(.promo-shared-quota){
  border-bottom:1px solid #ededed !important;
}


/* v30 — Familias de variantes como UN bloque, igual a Base Comercial */
/* No separar fuerte entre variantes internas, estén cuotas cerradas o abiertas. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.family-row > td:not(.promo-shared-photo):not(.promo-shared-quota),
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.family-row.family-collapsed > td:not(.promo-shared-photo):not(.promo-shared-quota),
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.family-row.family-expanded > td:not(.promo-shared-photo):not(.promo-shared-quota),
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.family-row.tier-last-row > td:not(.promo-shared-photo):not(.promo-shared-quota){
  border-top:0 !important;
  border-bottom:1px solid #ededed !important;
}
/* Solo la ÚLTIMA variante cierra la familia con el mismo corte que un producto individual. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.family-row.family-last > td:not(.promo-shared-photo):not(.promo-shared-quota){
  border-bottom:10px solid #f5f5f5 !important;
}
/* FOTO abarca toda la familia: el corte grueso va únicamente al final de esa celda. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
td.promo-shared-photo,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
td.family-collapsed-photo{
  border-top:0 !important;
  border-bottom:10px solid #f5f5f5 !important;
}
/* CUOTAS: niveles internos finos; solo el último nivel cierra el bloque. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
td.promo-shared-quota{
  border-top:0 !important;
  border-bottom:1px solid #ededed !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
td.promo-shared-quota.final-tier,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
td.family-collapsed-quota{
  border-bottom:10px solid #f5f5f5 !important;
}
/* El primer renglón de una familia no crea una franja adicional arriba. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.family-row.sku-first > td{
  border-top:0 !important;
}
/* Productos individuales mantienen el mismo cierre de bloque; al abrir cuotas,
   las filas internas quedan finas y solo la última cierra fuerte. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.single-group-row > td:not([rowspan]){
  border-bottom:1px solid #ededed !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.single-group-row.family-last > td:not([rowspan]),
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.single-group-row:last-child > td:not([rowspan]),
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.single-group-row > td[rowspan]{
  border-bottom:10px solid #f5f5f5 !important;
}
/* Desactivar cualquier separador artificial remanente de v29. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual) .promo-family-cell-separator{
  display:none !important;
}


/* v31 — El cierre de familia cruza también la columna FOTO (rowspan) */
/* En celdas con rowspan el border-bottom puede quedar visualmente fino según el navegador.
   Pintamos explícitamente la franja final dentro de la propia celda FOTO. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
td.promo-shared-photo,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
td.family-collapsed-photo{
  border-bottom:10px solid #f5f5f5 !important;
  background:linear-gradient(to bottom,#fff 0,#fff calc(100% - 10px),#f5f5f5 calc(100% - 10px),#f5f5f5 100%) !important;
  background-clip:padding-box !important;
}
/* La imagen permanece centrada y por encima del fondo de cierre. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
td.promo-shared-photo > img,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
td.promo-shared-photo > .noimg{
  position:relative !important;
  z-index:1 !important;
}

/* v32 — Al desplegar cuotas, la separación gruesa aparece SOLO al final de todo el producto/familia */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.family-row.family-expanded.family-last > td:not(.promo-shared-photo):not(.promo-shared-quota),
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.single-group-row.family-last > td:not([rowspan]) {
  border-bottom:10px solid #f5f5f5 !important;
}

/* Las celdas con rowspan de FOTO y CUOTAS también cierran el bloque expandido con la misma franja */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
td.promo-shared-photo,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
td.promo-shared-quota {
  border-bottom:10px solid #f5f5f5 !important;
}

/* Dentro del bloque expandido, entre tiers/variantes se mantiene línea fina */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.family-row.family-expanded:not(.family-last) > td:not(.promo-shared-photo):not(.promo-shared-quota),
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.family-row.family-expanded.quota-tier-first:not(.family-last) > td:not(.promo-shared-photo):not(.promo-shared-quota) {
  border-bottom:1px solid #ededed !important;
}


/* v33 — Cuando se despliegan cuotas, las filas internas deben quedar compactas y juntas, como Base Comercial */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.quota-expanded-row > td:not([rowspan]):not(.promo-shared-photo):not(.promo-shared-quota){
  padding-top:10px !important;
  padding-bottom:10px !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.quota-expanded-row > td[rowspan],
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.quota-expanded-row > td.promo-shared-photo,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.quota-expanded-row > td.promo-shared-quota{
  padding-top:10px !important;
  padding-bottom:10px !important;
  vertical-align:middle !important;
}
/* Dentro del bloque expandido no hay franja gruesa entre filas; solo al final de todo el producto/familia */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.single-group-row.quota-expanded-row > td:not([rowspan]){
  border-bottom:1px solid #ededed !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.single-group-row.quota-expanded-row.family-last > td:not([rowspan]){
  border-bottom:10px solid #f5f5f5 !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.single-group-row.quota-expanded-row > td[rowspan]{
  border-bottom:10px solid #f5f5f5 !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.family-row.family-expanded.quota-expanded-row > td:not(.promo-shared-photo):not(.promo-shared-quota){
  border-bottom:1px solid #ededed !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.family-row.family-expanded.quota-expanded-row.family-last > td:not(.promo-shared-photo):not(.promo-shared-quota){
  border-bottom:10px solid #f5f5f5 !important;
}


/* v34 — VER CUOTAS idéntico al flujo de Base Comercial: un único bloque compacto */
/* Cada nivel de cuota ocupa una fila baja; FOTO + SKU/CATEGORÍA quedan compartidos por rowspan. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.single-group-row.quota-expanded-row > td:not([rowspan]),
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.family-row.quota-expanded-row > td:not([rowspan]):not(.promo-shared-photo):not(.promo-shared-quota){
  height:72px !important;
  min-height:72px !important;
  padding-top:7px !important;
  padding-bottom:7px !important;
  border-top:0 !important;
  border-bottom:0 !important;
  vertical-align:middle !important;
}
/* Una línea muy sutil entre niveles, solo donde ayuda a leer MLA/precios; no corta el bloque. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.quota-expanded-row:not(.family-last) > td:not([rowspan]):not(.promo-shared-photo):not(.promo-shared-quota){
  box-shadow:inset 0 -1px 0 #f2f2f2 !important;
}
/* Las identidades compartidas quedan centradas como en Base Comercial. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.quota-expanded-row > td[rowspan],
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
td.quota-shared-sku,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
td.promo-shared-photo{
  vertical-align:middle !important;
}
/* En producto simple abierto, FOTO y SKU cierran juntos al final del bloque; no hay corte a mitad. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.single-group-row.quota-expanded-row > td[rowspan]{
  border-top:0 !important;
  border-bottom:10px solid #f5f5f5 !important;
  box-shadow:none !important;
}
/* Solo la última fila visible cierra fuerte el producto/familia. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.single-group-row.quota-expanded-row.family-last > td:not([rowspan]),
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
tr.family-row.family-expanded.quota-expanded-row.family-last > td:not(.promo-shared-photo):not(.promo-shared-quota){
  border-bottom:10px solid #f5f5f5 !important;
  box-shadow:none !important;
}
/* Quitar reglas viejas de altura que hacían que el desglose pareciera dos productos separados. */
.bca-price-check-app #view-base .promo-main-table tbody tr.quota-expanded-row > td,
.bca-price-check-app #view-estado .promo-state-table tbody tr.quota-expanded-row > td,
.bca-price-check-app :is(#view-promo-precios,#view-promo-precios-manual) .promo-prices-table tbody tr.quota-expanded-row > td{
  max-height:none !important;
}


/* v35 — El cierre grueso de una familia debe atravesar también la columna FOTO */
/* Las fotos de familias usan rowspan; el borde de la última fila no puede pintarse
   sobre esa celda. Se dibuja el mismo separador de 10px DENTRO de la celda compartida. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
td.promo-shared-photo.variant-shared-photo{
  position:relative !important;
  overflow:hidden !important;
  border-bottom:0 !important;
  background:#fff !important;
  box-shadow:inset 0 -10px 0 #f5f5f5 !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
td.promo-shared-photo.variant-shared-photo::after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  height:10px !important;
  background:#f5f5f5 !important;
  z-index:20 !important;
  pointer-events:none !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
td.promo-shared-photo.variant-shared-photo > img,
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
td.promo-shared-photo.variant-shared-photo > .noimg{
  position:relative !important;
  z-index:21 !important;
}

/* v36 — Las unidades/productos simples vuelven al tratamiento normal.
   El separador interno especial queda reservado solo para familias de variantes. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
td.promo-shared-photo:not(.variant-shared-photo){
  overflow:visible !important;
  box-shadow:none !important;
  background:#fff !important;
}
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
td.promo-shared-photo:not(.variant-shared-photo)::after{
  content:none !important;
  display:none !important;
}


/* v37 — Igualar el grosor del separador entre productos individuales y familias de variantes.
   El grosor extra de los individuales venía del border-top de 12px aplicado a .sku-first,
   que se sumaba al cierre inferior de 10px del producto anterior. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
table tbody tr.single-group-row.sku-first > td{
  border-top:0 !important;
}
/* También al abrir cuotas: el primer renglón del producto no agrega una segunda franja arriba. */
.bca-price-check-app :is(#view-base,#view-estado,#view-promo-precios,#view-promo-precios-manual)
table tbody tr.single-group-row.quota-expanded-row.sku-first > td{
  border-top:0 !important;
}


/* v38 — Panel Principal: tipografía de VIGENCIA un poco más chica */
.bca-price-check-app #view-base .promo-main-validity-cell .promo-main-line strong{
  font-size:11.5px !important;
  font-weight:680 !important;
  line-height:1.08 !important;
}

/* v40 — Estado: alinear verticalmente la foto compartida de familias de variantes.
   En esta solapa la celda con rowspan quedaba visualmente más arriba que el resto del bloque.
   Se centra la foto dentro de la familia sin tocar el comportamiento de las demás solapas. */
.bca-price-check-app #view-estado td.promo-shared-photo.variant-shared-photo{
  vertical-align:middle !important;
  padding-top:10px !important;
  padding-bottom:10px !important;
}
.bca-price-check-app #view-estado td.promo-shared-photo.variant-shared-photo > img,
.bca-price-check-app #view-estado td.promo-shared-photo.variant-shared-photo > .noimg{
  margin-top:0 !important;
  margin-bottom:0 !important;
}

/* v41 — ESTADO: alinear exactamente la franja de cierre de FOTO con el resto de la familia.
   La franja ya no se dibuja dentro del rowspan (10px antes), sino inmediatamente debajo,
   a la misma altura que el border-bottom grueso de la última fila. */
.bca-price-check-app #view-estado td.promo-shared-photo.variant-shared-photo{
  position:relative !important;
  overflow:visible !important;
  box-shadow:none !important;
  border-bottom:0 !important;
  background:#fff !important;
}
.bca-price-check-app #view-estado td.promo-shared-photo.variant-shared-photo::after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:-10px !important;
  height:10px !important;
  background:#f5f5f5 !important;
  z-index:25 !important;
  pointer-events:none !important;
}
.bca-price-check-app #view-estado td.promo-shared-photo.variant-shared-photo > img,
.bca-price-check-app #view-estado td.promo-shared-photo.variant-shared-photo > .noimg{
  position:relative !important;
  z-index:26 !important;
}

/* v42 — ESTADO: volver al mismo cierre visual que el resto de solapas.
   La franja de FOTO se dibuja dentro del rowspan (no desplazada hacia abajo),
   manteniendo el centrado vertical pero evitando el desfasaje que aparecía
   desde ciertos bloques de variantes en adelante. */
.bca-price-check-app #view-estado td.promo-shared-photo.variant-shared-photo{
  position:relative !important;
  overflow:hidden !important;
  box-shadow:inset 0 -10px 0 #f5f5f5 !important;
  border-bottom:0 !important;
  background:#fff !important;
  padding-top:10px !important;
  padding-bottom:10px !important;
  vertical-align:middle !important;
}
.bca-price-check-app #view-estado td.promo-shared-photo.variant-shared-photo::after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  height:10px !important;
  background:#f5f5f5 !important;
  z-index:25 !important;
  pointer-events:none !important;
}
.bca-price-check-app #view-estado td.promo-shared-photo.variant-shared-photo > img,
.bca-price-check-app #view-estado td.promo-shared-photo.variant-shared-photo > .noimg{
  position:relative !important;
  z-index:26 !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
}


/* v43 — ESTADO: separador estructural real por producto/familia.
   La fila separadora cruza TODAS las columnas. No se usa más un cierre especial
   en FOTO/CUOTAS con rowspan, eliminando definitivamente los escalones. */
.bca-price-check-app #view-estado .promo-state-table tbody tr.promo-state-product-separator > td{
  height:10px !important;
  min-height:10px !important;
  max-height:10px !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  background:#f5f5f5 !important;
  box-shadow:none !important;
  line-height:0 !important;
}
/* Dentro de Estado, el cierre grueso deja de pertenecer a las filas de datos. */
.bca-price-check-app #view-estado .promo-state-table tbody tr.family-row.family-last > td:not(.promo-shared-photo):not(.promo-shared-quota),
.bca-price-check-app #view-estado .promo-state-table tbody tr.family-row.family-expanded.family-last > td:not(.promo-shared-photo):not(.promo-shared-quota),
.bca-price-check-app #view-estado .promo-state-table tbody tr.family-row.family-collapsed.family-last > td:not(.promo-shared-photo):not(.promo-shared-quota),
.bca-price-check-app #view-estado .promo-state-table tbody tr.single-group-row.family-last > td:not([rowspan]),
.bca-price-check-app #view-estado .promo-state-table tbody tr.single-group-row:last-child > td:not([rowspan]){
  border-bottom:1px solid #ededed !important;
  box-shadow:none !important;
}
/* FOTO compartida: solo contiene/centra la imagen; ya no dibuja la franja de cierre. */
.bca-price-check-app #view-estado td.promo-shared-photo,
.bca-price-check-app #view-estado td.promo-shared-photo.variant-shared-photo,
.bca-price-check-app #view-estado td.family-collapsed-photo{
  position:relative !important;
  overflow:hidden !important;
  vertical-align:middle !important;
  padding-top:10px !important;
  padding-bottom:10px !important;
  border-bottom:1px solid #ededed !important;
  box-shadow:none !important;
  background:#fff !important;
}
.bca-price-check-app #view-estado td.promo-shared-photo::after,
.bca-price-check-app #view-estado td.promo-shared-photo.variant-shared-photo::after,
.bca-price-check-app #view-estado td.family-collapsed-photo::after{
  content:none !important;
  display:none !important;
}
/* CUOTAS compartida tampoco dibuja un cierre independiente. */
.bca-price-check-app #view-estado td.promo-shared-quota,
.bca-price-check-app #view-estado td.promo-shared-quota.final-tier,
.bca-price-check-app #view-estado td.family-collapsed-quota{
  border-bottom:1px solid #ededed !important;
  box-shadow:none !important;
  background:#fff !important;
  vertical-align:middle !important;
}
/* Evitar una franja adicional arriba del siguiente producto en Estado. */
.bca-price-check-app #view-estado .promo-state-table tbody tr.sku-first > td,
.bca-price-check-app #view-estado .promo-state-table tbody tr.family-row.sku-first > td,
.bca-price-check-app #view-estado .promo-state-table tbody tr.single-group-row.sku-first > td{
  border-top:0 !important;
}

/* v44 — ESTADO: una sola lógica de separación para individuales y variantes.
   Todas las celdas de datos terminan con línea fina. La franja gruesa pertenece
   EXCLUSIVAMENTE a .promo-state-product-separator, evitando escalones en MLA/SKU/FOTO/CUOTAS. */
.bca-price-check-app #view-estado .promo-state-table tbody tr.promo-panel-style-row > td,
.bca-price-check-app #view-estado .promo-state-table tbody tr.promo-panel-style-row > td[rowspan],
.bca-price-check-app #view-estado .promo-state-table tbody tr.single-group-row > td,
.bca-price-check-app #view-estado .promo-state-table tbody tr.single-group-row > td[rowspan],
.bca-price-check-app #view-estado .promo-state-table tbody tr.family-row > td,
.bca-price-check-app #view-estado .promo-state-table tbody tr.family-row > td[rowspan]{
  border-top:0 !important;
  border-bottom:1px solid #ededed !important;
  box-shadow:none !important;
}

/* FOTO/CUOTAS compartidas no dibujan cierres propios. */
.bca-price-check-app #view-estado .promo-state-table tbody td.promo-shared-photo,
.bca-price-check-app #view-estado .promo-state-table tbody td.promo-shared-photo.variant-shared-photo,
.bca-price-check-app #view-estado .promo-state-table tbody td.promo-shared-quota,
.bca-price-check-app #view-estado .promo-state-table tbody td.quota-shared-photo,
.bca-price-check-app #view-estado .promo-state-table tbody td.quota-shared-sku,
.bca-price-check-app #view-estado .promo-state-table tbody td.family-collapsed-photo,
.bca-price-check-app #view-estado .promo-state-table tbody td.family-collapsed-quota{
  border-bottom:1px solid #ededed !important;
  box-shadow:none !important;
  background:#fff !important;
}
.bca-price-check-app #view-estado .promo-state-table tbody td.promo-shared-photo::after,
.bca-price-check-app #view-estado .promo-state-table tbody td.promo-shared-photo.variant-shared-photo::after{
  content:none !important;
  display:none !important;
}

/* La única separación gruesa: fila estructural completa de 7 columnas. */
.bca-price-check-app #view-estado .promo-state-table tbody tr.promo-state-product-separator{
  height:10px !important;
  min-height:10px !important;
  max-height:10px !important;
}
.bca-price-check-app #view-estado .promo-state-table tbody tr.promo-state-product-separator > td{
  height:10px !important;
  min-height:10px !important;
  max-height:10px !important;
  padding:0 !important;
  border:0 !important;
  background:#f5f5f5 !important;
  box-shadow:none !important;
  line-height:0 !important;
}


/* v47 — Precios Manual: descarga de HTML de diferencias con checklist */
.bca-price-check-app #view-promo-precios-manual .promo-manual-html-export{background:#111!important;border-color:#111!important;color:#fff!important;box-shadow:0 7px 16px rgba(17,17,17,.12)!important;}
.bca-price-check-app #view-promo-precios-manual .promo-manual-html-export:hover{background:#2b2b2b!important;border-color:#2b2b2b!important;}

/* v8.9.133 / paquete v260 — familias AUTO KIT: SKU en una sola línea visual.
   Si una familia trae una etiqueta genérica redundante (A/B/C/D) que ya está
   incluida al final del SKU, no se repite debajo del código. */
#view-base tr.bca-auto-kit-family-row .variant-color.variant-generic{
  display:none !important;
}

/* ===== v8.9.134 / paquete v261 — Movimiento de Stock PDF -> CSV + historial ===== */
#view-movstock{padding:22px 28px 42px;background:#f5f6f8;}
.movstock-page{display:flex;flex-direction:column;gap:18px;max-width:1680px;margin:0 auto;}
.movstock-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;background:#fff;border:1px solid #dedede;border-radius:14px;padding:22px 24px;box-shadow:0 4px 16px rgba(0,0,0,.035);}
.movstock-head h1{font-family:'Oswald',Arial,sans-serif;font-size:31px;line-height:1.05;margin:0 0 6px;color:#111;font-weight:600;}
.movstock-head p{margin:0;color:#555;font-size:13px;}
.movstock-help-btn{height:38px!important;min-width:132px!important;background:#fff!important;color:#222!important;border-color:#d7d7d7!important;}
.movstock-top-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(310px,.9fr);gap:18px;}
.movstock-upload-card,.movstock-shipment-card,.movstock-preview-card,.movstock-explain-card,.movstock-history-card{background:#fff;border:1px solid #dedede;border-radius:14px;box-shadow:0 4px 16px rgba(0,0,0,.035);}
.movstock-upload-card{min-height:205px;border:1px dashed #cf8c8c;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:24px;transition:.16s ease;background:linear-gradient(180deg,#fff,#fffdfd);}
.movstock-upload-card.is-dragging{border-color:#b11d1c;background:#fff7f7;box-shadow:0 0 0 3px rgba(177,29,28,.07) inset;}
.movstock-upload-card.is-busy{opacity:.7;pointer-events:none;}
.movstock-upload-icon{width:45px;height:45px;border-radius:50%;border:2px solid #b11d1c;color:#b11d1c;display:flex;align-items:center;justify-content:center;font-size:27px;line-height:1;font-weight:700;}
.movstock-upload-card>strong{font-size:14px;color:#222;}
.movstock-upload-card>span{font-size:11px;color:#777;}
.movstock-upload-card>small{font-size:10px;color:#8a8a8a;}
.movstock-file-name{font-size:10px;font-weight:700;color:#666;min-height:15px;text-align:center;max-width:90%;overflow-wrap:anywhere;}
.movstock-shipment-card{padding:19px 20px;display:flex;flex-direction:column;gap:15px;}
.movstock-card-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:11px;border-bottom:1px solid #ededed;}
.movstock-card-title>strong{font-size:13px;}
.movstock-status-pill{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:9px;font-weight:800;color:#666;background:#f1f1f1;white-space:nowrap;}
.movstock-status-pill.ready{color:#1f7a35;background:#e7f6e9;}.movstock-status-pill.warning{color:#a85b00;background:#fff1d8;}.movstock-status-pill.error{color:#b11d1c;background:#fde8e8;}.movstock-status-pill.loading{color:#245b9e;background:#eaf3ff;}
.movstock-info-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#555;}
.movstock-info-row strong{font-size:14px;color:#111;}
.movstock-info-row:first-of-type strong{color:#b11d1c;}
.movstock-stats{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid #dedede;border-radius:14px;box-shadow:0 4px 16px rgba(0,0,0,.035);overflow:hidden;}
.movstock-stat{display:flex;align-items:center;gap:13px;padding:18px 20px;min-height:92px;border-right:1px solid #e8e8e8;}
.movstock-stat:last-child{border-right:0;}
.movstock-stat-icon{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:800;flex:0 0 42px;}
.movstock-stat-icon.blue{background:#eaf3ff;color:#2875d7}.movstock-stat-icon.violet{background:#f1eafe;color:#8953c8}.movstock-stat-icon.amber{background:#fff1dc;color:#dd8a13}.movstock-stat-icon.red{background:#fdeaea;color:#d52a2a}
.movstock-stat>div{display:flex;flex-direction:column;gap:3px;min-width:0}.movstock-stat span:not(.movstock-stat-icon){font-size:10px;color:#555;font-weight:700}.movstock-stat strong{font-size:21px;line-height:1;color:#111}.movstock-stat small{font-size:9px;color:#888;line-height:1.25}
.movstock-result-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(280px,.9fr);gap:18px;align-items:start;}
.movstock-preview-card{overflow:hidden;}.movstock-section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;padding:16px 18px;border-bottom:1px solid #e8e8e8;}.movstock-section-title strong{font-size:13px}.movstock-section-title span{font-size:9px;color:#777;text-align:right}
.movstock-table-wrap{max-height:520px;overflow:auto;}.movstock-table{width:100%;border-collapse:collapse;table-layout:fixed;}.movstock-table th{position:sticky;top:0;z-index:2;background:#f6f6f6;height:40px;padding:0 12px;border-bottom:1px solid #ddd;text-align:left;font-size:10px;text-transform:uppercase;font-weight:800;color:#222}.movstock-table th:nth-child(1){width:55px;text-align:center}.movstock-table th:nth-child(3){width:205px}.movstock-table th:nth-child(4){width:115px;text-align:center}.movstock-table td{min-height:58px;padding:12px;border-bottom:1px solid #ececec;font-size:11px;vertical-align:middle}.movstock-table td:nth-child(1),.movstock-table td:nth-child(4){text-align:center}.movstock-table tbody tr:hover{background:#fcfcfc}.movstock-table .movstock-kit-child td{background:#fbfbfd}.movstock-table .movstock-missing-row td{background:#fff7f7}.movstock-table .movstock-product-name{font-size:11px;font-weight:600;color:#222;line-height:1.3}.movstock-table .movstock-product-name em{display:block;margin-top:4px;font-style:normal;color:#8a5b00;font-size:9px;font-weight:700}.movstock-table .movstock-sku{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;font-weight:700}.movstock-table .movstock-origin{display:inline-flex;margin-left:7px;border-radius:999px;background:#f0f1f3;color:#6b7280;padding:3px 6px;font:700 8px/1 'Inter',Arial,sans-serif}.movstock-table .movstock-origin.kit{background:#efe9ff;color:#7245af}.movstock-table .movstock-qty{font-weight:800;font-size:12px}.movstock-empty{text-align:center!important;color:#888!important;padding:38px 12px!important;font-size:11px!important;}
.movstock-ready-bar{min-height:60px;border-top:1px solid #e8e8e8;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 15px;background:#fafafa;}.movstock-ready-bar>span{font-size:10px;font-weight:700;color:#666}.movstock-ready-bar.is-ready>span{color:#1d7b38}.movstock-ready-bar.is-warning>span{color:#aa6400}.movstock-ready-bar>div{display:flex;gap:8px}.movstock-ready-bar .btn{min-height:36px!important;height:36px!important;}
.movstock-explain-card{padding:18px;position:sticky;top:12px}.movstock-explain-card>strong{display:block;font-size:13px;color:#205aa8;margin-bottom:12px}.movstock-explain-card ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:11px}.movstock-explain-card li{position:relative;padding-left:18px;font-size:10px;line-height:1.4;color:#505050}.movstock-explain-card li:before{content:'✓';position:absolute;left:0;top:0;color:#557070;font-weight:800}.movstock-format-note{margin-top:17px;border:1px solid #d7e5fa;background:#f6f9ff;border-radius:10px;padding:11px;display:flex;flex-direction:column;gap:4px}.movstock-format-note b{font-size:10px;color:#2b67b2}.movstock-format-note span{font-size:9px;color:#5f6c7d;line-height:1.4}.movstock-explain-card code{font-size:9px;}
.movstock-history-card{overflow:hidden;}.movstock-history-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #e8e8e8}.movstock-history-head h2{font-family:'Oswald',Arial,sans-serif;font-size:23px;margin:0 0 3px;font-weight:600}.movstock-history-head p{font-size:10px;color:#777;margin:0}.movstock-history-wrap{overflow:auto;max-height:520px}.movstock-history-table{width:100%;border-collapse:collapse;min-width:900px}.movstock-history-table th{position:sticky;top:0;z-index:2;background:#f6f6f6;height:39px;padding:0 11px;border-bottom:1px solid #ddd;text-align:center;font-size:9px;font-weight:800;text-transform:uppercase}.movstock-history-table td{padding:11px;border-bottom:1px solid #ededed;text-align:center;font-size:10px;vertical-align:middle}.movstock-history-table tr:last-child td{border-bottom:0}.movstock-history-table .movstock-history-shipment{font-weight:800;color:#111}.movstock-history-state{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:8px;font-weight:900}.movstock-history-state.ready{background:#e5f5e7;color:#197436}.movstock-history-state.warning{background:#fff0d8;color:#a75d00}.movstock-history-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:5px}.movstock-history-actions button{border:1px solid #d8d8d8;background:#fff;border-radius:7px;height:28px;padding:0 8px;font:700 8px/1 'Inter',Arial,sans-serif;cursor:pointer;color:#333}.movstock-history-actions button:hover{border-color:#b11d1c;color:#b11d1c}.movstock-history-detail td{padding:0!important;background:#fafafa!important}.movstock-history-detail-inner{padding:14px 18px;display:grid;grid-template-columns:1fr 1.25fr;gap:15px;text-align:left}.movstock-detail-box{background:#fff;border:1px solid #e3e3e3;border-radius:10px;overflow:hidden}.movstock-detail-box>strong{display:block;padding:9px 11px;background:#f5f5f5;font-size:9px;text-transform:uppercase}.movstock-detail-box table{width:100%;border-collapse:collapse}.movstock-detail-box th,.movstock-detail-box td{padding:7px 9px!important;border-bottom:1px solid #eee!important;text-align:left!important;font-size:9px!important;background:#fff!important}.movstock-detail-box tr:last-child td{border-bottom:0!important}.movstock-history-loading{color:#888;font-size:9px}.movstock-help-pop{position:fixed;inset:0;background:rgba(17,17,17,.38);z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px}.movstock-help-dialog{max-width:620px;width:100%;background:#fff;border-radius:16px;box-shadow:0 22px 60px rgba(0,0,0,.24);padding:23px}.movstock-help-dialog h3{font-family:'Oswald',Arial,sans-serif;font-size:24px;margin:0 0 12px}.movstock-help-dialog ol{margin:0 0 18px;padding-left:18px}.movstock-help-dialog li{font-size:11px;color:#444;line-height:1.5;margin:7px 0}.movstock-help-dialog .btn{float:right}
@media(max-width:1200px){.movstock-top-grid,.movstock-result-grid{grid-template-columns:1fr}.movstock-explain-card{position:static}.movstock-stats{grid-template-columns:repeat(2,1fr)}.movstock-stat:nth-child(2){border-right:0}.movstock-stat:nth-child(-n+2){border-bottom:1px solid #e8e8e8}}
@media(max-width:760px){#view-movstock{padding:14px}.movstock-head{flex-direction:column}.movstock-top-grid{grid-template-columns:1fr}.movstock-stats{grid-template-columns:1fr}.movstock-stat{border-right:0!important;border-bottom:1px solid #e8e8e8}.movstock-stat:last-child{border-bottom:0}.movstock-section-title,.movstock-ready-bar,.movstock-history-head{align-items:flex-start;flex-direction:column}.movstock-ready-bar>div{width:100%}.movstock-ready-bar .btn{flex:1}.movstock-history-detail-inner{grid-template-columns:1fr}}

/* ===== v8.9.140 / paquete v267 — Movimiento de Stock: texto rápido para Observaciones ===== */
.movstock-copy-card{display:grid;grid-template-columns:auto minmax(220px,.75fr) minmax(420px,1.8fr) auto;align-items:center;gap:16px;background:#fffaf1;border:1px solid #efd8aa;border-radius:14px;padding:16px 18px;box-shadow:0 4px 16px rgba(0,0,0,.025);}
.movstock-copy-icon{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#fff0d8;color:#d77a00;font-size:21px;font-weight:800;flex:0 0 42px;}
.movstock-copy-info{display:flex;flex-direction:column;gap:4px;min-width:0;}
.movstock-copy-info strong{font-size:13px;color:#111;}
.movstock-copy-info span{font-size:10px;color:#777;line-height:1.35;}
.movstock-copy-field-wrap{display:flex;flex-direction:column;gap:6px;min-width:0;}
.movstock-copy-field-wrap input{width:100%;height:42px;border:1px solid #e5c788;border-radius:10px;background:#fff;padding:0 14px;font:inherit;font-size:13px;color:#111;outline:none;box-sizing:border-box;transition:.15s ease;}
.movstock-copy-field-wrap input:focus{border-color:#b11d1c;box-shadow:0 0 0 3px rgba(177,29,28,.07);}
.movstock-copy-field-wrap small{font-size:9px;color:#777;}
.movstock-copy-btn{height:42px!important;min-width:94px!important;background:#fff!important;color:#111!important;border-color:#d8d8d8!important;}
.movstock-copy-btn.is-copied{background:#e8f6ea!important;color:#187432!important;border-color:#b9dfc0!important;}
@media(max-width:1050px){.movstock-copy-card{grid-template-columns:auto 1fr auto}.movstock-copy-field-wrap{grid-column:2/3}.movstock-copy-btn{grid-column:3;grid-row:1/3}}
@media(max-width:700px){.movstock-copy-card{grid-template-columns:auto 1fr}.movstock-copy-field-wrap{grid-column:1/-1}.movstock-copy-btn{grid-column:1/-1;grid-row:auto;width:100%}}


/* v8.9.140 — Estado: filtros simplificados por presencia de DOD/DXI. */
.bca-price-check-app #view-estado .promo-state-controls #promo-state-promo-filter{
  min-width:210px;
}


/* ===== v8.9.141 / paquete v268 — FULL: prototipo de planificación ===== */
#view-full{padding:22px 28px 44px;background:#f5f6f8;}
.fullplan-page{max-width:1760px;margin:0 auto;display:flex;flex-direction:column;gap:18px;}
.fullplan-head{display:flex;justify-content:space-between;align-items:center;gap:18px;}
.fullplan-title-wrap{display:flex;align-items:center;gap:14px;min-width:0;}
.fullplan-title-icon{width:48px;height:48px;border-radius:13px;background:#f1eafe;color:#8052bd;display:flex;align-items:center;justify-content:center;font-size:26px;font-weight:900;flex:0 0 48px;}
.fullplan-head h1{font-family:'Oswald',Arial,sans-serif;font-size:31px;line-height:1.05;margin:0 0 5px;color:#111;font-weight:600;}
.fullplan-head p{font-size:11px;color:#666;margin:0;}
.fullplan-head-actions{display:flex;align-items:stretch;gap:10px;}
.fullplan-updated{min-width:145px;background:#fff;border:1px solid #ddd;border-radius:10px;padding:8px 12px;display:flex;flex-direction:column;justify-content:center;gap:2px;}
.fullplan-updated span{font-size:8px;color:#777}.fullplan-updated strong{font-size:11px;color:#222;}
.fullplan-download-top{min-width:235px!important;background:#b11d1c!important;border-color:#b11d1c!important;color:#fff!important;}
.fullplan-download-top:disabled{opacity:.42!important;cursor:not-allowed!important;}
.fullplan-upload-card{min-height:220px;border:1px dashed #d79a9a;background:linear-gradient(180deg,#fff,#fffafa);border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:24px;box-shadow:0 4px 16px rgba(0,0,0,.025);transition:.15s ease;}
.fullplan-upload-card.is-dragging{background:#fff4f4;border-color:#b11d1c;box-shadow:0 0 0 3px rgba(177,29,28,.06) inset;}.fullplan-upload-card.is-busy{opacity:.68;pointer-events:none;}
.fullplan-upload-icon{width:50px;height:50px;border-radius:50%;background:#fde8e8;color:#b11d1c;display:flex;align-items:center;justify-content:center;font-size:29px;font-weight:800;}
.fullplan-upload-card>strong{font-size:17px;color:#111}.fullplan-upload-card>span{font-size:11px;color:#555}.fullplan-upload-card>small{font-size:9px;color:#888}.fullplan-file-name{font-size:10px;font-weight:700;color:#666;min-height:14px;}
.fullplan-waiting{background:#fff;border:1px solid #e0e0e0;border-radius:12px;padding:15px 18px;display:flex;flex-direction:column;gap:3px;box-shadow:0 3px 12px rgba(0,0,0,.025);}
.fullplan-waiting strong{font-size:11px;color:#222}.fullplan-waiting span{font-size:9px;color:#777;}
.fullplan-results{display:flex;flex-direction:column;gap:18px;}
.fullplan-stats{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid #ddd;border-radius:14px;overflow:hidden;box-shadow:0 4px 16px rgba(0,0,0,.03);}
.fullplan-stat{display:flex;align-items:center;gap:12px;padding:16px 18px;border-right:1px solid #e7e7e7;min-height:78px}.fullplan-stat:last-child{border-right:0}.fullplan-stat>span{width:39px;height:39px;border-radius:11px;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:900;flex:0 0 39px}.fullplan-stat>span.blue{background:#eaf3ff;color:#2f72cb}.fullplan-stat>span.green{background:#e8f6ea;color:#188139}.fullplan-stat>span.orange{background:#fff0de;color:#d87600}.fullplan-stat>span.violet{background:#f0e9fc;color:#7c4fb7}.fullplan-stat div{display:flex;flex-direction:column;gap:3px}.fullplan-stat small{font-size:9px;color:#666}.fullplan-stat strong{font-size:22px;line-height:1;color:#111;}
.fullplan-controls{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dedede;border-radius:12px;padding:10px 12px;box-shadow:0 3px 12px rgba(0,0,0,.025)}
.fullplan-search{height:39px;min-width:330px;display:flex;align-items:center;gap:8px;border:1px solid #d7d7d7;border-radius:9px;padding:0 11px;background:#fff}.fullplan-search span{color:#777;font-size:18px}.fullplan-search input{border:0;outline:0;background:transparent;width:100%;font:inherit;font-size:11px}.fullplan-controls select{height:39px;min-width:190px;border:1px solid #d7d7d7;border-radius:9px;background:#fff;padding:0 10px;font:inherit;font-size:10px;font-weight:700}.fullplan-controls .btn{height:39px!important;min-height:39px!important}.fullplan-controls-spacer{flex:1;}
.fullplan-grid{display:block;width:100%;}.fullplan-table-card,.fullplan-side-card{background:#fff;border:1px solid #dedede;border-radius:14px;box-shadow:0 4px 16px rgba(0,0,0,.03)}.fullplan-table-card{overflow:hidden}.fullplan-section-title{padding:14px 16px;border-bottom:1px solid #e8e8e8;display:flex;align-items:center;justify-content:space-between;gap:16px}.fullplan-section-title>div{display:flex;align-items:center;gap:9px}.fullplan-section-title strong{font-family:'Oswald',Arial,sans-serif;font-size:19px}.fullplan-section-title span{font-size:8px;font-weight:800;background:#f5eeee;color:#a33635;padding:4px 7px;border-radius:999px}.fullplan-section-title small{font-size:8px;color:#777;text-align:right}.fullplan-table-wrap{overflow:auto;max-height:590px}.fullplan-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:1320px}.fullplan-table th{position:sticky;top:0;z-index:3;height:42px;background:#f6f6f6;border-bottom:1px solid #ddd;padding:0 10px;text-align:center;font-size:8px;font-weight:900;text-transform:uppercase;color:#222}.fullplan-table th:first-child{text-align:left;width:245px}.fullplan-table th:nth-child(2){width:150px}.fullplan-table th:nth-child(3),.fullplan-table th:nth-child(4){width:95px}.fullplan-table th:nth-child(5),.fullplan-table th:nth-child(6),.fullplan-table th:nth-child(7),.fullplan-table th:nth-child(8){width:112px}.fullplan-table th:nth-child(9){width:90px}.fullplan-table th:nth-child(10){width:150px}.fullplan-table td{height:64px;padding:8px 10px;border-bottom:1px solid #ececec;border-right:1px solid #f1f1f1;text-align:center;font-size:9px;vertical-align:middle}.fullplan-table td:first-child{text-align:left}.fullplan-table tbody tr:hover{background:#fcfcfc}.fullplan-product{display:flex;align-items:center;gap:10px}.fullplan-product-photo{position:relative;width:48px;height:48px;border-radius:9px;border:1px solid #e2e2e2;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 48px}.fullplan-product-placeholder{font-size:8px;font-weight:800;color:#aaa;text-transform:uppercase}.fullplan-product-img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff}.fullplan-product-info{min-width:0;display:flex;flex-direction:column;gap:4px}.fullplan-product-info b{font-size:10px;line-height:1.25;color:#222}.fullplan-product-info code{font-size:8px;color:#777}.fullplan-mla-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0}.fullplan-mla-kind{display:inline-flex;align-items:center;justify-content:center;padding:2px 7px;border-radius:999px;background:#f1f1f1;color:#222;font-size:6.5px;font-weight:800;line-height:1;text-transform:uppercase;letter-spacing:.01em}.fullplan-mla-line{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.fullplan-mla-code{display:inline-block;color:#111;font-family:inherit;font-weight:800;font-size:9px;line-height:1.2;padding:2px 4px;border-radius:4px;cursor:pointer;user-select:none;-webkit-user-select:none;transition:background-color .12s ease,color .12s ease}.fullplan-mla-code:hover{background:#f3f3f3}.fullplan-mla-code:focus-visible{outline:2px solid #8aa4bf;outline-offset:2px}.fullplan-copy-btn{-webkit-appearance:none;appearance:none;border:0;background:transparent;color:#777;width:18px;height:18px;padding:1px;margin:0;display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;border-radius:3px;cursor:pointer;line-height:1;transition:background-color .12s ease,color .12s ease,transform .12s ease}.fullplan-copy-btn:hover{background:#f2f2f2;color:#444}.fullplan-copy-btn:active{transform:scale(.92)}.fullplan-copy-btn:focus-visible{outline:2px solid #8aa4bf;outline-offset:1px}.fullplan-copy-svg{display:block;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.fullplan-mla-count{display:block;margin-top:1px;font-size:7px;color:#8a8a8a;line-height:1.15}.fullplan-stock{font-weight:900;font-size:12px}.fullplan-stock.good{color:#16833a}.fullplan-stock.low{color:#d76d00}.fullplan-full-current b{display:block;font-size:11px}.fullplan-full-current span{display:block;font-size:7px;color:#777;margin-top:3px}.fullplan-weekly b{font-size:11px}.fullplan-weekly span{display:block;font-size:7px;color:#777;margin-top:2px}.fullplan-send{font-size:16px;font-weight:900}.fullplan-send.yes{color:#16833a}.fullplan-send.no{color:#c92a2a}.fullplan-send small{display:block;font-size:7px;font-weight:700;margin-top:2px}.fullplan-status{display:inline-flex;align-items:center;justify-content:center;gap:5px;border-radius:999px;padding:6px 8px;font-size:7px;font-weight:900;white-space:nowrap}.fullplan-status.send{background:#e8f6ea;color:#197c37}.fullplan-status.nosend{background:#fdeaea;color:#b51f1f}.fullplan-status.review{background:#fff0db;color:#a75f00}.fullplan-empty{text-align:center!important;padding:36px!important;color:#888!important;font-size:10px!important;}
.fullplan-side{display:flex;flex-direction:column;gap:12px}.fullplan-side-card{padding:16px}.fullplan-side-card>strong{display:block;color:#205aa8;font-size:11px;margin-bottom:10px}.fullplan-side-card ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}.fullplan-side-card li{position:relative;padding-left:16px;font-size:9px;line-height:1.4;color:#555}.fullplan-side-card li:before{content:'✓';position:absolute;left:0;color:#56746b;font-weight:900}.fullplan-side-card.compact>strong{color:#111}.fullplan-side-card p{font-size:9px;color:#666;line-height:1.45;margin:0}.fullplan-side-card.compact{background:#fffaf0;border-color:#efdfbd;}
.fullplan-toast{position:fixed;right:24px;bottom:24px;z-index:99999;padding:10px 14px;border-radius:9px;background:#111;color:#fff;font-size:10px;font-weight:800;box-shadow:0 8px 24px rgba(0,0,0,.2)}
@media(max-width:1200px){.fullplan-grid{grid-template-columns:1fr}.fullplan-stats{grid-template-columns:repeat(2,1fr)}.fullplan-stat:nth-child(2){border-right:0}.fullplan-stat:nth-child(-n+2){border-bottom:1px solid #e7e7e7}.fullplan-head{align-items:flex-start;flex-direction:column}.fullplan-head-actions{width:100%}.fullplan-download-top{margin-left:auto}.fullplan-controls{flex-wrap:wrap}.fullplan-controls-spacer{display:none}}
@media(max-width:760px){#view-full{padding:14px}.fullplan-stats{grid-template-columns:1fr}.fullplan-stat{border-right:0!important;border-bottom:1px solid #e7e7e7}.fullplan-stat:last-child{border-bottom:0}.fullplan-head-actions{flex-direction:column}.fullplan-download-top{width:100%}.fullplan-search{min-width:100%;width:100%}.fullplan-controls select,.fullplan-controls .btn{flex:1}.fullplan-section-title{align-items:flex-start;flex-direction:column}}

/* ===== v64 — Usuarios / permisos Base Comercial ===== */
.bca-users-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.bca-users-head h2{margin:0 0 5px;font-family:Oswald,Inter,sans-serif;font-size:32px}.bca-users-head p{margin:0;color:#667085;font-size:13px}.bca-users-layout{display:grid;grid-template-columns:minmax(330px,.82fr) minmax(620px,1.7fr);gap:18px;align-items:stretch}.bca-users-list-card,.bca-users-editor-card{background:#fff;border:1px solid #e2e5e9;border-radius:16px;box-shadow:0 8px 24px rgba(16,24,40,.05);overflow:hidden;min-height:590px}.bca-users-toolbar{display:grid;grid-template-columns:1fr 190px;gap:10px;padding:16px;border-bottom:1px solid #eaecf0}.bca-users-toolbar input,.bca-users-toolbar select,.bca-user-profile-row select,.bca-user-create-grid input,.bca-user-create-grid select{height:42px;border:1px solid #d6dae0;border-radius:9px;background:#fff;padding:0 12px;font:500 13px Inter,sans-serif;color:#101828}.bca-users-list{max-height:610px;overflow:auto}.bca-user-row{display:grid;grid-template-columns:minmax(0,1fr) 112px 72px 74px;gap:10px;align-items:center;padding:14px 16px;border-bottom:1px solid #eef0f2;cursor:pointer;transition:.15s}.bca-user-row:hover{background:#fafafa}.bca-user-row.is-selected{background:#fff6f6;border-left:3px solid #b11d1c;padding-left:13px}.bca-user-id{display:flex;align-items:center;gap:10px;min-width:0}.bca-user-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#f1e9e9;color:#9c1b1a;font-weight:800;font-size:12px;flex:none}.bca-user-id-text{min-width:0}.bca-user-id-text strong,.bca-user-id-text span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bca-user-id-text strong{font-size:13px}.bca-user-id-text span{font-size:10px;color:#697386;margin-top:3px}.bca-profile-pill,.bca-active-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:800;white-space:nowrap}.bca-profile-pill{background:#f3f4f6;color:#344054}.bca-active-pill{background:#e8f6ec;color:#14823a}.bca-active-pill.off{background:#feecec;color:#b42318}.bca-user-sections{font-size:11px;color:#667085;text-align:center}.bca-users-loading,.bca-users-empty{display:flex;min-height:280px;align-items:center;justify-content:center;flex-direction:column;gap:6px;color:#667085}.bca-users-empty strong{font-size:17px;color:#101828}.bca-users-editor-card{padding:0 18px 18px}.bca-users-editor-title{display:flex;justify-content:space-between;align-items:center;padding:20px 2px 16px;border-bottom:1px solid #eaecf0}.bca-users-editor-title small{color:#667085}.bca-users-editor-title h3{margin:3px 0;font-size:21px}.bca-users-editor-title span{color:#667085;font-size:12px}.bca-users-owner-badge{background:#fce8e8!important;color:#a61b1b!important;border-radius:999px;padding:6px 10px;font-weight:800!important}.bca-user-profile-row{display:grid;grid-template-columns:minmax(280px,1fr) 260px;gap:18px;padding:18px 0;border-bottom:1px solid #eaecf0}.bca-user-profile-row label>span,.bca-user-create-grid label>span{display:block;font-size:11px;font-weight:700;color:#475467;margin-bottom:6px}.bca-user-profile-row select{width:100%}.bca-user-active{display:grid!important;grid-template-columns:1fr auto auto;align-items:end;column-gap:8px}.bca-user-active>span{grid-column:1/-1}.bca-user-active input{position:absolute;opacity:0}.bca-user-active i{width:38px;height:22px;border-radius:999px;background:#d0d5dd;position:relative;display:block}.bca-user-active i:after{content:"";position:absolute;width:16px;height:16px;border-radius:50%;background:#fff;left:3px;top:3px;transition:.18s;box-shadow:0 1px 3px rgba(0,0,0,.2)}.bca-user-active input:checked+i{background:#169b45}.bca-user-active input:checked+i:after{transform:translateX(16px)}.bca-user-active b{align-self:center;font-size:12px}.bca-permission-heading{display:flex;justify-content:space-between;gap:16px;align-items:end;padding:17px 0 10px}.bca-permission-heading h4{margin:0 0 3px;font-size:15px}.bca-permission-heading p{margin:0;color:#667085;font-size:10px}.bca-permission-legend{display:flex;gap:12px;font-size:9px;color:#667085}.bca-permission-table-wrap{border:1px solid #e4e7ec;border-radius:10px;overflow:auto}.bca-permission-table{width:100%;border-collapse:collapse;min-width:650px}.bca-permission-table th,.bca-permission-table td{padding:8px 10px;border-bottom:1px solid #edf0f2;text-align:center;font-size:11px}.bca-permission-table th{background:#f7f8fa;position:static}.bca-permission-table th:first-child,.bca-permission-table td:first-child{text-align:left}.bca-permission-table tr:last-child td{border-bottom:0}.bca-perm-check{width:18px;height:18px;accent-color:#159447}.bca-users-editor-actions{display:flex;justify-content:space-between;gap:12px;padding-top:16px}.bca-profile-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:16px}.bca-profile-card{background:#fff;border:1px solid #e3e6ea;border-radius:13px;padding:13px 14px}.bca-profile-card strong{display:block;font-size:11px;margin-bottom:5px}.bca-profile-card span{font-size:10px;color:#667085;line-height:1.45}.bca-user-create-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.bca-user-create-grid .wide{grid-column:1/-1}.bca-user-create-grid input,.bca-user-create-grid select{width:100%}

/* Visor: página principal reducida a SKU + stock, sin información comercial sensible. */
.bca-viewer-lite .bca-base-controls #filterCat,.bca-viewer-lite .bca-history-filter-wrap,.bca-viewer-lite .bca-history-banner,.bca-viewer-lite .bca-base-topscroll-shell{display:none!important}.bca-viewer-lite #view-base .bca-base-table col:not(.col-sku):not(.col-stock){display:none}.bca-viewer-lite #view-base .bca-base-table th:nth-child(1),.bca-viewer-lite #view-base .bca-base-table th:nth-child(2),.bca-viewer-lite #view-base .bca-base-table th:nth-child(4),.bca-viewer-lite #view-base .bca-base-table th:nth-child(6),.bca-viewer-lite #view-base .bca-base-table th:nth-child(7),.bca-viewer-lite #view-base .bca-base-table th:nth-child(8),.bca-viewer-lite #view-base .bca-base-table th:nth-child(9),.bca-viewer-lite #view-base .bca-base-table th:nth-child(10),.bca-viewer-lite #view-base .bca-base-table th:nth-child(11),.bca-viewer-lite #view-base .bca-base-table th:nth-child(12),.bca-viewer-lite #view-base .bca-base-table th:nth-child(13),.bca-viewer-lite #view-base .bca-base-table th:nth-child(14),.bca-viewer-lite #view-base .bca-base-table td:nth-child(1),.bca-viewer-lite #view-base .bca-base-table td:nth-child(2),.bca-viewer-lite #view-base .bca-base-table td:nth-child(4),.bca-viewer-lite #view-base .bca-base-table td:nth-child(6),.bca-viewer-lite #view-base .bca-base-table td:nth-child(7),.bca-viewer-lite #view-base .bca-base-table td:nth-child(8),.bca-viewer-lite #view-base .bca-base-table td:nth-child(9),.bca-viewer-lite #view-base .bca-base-table td:nth-child(10),.bca-viewer-lite #view-base .bca-base-table td:nth-child(11),.bca-viewer-lite #view-base .bca-base-table td:nth-child(12),.bca-viewer-lite #view-base .bca-base-table td:nth-child(13),.bca-viewer-lite #view-base .bca-base-table td:nth-child(14){display:none!important}.bca-viewer-lite #view-base .bca-base-table{min-width:0!important;width:100%!important}.bca-viewer-lite #view-base .bca-base-table th:nth-child(3),.bca-viewer-lite #view-base .bca-base-table th:nth-child(5){width:50%}.bca-viewer-lite .family-category-head{display:none!important}.bca-viewer-lite .bca-base-controls{grid-template-columns:minmax(280px,520px)!important}.bca-viewer-lite .bca-base-controls input{max-width:520px}
@media(max-width:1100px){.bca-users-layout{grid-template-columns:1fr}.bca-users-list-card{min-height:0}.bca-profile-cards{grid-template-columns:repeat(2,1fr)}}


/* ===== v8.9.144 / paquete v66 — Usuarios siempre al final de las solapas ===== */
.tabs .bca-users-tab{order:10000;}

/* v8.9.146 — FULL: contexto de stock compartido con kits */
.fullplan-stock-note{display:block;margin-top:3px;font-size:6.8px;line-height:1.15;color:#7b7b7b;font-weight:700;white-space:normal}

/* ===== Navegación compacta por áreas v70 ===== */
.bca-primary-nav{
  position:relative;
  z-index:45;
  background:#fff;
  border-bottom:1px solid var(--gray-300);
}
.bca-primary-nav-inner{
  min-height:58px;
  padding:0 28px;
  display:flex;
  align-items:stretch;
  gap:12px;
}
.bca-primary-nav .tab{
  font-family:'Inter',sans-serif;
}
.bca-home-tab{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:0 15px;
  min-height:58px;
  border:0;
  border-bottom:3px solid transparent;
  background:transparent;
  color:var(--gray-600);
  font-size:13px;
  font-weight:750;
  cursor:pointer;
  white-space:nowrap;
  transition:color .18s ease,background .18s ease,transform .18s ease;
}
.bca-home-tab svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.bca-home-tab:hover{color:var(--ink);background:#fafafa;}
.bca-home-tab:active{transform:translateY(1px);}
.bca-home-tab.active{color:var(--primary);border-bottom-color:var(--primary);}

.bca-nav-group{
  position:relative;
  display:flex;
  align-items:stretch;
}
.bca-nav-admin{margin-left:auto;}
.bca-nav-trigger{
  position:relative;
  display:flex;
  align-items:center;
  gap:8px;
  min-height:58px;
  padding:0 14px;
  border:0;
  border-bottom:3px solid transparent;
  background:transparent;
  color:var(--gray-700);
  font-family:'Inter',sans-serif;
  font-size:13px;
  font-weight:730;
  white-space:nowrap;
  cursor:pointer;
  transition:color .18s ease,background .18s ease,border-color .18s ease;
}
.bca-nav-trigger::after{
  content:'';
  position:absolute;
  left:14px;
  right:14px;
  bottom:-1px;
  height:2px;
  border-radius:999px;
  background:var(--primary);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .2s ease;
}
.bca-nav-trigger:hover{color:var(--ink);background:#fafafa;}
.bca-nav-group.is-open>.bca-nav-trigger,
.bca-nav-group.is-active>.bca-nav-trigger{color:var(--primary);}
.bca-nav-group.is-open>.bca-nav-trigger::after,
.bca-nav-group.is-active>.bca-nav-trigger::after{transform:scaleX(1);}
.bca-nav-trigger-icon{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.75;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:0 0 auto;
}
.bca-nav-chevron{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  margin-left:1px;
  transition:transform .22s cubic-bezier(.2,.8,.2,1);
}
.bca-nav-group.is-open .bca-nav-chevron{transform:rotate(180deg);}

.bca-nav-dropdown{
  position:absolute;
  top:calc(100% - 2px);
  left:0;
  width:300px;
  padding:8px;
  background:rgba(255,255,255,.985);
  border:1px solid #e1e1e1;
  border-radius:13px;
  box-shadow:0 18px 50px rgba(17,17,17,.13),0 3px 10px rgba(17,17,17,.06);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-7px) scale(.985);
  transform-origin:top left;
  transition:opacity .17s ease,transform .2s cubic-bezier(.2,.8,.2,1),visibility 0s linear .2s;
}
.bca-nav-dropdown-right{left:auto;right:0;transform-origin:top right;}
.bca-nav-group.is-open>.bca-nav-dropdown{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0) scale(1);
  transition-delay:0s;
}
.bca-nav-item{
  width:100%;
  min-height:58px;
  padding:9px 10px !important;
  display:flex;
  align-items:center;
  gap:11px;
  text-align:left;
  border:0 !important;
  border-radius:9px;
  background:transparent;
  color:var(--gray-700);
  cursor:pointer;
  white-space:normal !important;
  transition:background .16s ease,color .16s ease,transform .16s ease;
}
.bca-nav-item:hover{
  background:#f8f8f8;
  color:var(--ink);
  transform:translateX(2px);
}
.bca-nav-item.active{
  background:var(--red-bg);
  color:var(--primary-dark);
}
.bca-nav-item.active::after{display:none;}
.bca-nav-item-icon{
  width:35px;
  height:35px;
  flex:0 0 35px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#f5f5f5;
  color:#555;
  transition:background .16s ease,color .16s ease,transform .16s ease;
}
.bca-nav-item:hover .bca-nav-item-icon{background:#f0f0f0;transform:scale(1.035);}
.bca-nav-item.active .bca-nav-item-icon{background:#f8dedd;color:var(--primary);}
.bca-nav-item-icon svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.bca-nav-item>span:last-child{display:grid;gap:2px;min-width:0;}
.bca-nav-item b{font-size:12.5px;line-height:1.25;font-weight:750;color:inherit;}
.bca-nav-item small{font-size:10.5px;line-height:1.25;font-weight:500;color:#8a8a8a;}
.bca-nav-item.active small{color:#9c6968;}

/* La vista de producto conserva su tab técnico oculto sin ocupar espacio. */
.bca-primary-nav .bca-product-tab[hidden]{display:none !important;}

@media (max-width:1200px){
  .bca-primary-nav-inner{gap:4px;padding:0 18px;}
  .bca-nav-trigger,.bca-home-tab{padding-left:10px;padding-right:10px;font-size:12px;}
  .bca-nav-trigger-icon{width:16px;height:16px;}
}
@media (max-width:860px){
  .bca-primary-nav-inner{min-height:auto;flex-wrap:wrap;padding:0 14px;gap:0 4px;}
  .bca-home-tab,.bca-nav-trigger{min-height:50px;}
  .bca-nav-admin{margin-left:0;}
  .bca-nav-dropdown,.bca-nav-dropdown-right{width:min(300px,calc(100vw - 28px));left:0;right:auto;}
}

/* ===== v8.9.152 / paquete v76 — Integraciones (solo agregado, sin alterar módulos existentes) ===== */
.bca-integrations-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}.bca-integrations-head h2{margin:0 0 4px;font-family:'Oswald',sans-serif;font-size:25px;line-height:1.05}.bca-integrations-head p{margin:0;color:#667085;font-size:11px}
.bca-integrations-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:16px;align-items:stretch}.bca-integration-card{background:#fff;border:1px solid #e2e5e9;border-radius:14px;padding:16px;min-height:220px;display:flex;flex-direction:column;box-shadow:0 5px 18px rgba(17,17,17,.035);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.bca-integration-card:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(17,17,17,.06)}.bca-integration-card-meli{border-left:3px solid var(--primary)}.bca-integration-card-top{display:flex;align-items:center;gap:10px}.bca-integration-logo{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;flex:0 0 42px;font-weight:900;background:#f2f3f5;color:#555}.bca-meli-logo{background:#ffe600;color:#173f7a;border:1px solid #e0ca00;font-size:10px}.bca-integration-title{display:flex;align-items:flex-start;gap:7px;flex-wrap:wrap}.bca-integration-title strong{font-size:13px}.bca-integration-status{display:inline-flex;align-items:center;border-radius:999px;background:#f0f1f3;color:#667085;padding:4px 7px;font-size:8px;font-weight:800}.bca-integration-status.is-on{background:#e7f6eb;color:#167638}.bca-integration-status.is-off{background:#f1f2f4;color:#667085}.bca-integration-card>p{font-size:10px;line-height:1.45;color:#667085;margin:13px 0;min-height:42px}.bca-integration-card>.btn{margin-top:auto;align-self:flex-end;min-height:34px!important;height:34px!important;padding:0 13px!important}.bca-integration-card>.btn[disabled]{opacity:.5;cursor:not-allowed}.bca-integration-mini-data{display:grid;grid-template-columns:auto 1fr;gap:5px 10px;margin:0 0 12px;padding-top:2px;font-size:9px}.bca-integration-mini-data span{color:#8b92a0}.bca-integration-mini-data strong{text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bca-meli-panel{background:#fff;border:1px solid #e2e5e9;border-radius:15px;box-shadow:0 6px 22px rgba(17,17,17,.04);overflow:hidden;scroll-margin-top:76px}.bca-meli-panel-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid #e8eaed}.bca-meli-panel-head small{display:block;color:#b11d1c;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.bca-meli-panel-head h3{margin:3px 0 4px;font-size:19px}.bca-meli-panel-head p{margin:0;font-size:10px;color:#667085}.bca-meli-main-status{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:7px 10px;background:#f1f2f4;color:#667085;font-size:9px;white-space:nowrap}.bca-meli-main-status i{width:7px;height:7px;border-radius:50%;background:#98a2b3}.bca-meli-main-status.is-on{background:#e8f6ec;color:#177536}.bca-meli-main-status.is-on i{background:#22a447}.bca-meli-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:0}.bca-meli-config-card,.bca-meli-account-card{padding:19px 20px}.bca-meli-config-card{border-right:1px solid #e8eaed}.bca-meli-card-heading{display:flex;justify-content:space-between;gap:10px;margin-bottom:15px}.bca-meli-card-heading strong{display:block;font-size:12px}.bca-meli-card-heading span{display:block;margin-top:3px;font-size:9px;color:#7b8493}.bca-meli-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.bca-meli-form label.wide{grid-column:1/-1}.bca-meli-form label>span{display:block;margin-bottom:6px;font-size:9px;font-weight:800;color:#475467}.bca-meli-form input{width:100%;height:39px;border:1px solid #d7dbe0;border-radius:9px;padding:0 11px;background:#fff;font:500 11px/1 'Inter',sans-serif;color:#111}.bca-secret-field{position:relative}.bca-secret-field input{padding-right:48px}.bca-secret-field button{position:absolute;right:5px;top:50%;transform:translateY(-50%);width:34px;height:30px;border:1px solid transparent;border-radius:7px;background:transparent;color:#77808d;display:grid;place-items:center;cursor:pointer;line-height:1;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease}.bca-secret-field button:hover{background:#f7f8fa;border-color:#e1e4e8;color:#111}.bca-secret-field button.is-visible{background:#fdf3f3;border-color:#f1d3d3;color:#b11d1c}.bca-secret-field button:active{transform:translateY(-50%) scale(.94)}.bca-secret-field button:focus-visible{outline:2px solid #b11d1c;outline-offset:1px}.bca-secret-eye{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.bca-secret-eye[hidden]{display:none!important}.bca-meli-form input[readonly]{background:#f7f8fa;color:#596170}.bca-meli-form label>small{display:block;margin-top:5px;color:#7d8490;font-size:8px}.bca-copy-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.bca-copy-field button{height:39px;border:1px solid #d7dbe0;border-radius:9px;padding:0 11px;background:#fff;color:#505866;font:700 9px/1 'Inter',sans-serif;cursor:pointer}.bca-copy-field button:hover{border-color:#b7bdc6;color:#111}.bca-meli-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:15px}.bca-meli-actions .btn{min-height:38px!important;height:38px!important}.bca-meli-feedback{margin-top:12px;border-radius:9px;padding:9px 11px;background:#f5f7fa;color:#475467;font-size:9px;font-weight:650}.bca-meli-feedback.success{background:#ebf8ef;color:#19703a}.bca-meli-feedback.error{background:#fff0f0;color:#b42318}.bca-meli-account-data{margin:0;display:flex;flex-direction:column}.bca-meli-account-data>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #eef0f2}.bca-meli-account-data>div:last-child{border-bottom:0}.bca-meli-account-data dt{font-size:9px;color:#747c89}.bca-meli-account-data dd{margin:0;font-size:10px;font-weight:750;text-align:right;max-width:66%;overflow-wrap:anywhere}.bca-meli-account-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px}.bca-meli-account-actions .btn{min-height:36px!important;height:36px!important}.bca-link-danger{border:0;background:transparent;color:#b11d1c;font:750 9px/1 'Inter',sans-serif;cursor:pointer;padding:8px}.bca-link-danger:hover{text-decoration:underline}.bca-meli-info-strip{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:13px 20px;background:#fafafa;border-top:1px solid #e8eaed;font-size:9px;color:#596170}.bca-meli-info-strip strong{color:#1f5aa4}.bca-meli-info-strip span{white-space:normal}
@media(max-width:1250px){.bca-integrations-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bca-meli-columns{grid-template-columns:1fr}.bca-meli-config-card{border-right:0;border-bottom:1px solid #e8eaed}}
@media(max-width:720px){.bca-integrations-grid{grid-template-columns:1fr}.bca-meli-panel-head{align-items:flex-start;flex-direction:column}.bca-meli-form{grid-template-columns:1fr}.bca-meli-form label.wide{grid-column:auto}.bca-copy-field{grid-template-columns:1fr}.bca-copy-field button{width:100%}.bca-meli-actions{flex-direction:column}.bca-meli-actions .btn{width:100%}.bca-meli-info-strip{align-items:flex-start;flex-direction:column;gap:7px}}


/* v8.9.154 / v79 — Chequeo de Promos: borrar una fuente importada sin afectar las demás. */
.bca-promo-import-card-actions{
  min-height:30px;
  margin-top:2px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.bca-promo-delete-loaded{
  appearance:none;
  border:0;
  background:transparent;
  padding:4px 0;
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:#9b3a38;
  font:inherit;
  font-size:12px;
  font-weight:750;
  cursor:pointer;
  transition:color .16s ease,opacity .16s ease,transform .16s ease;
}
.bca-promo-delete-loaded svg{
  width:14px;
  height:14px;
  flex:0 0 14px;
}
.bca-promo-delete-loaded:hover{
  color:#b11d1c;
  transform:translateY(-1px);
}
.bca-promo-delete-loaded:disabled{
  opacity:.45;
  cursor:wait;
  transform:none;
}
.bca-promo-delete-loaded[hidden]{display:none!important;}

.bca-promo-import-card-actions .bca-promo-detail-toggle{margin-top:0;}
/* v80 — sincronización Mercado Libre en modo solo lectura */
.bca-meli-sync-card{border-top:1px solid #e8eaed;padding:18px 20px;background:#fff}.bca-meli-sync-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.bca-meli-sync-head small{display:block;color:#b11d1c;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.bca-meli-sync-head h4{margin:3px 0 4px;font-size:15px}.bca-meli-sync-head p{margin:0;max-width:760px;color:#667085;font-size:9px;line-height:1.5}.bca-meli-readonly-badge{display:inline-flex;align-items:center;gap:7px;border:1px solid #cfe8d6;background:#eff9f2;color:#177536;border-radius:999px;padding:7px 10px;font-size:9px;font-weight:800;white-space:nowrap}.bca-meli-readonly-badge i{width:7px;height:7px;border-radius:50%;background:#22a447}.bca-meli-sync-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.bca-meli-sync-item{border:1px solid #e3e6ea;border-radius:12px;padding:14px;background:#fff;display:flex;flex-direction:column;min-height:230px}.bca-meli-sync-item.is-pending{background:#fafafa}.bca-meli-sync-item-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.bca-meli-sync-item-top span{display:block;color:#8a919d;font-size:8px;font-weight:750;text-transform:uppercase;letter-spacing:.03em}.bca-meli-sync-item-top strong{display:block;margin-top:3px;font-size:12px}.bca-meli-sync-dot{width:8px;height:8px;border-radius:50%;background:#c9ced6;flex:0 0 8px;margin-top:3px}.bca-meli-sync-dot.is-ok{background:#22a447}.bca-meli-sync-dot.is-error{background:#c5161d}.bca-meli-sync-item>p{margin:12px 0 13px;color:#667085;font-size:9px;line-height:1.5;min-height:54px}.bca-meli-sync-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid #eff1f3;font-size:8px}.bca-meli-sync-meta span{color:#8a919d}.bca-meli-sync-meta b{text-align:right;font-size:8px;color:#3e4652;max-width:60%}.bca-meli-sync-item>.btn{margin-top:auto;align-self:flex-end;min-height:34px!important;height:34px!important;padding:0 12px!important}.bca-meli-sync-progress{margin:7px 0 10px;border-radius:8px;background:#f5f6f8;padding:8px 9px;display:grid;grid-template-columns:7px 1fr;gap:7px;align-items:center;font-size:8px;color:#596170}.bca-meli-sync-progress[hidden]{display:none}.bca-meli-sync-progress i{width:7px;height:7px;border-radius:50%;background:#b11d1c;animation:bcaMeliPulse 1s ease-in-out infinite}.bca-meli-sync-progress.error i{animation:none;background:#c5161d}.bca-meli-sync-progress.success i{animation:none;background:#22a447}@keyframes bcaMeliPulse{0%,100%{opacity:.35;transform:scale(.85)}50%{opacity:1;transform:scale(1.08)}}.bca-meli-sync-note{margin-top:11px;border:1px solid #eceef1;background:#fafafa;border-radius:10px;padding:10px 12px;display:flex;gap:8px;align-items:flex-start;font-size:9px;color:#667085}.bca-meli-sync-note strong{color:#111;white-space:nowrap}.bca-meli-sync-note span{line-height:1.45}
@media(max-width:1100px){.bca-meli-sync-grid{grid-template-columns:1fr 1fr}.bca-meli-sync-item.is-pending{grid-column:1/-1;min-height:auto}}@media(max-width:720px){.bca-meli-sync-head{flex-direction:column}.bca-meli-sync-grid{grid-template-columns:1fr}.bca-meli-sync-item.is-pending{grid-column:auto}.bca-meli-sync-note{flex-direction:column}.bca-meli-sync-note strong{white-space:normal}}

/* v81 — acciones manuales de sincronización: estado visual inequívoco */
.bca-meli-sync-item>.bca-meli-sync-action{background:#b11d1c;color:#fff;border:1px solid #b11d1c;box-shadow:none}
.bca-meli-sync-item>.bca-meli-sync-action:hover:not(:disabled){background:#941817;color:#fff;border-color:#941817}
.bca-meli-sync-item>.bca-meli-sync-action:disabled{background:#f5f6f8;color:#9299a3;border-color:#e1e4e8;opacity:1;cursor:not-allowed}

/* ===== v89 · Posibles SMART ===== */
#view-posibles-smart{padding-bottom:28px}
.bca-smart-shell{display:flex;flex-direction:column;gap:14px}
.bca-smart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;background:#fff;border:1px solid #e1e4e8;border-radius:15px;padding:22px 24px}
.bca-smart-head h2{margin:4px 0 6px;font-size:24px;line-height:1.1}
.bca-smart-head p{margin:0;max-width:820px;color:#69717d;font-size:12px;line-height:1.5}
.bca-smart-kicker{font-size:9px;font-weight:900;letter-spacing:.08em;color:#b31918;text-transform:uppercase}
.bca-smart-auto{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:8px 11px;border-radius:999px;background:#f4f8f1;color:#3d6940;font-size:10px;font-weight:800}
.bca-smart-auto i{width:7px;height:7px;border-radius:50%;background:#29a34a;box-shadow:0 0 0 3px rgba(41,163,74,.09)}
.bca-smart-rule{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;background:#fff8f7;border:1px solid #f1d7d5;border-radius:13px;padding:13px 16px;font-size:11px}
.bca-smart-rule strong{color:#991714;font-size:11px}
.bca-smart-rule span{color:#616873;line-height:1.4}
.bca-smart-rule small{color:#991714;font-weight:800;white-space:nowrap}
.bca-smart-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.bca-smart-stats article{background:#fff;border:1px solid #e2e5e9;border-radius:14px;padding:15px 17px;min-height:95px;display:flex;flex-direction:column;justify-content:center}
.bca-smart-stats article span{font-size:10px;color:#747c88;font-weight:700}
.bca-smart-stats article strong{font-size:25px;line-height:1.15;margin:4px 0 2px;color:#17191d}
.bca-smart-stats article small{font-size:9px;color:#8c939d}
.bca-smart-stats article.is-ok strong{color:#16833a}.bca-smart-stats article.is-bad strong{color:#b51c1a}
.bca-smart-controls{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e2e5e9;border-radius:13px;padding:10px 12px}
.bca-smart-search{display:flex;align-items:center;gap:7px;min-width:300px;flex:1;border:1px solid #dfe3e8;border-radius:9px;padding:0 10px;background:#fff}
.bca-smart-search span{font-size:17px;color:#7c8490}.bca-smart-search input{width:100%;height:38px;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;font-size:11px}
.bca-smart-controls select{height:40px;border:1px solid #dfe3e8;border-radius:9px;background:#fff;padding:0 30px 0 11px;font-size:11px}
.bca-smart-updated{font-size:9px;color:#858d98;margin-left:auto;white-space:nowrap}
.bca-smart-table-card{background:#fff;border:1px solid #e1e4e8;border-radius:15px;overflow:hidden}
.bca-smart-scroll{overflow:auto;max-width:100%}
.bca-smart-table{width:100%;min-width:1380px;border-collapse:separate;border-spacing:0;table-layout:auto}
.bca-smart-table thead th{position:sticky;top:0;z-index:2;background:#f5f5f5;border-bottom:1px solid #dfe2e6;color:#282c32;font-size:9px;letter-spacing:.01em;text-transform:uppercase;text-align:left;padding:12px 10px;white-space:nowrap}
.bca-smart-table tbody td{border-bottom:1px solid #edf0f2;padding:12px 10px;vertical-align:middle;font-size:10px;color:#333b44;white-space:nowrap}
.bca-smart-table tbody tr:last-child td{border-bottom:0}.bca-smart-table tbody tr:hover td{background:#fafbfc}
.bca-smart-mla,.bca-smart-sku{font-weight:800;color:#252a31}.bca-smart-sku{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.bca-smart-campaign{display:flex;flex-direction:column;gap:3px;min-width:180px;white-space:normal}.bca-smart-campaign b{font-size:10px}.bca-smart-campaign small{font-size:8px;color:#8a919b}
.bca-smart-contribution{display:flex;flex-direction:column;gap:2px}.bca-smart-contribution b{font-size:11px}.bca-smart-contribution small{font-size:8px;color:#298443}.bca-smart-contribution.meli b{color:#23803d}
.bca-smart-bc{display:flex;flex-direction:column;gap:2px}.bca-smart-bc small{font-size:8px;color:#8a919b;font-weight:700}
.bca-smart-diff{font-weight:900}.bca-smart-diff.ok{color:#217b3c}.bca-smart-diff.bad{color:#b51c1a}
.bca-smart-result{display:inline-flex;flex-direction:column;align-items:flex-start;gap:2px;padding:6px 8px;border-radius:8px;font-size:9px;font-weight:900;line-height:1.1}.bca-smart-result small{font-size:7px;font-weight:700;opacity:.8}.bca-smart-result.ok{background:#e9f6ec;color:#217b3c}.bca-smart-result.bad{background:#fff0ef;color:#b51c1a}.bca-smart-result.review{background:#f1f3f5;color:#69717b}
.bca-smart-empty{text-align:center!important;color:#858c95!important;padding:30px!important}.bca-smart-empty.is-error{color:#b51c1a!important}
.bca-smart-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 13px;background:#fafafa;border-top:1px solid #eceef0;font-size:9px;color:#858c95}
@media(max-width:980px){.bca-smart-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.bca-smart-rule{grid-template-columns:1fr}.bca-smart-rule small{white-space:normal}.bca-smart-head{flex-direction:column}.bca-smart-controls{flex-wrap:wrap}.bca-smart-updated{width:100%;margin-left:0}.bca-smart-search{min-width:220px}.bca-smart-footer{align-items:flex-start;flex-direction:column}}

/* v89 · Carga de promos automática: se ocultan los 4 importadores reemplazados por API. */
#view-archivos .bca-promo-legacy-api-card{display:none!important}
.bca-promo-api-card{background:#fff;border:1px solid #dfe3e7;border-left:4px solid #b51d1b;border-radius:14px;padding:17px 19px;margin-bottom:14px;box-shadow:0 6px 18px rgba(20,24,30,.035)}
.bca-promo-api-card-top{display:flex;align-items:flex-start;gap:12px}.bca-promo-api-card-top>div{flex:1}.bca-promo-api-card-top h2{margin:1px 0 4px;font-size:18px}.bca-promo-api-card-top p{margin:0;max-width:760px;font-size:10px;line-height:1.45;color:#68717d}.bca-promo-api-card-top>div>span{font-size:8px;font-weight:900;letter-spacing:.08em;color:#a91c1a}.bca-promo-api-icon{width:38px;height:38px;border-radius:10px;background:#fff2f1;border:1px solid #efd4d2;color:#bd201d;display:grid;place-items:center;flex:0 0 auto}.bca-promo-api-icon svg{width:19px;height:19px}
.bca-promo-api-badge{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:#edf7ef;color:#24763d;font-size:9px;font-weight:900;white-space:nowrap}.bca-promo-api-badge i{width:7px;height:7px;border-radius:50%;background:#28a34a}
.bca-promo-api-meta{display:grid;grid-template-columns:160px 1fr;gap:12px;border-top:1px solid #eef0f2;padding-top:9px;margin-top:9px;font-size:9px}.bca-promo-api-meta span{color:#89919b}.bca-promo-api-meta b{color:#2d333b;font-weight:800}
@media(max-width:760px){.bca-promo-api-card-top{flex-wrap:wrap}.bca-promo-api-badge{margin-left:50px}.bca-promo-api-meta{grid-template-columns:1fr;gap:3px}}

/* v90 · Diagnóstico visible de la lectura de promociones */
.bca-promo-api-badge.is-error{background:#fff1f0;color:#a71d1b}.bca-promo-api-badge.is-error i{background:#c62828}.bca-promo-api-error{margin-top:10px;padding:10px 12px;border:1px solid #efd2d0;background:#fff7f6;border-radius:10px;color:#8e211f;font-size:9px;line-height:1.45;font-weight:700}


/* v8.9.167 — Chequeo de Promos: identidad real de Mercado Libre */
.promo-main-mini-chip.other{background:#f3f4f6;color:#4b5563;border-color:#d1d5db}
.promo-main-type.other{background:#eef2f7;color:#334155}
.promo-main-campaign{display:flex;flex-direction:column;gap:3px;min-width:150px}
.promo-main-campaign strong{font-size:11px;line-height:1.25;color:#20242a}
.promo-main-campaign small{font-size:9px;color:#8a9099;font-weight:700}
.promo-state-real-list{display:flex;flex-direction:column;gap:7px;min-width:210px}
.promo-state-real-promo{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:7px 9px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;text-align:left}
.promo-state-real-promo>span{font-size:9px;font-weight:900;letter-spacing:.02em;text-transform:uppercase;color:#4b5563}
.promo-state-real-promo>strong{font-size:11px;line-height:1.25;color:#20242a}
.promo-state-real-promo>small{font-size:9px;color:#7c838d}
.promo-state-real-promo .promo-state-real-price{font-size:10px;font-weight:900;color:#111827}
.promo-state-real-promo.manual{border-left:3px solid #7c3aed}
.promo-state-real-promo.preneg{border-left:3px solid #2563eb}
.promo-state-real-promo.smart{border-left:3px solid #0f9f6e}
.promo-state-real-promo.dod{border-left:3px solid #e11d48}
.promo-state-real-promo.other{border-left:3px solid #64748b}

/* v8.9.169 / v94 — Chequeo de Promos > Mapeo de campañas */
.bca-campaign-map-shell{display:flex;flex-direction:column;gap:16px}
.bca-campaign-map-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;background:#fff;border:1px solid var(--gray-300);border-radius:16px;padding:22px 24px;box-shadow:0 8px 24px rgba(0,0,0,.035)}
.bca-campaign-map-head h2{margin:3px 0 6px;font-size:24px;line-height:1.1}.bca-campaign-map-head p{margin:0;max-width:820px;color:#6b7280;font-size:13px;line-height:1.55}
.bca-campaign-map-kicker{font-size:10px;font-weight:900;letter-spacing:.08em;color:#777}.bca-campaign-map-auto{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;border:1px solid #d8eadf;background:#f3fbf6;color:#16743a;border-radius:999px;padding:8px 11px;font-size:11px;font-weight:800}.bca-campaign-map-auto i{width:8px;height:8px;border-radius:50%;background:#16a34a}
.bca-campaign-map-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.bca-campaign-map-stats article{background:#fff;border:1px solid var(--gray-300);border-radius:14px;padding:15px 17px;box-shadow:0 5px 16px rgba(0,0,0,.025)}.bca-campaign-map-stats span,.bca-campaign-map-stats small{display:block;color:#777;font-size:11px}.bca-campaign-map-stats strong{display:block;margin:3px 0 2px;font-size:25px}.bca-campaign-map-stats .is-warning strong{color:#b7791f}.bca-campaign-map-stats .is-ok strong{color:#16803b}
.bca-campaign-map-help{display:flex;gap:7px;align-items:flex-start;background:#f8f8f8;border:1px solid #e4e4e4;border-radius:12px;padding:12px 14px;font-size:12px;line-height:1.5;color:#4b5563}.bca-campaign-map-help strong{color:#171717;white-space:nowrap}
.bca-campaign-map-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.bca-campaign-map-search{display:flex;align-items:center;gap:7px;min-width:300px;flex:1;background:#fff;border:1px solid var(--gray-300);border-radius:10px;padding:0 11px}.bca-campaign-map-search input{width:100%;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;padding:10px 0!important}.bca-campaign-map-controls select{min-height:40px;border:1px solid var(--gray-300);border-radius:10px;background:#fff;padding:0 34px 0 11px}.bca-campaign-map-controls>span{margin-left:auto;color:#777;font-size:11px}
.bca-campaign-map-card{background:#fff;border:1px solid var(--gray-300);border-radius:16px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.035)}.bca-campaign-map-scroll{overflow:auto}.bca-campaign-map-table{width:100%;border-collapse:separate;border-spacing:0;min-width:900px}.bca-campaign-map-table th{background:#f7f7f8;border-bottom:1px solid #dedede;padding:12px 14px;text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.035em;color:#60646c}.bca-campaign-map-table td{padding:14px;border-bottom:1px solid #ededed;vertical-align:middle;font-size:12px}.bca-campaign-map-table tbody tr:last-child td{border-bottom:0}.bca-campaign-map-name{display:flex;flex-direction:column;gap:4px}.bca-campaign-map-name strong{font-size:13px;color:#171717}.bca-campaign-map-name small{color:#8a8f98;font-size:10px}.bca-campaign-map-statuses{display:flex;gap:5px;flex-wrap:wrap}.bca-campaign-map-status{display:inline-flex;border-radius:999px;padding:4px 7px;font-size:9px;font-weight:900}.bca-campaign-map-status.started{background:#e6f6eb;color:#13763b}.bca-campaign-map-status.pending{background:#fff4d7;color:#9a680c}.bca-campaign-map-status.candidate{background:#eef2ff;color:#4b5db4}.bca-campaign-map-select{width:100%;min-width:185px;border:1px solid #d7d9dd;border-radius:9px;background:#fff;padding:9px 10px;font-size:12px;font-weight:700}.bca-campaign-map-select.is-pending{border-color:#e7bd68;background:#fffaf0}.bca-campaign-map-save-state{display:inline-flex;align-items:center;gap:6px;color:#777;font-size:10px;font-weight:800}.bca-campaign-map-save-state.saved{color:#16803b}.bca-campaign-map-save-state.saving{color:#9a680c}.bca-campaign-map-save-state.error{color:#c5161d}.bca-campaign-map-empty{text-align:center!important;color:#858a92!important;padding:34px!important}.bca-campaign-map-footer{display:flex;justify-content:space-between;gap:12px;padding:10px 14px;border-top:1px solid #ededed;color:#777;font-size:10px;background:#fafafa}.promo-manual-mapping-note>span:not(.promo-prices-linker-title){font-size:11px;color:#666}.promo-manual-mapping-note b{color:#222}
@media(max-width:900px){.bca-campaign-map-head{flex-direction:column}.bca-campaign-map-stats{grid-template-columns:1fr}.bca-campaign-map-controls>span{width:100%;margin-left:0}.bca-campaign-map-footer{flex-direction:column}}


/* v8.9.174 / v99 — Precios Manual: limpiar DOD/DXI BC y acercar PRINCIPAL/CATÁLOGO */
.bca-price-check-app #view-promo-precios-manual .promo-prices-bc-source{
  color:#b11d1c !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-prices-mla{
  gap:8px !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-prices-mla-entry{
  gap:4px !important;
  padding:0 !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-prices-mla-entry + .promo-prices-mla-entry{
  margin-top:8px !important;
  padding-top:8px !important;
}
.bca-price-check-app #view-promo-precios-manual .bca-mla-label-row{
  margin-bottom:4px !important;
  min-height:auto !important;
}
.bca-price-check-app #view-promo-precios-manual .bca-mla-code-row{
  line-height:1.05 !important;
}


/* v8.9.175 / v100 — Panel Principal: campaña más chica y prolija */
.bca-price-check-app #view-base .promo-main-campaign{
  min-width:120px !important;
  gap:2px !important;
}
.bca-price-check-app #view-base .promo-main-campaign strong{
  font-size:9.5px !important;
  line-height:1.15 !important;
  font-weight:700 !important;
  letter-spacing:0 !important;
}
.bca-price-check-app #view-base .promo-main-campaign small{
  font-size:8px !important;
  line-height:1.1 !important;
}


/* v8.9.176 / v101 — Panel Principal: separación media entre PRINCIPAL y CATÁLOGO */
.bca-price-check-app #view-base .promo-main-mla-entry{
  gap:6px !important;
  padding:4px 0 !important;
}
.bca-price-check-app #view-base .promo-main-mla-entry + .promo-main-mla-entry{
  margin-top:10px !important;
  padding-top:10px !important;
  border-top:1px solid #e8e8e8 !important;
}
.bca-price-check-app #view-base tr.quota-compact-row .promo-main-mla-entry + .promo-main-mla-entry{
  margin-top:9px !important;
  padding-top:9px !important;
}


/* v8.9.177 / v102 — Panel Principal: separar visualmente los datos de cada publicación asociada */
.bca-price-check-app #view-base .promo-main-lines{
  gap:0 !important;
}
.bca-price-check-app #view-base .promo-main-line{
  min-height:24px !important;
}
.bca-price-check-app #view-base .promo-main-line + .promo-main-line{
  margin-top:10px !important;
  padding-top:10px !important;
}
.bca-price-check-app #view-base .promo-main-validity-cell .promo-main-line + .promo-main-line{
  margin-top:10px !important;
  padding-top:10px !important;
}


/* v8.9.178 / v103 — Panel Principal: header fijo igual al header natural */
.promo-main-fixed-header-table thead th{
  font-size:12px !important;
  line-height:1.1 !important;
  font-weight:800 !important;
  letter-spacing:.01em !important;
  padding:10px 8px !important;
  white-space:normal !important;
  overflow-wrap:normal !important;
  word-break:normal !important;
}


/* v8.9.179 / v104 — Estado: header fijo estable, sin parpadeos */
.promo-state-fixed-header{
  transition:none !important;
  will-change:auto !important;
}


/* v8.9.180 / v105 — Estado vuelve al DOD/DXI visual + historial semanal */
.bca-price-check-app #view-estado .promo-state-promo-head.past{color:#6f7379 !important;}
.bca-price-check-app #view-estado .promo-state-promo-head.past i{background:#9a9da2 !important;}
.bca-price-check-app #view-estado .promo-state-dxi-range.is-past>div span{background:#a6a9ad !important;}
.bca-price-check-app #view-estado .promo-state-dxi-range.is-past>div i{border-color:#a6a9ad !important;}
.bca-price-check-app #view-estado .promo-state-stats{grid-template-columns:repeat(4,minmax(0,1fr)) !important;}
@media(max-width:1200px){.bca-price-check-app #view-estado .promo-state-stats{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}}
@media(max-width:700px){.bca-price-check-app #view-estado .promo-state-stats{grid-template-columns:1fr !important;}}


/* v8.9.181 / v106 — Estado: filtro de promociones no vigentes */
.bca-price-check-app #view-estado .promo-state-badge.expired{background:#f1f1f2;color:#666;}
.bca-price-check-app #view-estado .promo-state-badge.expired b{background:#8f9398;color:#fff;}


/* v8.9.184 / v109 — Precios unificados */
.bca-price-check-app #view-promo-precios-manual .promo-unified-table{min-width:1500px !important;}
.bca-price-check-app #view-promo-precios-manual .promo-unified-table col.pp-col-promo-type{width:135px !important;}
.bca-price-check-app #view-promo-precios-manual .promo-unified-table col.pp-col-campaign{width:190px !important;}
.bca-price-check-app #view-promo-precios-manual .promo-unified-head-row th{
  height:58px !important;background:#f7f7f7 !important;color:#171717 !important;
  font-size:10.5px !important;font-weight:800 !important;text-align:center !important;
  text-transform:uppercase !important;vertical-align:middle !important;padding:10px 8px !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-unified-stack{display:flex;flex-direction:column;align-items:center;gap:9px;}
.bca-price-check-app #view-promo-precios-manual .promo-unified-type{display:inline-flex;align-items:center;justify-content:center;border-radius:7px;padding:6px 9px;font-size:9px;font-weight:800;white-space:nowrap;}
.bca-price-check-app #view-promo-precios-manual .promo-unified-type.manual{background:#fff0f0;color:#b11d1c;}
.bca-price-check-app #view-promo-precios-manual .promo-unified-type.preneg{background:#edf3ff;color:#2458b7;}
.bca-price-check-app #view-promo-precios-manual .promo-unified-campaign{display:flex;flex-direction:column;align-items:center;gap:2px;max-width:180px;}
.bca-price-check-app #view-promo-precios-manual .promo-unified-campaign strong{font-size:10px;line-height:1.2;font-weight:750;text-align:center;}
.bca-price-check-app #view-promo-precios-manual .promo-unified-campaign small{font-size:8px;line-height:1.1;color:#8a9099;font-weight:650;}
.bca-campaign-map-type{display:inline-flex;align-items:center;justify-content:center;border-radius:7px;padding:5px 8px;font-size:9px;font-weight:850;white-space:nowrap;}
.bca-campaign-map-type.manual{background:#fff0f0;color:#b11d1c;}
.bca-campaign-map-type.preneg{background:#edf3ff;color:#2458b7;}
.bca-price-check-app #view-mapeo-campanas .bca-campaign-map-table{min-width:1050px;}


/* v8.9.185 / v110 — Panel Principal: LINKS vuelve a tener ancho útil */
.bca-price-check-app #view-base .promo-main-table{
  min-width:1320px !important;
}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(1){width:6% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(2){width:12% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(3){width:16% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(4){width:9% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(5){width:9% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(6){width:9% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(7){width:10% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(8){width:8% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(9){width:8% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(10){width:7% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(11){width:6% !important;min-width:86px !important;}
.bca-price-check-app #view-base .promo-main-table tbody td:nth-child(11){min-width:86px !important;}
.bca-price-check-app #view-base .promo-main-links{width:100% !important;min-width:0 !important;}
.bca-price-check-app #view-base .promo-main-links a{white-space:normal !important;overflow-wrap:normal !important;word-break:normal !important;text-align:center !important;}


/* v8.9.186 / v111 — Ajustes de lectura y ancho del Panel Principal / Estado */
.bca-price-check-app #view-base .promo-main-table{min-width:1400px !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(1){width:6% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(2){width:11% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(3){width:15% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(4){width:9% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(5){width:9% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(6){width:9% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(7){width:9.5% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(8){width:8% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(9){width:8% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(10){width:6.5% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(11){width:9% !important;min-width:140px !important;}
.bca-price-check-app #view-base .promo-main-table tbody td:nth-child(11){min-width:140px !important;padding-left:10px !important;padding-right:10px !important;}
.bca-price-check-app #view-base .promo-main-links a{white-space:nowrap !important;font-size:10px !important;}

/* PRINCIPAL / CATÁLOGO: juntos, pero distinguibles. */
.bca-price-check-app #view-base .promo-main-mla-entry{gap:4px !important;padding:2px 0 !important;}
.bca-price-check-app #view-base .promo-main-mla-entry + .promo-main-mla-entry{margin-top:6px !important;padding-top:6px !important;border-top:1px solid #e9e9e9 !important;}
.bca-price-check-app #view-estado .promo-state-mla{gap:7px !important;}
.bca-price-check-app #view-estado .promo-state-mla-entry{gap:4px !important;}
.bca-price-check-app #view-estado .promo-state-mla-entry + .promo-state-mla-entry{margin-top:7px !important;padding-top:7px !important;border-top:1px solid #e9e9e9 !important;}
.bca-price-check-app #view-estado .promo-state-mla .tipo-badge{margin-bottom:2px !important;}


/* v8.9.190 / v115 — Diagnóstico puntual por MLA */
.bca-promo-diagnostic-card{background:#fff;border:1px solid #dfe3e7;border-radius:14px;padding:18px 20px;margin:0 0 16px;box-shadow:0 6px 18px rgba(20,24,30,.035)}
.bca-promo-diagnostic-head span{display:block;font-size:8px;font-weight:900;letter-spacing:.08em;color:#a91c1a}.bca-promo-diagnostic-head h2{margin:2px 0 5px;font-size:18px}.bca-promo-diagnostic-head p{margin:0;color:#68717d;font-size:10px;line-height:1.5;max-width:900px}
.bca-promo-diagnostic-form{display:flex;gap:9px;margin-top:14px}.bca-promo-diagnostic-form input{flex:1;min-width:0;height:42px;border:1px solid #d7dce1;border-radius:9px;padding:0 12px;font:650 12px/1.2 Montserrat,Arial,sans-serif;text-transform:uppercase}.bca-promo-diagnostic-form button,.bca-promo-diag-repair button{border:0;border-radius:9px;background:#111;color:#fff;padding:0 16px;font:800 11px/1.2 Montserrat,Arial,sans-serif;cursor:pointer}.bca-promo-diagnostic-form button:disabled,.bca-promo-diag-repair button:disabled{opacity:.55;cursor:wait}
.bca-promo-diagnostic-result{margin-top:14px}.bca-promo-diag-loading{padding:18px;border:1px dashed #d5d9de;border-radius:10px;color:#6c7480;font-size:11px;text-align:center}.bca-promo-diag-summary{display:flex;justify-content:space-between;gap:12px;align-items:center;border-radius:10px;padding:12px 14px;border:1px solid #e1e4e8;background:#f7f8fa}.bca-promo-diag-summary strong{font-size:11px}.bca-promo-diag-summary small{font-size:9px;color:#7c838c}.bca-promo-diag-summary.ok{background:#f1faf4;border-color:#d6ebdc;color:#176d35}.bca-promo-diag-summary.bad{background:#fff3f2;border-color:#f0d0ce;color:#9d1e1c}.bca-promo-diag-summary.neutral{background:#f7f8fa;color:#4f5660}
.bca-promo-diag-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:10px}.bca-promo-diag-steps article{border:1px solid #e4e6e9;border-radius:10px;padding:11px 12px;min-width:0}.bca-promo-diag-steps span{display:block;color:#848b95;font-size:8.5px;font-weight:800;text-transform:uppercase;margin-bottom:6px}.bca-promo-diag-steps b{display:block;font-size:11px;color:#16723a}.bca-promo-diag-steps b.bad{color:#b3221f}.bca-promo-diag-steps b.warn{color:#a66a00}.bca-promo-diag-steps p,.bca-promo-diag-steps small{display:block;margin:4px 0 0;font-size:9px;color:#5f6670;line-height:1.35}
.bca-promo-diag-section{margin-top:12px}.bca-promo-diag-section h3{font-size:11px;margin:0 0 7px}.bca-promo-diag-promos{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px}.bca-promo-diag-promo{border:1px solid #e4e6e9;border-radius:10px;padding:10px 11px;background:#fff}.bca-promo-diag-promo-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:8px}.bca-promo-diag-promo-top strong{font-size:10.5px}.bca-promo-diag-promo-top span{font-size:8px;font-weight:900;padding:4px 6px;border-radius:999px;background:#f0f1f3;color:#666}.bca-promo-diag-promo-top span.started{background:#e8f7ec;color:#17723a}.bca-promo-diag-promo-top span.pending{background:#fff3d9;color:#966108}.bca-promo-diag-promo-top span.candidate{background:#eef2ff;color:#4b5da8}.bca-promo-diag-promo-grid{display:grid;grid-template-columns:95px 1fr;gap:4px 8px;font-size:8.5px}.bca-promo-diag-promo-grid small{color:#9298a1}.bca-promo-diag-promo-grid b{font-weight:750;color:#30363e;overflow-wrap:anywhere}.bca-promo-diag-promo em{display:block;margin-top:8px;font-size:8.5px;font-style:normal;font-weight:800}.bca-promo-diag-promo em.is-stored{color:#17723a}.bca-promo-diag-promo em.is-missing{color:#b3221f}.bca-promo-diag-empty{border:1px dashed #d8dce1;border-radius:9px;padding:12px;color:#8b9199;font-size:9px;text-align:center}
.bca-promo-diag-repair{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff7ed;border:1px solid #f0d6ad;border-radius:10px;padding:11px 12px;margin-top:11px}.bca-promo-diag-repair div{display:flex;flex-direction:column;gap:2px}.bca-promo-diag-repair strong{font-size:10px;color:#8b5700}.bca-promo-diag-repair span{font-size:8.5px;color:#876c43}.bca-promo-diag-repair button{height:36px;background:#9f1715;white-space:nowrap}.bca-promo-diag-repair-result{margin-top:9px;padding:9px 11px;border-radius:9px;background:#eef8f1;color:#176d35;font-size:9px;font-weight:800}.bca-promo-diag-details{margin-top:10px;border-top:1px solid #eceef0;padding-top:9px}.bca-promo-diag-details summary{cursor:pointer;font-size:9px;font-weight:800;color:#616871}.bca-promo-diag-details>div{margin-top:9px}.bca-promo-diag-details>div>b{display:block;font-size:9px;margin:10px 0 6px}
@media(max-width:800px){.bca-promo-diagnostic-form{flex-direction:column}.bca-promo-diagnostic-form button{height:42px}.bca-promo-diag-steps{grid-template-columns:1fr}.bca-promo-diag-summary,.bca-promo-diag-repair{align-items:flex-start;flex-direction:column}.bca-promo-diag-repair button{width:100%}}

/* v8.9.192 / v117 — Precios: columna ESTADO con ancho real y badge sin recorte */
.bca-price-check-app #view-promo-precios-manual .promo-unified-table{min-width:1560px !important;}
.bca-price-check-app #view-promo-precios-manual .promo-unified-table col.pp-col-status{width:150px !important;}
.bca-price-check-app #view-promo-precios-manual .promo-manual-table .pp-col-status{width:150px !important;}
.bca-price-check-app #view-promo-precios-manual .promo-manual-review-state{
  min-width:124px !important;
  max-width:140px !important;
  white-space:normal !important;
  line-height:1.15 !important;
  padding:8px 12px !important;
  text-align:center !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-unified-table td:last-child,
.bca-price-check-app #view-promo-precios-manual .promo-unified-table th:last-child{
  min-width:150px !important;
}


/* v8.9.194 / v121 — Precios: las 10 columnas vuelven a entrar completas */
.bca-price-check-app #view-promo-precios-manual .promo-unified-table{
  width:100% !important;
  min-width:1280px !important;
  max-width:none !important;
  table-layout:fixed !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-unified-table col.pp-col-photo{width:7% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-unified-table col.pp-col-mla{width:13% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-unified-table col.pp-col-sku{width:17% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-unified-table col.pp-col-cuotas{width:9% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-unified-table col.pp-col-promo-type{width:9% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-unified-table col.pp-col-campaign{width:13% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-unified-table col.pp-col-price{width:8% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-unified-table col.pp-col-diff{width:7% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-unified-table col.pp-col-status{width:9% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-unified-table td:last-child,
.bca-price-check-app #view-promo-precios-manual .promo-unified-table th:last-child{
  min-width:0 !important;
  overflow:visible !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-manual-review-state{
  min-width:0 !important;
  width:auto !important;
  max-width:100% !important;
  padding:7px 10px !important;
  white-space:normal !important;
  line-height:1.15 !important;
}
@media(max-width:1400px){
  .bca-price-check-app #view-promo-precios-manual .promo-unified-table{min-width:1180px !important;}
  .bca-price-check-app #view-promo-precios-manual .promo-unified-table th{font-size:9.5px !important;}
  .bca-price-check-app #view-promo-precios-manual .promo-manual-review-state{font-size:8.5px !important;padding:6px 7px !important;}
}


/* v8.9.195 / v122 — Diagnóstico MLA solo lectura */
.bca-promo-diag-readonly{display:flex;gap:8px;align-items:center;margin-top:12px;padding:11px 13px;border:1px solid #dfe4ea;border-radius:10px;background:#f7f8fa;color:#555;font-size:11px;}
.bca-promo-diag-readonly strong{color:#222;}

/* v8.9.197 / v124 — Precios: badges más chicos para que no sobresalgan de la columna */
.bca-price-check-app #view-promo-precios-manual .promo-prices-no-promo{
  display:inline-block !important;
  max-width:100% !important;
  padding:6px 8px !important;
  border-radius:10px !important;
  font-size:10px !important;
  line-height:1.1 !important;
  white-space:normal !important;
  word-break:break-word !important;
  text-align:center !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-manual-review-state{
  display:inline-block !important;
  min-width:0 !important;
  min-height:auto !important;
  max-width:100% !important;
  padding:6px 8px !important;
  border-radius:10px !important;
  font-size:10px !important;
  line-height:1.1 !important;
  white-space:normal !important;
  word-break:break-word !important;
  text-align:center !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-unified-table td:nth-child(8),
.bca-price-check-app #view-promo-precios-manual .promo-unified-table td:nth-child(10){
  overflow:hidden !important;
}


/* v8.9.197 / v125 — Precios: Principal/Catálogo unificados + más aire entre filas */
.bca-price-check-app #view-promo-precios-manual .promo-unified-table tbody tr.promo-panel-style-row > td{
  min-height:154px !important;
  padding-top:18px !important;
  padding-bottom:18px !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-unified-stack{
  gap:12px !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-manual-multi-values{
  gap:12px !important;
}


/* v8.9.198 / v126 — Alineación de múltiples campañas en todo Chequeo de Promos */
/* Precios: cada campaña ocupa exactamente el mismo alto en todas las columnas. */
.bca-price-check-app #view-promo-precios-manual .promo-unified-stack,
.bca-price-check-app #view-promo-precios-manual .promo-manual-multi-values{
  gap:16px !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-unified-stack > *,
.bca-price-check-app #view-promo-precios-manual .promo-manual-multi-values > *{
  min-height:40px !important;
  box-sizing:border-box !important;
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-unified-campaign{
  min-height:40px !important;
  justify-content:center !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-prices-bc-money{
  min-height:40px !important;
  justify-content:center !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-manual-diff-values .promo-prices-diff{
  min-height:40px !important;
}

/* Panel Principal: si hay más de una promo, usar el mismo aire y alineación vertical. */
.bca-price-check-app #view-base .promo-main-lines{
  display:flex !important;
  flex-direction:column !important;
  gap:16px !important;
}
.bca-price-check-app #view-base .promo-main-line{
  min-height:38px !important;
  margin:0 !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;
}
.bca-price-check-app #view-base .promo-main-line + .promo-main-line,
.bca-price-check-app #view-base .promo-main-validity-cell .promo-main-line + .promo-main-line{
  margin-top:0 !important;
  padding-top:0 !important;
}
.bca-price-check-app #view-base .promo-main-campaign{
  justify-content:center !important;
}


/* v8.9.202 / v131 — Precios: se elimina el selector de estado redundante */
.bca-price-check-app #view-promo-precios-manual .promo-prices-controls{
  grid-template-columns:minmax(300px,1fr) auto auto !important;
  grid-template-areas:"search diff export" "linker linker linker" !important;
}
@media(max-width:1100px){
  .bca-price-check-app #view-promo-precios-manual .promo-prices-controls{
    grid-template-columns:minmax(260px,1fr) auto !important;
    grid-template-areas:"search diff" "linker export" !important;
  }
}

/* v8.9.203 / v132 — Precios: -$3.000 exactos queda dentro de tolerancia; revisión recién por debajo de -$3.000. */


/* v8.9.204 / v134 — Estado: solo métricas accionables + control HTML */
.bca-price-check-app #view-estado .promo-state-stats-essential{grid-template-columns:repeat(4,minmax(0,1fr)) !important;}
.bca-price-check-app #view-estado .promo-state-stat strong.blue{color:#2675d8 !important;}
.bca-price-check-app #view-estado .promo-state-stat strong.violet{color:#8a3ec0 !important;}
.bca-price-check-app #view-estado .promo-state-meta-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:10px 2px 12px;color:#707070;font-size:11px;}
.bca-price-check-app #view-estado .promo-state-meta-summary strong{color:#222;font-weight:850;}
.bca-price-check-app #view-estado .promo-state-control-html{white-space:nowrap;}
@media(max-width:1200px){.bca-price-check-app #view-estado .promo-state-stats-essential{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}}
@media(max-width:700px){.bca-price-check-app #view-estado .promo-state-stats-essential{grid-template-columns:1fr !important;}.bca-price-check-app #view-estado .promo-state-meta-summary{align-items:flex-start;flex-direction:column;}}

/* v8.9.206 / v136 — Período de control + fecha histórica de Prenegociadas */
.bca-control-period-card{background:#fff;border:1px solid #dedfe3;border-left:4px solid #b61616;border-radius:15px;padding:20px 22px;margin-bottom:16px;box-shadow:0 7px 22px rgba(0,0,0,.035);display:grid;grid-template-columns:minmax(280px,1fr) auto;gap:18px 28px;align-items:center}
.bca-control-period-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.bca-control-period-copy>span{font-size:9px;font-weight:900;color:#b61616;letter-spacing:.06em}
.bca-control-period-copy>strong{font-size:17px;line-height:1.2;color:#171717}
.bca-control-period-copy>small{font-size:11px;line-height:1.45;color:#6c7280;max-width:720px}
.bca-control-period-fields{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.bca-control-period-fields label{display:flex;flex-direction:column;gap:5px;color:#60656f;font-size:10px;font-weight:800}
.bca-control-period-fields input{height:40px;min-width:155px;border:1px solid #d6d9de;border-radius:9px;background:#fff;padding:0 10px;font:700 12px Montserrat,Arial,sans-serif;color:#222}
.bca-control-period-fields .btn{height:40px;padding:0 17px;border-radius:9px;background:#991313;border-color:#991313;color:#fff}
.bca-control-period-actions{grid-column:1/-1;border-top:1px solid #ececef;padding-top:12px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.bca-control-period-actions button{border:1px solid #d7dade;background:#fff;border-radius:8px;padding:7px 11px;font-size:10px;font-weight:800;cursor:pointer;color:#30343a}
.bca-control-period-actions button:hover{background:#f6f7f8}
#bca-control-period-status{margin-left:auto;font-size:10px;color:#777;font-weight:650}
.bca-campaign-map-table{min-width:1080px!important}
.bca-campaign-map-date-wrap{display:flex;flex-direction:column;gap:5px;min-width:148px}
.bca-campaign-map-date{width:148px;border:1px solid #d7d9dd;border-radius:9px;background:#fff;padding:8px 9px;font-size:11px;font-weight:750;color:#222}
.bca-campaign-map-date.is-pending{border-color:#e6b65c;background:#fffaf0}
.bca-campaign-map-date-wrap small{font-size:8.5px;line-height:1.25;color:#8a8f98;font-weight:650}
.bca-campaign-map-date-wrap.is-disabled{opacity:.72}
.bca-campaign-map-no-date,.bca-campaign-map-current{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#f1f2f4;color:#666;padding:6px 9px;font-size:9px;font-weight:900;width:max-content}
.bca-campaign-map-current{background:#edf7ef;color:#267338}
@media(max-width:1050px){.bca-control-period-card{grid-template-columns:1fr}.bca-control-period-fields{justify-content:flex-start}.bca-control-period-actions{grid-column:1}#bca-control-period-status{margin-left:0;width:100%}}


/* v8.9.208 / v138 — Prenegociadas Candidatas / Programadas */
.bca-preneg-shell{padding:28px 30px 36px}.bca-preneg-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:18px}.bca-preneg-kicker{font-size:10px;font-weight:900;color:#c5161d;letter-spacing:.06em}.bca-preneg-head h2{font-family:'Oswald',Arial,sans-serif;font-size:30px;margin:4px 0 4px}.bca-preneg-head p{margin:0;color:#737780;font-size:12px}.bca-preneg-live{display:inline-flex;align-items:center;gap:7px;border:1px solid #dce8df;background:#f2faf4;color:#187b38;border-radius:999px;padding:8px 11px;font-size:10px;font-weight:800}.bca-preneg-live i{width:7px;height:7px;background:#23a84a;border-radius:50%}.bca-preneg-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.bca-preneg-stats article{background:#fff;border:1px solid #e1e3e6;border-radius:14px;padding:16px 18px;min-height:104px;box-shadow:0 4px 14px rgba(0,0,0,.03)}.bca-preneg-stats span{display:block;font-size:11px;font-weight:800}.bca-preneg-stats strong{display:block;font-family:'Oswald',Arial,sans-serif;font-size:29px;margin-top:8px}.bca-preneg-stats small{display:block;color:#81858c;font-size:10px;margin-top:3px}.bca-preneg-stats .ok strong{color:#128c33}.bca-preneg-stats .bad strong{color:#c5161d}.bca-preneg-controls{display:grid;grid-template-columns:minmax(320px,1fr) 220px;gap:12px;margin-bottom:12px}.bca-preneg-search{height:48px;background:#fff;border:1px solid #dcdfe3;border-radius:11px;display:flex;align-items:center;gap:9px;padding:0 13px}.bca-preneg-search input{border:0!important;box-shadow:none!important;outline:0!important;width:100%;font-size:13px;background:transparent}.bca-preneg-controls select{height:48px;border:1px solid #d7dade;border-radius:11px;background:#fff;padding:0 12px}.bca-preneg-bulk{display:grid;grid-template-columns:auto auto 1fr auto auto;align-items:center;gap:12px;background:#fff;border:1px solid #dedfe2;border-radius:12px;padding:10px 12px;margin-bottom:12px}.bca-preneg-bulk label,.bca-preneg-bulk strong{font-size:11px}.bca-preneg-bulk input{margin-right:6px}.bca-preneg-bulk .btn{min-height:38px;padding:8px 13px}.bca-preneg-join{background:#111!important;border-color:#111!important}.bca-preneg-reject{color:#a41717!important;border-color:#e1bbbb!important;background:#fff!important}.bca-preneg-message{min-height:0;font-size:11px;font-weight:700;margin:0 2px 10px}.bca-preneg-message.is-ok{color:#16803b}.bca-preneg-message.is-error{color:#c5161d}.bca-preneg-card{background:#fff;border:1px solid #dedfe2;border-radius:14px;overflow:hidden;box-shadow:0 6px 20px rgba(0,0,0,.035)}.bca-preneg-scroll{overflow:auto}.bca-preneg-table{width:100%;border-collapse:separate;border-spacing:0;min-width:1450px;table-layout:fixed}.bca-preneg-table th{background:#f7f7f8;border-bottom:1px solid #ddd;padding:12px 9px;font-size:9.5px;text-transform:uppercase;letter-spacing:.02em;text-align:center}.bca-preneg-table td{padding:15px 9px;border-bottom:1px solid #ececec;vertical-align:middle;text-align:center;font-size:11px}.bca-preneg-table tr:last-child td{border-bottom:0}.bca-preneg-table th:first-child{width:42px}.bca-preneg-table img{width:70px;height:70px;object-fit:contain;border:1px solid #e3e3e3;border-radius:10px;background:#fff}.bca-preneg-mla{display:flex;flex-direction:column;gap:6px;align-items:flex-start;text-align:left}.bca-preneg-mla span{font-size:8.5px;font-weight:900;background:#f0f1f2;border-radius:999px;padding:3px 6px}.bca-preneg-mla strong{font-family:'Roboto Mono',monospace;font-size:10px}.bca-preneg-sku strong{font-family:'Roboto Mono',monospace;font-size:11px}.bca-preneg-campaign strong{display:block;font-size:11px}.bca-preneg-campaign small{display:block;color:#8a8f98;font-size:9px;margin-top:3px}.bca-preneg-money{font-family:'Roboto Mono',monospace;font-weight:850;font-size:13px}.bca-preneg-bc small{display:block;color:#9d1616;font-size:8.5px;font-weight:900;margin-top:3px}.bca-preneg-diff{display:inline-flex;min-width:76px;justify-content:center;border-radius:9px;padding:7px 9px;font-family:'Roboto Mono',monospace;font-weight:850}.bca-preneg-diff.ok{background:#eaf7ed;color:#16803b}.bca-preneg-diff.bad{background:#fde9e9;color:#c5161d}.bca-preneg-diff.missing{background:#f1f2f3;color:#85898f}.bca-preneg-check{display:inline-flex;border-radius:9px;padding:7px 9px;font-size:9px;font-weight:900}.bca-preneg-check.ok{background:#e6f5e9;color:#117630}.bca-preneg-check.review{background:#fde8e8;color:#c5161d}.bca-preneg-check.missing{background:#f0f1f3;color:#72767d}.bca-preneg-actions{display:flex;justify-content:center;gap:6px;flex-wrap:wrap}.bca-preneg-actions button{border:0;border-radius:8px;padding:7px 9px;font-size:9px;font-weight:900;cursor:pointer}.bca-preneg-actions .join{background:#111;color:#fff}.bca-preneg-actions .reject{background:#fff0f0;color:#b51515;border:1px solid #edc6c6}.bca-preneg-actions button:disabled{opacity:.45;cursor:not-allowed}.bca-preneg-empty{padding:44px!important;color:#858a92!important}.bca-preneg-footer{padding:10px 14px;background:#fafafa;color:#777;font-size:10px}.bca-preneg-row.is-working{opacity:.55;pointer-events:none}@media(max-width:1100px){.bca-preneg-stats{grid-template-columns:repeat(2,1fr)}.bca-preneg-controls{grid-template-columns:1fr}.bca-preneg-bulk{grid-template-columns:1fr 1fr}.bca-preneg-bulk span{display:none}}@media(max-width:700px){.bca-preneg-shell{padding:18px 12px}.bca-preneg-stats{grid-template-columns:1fr}.bca-preneg-head{flex-direction:column}}


/* v8.9.210 / v140 — Mapeo Prenegociadas por estado */
.bca-campaign-map-triple{display:flex;flex-direction:column;gap:8px;min-width:220px}
.bca-campaign-map-triple label{display:grid;grid-template-columns:82px minmax(130px,1fr);align-items:center;gap:8px}
.bca-campaign-map-triple label>span{font-size:9px;font-weight:900;color:#676d76;text-transform:uppercase;letter-spacing:.025em}
.bca-campaign-map-triple .bca-campaign-map-select{min-width:0;width:100%}
.bca-campaign-map-table{min-width:1180px}
.bca-campaign-map-save-state{max-width:260px;white-space:normal;line-height:1.35}


/* v8.9.211 / v141 — Mapeo Prenegociadas: fecha independiente por estado */
.bca-campaign-map-date-triple{display:flex;flex-direction:column;gap:8px;min-width:230px}
.bca-campaign-map-date-triple label{display:grid;grid-template-columns:82px minmax(148px,1fr);align-items:center;gap:8px;margin:0}
.bca-campaign-map-date-triple label>span:first-child{font-size:9px;font-weight:900;color:#676d76;text-transform:uppercase;letter-spacing:.025em}
.bca-campaign-map-date-triple .bca-campaign-map-date{width:100%;min-width:0}
.bca-campaign-map-date-triple label.is-disabled{opacity:.58}
.bca-campaign-map-date-triple .bca-campaign-map-no-date{display:flex;align-items:center;min-height:36px;color:#9a9ea5;font-weight:800}


/* v8.9.212 / v142 — Prenegociadas: acción siempre visible y fotos consistentes */
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:last-child,
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table td:last-child{
  position:sticky;
  right:0;
  z-index:3;
  width:118px;
  min-width:118px;
  max-width:118px;
  background:#fff;
  box-shadow:-7px 0 12px rgba(0,0,0,.035);
}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:last-child{
  z-index:5;
  background:#f7f7f8;
}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-actions{
  width:100%;
  flex-direction:column;
  flex-wrap:nowrap;
  align-items:stretch;
  gap:6px;
}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-actions button{
  width:100%;
  max-width:100%;
  padding:7px 6px;
  white-space:nowrap;
}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-scroll{
  padding-right:0;
}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table img,
.bca-price-check-app #view-preneg-programadas .bca-preneg-table img{
  display:block;
  margin:0 auto;
}

/* v8.9.213 / v143 — Candidatas/Programadas con layout de Panel Principal */
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-card{border-radius:14px;overflow:hidden;background:#fff}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-scroll{overflow:auto;position:relative}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table{min-width:1760px;width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table th{height:58px;padding:10px 8px;font-size:9px;font-weight:900;color:#737982;background:#f7f7f8;border-bottom:1px solid #ddd;white-space:normal;line-height:1.15}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table td{height:132px;min-height:132px;padding:14px 10px;font-size:11px;vertical-align:middle;border-bottom:10px solid #f4f4f4;background:#fff}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table tbody tr:last-child td{border-bottom-width:0}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table th:nth-child(1){width:42px}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table th:nth-child(2){width:112px}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table th:nth-child(3){width:210px}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table th:nth-child(4){width:230px}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table th:nth-child(5){width:115px}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table th:nth-child(6){width:180px}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table th:nth-child(7){width:110px}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table th:nth-child(8){width:160px}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table th:nth-child(9){width:185px}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table th:nth-child(10){width:160px}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table th:nth-child(11){width:115px}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(12){width:120px}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(13){width:132px}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(1){width:112px}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(2){width:210px}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(3){width:230px}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(4){width:115px}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(5){width:180px}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(6){width:110px}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(7){width:160px}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(8){width:185px}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(9){width:160px}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(10){width:115px}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(11){width:120px}

.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) td.bca-preneg-photo{padding:12px!important;text-align:center}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) td.bca-preneg-photo img,
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) td.bca-preneg-photo .noimg{width:86px;height:86px;object-fit:contain;border:1px solid #e0e2e4;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;margin:auto}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-mla{gap:10px;align-items:stretch}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-mla>div{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:7px;min-height:28px;padding:2px 0;border-bottom:1px solid #eceeef}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-mla>div:last-child{border-bottom:0}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-mla span{font-size:8px;background:#f0f1f2;border-radius:999px;padding:3px 7px;font-weight:900}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-mla strong{font-family:'Roboto Mono',monospace;font-size:10.5px;text-align:left}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-mla small{font-size:7.5px;color:#1f67b5;font-weight:900;letter-spacing:.03em}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-quota span{display:inline-flex;border:1px solid #d2d4d7;border-radius:999px;padding:6px 10px;font-weight:900;font-size:10px;white-space:nowrap}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-campaign strong{font-size:11px;line-height:1.25}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-campaign small{font-size:8.5px;color:#91959c;margin-top:4px}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-validity{font-weight:800;white-space:nowrap}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-offer{display:flex;flex-direction:column;align-items:center;gap:2px}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-offer strong{font-family:'Roboto Mono',monospace;font-size:13px}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-offer strong.seller{margin-top:7px;color:#1b5c2a}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-offer small{font-size:8px;color:#777;font-weight:800}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-offer em{font-style:normal;color:#999;font-size:8px;margin-top:6px}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-contrib{display:flex;flex-direction:column;gap:9px;text-align:left;max-width:160px;margin:auto}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-contrib span{display:grid;grid-template-columns:66px 1fr;gap:6px;align-items:start}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-contrib b{font-size:9px;color:#555}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-contrib small{font-size:9px;font-weight:800;line-height:1.25;color:#222}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-bc{display:flex;flex-direction:column;align-items:center;gap:2px}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-bc em{font-style:normal;color:#888;font-size:7.5px;margin-top:4px}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-select-cell{width:42px;padding-left:10px!important;padding-right:5px!important}

/* Acción siempre visible, pero sin tapar Chequeo. */
.bca-price-check-app #view-preneg-candidatas .bca-preneg-action-cell,
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:last-child{position:sticky;right:0;z-index:5;background:#fff;width:132px;min-width:132px;max-width:132px;box-shadow:-8px 0 14px rgba(0,0,0,.05)}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:last-child{z-index:8;background:#f7f7f8}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-actions{display:flex;flex-direction:column;gap:7px;width:100%}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-actions button{width:100%;min-height:34px;border-radius:9px;font-size:9px;font-weight:900}

/* Separación/alineación tipo Panel Principal para niveles de cuotas. */
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) tr.promo-panel-style-row.family-last>td{border-bottom-width:12px}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) tr.promo-panel-style-row:not(.family-last)>td:not([rowspan]){border-bottom-color:#eceeef;border-bottom-width:1px}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) td[rowspan]{vertical-align:middle!important}
@media(max-width:1200px){.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table{min-width:1680px}}


/* v8.9.214 / v144 — Sincronización de Chequeo de Promos */
.bca-sync-shell{padding:34px 28px 44px;max-width:1560px;margin:0 auto}.bca-sync-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:22px}.bca-sync-kicker{display:block;color:#bc1515;font-size:11px;font-weight:900;letter-spacing:.03em;margin-bottom:8px}.bca-sync-head h2{font-family:'Oswald',Arial,sans-serif;font-size:34px;line-height:1.05;margin:0 0 8px}.bca-sync-head p{margin:0;color:#737373;font-size:14px;max-width:850px}.bca-sync-badge{display:inline-flex;align-items:center;gap:7px;padding:9px 13px;border:1px solid #cfe8d5;border-radius:999px;background:#f1fbf3;color:#087b29;font-size:11px;font-weight:800;white-space:nowrap}.bca-sync-badge i{width:8px;height:8px;border-radius:50%;background:#20ad4a}.bca-sync-badge.is-error{background:#fff0f0;border-color:#f3caca;color:#b71717}.bca-sync-badge.is-error i{background:#d71d1d}.bca-sync-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.bca-sync-grid article{background:#fff;border:1px solid #dedede;border-radius:14px;padding:19px 20px;min-height:145px;box-shadow:0 5px 18px rgba(0,0,0,.035);display:flex;flex-direction:column;gap:9px}.bca-sync-grid article>span{font-size:12px;font-weight:800}.bca-sync-grid article>strong{font-size:15px;line-height:1.35;word-break:break-word}.bca-sync-grid article>small{font-size:11px;line-height:1.4;color:#777;margin-top:auto}.bca-sync-action-card{margin-top:16px;background:#fff;border:1px solid #dedede;border-left:4px solid #bf1b1b;border-radius:14px;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:22px}.bca-sync-action-card>div{display:flex;flex-direction:column;gap:5px}.bca-sync-action-card strong{font-size:14px}.bca-sync-action-card span{font-size:13px;font-weight:700}.bca-sync-action-card small{color:#777;font-size:11px}.bca-sync-action-card .btn{white-space:nowrap}.bca-sync-progress{margin-top:14px;background:#fff;border:1px solid #dedede;border-radius:14px;padding:15px 18px}.bca-sync-progress>div:first-child{display:flex;justify-content:space-between;gap:15px;font-size:12px}.bca-sync-progress-track{height:8px;background:#ececec;border-radius:999px;overflow:hidden;margin-top:10px}.bca-sync-progress-track i{display:block;height:100%;width:0;background:#bd1d1d;border-radius:999px;transition:width .2s ease}.bca-sync-error{margin-top:14px;background:#fff0f0;border:1px solid #f0c6c6;color:#ac1515;border-radius:12px;padding:12px 15px;font-size:12px;font-weight:700}@media(max-width:1100px){.bca-sync-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.bca-sync-shell{padding:24px 15px}.bca-sync-head,.bca-sync-action-card{flex-direction:column}.bca-sync-grid{grid-template-columns:1fr}.bca-sync-action-card .btn{width:100%}}

/* v8.9.215 / v145 — Candidatas/Programadas: mismo ancho útil que Panel Principal */
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-shell{
  padding-left:24px!important;
  padding-right:24px!important;
}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-card{
  overflow:visible!important;
}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-scroll{
  overflow:visible!important;
  width:100%!important;
}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table th{
  position:sticky;
  top:0;
  z-index:12;
  background:#f7f7f8!important;
  padding:10px 6px!important;
  font-size:8.7px!important;
  line-height:1.12!important;
}
body.admin-bar .bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table th{top:32px}
@media(max-width:782px){body.admin-bar .bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table th{top:46px}}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table td{
  height:116px!important;
  min-height:116px!important;
  padding:13px 7px!important;
  font-size:10.5px!important;
}
/* Candidate: 13 columnas = 100%. */
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(1){width:2.5%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(2){width:6%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(3){width:13%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(4){width:11%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(5){width:6%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(6){width:10%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(7){width:6%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(8){width:9%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(9){width:9%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(10){width:9%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(11){width:6%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(12){width:6%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(13){width:6.5%!important}
/* Programadas: 11 columnas = 100%. */
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(1){width:6.5%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(2){width:14%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(3){width:12%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(4){width:7%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(5){width:11%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(6){width:7%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(7){width:10%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(8){width:10%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(9){width:10%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(10){width:6%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(11){width:6.5%!important}
/* En desktop no tapamos Chequeo con una Acción flotante. */
.bca-price-check-app #view-preneg-candidatas .bca-preneg-action-cell,
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:last-child{
  position:static!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  box-shadow:none!important;
}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) td.bca-preneg-photo img,
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) td.bca-preneg-photo .noimg{
  width:76px!important;
  height:76px!important;
}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-mla>div{
  grid-template-columns:auto minmax(0,1fr) auto!important;
  gap:5px!important;
}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-mla .bca-copyable-code{
  min-width:0;
  justify-content:flex-start;
}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-mla .bca-code-text{
  font-family:'Roboto Mono',monospace;
  font-size:9.5px!important;
  white-space:nowrap;
}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-sku-cell .bca-code-text{
  font-size:10px!important;
}
.bca-preneg-shared{
  display:inline-flex!important;
  align-self:flex-start;
  font-style:normal!important;
  color:#166534!important;
  background:#ecf8ef;
  border:1px solid #d2ead8;
  border-radius:999px;
  padding:3px 6px;
  font-size:7.5px!important;
  font-weight:900;
  white-space:nowrap;
}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-contrib{
  gap:6px!important;
  max-width:100%!important;
}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-contrib span{
  grid-template-columns:52px minmax(0,1fr)!important;
  gap:4px!important;
}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-actions button{
  min-height:32px!important;
  padding:6px 5px!important;
  font-size:8.5px!important;
}
/* En pantallas más angostas conservamos scroll horizontal y Acción fija. */
@media(max-width:1450px){
  .bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-card{overflow:hidden!important}
  .bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-scroll{overflow-x:auto!important;overflow-y:visible!important}
  .bca-price-check-app #view-preneg-candidatas .bca-preneg-table{min-width:1450px!important}
  .bca-price-check-app #view-preneg-programadas .bca-preneg-table{min-width:1320px!important}
  .bca-price-check-app #view-preneg-candidatas .bca-preneg-action-cell,
  .bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:last-child{position:sticky!important;right:0!important;z-index:14!important;background:#fff!important;box-shadow:-8px 0 14px rgba(0,0,0,.05)!important}
  .bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:last-child{background:#f7f7f8!important;z-index:16!important}
}
/* v145 correction: Acción también conserva el header vertical sticky, sin flotar a la derecha en desktop. */
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:last-child{
  position:sticky!important;
  right:auto!important;
  top:0;
  z-index:12!important;
  background:#f7f7f8!important;
}
body.admin-bar .bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:last-child{top:32px}
@media(max-width:782px){body.admin-bar .bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:last-child{top:46px}}
@media(max-width:1450px){
  .bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:last-child{right:0!important;z-index:16!important}
}

/* v8.9.216 / v146 — Candidatas/Programadas compactas, copiables y responsive */
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-shell{max-width:none!important;padding:28px 24px 38px!important}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-card{overflow:visible!important}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-scroll{overflow:visible!important;width:100%!important}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table thead{position:sticky;top:0;z-index:25}
body.admin-bar .bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table thead{top:32px}
@media(max-width:782px){body.admin-bar .bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table thead{top:46px}}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table th{position:static!important;height:54px!important;padding:10px 8px!important;background:#f7f7f8!important;font-size:9px!important;line-height:1.15!important;z-index:auto!important}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-table td{height:124px!important;min-height:124px!important;padding:14px 10px!important;font-size:11px!important;vertical-align:middle!important}

/* Candidatas: 9 columnas = 100% */
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(1){width:3%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(2){width:7%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(3){width:16%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(4){width:15%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(5){width:7%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(6){width:14%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(7){width:16%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(8){width:14%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(9){width:8%!important}
/* Programadas: 8 columnas = 100% */
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(1){width:8%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(2){width:17%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(3){width:16%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(4){width:8%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(5){width:15%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(6){width:17%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(7){width:13%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(8){width:6%!important}

/* Acción forma parte de la tabla; no tapa Control BC. */
.bca-price-check-app #view-preneg-candidatas .bca-preneg-action-cell,
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:last-child{position:static!important;right:auto!important;width:auto!important;min-width:0!important;max-width:none!important;box-shadow:none!important;background:#fff!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:last-child{background:#f7f7f8!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-actions{display:flex!important;flex-direction:column!important;gap:7px!important;width:100%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-actions button{width:100%!important;min-height:34px!important;padding:7px 5px!important;font-size:9px!important}

/* MLA/SKU: mismo copiar que Panel Principal/Estado, sin cuadrados del tema WP. */
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-copyable-code{display:inline-flex!important;align-items:center!important;gap:7px!important;min-width:0!important;background:transparent!important}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-code-text{cursor:pointer!important;padding:2px 3px!important;border-radius:5px!important;background:transparent!important;white-space:nowrap!important}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-code-text:hover{background:#f1f2f3!important}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-copy-btn{appearance:none!important;-webkit-appearance:none!important;display:inline-grid!important;place-items:center!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;padding:0!important;margin:0!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#70757d!important;box-shadow:none!important;line-height:1!important;cursor:pointer!important}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-copy-btn:hover{background:#efeff0!important;color:#222!important}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-copy-svg{display:block!important;width:14px!important;height:14px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-mla>div{grid-template-columns:auto minmax(0,1fr) auto!important;gap:6px!important;align-items:center!important}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-mla>div>span:first-child{white-space:nowrap!important}

.bca-preneg-promo-info{display:flex;flex-direction:column;gap:10px;align-items:center}
.bca-preneg-validity-inline{display:flex;flex-direction:column;gap:2px;align-items:center}
.bca-preneg-validity-inline span{font-size:8px;color:#8c9198;text-transform:uppercase;font-weight:800}
.bca-preneg-validity-inline b{font-size:11px;color:#222}
.bca-preneg-offer-summary{display:grid;grid-template-columns:minmax(82px,.85fr) minmax(105px,1.15fr);gap:10px;align-items:center}
.bca-preneg-offer-summary .bca-preneg-contrib{margin:0!important;max-width:none!important;gap:5px!important}
.bca-preneg-offer-summary .bca-preneg-contrib span{grid-template-columns:48px minmax(0,1fr)!important;gap:4px!important}
.bca-preneg-control{display:flex;flex-direction:column;align-items:center;gap:8px}
.bca-preneg-control .bca-preneg-diff{min-width:72px}
.bca-preneg-pending-badge{display:inline-flex;padding:7px 9px;border-radius:9px;background:#fff2d8;color:#97610b;font-size:9px;font-weight:900}

/* En equipos angostos permitimos scroll, sin romper el escritorio. */
@media(max-width:1180px){
  .bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-card{overflow:hidden!important}
  .bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-scroll{overflow-x:auto!important;overflow-y:visible!important}
  .bca-price-check-app #view-preneg-candidatas .bca-preneg-table{min-width:1120px!important}
  .bca-price-check-app #view-preneg-programadas .bca-preneg-table{min-width:1020px!important}
}
@media(max-width:760px){.bca-preneg-offer-summary{grid-template-columns:1fr}.bca-preneg-stats{grid-template-columns:1fr 1fr!important}}

/* v8.9.217 / v147 — Estado: elegir precios del control HTML */
.bca-price-check-app #view-estado .promo-state-export-price-mode{height:44px;min-width:150px;border:1px solid #d7d9dd;border-radius:10px;background:#fff;padding:0 34px 0 12px;font-size:11px;font-weight:750;color:#252525;}
@media(max-width:900px){.bca-price-check-app #view-estado .promo-state-export-price-mode{min-width:calc(50% - 6px);flex:1;}}


/* v8.9.223 / v154 — Prenegociadas: separar Control BC de Resultado */
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-control-values{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:12px!important;
  flex-wrap:wrap!important;
}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-result-cell{
  text-align:center!important;
  vertical-align:middle!important;
}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-result{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
}
.bca-price-check-app :is(#view-preneg-candidatas,#view-preneg-programadas) .bca-preneg-result .bca-preneg-check{
  margin:0!important;
  max-width:100%!important;
}
/* Candidatas: 10 columnas, total 100% */
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(1){width:2.5%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(2){width:6%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(3){width:15%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(4){width:14%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(5){width:6.5%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(6){width:13.5%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(7){width:16%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(8){width:13%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(9){width:7%!important}
.bca-price-check-app #view-preneg-candidatas .bca-preneg-table th:nth-child(10){width:6.5%!important}
/* Programadas: 8 columnas, la última es Resultado */
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(1){width:8%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(2){width:17%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(3){width:16%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(4){width:8%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(5){width:15%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(6){width:17%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(7){width:13%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(8){width:6%!important}

/* ===== v164 · mapa maestro local de publicaciones ===== */
.bca-master-map-card{margin-top:18px;background:#fff;border:1px solid #dedede;border-radius:18px;overflow:hidden;box-shadow:0 10px 26px rgba(0,0,0,.04)}
.bca-master-map-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px 14px}.bca-master-map-head>div{display:flex;flex-direction:column;gap:5px}.bca-master-map-head strong{font-size:18px}.bca-master-map-head span{color:#727272;font-size:13px;line-height:1.45}.bca-master-map-head>span{white-space:nowrap;font-weight:700;color:#555}
.bca-master-map-search{display:flex;align-items:center;gap:9px;margin:0 22px 14px;border:1px solid #dcdcdc;border-radius:12px;padding:0 13px;height:46px}.bca-master-map-search input{border:0;outline:0;width:100%;font:inherit;background:transparent}
.bca-master-map-scroll{overflow:auto;max-height:520px;border-top:1px solid #ececec}.bca-master-map-table{width:100%;border-collapse:separate;border-spacing:0;min-width:1080px}.bca-master-map-table thead th{position:sticky;top:0;z-index:3;background:#f7f7f7;padding:13px 16px;text-align:left;font-size:11px;text-transform:uppercase;color:#666;border-bottom:1px solid #ddd}.bca-master-map-table td{padding:14px 16px;border-bottom:1px solid #eee;vertical-align:middle;font-size:13px}.bca-master-map-table td:first-child strong{display:block}.bca-master-map-table td:first-child small,.bca-master-promo small{display:block;margin-top:3px;color:#8a8a8a;font-size:11px}.bca-master-mla{display:inline-flex;margin:2px 5px 2px 0;padding:5px 7px;border-radius:8px;background:#f5f5f5;font-family:monospace;font-weight:700}.bca-master-quota,.bca-master-status{display:inline-flex;padding:5px 9px;border-radius:999px;background:#f1f1f1;font-size:11px;font-weight:700;margin:2px 4px 2px 0}.bca-master-status{background:#eef7ef;color:#0d7b2c}.bca-master-promo{margin-bottom:6px}.bca-master-promo:last-child{margin-bottom:0}.bca-master-none{color:#999}.bca-master-map-empty{text-align:center!important;padding:44px!important;color:#888}.bca-master-map-footer{display:flex;justify-content:space-between;gap:20px;padding:12px 18px;font-size:12px;color:#777;background:#fafafa}.bca-master-map-footer span:last-child{text-align:right}
@media(max-width:900px){.bca-master-map-head,.bca-master-map-footer{flex-direction:column}.bca-master-map-head>span{white-space:normal}.bca-master-map-footer span:last-child{text-align:left}}
.bca-sync-local-summary{margin:14px 0 0;padding:12px 16px;border:1px solid #e2e2e2;border-radius:12px;background:#fff;font-size:13px;font-weight:700;color:#444}


/* ===== v8.9.234 / v165 — Programadas: dejar de participar individual/masivo ===== */
.bca-price-check-app #view-preneg-programadas .bca-preneg-pending-bulk{grid-template-columns:auto auto 1fr auto!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-leave{color:#a41717!important;border-color:#e1bbbb!important;background:#fff!important;white-space:nowrap}
.bca-price-check-app #view-preneg-programadas .bca-preneg-action-cell{vertical-align:middle!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-actions{display:flex!important;justify-content:center!important;width:100%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-actions .leave{width:100%!important;min-height:36px!important;padding:7px 8px!important;border-radius:9px!important;background:#fff0f0!important;color:#b51515!important;border:1px solid #edc6c6!important;font-size:8.5px!important;font-weight:900!important}
/* Programadas: 10 columnas, incluida selección + acción. */
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(1){width:2.5%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(2){width:6%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(3){width:15%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(4){width:14%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(5){width:6.5%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(6){width:13.5%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(7){width:16%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(8){width:13%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(9){width:7%!important}
.bca-price-check-app #view-preneg-programadas .bca-preneg-table th:nth-child(10){width:6.5%!important}
@media(max-width:1180px){.bca-price-check-app #view-preneg-programadas .bca-preneg-table{min-width:1120px!important}}


/* ===== v8.9.235 / v166 — Panel Principal más limpio + Vigencia visual ===== */
.bca-price-check-app #view-base .promo-main-table{
  width:100% !important;
  min-width:1080px !important;
  table-layout:fixed !important;
}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(1){width:7% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(2){width:15% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(3){width:20% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(4){width:10% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(5){width:14% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(6){width:14% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(7){width:10% !important;}
.bca-price-check-app #view-base .promo-main-table thead th:nth-child(8){width:10% !important;min-width:118px !important;}
.bca-price-check-app #view-base .promo-main-table tbody td:nth-child(8){min-width:118px !important;padding-left:10px !important;padding-right:10px !important;}

.bca-price-check-app #view-base .promo-main-validity-cell{
  padding-left:10px !important;
  padding-right:10px !important;
}
.bca-price-check-app #view-base .promo-main-validity{
  width:100% !important;
  max-width:170px !important;
  min-height:42px !important;
  margin:0 auto !important;
  padding:7px 9px !important;
  border:1px solid #e1e4e8 !important;
  border-radius:11px !important;
  background:#f8f9fa !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;
  box-sizing:border-box !important;
}
.bca-price-check-app #view-base .promo-main-validity-date{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:1px !important;
  min-width:42px !important;
}
.bca-price-check-app #view-base .promo-main-validity-date small,
.bca-price-check-app #view-base .promo-main-validity-label{
  color:#959ba3 !important;
  font-size:7px !important;
  font-weight:900 !important;
  letter-spacing:.45px !important;
  line-height:1 !important;
}
.bca-price-check-app #view-base .promo-main-validity-date strong,
.bca-price-check-app #view-base .promo-main-validity.is-single strong{
  color:#20242a !important;
  font-size:11px !important;
  font-weight:900 !important;
  line-height:1.15 !important;
  white-space:nowrap !important;
}
.bca-price-check-app #view-base .promo-main-validity > i{
  color:#b3b8bf !important;
  font-size:13px !important;
  font-style:normal !important;
  font-weight:800 !important;
  line-height:1 !important;
}
.bca-price-check-app #view-base .promo-main-validity.is-single{
  max-width:92px !important;
  flex-direction:column !important;
  gap:3px !important;
}
@media(max-width:1180px){
  .bca-price-check-app #view-base .promo-main-table{min-width:1000px !important;}
}


/* v8.9.238 / v169 — Precios Manual: header alineado con columnas reales */
.bca-price-check-app #view-promo-precios-manual .promo-manual-table,
.bca-price-check-app #view-promo-precios-manual #promo-manual-fixed-header .promo-manual-table{
  width:100% !important;
  min-width:1280px !important;
  max-width:none !important;
  table-layout:fixed !important;
}
.bca-price-check-app #view-promo-precios-manual .promo-manual-table col.pp-col-photo,
.bca-price-check-app #view-promo-precios-manual #promo-manual-fixed-header .promo-manual-table col.pp-col-photo{width:7% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-manual-table col.pp-col-mla,
.bca-price-check-app #view-promo-precios-manual #promo-manual-fixed-header .promo-manual-table col.pp-col-mla{width:12% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-manual-table col.pp-col-sku,
.bca-price-check-app #view-promo-precios-manual #promo-manual-fixed-header .promo-manual-table col.pp-col-sku{width:15% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-manual-table col.pp-col-cuotas,
.bca-price-check-app #view-promo-precios-manual #promo-manual-fixed-header .promo-manual-table col.pp-col-cuotas{width:9% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-manual-table col.pp-col-promo-type,
.bca-price-check-app #view-promo-precios-manual #promo-manual-fixed-header .promo-manual-table col.pp-col-promo-type{width:9% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-manual-table col.pp-col-campaign,
.bca-price-check-app #view-promo-precios-manual #promo-manual-fixed-header .promo-manual-table col.pp-col-campaign{width:13% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-manual-table col.pp-col-price,
.bca-price-check-app #view-promo-precios-manual #promo-manual-fixed-header .promo-manual-table col.pp-col-price{width:9.5% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-manual-table col.pp-col-diff,
.bca-price-check-app #view-promo-precios-manual #promo-manual-fixed-header .promo-manual-table col.pp-col-diff{width:8% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-manual-table col.pp-col-status,
.bca-price-check-app #view-promo-precios-manual #promo-manual-fixed-header .promo-manual-table col.pp-col-status{width:8% !important;}
.bca-price-check-app #view-promo-precios-manual .promo-manual-table th,
.bca-price-check-app #view-promo-precios-manual .promo-manual-table td,
.bca-price-check-app #view-promo-precios-manual #promo-manual-fixed-header .promo-manual-table th{
  box-sizing:border-box !important;
}


/* v8.9.240 / v171 — Mapa de publicaciones solo interno */
.bca-price-check-app #view-sincronizacion .bca-master-map-card[hidden]{display:none !important;}


/* v8.9.242 / v173 — SMART más claro: aporte en una sola línea y carga menos pesada */
.bca-smart-contribution{display:flex;flex-direction:column;gap:2px;align-items:flex-start}
.bca-smart-contribution b{display:block;font-size:11px;line-height:1.2;white-space:normal;word-break:keep-all}
.bca-smart-contribution.meli b{color:#23803d}
.bca-smart-table tbody td:nth-child(6),
.bca-smart-table tbody td:nth-child(7){white-space:normal;min-width:150px}


/* v8.9.243 / v175 — Estado: semana analizada visible */
.bca-price-check-app #view-estado .promo-state-meta-summary{
  display:grid !important;
  grid-template-columns:1fr auto 1fr !important;
  align-items:center !important;
}
.bca-price-check-app #view-estado .promo-state-meta-summary .promo-state-week-range{
  color:#3f4650 !important;
  font-weight:800 !important;
  text-align:center !important;
  white-space:nowrap !important;
}
.bca-price-check-app #view-estado .promo-state-meta-summary > span:last-child{text-align:right !important;}
@media(max-width:700px){
  .bca-price-check-app #view-estado .promo-state-meta-summary{grid-template-columns:1fr !important;}
  .bca-price-check-app #view-estado .promo-state-meta-summary .promo-state-week-range,
  .bca-price-check-app #view-estado .promo-state-meta-summary > span:last-child{text-align:left !important;}
}


/* v8.9.243 / v176 — Tabs con iconos estilo menú superior */
.tabs .tab{display:inline-flex;align-items:center;gap:8px}
.tabs .tab .bca-tab-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;color:currentColor;opacity:.78;flex:0 0 18px}
.tabs .tab .bca-tab-icon svg{width:18px;height:18px;display:block}
.tabs .tab .bca-tab-label{display:inline-block;line-height:1.1}
.tabs .tab.active .bca-tab-icon{opacity:1}
@media (max-width:900px){
  .tabs .tab{gap:6px}
  .tabs .tab .bca-tab-icon{width:16px;height:16px;flex-basis:16px}
  .tabs .tab .bca-tab-icon svg{width:16px;height:16px}
}


/* ===== v180 / 8.9.247 — SMART disponibles + SMART activas ===== */
.bca-smart2-shell{display:flex;flex-direction:column;gap:14px;padding-bottom:28px}
.bca-smart2-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;background:#fff;border:1px solid #e1e4e8;border-radius:15px;padding:22px 24px}
.bca-smart2-head h2{margin:4px 0 6px;font:700 28px/1.1 'Oswald',sans-serif;color:#111}.bca-smart2-head p{margin:0;max-width:900px;color:#68717c;font-size:12.5px;line-height:1.5}
.bca-smart2-kicker{font-size:9px;font-weight:900;letter-spacing:.08em;color:#b31918;text-transform:uppercase}
.bca-smart2-note{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;background:#fff8f7;border:1px solid #f1d7d5;border-radius:13px;padding:13px 16px;font-size:11px}.bca-smart2-note strong,.bca-smart2-note small{color:#991714}.bca-smart2-note small{font-weight:800;white-space:nowrap}.bca-smart2-note span{color:#616873;line-height:1.4}
.bca-smart2-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.bca-smart2-stats article{background:#fff;border:1px solid #e2e5e9;border-radius:14px;padding:15px 17px;min-height:95px;display:flex;flex-direction:column;justify-content:center}.bca-smart2-stats article span{font-size:10px;color:#747c88;font-weight:700}.bca-smart2-stats article strong{font-size:27px;line-height:1.15;margin:4px 0 2px;color:#17191d}.bca-smart2-stats article small{font-size:9px;color:#8c939d}.bca-smart2-stats article.is-ok strong{color:#16833a}.bca-smart2-stats article.is-bad strong{color:#b51c1a}.bca-smart2-stats article.is-warn strong{color:#cb7600}
.bca-smart2-controls{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e2e5e9;border-radius:13px;padding:10px 12px}.bca-smart2-search{display:flex;align-items:center;gap:7px;min-width:300px;flex:1;border:1px solid #dfe3e8;border-radius:9px;padding:0 10px;background:#fff}.bca-smart2-search input{width:100%;height:38px;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;font-size:11px}.bca-smart2-controls select{height:40px;border:1px solid #dfe3e8;border-radius:9px;background:#fff;padding:0 30px 0 11px;font-size:11px}.bca-smart2-diagnose-btn{flex:none;white-space:nowrap;height:32px;padding:0 10px;border:1px solid #7a1312;border-radius:7px;background:#fff;color:#7a1312;font-size:10.5px;font-weight:700;cursor:pointer}.bca-smart2-diagnose-btn:hover{background:#fdf3f3}.bca-smart2-diagnose-btn:disabled{opacity:.5;cursor:default}.bca-smart-detail-debug-wrap{margin-top:10px;font-size:11px}.bca-smart-detail-debug-wrap summary{cursor:pointer;color:#7a1312;font-weight:700}.bca-smart-detail-debug{max-height:260px;overflow:auto;background:#f7f7f7;border:1px solid #e2e5e9;border-radius:8px;padding:10px;font-size:10.5px;white-space:pre-wrap;word-break:break-word;margin-top:6px}
.bca-smart2-message{min-height:0;font-size:11px;font-weight:700;padding:0 4px}.bca-smart2-message:empty{display:none}.bca-smart2-message.is-ok{color:#16833a}.bca-smart2-message.is-error{color:#b51c1a}
.bca-smart2-campaigns{display:flex;flex-direction:column;gap:14px}.bca-smart2-campaign{background:#fff;border:1px solid #dfe3e7;border-radius:14px;overflow:hidden;box-shadow:0 3px 12px rgba(0,0,0,.025)}.bca-smart2-campaign>header{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:13px 15px;border-bottom:1px solid #e8eaed;background:#fff}.bca-smart2-campaign h3{margin:0;font-size:13px;font-weight:850;color:#17191d}.bca-smart2-campaign header p{margin:4px 0 0;font-size:9.5px;color:#7a828d}.bca-smart2-campaign-tools{display:flex;align-items:center;gap:9px}.bca-smart2-campaign-tools label{font-size:10px;color:#555;display:flex;align-items:center;gap:6px;white-space:nowrap}.bca-smart2-campaign-tools button{height:34px;border:1px solid #d01f1e;border-radius:8px;background:#c51d1c;color:#fff;font-size:10px;font-weight:800;padding:0 12px;cursor:pointer}.bca-smart2-campaign-tools button:disabled{opacity:.4;cursor:not-allowed}
.bca-smart2-scroll{width:100%;overflow:auto}.bca-smart2-campaign table{width:100%;min-width:1420px;border-collapse:separate;border-spacing:0;table-layout:fixed}.bca-smart2-campaign th{background:#f7f7f8;color:#555d67;font-size:8.5px;font-weight:850;text-transform:uppercase;padding:9px 7px;border-bottom:1px solid #dedfe2;text-align:center}.bca-smart2-campaign td{padding:11px 7px;border-bottom:1px solid #eceef1;border-right:1px solid #f1f2f4;text-align:center;vertical-align:middle;font-size:10px;color:#2b3036}.bca-smart2-campaign td:last-child{border-right:0}.bca-smart2-campaign tbody tr:last-child td{border-bottom:0}.bca-smart2-campaign th:first-child,.bca-smart2-campaign td.select{width:38px}.bca-smart2-campaign td.photo{width:82px}.bca-smart2-campaign td.photo img{display:block;width:58px;height:58px;object-fit:contain;background:#fff;border:1px solid #e1e3e6;border-radius:9px;margin:auto}
.bca-smart2-mla,.bca-smart2-sku,.bca-smart2-smart,.bca-smart2-offer,.bca-smart2-bc{display:flex;flex-direction:column;align-items:center;gap:3px}.bca-smart2-mla small{font-size:7.5px;font-weight:900;background:#f0f1f2;border-radius:999px;padding:3px 6px}.bca-smart2-mla strong{font:750 9.5px ui-monospace,SFMono-Regular,Menlo,monospace;color:#111}.bca-smart2-sku small{font-size:8px;color:#858b93;background:#f2f2f2;border-radius:999px;padding:3px 7px}.bca-smart2-sku strong{font:800 10px ui-monospace,SFMono-Regular,Menlo,monospace;color:#111}
.bca-smart2-quota{display:inline-block;padding:5px 8px;border-radius:999px;border:1px solid #d6d8dc;font-size:9px;font-weight:850;white-space:nowrap}.bca-smart2-quota.sin{background:#fff;border-color:#d72220;color:#b81716}.bca-smart2-quota.con{background:#eef4ff;border-color:#cddcf9;color:#275bbb}
.bca-smart2-smart{min-width:150px}.bca-smart2-smart>strong{font-size:10.5px;color:#111}.bca-smart2-smart>small{font-size:8px;color:#848a92}.bca-smart2-smart>label{margin-top:4px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:8px;color:#666}.bca-smart2-pct-input{display:inline-flex;align-items:center;border:1px solid #ccd1d7;border-radius:7px;background:#fff;overflow:hidden}.bca-smart2-pct-input input{width:50px;height:29px;border:0!important;outline:0!important;box-shadow:none!important;text-align:right;padding:0 4px!important;font-size:11px;font-weight:850}.bca-smart2-pct-input i{font-style:normal;padding-right:7px;color:#6b7179}.bca-smart2-smart>em{font-style:normal;font-size:7.5px;color:#8a9098}.bca-smart2-smart>em.sim{color:#c77700;font-weight:800}.bca-smart2-smart.active>strong{color:#148338}.bca-smart2-smart.active>span{font-weight:750}
.bca-smart2-offer{min-width:155px;gap:5px}.bca-smart2-offer span{display:flex;align-items:baseline;justify-content:space-between;width:100%;gap:8px}.bca-smart2-offer small{font-size:7.5px;color:#777}.bca-smart2-offer b{font-size:10px;color:#111}.bca-smart2-offer b.seller{color:#148338}.bca-smart2-offer em{font-style:normal;font-size:7.5px;color:#7b828b}
.bca-smart2-bc b{font-size:11px;color:#111}.bca-smart2-bc small{font-size:8px;color:#b21b19;font-weight:800}.bca-smart2-bc em{font-style:normal;font:850 10px ui-monospace,SFMono-Regular,Menlo,monospace;padding:5px 8px;border-radius:8px}.bca-smart2-bc em.ok{background:#e9f6ec;color:#19813b}.bca-smart2-bc em.bad{background:#fff0ef;color:#b51c1a}.bca-smart2-result{display:inline-flex;align-items:center;justify-content:center;min-width:72px;padding:6px 8px;border-radius:9px;font-size:8.5px;font-weight:900;white-space:normal;line-height:1.05}.bca-smart2-result.ok{background:#e8f6eb;color:#17813a}.bca-smart2-result.bad{background:#ffe9e7;color:#bb201d}.bca-smart2-result.review{background:#eff1f3;color:#676e77}
.bca-smart2-actions{display:flex;flex-direction:column;align-items:center;gap:5px}.bca-smart2-actions button{min-width:92px;min-height:31px;border-radius:8px;font-size:9px;font-weight:800;cursor:pointer;padding:5px 8px}.bca-smart2-actions .detail{background:#fff;border:1px solid #d5d9de;color:#333}.bca-smart2-actions .join,.bca-smart2-actions .leave{background:#fff5f4;border:1px solid #efaaa7;color:#ba201e}.bca-smart2-actions .join:not(:disabled):hover,.bca-smart2-actions .leave:not(:disabled):hover{background:#c51d1c;color:#fff;border-color:#c51d1c}.bca-smart2-actions button:disabled{opacity:.4;cursor:not-allowed}
.bca-smart2-empty{background:#fff;border:1px solid #e1e4e8;border-radius:13px;padding:30px;text-align:center;color:#858c95;font-size:12px}.bca-smart2-empty.is-error{color:#b51c1a}.bca-smart2-footer{font-size:9.5px;color:#808792;padding:0 4px}
.bca-smart-detail-card{position:relative;max-width:760px!important}.bca-smart-detail-close{position:absolute;right:16px;top:12px;border:0;background:transparent;font-size:28px;color:#555;cursor:pointer}.bca-smart-detail-product{display:flex;align-items:center;gap:12px;padding:12px;background:#f7f8f9;border-radius:12px;margin:10px 0 15px}.bca-smart-detail-product img{width:62px;height:62px;object-fit:contain;background:#fff;border:1px solid #ddd;border-radius:9px}.bca-smart-detail-product div{display:flex;flex-direction:column;gap:3px}.bca-smart-detail-product strong{font-size:14px}.bca-smart-detail-product span,.bca-smart-detail-product small{font-size:10px;color:#737983}.bca-smart-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bca-smart-detail-grid>span{display:flex;flex-direction:column;gap:3px;border:1px solid #e2e4e7;border-radius:10px;padding:10px}.bca-smart-detail-grid small{font-size:8px;color:#858b93;text-transform:uppercase;font-weight:800}.bca-smart-detail-grid b{font-size:12px}.bca-smart-detail-warning{margin:12px 0 0;padding:10px;border-radius:9px;background:#fff7e9;color:#996000;font-size:10px;font-weight:700}
@media(max-width:1100px){.bca-smart2-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.bca-smart2-note{grid-template-columns:1fr}.bca-smart2-campaign>header{align-items:flex-start;flex-direction:column}.bca-smart2-campaign-tools{width:100%;justify-content:flex-end}}
@media(max-width:700px){.bca-smart2-stats{grid-template-columns:1fr}.bca-smart2-head{flex-direction:column}.bca-smart2-controls{flex-wrap:wrap}.bca-smart2-search{min-width:100%}.bca-smart-detail-grid{grid-template-columns:1fr}}


/* ===== v181 / 8.9.248 — SMART: Principal + Catálogo agrupados + fotos corregidas ===== */
.bca-smart2-campaign table{min-width:1280px!important}
.bca-smart2-campaign td.photo{width:92px!important}
.bca-smart2-campaign td.photo img{width:72px!important;height:72px!important}
.bca-smart2-group-row>td{padding-top:16px!important;padding-bottom:16px!important;vertical-align:middle!important}
.bca-smart2-mla-group{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:150px;max-width:210px;margin:0 auto}
.bca-smart2-mla-group .bca-smart2-mla{display:grid;grid-template-columns:minmax(66px,auto) 1fr auto;align-items:center;gap:6px;padding:4px 0;border-bottom:1px solid #edf0f2}
.bca-smart2-mla-group .bca-smart2-mla:last-child{border-bottom:0}
.bca-smart2-mla-group .bca-smart2-mla small{justify-self:start;font-size:7.5px}
.bca-smart2-mla-group .bca-smart2-mla strong{justify-self:start;font-size:9px}
.bca-smart2-sku{min-width:145px}
.bca-smart2-smart{min-width:165px}
.bca-smart2-offer{min-width:170px}
.bca-smart2-actions{min-width:112px}
.bca-smart2-actions button{min-width:108px!important}
.bca-smart-detail-product>.noimg{width:62px;height:62px;display:flex;align-items:center;justify-content:center;border:1px solid #ddd;border-radius:9px;background:#fff;color:#999}
.bca-smart-detail-product>img{width:62px!important;height:62px!important;object-fit:contain!important}
.bca-smart-detail-related{margin:12px 0 0;padding:10px;border-radius:9px;background:#f5f7f9;color:#5e6670;font-size:10px;font-weight:700;line-height:1.4}

/* ===== v182 / 8.9.249 — Oportunidades MELI: controles según tipo real ===== */
.bca-smart2-type{display:inline-flex;align-self:center;justify-content:center;max-width:100%;margin:3px 0 1px;padding:3px 7px;border-radius:999px;background:#f0f2f4;color:#5d636b;font-size:7.5px!important;font-weight:850;line-height:1;text-transform:uppercase;letter-spacing:.02em}
.bca-smart2-type.smart,.bca-smart2-type.price_matching,.bca-smart2-type.marketplace_campaign{background:#eaf6ed;color:#1c7d3c}
.bca-smart2-type.lightning{background:#fff3d7;color:#a66800}
.bca-smart2-type.dod{background:#eaf2ff;color:#205dad}
.bca-smart2-smart>label.locked,.bca-smart2-smart>label.editable,.bca-smart2-smart>label.stock{margin-top:6px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important}
.bca-smart2-pct-locked{min-width:58px;height:30px;padding:0 8px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e0e3e7;border-radius:7px;background:#f5f6f7;color:#555;font-size:11px;font-weight:850}
.bca-smart2-smart>label.locked+em{max-width:150px;color:#7f858c!important;line-height:1.2}
.bca-smart2-stock-input{display:inline-flex;align-items:center;border:1px solid #ccd1d7;border-radius:7px;background:#fff;overflow:hidden}
.bca-smart2-stock-input input{width:62px;height:29px;border:0!important;outline:0!important;box-shadow:none!important;text-align:center;padding:0 5px!important;font-size:11px;font-weight:850}
.bca-smart2-smart>label.stock+em{color:#6b7179!important}
.bca-smart2-smart>label.editable .bca-smart2-pct-input{border-color:#d1d5da}
.bca-smart2-smart>label.editable .bca-smart2-pct-input:focus-within{border-color:#c91d22;box-shadow:0 0 0 2px rgba(201,29,34,.08)}


/* v8.9.250 / v185 — Oportunidades MELI: terminación visual y detalles completos */
.bca-smart2-campaign td.family-shared{vertical-align:middle!important;background:#fff}
.bca-smart2-campaign tr.family-last>td{border-bottom:9px solid #f5f6f7!important}
.bca-smart2-campaign tbody tr:last-child>td{border-bottom-width:0!important}
.bca-smart2-campaign td.sku-shared{min-width:160px}
.bca-smart2-campaign td.photo.family-shared{min-width:100px}
.bca-smart2-campaign td.photo.family-shared img{width:78px!important;height:78px!important}
.bca-smart2-offer{gap:4px!important;min-width:190px!important}
.bca-smart2-offer span.original{padding-bottom:4px;margin-bottom:1px;border-bottom:1px solid #eceef1}
.bca-smart2-offer span.original b{color:#6b7179;font-weight:750}
.bca-smart2-contrib-lines{width:100%;display:flex;flex-direction:column;gap:2px;margin-top:2px;padding-top:4px;border-top:1px solid #f0f1f3}
.bca-smart2-contrib-lines em{display:flex;align-items:baseline;justify-content:space-between;gap:8px;width:100%;font-size:7.7px!important;color:#7a818a!important}
.bca-smart2-contrib-lines em b{font-size:7.5px!important;color:#4b5159!important;text-transform:uppercase;letter-spacing:.02em}
.bca-smart2-type-row{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap;margin:2px 0}
.bca-smart2-rule{display:inline-flex;align-items:center;justify-content:center;padding:3px 7px;border-radius:999px;font-size:7.2px;font-weight:850;line-height:1;text-transform:uppercase}
.bca-smart2-rule.editable{background:#eef4ff;color:#275bbb}
.bca-smart2-rule.fixed{background:#f1f2f4;color:#676e77}
.bca-smart2-rule.shared{background:#eaf6ed;color:#1c7d3c}
.bca-smart2-smart>em{max-width:175px;line-height:1.25}
.bca-smart2-campaign>header h3{font-family:'Oswald',sans-serif;font-size:14px!important;letter-spacing:.01em}
.bca-smart2-campaign>header p{font-size:9.7px!important;line-height:1.35}
.bca-smart2-campaign th{font-size:8.8px!important}
.bca-smart2-bc{min-width:112px}
.bca-smart2-bc b{font-size:12px!important}
.bca-smart2-result{min-width:82px!important;padding:7px 9px!important}


/* v8.9.251 / v187 — SMART: orden Base Comercial + Principal/Catálogo + copiar MLA */
.bca-smart2-mla-group{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%}
.bca-smart2-mla-entry{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;width:100%}
.bca-smart2-mla-entry .bca-mla-label-row,.bca-smart2-mla-entry .bca-mla-code-row{display:flex;align-items:center;justify-content:center;width:100%}
.bca-smart2-mla-entry .bca-copyable-code{display:inline-flex;align-items:center;justify-content:center;gap:7px;max-width:100%}
.bca-smart2-mla-entry .bca-code-text{cursor:pointer;font-weight:800;white-space:nowrap}
.bca-smart2-mla-entry.is-offer .bca-code-text{color:#111}
.bca-smart2-group-row.family-last>td{border-bottom-width:10px!important;border-bottom-color:#f4f5f6!important}


/* v8.9.252 / v188 — SMART: copiar MLA/SKU con SVG real */
.bca-price-check-app :is(#view-posibles-smart,#view-smart-activas) .bca-copyable-code{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-width:0!important;
  background:transparent!important;
}
.bca-price-check-app :is(#view-posibles-smart,#view-smart-activas) .bca-code-text{
  cursor:pointer!important;
  white-space:nowrap!important;
  font-weight:800!important;
  line-height:1.15!important;
}
.bca-price-check-app :is(#view-posibles-smart,#view-smart-activas) .bca-code-text:hover{
  text-decoration:underline!important;
  text-underline-offset:2px!important;
}
.bca-price-check-app :is(#view-posibles-smart,#view-smart-activas) .bca-code-text:focus-visible{
  outline:2px solid #a8b9ca!important;
  outline-offset:2px!important;
  border-radius:3px!important;
}
.bca-price-check-app :is(#view-posibles-smart,#view-smart-activas) .bca-copy-btn{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:inline-grid!important;
  place-items:center!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  min-height:22px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:6px!important;
  background:transparent!important;
  color:#70757d!important;
  box-shadow:none!important;
  line-height:1!important;
  cursor:pointer!important;
}
.bca-price-check-app :is(#view-posibles-smart,#view-smart-activas) .bca-copy-btn:hover{
  background:#efeff0!important;
  color:#222!important;
}
.bca-price-check-app :is(#view-posibles-smart,#view-smart-activas) .bca-copy-btn:active{transform:scale(.92)!important;}
.bca-price-check-app :is(#view-posibles-smart,#view-smart-activas) .bca-copy-btn.is-copied{
  background:#edf7ea!important;
  color:#267326!important;
}
.bca-price-check-app :is(#view-posibles-smart,#view-smart-activas) .bca-copy-svg{
  display:block!important;
  width:14px!important;
  height:14px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  pointer-events:none!important;
}
.bca-price-check-app :is(#view-posibles-smart,#view-smart-activas) .bca-copy-svg-check{stroke-width:2.2!important;}
.bca-price-check-app :is(#view-posibles-smart,#view-smart-activas) .bca-smart2-sku{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
}
.bca-price-check-app :is(#view-posibles-smart,#view-smart-activas) .bca-smart2-sku .sku-code{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  font-family:inherit!important;
}


/* v8.9.253 / v189 — SMART: Oferta MELI con más ancho y mejor distribución */
.bca-smart2-campaign table{min-width:1540px!important}
.bca-smart2-campaign th:nth-child(7),
.bca-smart2-campaign td:nth-child(7){min-width:235px!important;width:235px!important}
.bca-smart2-offer{min-width:225px!important;align-items:stretch!important;text-align:left!important;padding:0 2px!important}
.bca-smart2-offer span{display:grid!important;grid-template-columns:minmax(78px,auto) 1fr!important;align-items:baseline!important;justify-content:stretch!important;gap:10px!important;width:100%!important}
.bca-smart2-offer small{font-size:8px!important;line-height:1.15!important;text-align:left!important;white-space:nowrap!important}
.bca-smart2-offer b{font-size:10.5px!important;line-height:1.1!important;text-align:right!important;justify-self:end!important;white-space:nowrap!important}
.bca-smart2-offer span.original{padding-bottom:5px!important;margin-bottom:2px!important}
.bca-smart2-contrib-lines{gap:4px!important;padding-top:6px!important}
.bca-smart2-contrib-lines em{display:grid!important;grid-template-columns:minmax(78px,auto) 1fr!important;align-items:baseline!important;gap:10px!important;width:100%!important;font-size:8px!important;line-height:1.15!important;text-align:left!important}
.bca-smart2-contrib-lines em b{font-size:8px!important;justify-self:start!important}
.bca-smart2-contrib-lines em span,.bca-smart2-contrib-lines em strong{justify-self:end!important}


/* v8.9.254 / v190 — SMART: tabla adaptable al ancho de pantalla */
@media (min-width:1101px){
  .bca-smart2-scroll{overflow-x:hidden!important}
  .bca-smart2-campaign table{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    table-layout:fixed!important;
  }

  /* SMART disponibles: 10 columnas */
  #view-posibles-smart .bca-smart2-campaign th:nth-child(1),
  #view-posibles-smart .bca-smart2-campaign td:nth-child(1){width:3%!important}
  #view-posibles-smart .bca-smart2-campaign th:nth-child(2),
  #view-posibles-smart .bca-smart2-campaign td:nth-child(2){width:7%!important}
  #view-posibles-smart .bca-smart2-campaign th:nth-child(3),
  #view-posibles-smart .bca-smart2-campaign td:nth-child(3){width:13%!important}
  #view-posibles-smart .bca-smart2-campaign th:nth-child(4),
  #view-posibles-smart .bca-smart2-campaign td:nth-child(4){width:12%!important}
  #view-posibles-smart .bca-smart2-campaign th:nth-child(5),
  #view-posibles-smart .bca-smart2-campaign td:nth-child(5){width:7%!important}
  #view-posibles-smart .bca-smart2-campaign th:nth-child(6),
  #view-posibles-smart .bca-smart2-campaign td:nth-child(6){width:15%!important}
  #view-posibles-smart .bca-smart2-campaign th:nth-child(7),
  #view-posibles-smart .bca-smart2-campaign td:nth-child(7){width:16%!important;min-width:0!important}
  #view-posibles-smart .bca-smart2-campaign th:nth-child(8),
  #view-posibles-smart .bca-smart2-campaign td:nth-child(8){width:9%!important}
  #view-posibles-smart .bca-smart2-campaign th:nth-child(9),
  #view-posibles-smart .bca-smart2-campaign td:nth-child(9){width:8%!important}
  #view-posibles-smart .bca-smart2-campaign th:nth-child(10),
  #view-posibles-smart .bca-smart2-campaign td:nth-child(10){width:10%!important}

  /* SMART activas: 9 columnas */
  #view-smart-activas .bca-smart2-campaign th:nth-child(1),
  #view-smart-activas .bca-smart2-campaign td:nth-child(1){width:8%!important}
  #view-smart-activas .bca-smart2-campaign th:nth-child(2),
  #view-smart-activas .bca-smart2-campaign td:nth-child(2){width:14%!important}
  #view-smart-activas .bca-smart2-campaign th:nth-child(3),
  #view-smart-activas .bca-smart2-campaign td:nth-child(3){width:13%!important}
  #view-smart-activas .bca-smart2-campaign th:nth-child(4),
  #view-smart-activas .bca-smart2-campaign td:nth-child(4){width:8%!important}
  #view-smart-activas .bca-smart2-campaign th:nth-child(5),
  #view-smart-activas .bca-smart2-campaign td:nth-child(5){width:16%!important}
  #view-smart-activas .bca-smart2-campaign th:nth-child(6),
  #view-smart-activas .bca-smart2-campaign td:nth-child(6){width:17%!important;min-width:0!important}
  #view-smart-activas .bca-smart2-campaign th:nth-child(7),
  #view-smart-activas .bca-smart2-campaign td:nth-child(7){width:10%!important}
  #view-smart-activas .bca-smart2-campaign th:nth-child(8),
  #view-smart-activas .bca-smart2-campaign td:nth-child(8){width:7%!important}
  #view-smart-activas .bca-smart2-campaign th:nth-child(9),
  #view-smart-activas .bca-smart2-campaign td:nth-child(9){width:7%!important}

  .bca-smart2-mla-group,
  .bca-smart2-sku,
  .bca-smart2-smart,
  .bca-smart2-offer,
  .bca-smart2-bc,
  .bca-smart2-actions{
    min-width:0!important;
    max-width:100%!important;
  }
  .bca-smart2-offer{padding:0!important}
  .bca-smart2-offer span,
  .bca-smart2-contrib-lines em{
    grid-template-columns:minmax(62px,auto) minmax(0,1fr)!important;
    gap:6px!important;
  }
  .bca-smart2-offer small,
  .bca-smart2-contrib-lines em,
  .bca-smart2-smart>em{
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  .bca-smart2-offer b{font-size:10px!important}
  .bca-smart2-actions button{
    width:100%!important;
    min-width:0!important;
    padding-left:5px!important;
    padding-right:5px!important;
  }
  .bca-smart2-campaign td{overflow:hidden}
}

@media (max-width:1100px){
  .bca-smart2-campaign table{min-width:1180px!important}
  .bca-smart2-scroll{overflow-x:auto!important}
}


/* v8.9.255 / v191 — SMART: SKU más compacto */
@media (min-width:1101px){
  /* SMART disponibles */
  #view-posibles-smart .bca-smart2-campaign th:nth-child(4),
  #view-posibles-smart .bca-smart2-campaign td:nth-child(4){width:9%!important}
  #view-posibles-smart .bca-smart2-campaign th:nth-child(6),
  #view-posibles-smart .bca-smart2-campaign td:nth-child(6){width:16%!important}
  #view-posibles-smart .bca-smart2-campaign th:nth-child(7),
  #view-posibles-smart .bca-smart2-campaign td:nth-child(7){width:18%!important}

  /* SMART activas */
  #view-smart-activas .bca-smart2-campaign th:nth-child(3),
  #view-smart-activas .bca-smart2-campaign td:nth-child(3){width:10%!important}
  #view-smart-activas .bca-smart2-campaign th:nth-child(5),
  #view-smart-activas .bca-smart2-campaign td:nth-child(5){width:17%!important}
  #view-smart-activas .bca-smart2-campaign th:nth-child(6),
  #view-smart-activas .bca-smart2-campaign td:nth-child(6){width:19%!important}
}
.bca-price-check-app :is(#view-posibles-smart,#view-smart-activas) .bca-smart2-sku strong,
.bca-price-check-app :is(#view-posibles-smart,#view-smart-activas) .bca-smart2-sku .sku-code{
  font-size:9.3px!important;
}
.bca-price-check-app :is(#view-posibles-smart,#view-smart-activas) .bca-smart2-sku small{
  font-size:7.6px!important;
  padding:3px 6px!important;
}


/* v8.9.255 / v195 — Estado: DOD programada, activa e histórica dentro de la semana */
.bca-price-check-app #view-estado .promo-state-promo-head.scheduled{color:#245fa8!important}
.bca-price-check-app #view-estado .promo-state-promo-head.scheduled i{background:#3d7fd1!important}
.bca-price-check-app #view-estado .promo-state-week i.scheduled{border:2px solid #3d7fd1!important;background:#fff!important;box-shadow:0 0 0 2px #e4effc inset!important}
.bca-price-check-app #view-estado .promo-state-week i.past{border:2px solid #9a9da2!important;background:#f3f4f5!important}


/* v8.9.257 / v197 — Precios: PRENEGOCIADAS programadas visibles */
#view-promo-precios-manual .promo-prices-pending-label{
  color:#255db0!important;
  font-size:8px!important;
  font-weight:850!important;
  margin-top:3px!important;
}


/* v8.9.258 / v198 — Estado: badge DXI + DOD programada más compacto */
.bca-price-check-app #view-estado .promo-state-badge.partial.combo{
  display:inline-grid!important;
  grid-template-columns:13px auto!important;
  align-items:center!important;
  gap:6px!important;
  width:auto!important;
  max-width:112px!important;
  padding:6px 8px!important;
  border-radius:16px!important;
  line-height:1.05!important;
  text-align:left!important;
}
.bca-price-check-app #view-estado .promo-state-badge.partial.combo>b{
  width:13px!important;
  height:13px!important;
  flex-basis:13px!important;
  border-width:1.5px!important;
  font-size:8px!important;
}
.bca-price-check-app #view-estado .promo-state-badge.partial.combo>span{
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
  min-width:0!important;
}
.bca-price-check-app #view-estado .promo-state-badge.partial.combo strong{
  font-size:8.5px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.bca-price-check-app #view-estado .promo-state-badge.partial.combo small{
  font-size:7.5px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}


/* v201 / 8.9.261 — Estado: exportación DOD/DXI a Excel */
.bca-price-check-app #view-estado .promo-state-excel-export{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:14px;padding:16px 18px;background:#fff;border:1px solid #e1e4e8;border-radius:13px}
.bca-price-check-app #view-estado .promo-state-excel-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.bca-price-check-app #view-estado .promo-state-excel-copy strong{font-size:12px;color:#16191d}
.bca-price-check-app #view-estado .promo-state-excel-copy span{font-size:9.5px;line-height:1.45;color:#737b86}
.bca-price-check-app #view-estado .promo-state-excel-actions{display:flex;align-items:center;gap:9px;flex:0 0 auto}
.bca-price-check-app #view-estado .promo-state-excel-actions select{height:40px;min-width:125px;border:1px solid #d9dde2;border-radius:9px;background:#fff;padding:0 30px 0 11px;font-size:11px;font-weight:700;color:#222}
.bca-price-check-app #view-estado .promo-state-excel-actions .btn{height:40px!important;min-height:40px!important;white-space:nowrap}
@media(max-width:760px){.bca-price-check-app #view-estado .promo-state-excel-export{align-items:stretch;flex-direction:column}.bca-price-check-app #view-estado .promo-state-excel-actions{width:100%;flex-wrap:wrap}.bca-price-check-app #view-estado .promo-state-excel-actions select,.bca-price-check-app #view-estado .promo-state-excel-actions .btn{flex:1 1 160px}}


/* v8.9.274 / v210 — SMART: copiar consistente, SKU completo y acción sin mensaje clavado */
.bca-price-check-app :is(#view-posibles-smart,#view-smart-activas) .bca-code-text{
  padding:2px 3px!important;
  border-radius:5px!important;
  background:transparent!important;
  transition:background-color .12s ease,color .12s ease,box-shadow .12s ease!important;
}
.bca-price-check-app :is(#view-posibles-smart,#view-smart-activas) .bca-code-text:hover{
  text-decoration:none!important;
  background:#f1f2f3!important;
  box-shadow:inset 0 0 0 1px #e3e5e7!important;
}
.bca-price-check-app :is(#view-posibles-smart,#view-smart-activas) .bca-code-text.is-copied{
  background:#edf7ea!important;
  color:#267326!important;
  box-shadow:inset 0 0 0 1px #cce7c7!important;
}
.bca-price-check-app :is(#view-posibles-smart,#view-smart-activas) .bca-smart2-sku{
  width:100%!important;
  min-width:0!important;
  overflow:visible!important;
}
.bca-price-check-app :is(#view-posibles-smart,#view-smart-activas) .bca-smart2-sku .sku-code{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 22px!important;
  align-items:center!important;
  justify-content:stretch!important;
  width:100%!important;
  max-width:100%!important;
  gap:5px!important;
}
.bca-price-check-app :is(#view-posibles-smart,#view-smart-activas) .bca-smart2-sku .bca-code-text{
  min-width:0!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  text-align:center!important;
  line-height:1.25!important;
}
@media (min-width:1101px){
  #view-posibles-smart .bca-smart2-campaign th:nth-child(4),
  #view-posibles-smart .bca-smart2-campaign td:nth-child(4){width:11%!important}
  #view-posibles-smart .bca-smart2-campaign th:nth-child(6),
  #view-posibles-smart .bca-smart2-campaign td:nth-child(6){width:15%!important}
  #view-posibles-smart .bca-smart2-campaign th:nth-child(7),
  #view-posibles-smart .bca-smart2-campaign td:nth-child(7){width:17%!important}

  #view-smart-activas .bca-smart2-campaign th:nth-child(3),
  #view-smart-activas .bca-smart2-campaign td:nth-child(3){width:12%!important}
  #view-smart-activas .bca-smart2-campaign th:nth-child(5),
  #view-smart-activas .bca-smart2-campaign td:nth-child(5){width:16%!important}
  #view-smart-activas .bca-smart2-campaign th:nth-child(6),
  #view-smart-activas .bca-smart2-campaign td:nth-child(6){width:18%!important}
}


/* v8.9.276 — Nuevo producto: costos AUTO KIT desde VirtualSeller */
.product-kit-auto-status{display:flex;align-items:flex-start;gap:10px;margin:-4px 0 16px;padding:11px 13px;border:1px solid #dfe2e5;border-radius:10px;background:#f4f5f6;color:#656b72;font-size:11px;line-height:1.35;}
.product-kit-auto-status[hidden]{display:none!important;}
.product-kit-auto-status>div{display:grid;gap:2px;min-width:0;}
.product-kit-auto-status strong{font-size:12px;color:#3f454b;}
.product-kit-auto-status>div>span{color:#777f87;font-weight:500;overflow-wrap:anywhere;}
.product-kit-auto-badge{flex:0 0 auto;display:inline-flex;align-items:center;min-height:22px;padding:3px 7px;border-radius:999px;background:#e8eaed;color:#596169;font-size:9px;font-weight:900;letter-spacing:.25px;}
.product-kit-auto-status.is-ready{background:#f2f5f3;border-color:#d8e1db;}
.product-kit-auto-status.is-ready .product-kit-auto-badge{background:#e3e9e5;color:#4d5d52;}
.product-kit-auto-status.is-warning{background:#f8f6f1;border-color:#e6dfcf;}
.product-kit-auto-status.is-warning .product-kit-auto-badge{background:#ece7dc;color:#6e6554;}
.product-kit-auto-status.is-searching{opacity:.86;}
.product-editor-form input.bca-auto-kit-input{background:#f0f1f2!important;color:#666d73!important;border-color:#d9dde0!important;box-shadow:none!important;cursor:not-allowed;}
.family-share-field.is-kit-locked{background:#f2f3f4!important;color:#777!important;border-color:#dfe1e3!important;}
.family-share-field.is-kit-locked input{cursor:not-allowed;}

/* v8.9.277 / v213 — FULL: demanda 30d + reserva semanal dinámica */
.fullplan-reference b,.fullplan-sales30 b,.fullplan-trend b,.fullplan-reserve b{display:block;font-size:11px;color:#222}.fullplan-reference span,.fullplan-sales30 span,.fullplan-trend span,.fullplan-reserve span{display:block;font-size:7px;color:#777;margin-top:3px;line-height:1.2}.fullplan-trend.up b,.fullplan-trend.up span{color:#b86400}.fullplan-trend.down b,.fullplan-trend.down span{color:#527161}.fullplan-trend.stable b{color:#333}.fullplan-reason{display:block;margin-top:5px;font-size:6.8px;line-height:1.25;color:#777;white-space:normal}.fullplan-table td:nth-child(10){padding-left:7px;padding-right:7px}.fullplan-status{white-space:normal;line-height:1.15;max-width:100%}

/* v214 — FULL: ayuda arriba y tabla a ancho completo */
.fullplan-help-wide{background:#fff;border:1px solid #dedede;border-radius:14px;padding:13px 16px;margin-bottom:14px;box-shadow:0 4px 16px rgba(0,0,0,.025);display:flex;align-items:flex-start;gap:18px}
.fullplan-help-wide>strong{flex:0 0 auto;color:#205aa8;font-size:11px;line-height:1.35;padding-top:2px}
.fullplan-help-items{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px 16px;min-width:0;flex:1}
.fullplan-help-items span{position:relative;padding-left:14px;font-size:8px;line-height:1.35;color:#606060}
.fullplan-help-items span:before{content:'✓';position:absolute;left:0;top:0;color:#56746b;font-weight:900}
.fullplan-table-card{width:100%;max-width:none}
@media(max-width:1250px){.fullplan-help-items{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.fullplan-help-wide{display:block}.fullplan-help-wide>strong{display:block;margin-bottom:10px}.fullplan-help-items{grid-template-columns:1fr}}


/* v227 — Nueva versión: aviso seguro, sin recargar mientras alguien trabaja */
.bca-build-update-notice{
  position:fixed;right:20px;bottom:20px;z-index:100000;
  width:min(430px,calc(100vw - 28px));display:flex;align-items:center;gap:14px;
  padding:14px 15px;background:#fff;border:1px solid #dedede;border-radius:14px;
  box-shadow:0 14px 40px rgba(0,0,0,.14);color:#222;
}
.bca-build-update-notice[hidden]{display:none!important}
.bca-build-update-copy{display:grid;gap:3px;min-width:0;flex:1}
.bca-build-update-copy strong{font-size:13px;line-height:1.25;color:#222}
.bca-build-update-copy span{font-size:10px;line-height:1.35;color:#6c6c6c}
.bca-build-update-notice button{
  flex:0 0 auto;border:0;border-radius:9px;padding:9px 12px;
  background:#991b1b;color:#fff;font:inherit;font-size:10px;font-weight:800;
  cursor:pointer;white-space:nowrap;
}
.bca-build-update-notice button:hover{background:#7f1717}
.bca-build-update-notice button:disabled{opacity:.55;cursor:wait}
@media(max-width:620px){
  .bca-build-update-notice{right:14px;bottom:14px;align-items:stretch;flex-direction:column}
  .bca-build-update-notice button{width:100%}
}

.bca-campaign-map-type.smart{background:#eefbf3;color:#087a43;}


/* ===== v8.9.295 / v231 — LINKS alineados + acceso automático a Mercado Ads ===== */
#view-base td.col-links{vertical-align:middle!important;text-align:center!important}
#view-base .bca-links-stack{display:grid!important;grid-template-rows:18px 18px 18px 18px!important;align-content:center!important;justify-items:center!important;gap:3px!important;width:100%!important;min-height:81px!important}
#view-base .bca-link-slot{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;line-height:1!important}
#view-base .bca-link-slot.is-empty{visibility:hidden!important}
#view-base .bca-links-stack :is(.mla-link,.vs-link,.bca-edit-product-link,.bca-ads-link){display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;min-height:16px!important;font-size:8.5px!important;line-height:1!important;font-weight:650!important;white-space:nowrap!important;text-decoration:none!important;cursor:pointer!important}
#view-base .bca-links-stack .bca-edit-product-link{color:#a71919!important;font-weight:800!important}
#view-base .bca-links-stack .bca-ads-link{color:#165fb8!important;font-weight:800!important}
#view-base .bca-links-stack .bca-ads-link:hover{color:#0b4388!important;text-decoration:underline!important}
#view-base .bca-links-stack .bca-ads-link.is-disabled{color:#aaa!important;cursor:default!important}
#view-base .bca-links-stack .link-missing-note{display:none!important}

.bca-ads-modal[hidden]{display:none!important}.bca-ads-modal{position:fixed;inset:0;z-index:100050;display:grid;place-items:center;padding:22px}.bca-ads-backdrop{position:absolute;inset:0;background:rgba(16,18,22,.48);backdrop-filter:blur(2px)}.bca-ads-dialog{position:relative;width:min(680px,calc(100vw - 32px));max-height:min(720px,calc(100vh - 42px));overflow:hidden;background:#fff;border:1px solid #dedede;border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.24)}.bca-ads-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px 16px;border-bottom:1px solid #ededed}.bca-ads-dialog>header small{display:block;color:#267048;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.5px;margin-bottom:5px}.bca-ads-dialog>header h3{margin:0;font-size:20px;color:#171717}.bca-ads-close{border:0;background:#f2f3f4;width:34px;height:34px;border-radius:50%;font-size:23px;line-height:1;cursor:pointer;color:#555}.bca-ads-body{padding:18px 22px 22px;overflow:auto;max-height:calc(100vh - 145px)}.bca-ads-loading,.bca-ads-empty{padding:32px 18px;text-align:center;color:#6f6f6f}.bca-ads-empty{display:grid;gap:9px;justify-items:center}.bca-ads-empty strong{font-size:15px;color:#222}.bca-ads-empty span{font-size:11px;line-height:1.45;max-width:480px}.bca-ads-empty a{margin-top:5px;color:#1664c0;font-size:11px;font-weight:800;text-decoration:none}.bca-ads-empty.is-error strong{color:#b42318}.bca-ads-summary{font-size:11px;color:#666;margin-bottom:12px}.bca-ads-list{display:grid;gap:10px}.bca-ads-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 15px;border:1px solid #e0e2e5;border-radius:13px;background:#fff}.bca-ads-card-main{display:grid;gap:3px;min-width:0}.bca-ads-card-main strong{font-size:13px;color:#1c1c1c;overflow-wrap:anywhere}.bca-ads-card-main small{font-size:9px;color:#8a8a8a}.bca-ads-mla-list{font-size:9px;color:#5d6670;font-family:ui-monospace,Consolas,monospace}.bca-ads-status{width:max-content;padding:4px 7px;border-radius:999px;background:#f0f1f2;color:#62676d;font-size:8px;font-weight:900;text-transform:uppercase}.bca-ads-status.is-active{background:#e7f6ea;color:#18773a}.bca-ads-status.is-paused{background:#fff4df;color:#9b5e00}.bca-ads-open{flex:0 0 auto;border:1px solid #d7e4f3;border-radius:9px;padding:9px 11px;background:#f6faff;color:#155ca9;text-decoration:none;font-size:9px;font-weight:850;white-space:nowrap}.bca-ads-open:hover{background:#edf5ff}.bca-ads-note{margin:14px 2px 0;color:#8a8a8a;font-size:9px;line-height:1.45}
@media(max-width:620px){.bca-ads-modal{padding:10px}.bca-ads-dialog{width:calc(100vw - 20px)}.bca-ads-card{align-items:stretch;flex-direction:column}.bca-ads-open{text-align:center}}

/* v8.9.296 / v232 — LINKS a la derecha + texto legible + foto más grande en Base Comercial */
.bca-price-check-app .bca-base-table col.col-links{
  width:220px !important;
}
#view-base td.col-links{
  vertical-align:middle !important;
  text-align:right !important;
  padding-right:18px !important;
  padding-left:8px !important;
}
#view-base .bca-links-stack{
  display:grid !important;
  grid-template-rows:22px 22px 22px 22px !important;
  align-content:center !important;
  justify-items:end !important;
  gap:4px !important;
  width:100% !important;
  min-height:96px !important;
}
#view-base .bca-link-slot{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  width:100% !important;
  min-width:0 !important;
  line-height:1.1 !important;
  text-align:right !important;
}
#view-base .bca-links-stack :is(.mla-link,.vs-link,.bca-edit-product-link,.bca-ads-link){
  display:inline-flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  min-height:20px !important;
  font-size:10.5px !important;
  line-height:1.12 !important;
  font-weight:700 !important;
  white-space:nowrap !important;
  text-decoration:none !important;
  cursor:pointer !important;
  text-align:right !important;
}
#view-base .bca-links-stack .bca-edit-product-link{color:#a71919 !important;font-weight:800 !important;}
#view-base .bca-links-stack .bca-ads-link{color:#165fb8 !important;font-weight:800 !important;}
#view-base .bca-links-stack .bca-ads-link:hover{color:#0b4388 !important;text-decoration:underline !important;}
#view-base .bca-links-stack .bca-ads-link.is-disabled{color:#aaa !important;cursor:default !important;}

.bca-price-check-app #view-base .promo-main-photo-cell{
  padding:10px 8px !important;
}
.bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell img,
.bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell .noimg{
  width:120px !important;
  height:120px !important;
  max-height:120px !important;
}
.bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell.variant-shared-photo img,
.bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell.variant-shared-photo .noimg,
.bca-price-check-app #view-base td.quota-shared-photo img,
.bca-price-check-app #view-base td.quota-shared-photo .noimg{
  width:128px !important;
  height:128px !important;
  max-height:128px !important;
}
@media(max-width:1400px){
  .bca-price-check-app .bca-base-table col.col-links{width:205px !important;}
  #view-base .bca-links-stack :is(.mla-link,.vs-link,.bca-edit-product-link,.bca-ads-link){font-size:10px !important;}
  .bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell img,
  .bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell .noimg{width:104px !important;height:104px !important;max-height:104px !important;}
  .bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell.variant-shared-photo img,
  .bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell.variant-shared-photo .noimg,
  .bca-price-check-app #view-base td.quota-shared-photo img,
  .bca-price-check-app #view-base td.quota-shared-photo .noimg{width:112px !important;height:112px !important;max-height:112px !important;}
}


/* v8.9.296 / v232 — LINKS alineados a la derecha, compactos; fotos sin cambios */
#view-base td.col-links{
  vertical-align:middle!important;
  text-align:right!important;
  padding-right:16px!important;
  padding-left:8px!important;
}
#view-base .bca-links-stack{
  display:grid!important;
  grid-template-rows:18px 18px 18px 18px!important;
  align-content:center!important;
  justify-items:end!important;
  gap:3px!important;
  width:100%!important;
  min-height:81px!important;
}
#view-base .bca-link-slot{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  width:100%!important;
  min-width:0!important;
  line-height:1!important;
  text-align:right!important;
}
#view-base .bca-links-stack :is(.mla-link,.vs-link,.bca-edit-product-link,.bca-ads-link){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  min-height:16px!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:650!important;
  white-space:nowrap!important;
  text-decoration:none!important;
  cursor:pointer!important;
  text-align:right!important;
}
#view-base .bca-links-stack .bca-edit-product-link{color:#a71919!important;font-weight:800!important}
#view-base .bca-links-stack .bca-ads-link{color:#165fb8!important;font-weight:800!important}
#view-base .bca-links-stack .bca-ads-link:hover{color:#0b4388!important;text-decoration:underline!important}
#view-base .bca-links-stack .bca-ads-link.is-disabled{color:#aaa!important;cursor:default!important}


/* v8.9.298 / v234 — LINKS más grandes, bloque centrado y texto justificado a la izquierda */
.bca-price-check-app .bca-base-table col.col-links{
  width:220px !important;
}
#view-base td.col-links{
  vertical-align:middle !important;
  text-align:left !important;
  padding-left:18px !important;
  padding-right:18px !important;
}
#view-base .bca-links-stack{
  display:grid !important;
  grid-template-rows:24px 24px 24px 24px !important;
  align-content:center !important;
  justify-items:start !important;
  gap:4px !important;
  width:max-content !important;
  min-width:118px !important;
  max-width:100% !important;
  min-height:108px !important;
  margin:0 auto !important;
}
#view-base .bca-link-slot{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  width:100% !important;
  min-width:0 !important;
  line-height:1.15 !important;
  text-align:left !important;
}
#view-base .bca-links-stack :is(.mla-link,.vs-link,.bca-edit-product-link,.bca-ads-link){
  display:inline-flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  min-height:21px !important;
  font-size:12.5px !important;
  line-height:1.15 !important;
  font-weight:700 !important;
  white-space:nowrap !important;
  text-decoration:none !important;
  cursor:pointer !important;
  text-align:left !important;
}
#view-base .bca-links-stack .bca-edit-product-link{color:#a71919 !important;font-weight:800 !important;}
#view-base .bca-links-stack .bca-ads-link{color:#165fb8 !important;font-weight:800 !important;}
#view-base .bca-links-stack .bca-ads-link:hover{color:#0b4388 !important;text-decoration:underline !important;}
#view-base .bca-links-stack .bca-ads-link.is-disabled{color:#aaa !important;cursor:default !important;}
@media(max-width:1400px){
  .bca-price-check-app .bca-base-table col.col-links{width:205px !important;}
  #view-base .bca-links-stack{min-width:110px !important;}
  #view-base .bca-links-stack :is(.mla-link,.vs-link,.bca-edit-product-link,.bca-ads-link){font-size:11.5px !important;}
}

/* v8.9.299 / v235 — variantes sin hueco de Editar producto + refresco Ads */
#view-base .bca-links-stack .bca-link-slot-edit:empty{display:none !important;}
#view-base .bca-links-stack{
  grid-template-rows:none !important;
  grid-auto-rows:24px !important;
  min-height:0 !important;
  padding-top:6px !important;
  padding-bottom:6px !important;
}
.bca-ads-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 13px;padding:9px 10px;background:#f7f9fb;border:1px solid #e5e8ec;border-radius:10px;color:#6b7280;font-size:9.5px;line-height:1.35}
.bca-ads-refresh{flex:0 0 auto;border:1px solid #cfe0f5;border-radius:8px;background:#fff;color:#155ca9;padding:7px 9px;font-size:9px;font-weight:850;cursor:pointer;white-space:nowrap}
.bca-ads-refresh:hover{background:#edf5ff}.bca-ads-refresh:disabled{opacity:.55;cursor:wait}
@media(max-width:620px){.bca-ads-tools{align-items:stretch;flex-direction:column}.bca-ads-refresh{width:100%}}

/* v257 — Guardia visual sin alterar la geometría de la tabla */
.bca-price-anomaly-banner{
  display:flex;
  align-items:center;
  gap:12px;
  margin:12px 0 14px;
  padding:12px 14px;
  border:1px solid #efb1ae;
  border-radius:12px;
  background:#fff3f2;
  color:#7f1d1d;
}
.bca-price-anomaly-banner-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:50%;
  flex:0 0 28px;
  background:#c92323;
  color:#fff;
  font-weight:900;
  font-size:17px;
}
.bca-price-anomaly-banner>div{display:flex;flex-direction:column;gap:2px;min-width:0;}
.bca-price-anomaly-banner strong{font-size:14px;line-height:1.25;}
.bca-price-anomaly-banner small{font-size:12px;line-height:1.35;color:#8d3f3b;}

/* IMPORTANTE: nunca convertir el TD en flex. Hacerlo rompe el algoritmo de
   columnas/rowspan de la tabla y desplaza DOD, DXI, WEB y Precio de Lista. */
#view-base .bca-base-table tbody td.bca-price-anomaly-cell,
#view-base .bca-base-table tbody td.bca-price-anomaly-cell-confirmed{
  position:relative !important;
}
#view-base .bca-base-table tbody td.bca-price-anomaly-cell{
  background:#fff0ef !important;
  box-shadow:inset 0 0 0 2px #d92d20 !important;
}
#view-base .bca-base-table tbody td.bca-price-anomaly-cell-confirmed{
  background:#fff8e8 !important;
  box-shadow:inset 0 0 0 2px #d89a1d !important;
}
#view-base .price-input.bca-price-anomaly-input{
  border-color:#d92d20 !important;
  background:#fff !important;
  color:#9b1c1c !important;
  box-shadow:0 0 0 3px rgba(217,45,32,.10) !important;
  font-weight:900 !important;
}
#view-base .price-input.bca-price-anomaly-confirmed{
  border-color:#d89a1d !important;
  background:#fffdf7 !important;
  box-shadow:0 0 0 3px rgba(216,154,29,.10) !important;
}
.price-anomaly-tag{
  position:absolute;
  z-index:5;
  left:50%;
  bottom:4px;
  transform:translateX(-50%);
  display:inline-flex;
  align-items:center;
  gap:3px;
  max-width:calc(100% - 8px);
  padding:2px 5px;
  border-radius:5px;
  background:#d92d20;
  color:#fff;
  font-size:8.5px;
  line-height:1.15;
  font-weight:800;
  white-space:nowrap;
  pointer-events:none;
}
.bca-price-anomaly-cell-confirmed .price-anomaly-tag{
  background:#d89a1d;
  color:#4b3100;
}
.price-anomaly-tag::before{content:"⚠";font-size:9px;line-height:1;}



/* v8.9.330 / paquete v268 — cuadros de precios más anchos y DOD WEB / DXI WEB
   con tamaño visual alineado al resto. Se ensanchan DOD, DXI, DOD WEB,
   DXI WEB y Precio de Lista; los inputs comparten misma altura. */
#view-base .bca-base-table col.col-dod,
.bca-fixed-base-header .bca-fixed-header-table col.col-dod{
  width:170px !important;
}
#view-base .bca-base-table col.col-dxi,
.bca-fixed-base-header .bca-fixed-header-table col.col-dxi{
  width:170px !important;
}
#view-base .bca-base-table col.col-dod-web,
.bca-fixed-base-header .bca-fixed-header-table col.col-dod-web{
  width:155px !important;
}
#view-base .bca-base-table col.col-dxi-web,
.bca-fixed-base-header .bca-fixed-header-table col.col-dxi-web{
  width:155px !important;
}
#view-base .bca-base-table col.col-lista,
.bca-fixed-base-header .bca-fixed-header-table col.col-lista{
  width:185px !important;
}
#view-base .price-input,
#view-base .list-price-input{
  width:136px !important;
  max-width:136px !important;
  min-width:136px !important;
  min-height:44px !important;
  height:44px !important;
  padding:8px 12px !important;
  font-size:19px !important;
  line-height:1.2 !important;
  border-radius:10px !important;
}
#view-base .bca-base-table tbody td:has(> .price-input),
#view-base .bca-base-table tbody td:has(> .list-price-input){
  vertical-align:middle !important;
}
#view-base .bca-base-table tbody td.web-price-cell,
#view-base .bca-base-table tbody td.web-price-cell .cell-value{
  font-size:19px !important;
  font-weight:800 !important;
  line-height:1.15 !important;
}


/* v8.9.331 / paquete v269 — restaura el tamaño original de los importes.
   Los cuadros continúan ensanchados, pero DOD, DXI, DOD WEB, DXI WEB y
   Precio de Lista vuelven a verse a 19px, como antes del cambio de ancho. */
#view-base .price-input,
#view-base .list-price-input,
#view-base .bca-base-table tbody td.web-price-cell,
#view-base .bca-base-table tbody td.web-price-cell .cell-value{
  font-size:19px !important;
}


/* v8.9.332 / paquete v270 — AUTO KIT con las mismas dimensiones visuales
   que los demás cuadros de precio. El resultado automático deja de usar
   66px de alto y pasa a 44px; factor y resultado comparten 136px de ancho. */
#view-base .bca-kit-auto-wrap{
  gap:6px !important;
}
#view-base .bca-kit-auto-wrap .bca-special-discount-factor,
#view-base .bca-special-discount-price-cell .bca-special-discount-factor{
  width:136px !important;
  max-width:136px !important;
  min-width:136px !important;
  height:44px !important;
  min-height:44px !important;
}
#view-base .bca-kit-auto-value{
  width:136px !important;
  max-width:136px !important;
  min-width:136px !important;
  height:44px !important;
  min-height:44px !important;
  padding:8px 12px !important;
  font-size:19px !important;
  line-height:1.2 !important;
  border-radius:10px !important;
}
#view-base .bca-kit-auto-badge{
  min-height:22px !important;
  padding:4px 9px !important;
  font-size:9.5px !important;
}


/* v8.9.334 / paquete v272 — Estado: exportador de rebates con dos decisiones
   separadas: rebate objetivo y precio de referencia. */
.bca-price-check-app #view-estado .promo-state-excel-actions select{
  min-width:175px !important;
}
.bca-price-check-app #view-estado #promo-state-excel-price-source{
  min-width:190px !important;
}
@media(max-width:900px){
  .bca-price-check-app #view-estado .promo-state-excel-actions{flex-wrap:wrap;}
  .bca-price-check-app #view-estado .promo-state-excel-actions select,
  .bca-price-check-app #view-estado .promo-state-excel-actions .btn{flex:1 1 180px;}
}

/* ===== v8.9.338 / paquete v276: alerta Lista = DOD/DXI + Precios de lista ===== */
/* Alerta visual no bloqueante. Solo se muestra al finalizar una edición/render. */
.bca-price-equals-list-banner{
  display:flex;align-items:center;gap:12px;margin:12px 0;padding:12px 14px;
  border:1px solid #f0c36a;border-radius:10px;background:#fff8e8;color:#6f4600;
  box-shadow:0 2px 8px rgba(17,17,17,.035);
}
.bca-price-equals-list-icon{
  width:30px;height:30px;flex:0 0 30px;border-radius:50%;display:grid;place-items:center;
  background:#e9a416;color:#fff;font-size:17px;font-weight:900;
}
.bca-price-equals-list-banner>div{display:grid;gap:2px;min-width:0;}
.bca-price-equals-list-banner strong{font-size:12.5px;font-weight:850;color:#704600;}
.bca-price-equals-list-banner small{font-size:11px;line-height:1.4;color:#8a5b08;}
#view-base .price-input.bca-price-equals-list-input{
  border-color:#e4a321 !important;background:#fffaf0 !important;
  box-shadow:0 0 0 3px rgba(228,163,33,.14) !important;
}

/* La nueva solapa replica la jerarquía visual de Precio promos. */
.bca-price-check-app #view-promo-precios-lista{padding:0 !important;}
.bca-price-check-app #view-promo-precios-lista .promo-list-stats{
  grid-template-columns:repeat(3,minmax(190px,1fr)) minmax(260px,.85fr) !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-list-controls{
  display:grid !important;
  grid-template-columns:minmax(300px,1fr) minmax(185px,220px) auto auto !important;
  gap:10px !important;align-items:center !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-prices-search{min-width:0 !important;}
.bca-price-check-app #view-promo-precios-lista .promo-list-table{
  width:100% !important;min-width:1180px !important;table-layout:fixed !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-list-table col.pp-col-photo{width:8% !important;}
.bca-price-check-app #view-promo-precios-lista .promo-list-table col.pp-col-mla{width:15% !important;}
.bca-price-check-app #view-promo-precios-lista .promo-list-table col.pp-col-sku{width:20% !important;}
.bca-price-check-app #view-promo-precios-lista .promo-list-table col.pp-col-cuotas{width:11% !important;}
.bca-price-check-app #view-promo-precios-lista .promo-list-table col.pp-col-price{width:13% !important;}
.bca-price-check-app #view-promo-precios-lista .promo-list-table col.pp-col-diff{width:10% !important;}
.bca-price-check-app #view-promo-precios-lista .promo-list-table col.pp-col-status{width:10% !important;}
.bca-price-check-app #view-promo-precios-lista .promo-list-table th{
  font-size:11px !important;line-height:1.18 !important;padding:9px 7px !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-list-table td{
  height:154px !important;padding:10px 9px !important;vertical-align:middle !important;font-size:13px !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-prices-photo{
  width:126px !important;height:126px !important;margin:0 auto !important;border-radius:13px !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-prices-photo img{
  width:100% !important;height:100% !important;max-width:none !important;max-height:none !important;
  object-fit:contain !important;padding:7px !important;box-sizing:border-box !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-prices-mla{
  width:100% !important;max-width:225px !important;margin:0 auto !important;gap:10px !important;text-align:left !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-prices-mla .tipo-badge{
  font-size:10.5px !important;font-weight:850 !important;padding:4px 8px !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-prices-mla .mla-group-main,
.bca-price-check-app #view-promo-precios-lista .promo-prices-mla .bca-code-text{
  font-size:15px !important;font-weight:800 !important;line-height:1.2 !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-prices-sku{
  width:100% !important;max-width:270px !important;margin:0 auto !important;gap:10px !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-prices-sku .cat-pill{font-size:11px !important;font-weight:750 !important;}
.bca-price-check-app #view-promo-precios-lista .promo-prices-sku .sku-code,
.bca-price-check-app #view-promo-precios-lista .promo-prices-sku .bca-code-text{
  font-size:17px !important;font-weight:800 !important;line-height:1.2 !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-prices-cuota-wrap{
  align-items:center !important;justify-content:center !important;margin:0 auto !important;min-width:112px !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-prices-cuota-wrap .cuota-tag{
  font-size:13px !important;font-weight:900 !important;padding:8px 13px !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-prices-money{
  display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;
  gap:3px !important;font-size:17px !important;font-weight:850 !important;line-height:1.12 !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-prices-bc-source,
.bca-price-check-app #view-promo-precios-lista .promo-prices-final-source{
  display:block !important;margin-top:3px !important;font-family:var(--font) !important;font-size:9px !important;
  font-weight:850 !important;color:#777 !important;line-height:1.1 !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-prices-diff{
  min-width:92px !important;min-height:38px !important;padding:7px 10px !important;font-size:13.5px !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-manual-review-state{
  display:inline-flex;align-items:center;justify-content:center;min-width:82px;min-height:30px;padding:6px 10px;
  border-radius:999px;font-size:9.5px;font-weight:900;line-height:1.1;text-transform:uppercase;white-space:nowrap;
}
.bca-price-check-app #view-promo-precios-lista .promo-manual-review-state.ok{background:#e8f6eb;color:#16762a;}
.bca-price-check-app #view-promo-precios-lista .promo-manual-review-state.review{background:#fff0ef;color:#b11d1c;}
.bca-price-check-app #view-promo-precios-lista .promo-manual-review-state.missing{background:#f1f1f1;color:#6f6f6f;}
@media(max-width:1500px){
  .bca-price-check-app #view-promo-precios-lista .promo-list-controls{
    grid-template-columns:minmax(260px,1fr) minmax(170px,205px) auto !important;
  }
  .bca-price-check-app #view-promo-precios-lista #promo-list-export{grid-column:3;grid-row:2;}
  .bca-price-check-app #view-promo-precios-lista .promo-prices-photo{width:112px !important;height:112px !important;}
}
@media(max-width:900px){
  .bca-price-check-app #view-promo-precios-lista .promo-list-stats{grid-template-columns:repeat(2,minmax(150px,1fr)) !important;}
  .bca-price-check-app #view-promo-precios-lista .promo-list-controls{display:flex !important;flex-wrap:wrap !important;}
  .bca-price-check-app #view-promo-precios-lista .promo-prices-search{flex:1 1 100% !important;}
}
\n\n/* v8.9.340 / paquete v278 — Estado simplificado: buscar + filtro + un único Excel. */\n#view-estado .promo-state-controls-simple{\n  display:flex !important;\n  align-items:center !important;\n  gap:12px !important;\n}\n#view-estado .promo-state-controls-simple .promo-state-search{\n  flex:1 1 420px !important;\n}\n#view-estado .promo-state-control-excel{\n  white-space:nowrap !important;\n}\n@media(max-width:900px){\n  #view-estado .promo-state-controls-simple{flex-wrap:wrap !important;}\n  #view-estado .promo-state-controls-simple .promo-state-control-spacer{display:none !important;}\n}\n

/* v8.9.341 / paquete v279 — submenús de Chequeo de Promos siempre visibles
   por encima de tarjetas, cabeceras sticky y vistas como Precios de lista. */
.bca-price-check-app .bca-primary-nav{
  z-index:99995 !important;
  overflow:visible !important;
}
.bca-price-check-app .bca-primary-nav-inner,
.bca-price-check-app .bca-nav-group{
  overflow:visible !important;
}
.bca-price-check-app .bca-nav-dropdown{
  z-index:99996 !important;
}


/* v8.9.343 / paquete v281 — Precios de lista: mostrar Catálogo asociado y
   usar el mismo SVG de copiar que Base Comercial. El Catálogo es solo visual;
   no cambia la regla de exportación del Excel. */
.bca-price-check-app #view-promo-precios-lista .promo-prices-mla-entry{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:7px !important;
  width:100% !important;
  padding:2px 0 !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-prices-mla-entry + .promo-prices-mla-entry{
  margin-top:9px !important;
  padding-top:10px !important;
  border-top:1px solid #ededed !important;
}
.bca-price-check-app #view-promo-precios-lista .bca-mla-label-row,
.bca-price-check-app #view-promo-precios-lista .bca-mla-code-row{
  display:flex !important;
  align-items:center !important;
  width:100% !important;
}
.bca-price-check-app #view-promo-precios-lista .bca-copyable-code{
  display:inline-flex !important;
  align-items:center !important;
  gap:9px !important;
  max-width:none !important;
  overflow:visible !important;
  white-space:nowrap !important;
  vertical-align:middle !important;
}
.bca-price-check-app #view-promo-precios-lista .bca-copyable-code .bca-code-text{
  display:inline-block !important;
  margin:0 !important;
  padding:1px 0 !important;
  cursor:pointer !important;
  user-select:none !important;
  -webkit-user-select:none !important;
  border-radius:3px !important;
  white-space:nowrap !important;
  color:#171717 !important;
}
.bca-price-check-app #view-promo-precios-lista .bca-copyable-code .bca-code-text:hover{
  background:#f3f3f3 !important;
}
.bca-price-check-app #view-promo-precios-lista .bca-copy-btn{
  appearance:none !important;
  -webkit-appearance:none !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#777 !important;
  width:18px !important;
  height:18px !important;
  min-width:18px !important;
  min-height:18px !important;
  padding:2px !important;
  margin:0 !important;
  border-radius:4px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 18px !important;
  cursor:pointer !important;
  line-height:1 !important;
}
.bca-price-check-app #view-promo-precios-lista .bca-copy-btn:hover{
  background:#f0f0f0 !important;
  color:#444 !important;
}
.bca-price-check-app #view-promo-precios-lista .bca-copy-btn:active{transform:scale(.92) !important;}
.bca-price-check-app #view-promo-precios-lista .bca-copy-btn.is-copied{background:#edf7ea !important;color:#267326 !important;}
.bca-price-check-app #view-promo-precios-lista .bca-copy-svg{
  display:block !important;
  width:14px !important;
  height:14px !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:1.7 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}
.bca-price-check-app #view-promo-precios-lista .bca-copy-svg-check{stroke-width:2.2 !important;}
.bca-price-check-app #view-promo-precios-lista .promo-list-table td{
  height:auto !important;
  min-height:154px !important;
}


/* v8.9.344 / paquete v282 — Precios de lista usa la misma composición visual
   que las demás solapas: foto/SKU compartidos y cuotas desplegables. */
.bca-price-check-app #view-promo-precios-lista .promo-list-table td{
  height:82px !important;
  padding:9px 10px !important;
  vertical-align:middle !important;
}
.bca-price-check-app #view-promo-precios-lista td.foto-cell{
  padding:10px 6px !important;
  vertical-align:middle !important;
  overflow:visible !important;
}
.bca-price-check-app #view-promo-precios-lista td.foto-cell img,
.bca-price-check-app #view-promo-precios-lista td.foto-cell .noimg{
  width:86px !important;
  height:86px !important;
  max-width:calc(100% - 8px) !important;
  max-height:86px !important;
  margin:0 auto !important;
  object-fit:contain !important;
  border-radius:11px !important;
}
.bca-price-check-app #view-promo-precios-lista td.foto-cell.variant-shared-photo img,
.bca-price-check-app #view-promo-precios-lista td.foto-cell.variant-shared-photo .noimg{
  width:92px !important;
  height:92px !important;
  max-width:calc(100% - 8px) !important;
  max-height:92px !important;
}
.bca-price-check-app #view-promo-precios-lista td.bca-mla-column-cell{
  text-align:left !important;
  padding-left:16px !important;
  padding-right:16px !important;
  vertical-align:middle !important;
}
.bca-price-check-app #view-promo-precios-lista .bca-mla-label-row{
  display:flex !important;
  align-items:center !important;
  gap:6px !important;
  margin-bottom:10px !important;
  min-height:20px !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-prices-mla{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  gap:0 !important;
  text-align:left !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-prices-mla-entry{
  padding:0 !important;
  margin:0 !important;
  gap:0 !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-prices-mla-entry + .promo-prices-mla-entry{
  margin-top:14px !important;
  padding-top:14px !important;
  border-top:1px solid #ececec !important;
}
.bca-price-check-app #view-promo-precios-lista td.bca-mla-column-cell .bca-code-text,
.bca-price-check-app #view-promo-precios-lista td.bca-mla-column-cell .mla-group-main{
  font-size:16.5px !important;
  font-weight:800 !important;
  line-height:1.22 !important;
  white-space:nowrap !important;
}
.bca-price-check-app #view-promo-precios-lista td.bca-mla-column-cell .tipo-badge{
  font-size:11.5px !important;
  line-height:1 !important;
}
.bca-price-check-app #view-promo-precios-lista td.bca-sku-column-cell{
  text-align:center !important;
  padding-left:16px !important;
  padding-right:16px !important;
  vertical-align:middle !important;
}
.bca-price-check-app #view-promo-precios-lista td.bca-sku-column-cell .family-category-head{
  text-align:center !important;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  width:100% !important;
  margin-bottom:12px !important;
  min-height:22px !important;
}
.bca-price-check-app #view-promo-precios-lista td.bca-sku-column-cell .bca-copyable-code{
  justify-content:center !important;
  width:auto !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
.bca-price-check-app #view-promo-precios-lista td.bca-sku-column-cell .sku-code,
.bca-price-check-app #view-promo-precios-lista td.bca-sku-column-cell .bca-code-text{
  font-size:18px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
}
.bca-price-check-app #view-promo-precios-lista td.bca-sku-column-cell .cat-pill{
  font-size:11.5px !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-prices-cuota-cell{
  vertical-align:middle !important;
  text-align:center !important;
}
.bca-price-check-app #view-promo-precios-lista .cuota-wrap{
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:center !important;
  gap:10px !important;
  width:100% !important;
}
.bca-price-check-app #view-promo-precios-lista .cuota-tag,
.bca-price-check-app #view-promo-precios-lista .cuota-tag.sin-cuotas{
  font-size:14px !important;
  font-weight:800 !important;
  padding:8px 14px !important;
  white-space:nowrap !important;
}
.bca-price-check-app #view-promo-precios-lista .cuotas-toggle{
  font-size:12px !important;
  font-weight:800 !important;
}
@media(max-width:1400px){
  .bca-price-check-app #view-promo-precios-lista td.foto-cell img,
  .bca-price-check-app #view-promo-precios-lista td.foto-cell .noimg{width:78px !important;height:78px !important;max-height:78px !important;}
  .bca-price-check-app #view-promo-precios-lista td.foto-cell.variant-shared-photo img,
  .bca-price-check-app #view-promo-precios-lista td.foto-cell.variant-shared-photo .noimg{width:84px !important;height:84px !important;max-height:84px !important;}
}


/* v8.9.345 / paquete v283 — Precios de lista: solo queda fija la cabecera de
   la tabla. Las métricas y controles superiores vuelven a desplazarse normalmente. */
.bca-price-check-app #view-promo-precios-lista .promo-prices-sticky{
  position:static !important;
  top:auto !important;
  z-index:auto !important;
  background:transparent !important;
  border-bottom:0 !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-list-table thead th{
  position:static !important;
  top:auto !important;
}
.bca-price-check-app #view-promo-precios-lista #promo-list-fixed-header{
  z-index:90 !important;
}
.bca-price-check-app #view-promo-precios-lista #promo-list-fixed-header .promo-list-table{
  margin:0 !important;
}
.bca-price-check-app #view-promo-precios-lista #promo-list-fixed-header thead th{
  position:static !important;
  top:auto !important;
  z-index:auto !important;
}


/* v8.9.346 / paquete v284 — Precios de lista más compacto en MLA, SKU y Cuotas.
   Se conserva foto y precios; solo baja la escala tipográfica/espaciado de esas columnas. */
.bca-price-check-app #view-promo-precios-lista td.bca-mla-column-cell .bca-code-text,
.bca-price-check-app #view-promo-precios-lista td.bca-mla-column-cell .mla-group-main{
  font-size:13.5px !important;
  line-height:1.18 !important;
}
.bca-price-check-app #view-promo-precios-lista td.bca-mla-column-cell .tipo-badge{
  font-size:9.5px !important;
  padding:3px 7px !important;
}
.bca-price-check-app #view-promo-precios-lista .bca-mla-label-row{
  margin-bottom:7px !important;
  min-height:17px !important;
}
.bca-price-check-app #view-promo-precios-lista .promo-prices-mla-entry + .promo-prices-mla-entry{
  margin-top:10px !important;
  padding-top:10px !important;
}
.bca-price-check-app #view-promo-precios-lista td.bca-sku-column-cell .family-category-head{
  margin-bottom:8px !important;
  min-height:18px !important;
}
.bca-price-check-app #view-promo-precios-lista td.bca-sku-column-cell .sku-code,
.bca-price-check-app #view-promo-precios-lista td.bca-sku-column-cell .bca-code-text{
  font-size:14.5px !important;
  line-height:1.18 !important;
}
.bca-price-check-app #view-promo-precios-lista td.bca-sku-column-cell .cat-pill{
  font-size:10px !important;
  padding:3px 7px !important;
}
.bca-price-check-app #view-promo-precios-lista .cuota-wrap{
  gap:6px !important;
}
.bca-price-check-app #view-promo-precios-lista .cuota-tag,
.bca-price-check-app #view-promo-precios-lista .cuota-tag.sin-cuotas{
  font-size:11.5px !important;
  padding:6px 11px !important;
}
.bca-price-check-app #view-promo-precios-lista .cuotas-toggle{
  font-size:10.5px !important;
  line-height:1.15 !important;
}


/* v8.9.348 / paquete v286 — Preview seguro antes de escribir Precio de Lista en MELI. */
.bca-price-check-app #view-promo-precios-lista .promo-list-prepare{white-space:nowrap;}
.promo-list-apply-card{width:min(1180px,calc(100vw - 48px)) !important;}
.promo-list-apply-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:12px;}
.promo-list-apply-head small{display:block;font-size:9px;font-weight:900;letter-spacing:.5px;color:#8b1717;margin-bottom:4px;}
.promo-list-apply-head h2{margin:0 0 4px !important;}.promo-list-apply-head p{margin:0;color:#6f6f6f;font-size:12px;}
.promo-list-apply-x{border:0;background:#f1f1f1;width:34px;height:34px;border-radius:50%;font-size:23px;cursor:pointer;color:#555;}
.promo-list-safety-note{margin:12px 0;padding:12px 14px;border:1px solid #dce8df;background:#f4fbf6;border-radius:10px;color:#275b35;font-size:12px;line-height:1.45;}
.promo-list-safety-note code{font:800 12px var(--mono);background:#fff;padding:2px 5px;border-radius:5px;}
.promo-list-apply-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:10px 0;font-size:12px;font-weight:700;}
.promo-list-apply-toolbar label{display:flex !important;grid-template-columns:none !important;align-items:center;gap:7px !important;color:#222 !important;font-size:12px !important;}.promo-list-apply-toolbar input{width:auto !important;}
.promo-list-apply-table-wrap{max-height:48vh;overflow:auto;border:1px solid #e0e0e0;border-radius:10px;}
.promo-list-apply-table{width:100%;border-collapse:collapse;font-size:11px;}.promo-list-apply-table th{position:sticky;top:0;z-index:2;background:#f5f5f5;text-align:left;padding:10px;border-bottom:1px solid #ddd;white-space:nowrap;}.promo-list-apply-table td{padding:10px;border-bottom:1px solid #eee;vertical-align:middle;}.promo-list-apply-table code{font:800 11px var(--mono);}.promo-list-preview-arrow{white-space:nowrap;}
.promo-list-apply-result{margin-top:12px;padding:12px 14px;border-radius:10px;background:#f5f5f5;font-size:11px;line-height:1.45;}.promo-list-apply-result.is-ok{background:#eaf7ed;color:#1f6a35;}.promo-list-apply-result.has-errors{background:#fff1f0;color:#8d201b;}.promo-list-apply-result strong{display:block;font-size:12px;}.promo-list-apply-result span{display:block;margin-top:3px;}.promo-list-apply-result ul{margin:8px 0 0;padding-left:18px;max-height:160px;overflow:auto;}
@media(max-width:900px){.promo-list-apply-card{width:calc(100vw - 20px)!important;padding:16px!important;}.promo-list-apply-table-wrap{max-height:55vh;}}


/* v8.9.349 / paquete v287 — toolbar de Precios de lista compacta con 5 acciones.
   Al sumar Preparar cambios en MELI, el botón de Excel había caído a una fila
   implícita y se estiraba. Ahora los cinco controles comparten una sola línea
   en escritorio y los botones conservan tamaño natural. */
.bca-price-check-app #view-promo-precios-lista .promo-list-controls{
  grid-template-columns:minmax(320px,1fr) auto auto auto auto !important;
}
.bca-price-check-app #view-promo-precios-lista #promo-list-refresh,
.bca-price-check-app #view-promo-precios-lista #promo-list-prepare,
.bca-price-check-app #view-promo-precios-lista #promo-list-export{
  width:auto !important;
  min-width:0 !important;
  height:42px !important;
  padding:0 18px !important;
  justify-self:end !important;
  align-self:center !important;
  grid-column:auto !important;
  grid-row:auto !important;
  white-space:nowrap !important;
}
@media(max-width:1500px){
  .bca-price-check-app #view-promo-precios-lista .promo-list-controls{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
  }
  .bca-price-check-app #view-promo-precios-lista .promo-prices-search{
    flex:1 1 420px !important;
  }
  .bca-price-check-app #view-promo-precios-lista #promo-list-refresh,
  .bca-price-check-app #view-promo-precios-lista #promo-list-prepare,
  .bca-price-check-app #view-promo-precios-lista #promo-list-export{
    flex:0 0 auto !important;
    margin-left:0 !important;
  }
}


/* v8.9.350 / paquete v288 — VENTAS: S1/S2/S3/S4 alineados exactamente con
   sus barras y números. Header y cuerpo comparten el mismo grid y padding. */
#view-base .bca-base-table thead th:nth-child(6),
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(6),
#view-base .bca-base-table tbody td.col-ventas{
  padding-left:10px !important;
  padding-right:10px !important;
  box-sizing:border-box !important;
}
#view-base .bca-base-table thead th:nth-child(6) .th-subgrid-ventas,
.bca-fixed-base-header .bca-fixed-header-table thead th:nth-child(6) .th-subgrid-ventas,
#view-base .bca-base-table tbody td.col-ventas .weekchart{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:8px !important;
  width:100% !important;
  min-width:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
  box-sizing:border-box !important;
  justify-items:center !important;
}
#view-base .bca-base-table tbody td.col-ventas .weekbar{
  width:100% !important;
  min-width:0 !important;
  align-items:center !important;
}


/* ===== v8.9.352 / paquete v290: centro de notificaciones de precios ===== */
.bca-autosave-area{position:relative;display:flex;flex-direction:row !important;align-items:center !important;gap:12px !important;}
.bca-price-notification-wrap{position:relative;display:inline-flex;align-items:center;}
.bca-price-notification-button{position:relative;width:40px;height:40px;border:1px solid var(--gray-300);border-radius:11px;background:#fff;color:#333;display:grid;place-items:center;cursor:pointer;transition:.15s ease;box-shadow:0 1px 2px rgba(0,0,0,.03);}
.bca-price-notification-button:hover{background:#f7f7f7;border-color:#bfc2c5;}
.bca-price-notification-button.has-alerts{border-color:#e4b1ae;background:#fff7f6;color:#a51817;}
.bca-price-notification-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.bca-price-notification-count{position:absolute;right:-6px;top:-7px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#c51f1d;color:#fff;border:2px solid #fff;font:800 10px/15px 'Inter',sans-serif;text-align:center;box-sizing:border-box;}
.bca-price-notification-panel{position:absolute;right:0;top:calc(100% + 9px);z-index:10050;width:min(440px,calc(100vw - 32px));max-height:min(570px,70vh);overflow:hidden;background:#fff;border:1px solid #dedede;border-radius:14px;box-shadow:0 20px 60px rgba(17,17,17,.18);}
.bca-price-notification-panel[hidden]{display:none !important;}
.bca-price-notification-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:15px 16px 13px;border-bottom:1px solid #ededed;background:#fff;}
.bca-price-notification-head>div{display:grid;gap:2px;}
.bca-price-notification-head strong{font-size:14px;color:#111;}
.bca-price-notification-head small{font-size:11px;color:#777;font-weight:500;}
.bca-price-notification-head button{border:0;background:#f3f3f3;width:29px;height:29px;border-radius:8px;cursor:pointer;font-size:20px;line-height:1;color:#555;}
.bca-price-notification-list{max-height:min(490px,60vh);overflow:auto;padding:6px;}
.bca-price-notification-item{width:100%;display:grid;grid-template-columns:10px minmax(0,1fr) 18px;align-items:center;gap:9px;padding:11px 10px;border:0;border-bottom:1px solid #f0f0f0;background:#fff;text-align:left;cursor:pointer;border-radius:9px;color:#222;}
.bca-price-notification-item:last-child{border-bottom:0;}
.bca-price-notification-item:hover{background:#fafafa;}
.bca-price-notification-dot{width:8px;height:8px;border-radius:50%;background:#d59419;align-self:start;margin-top:5px;}
.bca-price-notification-item.is-danger .bca-price-notification-dot{background:#c51f1d;}
.bca-price-notification-copy{display:grid;gap:3px;min-width:0;}
.bca-price-notification-copy strong{font-size:12px;line-height:1.3;color:#222;}
.bca-price-notification-copy small{font-size:10.5px;font-weight:750;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.bca-price-notification-copy em{font-size:10.5px;font-style:normal;color:#8b5a57;line-height:1.35;}
.bca-price-notification-arrow{font-size:24px;color:#aaa;}
.bca-price-notification-empty{display:grid;gap:4px;padding:28px 18px;text-align:center;color:#777;}
.bca-price-notification-empty strong{font-size:13px;color:#333;}.bca-price-notification-empty span{font-size:11px;}
#view-base .price-input.bca-price-notification-focus{outline:4px solid rgba(197,31,29,.20) !important;border-color:#c51f1d !important;box-shadow:0 0 0 7px rgba(197,31,29,.08) !important;animation:bcaPriceNotifyPulse .85s ease-in-out 2;}
#view-base tr.bca-price-notification-row-focus td{background:#fff7e8 !important;}
@keyframes bcaPriceNotifyPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.035)}}
@media(max-width:800px){.bca-price-notification-panel{position:fixed;right:12px;left:12px;top:90px;width:auto;}.bca-autosave-area{flex-direction:row !important;}}


/* v8.9.356 / paquete v294 — diagnóstico visible de Ventas en vivo. */
.bca-meli-sales-live-card{
  border-color:#a9d9b5 !important;
  background:linear-gradient(180deg,#fbfffc 0%,#ffffff 100%) !important;
}
.bca-meli-sales-live-card .bca-meli-sync-item-top strong{font-size:13px;}
.bca-meli-sales-live-card .bca-meli-sync-meta{padding-top:8px;padding-bottom:8px;}
.bca-meli-sales-live-card .bca-meli-sync-meta b{max-width:66%;}
.bca-meli-sales-live-card .bca-meli-sales-last-sale-row b{line-height:1.35;}
.bca-meli-order-id{display:block;margin-top:2px;color:#8a919d;font-size:7.5px;font-weight:650;}

/* v8.9.359 / paquete v297 — SMART activas: baja masiva segura. */
.bca-smart2-active-controls{flex-wrap:wrap;}
.bca-smart2-active-bulk{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:40px;
  padding:0 8px;
  border-left:1px solid #e3e5e8;
}
.bca-smart2-active-bulk label{
  display:flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
  font-size:10px;
  font-weight:700;
  color:#40444a;
}
.bca-smart2-active-bulk input[type="checkbox"]{width:15px;height:15px;accent-color:#b51c1a;}
.bca-smart2-active-bulk span{white-space:nowrap;font-size:9.5px;color:#737a84;min-width:88px;text-align:center;}
.bca-smart2-active-bulk button{
  min-height:36px;
  border:1px solid #d4211f;
  border-radius:8px;
  background:#c51d1c;
  color:#fff;
  padding:0 12px;
  font-size:10px;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
}
.bca-smart2-active-bulk button:disabled{opacity:.4;cursor:not-allowed;}
#view-smart-activas .bca-smart2-group-row td.select,
#view-smart-activas .bca-smart2-campaign th:first-child{width:40px;min-width:40px;max-width:40px;text-align:center!important;}
#view-smart-activas .bca-smart2-group-row td.select input{width:15px;height:15px;accent-color:#b51c1a;cursor:pointer;}
#view-smart-activas .bca-smart2-group-row td.select input:disabled{cursor:not-allowed;opacity:.35;}
@media(max-width:1200px){.bca-smart2-active-bulk{border-left:0;padding-left:0;width:100%;justify-content:flex-end;}}


/* v8.9.364 / v302 — referencia DOD/DXI definible desde SMART */
.bca-smart2-reference-tools{display:flex;align-items:center;gap:6px;margin-top:7px;flex-wrap:wrap;font-size:10px;color:#777}.bca-smart2-reference-tools span{font-weight:700;color:#666}.bca-smart2-reference-tools button{border:1px solid #d8dadd;background:#fff;border-radius:7px;padding:5px 8px;font:800 10px 'Inter',sans-serif;color:#333;cursor:pointer}.bca-smart2-reference-tools button:hover{border-color:#b11d1c;color:#b11d1c;background:#fff7f7}.bca-smart2-reference-tools button:disabled{opacity:.5;cursor:wait}


/* v8.9.367 / v305 — Programadas: exportación Excel según Mapeo de campañas. */
.bca-price-check-app #view-preneg-programadas .bca-preneg-export-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:12px 0;padding:16px 18px;background:#fff;border:1px solid #dedede;border-radius:12px;box-shadow:0 3px 12px rgba(17,17,17,.035)}
.bca-price-check-app #view-preneg-programadas .bca-preneg-export-card>div{display:grid;gap:4px;min-width:0}
.bca-price-check-app #view-preneg-programadas .bca-preneg-export-card strong{font-size:12px;color:#111}
.bca-price-check-app #view-preneg-programadas .bca-preneg-export-card span{font-size:10.5px;line-height:1.45;color:#777}
.bca-price-check-app #view-preneg-programadas .bca-preneg-export-card .btn{flex:0 0 auto;min-height:40px;padding:9px 16px;white-space:nowrap}
@media(max-width:760px){.bca-price-check-app #view-preneg-programadas .bca-preneg-export-card{align-items:stretch;flex-direction:column}.bca-price-check-app #view-preneg-programadas .bca-preneg-export-card .btn{width:100%}}


/* v8.9.370 / paquete v308 — Cambios de precios: selección explícita.
   Todos los cambios visibles quedan tildados por defecto y el usuario puede
   destildar los que no quiera exportar o marcar como actualizados. */
.pc-select-all-wrap{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 10px;border:1px solid var(--gray-300);border-radius:8px;background:#fff;color:var(--ink);font:700 11px 'Inter',sans-serif;white-space:nowrap;}
.pc-select-all-wrap input,.pc-table .pc-check input{width:16px;height:16px;accent-color:var(--primary);cursor:pointer;}
.pc-select-all-wrap small{color:var(--gray-600);font-size:10px;font-weight:600;}
.pc-table .pc-check{width:42px;min-width:42px;text-align:center!important;padding-left:8px!important;padding-right:8px!important;}
.pc-table thead .pc-check{vertical-align:middle;}


/* v8.9.378 / paquete v316 — ajuste manual independiente por DOD/DXI de cada cuota. */
#view-base .bca-quota-adjust-price-cell{
  text-align:center !important;
  vertical-align:middle !important;
}
#view-base .bca-quota-adjust-stack{
  min-height:78px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;
}
#view-base .bca-quota-price-adjust{
  width:110px !important;
  height:38px !important;
  min-height:38px !important;
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:3px !important;
  padding:4px 7px !important;
  margin:0 auto !important;
  border:1px solid #b8cee7 !important;
  border-radius:9px !important;
  background:#eef5fc !important;
  color:#26394d !important;
  box-shadow:0 1px 4px rgba(53,91,130,.06) !important;
  font-family:var(--mono) !important;
  font-size:13px !important;
  font-weight:900 !important;
}
#view-base .bca-quota-price-adjust>span{
  flex:0 0 auto !important;
  color:#47647f !important;
  font-size:13px !important;
  font-weight:900 !important;
}
#view-base .bca-quota-price-adjust-input{
  width:72px !important;
  max-width:72px !important;
  height:28px !important;
  min-height:28px !important;
  box-sizing:border-box !important;
  padding:2px 4px !important;
  margin:0 !important;
  border:0 !important;
  border-radius:6px !important;
  background:transparent !important;
  color:#1e3145 !important;
  text-align:center !important;
  font-family:var(--mono) !important;
  font-size:14px !important;
  font-weight:900 !important;
  box-shadow:none !important;
  outline:none !important;
}
#view-base .bca-quota-price-adjust:focus-within{
  border-color:#6f9cca !important;
  box-shadow:0 0 0 3px rgba(91,137,184,.12) !important;
  background:#f7fbff !important;
}
#view-base .bca-quota-adjust-stack .readonly-price.calc-price{
  display:block !important;
  margin:0 !important;
}
.bca-price-check-app .bca-quota-price-adjust{display:none !important;}


/* v8.9.379 / paquete v317 — ajuste de cuotas visible al instante y controles del
   mismo tamaño que los cuadros DOD/DXI. Cuota + ajuste = 136 x 44 px. */
#view-base .cuota-tag,
#view-base .cuota-tag.sin-cuotas,
#view-base .cuota-tag.con-cuotas{
  width:136px !important;
  min-width:136px !important;
  max-width:136px !important;
  height:44px !important;
  min-height:44px !important;
  box-sizing:border-box !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:8px 10px !important;
  border-radius:10px !important;
  font-size:15px !important;
  line-height:1.1 !important;
  font-weight:900 !important;
  white-space:nowrap !important;
}
#view-base .bca-quota-price-adjust{
  width:136px !important;
  min-width:136px !important;
  max-width:136px !important;
  height:44px !important;
  min-height:44px !important;
  padding:5px 10px !important;
  border-radius:10px !important;
  gap:6px !important;
  font-size:18px !important;
}
#view-base .bca-quota-price-adjust>span{
  font-size:17px !important;
}
#view-base .bca-quota-price-adjust-input{
  width:92px !important;
  max-width:92px !important;
  min-width:92px !important;
  height:34px !important;
  min-height:34px !important;
  padding:3px 6px !important;
  font-size:18px !important;
  line-height:1.15 !important;
}
#view-base .bca-quota-adjust-stack{
  min-height:98px !important;
  gap:9px !important;
}
#view-base .bca-quota-adjust-stack .readonly-price.calc-price{
  font-size:19px !important;
  line-height:1.2 !important;
}

/* v8.9.380 / paquete v318 — ajuste por cuota robusto + visual corregido.
   Las etiquetas 3/6/9/12 vuelven al tamaño compacto anterior. Los cuadros de
   ajuste conservan el tamaño de DOD/DXI y agrandamos únicamente los números. */
.bca-price-check-app #view-base .cuota-tag,
.bca-price-check-app #view-base .cuota-tag.sin-cuotas,
.bca-price-check-app #view-base .cuota-tag.con-cuotas,
.bca-price-check-app #view-base .promo-main-cuota-wrap .cuota-tag,
.bca-price-check-app #view-base .promo-main-cuota-wrap .cuota-tag.sin-cuotas{
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  height:auto !important;
  min-height:0 !important;
  padding:4px 7px !important;
  border-radius:999px !important;
  font-size:10px !important;
  line-height:1 !important;
  font-weight:850 !important;
}
.bca-price-check-app #view-base .bca-quota-price-adjust{
  width:136px !important;
  min-width:136px !important;
  max-width:136px !important;
  height:44px !important;
  min-height:44px !important;
  padding:5px 10px !important;
  gap:6px !important;
}
.bca-price-check-app #view-base .bca-quota-price-adjust>span{
  font-size:18px !important;
  line-height:1 !important;
}
.bca-price-check-app #view-base .bca-quota-price-adjust-input{
  width:94px !important;
  min-width:94px !important;
  max-width:94px !important;
  height:34px !important;
  min-height:34px !important;
  padding:2px 5px !important;
  font-size:19px !important;
  line-height:1.1 !important;
  font-weight:900 !important;
}
.bca-price-check-app #view-base td.bca-quota-adjust-price-cell .bca-quota-adjust-stack .readonly-price.calc-price{
  font-size:19px !important;
  line-height:1.15 !important;
  font-weight:850 !important;
}
.bca-price-check-app #view-base .bca-quota-adjust-stack{
  min-height:88px !important;
  gap:7px !important;
}

/* v418 — control de ajuste para variantes, aislado del input estable de v411. */
#view-base .bca-variant-quota-price-adjust-input{
  width:100%;
  min-width:0;
  height:100%;
  border:0;
  outline:0;
  background:transparent;
  padding:0 8px 0 4px;
  text-align:center;
  font:700 15px/1.1 var(--mono);
  color:#111827;
  box-shadow:none;
}

/* ===== Integraciones · Smartclick WMS v419 ===== */
.bca-integration-card-vs{border-left:3px solid #a61e22}.bca-integration-card-wms{border-left:3px solid #a61e22}.bca-wms-logo{background:#f7e9ea;color:#8f1d21;border:1px solid #e8c8ca;font-size:8px;letter-spacing:.02em}.bca-wms-panel{margin-bottom:16px}.bca-wms-panel[hidden]{display:none!important}.bca-wms-panel .bca-meli-panel-head small{color:#8f1d21}.bca-wms-panel .bca-meli-main-status.is-on{background:#e8f4ec;color:#176a37}.bca-wms-panel .bca-meli-main-status.is-on i{background:#218a48}.bca-wms-panel #bca-wms-private-key{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:9px}.bca-wms-actions{flex-wrap:wrap}.bca-wms-source-note{margin-top:15px;padding:12px;border:1px solid #e3e6ea;border-radius:10px;background:#fafbfc;display:grid;gap:5px}.bca-wms-source-note strong{font-size:9px;color:#344054}.bca-wms-source-note span{font-size:9px;color:#667085;line-height:1.45}.bca-wms-panel .bca-integration-status.is-on{font-size:8px}
@media(max-width:720px){.bca-wms-actions{flex-direction:column}.bca-wms-actions .btn{width:100%}}


/* v461 — PROMO / VIGENCIA legible aun con el auto-ajuste de toda la tabla.
   Base Comercial reduce la tabla completa para que entre en pantalla; por eso
   estos textos necesitan un tamaño natural mayor antes de aplicar ese ajuste. */
#view-base .bca-base-table col.col-promo-meta,
.bca-fixed-base-header .bca-fixed-header-table col.col-promo-meta{
  width:160px !important;
}
#view-base .bca-base-table thead th.col-promo-meta,
.bca-fixed-base-header .bca-fixed-header-table thead th.col-promo-meta{
  min-width:160px !important;
  white-space:normal !important;
  text-align:center !important;
  line-height:1.08 !important;
  font-size:14px !important;
  font-weight:850 !important;
}
#view-base .bca-base-table td.bca-promo-meta-cell{
  padding:8px 8px !important;
  vertical-align:middle !important;
  white-space:normal !important;
}
.bca-promo-meta-cell .bca-promo-meta-stack{
  display:flex;
  flex-direction:column;
  gap:7px;
  min-width:0;
}
.bca-promo-meta-cell .bca-promo-meta-line{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:7px;
  padding:4px 2px;
  border:0;
  border-bottom:1px solid #ededed;
  border-radius:0;
  background:transparent;
  line-height:1.1;
  min-width:0;
}
.bca-promo-meta-cell .bca-promo-meta-line:last-child{border-bottom:0;}
.bca-promo-meta-cell .bca-promo-mini-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:25px;
  padding:0 9px;
  border-radius:999px;
  font-size:16px !important;
  font-weight:900 !important;
  letter-spacing:.01em;
  white-space:nowrap;
  flex:0 0 auto;
}
.bca-promo-meta-cell .bca-promo-mini-range{
  font-size:14px !important;
  font-weight:800 !important;
  color:#505050;
  white-space:nowrap;
  line-height:1.15;
}
.bca-promo-meta-cell .bca-promo-mini-empty,
.bca-promo-meta-cell .bca-promo-mini-loading,
.bca-promo-meta-cell .bca-promo-mini-more{
  display:block;
  font-size:14px !important;
  font-weight:800 !important;
  color:#707070;
  text-align:center;
}
.bca-promo-meta-cell .bca-promo-mini-more{padding-top:2px;}
.bca-promo-meta-cell .bca-promo-mini-badge.manual{background:#fdeeee;color:#c92825;}
.bca-promo-meta-cell .bca-promo-mini-badge.dod{background:#eaf2ff;color:#1d5fc7;}
.bca-promo-meta-cell .bca-promo-mini-badge.dxi{background:#f1edff;color:#6040bd;}
.bca-promo-meta-cell .bca-promo-mini-badge.relampago{background:#fff0d8;color:#bb6000;}
.bca-promo-meta-cell .bca-promo-mini-badge.smart{background:#eaf7ed;color:#1b7133;}
.bca-promo-meta-cell .bca-promo-mini-badge.meli{background:#eaf3ff;color:#2458a8;}
.bca-promo-meta-cell .bca-promo-mini-badge.generic{background:#f1f1f1;color:#333;}
@media (max-width:1500px){
  #view-base .bca-base-table col.col-promo-meta,
  .bca-fixed-base-header .bca-fixed-header-table col.col-promo-meta{width:150px !important;}
  #view-base .bca-base-table thead th.col-promo-meta,
  .bca-fixed-base-header .bca-fixed-header-table thead th.col-promo-meta{min-width:150px !important;font-size:13.5px !important;}
  .bca-promo-meta-cell .bca-promo-mini-badge{font-size:15px !important;}
  .bca-promo-meta-cell .bca-promo-mini-range{font-size:13.5px !important;}
}


/* v462 — Más aire para PROMO / VIGENCIA, separada de DOD WEB y DXI WEB */
#view-base .bca-base-table col.col-promo-meta,
.bca-fixed-base-header .bca-fixed-header-table col.col-promo-meta{
  width:230px !important;
}
#view-base .bca-base-table thead th.col-promo-meta,
.bca-fixed-base-header .bca-fixed-header-table thead th.col-promo-meta{
  min-width:230px !important;
}
#view-base .bca-base-table td.bca-promo-meta-cell{
  padding:10px 16px 10px 14px !important;
}
.bca-promo-meta-cell .bca-promo-meta-stack{
  gap:9px !important;
}
.bca-promo-meta-cell .bca-promo-meta-line{
  gap:9px !important;
  padding:5px 0 !important;
}
.bca-promo-meta-cell .bca-promo-mini-badge{
  min-height:26px !important;
  padding:0 10px !important;
  font-size:16px !important;
}
.bca-promo-meta-cell .bca-promo-mini-range{
  font-size:14px !important;
}
#view-base .bca-base-table col.col-dod-web,
.bca-fixed-base-header .bca-fixed-header-table col.col-dod-web,
#view-base .bca-base-table col.col-dxi-web,
.bca-fixed-base-header .bca-fixed-header-table col.col-dxi-web{
  width:132px !important;
}
#view-base .bca-base-table tbody td.dod-web-cell,
#view-base .bca-base-table tbody td.dxi-web-cell{
  padding-left:12px !important;
  padding-right:12px !important;
}
@media (max-width:1500px){
  #view-base .bca-base-table col.col-promo-meta,
  .bca-fixed-base-header .bca-fixed-header-table col.col-promo-meta{width:210px !important;}
  #view-base .bca-base-table thead th.col-promo-meta,
  .bca-fixed-base-header .bca-fixed-header-table thead th.col-promo-meta{min-width:210px !important;}
  #view-base .bca-base-table col.col-dod-web,
  .bca-fixed-base-header .bca-fixed-header-table col.col-dod-web,
  #view-base .bca-base-table col.col-dxi-web,
  .bca-fixed-base-header .bca-fixed-header-table col.col-dxi-web{width:124px !important;}
}


/* v463 — Promo / Vigencia más ancha, alineada y con estado Sin stock */
#view-base .bca-base-table col.col-promo-meta,
.bca-fixed-base-header .bca-fixed-header-table col.col-promo-meta{
  width:260px !important;
}
#view-base .bca-base-table thead th.col-promo-meta,
.bca-fixed-base-header .bca-fixed-header-table thead th.col-promo-meta{
  min-width:260px !important;
}
#view-base .bca-base-table td.bca-promo-meta-cell{
  vertical-align:middle !important;
  padding:12px 20px 12px 18px !important;
}
.bca-promo-meta-cell .bca-promo-meta-stack{
  width:100%;
  min-height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:10px !important;
}
.bca-promo-meta-cell .bca-promo-meta-line{
  width:100%;
  box-sizing:border-box;
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:12px !important;
  min-height:30px;
  padding:6px 2px !important;
}
.bca-promo-meta-cell .bca-promo-meta-line.is-single{
  justify-content:center !important;
}
.bca-promo-meta-cell .bca-promo-mini-badge{
  min-height:28px !important;
  padding:0 11px !important;
  font-size:16px !important;
}
.bca-promo-meta-cell .bca-promo-mini-range{
  font-size:14px !important;
}
.bca-promo-meta-cell .bca-promo-mini-badge.nostock{
  background:#f2f2f2 !important;
  color:#5b5b5b !important;
}
#view-base .bca-base-table col.col-dod-web,
.bca-fixed-base-header .bca-fixed-header-table col.col-dod-web,
#view-base .bca-base-table col.col-dxi-web,
.bca-fixed-base-header .bca-fixed-header-table col.col-dxi-web{
  width:118px !important;
}
#view-base .bca-base-table tbody td.dod-web-cell,
#view-base .bca-base-table tbody td.dxi-web-cell{
  padding-left:14px !important;
  padding-right:14px !important;
}
@media (max-width:1500px){
  #view-base .bca-base-table col.col-promo-meta,
  .bca-fixed-base-header .bca-fixed-header-table col.col-promo-meta{width:236px !important;}
  #view-base .bca-base-table thead th.col-promo-meta,
  .bca-fixed-base-header .bca-fixed-header-table thead th.col-promo-meta{min-width:236px !important;}
  #view-base .bca-base-table col.col-dod-web,
  .bca-fixed-base-header .bca-fixed-header-table col.col-dod-web,
  #view-base .bca-base-table col.col-dxi-web,
  .bca-fixed-base-header .bca-fixed-header-table col.col-dxi-web{width:112px !important;}
}


/* v466 — Headers más grandes y Promo/Vigencia más visible */
#view-base .bca-base-table thead th,
.bca-fixed-base-header .bca-fixed-header-table thead th{
  font-size:11.5px !important;
  padding-top:12px !important;
  padding-bottom:12px !important;
}
#view-base .bca-base-table thead th .th-title,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-title{
  font-size:13px !important;
  font-weight:800 !important;
  letter-spacing:.02em !important;
}
#view-base .bca-base-table thead th .th-subgrid,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid{
  margin-top:8px !important;
}
#view-base .bca-base-table thead th .th-subgrid span,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid span{
  font-size:11.5px !important;
  font-weight:800 !important;
}
#view-base .bca-base-table col.col-promo-meta,
.bca-fixed-base-header .bca-fixed-header-table col.col-promo-meta{
  width:320px !important;
}
#view-base .bca-base-table thead th.col-promo-meta,
.bca-fixed-base-header .bca-fixed-header-table thead th.col-promo-meta{
  min-width:320px !important;
}
#view-base .bca-base-table td.bca-promo-meta-cell{
  padding:14px 22px 14px 22px !important;
}
.bca-promo-meta-cell .bca-promo-meta-stack{
  gap:12px !important;
}
.bca-promo-meta-cell .bca-promo-meta-line{
  gap:14px !important;
  min-height:34px !important;
  padding:7px 4px !important;
}
.bca-promo-meta-cell .bca-promo-mini-badge{
  min-height:30px !important;
  padding:0 12px !important;
  font-size:17px !important;
  font-weight:900 !important;
}
.bca-promo-meta-cell .bca-promo-mini-range{
  font-size:15px !important;
  font-weight:800 !important;
  color:#4e4e4e !important;
}
#view-base .bca-base-table col.col-dod-web,
.bca-fixed-base-header .bca-fixed-header-table col.col-dod-web,
#view-base .bca-base-table col.col-dxi-web,
.bca-fixed-base-header .bca-fixed-header-table col.col-dxi-web{
  width:108px !important;
}
@media (max-width:1500px){
  #view-base .bca-base-table col.col-promo-meta,
  .bca-fixed-base-header .bca-fixed-header-table col.col-promo-meta{width:292px !important;}
  #view-base .bca-base-table thead th.col-promo-meta,
  .bca-fixed-base-header .bca-fixed-header-table thead th.col-promo-meta{min-width:292px !important;}
}


/* v467 — Chequeo de Promos: mostrar promos pasadas de la semana (como DOD)
   y remarcar mejor la vigencia dentro del Panel Principal. */
.bca-price-check-app #view-base .promo-main-state.finished{background:#f4f4f4;color:#666;}
.bca-price-check-app #view-base .promo-main-validity-ended{
  display:block;
  margin-top:4px;
  font-size:11px;
  font-weight:800;
  color:#8a8a8a;
  text-transform:uppercase;
  letter-spacing:.02em;
}
.bca-price-check-app #view-base .promo-main-validity.is-single .promo-main-validity-label,
.bca-price-check-app #view-base .promo-main-validity .promo-main-validity-date small{
  font-size:10px;
  font-weight:800;
}


/* v470 — Promo/Vigencia más grande y más marcada */
#view-base .bca-base-table col.col-promo-meta,
.bca-fixed-base-header .bca-fixed-header-table col.col-promo-meta{
  width:368px !important;
}
#view-base .bca-base-table thead th.col-promo-meta,
.bca-fixed-base-header .bca-fixed-header-table thead th.col-promo-meta{
  min-width:368px !important;
}
#view-base .bca-base-table td.bca-promo-meta-cell{
  padding:16px 24px !important;
}
.bca-promo-meta-cell .bca-promo-meta-stack{
  gap:14px !important;
}
.bca-promo-meta-cell .bca-promo-meta-line{
  gap:16px !important;
  min-height:38px !important;
  padding:8px 6px !important;
}
.bca-promo-meta-cell .bca-promo-mini-badge{
  min-height:34px !important;
  padding:0 14px !important;
  font-size:18.5px !important;
  font-weight:900 !important;
  letter-spacing:.01em !important;
}
.bca-promo-meta-cell .bca-promo-mini-range{
  font-size:16.5px !important;
  line-height:1.28 !important;
  font-weight:900 !important;
  color:#333 !important;
}
@media (max-width:1500px){
  #view-base .bca-base-table col.col-promo-meta,
  .bca-fixed-base-header .bca-fixed-header-table col.col-promo-meta{width:332px !important;}
  #view-base .bca-base-table thead th.col-promo-meta,
  .bca-fixed-base-header .bca-fixed-header-table thead th.col-promo-meta{min-width:332px !important;}
  .bca-promo-meta-cell .bca-promo-mini-badge{font-size:17px !important;}
  .bca-promo-meta-cell .bca-promo-mini-range{font-size:15.5px !important;}
}


/* v471 — Sin stock alineado a la izquierda + promo/historial exacto */
.bca-promo-meta-cell .bca-promo-meta-stack.is-nostock{
  justify-content:flex-start !important;
}
.bca-promo-meta-cell .bca-promo-meta-line.is-nostock{
  justify-content:flex-start !important;
}

/* v472 — SIN STOCK alineado exactamente como el resto de Promo / Vigencia */
.bca-promo-meta-cell .bca-promo-meta-stack.is-nostock{
  justify-content:center !important;
}
.bca-promo-meta-cell .bca-promo-meta-line.is-nostock{
  justify-content:flex-start !important;
  padding-left:6px !important;
}


/* v477 — Tabla general mucho más ancha y con más aire */
.wrap{
  padding-left:16px !important;
  padding-right:16px !important;
}
#view-base .bca-base-tablecard{
  overflow-x:auto !important;
}
#view-base .bca-base-table,
.bca-fixed-base-header .bca-fixed-header-table{
  min-width:3720px !important;
}
#view-base .bca-base-table thead th,
#view-base .bca-base-table tbody td,
.bca-fixed-base-header .bca-fixed-header-table thead th,
.bca-fixed-base-header .bca-fixed-header-table tbody td{
  padding-left:24px !important;
  padding-right:24px !important;
}
#view-base .bca-base-table col.col-foto,
.bca-fixed-base-header .bca-fixed-header-table col.col-foto{width:260px !important;}
#view-base .bca-base-table col.col-mla,
.bca-fixed-base-header .bca-fixed-header-table col.col-mla{width:230px !important;}
#view-base .bca-base-table col.col-sku,
.bca-fixed-base-header .bca-fixed-header-table col.col-sku{width:330px !important;}
#view-base .bca-base-table col.col-costo,
.bca-fixed-base-header .bca-fixed-header-table col.col-costo{width:130px !important;}
#view-base .bca-base-table col.col-stock,
.bca-fixed-base-header .bca-fixed-header-table col.col-stock{width:245px !important;}
#view-base .bca-base-table col.col-ventas,
.bca-fixed-base-header .bca-fixed-header-table col.col-ventas{width:220px !important;}
#view-base .bca-base-table col.col-cuotas,
.bca-fixed-base-header .bca-fixed-header-table col.col-cuotas{width:185px !important;}
#view-base .bca-base-table col.col-dod,
.bca-fixed-base-header .bca-fixed-header-table col.col-dod{width:180px !important;}
#view-base .bca-base-table col.col-dxi,
.bca-fixed-base-header .bca-fixed-header-table col.col-dxi{width:180px !important;}
#view-base .bca-base-table col.col-sugerido,
.bca-fixed-base-header .bca-fixed-header-table col.col-sugerido{width:200px !important;}
#view-base .bca-base-table col.col-promo-meta,
.bca-fixed-base-header .bca-fixed-header-table col.col-promo-meta{width:430px !important;}
#view-base .bca-base-table thead th.col-promo-meta,
.bca-fixed-base-header .bca-fixed-header-table thead th.col-promo-meta{min-width:430px !important;}
#view-base .bca-base-table col.col-dod-web,
.bca-fixed-base-header .bca-fixed-header-table col.col-dod-web{width:160px !important;}
#view-base .bca-base-table col.col-dxi-web,
.bca-fixed-base-header .bca-fixed-header-table col.col-dxi-web{width:160px !important;}
#view-base .bca-base-table col.col-lista,
.bca-fixed-base-header .bca-fixed-header-table col.col-lista{width:255px !important;}
#view-base .bca-base-table col.col-links,
.bca-fixed-base-header .bca-fixed-header-table col.col-links{width:240px !important;}
#view-base .bca-base-table td.bca-promo-meta-cell{
  padding-left:28px !important;
  padding-right:28px !important;
}
#view-base .bca-promo-meta-cell .bca-promo-meta-stack{
  gap:16px !important;
}
#view-base .bca-promo-meta-cell .bca-promo-meta-line{
  gap:18px !important;
}
#view-base .bca-promo-meta-cell .bca-promo-mini-range{
  white-space:normal !important;
}
#view-base .links-cell,
#view-base td.col-links,
#view-base .bca-links-cell{
  padding-left:28px !important;
  padding-right:28px !important;
}
@media (max-width:1600px){
  #view-base .bca-base-table,
  .bca-fixed-base-header .bca-fixed-header-table{min-width:3400px !important;}
  #view-base .bca-base-table col.col-promo-meta,
  .bca-fixed-base-header .bca-fixed-header-table col.col-promo-meta{width:390px !important;}
  #view-base .bca-base-table thead th.col-promo-meta,
  .bca-fixed-base-header .bca-fixed-header-table thead th.col-promo-meta{min-width:390px !important;}
}
@media (max-width:1280px){
  .wrap{padding-left:12px !important; padding-right:12px !important;}
  #view-base .bca-base-table,
  .bca-fixed-base-header .bca-fixed-header-table{min-width:3120px !important;}
}


/* v478 — tipografías generales más grandes en Base Comercial */
#view-base .bca-base-table,
.bca-fixed-base-header .bca-fixed-header-table{
  font-size:14px !important;
}
#view-base .bca-base-table thead th,
.bca-fixed-base-header .bca-fixed-header-table thead th{
  font-size:12.5px !important;
  font-weight:800 !important;
  letter-spacing:.02em !important;
  color:#222 !important;
}
#view-base .bca-base-table thead th .th-title,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-title{
  font-size:12.5px !important;
  font-weight:800 !important;
}
#view-base .bca-base-table thead th .th-subgrid span,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid span{
  font-size:12px !important;
  font-weight:700 !important;
  color:#444 !important;
}
#view-base .bca-base-table tbody td,
.bca-fixed-base-header .bca-fixed-header-table tbody td{
  font-size:18px !important;
}
#view-base .mla-group-main{font-size:13.5px !important;font-weight:800 !important;}
#view-base .mla-group-cat{font-size:12px !important;font-weight:700 !important;color:#666 !important;}
#view-base .sku-code{font-size:15px !important;font-weight:800 !important;}
#view-base .cat-pill{font-size:11.5px !important;font-weight:700 !important;}
#view-base .stockchip{font-size:13px !important;font-weight:700 !important;}
#view-base .weeklabels div{font-size:12.5px !important;font-weight:700 !important;}
#view-base .weeklabels .lbl{font-size:10px !important;font-weight:700 !important;}
#view-base .cuota-tag{font-size:11.5px !important;font-weight:800 !important;padding:5px 10px !important;}
#view-base .pc-toggle-quotas,
#view-base .cuotas-toggle{font-size:12.5px !important;font-weight:700 !important;}
#view-base .price-input,
#view-base .list-price-input,
#view-base .readonly-price,
#view-base .calc-price{
  font-size:13.5px !important;
  font-weight:700 !important;
}
#view-base .sug-value{font-size:16.5px !important;font-weight:800 !important;}
#view-base .sug-pct{font-size:12px !important;font-weight:700 !important;}
#view-base .bca-edit-product-link,
#view-base .bca-base-table .links-cell a,
#view-base .bca-links-cell a{
  font-size:12.5px !important;
  font-weight:700 !important;
  line-height:1.55 !important;
}
#view-base .bca-promo-meta-cell .bca-promo-mini-badge{
  font-size:14px !important;
  font-weight:800 !important;
  padding:5px 10px !important;
}
#view-base .bca-promo-meta-cell .bca-promo-mini-range{
  font-size:13.5px !important;
  font-weight:700 !important;
  line-height:1.45 !important;
  color:#333 !important;
}
#view-base .bca-promo-meta-cell .bca-promo-meta-line{
  min-height:38px !important;
}
#view-base .bca-promo-meta-cell .bca-promo-mini-empty,
#view-base .bca-promo-meta-cell .bca-promo-mini-loading,
#view-base .bca-promo-meta-cell .bca-promo-mini-more{
  font-size:13px !important;
  font-weight:700 !important;
}


/* v480 — mantener auto-ajuste, pero con tipografías realmente legibles */
#view-base .bca-base-table,
.bca-fixed-base-header .bca-fixed-header-table{
  font-size:18px !important;
}

#view-base .bca-base-table thead th,
.bca-fixed-base-header .bca-fixed-header-table thead th{
  font-size:15px !important;
  font-weight:900 !important;
  letter-spacing:.02em !important;
  color:#222 !important;
}

#view-base .bca-base-table thead th .th-title,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-title{
  font-size:15px !important;
  font-weight:900 !important;
}

#view-base .bca-base-table thead th .th-subgrid span,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid span{
  font-size:14px !important;
  font-weight:850 !important;
  color:#444 !important;
}

#view-base .mla-group-main{
  font-size:16px !important;
  font-weight:900 !important;
}
#view-base .mla-group-cat{
  font-size:14px !important;
  font-weight:800 !important;
  color:#666 !important;
}
#view-base .sku-code{
  font-size:18px !important;
  font-weight:900 !important;
}
#view-base .cat-pill{
  font-size:13px !important;
  font-weight:800 !important;
}
#view-base .costo{
  font-size:17px !important;
  font-weight:850 !important;
}
#view-base .stockchip{
  font-size:15px !important;
  font-weight:850 !important;
}
#view-base .weekbar .num,
#view-base .weeklabels div{
  font-size:15px !important;
  font-weight:850 !important;
}
#view-base .cuota-tag{
  font-size:14px !important;
  font-weight:900 !important;
}
#view-base .pc-toggle-quotas,
#view-base .cuotas-toggle{
  font-size:14px !important;
  font-weight:800 !important;
}
#view-base .price-input,
#view-base .list-price-input,
#view-base .readonly-price,
#view-base .calc-price{
  font-size:16px !important;
  font-weight:850 !important;
}
#view-base .sug-value{
  font-size:23px !important;
  font-weight:900 !important;
}
#view-base .sug-pct{
  font-size:14px !important;
  font-weight:850 !important;
}
#view-base .bca-promo-meta-cell .bca-promo-mini-badge{
  font-size:17px !important;
  font-weight:900 !important;
}
#view-base .bca-promo-meta-cell .bca-promo-mini-range{
  font-size:16px !important;
  font-weight:850 !important;
  line-height:1.45 !important;
  color:#333 !important;
}
#view-base .bca-base-table .links-cell a,
#view-base .bca-links-cell a,
#view-base .bca-edit-product-link{
  font-size:14px !important;
  font-weight:800 !important;
  line-height:1.55 !important;
}

/* No tocar el color dinámico del semáforo/sugerido */
#view-base .bca-base-table tbody td.sug-cell .sug-value,
#view-base .bca-base-table tbody td.sug-cell .sug-pct{
  color:inherit !important;
}


/* v481 — mantener auto-ajuste, pero evitar que quede microscópico */
#view-base .bca-base-table,
.bca-fixed-base-header .bca-fixed-header-table{
  min-width:3000px !important;
  font-size:22px !important;
}

/* Anchos: siguen cómodos, pero no obligan al auto-fit a reducir tanto todo */
#view-base .bca-base-table col.col-foto,
.bca-fixed-base-header .bca-fixed-header-table col.col-foto{width:210px !important;}
#view-base .bca-base-table col.col-mla,
.bca-fixed-base-header .bca-fixed-header-table col.col-mla{width:185px !important;}
#view-base .bca-base-table col.col-sku,
.bca-fixed-base-header .bca-fixed-header-table col.col-sku{width:260px !important;}
#view-base .bca-base-table col.col-costo,
.bca-fixed-base-header .bca-fixed-header-table col.col-costo{width:100px !important;}
#view-base .bca-base-table col.col-stock,
.bca-fixed-base-header .bca-fixed-header-table col.col-stock{width:180px !important;}
#view-base .bca-base-table col.col-ventas,
.bca-fixed-base-header .bca-fixed-header-table col.col-ventas{width:165px !important;}
#view-base .bca-base-table col.col-cuotas,
.bca-fixed-base-header .bca-fixed-header-table col.col-cuotas{width:145px !important;}
#view-base .bca-base-table col.col-dod,
.bca-fixed-base-header .bca-fixed-header-table col.col-dod{width:145px !important;}
#view-base .bca-base-table col.col-dxi,
.bca-fixed-base-header .bca-fixed-header-table col.col-dxi{width:145px !important;}
#view-base .bca-base-table col.col-sugerido,
.bca-fixed-base-header .bca-fixed-header-table col.col-sugerido{width:165px !important;}
#view-base .bca-base-table col.col-promo-meta,
.bca-fixed-base-header .bca-fixed-header-table col.col-promo-meta{width:350px !important;}
#view-base .bca-base-table thead th.col-promo-meta,
.bca-fixed-base-header .bca-fixed-header-table thead th.col-promo-meta{min-width:350px !important;}
#view-base .bca-base-table col.col-dod-web,
.bca-fixed-base-header .bca-fixed-header-table col.col-dod-web{width:125px !important;}
#view-base .bca-base-table col.col-dxi-web,
.bca-fixed-base-header .bca-fixed-header-table col.col-dxi-web{width:125px !important;}
#view-base .bca-base-table col.col-lista,
.bca-fixed-base-header .bca-fixed-header-table col.col-lista{width:190px !important;}
#view-base .bca-base-table col.col-links,
.bca-fixed-base-header .bca-fixed-header-table col.col-links{width:185px !important;}

/* Headers */
#view-base .bca-base-table thead th,
.bca-fixed-base-header .bca-fixed-header-table thead th{
  font-size:18px !important;
  font-weight:900 !important;
  color:#191919 !important;
}
#view-base .bca-base-table thead th .th-title,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-title{
  font-size:18px !important;
  font-weight:900 !important;
}
#view-base .bca-base-table thead th .th-subgrid span,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid span{
  font-size:16px !important;
  font-weight:900 !important;
}

/* Datos principales */
#view-base .mla-group-main{font-size:19px !important;font-weight:900 !important;}
#view-base .mla-group-cat{font-size:16px !important;font-weight:850 !important;}
#view-base .sku-code{font-size:21px !important;font-weight:900 !important;}
#view-base .cat-pill{font-size:15px !important;font-weight:850 !important;}
#view-base .costo{font-size:20px !important;font-weight:900 !important;}
#view-base .stockchip{font-size:17px !important;font-weight:900 !important;padding:7px 11px !important;}
#view-base .weekbar .num,
#view-base .weeklabels div{font-size:17px !important;font-weight:900 !important;}
#view-base .cuota-tag{font-size:16px !important;font-weight:900 !important;padding:6px 11px !important;}
#view-base .pc-toggle-quotas,
#view-base .cuotas-toggle{font-size:15px !important;font-weight:850 !important;}

/* Precios */
#view-base .price-input,
#view-base .list-price-input,
#view-base .readonly-price,
#view-base .calc-price{
  font-size:18px !important;
  font-weight:900 !important;
}
#view-base .sug-value{font-size:26px !important;font-weight:900 !important;}
#view-base .sug-pct{font-size:16px !important;font-weight:900 !important;}

/* Promo / Vigencia */
#view-base .bca-promo-meta-cell .bca-promo-mini-badge{
  font-size:18px !important;
  font-weight:900 !important;
  padding:6px 12px !important;
}
#view-base .bca-promo-meta-cell .bca-promo-mini-range{
  font-size:18px !important;
  font-weight:900 !important;
  line-height:1.45 !important;
  color:#2d2d2d !important;
}
#view-base .bca-promo-meta-cell .bca-promo-meta-line{
  min-height:46px !important;
}
#view-base .bca-promo-meta-cell .bca-promo-mini-empty,
#view-base .bca-promo-meta-cell .bca-promo-mini-loading,
#view-base .bca-promo-meta-cell .bca-promo-mini-more{
  font-size:17px !important;
  font-weight:850 !important;
}

/* Links */
#view-base .bca-base-table .links-cell a,
#view-base .bca-links-cell a,
#view-base .bca-edit-product-link{
  font-size:16px !important;
  font-weight:850 !important;
  line-height:1.6 !important;
}

/* IMPORTANTE: Sugerido conserva su color dinámico original */
#view-base .bca-base-table tbody td.sug-cell .sug-value,
#view-base .bca-base-table tbody td.sug-cell .sug-pct{
  color:inherit !important;
}

@media(max-width:1400px){
  #view-base .bca-base-table,
  .bca-fixed-base-header .bca-fixed-header-table{
    min-width:2850px !important;
  }
  #view-base .bca-base-table col.col-promo-meta,
  .bca-fixed-base-header .bca-fixed-header-table col.col-promo-meta{width:330px !important;}
  #view-base .bca-base-table thead th.col-promo-meta,
  .bca-fixed-base-header .bca-fixed-header-table thead th.col-promo-meta{min-width:330px !important;}
}


/* v482 — tipografía base 19px + header con más altura */
#view-base .bca-base-table,
.bca-fixed-base-header .bca-fixed-header-table{
  font-size:19px !important;
}

/* Header: más alto y con aire arriba/abajo */
#view-base .bca-base-table thead th,
.bca-fixed-base-header .bca-fixed-header-table thead th{
  font-size:19px !important;
  font-weight:900 !important;
  line-height:1.2 !important;
  padding-top:17px !important;
  padding-bottom:17px !important;
  vertical-align:middle !important;
}

#view-base .bca-base-table thead th .th-title,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-title{
  font-size:19px !important;
  font-weight:900 !important;
  line-height:1.2 !important;
}

#view-base .bca-base-table thead th .th-subgrid,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid{
  margin-top:9px !important;
}

#view-base .bca-base-table thead th .th-subgrid span,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-subgrid span{
  font-size:15.5px !important;
  font-weight:850 !important;
}

/* Texto principal de filas */
#view-base .mla-group-main{font-size:19px !important;font-weight:900 !important;}
#view-base .mla-group-cat{font-size:16.5px !important;font-weight:800 !important;}
#view-base .sku-code{font-size:19px !important;font-weight:900 !important;}
#view-base .cat-pill{font-size:15.5px !important;font-weight:800 !important;}
#view-base .costo{font-size:19px !important;font-weight:900 !important;}
#view-base .stockchip{font-size:17px !important;font-weight:900 !important;}
#view-base .weekbar .num,
#view-base .weeklabels div{font-size:17px !important;font-weight:900 !important;}
#view-base .cuota-tag{font-size:16px !important;font-weight:900 !important;}
#view-base .pc-toggle-quotas,
#view-base .cuotas-toggle{font-size:15.5px !important;font-weight:850 !important;}

/* Precios */
#view-base .price-input,
#view-base .list-price-input,
#view-base .readonly-price,
#view-base .calc-price{
  font-size:19px !important;
  font-weight:900 !important;
}

/* Sugerido */
#view-base .sug-value{
  font-size:24px !important;
  font-weight:900 !important;
}
#view-base .sug-pct{
  font-size:16px !important;
  font-weight:850 !important;
}

/* Promo / Vigencia */
#view-base .bca-promo-meta-cell .bca-promo-mini-badge{
  font-size:17px !important;
  font-weight:900 !important;
}
#view-base .bca-promo-meta-cell .bca-promo-mini-range{
  font-size:19px !important;
  font-weight:900 !important;
  line-height:1.4 !important;
}

/* Links */
#view-base .bca-base-table .links-cell a,
#view-base .bca-links-cell a,
#view-base .bca-edit-product-link{
  font-size:16px !important;
  font-weight:850 !important;
  line-height:1.55 !important;
}

/* Mantener colores dinámicos del Sugerido */
#view-base .bca-base-table tbody td.sug-cell .sug-value,
#view-base .bca-base-table tbody td.sug-cell .sug-pct{
  color:inherit !important;
}

/* v483 — ajustes puntuales sobre v482:
   header un poco más grande, Promo/Vigencia más chica y angosta,
   más separación entre DXI y Sugerido, Links centrados verticalmente. */

/* Header: un poco más grande que v482 (19px -> 21px) */
#view-base .bca-base-table thead th,
.bca-fixed-base-header .bca-fixed-header-table thead th{
  font-size:21px !important;
}
#view-base .bca-base-table thead th .th-title,
.bca-fixed-base-header .bca-fixed-header-table thead th .th-title{
  font-size:21px !important;
}

/* Promo / Vigencia: columna más angosta */
#view-base .bca-base-table col.col-promo-meta,
.bca-fixed-base-header .bca-fixed-header-table col.col-promo-meta{
  width:260px !important;
}
#view-base .bca-base-table thead th.col-promo-meta,
.bca-fixed-base-header .bca-fixed-header-table thead th.col-promo-meta{
  min-width:260px !important;
}

/* Promo / Vigencia: tipografía bastante más chica que el 19px de v482 */
#view-base .bca-promo-meta-cell .bca-promo-mini-badge{
  font-size:13.5px !important;
  font-weight:900 !important;
  padding:5px 10px !important;
}
#view-base .bca-promo-meta-cell .bca-promo-mini-range{
  font-size:14px !important;
  font-weight:800 !important;
  line-height:1.3 !important;
}
#view-base .bca-promo-meta-cell .bca-promo-meta-line{
  min-height:34px !important;
}
#view-base .bca-promo-meta-cell .bca-promo-mini-empty,
#view-base .bca-promo-meta-cell .bca-promo-mini-loading,
#view-base .bca-promo-meta-cell .bca-promo-mini-more{
  font-size:13.5px !important;
  font-weight:800 !important;
}

/* v484 — corrige 3 cosas de v483:
   1) Sugerido había quedado descentrado (el corrimiento asimétrico movía el
      recuadro pero el texto se centraba dentro de ese recuadro ya movido).
      Se revierte al recuadro simétrico de siempre. */
#view-base .bca-base-table tbody td.sug-cell > .sug-inner{
  left:0 !important;
}

/* 2) Separación real entre DXI y Sugerido: en vez de mover el recuadro de
      Sugerido, se corre el propio input de DXI hacia la izquierda dejando
      un margen fijo a su derecha. Más específico que el margin:auto general,
      así que gana sin tocar el resto de los inputs de precio. */
#view-base .bca-base-table input.price-input[data-field="dxi"]{
  margin-right:20px !important;
}

/* 3) Sacar la línea separadora entre renglones de Promo / Vigencia */
#view-base .bca-promo-meta-cell .bca-promo-meta-line{
  border-bottom:0 !important;
}

/* 4) Links: el centrado vertical por vertical-align/flex+height:100% no se
      estaba aplicando de forma consistente según el alto real de la fila.
      Se centra con position:absolute + transform, la misma técnica que ya
      usa Sugerido en esta tabla y que no depende de que el navegador
      resuelva porcentajes de alto dentro de una celda de tabla. */
#view-base .bca-base-table tbody td.col-links{
  position:relative !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
}
#view-base .bca-links-stack{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:6px !important;
  position:absolute !important;
  top:50% !important;
  left:18px !important;
  right:18px !important;
  transform:translateY(-50%) !important;
  height:auto !important;
  width:auto !important;
}

/* v486g — LINKS: centrar el bloque con contenedor completo; texto alineado a izquierda.
   No se centra por el ancho variable del contenido. La columna completa actúa como
   contenedor y cada renglón usa exactamente la misma caja interna. */
html body #view-base .bca-base-table tbody td.col-links{
  position:relative !important;
  vertical-align:middle !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  text-align:left !important;
}

html body #view-base .bca-base-table tbody td.col-links > .bca-links-stack{
  position:absolute !important;
  top:50% !important;
  left:0 !important;
  right:0 !important;
  bottom:auto !important;
  transform:translateY(-50%) !important;

  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box !important;

  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  text-align:left !important;
}

html body #view-base .bca-base-table tbody td.col-links > .bca-links-stack > .bca-link-slot{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  width:104px !important;
  min-width:104px !important;
  max-width:104px !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box !important;
  text-align:left !important;
}

html body #view-base .bca-base-table tbody td.col-links > .bca-links-stack > .bca-link-slot > :is(.mla-link,.vs-link,.bca-edit-product-link,.bca-ads-link){
  display:inline-flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  margin:0 !important;
  padding:0 !important;
  text-align:left !important;
  white-space:nowrap !important;
}


/* v486h — LINKS: centrado REAL del bloque completo dentro de cada rowspan.
   La causa era position:absolute dentro de <td rowspan>: Chrome no usa siempre
   la altura visual completa del rowspan como referencia. Por eso algunos bloques
   quedaban más arriba. Volvemos al centrado nativo de celda de tabla. */
html body #view-base .bca-base-table tbody td.col-links{
  position:static !important;
  vertical-align:middle !important;
  text-align:left !important;
  padding-top:12px !important;
  padding-bottom:12px !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

/* Bloque centrado horizontalmente; contenido alineado a la izquierda. */
html body #view-base .bca-base-table tbody td.col-links > .bca-links-stack{
  position:static !important;
  top:auto !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  transform:none !important;

  width:104px !important;
  min-width:104px !important;
  max-width:104px !important;
  height:auto !important;

  margin-left:auto !important;
  margin-right:auto !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
  padding:0 !important;
  box-sizing:border-box !important;

  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  justify-content:center !important;
  gap:6px !important;
  text-align:left !important;
}

/* Todas las líneas parten exactamente del mismo lugar. */
html body #view-base .bca-base-table tbody td.col-links > .bca-links-stack > .bca-link-slot{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  width:104px !important;
  min-width:104px !important;
  max-width:104px !important;
  margin:0 !important;
  padding:0 !important;
  text-align:left !important;
  box-sizing:border-box !important;
}

html body #view-base .bca-base-table tbody td.col-links > .bca-links-stack > .bca-link-slot > :is(.mla-link,.vs-link,.bca-edit-product-link,.bca-ads-link){
  display:inline-flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  margin:0 !important;
  padding:0 !important;
  text-align:left !important;
  white-space:nowrap !important;
}


/* v486k — "Ocultar cuotas" siempre en una sola línea */
#view-base .cuota-wrap{
  min-width:118px !important;
}

#view-base .cuotas-toggle,
#view-base .pc-toggle-quotas{
  white-space:nowrap !important;
  word-break:keep-all !important;
  overflow-wrap:normal !important;
  display:inline-block !important;
  width:auto !important;
  max-width:none !important;
  line-height:1.2 !important;
}

/* v8.9.482 — ROAS Objetivo Product Ads */
#view-base .bca-base-table col.col-roas,
.bca-fixed-base-header .bca-fixed-header-table col.col-roas{
  width:82px !important;
}
#view-base .bca-base-table thead th.col-roas,
.bca-fixed-base-header .bca-fixed-header-table thead th.col-roas{
  min-width:82px !important;
  text-align:center !important;
}
#view-base .bca-roas-cell{
  text-align:center !important;
  vertical-align:middle !important;
  padding-left:8px !important;
  padding-right:8px !important;
}
#view-base .bca-roas-value{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:52px !important;
  min-height:30px !important;
  padding:5px 9px !important;
  border-radius:10px !important;
  background:#eef7eb !important;
  color:#245c18 !important;
  font-size:16px !important;
  font-weight:900 !important;
  line-height:1 !important;
  white-space:nowrap !important;
}
#view-base .bca-roas-value.is-empty{
  background:#f3f3f3 !important;
  color:#8a8a8a !important;
  font-weight:800 !important;
}
.bca-meli-roas-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}
.bca-meli-roas-card .bca-meli-sync-meta b{
  text-align:right;
}

/* v8.9.488 — paleta unificada de promociones en todas las secciones */
:root{
  --bca-promo-manual-bg:#fdecec;
  --bca-promo-manual-fg:#c62828;
  --bca-promo-dod-bg:#e8f1ff;
  --bca-promo-dod-fg:#2563eb;
  --bca-promo-dxi-bg:#f1e9ff;
  --bca-promo-dxi-fg:#7c3aed;
  --bca-promo-relampago-bg:#fff0d6;
  --bca-promo-relampago-fg:#c46a00;
  --bca-promo-smart-bg:#e8f7ec;
  --bca-promo-smart-fg:#198754;
}

/* Base Comercial — PROMO / VIGENCIA */
#view-base .bca-promo-mini-badge.manual{
  background:var(--bca-promo-manual-bg)!important;
  color:var(--bca-promo-manual-fg)!important;
}
#view-base .bca-promo-mini-badge.dod{
  background:var(--bca-promo-dod-bg)!important;
  color:var(--bca-promo-dod-fg)!important;
}
#view-base .bca-promo-mini-badge.dxi{
  background:var(--bca-promo-dxi-bg)!important;
  color:var(--bca-promo-dxi-fg)!important;
}
#view-base .bca-promo-mini-badge.relampago{
  background:var(--bca-promo-relampago-bg)!important;
  color:var(--bca-promo-relampago-fg)!important;
}
#view-base .bca-promo-mini-badge.smart{
  background:var(--bca-promo-smart-bg)!important;
  color:var(--bca-promo-smart-fg)!important;
}

/* Chequeo de Promos — Tipo de promoción */
.bca-price-check-app #view-base .promo-main-type.manual,
.bca-price-check-app :is(#view-estado,#view-promo-precios,#view-promo-precios-manual) .promo-main-type.manual{
  background:var(--bca-promo-manual-bg)!important;
  color:var(--bca-promo-manual-fg)!important;
}
.bca-price-check-app #view-base .promo-main-type.dod,
.bca-price-check-app :is(#view-estado,#view-promo-precios,#view-promo-precios-manual) .promo-main-type.dod{
  background:var(--bca-promo-dod-bg)!important;
  color:var(--bca-promo-dod-fg)!important;
}
.bca-price-check-app #view-base .promo-main-type.dxi,
.bca-price-check-app :is(#view-estado,#view-promo-precios,#view-promo-precios-manual) .promo-main-type.dxi{
  background:var(--bca-promo-dxi-bg)!important;
  color:var(--bca-promo-dxi-fg)!important;
}
.bca-price-check-app #view-base .promo-main-type.relampago,
.bca-price-check-app :is(#view-estado,#view-promo-precios,#view-promo-precios-manual) .promo-main-type.relampago{
  background:var(--bca-promo-relampago-bg)!important;
  color:var(--bca-promo-relampago-fg)!important;
}
.bca-price-check-app #view-base .promo-main-type.smart,
.bca-price-check-app :is(#view-estado,#view-promo-precios,#view-promo-precios-manual) .promo-main-type.smart{
  background:var(--bca-promo-smart-bg)!important;
  color:var(--bca-promo-smart-fg)!important;
}

/* SMART — mismas referencias cromáticas */
.bca-smart2-type.smart,
.bca-smart2-type.price_matching,
.bca-smart2-type.marketplace_campaign{
  background:var(--bca-promo-smart-bg)!important;
  color:var(--bca-promo-smart-fg)!important;
}
.bca-smart2-type.lightning{
  background:var(--bca-promo-relampago-bg)!important;
  color:var(--bca-promo-relampago-fg)!important;
}
.bca-smart2-type.dod{
  background:var(--bca-promo-dod-bg)!important;
  color:var(--bca-promo-dod-fg)!important;
}

/* Mapeos / chips auxiliares: mantener MANUAL y SMART coherentes */
.bca-campaign-map-type.manual{
  background:var(--bca-promo-manual-bg)!important;
  color:var(--bca-promo-manual-fg)!important;
}
.bca-campaign-map-type.smart{
  background:var(--bca-promo-smart-bg)!important;
  color:var(--bca-promo-smart-fg)!important;
}

/* v8.9.490 — más aire entre variantes/MLA en PROMO / VIGENCIA */
#view-base .bca-base-table td.bca-promo-meta-cell{
  padding-top:24px !important;
  padding-bottom:24px !important;
}

/* Cada bloque de promos queda visualmente separado del MLA anterior/siguiente. */
#view-base .bca-promo-meta-cell .bca-promo-meta-stack{
  margin-top:8px !important;
  margin-bottom:8px !important;
}

/* Un poco más de aire entre promos dentro del mismo MLA, sin agrandar de más. */
#view-base .bca-promo-meta-cell .bca-promo-meta-line{
  margin-top:3px !important;
  margin-bottom:3px !important;
}

/* Separador suave entre variantes: solo dentro de Promo/Vigencia. */
#view-base .bca-base-table tbody tr + tr td.bca-promo-meta-cell{
  border-top:8px solid #f3f3f3 !important;
}

/* v8.9.491 — aire uniforme en toda la tabla Base Comercial */
/*
 * Mantiene tipografías, colores, anchos base y autoajuste.
 * Solo agrega respiración visual pareja entre columnas y variantes/MLA.
 */
#view-base .bca-base-table thead th,
.bca-fixed-base-header .bca-fixed-header-table thead th{
  padding-left:16px !important;
  padding-right:16px !important;
}

#view-base .bca-base-table tbody td{
  padding-left:14px !important;
  padding-right:14px !important;
}

/* Más aire en los bloques donde visualmente se juntaban más. */
#view-base .bca-base-table tbody td.bca-mla-column-cell{
  padding-left:18px !important;
  padding-right:18px !important;
}
#view-base .bca-base-table tbody td.bca-sku-column-cell{
  padding-left:18px !important;
  padding-right:18px !important;
}
#view-base .bca-base-table tbody td:nth-child(7),
#view-base .bca-base-table tbody td:nth-child(8),
#view-base .bca-base-table tbody td:nth-child(9),
#view-base .bca-base-table tbody td:nth-child(12),
#view-base .bca-base-table tbody td:nth-child(13),
#view-base .bca-base-table tbody td:nth-child(14),
#view-base .bca-base-table tbody td:nth-child(15),
#view-base .bca-base-table tbody td:nth-child(16){
  padding-left:16px !important;
  padding-right:16px !important;
}

/* Separación horizontal suave: ahora atraviesa TODAS las columnas de cada variante. */
#view-base .bca-base-table tbody tr + tr > td{
  border-top:8px solid #f3f3f3 !important;
}

/* En Promo/Vigencia ya existía este efecto; se conserva sin duplicar grosor. */
#view-base .bca-base-table tbody tr + tr td.bca-promo-meta-cell{
  border-top:8px solid #f3f3f3 !important;
}

/* Evita que el contenido quede pegado a los nuevos separadores. */
#view-base .bca-base-table tbody td{
  padding-top:16px !important;
  padding-bottom:16px !important;
}
#view-base .bca-base-table td.bca-promo-meta-cell{
  padding-top:24px !important;
  padding-bottom:24px !important;
}

/* Links: conservar exactamente su lógica de centrado, solo darle aire lateral. */
html body #view-base .bca-base-table tbody td.col-links{
  padding-left:14px !important;
  padding-right:14px !important;
}


/* v8.9.492 — PRINCIPAL + CATÁLOGO se leen como un solo bloque visual */
/*
 * v491 agregó el separador entre cada <tr>. Como Principal y Catálogo son dos
 * filas distintas, eso metía una línea justo en el medio del par.
 * Las filas catálogo ahora tienen clase propia y no reciben ese separador.
 * El aire reaparece recién cuando comienza el próximo Principal.
 */
#view-base .bca-base-table tbody tr.bca-catalog-row > td,
#view-base .bca-base-table tbody tr.variant-catalog-row > td,
#view-base .bca-base-table tbody tr.shared-catalog-row > td{
  border-top:0 !important;
}

/* Principal y su catálogo quedan más unidos internamente. */
#view-base .bca-base-table tbody tr.bca-catalog-row > td.bca-mla-column-cell,
#view-base .bca-base-table tbody tr.variant-catalog-row > td.bca-mla-column-cell,
#view-base .bca-base-table tbody tr.shared-catalog-row > td.bca-mla-column-cell{
  padding-top:8px !important;
}

/* No tocar el separador que abre el siguiente bloque Principal/variante. */

/* v8.9.507 — Preview de costos Base Comercial -> VirtualSeller */
.bca-vs-cost-dialog{width:min(1180px,calc(100vw - 36px));padding:0;overflow:hidden}
.bca-vs-cost-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px 16px;border-bottom:1px solid #ececec}
.bca-vs-cost-head small{display:block;color:#a01615;font-size:9px;font-weight:900;letter-spacing:.55px;margin-bottom:4px}
.bca-vs-cost-head h2{margin:0 0 5px}.bca-vs-cost-head p{margin:0;color:#777;font-size:12px}
.bca-vs-cost-summary{display:flex;flex-wrap:wrap;gap:10px;padding:14px 24px;background:#fafafa;border-bottom:1px solid #ececec}
.bca-vs-cost-summary span{display:flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #e4e4e4;border-radius:9px;background:#fff;color:#666;font-size:11px}
.bca-vs-cost-summary strong{color:#111;font-size:13px}.bca-vs-decimal-note{margin-left:auto!important}

.bca-vs-selection-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.bca-vs-mini-btn{min-height:32px!important;padding:6px 10px!important;font-size:10px!important;border-radius:8px!important}
.bca-vs-selected-pill{display:flex!important;align-items:center;gap:5px;padding:7px 10px;border:1px solid #e4e4e4;border-radius:9px;background:#fff;color:#555;font-size:10px}
.bca-vs-selected-pill strong{font-size:12px}
.bca-vs-cost-table-wrap{max-height:54vh;overflow:auto;padding:0 24px}
.bca-vs-cost-table{width:100%;border-collapse:separate;border-spacing:0;font-size:11px}
.bca-vs-cost-table th{position:sticky;top:0;z-index:2;background:#fff;padding:11px 9px;border-bottom:1px solid #ddd;text-align:left;color:#555;white-space:nowrap}
.bca-vs-cost-table td{padding:10px 9px;border-bottom:1px solid #eee;vertical-align:middle}.bca-vs-cost-table tr.is-change{background:#fffaf6}.bca-vs-cost-table tr.is-error{background:#fff6f6}
.bca-vs-cost-table input[type=checkbox]{width:16px;height:16px}.bca-vs-cost-status{display:inline-flex;padding:4px 7px;border-radius:999px;background:#f1f2f3;color:#666;font-size:9px;font-weight:850}.bca-vs-cost-status.is-change{background:#fff0dc;color:#9b5e00}.bca-vs-cost-status.is-error{background:#fdeaea;color:#a01615}.bca-vs-cost-status.is-same{background:#e8f6eb;color:#18773a}
.bca-vs-cost-result{min-height:20px;padding:12px 24px 0;color:#555;font-size:11px}.bca-vs-cost-dialog .bca-modal-actions{padding:16px 24px 22px;margin:0}
@media(max-width:800px){.bca-vs-cost-head{flex-direction:column}.bca-vs-decimal-note{margin-left:0!important}.bca-vs-cost-table-wrap{padding:0 14px}.bca-vs-cost-summary,.bca-vs-cost-result{padding-left:14px;padding-right:14px}}

/* v8.9.509 — los diálogos de confirmación deben quedar por encima de previews/modales dinámicos. */
#bca-confirm-modal.bca-confirm-modal-top{z-index:100500;}

/* v8.9.518 — FULL: SKU inexistentes en VirtualSeller se omiten con advertencia */
.fullplan-skipped-warning{background:#fff8e8;border:1px solid #f1cf8f;border-radius:12px;padding:13px 16px;margin:0 0 12px;display:flex;flex-direction:column;gap:4px;color:#6b4b13}.fullplan-skipped-warning[hidden]{display:none!important}.fullplan-skipped-warning strong{font-size:12px;color:#6b3e00}.fullplan-skipped-warning>span{font-size:10px;color:#80602b}.fullplan-skipped-warning>div{margin-top:5px;font-size:10px;line-height:1.55}.fullplan-skipped-warning code{font-size:10px;font-weight:800;color:#8c5100;background:#fff1cf;border-radius:5px;padding:2px 5px}.fullplan-skipped-warning div span{color:#8a6b35}

/* v8.9.522 — Movimiento de Stock: fecha de colecta + push directo a VirtualSeller */
.movstock-copy-card{grid-template-columns:auto minmax(210px,.7fr) minmax(145px,.38fr) minmax(145px,.38fr) minmax(380px,1.45fr) auto;}
.movstock-date-field-wrap{display:flex;flex-direction:column;gap:6px;min-width:0;}
.movstock-date-field-wrap label{font-size:9px;font-weight:800;color:#6e6252;text-transform:uppercase;letter-spacing:.04em;}
.movstock-date-field-wrap input{width:100%;height:42px;border:1px solid #e5c788;border-radius:10px;background:#fff;padding:0 12px;font:inherit;font-size:13px;color:#111;outline:none;box-sizing:border-box;}
.movstock-date-field-wrap input:focus{border-color:#b11d1c;box-shadow:0 0 0 3px rgba(177,29,28,.07);}
.movstock-vs-modal{position:fixed;inset:0;z-index:100120;background:rgba(20,20,20,.5);display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box;}
.movstock-vs-dialog{width:min(1040px,96vw);max-height:90vh;background:#fff;border-radius:16px;box-shadow:0 28px 80px rgba(0,0,0,.28);display:flex;flex-direction:column;overflow:hidden;}
.movstock-vs-head{display:flex;justify-content:space-between;align-items:flex-start;padding:20px 22px 14px;border-bottom:1px solid #ececec;}
.movstock-vs-head span{display:block;color:#a51615;font-size:9px;font-weight:900;letter-spacing:.08em;margin-bottom:4px;}
.movstock-vs-head h3{margin:0;font-size:22px;color:#111;}
.movstock-vs-head button{border:0;background:#f5f5f5;width:36px;height:36px;border-radius:9px;font-size:22px;line-height:1;cursor:pointer;}
.movstock-vs-summary{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;padding:14px 22px;background:#fafafa;border-bottom:1px solid #ededed;}
.movstock-vs-summary>div{display:flex;flex-direction:column;gap:3px;min-width:0;}
.movstock-vs-summary span{font-size:9px;color:#777;text-transform:uppercase;font-weight:800;}
.movstock-vs-summary b{font-size:12px;color:#111;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.movstock-vs-observation{margin:14px 22px 0;padding:10px 12px;border:1px solid #efdfc1;background:#fffaf1;border-radius:10px;font-size:12px;color:#5f4b2f;}
.movstock-vs-table-wrap{overflow:auto;margin:14px 22px;min-height:140px;border:1px solid #e8e8e8;border-radius:10px;}
.movstock-vs-table-wrap table{width:100%;border-collapse:collapse;font-size:11px;}
.movstock-vs-table-wrap th{position:sticky;top:0;background:#f7f7f7;text-align:left;padding:9px 10px;border-bottom:1px solid #ddd;font-size:9px;text-transform:uppercase;letter-spacing:.03em;}
.movstock-vs-table-wrap td{padding:9px 10px;border-bottom:1px solid #eee;vertical-align:top;}
.movstock-vs-table-wrap tr:last-child td{border-bottom:0;}
.movstock-vs-actions{display:flex;justify-content:flex-end;gap:10px;padding:14px 22px 20px;border-top:1px solid #eee;}
@media(max-width:1150px){.movstock-copy-card{grid-template-columns:auto 1fr 170px 170px auto}.movstock-copy-field-wrap{grid-column:2/5}.movstock-copy-btn{grid-column:5;grid-row:1/3}.movstock-vs-summary{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.movstock-copy-card{grid-template-columns:auto 1fr}.movstock-date-field-wrap,.movstock-copy-field-wrap{grid-column:1/-1}.movstock-copy-btn{grid-column:1/-1;grid-row:auto;width:100%}.movstock-vs-summary{grid-template-columns:repeat(2,1fr)}.movstock-vs-modal{padding:10px}.movstock-vs-dialog{max-height:96vh}.movstock-vs-head h3{font-size:18px}}

/* v8.9.523 — alinear Fecha de colecta y Observaciones en Movimiento de Stock */
.movstock-date-field-wrap,.movstock-copy-field-wrap{align-self:start;}
.movstock-copy-field-wrap label{font-size:9px;font-weight:800;color:#6e6252;text-transform:uppercase;letter-spacing:.04em;line-height:1.2;}


/* v8.9.524 — Movimiento FULL visible y copiable en historial */
.movstock-history-mst{display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}
.movstock-history-mst strong{font-size:10px;color:#8f1515;font-weight:900;letter-spacing:.01em}
.movstock-history-mst button{border:1px solid #dfcaca;background:#fff7f7;color:#981919;border-radius:7px;height:26px;padding:0 8px;font:800 8px/1 'Inter',Arial,sans-serif;cursor:pointer}
.movstock-history-mst button:hover{background:#981919;color:#fff;border-color:#981919}
.movstock-history-mst button.is-copied{background:#e5f5e7;color:#197436;border-color:#cce8d0}

/* v8.9.526 — Fecha del MST automática; solo se elige Fecha de colecta */
.movstock-copy-card{grid-template-columns:auto minmax(210px,.7fr) minmax(160px,.42fr) minmax(420px,1.55fr) auto;}
@media(max-width:1150px){.movstock-copy-card{grid-template-columns:auto 1fr 190px auto}.movstock-copy-field-wrap{grid-column:2/4}.movstock-copy-btn{grid-column:4;grid-row:1/3}}


/* v8.9.539 — Foto centrada verticalmente en todo el bloque de variantes.
   Los <td rowspan> no exponen una altura fiable para calcular márgenes por JS,
   por eso centramos el contenido respecto del propio cuadro visual de la celda. */
.bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell{
  position:relative !important;
  vertical-align:middle !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
}
.bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell > img,
.bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell > .noimg{
  position:absolute !important;
  top:50% !important;
  left:50% !important;
  margin:0 !important;
  transform:translate(-50%,-50%) !important;
}


/* v8.9.540 — centrado real de foto sobre todas las filas del rowspan.
   JS mide desde la primera hasta la última variante y aporta el desplazamiento. */
.bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell{
  position:static !important;
  vertical-align:top !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  overflow:visible !important;
}
.bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell > img,
.bca-price-check-app #view-base td.foto-cell.promo-main-photo-cell > .noimg{
  position:relative !important;
  top:auto !important;
  left:auto !important;
  display:block !important;
  margin-left:auto !important;
  margin-right:auto !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
  transform:translateY(var(--bca-photo-shift,0px)) !important;
}


/* v8.9.542 — FIX REAL: la tabla principal tenía una regla histórica que forzaba
   .variant-shared-photo a vertical-align:top. En celdas rowspan eso pegaba la
   imagen a la primera variante. Se centra nativamente en todo el bloque. */
#view-base td.foto-cell.variant-shared-photo:not(.promo-main-photo-cell){
  vertical-align:middle !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
}
#view-base td.foto-cell.variant-shared-photo:not(.promo-main-photo-cell) > img,
#view-base td.foto-cell.variant-shared-photo:not(.promo-main-photo-cell) > .noimg{
  position:static !important;
  top:auto !important;
  left:auto !important;
  display:block !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
  margin-left:auto !important;
  margin-right:auto !important;
  transform:none !important;
}


/* v8.9.543 — Panel principal Base Comercial: números más grandes */
.bca-price-check-app #view-base .promo-main-table tbody td{
  font-size:13.5px !important;
}
.bca-price-check-app #view-base .promo-main-line strong{
  font-size:14.5px !important;
  font-weight:900 !important;
}
.bca-price-check-app #view-base .promo-main-line small{
  font-size:10.5px !important;
  font-weight:800 !important;
}
.bca-price-check-app #view-base .promo-main-price-lines strong,
.bca-price-check-app #view-base .promo-main-list-price{
  font-size:17px !important;
  font-weight:900 !important;
}
.bca-price-check-app #view-base .promo-main-price-lines small{
  font-size:10px !important;
  font-weight:800 !important;
}
.bca-price-check-app #view-base .promo-main-cuota-wrap .cuota-tag{
  font-size:11px !important;
  font-weight:900 !important;
}
.bca-price-check-app #view-base .promo-main-cuota-wrap .cuotas-toggle{
  font-size:11px !important;
  font-weight:800 !important;
}
.bca-price-check-app #view-base .promo-main-table .stockchip{
  min-width:42px !important;
  padding:6px 9px !important;
  font-size:14px !important;
  font-weight:900 !important;
  border-radius:9px !important;
}
.bca-price-check-app #view-base .promo-main-table .weekbar .num,
.bca-price-check-app #view-base .promo-main-table .weeklabels div{
  font-size:12.5px !important;
  font-weight:900 !important;
}
.bca-price-check-app #view-base .promo-main-links a{
  font-size:11px !important;
  font-weight:800 !important;
}


/* v8.9.546 — Prueba de legibilidad: valores numéricos en Arial.
   Base: v8.9.543. No incluye cambios de autoajuste de v8.9.544/v8.9.545. */
#view-base .costo,
#view-base .stockchip,
#view-base .weekbar .num,
#view-base .weeklabels div,
#view-base .price-input,
#view-base .list-price-input,
#view-base .readonly-price,
#view-base .calc-price,
#view-base .sug-value,
#view-base .sug-pct,
#view-base .bca-roas-value,
.bca-price-check-app #view-base .promo-main-price-lines strong,
.bca-price-check-app #view-base .promo-main-price-lines small,
.bca-price-check-app #view-base .promo-main-list-price,
.bca-price-check-app #view-base .promo-main-table .stockchip,
.bca-price-check-app #view-base .promo-main-table .weekbar .num,
.bca-price-check-app #view-base .promo-main-table .weeklabels div{
  font-family: Arial, Helvetica, sans-serif !important;
  font-variant-numeric: tabular-nums !important;
  font-feature-settings: "tnum" 1 !important;
  letter-spacing:0 !important;
}


/* v8.9.547 — DOD WEB y DXI WEB también en Arial */
#view-base td.dod-web-cell,
#view-base td.dxi-web-cell,
#view-base td.dod-web-cell .cell-value,
#view-base td.dxi-web-cell .cell-value,
#view-base .web-price-cell,
#view-base .web-price-cell .cell-value{
  font-family: Arial, Helvetica, sans-serif !important;
  font-variant-numeric: tabular-nums !important;
  font-feature-settings: "tnum" 1 !important;
  letter-spacing:0 !important;
}

/* v8.9.548 — Arial REAL en todos los valores DOD / DXI y sus variantes.
   Algunas celdas AUTO KIT y factores seguían forzando var(--mono) con !important. */
#view-base .price-input,
#view-base .list-price-input,
#view-base .readonly-price,
#view-base .calc-price,
#view-base .bca-kit-auto-cell,
#view-base .bca-kit-auto-cell *,
#view-base .bca-kit-auto-value,
#view-base .bca-kit-auto-value *,
#view-base .bca-special-discount-factor,
#view-base .bca-special-discount-factor *,
#view-base .bca-special-discount-factor-input,
#view-base td.dod-web-cell,
#view-base td.dod-web-cell *,
#view-base td.dxi-web-cell,
#view-base td.dxi-web-cell *,
#view-base td.web-price-cell,
#view-base td.web-price-cell *,
.bca-price-check-app #view-base .bca-price-check-price-card,
.bca-price-check-app #view-base .bca-price-check-price-card *,
.bca-price-check-app #view-base .bca-price-check-readonly-cell .calc-price,
.bca-price-check-app #view-base .bca-kit-auto-value,
.bca-price-check-app #view-base .bca-kit-auto-value *,
.bca-price-check-app #view-base .cell-value,
.bca-price-check-app #view-base .lista-cell .calc-price{
  font-family: Arial, Helvetica, sans-serif !important;
  font-variant-numeric: tabular-nums !important;
  font-feature-settings: "tnum" 1 !important;
  letter-spacing:0 !important;
}


/* v8.9.549 — Promo/Vigencia menos bold */
.bca-price-check-app #view-base .promo-main-type,
.bca-price-check-app #view-base .promo-main-state{
  font-weight:700 !important;
  letter-spacing:0 !important;
}
.bca-price-check-app #view-base .promo-main-line strong{
  font-weight:660 !important;
  line-height:1.14 !important;
}
.bca-price-check-app #view-base .promo-main-line small{
  font-weight:520 !important;
}


/* v8.9.550 — Costo menos bold y un poco más chico */
#view-base .costo{
  font-size:15.5px !important;
  font-weight:720 !important;
  line-height:1.12 !important;
}


/* v8.9.551 — Fuente tipo WordPress Admin (Segoe UI en Windows) para números y Promo/Vigencia */
#view-base .costo,
#view-base .stockchip,
#view-base .weekbar .num,
#view-base .weeklabels div,
#view-base .price-input,
#view-base .list-price-input,
#view-base .readonly-price,
#view-base .calc-price,
#view-base .sug-value,
#view-base .sug-pct,
#view-base .bca-roas-value,
#view-base .bca-kit-auto-cell,
#view-base .bca-kit-auto-cell *,
#view-base .bca-kit-auto-value,
#view-base .bca-kit-auto-value *,
#view-base .bca-special-discount-factor,
#view-base .bca-special-discount-factor *,
#view-base .bca-special-discount-factor-input,
#view-base td.dod-web-cell,
#view-base td.dod-web-cell *,
#view-base td.dxi-web-cell,
#view-base td.dxi-web-cell *,
#view-base td.web-price-cell,
#view-base td.web-price-cell *,
.bca-price-check-app #view-base .promo-main-price-lines strong,
.bca-price-check-app #view-base .promo-main-price-lines small,
.bca-price-check-app #view-base .promo-main-list-price,
.bca-price-check-app #view-base .promo-main-table .stockchip,
.bca-price-check-app #view-base .promo-main-table .weekbar .num,
.bca-price-check-app #view-base .promo-main-table .weeklabels div,
.bca-price-check-app #view-base .bca-price-check-price-card,
.bca-price-check-app #view-base .bca-price-check-price-card *,
.bca-price-check-app #view-base .bca-price-check-readonly-cell .calc-price,
.bca-price-check-app #view-base .cell-value,
.bca-price-check-app #view-base .lista-cell .calc-price,
.bca-price-check-app #view-base .promo-main-type,
.bca-price-check-app #view-base .promo-main-state,
.bca-price-check-app #view-base .promo-main-line strong,
.bca-price-check-app #view-base .promo-main-line small{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif !important;
  font-variant-numeric:tabular-nums !important;
  font-feature-settings:"tnum" 1 !important;
  letter-spacing:0 !important;
}


/* v8.9.552 — COSTO más liviano */
#view-base .costo{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif !important;
  font-size:14px !important;
  font-weight:500 !important;
  line-height:1.15 !important;
}


/* v8.9.553 — Tipografía final: números Arial; Promo/Vigencia Segoe y liviano; Costo sin bold */
/* COSTO: selector específico para ganarle a reglas viejas con !important. */
html body #view-base .bca-base-table tbody td.costo,
html body #view-base .bca-base-table tbody td.costo.variant-shared-cost{
  font-family:Arial,Helvetica,sans-serif !important;
  font-size:14px !important;
  font-weight:400 !important;
  font-style:normal !important;
  letter-spacing:0 !important;
  line-height:1.15 !important;
}

/* Valores numéricos: Arial. */
html body #view-base .bca-base-table .stockchip,
html body #view-base .bca-base-table .weekbar .num,
html body #view-base .bca-base-table .weeklabels div,
html body #view-base .bca-base-table .price-input,
html body #view-base .bca-base-table .list-price-input,
html body #view-base .bca-base-table .readonly-price,
html body #view-base .bca-base-table .calc-price,
html body #view-base .bca-base-table .sug-value,
html body #view-base .bca-base-table .sug-pct,
html body #view-base .bca-base-table .bca-roas-value,
html body #view-base .bca-base-table .bca-kit-auto-cell,
html body #view-base .bca-base-table .bca-kit-auto-cell *,
html body #view-base .bca-base-table .bca-kit-auto-value,
html body #view-base .bca-base-table .bca-kit-auto-value *,
html body #view-base .bca-base-table .bca-special-discount-factor,
html body #view-base .bca-base-table .bca-special-discount-factor *,
html body #view-base .bca-base-table .bca-special-discount-factor-input,
html body #view-base .bca-base-table td.dod-web-cell,
html body #view-base .bca-base-table td.dod-web-cell *,
html body #view-base .bca-base-table td.dxi-web-cell,
html body #view-base .bca-base-table td.dxi-web-cell *,
html body #view-base .bca-base-table td.web-price-cell,
html body #view-base .bca-base-table td.web-price-cell *,
html body .bca-price-check-app #view-base .promo-main-price-lines strong,
html body .bca-price-check-app #view-base .promo-main-price-lines small,
html body .bca-price-check-app #view-base .promo-main-list-price,
html body .bca-price-check-app #view-base .bca-price-check-price-card,
html body .bca-price-check-app #view-base .bca-price-check-price-card *,
html body .bca-price-check-app #view-base .bca-price-check-readonly-cell .calc-price,
html body .bca-price-check-app #view-base .lista-cell .calc-price,
html body .bca-price-check-app #view-base .cell-value{
  font-family:Arial,Helvetica,sans-serif !important;
  font-variant-numeric:tabular-nums !important;
  font-feature-settings:"tnum" 1 !important;
  letter-spacing:0 !important;
}

/* PROMO / VIGENCIA: mantener tipografía tipo WordPress, pero SIN bold pesado. */
html body #view-base .bca-promo-meta-cell,
html body #view-base .bca-promo-meta-cell .bca-promo-meta-stack,
html body #view-base .bca-promo-meta-cell .bca-promo-meta-line,
html body #view-base .bca-promo-meta-cell .bca-promo-mini-badge,
html body #view-base .bca-promo-meta-cell .bca-promo-mini-range,
html body #view-base .bca-promo-meta-cell .bca-promo-mini-empty,
html body #view-base .bca-promo-meta-cell .bca-promo-mini-loading,
html body #view-base .bca-promo-meta-cell .bca-promo-mini-more,
html body .bca-price-check-app #view-base .promo-main-type,
html body .bca-price-check-app #view-base .promo-main-state,
html body .bca-price-check-app #view-base .promo-main-line strong,
html body .bca-price-check-app #view-base .promo-main-line small{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif !important;
  letter-spacing:0 !important;
}
html body #view-base .bca-promo-meta-cell .bca-promo-mini-badge,
html body .bca-price-check-app #view-base .promo-main-type,
html body .bca-price-check-app #view-base .promo-main-state{
  font-weight:600 !important;
}
html body #view-base .bca-promo-meta-cell .bca-promo-mini-range,
html body .bca-price-check-app #view-base .promo-main-line strong{
  font-weight:500 !important;
}
html body #view-base .bca-promo-meta-cell .bca-promo-mini-empty,
html body #view-base .bca-promo-meta-cell .bca-promo-mini-loading,
html body #view-base .bca-promo-meta-cell .bca-promo-mini-more,
html body .bca-price-check-app #view-base .promo-main-line small{
  font-weight:400 !important;
}


/* v8.9.554 — PROMO / VIGENCIA también en Arial, manteniendo pesos livianos */
html body #view-base .bca-promo-meta-cell,
html body #view-base .bca-promo-meta-cell *,
html body .bca-price-check-app #view-base .promo-main-type,
html body .bca-price-check-app #view-base .promo-main-state,
html body .bca-price-check-app #view-base .promo-main-line,
html body .bca-price-check-app #view-base .promo-main-line *{
  font-family:Arial,Helvetica,sans-serif !important;
  letter-spacing:0 !important;
}


/* v8.9.555 — Costo mismo tamaño visual que Stock, sin bold fuerte */
#view-base .bca-base-table tbody td.costo,
#view-base .bca-base-table tbody td.costo.variant-shared-cost{
  font-family:Arial,Helvetica,sans-serif !important;
  font-size:15px !important;
  font-weight:450 !important;
  line-height:1.15 !important;
}


/* v8.9.556 — COSTO igual a STOCK: mismo tamaño y mismo bold */
#view-base .bca-base-table tbody td.costo,
#view-base .bca-base-table tbody td.costo.variant-shared-cost,
html body #view-base .bca-base-table tbody td.costo,
html body #view-base .bca-base-table tbody td.costo.variant-shared-cost{
  font-family:Arial,Helvetica,sans-serif !important;
  font-size:17px !important;
  font-weight:900 !important;
  line-height:1.15 !important;
  letter-spacing:0 !important;
}


/* v8.9.557 — PROMO / VIGENCIA más visible */
html body #view-base .bca-promo-meta-cell,
html body #view-base .bca-promo-meta-cell *,
html body .bca-price-check-app #view-base .promo-main-type,
html body .bca-price-check-app #view-base .promo-main-state,
html body .bca-price-check-app #view-base .promo-main-line,
html body .bca-price-check-app #view-base .promo-main-line *{
  font-family:Arial,Helvetica,sans-serif !important;
  letter-spacing:0 !important;
}
html body #view-base .bca-promo-meta-cell .bca-promo-meta-stack,
html body #view-base .bca-promo-meta-cell .bca-promo-meta-line{
  gap:8px !important;
}
html body #view-base .bca-promo-meta-cell .bca-promo-mini-badge,
html body .bca-price-check-app #view-base .promo-main-type,
html body .bca-price-check-app #view-base .promo-main-state{
  font-size:11px !important;
  font-weight:700 !important;
  padding:5px 9px !important;
  border-radius:999px !important;
}
html body #view-base .bca-promo-meta-cell .bca-promo-mini-range,
html body .bca-price-check-app #view-base .promo-main-line strong{
  font-size:12.5px !important;
  font-weight:600 !important;
  color:#2b2b2b !important;
  line-height:1.25 !important;
}
html body #view-base .bca-promo-meta-cell .bca-promo-mini-empty,
html body #view-base .bca-promo-meta-cell .bca-promo-mini-loading,
html body #view-base .bca-promo-meta-cell .bca-promo-mini-more,
html body .bca-price-check-app #view-base .promo-main-line small{
  font-size:11.5px !important;
  font-weight:500 !important;
  color:#4a4a4a !important;
  line-height:1.22 !important;
}


/* v8.9.561 — Ver cuotas: SIN CUOTAS conserva su alto; SUGERIDO no abarca cuotas */
.bca-price-check-app #view-base tr.bca-sin-cuotas-expanded > td.sug-cell{
  height:132px !important;
  min-height:132px !important;
  max-height:none !important;
  vertical-align:middle !important;
}
/* Si el navegador reparte el alto por fila, mantenemos toda la fila SIN CUOTAS
   con la presencia original, sin tocar las filas 3/6/9/12 de abajo. */
.bca-price-check-app #view-base tr.bca-sin-cuotas-expanded > td:not([rowspan]){
  height:132px !important;
  min-height:132px !important;
}
