:root{--bg:#0f1117;--panel:#171b25;--panel2:#202637;--text:#f5f7fb;--muted:#aab1c4;--line:#2b3246;--green:#2ecc71;--orange:#ffb020;--blue:#4da3ff;--red:#ff5c7a;--accent:#39d98a}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Segoe UI,Arial,sans-serif;padding-bottom:92px}.pos-shell{max-width:1280px;margin:0 auto;padding:16px}.pos-header{display:flex;justify-content:space-between;gap:18px;align-items:center;background:linear-gradient(135deg,#151926,#202b3d);border:1px solid var(--line);border-radius:18px;padding:16px 18px;margin-bottom:14px}.pos-header h1{margin:0;font-size:28px}.pos-header p{margin:4px 0 0;color:var(--muted)}.pos-tabs{display:flex;gap:8px;flex-wrap:wrap}.pos-tabs a{color:var(--text);text-decoration:none;background:#111521;border:1px solid var(--line);border-radius:999px;padding:10px 14px;font-weight:700}.pos-tabs a.active,.pos-tabs a:hover{background:var(--accent);color:#07120b;border-color:var(--accent)}.pos-alert{border-radius:12px;padding:12px 14px;margin-bottom:12px;font-weight:700}.pos-alert.ok{background:rgba(46,204,113,.14);border:1px solid rgba(46,204,113,.35);color:#bfffd7}.pos-alert.err{background:rgba(255,92,122,.14);border:1px solid rgba(255,92,122,.35);color:#ffd0d8}.pos-toolbar{display:flex;align-items:center;gap:10px;margin:12px 0}.pos-search{display:grid;grid-template-columns:1fr 230px;gap:10px;flex:1}.pos-search input,.pos-search select,.form-row input{width:100%;background:#101522;color:var(--text);border:1px solid var(--line);border-radius:12px;padding:12px 13px;outline:none}.pos-search input:focus,.form-row input:focus{border-color:var(--accent)}.floating-add{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--green);color:#031107;text-decoration:none;font-size:30px;font-weight:900;box-shadow:0 10px 26px rgba(46,204,113,.25)}.productos-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:13px}.pos-product{background:var(--panel);border:1px solid var(--line);border-radius:18px;overflow:hidden;cursor:pointer;transition:.15s;position:relative}.pos-product:hover{transform:translateY(-2px);border-color:var(--accent);box-shadow:0 12px 30px rgba(0,0,0,.25)}.img-wrap{aspect-ratio:1/1;background:#0b0e15;display:flex;align-items:center;justify-content:center}.img-wrap img{width:100%;height:100%;object-fit:cover}.prod-info{padding:11px}.prod-info h3{font-size:15px;line-height:1.22;margin:0 0 5px;min-height:36px}.prod-info p{margin:0 0 8px;color:var(--muted);font-size:12px}.badges{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:8px}.badge{font-size:10.5px;font-weight:800;border-radius:999px;padding:4px 7px}.badge.stock{background:rgba(46,204,113,.16);color:#aaffc8}.badge.pre{background:rgba(255,176,32,.16);color:#ffd796}.price{display:block;font-size:17px}.cart-bar{position:fixed;left:50%;bottom:15px;transform:translateX(-50%);width:min(940px,calc(100% - 24px));background:#121724;border:1px solid var(--line);border-radius:20px;display:grid;grid-template-columns:120px 1fr 150px;gap:10px;padding:10px;box-shadow:0 18px 50px rgba(0,0,0,.45);z-index:30}.clear-cart,.cart-total,.btn-process{border:0;border-radius:12px;padding:12px 14px;font-weight:900;cursor:pointer}.clear-cart{background:#2a3144;color:var(--text)}.cart-total,.btn-process{background:var(--green);color:#051309}.cart-summary{display:flex;flex-direction:column;justify-content:center;min-width:0;cursor:pointer}.cart-summary span{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.65);z-index:40;align-items:center;justify-content:center;padding:16px}.modal.show{display:flex}.modal-box{width:min(720px,100%);max-height:92vh;overflow:auto;background:var(--panel);border:1px solid var(--line);border-radius:22px;padding:18px;position:relative}.modal-close{position:absolute;right:14px;top:12px;border:0;background:#2a3144;color:var(--text);width:36px;height:36px;border-radius:50%;font-size:22px;cursor:pointer}.form-row.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.form-row label{display:block;color:var(--muted);font-weight:700;font-size:13px}.form-row input{margin-top:6px}.checkout-list{display:flex;flex-direction:column;gap:8px;margin:14px 0}.checkout-item{display:grid;grid-template-columns:1fr auto 34px;gap:10px;align-items:center;background:#111521;border:1px solid var(--line);border-radius:12px;padding:10px}.checkout-item span{display:block;color:var(--muted);font-size:12px}.checkout-item button{border:0;background:#3a2030;color:#ffc8d5;border-radius:8px;height:32px;cursor:pointer}.checkout-total{display:flex;justify-content:space-between;background:#0f1420;border:1px solid var(--line);border-radius:12px;padding:12px;margin-top:12px}.mini,.muted{color:var(--muted)}.full{grid-column:1/-1}.pos-panel{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:16px}.trans-list{display:flex;flex-direction:column;gap:8px}.trans-card{display:flex;justify-content:space-between;gap:12px;align-items:center;text-decoration:none;color:var(--text);background:#111521;border:1px solid var(--line);border-radius:12px;padding:12px}.trans-card span,.trans-card small{display:block;color:var(--muted)}.trans-card:hover{border-color:var(--accent)}.link-back{color:#aaffc8;text-decoration:none}.venta-detalle{margin-top:12px}.venta-item{display:grid;grid-template-columns:1fr auto;gap:10px;background:#111521;border:1px solid var(--line);border-radius:12px;padding:10px;margin-bottom:8px}.venta-item span{display:block;color:var(--muted);font-size:12px}@media(max-width:720px){.pos-header{align-items:flex-start;flex-direction:column}.pos-search{grid-template-columns:1fr}.productos-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cart-bar{grid-template-columns:88px 1fr 100px}.form-row.two{grid-template-columns:1fr}.prod-info h3{font-size:13px}.pos-shell{padding:10px}}

.btn-danger-pos{
  border:0;
  border-radius:12px;
  background:#ef4444;
  color:#fff;
  font-weight:900;
  padding:10px 16px;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(239,68,68,.22);
}
.btn-danger-pos:hover{ filter:brightness(1.08); }

/* POS V2: mostrar productos agotados como Catalog-Store */
.pos-product.soldout{
  opacity:.82;
  cursor:not-allowed;
}
.pos-product.soldout:hover{
  transform:none;
  border-color:var(--line);
  box-shadow:none;
}
.pos-product.soldout .img-wrap{
  position:relative;
  filter:grayscale(.25) brightness(.78);
}
.pos-product.soldout .img-wrap::after{
  content:'AGOTADO';
  position:absolute;
  inset:auto 10px 10px 10px;
  text-align:center;
  background:rgba(255,92,122,.92);
  color:#fff;
  border-radius:999px;
  padding:6px 8px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.4px;
}
.badge.agotado{
  background:rgba(255,92,122,.16);
  color:#ffb3c0;
}


.badge-agotado,.estado-agotado,.stock-agotado,.preventa-agotada{color:#ff3b30!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.5px}.producto-agotado{opacity:.78}

/* POS V2: mini selector flotante Stock / Preventa */
.type-picker{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:min(190px,calc(100% - 22px));
  background:#101522;
  border:1px solid rgba(57,217,138,.55);
  border-radius:16px;
  padding:9px;
  z-index:20;
  box-shadow:0 18px 45px rgba(0,0,0,.55);
  cursor:default;
}
.type-picker-title{
  font-size:12px;
  font-weight:900;
  color:var(--muted);
  margin:0 0 7px;
  text-align:center;
}
.type-option{
  width:100%;
  border:1px solid var(--line);
  border-radius:12px;
  padding:8px 9px;
  margin-top:6px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  background:#151b29;
  color:var(--text);
  cursor:pointer;
  font-weight:900;
}
.type-option:hover{filter:brightness(1.12);transform:translateY(-1px)}
.type-option.stock{border-color:rgba(46,204,113,.45)}
.type-option.pre{border-color:rgba(255,176,32,.45)}
.type-option.stock span{color:#aaffc8}
.type-option.pre span{color:#ffd796}
.type-option small{display:block;color:var(--muted);font-size:10px;font-weight:800;margin-top:2px}
.type-option b{white-space:nowrap;font-size:13px}

/* POS V2: estado de pago en Transacciones */
.payment-status{
  display:block;
  margin-top:5px;
  font-style:normal;
  font-size:10.5px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.35px;
  line-height:1.1;
}
.payment-status.pagado{ color:#39d98a; }
.payment-status.pendiente{ color:#ff4d5f; }
.payment-status.sin-abono{ color:#ffb020; }

/* POS V2: detalle de transacción tipo comprobante Catalog-Store */
.comprobante-pos{
  max-width:960px;
  margin:12px auto 0;
  background:#f4f5f7;
  color:#1f2937;
  border-radius:4px;
  padding:0 0 18px;
  box-shadow:0 16px 35px rgba(0,0,0,.22);
  overflow:hidden;
}
.comp-topbar{
  display:grid;
  grid-template-columns:140px 1fr;
  gap:10px;
  align-items:center;
  padding:8px;
  background:#eceef2;
  border-bottom:1px solid #d9dce3;
}
.comp-topbar input{
  height:26px;
  border:1px solid #aeb4c0;
  background:#fff;
  color:#111827;
  padding:2px 6px;
}
.comp-actions-top{
  height:26px;
  display:flex;
  justify-content:flex-end;
  align-items:center;
}
.comp-actions-top span{
  min-width:190px;
  text-align:center;
  background:#22c55e;
  color:#fff;
  font-weight:900;
  font-size:12px;
  padding:6px 14px;
  border-radius:3px;
  text-transform:uppercase;
}
.comp-section{
  background:#fff;
  margin:7px 8px;
  border:1px solid #e0e3e9;
  padding:10px;
}
.comp-label{
  display:block;
  font-weight:800;
  font-size:12px;
  margin-bottom:8px;
  color:#1f2937;
}
.comp-client-row{
  display:grid;
  grid-template-columns:28px 1fr 210px;
  gap:8px;
  align-items:center;
  background:#e6e8ed;
  padding:10px;
}
.comp-client-icon{font-size:16px;text-align:center;opacity:.8}.comp-client-row input,.comp-notes{
  width:100%;
  border:0;
  background:#e6e8ed;
  color:#111827;
  outline:none;
  padding:7px 8px;
  font-weight:700;
}
.comp-new-client{background:#fff!important;border:1px solid #d0d5dd!important;border-radius:3px;font-weight:600!important}.comp-products{display:flex;flex-direction:column;gap:6px}.comp-product-row{
  display:grid;
  grid-template-columns:48px 1fr auto;
  gap:12px;
  align-items:center;
  padding:12px 4px;
  min-height:72px;
}
.comp-thumb{
  width:42px;height:42px;border-radius:50%;overflow:hidden;background:#e8ebf0;display:flex;align-items:center;justify-content:center;
  border:1px solid #d3d8e1;
}
.comp-thumb img{width:100%;height:100%;object-fit:cover}.comp-prod-info strong{display:block;font-size:13px;color:#111827}.comp-prod-info span{display:block;font-size:12px;color:#475569;margin-top:2px}.comp-prod-info small{display:block;font-size:10.5px;color:#6b7280;margin-top:2px}.comp-product-row>b{font-size:13px;color:#111827;white-space:nowrap}.comp-readonly-money{
  background:#e6e8ed;
  min-height:34px;
  display:flex;
  align-items:center;
  padding:0 10px;
  font-weight:900;
  color:#111827;
}
.comp-notes{min-height:42px;resize:vertical;font-weight:500}.comp-totales div{
  display:flex;
  justify-content:space-between;
  padding:3px 0;
  color:#6b7280;
  font-size:13px;
}
.comp-totales div b{color:#475569}.comp-totales .comp-status-line{border-top:1px solid #e5e7eb;margin-top:5px;padding-top:7px}.comp-totales .comp-status-line b{color:#ef4444;font-weight:900}.comp-check-section{background:#e6e8ed}.comp-check{display:flex;align-items:center;gap:12px;color:#0f766e;font-weight:900;font-size:12px}.comp-check input{width:16px;height:16px}.comp-check-section small{display:block;color:#64748b;margin:7px 0 0 28px}.comp-save{
  width:calc(100% - 16px);
  margin:36px 8px 0;
  border:0;
  border-radius:999px;
  background:#22c55e;
  color:#fff;
  font-weight:900;
  padding:12px;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(34,197,94,.28);
}
.comp-save:hover{filter:brightness(1.06)}.comp-anular-form{max-width:960px;margin:12px auto 0;text-align:right}.comp-empty{color:#64748b;font-weight:700;padding:10px}
@media(max-width:720px){.comp-topbar{grid-template-columns:1fr}.comp-actions-top{justify-content:stretch}.comp-actions-top span{width:100%}.comp-client-row{grid-template-columns:28px 1fr}.comp-new-client{grid-column:2}.comp-product-row{grid-template-columns:42px 1fr}.comp-product-row>b{grid-column:2}.comprobante-pos{margin-left:0;margin-right:0}}

/* POS V2: comprobante oscuro estilo Creati */
.comprobante-pos{
  background:#0f1117;
  color:var(--text);
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 18px 45px rgba(0,0,0,.42);
}
.comp-topbar{
  background:#151b29;
  border-bottom:1px solid var(--line);
  padding:10px;
}
.comp-topbar input{
  background:#101522;
  color:var(--text);
  border:1px solid var(--line);
  border-radius:8px;
  height:32px;
  font-weight:700;
}
.comp-actions-top span{
  background:var(--green);
  color:#051309;
  border-radius:8px;
  box-shadow:0 8px 18px rgba(46,204,113,.18);
}
.comp-section{
  background:#111521;
  border:1px solid var(--line);
  border-radius:12px;
  color:var(--text);
}
.comp-label{
  color:var(--text);
  font-size:13px;
}
.comp-client-row{
  background:#151b29;
  border:1px solid #232b3d;
  border-radius:8px;
}
.comp-client-icon{opacity:1;color:#cbd5e1}.comp-client-row input,.comp-notes{
  background:#151b29;
  color:var(--text);
}
.comp-new-client{
  background:#101522!important;
  border:1px solid var(--line)!important;
  color:var(--text)!important;
  border-radius:8px!important;
}
.comp-product-row{
  background:#151b29;
  border:1px solid #232b3d;
  border-radius:12px;
  padding:12px;
}
.comp-thumb{
  background:#101522;
  border:1px solid var(--line);
  color:var(--muted);
}
.comp-prod-info strong,.comp-product-row>b{color:var(--text)}
.comp-prod-info span{color:#b8c0d6}.comp-prod-info small{color:var(--muted)}
.comp-readonly-money{
  background:#151b29;
  border:1px solid #232b3d;
  border-radius:8px;
  color:var(--text);
}
.comp-notes{
  border:1px solid #232b3d;
  border-radius:8px;
  min-height:58px;
}
.comp-notes::placeholder{color:#7d879c}.comp-totales div{color:#b8c0d6}.comp-totales div b{color:var(--text)}
.comp-totales .comp-status-line{
  border-top:1px solid var(--line);
  margin-top:8px;
  padding-top:10px;
}
.comp-totales .comp-status-line b{color:#ff4d5f}.comp-totales .comp-status-line b.status-ok{color:var(--green)}
.comp-check-section{
  background:#151b29;
  border:1px solid var(--line);
}
.comp-check{color:#aaffc8}.comp-check-section small{color:var(--muted)}
.comp-save{
  background:var(--green);
  color:#051309;
  box-shadow:0 10px 22px rgba(46,204,113,.24);
}
.comp-empty{color:var(--muted)}

/* POS V2 - procesar venta estilo comprobante oscuro */
.modal-box{width:min(900px,100%)}
.catalog-checkout{gap:10px;margin:14px 0}
.checkout-product{display:grid;grid-template-columns:54px 1fr 230px 42px;gap:12px;align-items:center;background:#111724;border:1px solid var(--line);border-radius:12px;padding:10px}
.checkout-img{width:48px;height:48px;border-radius:50%;overflow:hidden;background:#202838;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:#cbd5e1;font-size:21px}
.checkout-img img{width:100%;height:100%;object-fit:cover}
.checkout-main strong{display:block;color:var(--text);font-size:15px;margin-bottom:2px}
.checkout-main small{display:block;color:var(--muted);font-size:12px;margin-bottom:6px}
.qty-control{display:inline-flex;align-items:center;gap:4px;background:#0f1420;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.qty-control button{width:28px;height:26px;border:0;background:#1e2636;color:var(--text);font-weight:900;cursor:pointer}
.qty-control b{min-width:28px;text-align:center;font-size:13px}
.checkout-money{display:grid;grid-template-columns:1fr 1fr;gap:6px;align-items:end}
.checkout-money>b{grid-column:1/-1;text-align:right;color:#fff;font-size:16px}
.checkout-money label{font-size:10.5px;color:var(--muted);font-weight:800}
.checkout-money input,.checkout-tools input,.nota-checkout input{width:100%;background:#0f1420;color:var(--text);border:1px solid var(--line);border-radius:9px;padding:8px;outline:none;margin-top:4px}
.checkout-money input:focus,.checkout-tools input:focus,.nota-checkout input:focus{border-color:var(--accent)}
.line-final{grid-column:1/-1;text-align:right;color:#aaffc8!important;font-weight:800}
.checkout-delete{border:0;background:#3a2030;color:#ffc8d5;width:36px;height:36px;border-radius:50%;cursor:pointer}
.checkout-tools{display:grid;grid-template-columns:220px 220px 1fr;gap:10px;align-items:end;margin-top:10px}
.checkout-tools label,.nota-checkout{display:block;color:var(--muted);font-size:13px;font-weight:800}
.btn-soft{border:1px solid var(--line);background:#253044;color:#eaf2ff;border-radius:12px;padding:11px 12px;font-weight:900;cursor:pointer}
.btn-soft:hover{border-color:var(--accent)}
.nota-checkout{margin-top:10px}
.checkout-total.final{font-size:17px}
@media(max-width:760px){.checkout-product{grid-template-columns:46px 1fr 34px}.checkout-money{grid-column:1/-1;grid-template-columns:1fr 1fr}.checkout-tools{grid-template-columns:1fr}.checkout-delete{grid-column:3;grid-row:1}}

/* ===== POS PRODUCTOS estilo Catalog-Store oscuro ===== */
.product-actions-top{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.btn-import,.btn-load-lotes,.btn-load-mixto{border:0;border-radius:8px;padding:13px 18px;font-weight:900;color:#fff;cursor:pointer;box-shadow:0 10px 22px rgba(0,0,0,.25)}
.btn-import{background:#d89411}.btn-load-lotes{background:#3b4150}.btn-load-mixto{background:#6d3bd1}.btn-import:hover,.btn-load-lotes:hover,.btn-load-mixto:hover{filter:brightness(1.08)}

.modo-productos .pos-product{cursor:default}.product-card-actions{display:flex;gap:10px;margin-top:12px}.btn-card-edit{width:100%;border:0;border-radius:8px;background:#d89411;color:#fff;font-weight:900;padding:7px 10px;cursor:pointer}.btn-card-edit:hover{filter:brightness(1.08)}
.modal-wide{max-width:980px}.modal-xl{max-width:1180px;width:min(1180px,96vw)}
.bulk-table{display:grid;gap:8px;margin-top:14px}.bulk-head,.bulk-row{display:grid;gap:8px;align-items:center}.bulk-head{font-size:12px;color:#b7c2d8;font-weight:900;text-transform:uppercase}.bulk-table:not(.lotes) .bulk-head,.bulk-table:not(.lotes) .bulk-row{grid-template-columns:140px 1.4fr 1fr 1.2fr 42px}.bulk-table.lotes .bulk-head,.bulk-table.lotes .bulk-row{grid-template-columns:1.55fr 125px 72px 105px 105px 120px 80px 82px}.bulk-row input,.bulk-row select{background:#111827;color:#eef4ff;border:1px solid #2b3650;border-radius:8px;padding:11px 12px;min-width:0}.bulk-row input[type=file]{padding:9px 10px;cursor:pointer}.bulk-row input[type=file]::file-selector-button{border:0;border-radius:8px;background:#eef4ff;color:#0b1018;font-weight:900;padding:7px 10px;margin-right:8px;cursor:pointer}.bulk-row input:focus,.bulk-row select:focus{outline:none;border-color:#29d47a;box-shadow:0 0 0 3px rgba(41,212,122,.12)}.bulk-row>button,.bulk-row-buttons button{border:0;border-radius:8px;background:#4a2232;color:#ffdbe6;font-weight:900;padding:7px 10px;cursor:pointer}.bulk-row-buttons{display:flex;gap:6px}.bulk-row-buttons button:first-child{background:#253149;color:#dbe8ff}.bulk-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:16px;flex-wrap:wrap}.bulk-actions button:not(.btn-process){border:1px solid #33405a;background:#151d2d;color:#eef4ff;border-radius:8px;padding:12px 16px;font-weight:900;cursor:pointer}.switch-mini{display:flex;align-items:center;gap:6px;justify-content:center;color:#dbe8ff;font-weight:800}.switch-mini input{width:16px;height:16px;accent-color:#29d47a}.prod-detail-top{display:flex;gap:16px;align-items:center;background:#111827;border:1px solid #2b3650;border-radius:12px;padding:14px;margin:12px 0 18px}.prod-detail-img{width:96px;height:96px;border-radius:16px;background:#0b1018;border:1px solid #2b3650;display:flex;align-items:center;justify-content:center;font-size:38px;overflow:hidden;flex:0 0 auto}.prod-detail-img img{width:100%;height:100%;object-fit:cover}.lotes-detail-list{display:grid;gap:9px}.lote-detail-row{display:grid;grid-template-columns:1.35fr repeat(6,.52fr);gap:10px;align-items:center;background:#111827;border:1px solid #2b3650;border-radius:12px;padding:12px}.lote-detail-row span,.lote-detail-row small{display:block;color:#aeb8cd;font-size:12px}.lote-detail-row b{color:#f3f7ff}.empty-lotes{background:#111827;border:1px dashed #33405a;border-radius:12px;padding:18px;color:#aeb8cd;text-align:center}
@media(max-width:900px){.bulk-head{display:none}.bulk-table:not(.lotes) .bulk-row,.bulk-table.lotes .bulk-row{grid-template-columns:1fr}.lote-detail-row{grid-template-columns:1fr 1fr}.product-actions-top{width:100%}.btn-import,.btn-load-lotes{flex:1}}

/* Autocomplete bonito para carga masiva POS */
.pos-ac-menu{
    position:fixed;
    z-index:9999;
    max-height:310px;
    overflow:auto;
    padding:5px;
    background:#111827;
    border:1px solid #2b3650;
    border-radius:12px;
    box-shadow:0 18px 45px rgba(0,0,0,.45);
}
.pos-ac-item{
    width:100%;
    border:0;
    background:transparent;
    color:#eef4ff;
    text-align:left;
    padding:7px 10px;
    border-radius:8px;
    cursor:pointer;
    display:flex;
    flex-direction:column;
    gap:1px;
}
.pos-ac-item:hover,.pos-ac-item:focus{
    background:#182235;
    outline:none;
}
.pos-ac-item b{
    font-size:13px;
    line-height:1.2;
}
.pos-ac-item span{
    font-size:10.5px;
    color:#9ca9c0;
}
.pos-ac-item.create{
    background:rgba(46,204,113,.10);
    border:1px solid rgba(46,204,113,.22);
}
.pos-ac-item.create b{
    color:#bfffd7;
}
.pos-ac-item.disabled{
    opacity:.65;
    cursor:not-allowed;
}
.pos-smart-input{
    position:relative;
}

.pos-ac-menu::-webkit-scrollbar{width:8px}
.pos-ac-menu::-webkit-scrollbar-track{background:#0b1018;border-radius:999px}
.pos-ac-menu::-webkit-scrollbar-thumb{background:#33405a;border-radius:999px}
.pos-ac-menu::-webkit-scrollbar-thumb:hover{background:#4b5d7c}

.prod-detail-top.editable{align-items:flex-start}.prod-edit-grid{display:grid;grid-template-columns:1fr 1.5fr 1fr 1.1fr;gap:10px;width:100%}.prod-edit-grid label,.prod-edit-note{display:flex;flex-direction:column;gap:6px;color:#b7c2d8;font-size:12px;font-weight:900;text-transform:uppercase}.prod-edit-grid input,.prod-edit-note textarea{background:#111827;color:#eef4ff;border:1px solid #2b3650;border-radius:8px;padding:11px 12px;min-width:0;text-transform:none;font-size:14px;font-weight:700}.prod-edit-grid input:focus,.prod-edit-note textarea:focus{outline:none;border-color:#29d47a;box-shadow:0 0 0 3px rgba(41,212,122,.12)}.prod-edit-grid input[type=file]{padding:9px 10px;cursor:pointer}.prod-edit-grid input[type=file]::file-selector-button{border:0;border-radius:8px;background:#eef4ff;color:#0b1018;font-weight:900;padding:7px 10px;margin-right:8px;cursor:pointer}.prod-edit-note{margin:0 0 14px}.prod-edit-note textarea{min-height:70px;resize:vertical}.prod-mini-stats{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 14px}.prod-mini-stats span{background:#111827;border:1px solid #2b3650;border-radius:999px;padding:8px 12px;color:#b7c2d8;font-weight:800}.prod-mini-stats b{color:#eef4ff}@media(max-width:900px){.prod-edit-grid{grid-template-columns:1fr}.prod-detail-top.editable{align-items:stretch}}

/* ===== Producto: modal maestro + lotes ordenado ===== */
.prod-edit-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.prod-edit-header h2{margin:0;color:#f4f7ff;font-size:26px;line-height:1.1}
.prod-edit-kicker{display:block;color:#29d47a;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.8px;margin-bottom:4px}
.prod-edit-card{background:#111827;border:1px solid #2b3650;border-radius:16px;padding:16px;margin:14px 0;box-shadow:0 10px 30px rgba(0,0,0,.12)}
.prod-edit-card.master-card{display:grid;grid-template-columns:120px 1fr;gap:18px;align-items:start}
.prod-master-fields{display:grid;grid-template-columns:1fr 1.6fr 1fr 1.2fr;gap:12px;align-items:end}
.prod-master-fields label,.prod-edit-note{display:flex;flex-direction:column;gap:7px;color:#b7c2d8;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.25px}
.prod-master-fields input,.prod-edit-note textarea,.lote-money input{background:#0d1422;color:#eef4ff;border:1px solid #2b3650;border-radius:10px;padding:11px 12px;min-width:0;text-transform:none;font-size:14px;font-weight:800;box-sizing:border-box;width:100%}
.prod-master-fields input:focus,.prod-edit-note textarea:focus,.lote-money input:focus{outline:none;border-color:#29d47a;box-shadow:0 0 0 3px rgba(41,212,122,.13)}
.prod-master-fields input[type=file]{padding:8px 9px;cursor:pointer}
.prod-master-fields input[type=file]::file-selector-button{border:0;border-radius:8px;background:#eef4ff;color:#0b1018;font-weight:900;padding:7px 10px;margin-right:8px;cursor:pointer}
.prod-detail-img{width:112px;height:112px;border-radius:18px;background:#0b1018;border:1px solid #31405e;display:flex;align-items:center;justify-content:center;font-size:42px;overflow:hidden;flex:0 0 auto}
.prod-detail-img img{width:100%;height:100%;object-fit:cover}.prod-edit-note{margin:0}.prod-edit-note textarea{min-height:92px;resize:vertical;line-height:1.35}
.prod-mini-stats{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;margin:0}.prod-mini-stats span{background:#0d1422;border:1px solid #2b3650;border-radius:999px;padding:8px 12px;color:#b7c2d8;font-weight:900;font-size:12px}.prod-mini-stats b{color:#eef4ff}
.section-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px}.section-title-row h3{margin:0 0 6px;color:#f4f7ff}.section-title-row .mini{margin:0;max-width:780px;color:#b7c2d8}.btn-soft{border:1px solid #33405a;background:#151d2d;color:#eef4ff;border-radius:10px;padding:11px 14px;font-weight:900;cursor:pointer;white-space:nowrap}.btn-soft:hover{border-color:#29d47a}
.lotes-detail-list{display:grid;gap:10px}.lote-detail-row.lote-edit-row{display:grid;grid-template-columns:1.5fr 70px 70px 78px 120px 120px 94px;gap:10px;align-items:center;background:#0d1422;border:1px solid #2b3650;border-radius:14px;padding:13px}.lote-main b{display:block;color:#f3f7ff;font-size:15px}.lote-main span,.lote-metric small,.lote-money small{display:block;color:#9eabc2;font-size:11px;font-weight:900;text-transform:uppercase;margin-bottom:4px}.lote-metric b{display:block;color:#eef4ff;font-size:16px}.lote-money input{padding:9px 10px}.lote-visible{background:#111827;border:1px solid #2b3650;border-radius:10px;padding:9px 10px;justify-content:center}.empty-lotes{background:#0d1422;border:1px dashed #33405a;border-radius:12px;padding:18px;color:#aeb8cd;text-align:center}.sticky-actions{position:sticky;bottom:-1px;background:linear-gradient(180deg,rgba(17,24,39,0),#111827 28%);padding-top:18px;margin-bottom:0}
@media(max-width:1000px){.prod-edit-card.master-card{grid-template-columns:1fr}.prod-master-fields{grid-template-columns:1fr}.prod-detail-img{width:100%;height:160px}.prod-edit-header{display:block}.prod-mini-stats{justify-content:flex-start;margin-top:10px}.section-title-row{display:block}.section-title-row .btn-soft{margin-top:10px}.lote-detail-row.lote-edit-row{grid-template-columns:1fr 1fr}.lote-main{grid-column:1/-1}}


/* Ajuste visual final del centro de producto */
#modalProductoDetalle .modal-wide{max-width:980px;background:#171e2b;border:1px solid #2a3650;border-radius:22px;box-shadow:0 28px 90px rgba(0,0,0,.55);overflow:hidden}
#modalProductoDetalle .prod-edit-header{display:grid;grid-template-columns:1fr auto;align-items:start;gap:18px;margin:0 0 16px}
#modalProductoDetalle .prod-edit-header h2{font-size:30px;margin-top:4px}
#modalProductoDetalle .prod-edit-kicker{color:#b9c6dc;text-transform:none;letter-spacing:0;font-size:15px;font-weight:800}
#modalProductoDetalle .prod-mini-stats{margin:4px 44px 0 0;display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}
#modalProductoDetalle .prod-mini-stats span{background:#101827;border:1px solid #2c3852;color:#c5d0e3;border-radius:999px;padding:8px 11px;font-size:13px}
#modalProductoDetalle .prod-edit-card{background:#111827;border:1px solid #2b3650;border-radius:18px;padding:18px;margin:14px 0}
#modalProductoDetalle .master-card{display:grid;grid-template-columns:130px 1fr;gap:18px;align-items:start}
#modalProductoDetalle .prod-detail-img{width:130px;height:130px;border-radius:18px;background:#0b111c;border:1px solid #30405f;color:#eaf2ff;display:flex;align-items:center;justify-content:center;font-size:45px;overflow:hidden}
#modalProductoDetalle .prod-detail-img img{width:100%;height:100%;object-fit:cover}
#modalProductoDetalle .prod-master-fields{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:14px;align-items:start}
#modalProductoDetalle .prod-master-fields label,#modalProductoDetalle .prod-edit-note,#modalProductoDetalle .lote-money{display:flex;flex-direction:column;gap:7px;color:#c4cde0;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.25px}
#modalProductoDetalle .prod-master-fields label:nth-child(4){grid-column:1/-1}
#modalProductoDetalle input,#modalProductoDetalle textarea{background:#0d1422!important;color:#eef4ff!important;border:1px solid #2f3c58!important;border-radius:12px!important;padding:12px 13px!important;font-size:14px!important;font-weight:800!important;box-sizing:border-box!important;width:100%!important;box-shadow:none!important}
#modalProductoDetalle input:focus,#modalProductoDetalle textarea:focus{outline:none!important;border-color:#29d47a!important;box-shadow:0 0 0 3px rgba(41,212,122,.14)!important}
#modalProductoDetalle input[type=file]{padding:9px 10px!important;cursor:pointer;background:#0d1422!important;color:#c8d3e7!important}
#modalProductoDetalle input[type=file]::file-selector-button{border:0;border-radius:9px;background:#eaf2ff;color:#0b1018;font-weight:900;padding:8px 12px;margin-right:10px;cursor:pointer}
#modalProductoDetalle .prod-edit-note textarea{min-height:150px!important;resize:vertical;line-height:1.45;font-weight:700!important;text-transform:none!important}
#modalProductoDetalle .section-title-row.clean{display:block;margin:0 0 12px}
#modalProductoDetalle .section-title-row.clean h3{margin:0;color:#f4f7ff;font-size:21px}
#modalProductoDetalle .section-title-row .mini,#modalProductoDetalle .section-title-row .btn-soft{display:none!important}
#modalProductoDetalle .lotes-detail-list{display:grid;gap:12px}
#modalProductoDetalle .lote-detail-row.lote-edit-row{display:grid;grid-template-columns:1.7fr 70px 70px 78px 130px 130px 100px;gap:12px;align-items:center;background:#0d1422;border:1px solid #2b3650;border-radius:16px;padding:15px}
#modalProductoDetalle .lote-main b{display:block;color:#f3f7ff;font-size:16px;margin-bottom:4px}
#modalProductoDetalle .lote-main span,#modalProductoDetalle .lote-metric small,#modalProductoDetalle .lote-money small{display:block;color:#9eabc2;font-size:11px;font-weight:900;text-transform:uppercase;margin-bottom:4px}
#modalProductoDetalle .lote-metric b{display:block;color:#eef4ff;font-size:17px}
#modalProductoDetalle .lote-visible{display:flex;align-items:center;justify-content:center;gap:8px;background:#111827;border:1px solid #2b3650;border-radius:12px;padding:11px 10px;color:#eaf2ff;font-weight:900}
#modalProductoDetalle .lote-visible input{width:auto!important;padding:0!important;accent-color:#29d47a}
#modalProductoDetalle .sticky-actions{position:sticky;bottom:-1px;background:linear-gradient(180deg,rgba(23,30,43,0),#171e2b 32%);padding-top:18px;margin-bottom:0}
@media(max-width:1050px){#modalProductoDetalle .master-card{grid-template-columns:1fr}#modalProductoDetalle .prod-detail-img{width:100%;height:170px}#modalProductoDetalle .prod-master-fields{grid-template-columns:1fr}#modalProductoDetalle .prod-mini-stats{justify-content:flex-start;margin-right:0}#modalProductoDetalle .lote-detail-row.lote-edit-row{grid-template-columns:1fr 1fr}#modalProductoDetalle .lote-main{grid-column:1/-1}}

/* Fix: centro de producto compacto y con scroll interno */
#modalProductoDetalle{align-items:center!important;overflow:hidden!important}
#modalProductoDetalle .modal-wide{
  width:min(940px,96vw)!important;
  max-width:940px!important;
  max-height:88vh!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:14px 16px 10px!important;
  scrollbar-width:thin;
  scrollbar-color:#33405a #111827;
}
#modalProductoDetalle .modal-wide::-webkit-scrollbar{width:8px}
#modalProductoDetalle .modal-wide::-webkit-scrollbar-track{background:#111827;border-radius:999px}
#modalProductoDetalle .modal-wide::-webkit-scrollbar-thumb{background:#33405a;border-radius:999px}
#modalProductoDetalle .modal-close{right:12px!important;top:12px!important;width:34px!important;height:34px!important}
#modalProductoDetalle .prod-edit-header{margin:0 42px 10px 0!important;gap:10px!important;align-items:center!important}
#modalProductoDetalle .prod-edit-header h2{font-size:26px!important;margin:2px 0 0!important;line-height:1.05!important}
#modalProductoDetalle .prod-edit-kicker{font-size:14px!important}
#modalProductoDetalle .prod-mini-stats{margin:0!important;gap:7px!important}
#modalProductoDetalle .prod-mini-stats span{padding:7px 10px!important;font-size:12px!important}
#modalProductoDetalle .prod-edit-card{padding:12px!important;margin:10px 0!important;border-radius:15px!important}
#modalProductoDetalle .master-card{grid-template-columns:105px 1fr!important;gap:14px!important;align-items:start!important}
#modalProductoDetalle .prod-detail-img{width:105px!important;height:105px!important;border-radius:15px!important;font-size:36px!important}
#modalProductoDetalle .prod-master-fields{grid-template-columns:1fr 1.45fr 1fr!important;gap:10px!important}
#modalProductoDetalle .prod-master-fields label,#modalProductoDetalle .prod-edit-note,#modalProductoDetalle .lote-money{gap:5px!important;font-size:11px!important;letter-spacing:.2px!important}
#modalProductoDetalle input,#modalProductoDetalle textarea{padding:10px 11px!important;border-radius:10px!important;font-size:13px!important}
#modalProductoDetalle input[type=file]{padding:7px 9px!important}
#modalProductoDetalle input[type=file]::file-selector-button{padding:6px 10px!important;border-radius:8px!important}
#modalProductoDetalle .prod-edit-note textarea{min-height:90px!important;max-height:135px!important;line-height:1.35!important}
#modalProductoDetalle .section-title-row.clean{margin:0 0 8px!important}
#modalProductoDetalle .section-title-row.clean h3{font-size:19px!important}
#modalProductoDetalle .lotes-detail-list{gap:8px!important}
#modalProductoDetalle .lote-detail-row.lote-edit-row{
  grid-template-columns:1.55fr 58px 58px 62px 105px 105px 80px!important;
  gap:8px!important;
  padding:10px 12px!important;
  border-radius:13px!important;
}
#modalProductoDetalle .lote-main b{font-size:14px!important;margin-bottom:2px!important}
#modalProductoDetalle .lote-main span,#modalProductoDetalle .lote-metric small,#modalProductoDetalle .lote-money small{font-size:10px!important;margin-bottom:2px!important}
#modalProductoDetalle .lote-metric b{font-size:15px!important}
#modalProductoDetalle .lote-money input{padding:8px 9px!important}
#modalProductoDetalle .lote-visible{padding:8px 8px!important;border-radius:10px!important;font-size:12px!important}
#modalProductoDetalle .sticky-actions{padding-top:10px!important;margin-top:8px!important}
#modalProductoDetalle .bulk-actions.sticky-actions button{padding:10px 14px!important;border-radius:11px!important}
@media(max-width:1050px){
  #modalProductoDetalle .modal-wide{width:min(900px,96vw)!important;max-height:88vh!important}
  #modalProductoDetalle .master-card{grid-template-columns:95px 1fr!important}
  #modalProductoDetalle .prod-detail-img{width:95px!important;height:95px!important}
  #modalProductoDetalle .prod-master-fields{grid-template-columns:1fr 1fr!important}
  #modalProductoDetalle .prod-master-fields label:nth-child(4){grid-column:1/-1!important}
  #modalProductoDetalle .lote-detail-row.lote-edit-row{grid-template-columns:1.2fr repeat(3,52px) 95px 95px 72px!important}
}
@media(max-width:760px){
  #modalProductoDetalle .prod-edit-header{display:block!important;margin-right:42px!important}
  #modalProductoDetalle .prod-mini-stats{justify-content:flex-start!important;margin-top:8px!important}
  #modalProductoDetalle .master-card{grid-template-columns:1fr!important}
  #modalProductoDetalle .prod-detail-img{width:100%!important;height:120px!important}
  #modalProductoDetalle .prod-master-fields{grid-template-columns:1fr!important}
  #modalProductoDetalle .lote-detail-row.lote-edit-row{grid-template-columns:1fr 1fr!important}
  #modalProductoDetalle .lote-main{grid-column:1/-1!important}
}

/* Producto detalle: caja, historial y switch tienda */
.master-visible-line{display:flex;gap:8px;align-items:flex-start;justify-content:space-between}
.switch-master{display:inline-flex;align-items:center;gap:8px;background:#0f172a;border:1px solid #334155;border-radius:999px;padding:7px 10px;color:#e5e7eb;font-size:13px;font-weight:800;width:max-content}
.switch-master input{width:auto;accent-color:#22c55e}
.movs-detail-list{display:grid;gap:7px;max-height:170px;overflow:auto;padding-right:4px}
.mov-row{display:grid;grid-template-columns:1fr;gap:4px;align-items:center;background:#111827;border:1px solid #263244;border-radius:10px;padding:8px 10px;color:#e5e7eb}
.mov-row b{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.3px}
.mov-row span{display:block;color:#a8b3c7;font-size:12px;line-height:1.25;margin-top:2px;word-break:break-word}
.mov-row small{color:#8a94a7;text-align:right;font-size:11px}
.lote-main span{line-height:1.25}
@media(max-width:850px){.mov-row{grid-template-columns:1fr}.mov-row small{text-align:left}}

.mov-client-name{font-weight:900;color:#ffffff;}

.mov-badge-anulada{display:inline-flex;align-items:center;margin-left:8px;padding:2px 8px;border-radius:999px;background:rgba(239,68,68,.18);color:#ff6b6b;border:1px solid rgba(239,68,68,.45);font-size:11px;font-weight:900;letter-spacing:.4px;vertical-align:middle;}
.mov-row:has(.mov-badge-anulada){border-color:rgba(239,68,68,.35);background:rgba(239,68,68,.06);}

.mov-row-compact b{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.mov-main-line{font-size:12px;color:#dbeafe!important;margin-top:3px}
.mov-meta-line{font-size:11px;color:#8fa3c8!important;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Filtros avanzados Productos */
.product-filter-bar{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
    margin:0 10px 0 0;
}
.prod-filter{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:8px 12px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.12);
    background:rgba(255,255,255,.06);
    color:#d7e0ee;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
    white-space:nowrap;
    transition:.15s ease;
}
.prod-filter:hover{
    background:rgba(255,255,255,.10);
    transform:translateY(-1px);
}
.prod-filter.active{
    background:linear-gradient(135deg,#ff7ab6,#7c5cff);
    border-color:transparent;
    color:#fff;
    box-shadow:0 8px 18px rgba(124,92,255,.22);
}
@media (max-width:900px){
    .product-filter-bar{width:100%; margin-top:8px;}
    .prod-filter{font-size:12px; padding:7px 10px;}
}


/* Productos: buscador vivo + filtros ordenados */
.productos-toolbar{
    display:block;
    background:linear-gradient(135deg,rgba(21,25,38,.96),rgba(15,20,32,.96));
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:12px;
    margin:12px 0 14px;
    box-shadow:0 12px 34px rgba(0,0,0,.22);
}
.productos-toolbar-top{
    display:grid;
    grid-template-columns:minmax(360px,1fr) auto;
    gap:12px;
    align-items:center;
}
.productos-search{
    grid-template-columns:1fr 230px;
    width:100%;
}
.search-live-wrap{position:relative;min-width:0}
.search-live-wrap input{padding-left:42px!important}
.search-live-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);opacity:.72;pointer-events:none}
.productos-toolbar-bottom{
    display:flex;
    align-items:center;
    gap:10px;
    padding-top:10px;
    margin-top:10px;
    border-top:1px solid rgba(255,255,255,.07);
}
.filter-label{font-size:12px;font-weight:900;color:#8fa3c8;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}
.productos-toolbar .product-filter-bar{margin:0;flex:1;gap:7px}
.productos-toolbar .prod-filter{min-height:30px;padding:6px 10px;font-size:12px}
.productos-toolbar .product-actions-top{justify-content:flex-end;gap:8px;flex-wrap:nowrap}
.productos-toolbar .btn-import,.productos-toolbar .btn-load-lotes,.productos-toolbar .btn-load-mixto{padding:10px 12px;font-size:13px;white-space:nowrap}

@media(max-width:980px){
    .productos-toolbar-top{grid-template-columns:1fr}
    .productos-toolbar .product-actions-top{justify-content:flex-start;flex-wrap:wrap}
    .productos-toolbar-bottom{align-items:flex-start;flex-direction:column}
    .productos-search{grid-template-columns:1fr}
}

/* Productos: buscador suave sin recargar */
.product-filter-bar .prod-filter{font-family:inherit;cursor:pointer}
.productos-toolbar .pos-search{min-width:0}
.productos-toolbar .search-live-wrap input{caret-color:var(--accent)}

/* Vender: buscador vivo + filtros rápidos */
.vender-toolbar{
    display:block;
    background:linear-gradient(135deg,rgba(21,25,38,.96),rgba(15,20,32,.96));
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:12px;
    margin:12px 0 14px;
    box-shadow:0 12px 34px rgba(0,0,0,.22);
}
.vender-toolbar-top{display:block;}
.vender-search{grid-template-columns:1fr 250px;width:100%;}
.vender-toolbar-bottom{
    display:flex;
    align-items:center;
    gap:10px;
    padding-top:10px;
    margin-top:10px;
    border-top:1px solid rgba(255,255,255,.07);
}
.vender-toolbar .product-filter-bar{margin:0;flex:1;gap:7px;}
.vender-toolbar .prod-filter{min-height:30px;padding:6px 10px;font-size:12px;}
.vender-toolbar .pos-search{min-width:0;}
.vender-toolbar .search-live-wrap input{caret-color:var(--accent);}
@media(max-width:980px){
    .vender-search{grid-template-columns:1fr;}
    .vender-toolbar-bottom{align-items:flex-start;flex-direction:column;}
}

/* Cargador mixto POS */
.modal-xxl{max-width:1380px;width:min(1380px,98vw)}
.bulk-table.combo .bulk-head,.bulk-table.combo .bulk-row{grid-template-columns:1.35fr 105px 1.25fr 1fr 92px 95px 64px 88px 88px 100px 72px 105px 72px}
.bulk-table.combo .bulk-dup-msg{grid-column:1/-1;background:#3b1d25;border:1px solid #8b2f45;color:#ffdbe6;border-radius:8px;padding:8px 10px;font-size:12px;font-weight:800}
.bulk-help{margin-top:10px;background:#101827;border:1px solid #26334b;border-radius:10px;color:#c9d5ec;padding:10px 12px;font-size:13px}
.combo-auto-chip{display:flex;align-items:center;justify-content:center;border-radius:999px;background:#172034;border:1px solid #33405b;color:#d9e6ff;font-size:11px;font-weight:900;padding:6px 8px;text-align:center;min-height:34px}.combo-existing-master .combo-auto-chip{background:#153323;border-color:#2c7d4b;color:#c7ffd9}.combo-disabled{background:#111827!important;color:#8b98ad!important;opacity:.72}.combo-existing-master .combo-master-new{pointer-events:none}
.bulk-row input.bulk-error,.bulk-row select.bulk-error{border-color:#ff5573!important;box-shadow:0 0 0 3px rgba(255,85,115,.16)!important}
.bulk-row input.bulk-warn{border-color:#f5b342!important;box-shadow:0 0 0 3px rgba(245,179,66,.14)!important}
@media(max-width:1200px){.bulk-table.combo .bulk-head{display:none}.bulk-table.combo .bulk-row{grid-template-columns:1fr 1fr}.bulk-table.combo .bulk-row-buttons{grid-column:1/-1}.bulk-table.combo .bulk-dup-msg{grid-column:1/-1}}
