@import "https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap";.form-label{margin-bottom:6px;font-size:14px;font-weight:600;display:block}.form-control{box-sizing:border-box;color:#1f2937;background:#fff;border:1px solid #d1d5db;border-radius:8px;outline:none;width:100%;padding:10px 12px}.form-control:focus{border-color:#0f4c81}.secondary-button{color:#fff;cursor:pointer;background:#0f4c81;border:none;border-radius:8px;padding:10px 16px;font-weight:600}.secondary-button:hover{opacity:.9}.alert-error{color:#991b1b;background:#fee2e2;border-radius:8px;margin-bottom:20px;padding:12px 16px}.app-layout{flex-direction:column;height:100vh;max-height:100vh;display:flex;overflow:hidden}.app-body{flex:1;height:calc(100vh - 64px);min-height:0;display:flex;overflow:hidden}.app-content{box-sizing:border-box;flex:1;height:100%;min-height:0;padding:14px 20px;overflow:hidden auto}.app-content::-webkit-scrollbar{width:8px}.app-content::-webkit-scrollbar-track{background:#f1f5f9}.app-content::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.app-content::-webkit-scrollbar-thumb:hover{background:#94a3b8}.navbar{color:#fff;z-index:1000;background:#0f4c81;justify-content:space-between;align-items:center;height:64px;padding:0 24px;display:flex;position:sticky;top:0;box-shadow:0 2px 8px #0000001a}.navbar-brand{align-items:center;gap:10px;display:flex}.navbar-brand-logo{object-fit:contain;background-color:#ffffff26;border-radius:6px;max-width:80px;height:36px;max-height:36px;padding:2px}.navbar-brand h2{white-space:nowrap;margin:0;font-size:20px;font-weight:700}.navbar-user{align-items:center;gap:16px;display:flex}.navbar-badges{align-items:center;gap:8px;display:flex}.server-env-badge{letter-spacing:.2px;border-radius:20px;align-items:center;gap:4px;padding:4px 10px;font-size:12px;font-weight:700;display:flex}.server-env-local{color:#15803d;background-color:#f0fdf4;border:1px solid #bbf7d0}.server-env-cloud{color:#0369a1;background-color:#f0f9ff;border:1px solid #bae6fd}.navbar-account{align-items:center;gap:12px;display:flex}.navbar-user-info{flex-direction:column;align-items:flex-end;display:flex}.navbar-user-info span{font-size:13px;font-weight:600}.navbar-user-info small{opacity:.85;font-size:11px}.logout-button{color:#0f4c81;cursor:pointer;white-space:nowrap;background:#fff;border:none;border-radius:6px;padding:7px 14px;font-size:13px;font-weight:600;transition:all .2s}.logout-button:hover{opacity:.9}.sidebar{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#e2e8f0 transparent;background:#fff;border-right:1px solid #e5e7eb;flex-direction:column;flex-shrink:0;width:230px;height:100%;max-height:100%;padding:10px 8px;transition:width .25s;display:flex;overflow:hidden auto}.sidebar::-webkit-scrollbar{width:4px}.sidebar::-webkit-scrollbar-track{background:0 0}.sidebar::-webkit-scrollbar-thumb{background:#e2e8f0;border-radius:4px}.sidebar::-webkit-scrollbar-thumb:hover{background:#cbd5e1}.sidebar.collapsed{width:60px;padding:10px 6px}.sidebar-toggle{color:#374151;cursor:pointer;background:#f3f4f6;border:none;border-radius:6px;width:100%;margin-bottom:8px;padding:6px;font-size:12px;font-weight:700;transition:all .2s}.sidebar-toggle:hover{color:#0f4c81;background:#eef4fa}.sidebar-nav{flex-direction:column;gap:3px;display:flex}.sidebar-link{color:#374151;white-space:nowrap;border-radius:8px;align-items:center;gap:11px;padding:9px 12px;font-size:15.5px;font-weight:500;line-height:1.25;text-decoration:none;transition:all .2s;display:flex;overflow:hidden}.sidebar-link:hover{color:#0f4c81;background:#eef4fa}.sidebar-link.active{color:#fff;background:#0f4c81;font-weight:600}.sidebar-icon{flex-shrink:0;font-size:19px}.sidebar.collapsed .sidebar-link{justify-content:center;padding:8px}.page-container{box-sizing:border-box;width:100%;max-width:100%}.page-title{margin-bottom:20px}.page-title h1{margin-bottom:5px;font-size:26px}.page-title p{color:#6b7280}.card{box-sizing:border-box;background:#fff;border-radius:10px;width:100%;min-width:0;max-width:100%;padding:20px;box-shadow:0 1px 4px #00000014}.navbar-notifications-overlay{display:none}.navbar-notifications-dropdown{z-index:99999;background-color:#fff;border:none;border-radius:16px;flex-direction:column;width:390px;max-width:calc(100vw - 24px);animation:.18s cubic-bezier(.16,1,.3,1) fadeIn;display:flex;position:absolute;top:calc(100% + 12px);right:-20px;overflow:hidden;box-shadow:0 20px 40px -10px #0f172a38,0 10px 18px -6px #0f172a1a,0 0 0 1px #e2e8f0e6}.navbar-notifications-arrow{z-index:100000;background-color:#fff;border-top:1px solid #e2e8f0;border-left:1px solid #e2e8f0;width:12px;height:12px;position:absolute;top:-6px;right:32px;transform:rotate(45deg)}@media (width<=768px){.navbar{grid-template-rows:auto auto;grid-template-columns:1fr auto;align-items:center;gap:6px 8px;height:auto;padding:8px 12px;display:grid}.navbar-brand{grid-area:1/1/2/2;align-items:center;gap:8px;min-width:0;display:flex}.navbar-brand h2{white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:16px;overflow:hidden}.navbar-brand-logo{flex-shrink:0;max-width:60px;height:28px;max-height:28px}.navbar-user{display:contents}.navbar-badges{flex-wrap:nowrap;grid-area:1/2/2/3;justify-content:flex-end;align-items:center;gap:5px;display:flex}.server-env-badge{white-space:nowrap;padding:2px 7px;font-size:10.5px}.network-status-badge{white-space:nowrap!important;gap:5px!important;padding:2px 8px!important;font-size:11px!important}.navbar-account{border-top:1px solid #ffffff1f;grid-area:2/1/2/3;justify-content:space-between;align-items:center;gap:10px;width:100%;padding-top:5px;display:flex}.navbar-user-info{flex-direction:column;flex:1;align-items:flex-start;min-width:0;display:flex}.navbar-user-info span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:12px;font-weight:700;line-height:1.2;overflow:hidden}.navbar-user-info small{opacity:.85;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:10px;line-height:1.2;overflow:hidden}.logout-button{white-space:nowrap;border-radius:6px;flex-shrink:0;padding:4px 10px;font-size:11px;font-weight:600}.app-layout{height:auto;min-height:100vh;max-height:none;overflow:visible}.app-body{flex-direction:column;height:auto;overflow:visible}.app-content{height:auto;padding:12px 10px;overflow-y:visible}.card{padding:14px 12px}.sidebar,.sidebar.collapsed{z-index:99;background:#fff;border-bottom:1px solid #e5e7eb;border-right:none;width:100%;height:auto;max-height:none;padding:6px 8px;transition:none;position:sticky;top:64px;overflow-y:visible;box-shadow:0 1px 4px #0000000d}.sidebar-toggle{display:none}.sidebar-nav{-webkit-overflow-scrolling:touch;scrollbar-width:none;flex-direction:row;gap:4px;padding-bottom:2px;overflow-x:auto}.sidebar-nav::-webkit-scrollbar{display:none}.sidebar-link{text-align:center;white-space:nowrap;border-radius:8px;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;gap:2px;min-width:58px;padding:6px 10px;font-size:10px}.sidebar.collapsed .sidebar-link{justify-content:center;padding:6px 10px}.sidebar-icon{font-size:18px}.sidebar .sidebar-label{font-size:10px;font-weight:600;display:inline-block!important}.page-header{flex-direction:column;gap:10px;align-items:flex-start!important}.page-header>button,.page-header>a{justify-content:center;width:100%}.navbar-notifications-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:99998;background-color:#0f172a73;display:block;position:fixed;inset:0}.navbar-notifications-dropdown{z-index:99999!important;border-radius:16px!important;width:auto!important;max-width:calc(100vw - 20px)!important;max-height:calc(100vh - 80px)!important;position:fixed!important;top:60px!important;left:10px!important;right:10px!important;box-shadow:0 25px 50px -12px #00000059!important}.navbar-notifications-arrow{display:none!important}}.login-page{background:linear-gradient(135deg,#0f4c81 0%,#1a6bb5 50%,#0d3d6e 100%);justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.login-card{background:#fff;border-radius:18px;width:100%;max-width:420px;padding:26px 30px;animation:.4s loginFadeIn;box-shadow:0 24px 60px #00000040,0 8px 20px #0000001f}@keyframes loginFadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.login-header{text-align:center;margin-bottom:18px}.login-logo{color:#fff;background:#0f4c81;border-radius:14px;justify-content:center;align-items:center;width:50px;height:50px;margin-bottom:8px;font-size:24px;font-weight:800;display:inline-flex;box-shadow:0 6px 18px #0f4c8166}.login-header h1{color:#111827;margin-bottom:4px;font-size:22px;font-weight:800}.login-header p{color:#6b7280;font-size:13px}.login-form{flex-direction:column;gap:12px;display:flex}.login-field{flex-direction:column;gap:6px;display:flex}.login-label{color:#374151;font-size:13px;font-weight:600}.login-input{color:#111827;background:#f9fafb;border:1.5px solid #e5e7eb;border-radius:10px;outline:none;width:100%;padding:12px 14px;font-size:15px;transition:border-color .2s,background .2s,box-shadow .2s}.login-input:focus{background:#fff;border-color:#0f4c81;box-shadow:0 0 0 3px #0f4c811f}.login-input::placeholder{color:#9ca3af}.password-input-wrapper{align-items:center;width:100%;display:flex;position:relative}.password-input-wrapper .login-input{padding-right:44px}.password-toggle-btn{cursor:pointer;color:#6b7280;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:6px;transition:color .2s,background-color .2s;display:flex;position:absolute;right:10px}.password-toggle-btn:hover{color:#111827;background-color:#0000000d}.login-error{color:#dc2626;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;align-items:center;gap:8px;padding:12px 14px;font-size:13px;font-weight:500;display:flex}.login-button{color:#fff;cursor:pointer;background:#0f4c81;border:none;border-radius:10px;width:100%;margin-top:4px;padding:14px;font-size:15px;font-weight:700;transition:background .2s,transform .15s,box-shadow .2s;box-shadow:0 4px 14px #0f4c8159}.login-button:hover:not(:disabled){background:#0d3d6e;transform:translateY(-1px);box-shadow:0 6px 20px #0f4c8173}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{opacity:.65;cursor:not-allowed}.login-footer{text-align:center;color:#9ca3af;margin-top:24px;font-size:12px}@media (width<=480px){.login-card{padding:30px 22px}.login-header h1{font-size:22px}}.login-card-wide{max-width:480px;padding:20px 26px}.login-mode-switch{border-bottom:1px solid #e5e7eb;justify-content:center;margin-bottom:14px;padding-bottom:8px;display:flex}.login-mode-btn{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:8px;padding:6px 14px;font-size:13px;font-weight:700;transition:all .2s}.login-mode-btn.active{color:#0f4c81;background:#eff6ff}.wizard-steps-container{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex;position:relative}.wizard-step-item{z-index:2;cursor:pointer;flex-direction:column;align-items:center;gap:3px;display:flex;position:relative}.wizard-step-circle{color:#6b7280;background:#f3f4f6;border:2px solid #e5e7eb;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;font-size:13px;font-weight:700;transition:all .2s;display:flex}.wizard-step-item.active .wizard-step-circle{color:#fff;background:#0f4c81;border-color:#0f4c81;box-shadow:0 3px 8px #0f4c814d}.wizard-step-item.completed .wizard-step-circle{color:#fff;background:#16a34a;border-color:#16a34a}.wizard-step-label{color:#6b7280;text-align:center;font-size:11px;font-weight:600}.wizard-step-item.active .wizard-step-label{color:#0f4c81;font-weight:700}.wizard-step-line{background:#e5e7eb;flex:1;height:2px;margin:0 8px;position:relative;top:-8px}.wizard-step-line.completed{background:#16a34a}.wizard-info-badge{color:#0369a1;background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;align-items:center;gap:8px;margin-bottom:12px;padding:8px 12px;font-size:12px;display:flex}.wizard-btn-row{gap:10px;margin-top:8px;display:flex}.login-btn-secondary{color:#374151;cursor:pointer;background:#f3f4f6;border:none;border-radius:10px;flex:1;padding:10px;font-size:13px;font-weight:600;transition:background .2s}.login-btn-secondary:hover{background:#e5e7eb}.login-switch-link{text-align:center;color:#0f4c81;cursor:pointer;margin-top:12px;font-size:12px;font-weight:600;text-decoration:none;display:block}.login-switch-link:hover{text-decoration:underline}.logout-overlay{z-index:9000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a8c;justify-content:center;align-items:center;padding:20px;animation:.2s overlayFadeIn;display:flex;position:fixed;inset:0;overflow-y:auto}@keyframes overlayFadeIn{0%{opacity:0}to{opacity:1}}.logout-modal{text-align:center;background:#fff;border-radius:18px;width:100%;max-width:380px;padding:36px 32px;animation:.25s modalSlideIn;box-shadow:0 24px 60px #0003,0 8px 20px #0000001a}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(16px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.logout-modal-icon{margin-bottom:16px;font-size:48px}.logout-modal-title{color:#111827;margin-bottom:10px;font-size:22px;font-weight:800}.logout-modal-message{color:#6b7280;margin-bottom:28px;font-size:14px;line-height:1.6}.logout-modal-actions{gap:12px;display:flex}.logout-cancel-btn{color:#374151;cursor:pointer;background:#fff;border:1.5px solid #e5e7eb;border-radius:10px;flex:1;padding:12px;font-size:14px;font-weight:600;transition:all .2s}.logout-cancel-btn:hover{background:#f3f4f6;border-color:#d1d5db}.logout-confirm-btn{color:#fff;cursor:pointer;background:#dc2626;border:none;border-radius:10px;flex:1;padding:12px;font-size:14px;font-weight:700;transition:all .2s;box-shadow:0 4px 12px #dc26264d}.logout-confirm-btn:hover{background:#b91c1c;transform:translateY(-1px);box-shadow:0 6px 16px #dc262666}@media (width<=420px){.logout-modal{padding:28px 20px}.logout-modal-actions{flex-direction:column}}.cashier-layout{box-sizing:border-box;grid-template-columns:minmax(0,1fr) 450px;align-items:start;gap:16px;width:100%;max-width:100%;display:grid}@media (width>=1680px){.cashier-layout{grid-template-columns:minmax(0,1fr) 480px;gap:20px}}.cashier-catalog{box-sizing:border-box;flex-direction:column;gap:10px;width:100%;min-width:0;max-width:100%;display:flex}.cashier-catalog>.card{padding:12px 14px}.cashier-cart.card{border-radius:12px;padding:16px 18px;box-shadow:0 4px 18px -2px #0f172a14}.cashier-categories{-webkit-overflow-scrolling:touch;box-sizing:border-box;gap:8px;width:100%;max-width:100%;padding-bottom:4px;display:flex;overflow-x:auto}.cashier-category{color:#374151;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #dbe3ea;border-radius:16px;flex-shrink:0;padding:6px 14px;font-size:13px;font-weight:600}.cashier-category:hover{color:#0f4c81;background:#eef4fa}.cashier-category.active{color:#fff;background:#0f4c81;border-color:#0f4c81}.cashier-products{box-sizing:border-box;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;width:100%;max-width:100%;display:grid}.cashier-product{cursor:pointer;text-align:left;box-sizing:border-box;isolation:isolate;background:#fff;border:1px solid #e5e7eb;border-radius:9px;flex-direction:column;justify-content:space-between;gap:6px;min-height:92px;padding:10px 12px;transition:all .15s;display:flex}.cashier-product:hover{border-color:#0f4c81;transform:translateY(-2px);box-shadow:0 4px 12px #00000014}.cashier-product strong{color:#0f172a;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-size:13.5px;line-height:1.25;display:-webkit-box;overflow:hidden}.cashier-product span{color:#6b7280;font-size:11.5px}.cashier-product b{color:#0f4c81;font-size:15px;font-weight:800}.cashier-catalog .catalog-search-bar-container{gap:8px;margin-bottom:8px}.cashier-catalog .catalog-search-input{height:38px;padding:6px 32px;font-size:13px}.cashier-catalog .catalog-search-bar-left{flex:0 0 175px;width:175px;min-width:140px}.cashier-catalog .select-dropdown-trigger{height:38px;min-height:38px;padding:6px 10px;font-size:13px}.cashier-catalog .view-mode-toggle{height:38px}.cashier-catalog .view-btn{height:32px;padding:0 10px;font-size:12px}.cashier-header-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.cashier-search-wrapper{flex:1;align-items:center;min-width:220px;display:flex;position:relative}.cashier-search-wrapper .search-icon{color:#9ca3af;pointer-events:none;font-size:14px;position:absolute;left:12px}.cashier-search-input{box-sizing:border-box;background:#f9fafb;border:1.5px solid #d1d5db;border-radius:10px;outline:none;width:100%;padding:9px 36px;font-size:14px;transition:all .2s}.cashier-search-input:focus{background:#fff;border-color:#0f4c81;box-shadow:0 0 0 3px #0f4c811f}.clear-search-btn{color:#9ca3af;cursor:pointer;background:0 0;border:none;padding:2px 6px;font-size:14px;position:absolute;right:10px}.clear-search-btn:hover{color:#374151}.view-mode-toggle{background:#f3f4f6;border-radius:10px;gap:2px;padding:3px;display:flex}.view-btn{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:8px;padding:7px 12px;font-size:13px;font-weight:600;transition:all .2s}.cashier-products-scroll-container{max-height:calc(100vh - 165px);padding-right:4px;overflow-y:auto}.cashier-products-scroll-container::-webkit-scrollbar{width:6px}.cashier-products-scroll-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.cashier-products-list{width:100%}.cashier-table{border-collapse:collapse;width:100%}.cashier-table th{text-align:left;color:#6b7280;text-transform:uppercase;border-bottom:2px solid #e5e7eb;padding:10px 12px;font-size:12px;font-weight:700}.cashier-table-row{cursor:pointer;border-bottom:1px solid #f3f4f6;transition:background .15s}.cashier-table-row:hover{background:#f0f9ff}.cashier-table-row td{color:#374151;padding:10px 12px;font-size:14px}.product-name-cell strong{color:#111827}.product-desc-cell{color:#6b7280;white-space:nowrap;text-overflow:ellipsis;max-width:250px;font-size:13px;overflow:hidden}.product-price-cell{color:#0f4c81;font-weight:700}.btn-add-table{color:#0f4c81;cursor:pointer;white-space:nowrap;box-sizing:border-box;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;gap:3px;height:25px;padding:2px 8px;font-size:11px;font-weight:700;transition:all .15s;display:inline-flex}.btn-add-table:hover{color:#fff;background:#0f4c81}.btn-view-table{color:#475569;cursor:pointer;white-space:nowrap;box-sizing:border-box;background:#f8fafc;border:1px solid #cbd5e1;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;gap:3px;height:25px;padding:2px 7px;font-size:11px;font-weight:700;transition:all .15s;display:inline-flex}.btn-view-table:hover{color:#0f172a;background:#e2e8f0;border-color:#94a3b8}.cashier-cart{box-sizing:border-box;flex-direction:column;align-self:flex-start;width:100%;min-width:0;max-width:100%;max-height:calc(100vh - 20px);display:flex;position:sticky;top:10px}.cashier-cart-items{flex:1;min-height:70px;max-height:calc(100vh - 240px);overflow-y:auto}.cashier-cart-items .empty-state{text-align:center;color:#94a3b8;padding:30px 12px;font-size:13.5px}.cashier-cart-item{border-bottom:1px solid #f1f5f9;flex-direction:column;gap:2px;padding:6px 0;display:flex}.cart-item-header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.cart-item-title{color:#0f172a;word-break:break-word;flex:1;min-width:0;font-size:12.5px;font-weight:700;line-height:1.25}.cart-item-remove-btn{color:#b91c1c;cursor:pointer;background:#fee2e2;border:none;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:22px;min-width:22px;height:22px;padding:0;font-size:12px;font-weight:700;line-height:1;transition:all .15s;display:inline-flex}.cart-item-remove-btn:hover{color:#7f1d1d;background:#fca5a5;transform:scale(1.05)}.cart-item-meta-row{justify-content:space-between;align-items:center;gap:6px;margin-top:1px;display:flex}.cart-item-meta-left{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.cart-item-qty-badge{color:#0369a1;letter-spacing:-.2px;background:#f0f9ff;border:1px solid #bae6fd;border-radius:4px;align-items:center;padding:1px 6px;font-size:11px;font-weight:700;display:inline-flex}.cart-item-unit-price{color:#64748b;font-size:11px;font-weight:500}.cart-item-tag{border-radius:4px;padding:1px 5px;font-size:10px;font-weight:700}.cart-item-tag-tier{color:#1e40af;background:#dbeafe}.cart-item-tag-discount{color:#15803d;background:#dcfce7}.cart-item-subtotal{color:#0f4c81;white-space:nowrap;letter-spacing:-.2px;margin-left:auto;font-size:13px;font-weight:800}.cart-options{color:#64748b;margin:2px 0 0 8px;padding:0;font-size:11px;line-height:1.25;list-style:none}.cart-notes{color:#64748b;margin:2px 0 0;font-size:11px;font-style:italic;line-height:1.25}.cashier-payment{border-top:1px solid #e2e8f0;flex-direction:column;gap:6px;margin-top:8px;padding-top:8px;display:flex}.cashier-payment .form-group{flex-direction:column;gap:2px;margin-bottom:0;display:flex}.cashier-payment .form-label{color:#334155;margin-bottom:0;font-size:12px;font-weight:700}.cashier-payment .select-dropdown-trigger{border-radius:7px;height:36px;min-height:36px;padding:4px 10px;font-size:13px}.cashier-payment .form-control{border-radius:7px;height:36px;padding:4px 10px;font-size:13px}.cashier-total{justify-content:space-between;align-items:baseline;padding-bottom:2px;display:flex}.cashier-total span{color:#334155;letter-spacing:-.2px;font-size:15px;font-weight:800}.cashier-total strong{color:#0f4c81;letter-spacing:-.5px;font-size:26px;font-weight:900}.cashier-change{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:7px;justify-content:space-between;align-items:center;padding:6px 10px;font-size:13px;font-weight:600;display:flex}.checkout-button{color:#fff;cursor:pointer;letter-spacing:.2px;background:#0f4c81;border:none;border-radius:8px;padding:9px 16px;font-size:15px;font-weight:800;transition:all .15s;box-shadow:0 3px 8px #0f4c8138}.checkout-button:hover{background:#0c3d68;transform:translateY(-1px);box-shadow:0 6px 16px #0f4c8152}.checkout-button:active{transform:translateY(0)}.checkout-button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none;transform:none}.modal-overlay{z-index:3000;background:#0f172a8c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal-card{background:#fff;border-radius:14px;flex-direction:column;width:min(720px,100%);max-height:90vh;display:flex;overflow:hidden;box-shadow:0 20px 50px #0003}.modal-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;gap:20px;padding:20px;display:flex}.modal-body{padding:20px;overflow-y:auto}.modal-footer{border-top:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:20px;padding:18px 20px;display:flex}.modal-total{flex-direction:column;display:flex}.modal-total strong{color:#0f4c81;font-size:24px}.modal-actions{gap:10px;display:flex}.product-options-modal-card{width:min(600px,95vw);max-height:85vh}.product-options-modal-card .product-options-modal-header{border-bottom:1px solid #e5e7eb;padding:12px 16px}.product-options-modal-card .product-options-modal-body{gap:12px;padding:14px 16px}.product-options-modal-card .product-options-modal-footer{border-top:1px solid #e5e7eb;padding:10px 16px}.cashier-option-group{border-bottom:1px solid #f1f5f9;margin-bottom:12px;padding:0 0 12px}.cashier-option-group:last-of-type{margin-bottom:10px}.cashier-option-group-header{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:8px;display:flex}.option-rules{flex-wrap:wrap;gap:4px;margin-top:2px;display:flex}.option-rules span{color:#0f4c81;background:#eef4fa;border-radius:12px;padding:2px 6px;font-size:10.5px;font-weight:600}.cashier-options-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px;display:grid}.cashier-option{cursor:pointer;text-align:left;background:#fff;border:1.5px solid #d1d5db;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:7px 10px;transition:all .15s ease-in-out;display:flex}.cashier-option:hover{background:#f8fafc;border-color:#0f4c81}.cashier-option.selected{color:#0f4c81;background:#eff6ff;border:1.5px solid #0f4c81;font-weight:600;box-shadow:0 1px 4px #0f4c811f}.option-name-wrapper{color:#1e293b;align-items:center;gap:7px;font-size:13px;display:flex}.option-check-badge{color:#0000;background:#fff;border:1.5px solid #cbd5e1;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:17px;height:17px;font-size:10px;font-weight:800;transition:all .15s;display:inline-flex}.option-check-badge.checked{color:#fff;background:#0f4c81;border-color:#0f4c81}.cashier-option strong{color:#475569;font-size:12px;font-weight:700}.cashier-option.selected strong{color:#0f4c81;background:#dbeafe;border-radius:4px;padding:2px 6px;font-size:12px}.cashier-product-extra{border-top:1px dashed #e2e8f0;flex-wrap:wrap;align-items:flex-end;gap:12px;padding-top:10px;display:flex}.quantity-stepper-container{box-sizing:border-box;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;align-items:center;width:fit-content;height:36px;padding:2px;display:inline-flex}.quantity-btn-minus,.quantity-btn-plus{color:#111827;cursor:pointer;-webkit-user-select:none;user-select:none;background:#fff;border:none;border-radius:6px;justify-content:center;align-items:center;width:30px;height:30px;font-size:17px;font-weight:700;transition:all .15s;display:flex;box-shadow:0 1px 2px #00000014}.quantity-btn-plus{color:#fff;background:#0f4c81;box-shadow:0 2px 4px #0f4c8133}.quantity-btn-minus:hover:not(:disabled){background:#e2e8f0}.quantity-btn-plus:hover:not(:disabled){background:#0b3c67}.quantity-btn-minus:disabled{opacity:.35;cursor:not-allowed;box-shadow:none;background:#f3f4f6}.quantity-value-input{text-align:center;color:#111827;-webkit-appearance:none;appearance:textfield;background:0 0;border:none;outline:none;width:44px;height:30px;font-size:15px;font-weight:800}.quantity-value-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.quantity-value-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}@media (width<=1024px){.cashier-layout{grid-template-columns:1fr}.cashier-cart{width:100%;position:static}}@media (width<=650px){.cashier-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cashier-product{min-height:110px;padding:12px}.cashier-product strong{font-size:14px}.cashier-product b{font-size:16px}.cashier-options-grid{grid-template-columns:1fr}.modal-footer{flex-direction:column;align-items:stretch}.modal-actions{flex-direction:column}.modal-actions button{width:100%}}@media (width<=400px){.cashier-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cashier-product{padding:10px 8px}}.ready-order-notifications-container{z-index:99999;pointer-events:none;flex-direction:column;gap:10px;width:calc(100vw - 48px);max-width:380px;display:flex;position:fixed;top:76px;right:24px}.ready-order-toast{pointer-events:auto;background:#fff;border:1px solid #e2e8f0;border-left:5px solid #10b981;border-radius:10px;align-items:center;gap:12px;padding:12px 14px;animation:.35s cubic-bezier(.16,1,.3,1) forwards slideInNotification;display:flex;box-shadow:0 10px 25px -5px #0000002e,0 8px 10px -6px #0000001a}@keyframes slideInNotification{0%{opacity:0;transform:translate(110%)}to{opacity:1;transform:translate(0)}}.ready-order-toast-icon{color:#059669;background:#ecfdf5;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:20px;animation:2s infinite pulseReadyIcon;display:flex}@keyframes pulseReadyIcon{0%{box-shadow:0 0 #10b98180}70%{box-shadow:0 0 0 10px #10b98100}to{box-shadow:0 0 #10b98100}}.ready-order-toast-body{flex:1;min-width:0}.ready-order-toast-title{color:#065f46;align-items:center;gap:6px;margin-bottom:2px;font-size:13px;font-weight:700;display:flex}.ready-order-toast-desc{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:700;overflow:hidden}.ready-order-toast-meta{color:#64748b;margin-top:2px;font-size:11px}.ready-order-toast-close{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:4px;font-size:16px;font-weight:700;line-height:1;transition:all .15s;display:flex}.ready-order-toast-close:hover{color:#475569;background:#f1f5f9}.voucher-mode-tabs{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;gap:3px;margin-bottom:0;padding:2px;display:flex}.voucher-mode-tab{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:6px;flex:1;justify-content:center;align-items:center;gap:4px;padding:5px 8px;font-size:12px;font-weight:700;transition:all .2s;display:flex}.voucher-mode-tab:hover{color:#0f172a}.voucher-mode-tab.active{color:#0f4c81;background:#fff;box-shadow:0 1px 3px #0000001a}.voucher-fiscal-card{background:#f8fafc;border:1px solid #cbd5e1;border-radius:7px;flex-direction:column;gap:3px;margin-bottom:0;padding:8px 10px;display:flex}.voucher-fiscal-card.ready{background:#f0fdf4;border-color:#86efac}.voucher-fiscal-card.warning{background:#fffbeb;border-color:#fde68a}.voucher-credit-card{border-radius:7px;flex-direction:column;gap:3px;margin-bottom:0;padding:6px 9px;display:flex}.voucher-credit-card.success{background:#f0fdf4;border:1px solid #86efac}.voucher-credit-card.warning{background:#fffbeb;border:1px solid #fde68a}.voucher-credit-card.error{background:#fef2f2;border:1px solid #fecaca}.payment-mode-tabs{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;gap:3px;margin-bottom:0;padding:2px;display:flex}.payment-mode-tab{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:6px;flex:1;justify-content:center;align-items:center;gap:4px;padding:5px 8px;font-size:12px;font-weight:700;transition:all .2s;display:flex}.payment-mode-tab:hover{color:#0f172a}.payment-mode-tab.active{color:#0f4c81;background:#fff;font-weight:800;box-shadow:0 1px 3px #0000001a}.mixed-sidebar-box{background:#f8fafc;border:1.5px dashed #cbd5e1;border-radius:7px;flex-direction:column;gap:4px;padding:6px 8px;display:flex}.mixed-sidebar-banner{text-align:center;flex-direction:column;align-items:center;gap:1px;padding:1px 0;display:flex}.mixed-sidebar-icon{font-size:18px}.mixed-sidebar-info strong{color:#0f172a;font-size:12px;display:block}.mixed-sidebar-info span{color:#64748b;font-size:10.5px}.btn-open-mixed-modal{color:#fff;cursor:pointer;background:#0284c7;border:none;border-radius:6px;justify-content:center;align-items:center;gap:5px;width:100%;padding:6px 10px;font-size:11.5px;font-weight:700;transition:all .2s;display:flex;box-shadow:0 2px 4px #0284c733}.btn-open-mixed-modal:hover{background:#0369a1}.mixed-sidebar-summary{background:#fff;border:1px solid #e2e8f0;border-radius:7px;flex-direction:column;gap:4px;padding:5px 8px;display:flex}.mixed-sidebar-header{color:#0f4c81;border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding-bottom:3px;font-size:12px;display:flex}.btn-edit-mixed{color:#0284c7;cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:5px;padding:2px 6px;font-size:10.5px;font-weight:700}.btn-edit-mixed:hover{background:#e0f2fe;border-color:#38bdf8}.mixed-sidebar-items{flex-direction:column;gap:2px;font-size:11.5px;display:flex}.mixed-sidebar-item{color:#334155;justify-content:space-between;align-items:center;display:flex}.mixed-sidebar-change{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:6px;justify-content:space-between;align-items:center;margin-top:4px;padding:6px 8px;font-size:11px;font-weight:700;display:flex}.mixed-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;background:#0f172aa6;justify-content:center;align-items:center;padding:16px;animation:.2s fadeIn;display:flex;position:fixed;inset:0}.mixed-modal-dialog{box-sizing:border-box;background:#fff;border-radius:20px;flex-direction:column;width:100%;max-width:460px;max-height:90vh;display:flex;overflow:hidden;box-shadow:0 25px 50px -12px #00000040}.mixed-modal-header{border-bottom:1.5px solid #f1f5f9;justify-content:space-between;align-items:flex-start;padding:18px 22px 14px;display:flex}.mixed-modal-title-wrap{flex-direction:column;gap:2px;display:flex}.mixed-modal-title{color:#0284c7;margin:0;font-size:19px;font-weight:800}.mixed-modal-subtitle{color:#64748b;font-size:12px}.mixed-modal-close{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:4px;font-size:20px;line-height:1;transition:all .15s}.mixed-modal-close:hover{color:#0f172a;background:#f1f5f9}.mixed-modal-body{flex-direction:column;gap:14px;padding:18px 22px;display:flex;overflow-y:auto}.mixed-limit-card{background:#f0f9ff;border:1.5px solid #bae6fd;border-radius:12px;align-items:center;gap:12px;padding:12px 16px;display:flex}.mixed-limit-icon{font-size:24px;line-height:1}.mixed-limit-content{flex-direction:column;flex:1;display:flex}.mixed-limit-label{color:#0369a1;text-transform:uppercase;letter-spacing:.3px;font-size:11px;font-weight:700}.mixed-limit-value{color:#0284c7;font-size:22px;font-weight:800}.mixed-limit-stat{flex-direction:column;align-items:flex-end;display:flex}.mixed-stat-label{color:#64748b;font-size:10px;font-weight:600}.mixed-stat-value{font-size:15px;font-weight:800}.mixed-stat-value.matched{color:#16a34a}.mixed-stat-value.under{color:#d97706}.mixed-stat-value.over{color:#dc2626}.mixed-methods-container{flex-direction:column;gap:10px;display:flex}.mixed-method-card{background:#fff;border:1.5px solid #e2e8f0;border-radius:12px;transition:all .2s;overflow:hidden}.mixed-method-card.active{background:#fafcff;border-color:#38bdf8;box-shadow:0 2px 6px #0284c70f}.mixed-method-header{cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.mixed-method-header:hover{background:#f8fafc}.mixed-method-card.active .mixed-method-header{background:#f0f9ff;border-bottom:1px dashed #bae6fd}.mixed-method-name-wrap{align-items:center;gap:10px;display:flex}.mixed-method-icon{font-size:18px}.mixed-method-name{color:#1e293b;font-size:14px;font-weight:700}.mixed-checkbox{cursor:pointer;accent-color:#0284c7;width:20px;height:20px}.mixed-method-content{flex-direction:column;gap:10px;padding:12px 14px;display:flex}.mixed-payment-row-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;gap:6px;padding:10px;display:flex}.mixed-input-wrapper{align-items:center;gap:6px;display:flex;position:relative}.mixed-currency-prefix{color:#16a34a;pointer-events:none;font-size:16px;font-weight:800;position:absolute;left:12px}.mixed-amount-input{color:#0f172a;box-sizing:border-box;border:1.5px solid #cbd5e1;border-radius:8px;flex:1;padding:9px 10px 9px 28px;font-size:14px;font-weight:700;transition:all .15s}.mixed-amount-input:focus{border-color:#0284c7;outline:none;box-shadow:0 0 0 2px #0284c726}.btn-calc-autofill{color:#fff;cursor:pointer;white-space:nowrap;background:#0284c7;border:none;border-radius:6px;padding:7px 10px;font-size:11px;font-weight:700;transition:all .15s}.btn-calc-autofill:hover{background:#0369a1}.btn-remove-payment-line{color:#ef4444;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px;font-size:14px;font-weight:700}.btn-remove-payment-line:hover{background:#fee2e2}.mixed-subtext-row{color:#64748b;justify-content:space-between;font-size:11px;display:flex}.btn-add-same-method{color:#16a34a;cursor:pointer;background:0 0;border:none;align-items:center;gap:6px;width:fit-content;padding:4px 0;font-size:12px;font-weight:700;display:flex}.btn-add-same-method:hover{text-decoration:underline}.mixed-cash-subbox{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;flex-direction:column;gap:6px;margin-top:4px;padding:8px 10px;display:flex}.mixed-cash-subbox-header{color:#166534;justify-content:space-between;align-items:center;font-size:11px;font-weight:600;display:flex}.mixed-cash-change-badge{color:#15803d;background:#dcfce7;border-radius:4px;padding:2px 6px;font-weight:700}.mixed-modal-status-banner{border-radius:10px;flex-direction:column;gap:4px;padding:10px 14px;font-size:12px;display:flex}.mixed-modal-status-banner.matched{color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0}.mixed-modal-status-banner.under{color:#92400e;background:#fffbeb;border:1px solid #fde68a}.mixed-modal-status-banner.over{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.mixed-status-row{justify-content:space-between;align-items:center;display:flex}.mixed-status-row.main{padding-top:4px;font-size:13px;font-weight:800}.mixed-status-divider{opacity:.4;border-top:1px dashed;margin:2px 0}.mixed-status-change-row{color:#166534;background:#dcfce7;border-radius:6px;justify-content:space-between;align-items:center;margin-top:4px;padding:6px 10px;font-weight:800;display:flex}.mixed-modal-footer{background:#f8fafc;border-top:1.5px solid #f1f5f9;justify-content:flex-end;align-items:center;gap:8px;padding:14px 22px;display:flex}.mixed-btn-save{color:#0284c7;cursor:pointer;background:#fff;border:1.5px solid #0284c7;border-radius:8px;padding:10px 14px;font-size:13px;font-weight:700;transition:all .2s}.mixed-btn-save:hover:not(:disabled){background:#f0f9ff}.mixed-btn-save:disabled{opacity:.5;cursor:not-allowed}.mixed-btn-checkout{color:#fff;cursor:pointer;background:#0284c7;border:none;border-radius:8px;padding:10px 16px;font-size:13px;font-weight:700;transition:all .2s;box-shadow:0 2px 4px #0284c733}.mixed-btn-checkout:hover:not(:disabled){background:#0369a1}.mixed-btn-checkout:disabled{opacity:.5;cursor:not-allowed}.users-layout{grid-template-columns:minmax(300px,380px) minmax(0,1fr);align-items:start;gap:20px;display:grid}.user-form{flex-direction:column;gap:15px;display:flex}.form-group{width:100%}.checkbox-row{cursor:pointer;align-items:center;gap:8px;font-size:14px;font-weight:600;display:flex}.checkbox-row input{width:16px;height:16px}.user-form-actions{gap:10px;margin-top:5px;display:flex}.cancel-button{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:10px 16px;font-weight:600}.cancel-button:hover{background:#f3f4f6}.table-actions{flex-wrap:wrap;gap:7px;display:flex}.edit-button,.delete-button{cursor:pointer;border:none;border-radius:6px;padding:7px 10px;font-size:13px;font-weight:600}.edit-button{color:#075985;background:#e0f2fe}.edit-button:hover{background:#bae6fd}.delete-button{color:#991b1b;background:#fee2e2}.delete-button:hover{background:#fecaca}.status-badge{border-radius:20px;padding:5px 9px;font-size:12px;font-weight:700;display:inline-block}.status-badge.active{color:#166534;background:#dcfce7}.status-badge.inactive{color:#6b7280;background:#f3f4f6}.alert-success{color:#166534;background:#dcfce7;border-radius:8px;margin-bottom:20px;padding:12px 16px}@media (width<=1024px){.users-layout{grid-template-columns:1fr;gap:16px}}@media (width<=640px){.user-form-actions{flex-direction:column;gap:8px}.user-form-actions button{width:100%}.table-actions{flex-direction:column;gap:4px}.table-actions button{width:100%}}.inventory-summary{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:0;display:flex}.summary-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex-direction:column;justify-content:center;gap:1px;min-width:76px;padding:3px 10px;display:flex;box-shadow:0 1px 3px #0000000d}.summary-card span{color:#6b7280;text-transform:uppercase;letter-spacing:.3px;white-space:nowrap;font-size:9.5px;font-weight:700}.summary-card strong{color:#0f4c81;font-size:16px;font-weight:800;line-height:1.1}.inventory-actions{justify-content:flex-end;margin-bottom:12px;display:flex}.inventory-tabs{gap:6px;margin-bottom:12px;display:flex;overflow-x:auto}.inventory-tab{color:#374151;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:6px 14px;font-size:13px;font-weight:600;box-shadow:0 1px 3px #0000000f}.inventory-tab:hover{color:#0f4c81;background:#eef4fa}.inventory-tab.active{color:#fff;background:#0f4c81;border-color:#0f4c81}.inventory-page-card{border-radius:10px!important;padding:14px 16px!important}.table-wrapper{width:100%;overflow-x:auto}.data-table{border-collapse:collapse;width:100%;min-width:700px}.data-table th{color:#374151;text-align:left;white-space:nowrap;background:#f8fafc;border-bottom:1.5px solid #e5e7eb;padding:8px 10px;font-size:12px;font-weight:700}.data-table td{border-bottom:1px solid #e5e7eb;padding:6px 10px;font-size:13px}.data-table tbody tr:hover{background:#f9fafb}@media (width<=1024px){.inventory-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.section-header{justify-content:space-between;align-items:center;gap:12px;width:100%;display:flex;margin-bottom:10px!important}.section-header button.secondary-button{align-items:center;height:32px;padding:0 12px;font-size:12.5px;display:inline-flex}.section-header h2{color:#111827;margin:0 0 2px;font-size:16px;font-weight:700}.section-header p{color:#6b7280;margin:0;font-size:12px}@media (width<=640px){.section-header{text-align:left;flex-direction:column;align-items:flex-start;gap:10px}.section-header button{align-self:flex-start}.inventory-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.summary-card{padding:12px}.summary-card strong{font-size:22px}.inventory-actions{justify-content:stretch}.inventory-actions button{width:100%}.inventory-tabs{-webkit-overflow-scrolling:touch;padding-bottom:6px;overflow-x:auto}}@keyframes fadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.products-toolbar-container{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:10px;width:100%;max-width:100%;box-shadow:0 1px 4px #0000000f}.products-toolbar-row{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;width:100%;display:flex}.tab-toolbar-container{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;width:100%;margin-bottom:20px;display:flex}.tab-toolbar-left{flex-wrap:wrap;flex:1;align-items:center;gap:12px;min-width:280px;display:flex}.search-bar-flex{flex:1;min-width:220px}.search-bar-flex .catalog-search-bar-container{margin-bottom:0}.dropdown-filter-flex{width:240px;max-width:100%}.category-filter-group{flex-direction:column;flex:0 auto;gap:4px;display:flex}.category-select-wrapper{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.category-select-wrapper .form-control,.category-select-wrapper .custom-select-container{flex:none;width:260px;min-width:200px;max-width:320px}.category-select-wrapper button{white-space:nowrap;justify-content:center;align-items:center;height:38px;padding:6px 14px;font-size:13px;display:flex}.products-actions-group{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.products-actions-group button{white-space:nowrap;justify-content:center;align-items:center;height:38px;padding:6px 16px;font-size:13px;display:flex}.products-layout{grid-template-columns:minmax(0,1.6fr) minmax(320px,390px);align-items:start;gap:14px;display:grid}.catalog-products-scroll-container{max-height:calc(100vh - 210px);padding-right:4px;overflow:auto}.catalog-products-scroll-container::-webkit-scrollbar{width:6px}.catalog-products-scroll-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.product-detail-card{align-self:flex-start;max-height:calc(100vh - 96px);position:sticky;top:80px;overflow-y:auto;padding:14px 16px!important}.section-header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.section-header h2{margin:0;font-size:16px;font-weight:700}.section-header span{color:#64748b;font-size:12px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:10px;display:grid}.product-card{text-align:left;cursor:pointer;box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;justify-content:space-between;width:100%;min-height:105px;padding:10px 12px;transition:all .15s;display:flex}.product-card:hover{border-color:#0f4c81;box-shadow:0 2px 8px #00000014}.product-card.selected{background:#f0f9ff;border-color:#0284c7;box-shadow:0 0 0 1.5px #0284c7}.product-card-header{margin-bottom:4px}.product-card-header strong{color:#0f172a;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;line-height:1.25;display:-webkit-box;overflow:hidden}.product-card p{color:#64748b;-webkit-line-clamp:2;text-overflow:ellipsis;-webkit-box-orient:vertical;margin:2px 0 6px;font-size:11.5px;line-height:1.3;display:-webkit-box;overflow:hidden}.product-price{color:#0f4c81;font-size:15px;font-weight:700;display:block}.selected-product{border-bottom:1px solid #e2e8f0;margin-bottom:12px;padding-bottom:12px}.selected-product h3{color:#0f172a;margin:0;font-size:16px;font-weight:700}.selected-product p{color:#64748b;margin:4px 0 6px;font-size:12px;line-height:1.35}.option-groups{flex-direction:column;gap:8px;display:flex}.option-group-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px}.option-group-title{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.required-badge{color:#92400e;background:#fef3c7;border-radius:10px;padding:2px 6px;font-size:10.5px;font-weight:700}.option-list{flex-direction:column;gap:4px;display:flex}.option-item{background:#f8fafc;border:1px solid #f1f5f9;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:4px 8px;display:flex}.empty-state{text-align:center;color:#6b7280;padding:30px 10px}.muted-text{color:#6b7280;font-size:14px}@media (width<=1024px){.products-layout{grid-template-columns:1fr}}@media (width<=640px){.products-toolbar-row{flex-direction:column;align-items:stretch;gap:12px}.category-filter-group{width:100%;min-width:0}.category-select-wrapper{width:100%}.category-select-wrapper .form-control{width:100%;min-width:0}.products-actions-group{flex-direction:column;align-items:stretch;width:100%}.products-actions-group button{width:100%}.section-header{flex-direction:column;align-items:flex-start;gap:4px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}.product-card{padding:12px}.product-price{font-size:16px}}.kitchen-page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.kitchen-header-stats{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.kitchen-stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;min-width:110px;padding:6px 14px;display:flex;box-shadow:0 1px 3px #0000000a}.kitchen-stat-card .stat-label{color:#64748b;font-size:13px;font-weight:500}.kitchen-stat-card .stat-val{font-size:18px;font-weight:700;line-height:1}.kitchen-stat-card .stat-val.pending{color:#0f4c81}.kitchen-stat-card .stat-val.preparing{color:#d97706}.kitchen-stat-card .stat-val.ready{color:#16a34a}.kitchen-signalr-pill{border-radius:20px;align-items:center;gap:6px;padding:3px 8px;font-size:11px;font-weight:600;display:inline-flex}.kitchen-signalr-pill.connected{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.kitchen-signalr-pill.disconnected{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.kitchen-toolbar{align-items:center;gap:20px;width:100%;margin-bottom:28px;display:flex}.kitchen-summary{flex:1;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;min-width:0;display:grid}.kitchen-summary .summary-card{box-sizing:border-box;width:100%;min-width:0}.kitchen-toolbar>.secondary-button{white-space:nowrap;flex-shrink:0}.kitchen-connection{align-items:center;gap:8px;margin-bottom:18px;font-size:14px;font-weight:600;display:flex}.signalr-dot{border-radius:50%;flex-shrink:0;width:10px;height:10px}.signalr-dot.connected{background:#16a34a}.signalr-dot.disconnected{background:#dc2626}.kitchen-three-columns{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:20px;width:100%;display:grid}.kitchen-three-columns>section{min-width:0}.kitchen-column-header{justify-content:space-between;align-items:center;gap:12px;min-height:48px;margin-bottom:16px;display:flex}.kitchen-column-header>div{min-width:0}.kitchen-column-header h2{margin:0;font-size:22px;line-height:1.2}.kitchen-column-header p{margin:4px 0 0}.kitchen-column-header>span{color:#fff;background:#0f4c81;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;min-width:42px;height:42px;padding:0 10px;font-size:16px;font-weight:700;display:flex}.kitchen-orders-grid{flex-direction:column;gap:8px;display:flex}.kitchen-order-card{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:10px;width:100%;padding:10px 14px;transition:transform .15s,box-shadow .15s;box-shadow:0 1px 3px #0000000f}.kitchen-order-card.expanded{padding:14px}.kitchen-order-card:hover{transform:translateY(-1px);box-shadow:0 3px 8px #00000014}.kitchen-order-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:14px;display:flex}.kitchen-order-label{color:#6b7280;text-transform:uppercase;margin-bottom:3px;font-size:12px;font-weight:600;display:block}.kitchen-order-header h3{color:#111827;margin:0;font-size:15px;font-weight:700}.order-status{white-space:nowrap;border-radius:20px;justify-content:center;align-items:center;padding:3px 8px;font-size:11px;font-weight:700;display:inline-flex}.order-status.pendiente{color:#991b1b;background:#fee2e2}.order-status.preparando{color:#92400e;background:#fef3c7}.order-status.listo{color:#166534;background:#dcfce7}.kitchen-order-meta{color:#6b7280;justify-content:space-between;gap:10px;padding:8px 0;font-size:12px;display:flex}.kitchen-order-meta span{flex-direction:column;gap:2px;display:flex}.kitchen-order-meta strong{color:#374151;font-size:13px}.kitchen-note{color:#4b5563;background:#f8fafc;border-left:3px solid #0f4c81;border-radius:6px;margin-top:8px;padding:7px 10px;font-size:12px;line-height:1.35}.kitchen-order-items{flex-direction:column;gap:5px;margin-top:4px;display:flex}.kitchen-item{background:#f9fafb;border:1px solid #eef0f2;border-radius:6px;padding:6px 10px}.kitchen-item>strong{color:#111827;font-size:13.5px;font-weight:600;line-height:1.35;display:block}.kitchen-options{color:#6b7280;margin:3px 0 0 14px;padding:0;font-size:12px}.kitchen-options li{margin-bottom:2px}.kitchen-options li:last-child{margin-bottom:0}.kitchen-prepare-button{color:#fff;cursor:pointer;background:#f59e0b;border:none;border-radius:6px;width:100%;margin-top:12px;padding:9px 14px;font-size:13px;font-weight:700;transition:all .2s}.kitchen-prepare-button:hover{background:#d97706}.kitchen-prepare-button:disabled{opacity:.5;cursor:not-allowed}.kitchen-ready-button{color:#fff;cursor:pointer;background:#16a34a;border:none;border-radius:6px;width:100%;margin-top:12px;padding:9px 14px;font-size:13px;font-weight:700;transition:all .2s}.kitchen-ready-button:hover{background:#15803d}.kitchen-ready-button:disabled{opacity:.5;cursor:not-allowed}.kitchen-orders-grid .empty-state{background:#fff;border:1px solid #e5e7eb;border-radius:10px;justify-content:center;align-items:center;min-height:74px;display:flex;box-shadow:0 1px 4px #0000000f}@media (width<=1024px){.kitchen-three-columns{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.kitchen-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}}@media (width<=768px){.kitchen-toolbar{flex-direction:column;align-items:stretch;gap:12px}.kitchen-three-columns{grid-template-columns:1fr}.kitchen-toolbar>.secondary-button{width:100%}}@media (width<=550px){.kitchen-summary{grid-template-columns:1fr;gap:10px}.kitchen-order-card{padding:14px}.kitchen-item>strong{font-size:13px}.kitchen-options{margin-left:10px;font-size:11.5px}.kitchen-order-meta{flex-direction:column;gap:6px}.kitchen-column-header{margin-bottom:12px}.kitchen-column-header h2{font-size:18px}}.orders-toolbar{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:10px;justify-content:space-between;align-items:center;gap:16px;width:100%;max-width:100%;margin-bottom:20px;padding:14px 18px;display:flex;box-shadow:0 1px 4px #0000000f}.orders-toolbar strong{color:#0f4c81;font-size:20px}.orders-layout{box-sizing:border-box;grid-template-columns:minmax(0,1fr) minmax(380px,480px);align-items:start;gap:14px;width:100%;min-width:0;max-width:100%;display:grid}.orders-layout>section{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.orders-table-card{box-sizing:border-box;width:100%;overflow:hidden;padding:12px 14px!important}.orders-table-card .table-wrapper,.table-wrapper.orders-table-wrapper{box-sizing:border-box;display:block;width:100%!important;min-width:0!important;max-width:100%!important;overflow-x:hidden!important}.orders-table-card .data-table,.table-wrapper.orders-table-wrapper .data-table{border-collapse:collapse;table-layout:fixed!important;width:100%!important;min-width:0!important;max-width:100%!important}.orders-table-card .data-table th,.table-wrapper.orders-table-wrapper .data-table th{color:#475569;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;background:#f8fafc;border-bottom:2px solid #e2e8f0;padding:7px 6px;font-size:11.5px;font-weight:700;overflow:hidden}.orders-table-card .data-table td,.table-wrapper.orders-table-wrapper .data-table td{vertical-align:middle;box-sizing:border-box;border-bottom:1px solid #f1f5f9;padding:6px;font-size:12px;overflow:hidden}.orders-table-card .data-table th:first-child,.orders-table-card .data-table td:first-child{text-align:left;padding-left:8px;padding-right:6px;width:22%!important;max-width:22%!important}.orders-table-card .data-table th:nth-child(2),.orders-table-card .data-table td:nth-child(2){white-space:nowrap;text-align:center;padding-left:4px;padding-right:4px;width:18%!important;max-width:18%!important}.orders-table-card .data-table th:nth-child(3),.orders-table-card .data-table td:nth-child(3){white-space:nowrap;text-align:center;padding-left:4px;padding-right:4px;width:20%!important;max-width:20%!important}.orders-table-card .data-table th:nth-child(4),.orders-table-card .data-table td:nth-child(4){white-space:nowrap;text-align:right;padding-left:4px;padding-right:6px;width:19%!important;max-width:19%!important}.orders-table-card .data-table th:nth-child(5),.orders-table-card .data-table td:nth-child(5){white-space:nowrap;text-align:right;padding-left:4px;padding-right:8px;width:21%!important;max-width:21%!important}.table-wrapper .data-table tr.order-row{cursor:pointer;transition:background-color .12s}.table-wrapper .data-table tr.order-row:hover{background-color:#f8fafc}.table-wrapper .data-table tr.order-row.selected{background-color:#f0fdf4;box-shadow:inset 3px 0 #0284c7}.compact-action-btn{cursor:pointer;white-space:nowrap;border:none;border-radius:6px;justify-content:center;align-items:center;gap:3px;padding:4px 8px;font-size:11px;font-weight:600;line-height:1.3;transition:all .15s;display:inline-flex}.compact-action-btn.pay-btn{color:#fff;background-color:#0284c7}.compact-action-btn.pay-btn:hover{background-color:#0369a1}.compact-action-btn.view-btn{color:#334155;background-color:#f1f5f9;border:1px solid #cbd5e1}.compact-action-btn.view-btn:hover{color:#0f172a;background-color:#e2e8f0}.compact-action-btn.invoice-btn{color:#166534;background-color:#f0fdf4;border:1px solid #86efac;font-weight:700}.compact-action-btn.invoice-btn:hover{background-color:#dcfce7;border-color:#4ade80}.compact-action-btn.invoiced-badge{color:#047857;cursor:default;background-color:#ecfdf5;border:1px solid #a7f3d0;font-weight:700}.compact-action-btn.cancel-btn{color:#dc2626;background-color:#fef2f2;border:1px solid #fca5a5}.compact-action-btn.cancel-btn:hover{color:#fff;background-color:#dc2626}.compact-action-btn.ticket-btn{color:#fff;background-color:#0f4c81}.compact-action-btn.ticket-btn:hover{background-color:#09345a}.orders-search-input-wrapper{background:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:6px;min-width:200px;height:36px;padding:0 10px;display:flex;box-shadow:0 1px 2px #0000000a}.orders-search-input-wrapper:focus-within{border-color:#0284c7;box-shadow:0 0 0 2px #0284c726}.orders-search-input{color:#1e293b;background:0 0;border:none;outline:none;width:100%;font-size:12.5px}.order-detail-card{box-sizing:border-box;width:100%;min-width:0;max-width:100%;max-height:calc(100vh - 96px);position:sticky;top:80px;overflow-y:auto;padding:14px 16px!important}.order-detail-compact{flex-direction:column;gap:10px;display:flex}.order-detail-header-compact{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:flex-start;gap:8px;padding-bottom:8px;display:flex}.order-detail-customer{color:#0f172a;flex-wrap:wrap;align-items:center;gap:6px;font-size:15px;font-weight:700;line-height:1.2;display:flex}.order-folio-badge{color:#475569;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:4px;padding:1px 6px;font-size:11px;font-weight:600}.order-detail-meta-compact{color:#64748b;text-align:right;font-size:11px;line-height:1.25}.order-detail-status-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;display:flex}.order-badges-inline{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.order-financial-actions-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;display:flex}.order-totals-bar{align-items:baseline;gap:8px;display:flex}.order-totals-bar .total-amount{color:#0f172a;font-size:16px;font-weight:800}.order-totals-bar .subtotal-amount{color:#64748b;font-size:11.5px}.order-actions-bar{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.order-section-compact{flex-direction:column;gap:5px;display:flex}.order-section-compact h3{color:#475569;text-transform:uppercase;letter-spacing:.4px;margin:0;font-size:12px;font-weight:700}.order-items-list-compact{flex-direction:column;gap:6px;display:flex}.order-item-compact{background:#fff;border:1px solid #e2e8f0;border-radius:7px;padding:7px 9px;transition:all .12s}.order-item-compact:hover{background:#f8fafc;border-color:#cbd5e1}.order-item-compact-top{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.order-item-compact-title{color:#0f172a;font-size:12.5px;font-weight:600;line-height:1.3}.order-item-compact-price{color:#0f4c81;white-space:nowrap;font-size:12.5px;font-weight:700}.order-item-compact-meta{color:#64748b;align-items:center;gap:8px;margin-top:1px;font-size:11px;display:flex}.order-options-inline{flex-wrap:wrap;gap:4px;margin-top:3px;display:flex}.order-option-chip{color:#334155;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:4px;padding:1px 6px;font-size:10.5px;font-weight:500}.order-note-chip{color:#b45309;background:#fffbeb;border:1px solid #fef3c7;border-radius:6px;padding:4px 8px;font-size:11px;font-style:italic}.order-payments-list-compact{flex-direction:column;gap:5px;display:flex}.order-payment-compact{background:#fff;border:1px solid #e2e8f0;border-radius:7px;padding:6px 9px}.order-options li{margin-bottom:4px}.order-options li:last-child{margin-bottom:0}.order-payments{flex-direction:column;gap:10px;display:flex}.order-payment{background:#f8fafc;border:1px solid #e5e7eb;border-radius:9px;justify-content:space-between;align-items:flex-start;gap:16px;padding:14px;display:flex}.order-payment>div{flex-direction:column;gap:3px;min-width:0;display:flex}.order-payment>strong{color:#0f4c81;white-space:nowrap}.cancel-order-button{color:#dc2626;cursor:pointer;background:#fef2f2;border:1px solid #fca5a5;border-radius:6px;padding:6px 12px;font-size:12px;font-weight:600;transition:all .15s}.cancel-order-button:hover:not(:disabled){color:#fff;background:#dc2626;border-color:#dc2626}.cancel-order-button:disabled{opacity:.5;cursor:not-allowed}@media (width<=1024px){.orders-layout{grid-template-columns:1fr}.order-detail-card{max-height:none;position:static;overflow:visible}.table-wrapper:not(.orders-table-wrapper){-webkit-overflow-scrolling:touch;overflow-x:auto}}@media (width<=650px){.orders-toolbar{flex-direction:column;align-items:stretch;gap:10px}.orders-toolbar button{width:100%}.section-header{flex-direction:column;align-items:flex-start;gap:8px}.order-detail-header-meta{align-items:flex-start;margin-top:4px}.order-detail-header{flex-direction:column;align-items:flex-start;gap:12px}.order-status-wrapper{align-items:flex-start;width:100%}.order-detail-totals-small{align-items:flex-start}.order-item-main,.order-payment{flex-direction:column;gap:6px}.order-payment>strong{align-self:flex-start}}.welcome-banner-card{color:#fff;background:linear-gradient(135deg,#0f4c81 0%,#1e3a8a 50%,#1d4ed8 100%);border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;padding:14px 22px;display:flex;position:relative;overflow:hidden;box-shadow:0 10px 25px -5px #0f4c8140,0 8px 10px -6px #0f4c8126}.welcome-banner-card:before{content:"";pointer-events:none;background:#ffffff14;border-radius:50%;width:160px;height:160px;position:absolute;top:-40px;right:-40px}.welcome-banner-left{align-items:center;gap:14px;display:flex}.welcome-avatar-wrapper{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fff3;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-size:22px;display:flex;box-shadow:0 4px 10px #0000001a}.welcome-banner-info{flex-direction:column;display:flex}.welcome-title{color:#fff;letter-spacing:-.02em;margin:0;font-size:18px;font-weight:800;line-height:1.2}.welcome-subtitle{color:#bfdbfe;margin-top:2px;margin-bottom:0;font-size:13px;line-height:1.3}.welcome-details-compact{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1f;border:1px solid #fff3;border-radius:10px;flex-wrap:wrap;align-items:center;gap:12px;padding:6px 14px;display:flex}.welcome-detail-pill{align-items:center;gap:8px;padding:2px 4px;display:flex}.pill-icon{background:#ffffff2e;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;font-size:16px;display:flex}.pill-text{flex-direction:column;display:flex}.pill-label{color:#93c5fd;text-transform:uppercase;letter-spacing:.05em;font-size:10px;font-weight:700;line-height:1}.pill-value{color:#fff;margin-top:2px;font-size:13.5px;font-weight:700;line-height:1.2}.role-badge{color:#fde047}.dashboard-overview-wrapper{flex-direction:column;gap:12px;width:100%;display:flex}.dashboard-overview-wrapper .welcome-banner-card{margin-bottom:0;padding:11px 18px}.quickstart-compact-card{background:#fff;border:1.5px solid #e0e7ff;border-radius:12px;padding:12px 16px;box-shadow:0 3px 12px #6366f10f}.quickstart-compact-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.quickstart-steps-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}@media (width<=900px){.quickstart-steps-grid{grid-template-columns:1fr}}.quickstart-step-box{border-radius:9px;flex-direction:column;justify-content:space-between;gap:8px;padding:10px 12px;display:flex}.quickstart-step-box.purple{background:#f5f3ff;border:1px solid #ddd6fe}.quickstart-step-box.purple .quickstart-step-title{color:#5b21b6}.quickstart-step-box.purple .quickstart-step-desc{color:#6d28d9}.quickstart-step-box.green{background:#f0fdf4;border:1px solid #bbf7d0}.quickstart-step-box.green .quickstart-step-title{color:#166534}.quickstart-step-box.green .quickstart-step-desc{color:#15803d}.quickstart-step-box.blue{background:#eff6ff;border:1px solid #bfdbfe}.quickstart-step-box.blue .quickstart-step-title{color:#1e40af}.quickstart-step-box.blue .quickstart-step-desc{color:#1d4ed8}.quickstart-step-title{margin-bottom:2px;font-size:13px;font-weight:700}.quickstart-step-desc{margin:0;font-size:11.5px;line-height:1.3}.dashboard-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:0;display:grid}@media (width<=1100px){.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.dashboard-kpis{grid-template-columns:1fr}}.dashboard-kpi-card{background:#fff;border:1px solid #e2e8f0;border-left:4px solid #0f4c81;border-radius:12px;align-items:center;gap:12px;padding:12px 16px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 2px 6px #0000000d}.dashboard-kpi-card.kpi-emerald{border-left-color:#16a34a}.dashboard-kpi-card.kpi-indigo{border-left-color:#4f46e5}.dashboard-kpi-card.kpi-amber{background:linear-gradient(135deg,#fff 0%,#fff5f5 100%);border-left-color:#dc2626}.dashboard-kpi-card:hover{transform:translateY(-2px);box-shadow:0 6px 14px #0f4c811f}.kpi-icon{background:#f8fafc;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-size:28px;line-height:1;display:flex}.kpi-label{text-transform:uppercase;letter-spacing:.03em;color:#64748b;margin:0 0 2px;font-size:11.5px;font-weight:700}.kpi-value{color:#0f4c81;margin:0;font-size:20px;font-weight:800;line-height:1.15}.kpi-subtext{color:#64748b;white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:11px;display:block;overflow:hidden}.dashboard-charts-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:12px;width:100%;display:grid}@media (width<=1280px){.dashboard-charts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=820px){.dashboard-charts-grid{grid-template-columns:1fr}}.dashboard-chart-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;justify-content:space-between;min-height:315px;padding:14px 16px;display:flex;box-shadow:0 2px 8px #0f172a0a}.dashboard-chart-header{justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:10px;display:flex}.dashboard-chart-title{color:#0f172a;margin:0;font-size:14px;font-weight:800}.dashboard-chart-subtitle{color:#64748b;margin:2px 0 0;font-size:11px}.chart-mode-pills{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;flex-shrink:0;padding:2px;display:inline-flex}.chart-pill-btn{color:#475569;cursor:pointer;background:0 0;border:none;border-radius:5px;padding:3px 8px;font-size:11px;font-weight:700;transition:all .15s}.chart-pill-btn.active{color:#0f4c81;background:#fff;box-shadow:0 1px 2px #00000014}.chart-legend-inline{color:#475569;flex-shrink:0;align-items:center;gap:8px;font-size:11px;font-weight:700;display:flex}.legend-dot-item{align-items:center;gap:4px;display:inline-flex}.dot-badge{border-radius:50%;width:8px;height:8px;display:inline-block}.dot-badge.green{background:#16a34a}.dot-badge.red{background:#dc2626}.stock-alert-pill{white-space:nowrap;border:1px solid;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:800}.chart-summary-strip{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:10px;padding:6px 10px;display:grid}.chart-mini-stat{flex-direction:column;display:flex}.mini-stat-label{color:#64748b;text-transform:uppercase;font-size:10px;font-weight:700}.mini-stat-val{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;margin-top:1px;font-size:12.5px;font-weight:800;overflow:hidden}.vertical-bars-stage{background:linear-gradient(#0000 0% 49%,#f8fafc 50%,#0000 51%);border-bottom:1.5px solid #e2e8f0;flex:1;justify-content:space-between;align-items:flex-end;gap:6px;min-height:155px;padding:10px 6px 4px;display:flex}.vbar-column{flex-direction:column;flex:1;align-items:center;min-width:0;height:100%;display:flex}.vbar-top-value{color:#475569;white-space:nowrap;margin-bottom:4px;font-size:9.5px;font-weight:700}.vbar-track{background:#f1f5f9;border-radius:6px 6px 2px 2px;align-items:flex-end;width:100%;max-width:26px;height:112px;display:flex;overflow:hidden}.vbar-fill{border-radius:6px 6px 0 0;width:100%;transition:height .35s}.vbar-fill.sales-active{background:linear-gradient(#2563eb 0%,#0f4c81 100%)}.vbar-fill.sales-empty{opacity:.55;background:#cbd5e1}.vbar-fill.income-bar{background:linear-gradient(#22c55e 0%,#15803d 100%)}.vbar-fill.expense-bar{background:linear-gradient(#f87171 0%,#dc2626 100%)}.vbar-label{color:#475569;white-space:nowrap;text-overflow:ellipsis;max-width:100%;margin-top:5px;font-size:10px;font-weight:700;overflow:hidden}.vbar-column.paired{max-width:90px}.paired-values-top{flex-direction:column;align-items:center;margin-bottom:3px;font-size:9.5px;line-height:1.15;display:flex}.paired-tracks-box{justify-content:center;align-items:flex-end;gap:4px;width:100%;display:flex}.paired-tracks-box .vbar-track{max-width:18px;height:104px}.low-stock-bars-list{flex-direction:column;flex:1;gap:6px;max-height:175px;padding-right:4px;display:flex;overflow-y:auto}.low-stock-bar-row{flex-direction:column;gap:3px;display:flex}.low-stock-row-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.low-stock-item-name{color:#1e293b;white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:11.5px;font-weight:700;overflow:hidden}.low-stock-item-badge{border-radius:4px;flex-shrink:0;padding:1px 6px;font-size:10.5px;font-weight:800}.low-stock-track{background:#f1f5f9;border-radius:999px;width:100%;height:7px;overflow:hidden}.low-stock-fill{border-radius:999px;height:100%;transition:width .35s}.chart-empty-box{text-align:center;color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:16px;font-size:12px;display:flex}.chart-empty-box p{margin:6px 0 0}.chart-card-footer{border-top:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:8px;margin-top:10px;padding-top:8px;display:flex}.chart-footer-hint{color:#64748b;white-space:nowrap;text-overflow:ellipsis;font-size:10.5px;overflow:hidden}.chart-link-btn{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:none;border-radius:6px;flex-shrink:0;padding:4px 9px;font-size:11px;font-weight:700;transition:background .15s}.chart-link-btn:hover{background:#dbeafe}@media (width<=768px){.welcome-banner-card{padding:14px 16px}.welcome-details-compact{justify-content:space-between;width:100%}}.dashboard-header-compact{border-bottom:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;padding-bottom:8px;display:flex}.dashboard-header-title-box{flex-wrap:wrap;align-items:baseline;gap:10px;display:flex}.dashboard-header-h1{color:#0f172a;margin:0;font-size:18px;font-weight:700;line-height:1.2}.dashboard-header-desc{color:#64748b;font-size:12px;font-weight:400}.dashboard-main-tabs-pill{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:3px;padding:3px;display:inline-flex}.dashboard-main-pill-btn{color:#475569;cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:6px;align-items:center;gap:6px;padding:4px 12px;font-size:12.5px;font-weight:600;transition:all .15s ease-in-out;display:inline-flex}.dashboard-main-pill-btn:hover{color:#0f172a;background:#ffffffb3}.dashboard-main-pill-btn.active{color:#0f4c81;background:#fff;font-weight:700;box-shadow:0 1px 3px #00000014}.config-subtabs{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-wrap:wrap;align-items:center;gap:4px;width:fit-content;max-width:100%;margin-bottom:10px;padding:3px 4px;display:inline-flex}.config-subtab-btn{color:#475569;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:5px;padding:4px 10px;font-size:12px;font-weight:600;transition:all .15s ease-in-out;display:inline-flex}.config-subtab-btn:hover{color:#0f172a;background:#fff;border-color:#cbd5e1}.config-subtab-btn.active{color:#fff;background:#0f4c81;border-color:#0f4c81;box-shadow:0 1px 3px #0f4c8140}.config-panel{background:#fff;border:1px solid #f1f5f9;border-radius:12px;margin-bottom:16px;padding:16px 20px;box-shadow:0 2px 8px #0000000a}.config-panel-header{border-bottom:1px solid #f3f4f6;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:8px;display:flex}.config-panel-header h3{color:#111827;align-items:center;gap:6px;margin:0;font-size:16px;font-weight:700;display:flex}.config-panel-subtitle{color:#6b7280;margin-top:2px;font-size:12px}.btn-primary{color:#fff;cursor:pointer;background:#0f4c81;border:none;border-radius:8px;align-items:center;gap:8px;padding:10px 18px;font-size:14px;font-weight:600;transition:background .2s,transform .1s;display:inline-flex}.btn-primary:hover:not(:disabled){background:#0d3d6e;transform:translateY(-1px)}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{color:#374151;cursor:pointer;background:#e5e7eb;border:none;border-radius:8px;padding:10px 18px;font-size:14px;font-weight:600;transition:background .2s}.btn-secondary:hover{background:#d1d5db}.btn-danger{color:#fff;cursor:pointer;background:#ef4444;border:none;border-radius:8px;padding:10px 18px;font-size:14px;font-weight:600;transition:background .2s}.btn-danger:hover:not(:disabled){background:#dc2626}.btn-sm{padding:6px 12px;font-size:12px}.config-table-container{overflow-x:auto}.config-table{border-collapse:collapse;width:100%;margin-top:10px}.config-table th{color:#4b5563;text-transform:uppercase;letter-spacing:.05em;text-align:left;background:#f9fafb;border-bottom:1px solid #e5e7eb;padding:12px 16px;font-size:12px;font-weight:700}.config-table td{color:#1f2937;border-bottom:1px solid #f3f4f6;padding:14px 16px;font-size:14px}.config-table tr:hover{background:#f9fafb}.action-buttons{gap:8px;display:flex}.config-form{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:16px;display:grid}.form-group-full{grid-column:1/-1}.config-form-group{flex-direction:column;gap:6px;display:flex}.config-form-group label{color:#374151;font-size:13px;font-weight:600}.config-form-input{background:#f9fafb;border:1.5px solid #d1d5db;border-radius:8px;outline:none;padding:10px 14px;font-size:14px;transition:border-color .2s,background .2s}.config-form-input:focus{background:#fff;border-color:#0f4c81;box-shadow:0 0 0 3px #0f4c811a}.maintenance-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-top:16px;display:grid}.maintenance-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;flex-direction:column;justify-content:space-between;gap:16px;padding:20px;transition:box-shadow .2s;display:flex}.maintenance-card:hover{box-shadow:0 4px 12px #00000014}.maintenance-card h4{color:#111827;align-items:center;gap:8px;margin:0 0 6px;font-size:16px;font-weight:700;display:flex}.maintenance-card p{color:#6b7280;margin:0;font-size:13px}.import-steps-grid{grid-template-columns:1fr 1fr;align-items:stretch;gap:14px;margin-bottom:12px;display:grid}@media (width<=860px){.import-steps-grid{grid-template-columns:1fr}}.import-section{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px;margin-top:16px;display:grid}.import-box{text-align:center;background:#f8fafc;border:2px dashed #cbd5e1;border-radius:14px;padding:24px;transition:border-color .2s,background .2s}.import-box:hover{background:#f0f9ff;border-color:#0f4c81}.import-icon{color:#0f4c81;margin-bottom:12px;font-size:40px}.import-file-input{margin:16px 0}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#00000080;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal-content{background:#fff;border-radius:16px;width:100%;max-width:500px;padding:24px;animation:.2s ease-out modalFade;box-shadow:0 20px 25px -5px #0003}@keyframes modalFade{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.modal-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.modal-header h3{margin:0;font-size:18px;font-weight:700}.modal-close{cursor:pointer;color:#6b7280;background:0 0;border:none;font-size:20px}.modal-actions{justify-content:flex-end;gap:12px;margin-top:24px;display:flex}.config-alert{border-radius:10px;align-items:center;gap:10px;margin-bottom:16px;padding:12px 16px;font-size:14px;font-weight:500;display:flex}.config-alert-success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}.config-alert-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.cashshift-container{width:100%;max-width:100%;margin:0;padding:0}.cashshift-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.cashshift-title h1{color:#111827;margin:0 0 2px;font-size:20px;font-weight:800}.cashshift-title p{color:#6b7280;margin:0;font-size:12.5px}.cashshift-actions{flex-wrap:wrap;gap:8px;display:flex}.shift-status-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:12px;padding:12px 16px;box-shadow:0 2px 10px #00000008}.shift-status-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.shift-header-totals{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:12px;padding:6px 14px;display:flex;box-shadow:0 1px 4px #00000005}.header-stat-item{text-align:right;flex-direction:column;display:flex}.header-stat-label{color:#64748b;text-transform:uppercase;letter-spacing:.04em;margin-bottom:1px;font-size:10px;font-weight:700}.header-stat-val{color:#0f172a;font-size:16px;font-weight:800;line-height:1.1}.header-stat-val.initial{color:#475569}.header-stat-val.expected{color:#0284c7;font-size:18px}.header-stat-divider{background:#cbd5e1;width:1px;height:24px}.badge-open{color:#15803d;background:#dcfce7;border-radius:9999px;align-items:center;gap:5px;padding:4px 10px;font-size:12px;font-weight:700;display:inline-flex}.badge-closed{color:#4b5563;background:#f3f4f6;border-radius:9999px;padding:4px 10px;font-size:12px;font-weight:700}.shift-metrics-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin-bottom:4px;display:grid}.metric-box{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;flex-direction:column;justify-content:center;padding:8px 10px;transition:transform .2s,box-shadow .2s;display:flex}.metric-box:hover{transform:translateY(-1px);box-shadow:0 2px 8px #0000000d}.metric-box.highlight{background:#f0f7ff;border-color:#bfdbfe}.metric-box.success{background:#f0fdf4;border-color:#bbf7d0}.metric-box.danger{background:#fef2f2;border-color:#fecaca}.metric-label{text-transform:uppercase;letter-spacing:.04em;color:#64748b;margin-bottom:2px;font-size:10px;font-weight:700;display:block}.metric-value{color:#0f172a;font-size:15px;font-weight:800;line-height:1.1;display:block}.metric-box.highlight .metric-value{color:#1d4ed8}.metric-box.success .metric-value{color:#15803d}.history-section{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:14px 18px;box-shadow:0 2px 10px #00000008}.history-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.history-header h2{color:#111827;margin:0;font-size:15px;font-weight:700}.cs-table{border-collapse:collapse;width:100%;font-size:13px}.cs-table th{color:#4b5563;text-align:left;background:#f9fafb;border-bottom:1px solid #e5e7eb;padding:8px 10px;font-size:12px;font-weight:600}.cs-table td{color:#1f2937;border-bottom:1px solid #f3f4f6;padding:7px 10px;font-size:12.5px}.cs-table tr:hover{background:#f9fafb}.diff-positive{color:#15803d;font-weight:700}.diff-negative{color:#dc2626;font-weight:700}.diff-zero{color:#4b5563;font-weight:600}.btn-primary{color:#fff;cursor:pointer;background:#0f4c81;border:none;border-radius:8px;align-items:center;gap:8px;padding:10px 18px;font-weight:600;transition:background .2s;display:inline-flex}.btn-primary:hover{background:#0c3b65}.btn-secondary{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:10px 18px;font-weight:600;transition:all .2s}.btn-secondary:hover{background:#f9fafb;border-color:#9ca3af}.btn-success{color:#fff;cursor:pointer;background:#16a34a;border:none;border-radius:8px;align-items:center;gap:8px;padding:10px 18px;font-size:13.5px;font-weight:700;transition:all .2s;display:inline-flex;box-shadow:0 1px 3px #16a34a33}.btn-success:hover{background:#15803d;box-shadow:0 2px 6px #16a34a4d}.btn-danger{color:#fff;cursor:pointer;background:#dc2626;border:none;border-radius:8px;align-items:center;gap:8px;padding:10px 18px;font-size:13.5px;font-weight:700;transition:all .2s;display:inline-flex;box-shadow:0 1px 3px #dc262633}.btn-danger:hover{background:#b91c1c;box-shadow:0 2px 6px #dc26264d}.quotes-container{width:100%;max-width:100%;margin:0;padding:0}.quotes-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.quotes-header .secondary-button,.purchases-header .secondary-button{border-radius:8px;padding:8px 14px;font-size:13px}.quotes-title h1{color:#111827;margin:0 0 2px;font-size:20px;font-weight:800}.quotes-title p{color:#6b7280;margin:0;font-size:13px}.quotes-metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px;display:grid}.purchases-metrics-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:10px;display:grid}@media (width<=1150px){.purchases-metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=640px){.purchases-metrics-grid,.quotes-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.quotes-metric-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;justify-content:center;padding:6px 10px;display:flex;box-shadow:0 1px 2px #00000005}.quotes-metric-card .label{color:#64748b;text-transform:uppercase;letter-spacing:.3px;margin-bottom:2px;font-size:9.5px;font-weight:700;line-height:1.2}.quotes-metric-card .value{color:#0f172a;font-size:15px;font-weight:800;line-height:1.2}.quotes-metric-card.accent{background:linear-gradient(135deg,#f0fdf4 0%,#dcfce7 100%);border-color:#bbf7d0}.quotes-metric-card.accent .value{color:#166534}.quotes-metric-card.converted{background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);border-color:#bfdbfe}.quotes-metric-card.converted .value{color:#1e40af}.quotes-controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.quotes-search-input{box-sizing:border-box;border:1.5px solid #d1d5db;border-radius:8px;outline:none;flex:1;min-width:260px;height:36px;padding:6px 12px;font-size:13px;transition:border-color .2s}.quotes-search-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.quotes-filter-select{box-sizing:border-box;cursor:pointer;background:#fff;border:1.5px solid #d1d5db;border-radius:8px;outline:none;height:36px;padding:6px 12px;font-size:13px}.quote-badge{text-align:center;border-radius:9999px;padding:2px 8px;font-size:11.5px;font-weight:700;display:inline-block}.quote-badge.BORRADOR,.quote-badge.Draft,.quote-badge.draft{color:#4b5563;background:#f3f4f6}.quote-badge.ENVIADA,.quote-badge.Sent,.quote-badge.sent{color:#b45309;background:#fef3c7}.quote-badge.ACEPTADA,.quote-badge.Approved,.quote-badge.approved{color:#15803d;background:#dcfce7}.quote-badge.RECHAZADA,.quote-badge.Rejected,.quote-badge.rejected{color:#b91c1c;background:#fee2e2}.quote-badge.CONVERTIDA_A_ORDEN,.quote-badge.Converted,.quote-badge.converted{color:#0f4c81;background:#dbeafe}.quotes-table-container{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow-x:auto;box-shadow:0 2px 8px #00000005}.quotes-table{border-collapse:collapse;text-align:left;width:100%;font-size:13px}.quotes-table th{color:#4b5563;background:#f9fafb;border-bottom:1.5px solid #e5e7eb;padding:8px 12px;font-size:12px;font-weight:700}.quotes-table td{color:#1f2937;border-bottom:1px solid #f3f4f6;padding:7px 12px;font-size:13px}.quotes-table tbody tr:hover{background:#f9fafb}.quote-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:10px;display:grid}.quote-form-grid .custom-select-trigger{height:34px!important;min-height:34px!important;padding:4px 10px!important;font-size:13px!important}@media (width<=900px){.quote-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.quote-form-grid{grid-template-columns:1fr}}.quote-items-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin-bottom:10px;padding:8px 12px;overflow:visible}.quote-items-table{border-collapse:collapse;width:100%;margin-top:4px;font-size:13px}.quote-items-table th{z-index:5;text-align:left;color:#475569;background:#f8fafc;border-bottom:1.5px solid #e2e8f0;padding:6px 8px;font-size:12px;font-weight:600;position:sticky;top:0}.quote-items-table td{vertical-align:middle;padding:4px 6px}.quote-items-table input,.quote-items-table select{box-sizing:border-box;border:1px solid #cbd5e1;border-radius:6px;width:100%;height:32px;padding:5px 8px;font-size:13px}.quote-summary-box{background:#fff;border:1px solid #e2e8f0;border-radius:10px;min-width:260px;max-width:300px;margin-left:auto;padding:10px 14px}.quote-summary-row{color:#4b5563;justify-content:space-between;padding:3px 0;font-size:13px;display:flex}.quote-summary-row.total{color:#111827;border-top:1.5px solid #e2e8f0;margin-top:4px;padding-top:6px;font-size:16px;font-weight:800}.btn-convert{color:#fff;cursor:pointer;background:#0f4c81;border:none;border-radius:8px;padding:6px 12px;font-size:12px;font-weight:700;transition:background-color .2s,opacity .2s}.btn-convert:hover{opacity:.95;background:#0b2545}.btn-view-detail{color:#374151;cursor:pointer;background:#f3f4f6;border:1px solid #d1d5db;border-radius:8px;padding:6px 12px;font-size:12px;font-weight:600;transition:all .2s}.btn-view-detail:hover{color:#111827;background:#e5e7eb}.product-autocomplete-container{width:100%;position:relative}.product-autocomplete-input-wrapper{align-items:center;width:100%;display:flex;position:relative}.product-autocomplete-input-wrapper input{padding-right:28px!important}.product-autocomplete-clear-btn{color:#9ca3af;cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:2px 6px;font-size:14px;font-weight:700;transition:color .15s;display:flex;position:absolute;right:6px}.product-autocomplete-clear-btn:hover{color:#ef4444}.product-autocomplete-dropdown{z-index:99999;background:#fff;border:1.5px solid #cbd5e1;border-radius:10px;width:max-content;min-width:340px;max-width:520px;max-height:250px;margin:0;padding:4px 0;list-style:none;position:absolute;top:calc(100% + 4px);left:0;overflow-y:auto;box-shadow:0 16px 36px -4px #00000038,0 6px 14px -2px #0000001a}.product-autocomplete-item{cursor:pointer;border-bottom:1px solid #f3f4f6;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;transition:background-color .15s;display:flex}.product-autocomplete-item:last-child{border-bottom:none}.product-autocomplete-item:hover,.product-autocomplete-item.highlighted{background-color:#f0fdf4}.product-autocomplete-info{text-align:left;flex-direction:column;flex:1;min-width:0;display:flex}.product-autocomplete-name{color:#111827;white-space:normal;word-break:break-word;font-size:13px;font-weight:600;line-height:1.3}.product-autocomplete-meta{align-items:center;gap:6px;margin-top:3px;display:flex}.product-autocomplete-category{color:#0f4c81;text-transform:uppercase;letter-spacing:.3px;background:#eff6ff;border-radius:4px;padding:1px 6px;font-size:11px;font-weight:600}.product-autocomplete-price{color:#059669;white-space:nowrap;padding-left:8px;font-size:13px;font-weight:700}.product-autocomplete-empty{text-align:center;color:#6b7280;padding:12px;font-size:12px}.badge-measure-toggle{color:#64748b;cursor:pointer;white-space:nowrap;box-sizing:border-box;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:6px;flex-shrink:0;align-items:center;gap:3px;height:32px;margin:0;padding:0 8px;font-size:11px;font-weight:600;line-height:1;transition:all .15s;display:inline-flex}.badge-measure-toggle:hover{color:#0284c7;background:#f0f9ff;border-color:#0284c7}.badge-measure-toggle.active{color:#0369a1;background:#e0f2fe;border:1px solid #38bdf8;font-weight:600}.quotes-table-toolbar{background-color:#fff;border-bottom:1px solid #e5e7eb;border-top-left-radius:12px;border-top-right-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;display:flex}.quotes-table-toolbar .catalog-search-bar-container{margin-bottom:0!important}.quotes-table-toolbar .catalog-search-input{border-radius:8px!important;height:36px!important;min-height:36px!important;padding:6px 32px 6px 34px!important;font-size:13px!important}.quotes-table-toolbar .custom-select-trigger{border-radius:8px!important;height:36px!important;min-height:36px!important;padding:4px 12px!important;font-size:13px!important}.customers-container{width:100%;max-width:100%;margin:0;padding:0}.customers-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.customers-header .secondary-button{border-radius:8px;padding:8px 14px;font-size:13px}.customers-title h1{color:#111827;margin:0 0 2px;font-size:20px;font-weight:800}.customers-title p{color:#6b7280;margin:0;font-size:13px}.customers-metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px;display:grid}@media (width<=900px){.customers-metrics-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}.customers-metric-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;padding:10px 14px;display:flex;box-shadow:0 1px 4px #00000008}.customers-metric-card .label{color:#6b7280;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px;font-size:11px;font-weight:600}.customers-metric-card .value{color:#111827;font-size:20px;font-weight:800}.customers-metric-card.credit{background:linear-gradient(135deg,#fffbeb 0%,#fef3c7 100%);border-color:#fde68a}.customers-metric-card.credit .value{color:#b45309}.customers-table-container{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow-x:auto;box-shadow:0 2px 8px #00000005}.credit-tag{color:#92400e;background:#fef3c7;border-radius:6px;padding:4px 8px;font-size:12px;font-weight:700;display:inline-block}.customers-table-toolbar{background-color:#fff;border-bottom:1px solid #e5e7eb;border-top-left-radius:12px;border-top-right-radius:12px;padding:8px 12px}.customers-table-toolbar .catalog-search-bar-container{margin-bottom:0!important}.customers-table-toolbar .catalog-search-input{border-radius:8px!important;height:36px!important;min-height:36px!important;padding:6px 32px 6px 34px!important;font-size:13px!important}.purchases-container{width:100%;max-width:100%;margin:0;padding:0}.purchases-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.purchases-title h1{color:#111827;margin:0 0 2px;font-size:20px;font-weight:800}.purchases-title p{color:#6b7280;margin:0;font-size:13px}.po-badge{text-align:center;border-radius:9999px;padding:2px 8px;font-size:11.5px;font-weight:700;display:inline-block}.po-badge.PENDIENTE{color:#b45309;background:#fef3c7}.po-badge.PARCIAL{color:#0f4c81;background:#dbeafe}.po-badge.COMPLETADA{color:#15803d;background:#dcfce7}.po-badge.CANCELADA{color:#b91c1c;background:#fee2e2}.btn-receive{color:#fff;cursor:pointer;background:linear-gradient(135deg,#10b981 0%,#059669 100%);border:none;border-radius:6px;padding:4px 10px;font-size:11.5px;font-weight:700;transition:opacity .2s}.btn-receive:hover{opacity:.9}.warehouses-container{width:100%;max-width:100%;margin:0;padding:0}.warehouses-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.warehouses-header h1{color:#111827;margin:0 0 2px;font-size:20px;font-weight:800}.warehouses-header p{color:#6b7280;margin:0;font-size:13px}.warehouses-tabs{border-bottom:2px solid #e5e7eb;gap:6px;margin-bottom:12px;display:flex}.tab-btn{color:#6b7280;cursor:pointer;background:0 0;border:none;border-bottom:3px solid #0000;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:700;transition:all .2s;display:flex}.tab-btn:hover{color:#111827}.tab-btn.active{color:#2563eb;border-bottom-color:#2563eb}.warehouse-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;display:grid}.warehouse-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;justify-content:space-between;padding:12px 14px;display:flex;box-shadow:0 1px 4px #00000008}.warehouse-card h3{color:#111827;margin:0 0 2px;font-size:15px;font-weight:700}.warehouse-card p{color:#6b7280;margin:2px 0 8px;font-size:12.5px}.hr-container{width:100%;max-width:100%;margin:0;padding:0}.hr-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.hr-header h1{color:#111827;margin:0 0 2px;font-size:20px;font-weight:800}.hr-header p{color:#6b7280;margin:0;font-size:13px}.employee-badge-active{color:#15803d;background:#dcfce7;border-radius:9999px;padding:2px 8px;font-size:11px;font-weight:700}.employee-badge-inactive{color:#b91c1c;background:#fee2e2;border-radius:9999px;padding:2px 8px;font-size:11px;font-weight:700}.doc-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;justify-content:space-between;align-items:center;padding:10px 14px;transition:all .2s;display:flex}.doc-card:hover{border-color:#3b82f6;box-shadow:0 2px 8px #0000000d}.doc-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;display:grid}.permissions-container{width:100%;max-width:100%;margin:0;padding:0}.permissions-header{margin-bottom:12px}.permissions-header h1{color:#111827;margin:0 0 2px;font-size:20px;font-weight:800}.permissions-header p{color:#6b7280;margin:0;font-size:13px}.presets-section{margin-bottom:14px}.presets-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-top:8px;display:grid}.preset-card{cursor:pointer;background:#fff;border:1.5px solid #e5e7eb;border-radius:10px;flex-direction:column;justify-content:space-between;padding:14px;transition:all .2s;display:flex}.preset-card:hover{border-color:#0f4c81;box-shadow:0 4px 12px #0f4c8114}.preset-card.active{background:#f0f7ff;border-color:#0f4c81;box-shadow:0 0 0 1px #0f4c81}.preset-title{color:#111827;margin:0 0 4px;font-size:14px;font-weight:700}.preset-desc{color:#6b7280;margin:0 0 10px;font-size:12px;line-height:1.3}.preset-badge{text-align:center;color:#4b5563;background:#f3f4f6;border-radius:6px;padding:4px 8px;font-size:11px;font-weight:700;display:inline-block}.preset-card.active .preset-badge{color:#fff;background:#0f4c81}.modules-list{flex-direction:column;gap:10px;display:flex}.module-switch-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;transition:all .15s;display:flex}.module-switch-card.enabled{background:#fff;border-color:#93c5fd}.module-switch-card.disabled{opacity:.75;background:#fafafa}.module-info{flex:1}.module-title-row{align-items:center;gap:8px;margin-bottom:2px;display:flex}.module-title{color:#111827;margin:0;font-size:15px;font-weight:700}.module-status-badge{border-radius:10px;padding:2px 7px;font-size:11px;font-weight:700}.module-status-badge.active{color:#166534;background:#dcfce7}.module-status-badge.inactive{color:#6b7280;background:#f3f4f6}.module-desc{color:#6b7280;margin:0;font-size:13px}.toggle-switch{cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:middle;flex-shrink:0;width:42px;height:22px;margin:0;display:inline-block;position:relative}.toggle-switch input{opacity:0;width:0;height:0;position:absolute}.toggle-slider{cursor:pointer;box-sizing:border-box;background-color:#cbd5e1;border-radius:22px;transition:background-color .2s;position:absolute;inset:0}.toggle-slider:before{content:"";box-sizing:border-box;background-color:#fff;border-radius:50%;width:18px;height:18px;transition:transform .2s cubic-bezier(.4,0,.2,1);position:absolute;inset:2px auto auto 2px;box-shadow:0 1px 3px #00000040}.toggle-switch input:checked+.toggle-slider{background-color:#10b981}.toggle-switch input:checked+.toggle-slider:before{transform:translate(20px)}.role-selector-bar{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.role-tab-btn{color:#4b5563;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:20px;padding:7px 14px;font-size:13px;font-weight:600;transition:all .15s}.role-tab-btn:hover{color:#0f4c81;border-color:#0f4c81}.role-tab-btn.active{color:#fff;background:#0f4c81;border-color:#0f4c81}.role-actions-bar{background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding:12px 16px;display:flex}.permission-module-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:14px;padding:16px}.permission-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:8px;margin-top:10px;display:grid}.permission-item{background:#f9fafb;border:1px solid #f3f4f6;border-radius:6px;align-items:flex-start;gap:8px;padding:8px 10px;transition:all .15s;display:flex}.permission-item:hover{background:#f0f7ff;border-color:#bfdbfe}.modular-columns-container{scroll-behavior:smooth;-webkit-overflow-scrolling:touch;gap:16px;padding:4px 4px 16px;display:flex;overflow-x:auto}.modular-columns-container::-webkit-scrollbar{height:8px}.modular-columns-container::-webkit-scrollbar-track{background:#f1f5f9;border-radius:8px}.modular-columns-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:8px}.modular-columns-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.modular-column-card{background:#fff;border:1.5px solid #e2e8f0;border-radius:12px;flex-direction:column;flex:0 0 280px;min-width:270px;max-width:295px;padding:14px 14px 12px;transition:all .2s;display:flex;box-shadow:0 1px 4px #00000008}.modular-column-card.active{border-color:#93c5fd;box-shadow:0 4px 14px #0f4c8114}.modular-column-card.disabled{opacity:.65;background:#fafafa}.modular-column-header{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}.modular-column-title{color:#0f172a;text-transform:uppercase;letter-spacing:.5px;align-items:center;gap:6px;margin:0;font-size:13px;font-weight:800;display:flex}.modular-count-badge{color:#fff;background:#0f4c81;border-radius:8px;padding:2px 7px;font-size:11px;font-weight:800}.modular-column-meta{justify-content:space-between;align-items:center;margin-top:4px;display:flex}.modular-accent-line{background:#0f4c81;border-radius:2px;height:2.5px;margin:8px 0 10px}.modular-column-card.disabled .modular-accent-line{background:#cbd5e1!important}.modular-plan-tag{color:#0f4c81;background:#eef4fa;border-radius:4px;padding:1px 6px;font-size:10.5px;font-weight:700}.modular-column-body{flex-direction:column;flex:1;gap:7px;max-height:380px;padding-right:4px;display:flex;overflow-y:auto}.modular-column-body::-webkit-scrollbar{width:5px}.modular-column-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.modular-item-row{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;transition:all .15s;display:flex}.modular-item-row:hover{background:#fff;border-color:#cbd5e1}.modular-item-label{color:#1e293b;align-items:center;gap:5px;font-size:11.5px;font-weight:600;line-height:1.25;display:flex}.mini-toggle-switch{cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:middle;flex-shrink:0;width:36px;height:18px;margin:0;display:inline-block;position:relative}.mini-toggle-switch input{opacity:0;width:0;height:0;position:absolute}.mini-toggle-slider{cursor:pointer;box-sizing:border-box;background-color:#cbd5e1;border-radius:18px;transition:background-color .2s;position:absolute;inset:0}.mini-toggle-slider:before{content:"";box-sizing:border-box;background-color:#fff;border-radius:50%;width:14px;height:14px;transition:transform .2s cubic-bezier(.4,0,.2,1);position:absolute;inset:2px auto auto 2px;box-shadow:0 1px 2px #0003}.mini-toggle-switch input:checked+.mini-toggle-slider{background-color:#3b82f6}.mini-toggle-switch input:checked+.mini-toggle-slider:before{transform:translate(18px)}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{width:100%;min-height:100%}body{font-optical-sizing:auto;font-variation-settings:"wdth" 100, "YTLC" 500;color:#1f2937;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f7fb;font-family:Nunito Sans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}button,input,select,textarea,optgroup{font-optical-sizing:inherit;font-variation-settings:inherit;font-family:inherit}.nunito-sans{font-optical-sizing:auto;font-variation-settings:"wdth" 100, "YTLC" 500;font-family:Nunito Sans,sans-serif}.custom-select-container{-webkit-user-select:none;user-select:none;width:100%;font-family:inherit;position:relative}.custom-select-trigger{cursor:pointer;box-sizing:border-box;background:#f9fafb;border:1.5px solid #e5e7eb;border-radius:8px;justify-content:space-between;align-items:center;width:100%;min-height:38px;padding:6px 12px;transition:all .2s;display:flex}.custom-select-trigger:hover{background:#fff;border-color:#0f4c81}.custom-select-container.is-open .custom-select-trigger{background:#fff;border-color:#0f4c81;box-shadow:0 0 0 3px #0f4c811f}.custom-select-container.is-disabled .custom-select-trigger{cursor:not-allowed;opacity:.7;background:#f3f4f6;border-color:#e5e7eb}.custom-select-value{color:#111827;text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:8px;font-size:13.5px;font-weight:500;display:flex;overflow:hidden}.placeholder-text{color:#9ca3af;font-weight:400}.custom-select-icon{align-items:center;font-size:16px;display:flex}.custom-select-arrow{color:#6b7280;align-items:center;transition:transform .2s;display:flex}.custom-select-container.is-open .custom-select-arrow{color:#0f4c81;transform:rotate(180deg)}.custom-select-menu{z-index:99999;background:#fff;border:1.5px solid #e5e7eb;border-radius:8px;animation:.15s ease-out dropdownSlideDown;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow:hidden;box-shadow:0 12px 28px #00000026,0 4px 10px #0000000d}.custom-select-container.open-upwards .custom-select-menu{animation:.15s ease-out dropdownSlideUp;top:auto;bottom:calc(100% + 4px)}@keyframes dropdownSlideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@keyframes dropdownSlideUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.custom-select-search-box{background:#f9fafb;border-bottom:1px solid #f3f4f6;padding:6px 8px}.custom-select-search-indicator{color:#1e40af;background:#eff6ff;border-bottom:1px solid #dbeafe;justify-content:space-between;align-items:center;padding:4px 10px;font-size:11.5px;display:flex}.custom-select-clear-search{color:#3b82f6;cursor:pointer;background:0 0;border:none;padding:0 4px;font-size:12px;font-weight:700;line-height:1}.custom-select-clear-search:hover{color:#1d4ed8}.custom-select-search-input{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:6px;outline:none;width:100%;padding:6px 10px;font-size:12.5px;transition:border-color .2s}.custom-select-search-input:focus{border-color:#0f4c81}.custom-select-options-list{max-height:200px;padding:4px 0;overflow-y:auto}.custom-select-options-list::-webkit-scrollbar{width:5px}.custom-select-options-list::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.custom-select-option{color:#374151;cursor:pointer;justify-content:space-between;align-items:center;padding:7px 12px;font-size:13px;transition:background .15s,color .15s;display:flex}.custom-select-option:hover{color:#0f4c81;background:#f0f9ff}.custom-select-option.is-selected{color:#0f4c81;background:#eff6ff;font-weight:600}.option-icon{margin-right:6px;font-size:14px}.option-content{flex-direction:column;flex:1;display:flex}.option-label{font-size:13px;line-height:1.3}.option-sublabel{color:#6b7280;margin-top:2px;font-size:11px}.option-check{color:#0f4c81;margin-left:8px;font-weight:700}.custom-select-no-options{text-align:center;color:#9ca3af;padding:16px;font-size:13px}.catalog-search-bar-container{flex-wrap:wrap;align-items:center;gap:10px;width:100%;margin-bottom:14px;display:flex}.catalog-search-bar-left{flex:0 0 195px;width:195px;min-width:160px}.catalog-search-bar-container .custom-select-trigger{border-radius:10px;height:44px}.catalog-search-wrapper{flex:1;align-items:center;min-width:150px;display:flex;position:relative}.catalog-search-wrapper .search-icon{color:#9ca3af;pointer-events:none;font-size:14px;position:absolute;left:12px}.catalog-search-input{box-sizing:border-box;background:#f9fafb;border:1.5px solid #e5e7eb;border-radius:10px;outline:none;width:100%;height:44px;padding:10px 36px;font-size:14px;transition:all .2s}.catalog-search-input:focus{background:#fff;border-color:#0f4c81;box-shadow:0 0 0 3px #0f4c811f}.catalog-search-wrapper .clear-search-btn{color:#9ca3af;cursor:pointer;background:0 0;border:none;padding:2px 6px;font-size:14px;position:absolute;right:10px}.catalog-search-wrapper .clear-search-btn:hover{color:#374151}.view-mode-toggle{box-sizing:border-box;background:#f3f4f6;border-radius:10px;flex-shrink:0;align-items:center;gap:2px;height:44px;padding:3px;display:flex}.view-btn{color:#6b7280;cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:8px;align-items:center;gap:6px;height:38px;padding:0 14px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex}.view-btn:hover{color:#111827}.view-btn.active{color:#fff;background:#0f4c81;box-shadow:0 2px 6px #0f4c8133}@media (width<=768px){.catalog-search-bar-container{gap:8px}.catalog-search-bar-left{flex:100%!important;width:100%!important;min-width:0!important}.catalog-search-wrapper{flex:100%;width:100%;min-width:0}.view-mode-toggle{justify-content:stretch;width:100%}.view-btn{flex:1;justify-content:center;padding:0 8px;font-size:12px}}*,:before,:after{box-sizing:border-box}html,body{-webkit-tap-highlight-color:transparent;max-width:100vw;overflow-x:hidden}#root{max-width:100vw;overflow-x:hidden}img,svg,canvas{max-width:100%;height:auto}.appearance-settings-grid{box-sizing:border-box;grid-template-columns:minmax(280px,1fr) minmax(360px,1.4fr);gap:16px;width:100%;display:grid}@media (width<=900px){.appearance-settings-grid{grid-template-columns:1fr!important;gap:14px!important}.appearance-selector-scroll{max-height:260px!important}}.dashboard-terms-view{box-sizing:border-box;flex-direction:column;gap:12px;min-height:calc(100vh - 160px);display:flex}.dashboard-terms-banner{color:#fff;background:linear-gradient(135deg,#0f4c81 0%,#1e3a8a 100%);border-radius:10px;flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:14px;padding:12px 20px;display:flex;box-shadow:0 3px 10px #0f4c8126}.dashboard-terms-grid{flex:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.dashboard-terms-card{box-sizing:border-box;flex-direction:column;justify-content:space-between;height:100%;margin:0;padding:20px 24px;display:flex;overflow-y:auto;box-shadow:0 2px 10px #0000000d}.dashboard-reports-pnl-grid{box-sizing:border-box;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:16px;width:100%;display:grid}@media (width<=768px){input,select,textarea{font-size:16px!important}}.table-responsive,.table-container,.users-table-container,.products-table-container,.inventory-table-container,.orders-table-container,.customers-table-container,.purchases-table-container,.quotes-table-container,.cashshift-table-container,.warehouses-table-container{-webkit-overflow-scrolling:touch!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;overflow-x:auto!important}div:has(>table){-webkit-overflow-scrolling:touch!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;overflow-x:auto!important}@media (width<=1024px){table{min-width:580px!important}th,td{padding:8px 10px!important;font-size:12.5px!important}}@media (width<=640px){table{min-width:520px!important}th,td{padding:7px 8px!important;font-size:11.5px!important}}@media (width<=768px){.modal,.modal-dialog,.modal-content,.license-modal,.server-config-modal,.role-modal,.user-modal,.product-modal,.customer-modal,.quote-modal,.purchase-modal,.cashshift-modal,div[class*=modal]:not(.modal-overlay):not(.logout-overlay){box-sizing:border-box!important;border-radius:14px!important;width:95%!important;max-width:95vw!important;max-height:92vh!important;margin:10px auto!important;padding:16px 14px!important;overflow-y:auto!important}.modal-header h2,.modal-header h3{font-size:17px!important}.modal-footer,.modal-actions{flex-direction:column-reverse!important;gap:8px!important}.modal-footer button,.modal-actions button{width:100%!important;padding:10px!important;font-size:14px!important}}@media (width>=769px) and (width<=1024px){.navbar{height:58px;padding:0 16px}.navbar-brand h2{font-size:17px}.navbar-badges{gap:6px}.navbar-user-info span{font-size:12px}.navbar-user-info small{font-size:10.5px}.sidebar{width:72px}.sidebar .sidebar-label{display:none!important}.sidebar-link{justify-content:center;padding:10px 0}.sidebar-icon{font-size:20px}.sidebar-toggle{display:none}.app-content{padding:14px 16px}.dashboard-kpis,.customers-metrics-grid,.purchases-metrics-grid,.quickstart-steps-grid,.presets-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.cashier-layout{grid-template-columns:1fr 340px!important;gap:12px!important}.cashier-products{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}}@media (width<=768px){.app-layout{height:auto;min-height:100vh;overflow-x:hidden}.app-body{flex-direction:column;height:auto;overflow:visible}.app-content{height:auto!important;padding:10px 8px!important;overflow-y:visible!important}.navbar{box-sizing:border-box!important;width:100%!important;max-width:100vw!important;height:auto!important;padding:6px 10px!important}.navbar-brand h2{text-overflow:ellipsis;white-space:nowrap;max-width:130px;overflow:hidden;font-size:15px!important}.navbar-badges{scrollbar-width:none!important;flex-wrap:nowrap!important;align-items:center!important;gap:4px!important;max-width:65vw!important;display:flex!important;overflow-x:auto!important}.navbar-badges::-webkit-scrollbar{display:none}.navbar-badges .badge-text{display:none!important}.navbar-badges .server-env-badge,.navbar-badges .network-status-badge{padding:3px 6px!important;font-size:11px!important}.sidebar{z-index:99!important;background:#fff!important;border-bottom:2px solid #e2e8f0!important;border-right:none!important;width:100%!important;height:auto!important;max-height:none!important;padding:6px 8px!important;position:sticky!important;top:0!important;box-shadow:0 2px 6px #0000000f!important}.sidebar-toggle{display:none!important}.sidebar-nav{-webkit-overflow-scrolling:touch!important;scrollbar-width:thin!important;flex-direction:row!important;gap:6px!important;padding:2px 4px 6px!important;display:flex!important;overflow-x:auto!important}.sidebar-link{background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:8px!important;flex-direction:column!important;flex-shrink:0!important;justify-content:center!important;align-items:center!important;min-width:60px!important;padding:6px 10px!important}.sidebar-link.active{color:#fff!important;background:#0f4c81!important;border-color:#0f4c81!important}.sidebar-link .sidebar-label{white-space:nowrap!important;margin-top:2px!important;font-size:10px!important;font-weight:700!important;display:block!important}.sidebar-icon{font-size:18px!important}.page-header,.dashboard-header,.inventory-header,.products-header,.products-header-main,.orders-header,.customers-header,.purchases-header,.cashshift-header,.warehouses-header,.hr-header,.permissions-header{flex-direction:column!important;align-items:flex-start!important;gap:10px!important;width:100%!important;margin-bottom:12px!important}.products-header-actions{flex-wrap:wrap!important;gap:6px!important;width:100%!important}.products-header-actions>*{flex:auto!important;justify-content:center!important;min-width:120px!important}.dashboard-header-compact{flex-direction:column!important;align-items:stretch!important;gap:10px!important;width:100%!important}.dashboard-main-tabs-pill{-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;max-width:100%!important;display:flex!important;overflow-x:auto!important}.dashboard-main-tabs-pill::-webkit-scrollbar{display:none}.dashboard-charts-grid{box-sizing:border-box!important;width:100%!important;max-width:100%!important}.dashboard-chart-card{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;padding:12px 10px!important;overflow:hidden!important}.dashboard-chart-header{flex-wrap:wrap!important;gap:6px!important}.vertical-bars-stage{-webkit-overflow-scrolling:touch!important;width:100%!important;min-width:0!important;max-width:100%!important;padding:8px 4px 4px!important;overflow-x:auto!important}.chart-summary-strip{box-sizing:border-box!important;gap:4px!important;width:100%!important;min-width:0!important;padding:6px 4px!important}.mini-stat-label{font-size:8.5px!important}.mini-stat-val{font-size:11px!important}.chart-card-footer{flex-direction:column!important;align-items:stretch!important;gap:6px!important}.chart-link-btn{justify-content:center!important;width:100%!important}.dashboard-terms-view{height:auto!important;max-height:none!important}.dashboard-terms-banner{flex-direction:column!important;align-items:stretch!important;gap:10px!important;padding:12px 14px!important}.dashboard-terms-grid{grid-template-rows:auto!important;grid-template-columns:1fr!important;gap:12px!important;height:auto!important}.dashboard-terms-card{height:auto!important;padding:16px 14px!important;overflow-y:visible!important}.dashboard-reports-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}.dashboard-reports-subtabs{-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;flex-wrap:nowrap!important;padding-bottom:6px!important;overflow-x:auto!important}.dashboard-reports-subtabs::-webkit-scrollbar{display:none}.dashboard-reports-pnl-grid,.dashboard-reports-methods-grid{grid-template-columns:1fr!important;gap:12px!important}.reports-dual-kpis,.reports-triple-kpis{grid-template-columns:1fr!important;gap:8px!important}.page-header h1,.dashboard-header h1,.inventory-header h1,.products-header h1,.orders-header h1,.customers-header h1,.purchases-header h1,.cashshift-header h1,.warehouses-header h1,.hr-header h1,.permissions-header h1{font-size:18px!important}.page-header>button,.page-header>a,.inventory-header button,.products-header button,.customers-header button,.purchases-header button,.cashshift-actions button{justify-content:center!important;width:100%!important}.catalog-search-bar-container,.filters-row,.toolbar-row,.inventory-toolbar,.products-toolbar-row,.orders-toolbar,.customers-toolbar{flex-direction:column!important;align-items:stretch!important;gap:8px!important}.catalog-search-bar-container input,.inventory-toolbar input,.products-toolbar-row input,.orders-toolbar input,.customers-toolbar input{width:100%!important}.filter-select,.select-dropdown,.products-filter-select{width:100%!important;min-width:100%!important}.dashboard-kpis,.customers-metrics-grid,.purchases-metrics-grid,.quickstart-steps-grid,.import-steps-grid,.presets-grid,.dashboard-charts-grid,.quote-form-grid,.user-form-grid,.product-form-grid{grid-template-columns:1fr!important;gap:10px!important}.warehouses-tabs,.hr-tabs,.permissions-tabs,.cashier-categories{white-space:nowrap!important;-webkit-overflow-scrolling:touch!important;gap:6px!important;padding-bottom:6px!important;display:flex!important;overflow-x:auto!important}.tab-btn{flex-shrink:0!important;padding:6px 12px!important;font-size:12px!important}.cashier-layout{flex-direction:column!important;gap:12px!important;height:auto!important;display:flex!important}.cashier-products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.cashier-product{border-radius:10px!important;min-height:95px!important;padding:10px 8px!important}.cashier-product strong{font-size:13px!important}.cashier-product b{font-size:15px!important}.cashier-cart{border-radius:12px!important;width:100%!important;position:static!important;box-shadow:0 2px 10px #0000000f!important}.cashier-cart-footer{padding:12px!important}.cashier-cart-total{font-size:18px!important}.cashier-checkout-btn{padding:14px!important;font-size:16px!important}.kitchen-three-columns{grid-template-columns:1fr!important;gap:14px!important}.kitchen-column{min-height:250px!important}}@media (width<=420px){.navbar-brand h2{max-width:110px;font-size:13.5px!important}.navbar-account{flex-direction:column;align-items:flex-start;gap:6px}.logout-button{text-align:center;width:100%}.cashier-products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}.cashier-product strong{font-size:12px!important}.cashier-product b{font-size:14px!important}.login-card{border-radius:14px!important;padding:20px 16px!important}}
