:root{--armador-orange:#f97316;--armador-gold:#ffb020;--armador-dark:#0b0b0c;--armador-text:#0f172a;--armador-muted:#64748b;--armador-line:#e5e7eb;--armador-bg:#f1f5f9;--armador-card:#fff;--armador-green:#22c55e;--armador-red:#ef4444}
.armador-wrap{margin:0 0 0 -20px}.armador-app{display:grid;grid-template-columns:260px 1fr;min-height:calc(100vh - 32px);background:linear-gradient(135deg,#f7ede7 0%,#eef4fb 55%,#f8fafc 100%);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--armador-text)}.armador-sidebar{background:#08090b;color:#fff;padding:20px 16px;position:sticky;top:0;height:100vh;box-sizing:border-box;display:flex;flex-direction:column;gap:10px}.armador-brand{display:flex;align-items:center;gap:12px;margin-bottom:16px}.armador-logo{width:46px;height:46px;border-radius:16px;background:linear-gradient(135deg,var(--armador-orange),var(--armador-gold));display:grid;place-items:center;font-weight:900}.armador-brand strong{display:block;font-size:16px}.armador-brand span{display:block;color:#cbd5e1;font-size:12px}.armador-nav{width:100%;border:1px solid #20242a;background:#15171b;color:#fff;border-radius:12px;padding:12px 14px;text-align:left;font-weight:800;cursor:pointer}.armador-nav:hover,.armador-nav.is-active{background:#fff;color:#09090b;border-color:#fff}.armador-sidebar-card{margin-top:auto;border:1px solid #27272a;background:#171717;border-radius:16px;padding:16px;display:grid;gap:4px}.armador-sidebar-card span{display:inline-block;width:max-content;background:#fff7ed;color:#c2410c;border-radius:20px;padding:3px 8px;font-size:11px;font-weight:900}.armador-sidebar-card small{color:#cbd5e1}.armador-main{padding:24px;min-width:0}.armador-hero{background:#fff;border-radius:24px;padding:24px;display:flex;justify-content:space-between;gap:24px;align-items:center;box-shadow:0 20px 60px rgba(15,23,42,.06);margin-bottom:22px}.armador-eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--armador-orange);font-weight:900}.armador-hero h1{margin:6px 0;font-size:28px;line-height:1.12}.armador-hero p{margin:0;color:var(--armador-muted)}.armador-actions,.armador-row,.armador-card-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.armador-btn{border:0;border-radius:12px;background:var(--armador-orange);color:#111827;padding:11px 16px;font-weight:900;cursor:pointer;display:inline-flex;align-items:center;gap:8px;text-decoration:none}.armador-btn.ghost{background:#fff;border:1px solid var(--armador-line);color:#0f172a}.armador-btn.green{background:var(--armador-green);color:#fff}.armador-btn.red{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.armador-btn.small{padding:8px 12px;border-radius:10px;font-size:12px}.file-label{position:relative;overflow:hidden}.armador-tab{display:none}.armador-tab.is-active{display:block}.armador-grid{display:grid;grid-template-columns:320px minmax(0,1fr);gap:20px}.armador-grid.three{grid-template-columns:340px 1fr 360px}.armador-card{background:#fff;border-radius:22px;padding:20px;box-shadow:0 18px 50px rgba(15,23,42,.06);border:1px solid rgba(226,232,240,.8)}.armador-card h2,.armador-card h3{margin:0 0 8px}.armador-card p{color:var(--armador-muted);margin:0 0 14px}.armador-field{display:grid;gap:6px;margin-bottom:12px}.armador-field span{font-size:12px;font-weight:900}.armador-field input,.armador-field select,.armador-field textarea,.armador-search{border:1px solid #dbe3ef;border-radius:12px;padding:11px 12px;width:100%;box-sizing:border-box;background:#fff;color:#0f172a}.armador-field textarea{min-height:72px}.armador-search{margin-bottom:12px}.armador-list{display:grid;gap:10px;max-height:640px;overflow:auto;padding-right:4px}.armador-item{border:1px solid var(--armador-line);border-radius:16px;padding:13px;background:#fff;cursor:pointer}.armador-item:hover,.armador-item.is-active{border-color:var(--armador-orange);box-shadow:0 0 0 2px rgba(249,115,22,.12)}.armador-item strong{display:block}.armador-item small{display:block;color:var(--armador-muted);line-height:1.4}.armador-badge{display:inline-block;border-radius:999px;background:#f1f5f9;color:#334155;padding:3px 8px;font-size:11px;font-weight:900;margin-top:8px}.armador-table{width:100%;border-collapse:separate;border-spacing:0 8px}.armador-table th{text-align:left;font-size:12px;color:#475569}.armador-table td{background:#fff;border-top:1px solid var(--armador-line);border-bottom:1px solid var(--armador-line);padding:12px}.armador-table td:first-child{border-left:1px solid var(--armador-line);border-radius:12px 0 0 12px}.armador-table td:last-child{border-right:1px solid var(--armador-line);border-radius:0 12px 12px 0}.armador-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.armador-kpi{background:#fff;border-radius:18px;padding:18px;border:1px solid var(--armador-line)}.armador-kpi span{display:block;color:var(--armador-muted);font-size:12px;font-weight:800}.armador-kpi strong{font-size:28px}.armador-note{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:14px;padding:12px;font-size:13px;margin:12px 0}.armador-success{background:#ecfdf5;border:1px solid #bbf7d0;color:#166534;border-radius:14px;padding:12px;font-size:13px;margin:12px 0}.armador-empty{border:1px dashed #cbd5e1;border-radius:18px;padding:28px;text-align:center;color:#64748b}.armador-lines{display:grid;gap:10px}.armador-line{display:grid;grid-template-columns:2fr .8fr .9fr auto;gap:8px;align-items:end;border:1px solid #e5e7eb;border-radius:14px;padding:12px}.armador-line input,.armador-line select{border:1px solid #dbe3ef;border-radius:10px;padding:10px}.armador-total{margin-top:14px;margin-left:auto;max-width:380px;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden}.armador-total div{display:flex;justify-content:space-between;padding:11px 14px;border-bottom:1px solid #e5e7eb}.armador-total div:last-child{border-bottom:0;background:#111827;color:#fff;font-size:18px;font-weight:900}.armador-toast{position:fixed;right:24px;bottom:24px;background:#111827;color:#fff;border-radius:14px;padding:14px 18px;z-index:99999;box-shadow:0 20px 60px rgba(0,0,0,.25);font-weight:800}.armador-login-box{max-width:520px;margin:80px auto;background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:28px;text-align:center;box-shadow:0 20px 60px rgba(15,23,42,.08)}.armador-login-btn{background:#f97316;color:#111827;padding:12px 18px;border-radius:12px;text-decoration:none;font-weight:900;display:inline-block}.armador-muted{color:#64748b}.armador-danger-text{color:#be123c}.armador-user-pass{background:#111827;color:#fff;padding:12px;border-radius:12px;margin-top:10px;font-family:monospace}.armador-product-preview{display:grid;grid-template-columns:80px 1fr;gap:12px;align-items:center}.armador-product-preview img{width:80px;height:80px;object-fit:cover;border-radius:12px;background:#f1f5f9}.armador-method-items{display:grid;gap:8px;margin-top:12px}.armador-method-row{display:grid;grid-template-columns:1.2fr 1.8fr auto;gap:8px}.armador-method-row input,.armador-method-row select{border:1px solid #dbe3ef;border-radius:10px;padding:10px}.armador-help-code{background:#0f172a;color:#fff;border-radius:12px;padding:12px;font-family:monospace;white-space:pre-wrap}.armador-subtabs{display:flex;gap:8px;margin-bottom:12px}.armador-subtab{border:1px solid #e5e7eb;background:#fff;border-radius:999px;padding:8px 12px;font-weight:900;cursor:pointer}.armador-subtab.is-active{background:#111827;color:#fff}@media(max-width:1100px){.armador-app{grid-template-columns:1fr}.armador-sidebar{position:relative;height:auto}.armador-grid,.armador-grid.three{grid-template-columns:1fr}.armador-hero{display:block}.armador-kpis{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.armador-main{padding:12px}.armador-line{grid-template-columns:1fr}.armador-kpis{grid-template-columns:1fr}}
.armador-login-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#fff7ed 0%,#eef4fb 55%,#f8fafc 100%);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#0f172a;box-sizing:border-box}.armador-login-card{width:min(460px,100%);background:#fff;border:1px solid #e5e7eb;border-radius:28px;padding:34px;box-shadow:0 28px 80px rgba(15,23,42,.12)}.armador-login-brand{display:flex;align-items:center;gap:12px;margin-bottom:22px}.armador-login-brand strong{display:block;font-size:18px}.armador-login-brand span{display:block;color:#64748b;font-size:12px}.armador-login-card h1{margin:0 0 8px;font-size:30px;line-height:1.1}.armador-login-card p{margin:0 0 18px;color:#64748b}.armador-login-form{display:grid;gap:14px}.armador-login-form label{display:grid;gap:6px;text-align:left;font-weight:800;font-size:13px}.armador-login-form input[type=text],.armador-login-form input[type=password],.armador-login-form input:not([type]){border:1px solid #dbe3ef;border-radius:14px;padding:13px 14px;font-size:16px}.armador-login-remember{display:flex!important;grid-template-columns:none!important;gap:8px!important;align-items:center;font-weight:700!important;color:#475569}.armador-login-submit{border:0;border-radius:14px;background:#f97316;color:#111827;padding:14px 18px;font-weight:900;font-size:16px;cursor:pointer}.armador-login-error{background:#fff1f2;border:1px solid #fecdd3;color:#be123c;border-radius:14px;padding:12px;margin:14px 0;font-weight:800}.armador-login-card small{display:block;color:#64748b;margin-top:14px}.armador-logout{text-decoration:none;display:block}.armador-permission-denied{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:24px;box-shadow:0 18px 50px rgba(15,23,42,.06)}

/* V6.0.3: aislamiento visual contra Astra/tema/WordPress y panel de permisos */
body.armador-crm-fullscreen,
body.armador-crm-fullscreen *{box-sizing:border-box!important}
body.armador-crm-fullscreen{margin:0!important;padding:0!important;background:#eef4fb!important;overflow-x:hidden!important}
body.armador-crm-fullscreen .armador-wrap{width:100vw!important;max-width:none!important;margin:0!important;padding:0!important}
#armador-app{width:100%!important;max-width:none!important;min-height:100vh!important;margin:0!important;background:#eef4fb!important;color:#0f172a!important;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;line-height:1.35!important}
#armador-app *{box-sizing:border-box!important}
#armador-app .armador-sidebar{width:260px!important;min-width:260px!important;max-width:260px!important}
#armador-app .armador-main{width:100%!important;max-width:none!important;min-width:0!important;overflow-x:hidden!important}
#armador-app .armador-hero,#armador-app .armador-card{width:100%!important;max-width:none!important}
#armador-app input,#armador-app select,#armador-app textarea,#armador-app button{font-family:inherit!important;font-size:14px!important;line-height:1.35!important;max-width:100%!important;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important}
#armador-app button,#armador-app .armador-btn{min-height:auto!important;border-radius:12px!important;text-decoration:none!important}
#armador-app input[type="checkbox"]{width:16px!important;min-width:16px!important;height:16px!important;margin:0!important;padding:0!important;appearance:auto!important;-webkit-appearance:auto!important}
#armador-app select{appearance:auto!important;-webkit-appearance:auto!important;background-color:#fff!important;color:#0f172a!important}
#armador-app textarea{resize:vertical!important}
#armador-app h1,#armador-app h2,#armador-app h3,#armador-app p{font-family:inherit!important;color:inherit}
#armador-app .armador-list{scrollbar-width:thin}
#armador-app .users-layout{grid-template-columns:320px minmax(0,1fr)!important;align-items:start!important}
#armador-app .armador-user-list{display:grid!important;gap:14px!important}
#armador-app .armador-user-card{border:1px solid #e5e7eb!important;border-radius:18px!important;padding:16px!important;background:#fff!important;display:grid!important;gap:12px!important}
#armador-app .armador-user-head{display:flex!important;justify-content:space-between!important;gap:14px!important;align-items:flex-start!important;border-bottom:1px solid #eef2f7!important;padding-bottom:12px!important}
#armador-app .armador-user-head strong{display:block!important;font-size:16px!important;color:#0f172a!important}
#armador-app .armador-user-head small{display:block!important;color:#64748b!important;margin-top:3px!important}
#armador-app .armador-user-summary{display:flex!important;flex-wrap:wrap!important;gap:6px!important;align-items:center!important;color:#475569!important;font-size:13px!important}
#armador-app .armador-user-summary span{display:inline-flex!important;border-radius:999px!important;background:#f1f5f9!important;color:#334155!important;padding:4px 8px!important;font-size:11px!important;font-weight:800!important}
#armador-app .armador-permission-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;gap:8px!important}
#armador-app .armador-perm-check{display:flex!important;align-items:center!important;gap:8px!important;border:1px solid #e5e7eb!important;background:#f8fafc!important;border-radius:12px!important;padding:10px 12px!important;color:#334155!important;font-weight:800!important;cursor:pointer!important;min-height:42px!important}
#armador-app .armador-perm-check.is-on{background:#fff7ed!important;border-color:#fdba74!important;color:#9a3412!important}
#armador-app .armador-perm-check span{display:inline!important;font-size:13px!important}
@media(max-width:1100px){#armador-app .users-layout{grid-template-columns:1fr!important}#armador-app .armador-sidebar{width:100%!important;min-width:0!important;max-width:none!important}}
/* V6.0.4: ID automático de cliente */
#armador-app input[readonly]{background:#f8fafc;color:#475569;cursor:not-allowed;border-style:dashed}
#armador-app .armador-field small{display:block;margin-top:6px;color:#64748b;font-size:12px;line-height:1.25}


/* V6.0.6: responsive reforzado para evitar paneles angostos en laptops, tablets y ventanas medianas */
#armador-app .armador-field,
#armador-app .armador-row > *,
#armador-app .armador-card,
#armador-app .armador-list,
#armador-app .armador-tab{min-width:0!important}
#armador-app .armador-grid.three{grid-template-columns:minmax(300px,360px) minmax(520px,1fr) minmax(300px,360px)!important;align-items:start!important}
#armador-app .armador-card{overflow:hidden!important}
#armador-app .armador-list{max-width:100%!important}
#armador-app .armador-actions{justify-content:flex-end!important}
#armador-app .armador-sidebar{z-index:5!important}
@media(max-width:1540px){
  #armador-app .armador-grid.three{grid-template-columns:minmax(280px,360px) minmax(0,1fr)!important}
  #armador-app .armador-grid.three > .armador-card:nth-child(3){grid-column:1 / -1!important}
  #armador-app .armador-grid.three > .armador-card:nth-child(3) textarea{min-height:120px!important}
}
@media(max-width:1280px){
  #armador-app.armador-app{grid-template-columns:230px minmax(0,1fr)!important}
  #armador-app .armador-sidebar{width:230px!important;min-width:230px!important;max-width:230px!important;padding:16px 12px!important}
  #armador-app .armador-nav{padding:11px 12px!important;font-size:13px!important}
  #armador-app .armador-main{padding:18px!important}
  #armador-app .armador-hero{align-items:flex-start!important;padding:20px!important}
  #armador-app .armador-hero h1{font-size:24px!important;max-width:720px!important}
  #armador-app .armador-grid{grid-template-columns:minmax(260px,320px) minmax(0,1fr)!important}
  #armador-app .armador-grid.three{grid-template-columns:1fr!important}
  #armador-app .armador-grid.three > .armador-card{grid-column:auto!important}
}
@media(max-width:1100px){
  #armador-app.armador-app{grid-template-columns:1fr!important}
  #armador-app .armador-sidebar{position:relative!important;top:auto!important;height:auto!important;width:100%!important;min-width:0!important;max-width:none!important;display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  #armador-app .armador-brand{margin-bottom:4px!important}
  #armador-app .armador-sidebar-card{margin-top:8px!important}
  #armador-app .armador-main{padding:16px!important}
  #armador-app .armador-hero{display:grid!important;grid-template-columns:1fr!important;gap:14px!important}
  #armador-app .armador-actions{justify-content:flex-start!important}
  #armador-app .armador-grid,
  #armador-app .armador-grid.three,
  #armador-app .users-layout{grid-template-columns:1fr!important}
  #armador-app .armador-list{max-height:380px!important}
}
@media(max-width:760px){
  body.armador-crm-fullscreen{overflow-x:hidden!important}
  #armador-app .armador-main{padding:10px!important}
  #armador-app .armador-sidebar{padding:12px!important}
  #armador-app .armador-brand{gap:10px!important}
  #armador-app .armador-logo{width:40px!important;height:40px!important;border-radius:14px!important}
  #armador-app .armador-hero,
  #armador-app .armador-card{border-radius:18px!important;padding:16px!important}
  #armador-app .armador-hero h1{font-size:22px!important;line-height:1.15!important}
  #armador-app .armador-card h2{font-size:24px!important;line-height:1.15!important}
  #armador-app .armador-row{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;align-items:stretch!important}
  #armador-app .armador-card-actions,
  #armador-app .armador-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;width:100%!important}
  #armador-app .armador-btn,
  #armador-app button,
  #armador-app .armador-card-actions a{width:100%!important;justify-content:center!important;text-align:center!important}
  #armador-app .armador-table{display:block!important;overflow-x:auto!important;white-space:nowrap!important}
  #armador-app .armador-total{max-width:none!important;width:100%!important;margin-left:0!important}
  #armador-app .armador-method-row,
  #armador-app .armador-line{grid-template-columns:1fr!important}
  #armador-app .armador-permission-grid{grid-template-columns:1fr!important}
  #armador-app .armador-user-head{display:grid!important;grid-template-columns:1fr!important}
}
@media(max-width:480px){
  #armador-app .armador-main{padding:8px!important}
  #armador-app .armador-hero,
  #armador-app .armador-card{padding:14px!important;border-radius:16px!important}
  #armador-app .armador-hero h1{font-size:20px!important}
  #armador-app .armador-card h2{font-size:22px!important}
  #armador-app input,
  #armador-app select,
  #armador-app textarea{font-size:16px!important}
}


/* V6.0.7: cerrar sesión abajo, rojo; datalist de cliente y permisos dashboard opcionales */
#armador-app .armador-sidebar-card{margin-top:auto!important}
#armador-app .armador-logout{margin-top:10px!important;background:#1a1012!important;border-color:#3f1d22!important;color:#ef4444!important;font-weight:900!important;text-align:center!important;justify-content:center!important}
#armador-app .armador-logout:hover{background:#fff1f2!important;border-color:#fecdd3!important;color:#be123c!important}
#armador-app #quoteClientSearch{font-weight:700!important}
#armador-app .armador-table{min-width:700px!important}
#armador-app .armador-card{min-width:0!important}
@media(max-width:1100px){#armador-app .armador-sidebar-card{margin-top:8px!important}#armador-app .armador-logout{margin-top:0!important}}

/* V6.0.9: cliente rápido desde cotización y precios por tipo */
#armador-app .armador-quick-client{margin:10px 0 14px;padding:12px;border:1px solid #fed7aa;border-radius:16px;background:#fff7ed}
#armador-app .quote-client-actions{margin:6px 0 8px!important}
#armador-app #quotePriceTier{font-weight:800!important}
#armador-app .armador-field small{display:block;margin-top:5px;color:#64748b;font-weight:600}
@media(max-width:760px){#armador-app .armador-quick-client{padding:10px;border-radius:14px}}

/* V6.0.11: estatus y Mercado Pago */
#armador-app .armador-logo{overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important}
#armador-app .armador-logo img{width:100%!important;height:100%!important;object-fit:contain!important;display:block!important}
#armador-app .armador-logo-preview{margin-top:12px;border:1px solid #e2e8f0;border-radius:16px;padding:12px;background:#f8fafc;display:flex;align-items:center;justify-content:center;min-height:90px}
#armador-app .armador-logo-preview img{max-width:180px;max-height:90px;object-fit:contain;display:block}
#armador-app .armador-logo-preview.wide img{max-width:360px;max-height:120px}
#armador-app #saveSettingsPdf{min-width:220px}
.armador-status{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;background:#f1f5f9;color:#334155;white-space:nowrap}
.armador-status.cotizado{background:#eff6ff;color:#1d4ed8}.armador-status.esperando_pago{background:#fff7ed;color:#c2410c}.armador-status.procesando{background:#fefce8;color:#a16207}.armador-status.venta{background:#dcfce7;color:#15803d}.armador-status.cancelada{background:#fee2e2;color:#b91c1c}
.quote-status{min-width:145px;border:1px solid #d8e1ef;border-radius:12px;padding:8px 10px;background:#fff;font-weight:800;color:#0f172a}
.armador-table td .armador-btn{margin:2px}
@media(max-width:900px){.armador-table-wrap,.armador-table{display:block;overflow-x:auto}.armador-table{min-width:760px}.quote-status{min-width:130px}}


/* V6.2.0: navegación secundaria de sincronización dentro de Materiales y precios. */
.armador-subnav-group {
  margin: -4px 0 8px 18px;
  padding-left: 10px;
  border-left: 1px solid rgba(255,255,255,.16);
}
.armador-sidebar .armador-nav.armador-subnav {
  width: 100%;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  opacity: .9;
}
.armador-sidebar .armador-nav.armador-subnav.is-active {
  opacity: 1;
}

/* V6.3.0: dashboard comercial general y por vendedor. */
#armador-app .dashboard-toolbar{display:grid!important;grid-template-columns:minmax(260px,.8fr) minmax(520px,1.2fr)!important;gap:24px!important;align-items:end!important;margin-bottom:18px!important}
#armador-app .dashboard-toolbar h2{margin:0 0 6px!important}#armador-app .dashboard-toolbar p{margin:0!important;color:#64748b!important}
#armador-app .dashboard-eyebrow{color:#f97316!important;font-size:12px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important;margin-bottom:6px!important}
#armador-app .dashboard-filters{display:flex!important;gap:10px!important;align-items:end!important;justify-content:flex-end!important;flex-wrap:wrap!important}#armador-app .dashboard-filters>.armador-field{min-width:180px!important;flex:1 1 180px!important;margin:0!important}
#armador-app .dashboard-custom-dates{display:flex;gap:10px;flex:1 1 340px;align-items:end}#armador-app .dashboard-custom-dates .armador-field{flex:1;margin:0!important}#armador-app .dashboard-filter-actions{display:flex;gap:8px;align-items:center}
#armador-app .dashboard-kpis{grid-template-columns:repeat(4,minmax(190px,1fr))!important;margin-bottom:16px!important}#armador-app .dashboard-kpis .armador-kpi{min-height:108px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}#armador-app .dashboard-kpis .armador-kpi small{display:block!important;margin-top:4px!important;color:#64748b!important;font-weight:800!important}
#armador-app .dashboard-sellers,#armador-app .dashboard-detail{margin-top:18px!important}#armador-app .dashboard-collection{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;white-space:nowrap}#armador-app .dashboard-collection.collected{background:#dcfce7;color:#15803d}#armador-app .dashboard-collection.unpaid{background:#fff7ed;color:#c2410c}#armador-app .dashboard-collection.cancelled{background:#fee2e2;color:#b91c1c}#armador-app .dashboard-quotes-table{min-width:1180px!important}
@media(max-width:1320px){#armador-app .dashboard-toolbar{grid-template-columns:1fr!important}#armador-app .dashboard-filters{justify-content:flex-start!important}#armador-app .dashboard-kpis{grid-template-columns:repeat(2,minmax(180px,1fr))!important}}
@media(max-width:760px){#armador-app .dashboard-filters,#armador-app .dashboard-custom-dates,#armador-app .dashboard-filter-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important}#armador-app .dashboard-filters>.armador-field{width:100%!important;min-width:0!important}#armador-app .dashboard-kpis{grid-template-columns:1fr!important}}


/* V6.4.1-beta — resultado persistente de enlaces de pago. */
.armador-payment-result{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:24px;background:rgba(15,23,42,.55)}
.armador-payment-result-card{position:relative;width:min(680px,100%);padding:24px;background:#fff;border:1px solid #dbe3ee;border-radius:18px;box-shadow:0 24px 70px rgba(15,23,42,.28)}
.armador-payment-result-card h2{margin:0 40px 8px 0;color:#0f172a}
.armador-payment-result-card p{color:#475569}
.armador-payment-result-close{position:absolute;top:12px;right:14px;width:36px;height:36px;border:0;border-radius:999px;background:#f1f5f9;color:#0f172a;font-size:24px;line-height:1;cursor:pointer}
.armador-payment-result input[readonly]{width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}
.armador-link-preview{display:inline-block;max-width:190px;margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;color:#475569;background:#f8fafc}
@media(max-width:700px){.armador-payment-result{padding:12px}.armador-payment-result-card{padding:20px}.armador-link-preview{max-width:130px}}

/* V6.5.1 — referencia técnica separada del producto sincronizado */
.armador-method-row-v651{grid-template-columns:minmax(210px,1.05fr) minmax(240px,1.15fr) minmax(220px,1fr) auto!important;align-items:end}
.mi-reference-wrap{min-width:0;padding:10px 12px;background:#f8fafc;border:1px solid #dbe3ef;border-radius:10px}
.mi-reference-wrap small,.armador-method-row-v651 label small{display:block;margin-bottom:5px;color:#667085;font-size:11px}
.mi-reference-wrap strong{display:block;overflow-wrap:anywhere;color:#172033}
.mi-reference-wrap code{display:block;margin-top:4px;color:#667085;font-size:10px;background:transparent;padding:0}
.armador-method-row-v651 label{min-width:0}
.armador-method-row-v651 select,.armador-method-row-v651 input{width:100%}
@media(max-width:900px){.armador-method-row-v651{grid-template-columns:1fr!important}.armador-method-row-v651 .remove-mi{justify-self:start}}

.armador-package-detail{
  display:block;
  margin-top:5px;
  color:#5d6b82;
  font-size:11px;
  line-height:1.35;
}

/* V6.6.0-beta — costo real, comprobantes y acciones de depósito. */
#armador-app .dashboard-quotes-table{min-width:1380px!important}
#armadorTab-quotes>.armador-card{overflow-x:auto}
#armadorPurchaseCostModal .armador-payment-result-card{max-height:90vh;overflow:auto}

/* V6.11.1 — refinamiento visual profesional y experiencia móvil.
   Alcance: solo presentación/jerarquía visual. No modifica lógica, datos ni flujos. */
#armador-app{
  --armador-ui-shadow:0 8px 28px rgba(15,23,42,.07);
  --armador-ui-shadow-soft:0 3px 14px rgba(15,23,42,.05);
  --armador-ui-focus:0 0 0 3px rgba(249,115,22,.16);
}
#armador-app .armador-sidebar{
  border-right:1px solid rgba(255,255,255,.06)!important;
  box-shadow:8px 0 28px rgba(15,23,42,.08)!important;
}
#armador-app .armador-nav-scroll{
  display:grid;
  gap:7px;
  min-width:0;
}
#armador-app .armador-nav{
  position:relative;
  min-height:42px!important;
  padding:10px 13px!important;
  border-radius:10px!important;
  border-color:#242830!important;
  background:#121419!important;
  color:#e5e7eb!important;
  font-size:13px!important;
  line-height:1.2!important;
  transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease!important;
}
#armador-app .armador-nav:hover{
  background:#1a1d23!important;
  border-color:#343943!important;
  color:#fff!important;
}
#armador-app .armador-nav.is-active{
  background:#fff!important;
  border-color:#fff!important;
  color:#111827!important;
  box-shadow:inset 4px 0 0 var(--armador-orange),0 6px 18px rgba(0,0,0,.12)!important;
}
#armador-app .armador-subnav-group{
  margin:-1px 0 4px 14px!important;
  padding-left:9px!important;
}
#armador-app .armador-subnav-group .armador-nav{
  min-height:36px!important;
  font-size:11.5px!important;
  padding:8px 10px!important;
}
#armador-app .armador-main{
  background:
    radial-gradient(circle at top right,rgba(249,115,22,.045),transparent 28%),
    #f5f7fa!important;
}
#armador-app .armador-hero{
  border-radius:18px!important;
  border:1px solid #e6eaf0!important;
  box-shadow:var(--armador-ui-shadow-soft)!important;
  padding:20px 22px!important;
  margin-bottom:18px!important;
}
#armador-app .armador-hero h1{
  max-width:850px;
  font-size:26px!important;
  letter-spacing:-.02em!important;
}
#armador-app .armador-hero p{
  max-width:760px;
  line-height:1.55!important;
}
#armador-app .armador-card{
  border-radius:18px!important;
  border:1px solid #e4e9f0!important;
  box-shadow:var(--armador-ui-shadow-soft)!important;
}
#armador-app .armador-card h2{
  letter-spacing:-.015em!important;
}
#armador-app .armador-card p{
  line-height:1.5!important;
}
#armador-app .armador-btn,
#armador-app button.armador-btn{
  min-height:42px!important;
  padding:10px 14px!important;
  border-radius:10px!important;
  justify-content:center;
  font-weight:850!important;
  line-height:1.15!important;
  box-shadow:0 3px 10px rgba(249,115,22,.12)!important;
  transition:transform .14s ease,box-shadow .14s ease,background .14s ease,border-color .14s ease!important;
}
#armador-app .armador-btn:hover:not(:disabled),
#armador-app button.armador-btn:hover:not(:disabled){
  transform:translateY(-1px);
  box-shadow:0 7px 16px rgba(15,23,42,.10)!important;
}
#armador-app .armador-btn.ghost{
  box-shadow:none!important;
  background:#fff!important;
  border-color:#d8dee8!important;
}
#armador-app .armador-btn.ghost:hover:not(:disabled){
  background:#f8fafc!important;
  border-color:#bfc8d5!important;
}
#armador-app .armador-btn.green{
  box-shadow:0 3px 10px rgba(34,197,94,.14)!important;
}
#armador-app .armador-btn.red{
  box-shadow:none!important;
}
#armador-app .armador-btn.small{
  min-height:36px!important;
  padding:8px 11px!important;
  font-size:12px!important;
}
#armador-app .armador-btn:focus-visible,
#armador-app .armador-nav:focus-visible,
#armador-app input:focus,
#armador-app select:focus,
#armador-app textarea:focus{
  outline:none!important;
  box-shadow:var(--armador-ui-focus)!important;
}
#armador-app .armador-field input,
#armador-app .armador-field select,
#armador-app .armador-field textarea,
#armador-app .armador-search{
  min-height:42px;
  border-color:#d4dbe5!important;
  border-radius:10px!important;
  background:#fff!important;
}
#armador-app .armador-field textarea{
  min-height:84px;
}
#armador-app .armador-search{
  background:#fbfcfe!important;
}
#armador-app .armador-item{
  border-radius:13px!important;
  padding:12px 13px!important;
  box-shadow:0 1px 0 rgba(15,23,42,.02)!important;
}
#armador-app .armador-item:hover,
#armador-app .armador-item.is-active{
  box-shadow:0 0 0 3px rgba(249,115,22,.10)!important;
}
#armador-app .armador-kpi{
  border-radius:15px!important;
  box-shadow:0 2px 8px rgba(15,23,42,.035)!important;
}
#armador-app .armador-kpi strong{
  line-height:1.05!important;
  letter-spacing:-.025em!important;
}
#armador-app .armador-table th{
  padding:0 12px 6px!important;
  color:#64748b!important;
  font-weight:850!important;
}
#armador-app .armador-table td{
  padding:11px 12px!important;
}
#armador-app .armador-table tbody tr{
  transition:filter .14s ease!important;
}
#armador-app .armador-table tbody tr:hover{
  filter:brightness(.985);
}
#armador-app .armador-card-actions{
  gap:8px!important;
}
#armador-app .armador-note,
#armador-app .armador-success{
  border-radius:12px!important;
  line-height:1.45!important;
}
#armador-app .armador-toast{
  border-radius:12px!important;
  box-shadow:0 16px 44px rgba(15,23,42,.28)!important;
}
#armador-app .armador-sidebar-card{
  border-radius:13px!important;
  background:#121419!important;
}
#armador-app .armador-logout{
  border-radius:10px!important;
}

/* Tabletas y móvil: navegación real de aplicación en una sola franja horizontal. */
@media(max-width:900px){
  body.armador-crm-fullscreen{
    background:#f5f7fa!important;
  }
  #armador-app.armador-app{
    display:block!important;
  }
  #armador-app .armador-sidebar{
    position:sticky!important;
    top:0!important;
    z-index:9999!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    padding:9px 10px 8px!important;
    display:block!important;
    background:rgba(8,9,11,.98)!important;
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    box-shadow:0 8px 24px rgba(15,23,42,.18)!important;
  }
  body.wp-admin #armador-app .armador-sidebar{
    top:46px!important;
  }
  #armador-app .armador-brand{
    min-height:38px;
    margin:0 100px 8px 0!important;
    gap:8px!important;
  }
  #armador-app .armador-logo{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    border-radius:10px!important;
  }
  #armador-app .armador-brand strong{
    font-size:13px!important;
    line-height:1.2!important;
  }
  #armador-app .armador-brand span{
    display:none!important;
  }
  #armador-app .armador-nav-scroll{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:6px!important;
    width:100%!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:0 0 3px!important;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  #armador-app .armador-nav-scroll::-webkit-scrollbar{
    display:none;
  }
  #armador-app .armador-nav-scroll > .armador-nav,
  #armador-app .armador-subnav-group .armador-nav{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:max-content!important;
    min-height:38px!important;
    padding:8px 12px!important;
    border-radius:999px!important;
    white-space:nowrap!important;
    font-size:12px!important;
    scroll-snap-align:start;
    box-shadow:none!important;
  }
  #armador-app .armador-nav-scroll > .armador-nav.is-active,
  #armador-app .armador-subnav-group .armador-nav.is-active{
    background:var(--armador-orange)!important;
    border-color:var(--armador-orange)!important;
    color:#111827!important;
    box-shadow:none!important;
  }
  #armador-app .armador-subnav-group{
    display:contents!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
  }
  #armador-app .armador-sidebar-card{
    display:none!important;
  }
  #armador-app .armador-logout{
    position:absolute!important;
    top:9px!important;
    right:10px!important;
    width:auto!important;
    min-width:88px!important;
    min-height:34px!important;
    margin:0!important;
    padding:7px 10px!important;
    border-radius:999px!important;
    font-size:11px!important;
  }
  #armador-app .armador-main{
    padding:12px!important;
  }
  #armador-app .armador-hero{
    padding:14px 15px!important;
    margin-bottom:12px!important;
    border-radius:14px!important;
    gap:9px!important;
  }
  #armador-app .armador-eyebrow{
    font-size:10px!important;
    letter-spacing:.08em!important;
  }
  #armador-app .armador-hero h1{
    margin:3px 0 0!important;
    font-size:18px!important;
    line-height:1.2!important;
  }
  #armador-app .armador-hero p{
    display:none!important;
  }
  #armador-app .armador-actions{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:7px!important;
    width:100%!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:2px 0 3px!important;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  #armador-app .armador-actions::-webkit-scrollbar{
    display:none;
  }
  #armador-app .armador-actions .armador-btn,
  #armador-app .armador-actions .file-label{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:max-content!important;
    min-height:38px!important;
    padding:8px 11px!important;
    white-space:nowrap!important;
    font-size:11px!important;
  }
  #armador-app .armador-grid,
  #armador-app .armador-grid.three,
  #armador-app .users-layout{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  #armador-app .armador-card{
    padding:15px!important;
    border-radius:14px!important;
  }
  #armador-app .armador-card h2{
    font-size:18px!important;
    line-height:1.2!important;
    margin-bottom:5px!important;
  }
  #armador-app .armador-card h3{
    font-size:16px!important;
  }
  #armador-app .armador-card p{
    margin-bottom:11px!important;
    font-size:13px!important;
    line-height:1.45!important;
  }
  #armador-app .armador-field{
    gap:5px!important;
    margin-bottom:10px!important;
  }
  #armador-app .armador-field span{
    font-size:11px!important;
  }
  #armador-app .armador-field small{
    font-size:11px!important;
  }
  #armador-app .armador-field input,
  #armador-app .armador-field select,
  #armador-app .armador-field textarea,
  #armador-app .armador-search{
    min-height:44px!important;
    padding:10px 11px!important;
    border-radius:10px!important;
  }
  #armador-app .armador-row{
    gap:8px!important;
  }
  #armador-app .armador-card-actions{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    width:100%!important;
    gap:7px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:2px 0 4px!important;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  #armador-app .armador-card-actions::-webkit-scrollbar{
    display:none;
  }
  #armador-app .armador-card-actions .armador-btn,
  #armador-app .armador-card-actions .file-label,
  #armador-app .armador-card-actions a{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:max-content!important;
    min-height:42px!important;
    white-space:nowrap!important;
  }
  #armador-app .armador-btn,
  #armador-app button{
    width:auto!important;
  }
  #armador-app .armador-list{
    max-height:300px!important;
    gap:7px!important;
  }
  #armador-app .armador-item{
    padding:11px 12px!important;
    border-radius:12px!important;
  }
  #armador-app .armador-kpis,
  #armador-app .dashboard-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  #armador-app .armador-kpi,
  #armador-app .dashboard-kpis .armador-kpi{
    min-height:86px!important;
    padding:12px!important;
    border-radius:12px!important;
  }
  #armador-app .armador-kpi span{
    font-size:10.5px!important;
    line-height:1.25!important;
  }
  #armador-app .armador-kpi strong{
    font-size:21px!important;
    margin-top:3px!important;
  }
  #armador-app .dashboard-toolbar{
    gap:12px!important;
    margin-bottom:12px!important;
  }
  #armador-app .dashboard-toolbar h2{
    font-size:18px!important;
  }
  #armador-app .dashboard-filters{
    gap:8px!important;
  }
  #armador-app .dashboard-filter-actions{
    display:flex!important;
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    gap:7px!important;
  }
  #armador-app .dashboard-filter-actions .armador-btn{
    flex:0 0 auto!important;
    width:auto!important;
  }
  #armador-app .armador-table-wrap,
  #armador-app #armadorTab-quotes>.armador-card{
    overflow-x:auto!important;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
  }
  #armador-app .armador-table{
    font-size:12px!important;
  }
  #armador-app .armador-table th,
  #armador-app .armador-table td{
    padding:9px 10px!important;
  }
  #armador-app .armador-note,
  #armador-app .armador-success{
    padding:10px 11px!important;
    font-size:12px!important;
    margin:9px 0!important;
  }
  #armador-app .armador-total{
    border-radius:12px!important;
  }
  #armador-app .armador-total div{
    padding:9px 11px!important;
  }
  #armador-app .armador-payment-result{
    padding:8px!important;
  }
  #armador-app .armador-payment-result-card{
    width:100%!important;
    max-height:94vh!important;
    overflow:auto!important;
    padding:18px!important;
    border-radius:14px!important;
  }
  #armador-app .armador-toast{
    left:10px!important;
    right:10px!important;
    bottom:10px!important;
    width:auto!important;
    text-align:center!important;
    padding:11px 13px!important;
    font-size:12px!important;
  }
}

@media(max-width:430px){
  #armador-app .armador-main{
    padding:8px!important;
  }
  #armador-app .armador-sidebar{
    padding-left:8px!important;
    padding-right:8px!important;
  }
  #armador-app .armador-brand{
    margin-right:88px!important;
  }
  #armador-app .armador-brand strong{
    max-width:180px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  #armador-app .armador-logout{
    right:8px!important;
    min-width:78px!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  #armador-app .armador-card{
    padding:13px!important;
  }
  #armador-app .armador-kpis,
  #armador-app .dashboard-kpis{
    grid-template-columns:1fr!important;
  }
  #armador-app .armador-kpi,
  #armador-app .dashboard-kpis .armador-kpi{
    min-height:74px!important;
  }
}


/* V6.20.0-beta: dashboard ejecutivo. Alcance exclusivo a #armadorTab-dashboard. */
#armador-app #armadorTab-dashboard{
  --dashboard-ink:#101827;
  --dashboard-muted:#64748b;
  --dashboard-line:#e5eaf1;
  --dashboard-panel:#ffffff;
  --dashboard-bg:#f5f7fb;
  --dashboard-orange:#f97316;
  --dashboard-green:#16a34a;
  --dashboard-blue:#1d4ed8;
}
#armador-app #armadorTab-dashboard .dashboard-shell{
  background:var(--dashboard-bg);
  border-radius:22px;
  padding:16px;
}
#armador-app #armadorTab-dashboard .dashboard-toolbar-pro{
  border:0!important;
  box-shadow:0 8px 28px rgba(15,23,42,.06)!important;
  margin-bottom:16px!important;
}
#armador-app #armadorTab-dashboard .dashboard-executive-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-bottom:16px;
}
#armador-app #armadorTab-dashboard .dashboard-stat-card{
  position:relative;
  overflow:hidden;
  min-height:148px;
  padding:18px 18px 17px;
  background:var(--dashboard-panel);
  border:1px solid var(--dashboard-line);
  border-radius:18px;
  box-shadow:0 8px 26px rgba(15,23,42,.055);
}
#armador-app #armadorTab-dashboard .dashboard-stat-card::after{
  content:"";
  position:absolute;
  width:84px;
  height:84px;
  border-radius:50%;
  right:-28px;
  top:-28px;
  background:rgba(249,115,22,.055);
}
#armador-app #armadorTab-dashboard .dashboard-stat-card.is-dark{
  background:linear-gradient(145deg,#172033,#0f172a);
  border-color:#172033;
  color:#fff;
}
#armador-app #armadorTab-dashboard .dashboard-stat-card.is-dark::after{
  background:rgba(255,255,255,.055);
}
#armador-app #armadorTab-dashboard .dashboard-stat-card>span{
  display:block;
  margin-top:16px;
  color:var(--dashboard-muted);
  font-size:12px;
  font-weight:850;
  letter-spacing:.01em;
}
#armador-app #armadorTab-dashboard .dashboard-stat-card.is-dark>span{
  color:#cbd5e1;
}
#armador-app #armadorTab-dashboard .dashboard-stat-card>strong{
  display:block;
  margin-top:5px;
  color:var(--dashboard-ink);
  font-size:25px;
  line-height:1.08;
  letter-spacing:-.03em;
}
#armador-app #armadorTab-dashboard .dashboard-stat-card.is-dark>strong{
  color:#fff;
}
#armador-app #armadorTab-dashboard .dashboard-stat-card>small{
  display:block;
  margin-top:7px;
  color:#8a97a8;
  font-size:11px;
  font-weight:750;
  line-height:1.35;
}
#armador-app #armadorTab-dashboard .dashboard-stat-card.is-dark>small{
  color:#aeb9c8;
}
#armador-app #armadorTab-dashboard .dashboard-stat-icon{
  position:relative;
  z-index:1;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:11px;
  color:#fff;
  background:#263248;
}
#armador-app #armadorTab-dashboard .dashboard-stat-icon.is-orange{background:#fff1e8;color:var(--dashboard-orange)}
#armador-app #armadorTab-dashboard .dashboard-stat-icon.is-green{background:#eaf8ef;color:var(--dashboard-green)}
#armador-app #armadorTab-dashboard .dashboard-stat-icon.is-blue{background:#eef4ff;color:var(--dashboard-blue)}
#armador-app #armadorTab-dashboard .dashboard-stat-icon svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
#armador-app #armadorTab-dashboard .dashboard-visual-grid{
  display:grid;
  grid-template-columns:minmax(0,2.15fr) minmax(260px,.85fr);
  gap:16px;
  margin-bottom:16px;
}
#armador-app #armadorTab-dashboard .dashboard-chart-card,
#armador-app #armadorTab-dashboard .dashboard-conversion-card,
#armador-app #armadorTab-dashboard .dashboard-sellers,
#armador-app #armadorTab-dashboard .dashboard-detail{
  border:1px solid var(--dashboard-line)!important;
  box-shadow:0 8px 28px rgba(15,23,42,.05)!important;
}
#armador-app #armadorTab-dashboard .dashboard-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:10px;
}
#armador-app #armadorTab-dashboard .dashboard-card-head h2,
#armador-app #armadorTab-dashboard .dashboard-card-head h3,
#armador-app #armadorTab-dashboard .dashboard-conversion-card h3{
  margin:0 0 4px!important;
  color:var(--dashboard-ink);
  letter-spacing:-.02em;
}
#armador-app #armadorTab-dashboard .dashboard-card-head p,
#armador-app #armadorTab-dashboard .dashboard-chart-card p{
  margin:0!important;
  color:var(--dashboard-muted)!important;
  font-size:12px;
}
#armador-app #armadorTab-dashboard .dashboard-chart-legend{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  color:#6b7280;
  font-size:11px;
  font-weight:800;
}
#armador-app #armadorTab-dashboard .dashboard-chart-legend span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
#armador-app #armadorTab-dashboard .dashboard-chart-legend i{
  width:9px;
  height:9px;
  border-radius:3px;
  display:inline-block;
}
#armador-app #armadorTab-dashboard .dashboard-chart-legend i.is-quotes{background:var(--dashboard-orange)}
#armador-app #armadorTab-dashboard .dashboard-chart-legend i.is-sales{background:#18253a}
#armador-app #armadorTab-dashboard .dashboard-chart-wrap{
  width:100%;
  overflow:hidden;
  margin-top:8px;
}
#armador-app #armadorTab-dashboard .dashboard-chart{
  display:block;
  width:100%;
  height:auto;
  min-height:230px;
}
#armador-app #armadorTab-dashboard .dashboard-chart-grid{stroke:#e8edf3;stroke-width:1}
#armador-app #armadorTab-dashboard .dashboard-chart-base{stroke:#cfd7e3;stroke-width:1}
#armador-app #armadorTab-dashboard .dashboard-chart-axis{fill:#8a97a8;font-size:10px;font-weight:700}
#armador-app #armadorTab-dashboard .dashboard-chart-label{font-size:9.5px}
#armador-app #armadorTab-dashboard .dashboard-bar-quotes{fill:var(--dashboard-orange);opacity:.92}
#armador-app #armadorTab-dashboard .dashboard-bar-sales{fill:#18253a;opacity:.96}
#armador-app #armadorTab-dashboard .dashboard-chart-empty{
  min-height:220px;
  display:grid;
  place-items:center;
  border:1px dashed #d5dde8;
  border-radius:14px;
  color:#8793a3;
  font-size:12px;
  font-weight:750;
}
#armador-app #armadorTab-dashboard .dashboard-conversion-card{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
#armador-app #armadorTab-dashboard .dashboard-donut{
  --dashboard-percent:0;
  width:164px;
  aspect-ratio:1;
  margin:18px auto 14px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:conic-gradient(var(--dashboard-orange) calc(var(--dashboard-percent) * 1%),#e8edf3 0);
  position:relative;
}
#armador-app #armadorTab-dashboard .dashboard-donut::after{
  content:"";
  position:absolute;
  inset:18px;
  border-radius:50%;
  background:#fff;
  box-shadow:inset 0 0 0 1px #edf1f6;
}
#armador-app #armadorTab-dashboard .dashboard-donut>div{
  position:relative;
  z-index:1;
  text-align:center;
}
#armador-app #armadorTab-dashboard .dashboard-donut strong{
  display:block;
  color:var(--dashboard-ink);
  font-size:28px;
  letter-spacing:-.04em;
}
#armador-app #armadorTab-dashboard .dashboard-donut span{
  display:block;
  margin-top:2px;
  color:#8a97a8;
  font-size:10px;
  font-weight:800;
}
#armador-app #armadorTab-dashboard .dashboard-conversion-copy{
  text-align:center;
  margin:0 0 14px!important;
  color:#7d8998!important;
  font-size:11px!important;
  font-weight:750;
}
#armador-app #armadorTab-dashboard .dashboard-conversion-meta{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:auto;
}
#armador-app #armadorTab-dashboard .dashboard-conversion-meta>div{
  padding:10px;
  border-radius:12px;
  background:#f8fafc;
  border:1px solid #edf1f5;
}
#armador-app #armadorTab-dashboard .dashboard-conversion-meta span,
#armador-app #armadorTab-dashboard .dashboard-mini-stats span{
  display:block;
  color:#8a97a8;
  font-size:10px;
  font-weight:800;
}
#armador-app #armadorTab-dashboard .dashboard-conversion-meta strong{
  display:block;
  margin-top:3px;
  color:var(--dashboard-ink);
  font-size:13px;
}
#armador-app #armadorTab-dashboard .dashboard-mini-stats{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin-bottom:16px;
}
#armador-app #armadorTab-dashboard .dashboard-mini-stats>div{
  background:#fff;
  border:1px solid var(--dashboard-line);
  border-radius:14px;
  padding:12px 14px;
  box-shadow:0 5px 18px rgba(15,23,42,.035);
}
#armador-app #armadorTab-dashboard .dashboard-mini-stats strong{
  display:block;
  margin-top:3px;
  color:var(--dashboard-ink);
  font-size:19px;
  letter-spacing:-.025em;
}
#armador-app #armadorTab-dashboard .dashboard-sellers,
#armador-app #armadorTab-dashboard .dashboard-detail{
  margin-top:16px!important;
}
#armador-app #armadorTab-dashboard .dashboard-sellers .armador-table-wrap,
#armador-app #armadorTab-dashboard .dashboard-detail .armador-table-wrap{
  border-top:1px solid #eef2f6;
  padding-top:6px;
}
#armador-app #armadorTab-dashboard .dashboard-collection{
  box-shadow:none!important;
}
@media(max-width:1280px){
  #armador-app #armadorTab-dashboard .dashboard-executive-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  #armador-app #armadorTab-dashboard .dashboard-visual-grid{grid-template-columns:1fr}
  #armador-app #armadorTab-dashboard .dashboard-mini-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  #armador-app #armadorTab-dashboard .dashboard-shell{padding:8px;border-radius:14px}
  #armador-app #armadorTab-dashboard .dashboard-executive-kpis{grid-template-columns:1fr;gap:9px}
  #armador-app #armadorTab-dashboard .dashboard-stat-card{min-height:116px;padding:14px}
  #armador-app #armadorTab-dashboard .dashboard-stat-card>strong{font-size:22px}
  #armador-app #armadorTab-dashboard .dashboard-card-head{display:block}
  #armador-app #armadorTab-dashboard .dashboard-chart-legend{margin-top:10px}
  #armador-app #armadorTab-dashboard .dashboard-mini-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #armador-app #armadorTab-dashboard .dashboard-donut{width:146px}
}
@media(max-width:430px){
  #armador-app #armadorTab-dashboard .dashboard-mini-stats{grid-template-columns:1fr 1fr}
  #armador-app #armadorTab-dashboard .dashboard-conversion-meta{grid-template-columns:1fr}
}

/* V6.20.1-beta: lectura numérica profesional de gráficas. Solo Dashboard. */
#armador-app #armadorTab-dashboard .dashboard-chart-card{
  overflow:hidden;
}
#armador-app #armadorTab-dashboard .dashboard-chart-wrap{
  padding:8px 8px 2px;
  border-radius:16px;
  background:linear-gradient(180deg,#fbfcfe 0%,#ffffff 100%);
  border:1px solid #eef2f6;
}
#armador-app #armadorTab-dashboard .dashboard-chart{
  min-height:285px;
}
#armador-app #armadorTab-dashboard .dashboard-chart-value{
  font-size:12px;
  font-weight:950;
  paint-order:stroke;
  stroke:#fff;
  stroke-width:4px;
  stroke-linejoin:round;
}
#armador-app #armadorTab-dashboard .dashboard-chart-value.is-quotes{fill:var(--dashboard-orange)}
#armador-app #armadorTab-dashboard .dashboard-chart-value.is-sales{fill:#18253a}
#armador-app #armadorTab-dashboard .dashboard-bar-quotes,
#armador-app #armadorTab-dashboard .dashboard-bar-sales{
  filter:drop-shadow(0 4px 5px rgba(15,23,42,.10));
}
#armador-app #armadorTab-dashboard .dashboard-chart-legend b{
  min-width:26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:3px 7px;
  border-radius:999px;
  background:#f8fafc;
  border:1px solid #e7edf4;
  color:var(--dashboard-ink);
  font-size:11px;
  font-weight:950;
}
#armador-app #armadorTab-dashboard .dashboard-period-readout{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(145px,1fr));
  gap:8px;
  margin-top:10px;
}
#armador-app #armadorTab-dashboard .dashboard-period-readout-item{
  padding:10px 11px;
  border:1px solid #e9eef5;
  border-radius:12px;
  background:#fff;
}
#armador-app #armadorTab-dashboard .dashboard-period-readout-item>strong{
  display:block;
  margin-bottom:6px;
  color:#334155;
  font-size:11px;
  font-weight:950;
}
#armador-app #armadorTab-dashboard .dashboard-period-readout-item>span{
  display:flex;
  align-items:center;
  gap:5px;
  color:#7b8796;
  font-size:10px;
  font-weight:800;
  line-height:1.55;
}
#armador-app #armadorTab-dashboard .dashboard-period-readout-item>span b{
  margin-left:auto;
  color:var(--dashboard-ink);
  font-size:12px;
  font-weight:950;
}
#armador-app #armadorTab-dashboard .dashboard-period-readout-item i{
  width:8px;
  height:8px;
  border-radius:3px;
  flex:0 0 8px;
}
#armador-app #armadorTab-dashboard .dashboard-period-readout-item i.is-quotes{background:var(--dashboard-orange)}
#armador-app #armadorTab-dashboard .dashboard-period-readout-item i.is-sales{background:#18253a}
#armador-app #armadorTab-dashboard .dashboard-conversion-count{
  text-align:center;
  margin:-2px 0 6px;
}
#armador-app #armadorTab-dashboard .dashboard-conversion-count strong{
  display:block;
  color:var(--dashboard-ink);
  font-size:18px;
  font-weight:950;
  letter-spacing:-.02em;
}
#armador-app #armadorTab-dashboard .dashboard-conversion-count span{
  display:block;
  margin-top:2px;
  color:#8a97a8;
  font-size:10px;
  font-weight:800;
}
#armador-app #armadorTab-dashboard .dashboard-conversion-meta.dashboard-conversion-meta-pro{
  grid-template-columns:1fr 1fr;
  gap:8px;
}
#armador-app #armadorTab-dashboard .dashboard-conversion-meta.dashboard-conversion-meta-pro>div{
  min-height:58px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
#armador-app #armadorTab-dashboard .dashboard-conversion-meta.dashboard-conversion-meta-pro strong{
  font-size:14px;
}
@media(max-width:760px){
  #armador-app #armadorTab-dashboard .dashboard-chart-wrap{overflow-x:auto}
  #armador-app #armadorTab-dashboard .dashboard-chart{min-width:640px;min-height:250px}
  #armador-app #armadorTab-dashboard .dashboard-period-readout{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:430px){
  #armador-app #armadorTab-dashboard .dashboard-period-readout{grid-template-columns:1fr}
}

/* V6.22.0-beta · FASE 2C · Timeline comercial del cliente */
#armador-app #armadorTab-clients .armador-client-timeline-card{
  margin-top:18px;
  overflow:hidden;
}
#armador-app #armadorTab-clients .armador-timeline-title h2{margin:3px 0 4px}
#armador-app #armadorTab-clients .armador-timeline-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:16px 0;
}
#armador-app #armadorTab-clients .armador-timeline-kpis>div{
  min-height:92px;
  padding:14px 15px;
  border:1px solid #e5eaf1;
  border-radius:14px;
  background:linear-gradient(180deg,#fff 0%,#fbfcfe 100%);
}
#armador-app #armadorTab-clients .armador-timeline-kpis span{
  display:block;
  color:#7a8798;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
#armador-app #armadorTab-clients .armador-timeline-kpis strong{
  display:block;
  margin-top:7px;
  color:#142033;
  font-size:18px;
  line-height:1.25;
}
#armador-app #armadorTab-clients .armador-timeline-kpis small{
  display:block;
  margin-top:5px;
  color:#7f8b99;
  font-size:11px;
  line-height:1.45;
}
#armador-app #armadorTab-clients .armador-timeline-kpis .armador-timeline-next{
  font-size:13px;
  line-height:1.45;
}
#armador-app #armadorTab-clients .armador-timeline-losses{
  padding:12px 14px;
  margin-bottom:14px;
  border:1px solid #ffd8bf;
  border-radius:13px;
  background:#fff8f3;
}
#armador-app #armadorTab-clients .armador-timeline-losses>span{
  display:block;
  margin-bottom:7px;
  color:#9b4613;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.03em;
}
#armador-app #armadorTab-clients .armador-timeline-losses>div{display:flex;flex-wrap:wrap;gap:6px}
#armador-app #armadorTab-clients .armador-timeline-loss{
  display:inline-flex;
  align-items:center;
  padding:5px 9px;
  border-radius:999px;
  background:#fff;
  border:1px solid #ffd2b5;
  color:#873c0f;
  font-size:11px;
  font-weight:800;
}
#armador-app #armadorTab-clients .armador-timeline-list{
  position:relative;
  margin-top:8px;
  padding-left:4px;
}
#armador-app #armadorTab-clients .armador-timeline-list:before{
  content:"";
  position:absolute;
  left:14px;
  top:9px;
  bottom:9px;
  width:2px;
  background:#e6ebf2;
}
#armador-app #armadorTab-clients .armador-timeline-event{
  position:relative;
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  gap:10px;
  padding:9px 0;
}
#armador-app #armadorTab-clients .armador-timeline-dot{
  position:relative;
  z-index:2;
  width:12px;
  height:12px;
  margin:8px 0 0 8px;
  border-radius:50%;
  background:#94a3b8;
  border:3px solid #fff;
  box-shadow:0 0 0 2px #dfe5ec;
}
#armador-app #armadorTab-clients .armador-timeline-event.is-success .armador-timeline-dot{background:#25a65a;box-shadow:0 0 0 2px #ccefd9}
#armador-app #armadorTab-clients .armador-timeline-event.is-danger .armador-timeline-dot{background:#d44949;box-shadow:0 0 0 2px #f6cccc}
#armador-app #armadorTab-clients .armador-timeline-event.is-accent .armador-timeline-dot{background:#ff6b12;box-shadow:0 0 0 2px #ffe0cb}
#armador-app #armadorTab-clients .armador-timeline-event.is-info .armador-timeline-dot{background:#2f6fb7;box-shadow:0 0 0 2px #d6e7fb}
#armador-app #armadorTab-clients .armador-timeline-event-body{
  padding:11px 13px;
  border:1px solid #e7ebf0;
  border-radius:13px;
  background:#fff;
}
#armador-app #armadorTab-clients .armador-timeline-event-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
}
#armador-app #armadorTab-clients .armador-timeline-event-head strong{
  color:#172235;
  font-size:13px;
  font-weight:900;
}
#armador-app #armadorTab-clients .armador-timeline-ref{
  display:inline-flex;
  margin-left:7px;
  padding:2px 6px;
  border-radius:999px;
  background:#f2f5f8;
  color:#657285;
  font-size:10px;
  font-weight:800;
  vertical-align:middle;
}
#armador-app #armadorTab-clients .armador-timeline-amount{
  white-space:nowrap;
  color:#172235;
  font-size:13px;
  font-weight:950;
}
#armador-app #armadorTab-clients .armador-timeline-event-body p{
  margin:5px 0 0;
  color:#526071;
  font-size:12px;
  line-height:1.5;
}
#armador-app #armadorTab-clients .armador-timeline-meta{
  display:flex;
  flex-wrap:wrap;
  gap:7px 12px;
  margin-top:7px;
  color:#8a96a5;
  font-size:10px;
  font-weight:700;
}
@media(max-width:1100px){
  #armador-app #armadorTab-clients .armador-timeline-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  #armador-app #armadorTab-clients .armador-timeline-kpis{grid-template-columns:1fr}
  #armador-app #armadorTab-clients .armador-timeline-event-head{display:block}
  #armador-app #armadorTab-clients .armador-timeline-amount{display:block;margin-top:6px}
}

/* V6.24.0-beta · FASE 2E + 2F · Cartera y analítica comercial */
#armador-app #armadorTab-portfolio .portfolio-hero,
#armador-app #armadorTab-analytics .analytics-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
#armador-app #armadorTab-portfolio .portfolio-filter{min-width:220px;margin:0}
#armador-app #armadorTab-portfolio .portfolio-work-row{display:flex;justify-content:space-between;gap:16px;align-items:center;border:1px solid #e2e8f0;border-radius:16px;padding:14px 16px;margin-top:10px;background:#fff}
#armador-app #armadorTab-portfolio .portfolio-work-row.is-sla{border-color:#fecaca;background:#fffafa}
#armador-app #armadorTab-portfolio .portfolio-work-main h4,
#armador-app #armadorTab-portfolio .portfolio-unassigned-row h4{margin:4px 0;font-size:15px}
#armador-app #armadorTab-portfolio .portfolio-work-main small,
#armador-app #armadorTab-portfolio .portfolio-unassigned-row small{color:#64748b}
#armador-app #armadorTab-portfolio .portfolio-work-side{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
#armador-app #armadorTab-portfolio .portfolio-unassigned-list{display:grid;gap:10px;max-height:430px;overflow:auto}
#armador-app #armadorTab-portfolio .portfolio-unassigned-row{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid #e2e8f0;border-radius:14px;padding:12px}
#armador-app #armadorTab-portfolio .portfolio-assign-controls{display:flex;gap:8px;align-items:center;min-width:320px}
#armador-app #armadorTab-portfolio .portfolio-assign-controls select{flex:1;border:1px solid #dbe3ef;border-radius:10px;padding:9px;background:#fff}
#armador-app .armador-badge.is-danger{background:#fff1f2;color:#be123c}
#armador-app .armador-badge.is-warning{background:#fffbeb;color:#a16207}
#armador-app .armador-badge.is-accent{background:#fff7ed;color:#c2410c}
#armador-app #armadorTab-analytics .analytics-filters{margin-top:18px}
#armador-app #armadorTab-analytics .analytics-filters .armador-row{align-items:flex-end}
#armador-app #armadorTab-analytics .analytics-filters .armador-field{min-width:180px;margin-bottom:0}
#armador-app #armadorTab-analytics .analytics-kpis{margin-top:18px;grid-template-columns:repeat(6,minmax(0,1fr))}
#armador-app #armadorTab-analytics .analytics-summary-grid{margin-top:18px;grid-template-columns:repeat(3,minmax(0,1fr))}
#armador-app #armadorTab-analytics .analytics-funnel{display:grid;gap:14px;margin-top:16px}
#armador-app #armadorTab-analytics .analytics-funnel-row>div:first-child{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:13px}
#armador-app #armadorTab-analytics .analytics-funnel-row strong{font-size:18px}
#armador-app #armadorTab-analytics .analytics-funnel-track{height:12px;background:#eef2f7;border-radius:999px;overflow:hidden;margin-top:6px}
#armador-app #armadorTab-analytics .analytics-funnel-track i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--armador-orange),var(--armador-gold))}
#armador-app #armadorTab-analytics .analytics-speed{display:grid;gap:14px;margin-top:16px}
#armador-app #armadorTab-analytics .analytics-speed>div{border:1px solid #e2e8f0;border-radius:14px;padding:14px}
#armador-app #armadorTab-analytics .analytics-speed span{display:block;color:#64748b;font-size:12px;font-weight:800}
#armador-app #armadorTab-analytics .analytics-speed strong{display:block;margin-top:4px;font-size:24px}
@media(max-width:1350px){#armador-app #armadorTab-analytics .analytics-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}#armador-app #armadorTab-analytics .analytics-summary-grid{grid-template-columns:1fr}}
@media(max-width:900px){#armador-app #armadorTab-portfolio .portfolio-hero,#armador-app #armadorTab-analytics .analytics-hero{display:block}#armador-app #armadorTab-portfolio .portfolio-work-row,#armador-app #armadorTab-portfolio .portfolio-unassigned-row{display:block}#armador-app #armadorTab-portfolio .portfolio-work-side,#armador-app #armadorTab-portfolio .portfolio-assign-controls{margin-top:10px;justify-content:flex-start;min-width:0;width:100%}#armador-app #armadorTab-analytics .analytics-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#armador-app #armadorTab-analytics .analytics-kpis{grid-template-columns:1fr}#armador-app #armadorTab-portfolio .portfolio-assign-controls{display:grid;grid-template-columns:1fr}}
#armador-app #armadorTab-portfolio .portfolio-inline-assign{display:flex;gap:6px;align-items:center}
#armador-app #armadorTab-portfolio .portfolio-inline-assign select{min-width:150px;border:1px solid #dbe3ef;border-radius:10px;padding:8px;background:#fff}
@media(max-width:900px){#armador-app #armadorTab-portfolio .portfolio-inline-assign{width:100%}#armador-app #armadorTab-portfolio .portfolio-inline-assign select{flex:1}}

/* V6.31.0 — UX de Facturación CFDI y datos fiscales de clientes. */
.armador-fiscal-client-box{margin:16px 0;padding:16px;border:1px solid #fed7aa;border-radius:16px;background:#fffaf5}.armador-fiscal-client-box h3{margin:3px 0 4px}.armador-fiscal-client-box p{margin:0;color:#64748b}.armador-payment-form-inline{display:grid;gap:5px;margin-top:10px}.armador-payment-form-inline span{font-size:11px;font-weight:900;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.armador-payment-form-inline select{width:100%;min-width:190px;border:1px solid #dbe3ef;border-radius:10px;padding:7px 8px;background:#fff;font-size:12px;font-weight:700;color:#0f172a}

.armador-fiscal-wrap{max-width:1500px;margin-top:18px!important;color:#0f172a;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.armador-fiscal-wrap *{box-sizing:border-box}.armador-fiscal-hero{background:#0b0b0c;color:#fff;border-radius:20px;padding:22px 26px;margin:0 0 18px;border-top:5px solid #f97316}.armador-fiscal-hero span{display:block;color:#f97316;font-size:12px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.armador-fiscal-hero h1{color:#fff;margin:5px 0 5px;font-size:30px;line-height:1.05}.armador-fiscal-hero p{margin:0;color:#cbd5e1;font-size:14px}.armador-fiscal-wrap>.nav-tab-wrapper{border:0!important;display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px!important}.armador-fiscal-wrap>.nav-tab-wrapper .nav-tab{float:none;margin:0!important;border:1px solid #e2e8f0!important;border-radius:10px;background:#fff;color:#0f172a;font-weight:800;padding:9px 14px}.armador-fiscal-wrap>.nav-tab-wrapper .nav-tab-active{background:#0b0b0c!important;color:#fff!important;border-color:#0b0b0c!important;box-shadow:inset 0 -3px 0 #f97316}.armador-fiscal-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:20px 22px;margin:18px 0;box-shadow:0 8px 28px rgba(15,23,42,.05);max-width:1180px}.armador-fiscal-section-head{margin-bottom:14px}.armador-fiscal-section-head>span{display:inline-block;color:#f97316;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px}.armador-fiscal-section-head h2,.armador-fiscal-section-head h3{margin:0 0 5px;font-size:20px;color:#0f172a}.armador-fiscal-section-head p{margin:0;color:#64748b}.armador-fiscal-help{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:12px;padding:11px 13px;margin:0 0 16px}.armador-fiscal-wrap .form-table{margin-top:0}.armador-fiscal-wrap .form-table th{width:240px;padding:12px 12px 12px 0;color:#0f172a}.armador-fiscal-wrap .form-table td{padding:9px 10px}.armador-fiscal-wrap input.regular-text,.armador-fiscal-wrap select.regular-text,.armador-fiscal-wrap input[type=search]{min-height:40px;border:1px solid #cbd5e1;border-radius:10px;padding:8px 11px;box-shadow:none}.armador-fiscal-wrap input:focus,.armador-fiscal-wrap select:focus{border-color:#f97316!important;box-shadow:0 0 0 2px rgba(249,115,22,.12)!important}.armador-fiscal-wrap .button{border-radius:9px;min-height:36px;padding:4px 12px;font-weight:700}.armador-fiscal-wrap .button-primary{background:#f97316!important;border-color:#f97316!important;color:#111827!important}.armador-fiscal-wrap .button-primary:hover{background:#ea580c!important;border-color:#ea580c!important;color:#fff!important}.armador-fiscal-wrap table.widefat{border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;box-shadow:none}.armador-fiscal-wrap table.widefat thead th{background:#0b0b0c!important;color:#fff!important;border-bottom:0!important;font-weight:800}.armador-fiscal-wrap table.widefat tbody tr:nth-child(even) td{background:#f8fafc}.armador-fiscal-wrap table.widefat td{vertical-align:middle}.armador-fiscal-steps{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:8px;margin:16px 0 18px;max-width:1100px}.armador-fiscal-steps span{border:1px solid #e2e8f0;border-radius:10px;padding:10px 12px;background:#fff;color:#64748b;font-size:12px;font-weight:800;text-align:center}.armador-fiscal-steps span.is-done{background:#ecfdf5;border-color:#bbf7d0;color:#166534}.armador-fiscal-steps span.is-active{background:#fff7ed;border-color:#fed7aa;color:#c2410c}.armador-fiscal-wrap .notice.inline{border-radius:10px}.armador-fiscal-wrap code{font-size:12px}.armador-fiscal-wrap .description{color:#64748b}.armador-fiscal-wrap .armador-sat-modal__results thead th{background:#0b0b0c!important;color:#fff!important}.armador-fiscal-wrap .armador-sat-modal__dialog{border-radius:18px;border:1px solid #d1d5db}.armador-fiscal-wrap .armador-sat-modal__actions .button-primary{background:#f97316!important;border-color:#f97316!important}.armador-fiscal-wrap .armador-sat-result-row.is-selected td{background:#f97316!important;color:#111827!important}.armador-fiscal-wrap .armador-sat-result-row.is-selected code{color:#111827!important}.armador-fiscal-wrap .armador-sat-modal__symbol span{background:#f97316!important}
@media(max-width:900px){.armador-fiscal-steps{grid-template-columns:1fr 1fr}.armador-fiscal-wrap .form-table th{width:auto;display:block;padding-bottom:4px}.armador-fiscal-wrap .form-table td{display:block;padding-left:0}.armador-fiscal-card{padding:16px}.armador-fiscal-wrap table.widefat{display:block;overflow-x:auto;white-space:nowrap}}
@media(max-width:560px){.armador-fiscal-steps{grid-template-columns:1fr}.armador-fiscal-hero{padding:18px}.armador-fiscal-hero h1{font-size:25px}.armador-payment-form-inline select{min-width:160px}}
.armador-fiscal-checklist{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:8px;max-width:1100px;margin:-8px 0 18px}.armador-fiscal-checklist>div{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:9px 11px;font-size:12px;font-weight:800;color:#334155}@media(max-width:900px){.armador-fiscal-checklist{grid-template-columns:1fr 1fr}}@media(max-width:560px){.armador-fiscal-checklist{grid-template-columns:1fr}}

/* V6.32.0 — branding NEXO, protección de cobro y configuración fiscal segura. */
#armador-app .armador-logo{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
}
#armador-app .armador-logo img{
  object-fit:contain!important;
  background:transparent!important;
  border-radius:0!important;
}
#armador-app .armador-brand span{color:#f8fafc!important;font-weight:800!important;letter-spacing:.04em}
.armador-payment-form-protected{display:grid;gap:5px;margin-top:10px;padding:9px 10px;border:1px solid #dbe3ef;border-radius:10px;background:#f8fafc;min-width:200px}
.armador-payment-form-protected>span{font-size:10px;font-weight:950;color:#64748b;text-transform:uppercase;letter-spacing:.05em}
.armador-payment-form-protected>strong{font-size:12px;color:#0f172a;line-height:1.35}
.armador-payment-form-protected .armador-btn{width:max-content;margin-top:3px!important}
.armador-modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.55);display:grid;place-items:center;padding:20px;z-index:100000;backdrop-filter:blur(4px)}
.armador-modal-card{width:min(560px,100%);max-height:calc(100vh - 40px);overflow:auto;background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:22px;box-shadow:0 28px 90px rgba(15,23,42,.25)}
.armador-modal-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}
.armador-modal-head h3{margin:3px 0 5px;font-size:22px}.armador-modal-head p{margin:0;color:#64748b;line-height:1.45}
.armador-modal-x{border:0;background:#f1f5f9;color:#0f172a;width:38px;height:38px;border-radius:999px;font-size:24px;line-height:1;cursor:pointer}
.armador-payment-correction-card textarea,.armador-payment-correction-card select{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:12px;padding:11px;background:#fff}
.armador-fiscal-secure-grid{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(420px,1.4fr);gap:18px;align-items:start}
.armador-fiscal-secure-status{border:1px solid #e2e8f0;border-radius:14px;padding:16px;background:#f8fafc}.armador-fiscal-secure-status h3{margin:0 0 10px}.armador-fiscal-secure-status ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}.armador-fiscal-secure-status li{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.armador-fiscal-secure-status code{background:#fff;border:1px solid #e2e8f0;border-radius:7px;padding:2px 6px}
.armador-fiscal-csd-meta{margin-top:14px;padding-top:12px;border-top:1px solid #e2e8f0;display:grid;gap:4px}.armador-fiscal-csd-meta strong{color:#166534}.armador-fiscal-csd-meta span{font-size:12px;color:#475569}
.armador-fiscal-secure-form{border:1px solid #e2e8f0;border-radius:14px;padding:16px;background:#fff}.armador-fiscal-provider-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.armador-fiscal-field{display:grid;gap:6px;margin-bottom:12px}.armador-fiscal-field>span{font-weight:900;font-size:12px;color:#0f172a}.armador-fiscal-field input,.armador-fiscal-field select{width:100%;min-height:40px;border:1px solid #cbd5e1;border-radius:10px;padding:8px 10px;background:#fff;box-sizing:border-box}.armador-fiscal-field small{color:#64748b;line-height:1.4}.armador-fiscal-csd-upload{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;margin-top:8px;padding-top:14px;border-top:1px solid #e2e8f0}.armador-fiscal-csd-upload h3,.armador-fiscal-csd-upload p{grid-column:1/-1}.armador-fiscal-csd-upload h3{margin:0 0 4px}.armador-fiscal-csd-upload p{margin:0 0 12px;color:#64748b}.armador-fiscal-security-note{background:#ecfdf5;border:1px solid #bbf7d0;color:#166534;border-radius:10px;padding:10px 12px}.armador-fiscal-pac-test{margin-top:16px;padding-top:14px;border-top:1px solid #e2e8f0}
@media(max-width:900px){.armador-fiscal-secure-grid,.armador-fiscal-provider-row,.armador-fiscal-csd-upload{grid-template-columns:1fr}}

/* V6.33.0: resumen fiscal de venta, cotización y prefactura opcional. */
.armador-fiscal-document-actions{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.armador-fiscal-sale-summary table.widefat td:nth-child(3),.armador-fiscal-sale-summary table.widefat td:nth-child(4){white-space:nowrap}.armador-fiscal-totals{width:min(390px,100%);margin:16px 0 0 auto;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;background:#fff}.armador-fiscal-totals>div{display:flex;justify-content:space-between;gap:20px;padding:10px 13px;border-bottom:1px solid #e2e8f0}.armador-fiscal-totals>div:last-child{border-bottom:0}.armador-fiscal-totals .is-total{background:#0b0b0c;color:#fff;font-size:16px;font-weight:900}.armador-fiscal-totals span{font-weight:800}.armador-fiscal-totals strong{white-space:nowrap}


/* V6.39.0 · Centro de facturación profesional BLACKPANEL. Alcance aislado al módulo fiscal. */
.armador-fiscal-invoice-console{max-width:1180px;margin:18px 0;background:#fff;border:1px solid #dfe6ef;border-radius:20px;box-shadow:0 14px 38px rgba(15,23,42,.08);overflow:hidden}
.armador-fiscal-invoice-console__top{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;padding:22px 24px 18px;border-top:5px solid #f97316;border-bottom:1px solid #e8edf3}
.armador-fiscal-eyebrow{display:block;color:#f97316;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.09em;margin-bottom:5px}
.armador-fiscal-invoice-title{font-size:24px;font-weight:900;line-height:1.2;color:#0b0b0c;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.armador-fiscal-uuid{margin-top:6px;color:#64748b;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;word-break:break-all}
.armador-fiscal-status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900;white-space:nowrap}
.armador-fiscal-status-pill.is-valid{background:#ecfdf5;color:#166534;border:1px solid #bbf7d0}.armador-fiscal-status-pill.is-canceled{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.armador-fiscal-status-pill.is-pending{background:#fffbeb;color:#92400e;border:1px solid #fde68a}
.armador-fiscal-invoice-total{text-align:right;min-width:210px}.armador-fiscal-invoice-total span{display:block;color:#64748b;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.armador-fiscal-invoice-total strong{display:block;margin-top:3px;font-size:24px;color:#0b0b0c}
.armador-fiscal-toolbar{display:flex;gap:10px;flex-wrap:wrap;padding:14px 24px;background:#f8fafc;border-bottom:1px solid #e8edf3}
.armador-fiscal-toolbar__btn{display:flex!important;align-items:center;gap:9px;min-width:190px;padding:10px 13px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;text-decoration:none!important;color:#0f172a!important;box-shadow:0 2px 5px rgba(15,23,42,.03);transition:.16s ease}
.armador-fiscal-toolbar__btn:hover{border-color:#94a3b8;box-shadow:0 8px 18px rgba(15,23,42,.08);transform:translateY(-1px)}.armador-fiscal-toolbar__btn.is-primary{background:#0b0b0c;color:#fff!important;border-color:#0b0b0c}.armador-fiscal-toolbar__btn.is-primary .dashicons{color:#f97316}.armador-fiscal-toolbar__btn .dashicons{width:20px;height:20px;font-size:20px;color:#334155}.armador-fiscal-toolbar__btn span:last-child{display:grid;line-height:1.2}.armador-fiscal-toolbar__btn strong{font-size:12px}.armador-fiscal-toolbar__btn small{font-size:10px;color:#64748b;margin-top:2px}.armador-fiscal-toolbar__btn.is-primary small{color:#cbd5e1}
.armador-fiscal-invoice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0 24px}.armador-fiscal-invoice-grid>div{padding:16px 16px 17px 0;border-right:1px solid #e8edf3;margin-right:16px;display:grid;gap:3px;min-width:0}.armador-fiscal-invoice-grid>div:last-child{border-right:0;margin-right:0}.armador-fiscal-invoice-grid span{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:#94a3b8}.armador-fiscal-invoice-grid strong{font-size:13px;color:#0f172a;overflow-wrap:anywhere}.armador-fiscal-invoice-grid small{font-size:11px;color:#64748b;overflow-wrap:anywhere}
.armador-fiscal-action-center{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:12px;align-items:start}.armador-fiscal-action-center>.armador-fiscal-section-head,.armador-fiscal-action-center>.notice,.armador-fiscal-action-center>p.description{grid-column:1/-1}.armador-fiscal-action-context{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.armador-fiscal-action-context span{border:1px solid #e2e8f0;background:#f8fafc;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:900;color:#475569}.armador-fiscal-action-context span.is-status{background:#ecfdf5;border-color:#bbf7d0;color:#166534}
.armador-fiscal-action{margin:0!important;border:1px solid #dbe3ee;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(15,23,42,.04);overflow:hidden;min-width:0}.armador-fiscal-action>summary{list-style:none;display:flex;align-items:center;gap:11px;padding:15px 16px;cursor:pointer;min-height:72px;transition:.15s ease}.armador-fiscal-action>summary::-webkit-details-marker{display:none}.armador-fiscal-action>summary:hover{background:#f8fafc}.armador-fiscal-action>summary>.dashicons{width:34px;height:34px;font-size:20px;line-height:34px;text-align:center;border-radius:10px;background:#fff7ed;color:#ea580c}.armador-fiscal-action>summary>span:last-child{display:grid;gap:2px}.armador-fiscal-action>summary strong{font-size:13px;color:#0f172a}.armador-fiscal-action>summary small{font-size:11px;font-weight:500;color:#64748b;line-height:1.35}.armador-fiscal-action[open]{grid-column:1/-1}.armador-fiscal-action[open]>summary{border-bottom:1px solid #e8edf3;background:#f8fafc}.armador-fiscal-action[open]>form,.armador-fiscal-action[open]>div{padding-left:16px!important;padding-right:16px!important}.armador-fiscal-action--danger>summary>.dashicons{background:#fef2f2;color:#dc2626}.armador-fiscal-action--danger>summary strong{color:#991b1b}.armador-fiscal-action--danger button.button{background:#dc2626!important;border-color:#dc2626!important;color:#fff!important}.armador-fiscal-action--payment>summary>.dashicons{background:#ecfdf5;color:#15803d}.armador-fiscal-action--credit>summary>.dashicons{background:#eff6ff;color:#1d4ed8}
.armador-fiscal-action--query{display:flex;min-height:72px}.armador-fiscal-action--query .button{width:100%;height:auto!important;min-height:70px!important;border:0!important;background:#fff!important;color:#0f172a!important;display:flex!important;align-items:center;gap:11px;text-align:left;padding:15px 16px!important}.armador-fiscal-action--query .button:hover{background:#f8fafc!important}.armador-fiscal-action--query .dashicons{width:34px;height:34px;font-size:20px;line-height:34px;text-align:center;border-radius:10px;background:#f1f5f9;color:#334155}.armador-fiscal-action--query .button>span:last-child{display:grid;gap:2px}.armador-fiscal-action--query small{font-weight:500;color:#64748b;line-height:1.35}.armador-fiscal-cta{display:inline-flex!important;align-items:center;gap:6px}
@media(max-width:1050px){.armador-fiscal-invoice-grid{grid-template-columns:1fr 1fr}.armador-fiscal-invoice-grid>div:nth-child(2){border-right:0}.armador-fiscal-action-center{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.armador-fiscal-invoice-console__top{display:block}.armador-fiscal-invoice-total{text-align:left;margin-top:14px}.armador-fiscal-toolbar__btn{width:100%}.armador-fiscal-invoice-grid{grid-template-columns:1fr}.armador-fiscal-invoice-grid>div{border-right:0;border-bottom:1px solid #e8edf3;margin-right:0}.armador-fiscal-invoice-grid>div:last-child{border-bottom:0}.armador-fiscal-action-center{grid-template-columns:1fr}.armador-fiscal-action[open]{grid-column:auto}}

/* V6.40.0 · Facturación multiempresa con cuenta PAC/timbres compartida. */
.armador-fiscal-company-toolbar{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap;margin:0 0 16px}.armador-fiscal-shared-balance{display:grid;gap:2px;min-width:260px;padding:11px 14px;border:1px solid #fed7aa;border-radius:12px;background:#fff7ed}.armador-fiscal-shared-balance span{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:#c2410c}.armador-fiscal-shared-balance strong{font-size:14px;color:#0f172a}.armador-fiscal-shared-balance small{font-size:11px;color:#64748b}.armador-fiscal-company-grid{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:12px}.armador-fiscal-company-card{display:grid;gap:5px;padding:14px 15px;border:1px solid #dbe3ee;border-radius:14px;background:#fff;text-decoration:none!important;color:#0f172a!important;box-shadow:0 4px 14px rgba(15,23,42,.04);transition:.15s ease}.armador-fiscal-company-card:hover{border-color:#fdba74;box-shadow:0 9px 22px rgba(15,23,42,.08);transform:translateY(-1px)}.armador-fiscal-company-card.is-selected{border-color:#f97316;box-shadow:0 0 0 2px rgba(249,115,22,.12)}.armador-fiscal-company-card__rfc{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-weight:900;color:#c2410c}.armador-fiscal-company-card strong{font-size:13px;line-height:1.3}.armador-fiscal-company-card small{font-size:11px;color:#64748b}.armador-fiscal-company-card em{font-style:normal;font-size:10px;font-weight:900;color:#166534}.armador-fiscal-shared-note{grid-column:1/-1;background:#eff6ff;border:1px solid #bfdbfe;color:#1e3a8a;border-radius:10px;padding:10px 12px;font-size:12px;font-weight:700;margin-bottom:10px}.armador-fiscal-account-summary{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;margin:0 0 14px}.armador-fiscal-account-summary>div{padding:11px 12px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;display:grid;gap:3px}.armador-fiscal-account-summary span{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8}.armador-fiscal-account-summary strong{font-size:13px;color:#0f172a}.armador-fiscal-dashboard-cards{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:12px;margin:16px 0 20px;max-width:1180px}.armador-fiscal-dashboard-cards>div{padding:15px 16px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(15,23,42,.05);border-top:3px solid #f97316}.armador-fiscal-dashboard-cards span{display:block;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:#64748b}.armador-fiscal-dashboard-cards strong{display:block;font-size:25px;line-height:1.1;margin:5px 0 3px;color:#0b0b0c}.armador-fiscal-dashboard-cards small{font-size:11px;color:#94a3b8}
@media(max-width:1050px){.armador-fiscal-company-grid{grid-template-columns:1fr 1fr}.armador-fiscal-dashboard-cards,.armador-fiscal-account-summary{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.armador-fiscal-company-grid,.armador-fiscal-dashboard-cards,.armador-fiscal-account-summary{grid-template-columns:1fr}.armador-fiscal-company-toolbar{align-items:stretch}.armador-fiscal-shared-balance{width:100%}}
.armador-fiscal-muted{color:#94a3b8;font-size:11px;font-weight:700}.armador-fiscal-sales-table small{color:#64748b;line-height:1.35}.armador-fiscal-sales-table td:nth-child(2){min-width:180px}

/* V6.41.0 · Renovación operativa: Clientes, Cotizador/POS y Materiales. */
#armador-app .bp-module-hero{display:flex;justify-content:space-between;gap:18px;align-items:center;background:#fff;border:1px solid #e2e8f0;border-top:4px solid var(--armador-orange);border-radius:20px;padding:20px 22px;margin-bottom:16px;box-shadow:0 12px 34px rgba(15,23,42,.05)}
#armador-app .bp-module-hero h2{margin:3px 0 4px;font-size:24px;color:#0f172a}#armador-app .bp-module-hero p{margin:0;color:#64748b}.bp-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
#armador-app .bp-search-bar{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #cbd5e1;border-radius:12px;padding:0 10px;min-height:44px}#armador-app .bp-search-bar:focus-within{border-color:#f97316;box-shadow:0 0 0 3px rgba(249,115,22,.1)}#armador-app .bp-search-bar>span{font-size:20px;color:#64748b}#armador-app .bp-search-bar input{border:0!important;background:transparent!important;padding:9px 4px!important;outline:0!important;box-shadow:none!important;width:100%}#armador-app .bp-search-bar.compact{min-height:38px}.bp-empty-state{border:1px dashed #cbd5e1;border-radius:14px;padding:22px;display:grid;gap:4px;text-align:center;color:#64748b;background:#f8fafc}.bp-empty-state strong{color:#334155}.bp-empty-state.compact{padding:12px;font-size:12px}

/* Clientes */
#armador-app .bp-client-shell{display:grid;grid-template-columns:minmax(360px,42%) minmax(0,1fr);gap:16px;align-items:start}.bp-client-list-card,.bp-client-editor,.bp-product-catalog,.bp-product-editor{background:#fff;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 10px 30px rgba(15,23,42,.05);overflow:hidden}.bp-client-list-card{padding:14px}.bp-client-table-head{display:grid;grid-template-columns:90px 1.5fr 1.1fr 90px;gap:10px;padding:10px 12px;margin-top:10px;background:#0b0b0c;color:#fff;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;border-radius:10px}.bp-client-list{display:grid;max-height:650px;overflow:auto}.bp-client-row{display:grid!important;grid-template-columns:90px 1.5fr 1.1fr 90px;gap:10px;align-items:center;width:100%;border:0!important;border-bottom:1px solid #e5e7eb!important;border-radius:0!important;background:#fff!important;color:#0f172a!important;padding:12px!important;text-align:left;cursor:pointer}.bp-client-row:hover,.bp-client-row.is-active{background:#fff7ed!important}.bp-client-row.is-active{box-shadow:inset 4px 0 #f97316!important}.bp-client-row strong,.bp-client-row small{display:block}.bp-client-row small{color:#64748b;margin-top:2px;font-size:11px}.bp-client-id{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;font-weight:900;color:#475569}.bp-client-count{display:grid;place-items:center;justify-self:start;min-width:34px;height:26px;padding:0 8px;border-radius:999px;background:#f1f5f9;font-size:12px;font-weight:900}.bp-client-editor{padding:0 20px 20px}.bp-editor-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:20px 0 16px;border-bottom:1px solid #e2e8f0}.bp-editor-head h2{margin:3px 0 4px;font-size:22px}.bp-editor-head p{margin:0;color:#64748b}.bp-editor-head-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.bp-data-tabs{display:flex;gap:4px;border-bottom:1px solid #e2e8f0;margin:0 -20px 18px;padding:0 20px;overflow-x:auto}.bp-tab-button{border:0!important;background:transparent!important;color:#64748b!important;font-weight:900!important;padding:13px 12px!important;border-bottom:3px solid transparent!important;border-radius:0!important;white-space:nowrap;cursor:pointer}.bp-tab-button.is-active{color:#0f172a!important;border-bottom-color:#f97316!important}.bp-tab-pane{display:none}.bp-tab-pane.is-active{display:block}.bp-form-grid{display:grid;gap:0 14px}.bp-form-grid.cols-2{grid-template-columns:1fr 1fr}.bp-form-grid .span-2{grid-column:1/-1}.bp-section-intro{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:14px}.bp-section-intro h3{margin:2px 0 3px}.bp-section-intro p{margin:0;color:#64748b}.bp-bank-form{display:grid;grid-template-columns:1fr 1.3fr 1fr auto;gap:10px;align-items:end;padding:14px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}.bp-bank-form .armador-field{margin:0}.bp-bank-list{display:grid;gap:8px;margin-top:12px}.bp-bank-row{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px}.bp-bank-icon{width:38px;height:38px;border-radius:10px;background:#fff7ed;display:grid;place-items:center}.bp-bank-row strong,.bp-bank-row small{display:block}.bp-bank-row small{color:#64748b;margin-top:2px}

/* Cotizador / POS */
#armador-app .bp-quote-workbench{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}.bp-pos-main{display:grid;gap:12px}.bp-pos-topbar{display:grid;grid-template-columns:1.35fr .85fr 1fr;gap:10px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:14px}.bp-pos-topbar .armador-field,.bp-pos-secondary .armador-field{margin:0}.bp-pos-secondary{display:flex;gap:10px;align-items:end;flex-wrap:wrap;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:12px}.bp-pos-secondary>.armador-field{min-width:220px;flex:1}.bp-pos-secondary #quoteMeasureFields{display:flex;gap:8px;flex:2;min-width:260px}.bp-pos-secondary #quoteMeasureFields .armador-field{flex:1}.bp-product-picker{position:relative}.bp-product-search-bar{background:#fff!important;min-height:52px!important}.bp-product-search-bar input{font-size:16px!important}.bp-product-results{position:absolute;left:0;right:0;top:58px;z-index:30;background:#fff;border:1px solid #cbd5e1;border-radius:14px;box-shadow:0 24px 60px rgba(15,23,42,.18);max-height:460px;overflow:auto;padding:6px}.bp-product-search-row{display:grid!important;grid-template-columns:48px 1fr auto;gap:10px;align-items:center;width:100%;padding:9px!important;border:0!important;border-bottom:1px solid #eef2f7!important;background:#fff!important;color:#0f172a!important;text-align:left;cursor:pointer}.bp-product-search-row:hover{background:#fff7ed!important}.bp-product-search-row img,.bp-product-placeholder{width:44px;height:44px;border-radius:8px;object-fit:cover;background:#f1f5f9;display:grid;place-items:center}.bp-product-search-row strong,.bp-product-search-row small{display:block}.bp-product-search-row small{color:#64748b;margin-top:2px}.bp-product-search-row b{font-size:13px;white-space:nowrap}.bp-product-search-empty{padding:18px;text-align:center;color:#64748b}.bp-quote-lines-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden}.bp-table-scroll{overflow:auto}.bp-quote-table{width:100%;border-collapse:collapse;min-width:720px}.bp-quote-table thead th{background:#0b0b0c;color:#fff;text-align:left;padding:11px 12px;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.bp-quote-table td{padding:10px 12px;border-bottom:1px solid #e5e7eb;vertical-align:middle}.bp-quote-table tbody tr:last-child td{border-bottom:0}.bp-quote-table .bp-line-desc,.bp-quote-table .bp-line-price{width:100%;border:1px solid transparent!important;background:transparent!important;border-radius:8px!important;padding:8px!important}.bp-quote-table .bp-line-desc:focus,.bp-quote-table .bp-line-price:focus{border-color:#f97316!important;background:#fff!important}.bp-quote-row small{display:block;color:#64748b;margin-top:3px}.bp-warning-text{color:#b45309!important}.bp-qty-control{display:grid;grid-template-columns:34px 66px 34px;align-items:center;border:1px solid #cbd5e1;border-radius:10px;overflow:hidden;width:max-content}.bp-qty-control button{border:0!important;background:#f8fafc!important;height:36px!important;border-radius:0!important;font-weight:900!important;cursor:pointer}.bp-qty-control input{width:66px!important;text-align:center!important;border:0!important;border-left:1px solid #e2e8f0!important;border-right:1px solid #e2e8f0!important;border-radius:0!important;padding:8px 4px!important}.bp-line-total{white-space:nowrap}.bp-icon-button{width:34px;height:34px;border:0;border-radius:9px;background:#f1f5f9;cursor:pointer;font-size:18px}.bp-icon-button.danger{background:#fff1f2;color:#be123c}.bp-pos-footer{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:12px 14px;background:#f8fafc;border-top:1px solid #e2e8f0}.bp-pos-total{margin:0!important;width:min(360px,100%)}.bp-pos-sidebar{display:grid;gap:12px;position:sticky;top:18px}.bp-side-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:13px;box-shadow:0 9px 24px rgba(15,23,42,.05)}.bp-side-action{display:grid!important;grid-template-columns:38px 1fr;gap:9px;align-items:center;width:100%;border:1px solid #e2e8f0!important;background:#fff!important;color:#0f172a!important;text-decoration:none!important;border-radius:12px!important;padding:10px!important;margin-top:8px;text-align:left;cursor:pointer}.bp-side-action:hover{border-color:#f97316!important;background:#fff7ed!important}.bp-side-action>b{width:34px;height:34px;border-radius:9px;background:#f1f5f9;display:grid;place-items:center}.bp-side-action strong,.bp-side-action small{display:block}.bp-side-action small{color:#64748b;margin-top:2px}.bp-side-action.is-primary{border-color:#0b0b0c!important}.bp-side-action.is-sell{background:#0b0b0c!important;color:#fff!important;border-color:#0b0b0c!important}.bp-side-action.is-sell small{color:#cbd5e1}.bp-side-action.is-sell>b{background:#f97316;color:#111827}.bp-side-hint{padding:12px;border:1px dashed #cbd5e1;border-radius:10px;color:#64748b;font-size:12px;margin-top:8px}.bp-quote-history{display:grid;gap:6px;margin-top:8px;max-height:300px;overflow:auto}.bp-quote-history-row{display:grid!important;grid-template-columns:1fr auto;gap:5px 8px;width:100%;padding:9px!important;border:1px solid #e2e8f0!important;border-radius:10px!important;background:#fff!important;color:#0f172a!important;text-align:left;cursor:pointer}.bp-quote-history-row:hover{border-color:#f97316!important}.bp-quote-history-row span{grid-row:1/3}.bp-quote-history-row strong,.bp-quote-history-row small{display:block}.bp-quote-history-row small{color:#64748b;margin-top:2px}.bp-quote-history-row b{font-size:12px}.bp-quote-history-row em{font-style:normal;font-size:10px;color:#64748b;text-align:right}.bp-current-quote{display:grid;gap:4px}.bp-current-quote>span{font-size:10px;text-transform:uppercase;font-weight:900;color:#64748b}.bp-current-quote>strong{font-size:17px}.bp-sale-modal{width:min(760px,100%)}.bp-sale-total{text-align:center;font-size:42px;font-weight:950;color:#0f172a;padding:8px 0 18px}.bp-sale-total small{font-size:15px}.bp-payment-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:14px}.bp-payment-choice{border:1px solid #e2e8f0!important;background:#fff!important;border-radius:12px!important;padding:13px 10px!important;display:grid!important;gap:4px!important;text-align:center!important;cursor:pointer}.bp-payment-choice.is-selected{border-color:#f97316!important;box-shadow:0 0 0 2px rgba(249,115,22,.12)!important;background:#fff7ed!important}.bp-payment-icon{font-size:25px}.bp-payment-choice strong{font-size:12px}.bp-payment-choice small{font-size:10px;color:#64748b}

/* Materiales y precios */
#armador-app .bp-products-shell{display:grid;grid-template-columns:minmax(410px,45%) minmax(0,1fr);gap:16px;align-items:start}.bp-product-catalog{padding:14px}.bp-product-table-head{display:grid;grid-template-columns:1fr 70px 90px 125px;gap:8px;padding:10px 12px;margin-top:10px;background:#0b0b0c;color:#fff;border-radius:10px;font-size:11px;font-weight:900;text-transform:uppercase}.bp-product-list{display:grid;max-height:690px;overflow:auto}.bp-product-row{display:grid!important;grid-template-columns:1fr 70px 90px 125px;gap:8px;align-items:center;width:100%;padding:9px 12px!important;border:0!important;border-bottom:1px solid #e5e7eb!important;border-radius:0!important;background:#fff!important;color:#0f172a!important;text-align:left;cursor:pointer}.bp-product-row:hover,.bp-product-row.is-active{background:#fff7ed!important}.bp-product-row.is-active{box-shadow:inset 4px 0 #f97316!important}.bp-product-row>span:first-child{display:grid;grid-template-columns:42px 1fr;gap:9px;align-items:center}.bp-product-row img,.bp-product-row i{width:38px;height:38px;object-fit:cover;border-radius:7px;background:#f1f5f9;display:grid;place-items:center;font-style:normal}.bp-product-row strong,.bp-product-row small{display:block}.bp-product-row small{color:#64748b;margin-top:2px}.bp-product-row>b{font-size:12px}.bp-product-row>em{font-style:normal;font-size:10px;color:#475569}.bp-catalog-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid #e2e8f0;padding-top:10px;margin-top:8px;color:#64748b;font-size:12px}.bp-catalog-footer>div{display:flex;gap:6px}.bp-product-editor{padding:0 20px 20px}.bp-cost-panel{display:grid;grid-template-columns:1.1fr .9fr;gap:12px;align-items:center;padding:14px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc;margin-bottom:14px}.bp-cost-panel .armador-field{margin:0}.bp-cost-panel>div:last-child{display:grid;gap:3px}.bp-cost-panel>div:last-child span{font-size:11px;font-weight:900;color:#64748b}.bp-cost-panel>div:last-child strong{font-size:24px}.bp-cost-panel>div:last-child small{color:#64748b}.bp-price-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.bp-input-action{display:flex;gap:7px}.bp-input-action input{flex:1}.bp-image-editor{display:grid;grid-template-columns:260px 1fr;gap:18px;align-items:start}.bp-image-preview{aspect-ratio:1/1;border:1px dashed #cbd5e1;border-radius:16px;background:#f8fafc;overflow:hidden;display:grid;place-items:center}.bp-image-preview img{width:100%;height:100%;object-fit:contain}.bp-image-placeholder{color:#94a3b8;font-weight:900}.bp-sat-picker{width:min(820px,100%)}.bp-sat-results{display:grid;max-height:420px;overflow:auto;border:1px solid #e2e8f0;border-radius:12px}.bp-sat-result{display:grid!important;grid-template-columns:120px 1fr;gap:12px;width:100%;padding:11px 12px!important;border:0!important;border-bottom:1px solid #e2e8f0!important;border-radius:0!important;background:#fff!important;color:#0f172a!important;text-align:left;cursor:pointer}.bp-sat-result:hover{background:#fff7ed!important}.bp-sat-result code{font-weight:900;color:#c2410c}.bp-sat-result span{color:#334155}

@media(max-width:1280px){#armador-app .bp-client-shell,#armador-app .bp-products-shell{grid-template-columns:1fr}.bp-client-list-card,.bp-product-catalog{max-height:none}.bp-client-list,.bp-product-list{max-height:420px}#armador-app .bp-quote-workbench{grid-template-columns:1fr}.bp-pos-sidebar{position:static;grid-template-columns:1fr 1fr}.bp-pos-topbar{grid-template-columns:1fr 1fr}.bp-client-picker{grid-column:1/-1}.bp-price-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){#armador-app .bp-module-hero,#armador-app .bp-editor-head{display:block}.bp-hero-actions,.bp-editor-head-actions{justify-content:flex-start;margin-top:12px}.bp-client-table-head{display:none}.bp-client-row{grid-template-columns:80px 1fr 60px}.bp-client-row>span:nth-child(3){grid-column:2}.bp-form-grid.cols-2,.bp-pos-topbar,.bp-price-grid,.bp-bank-form,.bp-cost-panel,.bp-image-editor{grid-template-columns:1fr}.bp-form-grid .span-2{grid-column:auto}.bp-pos-sidebar{grid-template-columns:1fr}.bp-payment-grid{grid-template-columns:1fr 1fr}.bp-product-table-head{display:none}.bp-product-row{grid-template-columns:1fr 70px}.bp-product-row>em{grid-column:1/-1}.bp-pos-footer{display:block}.bp-pos-total{margin-top:10px!important;width:100%}.bp-input-action{display:grid}.bp-catalog-footer{display:block}.bp-catalog-footer>div{margin-top:8px;flex-wrap:wrap}}

/* V6.41.1 · Facturación integrada en la sesión NEXO */
.armador-fiscal-embed-frame{
  display:block;
  width:100%;
  min-height:calc(100vh - 72px);
  height:calc(100vh - 72px);
  border:0;
  background:#f5f7fb;
  border-radius:18px;
  box-shadow:0 10px 30px rgba(15,23,42,.08);
}
#armadorTab-fiscal{padding:0!important;background:transparent!important;}
@media (max-width:900px){
  .armador-fiscal-embed-frame{min-height:calc(100vh - 56px);height:calc(100vh - 56px);border-radius:12px;}
}


/* V6.42.0 · Constancia fiscal, cotizador alineado y cobro mixto */
.bp-tax-certificate-card{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:14px 16px;margin:0 0 16px;border:1px solid #fdba74;border-radius:14px;background:#fffaf5}.bp-tax-certificate-card>div{display:grid;gap:4px}.bp-tax-certificate-card strong{font-size:13px;color:#0f172a}.bp-tax-certificate-card span,.bp-tax-certificate-card small{font-size:11px;line-height:1.45;color:#64748b}.bp-tax-certificate-card>small{grid-column:1/-1}.bp-product-picker-head{display:flex;align-items:center;justify-content:space-between;padding:0 4px 7px}.bp-product-picker-head>div{display:grid;gap:2px}.bp-product-picker-head strong{font-size:13px;color:#0f172a}.bp-product-picker-head small{font-size:11px;color:#64748b}.bp-quote-table{table-layout:fixed}.bp-quote-table .bp-col-concept{width:auto}.bp-quote-table .bp-col-qty{width:170px}.bp-quote-table .bp-col-price{width:140px}.bp-quote-table .bp-col-amount{width:135px}.bp-quote-table .bp-col-action{width:52px}.bp-quote-table th:nth-child(2),.bp-quote-table td:nth-child(2){text-align:center}.bp-quote-table th:nth-child(3),.bp-quote-table td:nth-child(3),.bp-quote-table th:nth-child(4),.bp-quote-table td:nth-child(4){text-align:right}.bp-quote-table td:nth-child(3) input{text-align:right}.bp-quote-table .bp-qty-control{margin-inline:auto}.bp-payment-help{margin:-7px 0 12px;color:#64748b;text-align:center;font-size:12px}.bp-payment-other{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:end;margin:4px 0 12px}.bp-payment-other .armador-field{margin:0}.bp-payment-splits{display:grid;gap:8px;margin:10px 0}.bp-payment-split-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,360px) 34px;gap:10px;align-items:center;padding:10px 12px;border:1px solid #dbe3ee;border-radius:12px;background:#f8fafc}.bp-payment-split-row>div:first-child{display:grid;gap:2px}.bp-payment-split-row strong{font-size:12px;color:#0f172a}.bp-payment-split-row small{font-size:10px;color:#64748b}.bp-payment-split-row.is-deferred{grid-template-columns:minmax(0,1fr) auto 34px;background:#fff7ed;border-color:#fdba74}.bp-payment-amount-wrap{display:grid;grid-template-columns:20px minmax(100px,1fr) auto;align-items:center;border:1px solid #cbd5e1;border-radius:10px;background:#fff;overflow:hidden}.bp-payment-amount-wrap>span{padding-left:8px;color:#64748b}.bp-payment-amount-wrap input{border:0!important;box-shadow:none!important;min-width:0!important;text-align:right!important;padding:9px 6px!important}.bp-payment-fill{border:0;background:#f1f5f9;padding:10px 9px;font-size:10px;font-weight:900;cursor:pointer}.bp-payment-remove{width:32px;height:32px;border:0;border-radius:9px;background:#fff1f2;color:#be123c;font-size:18px;cursor:pointer}.bp-payment-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 14px}.bp-payment-summary>div{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border:1px solid #e2e8f0;border-radius:11px;background:#fff}.bp-payment-summary span{font-size:11px;color:#64748b;font-weight:800}.bp-payment-summary strong{font-size:15px;color:#0f172a}.bp-payment-summary strong.is-ok{color:#15803d}.bp-payment-summary strong.is-error{color:#b91c1c}
@media(max-width:760px){.bp-tax-certificate-card{grid-template-columns:1fr}.bp-tax-certificate-card>small{grid-column:auto}.bp-payment-split-row,.bp-payment-split-row.is-deferred{grid-template-columns:1fr}.bp-payment-amount-wrap{grid-template-columns:20px 1fr auto}.bp-payment-remove{justify-self:end}.bp-payment-other{grid-template-columns:1fr}.bp-quote-table .bp-col-qty{width:155px}.bp-quote-table .bp-col-price{width:125px}.bp-quote-table .bp-col-amount{width:120px}}


/* V6.43.0 · Inventario físico interno multi-sucursal */
.bp-stock-alert{color:#b42318!important}.bp-inventory-wrap{display:grid;gap:16px}.bp-inventory-loading{padding:28px;border:1px dashed #cbd5e1;border-radius:16px;text-align:center;color:#64748b;background:#f8fafc}.bp-inventory-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.bp-inventory-kpis>div{background:#0b1220;color:#fff;border-radius:16px;padding:16px 18px;box-shadow:0 8px 22px rgba(15,23,42,.08)}.bp-inventory-kpis span{display:block;font-size:12px;color:#cbd5e1;text-transform:uppercase;letter-spacing:.04em}.bp-inventory-kpis strong{display:block;font-size:24px;margin-top:4px}.bp-location-list{display:flex;gap:8px;flex-wrap:wrap}.bp-location-chip{border:1px solid #dbe3ec;background:#fff;border-radius:999px;padding:8px 12px;display:flex;gap:8px;align-items:center}.bp-location-chip span{font-size:11px;color:#64748b}.bp-location-chip.is-inactive{opacity:.5}.bp-inventory-actions{display:flex;gap:8px;flex-wrap:wrap;padding:12px;border-radius:16px;background:#fff7ed;border:1px solid #fed7aa}.bp-inventory-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:16px;box-shadow:0 8px 24px rgba(15,23,42,.04)}.bp-inventory-card h3{margin:0 0 12px}.bp-inventory-card td small{display:block;color:#64748b;margin-top:2px}.bp-min-stock-input{width:90px!important;min-width:80px!important;padding:7px 8px!important}.bp-inventory-status{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:700}.bp-inventory-status.ok{background:#dcfce7;color:#166534}.bp-inventory-status.alert{background:#fee2e2;color:#991b1b}.bp-inventory-status.transit{background:#ffedd5;color:#9a3412}.bp-inventory-status.muted{background:#e2e8f0;color:#475569}.bp-modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.58);z-index:100000;display:flex;align-items:center;justify-content:center;padding:20px}.bp-modal{width:min(560px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:20px;box-shadow:0 24px 70px rgba(0,0,0,.28)}.bp-modal-head{display:flex;align-items:flex-start;justify-content:space-between;padding:20px 22px;border-bottom:1px solid #e2e8f0}.bp-modal-head h3{margin:4px 0 0}.bp-modal-close{border:0;background:#f1f5f9;width:36px;height:36px;border-radius:50%;font-size:22px;cursor:pointer}.bp-modal-body{padding:20px 22px;display:grid;gap:12px}.bp-modal-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 22px;border-top:1px solid #e2e8f0;background:#f8fafc}@media(max-width:900px){.bp-inventory-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.bp-inventory-actions .armador-btn{flex:1 1 140px}}

.bp-location-edit{border:0;background:#f1f5f9;border-radius:50%;width:24px;height:24px;cursor:pointer;color:#475569;font-size:12px}.bp-location-edit:hover{background:#e2e8f0}


/* V6.43.1 · UX profesional de Cotizaciones + selector de materiales accesible */
/* Causa raíz de la desalineación: .armador-line es grid global y también se usaba
   sobre <tr>. En el cotizador, el renglón debe conservar comportamiento de tabla. */
#armador-app .bp-quote-table tr.armador-line{display:table-row!important;border:0!important;border-radius:0!important;padding:0!important;gap:0!important}
#armador-app .bp-quote-table td{box-sizing:border-box}
#armador-app .bp-quote-table th:nth-child(2),#armador-app .bp-quote-table td:nth-child(2){text-align:center!important}
#armador-app .bp-quote-table th:nth-child(3),#armador-app .bp-quote-table td:nth-child(3),#armador-app .bp-quote-table th:nth-child(4),#armador-app .bp-quote-table td:nth-child(4){text-align:right!important}
#armador-app .bp-quote-table .bp-line-price{display:block;max-width:118px;margin-left:auto;text-align:right!important;font-variant-numeric:tabular-nums}
#armador-app .bp-quote-table .bp-line-total{font-variant-numeric:tabular-nums;text-align:right!important}
#armador-app .bp-quote-table .bp-qty-control{margin:0 auto!important}
#armador-app .bp-quote-table td:last-child{text-align:center}

/* Resultados siempre debajo de la barra; nunca superpuestos sobre ella. */
#armador-app .bp-product-picker{position:relative}
#armador-app .bp-product-results{position:static!important;left:auto!important;right:auto!important;top:auto!important;z-index:auto!important;margin-top:8px;max-height:360px;overflow:auto;border-radius:14px;box-shadow:0 12px 32px rgba(15,23,42,.10)}
#armador-app .bp-product-search-row{border-radius:10px!important;margin:2px 0}
#armador-app .bp-product-search-row:hover,#armador-app .bp-product-search-row.is-keyboard-active,#armador-app .bp-product-search-row:focus{background:#fff7ed!important;box-shadow:inset 3px 0 #f97316!important;outline:none!important}

/* Historial de cotizaciones: tabla administrativa clara y acciones compactas. */
#armador-app #armadorTab-quotes>.armador-card{padding:14px!important;border-radius:18px!important}
#armador-app .bp-quotes-table{border-collapse:separate!important;border-spacing:0 8px!important;min-width:1480px!important;table-layout:auto}
#armador-app .bp-quotes-table thead th{background:#0b0b0c;color:#fff!important;padding:11px 12px!important;font-size:10px!important;text-transform:uppercase;letter-spacing:.055em;white-space:nowrap;vertical-align:middle}
#armador-app .bp-quotes-table thead th:first-child{border-radius:10px 0 0 10px}
#armador-app .bp-quotes-table thead th:last-child{border-radius:0 10px 10px 0}
#armador-app .bp-quotes-table tbody td{padding:13px 12px!important;vertical-align:top!important;line-height:1.35}
#armador-app .bp-quotes-table tbody tr:hover td{background:#fffaf5}
#armador-app .bp-quotes-table td:nth-child(1){min-width:155px}
#armador-app .bp-quotes-table td:nth-child(2){min-width:120px}
#armador-app .bp-quotes-table td:nth-child(3){min-width:120px;font-variant-numeric:tabular-nums}
#armador-app .bp-quotes-table td:nth-child(4){min-width:145px}
#armador-app .bp-quotes-table td:nth-child(5){min-width:160px}
#armador-app .bp-quotes-table td:nth-child(6){min-width:205px}
#armador-app .bp-quotes-table td:nth-child(7),#armador-app .bp-quotes-table td:nth-child(8){min-width:155px;font-variant-numeric:tabular-nums}
#armador-app .bp-quotes-table td:nth-child(9){min-width:120px;white-space:normal}
#armador-app .bp-quotes-actions-cell{min-width:300px!important}
#armador-app .bp-quotes-actions{display:grid;grid-template-columns:repeat(2,minmax(128px,1fr));gap:7px}
#armador-app .bp-quote-action{appearance:none;border:1px solid #dbe3ee!important;background:#fff!important;color:#0f172a!important;border-radius:10px!important;min-height:38px;padding:7px 9px!important;display:flex!important;align-items:center;gap:7px;text-align:left;text-decoration:none!important;font-size:11px!important;font-weight:850!important;line-height:1.15;cursor:pointer;box-shadow:0 2px 7px rgba(15,23,42,.03)}
#armador-app .bp-quote-action:hover{border-color:#f97316!important;background:#fff7ed!important;transform:translateY(-1px)}
#armador-app .bp-quote-action.is-primary{background:#f97316!important;border-color:#f97316!important;color:#111827!important}
#armador-app .bp-quote-action-icon{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:8px;background:#f1f5f9;color:#334155;font-weight:950;font-size:13px}
#armador-app .bp-quote-action.is-primary .bp-quote-action-icon{background:rgba(255,255,255,.62);color:#111827}
#armador-app .bp-quotes-secondary-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:7px}
#armador-app .bp-quotes-secondary-actions>.armador-muted{font-size:10px}
#armador-app .bp-quotes-table .quote-status{width:100%;min-width:128px;background:#fff}
#armador-app .bp-quotes-table .armador-payment-form-protected{margin-top:8px;padding:9px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0}
#armador-app .bp-quotes-table .armador-payment-form-protected span{font-size:9px;letter-spacing:.04em;text-transform:uppercase;color:#64748b;font-weight:900}
#armador-app .bp-quotes-table .armador-payment-form-protected strong{display:block;margin:3px 0 6px;font-size:11px}
@media(max-width:900px){#armador-app .bp-quotes-actions{grid-template-columns:1fr}#armador-app .bp-quotes-actions-cell{min-width:190px!important}}


/* V6.44.0 · Inventario general interno */
.bp-inventory-general-modal{width:min(1380px,calc(100vw - 34px));max-width:1380px;max-height:calc(100vh - 34px);}
.bp-inventory-general-kpis{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:10px;margin:0 0 14px;}
.bp-inventory-general-kpis>div{border:1px solid #dce3ec;border-radius:14px;padding:12px 14px;background:#f8fafc;display:flex;flex-direction:column;gap:4px;}
.bp-inventory-general-kpis span{font-size:12px;color:#667085;font-weight:700;}
.bp-inventory-general-kpis strong{font-size:22px;color:#101828;}
.bp-inventory-general-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:12px;align-items:center;margin-bottom:12px;}
.bp-inventory-general-toolbar .bp-search-bar{margin:0;}
.bp-inventory-general-table{max-height:58vh;border:1px solid #e2e8f0;border-radius:14px;background:#fff;}
.bp-inventory-general-table table{min-width:1060px;}
.bp-inventory-general-table thead th{position:sticky;top:0;z-index:4;background:#0b0b0c;color:#fff;}
.bp-inventory-general-table td{vertical-align:top;}
.bp-inventory-general-table td>small,.bp-inventory-general-table td strong+small{display:block;color:#667085;margin-top:4px;}
.bp-inventory-location-chips{display:flex;gap:6px;flex-wrap:wrap;}
.bp-inventory-location-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #dbe3ec;background:#f8fafc;border-radius:999px;padding:5px 8px;font-size:11px;white-space:nowrap;}
.bp-inventory-location-chip b{color:#101828;}
.bp-inventory-location-chip span{color:#667085;}
.bp-inventory-location-chip.is-alert{border-color:#f7b4b4;background:#fff2f2;}
@media(max-width:900px){.bp-inventory-general-kpis{grid-template-columns:repeat(2,minmax(120px,1fr));}.bp-inventory-general-toolbar{grid-template-columns:1fr}.bp-inventory-general-toolbar .armador-btn{width:100%;justify-content:center}.bp-inventory-general-modal{width:calc(100vw - 16px);max-height:calc(100vh - 16px)}}


/* V6.45.0 · Inventario profesional, tarimas y control por sucursal */
.bp-modal-actions .bp-modal-close{width:auto!important;height:auto!important;border-radius:10px!important;font-size:14px!important;line-height:1.2!important;background:#fff!important;color:#0f172a!important;padding:10px 16px!important;border:1px solid #dbe3ec!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:94px!important}
.bp-modal-actions .bp-modal-close:hover{border-color:#f97316!important;background:#fff7ed!important}
.bp-inventory-general-modal>.bp-modal-actions{position:sticky;bottom:0;z-index:5}
.bp-inventory-actions{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;padding:12px!important}
.bp-inventory-action-card{appearance:none;border:1px solid #dbe3ec;background:#fff;color:#0f172a;border-radius:14px;padding:12px;display:grid;grid-template-columns:38px 1fr;gap:10px;align-items:center;text-align:left;cursor:pointer;box-shadow:0 5px 14px rgba(15,23,42,.04);transition:.16s ease}
.bp-inventory-action-card:hover{border-color:#f97316;transform:translateY(-1px);box-shadow:0 9px 22px rgba(15,23,42,.08)}
.bp-inventory-action-card>b{width:36px;height:36px;border-radius:10px;background:#f1f5f9;display:grid;place-items:center;font-size:18px}
.bp-inventory-action-card strong,.bp-inventory-action-card small{display:block}.bp-inventory-action-card small{color:#64748b;margin-top:2px;font-size:11px}.bp-inventory-action-card.is-entry>b{background:#dcfce7;color:#166534}.bp-inventory-action-card.is-exit>b{background:#fee2e2;color:#991b1b}
.bp-inventory-pallet-card{display:grid;grid-template-columns:minmax(0,420px) auto;gap:12px;align-items:end;background:#fff7ed;border:1px solid #fed7aa;border-radius:16px;padding:14px}.bp-inventory-pallet-card .armador-field{margin:0}
.bp-pallet-movement-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.bp-pack-summary{display:grid;grid-template-columns:1fr auto;gap:6px 14px;padding:12px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px}.bp-pack-summary span{color:#64748b}.bp-pack-summary strong{text-align:right}
.bp-inventory-control-modal{width:min(1100px,calc(100vw - 34px));max-width:1100px}.bp-inventory-control-intro{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:16px}.bp-inventory-control-intro h3{margin:3px 0}.bp-inventory-control-intro p{margin:0;color:#64748b}.bp-inventory-control-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px}.bp-seller-assignments{display:grid;gap:9px}.bp-seller-assignment{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(190px,1.2fr);gap:10px;align-items:center;padding:10px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.bp-seller-assignment strong,.bp-seller-assignment small{display:block}.bp-seller-assignment small{color:#64748b;margin-top:2px}.bp-seller-assignment select{width:100%;min-height:40px;border:1px solid #cbd5e1;border-radius:9px}.bp-seller-chip{display:inline-flex;padding:4px 7px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:10px;font-weight:800;margin:2px}.bp-check-row{display:flex;align-items:center;gap:8px;font-weight:700}.bp-sale-branch{margin:0 24px 14px}.bp-sale-branch select{min-height:44px}.bp-sale-branch-readonly{margin:0 24px 14px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.bp-sale-branch-readonly span,.bp-sale-branch-readonly strong,.bp-sale-branch-readonly small{display:block}.bp-sale-branch-readonly span{font-size:10px;font-weight:900;text-transform:uppercase;color:#64748b}.bp-sale-branch-readonly strong{margin:3px 0}.bp-sale-branch-readonly small{color:#64748b}
@media(max-width:900px){.bp-inventory-control-grid{grid-template-columns:1fr}.bp-inventory-control-intro{display:grid}.bp-seller-assignment{grid-template-columns:1fr}.bp-inventory-pallet-card{grid-template-columns:1fr}.bp-pallet-movement-grid{grid-template-columns:1fr}}

/* V6.45.0 · pulido adicional de modales e ingreso/salida por tarimas */
.bp-inventory-general-modal{overflow:hidden!important;display:flex!important;flex-direction:column!important}
.bp-inventory-general-modal>.bp-modal-head,.bp-inventory-general-modal>.bp-inventory-general-kpis,.bp-inventory-general-modal>.bp-inventory-general-toolbar,.bp-inventory-general-modal>.bp-modal-actions{flex:0 0 auto}
.bp-inventory-general-table{overflow:auto!important;min-height:220px;flex:1 1 auto}
.bp-inventory-general-modal>.bp-modal-actions{margin-top:0!important}
.bp-inventory-control-modal{overflow:hidden!important;display:flex!important;flex-direction:column!important}
.bp-inventory-control-modal>.bp-modal-body{overflow:auto!important;min-height:0;flex:1 1 auto}
#armadorInventoryModal .bp-modal{overflow:hidden!important;display:flex!important;flex-direction:column!important;max-height:min(90vh,760px)}
#armadorInventoryModal .bp-modal-body{overflow:auto!important;min-height:0;flex:1 1 auto}
#armadorInventoryModal .bp-modal-actions,#armadorInventoryControlModal .bp-modal-actions,#armadorInventoryGeneralModal .bp-modal-actions{position:relative!important;inset:auto!important;z-index:6;background:#f8fafc!important}
#armadorInventoryModal .bp-modal-actions .bp-modal-close,#armadorInventoryControlModal .bp-modal-actions .bp-modal-close,#armadorInventoryGeneralModal .bp-modal-actions .bp-modal-close{position:static!important;width:auto!important;height:auto!important;min-width:96px!important;border-radius:10px!important;font-size:14px!important;padding:10px 16px!important;line-height:1.2!important}
.bp-quote-pallet-helper{margin-top:7px;padding:7px 8px;border:1px solid #fed7aa;border-radius:10px;background:#fff7ed;display:grid;gap:3px;min-width:142px}
.bp-quote-pallet-helper label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;font-weight:800;color:#9a3412}
.bp-quote-pallet-helper input{width:72px!important;min-width:72px!important;max-width:72px!important;padding:6px 7px!important;text-align:center!important;border:1px solid #fdba74!important;background:#fff!important}
.bp-quote-pallet-helper small{font-size:10px;color:#9a3412}

/* V6.45.1 · ajustes de navegación/exportación; sin cambios visuales adicionales. */

/* V6.45.2: alineación profesional de configuración de tarimas. */
#armador-app .bp-inventory-pallet-card{
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  column-gap:18px!important;
}
#armador-app .bp-inventory-pallet-card .armador-field{
  display:grid!important;
  grid-template-columns:minmax(150px,190px) minmax(180px,280px)!important;
  grid-template-areas:"label input" "help help"!important;
  gap:6px 12px!important;
  align-items:center!important;
  margin:0!important;
}
#armador-app .bp-inventory-pallet-card .armador-field>span{grid-area:label!important;margin:0!important;}
#armador-app .bp-inventory-pallet-card .armador-field>input{grid-area:input!important;margin:0!important;min-height:44px!important;}
#armador-app .bp-inventory-pallet-card .armador-field>small{grid-area:help!important;margin:0!important;color:#64748b!important;line-height:1.35!important;}
#armador-app #savePalletFactor{
  justify-self:end!important;
  align-self:center!important;
  width:auto!important;
  min-width:155px!important;
  white-space:nowrap!important;
}
@media(max-width:900px){
  #armador-app .bp-inventory-pallet-card{grid-template-columns:1fr!important;}
  #armador-app .bp-inventory-pallet-card .armador-field{grid-template-columns:1fr!important;grid-template-areas:"label" "input" "help"!important;}
  #armador-app #savePalletFactor{justify-self:stretch!important;width:100%!important;}
}

/* V6.45.7 · filtros temporales con intervalos integrados para Semana y Mes */
.bp-quotes-filter-bar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:14px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}
.bp-quotes-periods{display:inline-flex;gap:4px;padding:4px;border:1px solid #dbe3ee;border-radius:12px;background:#fff}
.bp-period-btn{appearance:none;border:0;background:transparent;color:#475569;font-weight:800;font-size:12px;line-height:1;padding:9px 13px;border-radius:9px;cursor:pointer;transition:.16s ease}
.bp-period-btn:hover{background:#fff3e9;color:#111827}.bp-period-btn.is-active{background:#ff6b0b;color:#fff;box-shadow:0 4px 12px rgba(255,107,11,.22)}
.bp-quotes-period-value{display:grid;gap:5px;min-width:190px}.bp-quotes-period-value.is-hidden{display:none}.bp-quotes-period-value label{font-size:11px;text-transform:uppercase;letter-spacing:.04em;font-weight:900;color:#64748b}
.bp-quotes-period-value input{height:38px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;padding:0 11px;font-weight:700;color:#0f172a;box-sizing:border-box}

.bp-quotes-range-fields{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:10px;min-width:330px}
.bp-quotes-range-fields label{display:grid;gap:5px}
.bp-quotes-range-fields input{width:100%}
.bp-quotes-filter-count{margin-left:auto;align-self:center;padding:7px 10px;border-radius:999px;background:#eef2f7;color:#475569;font-size:12px;font-weight:800;white-space:nowrap}
@media(max-width:760px){.bp-quotes-filter-bar{align-items:stretch}.bp-quotes-periods{width:100%;overflow:auto}.bp-period-btn{flex:0 0 auto}.bp-quotes-period-value{min-width:0;flex:1 1 170px}.bp-quotes-range-fields{grid-template-columns:1fr;min-width:0}.bp-quotes-filter-count{margin-left:0}}

/* V6.46.0 · filtros del Centro de Facturación */
.armador-fiscal-sales-filter-panel{margin:18px 0 14px;padding:14px;border:1px solid #dfe6ef;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.armador-fiscal-sales-filter-bar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.armador-fiscal-periods{display:inline-flex;gap:4px;padding:4px;border:1px solid #dbe3ee;border-radius:12px;background:#f8fafc}
.armador-fiscal-period-btn{appearance:none;border:0;background:transparent;color:#475569;font-weight:800;font-size:12px;line-height:1;padding:10px 14px;border-radius:9px;cursor:pointer;transition:.16s ease}
.armador-fiscal-period-btn:hover{background:#fff3e9;color:#111827}.armador-fiscal-period-btn.is-active{background:#ff6b0b;color:#fff;box-shadow:0 4px 12px rgba(255,107,11,.22)}
.armador-fiscal-period-controls{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.armador-fiscal-period-controls.is-hidden{display:none}
.armador-fiscal-period-controls label{display:grid;gap:5px;font-size:10px;text-transform:uppercase;letter-spacing:.05em;font-weight:900;color:#64748b}
.armador-fiscal-period-controls input,.armador-fiscal-period-controls select{height:38px;min-width:165px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;padding:0 11px;font-weight:700;color:#0f172a;box-sizing:border-box;max-width:none}
.armador-fiscal-week-fields,.armador-fiscal-month-fields{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.armador-fiscal-week-fields select{min-width:285px}
.armador-fiscal-clear-filters{height:38px!important;min-height:38px!important;margin:0!important;box-sizing:border-box!important;border:1px solid #dbe3ee!important;border-radius:10px!important;background:#fff!important;color:#0f172a!important;box-shadow:none!important;font-weight:800!important;line-height:1!important}.armador-fiscal-clear-filters:hover{border-color:#f97316!important;background:#fff7ed!important;color:#0f172a!important;box-shadow:none!important}.armador-fiscal-clear-filters:focus{border-color:#f97316!important;background:#fff7ed!important;color:#0f172a!important;box-shadow:0 0 0 2px rgba(249,115,22,.18)!important;outline:none!important}
.armador-fiscal-filter-count{margin-left:auto;align-self:center;padding:8px 11px;border-radius:999px;background:#eef2f7;color:#475569;font-size:12px;font-weight:800;white-space:nowrap}
.armador-fiscal-sales-search{display:flex;align-items:center;gap:8px;margin-top:12px;padding:0 12px;border:1px solid #dbe3ee;border-radius:12px;background:#fff}
.armador-fiscal-sales-search span{color:#64748b;font-size:18px}.armador-fiscal-sales-search input{width:100%;height:42px;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;font-size:13px;color:#0f172a}
.armador-fiscal-filter-empty{padding:28px 16px;text-align:center;color:#64748b;font-weight:700}
@media(max-width:900px){.armador-fiscal-filter-count{margin-left:0}.armador-fiscal-week-fields,.armador-fiscal-month-fields{width:100%}.armador-fiscal-period-controls{width:100%}.armador-fiscal-period-controls label{flex:1 1 180px}.armador-fiscal-period-controls input,.armador-fiscal-period-controls select{width:100%;min-width:0}.armador-fiscal-periods{max-width:100%;overflow:auto}.armador-fiscal-period-btn{flex:0 0 auto}}

/* V6.47.1 · corrección visual puntual de botones compactos */
/* Evita que padding/min-width heredados deformen las X de quitar producto/pago. */
#armador-app .bp-icon-button,#armador-app .bp-payment-remove{box-sizing:border-box!important;padding:0!important;min-width:0!important;max-width:none!important;display:inline-grid!important;place-items:center!important;line-height:1!important;vertical-align:middle!important;flex:0 0 auto!important}
#armador-app .bp-icon-button{width:34px!important;height:34px!important}
#armador-app .bp-payment-remove{width:32px!important;height:32px!important;justify-self:center!important}
#armador-app .bp-quote-table th:last-child,#armador-app .bp-quote-table td:last-child{padding-left:6px!important;padding-right:6px!important;text-align:center!important}


/* V6.47.3 · Corrección visual puntual del cotizador y cierre de sesión.
   Alcance: solo presentación; no altera cantidades, precios, cálculos ni acciones. */
@media(min-width:901px){
  #armador-app .armador-logout{margin-top:auto!important}
}
#armador-app .bp-qty-control button{
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  min-width:34px!important;
  max-width:34px!important;
  height:36px!important;
  padding:0!important;
  color:#0f172a!important;
  font-size:18px!important;
  line-height:1!important;
  font-weight:900!important;
  opacity:1!important;
}
#armador-app .bp-qty-control input.line-qty{
  appearance:textfield!important;
  -moz-appearance:textfield!important;
}
#armador-app .bp-qty-control input.line-qty::-webkit-inner-spin-button,
#armador-app .bp-qty-control input.line-qty::-webkit-outer-spin-button{
  -webkit-appearance:none!important;
  margin:0!important;
}
#armador-app .bp-line-price-wrap{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:4px!important;
  width:100%!important;
}
#armador-app .bp-line-price-wrap .bp-currency-prefix{
  color:#0f172a!important;
  font-weight:800!important;
  line-height:1!important;
}
#armador-app .bp-line-price-wrap .bp-line-price{
  width:calc(100% - 14px)!important;
  max-width:104px!important;
  margin-left:0!important;
}

/* V7.0.0 · ERP Compras / Proveedores + lectura ligera de inventario */
.bp-inventory-status.danger{background:#ffe4e6;color:#9f1239}
.bp-inventory-status.ordered{background:#dbeafe;color:#1d4ed8}
.bp-inventory-kpis.bp-inventory-kpis-v7{grid-template-columns:repeat(5,minmax(0,1fr))}

#armador-app .bp-purchases-shell{display:grid;gap:16px}
#armador-app .bp-purchases-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:20px;box-shadow:0 10px 30px rgba(15,23,42,.05)}
#armador-app .bp-purchases-head h2{margin:4px 0 5px;font-size:24px}
#armador-app .bp-purchases-head p{margin:0;color:#64748b}
#armador-app .bp-purchase-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
#armador-app .bp-purchase-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
#armador-app .bp-purchase-kpis>div{background:#0f172a;color:#fff;border-radius:15px;padding:14px 16px;min-width:0;box-shadow:0 8px 22px rgba(15,23,42,.07)}
#armador-app .bp-purchase-kpis span{display:block;color:#cbd5e1;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}
#armador-app .bp-purchase-kpis strong{display:block;margin-top:5px;font-size:21px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#armador-app .bp-purchase-tabs{margin:0;padding:0 4px;background:#fff;border:1px solid #e2e8f0;border-radius:14px}
#armador-app .bp-purchase-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 220px;gap:10px;align-items:center}
#armador-app .bp-purchase-toolbar>.bp-search-bar{margin:0}
#armador-app .bp-purchase-toolbar>select{width:100%;height:42px;border:1px solid #dbe3ec;border-radius:10px;background:#fff;padding:0 12px}
#armador-app .bp-purchase-content{background:#fff;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 8px 26px rgba(15,23,42,.04);overflow:hidden}
#armador-app .bp-purchase-content>.bp-empty-state{padding:44px 20px}
#armador-app .bp-purchase-table{margin:0;max-height:620px;overflow:auto}
#armador-app .bp-purchase-table .armador-table{min-width:1040px}
#armador-app .bp-purchase-table td small{display:block;color:#64748b;margin-top:3px}
#armador-app .bp-purchase-table .bp-purchase-actions{min-width:205px}
#armador-app .bp-link-button{border:0;background:transparent;color:#c2410c;font-weight:800;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:2px}

.bp-purchase-small-modal{width:min(720px,100%)}
.bp-purchase-order-modal{width:min(1180px,calc(100vw - 36px))}
.bp-purchase-receipt-modal{width:min(980px,calc(100vw - 36px))}
.bp-purchase-order-modal .bp-modal-body,.bp-purchase-receipt-modal .bp-modal-body{overflow:auto;min-height:0}
.bp-purchase-order-modal .bp-modal-head p,.bp-purchase-receipt-modal .bp-modal-head p{margin:5px 0 0;color:#64748b}
.bp-purchase-items-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:4px}
.bp-purchase-items-head h4{margin:0}
.bp-purchase-items-table{min-width:1120px}
.bp-purchase-items-table .po-product{min-width:300px;max-width:420px}
.bp-purchase-items-table .po-purchase-unit{min-width:170px;max-width:220px}
.bp-purchase-items-table input{min-width:100px;width:120px}
.bp-purchase-items-table .po-line-total{white-space:nowrap;font-weight:900}
.bp-purchase-items-table .po-unit-helper,.bp-purchase-items-table .bp-po-inline-field small{display:block;color:#64748b;font-size:10px;line-height:1.3;margin-top:4px}
.bp-purchase-items-table .bp-po-inline-field{display:block;margin:0}
.bp-purchase-items-table .bp-po-inline-field small{margin:0 0 4px}
.bp-money-input{display:flex;align-items:center;border:1px solid #dbe3ec;border-radius:10px;background:#fff;overflow:hidden;min-width:130px}
.bp-money-input>span{padding:0 0 0 10px;color:#64748b;font-weight:800}
.bp-money-input>input{border:0!important;box-shadow:none!important;min-width:0!important;width:110px!important}
.bp-row-remove{display:inline-grid!important;place-items:center!important;width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;border:1px solid #fecdd3!important;border-radius:10px!important;background:#fff1f2!important;color:#be123c!important;font-weight:900!important;font-size:18px!important;line-height:1!important;cursor:pointer}
.bp-row-remove:hover{background:#ffe4e6!important;border-color:#fda4af!important}
.bp-purchase-order-totals{width:min(420px,100%);margin-left:auto;border:1px solid #e2e8f0;border-radius:14px;padding:10px 14px;background:#f8fafc}
.bp-purchase-order-totals>div{display:flex;justify-content:space-between;gap:16px;padding:7px 0}
.bp-purchase-order-totals .is-total{border-top:1px solid #cbd5e1;margin-top:4px;padding-top:11px;font-size:18px}
.bp-purchase-detail-meta{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.bp-purchase-detail-meta>div{border:1px solid #e2e8f0;border-radius:12px;padding:12px;background:#f8fafc}
.bp-purchase-detail-meta span:first-child{display:block;color:#64748b;font-size:11px;font-weight:800;text-transform:uppercase}
.bp-purchase-detail-meta strong{display:block;margin-top:5px}
.bp-purchase-receipt-modal .purchase-receipt-qty{width:120px!important;min-width:110px!important}
.bp-purchase-receipt-modal .armador-table{min-width:760px}

@media(max-width:1200px){
  #armador-app .bp-purchase-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
  .bp-inventory-kpis.bp-inventory-kpis-v7{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  #armador-app .bp-purchases-head{flex-direction:column}
  #armador-app .bp-purchase-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  #armador-app .bp-purchase-toolbar{grid-template-columns:1fr}
  .bp-purchase-detail-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bp-inventory-kpis.bp-inventory-kpis-v7{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  #armador-app .bp-purchase-kpis{grid-template-columns:1fr 1fr}
  .bp-purchase-order-modal,.bp-purchase-receipt-modal{width:calc(100vw - 12px)}
  .bp-purchase-detail-meta{grid-template-columns:1fr 1fr}
}

/* V7.1.0 · Recursos Humanos, Asistencias y Nómina administrativa */
#armador-app .bp-hr-shell,#armador-app .bp-payroll-shell{display:grid;gap:16px}
#armador-app .bp-hr-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
#armador-app .bp-payroll-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
#armador-app .bp-hr-kpis>div,#armador-app .bp-payroll-kpis>div{background:#0f172a;color:#fff;border-radius:15px;padding:14px 16px;min-width:0;box-shadow:0 8px 22px rgba(15,23,42,.07)}
#armador-app .bp-hr-kpis span,#armador-app .bp-payroll-kpis span{display:block;color:#cbd5e1;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}
#armador-app .bp-hr-kpis strong,#armador-app .bp-payroll-kpis strong{display:block;margin-top:5px;font-size:21px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#armador-app .bp-hr-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 240px;gap:10px;align-items:end}
#armador-app .bp-hr-toolbar>.bp-search-bar{margin:0}
#armador-app .bp-hr-date{margin:0}
#armador-app .bp-hr-table,#armador-app .bp-payroll-table{margin:0;max-height:650px;overflow:auto}
#armador-app .bp-hr-table .armador-table{min-width:980px}
#armador-app .bp-payroll-table .armador-table{min-width:1120px}
#armador-app .bp-hr-table td small,#armador-app .bp-payroll-table td small{display:block;color:#64748b;margin-top:3px}
.bp-hr-modal{width:min(860px,calc(100vw - 36px))}
.bp-hr-sensitive{border:1px solid #fed7aa;background:#fff7ed;border-radius:14px;padding:14px}
.bp-hr-sensitive h4{margin:0 0 10px;color:#9a3412}
.bp-payroll-detail-modal{width:min(1260px,calc(100vw - 36px));display:flex;flex-direction:column;max-height:94vh}
.bp-payroll-detail-modal>.bp-modal-body{overflow:auto;min-height:0;flex:1 1 auto}
.bp-payroll-detail-modal .bp-modal-head p{margin:5px 0 0;color:#64748b}
.bp-payroll-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.bp-payroll-totals>div{border:1px solid #e2e8f0;border-radius:12px;padding:12px;background:#f8fafc}
.bp-payroll-totals span{display:block;color:#64748b;font-size:11px;font-weight:800;text-transform:uppercase}
.bp-payroll-totals strong{display:block;margin-top:5px;font-size:18px}
.bp-payroll-entry-table{overflow:auto;max-height:56vh}
.bp-payroll-entry-table .armador-table{min-width:1120px}
.bp-payroll-entry-table input{min-width:105px;width:120px}
.bp-payroll-entry-table .payroll-entry-notes{min-width:170px;width:190px}
@media(max-width:1050px){#armador-app .bp-hr-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}#armador-app .bp-payroll-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.bp-payroll-totals{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){#armador-app .bp-hr-kpis,#armador-app .bp-payroll-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}#armador-app .bp-hr-toolbar{grid-template-columns:1fr}.bp-hr-modal,.bp-payroll-detail-modal{width:calc(100vw - 12px)}.bp-payroll-totals{grid-template-columns:1fr 1fr}}

/* V7.2.0 · Control biométrico DigitalPersona */
#armador-app .bp-hr-schedule{border:1px solid #dbeafe;background:#eff6ff;border-radius:14px;padding:14px}
#armador-app .bp-hr-schedule h4{margin:0 0 10px;color:#1e3a8a}
#armador-app .bp-hr-schedule>small{display:block;color:#475569;line-height:1.45;margin-top:6px}
#armador-app .bp-bio-panel{display:grid;gap:16px}
#armador-app .bp-bio-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#armador-app .bp-bio-kpis>div{border:1px solid #e2e8f0;background:#fff;border-radius:14px;padding:14px 16px}
#armador-app .bp-bio-kpis span{display:block;font-size:11px;font-weight:800;text-transform:uppercase;color:#64748b}
#armador-app .bp-bio-kpis strong{display:block;font-size:22px;margin-top:4px;color:#0f172a}
#armador-app .bp-bio-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;border:1px solid #fed7aa;background:#fff7ed;border-radius:16px;padding:16px}
#armador-app .bp-bio-intro h3,#armador-app .bp-bio-section-head h3{margin:0 0 5px;color:#0f172a}
#armador-app .bp-bio-intro p{margin:0 0 8px;color:#475569;max-width:900px;line-height:1.5}
#armador-app .bp-bio-intro small{display:block;color:#9a3412;word-break:break-all}
#armador-app .bp-bio-stations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#armador-app .bp-bio-station{display:flex;justify-content:space-between;gap:16px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;padding:15px}
#armador-app .bp-bio-station h3{margin:3px 0 4px;color:#0f172a}
#armador-app .bp-bio-station p{margin:0 0 5px;color:#475569}
#armador-app .bp-bio-station small{color:#64748b}
#armador-app .bp-bio-station-actions{display:flex;gap:7px;align-items:flex-start;justify-content:flex-end;flex-wrap:wrap}
#armador-app .bp-bio-section-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-top:4px}
#armador-app .bp-bio-section-head span{color:#64748b;font-size:12px}
#armador-app .bp-bio-events{max-height:520px;overflow:auto}
#armador-app .bp-bio-events .armador-table{min-width:850px}
#armador-app .bp-bio-events td small{display:block;color:#64748b;margin-top:3px}
.bp-switch-row{display:flex;align-items:center;gap:9px;font-weight:700;color:#0f172a;margin-top:8px}
.bp-switch-row input{width:18px;height:18px}
#bioTokenValue{min-height:88px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;word-break:break-all}
@media(max-width:980px){#armador-app .bp-bio-stations{grid-template-columns:1fr}}
@media(max-width:700px){#armador-app .bp-bio-kpis{grid-template-columns:1fr}#armador-app .bp-bio-intro,#armador-app .bp-bio-station{flex-direction:column}#armador-app .bp-bio-station-actions{justify-content:flex-start}}
/* V7.3.0 · RH biométrico */
#armador-app .bp-hr-biometric-card{border:1px solid #bbf7d0;background:#f0fdf4;border-radius:14px;padding:14px}
#armador-app .bp-hr-biometric-card.is-disabled{border-color:#e2e8f0;background:#f8fafc}
#armador-app .bp-hr-biometric-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:10px}
#armador-app .bp-hr-biometric-head h4{margin:0 0 4px;color:#166534}
#armador-app .bp-hr-biometric-card.is-disabled .bp-hr-biometric-head h4{color:#475569}
#armador-app .bp-hr-biometric-head p{margin:0;color:#475569;font-size:12px;line-height:1.45}
#armador-app .bp-hr-biometric-actions{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap;padding-bottom:12px}
#armador-app .bp-biometric-times{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#armador-app .bp-biometric-times>div{border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;padding:12px}
#armador-app .bp-biometric-times span{display:block;font-size:11px;color:#64748b;font-weight:800;margin-bottom:4px}
#armador-app .bp-biometric-times strong{font-size:15px;color:#0f172a}
.bp-bio-capture-modal .bp-bio-capture-status{text-align:center;padding:18px 10px;display:grid;gap:8px;justify-items:center}
.bp-bio-capture-modal .bp-bio-capture-status strong{font-size:20px;color:#0f172a}
.bp-bio-capture-modal .bp-bio-capture-status p{margin:0;color:#475569}
.bp-bio-capture-modal .bp-bio-capture-status small{color:#64748b}
.bp-bio-capture-modal .bp-bio-pulse{font-size:54px;color:#f97316;line-height:1;animation:bpBioPulse 1.25s ease-in-out infinite}
@keyframes bpBioPulse{0%,100%{transform:scale(.92);opacity:.55}50%{transform:scale(1.08);opacity:1}}
@media(max-width:700px){#armador-app .bp-biometric-times{grid-template-columns:1fr}#armador-app .bp-hr-biometric-head{display:grid}}

/* V7.4.0 · Biometría integrada en Armador ERP */
#armador-app .bp-bio-station.is-ready{border-color:#86efac;box-shadow:0 0 0 1px rgba(34,197,94,.08)}
#armador-app .bp-bio-station-main{min-width:0;display:grid;gap:5px}
#armador-app .bp-bio-station-main h3,#armador-app .bp-bio-station-main p{margin:0}
#armador-app .bp-bio-station-main small{display:block;color:#64748b}
#armador-app .bp-bio-inline-diagnostics{display:flex;gap:7px;flex-wrap:wrap;margin:7px 0}
#armador-app .bp-bio-inline-diagnostics span{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:800;border:1px solid #e2e8f0;background:#fff;color:#64748b}
#armador-app .bp-bio-inline-diagnostics .is-ok{border-color:#bbf7d0;background:#f0fdf4;color:#166534}
#armador-app .bp-bio-inline-diagnostics .is-bad{border-color:#fecaca;background:#fef2f2;color:#b91c1c}
#armador-app .bp-bio-integrated-status{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;padding:12px;margin-bottom:10px}
#armador-app .bp-bio-integrated-status>div:first-child{display:grid;gap:4px;min-width:0}
#armador-app .bp-bio-integrated-status strong{font-size:14px;color:#0f172a}
#armador-app .bp-bio-integrated-status small{display:block;color:#64748b;line-height:1.4}
#armador-app .bp-bio-pair-steps{display:grid;gap:10px;margin-top:14px}
#armador-app .bp-bio-pair-steps>div{display:flex;align-items:center;gap:10px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;padding:10px 12px}
#armador-app .bp-bio-pair-steps strong{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#111827;color:#fff;font-size:12px;flex:0 0 auto}
#armador-app .bp-bio-pair-steps span{font-size:12px;color:#334155}
#armador-app .bp-bio-pair-code{text-align:center;border:1px solid #fed7aa;background:#fff7ed;border-radius:14px;padding:18px;margin-bottom:14px}
#armador-app .bp-bio-pair-code span,#armador-app .bp-bio-pair-code small{display:block;color:#9a3412}
#armador-app .bp-bio-pair-code strong{display:block;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:28px;letter-spacing:2px;color:#c2410c;margin:7px 0}
#armador-app .bp-bio-pair-wait{display:flex;align-items:center;gap:12px;border:1px solid #dbeafe;background:#eff6ff;border-radius:14px;padding:14px}
#armador-app .bp-bio-pair-wait .bp-bio-pulse{font-size:34px;color:#2563eb;animation:bpBioPulse 1.25s ease-in-out infinite}
#armador-app .bp-bio-pair-wait div{display:grid;gap:3px}
#armador-app .bp-bio-pair-wait small{color:#475569}
@media(max-width:700px){#armador-app .bp-bio-integrated-status{display:grid}#armador-app .bp-bio-pair-code strong{font-size:22px;letter-spacing:1px}}

/* V7.9.0 · enrolamiento visual tipo móvil (5 lecturas) */
.bp-bio-enrollment-mobile{display:grid;justify-items:center;gap:14px;padding:8px 6px 2px}
.bp-fingerprint-progress{display:grid;justify-items:center;gap:2px;min-width:210px}
.bp-fingerprint-progress svg{width:142px;height:174px;overflow:visible}
.bp-fingerprint-progress .bp-fp-line{fill:none;stroke:#dbe3ee;stroke-width:11;stroke-linecap:round;stroke-linejoin:round;transition:stroke .25s ease,filter .25s ease}
.bp-fingerprint-progress .bp-fp-line.is-on{stroke:#f97316;filter:drop-shadow(0 2px 4px rgba(249,115,22,.22))}
.bp-fingerprint-progress strong{font-size:25px;color:#0f172a;line-height:1}
.bp-fingerprint-progress span{font-size:12px;color:#64748b}
.bp-fp-steps{display:flex;align-items:center;justify-content:center;gap:10px}
.bp-fp-step{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;border:2px solid #dbe3ee;background:#fff;color:#64748b;font-weight:900;transition:.2s ease}
.bp-fp-step.is-current{border-color:#fb923c;color:#c2410c;box-shadow:0 0 0 5px #fff7ed}
.bp-fp-step.is-done{background:#f97316;border-color:#f97316;color:#fff;box-shadow:none}
.bp-fp-hint{margin:0;max-width:520px;text-align:center;color:#475569;font-size:13px;line-height:1.5}
#bioEnrollmentWaitModal[data-stage="completed"] .bp-fingerprint-progress .bp-fp-line{stroke:#16a34a}
#bioEnrollmentWaitModal[data-stage="completed"] .bp-fp-step.is-done{background:#16a34a;border-color:#16a34a}

/* V7.9.0 · reporte semanal de asistencia */
#armador-app .bp-attendance-report{display:grid;gap:14px}
#armador-app .bp-attendance-report-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
#armador-app .bp-attendance-report-head h3{margin:3px 0 5px;font-size:22px}
#armador-app .bp-attendance-report-head p{margin:0;color:#64748b;max-width:720px}
#armador-app .bp-attendance-report-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
#armador-app .bp-attendance-filters{display:grid;grid-template-columns:180px 180px minmax(220px,1fr) auto;gap:10px;align-items:end;padding:12px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}
#armador-app .bp-attendance-filters .armador-field{margin:0}
#armador-app .bp-attendance-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
#armador-app .bp-attendance-kpis>div{padding:13px 14px;border:1px solid #e2e8f0;border-radius:13px;background:#fff}
#armador-app .bp-attendance-kpis span{display:block;color:#64748b;font-size:10px;text-transform:uppercase;font-weight:800;letter-spacing:.03em}
#armador-app .bp-attendance-kpis strong{display:block;font-size:20px;margin-top:4px;color:#0f172a}
#armador-app .bp-attendance-kpis small{display:block;color:#64748b;margin-top:2px}
#armador-app .bp-attendance-closed{display:flex;justify-content:space-between;gap:14px;align-items:center;border:1px solid #bbf7d0;background:#f0fdf4;color:#166534;border-radius:12px;padding:11px 14px}
#armador-app .bp-attendance-closed span{font-size:12px;color:#15803d}
#armador-app .bp-bio-audit-note{min-height:96px}
@media(max-width:980px){#armador-app .bp-attendance-report-head{display:grid}#armador-app .bp-attendance-report-actions{justify-content:flex-start}#armador-app .bp-attendance-filters{grid-template-columns:1fr 1fr}#armador-app .bp-attendance-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){#armador-app .bp-attendance-filters,#armador-app .bp-attendance-kpis{grid-template-columns:1fr}#armador-app .bp-attendance-closed{display:grid}.bp-fingerprint-progress svg{width:120px;height:148px}}

/* V7.11.1 · Orden de compra adaptable sin desplazamiento horizontal */
.bp-purchase-order-modal{overflow:hidden!important;display:flex!important;flex-direction:column!important;max-height:94vh!important;width:min(1180px,100%)!important;max-width:100%!important}
.bp-purchase-order-modal .bp-modal-body{overflow-y:auto!important;overflow-x:hidden!important;min-width:0!important;flex:1 1 auto!important}
.bp-purchase-order-modal .bp-purchase-items-wrap{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important;overflow-y:visible!important}
.bp-purchase-order-modal .bp-purchase-items-table{display:table!important;width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important;overflow:visible!important;white-space:normal!important}
.bp-purchase-order-modal .bp-purchase-items-table thead{display:table-header-group!important}
.bp-purchase-order-modal .bp-purchase-items-table tbody{display:table-row-group!important}
.bp-purchase-order-modal .bp-purchase-items-table tr{display:table-row!important}
.bp-purchase-order-modal .bp-purchase-items-table th,
.bp-purchase-order-modal .bp-purchase-items-table td{display:table-cell!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;white-space:normal!important;vertical-align:top!important;padding:9px 7px!important}
.bp-purchase-order-modal .bp-purchase-items-table th:nth-child(1),
.bp-purchase-order-modal .bp-purchase-items-table td:nth-child(1){width:34%}
.bp-purchase-order-modal .bp-purchase-items-table th:nth-child(2),
.bp-purchase-order-modal .bp-purchase-items-table td:nth-child(2){width:17%}
.bp-purchase-order-modal .bp-purchase-items-table th:nth-child(3),
.bp-purchase-order-modal .bp-purchase-items-table td:nth-child(3){width:12%}
.bp-purchase-order-modal .bp-purchase-items-table th:nth-child(4),
.bp-purchase-order-modal .bp-purchase-items-table td:nth-child(4){width:15%}
.bp-purchase-order-modal .bp-purchase-items-table th:nth-child(5),
.bp-purchase-order-modal .bp-purchase-items-table td:nth-child(5){width:8%}
.bp-purchase-order-modal .bp-purchase-items-table th:nth-child(6),
.bp-purchase-order-modal .bp-purchase-items-table td:nth-child(6){width:10%}
.bp-purchase-order-modal .bp-purchase-items-table th:nth-child(7),
.bp-purchase-order-modal .bp-purchase-items-table td:nth-child(7){width:4%}
.bp-purchase-order-modal .bp-purchase-items-table select,
.bp-purchase-order-modal .bp-purchase-items-table input,
.bp-purchase-order-modal .bp-purchase-items-table .po-product,
.bp-purchase-order-modal .bp-purchase-items-table .po-purchase-unit,
.bp-purchase-order-modal .bp-purchase-items-table .bp-money-input{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
.bp-purchase-order-modal .bp-purchase-items-table .bp-money-input>input{width:100%!important;min-width:0!important;max-width:100%!important}
.bp-purchase-order-modal .bp-purchase-items-table .po-line-total{word-break:break-word!important}
.bp-purchase-order-modal .bp-purchase-items-table .bp-po-remove-cell{text-align:center!important}

@media(max-width:980px){
  .bp-purchase-order-modal .bp-purchase-items-table{display:block!important;width:100%!important;min-width:0!important}
  .bp-purchase-order-modal .bp-purchase-items-table thead{display:none!important}
  .bp-purchase-order-modal .bp-purchase-items-table tbody{display:grid!important;gap:12px!important;width:100%!important}
  .bp-purchase-order-modal .bp-purchase-items-table .purchase-order-item-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 12px!important;width:100%!important;padding:12px!important;border:1px solid #e2e8f0!important;border-radius:14px!important;background:#fff!important;box-sizing:border-box!important}
  .bp-purchase-order-modal .bp-purchase-items-table .purchase-order-item-row>td{display:block!important;width:auto!important;min-width:0!important;max-width:none!important;border:0!important;border-radius:0!important;padding:0!important;background:transparent!important}
  .bp-purchase-order-modal .bp-purchase-items-table .purchase-order-item-row>td::before{content:attr(data-label);display:block;margin:0 0 5px;color:#475569;font-size:11px;font-weight:900;line-height:1.2}
  .bp-purchase-order-modal .bp-purchase-items-table .purchase-order-item-row>td:first-child{grid-column:1/-1}
  .bp-purchase-order-modal .bp-purchase-items-table .purchase-order-item-row>.bp-po-remove-cell{display:flex!important;justify-content:flex-end!important;align-items:flex-end!important}
  .bp-purchase-order-modal .bp-purchase-items-table .purchase-order-item-row>.bp-po-remove-cell::before{display:none!important}
  .bp-purchase-order-modal .bp-purchase-order-totals{width:100%!important;margin-left:0!important;box-sizing:border-box!important}
}

@media(max-width:620px){
  .bp-purchase-order-modal{width:100%!important;max-width:100%!important;border-radius:14px!important}
  .bp-purchase-order-modal .bp-modal-head,
  .bp-purchase-order-modal .bp-modal-body,
  .bp-purchase-order-modal .bp-modal-actions{padding-left:14px!important;padding-right:14px!important}
  .bp-purchase-order-modal .bp-form-grid.cols-2{grid-template-columns:1fr!important}
  .bp-purchase-order-modal .bp-form-grid .span-2{grid-column:auto!important}
  .bp-purchase-order-modal .bp-purchase-items-head{align-items:stretch!important;flex-direction:column!important}
  .bp-purchase-order-modal .bp-purchase-items-head .armador-btn{width:100%!important;justify-content:center!important}
  .bp-purchase-order-modal .bp-purchase-items-table .purchase-order-item-row{grid-template-columns:1fr!important}
  .bp-purchase-order-modal .bp-purchase-items-table .purchase-order-item-row>td:first-child{grid-column:auto}
  .bp-purchase-order-modal .bp-purchase-items-table .purchase-order-item-row>.bp-po-remove-cell{justify-content:flex-end!important}
  .bp-purchase-order-modal .bp-modal-actions{display:grid!important;grid-template-columns:1fr 1fr!important}
  .bp-purchase-order-modal .bp-modal-actions .armador-btn{width:100%!important;justify-content:center!important}
}

/* V7.12.1 · Selector de materiales en diálogo dedicado, sin recortes ni overlays sobre la orden */
.bp-purchase-order-modal .bp-po-product-picker{width:100%;min-width:0}
.bp-purchase-order-modal .bp-po-product-open{display:grid!important;grid-template-columns:38px minmax(0,1fr);gap:8px;align-items:center;width:100%!important;min-width:0!important;min-height:48px!important;padding:6px 9px!important;border:1px solid #cbd5e1!important;border-radius:10px!important;background:#fff!important;color:#0f172a!important;text-align:left!important;cursor:pointer!important;box-sizing:border-box!important}
.bp-purchase-order-modal .bp-po-product-open:hover,.bp-purchase-order-modal .bp-po-product-open:focus{border-color:#f97316!important;box-shadow:0 0 0 3px rgba(249,115,22,.10)!important;outline:0!important}
.bp-purchase-order-modal .bp-po-product-open>img,.bp-purchase-order-modal .bp-po-product-open>i{width:34px;height:34px;border-radius:7px;object-fit:contain;background:#f1f5f9;display:grid;place-items:center;font-style:normal;color:#64748b;font-size:16px}
.bp-purchase-order-modal .bp-po-product-open>i.is-search{background:#fff7ed;color:#c2410c}
.bp-purchase-order-modal .bp-po-product-open-copy{display:grid;gap:2px;min-width:0}
.bp-purchase-order-modal .bp-po-product-open-copy>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.2;font-weight:800;color:#0f172a}
.bp-purchase-order-modal .bp-po-product-open-copy>small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.2;color:#64748b}
.bp-po-selector-backdrop{z-index:100120!important}
.bp-po-selector-modal{width:min(820px,calc(100vw - 36px))!important;max-width:100%!important;max-height:92vh!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
.bp-po-selector-modal .bp-modal-body{display:grid!important;grid-template-rows:auto auto minmax(180px,1fr) auto!important;gap:0!important;overflow:hidden!important;min-height:0!important;padding:16px 18px!important}
.bp-po-selector-modal .bp-modal-head p{margin:5px 0 0;color:#64748b}
.bp-po-selector-search{display:flex;align-items:center;gap:8px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;padding:0 12px;margin-bottom:10px;box-shadow:0 1px 2px rgba(15,23,42,.03)}
.bp-po-selector-search:focus-within{border-color:#f97316;box-shadow:0 0 0 3px rgba(249,115,22,.10)}
.bp-po-selector-search>span{font-size:17px;color:#64748b;flex:0 0 auto}
.bp-po-selector-search input{width:100%!important;height:44px!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;min-width:0!important;color:#0f172a!important}
.bp-po-selector-head{display:grid;grid-template-columns:minmax(0,1fr) 80px 105px 115px;gap:10px;padding:10px 12px;background:#0b0b0c;color:#fff;border-radius:10px 10px 0 0;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.03em}
.bp-po-selector-list{min-height:0;max-height:52vh;overflow-y:auto;overflow-x:hidden;border:1px solid #e2e8f0;border-top:0;border-radius:0 0 12px 12px;background:#fff}
.bp-po-selector-result{display:grid!important;grid-template-columns:44px minmax(0,1fr) 80px 105px 115px;gap:10px;align-items:center;width:100%!important;padding:10px 12px!important;border:0!important;border-bottom:1px solid #e5e7eb!important;border-radius:0!important;background:#fff!important;color:#0f172a!important;text-align:left!important;cursor:pointer!important;box-sizing:border-box!important}
.bp-po-selector-result:last-child{border-bottom:0!important}
.bp-po-selector-result:hover,.bp-po-selector-result.is-active{background:#fff7ed!important;box-shadow:inset 3px 0 #f97316!important}
.bp-po-selector-result img,.bp-po-selector-result>i{width:40px;height:40px;border-radius:8px;object-fit:contain;background:#f1f5f9;display:grid;place-items:center;font-style:normal;color:#64748b}
.bp-po-selector-main{min-width:0}
.bp-po-selector-main strong,.bp-po-selector-main small{display:block;min-width:0}
.bp-po-selector-main strong{font-size:13px;line-height:1.3;color:#0f172a;white-space:normal}
.bp-po-selector-main small{margin-top:2px;font-size:10px;line-height:1.35;color:#64748b;white-space:normal}
.bp-po-selector-result>b{font-size:12px;color:#0f172a}
.bp-po-selector-result>em{font-style:normal;font-size:12px;font-weight:900;color:#0f172a}
.bp-po-selector-sat{font-size:10px;line-height:1.3;color:#475569;word-break:break-word}
.bp-po-selector-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 2px 0;color:#64748b;font-size:11px}
.bp-po-selector-footer small{color:#94a3b8}
.bp-po-selector-empty{display:grid;gap:4px;padding:34px 16px;text-align:center;color:#64748b}
.bp-po-selector-empty strong{color:#0f172a;font-size:14px}
@media(max-width:700px){
  .bp-po-selector-modal{width:calc(100vw - 18px)!important}
  .bp-po-selector-modal .bp-modal-head,.bp-po-selector-modal .bp-modal-actions{padding-left:14px!important;padding-right:14px!important}
  .bp-po-selector-modal .bp-modal-body{padding:12px!important}
  .bp-po-selector-head{display:none}
  .bp-po-selector-list{border-top:1px solid #e2e8f0;border-radius:12px;max-height:58vh}
  .bp-po-selector-result{grid-template-columns:42px minmax(0,1fr) auto!important;gap:8px!important;padding:10px!important}
  .bp-po-selector-result>em{grid-column:2;justify-self:start;color:#475569}
  .bp-po-selector-result>b{grid-column:3;grid-row:1/3;align-self:center}
  .bp-po-selector-sat{display:none}
  .bp-po-selector-footer{display:block}
  .bp-po-selector-footer small{display:block;margin-top:3px}
}


/* V7.14.0 · Mesa de trabajo de cotizaciones simultáneas */
.bp-quote-workbench-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 18px;align-items:center;margin:0 0 14px;padding:14px 16px;background:#fff;border:1px solid #e4eaf2;border-radius:16px;box-shadow:0 6px 18px rgba(15,23,42,.04)}
.bp-quote-workbench-heading{display:flex;align-items:center;gap:12px;min-width:0}.bp-quote-workbench-heading strong{font-size:14px;color:#111827}.bp-quote-workbench-heading strong span{display:inline-flex;align-items:center;justify-content:center;min-width:42px;padding:3px 8px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:12px}.bp-quote-workbench-save-state{font-size:11px;color:#64748b}.bp-quote-workbench-save-state.is-saving{color:#ea580c}.bp-quote-workbench-save-state.is-saved{color:#15803d}.bp-quote-workbench-save-state.is-error{color:#dc2626}
.bp-quote-workbench-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.bp-quote-workbench-tabs{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;padding:2px 0 4px}.bp-quote-workbench-tab{position:relative;display:grid;gap:2px;min-width:180px;max-width:280px;padding:9px 34px 9px 11px;border:1px solid #dbe3ee;border-radius:12px;background:#f8fafc;color:#0f172a;text-align:left;cursor:pointer}.bp-quote-workbench-tab:hover{border-color:#fb923c;background:#fff7ed}.bp-quote-workbench-tab.is-active{border-color:#ff6500;background:#fff7ed;box-shadow:inset 0 0 0 1px #ff6500}.bp-quote-workbench-tab-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:800;font-size:12px}.bp-quote-workbench-tab small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#64748b}.bp-quote-workbench-tab .close-workbench{position:absolute;right:8px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:20px;height:20px;border-radius:999px;font-style:normal;font-size:15px;color:#64748b}.bp-quote-workbench-tab .close-workbench:hover{background:#fee2e2;color:#dc2626}
.bp-workbench-picker{width:min(880px,94vw);max-height:min(760px,90vh);display:flex;flex-direction:column}.bp-workbench-picker .bp-search-bar{margin:0 0 12px}.bp-workbench-picker-results{display:grid;gap:8px;overflow:auto;min-height:180px;max-height:58vh;padding-right:4px}.bp-workbench-picker-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:center;width:100%;padding:12px 14px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;text-align:left;cursor:pointer}.bp-workbench-picker-row:hover{border-color:#fb923c;background:#fff7ed}.bp-workbench-picker-row span{display:grid;gap:3px;min-width:0}.bp-workbench-picker-row strong,.bp-workbench-picker-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bp-workbench-picker-row small{color:#64748b}.bp-workbench-picker-row b{white-space:nowrap}.bp-workbench-picker-row em{padding:4px 8px;border-radius:999px;background:#f1f5f9;color:#475569;font-style:normal;font-size:11px;white-space:nowrap}
@media(max-width:900px){.bp-quote-workbench-toolbar{grid-template-columns:1fr}.bp-quote-workbench-actions{justify-content:flex-start}.bp-quote-workbench-tabs{grid-column:1}.bp-workbench-picker-row{grid-template-columns:minmax(0,1fr) auto}.bp-workbench-picker-row em{grid-column:1/-1;justify-self:start}}

/* V7.14.1 · Facturación de venta en modal desde Nueva cotización */
.bp-fiscal-modal{width:min(1180px,100%);height:min(900px,calc(100vh - 40px));max-height:calc(100vh - 40px);padding:0;overflow:hidden;display:flex;flex-direction:column}
.bp-fiscal-modal>.armador-modal-head{flex:0 0 auto;padding:18px 20px;border-bottom:1px solid #e2e8f0}
.bp-fiscal-modal-body{flex:1 1 auto;min-height:0;background:#f5f7fb}
.bp-fiscal-modal-frame{display:block;width:100%;height:100%;min-height:0;border:0;background:#f5f7fb}
@media(max-width:760px){.bp-fiscal-modal{height:calc(100vh - 20px);max-height:calc(100vh - 20px)}.bp-fiscal-modal>.armador-modal-head{padding:14px 16px}}


/* V7.20.0 · Cambio de material: modal ancho, legible y sin desbordes globales. */
.bp-sale-change-backdrop{padding:16px!important;align-items:center!important}
.bp-sale-change-card{width:min(1320px,calc(100vw - 32px))!important;max-width:1320px!important;height:min(92vh,900px);max-height:92vh!important;padding:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;border-radius:22px!important}
.bp-sale-change-head{margin:0!important;padding:20px 24px!important;border-bottom:1px solid #e2e8f0;flex:0 0 auto;background:#fff}
.bp-sale-change-head h3{font-size:25px!important;margin:3px 0 5px!important}.bp-sale-change-head p{max-width:850px}
.bp-sale-change-body{padding:18px 24px 24px;overflow-y:auto;overflow-x:hidden;min-height:0;display:grid;gap:16px;background:#f8fafc}
.bp-sale-change-alert{display:grid;gap:4px;border:1px solid #fed7aa;background:#fff7ed;color:#9a3412;border-radius:14px;padding:12px 14px;line-height:1.45}.bp-sale-change-alert strong{color:#7c2d12}.bp-sale-change-alert span{font-size:12px;color:#9a3412}
.bp-sale-change-columns{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px;align-items:start;min-width:0}
.bp-sale-change-panel,.bp-sale-change-history{background:#fff;border:1px solid #e2e8f0;border-radius:17px;padding:16px;min-width:0;box-shadow:0 6px 20px rgba(15,23,42,.04)}
.bp-sale-change-panel.is-new{border-color:#fed7aa}
.bp-sale-change-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.bp-sale-change-panel-head h4{margin:3px 0 0;font-size:17px;color:#0f172a}.bp-sale-change-panel-head>strong{white-space:nowrap;color:#166534;background:#dcfce7;padding:7px 10px;border-radius:999px;font-size:13px}
.bp-sale-change-source-wrap{overflow-x:auto;max-width:100%;border-radius:12px}.bp-sale-change-source{width:100%!important;min-width:0!important;table-layout:fixed}.bp-sale-change-source th:first-child,.bp-sale-change-source td:first-child{width:48%}.bp-sale-change-source th:nth-child(2),.bp-sale-change-source td:nth-child(2){width:18%}.bp-sale-change-source th:nth-child(3),.bp-sale-change-source td:nth-child(3),.bp-sale-change-source th:nth-child(4),.bp-sale-change-source td:nth-child(4){width:17%}.bp-sale-change-source td{vertical-align:top}.bp-sale-change-source td small,.bp-sale-change-concept small{display:block;color:#64748b;margin-top:3px;word-break:break-word}.bp-sale-change-concept strong{display:block;white-space:normal;overflow-wrap:anywhere;line-height:1.35}
.bp-sale-change-addbar{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:9px;align-items:end;margin-bottom:13px}.bp-sale-change-addbar .armador-field{margin:0;min-width:0}.bp-sale-change-addbar select{width:100%;min-width:0}
.bp-sale-change-items{display:grid;gap:9px}.bp-sale-change-empty{border:1px dashed #cbd5e1;border-radius:12px;padding:18px;text-align:center;color:#64748b;background:#f8fafc}
.bp-sale-change-item{display:grid;grid-template-columns:minmax(82px,.8fr) minmax(90px,.9fr) minmax(105px,1fr) minmax(105px,1fr) auto;gap:9px;align-items:end;padding:12px;border:1px solid #e2e8f0;border-radius:13px;background:#fff;min-width:0}.bp-sale-change-item-main{grid-column:1/-1}.bp-sale-change-item label{display:grid;gap:5px;min-width:0}.bp-sale-change-item label>span,.bp-sale-change-line-total>span{font-size:10px;font-weight:800;text-transform:uppercase;color:#64748b;letter-spacing:.035em}.bp-sale-change-item input{width:100%!important;min-width:0!important;margin:0!important}.bp-sale-change-item-main{min-width:0}.bp-sale-change-item-main small{display:block;margin-top:4px;color:#64748b;white-space:normal;overflow-wrap:anywhere}.bp-sale-change-line-total{display:grid;gap:7px;align-self:stretch;align-content:center;padding:0 3px}.bp-sale-change-line-total strong{font-size:14px;white-space:nowrap;color:#0f172a}.bp-sale-change-item .sale-adjustment-remove{align-self:center;white-space:nowrap}
.bp-sale-change-totals{margin-top:13px;margin-left:auto;width:min(100%,430px);border:1px solid #e2e8f0;border-radius:13px;overflow:hidden;background:#fff}.bp-sale-change-totals>div:not(#saleAdjustmentDifference){display:flex;justify-content:space-between;gap:16px;padding:8px 12px;border-bottom:1px solid #e2e8f0}.bp-sale-change-totals .is-total{background:#0f172a;color:#fff;font-size:15px}.bp-sale-change-totals #saleAdjustmentDifference{padding:9px}
.bp-sale-change-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px}.bp-sale-change-meta .armador-field{margin:0}
.bp-sale-change-history .armador-table-wrap{max-width:100%;overflow-x:auto}.bp-sale-change-history .armador-table{min-width:760px}
.bp-sale-change-actions{display:flex;justify-content:flex-end;align-items:center;gap:9px;flex-wrap:wrap;padding:15px 24px;border-top:1px solid #e2e8f0;background:#fff;flex:0 0 auto;position:sticky;bottom:0;z-index:3}
.bp-sale-change-actions .armador-btn{min-height:40px}
.bp-sale-auth-modal{width:min(620px,100%)!important}.bp-sale-auth-modal .bp-modal-head p{margin:5px 0 0;color:#64748b;line-height:1.45}.bp-sale-auth-layout{display:grid;grid-template-columns:190px 1fr;gap:22px;align-items:center;padding:6px}.bp-sale-auth-layout>div:last-child>strong{font-size:19px;color:#0f172a}.bp-sale-auth-layout p{color:#475569;line-height:1.5}.bp-sale-auth-layout small{color:#64748b;line-height:1.45}
.bp-quotes-current-month-note{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 13px;margin-bottom:12px;border:1px solid #dbeafe;background:#eff6ff;border-radius:12px}.bp-quotes-current-month-note div{display:grid;gap:2px}.bp-quotes-current-month-note strong{color:#1e3a8a}.bp-quotes-current-month-note span{font-size:12px;color:#475569}
@media(max-width:1120px){.bp-sale-change-columns{grid-template-columns:1fr}.bp-sale-change-item{grid-template-columns:minmax(82px,.8fr) minmax(90px,.9fr) minmax(105px,1fr) minmax(105px,1fr) auto}.bp-sale-change-item-main{grid-column:1/-1}}
@media(max-width:820px){.bp-sale-change-backdrop{padding:6px!important}.bp-sale-change-card{width:calc(100vw - 12px)!important;height:calc(100vh - 12px);max-height:calc(100vh - 12px)!important;border-radius:14px!important}.bp-sale-change-head,.bp-sale-change-actions{padding-left:14px!important;padding-right:14px!important}.bp-sale-change-body{padding:12px 14px 16px}.bp-sale-change-item{grid-template-columns:1fr 1fr}.bp-sale-change-item-main{grid-column:1/-1}.bp-sale-change-line-total{padding:7px 0}.bp-sale-change-item .sale-adjustment-remove{justify-self:end}.bp-sale-change-addbar{grid-template-columns:1fr 1fr}.bp-sale-change-addbar .armador-field{grid-column:1/-1}.bp-sale-change-meta{grid-template-columns:1fr}.bp-sale-auth-layout{grid-template-columns:1fr;justify-items:center;text-align:center}.bp-quotes-current-month-note{display:grid}}
@media(max-width:520px){.bp-sale-change-item{grid-template-columns:1fr}.bp-sale-change-item-main{grid-column:auto}.bp-sale-change-item .sale-adjustment-remove{justify-self:stretch}.bp-sale-change-addbar{grid-template-columns:1fr}.bp-sale-change-addbar .armador-field{grid-column:auto}.bp-sale-change-actions{display:grid;grid-template-columns:1fr}.bp-sale-change-actions .armador-btn{width:100%;justify-content:center}}
.bp-sale-change-history td small{display:block;margin-top:3px;color:#64748b;line-height:1.35}


/* V7.20.3 · Buscador incremental dentro de Cambio de material. */
.bp-sale-change-product-picker{position:relative;min-width:0}.bp-sale-change-product-picker .armador-field{margin:0}.bp-sale-change-product-picker .bp-product-search-bar{min-height:48px!important}.bp-sale-change-product-results{position:absolute!important;left:0!important;right:0!important;top:76px!important;z-index:250!important;max-height:360px!important;overflow:auto!important;background:#fff!important;box-shadow:0 20px 55px rgba(15,23,42,.18)!important}.bp-sale-change-product-results .bp-product-search-row{border-radius:9px!important;margin:2px 0}.bp-sale-change-product-results .bp-product-search-row:hover,.bp-sale-change-product-results .bp-product-search-row.is-keyboard-active{background:#fff7ed!important;box-shadow:inset 3px 0 #f97316!important}.bp-sale-change-addbar{grid-template-columns:minmax(360px,1fr) auto!important;align-items:end}.bp-sale-change-addbar #saleAdjustmentAddManual{min-height:48px}
@media(max-width:820px){.bp-sale-change-addbar{grid-template-columns:1fr!important}.bp-sale-change-product-results{top:76px!important}}


/* V7.21.0 · Huella por usuario desde el panel Usuarios */
#armador-app .armador-user-biometric{border:1px solid #dbeafe;background:linear-gradient(180deg,#f8fbff 0%,#fff 100%);border-radius:15px;padding:13px;display:grid;gap:10px}
#armador-app .bp-user-bio-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
#armador-app .bp-user-bio-head h4{margin:2px 0 0;font-size:16px;color:#0f172a}
#armador-app .bp-user-bio-linked{display:grid;gap:3px;border:1px solid #e2e8f0;background:#fff;border-radius:11px;padding:10px 12px}
#armador-app .bp-user-bio-linked span{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;color:#64748b}
#armador-app .bp-user-bio-linked strong{font-size:13px;color:#0f172a}
#armador-app .bp-user-bio-linked small{color:#64748b;line-height:1.35}
#armador-app .bp-user-bio-link{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:8px;align-items:end}
#armador-app .bp-user-bio-link .armador-field,#armador-app .bp-user-bio-controls .armador-field{margin:0}
#armador-app .bp-user-bio-controls{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:10px;align-items:end}
#armador-app .bp-user-bio-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
#armador-app .armador-user-biometric>p{margin:0;color:#475569;font-size:12px;line-height:1.45}
#armador-app .armador-user-biometric>small{color:#64748b}
#armador-app .bp-user-bio-global{margin-top:16px;border-top:1px solid #e2e8f0;padding-top:14px;display:grid;gap:7px}
#armador-app .bp-user-bio-global>strong{color:#0f172a}
#armador-app .bp-user-bio-global>span,#armador-app .bp-user-bio-global>small{color:#64748b;font-size:12px;line-height:1.4}
#armador-app .bp-user-bio-global>div{display:flex;gap:7px;flex-wrap:wrap}
#userBioEnrollmentWaitModal[data-stage="completed"] .bp-fingerprint-progress .bp-fp-line{stroke:#16a34a}
#userBioEnrollmentWaitModal[data-stage="completed"] .bp-fp-step.is-done{background:#16a34a;border-color:#16a34a}
@media(max-width:760px){#armador-app .bp-user-bio-link,#armador-app .bp-user-bio-controls{grid-template-columns:1fr}#armador-app .bp-user-bio-actions{justify-content:flex-start}}


/* V7.22.0 · Estado vigente e historial auditable de cambios de material */
.bp-sale-current-state{margin:0 0 14px;border:1px solid #fdba74;background:linear-gradient(135deg,#fff7ed,#fff);border-radius:16px;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:18px}.bp-sale-current-state h3{margin:3px 0 0;font-size:17px}.bp-sale-current-metrics{display:grid;grid-template-columns:repeat(4,minmax(125px,1fr));gap:8px;min-width:min(720px,68%)}.bp-sale-current-metrics>div{background:#fff;border:1px solid #fed7aa;border-radius:12px;padding:10px 12px}.bp-sale-current-metrics span,.bp-effective-money small{display:block;color:#64748b;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}.bp-sale-current-metrics strong{display:block;margin-top:4px;font-size:15px;color:#0f172a}.bp-sale-current-metrics small{display:block;color:#94a3b8;font-size:10px;margin-top:3px}.is-positive{color:#047857!important}.is-negative{color:#be123c!important}.is-neutral{color:#475569!important}.bp-sale-history{margin-top:16px;border:1px solid #dbe3ef;border-radius:16px;background:#fff;padding:16px}.bp-sale-history-title h3{margin:3px 0 2px}.bp-sale-history-title p{margin:0;color:#64748b;font-size:12px}.bp-sale-history-event{margin-top:12px;border:1px solid #dbe3ef;border-radius:13px;padding:12px;background:#fff}.bp-sale-history-event.is-original{background:#f8fafc}.bp-sale-history-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.bp-sale-history-head strong{display:block}.bp-sale-history-head small{display:block;color:#64748b;margin-top:3px}.bp-sale-history-delta{border-radius:999px;background:#f1f5f9;padding:5px 9px;font-size:10px;font-weight:900;white-space:nowrap}.bp-sale-history-delta.is-positive{background:#ecfdf5}.bp-sale-history-delta.is-negative{background:#fff1f2}.bp-sale-history-totals{margin-top:8px;font-size:12px;color:#475569}.bp-sale-history-event ul{list-style:none;margin:8px 0 0;padding:0;border-top:1px solid #eef2f7}.bp-sale-history-event li{display:flex;justify-content:space-between;gap:12px;padding:7px 2px;border-bottom:1px solid #eef2f7;font-size:12px}.bp-sale-history-event li:last-child{border-bottom:0}.bp-sale-history-event li small{color:#64748b;margin-left:6px}.bp-effective-money{display:grid;gap:3px;min-width:138px}.bp-effective-money strong{font-size:15px}.bp-effective-money span{font-size:11px;font-weight:900}.bp-effective-money em{font-style:normal;color:#64748b;font-size:10px}.bp-cost-change-warning{display:block;margin-top:7px;max-width:180px;color:#9a3412;font-weight:700;line-height:1.3}@media(max-width:1100px){.bp-sale-current-state{display:block}.bp-sale-current-metrics{min-width:0;width:100%;margin-top:12px;grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.bp-sale-current-metrics{grid-template-columns:1fr}.bp-sale-history-head{display:block}.bp-sale-history-delta{display:inline-block;margin-top:7px}}

/* V7.23.0 · Cobro de diferencias por cambio de material */
.bp-sale-history-payment{margin:10px 0 0;padding:9px 11px;border:1px solid #dbe3ee;border-radius:10px;background:#f8fafc;color:#475569;font-size:11px}.bp-sale-history-payment.is-paid{border-color:#bbf7d0;background:#f0fdf4;color:#166534}.bp-text-success{color:#15803d!important}.bp-sale-change-history td small{display:block;margin-top:4px;color:#64748b}.bp-sale-change-history td .armador-btn{margin-top:6px;margin-right:4px}


/* V7.26.1 — Ajuste visual exclusivo de Configuración > POS 58 mm. */
#armador-app #armadorTab-settings{width:100%;max-width:1680px;margin:0 auto;box-sizing:border-box}
#armador-app #armadorTab-settings .bp-settings-top-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
#armador-app #armadorTab-settings .bp-settings-top-grid>.bp-pos-settings-card{grid-column:1/-1}
#armador-app #armadorTab-settings .bp-settings-brand-card,
#armador-app #armadorTab-settings .bp-settings-template-card{align-self:start;min-width:0}
#armador-app #armadorTab-settings .bp-pos-settings-card{padding:22px!important;overflow:visible!important;border:1px solid #e2e8f0!important;box-shadow:0 16px 42px rgba(15,23,42,.06)!important}
#armador-app #armadorTab-settings .bp-pos-settings-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid #e8edf3}
#armador-app #armadorTab-settings .bp-pos-settings-head h2{margin:4px 0 6px!important;font-size:22px!important;line-height:1.18!important;color:#0f172a}
#armador-app #armadorTab-settings .bp-pos-settings-head p{margin:0!important;max-width:760px!important;font-size:13px!important;line-height:1.55!important;color:#64748b!important}
#armador-app #armadorTab-settings .bp-settings-kicker{display:block;font-size:10px;font-weight:900;letter-spacing:.09em;color:#f97316}
#armador-app #armadorTab-settings .bp-pos-local-badge{flex:0 0 auto;display:inline-flex;align-items:center;min-height:30px;padding:0 11px;border:1px solid #fed7aa;border-radius:999px;background:#fff7ed;color:#9a3412;font-size:11px;font-weight:900;white-space:nowrap}
#armador-app #armadorTab-settings .bp-pos-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 10px}
#armador-app #armadorTab-settings .bp-pos-status-box{min-width:0;padding:14px 15px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}
#armador-app #armadorTab-settings .bp-pos-status-box>span{display:block;margin-bottom:6px;font-size:10px;font-weight:900;letter-spacing:.055em;text-transform:uppercase;color:#64748b}
#armador-app #armadorTab-settings .bp-pos-status-box>strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.35;color:#0f172a}
#armador-app #armadorTab-settings .bp-pos-status-box>small{display:block;margin-top:5px;font-size:10px;color:#94a3b8}
#armador-app #armadorTab-settings .bp-pos-connection-detail{padding:10px 12px;border-radius:10px;background:#fff7ed;color:#9a3412;font-size:11px;font-weight:700;line-height:1.45}
#armador-app #armadorTab-settings .bp-pos-settings-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}
#armador-app #armadorTab-settings .bp-pos-settings-section{min-width:0;padding:16px;border:1px solid #e2e8f0;border-radius:15px;background:#fff}
#armador-app #armadorTab-settings .bp-pos-section-head{display:flex;gap:10px;align-items:flex-start;margin-bottom:14px}
#armador-app #armadorTab-settings .bp-pos-section-head>span{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:9px;background:#0f172a;color:#fff;font-size:12px;font-weight:900}
#armador-app #armadorTab-settings .bp-pos-section-head strong{display:block;font-size:13px;color:#0f172a}
#armador-app #armadorTab-settings .bp-pos-section-head small{display:block;margin-top:2px;font-size:10px;line-height:1.4;color:#64748b}
#armador-app #armadorTab-settings .bp-pos-settings-section .armador-field{margin-bottom:11px}
#armador-app #armadorTab-settings .bp-pos-settings-section .armador-field span{font-size:11px}
#armador-app #armadorTab-settings .bp-pos-settings-section .armador-field input,
#armador-app #armadorTab-settings .bp-pos-settings-section .armador-field select{min-height:42px;padding:9px 11px;border-radius:10px}
#armador-app #armadorTab-settings .bp-pos-hardware-grid{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:10px;align-items:start}
#armador-app #armadorTab-settings .bp-pos-button-row,
#armador-app #armadorTab-settings .bp-pos-test-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
#armador-app #armadorTab-settings .bp-pos-test-row{margin-top:8px;padding-top:10px;border-top:1px solid #eef2f7}
#armador-app #armadorTab-settings .bp-pos-button-row .armador-btn,
#armador-app #armadorTab-settings .bp-pos-test-row .armador-btn{min-height:38px;padding:9px 12px;border-radius:10px;font-size:11px;justify-content:center}
#armador-app #armadorTab-settings .bp-pos-auto-panel{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(360px,1.4fr) auto;gap:14px;align-items:center;margin-top:14px;padding:14px 16px;border:1px solid #fed7aa;border-radius:15px;background:linear-gradient(135deg,#fff7ed,#fff)}
#armador-app #armadorTab-settings .bp-pos-auto-panel>div>strong{display:block;font-size:12px;color:#0f172a}
#armador-app #armadorTab-settings .bp-pos-auto-panel>div>small{display:block;margin-top:3px;font-size:10px;color:#64748b}
#armador-app #armadorTab-settings .bp-pos-toggle-row{display:flex;gap:9px;align-items:flex-start;margin:0;font-size:11px;font-weight:800;line-height:1.4;color:#334155}
#armador-app #armadorTab-settings .bp-pos-toggle-row input{flex:0 0 auto;margin:2px 0 0}
#armador-app #armadorTab-settings .bp-pos-auto-panel>.armador-btn{white-space:nowrap;min-height:40px;padding:9px 13px;border-radius:10px;font-size:11px}
#armador-app #armadorTab-settings .bp-pos-footnote{margin-top:12px;padding-top:11px;border-top:1px solid #eef2f7;font-size:10px;line-height:1.5;color:#64748b}
@media(max-width:1180px){
  #armador-app #armadorTab-settings .bp-pos-settings-body{grid-template-columns:1fr}
  #armador-app #armadorTab-settings .bp-pos-auto-panel{grid-template-columns:1fr}
  #armador-app #armadorTab-settings .bp-pos-auto-panel>.armador-btn{width:max-content}
}
@media(max-width:900px){
  #armador-app #armadorTab-settings .bp-settings-top-grid{grid-template-columns:1fr}
  #armador-app #armadorTab-settings .bp-settings-top-grid>.bp-pos-settings-card{grid-column:auto}
  #armador-app #armadorTab-settings .bp-pos-status-grid{grid-template-columns:1fr}
  #armador-app #armadorTab-settings .bp-pos-hardware-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
  #armador-app #armadorTab-settings .bp-pos-settings-card{padding:15px!important}
  #armador-app #armadorTab-settings .bp-pos-settings-head{display:block}
  #armador-app #armadorTab-settings .bp-pos-local-badge{margin-top:10px}
  #armador-app #armadorTab-settings .bp-pos-button-row,
  #armador-app #armadorTab-settings .bp-pos-test-row{display:grid;grid-template-columns:1fr}
  #armador-app #armadorTab-settings .bp-pos-button-row .armador-btn,
  #armador-app #armadorTab-settings .bp-pos-test-row .armador-btn,
  #armador-app #armadorTab-settings .bp-pos-auto-panel>.armador-btn{width:100%!important}
}


/* V7.28.0 · Responsive global por ancho útil de pantalla.
   Alcance: navegación, contenedores y lectura de tablas. No altera lógica ni datos. */
body.armador-nav-lock{overflow:hidden!important}
#armador-app .armador-compact-header,
#armador-app .armador-menu-close,
#armador-app .armador-nav-overlay{display:none}
#armador-app .bp-responsive-table-host,
#armador-app .armador-table-wrap{max-width:100%;overflow-x:auto;overflow-y:visible;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
#armador-app .armador-tab{max-width:100%;overflow:visible}
#armador-app .armador-card{max-width:100%}
#armador-app .armador-main{min-width:0}

/* Hasta 1680 px se libera el ancho del contenido y la navegación pasa a un cajón lateral.
   Esto incluye laptops 1366/1440/1600 e iPad en modo escritorio. */
@media(max-width:1680px){
  #armador-app.armador-app{display:block!important;grid-template-columns:none!important;position:relative!important;min-height:100dvh!important}
  #armador-app .armador-main{width:100%!important;min-width:0!important;padding:clamp(12px,1.35vw,22px)!important;overflow-x:clip!important}
  #armador-app .armador-compact-header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;position:sticky!important;top:0!important;z-index:130!important;margin:calc(-1 * clamp(12px,1.35vw,22px)) calc(-1 * clamp(12px,1.35vw,22px)) 14px!important;padding:10px clamp(12px,1.35vw,22px)!important;min-height:58px!important;background:rgba(248,250,252,.94)!important;border-bottom:1px solid #e2e8f0!important;box-shadow:0 6px 20px rgba(15,23,42,.06)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
  body.admin-bar #armador-app .armador-compact-header{top:32px!important}
  #armador-app .armador-menu-toggle{display:grid!important;place-content:center!important;gap:4px!important;flex:0 0 42px!important;width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border:1px solid #dbe3ef!important;border-radius:12px!important;background:#fff!important;color:#0f172a!important;box-shadow:0 3px 10px rgba(15,23,42,.05)!important;cursor:pointer!important}
  #armador-app .armador-menu-toggle span{display:block!important;width:18px!important;height:2px!important;border-radius:999px!important;background:#0f172a!important}
  #armador-app .armador-compact-brand{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important;flex:1 1 auto!important}
  #armador-app .armador-compact-logo{display:grid!important;place-items:center!important;flex:0 0 34px!important;width:34px!important;height:34px!important;border-radius:10px!important;overflow:hidden!important;background:linear-gradient(135deg,var(--armador-orange),var(--armador-gold))!important;font-size:10px!important;font-weight:900!important;color:#111827!important}
  #armador-app .armador-compact-logo img{width:100%!important;height:100%!important;display:block!important;object-fit:contain!important}
  #armador-app .armador-compact-brand strong{display:block!important;max-width:min(46vw,420px)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#0f172a!important;font-size:13px!important;line-height:1.2!important}
  #armador-app .armador-compact-brand span{display:block!important;margin-top:2px!important;max-width:min(48vw,520px)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#64748b!important;font-size:11px!important;font-weight:800!important}
  #armador-app .armador-sidebar{display:flex!important;flex-direction:column!important;position:fixed!important;left:0!important;top:0!important;bottom:0!important;z-index:10002!important;width:min(330px,88vw)!important;min-width:0!important;max-width:330px!important;height:100dvh!important;padding:18px 14px 14px!important;overflow:hidden!important;background:#08090b!important;transform:translate3d(-104%,0,0)!important;transition:transform .22s ease!important;box-shadow:20px 0 55px rgba(2,6,23,.28)!important;visibility:hidden!important}
  body.admin-bar #armador-app .armador-sidebar{top:32px!important;height:calc(100dvh - 32px)!important}
  #armador-app.is-nav-open .armador-sidebar{transform:translate3d(0,0,0)!important;visibility:visible!important}
  #armador-app .armador-nav-overlay{display:block!important;position:fixed!important;inset:0!important;z-index:10001!important;background:rgba(15,23,42,.48)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:opacity .18s ease,visibility .18s ease!important;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
  #armador-app.is-nav-open .armador-nav-overlay{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
  #armador-app .armador-brand{display:flex!important;align-items:center!important;min-height:48px!important;margin:0 0 12px!important;padding:0 2px 12px!important;border-bottom:1px solid #242830!important;gap:10px!important}
  #armador-app .armador-brand-copy{min-width:0!important;flex:1 1 auto!important}
  #armador-app .armador-brand-copy strong{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  #armador-app .armador-menu-close{display:grid!important;place-items:center!important;flex:0 0 38px!important;width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;border:1px solid #2b3038!important;border-radius:11px!important;background:#15171b!important;color:#fff!important;font-size:23px!important;line-height:1!important;cursor:pointer!important}
  #armador-app .armador-nav-scroll{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;gap:7px!important;width:100%!important;min-height:0!important;overflow-x:hidden!important;overflow-y:auto!important;padding:2px 2px 8px!important;scroll-snap-type:none!important;scrollbar-width:thin!important}
  #armador-app .armador-nav-scroll>.armador-nav,
  #armador-app .armador-subnav-group .armador-nav{display:flex!important;align-items:center!important;flex:0 0 auto!important;width:100%!important;min-width:0!important;min-height:42px!important;padding:10px 13px!important;border-radius:10px!important;white-space:normal!important;text-align:left!important;font-size:12.5px!important;scroll-snap-align:none!important}
  #armador-app .armador-subnav-group{display:block!important;margin:-1px 0 4px 14px!important;padding-left:9px!important;border-left:1px solid #2b3038!important}
  #armador-app .armador-nav-scroll>.armador-nav.is-active,
  #armador-app .armador-subnav-group .armador-nav.is-active{background:#fff!important;border-color:#fff!important;color:#111827!important;box-shadow:inset 4px 0 0 var(--armador-orange)!important}
  #armador-app .armador-sidebar-card{display:none!important}
  #armador-app .armador-logout{position:static!important;display:flex!important;flex:0 0 auto!important;width:100%!important;min-width:0!important;min-height:42px!important;margin:8px 0 0!important;padding:10px 13px!important;border-radius:10px!important;font-size:12px!important}
  #armador-app .armador-hero{margin-bottom:14px!important}
  #armador-app .armador-grid.three{grid-template-columns:minmax(280px,360px) minmax(0,1fr)!important}
  #armador-app .armador-grid.three>.armador-card:nth-child(3){grid-column:1/-1!important}
  #armador-app .bp-client-shell,#armador-app .bp-products-shell{grid-template-columns:minmax(340px,38%) minmax(0,1fr)!important}
  #armador-app #armadorTab-settings{max-width:none!important}
  #armador-app .dashboard-quotes-table{min-width:1240px!important}
  #armador-app .bp-quotes-table{min-width:1320px!important}
}

/* Portátil compacto / tablet horizontal: módulos de dos columnas pasan a una sola cuando hace falta. */
@media(max-width:1280px){
  #armador-app .armador-grid,#armador-app .armador-grid.three,#armador-app .users-layout{grid-template-columns:1fr!important}
  #armador-app .armador-grid.three>.armador-card:nth-child(3){grid-column:auto!important}
  #armador-app .bp-client-shell,#armador-app .bp-products-shell{grid-template-columns:1fr!important}
  #armador-app .bp-client-list,#armador-app .bp-product-list{max-height:380px!important}
  #armador-app .bp-module-hero,#armador-app .armador-hero{display:grid!important;grid-template-columns:1fr!important;align-items:start!important;gap:12px!important}
  #armador-app .bp-hero-actions,#armador-app .armador-actions{justify-content:flex-start!important;max-width:100%!important}
  #armador-app .dashboard-executive-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Cotizaciones y detalle del dashboard se convierten en tarjetas legibles cuando
   el ancho útil ya no permite mostrar todas las columnas sin comprimirlas.
   data-label se coloca automáticamente desde los encabezados mediante admin.js. */
@media(max-width:1280px){
  #armador-app .bp-quotes-table,
  #armador-app .dashboard-quotes-table{display:block!important;width:100%!important;min-width:0!important;border-spacing:0!important;overflow:visible!important}
  #armador-app .bp-quotes-table thead,
  #armador-app .dashboard-quotes-table thead{display:none!important}
  #armador-app .bp-quotes-table tbody,
  #armador-app .dashboard-quotes-table tbody{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;width:100%!important}
  #armador-app .bp-quotes-table tbody tr,
  #armador-app .dashboard-quotes-table tbody tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;width:100%!important;border:1px solid #dbe3ef!important;border-radius:15px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 3px 12px rgba(15,23,42,.045)!important}
  #armador-app .bp-quotes-table tbody td,
  #armador-app .dashboard-quotes-table tbody td{display:block!important;min-width:0!important;width:auto!important;padding:12px 13px!important;border:0!important;border-bottom:1px solid #eef2f7!important;border-right:1px solid #eef2f7!important;border-radius:0!important;background:#fff!important;white-space:normal!important;overflow-wrap:anywhere!important}
  #armador-app .bp-quotes-table tbody td::before,
  #armador-app .dashboard-quotes-table tbody td::before{content:attr(data-label)!important;display:block!important;margin-bottom:6px!important;color:#64748b!important;font-size:9px!important;font-weight:900!important;letter-spacing:.05em!important;text-transform:uppercase!important;line-height:1.2!important}
  #armador-app .bp-quotes-table tbody td:nth-child(even),
  #armador-app .dashboard-quotes-table tbody td:nth-child(even){border-right:0!important}
  #armador-app .bp-quotes-table .bp-quotes-actions-cell{grid-column:1/-1!important;min-width:0!important;border-right:0!important}
  #armador-app .bp-quotes-table .bp-quotes-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  #armador-app .bp-quotes-table .bp-quotes-secondary-actions{display:flex!important;flex-wrap:wrap!important;gap:7px!important}
  #armador-app .bp-quotes-table .quote-status{width:100%!important;min-width:0!important}
  #armador-app .armador-link-preview{max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important}
}

@media(max-width:900px){
  body.admin-bar #armador-app .armador-compact-header{top:46px!important}
  body.admin-bar #armador-app .armador-sidebar{top:46px!important;height:calc(100dvh - 46px)!important}
  #armador-app .armador-main{padding:10px!important}
  #armador-app .armador-compact-header{margin:-10px -10px 10px!important;padding:9px 10px!important;min-height:56px!important}
  #armador-app .armador-hero,#armador-app .armador-card,#armador-app .bp-module-hero{padding:14px!important;border-radius:14px!important}
  #armador-app .armador-hero h1,#armador-app .bp-module-hero h2{font-size:19px!important;line-height:1.2!important}
  #armador-app .armador-hero p,#armador-app .bp-module-hero p{font-size:12px!important;line-height:1.45!important}
  #armador-app .armador-actions,#armador-app .armador-card-actions,#armador-app .bp-hero-actions{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;gap:7px!important;width:100%!important}
  #armador-app .armador-actions .armador-btn,#armador-app .armador-card-actions .armador-btn,#armador-app .armador-card-actions .file-label,#armador-app .bp-hero-actions .armador-btn{flex:1 1 180px!important;min-width:0!important;width:auto!important;white-space:normal!important;text-align:center!important}
  #armador-app .armador-table:not(.bp-quotes-table):not(.dashboard-quotes-table){min-width:700px!important}
  #armador-app .armador-kpis,#armador-app .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media(max-width:700px){
  #armador-app .armador-compact-brand strong{max-width:52vw!important}
  #armador-app .armador-compact-brand span{max-width:55vw!important}
  #armador-app .armador-hero p{display:block!important}
  #armador-app .armador-actions .armador-btn,#armador-app .armador-card-actions .armador-btn,#armador-app .armador-card-actions .file-label,#armador-app .bp-hero-actions .armador-btn{flex:1 1 calc(50% - 7px)!important}
  #armador-app .bp-quotes-table tbody tr,#armador-app .dashboard-quotes-table tbody tr{grid-template-columns:1fr!important}
  #armador-app .bp-quotes-table tbody td,#armador-app .dashboard-quotes-table tbody td{border-right:0!important}
  #armador-app .bp-quotes-table .bp-quotes-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #armador-app .dashboard-executive-kpis{grid-template-columns:1fr!important}
  #armador-app .armador-kpis,#armador-app .dashboard-kpis{grid-template-columns:1fr!important}
  #armador-app .bp-form-grid.cols-2,#armador-app .bp-price-grid,#armador-app .bp-payment-grid{grid-template-columns:1fr!important}
}

@media(max-width:480px){
  #armador-app .armador-main{padding:8px!important}
  #armador-app .armador-compact-header{margin:-8px -8px 8px!important;padding:8px!important}
  #armador-app .armador-compact-logo{display:none!important}
  #armador-app .armador-compact-brand strong{max-width:58vw!important}
  #armador-app .armador-compact-brand span{max-width:58vw!important}
  #armador-app .armador-actions .armador-btn,#armador-app .armador-card-actions .armador-btn,#armador-app .armador-card-actions .file-label,#armador-app .bp-hero-actions .armador-btn{flex:1 1 100%!important;width:100%!important}
  #armador-app .bp-quotes-table .bp-quotes-actions{grid-template-columns:1fr!important}
}

@media(prefers-reduced-motion:reduce){
  #armador-app .armador-sidebar,#armador-app .armador-nav-overlay{transition:none!important}
}

/* =========================================================
   V7.29.0 · DESCARGA MASIVA SAT
   UI aislada del resto del ERP. Las credenciales e.firma no
   se representan ni se almacenan en esta interfaz WordPress.
   ========================================================= */
#armador-app .bp-sat-page{display:grid;gap:16px;max-width:1540px;margin:0 auto}
#armador-app .bp-sat-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:22px 24px;border:1px solid #dbe3ef;border-top:4px solid var(--armador-orange);border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.055)}
#armador-app .bp-sat-hero h2{margin:3px 0 6px;font-size:25px;line-height:1.15;color:#0f172a}
#armador-app .bp-sat-hero p{margin:0;max-width:820px;color:#64748b;line-height:1.5}
#armador-app .bp-sat-summary{display:grid;grid-template-columns:repeat(2,minmax(140px,1fr));gap:9px;min-width:330px}
#armador-app .bp-sat-summary span{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;color:#64748b;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.035em}
#armador-app .bp-sat-summary b{color:#0f172a;font-size:21px;line-height:1.1;text-transform:none;letter-spacing:0}
#armador-app .bp-sat-security{padding:12px 15px;border:1px solid #bae6fd;border-radius:13px;background:#f0f9ff;color:#075985;font-size:12px;line-height:1.5}
#armador-app .bp-sat-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:stretch}
#armador-app .bp-sat-grid>.armador-card{height:100%;margin:0}
#armador-app .bp-sat-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
#armador-app .bp-sat-card-head h3{margin:3px 0 5px;font-size:19px;color:#0f172a}
#armador-app .bp-sat-card-head p{margin:0;color:#64748b;line-height:1.45;font-size:12px}
#armador-app .bp-sat-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:10px}
#armador-app .bp-sat-status-grid>div{display:flex;flex-direction:column;gap:3px;padding:13px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;min-width:0}
#armador-app .bp-sat-status-grid span{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.045em;color:#64748b}
#armador-app .bp-sat-status-grid strong{font-size:14px;color:#0f172a;overflow-wrap:anywhere}
#armador-app .bp-sat-status-grid strong.is-ok{color:#15803d}
#armador-app .bp-sat-status-grid strong.is-error{color:#b91c1c}
#armador-app .bp-sat-status-grid small{font-size:10px;color:#64748b}
#armador-app .bp-sat-local-detail{margin:0 0 13px;padding:10px 12px;border-radius:10px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:11px;font-weight:700;line-height:1.4}
#armador-app .bp-sat-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}
#armador-app .bp-sat-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#armador-app .bp-sat-history-card,#armador-app .bp-sat-export-card{margin:0}
#armador-app .bp-sat-request-history{display:grid;gap:10px}
#armador-app .bp-sat-request-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:13px 14px;border:1px solid #e2e8f0;border-radius:13px;background:#fff}
#armador-app .bp-sat-request-main{display:flex;justify-content:space-between;gap:18px;align-items:center;min-width:0}
#armador-app .bp-sat-request-main>div:first-child{display:grid;gap:4px;min-width:0}
#armador-app .bp-sat-request-main strong{font-size:13px;color:#0f172a;overflow-wrap:anywhere}
#armador-app .bp-sat-request-main strong small{font-size:10px;color:#64748b;font-weight:700;margin-left:5px}
#armador-app .bp-sat-request-main p{margin:0;color:#475569;font-size:11px}
#armador-app .bp-sat-message{display:block;max-width:760px;color:#64748b;line-height:1.35;overflow-wrap:anywhere}
#armador-app .bp-sat-status{display:inline-flex;width:max-content;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.035em;background:#eff6ff;color:#1d4ed8}
#armador-app .bp-sat-status.is-complete{background:#ecfdf5;color:#15803d}
#armador-app .bp-sat-status.is-error{background:#fef2f2;color:#b91c1c}
#armador-app .bp-sat-status.is-pending{background:#fff7ed;color:#c2410c}
#armador-app .bp-sat-request-metrics{display:flex;gap:8px;flex:0 0 auto}
#armador-app .bp-sat-request-metrics span{display:flex;flex-direction:column;align-items:flex-end;min-width:68px;color:#64748b;font-size:9px;text-transform:uppercase;font-weight:800}
#armador-app .bp-sat-request-metrics b{font-size:16px;color:#0f172a;line-height:1.1}
#armador-app .bp-sat-request-actions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end;max-width:410px}
#armador-app .bp-sat-server-only{display:inline-flex;align-items:center;padding:7px 9px;border-radius:9px;background:#f1f5f9;color:#64748b;font-size:10px;font-weight:800}
#armador-app .bp-sat-export-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}

@media(max-width:1200px){
  #armador-app .bp-sat-grid{grid-template-columns:1fr}
  #armador-app .bp-sat-export-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #armador-app .bp-sat-request-card{grid-template-columns:1fr}
  #armador-app .bp-sat-request-actions{justify-content:flex-start;max-width:none}
}
@media(max-width:760px){
  #armador-app .bp-sat-hero{display:grid;padding:16px}
  #armador-app .bp-sat-summary{min-width:0;width:100%}
  #armador-app .bp-sat-form-grid,#armador-app .bp-sat-export-grid,#armador-app .bp-sat-status-grid{grid-template-columns:1fr}
  #armador-app .bp-sat-request-main{display:grid;gap:10px}
  #armador-app .bp-sat-request-metrics{justify-content:flex-start}
  #armador-app .bp-sat-request-metrics span{align-items:flex-start}
  #armador-app .bp-sat-actions .armador-btn{flex:1 1 180px}
}
@media(max-width:480px){
  #armador-app .bp-sat-summary{grid-template-columns:1fr}
  #armador-app .bp-sat-actions .armador-btn{flex:1 1 100%;width:100%}
  #armador-app .bp-sat-request-actions{display:grid;grid-template-columns:1fr;width:100%}
  #armador-app .bp-sat-request-actions .armador-btn{width:100%}
}


/* V7.31.0 — acceso profesional BLACKPANEL + recuperación de contraseña + reCAPTCHA. */
body.armador-crm-fullscreen:has(.bp-auth-screen){background:#f5f7fb!important}
.bp-auth-screen{--bp-login-primary:#f97316;--bp-login-secondary:#ffb020;--bp-login-dark:#0b0b0c;min-height:100dvh!important;padding:0!important;background:#f4f7fb!important;display:block!important}
.bp-auth-shell{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(420px,.65fr);background:#fff;overflow:hidden}
.bp-auth-visual{position:relative;overflow:hidden;display:flex;align-items:center;padding:clamp(44px,6vw,96px);background:linear-gradient(145deg,var(--bp-login-dark) 0%,#141820 56%,#202733 100%);color:#fff}
.bp-auth-visual:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 18% 20%,rgba(255,255,255,.08),transparent 28%),linear-gradient(125deg,transparent 0 44%,rgba(255,255,255,.025) 44% 46%,transparent 46% 100%);pointer-events:none}
.bp-auth-visual-inner{position:relative;z-index:2;width:min(720px,100%);display:flex;min-height:min(720px,72vh);flex-direction:column;justify-content:space-between}
.bp-auth-brand{display:flex;align-items:center;gap:16px}.bp-auth-logo{width:64px;height:64px;border-radius:20px;background:linear-gradient(135deg,var(--bp-login-primary),var(--bp-login-secondary));display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 16px 44px rgba(0,0,0,.26)}.bp-auth-logo img{width:100%;height:100%;object-fit:contain;background:#fff;padding:6px}.bp-auth-logo span{font-weight:950;color:#111827;font-size:18px}.bp-auth-brand strong{display:block;font-size:21px;letter-spacing:.02em}.bp-auth-brand span{display:block;margin-top:3px;color:#cbd5e1;font-size:13px;letter-spacing:.08em}
.bp-auth-hero-copy{margin:auto 0}.bp-auth-eyebrow,.bp-auth-kicker{display:block;color:var(--bp-login-primary);font-size:12px;font-weight:950;letter-spacing:.12em;text-transform:uppercase}.bp-auth-hero-copy h1{max-width:720px;margin:12px 0 18px;font-size:clamp(42px,5vw,76px);line-height:.98;letter-spacing:-.045em;color:#fff}.bp-auth-hero-copy p{max-width:640px;margin:0;color:#cbd5e1;font-size:clamp(17px,1.35vw,22px);line-height:1.55}
.bp-auth-trust{display:flex;align-items:center;gap:10px;color:#cbd5e1}.bp-auth-trust span{width:10px;height:10px;border-radius:999px;background:var(--bp-login-primary);box-shadow:0 0 0 6px color-mix(in srgb,var(--bp-login-primary) 16%,transparent)}.bp-auth-trust small{font-size:13px;font-weight:700}
.bp-auth-orb{position:absolute;border-radius:999px;filter:blur(2px);opacity:.36}.bp-auth-orb-one{width:310px;height:310px;right:-90px;top:-70px;background:radial-gradient(circle,var(--bp-login-primary),transparent 68%)}.bp-auth-orb-two{width:420px;height:420px;left:-170px;bottom:-190px;background:radial-gradient(circle,var(--bp-login-secondary),transparent 70%)}
.bp-auth-panel{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:clamp(28px,5vw,76px);background:linear-gradient(180deg,#fff 0%,#f8fafc 100%)}.bp-auth-card-wrap{width:min(480px,100%)}.bp-auth-card{width:100%;box-sizing:border-box}.bp-auth-card h2{margin:9px 0 8px;color:#0f172a;font-size:34px;line-height:1.08;letter-spacing:-.025em}.bp-auth-card>p{margin:0 0 24px;color:#64748b;line-height:1.55;font-size:15px}.bp-auth-mobile-brand{display:none}.bp-auth-form{gap:16px!important}.bp-auth-form label>span{color:#111827}.bp-auth-form input[type=text],.bp-auth-form input[type=password],.bp-auth-form input:not([type]){min-height:52px!important;border:1px solid #d8e1ee!important;border-radius:14px!important;padding:13px 14px!important;background:#fff!important;box-shadow:0 1px 2px rgba(15,23,42,.02)!important;transition:border-color .18s ease,box-shadow .18s ease}.bp-auth-form input:focus{outline:none!important;border-color:var(--bp-login-primary)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--bp-login-primary) 14%,transparent)!important}.bp-auth-form-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.bp-auth-link,.bp-auth-back{color:#2563eb;text-decoration:none;font-weight:800;font-size:13px}.bp-auth-link:hover,.bp-auth-back:hover{text-decoration:underline}.bp-auth-captcha{min-height:78px;display:flex;align-items:center;justify-content:flex-start;overflow:visible}.bp-auth-panel .armador-login-submit{width:100%;min-height:52px;border-radius:14px!important;background:linear-gradient(135deg,var(--bp-login-primary),var(--bp-login-secondary))!important;color:#111827!important;box-shadow:0 12px 26px color-mix(in srgb,var(--bp-login-primary) 24%,transparent);transition:transform .15s ease,box-shadow .15s ease}.bp-auth-panel .armador-login-submit:hover{transform:translateY(-1px);box-shadow:0 16px 30px color-mix(in srgb,var(--bp-login-primary) 30%,transparent)}.bp-auth-button-link{display:flex!important;align-items:center;justify-content:center;text-decoration:none!important}.bp-auth-support{margin-top:22px;padding-top:18px;border-top:1px solid #e8edf4;color:#64748b;font-size:12px;line-height:1.55}.bp-auth-footer{width:min(480px,100%);margin-top:28px;color:#94a3b8;font-size:12px;text-align:center}.bp-auth-panel .armador-login-error{margin:0 0 18px!important}.bp-auth-panel .armador-login-error.is-success{background:#ecfdf5;border-color:#bbf7d0;color:#166534}.bp-auth-back{display:inline-flex;justify-content:center;margin-top:2px}.bp-login-security-settings input[type=color]{min-height:44px;padding:5px!important;cursor:pointer}
@media(max-width:1100px){.bp-auth-shell{grid-template-columns:minmax(0,1fr) minmax(390px,.8fr)}.bp-auth-visual{padding:48px}.bp-auth-hero-copy h1{font-size:48px}}
@media(max-width:860px){.bp-auth-shell{grid-template-columns:1fr}.bp-auth-visual{min-height:280px;padding:32px 28px}.bp-auth-visual-inner{min-height:216px}.bp-auth-hero-copy{margin:32px 0 20px}.bp-auth-hero-copy h1{font-size:38px;max-width:560px}.bp-auth-hero-copy p{font-size:16px;max-width:560px}.bp-auth-trust{display:none}.bp-auth-panel{padding:38px 24px 48px}.bp-auth-card-wrap{width:min(520px,100%)}}
@media(max-width:560px){.bp-auth-visual{min-height:auto;padding:22px}.bp-auth-brand{gap:10px}.bp-auth-logo{width:46px;height:46px;border-radius:14px}.bp-auth-brand strong{font-size:16px}.bp-auth-hero-copy{margin:24px 0 4px}.bp-auth-hero-copy h1{font-size:31px}.bp-auth-hero-copy p{font-size:14px}.bp-auth-panel{padding:30px 20px 36px}.bp-auth-card h2{font-size:29px}.bp-auth-form-row{align-items:flex-start;flex-direction:column;gap:10px}.bp-auth-captcha{transform-origin:left top}.bp-auth-footer{margin-top:22px}}
@media(max-width:380px){.bp-auth-captcha{width:304px;transform:scale(.86);margin-bottom:-11px}.bp-auth-panel{padding-left:16px;padding-right:16px}}


/* V7.33.0 · Inicio de sesión y recuperación comparten exactamente el mismo shell visual. */
.bp-auth-mode-login .bp-auth-card-wrap,.bp-auth-mode-forgot .bp-auth-card-wrap,.bp-auth-mode-reset .bp-auth-card-wrap{width:min(480px,100%)}
.bp-auth-mode-login .bp-auth-card,.bp-auth-mode-forgot .bp-auth-card,.bp-auth-mode-reset .bp-auth-card{width:100%;box-sizing:border-box}
.bp-auth-hero-copy h1:last-child{margin-bottom:0}


/* =========================================================
   V7.34.0 · COTIZACIONES LIMPIAS + PANEL DESPLEGABLE
   ========================================================= */
#armador-app .bp-quote-operations{display:grid;gap:10px;width:100%;margin-top:10px}
#armador-app .bp-quote-operation-head{display:grid;grid-template-columns:minmax(150px,1.05fr) minmax(125px,.8fr) minmax(150px,1fr) minmax(150px,1fr) minmax(150px,1fr) minmax(145px,.9fr);gap:0;padding:0 14px;background:#0b0b0c;color:#fff;border-radius:10px;min-height:40px;align-items:center}
#armador-app .bp-quote-operation-head span{padding:0 10px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.055em}
#armador-app .bp-quote-operation{border:1px solid #dbe3ef;border-radius:15px;background:#fff;overflow:hidden;box-shadow:0 4px 16px rgba(15,23,42,.045)}
#armador-app .bp-quote-operation-summary{display:grid;grid-template-columns:minmax(150px,1.05fr) minmax(125px,.8fr) minmax(150px,1fr) minmax(150px,1fr) minmax(150px,1fr) minmax(145px,.9fr);align-items:stretch}
#armador-app .bp-quote-summary-cell{min-width:0;padding:14px;border-right:1px solid #eef2f7;display:flex;flex-direction:column;justify-content:flex-start;gap:4px;overflow-wrap:anywhere}
#armador-app .bp-quote-summary-cell:last-child{border-right:0}
#armador-app .bp-quote-summary-cell>span{display:none;color:#64748b;font-size:9px;font-weight:900;letter-spacing:.045em;text-transform:uppercase}
#armador-app .bp-quote-summary-cell>strong{font-size:13px;color:#0f172a;line-height:1.3}
#armador-app .bp-quote-summary-cell>small{display:block;color:#64748b;font-size:10px;line-height:1.35;margin-top:2px}
#armador-app .bp-quote-summary-cell .bp-effective-money{min-width:0}
#armador-app .bp-quote-summary-cell .bp-effective-money small{font-size:8px}
#armador-app .bp-quote-summary-cell .bp-effective-money strong{font-size:14px}
#armador-app .bp-quote-summary-cell .quote-status{width:100%;min-width:0;background:#fff}
#armador-app .bp-quote-summary-cell .bp-cost-change-warning{max-width:none;font-size:9px;margin-top:4px}
#armador-app .bp-quote-details-toggle{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:42px;padding:9px 14px;border:0;border-top:1px solid #eef2f7;background:#f8fafc;color:#334155;font-size:11px;font-weight:900;cursor:pointer;transition:background .16s ease,color .16s ease}
#armador-app .bp-quote-details-toggle:hover,#armador-app .bp-quote-details-toggle.is-open{background:#fff7ed;color:#9a3412}
#armador-app .bp-quote-details-toggle b{font-size:16px;transition:transform .18s ease}
#armador-app .bp-quote-details-toggle.is-open b{transform:rotate(180deg)}
#armador-app .bp-quote-operation-detail{padding:16px;background:linear-gradient(180deg,#fbfdff,#f8fafc);border-top:1px solid #e2e8f0}
#armador-app .bp-quote-operation-detail[hidden]{display:none!important}
#armador-app .bp-quote-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
#armador-app .bp-quote-detail-card{min-width:0;padding:13px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;overflow-wrap:anywhere}
#armador-app .bp-quote-detail-label{display:block;margin-bottom:8px;color:#64748b;font-size:9px;font-weight:900;letter-spacing:.055em;text-transform:uppercase}
#armador-app .bp-quote-detail-stack{display:grid;gap:7px;align-items:start}
#armador-app .bp-quote-detail-stack>.armador-btn,#armador-app .bp-quote-detail-card>.armador-btn{width:max-content;max-width:100%}
#armador-app .bp-quote-detail-card .armador-link-preview{display:block;max-width:100%;white-space:normal;overflow-wrap:anywhere}
#armador-app .bp-quote-detail-card .armador-payment-form-protected{margin-top:4px}
#armador-app .bp-quote-detail-actions{margin-top:10px;padding:13px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}
#armador-app .bp-quote-operation-actions{display:grid;grid-template-columns:repeat(6,minmax(115px,1fr));gap:8px}
#armador-app .bp-quote-operation-actions .bp-quote-action{min-width:0;width:100%}
#armador-app .bp-quote-operation-secondary{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:9px;padding-top:9px;border-top:1px solid #eef2f7}
#armador-app .bp-quote-operation-secondary:empty{display:none}
@media(max-width:1200px){
  #armador-app .bp-quote-operation-head{display:none}
  #armador-app .bp-quote-operation-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
  #armador-app .bp-quote-summary-cell{border-bottom:1px solid #eef2f7}
  #armador-app .bp-quote-summary-cell:nth-child(3n){border-right:0}
  #armador-app .bp-quote-summary-cell:nth-last-child(-n+3){border-bottom:0}
  #armador-app .bp-quote-summary-cell>span{display:block}
  #armador-app .bp-quote-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #armador-app .bp-quote-operation-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:800px){
  #armador-app .bp-quote-operation-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  #armador-app .bp-quote-summary-cell:nth-child(3n){border-right:1px solid #eef2f7}
  #armador-app .bp-quote-summary-cell:nth-child(2n){border-right:0}
  #armador-app .bp-quote-summary-cell:nth-last-child(-n+3){border-bottom:1px solid #eef2f7}
  #armador-app .bp-quote-summary-cell:nth-last-child(-n+2){border-bottom:0}
  #armador-app .bp-quote-detail-grid{grid-template-columns:1fr}
  #armador-app .bp-quote-operation-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
  #armador-app .bp-quote-operation-summary{grid-template-columns:1fr}
  #armador-app .bp-quote-summary-cell{border-right:0!important;border-bottom:1px solid #eef2f7!important;padding:12px}
  #armador-app .bp-quote-summary-cell:last-child{border-bottom:0!important}
  #armador-app .bp-quote-operation-detail{padding:11px}
  #armador-app .bp-quote-operation-actions{grid-template-columns:1fr}
  #armador-app .bp-quote-operation-secondary>.armador-btn{width:100%}
}

/* =========================================================
   V7.35.0 · HISTÓRICOS + NAVEGACIÓN RH/NÓMINA/CONFIGURACIÓN
   ========================================================= */
#armador-app .bp-v735-period-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 16px;padding:14px 16px;border:1px solid #dbe3ef;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc)}
#armador-app .bp-v735-period-bar>div:first-child{min-width:0;display:grid;gap:3px}
#armador-app .bp-v735-period-bar>div:first-child strong{font-size:13px;color:#0f172a}
#armador-app .bp-v735-period-bar>div:first-child span{font-size:11px;line-height:1.45;color:#64748b}
#armador-app .bp-v735-period-controls{display:flex;align-items:flex-end;justify-content:flex-end;gap:9px;flex-wrap:wrap}
#armador-app .bp-v735-period-controls label{display:grid;gap:5px;min-width:150px}
#armador-app .bp-v735-period-controls label>span{font-size:9px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;color:#64748b}
#armador-app .bp-v735-period-controls input,#armador-app .bp-v735-period-controls select{min-height:38px;max-width:260px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;padding:7px 10px;color:#0f172a}

#armador-app .bp-hr-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 16px}
#armador-app .bp-hr-nav-tab{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;row-gap:2px;align-items:center;text-align:left;padding:13px 14px;border:1px solid #dbe3ef;border-radius:13px;background:#fff;color:#334155;cursor:pointer;box-shadow:0 2px 8px rgba(15,23,42,.035);transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}
#armador-app .bp-hr-nav-tab:hover{border-color:#fdba74;transform:translateY(-1px)}
#armador-app .bp-hr-nav-tab>span{grid-row:1/3;display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:#f1f5f9;color:#64748b;font-size:10px;font-weight:950}
#armador-app .bp-hr-nav-tab>strong{font-size:13px;color:#0f172a}
#armador-app .bp-hr-nav-tab>small{font-size:10px;color:#64748b}
#armador-app .bp-hr-nav-tab.is-active{border-color:#f97316;background:#fff7ed;box-shadow:0 6px 18px rgba(249,115,22,.12)}
#armador-app .bp-hr-nav-tab.is-active>span{background:#f97316;color:#fff}
#armador-app .bp-hr-nav-tab.is-active>strong{color:#9a3412}

#armador-app .bp-attendance-register{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px;padding:13px 15px;border:1px solid #fed7aa;border-radius:13px;background:#fff7ed}
#armador-app .bp-attendance-register>div:first-child{display:grid;gap:2px}
#armador-app .bp-attendance-register strong{font-size:12px;color:#9a3412}
#armador-app .bp-attendance-register span{font-size:10px;color:#7c2d12}

#armador-app .bp-settings-section-title{display:flex;align-items:center;gap:10px;margin:26px 0 10px;padding:0 2px;color:#0f172a}
#armador-app .bp-settings-section-title:first-child{margin-top:0}
#armador-app .bp-settings-section-title span{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:24px;padding:0 7px;border-radius:999px;background:#0f172a;color:#fff;font-size:9px;font-weight:950;letter-spacing:.06em}
#armador-app .bp-settings-section-title strong{font-size:15px;letter-spacing:-.01em}
#armador-app .bp-settings-section-title.is-secondary span{background:#64748b}

.armador-fiscal-sales-filter-bar.armador-v735-period-form{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.armador-v735-period-field{display:grid;gap:5px}
.armador-v735-period-field>span{font-size:11px;font-weight:700;color:#50575e}
.armador-v735-period-field input[type=month]{min-height:32px}

@media(max-width:900px){
  #armador-app .bp-v735-period-bar{align-items:flex-start;flex-direction:column}
  #armador-app .bp-v735-period-controls{width:100%;justify-content:flex-start}
  #armador-app .bp-v735-period-controls label{flex:1 1 190px}
  #armador-app .bp-v735-period-controls input,#armador-app .bp-v735-period-controls select{width:100%;max-width:none}
  #armador-app .bp-attendance-register{align-items:flex-start;flex-direction:column}
  #armador-app .bp-attendance-register .bp-purchase-actions{width:100%;justify-content:flex-start}
}
@media(max-width:700px){
  #armador-app .bp-hr-nav{grid-template-columns:1fr}
  #armador-app .bp-v735-period-controls{display:grid;grid-template-columns:1fr;width:100%}
  #armador-app .bp-v735-period-controls label,#armador-app .bp-v735-period-controls .armador-btn{width:100%;min-width:0}
  #armador-app .bp-attendance-register .armador-btn{width:100%}
  .armador-fiscal-sales-filter-bar.armador-v735-period-form{align-items:stretch;flex-direction:column}
  .armador-v735-period-field,.armador-v735-period-field input[type=month],.armador-fiscal-sales-filter-bar.armador-v735-period-form .button{width:100%;box-sizing:border-box}
}
#armador-app #armadorTab-settings>.bp-pos-settings-card{margin-top:18px}


/* V7.35.1 · Centro de Configuración: navegación profesional y jerarquía UX.
   Alcance exclusivamente visual/navegación. Conserva campos, IDs, handlers y datos existentes. */
#armador-app #armadorTab-settings{max-width:1540px}
#armador-app #armadorTab-settings .bp-settings-hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(360px,.75fr);gap:22px;align-items:stretch;margin-bottom:18px;padding:24px;border:1px solid #dfe6ef;border-radius:20px;background:linear-gradient(135deg,#fff 0%,#f8fafc 60%,#fff7ed 100%);box-shadow:0 14px 36px rgba(15,23,42,.06)}
#armador-app #armadorTab-settings .bp-settings-hero-copy{min-width:0;align-self:center}
#armador-app #armadorTab-settings .bp-settings-hero-copy h2{margin:7px 0 8px;font-size:clamp(22px,2vw,30px);line-height:1.14;letter-spacing:-.025em;color:#0f172a}
#armador-app #armadorTab-settings .bp-settings-hero-copy p{max-width:760px;margin:0;color:#64748b;font-size:13px;line-height:1.6}
#armador-app #armadorTab-settings .bp-settings-hero-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;align-self:stretch}
#armador-app #armadorTab-settings .bp-settings-hero-summary>div{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:13px;border:1px solid rgba(226,232,240,.95);border-radius:14px;background:rgba(255,255,255,.9)}
#armador-app #armadorTab-settings .bp-settings-hero-summary span{display:block;margin-bottom:5px;color:#94a3b8;font-size:9px;font-weight:900;letter-spacing:.055em;text-transform:uppercase}
#armador-app #armadorTab-settings .bp-settings-hero-summary strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#0f172a;font-size:12px}
#armador-app #armadorTab-settings .bp-settings-workspace{display:grid;grid-template-columns:270px minmax(0,1fr);gap:18px;align-items:start}
#armador-app #armadorTab-settings .bp-settings-sidebar{position:sticky;top:18px;min-width:0;padding:12px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.045)}
#armador-app #armadorTab-settings .bp-settings-sidebar-head{padding:6px 7px 11px;border-bottom:1px solid #eef2f7}
#armador-app #armadorTab-settings .bp-settings-sidebar-head strong{display:block;color:#0f172a;font-size:13px}
#armador-app #armadorTab-settings .bp-settings-sidebar-head small{display:block;margin-top:2px;color:#94a3b8;font-size:10px}
#armador-app #armadorTab-settings .bp-settings-nav{display:grid;gap:5px;margin-top:9px}
#armador-app #armadorTab-settings .bp-settings-nav-btn{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:9px;align-items:center;width:100%;min-width:0;padding:10px;border:1px solid transparent;border-radius:13px;background:transparent;color:#334155;text-align:left;cursor:pointer;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
#armador-app #armadorTab-settings .bp-settings-nav-btn:hover{background:#f8fafc;border-color:#e2e8f0}
#armador-app #armadorTab-settings .bp-settings-nav-btn.is-active{background:#fff7ed;border-color:#fed7aa;box-shadow:0 7px 18px rgba(249,115,22,.08)}
#armador-app #armadorTab-settings .bp-settings-nav-number{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#f1f5f9;color:#64748b;font-size:10px;font-weight:950}
#armador-app #armadorTab-settings .bp-settings-nav-btn.is-active .bp-settings-nav-number{background:#0f172a;color:#fff}
#armador-app #armadorTab-settings .bp-settings-nav-copy{min-width:0}
#armador-app #armadorTab-settings .bp-settings-nav-copy strong{display:block;color:#0f172a;font-size:11px;line-height:1.25}
#armador-app #armadorTab-settings .bp-settings-nav-copy small{display:none}
#armador-app #armadorTab-settings .bp-settings-status{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:0 7px;border-radius:999px;font-size:8px;font-weight:900;white-space:nowrap}
#armador-app #armadorTab-settings .bp-settings-status.is-ok{background:#ecfdf5;color:#047857}
#armador-app #armadorTab-settings .bp-settings-status.is-pending{background:#fff7ed;color:#c2410c}
#armador-app #armadorTab-settings .bp-settings-status.is-neutral{background:#f1f5f9;color:#64748b}
#armador-app #armadorTab-settings .bp-settings-sidebar-note{display:grid;gap:3px;margin-top:10px;padding:10px;border-radius:12px;background:#f8fafc;color:#64748b;font-size:9px;line-height:1.45}
#armador-app #armadorTab-settings .bp-settings-sidebar-note strong{color:#334155;font-size:9px}
#armador-app #armadorTab-settings .bp-settings-content{min-width:0}
#armador-app #armadorTab-settings .bp-settings-panel[hidden]{display:none!important}
#armador-app #armadorTab-settings .bp-settings-panel{min-width:0;animation:bpSettingsPanelIn .16s ease}
@keyframes bpSettingsPanelIn{from{opacity:.55;transform:translateY(3px)}to{opacity:1;transform:none}}
#armador-app #armadorTab-settings .bp-settings-panel-heading{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:10px;row-gap:2px;margin:0 0 12px;padding:4px 2px 8px;border-bottom:1px solid #eef2f7}
#armador-app #armadorTab-settings .bp-settings-panel-heading>span{grid-row:1/3;align-self:start}
#armador-app #armadorTab-settings .bp-settings-panel-heading>strong{align-self:end;font-size:17px;line-height:1.25;color:#0f172a}
#armador-app #armadorTab-settings .bp-settings-panel-heading>small{grid-column:2;max-width:760px;color:#64748b;font-size:11px;font-weight:500;line-height:1.5}
#armador-app #armadorTab-settings .bp-settings-panel>.armador-card,
#armador-app #armadorTab-settings .bp-settings-panel .bp-settings-top-grid>.armador-card{border-color:#e2e8f0!important;border-radius:17px!important;box-shadow:0 10px 28px rgba(15,23,42,.045)!important}
#armador-app #armadorTab-settings .bp-settings-panel>.armador-card>h2,
#armador-app #armadorTab-settings .bp-settings-panel .bp-settings-top-grid>.armador-card>h2{margin-bottom:6px!important;color:#0f172a!important;font-size:18px!important;line-height:1.25!important}
#armador-app #armadorTab-settings .bp-settings-panel>.armador-card>p,
#armador-app #armadorTab-settings .bp-settings-panel .bp-settings-top-grid>.armador-card>p{margin-top:0!important;color:#64748b!important;line-height:1.55!important}
#armador-app #armadorTab-settings .bp-settings-panel .armador-field{gap:6px}
#armador-app #armadorTab-settings .bp-settings-panel .armador-field>span{color:#334155;font-size:11px;font-weight:800}
#armador-app #armadorTab-settings .bp-settings-panel .armador-field>small{color:#7c899b;font-size:10px;line-height:1.45}
#armador-app #armadorTab-settings .bp-settings-panel .armador-field input:not([type=checkbox]):not([type=radio]):not([type=color]),
#armador-app #armadorTab-settings .bp-settings-panel .armador-field select{min-height:43px;border-color:#dbe3ee;border-radius:11px;background:#fff}
#armador-app #armadorTab-settings .bp-settings-panel .armador-field textarea{min-height:92px;border-color:#dbe3ee;border-radius:11px;background:#fff}
#armador-app #armadorTab-settings .bp-settings-panel .armador-field input:focus,
#armador-app #armadorTab-settings .bp-settings-panel .armador-field select:focus,
#armador-app #armadorTab-settings .bp-settings-panel .armador-field textarea:focus{outline:none;border-color:#f59e0b;box-shadow:0 0 0 3px rgba(245,158,11,.11)}
#armador-app #armadorTab-settings .bp-settings-panel .armador-note{border-radius:12px;line-height:1.5}
#armador-app #armadorTab-settings .bp-settings-panel .armador-card-actions{padding-top:4px}
#armador-app #armadorTab-settings .bp-settings-panel .armador-card-actions .armador-btn{min-height:40px;border-radius:10px}
#armador-app #armadorTab-settings .bp-settings-panel #saveSettings,
#armador-app #armadorTab-settings .bp-settings-panel #saveSettingsLogin,
#armador-app #armadorTab-settings .bp-settings-panel #saveSettingsPdf,
#armador-app #armadorTab-settings .bp-settings-panel #saveSettingsTicket,
#armador-app #armadorTab-settings .bp-settings-panel #saveSettingsMp,
#armador-app #armadorTab-settings .bp-settings-panel #saveSettingsWhatsAppCloud{box-shadow:0 8px 18px rgba(15,23,42,.08)}
@media(max-width:1180px){
  #armador-app #armadorTab-settings .bp-settings-hero{grid-template-columns:1fr}
  #armador-app #armadorTab-settings .bp-settings-workspace{grid-template-columns:230px minmax(0,1fr)}
  #armador-app #armadorTab-settings .bp-settings-status{display:none}
}
@media(max-width:980px){
  #armador-app #armadorTab-settings .bp-settings-workspace{grid-template-columns:1fr}
  #armador-app #armadorTab-settings .bp-settings-sidebar{position:static;padding:10px}
  #armador-app #armadorTab-settings .bp-settings-sidebar-head,#armador-app #armadorTab-settings .bp-settings-sidebar-note{display:none}
  #armador-app #armadorTab-settings .bp-settings-nav{display:flex;gap:7px;margin:0;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:2px;scrollbar-width:thin}
  #armador-app #armadorTab-settings .bp-settings-nav-btn{flex:0 0 auto;grid-template-columns:28px auto;min-width:172px;width:auto}
  #armador-app #armadorTab-settings .bp-settings-nav-number{width:28px;height:28px}
  #armador-app #armadorTab-settings .bp-settings-content{margin-top:0}
}
@media(max-width:700px){
  #armador-app #armadorTab-settings .bp-settings-hero{padding:17px;border-radius:16px}
  #armador-app #armadorTab-settings .bp-settings-hero-summary{grid-template-columns:1fr}
  #armador-app #armadorTab-settings .bp-settings-hero-summary>div{padding:10px 12px}
  #armador-app #armadorTab-settings .bp-settings-workspace{gap:12px}
  #armador-app #armadorTab-settings .bp-settings-sidebar{border-radius:14px}
  #armador-app #armadorTab-settings .bp-settings-nav-btn{min-width:154px;padding:8px}
  #armador-app #armadorTab-settings .bp-settings-panel-heading{grid-template-columns:auto minmax(0,1fr);margin-bottom:10px}
  #armador-app #armadorTab-settings .bp-settings-panel-heading>strong{font-size:15px}
  #armador-app #armadorTab-settings .bp-settings-panel>.armador-card,
  #armador-app #armadorTab-settings .bp-settings-panel .bp-settings-top-grid>.armador-card{padding:15px!important;border-radius:14px!important}
  #armador-app #armadorTab-settings .bp-settings-panel .armador-row{align-items:stretch}
  #armador-app #armadorTab-settings .bp-settings-panel .armador-card-actions{display:grid;grid-template-columns:1fr}
  #armador-app #armadorTab-settings .bp-settings-panel .armador-card-actions .armador-btn{width:100%}
}


/* V7.36.0 · Facturación por correo, configuración fiscal e inventarios */
.armador-fiscal-toolbar__btn[type="button"]{font:inherit;text-align:left;cursor:pointer;background:#fff}
.armador-fiscal-email-modal[hidden]{display:none!important}
.armador-fiscal-email-modal{position:fixed;inset:0;z-index:100120;background:rgba(15,23,42,.58);display:flex;align-items:center;justify-content:center;padding:20px}
.armador-fiscal-email-dialog{position:relative;width:min(560px,100%);background:#fff;border-radius:18px;box-shadow:0 28px 80px rgba(15,23,42,.28);padding:26px}
.armador-fiscal-email-dialog h3{font-size:22px;margin:6px 0 8px}.armador-fiscal-email-dialog p{color:#64748b;margin:0 0 18px}
.armador-fiscal-email-close{position:absolute;right:16px;top:12px;border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer;color:#64748b}
.armador-fiscal-email-actions .armador-fiscal-email-close{position:static;font-size:13px;border:1px solid #dcdcde;background:#fff;line-height:2.15384615;color:#2c3338}
.armador-fiscal-email-field{display:block}.armador-fiscal-email-field>span{display:block;font-weight:700;margin-bottom:7px}.armador-fiscal-email-field textarea{width:100%;min-height:88px}.armador-fiscal-email-field small{display:block;color:#64748b;margin-top:6px}
.armador-fiscal-email-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}
.bp-fiscal-settings-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}
.bp-fiscal-settings-frame{display:block;width:100%;min-height:980px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;margin-top:14px}
.bp-location-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
@media(max-width:782px){.armador-fiscal-email-modal{padding:10px}.armador-fiscal-email-dialog{padding:22px 16px}.armador-fiscal-email-actions{flex-direction:column-reverse}.armador-fiscal-email-actions .button{width:100%;text-align:center}.bp-fiscal-settings-frame{min-height:1100px}.bp-location-actions{align-items:stretch}.bp-location-actions .armador-btn{flex:1}}

/* V7.39.0 · Emisor fiscal server-side para NEXO */
.armador-fiscal-nexo-issuer-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap;max-width:920px}.armador-fiscal-nexo-issuer-form label{display:grid;gap:7px;flex:1 1 520px}.armador-fiscal-nexo-issuer-form select{width:100%;min-height:42px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;padding:7px 10px}.armador-fiscal-nexo-issuer-current{margin:12px 0 0;padding:10px 12px;border:1px solid #bbf7d0;border-radius:10px;background:#f0fdf4;color:#166534}.armador-fiscal-danger-zone{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:20px;padding:14px 16px;border:1px solid #fecaca;border-radius:12px;background:#fff7f7}.armador-fiscal-danger-zone strong{display:block;color:#991b1b}.armador-fiscal-danger-zone p{margin:4px 0 0;max-width:720px;color:#7f1d1d;font-size:12px;line-height:1.5}.armador-danger-button{border-color:#fca5a5!important;color:#b91c1c!important;background:#fff!important;font-weight:700!important}.armador-danger-button:hover{border-color:#ef4444!important;color:#991b1b!important;background:#fef2f2!important}@media(max-width:650px){.armador-fiscal-nexo-issuer-form,.armador-fiscal-danger-zone{display:grid;grid-template-columns:1fr}.armador-fiscal-nexo-issuer-form .button,.armador-fiscal-danger-zone .button{width:100%;min-height:42px}}
