.dashboard-header.module-topbar{z-index:50;justify-content:space-between;align-items:center;gap:var(--space-3,.675rem);width:100%;height:auto;min-height:0;padding:var(--space-3,.675rem) var(--space-5,1.35rem);border:none;border-bottom:2px solid color-mix(in srgb, var(--mb-accent) 32%, #0f172a14);-webkit-backdrop-filter:none;backdrop-filter:none;background:linear-gradient(135deg, #ffffffe0, #ffffff9e), linear-gradient(120deg, var(--mb-from), var(--mb-to));--mb-from:#e8eef7;--mb-to:#f7f4ee;--mb-accent:#1e3a5f;border-radius:0;margin:0;display:flex;position:sticky;top:0;overflow:hidden;box-shadow:0 4px 14px #0f172a0d}.module-topbar__glow{background:radial-gradient(circle, color-mix(in srgb, var(--mb-accent) 26%, transparent), transparent 70%);pointer-events:none;border-radius:50%;width:220px;height:220px;position:absolute;inset:auto -8% -70% auto}.module-topbar__left{align-items:center;gap:var(--space-3,.675rem);z-index:1;flex:auto;min-width:0;display:flex;position:relative}.module-topbar__icon{background:color-mix(in srgb, var(--mb-accent) 12%, white);border:1px solid color-mix(in srgb, var(--mb-accent) 18%, transparent);border-radius:10px;flex-shrink:0;place-items:center;width:2.35rem;height:2.35rem;font-size:1.15rem;display:grid;box-shadow:inset 0 1px #ffffffb3}.module-topbar__copy{min-width:0}.module-topbar__title{letter-spacing:-.02em;color:#0f172a;margin:0;font-size:1.12rem;font-weight:700;line-height:1.2}.module-topbar__description{color:#475569;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:48rem;margin:.15rem 0 0;font-size:.78rem;line-height:1.35;display:-webkit-box;overflow:hidden}.module-topbar__right{z-index:1;flex-shrink:0;align-items:center;gap:.65rem;display:flex;position:relative}.module-topbar .header-date{color:#64748b;white-space:nowrap;font-size:.75rem;font-weight:500}.module-topbar .header-account-btn{border-color:color-mix(in srgb, var(--mb-accent) 18%, #c9d5e2);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#ffffffb8}.module-topbar--inicio{--mb-from:#e8f0fb;--mb-to:#f4f7fb;--mb-accent:#1d4ed8}.module-topbar--stock{--mb-from:#e8f7ef;--mb-to:#f3faf6;--mb-accent:#047857}.module-topbar--conciliacion{--mb-from:#fff6e8;--mb-to:#fbf7ef;--mb-accent:#b45309}.module-topbar--ventas{--mb-from:#eaf2ff;--mb-to:#f5f8ff;--mb-accent:#1d4ed8}.module-topbar--rentabilidad{--mb-from:#e8f8f0;--mb-to:#f4fbf7;--mb-accent:#0f766e}.module-topbar--merma{--mb-from:#ffecec;--mb-to:#fff6f4;--mb-accent:#b91c1c}.module-topbar--codigos{--mb-from:#eef2ff;--mb-to:#f7f8ff;--mb-accent:#4338ca}.module-topbar--productos{--mb-from:#eefaf7;--mb-to:#f5fcfa;--mb-accent:#0f766e}.module-topbar--mapa{--mb-from:#eef6ff;--mb-to:#f4f9ff;--mb-accent:#0369a1}.module-topbar--recaudador{--mb-from:#fff4e5;--mb-to:#fffaf2;--mb-accent:#c2410c}.module-topbar--usuarios{--mb-from:#f1eefc;--mb-to:#f8f6ff;--mb-accent:#6d28d9}.module-topbar--neutral{--mb-from:#eef2f7;--mb-to:#f8fafc;--mb-accent:#334155}.module-topbar--consumos{--mb-from:#1d4ed8;--mb-to:#1e40af;--mb-accent:#93c5fd}.dashboard-header.module-topbar.module-topbar--consumos-compact{color:#fff;background:linear-gradient(135deg,#0a2252 0%,#123d7a 100%);border-bottom-color:#60a5fa73;box-shadow:0 2px 10px #08143259}.module-topbar--consumos-compact.module-topbar--consumos{--mb-accent:#60a5fa}.module-topbar--consumos-compact .module-topbar__title,.module-topbar--consumos-compact .module-topbar__beneficiary,.module-topbar--consumos-compact .header-account-btn,.module-topbar--consumos-compact .header-account-name,.module-topbar--consumos-compact .header-account-btn small{color:#fff}.module-topbar--consumos-compact .module-topbar__icon{background:#ffffff29;border-color:#ffffff38}.module-topbar--consumos-compact .header-menu-btn{color:#fff;background:#ffffff1f;border-color:#ffffff59}.module-topbar--consumos-compact .module-topbar__glow{opacity:.2}.module-topbar--consumos-compact .module-topbar__description{display:none}.module-topbar__beneficiary{opacity:.95;white-space:nowrap;text-overflow:ellipsis;margin:.1rem 0 0;font-size:.8rem;font-weight:600;overflow:hidden}.module-topbar--consumos-compact{padding-top:.45rem;padding-bottom:.45rem}.dashboard-shell--consumos-only .header-menu-btn{display:none!important}.dashboard-shell--consumos-only .dashboard-main{width:100%;max-width:100%;margin-left:0}.header-api-status{display:none!important}.header-menu-btn{cursor:pointer;color:var(--text-primary,#0f172a);background:#ffffffb3;border:1px solid #0f172a1a;border-radius:8px;flex-shrink:0;padding:.3rem .45rem;font-size:1.1rem;display:none}@media (width<=900px){.dashboard-header.module-topbar{padding:var(--space-2,.45rem) var(--space-3,.675rem) var(--space-3,.675rem);align-items:flex-start;row-gap:var(--space-2,.45rem);flex-wrap:wrap}.header-menu-btn{justify-content:center;align-items:center;display:inline-flex}.module-topbar__left{flex:calc(100% - 9rem);align-items:flex-start}.module-topbar__right{margin-left:auto}.module-topbar__copy{flex:auto}.module-topbar__title{font-size:1.02rem}.module-topbar__description{-webkit-line-clamp:2;max-width:none;font-size:.74rem}.module-topbar .header-date{display:none}}@media (width<=560px){.module-topbar__description{flex-basis:100%}.module-topbar__left{flex-wrap:wrap}.module-topbar__copy{flex:calc(100% - 4rem)}}:root{--density:.9;--font-size-root:14.4px;--space-1:.225rem;--space-2:.45rem;--space-3:.675rem;--space-4:.9rem;--space-5:1.35rem;--space-6:1.8rem;--bg-main:#eef1f5;--bg-sidebar:#1a2d4a;--bg-sidebar-hover:#243a5e;--bg-card:#fff;--text-primary:#1e293b;--text-secondary:#64748b;--text-sidebar:#cbd5e1;--text-sidebar-active:#fff;--accent-green:#059669;--accent-green-light:#d1fae5;--accent-red:#dc2626;--accent-red-light:#fee2e2;--accent-blue:#2563eb;--accent-blue-light:#dbeafe;--accent-gold:#b8860b;--accent-gold-light:#fef3c7;--shadow-sm:0 1px 3px #0f172a14;--shadow-md:0 4px 12px #0f172a1a;--radius:10.8px;--radius-sm:7.2px;--sidebar-width:234px;--header-height:46.8px;--font-sans:"Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html{font-size:var(--font-size-root)}html,body,#root{height:100%}body{font-family:var(--font-sans);background:var(--bg-main);color:var(--text-primary);-webkit-font-smoothing:antialiased;font-size:1rem;line-height:1.45}.dashboard-shell{min-height:100vh;display:flex}.dashboard-main{min-width:0;margin-left:var(--sidebar-width);flex-direction:column;flex:1;transition:margin-left .25s;display:flex}.dashboard-content{padding:var(--space-4) var(--space-5) var(--space-6);flex:1;overflow-x:hidden}.sidebar{width:var(--sidebar-width);background:var(--bg-sidebar);height:100vh;color:var(--text-sidebar);z-index:100;flex-direction:column;transition:transform .25s;display:flex;position:fixed;top:0;left:0}.sidebar-brand{border-bottom:1px solid #ffffff14;padding:1.25rem 1.5rem}.sidebar-brand h1,.sidebar-brand-title{color:var(--text-sidebar-active);letter-spacing:.02em;font-size:1.05rem;font-weight:700}.sidebar-brand p{color:var(--text-sidebar);margin-top:.25rem;font-size:.72rem;line-height:1.4}.sidebar-nav{flex:1;padding:1rem .75rem;overflow-y:auto}.sidebar-nav ul{list-style:none}.sidebar-nav li{margin-bottom:.25rem}.sidebar-nav button{width:100%;color:var(--text-sidebar);border-radius:var(--radius-sm);cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:.75rem;padding:.7rem 1rem;font-family:inherit;font-size:.875rem;transition:background .15s,color .15s;display:flex}.sidebar-nav button:hover{background:var(--bg-sidebar-hover);color:var(--text-sidebar-active)}.sidebar-nav button.active{color:var(--text-sidebar-active);background:#ffffff1f;font-weight:600}.sidebar-nav .nav-icon{text-align:center;opacity:.85;width:20px;font-size:1rem}.sidebar-footer{color:#cbd5e199;border-top:1px solid #ffffff14;padding:1rem 1.5rem;font-size:.7rem}.sidebar-overlay{z-index:99;background:#0006;display:none;position:fixed;inset:0}.sidebar-toggle{z-index:101;background:var(--bg-sidebar);color:#fff;cursor:pointer;width:48px;height:48px;box-shadow:var(--shadow-md);border:none;border-radius:50%;font-size:1.25rem;display:none;position:fixed;bottom:1rem;right:1rem}.dashboard-header{height:auto;min-height:var(--header-height);background:var(--bg-card);padding:0 var(--space-5,1.35rem);box-shadow:var(--shadow-sm);z-index:50;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.header-left{align-items:center;gap:1rem;min-width:0;display:flex}.header-menu-btn{cursor:pointer;color:var(--text-primary);background:0 0;border:none;padding:.25rem;font-size:1.25rem;display:none}.header-title h2{white-space:nowrap;text-overflow:ellipsis;font-size:1.15rem;font-weight:600;overflow:hidden}.header-title p{color:var(--text-secondary);margin-top:.1rem;font-size:.75rem}.header-right{flex-shrink:0;align-items:center;gap:1rem;display:flex}.header-badge{background:var(--accent-gold-light);color:var(--accent-gold);white-space:nowrap;border-radius:999px;padding:.35rem .75rem;font-size:.7rem;font-weight:600}.header-date{color:var(--text-secondary);white-space:nowrap;font-size:.8rem}.page-header{margin-bottom:1.5rem}.page-header h1{color:var(--text-primary);font-size:1.5rem;font-weight:700}.page-header p{color:var(--text-secondary);margin-top:.35rem;font-size:.875rem}.page-note{border-radius:var(--radius-sm);color:var(--text-secondary);background:#f8fafc;border:1px dashed #cbd5e1;margin-bottom:1.5rem;padding:.75rem 1rem;font-size:.8rem}.kpi-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1.5rem;display:grid}.kpi-card{background:var(--bg-card);border-radius:var(--radius);box-shadow:var(--shadow-sm);border-left:4px solid var(--kpi-accent,var(--accent-blue));padding:1.25rem}.kpi-card-label{text-transform:uppercase;letter-spacing:.04em;color:var(--text-secondary);font-size:.75rem;font-weight:600}.kpi-card-value{color:var(--text-primary);margin-top:.35rem;font-size:1.75rem;font-weight:700}.kpi-card-sub{color:var(--text-secondary);margin-top:.25rem;font-size:.75rem}.kpi-card.accent-green{--kpi-accent:var(--accent-green)}.kpi-card.accent-red{--kpi-accent:var(--accent-red)}.kpi-card.accent-blue{--kpi-accent:var(--accent-blue)}.kpi-card.accent-gold{--kpi-accent:var(--accent-gold)}.module-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-bottom:1.5rem;display:grid}.home-modules-empty,.home-modules-loading{border-radius:var(--radius-sm);color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;margin:0 0 1.25rem;padding:.85rem 1rem;font-size:.9rem}.module-card{background:var(--bg-card);border-radius:var(--radius);box-shadow:var(--shadow-sm);cursor:pointer;border:1px solid #0000;padding:1.25rem;transition:box-shadow .2s,border-color .2s,transform .15s}.module-card-icon{border-radius:var(--radius-sm);justify-content:center;align-items:center;width:40px;height:40px;margin-bottom:.75rem;font-size:1.25rem;display:flex}.module-card h3{font-size:.95rem;font-weight:600}.module-card p{color:var(--text-secondary);margin-top:.35rem;font-size:.78rem}.module-card-status{color:var(--text-secondary);background:#f1f5f9;border-radius:4px;margin-top:.75rem;padding:.2rem .5rem;font-size:.7rem;font-weight:600;display:inline-block}.chart-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1rem;margin-bottom:1.5rem;display:grid}.placeholder-chart{background:var(--bg-card);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:1.25rem}.placeholder-chart h3{color:var(--text-primary);margin-bottom:1rem;font-size:.875rem;font-weight:600}.chart-bars{align-items:flex-end;gap:.5rem;height:160px;padding-top:.5rem;display:flex}.chart-bar-group{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:.35rem;height:100%;display:flex}.chart-bar{background:linear-gradient(180deg, var(--bar-color,var(--accent-blue)) 0%, #2563eb99 100%);border-radius:4px 4px 0 0;width:100%;max-width:48px;min-height:8px;transition:opacity .2s}.chart-bar-label{color:var(--text-secondary);text-align:center;text-overflow:ellipsis;white-space:nowrap;max-width:56px;font-size:.65rem;overflow:hidden}.chart-line-placeholder{border-radius:var(--radius-sm);background:linear-gradient(#2563eb0f 0%,#0000 100%);height:160px;position:relative;overflow:hidden}.chart-line-placeholder svg{width:100%;height:100%}.table-wrapper{background:var(--bg-card);border-radius:var(--radius);box-shadow:var(--shadow-sm);margin-bottom:1.5rem;overflow:hidden}.table-wrapper h3{padding:1rem 1.25rem 0;font-size:.875rem;font-weight:600}.table-scroll{padding:1rem 1.25rem 1.25rem;overflow-x:auto}.placeholder-table{border-collapse:collapse;width:100%;font-size:.8rem}.placeholder-table th{text-align:left;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.03em;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:.65rem .75rem;font-size:.72rem;font-weight:600}.placeholder-table td{color:var(--text-primary);white-space:nowrap;border-bottom:1px solid #f1f5f9;padding:.65rem .75rem}.placeholder-table tr:last-child td{border-bottom:none}.status-badge{border-radius:999px;padding:.15rem .5rem;font-size:.68rem;font-weight:600;display:inline-block}.status-pending{color:#92400e;background:#fef3c7}.status-ok{background:var(--accent-green-light);color:var(--accent-green)}.status-alert{background:var(--accent-red-light);color:var(--accent-red)}.section-card{background:var(--bg-card);border-radius:var(--radius);box-shadow:var(--shadow-sm);margin-bottom:1.5rem;padding:1.25rem}.section-card h3{border-bottom:1px solid #f1f5f9;margin-bottom:1rem;padding-bottom:.5rem;font-size:.95rem;font-weight:600}.section-list{list-style:none}.section-list li{color:var(--text-secondary);border-bottom:1px solid #f8fafc;align-items:center;gap:.5rem;padding:.5rem 0;font-size:.85rem;display:flex}.section-list li:before{content:"→";color:var(--accent-gold);font-weight:600}.home-grid-2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem;display:grid}.project-status{flex-wrap:wrap;gap:.5rem;display:flex}.project-status span{color:var(--text-secondary);background:#f1f5f9;border-radius:999px;padding:.35rem .75rem;font-size:.75rem}.project-status span.active{background:var(--accent-green-light);color:var(--accent-green)}@media (width<=768px){.dashboard-main{margin-left:0}.sidebar{transform:translate(-100%)}.sidebar.open{transform:translate(0)}.sidebar-overlay.open,.header-menu-btn{display:block}.header-badge{display:none}.dashboard-content{padding:1rem}.kpi-grid{grid-template-columns:repeat(2,1fr)}.chart-grid{grid-template-columns:1fr}}@media (width<=390px){.kpi-grid{grid-template-columns:1fr}.header-date{font-size:.7rem}.header-title h2{font-size:1rem}.page-header h1{font-size:1.25rem}}.stock-actions-bar{flex-wrap:wrap;align-items:center;gap:.65rem;margin:0 0 .85rem;display:flex}.stock-page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.stock-module-badge{background:var(--accent-blue-light);color:var(--accent-blue);white-space:nowrap;border-radius:999px;padding:.4rem .85rem;font-size:.72rem;font-weight:600}.stock-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.stock-filters{background:var(--bg-card);border-radius:var(--radius);box-shadow:var(--shadow-sm);margin-bottom:1.5rem;padding:1rem 1.25rem}.stock-filters-row{flex-wrap:wrap;align-items:flex-end;gap:.75rem;display:flex}.stock-filter-field{color:var(--text-secondary);flex-direction:column;gap:.25rem;min-width:120px;font-size:.72rem;font-weight:600;display:flex}.stock-filter-field select,.stock-filter-field input{border-radius:var(--radius-sm);background:#fff;border:1px solid #e2e8f0;padding:.45rem .6rem;font-family:inherit;font-size:.8rem}.stock-filter-search{flex:1;min-width:160px}.stock-filter-btn{border-radius:var(--radius-sm);background:var(--accent-blue);color:#fff;cursor:pointer;border:none;padding:.5rem 1rem;font-size:.8rem;font-weight:600}.stock-filter-btn:hover{opacity:.92}.stock-filter-btn-secondary{color:var(--text-primary);background:#e2e8f0}.ventas-filters-hint{color:var(--text-muted);margin:.5rem 0 0;font-size:.78rem;line-height:1.4}.dashboard-shell--mis-ventas-full .dashboard-main{width:100%;max-width:100%;margin-left:0}.dashboard-shell--mis-ventas-full .dashboard-content{padding:var(--space-4) clamp(1rem, 2.5vw, 2.25rem) var(--space-6);max-width:none}.dashboard-shell--mis-ventas-full .header-menu-btn{display:none!important}.dashboard-shell--mis-ventas-full .mis-ventas-view .ventas-table-wrapper,.dashboard-shell--mis-ventas-full .mis-ventas-view .table-wrapper{-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}.mis-ventas-view{flex-direction:column;gap:1rem;width:100%;min-width:0;max-width:100%;display:flex}.mis-ventas-store-readonly{color:var(--text-primary);border-radius:var(--radius-sm);background:#f1f5f9;border:1px solid #cbd5e1;margin:.35rem 0 0;padding:.45rem .6rem;font-size:.9rem;font-weight:600}.stock-store-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;display:grid}.stock-store-card{border-radius:var(--radius-sm);background:#f8fafc;border:1px solid #e2e8f0;padding:.85rem}.stock-store-name{font-size:.85rem;font-weight:600}.stock-store-meta{color:var(--text-secondary);margin:.35rem 0 .65rem;font-size:.7rem}.stock-dual-bar-row{grid-template-columns:28px 1fr auto;align-items:center;gap:.5rem;margin-bottom:.35rem;display:grid}.stock-bar-label{color:var(--text-secondary);font-size:.65rem;font-weight:700}.stock-bar-track{background:#e2e8f0;border-radius:4px;height:8px;overflow:hidden}.stock-bar-fill{border-radius:4px;min-width:2px;height:100%}.stock-bar-fill.bar-kg{background:var(--accent-green)}.stock-bar-fill.bar-und{background:var(--accent-blue)}.stock-bar-value{color:var(--text-secondary);white-space:nowrap;font-size:.68rem}.stock-category-table td,.stock-category-table th{font-size:.75rem}.tipo-stock-badge{border-radius:4px;padding:.15rem .45rem;font-size:.68rem;font-weight:600;display:inline-block}.tipo-stock-badge.tipo-kilos{color:#047857;background:#d1fae5}.tipo-stock-badge.tipo-und{background:var(--accent-blue-light);color:var(--accent-blue)}.tipo-stock-badge.tipo-sindato,.status-neutral{color:var(--text-secondary);background:#f1f5f9}.stock-cell-producto{text-overflow:ellipsis;max-width:180px;overflow:hidden}.stock-cell-cantidad{font-variant-numeric:tabular-nums;font-weight:600}.stock-cell-obs{text-overflow:ellipsis;max-width:200px;color:var(--text-secondary);font-size:.72rem;overflow:hidden}.stock-pagination{color:var(--text-secondary);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:0 1.25rem 1rem;font-size:.78rem;display:flex}.stock-pagination-btns{gap:.5rem;display:flex}.stock-pagination-btns button{border-radius:var(--radius-sm);cursor:pointer;background:#fff;border:1px solid #e2e8f0;padding:.35rem .75rem;font-size:.78rem}.stock-pagination-btns button:disabled{opacity:.45;cursor:not-allowed}.stock-table-loading{color:var(--text-secondary);padding:.5rem 1.25rem;font-size:.78rem}.stock-empty-cell,.stock-empty-inline{text-align:center;color:var(--text-secondary);padding:1.5rem;font-size:.85rem}.stock-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:1rem;min-height:320px;display:flex}.stock-loading p,.stock-error p{color:var(--text-secondary);font-size:.9rem}.stock-error h2{color:var(--accent-red)}.stock-error-hint{font-size:.8rem}.stock-error-hint code{background:#f1f5f9;border-radius:4px;padding:.15rem .4rem}.stock-spinner{border:3px solid #e2e8f0;border-top-color:var(--accent-blue);border-radius:50%;width:40px;height:40px;animation:.8s linear infinite stock-spin}@keyframes stock-spin{to{transform:rotate(360deg)}}.stock-inline-error{background:var(--accent-red-light);color:var(--accent-red);border-radius:var(--radius-sm);margin-bottom:1rem;padding:.75rem 1rem;font-size:.85rem}.stock-footer-meta{color:var(--text-secondary);text-align:right;margin-top:-.5rem;font-size:.72rem}.ventas-module-badge{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.ventas-empty-banner{background:var(--accent-gold-light);color:#92400e;border-radius:var(--radius-sm);margin-bottom:1rem;padding:.85rem 1rem;font-size:.88rem;font-weight:500}.ventas-partial-banner{color:#1d4ed8;border-radius:var(--radius-sm);background:#eff6ff;border:1px solid #bfdbfe;margin-bottom:1rem;padding:.85rem 1rem;font-size:.88rem;font-weight:500}.ventas-partial-banner--kpi{margin-bottom:.65rem}.ventas-store-subtitle{color:var(--text-muted,#64748b);margin:-.35rem 0 .85rem;font-size:.75rem}.ventas-store-top{margin-bottom:1.25rem}.ventas-store-charts{margin-bottom:1.5rem}.ventas-store-charts>.ventas-store-subtitle{margin:0 0 .75rem}.ventas-store-charts-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.ventas-store-chart-panel{min-height:280px;margin-bottom:0}.ventas-store-vbars{align-items:flex-end;gap:.75rem;min-height:200px;padding:.5rem 1rem 1rem}.ventas-store-vbar-group{flex:1;max-width:120px}.ventas-store-vbar{width:100%;max-width:56px;min-height:4px;margin:0 auto}.ventas-store-vbar-value{color:var(--text-secondary);text-align:center;font-variant-numeric:tabular-nums;margin-bottom:.35rem;font-size:.65rem;line-height:1.2;display:block}.ventas-store-donut-wrap{align-items:center;gap:1rem;padding:.75rem 1.25rem 1.25rem;display:flex}.ventas-store-donut{flex-shrink:0;width:140px;height:140px}.ventas-store-donut-legend{flex-direction:column;flex:1;gap:.45rem;min-width:0;margin:0;padding:0;list-style:none;display:flex}.ventas-store-donut-legend li{color:var(--text-primary);grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:.5rem;font-size:.75rem;display:grid}.ventas-store-donut-swatch{border-radius:2px;width:10px;height:10px}.ventas-store-donut-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ventas-store-donut-pct{font-variant-numeric:tabular-nums;color:var(--text-secondary);font-weight:600}@media (width<=900px){.ventas-store-charts-grid{grid-template-columns:1fr}}.ventas-kpi-grid--four{grid-template-columns:repeat(4,minmax(0,1fr))}@media (width<=900px){.ventas-kpi-grid--four{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.ventas-kpi-grid--four{grid-template-columns:1fr}}.ventas-store-total{color:var(--accent-green);margin:.25rem 0;font-size:1.1rem;font-weight:700}.ventas-store-metrics{color:var(--text-secondary);gap:1rem;margin-top:.35rem;font-size:.72rem;display:flex}.ventas-hour-bars{align-items:flex-end;min-height:180px}.ventas-hour-bar{min-height:4px}.ventas-hour-meta{color:var(--text-secondary);text-align:center;text-overflow:clip;white-space:nowrap;font-variant-numeric:tabular-nums;width:100%;min-width:4.5rem;max-width:none;font-size:.6rem;display:block;overflow:visible}.ventas-top-products{margin-bottom:1.25rem}.ventas-payment-hint{color:var(--text-muted,#64748b);margin:-.35rem 0 .85rem;font-size:.75rem}.ventas-payment-row{margin-bottom:1rem}.ventas-payment-row:last-child,.ventas-payment-grid{margin-bottom:0}.ventas-payment-grid--row4{grid-template-columns:repeat(4,minmax(0,1fr))}.ventas-payment-card--total .metric-card{background:linear-gradient(135deg,#ecfdf5 0%,#fff 70%);border-color:#16a34a73;box-shadow:0 2px 8px #16a34a2e}.ventas-payment-card--consumo .metric-card{background:#f8fafc;border-style:dashed}.ventas-payment-card--unused .metric-card{opacity:.72}.ventas-payment-card--unused .metric-card-value{color:var(--text-muted,#64748b)}@media (width<=900px){.ventas-payment-grid--row4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.ventas-payment-grid--row4{grid-template-columns:1fr}}.ventas-chart-full{margin-bottom:1.5rem}.ventas-chart-full .placeholder-chart{width:100%}.ventas-top-split-grid{flex-direction:column;gap:1.25rem;margin-bottom:1.25rem;display:flex}.ventas-top-split-panel{margin-bottom:0}.ventas-top-hbar-panel{min-height:320px;margin-bottom:0}.ventas-top-hbar-panel>.ventas-store-subtitle{margin:-.15rem 0 .65rem;padding:0 1.25rem}.ventas-top-hbars{flex-direction:column;gap:.55rem;padding:0 1.25rem 1.25rem;display:flex}.ventas-top-hbar-row{grid-template-columns:minmax(140px,48%) minmax(0,1fr) auto;align-items:center;gap:.55rem;display:grid}.ventas-top-hbar-label{color:#0f172a;-webkit-line-clamp:2;line-clamp:2;white-space:normal;word-break:break-word;-webkit-box-orient:vertical;font-size:.8rem;font-weight:700;line-height:1.25;display:-webkit-box;overflow:hidden}.ventas-top-hbar-track{background:#eef2f7;border-radius:999px;height:12px;overflow:hidden}.ventas-top-hbar-fill{background:linear-gradient(90deg,#0f766e 0%,#2563eb 100%);border-radius:999px;min-width:2px;height:100%}.ventas-top-hbar-value{color:#0f172a;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right;min-width:4.5rem;font-size:.88rem;font-weight:700}@media (width<=768px){.ventas-top-hbar-row{grid-template-columns:minmax(96px,52%) minmax(0,1fr) auto}}.ventas-store-chart-panel .ventas-store-vbar-value,.ventas-hour-chart .ventas-hour-meta{color:#0f172a;font-size:.78rem;font-weight:700}.ventas-hour-chart .ventas-hour-meta{text-overflow:clip;white-space:nowrap;min-width:4.75rem;max-width:none;line-height:1.15;overflow:visible}.ventas-store-chart-panel .chart-bar-label,.ventas-hour-chart .chart-bar-label{color:#0f172a;font-size:.72rem;font-weight:700}.ventas-store-chart-panel .chart-bar-label.ventas-store-label-full{white-space:normal;text-overflow:clip;overflow-wrap:anywhere;text-align:center;-webkit-hyphens:manual;hyphens:manual;width:100%;max-width:6.5rem;min-height:2.1em;line-height:1.15;overflow:visible}.ventas-store-vbar-group{flex:5.5rem;min-width:5.5rem}.ventas-hour-bars .chart-bar-group{flex:3.25rem;min-width:3.25rem}@media (width<=768px){.ventas-store-chart-panel .chart-bar-label.ventas-store-label-full{max-width:5.25rem;font-size:.68rem}.ventas-hour-chart .ventas-hour-meta{min-width:4.25rem;font-size:.7rem}}.ventas-store-donut-legend li,.ventas-store-donut-name{color:#0f172a;font-weight:700}.ventas-store-donut-pct{color:#0f172a;font-size:.82rem;font-weight:700}.ventas-top-hbar-panel>h3,.ventas-store-chart-panel>h3,.ventas-hour-chart>h3{color:#0f172a;font-weight:700}@media (width<=1100px){.ventas-store-full-width .stock-store-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=768px){.ventas-store-full-width .stock-store-grid{grid-template-columns:1fr}}.ventas-detail-table th,.ventas-detail-table td{font-size:.72rem}.ventas-table-wrapper{background:#fff;border:1px solid #e2e8f0;border-radius:.85rem;padding:.85rem 1rem 1rem;overflow:hidden;box-shadow:0 1px 3px #0f172a0f,0 4px 12px #0f172a0a}.ventas-detail-heading{flex-direction:column;gap:7px;margin-bottom:.85rem;display:flex}.ventas-detail-heading__title,.ventas-detail-heading__subtitle{margin:0}.ventas-detail-heading__subtitle{color:var(--text-muted,#64748b);font-size:.75rem;line-height:1.35}.ventas-detail-table{border-collapse:collapse;width:100%}.ventas-detail-table thead th{text-align:left;text-transform:uppercase;letter-spacing:.08em;color:#f8fafc;background:linear-gradient(#1e293b 0%,#334155 100%);border-bottom:3px solid #059669;padding:.75rem .65rem;font-size:.7rem;font-weight:700}.ventas-detail-table tbody td{color:#0f172a;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:.65rem}.ventas-detail-table tbody tr:nth-child(2n){background:#fafbfd}.ventas-detail-table tbody tr:hover{background:#f0fdf9}.ventas-detail-table tbody tr:last-child td{border-bottom:none}.ventas-detail-table .stock-cell-producto{overflow-wrap:anywhere;white-space:normal;text-overflow:clip;width:32%;min-width:220px;max-width:360px;font-weight:600;line-height:1.35}.merma-module-badge{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.merma-empty-banner{color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;margin-bottom:1rem;padding:.75rem 1rem;font-size:.85rem}.merma-kpi-grid{grid-template-columns:repeat(5,minmax(0,1fr))}@media (width<=1100px){.merma-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}.merma-kpi-grid .kpi-card.accent-red{border-left:3px solid #dc2626}.merma-store-card.merma-store-active{background:snow;border-color:#fca5a5}.merma-store-peso{color:#b91c1c;margin:.25rem 0;font-size:1.15rem;font-weight:700}.merma-bar-fill{background:#ef4444!important}.merma-user-chart{min-height:12rem}.merma-user-list{flex-direction:column;gap:.75rem;display:flex}.merma-user-row{border-bottom:1px solid #f1f5f9;padding:.5rem 0}.merma-user-name{font-size:.9rem;font-weight:600}.merma-user-peso{color:#b91c1c;font-size:.95rem;font-weight:600}.merma-user-bar-track{height:6px;margin-top:.35rem}.merma-day-bars{align-items:flex-end;min-height:10rem}.merma-day-bar{background:var(--bar-color,#dc2626)}.merma-day-meta{color:#64748b;text-align:center;text-overflow:ellipsis;max-width:3.5rem;font-size:.65rem;overflow:hidden}.merma-top-products{margin-bottom:1.25rem}.merma-top-split-section{border-top:1px solid #e2e8f0;margin-top:2rem;margin-bottom:1.5rem;padding-top:1.5rem}.merma-top-split-heading{color:var(--text-primary);margin:0 0 1rem;font-size:1rem;font-weight:600}.merma-top-split-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;display:grid}.merma-user-split-section{margin-bottom:1.25rem}.merma-user-split-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.merma-vchart-panel{--merma-vchart-plot-height:11.5rem;--merma-vchart-xaxis-space:2.65rem;min-height:18rem}.merma-vchart{grid-template-columns:auto minmax(0,1fr);gap:.65rem;min-height:14rem;padding:.25rem .35rem .35rem;display:grid}.merma-vchart-yaxis{min-width:3.25rem;padding-bottom:var(--merma-vchart-xaxis-space);flex-direction:column;justify-content:space-between;display:flex}.merma-vchart-ytick{color:#64748b;white-space:nowrap;font-size:.68rem;line-height:1}.merma-vchart-body{min-height:calc(1.5rem + var(--merma-vchart-plot-height) + var(--merma-vchart-xaxis-space));min-width:0;padding-top:.25rem;position:relative}.merma-vchart-plot{width:100%;min-width:0;position:relative}.merma-vchart-grid{width:100%;height:var(--merma-vchart-plot-height);pointer-events:none;position:absolute;top:1.5rem;left:0;right:0}.merma-vchart-gridline{border-top:1px dashed #e2e8f0;position:absolute;left:0;right:0}.merma-vchart-columns{z-index:1;justify-content:space-around;align-items:flex-start;gap:.5rem;padding-top:1.5rem;display:flex;position:relative}.merma-vchart-column{flex-direction:column;flex:1 1 0;align-items:center;min-width:0;max-width:5.5rem;display:flex}.merma-vchart-bar-area{width:100%;height:var(--merma-vchart-plot-height);box-sizing:border-box;border-bottom:2px solid #64748b;flex-direction:column;justify-content:flex-end;align-items:center;display:flex}.merma-vchart-bar-group,.merma-vchart-bar-group-btn{width:100%;font:inherit;color:inherit;cursor:default;background:0 0;border:0;margin:0;padding:0;display:block}.merma-vchart-bar-group-btn{cursor:pointer}.merma-vchart-bar-group-btn.is-selected .merma-vchart-bar{box-shadow:0 0 0 2px #0f172a}.merma-vchart-bar-stack{flex-direction:column;justify-content:flex-end;align-items:center;gap:.25rem;width:72%;height:100%;min-height:0;display:flex}.merma-vchart-bar-value{color:#0f172a;text-align:center;white-space:nowrap;flex:none;font-size:.68rem;font-weight:700;line-height:1.1}.merma-vchart-bar-plot{display:none}.merma-vchart-bar{background:var(--bar-color,#2563eb);border-radius:4px 4px 0 0;flex:none;width:100%;min-height:4px;transition:opacity .15s}.merma-vchart-bar-group:hover .merma-vchart-bar,.merma-vchart-bar-group-btn:hover .merma-vchart-bar{opacity:.88}.merma-vchart-x-label,.merma-vchart-bar-label{color:#334155;text-align:center;text-overflow:ellipsis;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;flex:none;max-width:100%;margin-top:.45rem;font-size:.68rem;font-weight:600;line-height:1.15;display:-webkit-box;overflow:hidden}@media (width<=1100px){.merma-top-split-grid,.merma-user-split-grid{grid-template-columns:1fr}}.merma-top-hbar-fill-kg{background:linear-gradient(90deg,#dc2626 0%,#f97316 100%)}.merma-top-hbar-fill-und{background:linear-gradient(90deg,#7c3aed 0%,#2563eb 100%)}.merma-top-hbar-panel .ventas-top-hbar-row{grid-template-columns:minmax(120px,46%) minmax(0,1fr) auto;align-items:center}.merma-top-hbar-label{white-space:normal;-webkit-line-clamp:2;line-clamp:2;text-overflow:ellipsis;word-break:break-word;-webkit-box-orient:vertical;line-height:1.2;display:-webkit-box;overflow:hidden}@media (width<=900px){.merma-top-hbar-panel .ventas-top-hbar-row{grid-template-columns:minmax(96px,52%) minmax(0,1fr) auto}}.merma-charts-section{--merma-trend-visible-rows:7;--merma-trend-row-h:2.05rem;--merma-trend-head-h:2.2rem;--merma-trend-table-h:calc(var(--merma-trend-head-h) + (var(--merma-trend-visible-rows) * var(--merma-trend-row-h)));--merma-trend-canonical-height:calc(var(--merma-trend-table-h) + 3.55rem);margin-bottom:1.25rem}.merma-filters-row{flex-wrap:wrap}.merma-filter-date{flex:none}.merma-filter-date input[type=date]{min-width:9.4rem}.merma-filter-range-error{color:#b45309;margin:.4rem 0 0;font-size:.8rem}@media (width>=1400px){.merma-filters-row,.ventas-filters .stock-filters-row{flex-wrap:nowrap}.merma-filters-row .stock-filter-field,.ventas-filters .stock-filters-row .stock-filter-field{flex:0 auto;min-width:0}.merma-filters-row .stock-filter-search,.ventas-filters .stock-filter-search{flex:10rem;min-width:9rem}}@media (width>=1680px){.merma-filters-row{flex-wrap:nowrap}}.merma-filters .stock-filter-field select:disabled{opacity:.55;cursor:not-allowed;background:#f8fafc}.merma-scope-meta{color:var(--text-muted,#64748b);margin:0 0 1rem;font-size:.82rem}.merma-scope-meta strong{color:var(--text-primary,#0f172a)}.merma-charts-heading{color:var(--text-primary);margin:0 0 .75rem;font-size:1rem;font-weight:600}.merma-charts-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.merma-chart-panel{min-height:0;margin-bottom:0}.merma-store-chart.merma-store-chart-balanced{flex-direction:column;min-height:0;padding-bottom:.7rem;display:flex}.merma-store-chart.merma-store-chart-balanced.ventas-store-chart-panel{min-height:0}.merma-store-chart-balanced>h3{flex:none;margin:0 0 1.55rem}.merma-store-vbars{flex:auto;justify-content:center;align-items:stretch;height:auto;min-height:10.5rem;padding:.15rem .35rem .1rem}.merma-store-vbars-centered{justify-content:center}.merma-store-vbars .merma-store-vbar-group,.merma-store-vbars-centered .merma-store-vbar-group{flex-direction:column;flex:0 0 6.75rem;align-items:center;gap:.2rem;width:6.75rem;min-width:6.5rem;max-width:7.25rem;display:flex}.merma-store-vbar-group .ventas-store-vbar-value{margin-bottom:.65rem}.merma-store-plot{box-sizing:border-box;border-bottom:1px solid #64748b;flex-direction:column;flex:auto;justify-content:flex-end;align-items:center;width:100%;min-height:7.25rem;padding-top:1.65rem;display:flex}.merma-store-vbar{background:var(--bar-color,#dc2626)}.merma-chart-panel .chart-bar-label.merma-store-label-full{white-space:normal;text-overflow:clip;overflow-wrap:anywhere;text-align:center;color:#0f172a;width:100%;max-width:7.25rem;min-height:0;margin-top:.4rem;margin-bottom:0;font-size:.72rem;font-weight:700;line-height:1.2;overflow:visible}.merma-trend-panel{flex-direction:column;height:100%;min-height:0;padding-bottom:.7rem;display:flex}.merma-trend-panel>h3{flex:none;margin:0 0 1.1rem}.merma-trend-panel .merma-trend-bars{flex:auto;align-items:stretch;height:auto;min-height:10.5rem;padding:.15rem .35rem .1rem}.merma-trend-block,.merma-trend-block-canonical{height:var(--merma-trend-canonical-height);min-height:var(--merma-trend-canonical-height);max-height:var(--merma-trend-canonical-height);grid-column:1/-1;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:1rem;display:grid}.merma-trend-bar-group{cursor:pointer;min-width:0;height:100%;font:inherit;color:inherit;background:0 0;border:0;flex-direction:column;flex:1;justify-content:flex-end;align-items:center;padding:0;display:flex}.merma-trend-bar-group-selected .merma-trend-bar{box-shadow:0 0 0 2px #0f172a}.merma-trend-plot{box-sizing:border-box;border-bottom:1px solid #64748b;flex-direction:column;flex:auto;justify-content:flex-end;align-items:center;width:100%;min-height:7.25rem;padding-top:1.15rem;display:flex}.merma-trend-detail{background:var(--bg-card);border-radius:var(--radius);min-width:0;height:100%;min-height:0;box-shadow:var(--shadow-sm);box-sizing:border-box;flex-direction:column;padding:.85rem .9rem .7rem;display:flex}.merma-trend-detail-caption{letter-spacing:.01em;color:var(--text-primary,#0f172a);margin:0 0 .65rem;font-size:.82rem;font-weight:700}.merma-trend-detail-empty{margin:0}.merma-trend-detail-scroll{flex:0 0 var(--merma-trend-table-h);height:var(--merma-trend-table-h);max-height:var(--merma-trend-table-h);border:1px solid #d6e4ea;border-radius:8px;min-height:0;overflow:auto}.merma-trend-detail-table th,.merma-trend-detail-table td{height:var(--merma-trend-row-h);box-sizing:border-box}.merma-trend-detail-table thead th{height:var(--merma-trend-head-h)}.merma-trend-detail-table{border-collapse:collapse;width:100%;font-size:.74rem}.merma-trend-detail-table th,.merma-trend-detail-table td{text-align:left;white-space:nowrap;vertical-align:middle;border-bottom:1px solid #e2e8f0;padding:.48rem .6rem}.merma-trend-detail-table td.merma-trend-producto{white-space:nowrap;text-overflow:ellipsis;max-width:11rem;overflow:hidden}@media (width>=901px){.merma-trend-detail-table td.merma-trend-producto{max-width:18rem}}.merma-trend-detail-table th{z-index:1;color:#f8fafc;letter-spacing:.06em;text-transform:uppercase;background:linear-gradient(#0f766e 0%,#0d5f59 100%);border-bottom:1px solid #0b4f4a;font-size:.68rem;font-weight:700;position:sticky;top:0}.merma-trend-detail-table tbody tr:nth-child(2n){background:#f8fafc}.merma-trend-detail-table tbody tr:hover{background:#ecfeff}.merma-trend-detail-table .merma-trend-qty{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}@media (width<=900px){.merma-charts-grid{grid-template-columns:1fr}.merma-trend-block,.merma-trend-block-canonical{grid-template-columns:1fr;height:auto;min-height:0;max-height:none}.merma-trend-detail-scroll{flex-basis:var(--merma-trend-table-h)}}.merma-auditoria-section{margin-bottom:1.25rem}.merma-auditoria-heading{color:var(--text-primary);margin:0 0 .35rem;font-size:1rem;font-weight:600}.merma-auditoria-subtitle{color:var(--text-muted,#64748b);max-width:52rem;margin:0 0 .85rem;font-size:.78rem;line-height:1.45}.merma-auditoria-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;display:grid}.merma-auditoria-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:.85rem 1rem}.merma-auditoria-card-title{margin-bottom:.45rem;font-size:.82rem;font-weight:600}.merma-auditoria-card-metric{font-size:1.05rem;font-weight:700;line-height:1.2}.merma-auditoria-card-kg{color:#475569;margin-top:.2rem;font-size:.82rem}.merma-auditoria-card-und{color:#64748b;margin-top:.15rem;font-size:.78rem}.merma-auditoria-bar-track{background:#f1f5f9;border-radius:999px;height:5px;margin-top:.55rem;overflow:hidden}.merma-auditoria-bar-fill{border-radius:999px;min-width:0;height:100%;transition:width .2s}.merma-auditoria-card--pendiente{background:linear-gradient(#fffbeb 0%,#fff 65%);border-color:#fde68a}.merma-auditoria-card--pendiente .merma-auditoria-card-title{color:#b45309}.merma-auditoria-bar-fill--pendiente{background:#f59e0b}.merma-auditoria-card--aprobado{background:linear-gradient(#ecfdf5 0%,#fff 65%);border-color:#bbf7d0}.merma-auditoria-card--aprobado .merma-auditoria-card-title{color:#047857}.merma-auditoria-bar-fill--aprobado{background:#16a34a}.merma-auditoria-card--desaprobado{background:linear-gradient(#fef2f2 0%,#fff 65%);border-color:#fecaca}.merma-auditoria-card--desaprobado .merma-auditoria-card-title{color:#b91c1c}.merma-auditoria-bar-fill--desaprobado{background:#ef4444}@media (width<=760px){.merma-auditoria-grid{grid-template-columns:1fr}}.merma-detail-table th,.merma-detail-table td{font-size:.72rem}.merma-detail-premium{overflow:hidden}.merma-detail-premium-header{background:linear-gradient(135deg,#f0fdfa 0%,#f8fafc 50%,#fff 100%);border-bottom:1px solid #e2e8f0;padding:1rem 1.25rem .85rem}.merma-detail-premium-title{color:#0f172a;letter-spacing:-.01em;margin:0;font-size:.95rem;font-weight:700}.merma-detail-premium-meta{color:#64748b;margin:.3rem 0 0;font-size:.74rem}.merma-detail-header-row{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.merma-detail-tools{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.merma-detail-view-toggle{background:#0f172a0d;border:1px solid #e2e8f0;border-radius:999px;gap:.35rem;padding:.25rem;display:inline-flex}.merma-detail-view-toggle button{cursor:pointer;color:#475569;background:0 0;border:none;border-radius:999px;padding:.4rem .85rem;font-family:inherit;font-size:.8rem}.merma-detail-view-toggle button.active{color:#fff;background:#0d9488;font-weight:600}.merma-detail-pagesize{color:#64748b;align-items:center;gap:.4rem;font-size:.78rem;display:inline-flex}.merma-detail-pagesize select{border-radius:var(--radius-sm);cursor:pointer;background:#fff;border:1px solid #e2e8f0;padding:.35rem .5rem;font-family:inherit;font-size:.78rem}.merma-group-count{color:#fff;text-align:center;background:#0d9488;border-radius:999px;min-width:1.4rem;padding:.05rem .4rem;font-size:.72rem;font-weight:700;display:inline-block}.merma-detail-loading{padding:0 1.25rem}.merma-detail-scroll{padding:0 .25rem .5rem}.merma-detail-premium .merma-detail-scroll--grouped{overflow-x:visible}@media (width>=1100px){.merma-detail-premium .merma-detail-scroll--grouped{overflow-x:visible}}.merma-detail-premium .merma-detail-table thead th{color:#ecfdf5;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap;background:linear-gradient(#134e4a 0%,#0f766e 100%);border:none;padding:.7rem .75rem;font-size:.64rem;font-weight:700}.merma-detail-premium .merma-detail-table thead th.merma-th-metric{text-align:right}.merma-detail-premium .merma-detail-table tbody td{vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:.65rem .75rem}.merma-detail-premium .merma-detail-table tbody tr:nth-child(2n) td{background:#fafbfc}.merma-detail-premium .merma-detail-table tbody tr.merma-detail-row:hover td{background:#ecfdf5}.merma-detail-empty{text-align:center;color:#64748b;padding:1.25rem!important}.merma-cell-producto{white-space:normal;overflow-wrap:anywhere;word-break:break-word;vertical-align:top;min-width:15rem;max-width:24rem}.merma-producto-cell{flex-direction:column;gap:.15rem;display:flex}.merma-producto-nombre{color:#0f172a;font-weight:600;line-height:1.25}.merma-producto-id{color:#94a3b8;font-variant-numeric:tabular-nums;font-size:.68rem}.merma-cell-kg{text-align:right;color:#b91c1c;font-variant-numeric:tabular-nums;font-weight:600}.merma-cell-und{text-align:right;color:#6d28d9;font-variant-numeric:tabular-nums;font-weight:600}.merma-cell-id{font-variant-numeric:tabular-nums;color:#64748b}.merma-detail-premium .merma-grouped-table{table-layout:fixed;width:100%}.merma-detail-premium .merma-grouped-table thead th{letter-spacing:.04em;vertical-align:middle;white-space:normal;padding:.48rem .35rem;font-size:.6rem}.merma-detail-premium .merma-grouped-table thead th span{line-height:1.18;display:block}.merma-detail-premium .merma-grouped-table tbody td{vertical-align:middle;padding:.46rem .35rem;line-height:1.35}.merma-grouped-table th,.merma-grouped-table td{font-size:.7rem}.merma-grouped-table col.merma-col-fecha,.merma-grouped-table td:first-child,.merma-grouped-table td:nth-child(2){white-space:nowrap}.merma-grouped-table th:first-child,.merma-grouped-table td:first-child{width:8%}.merma-grouped-table th:nth-child(2),.merma-grouped-table td:nth-child(2){width:7%}.merma-grouped-table th:nth-child(3),.merma-grouped-table td:nth-child(3){white-space:normal;overflow-wrap:anywhere;width:10%}.merma-grouped-table th:nth-child(4),.merma-grouped-table td:nth-child(4){width:20%}.merma-grouped-table th:nth-child(5),.merma-grouped-table td:nth-child(5),.merma-grouped-table th:nth-child(6),.merma-grouped-table td:nth-child(6){width:9%}.merma-grouped-table th:nth-child(7),.merma-grouped-table td:nth-child(7){white-space:normal;overflow-wrap:anywhere;width:9%}.merma-grouped-table th:nth-child(8),.merma-grouped-table td:nth-child(8){width:6%}.merma-grouped-table th:nth-child(9),.merma-grouped-table td:nth-child(9){white-space:normal;width:22%}.merma-grouped-table .merma-cell-producto{vertical-align:middle;min-width:0;max-width:none}.merma-grouped-table .merma-producto-cell{gap:0}.merma-grouped-table .merma-producto-nombre{-webkit-line-clamp:2;line-clamp:2;overflow-wrap:anywhere;word-break:break-word;-webkit-box-orient:vertical;line-height:1.28;display:-webkit-box;overflow:hidden}.merma-grouped-table .merma-group-action{white-space:normal;text-align:center;max-width:100%;padding:.28rem .35rem;font-size:.64rem;line-height:1.2}.merma-detail-premium .merma-grouped-table thead th:nth-child(5),.merma-detail-premium .merma-grouped-table thead th:nth-child(6),.merma-detail-premium .merma-grouped-table thead th:nth-child(7),.merma-detail-premium .merma-grouped-table thead th:nth-child(8),.merma-detail-premium .merma-grouped-table thead th:nth-child(9){text-align:center}.merma-detail-premium .merma-grouped-table tbody td:nth-child(5),.merma-detail-premium .merma-grouped-table tbody td:nth-child(6),.merma-detail-premium .merma-grouped-table tbody td:nth-child(7),.merma-detail-premium .merma-grouped-table tbody td:nth-child(8),.merma-detail-premium .merma-grouped-table tbody td:nth-child(9){text-align:center;vertical-align:middle}.merma-grouped-table .merma-cell-kg,.merma-grouped-table .merma-cell-und{text-align:center}.merma-estado-badge{white-space:nowrap;border:1px solid #0000;border-radius:999px;padding:.15rem .45rem;font-size:.68rem;font-weight:600;line-height:1.2;display:inline-block}.merma-estado-badge--aprobado{color:#166534;background:#dcfce7;border-color:#bbf7d0}.merma-estado-badge--pendiente{color:#a16207;background:#fef9c3;border-color:#fde68a}.merma-estado-badge--desaprobado{color:#b91c1c;background:#fee2e2;border-color:#fecaca}.merma-estado-badge--neutral{color:#475569;background:#f1f5f9;border-color:#e2e8f0}.conciliacion-module-badge{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.conciliacion-empty-banner{color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;margin-bottom:1rem;padding:.75rem 1rem;font-size:.85rem}.conciliacion-kpi-grid .kpi-card.accent-teal{border-left:3px solid #0d9488}.conciliacion-kpi-grid .kpi-card.accent-teal .kpi-card-value{color:#0d9488}.conciliacion-store-card.conciliacion-store-active{background:#f0fdfa;border-color:#5eead4}.conciliacion-store-peso{color:#059669;margin:.25rem 0;font-size:1.15rem;font-weight:700}.conciliacion-bar-fill{background:#0d9488!important}.conciliacion-store-metrics{color:#64748b;gap:.5rem;margin-top:.25rem;font-size:.75rem;display:flex}.conciliacion-user-chart{min-height:12rem}.conciliacion-user-list{flex-direction:column;gap:.75rem;display:flex}.conciliacion-user-row{border-bottom:1px solid #f1f5f9;padding:.5rem 0}.conciliacion-user-name{font-size:.9rem;font-weight:600}.conciliacion-user-peso{color:#059669;font-size:.95rem;font-weight:600}.conciliacion-user-bar-track{height:6px;margin-top:.35rem}.conciliacion-day-bars{align-items:flex-end;min-height:10rem}.conciliacion-day-bar{background:var(--bar-color,#0d9488)}.conciliacion-day-meta{color:#64748b;text-align:center;text-overflow:ellipsis;max-width:3.5rem;font-size:.65rem;overflow:hidden}.conciliacion-top-products{margin-bottom:1.25rem}.conciliacion-detail-table th,.conciliacion-detail-table td{font-size:.72rem}.conciliacion-cell-observacion{text-overflow:ellipsis;white-space:nowrap;max-width:12rem;overflow:hidden}.conciliacion-estado-badge{color:#475569;background:#f1f5f9;border-radius:4px;padding:.1rem .4rem;font-size:.7rem;display:inline-block}.ventas-totales-period-applied{color:#0f766e;margin-top:.35rem;font-size:.9rem;font-weight:600}.ventas-totales-filters-layout{flex-direction:column;gap:.75rem;display:flex}.ventas-totales-filters-row{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:.75rem .85rem;display:grid}.ventas-totales-range-pair{grid-template-columns:1fr 1fr;align-items:end;gap:.5rem .65rem;min-width:0;display:grid}.ventas-totales-range-pair .ventas-totales-hint{grid-column:1/-1;margin-top:0}.ventas-totales-filters-row--secondary{grid-template-columns:repeat(6,minmax(0,1fr))}.ventas-totales-filters-row--secondary .ventas-totales-filters-actions{grid-column:span 2}.ventas-totales-filters-row .stock-filter-field{min-width:0}.ventas-totales-filters-row .stock-filter-field select,.ventas-totales-filters-row .stock-filter-field input{box-sizing:border-box;width:100%;min-height:2.25rem}.ventas-totales-filters-row .stock-filter-field--grow{grid-column:span 1}.ventas-totales-filters-actions{flex-wrap:wrap;justify-content:flex-start;align-items:end;gap:.5rem;min-height:2.25rem;padding-bottom:.05rem;display:flex}.ventas-totales-filters-actions .btn-primary,.ventas-totales-filters-actions .btn-secondary{border-radius:var(--radius-sm);cursor:pointer;min-height:2.25rem;padding:.45rem .9rem;font-size:.8rem;font-weight:600}.ventas-totales-hint{color:#64748b;margin-top:.25rem;font-size:.75rem;display:block}.ventas-totales-kpi-grid{margin-bottom:1rem}.ventas-totales-section{margin-bottom:1.25rem}.ventas-totales-section--evolution,.ventas-totales-section--by-hour{margin-bottom:1.75rem}.ventas-totales-section--payments{margin-bottom:1.5rem}.ventas-totales-section--by-store{margin-bottom:1.25rem}.ventas-totales-section--store-trend{margin-bottom:1.75rem}.ventas-totales-section--detail{margin-top:.25rem}.ventas-totales-payment-grid.metric-grid,.metric-grid.ventas-totales-payment-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;margin-bottom:0;display:grid}.ventas-totales-tops{grid-template-columns:1fr;gap:1rem;margin-bottom:1rem;display:grid}.ventas-totales-chart-fixed{width:100%;overflow-x:hidden}.ventas-totales-evol-bars{box-sizing:border-box;justify-content:space-between;align-items:flex-end;gap:.2rem;width:100%;max-width:100%;min-height:180px;padding-bottom:.35rem;display:flex;overflow-x:hidden}.ventas-totales-evol-bars--dense{gap:.08rem}.ventas-totales-evol-group{flex:1 1 0;min-width:0;max-width:none}.ventas-totales-evol-label{white-space:normal;text-overflow:clip;overflow-wrap:anywhere;text-align:center;width:100%;max-width:none;min-height:1.6em;font-size:.68rem;line-height:1.15;overflow:hidden}.ventas-totales-evolution .ventas-store-vbar-value,.ventas-totales-by-hour .ventas-store-vbar-value,.ventas-totales-stores .ventas-store-vbar-value{text-overflow:clip;white-space:nowrap;max-width:none;font-size:.65rem;overflow:visible}.ventas-totales-trend-legend{color:#334155;flex-wrap:wrap;gap:.65rem 1rem;margin:0 0 .75rem;padding:0;font-size:.78rem;list-style:none;display:flex}.ventas-totales-trend-swatch{vertical-align:middle;border-radius:2px;width:.75rem;height:.75rem;margin-right:.35rem;display:inline-block}.ventas-totales-trend-svg{width:100%;max-width:100%;height:168px;max-height:none;display:block}.ventas-totales-trend-plot{width:100%;min-width:0;max-width:none}.ventas-totales-trend--lite{padding-bottom:.35rem}.ventas-totales-trend--lite .ventas-totales-trend-legend{gap:.45rem .85rem;margin-bottom:.45rem;font-size:.74rem}.ventas-store-full-name{white-space:normal;text-align:center;color:#0f172a;text-overflow:clip;overflow-wrap:anywhere;width:100%;max-width:6.5rem;font-size:.72rem;font-weight:600;line-height:1.15;overflow:visible}.ventas-totales-pagination{flex-wrap:wrap;gap:.75rem}.ventas-totales-pagesize{align-items:center;gap:.35rem;font-size:.85rem;display:inline-flex}.ventas-store-charts-grid{grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem;display:grid}@media (width<=1100px){.ventas-totales-filters-row,.ventas-totales-filters-row--secondary{grid-template-columns:repeat(3,minmax(0,1fr))}.ventas-totales-filters-row--secondary .ventas-totales-filters-actions{grid-column:span 1}.ventas-totales-payment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=900px){.ventas-store-charts-grid{grid-template-columns:1fr}.ventas-totales-filters-row,.ventas-totales-filters-row--secondary{grid-template-columns:repeat(2,minmax(0,1fr))}.ventas-totales-range-pair{grid-column:span 2}.ventas-totales-payment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.ventas-totales-filters-row,.ventas-totales-payment-grid{grid-template-columns:1fr}.ventas-totales-filters-actions{width:100%}.ventas-totales-filters-actions .btn-primary,.ventas-totales-filters-actions .btn-secondary{flex:auto}}@media (width<=480px){.ventas-totales-evol-label,.ventas-store-full-name{font-size:.65rem}}.ventas-totales-filters .btn-primary:focus-visible,.ventas-totales-filters .btn-secondary:focus-visible,.ventas-totales-pagination button:focus-visible,.ventas-totales-pagesize select:focus-visible,.ventas-totales-filters select:focus-visible,.ventas-totales-filters input:focus-visible{outline-offset:2px;outline:3px solid #2563eb}.ventas-totales-filters .stock-inline-error[role=alert]{margin-top:.5rem}.special-sales-section{--ss-amber:#b45309;--ss-amber-bg:#fffbeb;--ss-amber-border:#f59e0b;--ss-orange:#c2410c;--ss-orange-bg:#fff7ed;--ss-orange-border:#fb923c;--ss-slate:#475569;--ss-slate-bg:#f1f5f9;--ss-slate-border:#94a3b8;--ss-violet:#6d28d9;--ss-violet-bg:#f5f3ff;--ss-violet-border:#a78bfa;margin:1.25rem 0 1.5rem}.special-sales-skeleton{color:var(--text-muted,#64748b);padding:.75rem 1rem;font-size:.85rem}.special-sales-rows{flex-direction:column;gap:.45rem;margin:0;padding:0;list-style:none;display:flex}.special-sales-row{text-align:left;width:100%;color:inherit;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-left-width:4px;border-radius:6px;grid-template-columns:auto minmax(8rem,1.4fr) minmax(6rem,1fr) minmax(5rem,.9fr) auto;align-items:center;gap:.5rem .75rem;min-height:48px;padding:.7rem .9rem;transition:background-color .15s,border-color .15s,box-shadow .15s;display:grid}.special-sales-row--amber{border-left-color:var(--ss-amber-border);background:linear-gradient(90deg, var(--ss-amber-bg), #fff 42%)}.special-sales-row--orange{border-left-color:var(--ss-orange-border);background:linear-gradient(90deg, var(--ss-orange-bg), #fff 42%)}.special-sales-row--slate{border-left-color:var(--ss-slate-border);background:linear-gradient(90deg, var(--ss-slate-bg), #fff 42%)}.special-sales-row--violet{border-left-color:var(--ss-violet-border);background:linear-gradient(90deg, var(--ss-violet-bg), #fff 42%)}.special-sales-row:hover{box-shadow:0 1px 4px #0f172a14}.special-sales-row:focus-visible{outline-offset:2px;outline:3px solid #2563eb}.special-sales-row--active.special-sales-row--amber{border-color:var(--ss-amber-border);background:var(--ss-amber-bg)}.special-sales-row--active.special-sales-row--orange{border-color:var(--ss-orange-border);background:var(--ss-orange-bg)}.special-sales-row--active.special-sales-row--slate{border-color:var(--ss-slate-border);background:var(--ss-slate-bg)}.special-sales-row--active.special-sales-row--violet{border-color:var(--ss-violet-border);background:var(--ss-violet-bg)}.special-sales-row__icon{text-align:center;opacity:.9;width:1.5rem;font-size:1.05rem}.special-sales-row__main{flex-wrap:wrap;align-items:center;gap:.35rem .5rem;display:flex}.special-sales-row__name{font-size:.9rem;font-weight:650}.special-sales-badge{border:1px solid #0000;border-radius:999px;align-items:center;padding:.12rem .45rem;font-size:.68rem;font-weight:600;display:inline-flex}.special-sales-badge--amber{color:var(--ss-amber);background:#fef3c7;border-color:#fcd34d}.special-sales-badge--orange{color:var(--ss-orange);background:#ffedd5;border-color:#fdba74}.special-sales-badge--slate{color:var(--ss-slate);background:#e2e8f0;border-color:#cbd5e1}.special-sales-badge--violet{color:var(--ss-violet);background:#ede9fe;border-color:#c4b5fd}.special-sales-row__tickets,.special-sales-row__action{color:#64748b;font-size:.78rem}.special-sales-row__amount{font-variant-numeric:tabular-nums;font-weight:650}.special-sales-detail{background:#fff;border:1px solid #cbd5e1;border-top-width:3px;border-radius:6px;margin-top:.85rem;padding:.95rem}.special-sales-detail--amber{border-top-color:var(--ss-amber-border)}.special-sales-detail--orange{border-top-color:var(--ss-orange-border)}.special-sales-detail--slate{border-top-color:var(--ss-slate-border)}.special-sales-detail--violet{border-top-color:var(--ss-violet-border)}.special-sales-detail__head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.75rem;margin-bottom:.65rem;display:flex}.special-sales-detail__title{margin:0 0 .35rem;font-size:.98rem}.special-sales-detail__expl{color:#64748b;max-width:42rem;margin:0;font-size:.8rem}.special-sales-export{flex-wrap:wrap;gap:.45rem;display:flex}.special-sales-btn{color:#0f172a;min-height:40px;font:inherit;cursor:pointer;background:#f8fafc;border:1px solid #94a3b8;border-radius:6px;align-items:center;gap:.35rem;padding:.4rem .75rem;font-size:.8rem;font-weight:600;transition:background-color .15s,border-color .15s;display:inline-flex}.special-sales-btn:hover:not(:disabled){background:#e2e8f0;border-color:#64748b}.special-sales-btn:focus-visible{outline-offset:2px;outline:3px solid #2563eb}.special-sales-btn:disabled{opacity:.55;cursor:not-allowed}.special-sales-btn--export{color:#f8fafc;background:#0f172a;border-color:#0f172a}.special-sales-btn--export:hover:not(:disabled){color:#fff;background:#1e293b;border-color:#1e293b}.special-sales-btn--expand{min-height:36px}.special-sales-filters{flex-wrap:wrap;align-items:end;gap:.65rem;margin-bottom:.75rem;display:flex}.special-sales-filters label{flex-direction:column;gap:.2rem;font-size:.75rem;display:flex}.special-sales-filters input,.special-sales-filters select{min-width:8rem;min-height:36px}.special-sales-table-wrap{overflow-x:auto}.special-sales-table{border-collapse:collapse;width:100%;font-size:.8rem}.special-sales-table th,.special-sales-table td{text-align:left;vertical-align:top;border-bottom:1px solid #e2e8f0;padding:.45rem .5rem}.special-sales-products-panel{background:#fff;border:1px solid #cbd5e1;border-left-width:3px;border-radius:8px;margin:.25rem 0;padding:0;overflow:hidden}.special-sales-products-panel--amber{border-left-color:var(--ss-amber-border)}.special-sales-products-panel--orange{border-left-color:var(--ss-orange-border)}.special-sales-products-panel--slate{border-left-color:var(--ss-slate-border)}.special-sales-products-panel--violet{border-left-color:var(--ss-violet-border)}.special-sales-products-panel__head{color:#334155;background:#f8fafc;border-bottom:1px solid #e2e8f0;align-items:center;gap:.45rem;padding:.5rem .65rem;font-size:.78rem;font-weight:650;display:flex}.special-sales-products-panel__icon{opacity:.75;font-size:.9rem}.special-sales-products-panel>p,.special-sales-products-panel>div:not(.special-sales-products-panel__head):not(.special-sales-products-table-wrap):not(.special-sales-products-footer){padding:.55rem .65rem}.special-sales-products-table-wrap{overflow-x:auto}.special-sales-products-table{border-collapse:collapse;width:100%;font-size:.78rem}.special-sales-products-table th{text-align:left;color:#475569;background:#f1f5f9;border-bottom:1px solid #cbd5e1;padding:.4rem .5rem;font-weight:650}.special-sales-products-table td{border-bottom:1px solid #e2e8f0;padding:.38rem .5rem}.special-sales-products-table tbody tr.is-zebra{background:#f8fafc}@media (prefers-reduced-motion:no-preference){.special-sales-products-table tbody tr{transition:background-color .12s}.special-sales-products-table tbody tr:hover{background:#eff6ff}}@media (prefers-reduced-motion:reduce){.special-sales-products-table tbody tr{transition:none}}.special-sales-products-table .num{text-align:right;font-variant-numeric:tabular-nums}.special-sales-products-mobile{margin:0;padding:0 .65rem;list-style:none;display:none}.special-sales-product-card{border-bottom:1px solid #e2e8f0;flex-direction:column;gap:.25rem;padding:.55rem 0;display:flex}.special-sales-product-card .muted{color:#64748b;font-size:.75rem}.special-sales-product-card__row{justify-content:space-between;gap:.5rem;font-size:.78rem;display:flex}.special-sales-product-card__sub{font-variant-numeric:tabular-nums;font-weight:650}.special-sales-products-footer{color:#475569;background:#f1f5f9;border-top:1px solid #cbd5e1;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:.5rem .75rem;padding:.55rem .65rem;font-size:.78rem;display:flex}.special-sales-products-footer__totals{flex-wrap:wrap;gap:.5rem 1rem;display:flex}.special-sales-products-footer__totals strong{font-variant-numeric:tabular-nums;color:#0f172a}.special-sales-products-badge{white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;padding:.15rem .5rem;font-size:.72rem;font-weight:650;display:inline-flex}.special-sales-products-badge--match{color:#166534;background:#dcfce7;border-color:#86efac}.special-sales-products-badge--diff{color:#9a3412;background:#ffedd5;border-color:#fdba74}.special-sales-products__meta{color:#475569;flex-wrap:wrap;gap:.5rem 1rem;margin-top:.5rem;font-size:.78rem;display:flex}.special-sales-products__diff{color:#9a3412;font-weight:600}.special-sales-cards{display:none}.special-sales-pager{flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.75rem;font-size:.8rem;display:flex}@media (prefers-reduced-motion:reduce){.special-sales-row,.special-sales-btn,.special-sales-products-table tbody tr{transition:none}}@media (width<=768px){.special-sales-row{grid-template-columns:auto 1fr auto}.special-sales-row__tickets{grid-column:2}.special-sales-row__amount{grid-area:1/3/span 2;align-self:center}.special-sales-table-wrap,.special-sales-products-table-wrap{display:none}.special-sales-cards{flex-direction:column;gap:.65rem;display:flex}.special-sales-products-mobile{display:block}.special-sales-card{border:1px solid #cbd5e1;border-radius:6px;flex-direction:column;gap:.35rem;padding:.75rem;font-size:.85rem;display:flex}.special-sales-card__top{justify-content:space-between;gap:.5rem;display:flex}.special-sales-card button{justify-content:center;width:100%;min-height:44px}.special-sales-export{width:100%}.special-sales-export .special-sales-btn{flex:1;justify-content:center;min-height:44px}}@media (width<=360px){.special-sales-row{grid-template-columns:auto 1fr}.special-sales-row__amount{grid-area:auto/2}.special-sales-row__action{display:none}}.ventas-comercial-table{margin-top:.25rem}.ventas-comercial-hint{color:var(--text-secondary,#64748b);margin:.25rem 1.25rem 0;font-size:.75rem}.ventas-by-user-table .table-scroll{padding-top:.75rem}.ventas-ubu-table{border-collapse:separate;border-spacing:0;border-radius:var(--radius-sm);width:100%;font-size:.84rem;overflow:hidden}.ventas-ubu-table thead th{background:var(--bg-sidebar);color:var(--text-sidebar-active);letter-spacing:.04em;text-transform:uppercase;border-bottom:3px solid var(--accent-blue);white-space:nowrap;vertical-align:middle;padding:.7rem .85rem;font-size:.7rem;font-weight:700}.ventas-ubu-table thead th:first-child{border-top-left-radius:var(--radius-sm)}.ventas-ubu-table thead th:last-child{border-top-right-radius:var(--radius-sm)}.ventas-ubu-col-tickets{text-align:center;width:5.5rem}.ventas-ubu-col-amount{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;min-width:7.5rem}.ventas-ubu-col-action{text-align:center;width:9.5rem}.ventas-ubu-row td{color:var(--text-primary);vertical-align:middle;background:#fff;border-bottom:1px solid #e2e8f0;padding:.7rem .85rem;transition:background-color .15s}.ventas-ubu-row:hover td{background:#f0f7ff}.ventas-ubu-row--expanded td{box-shadow:inset 3px 0 0 var(--accent-blue);background:#e8f1fb}.ventas-ubu-store{color:var(--bg-sidebar);white-space:normal;max-width:12rem;font-weight:600;line-height:1.25}.ventas-ubu-user{color:var(--text-primary);white-space:normal;max-width:12rem;line-height:1.25}.ventas-ubu-ticket-badge{background:var(--accent-blue-light);color:#1e3a8a;font-variant-numeric:tabular-nums;border-radius:999px;justify-content:center;align-items:center;min-width:2.25rem;padding:.2rem .55rem;font-size:.78rem;font-weight:700;display:inline-flex}.ventas-ubu-amount{color:var(--bg-sidebar);font-size:.9rem;font-weight:700}.ventas-ubu-btn{cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:.35rem;min-width:8.25rem;min-height:40px;padding:.35rem .7rem;font-size:.78rem;font-weight:700;transition:background-color .15s,border-color .15s,box-shadow .15s,transform .15s;display:inline-flex}.ventas-ubu-btn--primary{background:var(--accent-blue);color:#fff;border-color:#1d4ed8;box-shadow:0 1px 2px #2563eb40}.ventas-ubu-btn--primary:hover{background:#1d4ed8;transform:translateY(-1px);box-shadow:0 2px 6px #2563eb47}.ventas-ubu-btn--open{background:var(--accent-blue-light);color:#1e3a8a;border-color:#93c5fd}.ventas-ubu-btn--open:hover{background:#bfdbfe}.ventas-ubu-btn:focus-visible{outline:2px solid var(--accent-blue);outline-offset:2px}.ventas-ubu-btn:active{transform:translateY(0)}.ventas-ubu-btn__icon,.ventas-ubu-btn__chevron{flex-shrink:0}.ventas-ubu-btn__chevron--up{transform:rotate(180deg)}.ventas-ubu-btn__short{display:none}.ventas-ubu-detail-row>td{border-bottom:1px solid #dbe3ef;white-space:normal!important;background:#f5f8fc!important;padding:.65rem .75rem .9rem!important}.ventas-ubu-panel{border:1px solid #c7d7ec;border-left:3px solid var(--accent-blue);background:#eef4fb;border-radius:10px;padding:.85rem 1rem 1rem;animation:.18s ventas-ubu-panel-in}.ventas-ubu-panel__head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.5rem 1rem;margin-bottom:.7rem;display:flex}.ventas-ubu-panel__title{flex-direction:column;gap:.15rem;display:flex}.ventas-ubu-panel__title strong{color:var(--bg-sidebar);font-size:.9rem}.ventas-ubu-panel__store{color:var(--text-secondary);letter-spacing:.02em;font-size:.75rem;font-weight:600}.ventas-ubu-panel__meta{color:#1e3a8a;font-variant-numeric:tabular-nums;gap:.85rem;font-size:.8rem;font-weight:700;display:flex}.ventas-ubu-inner{border-collapse:collapse;table-layout:fixed;width:100%;font-size:.82rem}.ventas-ubu-inner thead th{color:#1e3a8a;letter-spacing:.03em;text-transform:uppercase;background:#d7e6f8;border-bottom:1px solid #b6cce8;padding:.5rem .7rem;font-size:.68rem;font-weight:700}.ventas-ubu-inner tbody td,.ventas-ubu-inner tbody th{background:#ffffff8c;border-bottom:1px solid #d5e2f1;padding:.5rem .7rem}.ventas-ubu-inner tbody tr:hover td{background:#ffffffe6}.ventas-ubu-inner th:first-child,.ventas-ubu-inner td:first-child{width:auto}.ventas-ubu-inner .ventas-ubu-col-tickets{width:5.5rem}.ventas-ubu-inner .ventas-ubu-col-amount{width:8rem}.ventas-ubu-inner-total th,.ventas-ubu-inner-total td{color:var(--bg-sidebar);border-top:2px solid #7aa7d9;border-bottom:none;font-weight:800;background:#dceafb!important}@keyframes ventas-ubu-panel-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.ventas-ubu-panel{animation:none}.ventas-ubu-row td,.ventas-ubu-btn{transition:none}.ventas-ubu-btn--primary:hover{transform:none}}@media (width<=560px){.ventas-ubu-btn{min-width:5.5rem}.ventas-ubu-btn__full{display:none}.ventas-ubu-btn__short{display:inline}.ventas-by-user-table .table-scroll{-webkit-overflow-scrolling:touch;overflow-x:auto}.ventas-ubu-panel__head{flex-direction:column}}.merma-detail-premium .merma-detail-table--official:not(.merma-grouped-table){table-layout:fixed;width:100%;min-width:100%}.merma-detail-premium .merma-detail-table--official:not(.merma-grouped-table) col.merma-col-fecha{width:9%}.merma-detail-premium .merma-detail-table--official:not(.merma-grouped-table) col.merma-col-hora{width:8%}.merma-detail-premium .merma-detail-table--official:not(.merma-grouped-table) col.merma-col-tienda{width:11%}.merma-detail-premium .merma-detail-table--official:not(.merma-grouped-table) col.merma-col-producto{width:28%}.merma-detail-premium .merma-detail-table--official:not(.merma-grouped-table) col.merma-col-metric{width:9%}.merma-detail-premium .merma-detail-table--official:not(.merma-grouped-table) col.merma-col-usuario{width:12%}.merma-detail-premium .merma-detail-table--official:not(.merma-grouped-table) col.merma-col-tipo{width:14%}.merma-detail-premium .merma-detail-table--classification{table-layout:fixed;width:100%;min-width:0}.merma-detail-premium .merma-detail-scroll:has(.merma-detail-table--classification){overflow-x:hidden}.merma-detail-premium .merma-detail-table--classification col.merma-col-fecha{width:6%}.merma-detail-premium .merma-detail-table--classification col.merma-col-hora{width:5%}.merma-detail-premium .merma-detail-table--classification col.merma-col-tienda{width:7%}.merma-detail-premium .merma-detail-table--classification col.merma-col-producto{width:18%}.merma-detail-premium .merma-detail-table--classification col.merma-col-metric{width:6%}.merma-detail-premium .merma-detail-table--classification col.merma-col-usuario{width:7%}.merma-detail-premium .merma-detail-table--classification col.merma-col-tipo{width:6%}.merma-detail-premium .merma-detail-table--classification col.merma-col-clasif-label{width:10%}.merma-detail-premium .merma-detail-table--classification col.merma-col-impacto{width:9%}.merma-detail-premium .merma-detail-table--classification col.merma-col-obs{width:12%}.merma-detail-premium .merma-detail-table--classification col.merma-col-action{width:8%}.merma-detail-premium .merma-detail-table--classification thead th{white-space:normal;word-break:break-word;line-height:1.15}.merma-detail-premium .merma-detail-table--classification .merma-producto-nombre,.merma-detail-premium .merma-detail-table--classification .merma-obs-cell{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block;overflow:hidden}.merma-detail-premium .merma-detail-table--classification .merma-clasif-action{max-width:100%}.merma-detail-premium .merma-grouped-table--no-action th:nth-child(4),.merma-detail-premium .merma-grouped-table--no-action td:nth-child(4){width:32%}.merma-detail-premium .merma-grouped-table--no-action th:nth-child(7),.merma-detail-premium .merma-grouped-table--no-action td:nth-child(7){width:13%}.merma-detail-premium .merma-grouped-table--no-action th:nth-child(8),.merma-detail-premium .merma-grouped-table--no-action td:nth-child(8){width:12%}.merma-detail-premium .merma-detail-empty{width:100%}.mis-ventas-seller-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.75rem 1rem;padding-bottom:.25rem;display:flex}.mis-ventas-seller-header__main{flex-direction:column;gap:.2rem;display:flex}.mis-ventas-seller-header__store{color:var(--text-primary);margin:0;font-weight:600}.mis-ventas-seller-header__fecha{color:var(--text-muted);margin:0;font-size:.85rem}.mis-ventas-refresh-btn{align-self:center}.ventas-payment-section__title-row{flex-wrap:wrap;align-items:center;gap:.75rem 1rem;margin-bottom:.85rem;display:flex}.ventas-payment-section__title-row .ventas-section-title{margin-bottom:0}.mis-ventas-refresh-btn{flex-shrink:0}.mis-ventas-detail-filters{border:1px solid var(--border-subtle,#e2e8f0);background:var(--surface-elevated,#f8fafc);border-radius:.5rem;margin:0 0 .85rem;padding:.65rem .75rem}.mis-ventas-detail-filters__row{flex-wrap:wrap;align-items:flex-end;gap:.65rem 1rem;display:flex}.mis-ventas-detail-filters__search input{min-width:12rem}@media (width<=640px){.mis-ventas-detail-filters__search{flex:100%}.mis-ventas-detail-filters__search input{width:100%}}.mis-ventas-detail-filters__apply{flex-shrink:0}:root{--premium-bg:#f4f6f9;--premium-surface:#fff;--premium-surface-elevated:#fff;--premium-border:#e4e9f0;--premium-border-subtle:#eef2f7;--premium-text:#0f172a;--premium-text-muted:#64748b;--premium-text-soft:#94a3b8;--premium-sidebar:#0f1c33;--premium-sidebar-hover:#1a2d4d;--premium-sidebar-active:#ffffff1a;--premium-accent:#1d4ed8;--premium-accent-soft:#eff6ff;--premium-success:#059669;--premium-success-soft:#ecfdf5;--premium-warning:#b45309;--premium-warning-soft:#fffbeb;--premium-danger:#dc2626;--premium-danger-soft:#fef2f2;--premium-teal:#0d9488;--premium-teal-soft:#f0fdfa;--premium-gold:#a16207;--premium-gold-soft:#fefce8;--premium-shadow-xs:0 1px 2px #0f172a0a;--premium-shadow-sm:0 2px 8px #0f172a0f;--premium-shadow-md:0 8px 24px #0f172a14;--premium-radius:12.6px;--premium-radius-sm:9px;--premium-radius-xs:7.2px;--premium-content-max:1440px;--premium-font:"Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif}body{font-family:var(--premium-font);background:var(--premium-bg);color:var(--premium-text)}.dashboard-shell{background:var(--premium-bg)}.dashboard-content{padding:var(--space-4,.9rem) var(--space-5,1.35rem) var(--space-6,1.8rem);max-width:var(--premium-content-max);width:100%;margin:0 auto}.sidebar{background:linear-gradient(180deg, var(--premium-sidebar) 0%, #0a1424 100%);border-right:1px solid #ffffff0f;box-shadow:4px 0 24px #0000001f}.sidebar-brand{padding:1.2rem 1.1rem 1rem}.sidebar-brand h1{letter-spacing:.01em;font-size:1rem;font-weight:700;line-height:1.35}.sidebar-brand p{opacity:.75;margin-top:.35rem;font-size:.72rem}.sidebar-nav button{border-radius:var(--premium-radius-xs);padding:.65rem .9rem;font-size:.84rem;font-weight:500}.sidebar-nav button.active{background:var(--premium-sidebar-active);box-shadow:inset 3px 0 #60a5fa}.dashboard-header{height:auto;min-height:var(--header-height);padding:.55rem var(--space-5,1.35rem);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--premium-border-subtle);box-shadow:var(--premium-shadow-xs);background:#ffffffeb}.dashboard-header.module-topbar{background:linear-gradient(135deg, #ffffffe0, #ffffff9e), linear-gradient(120deg, var(--mb-from), var(--mb-to));-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom:2px solid color-mix(in srgb, var(--mb-accent) 32%, #0f172a14);min-height:0;box-shadow:0 4px 14px #0f172a0d}.header-title h2{color:var(--premium-text);letter-spacing:-.02em;font-size:1.2rem;font-weight:700}.header-title p{color:var(--premium-text-muted);font-size:.78rem}.header-right{gap:.75rem}.header-badge{background:var(--premium-gold-soft);color:var(--premium-gold);letter-spacing:.03em;text-transform:uppercase;border:1px solid #a1620726;padding:.4rem .85rem;font-size:.68rem;font-weight:700}.header-api-status{border:1px solid var(--premium-border);background:var(--premium-surface);color:var(--premium-text-muted);white-space:nowrap;border-radius:999px;align-items:center;gap:.4rem;padding:.35rem .7rem;font-size:.68rem;font-weight:600;display:inline-flex}.header-api-status.ok{background:var(--premium-success-soft);color:var(--premium-success);border-color:#bbf7d0}.header-api-status.error{background:var(--premium-danger-soft);color:var(--premium-danger);border-color:#fecaca}.header-api-dot{background:currentColor;border-radius:50%;width:7px;height:7px}.header-date{color:var(--premium-text-soft);font-size:.78rem;font-weight:500}.page-header h1{letter-spacing:-.03em;color:var(--premium-text);font-size:1.65rem;font-weight:800}.page-header p{color:var(--premium-text-muted);max-width:52ch;margin-top:.4rem;font-size:.9rem}.page-note{background:var(--premium-surface);border:1px solid var(--premium-border);border-left:4px solid var(--premium-accent);border-radius:var(--premium-radius-sm);color:var(--premium-text-muted);box-shadow:var(--premium-shadow-xs);padding:1rem 1.15rem;font-size:.84rem}.section-title-row{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.25rem;display:flex}.section-title{color:var(--premium-text);letter-spacing:-.02em;font-size:1.05rem;font-weight:700}.section-subtitle{color:var(--premium-text-muted);margin-top:.25rem;font-size:.8rem}.metric-grid,.kpi-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1rem;margin-bottom:1.75rem;display:grid}.metric-card.accent-amber{--metric-accent:#f59e0b;background:linear-gradient(#fffbeb 0%,#fff 48%)}.metric-card,.kpi-card{background:var(--premium-surface);border-radius:var(--premium-radius);box-shadow:var(--premium-shadow-sm);border:1px solid var(--premium-border-subtle);border-left:none;padding:1.15rem 1.25rem;transition:box-shadow .2s,transform .15s;position:relative;overflow:hidden}.metric-card:before,.kpi-card:before{content:"";background:var(--metric-accent,var(--premium-accent));border-radius:var(--premium-radius) var(--premium-radius) 0 0;height:3px;position:absolute;top:0;left:0;right:0}.metric-card:hover,.kpi-card:hover{box-shadow:var(--premium-shadow-md);transform:translateY(-1px)}.metric-card-top{align-items:center;gap:.5rem;margin-bottom:.5rem;display:flex}.metric-card-icon{opacity:.85;font-size:1rem}.metric-card-label,.kpi-card-label{text-transform:uppercase;letter-spacing:.06em;color:var(--premium-text-soft);font-size:.7rem;font-weight:700}.metric-card-value,.kpi-card-value{letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:var(--premium-text);font-size:1.85rem;font-weight:800;line-height:1.1}.metric-card-sub,.kpi-card-sub{color:var(--premium-text-muted);margin-top:.45rem;font-size:.75rem;line-height:1.4}.metric-card-skeleton{background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%) 0 0/200% 100%;border-radius:6px;width:70%;height:2rem;animation:1.2s infinite premium-shimmer}.metric-card.accent-green,.kpi-card.accent-green{--metric-accent:var(--premium-success)}.metric-card.accent-red,.kpi-card.accent-red{--metric-accent:var(--premium-danger)}.metric-card.accent-blue,.kpi-card.accent-blue{--metric-accent:var(--premium-accent)}.metric-card.accent-gold,.kpi-card.accent-gold{--metric-accent:var(--premium-gold)}.metric-card.accent-teal,.kpi-card.accent-teal{--metric-accent:var(--premium-teal)}.metric-card.accent-slate,.kpi-card.accent-slate{--metric-accent:#475569}@keyframes premium-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.filter-panel,.stock-filters{background:var(--premium-surface);border-radius:var(--premium-radius);box-shadow:var(--premium-shadow-sm);border:1px solid var(--premium-border-subtle);margin-bottom:1.75rem;padding:1.15rem 1.35rem}.filter-panel-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.filter-panel-title{text-transform:uppercase;letter-spacing:.05em;color:var(--premium-text-muted);font-size:.8rem;font-weight:700}.filter-active-tags{flex-wrap:wrap;gap:.4rem;display:flex}.filter-active-tag{background:var(--premium-accent-soft);color:var(--premium-accent);border:1px solid #bfdbfe;border-radius:999px;padding:.2rem .55rem;font-size:.68rem;font-weight:600}.stock-filters-row{gap:1rem}.stock-filter-field span{text-transform:uppercase;letter-spacing:.04em;color:var(--premium-text-soft);font-size:.68rem;font-weight:700}.stock-filter-field select,.stock-filter-field input{border:1px solid var(--premium-border);border-radius:var(--premium-radius-xs);background:#fafbfc;padding:.55rem .75rem;font-size:.84rem;transition:border-color .15s,box-shadow .15s}.stock-filter-field select:focus,.stock-filter-field input:focus{border-color:var(--premium-accent);background:#fff;outline:none;box-shadow:0 0 0 3px #1d4ed81f}.stock-filter-btn{border-radius:var(--premium-radius-xs);background:var(--premium-accent);color:#fff;cursor:pointer;border:none;padding:.55rem 1.15rem;font-family:inherit;font-size:.82rem;font-weight:700;box-shadow:0 1px 2px #1d4ed833}.stock-filter-btn-secondary{color:var(--premium-text);border:1px solid var(--premium-border);box-shadow:none;cursor:pointer;background:#f1f5f9;font-family:inherit}.filter-panel-hint,.ventas-filters-hint{color:var(--premium-text-soft);border-top:1px solid var(--premium-border-subtle);margin-top:.85rem;padding-top:.75rem;font-size:.76rem;line-height:1.5}.data-card,.table-wrapper,.placeholder-chart,.section-card,.module-card{background:var(--premium-surface);border-radius:var(--premium-radius);box-shadow:var(--premium-shadow-sm);border:1px solid var(--premium-border-subtle)}.data-card-header,.table-wrapper h3,.placeholder-chart h3{padding:1rem 1.25rem 0}.data-card-title,.table-wrapper h3,.placeholder-chart h3{color:var(--premium-text);letter-spacing:-.01em;font-size:.9rem;font-weight:700}.data-card-subtitle{color:var(--premium-text-muted);margin-top:.2rem;font-size:.75rem}.data-card-body{padding:1rem 1.25rem 1.25rem}.placeholder-table th{letter-spacing:.05em;color:var(--premium-text-soft);border-bottom:1px solid var(--premium-border);background:#f8fafc;font-size:.68rem;font-weight:700}.placeholder-table td{border-bottom:1px solid var(--premium-border-subtle);padding:.75rem;font-size:.82rem}.placeholder-table tbody tr:hover td{background:#f8fafc}.placeholder-table td.num,.stock-cell-cantidad,td[align=right]{text-align:right;font-variant-numeric:tabular-nums}.module-card{transition:box-shadow .2s,transform .15s,border-color .15s}.module-card:hover{box-shadow:var(--premium-shadow-md);border-color:var(--premium-border);transform:translateY(-3px)}.stock-store-card,.ventas-store-card{border-radius:var(--premium-radius-sm);border:1px solid var(--premium-border-subtle);background:#fafbfc}.ventas-payment-section{margin-bottom:1.5rem}.ventas-section-title{color:var(--premium-text);margin-bottom:.85rem;font-size:.9rem;font-weight:700}.ventas-chart-full .placeholder-chart,.ventas-store-charts-grid .placeholder-chart{box-shadow:var(--premium-shadow-sm)}.ventas-store-full-width .stock-store-grid{grid-template-columns:repeat(4,1fr)}.ventas-top-split-grid{gap:1.15rem}.empty-state{text-align:center;background:var(--premium-surface);border-radius:var(--premium-radius);border:1px dashed var(--premium-border);flex-direction:column;justify-content:center;align-items:center;min-height:200px;padding:2.5rem 1.5rem;display:flex}.empty-state-icon{width:48px;height:48px;color:var(--premium-text-soft);background:#f1f5f9;border-radius:50%;justify-content:center;align-items:center;margin-bottom:1rem;font-size:1.25rem;display:flex}.empty-state-title{color:var(--premium-text);font-size:1rem;font-weight:700}.empty-state-message{color:var(--premium-text-muted);max-width:36ch;margin-top:.35rem;font-size:.85rem}.empty-state-hint{color:var(--premium-text-soft);margin-top:.5rem;font-size:.78rem}.empty-state-banner{border:1px solid var(--premium-border-subtle);border-radius:var(--premium-radius-sm);color:var(--premium-text-muted);background:#f8fafc;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;margin-bottom:1.25rem;padding:.9rem 1.1rem;font-size:.84rem;display:flex}.empty-state-banner strong{color:var(--premium-text);font-weight:700}.empty-state-banner-hint{width:100%;color:var(--premium-text-soft);font-size:.76rem}.ventas-empty-banner,.merma-empty-banner,.conciliacion-empty-banner{border:1px solid var(--premium-border-subtle);color:var(--premium-text-muted);border-radius:var(--premium-radius-sm);background:#f8fafc;padding:.9rem 1.1rem;font-weight:500}.loading-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:1rem;min-height:320px;display:flex}.loading-state p,.stock-loading p{color:var(--premium-text-muted);font-size:.9rem}.loading-spinner,.stock-spinner{border:3px solid var(--premium-border);border-top-color:var(--premium-accent);border-radius:50%;width:44px;height:44px;animation:.75s linear infinite stock-spin}.loading-banner,.ventas-partial-banner{background:var(--premium-accent-soft);color:#1e40af;border-radius:var(--premium-radius-sm);border:1px solid #bfdbfe;align-items:center;gap:.5rem;margin-bottom:1.25rem;padding:.75rem 1rem;font-size:.82rem;font-weight:600;display:flex}.loading-banner-dot{background:currentColor;border-radius:50%;width:8px;height:8px;animation:1s infinite premium-pulse}@keyframes premium-pulse{0%,to{opacity:1}50%{opacity:.35}}.status-badge-pill{letter-spacing:.02em;border-radius:999px;align-items:center;gap:.35rem;padding:.35rem .7rem;font-size:.68rem;font-weight:700;display:inline-flex}.status-badge-pill--ok{background:var(--premium-success-soft);color:var(--premium-success);border:1px solid #a7f3d0}.status-badge-pill--warn{background:var(--premium-warning-soft);color:var(--premium-warning);border:1px solid #fde68a}.status-badge-pill--pending{color:#64748b;border:1px solid var(--premium-border);background:#f1f5f9}.status-badge-pill--info{background:var(--premium-accent-soft);color:var(--premium-accent);border:1px solid #bfdbfe}.status-badge-dot{background:currentColor;border-radius:50%;width:6px;height:6px}.stock-module-badge,.ventas-module-badge,.merma-module-badge,.conciliacion-module-badge{letter-spacing:.03em;text-transform:uppercase;border-radius:999px;padding:.4rem .8rem;font-size:.68rem;font-weight:700}.cambio-precio-pending{border:1px dashed var(--premium-border);border-radius:var(--premium-radius);text-align:center;background:linear-gradient(135deg,#fafbfc 0%,#f1f5f9 100%);margin-bottom:1.75rem;padding:2rem}.cambio-precio-pending h3{color:var(--premium-text);font-size:1.1rem;font-weight:700}.cambio-precio-pending p{color:var(--premium-text-muted);max-width:42ch;margin-top:.5rem;margin-left:auto;margin-right:auto;font-size:.85rem}.cambio-precio-pending .status-badge-pill{margin-top:1rem}.stock-pagination{border-top:1px solid var(--premium-border-subtle);padding:.75rem 1.25rem 1.15rem}.stock-pagination-btns button{cursor:pointer;border-radius:var(--premium-radius-xs);font-family:inherit;font-weight:600}.stock-pagination-btns button:not(:disabled):hover{border-color:var(--premium-accent);color:var(--premium-accent)}.stock-footer-meta{color:var(--premium-text-soft);padding-top:.5rem;font-size:.72rem}.stock-tab-bar{flex-wrap:wrap;gap:.5rem;margin-bottom:1.25rem;display:flex}.stock-tab-pill{border:1px solid var(--premium-border);background:var(--premium-surface);color:var(--premium-text-muted);cursor:pointer;border-radius:999px;padding:.55rem 1.25rem;font-family:inherit;font-size:.85rem;font-weight:600;line-height:1.2;transition:background .15s,color .15s,border-color .15s}.stock-tab-pill:hover{border-color:var(--premium-accent);color:var(--premium-accent)}.stock-tab-pill--active{background:var(--premium-accent);border-color:var(--premium-accent);color:#fff}.stock-tab-pill:focus-visible{outline:2px solid var(--premium-accent);outline-offset:2px}.stock-auditoria{flex-direction:column;gap:1rem;margin-top:.5rem;display:flex}.stock-auditoria-intro h2{margin:0 0 .35rem;font-size:1.25rem}.stock-auditoria-intro p{color:var(--premium-muted,#5b6472);margin:0}.stock-auditoria-pending,.stock-auditoria-hint,.stock-auditoria-empty,.stock-auditoria-perm{color:var(--premium-muted,#5b6472);margin:.5rem 0 0}.stock-auditoria-summary{border:1px solid var(--premium-border,#d7dde5);border-radius:var(--premium-radius-sm,10px);background:var(--premium-surface,#fff);box-shadow:var(--premium-shadow-sm);padding:1rem 1.1rem .9rem}.stock-auditoria-summary h3{margin:0 0 .5rem;font-size:1rem}.stock-auditoria-summary-filters{color:var(--premium-muted,#5b6472);margin:0 0 .85rem;font-size:.92rem}.stock-auditoria-cards{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem;display:grid}.stock-auditoria-card{border:1px solid var(--premium-border-subtle,#eef2f7);border-top:3px solid var(--premium-accent,#1d4ed8);border-radius:var(--premium-radius-xs,8px);box-shadow:var(--premium-shadow-xs);background:linear-gradient(#fbfcfe 0%,#f6f8fb 100%);flex-direction:column;justify-content:center;gap:.3rem;padding:.8rem .95rem;display:flex}.stock-auditoria-card strong{color:var(--premium-text,#0f172a);font-variant-numeric:tabular-nums;font-size:1.45rem;font-weight:700;line-height:1.1}.stock-auditoria-card span{text-transform:uppercase;letter-spacing:.05em;color:var(--premium-text-muted,#64748b);font-size:.68rem;font-weight:700}.stock-auditoria-card-highlight{background:linear-gradient(#f4fbf6 0%,#ecf7f0 100%);border-top-color:#16a34a}.stock-auditoria-card-highlight .stock-auditoria-classification{white-space:nowrap;color:#15803d;font-size:1.05rem;line-height:1.3}.stock-auditoria-snapshot{border-top:1px solid var(--premium-border-subtle,#eef2f7);color:var(--premium-text-muted,#64748b);margin:.85rem 0 0;padding-top:.7rem;font-size:.8rem}.stock-auditoria-warnings{color:#7a5b00;margin:.75rem 0 0;padding-left:1.1rem}.stock-auditoria-filter-actions{flex:none;gap:.5rem;margin-left:auto;display:grid}.stock-auditoria-action-row{gap:.5rem;display:flex}.stock-auditoria-action-row .stock-filter-btn{flex:1 1 0;min-width:112px}.stock-filter-btn:disabled{cursor:not-allowed;opacity:.55;box-shadow:none}.stock-auditoria-preview{border:1px solid var(--premium-border,#d7dde5);border-radius:var(--premium-radius-sm,10px);background:var(--premium-surface,#fff);box-shadow:var(--premium-shadow-sm);overflow:hidden}.stock-auditoria-preview-heading{border-bottom:1px solid var(--premium-border,#d7dde5);border-top:3px solid var(--premium-accent,#1d4ed8);background:#fbfcfe;justify-content:space-between;align-items:baseline;gap:1rem;padding:.85rem 1rem;display:flex}.stock-auditoria-preview-heading h3{margin:0;font-size:1rem}.stock-auditoria-preview-heading span{color:var(--premium-text-muted,#64748b);text-transform:uppercase;letter-spacing:.04em;font-size:.78rem;font-weight:700}.stock-auditoria-table-scroll{max-height:480px;overflow:auto}.stock-auditoria-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:.86rem}.stock-auditoria-table th,.stock-auditoria-table td{text-align:left;vertical-align:top;overflow-wrap:anywhere;padding:.7rem .9rem}.stock-auditoria-table td{border-bottom:1px solid var(--premium-border-subtle,#eef2f7);color:var(--premium-text,#0f172a)}.stock-auditoria-table th{z-index:1;color:#fff;letter-spacing:.06em;background:#475569;border-bottom:2px solid #334155;font-size:.7rem;font-weight:700;position:sticky;top:0}.stock-auditoria-table tbody tr:nth-child(2n){background:#f8fafc}.stock-auditoria-table tbody tr:hover{background:var(--premium-accent-soft,#eff6ff)}.stock-auditoria-table td:first-child{color:var(--premium-text-muted,#64748b);text-transform:uppercase;letter-spacing:.02em;font-size:.78rem;font-weight:600}.stock-auditoria-table th:first-child,.stock-auditoria-table td:first-child{width:24%}.stock-auditoria-table th:nth-child(2),.stock-auditoria-table td:nth-child(2){width:61%}.stock-auditoria-table th:nth-child(3),.stock-auditoria-table td:nth-child(3){text-align:right;white-space:nowrap;width:15%}.stock-auditoria-table td:nth-child(3){font-variant-numeric:tabular-nums;font-weight:600}.stock-auditoria-table tbody tr:last-child td{border-bottom:0}.stock-auditoria-viewer{flex-direction:column;gap:.6rem;display:flex}.stock-auditoria-viewer-meta p{color:var(--premium-muted,#5b6472);margin:0;font-size:.9rem}.stock-auditoria-iframe{border:1px solid var(--premium-border,#d7dde5);background:#f4f6f8;border-radius:10px;width:100%;min-height:70vh}.stock-auditoria-viewer-fallback{color:var(--premium-muted,#5b6472);margin:0;font-size:.85rem}@media (width<=900px){.stock-auditoria-filter-actions{flex-basis:100%;margin-left:0}.stock-auditoria-iframe{min-height:55vh}}@media (width<=640px){.stock-auditoria-iframe{min-height:50vh}.stock-auditoria-action-row{width:100%}}.stock-header-badges{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.stock-split-kpi-grid,.stock-split-charts{margin-bottom:1.25rem}.stock-low-stock-info{flex-direction:column;gap:.5rem;padding:.75rem 0;display:flex}@media (width<=1280px){.dashboard-content{padding:1.5rem 1.25rem 2rem}.dashboard-header:not(.module-topbar){padding:.75rem 1.25rem}}@media (width<=768px){.dashboard-content{padding:1rem}.metric-card-value,.kpi-card-value{font-size:1.5rem}.header-api-status span:last-child{display:none}.filter-panel-header{flex-direction:column;align-items:flex-start}.stock-filters-row{flex-direction:column;align-items:stretch}.stock-filter-field,.stock-filter-search{min-width:100%}.stock-filter-btn,.stock-auditoria-filter-actions{width:100%}}@media (width<=390px){.metric-grid,.kpi-grid{grid-template-columns:1fr}.page-header h1{font-size:1.35rem}}.stock-minimo-panel{--stock-min-cat-w:7.5rem;--stock-min-prod-w:13rem;--stock-min-row-h:4.35rem;--stock-min-head-h:2.65rem;flex-direction:column;gap:1rem;display:flex}.stock-minimo-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.stock-minimo-header h2{margin:0;font-size:1.15rem}.stock-minimo-sub{color:var(--premium-text-muted);margin:.35rem 0 0;font-size:.82rem}.stock-minimo-save-btn,.stock-minimo-apply-btn{border:1px solid var(--premium-accent);background:var(--premium-accent);color:#fff;cursor:pointer;border-radius:8px;padding:.5rem 1rem;font-weight:600}.stock-minimo-save-btn:disabled{opacity:.5;cursor:not-allowed}.stock-minimo-apply-btn{background:var(--premium-surface);color:var(--premium-accent)}.stock-minimo-filters{flex-wrap:wrap;align-items:flex-end;gap:.75rem 1rem;display:flex}.stock-minimo-filters label{flex-direction:column;gap:.25rem;font-size:.78rem;display:flex}.stock-minimo-filters input,.stock-minimo-filters select{border:1px solid var(--premium-border);background:var(--premium-surface);border-radius:6px;min-width:10rem;padding:.4rem .55rem}.stock-minimo-matrix-wrap{background:#fff;border:1px solid #cbd5e1;border-radius:10px;overflow:auto hidden;box-shadow:0 1px 3px #0f172a0f}.stock-minimo-matrix{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:52rem;font-size:.8125rem}.stock-minimo-col-categoria{width:var(--stock-min-cat-w)}.stock-minimo-col-producto{width:var(--stock-min-prod-w)}.stock-minimo-col-store{width:8.75rem}.stock-minimo-matrix thead th{z-index:4;height:var(--stock-min-head-h);vertical-align:middle;color:#f8fafc;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap;background:linear-gradient(#0f766e 0%,#0d5f59 100%);border-bottom:1px solid #0b4f4a;padding:.55rem .65rem;font-size:.68rem;font-weight:700;line-height:1.2;position:sticky;top:0}.stock-minimo-th-store{text-align:center}.stock-minimo-matrix tbody td{height:var(--stock-min-row-h);max-height:var(--stock-min-row-h);vertical-align:middle;box-sizing:border-box;background:#fff;border-bottom:1px solid #e2e8f0;padding:.45rem .55rem;line-height:1.25}.stock-minimo-sticky{z-index:2;background:#fff;position:sticky;left:0;box-shadow:1px 0 #e2e8f0}.stock-minimo-sticky--producto{left:var(--stock-min-cat-w);z-index:3;box-shadow:1px 0 #e2e8f0}.stock-minimo-matrix thead .stock-minimo-sticky{z-index:6;background:linear-gradient(#0f766e 0%,#0d5f59 100%);box-shadow:1px 0 #0b4f4a}.stock-minimo-matrix thead .stock-minimo-sticky--producto{z-index:7}.stock-minimo-ellipsis{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block;overflow:hidden}.stock-minimo-producto-nombre{color:#0f172a;font-weight:600}.stock-minimo-td-categoria{color:#475569;font-size:.78rem;font-weight:600}.stock-minimo-store-col{text-align:center;vertical-align:middle}.stock-minimo-matrix tbody tr:nth-child(2n) td,.stock-minimo-matrix tbody tr:nth-child(2n) td.stock-minimo-sticky{background:#f8fafc}.stock-minimo-matrix tbody tr:hover td,.stock-minimo-matrix tbody tr:hover td.stock-minimo-sticky{background:#ecfeff}.stock-minimo-matrix tbody tr:nth-child(2n):hover td,.stock-minimo-matrix tbody tr:nth-child(2n):hover td.stock-minimo-sticky{background:#dff7f7}.stock-minimo-cell{flex-direction:column;justify-content:center;align-items:center;gap:.15rem;min-height:3.1rem;display:flex}.stock-minimo-input{text-align:center;border:1px solid var(--premium-border);background:#fff;border-radius:4px;width:4.5rem;padding:.25rem .2rem;font-size:.8rem}.stock-minimo-stock{color:var(--premium-text-muted);font-size:.7rem;line-height:1.1}.stock-minimo-estado{font-size:.65rem;font-weight:600;line-height:1.1}.stock-minimo-cell--ok{background:#228b221a!important}.stock-minimo-cell--critico{background:#ffa50024!important}.stock-minimo-cell--sin-stock{background:#dc35451f!important}.stock-minimo-cell--sin-minimo{background:0 0}.stock-minimo-cell--absent{color:#94a3b8;background:#f1f5f9!important}.stock-minimo-absent{padding:.35rem 0;font-size:.9rem;display:inline-block}.stock-minimo-empty{text-align:center;color:var(--premium-text-muted);padding:1.5rem}.stock-minimo-save-msg{color:var(--premium-accent);font-size:.85rem}.stock-minimo-pagination{margin-top:.25rem}.stock-minimo-pagination-meta{color:var(--premium-text-muted);font-size:.82rem}.dash-login-page{background:radial-gradient(at top,#0f4c752e,#0000 55%),linear-gradient(160deg,#f3f6f9 0%,#e7eef5 45%,#dfe8f1 100%);place-items:center;min-height:100vh;padding:1.5rem;display:grid}.dash-login-card{background:#fff;border:1px solid #0f284614;border-radius:12px;gap:.55rem;width:min(420px,100%);padding:1.5rem 1.4rem;display:grid;box-shadow:0 10px 30px #14284614}.dash-login-card h1{color:#12324d;margin:0;font-size:1.35rem}.dash-login-sub{color:#5b7085;margin:0 0 .4rem;font-size:.92rem}.dash-login-card label{color:#334c63;font-size:.85rem}.dash-login-card input{border:1px solid #c9d5e2;border-radius:8px;padding:.55rem .65rem}.dash-login-card button{color:#fff;cursor:pointer;background:#145a8a;border:0;border-radius:8px;margin-top:.55rem;padding:.65rem .8rem;font-weight:600}.dash-login-error{color:#8a1f11;background:#fdecea;border-radius:8px;padding:.55rem .7rem;font-size:.9rem}.dash-forbidden{max-width:560px;padding:2rem 1rem}.header-account{position:relative}.header-account-btn{cursor:pointer;background:#fff;border:1px solid #c9d5e2;border-radius:8px;flex-direction:column;align-items:flex-start;gap:.1rem;padding:.35rem .6rem;font-size:.85rem;display:flex}.header-account-btn small{color:#678;font-size:.72rem}.header-account-menu{z-index:20;background:#fff;border:1px solid #c9d5e2;border-radius:8px;min-width:160px;padding:.35rem;position:absolute;top:calc(100% + .35rem);right:0}.header-account-menu.is-ported{z-index:400;position:fixed;top:auto;right:auto;box-shadow:0 10px 28px #0f172a29}.header-account-menu button{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;width:100%;padding:.45rem .55rem}.header-account-menu button:hover{background:#eef3f8}.rc-page{flex-direction:column;gap:18px;display:flex}.rc-filter-bar{background:var(--bg-card);border-radius:var(--radius);box-shadow:var(--shadow-sm);flex-wrap:wrap;align-items:flex-end;gap:16px;padding:18px;display:flex}.rc-field{flex-direction:column;gap:6px;min-width:180px;display:flex}.rc-field-label{color:var(--text-secondary);font-size:.8rem;font-weight:600}.rc-select,.rc-date,.rc-textarea,.rc-currency-field{color:var(--text-primary);border-radius:var(--radius-sm);background:#fff;border:1px solid #cbd5e1;min-height:42px;padding:10px 12px;font-size:.95rem}.rc-select:focus-visible,.rc-date:focus-visible,.rc-textarea:focus-visible,.rc-currency-field:focus-visible,.rc-btn:focus-visible,.rc-check input:focus-visible{outline-offset:1px;outline:3px solid #2563eb}.rc-textarea{resize:vertical;width:100%;font-family:inherit}.rc-filter-actions{flex-wrap:wrap;gap:10px;margin-left:auto;display:flex}.rc-btn{border-radius:var(--radius-sm);cursor:pointer;border:1px solid #0000;min-height:42px;padding:10px 18px;font-size:.9rem;font-weight:600;transition:background .15s,opacity .15s}.rc-btn:disabled{opacity:.55;cursor:not-allowed}.rc-btn-primary{background:var(--accent-blue);color:#fff}.rc-btn-primary:hover:not(:disabled){background:#1d4ed8}.rc-btn-secondary{color:var(--text-primary);background:#e2e8f0}.rc-btn-secondary:hover:not(:disabled){background:#cbd5e1}.rc-btn-outline{color:var(--text-primary);background:#fff;border-color:#cbd5e1}.rc-btn-outline:hover:not(:disabled){background:#f1f5f9}.rc-context{color:var(--text-primary);flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:.95rem;display:flex}.rc-context-sub{color:var(--text-secondary);font-size:.85rem}.rc-context-pdf{flex-shrink:0;margin-left:auto}.rc-planilla-multi{background:var(--bg-card);border-radius:var(--radius);box-shadow:var(--shadow-sm);margin-top:12px;padding:12px;overflow-x:auto}.rc-planilla-multi-table{border-collapse:collapse;width:100%;font-size:.9rem}.rc-planilla-multi-table th,.rc-planilla-multi-table td{border-bottom:1px solid var(--border-subtle,#e5e7eb);text-align:left;padding:8px 10px}.rc-planilla-multi-table .rc-num{text-align:right;font-variant-numeric:tabular-nums}.rc-placeholder{background:var(--bg-card);border-radius:var(--radius);box-shadow:var(--shadow-sm);text-align:center;color:var(--text-secondary);padding:40px}.rc-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}@media (width<=1500px){.rc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.rc-grid{grid-template-columns:1fr}.rc-field{min-width:100%}.rc-filter-actions{width:100%}.rc-filter-actions .rc-btn{flex:1}}.rc-card{background:var(--bg-card);border-radius:var(--radius);box-shadow:var(--shadow-sm);border-top:4px solid #cbd5e1;flex-direction:column;gap:12px;padding:18px;display:flex}.rc-card--ok{border-top-color:var(--accent-green)}.rc-card--faltante{border-top-color:var(--accent-red)}.rc-card--sobrante{border-top-color:var(--accent-gold)}.rc-card--total{border-top-color:var(--accent-blue);background:linear-gradient(#f8fafc 0%,#fff 60%)}.rc-card-head{align-items:center;gap:10px;display:flex}.rc-card-icon{font-size:1.2rem}.rc-card-title{color:var(--text-primary);margin:0;font-size:1.05rem;font-weight:700}.rc-chip{color:var(--text-secondary);background:#e2e8f0;border-radius:999px;margin-left:auto;padding:3px 10px;font-size:.72rem;font-weight:700}.rc-chip--confirmed,.rc-chip--ok{background:var(--accent-green-light);color:#065f46}.rc-chip--parcial{background:var(--accent-gold-light);color:#92400e}.rc-chip--faltante{background:var(--accent-red-light);color:#991b1b}.rc-chip--sobrante{background:var(--accent-gold-light);color:#92400e}.rc-card-figures,.rc-total-figures{margin:0}.rc-figure{flex-direction:column;gap:2px;display:flex}.rc-figure dt{color:var(--text-secondary);font-size:.78rem}.rc-figure-strong{color:var(--text-primary);margin:0;font-size:1.25rem;font-weight:700}.rc-diff-ok{color:var(--accent-green)}.rc-diff-faltante{color:var(--accent-red)}.rc-diff-sobrante{color:var(--accent-gold)}.rc-currency-input{border-radius:var(--radius-sm);background:#fff;border:1px solid #cbd5e1;align-items:center;display:flex;overflow:hidden}.rc-currency-prefix{color:var(--text-secondary);padding:0 10px;font-weight:700}.rc-currency-field{text-align:right;border:none;flex:1;min-width:0;font-weight:600}.rc-currency-field:focus-visible{outline:none}.rc-currency-input:focus-within{outline-offset:1px;outline:3px solid #2563eb}.rc-diff-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.rc-diff-label{color:var(--text-secondary);font-size:.82rem}.rc-status{border-radius:999px;align-items:center;gap:6px;padding:4px 10px;font-size:.9rem;font-weight:700;display:inline-flex}.rc-status--ok{background:var(--accent-green-light);color:#065f46}.rc-status--faltante{background:var(--accent-red-light);color:#991b1b}.rc-status--sobrante{background:var(--accent-gold-light);color:#92400e}.rc-status--neutral{color:var(--text-secondary);background:#e2e8f0}.rc-check{color:var(--text-primary);cursor:pointer;align-items:center;gap:8px;font-size:.9rem;display:flex}.rc-check input{width:18px;height:18px}.rc-hint{color:var(--text-secondary);margin:0;font-size:.78rem}.rc-card-save{margin-top:auto}.rc-confirmed-box{border-radius:var(--radius-sm);background:#f8fafc;flex-direction:column;gap:8px;padding:12px;display:flex}.rc-confirmed-line{color:var(--text-primary);justify-content:space-between;font-size:.85rem;display:flex}.rc-confirmed-meta{color:var(--text-secondary)}.rc-confirmed-obs p{color:var(--text-primary);margin:2px 0 0;font-size:.85rem}.rc-confirmed-obs span{color:var(--text-secondary);font-size:.78rem}.rc-total-figures{flex-direction:column;gap:10px;display:flex}.rc-progress{grid-template-columns:auto auto;align-items:center;gap:4px 10px;margin-top:4px;display:grid}.rc-progress-label{color:var(--text-secondary);font-size:.8rem}.rc-progress-value{color:var(--text-primary);text-align:right;font-weight:700}.rc-progress-bar{background:#e2e8f0;border-radius:999px;grid-column:1/-1;height:8px;overflow:hidden}.rc-progress-fill{background:var(--accent-blue);height:100%;transition:width .2s;display:block}.rc-otros{background:var(--accent-gold-light);border-radius:var(--radius);border:1px solid #fcd34d;padding:16px}.rc-otros--empty{background:var(--bg-card);color:var(--text-secondary);border-color:#e2e8f0}.rc-otros-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.rc-otros-head h3{color:#92400e;margin:0;font-size:1rem}.rc-otros-total{color:#92400e;font-weight:700}.rc-otros-note{color:#78350f;margin:8px 0;font-size:.85rem}.rc-otros-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.rc-otros-item{color:#78350f;justify-content:space-between;font-size:.88rem;display:flex}.rc-otros-amount{font-weight:600}.rc-alert{border-radius:var(--radius-sm);padding:12px 14px;font-size:.9rem}.rc-alert-error{background:var(--accent-red-light);color:#991b1b}.rc-alert-success{background:var(--accent-green-light);color:#065f46}.rc-alert-info{background:var(--accent-blue-light);color:#1e40af}.rc-alert-warn{background:var(--accent-gold-light);color:#92400e}.rc-change-detail{flex-direction:column;gap:2px;margin-top:6px;font-size:.82rem;display:flex}.rc-modal-overlay{z-index:1000;background:#0f172a80;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.rc-modal{border-radius:var(--radius);box-shadow:var(--shadow-md);background:#fff;width:100%;max-width:440px;max-height:90vh;overflow:auto}.rc-modal--wide{max-width:640px}.rc-modal-head{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:10px;padding:16px 18px;display:flex}.rc-modal-head h3{color:var(--text-primary);margin:0;font-size:1.05rem}.rc-modal-close{cursor:pointer;color:var(--text-secondary);background:0 0;border:none;font-size:1.1rem}.rc-modal-body{color:var(--text-primary);padding:18px;font-size:.9rem}.rc-modal-actions{border-top:1px solid #e2e8f0;justify-content:flex-end;gap:10px;padding:16px 18px;display:flex}.rc-confirm-dl{grid-template-columns:auto 1fr;gap:6px 16px;margin:0;display:grid}.rc-confirm-dl dt{color:var(--text-secondary)}.rc-confirm-dl dd{text-align:right;margin:0;font-weight:600}.rc-confirm-obs{color:var(--text-secondary);margin-top:12px}.rc-hist-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.rc-hist-item{border-radius:var(--radius-sm);border:1px solid #e2e8f0;padding:12px}.rc-hist-top{flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.rc-hist-accion{color:var(--text-primary);font-weight:700}.rc-hist-fecha{color:var(--text-secondary);font-size:.82rem}.rc-hist-user{color:var(--text-secondary);margin-top:2px;font-size:.82rem}.rc-hist-figs{flex-wrap:wrap;gap:4px 14px;margin-top:6px;font-size:.83rem;display:flex}.rc-hist-obs,.rc-hist-motivo{color:var(--text-primary);margin-top:6px;font-size:.83rem}.rc-by-user{background:var(--bg-card,#fff);border:1px solid var(--premium-border,#e4e9f0);border-radius:var(--premium-radius-sm,10px);box-shadow:var(--premium-shadow-xs,0 1px 2px #0f172a0a);margin-top:1.25rem;padding:1rem 1.05rem 1.1rem}.rc-by-user-head{border-bottom:1px solid var(--premium-border-subtle,#eef2f7);justify-content:space-between;align-items:flex-start;gap:.75rem;margin-bottom:.85rem;padding-bottom:.7rem;display:flex}.rc-by-user-head h3{letter-spacing:.04em;text-transform:uppercase;color:var(--premium-text,#0f172a);margin:0;font-size:.95rem;font-weight:700}.rc-by-user-hint{color:var(--premium-text-muted,#64748b);max-width:52rem;margin:.28rem 0 0;font-size:.82rem;line-height:1.35}.rc-by-user-state{color:var(--premium-text-muted,#64748b);margin:.35rem 0;font-size:.9rem}.rc-by-user-panel{border-radius:var(--premium-radius-xs,8px);border:1px solid var(--premium-border,#e4e9f0);background:#fff;overflow:hidden}.rc-by-user-table-wrap{width:100%;overflow-x:auto}.rc-by-user-table{border-collapse:separate;border-spacing:0;width:100%;font-size:.9rem}.rc-by-user-table thead th{color:#f8fafc;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;background:linear-gradient(#143057 0%,#0f1c33 100%);border-bottom:1px solid #ffffff14;padding:.58rem .7rem;font-size:.72rem;font-weight:700}.rc-by-user-table thead th:first-child{border-top-left-radius:7px}.rc-by-user-table thead th:last-child{border-top-right-radius:7px}.rc-by-user-table tbody td,.rc-by-user-table tfoot th,.rc-by-user-table tfoot td{text-align:left;vertical-align:middle;border-bottom:1px solid var(--premium-border-subtle,#eef2f7);padding:.52rem .7rem}.rc-by-user-table tbody tr:nth-child(2n) td{background:#f8fafc}.rc-by-user-table tbody tr:hover td{background:#eff6ff}.rc-by-user-table .rc-num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.rc-by-user-name{color:var(--premium-text,#0f172a);font-weight:700;line-height:1.25;display:block}.rc-by-user-login{color:var(--premium-text-muted,#64748b);margin-top:.1rem;font-size:.75rem;display:block}.rc-by-user-store-cell,.rc-by-user-store{color:var(--premium-text-muted,#64748b);font-size:.84rem;font-weight:500}.rc-by-user-tickets{color:#334155;font-variant-numeric:tabular-nums;background:#eef2f7;border-radius:999px;justify-content:center;align-items:center;min-width:2rem;padding:.12rem .45rem;font-size:.8rem;font-weight:700;display:inline-flex}.rc-by-user-table .rc-col-efectivo,.rc-by-user-card-grid .rc-col-efectivo dd{color:#047857;font-weight:600}.rc-by-user-table .rc-col-tarjeta,.rc-by-user-card-grid .rc-col-tarjeta dd{color:#b91c1c;font-weight:600}.rc-by-user-table .rc-col-transferencia,.rc-by-user-card-grid .rc-col-transferencia dd{color:#a16207;font-weight:600}.rc-by-user-table thead .rc-col-efectivo{color:#a7f3d0}.rc-by-user-table thead .rc-col-tarjeta{color:#fecaca}.rc-by-user-table thead .rc-col-transferencia{color:#fde68a}.rc-by-user-table thead .rc-by-user-total-col{color:#bfdbfe}.rc-by-user-total-value{background:var(--premium-accent-soft,#eff6ff);color:var(--premium-accent,#1d4ed8);font-variant-numeric:tabular-nums;border:1px solid #1d4ed824;border-radius:6px;padding:.18rem .5rem;font-weight:700;display:inline-block}.rc-by-user-total-value--grand{background:#dbeafe;border-color:#1d4ed838;font-size:.95rem}.rc-by-user-sin .rc-by-user-name{color:#78716c;font-style:italic}.rc-by-user-sin td:first-child .rc-by-user-name:before{content:"";vertical-align:middle;background:#a8a29e;border-radius:50%;width:.45rem;height:.45rem;margin-right:.4rem;display:inline-block}.rc-by-user-totals-row th,.rc-by-user-totals-row td{color:var(--premium-text,#0f172a);border-top:2px solid #cbd5e1;border-bottom:none;font-weight:700;background:#f1f5f9!important}.rc-by-user-totals-row th{text-transform:uppercase;letter-spacing:.04em;font-size:.78rem}.rc-by-user-cards{background:#f8fafc;gap:.65rem;margin:0;padding:.7rem;list-style:none;display:none}.rc-by-user-card{border:1px solid var(--premium-border,#e4e9f0);border-radius:var(--premium-radius-xs,8px);box-shadow:var(--premium-shadow-xs,0 1px 2px #0f172a0a);background:#fff;padding:.75rem .8rem}.rc-by-user-card--totals{background:linear-gradient(#f8fafc 0%,#eef2ff 100%);border-color:#bfdbfe}.rc-by-user-card-top{justify-content:space-between;align-items:flex-start;gap:.65rem;margin-bottom:.55rem;display:flex}.rc-by-user-card-total{text-align:right;flex-shrink:0}.rc-by-user-card-total span{letter-spacing:.04em;text-transform:uppercase;color:var(--premium-text-muted,#64748b);font-size:.68rem;font-weight:700;display:block}.rc-by-user-card-total strong{background:var(--premium-accent-soft,#eff6ff);color:var(--premium-accent,#1d4ed8);font-variant-numeric:tabular-nums;border:1px solid #1d4ed824;border-radius:6px;margin-top:.15rem;padding:.18rem .45rem;display:inline-block}.rc-by-user-card-grid{grid-template-columns:1fr 1fr;gap:.4rem .65rem;margin:0;display:grid}.rc-by-user-card-grid dt{letter-spacing:.03em;color:var(--premium-text-soft,#94a3b8);text-transform:uppercase;margin:0;font-size:.68rem;font-weight:700}.rc-by-user-card-grid dd{font-variant-numeric:tabular-nums;color:var(--premium-text,#0f172a);margin:.08rem 0 0;font-weight:700}@media (width<=760px){.rc-by-user{padding:.85rem}.rc-by-user-panel{background:0 0;border:none;overflow:visible}.rc-by-user-table-wrap{display:none}.rc-by-user-cards{background:0 0;padding:0;display:grid}}.rc-tabs{flex-wrap:wrap;gap:8px;display:flex}.rc-tab{border-radius:var(--radius-sm);cursor:pointer;background:#fff;border:2px solid #cbd5e1;padding:10px 16px;font-size:.9rem;font-weight:600}.rc-tab--active{color:#000;background:#f5d300;border-color:#000}.rc-tab-panel--planilla{width:100%}@media print{.rpw-no-print{display:none!important}}.cg-page{flex-direction:column;gap:1rem;padding:.5rem .25rem 2rem;display:flex}.cg-header{flex-wrap:wrap;align-items:flex-start;gap:1rem;display:flex}.cg-header-main h1{margin:.25rem 0 .15rem;font-size:1.35rem}.cg-header-main p{color:#4b5563;max-width:60ch;margin:0;font-size:.9rem}.pc-header-actions{align-items:center;gap:.5rem;margin-left:auto;display:flex}.cg-counters{flex-wrap:wrap;gap:.5rem;display:flex}.cg-counter{color:#374151;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:.5rem;padding:.35rem .65rem;font-size:.82rem}.cg-counter strong{color:#111827;margin-right:.3rem;font-size:1rem}.cg-counter-media{background:#eff6ff;border-color:#bfdbfe}.cg-counter-baja{background:#fff7ed;border-color:#fed7aa}.cg-filters{background:#fff;border:1px solid #e5e7eb;border-radius:.6rem;grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));align-items:end;gap:.6rem;padding:.75rem;display:grid}.cg-filters .pc-form-group{flex-direction:column;gap:.25rem;display:flex}.cg-filters label{color:#4b5563;font-size:.78rem;font-weight:600}.cg-filters input,.cg-filters select{border:1px solid #d1d5db;border-radius:.4rem;padding:.4rem .5rem;font-size:.88rem}.cg-filters-actions{grid-column:1/-1;justify-content:flex-end;gap:.5rem;display:flex}.cg-alert-warn{color:#92400e;background:#fffbeb;border:1px solid #fcd34d}.cg-layout{grid-template-columns:minmax(16rem,22rem) 1fr;align-items:start;gap:1rem;display:grid}.cg-list,.cg-detail{background:#fff;border:1px solid #e5e7eb;border-radius:.6rem;min-height:12rem;padding:.75rem}.cg-family-list{flex-direction:column;gap:.4rem;max-height:60vh;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.cg-family-item{text-align:left;cursor:pointer;background:#f9fafb;border:1px solid #e5e7eb;border-radius:.5rem;flex-direction:column;gap:.35rem;width:100%;padding:.5rem .6rem;display:flex}.cg-family-item:hover{background:#f3f4f6}.cg-family-item.is-active{background:#eff6ff;border-color:#2563eb}.cg-family-name{color:#111827;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:600;overflow:hidden}.cg-family-meta{flex-wrap:wrap;gap:.3rem;display:flex}.cg-chip{color:#374151;background:#e5e7eb;border-radius:999px;padding:.1rem .5rem;font-size:.72rem}.cg-chip-media{color:#1e40af;background:#dbeafe}.cg-chip-baja{color:#9a3412;background:#ffedd5}.cg-chip-clasif{color:#166534;background:#dcfce7}.cg-pagination{color:#4b5563;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-top:.75rem;font-size:.8rem;display:flex}.cg-pagination-controls{align-items:center;gap:.4rem;display:flex}.cg-pagesize-label{font-size:.78rem}.cg-family-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.cg-family-head h2{margin:0 0 .25rem;font-size:1.05rem}.cg-principal-note{color:#4b5563;margin:0;font-size:.82rem}.cg-family-actions{flex-wrap:wrap;gap:.4rem;display:flex}.cg-table-wrap{border:1px solid #eef0f3;border-radius:.5rem;max-height:55vh;margin-top:.75rem;overflow:auto}.cg-table{border-collapse:collapse;width:100%;font-size:.82rem}.cg-table th,.cg-table td{text-align:left;vertical-align:top;border-bottom:1px solid #eef0f3;padding:.45rem .55rem}.cg-table thead th{z-index:1;text-transform:uppercase;letter-spacing:.02em;color:#6b7280;background:#f9fafb;font-size:.76rem;position:sticky;top:0}.cg-row-principal{background:#eff6ff}.cg-prod-name{color:#111827;font-weight:600;display:block}.cg-prod-ids{color:#6b7280;font-size:.72rem;display:block}.cg-tag{color:#fff;background:#2563eb;border-radius:999px;padding:.1rem .5rem;font-size:.72rem}.cg-muted{color:#9ca3af}.cg-table em{color:#9ca3af;font-style:italic}.cg-diffs{flex-direction:column;gap:.2rem;display:flex}.cg-diff-item{color:#374151;white-space:nowrap;font-size:.74rem}.cg-diff{font-weight:600}.cg-diff-ok{color:#166534}.cg-diff-bad{color:#b91c1c}.cg-diff-none{color:#6b7280}.cg-cards{flex-direction:column;gap:.6rem;margin-top:.75rem;display:flex}.cg-card{background:#fbfbfc;border:1px solid #e5e7eb;border-radius:.5rem;padding:.6rem}.cg-card-principal{background:#eff6ff;border-color:#2563eb}.cg-card-head{flex-wrap:wrap;justify-content:space-between;gap:.5rem;display:flex}.cg-card h3{margin:.4rem 0;font-size:.95rem}.cg-card-attrs{grid-template-columns:auto 1fr;gap:.15rem .6rem;margin:0;font-size:.82rem;display:grid}.cg-card-attrs dt{color:#6b7280;font-weight:600}.cg-card-attrs dd{color:#111827;margin:0}.cg-radio-label,.cg-check-label{align-items:center;gap:.35rem;font-size:.82rem;display:inline-flex}.cg-actions-bar{border-top:1px solid #eef0f3;flex-wrap:wrap;gap:.6rem;margin-top:1rem;padding-top:.75rem;display:flex}.cg-readonly-note{color:#6b7280;margin:0;font-size:.85rem}.pc-btn-danger{color:#fff;background:#dc2626;border:1px solid #dc2626}.pc-btn-danger:hover:not(:disabled){background:#b91c1c}.pc-btn-danger:disabled{opacity:.55;cursor:not-allowed}.cg-modal-card{width:92vw;max-width:34rem}.cg-modal-wide{max-width:44rem}.cg-modal-summary{grid-template-columns:auto 1fr;gap:.2rem .75rem;margin:.5rem 0 .75rem;font-size:.85rem;display:grid}.cg-modal-summary dt{color:#6b7280;font-weight:600}.cg-modal-summary dd{color:#111827;margin:0}.cg-modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:.5rem;margin-top:.75rem;display:flex}.cg-history-list{flex-direction:column;gap:.4rem;max-height:50vh;display:flex;overflow-y:auto}.cg-history-row{border:1px solid #eef0f3;border-radius:.4rem;justify-content:space-between;align-items:flex-start;gap:.75rem;padding:.5rem;font-size:.82rem;display:flex}.cg-history-motivo{color:#374151;margin-top:.15rem}.cg-history-user{color:#6b7280;margin-top:.1rem;font-size:.75rem}.cg-mobile{display:none}@media (width<=1024px){.cg-layout{grid-template-columns:1fr}.cg-family-list{max-height:30vh}}@media (width<=820px){.cg-desktop{display:none}.cg-mobile{display:flex}.pc-header-actions{margin-left:0}}.cg-page a:focus-visible,.cg-page button:focus-visible,.cg-page input:focus-visible,.cg-page select:focus-visible{outline-offset:2px;border-radius:.3rem;outline:3px solid #2563eb}.cg-mode-toggle{background:#fff;border:1px solid #d1d5db;border-radius:.5rem;gap:0;display:inline-flex;overflow:hidden}.cg-mode-toggle button{color:#4b5563;cursor:pointer;background:0 0;border:0;padding:.45rem .9rem;font-size:.88rem}.cg-mode-toggle button.active{color:#fff;background:#1e3a5f;font-weight:600}.cg-mode-toggle button:not(.active):hover{background:#f3f4f6}.cg-alert-info{color:#1e3a5f;background:#eff6ff;border:1px solid #bfdbfe;border-radius:.5rem;padding:.6rem .75rem;font-size:.85rem}.cg-check-field label{color:#374151;align-items:center;gap:.4rem;padding-top:1.1rem;font-size:.82rem;font-weight:600;display:flex}.cg-visual-panel{background:#fff;border:1px solid #e5e7eb;border-radius:.6rem;padding:.75rem}.cg-visual-list{flex-direction:column;gap:.45rem;margin:0;padding:0;list-style:none;display:flex}.cg-visual-group{background:#fafbfc;border:1px solid #e5e7eb;border-radius:.5rem;overflow:hidden}.cg-visual-group.is-open{background:#fff;border-color:#93c5fd}.cg-visual-group-head{text-align:left;cursor:pointer;background:0 0;border:0;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;width:100%;padding:.65rem .75rem;display:flex}.cg-visual-group-head:hover{background:#f3f4f6}.cg-visual-group.is-open .cg-visual-group-head{background:#eff6ff}.cg-visual-chevron{color:#6b7280;flex-shrink:0;width:1rem;font-size:.7rem}.cg-visual-name{color:#111827;flex:14rem;font-family:Segoe UI,ui-sans-serif,system-ui,sans-serif;font-size:.95rem;font-weight:650}.cg-visual-meta{flex-wrap:wrap;gap:.3rem;display:flex}.cg-chip-coin{color:#92400e;background:#fef3c7;font-weight:600}.cg-visual-body{border-top:1px solid #e5e7eb;padding:0 .75rem .85rem}.cg-visual-hint{color:#4b5563;max-width:90ch;margin:.65rem 0;font-size:.82rem}.cg-gid{color:#6b7280;background:#f3f4f6;border-radius:.25rem;padding:.1rem .3rem;font-size:.72rem}.cg-leave-note{align-self:center;font-size:.8rem}.cg-mapeos-details{color:#374151;margin-top:.75rem;font-size:.85rem}.cg-mapeos-details summary{cursor:pointer;margin-bottom:.4rem;font-weight:600}.stock-compras{flex-direction:column;gap:1rem;display:flex}.stock-compras-intro h2{margin:0 0 .35rem;font-size:1.25rem}.stock-compras-intro p{color:var(--premium-muted,#5b6472);margin:0}.stock-compras-pending,.stock-compras-hint,.stock-compras-empty,.stock-compras-perm{color:var(--premium-muted,#5b6472);margin:.5rem 0 0;font-size:.9rem}.stock-compras-filter-actions{flex-direction:column;gap:.45rem;margin-left:auto;display:flex}.stock-compras-filters-grid{grid-template-columns:repeat(4,minmax(160px,1fr)) auto;align-items:start;gap:.75rem .85rem;display:grid}.stock-compras-select-root{min-width:0;position:relative}.stock-compras-field{flex-direction:column;gap:.35rem;min-width:0;display:flex}.stock-compras-field-label{color:var(--premium-muted,#5b6472);font-size:.78rem;font-weight:600;line-height:1.2}.stock-compras-select-trigger{border:1px solid var(--premium-border,#d7dde5);color:#1f2937;width:100%;height:2.5rem;font:inherit;text-align:left;cursor:pointer;background:#fff;border-radius:8px;justify-content:space-between;align-items:center;gap:.5rem;padding:0 .75rem;font-size:.9rem;font-weight:500;display:flex}.stock-compras-select-trigger:hover{border-color:#9db0c7}.stock-compras-select-trigger:focus-visible,.stock-compras-select-option:focus-visible,.stock-compras-select-search:focus-visible{outline-offset:1px;outline:2px solid #1e4e79}.stock-compras-select-trigger:disabled{opacity:.6;cursor:not-allowed}.stock-compras-field.is-open .stock-compras-select-trigger{border-color:#1e4e79;box-shadow:0 0 0 1px #1e4e7933}.stock-compras-select-value{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stock-compras-select-caret{border-top:6px solid #5b6472;border-left:5px solid #0000;border-right:5px solid #0000;flex:none;width:0;height:0}.stock-compras-field.is-open .stock-compras-select-caret{transform:rotate(180deg)}.stock-compras-select-panel{z-index:40;border:1px solid var(--premium-border,#d7dde5);background:#fff;border-radius:8px;flex-direction:column;min-width:100%;max-height:16rem;display:flex;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow:hidden;box-shadow:0 10px 28px #0f172a24}.stock-compras-select-search{border:0;border-bottom:1px solid var(--premium-border,#d7dde5);width:100%;height:2.35rem;font:inherit;padding:0 .75rem;font-size:.88rem}.stock-compras-multi-toolbar{border-bottom:1px solid var(--premium-border,#e6ebf0);gap:.75rem;padding:.45rem .75rem;display:flex}.stock-compras-select-options{max-height:12.5rem;margin:0;padding:.25rem 0;list-style:none;overflow:auto}.stock-compras-select-option{width:100%;font:inherit;text-align:left;color:inherit;cursor:pointer;background:0 0;border:0;align-items:flex-start;gap:.45rem;padding:.45rem .75rem;font-size:.88rem;display:flex}.stock-compras-select-option:hover,.stock-compras-select-option.is-selected{background:#eef4fb}.stock-compras-multi-option{margin:0}.stock-compras-select-empty{color:var(--premium-muted,#5b6472);padding:.65rem .75rem;font-size:.85rem}.stock-compras-filter-actions{flex-direction:column;align-self:end;gap:.45rem;display:flex}@media (width<=1200px){.stock-compras-filters-grid{grid-template-columns:repeat(2,minmax(160px,1fr))}.stock-compras-filter-actions{grid-column:1/-1;align-self:stretch}}@media (width<=640px){.stock-compras-filters-grid{grid-template-columns:1fr}.stock-compras-select-panel{max-height:min(16rem,50vh)}}.stock-compras-categorias{flex:220px;min-width:200px;max-width:100%}.stock-compras-cat-toolbar{flex-wrap:wrap;align-items:center;gap:.45rem .75rem;margin-bottom:.35rem;display:flex}.stock-compras-link-btn{color:var(--accent-blue,#1e4e79);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:.82rem;font-weight:600;text-decoration:underline}.stock-compras-cat-summary{color:var(--premium-muted,#5b6472);text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.8rem;overflow:hidden}.stock-compras-cat-list{border:1px solid var(--premium-border,#d7dde5);background:#fff;border-radius:8px;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.25rem .5rem;max-height:9.5rem;padding:.45rem .55rem;display:grid;overflow:auto}.stock-compras-cat-item{cursor:pointer;align-items:flex-start;gap:.35rem;font-size:.82rem;line-height:1.25;display:flex}.stock-compras-cat-item input{flex:none;margin-top:.15rem}.stock-compras-selection-bar{flex-wrap:wrap;align-items:center;gap:.55rem .9rem;margin-top:.45rem;display:flex}.stock-compras-cat-select-all{cursor:pointer;color:inherit;align-items:center;gap:.45rem;margin:0;display:flex}.stock-compras-cat-select-all h4{margin:0}.stock-compras-product-main{cursor:pointer;flex-wrap:nowrap;align-items:flex-start;gap:.55rem;min-width:0;display:flex}.stock-compras-product-main input{flex:none;margin-top:.2rem}.stock-compras-action-row{flex-wrap:wrap;gap:.45rem;display:flex}.stock-compras-action-row .stock-filter-btn{min-width:7.5rem}.stock-compras-preview{flex-direction:column;gap:.85rem;display:flex}.stock-compras-preview-meta h3{margin:0 0 .25rem}.stock-compras-preview-meta p{color:var(--premium-muted,#5b6472);margin:0;font-size:.9rem}.stock-compras-snapshot{margin-top:.25rem!important}.stock-compras-category{border:1px solid var(--premium-border,#d7dde5);background:var(--bg-card,#fff);border-radius:10px;overflow:hidden}.stock-compras-category-header{color:#fff;background:linear-gradient(90deg,#1e3a5f 0%,#2c5282 100%);justify-content:space-between;align-items:center;gap:.75rem;padding:.55rem .85rem;display:flex}.stock-compras-category-header h4{margin:0;font-size:.95rem;font-weight:600}.stock-compras-category-header span{opacity:.9;font-size:.8rem}.stock-compras-product-list{margin:0;padding:0;list-style:none}.stock-compras-product-row{border-top:1px solid var(--premium-border,#e6ebf0);justify-content:space-between;align-items:flex-start;gap:.75rem;padding:.55rem .85rem;display:flex}.stock-compras-product-main{flex-wrap:wrap;align-items:center;gap:.45rem;min-width:0;display:flex}.stock-compras-product-name{word-break:break-word;font-size:.92rem;line-height:1.35}.stock-compras-badge{letter-spacing:.02em;border:1px solid #0000;border-radius:999px;align-items:center;padding:.1rem .45rem;font-size:.68rem;font-weight:700;display:inline-flex}.stock-compras-badge--kilos{color:#1e4e79;background:#e8f4ff;border-color:#c5ddf5}.stock-compras-badge--unidades{color:#2f6b3a;background:#eef8ef;border-color:#cfe8d3}.stock-compras-stock{font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;font-size:.92rem}.stock-compras-pdf{flex-direction:column;gap:.55rem;display:flex}.stock-compras-pdf-meta{color:var(--premium-muted,#5b6472);flex-wrap:wrap;gap:.5rem 1rem;font-size:.9rem;display:flex}.stock-compras-pdf-frame{border:1px solid var(--premium-border,#d7dde5);background:#f4f6f8;border-radius:10px;width:100%;min-height:70vh}@media (width<=900px){.stock-compras-filter-actions{flex-basis:100%;width:100%;margin-left:0}.stock-compras-pdf-frame{min-height:55vh}}@media (width<=640px){.stock-compras-action-row{width:100%}.stock-compras-action-row .stock-filter-btn{flex:calc(50% - .45rem)}.stock-compras-product-row{flex-direction:column;align-items:stretch}.stock-compras-pdf-frame{min-height:50vh}}@media (width<=480px){.dashboard-header.module-topbar .header-account-btn{flex-direction:row;justify-content:flex-end;align-items:center;gap:0;max-width:none;padding:.2rem .42rem;overflow:visible}.dashboard-header.module-topbar .header-account-btn small{display:none}.dashboard-header.module-topbar .header-account-name{white-space:nowrap;text-overflow:clip;max-width:none;font-size:clamp(.5rem,2.35vw,.64rem);font-weight:500;line-height:1.15;display:block;overflow:visible}.dashboard-header.module-topbar[data-module=inicio]{flex-wrap:nowrap;align-items:center;gap:0 .35rem;padding:.35rem .55rem}.dashboard-header.module-topbar[data-module=inicio] .module-topbar__left{flex-wrap:nowrap;flex:0 auto;align-items:center;gap:.3rem;min-width:0;max-width:38%}.dashboard-header.module-topbar[data-module=inicio] .module-topbar__icon{border-radius:8px;flex-shrink:0;width:1.85rem;height:1.85rem;font-size:.95rem}.dashboard-header.module-topbar[data-module=inicio] .module-topbar__copy{flex:0 auto;min-width:0}.dashboard-header.module-topbar[data-module=inicio] .module-topbar__title{white-space:nowrap;font-size:clamp(.78rem,3.2vw,.9rem);line-height:1.15}.dashboard-header.module-topbar[data-module=inicio] .module-topbar__description{display:none}.dashboard-header.module-topbar[data-module=inicio] .module-topbar__right{flex:auto;justify-content:flex-end;min-width:0;max-width:62%;margin-left:auto}.dashboard-header.module-topbar[data-module=inicio] .header-menu-btn{flex-shrink:0;padding:.22rem .38rem;font-size:1rem}.dashboard-header.module-topbar[data-module=inicio] .header-account{min-width:0;max-width:100%}.dashboard-header.module-topbar[data-module=inicio] .header-account-btn{background:#ffffffe0;border-radius:999px;width:auto;min-width:0}.dashboard-content:has(.executive-home){padding-top:.55rem;padding-left:.65rem;padding-right:.65rem}.executive-home .section-title-row,.executive-home .executive-home__module-list{display:none}.executive-home .module-grid.executive-home__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;width:100%;margin-top:0;margin-bottom:.75rem;display:grid}.executive-home .module-grid.executive-home__grid>.module-card{box-sizing:border-box;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;min-width:0;max-width:100%;height:6.25rem;min-height:6.25rem;max-height:6.25rem;padding:.65rem .5rem;display:flex;overflow:hidden}.executive-home .module-grid.executive-home__grid>.module-card:hover{transform:none}.executive-home .module-grid.executive-home__grid>.module-card .module-card-icon{border-radius:8px;flex-shrink:0;width:1.85rem;height:1.85rem;margin-bottom:.4rem;font-size:.95rem}.executive-home .module-grid.executive-home__grid>.module-card .module-card__title{-webkit-line-clamp:2;word-break:break-word;-webkit-hyphens:auto;hyphens:auto;-webkit-box-orient:vertical;flex:auto;width:100%;min-width:0;margin:0;font-size:.72rem;font-weight:600;line-height:1.2;display:-webkit-box;overflow:hidden}.executive-home .module-grid.executive-home__grid>.module-card .module-card__description,.executive-home .module-grid.executive-home__grid>.module-card .module-card__status{display:none!important}}@media (width<=360px){.executive-home .module-grid.executive-home__grid{gap:.4rem}.executive-home .module-grid.executive-home__grid>.module-card{height:6rem;min-height:6rem;max-height:6rem;padding:.55rem .42rem}.executive-home .module-grid.executive-home__grid>.module-card .module-card__title{font-size:.68rem}.dashboard-header.module-topbar .header-account-name{font-size:.5rem}.dashboard-header.module-topbar[data-module=inicio] .module-topbar__left{max-width:34%}.dashboard-header.module-topbar[data-module=inicio] .module-topbar__right{max-width:66%}}@media (width<=320px){.dashboard-content:has(.executive-home){padding-left:.5rem;padding-right:.5rem}.executive-home .module-grid.executive-home__grid{gap:.35rem}.executive-home .module-grid.executive-home__grid>.module-card .module-card__title{font-size:.65rem}}@media (width<=480px){.dashboard-header.module-topbar[data-module=dashboard]{flex-wrap:nowrap;align-items:center;gap:0 .35rem;padding:.35rem .55rem}.dashboard-header.module-topbar[data-module=dashboard] .module-topbar__left{flex-wrap:nowrap;flex:0 auto;align-items:center;gap:.3rem;min-width:0;max-width:42%}.dashboard-header.module-topbar[data-module=dashboard] .module-topbar__icon{border-radius:8px;flex-shrink:0;width:1.85rem;height:1.85rem;font-size:.95rem}.dashboard-header.module-topbar[data-module=dashboard] .module-topbar__copy{flex:0 auto;min-width:0}.dashboard-header.module-topbar[data-module=dashboard] .module-topbar__title{white-space:nowrap;text-overflow:ellipsis;font-size:clamp(.68rem,2.8vw,.82rem);line-height:1.15;overflow:hidden}.dashboard-header.module-topbar[data-module=dashboard] .module-topbar__description,.dashboard-header.module-topbar[data-module=dashboard] .header-date{display:none}.dashboard-header.module-topbar[data-module=dashboard] .module-topbar__right{flex:auto;justify-content:flex-end;min-width:0;max-width:58%;margin-left:auto}.dashboard-header.module-topbar[data-module=dashboard] .header-menu-btn{flex-shrink:0;padding:.22rem .38rem;font-size:1rem}.dashboard-header.module-topbar[data-module=dashboard] .header-account{min-width:0;max-width:100%}.dashboard-header.module-topbar[data-module=dashboard] .header-account-btn{background:#ffffffe0;border-radius:999px;width:auto;min-width:0}.dashboard-content:has([data-testid=dashboard-ejecutivo-page]){padding-top:.55rem;padding-left:.65rem;padding-right:.65rem}[data-testid=dashboard-ejecutivo-page] .de-filters{grid-template-columns:1fr 1fr;gap:.45rem;padding:.65rem}[data-testid=dashboard-ejecutivo-page] .de-filters label.de-filter-producto,[data-testid=dashboard-ejecutivo-page] .de-filters label.de-filter-categoria--desktop{display:none!important}[data-testid=dashboard-ejecutivo-page] .de-filters label.de-filter-categoria--mobile{display:flex}[data-testid=dashboard-ejecutivo-page] .de-filters label{font-size:.68rem}[data-testid=dashboard-ejecutivo-page] .de-filters input,[data-testid=dashboard-ejecutivo-page] .de-filters select{min-height:36px;padding:.32rem .45rem;font-size:.82rem}[data-testid=dashboard-ejecutivo-page] .de-filters-actions{grid-column:1/-1}[data-testid=dashboard-ejecutivo-page] .de-btn{min-height:36px;font-size:.8rem}[data-testid=dashboard-ejecutivo-page] .de-modulos-movil.de-mobile-only{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;width:100%;margin:.5rem 0 .65rem;display:grid}[data-testid=dashboard-ejecutivo-page] .de-modulos-movil.de-mobile-only>.de-modulo-pill{box-sizing:border-box;border-radius:11px;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:.2rem;width:100%;min-width:0;max-width:100%;height:5rem;min-height:5rem;max-height:5rem;padding:.6rem .5rem;display:flex;overflow:hidden}[data-testid=dashboard-ejecutivo-page] .de-modulo-pill-title{-webkit-line-clamp:2;word-break:break-word;-webkit-box-orient:vertical;width:100%;min-width:0;margin:0;font-size:.7rem;font-weight:600;line-height:1.2;display:-webkit-box;overflow:hidden}[data-testid=dashboard-ejecutivo-page] .de-modulo-pill strong{flex-shrink:0;font-size:.88rem;line-height:1.15}[data-testid=dashboard-ejecutivo-page] .de-modulo-pill .de-kpi-sub{flex-shrink:0;margin:0;font-size:.64rem;line-height:1.15}[data-testid=dashboard-ejecutivo-page] .de-top5-split{gap:.55rem}[data-testid=dashboard-ejecutivo-page] .de-mini-card-head{min-height:2.85rem;padding:.5rem .6rem}[data-testid=dashboard-ejecutivo-page] .de-mini-card-head h3{font-size:.82rem;line-height:1.2}[data-testid=dashboard-ejecutivo-page] .de-mini-card-sub{font-size:.68rem}[data-testid=dashboard-ejecutivo-page] .de-top5-body{padding:.25rem .35rem .4rem}[data-testid=dashboard-ejecutivo-page] .de-flat-table--top5,[data-testid=dashboard-ejecutivo-page] .de-flat-table--top5-unidades{font-size:.66rem}[data-testid=dashboard-ejecutivo-page] .de-flat-table--top5 th,[data-testid=dashboard-ejecutivo-page] .de-flat-table--top5-unidades th{padding:.28rem .3rem;font-size:.58rem}[data-testid=dashboard-ejecutivo-page] .de-flat-table--top5 td,[data-testid=dashboard-ejecutivo-page] .de-flat-table--top5-unidades td{padding:.28rem .3rem}[data-testid=dashboard-ejecutivo-page] .de-mini-table-wrap{--de-mini-head-h:2.25rem;--de-mini-row-h:2.05rem}[data-testid=dashboard-ejecutivo-page] .de-detalle-grid{gap:.55rem}[data-testid=dashboard-ejecutivo-page] .de-detalle-title{margin-bottom:.55rem;font-size:.9rem}[data-testid=dashboard-ejecutivo-page] .de-mini-table{font-size:.64rem}[data-testid=dashboard-ejecutivo-page] .de-mini-table th{padding:.26rem .3rem;font-size:.56rem}[data-testid=dashboard-ejecutivo-page] .de-mini-table td{padding:.28rem .3rem}[data-testid=dashboard-ejecutivo-page] .de-flat-table th,[data-testid=dashboard-ejecutivo-page] .de-flat-table td{padding:.28rem .3rem;font-size:.64rem}[data-testid=dashboard-ejecutivo-page] .de-merma-table thead th{padding:.4rem .45rem;font-size:.58rem}[data-testid=dashboard-ejecutivo-page] .de-merma-table tbody td{height:auto;min-height:2rem;padding:.35rem .45rem;font-size:.68rem}[data-testid=dashboard-ejecutivo-page] .de-mini-card-body{padding:.25rem .35rem .4rem}[data-testid=dashboard-ejecutivo-page] .de-accesos-rapidos{display:none!important}[data-testid=dashboard-ejecutivo-page] .de-kpi-grid.de-kpi-grid--4>.de-kpi-card{background:linear-gradient(145deg,#f3f7ff 0%,#f8fafc 52%,#eef3ff 100%);border-color:#dbe4f5;box-shadow:0 1px 4px #1e3a5f0d}[data-testid=dashboard-ejecutivo-page] .de-kpi-grid.de-kpi-grid--4>.de-kpi-card .de-kpi-icon{background:#ffffffd1}[data-testid=dashboard-ejecutivo-page] .de-modulos-movil.de-mobile-only>.de-modulo-pill{background:linear-gradient(145deg,#f0fdf8 0%,#f8fafc 52%,#ecfdf5 100%);border-color:#c9ebe2;box-shadow:0 1px 4px #0d5e4e0d}[data-testid=dashboard-ejecutivo-page] .de-charts.de-charts--hide-mobile-pair{grid-template-columns:1fr;gap:.55rem;margin-top:.35rem;display:grid!important}[data-testid=dashboard-ejecutivo-page] .de-mobile-list{display:none!important}[data-testid=dashboard-ejecutivo-page] .de-kpi-card.is-clickable,[data-testid=dashboard-ejecutivo-page] .de-modulo-pill,[data-testid=dashboard-ejecutivo-page] .de-flat-table tbody tr.is-clickable,[data-testid=dashboard-ejecutivo-page] .de-prod-card,[data-testid=dashboard-ejecutivo-page] .de-accion-chip{pointer-events:none;cursor:default}[data-testid=dashboard-ejecutivo-page] .de-kpi-card.is-clickable:hover,[data-testid=dashboard-ejecutivo-page] .de-modulo-pill:hover{box-shadow:inherit;transform:none}[data-testid=dashboard-ejecutivo-page] .de-mini-card-link{display:none!important}[data-testid=dashboard-ejecutivo-page] .de-ventas-tienda-chart .de-chart-store-label{font-size:.56rem;line-height:1.1}[data-testid=dashboard-ejecutivo-page] .de-ventas-tienda-chart .de-chart-store-label--bold{font-weight:700}}.de-filter-categoria--mobile{display:none}@media (width<=360px){.dashboard-header.module-topbar[data-module=dashboard] .module-topbar__left{max-width:38%}.dashboard-header.module-topbar[data-module=dashboard] .module-topbar__right{max-width:62%}.dashboard-header.module-topbar[data-module=dashboard] .module-topbar__title{font-size:.66rem}[data-testid=dashboard-ejecutivo-page] .de-modulos-movil.de-mobile-only>.de-modulo-pill{height:4.75rem;min-height:4.75rem;max-height:4.75rem;padding:.52rem .48rem}}@media (width<=320px){.dashboard-content:has([data-testid=dashboard-ejecutivo-page]){padding-left:.5rem;padding-right:.5rem}[data-testid=dashboard-ejecutivo-page] .de-modulos-movil.de-mobile-only{gap:.45rem}[data-testid=dashboard-ejecutivo-page] .de-modulo-pill-title{font-size:.66rem}}
