@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/ba9851c3c22cd980-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/21350d82a1f187e9-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/df0a9ae256c0569c-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/8e9860b6e62d6359-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter Fallback;src:local("Arial");ascent-override:90.44%;descent-override:22.52%;line-gap-override:0.00%;size-adjust:107.12%}.__className_d8ebd1{font-family:Inter,Inter Fallback;font-style:normal}:root{--bg-primary:#0f172a;--bg-secondary:#1e293b;--bg-panel:rgba(30,41,59,0.7);--text-primary:#f8fafc;--text-secondary:#94a3b8;--accent-primary:#3b82f6;--accent-hover:#2563eb;--accent-success:#10b981;--accent-danger:#ef4444;--accent-warning:#f59e0b;--border-color:rgba(255,255,255,0.1);--glass-border:rgba(255,255,255,0.05);--shadow-glass:0 8px 32px 0 rgba(0,0,0,0.37);--shadow-sm:0 1px 2px 0 rgba(0,0,0,0.05);--radius-lg:16px;--radius-md:12px;--radius-sm:8px}.light-theme,[data-theme=light],body.light-theme,html.light-theme{--bg-primary:#f8fafc;--bg-secondary:#ffffff;--bg-panel:rgba(255,255,255,0.95);--text-primary:#0f172a;--text-secondary:#475569;--border-color:rgba(0,0,0,0.1);--glass-border:rgba(0,0,0,0.08);--shadow-glass:0 8px 30px 0 rgba(0,0,0,0.08);--shadow-sm:0 1px 3px 0 rgba(0,0,0,0.06)}[data-theme=light] body,body.light-theme,html.light-theme body{background-color:#f8fafc!important;color:#0f172a!important}.light-theme .caja-container,.light-theme .caja-main,.light-theme .categorias-container,.light-theme .cm-container,.light-theme .control-central-container,.light-theme .dashboard-container,.light-theme .dashboard-main,.light-theme .descuentos-container,.light-theme .empresa-container,.light-theme .gastos-container,.light-theme .informe-caja-locales-container,.light-theme .ingredientes-container,.light-theme .layout-container,.light-theme .locales-container,.light-theme .medios-container,.light-theme .monitor-container,.light-theme .movimientos-container,.light-theme .notas-container,.light-theme .productos-container,.light-theme .terceros-container,.light-theme .users-container,[data-theme=light] .caja-container,[data-theme=light] .caja-main,[data-theme=light] .categorias-container,[data-theme=light] .cm-container,[data-theme=light] .control-central-container,[data-theme=light] .dashboard-container,[data-theme=light] .dashboard-main,[data-theme=light] .descuentos-container,[data-theme=light] .empresa-container,[data-theme=light] .gastos-container,[data-theme=light] .informe-caja-locales-container,[data-theme=light] .ingredientes-container,[data-theme=light] .layout-container,[data-theme=light] .locales-container,[data-theme=light] .medios-container,[data-theme=light] .monitor-container,[data-theme=light] .movimientos-container,[data-theme=light] .notas-container,[data-theme=light] .productos-container,[data-theme=light] .terceros-container,[data-theme=light] .users-container{background-color:#f8fafc!important;background-image:radial-gradient(rgba(148,163,184,.22) 1px,transparent 0)!important;background-size:28px 28px!important;color:#0f172a!important}.light-theme .admin-card,.light-theme .admin-layout-content,.light-theme .caja-card,.light-theme .chart-card,.light-theme .cm-card,.light-theme .content-card,.light-theme .control-card,.light-theme .dashboard-card,.light-theme .descuento-card,.light-theme .detalles-section,.light-theme .empresa-card,.light-theme .filter-panel,.light-theme .form-card,.light-theme .glass-panel,.light-theme .history-card,.light-theme .inventario-card,.light-theme .kpi-card,.light-theme .local-card,.light-theme .medios-card,.light-theme .metric-card,.light-theme .notas-card,.light-theme .orders-panel,.light-theme .scope-box,.light-theme .stat-card,.light-theme .table-card,.light-theme .table-card-modern,.light-theme .table-container,.light-theme .users-card,.light-theme .users-table-container,.light-theme .widget,[data-theme=light] .admin-card,[data-theme=light] .admin-layout-content,[data-theme=light] .caja-card,[data-theme=light] .chart-card,[data-theme=light] .cm-card,[data-theme=light] .content-card,[data-theme=light] .control-card,[data-theme=light] .dashboard-card,[data-theme=light] .descuento-card,[data-theme=light] .detalles-section,[data-theme=light] .empresa-card,[data-theme=light] .filter-panel,[data-theme=light] .form-card,[data-theme=light] .glass-panel,[data-theme=light] .history-card,[data-theme=light] .inventario-card,[data-theme=light] .kpi-card,[data-theme=light] .local-card,[data-theme=light] .medios-card,[data-theme=light] .metric-card,[data-theme=light] .notas-card,[data-theme=light] .orders-panel,[data-theme=light] .scope-box,[data-theme=light] .stat-card,[data-theme=light] .table-card,[data-theme=light] .table-card-modern,[data-theme=light] .table-container,[data-theme=light] .users-card,[data-theme=light] .users-table-container,[data-theme=light] .widget{background:#ffffff!important;border:1px solid #e2e8f0!important;box-shadow:0 4px 18px -2px rgba(0,0,0,.05),0 2px 6px -1px rgba(0,0,0,.02)!important;color:#0f172a!important}.light-theme .caja-card h3,.light-theme .caja-title,.light-theme .categorias-header-title h1,.light-theme .dashboard-title,.light-theme .form-card h3,.light-theme .gastos-header h1,.light-theme .history-card h3,.light-theme .page-title,.light-theme .productos-header h1,.light-theme .section-title,.light-theme .terceros-header h1,.light-theme .users-header h1,.light-theme h1,.light-theme h2,.light-theme h3,.light-theme h4,[data-theme=light] .caja-card h3,[data-theme=light] .caja-title,[data-theme=light] .categorias-header-title h1,[data-theme=light] .dashboard-title,[data-theme=light] .form-card h3,[data-theme=light] .gastos-header h1,[data-theme=light] .history-card h3,[data-theme=light] .page-title,[data-theme=light] .productos-header h1,[data-theme=light] .section-title,[data-theme=light] .terceros-header h1,[data-theme=light] .users-header h1,[data-theme=light] h1,[data-theme=light] h2,[data-theme=light] h3,[data-theme=light] h4{color:#0f172a!important;background:none!important;-webkit-background-clip:initial!important;-webkit-text-fill-color:initial!important;text-shadow:none!important;border-bottom-color:#e2e8f0!important}.light-theme .caja-header p,.light-theme .categorias-header-title p,.light-theme .gastos-header p,.light-theme .productos-header p,.light-theme .subtitle,.light-theme .terceros-header p,.light-theme .text-secondary,.light-theme .users-header p,.light-theme p,[data-theme=light] .caja-header p,[data-theme=light] .categorias-header-title p,[data-theme=light] .gastos-header p,[data-theme=light] .productos-header p,[data-theme=light] .subtitle,[data-theme=light] .terceros-header p,[data-theme=light] .text-secondary,[data-theme=light] .users-header p,[data-theme=light] p{color:#64748b!important}.light-theme .form-group label,.light-theme label,[data-theme=light] .form-group label,[data-theme=light] label{color:#475569!important}.light-theme .detalles-table input,.light-theme .detalles-table select,.light-theme .form-control,.light-theme .form-group input,.light-theme .form-group select,.light-theme .form-group textarea,.light-theme input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=range]),.light-theme select,.light-theme textarea,[data-theme=light] .detalles-table input,[data-theme=light] .detalles-table select,[data-theme=light] .form-control,[data-theme=light] .form-group input,[data-theme=light] .form-group select,[data-theme=light] .form-group textarea,[data-theme=light] input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=range]),[data-theme=light] select,[data-theme=light] textarea{background-color:#ffffff!important;border:1px solid #cbd5e1!important;color:#0f172a!important;box-shadow:inset 0 1px 2px rgba(0,0,0,.04)!important}.light-theme .form-control:focus,.light-theme .form-group input:focus,.light-theme .form-group select:focus,.light-theme input:focus,.light-theme select:focus,.light-theme textarea:focus,[data-theme=light] .form-control:focus,[data-theme=light] .form-group input:focus,[data-theme=light] .form-group select:focus,[data-theme=light] input:focus,[data-theme=light] select:focus,[data-theme=light] textarea:focus{border-color:#3b82f6!important;box-shadow:0 0 0 3px rgba(59,130,246,.15),inset 0 1px 2px rgba(0,0,0,.04)!important;outline:none!important}.light-theme .admin-table,.light-theme .caja-table,.light-theme .data-table,.light-theme .detalles-table,.light-theme .history-table,.light-theme .users-table,.light-theme table,[data-theme=light] .admin-table,[data-theme=light] .caja-table,[data-theme=light] .data-table,[data-theme=light] .detalles-table,[data-theme=light] .history-table,[data-theme=light] .users-table,[data-theme=light] table{color:#0f172a!important}.light-theme .admin-table th,.light-theme .caja-table th,.light-theme .detalles-table th,.light-theme .history-table th,.light-theme .users-table th,.light-theme th,[data-theme=light] .admin-table th,[data-theme=light] .caja-table th,[data-theme=light] .detalles-table th,[data-theme=light] .history-table th,[data-theme=light] .users-table th,[data-theme=light] th{background-color:#f1f5f9!important;color:#475569!important;border-bottom:2px solid #e2e8f0!important}.light-theme .admin-table td,.light-theme .caja-table td,.light-theme .detalles-table td,.light-theme .history-table td,.light-theme .users-table td,.light-theme td,[data-theme=light] .admin-table td,[data-theme=light] .caja-table td,[data-theme=light] .detalles-table td,[data-theme=light] .history-table td,[data-theme=light] .users-table td,[data-theme=light] td{color:#1e293b!important;border-bottom:1px solid #f1f5f9!important}.light-theme .caja-table tr:hover td,.light-theme .history-table tr:hover td,.light-theme .users-table tr:hover td,.light-theme tr:hover td,[data-theme=light] .caja-table tr:hover td,[data-theme=light] .history-table tr:hover td,[data-theme=light] .users-table tr:hover td,[data-theme=light] tr:hover td{background-color:#f8fafc!important}.light-theme .kpi-label,[data-theme=light] .kpi-label{color:#64748b!important}.light-theme .kpi-value,[data-theme=light] .kpi-value{color:#0f172a!important}.light-theme .kpi-icon-badge,[data-theme=light] .kpi-icon-badge{background:#f1f5f9!important;border-color:#e2e8f0!important;color:#2563eb!important}.light-theme .badge-count,.light-theme .stat-chip,[data-theme=light] .badge-count,[data-theme=light] .stat-chip{background:#f1f5f9!important;border-color:#cbd5e1!important;color:#475569!important}.light-theme .categorias-stats-bar,.light-theme .quick-actions-bar,[data-theme=light] .categorias-stats-bar,[data-theme=light] .quick-actions-bar{background:#f1f5f9!important;border-color:#e2e8f0!important}.light-theme .quick-action-btn,[data-theme=light] .quick-action-btn{background:#ffffff!important;border-color:#cbd5e1!important;color:#475569!important}.light-theme .quick-action-btn:hover,[data-theme=light] .quick-action-btn:hover{background:#f8fafc!important;color:#0f172a!important;border-color:#94a3b8!important}.light-theme .empty-detalles,.light-theme .empty-state,[data-theme=light] .empty-detalles,[data-theme=light] .empty-state{background:#f8fafc!important;border:1px dashed #cbd5e1!important;color:#64748b!important}.light-theme .total-section,[data-theme=light] .total-section{color:#475569!important;border-top-color:#e2e8f0!important}.light-theme .cat-name-cell,[data-theme=light] .cat-name-cell{color:#0f172a!important}.light-theme .cat-icon-badge,[data-theme=light] .cat-icon-badge{background:#f1f5f9!important;border-color:#cbd5e1!important}.light-theme .icon-picker-box,[data-theme=light] .icon-picker-box{background:#f8fafc!important;border-color:#e2e8f0!important}.light-theme .quick-emoji-btn,[data-theme=light] .quick-emoji-btn{background:#ffffff!important;border-color:#cbd5e1!important}.light-theme .btn-cancel,.light-theme .order-btn,[data-theme=light] .btn-cancel,[data-theme=light] .order-btn{background:#f1f5f9!important;color:#475569!important;border-color:#cbd5e1!important}.light-theme .search-input,[data-theme=light] .search-input{background-color:#ffffff!important;color:#0f172a!important;border-color:#cbd5e1!important}*{box-sizing:border-box;padding:0;margin:0}html{font-size:13.5px;-webkit-text-size-adjust:100%}body{background-color:var(--bg-primary);color:var(--text-primary);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-height:100vh;display:flex;flex-direction:column}a{color:inherit;text-decoration:none}button{cursor:pointer;border:none;background:none;font-family:inherit}.glass-panel{background:var(--bg-panel);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid var(--glass-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-glass)}.layout-container{display:flex!important;flex-direction:row!important;height:100vh!important;width:100vw!important;max-width:100vw!important;overflow:hidden!important;background-color:var(--bg-primary);color:var(--text-primary)}@media (max-width:768px){.layout-container{flex-direction:column!important;height:auto!important;min-height:100vh!important;overflow-y:auto!important;overflow-x:hidden!important}}.thermal-print-wrapper,.ticket-print{display:none}@media print{@page{margin:0;size:auto}body,html{margin:0!important;padding:0!important;background:#fff!important;color:#000!important;font-family:Courier New,Courier,monospace!important;font-size:13px!important;line-height:1.25!important;font-weight:600!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;width:100%!important}body>:not(#pos-thermal-print){display:none!important;visibility:hidden!important;height:0!important;width:0!important;overflow:hidden!important;position:absolute!important;left:-9999px!important}#pos-thermal-print{width:100%!important;position:static!important;margin:0!important;padding:0!important;overflow:visible!important;box-shadow:none!important}#pos-thermal-print,.ticket-caja-print,.ticket-print{display:block!important;visibility:visible!important;background:#fff!important}.ticket-caja-print,.ticket-print{position:relative!important;margin:0 auto!important;color:#000!important;box-sizing:border-box!important;clear:both!important;float:none!important;page-break-inside:auto!important;break-inside:auto!important}.ticket-caja-print *,.ticket-print *{color:#000!important;background:transparent!important;visibility:visible!important;box-shadow:none!important;text-shadow:none!important}.ticket-caja-print svg,.ticket-print svg{shape-rendering:crispEdges!important}.ticket-caja-print table,.ticket-print table{display:table!important;width:100%!important;border-collapse:collapse!important}.ticket-caja-print thead,.ticket-print thead{display:table-header-group!important}.ticket-caja-print tbody,.ticket-print tbody{display:table-row-group!important}.ticket-caja-print tr,.ticket-print tr{display:table-row!important;page-break-inside:avoid!important;break-inside:avoid!important}.ticket-caja-print td,.ticket-caja-print th,.ticket-print td,.ticket-print th{display:table-cell!important}.ticket-caja-print.width-80mm,.ticket-print.width-80mm{width:78mm!important;max-width:78mm!important;padding:2mm 3mm!important;font-size:13px!important}.ticket-caja-print.width-58mm,.ticket-print.width-58mm{width:54mm!important;max-width:54mm!important;padding:1mm 2mm!important;font-size:11px!important;line-height:1.15!important}.ticket-print.ticket-page-break{page-break-after:always!important;break-after:page!important;clear:both!important}.ticket-caja-cut-spacer,.ticket-cut-spacer{display:block!important;height:5mm!important;clear:both!important}}#__next-build-watcher,[data-nextjs-dialog-overlay],nextjs-portal{display:none!important}@keyframes posSpin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes posSpinReverse{0%{transform:rotate(1turn)}to{transform:rotate(0deg)}}@keyframes posShimmer{0%{background-position:-200% 0}to{background-position:200% 0}}@keyframes posProgressSlide{0%{transform:translateX(-100%)}50%{transform:translateX(0)}to{transform:translateX(100%)}}@keyframes posFadeInUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.pos-skeleton{background:linear-gradient(90deg,rgba(30,41,59,.55) 25%,rgba(59,130,246,.16) 50%,rgba(30,41,59,.55) 75%);background-size:200% 100%;animation:posShimmer 1.6s ease-in-out infinite;border-radius:10px;border:1px solid rgba(255,255,255,.06)}.pos-skeleton-item{background:rgba(255,255,255,.08)}.pos-fade-in{animation:posFadeInUp .28s cubic-bezier(.16,1,.3,1) forwards}.dynamic-loader-progress-track{width:100%;height:3px;background-color:rgba(59,130,246,.15);border-radius:999px;overflow:hidden;margin-bottom:1.5rem}.dynamic-loader-progress-bar{width:60%;height:100%;background:linear-gradient(90deg,transparent,#3b82f6,#10b981,transparent);animation:posProgressSlide 1.3s ease-in-out infinite}.dynamic-loader-card{display:flex;align-items:center;gap:1.1rem;padding:1rem 1.4rem;margin-bottom:1.5rem;background:linear-gradient(135deg,rgba(30,41,59,.85),rgba(15,23,42,.9));border:1px solid rgba(59,130,246,.28);border-radius:14px;box-shadow:0 10px 30px -10px rgba(59,130,246,.25)}.dynamic-loader-orbital{position:relative;width:44px;height:44px;flex-shrink:0}.dynamic-loader-ring{position:absolute;border-radius:50%}.dynamic-loader-ring.dynamic-ring-1{inset:0;border-color:#3b82f6 #60a5fa rgba(59,130,246,.18) rgba(59,130,246,.18);border-style:solid;border-width:3px;animation:posSpin .85s linear infinite}.dynamic-loader-ring.dynamic-ring-2{inset:7px;border:2.5px solid rgba(16,185,129,.18);border-bottom-color:#10b981;animation:posSpinReverse 1.15s linear infinite}.dynamic-loader-icon{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:.9rem}.dynamic-loader-title{font-weight:700;font-size:.98rem;color:#f8fafc;letter-spacing:.2px}.dynamic-loader-subtitle{font-size:.82rem;color:#94a3b8;margin-top:2px}.light-theme .dynamic-loader-progress-track,[data-theme=light] .dynamic-loader-progress-track{background-color:#e2e8f0!important}.light-theme .dynamic-loader-card,[data-theme=light] .dynamic-loader-card{background:#ffffff!important;border:1px solid #e2e8f0!important;box-shadow:0 4px 20px rgba(0,0,0,.05)!important}.light-theme .dynamic-loader-title,[data-theme=light] .dynamic-loader-title{color:#0f172a!important}.light-theme .dynamic-loader-subtitle,[data-theme=light] .dynamic-loader-subtitle{color:#64748b!important}.light-theme .pos-skeleton,[data-theme=light] .pos-skeleton{background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%)!important;background-size:200% 100%!important;border:1px solid #e2e8f0!important}.light-theme .pos-skeleton-item,[data-theme=light] .pos-skeleton-item{background:#cbd5e1!important}*{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.2) transparent}::-webkit-scrollbar{width:4px;height:4px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:rgba(255,255,255,.2);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:rgba(59,130,246,.5)}@keyframes spinIcon{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.spin-icon{display:inline-block!important;animation:spinIcon .85s linear infinite!important;transform-origin:50% 50%!important}