.notice-dialog-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;display:flex;align-items:center;justify-content:center;padding:16px;background:#08040cc7}.notice-dialog{--notice-color: #fb7185;width:min(100%,420px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;padding:24px 22px 20px;border:2px solid color-mix(in srgb,var(--notice-color) 70%,transparent);border-radius:20px;background:var(--pos-surface, #180d20);color:var(--pos-text, #f5f0f7);box-shadow:0 0 0 6px color-mix(in srgb,var(--notice-color) 14%,transparent),0 24px 60px #00000080;text-align:center;box-sizing:border-box}.notice-dialog.is-warning{--notice-color: #fbbf24}.notice-dialog.is-success{--notice-color: #34d399}.notice-dialog.is-info{--notice-color: #a855d8}.notice-dialog-icon{display:inline-grid;place-items:center;width:64px;height:64px;margin:0 auto 10px;border-radius:50%;background:color-mix(in srgb,var(--notice-color) 16%,transparent);color:var(--notice-color)}.notice-dialog-icon svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.notice-dialog h2{margin:0 0 8px;color:var(--notice-color);font-size:1.35rem}.notice-dialog p{margin:0;font-size:1rem;line-height:1.45;overflow-wrap:anywhere;white-space:pre-line}.notice-dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.notice-dialog-actions .notice-dialog-button{margin-top:0}.notice-dialog-button{width:100%;min-height:50px;margin-top:20px;font-size:1rem}.billing-panel{display:grid;gap:16px;padding:24px;max-width:1100px}.billing-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.billing-heading h1{margin:2px 0 0}.billing-state,.billing-payment{display:inline-block;padding:4px 10px;border-radius:999px;font-size:13px;font-weight:600;background:#e2e8f0;color:#1e293b}.billing-state.is-trialing{background:#dbeafe;color:#1e40af}.billing-state.is-active,.billing-payment.is-confirmed{background:#dcfce7;color:#166534}.billing-state.is-grace,.billing-payment.is-pending{background:#fef3c7;color:#92400e}.billing-state.is-expired,.billing-state.is-canceled,.billing-payment.is-rejected{background:#fee2e2;color:#991b1b}.billing-alert{display:grid;gap:4px;padding:12px 14px;border-radius:10px;border:1px solid #cbd5e1;background:#f8fafc;margin:0}.billing-alert.is-error{border-color:#fecaca;background:#fef2f2;color:#7f1d1d}.billing-alert.is-warning{border-color:#fde68a;background:#fffbeb;color:#78350f}.billing-alert.is-success{border-color:#bbf7d0;background:#f0fdf4;color:#14532d}.billing-alert.is-info{border-color:#bfdbfe;background:#eff6ff;color:#1e3a8a}.billing-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.billing-card{display:grid;gap:8px;align-content:start;padding:16px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.billing-card h2{margin:0;font-size:16px}.billing-card p{margin:0}.billing-plan-name{font-size:20px}.billing-muted{color:#64748b;font-size:13px}.billing-dates{display:grid;gap:6px;margin:0}.billing-dates div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.billing-dates dt{color:#64748b}.billing-dates dd{margin:0;font-weight:600}.billing-form{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.billing-form .field-group{flex:1 1 260px}.billing-table{width:100%;border-collapse:collapse;font-size:14px}.billing-table th,.billing-table td{padding:8px;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:top}.billing-account{display:grid;gap:6px;padding:12px 14px;border:1px solid #bfdbfe;border-radius:10px;background:#eff6ff;color:#1e3a8a}.billing-account-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.billing-account-label{display:block;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#3b5b9a}.billing-account-holder .billing-account-label{display:inline;margin-right:4px}.billing-account-alias{font-size:20px;letter-spacing:.02em;-webkit-user-select:all;user-select:all;word-break:break-all}.billing-copy-button{min-height:40px}.billing-account-status{min-height:1em;font-size:13px}.billing-account-status:empty{display:none}.billing-receipt-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px}.billing-receipt-ok{font-weight:700}.billing-file-button{position:relative;display:inline-flex;align-items:center;min-height:36px;padding:0 12px;cursor:pointer}.billing-file-button input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;cursor:pointer}.billing-form input[type=file]{padding:6px 0}.billing-documents{white-space:nowrap}.billing-documents .cash-link-button+.cash-link-button{margin-left:10px}.receipt-viewer{display:grid;gap:12px;width:min(820px,94vw);max-height:92vh}.receipt-viewer-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.receipt-viewer-heading h3{margin:0}.receipt-viewer-heading>div{display:flex;gap:8px}.receipt-viewer-heading a.ghost-button{display:inline-flex;align-items:center;text-decoration:none}.receipt-viewer-image{display:block;max-width:100%;max-height:74vh;margin:0 auto;border-radius:8px;object-fit:contain;background:#fff}.receipt-viewer-pdf{width:100%;height:74vh;border:0;border-radius:8px;background:#fff}.billing-blocked-shell{min-height:100vh;background:#f1f5f9;display:grid;justify-items:center;align-content:start;padding:24px 16px}.billing-blocked-actions{display:flex;flex-wrap:wrap;gap:12px;padding:0 24px 24px}.billing-admin{display:grid;gap:16px}.billing-admin-tabs{display:flex;flex-wrap:wrap;gap:8px}.billing-admin-tabs button.is-active{font-weight:700;text-decoration:underline}.billing-admin-form{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:end}.billing-admin-modules{display:flex;flex-wrap:wrap;gap:10px;grid-column:1 / -1}.billing-admin-actions{display:flex;flex-wrap:wrap;gap:8px}.pos-shell{display:flex;min-height:100vh;width:100%;background:linear-gradient(135deg,#f4f7fb,#321842)}.sales-search-panel{min-height:0}.sales-search-hint{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:6px 0 16px;color:var(--pos-muted);font-size:.82rem}.sales-search-hint strong{color:var(--pos-text);font-size:1.05rem}.sales-search-hint kbd{padding:2px 6px;border:1px solid var(--pos-border-strong);border-radius:5px;color:var(--pos-text);background:#ffffff0f;font-family:inherit}.product-search-results{display:flex;flex-direction:column;gap:8px;max-height:520px;overflow-y:auto}.product-search-result{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:16px;width:100%;padding:15px 16px;text-align:left;color:var(--pos-text);background:#ffffff0a;border:1px solid var(--pos-border);border-radius:12px;cursor:pointer;transition:border-color .18s ease,background .18s ease}.product-search-result:hover,.product-search-result:focus-visible,.product-search-result.active{background:#8b3fc71f;border-color:#a855d899;outline:none}.cart-item-price-actions{display:flex;align-items:center;gap:10px}.cart-remove-button{width:28px;height:28px;padding:0;border:1px solid rgba(248,113,113,.35);border-radius:7px;color:#fca5a5;background:#f871711a;font-size:1.15rem;line-height:1}.cart-remove-button:hover,.cart-remove-button:focus-visible{color:#fff;background:#ef4444cc}.product-search-result:disabled{cursor:not-allowed;opacity:.55}.product-search-result-main{display:flex;flex-direction:column;gap:4px;min-width:0}.product-search-result-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-search-result-main small,.product-search-result-stock{color:var(--pos-muted)}.product-search-result-price{color:var(--pos-accent);white-space:nowrap}.product-search-result-action{padding:7px 10px;border-radius:7px;color:#e9d5f5;background:#8b3fc729;font-size:.8rem;font-weight:700;white-space:nowrap}.sidebar{width:260px;background:#101827;color:#e5eefc;padding:28px 20px;display:flex;flex-direction:column;gap:24px}.mobile-topbar,.mobile-menu-close,.mobile-backdrop,.mobile-workspace-tabs{display:none}.qty-control input{width:42px;padding:4px 2px;border:0;background:transparent;color:var(--pos-text);font:inherit;font-weight:700;text-align:center}.qty-control input:focus{outline:2px solid var(--pos-accent);border-radius:4px}.brand-block{display:flex;align-items:center;gap:14px;padding:8px 6px 18px;border-bottom:1px solid rgba(255,255,255,.08)}.brand-block .fix-brand{font-size:62px}.brand-block .brand-logo-mark{display:none;font-size:40px}.nav{display:flex;flex-direction:column;gap:10px}.nav-group{display:grid;gap:4px}.nav-group-heading{font-weight:700}.nav-subitems{display:grid;gap:2px;margin-left:38px}.nav-subitem{border:0;border-left:1px solid rgba(168,85,216,.22);background:transparent;color:#b9aabd;cursor:pointer;font-size:.82rem;padding:7px 10px;text-align:left}.nav-subitem:hover,.nav-subitem.active{border-left-color:#a855d8;color:#fff}.nav-item{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;color:#e9d5f5;padding:12px 14px;border-radius:12px;font-size:.98rem;text-align:left;cursor:pointer;transition:all .2s ease}.nav-item:hover:not(:disabled),.nav-item.active{background:#8b3fc72e;color:#fff;box-shadow:inset 0 0 0 1px #a855d838}.nav-item.disabled{opacity:.5;cursor:not-allowed}.nav-icon{width:24px;text-align:center;opacity:.9}.settings-page{display:flex;flex-direction:column;gap:18px}.account-search{max-width:620px}.customer-debt-label{display:block;margin-top:3px;font-size:.75rem;font-weight:700}.customer-debt-label.debt{color:#fca5a5}.customer-debt-label.paid{color:#6ee7b7}.clickable-row{cursor:pointer}.clickable-row:hover{background:#8b3fc71a}.empty-table-cell{padding:28px 16px!important;color:var(--pos-muted);text-align:center}.movement-detail-modal{max-width:680px}.movement-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.movement-detail-grid>div{display:flex;flex-direction:column;gap:4px;padding:12px;border:1px solid var(--pos-border);border-radius:10px;background:#ffffff0a}.movement-detail-grid span{color:var(--pos-muted);font-size:.78rem}.movement-observation{margin:16px 0 0;padding:12px;border-left:3px solid var(--pos-accent);color:var(--pos-muted)}.settings-header{display:flex;justify-content:space-between;align-items:flex-end;gap:16px}.settings-header h2{margin:0;color:#f5f0f7}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.settings-section{background:#24122f;border:1px solid #563965;border-radius:18px;padding:20px;box-shadow:0 10px 25px #1f375f0d}.settings-section h3{margin:0 0 16px;color:#f5f0f7}.settings-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.settings-card-heading h3{margin-bottom:8px}.settings-card-kicker{margin:0 0 6px;color:var(--pos-accent);font-size:.7rem;font-weight:800;letter-spacing:.12em}.settings-section h4{margin:4px 0 0;color:var(--pos-text)}.settings-ticket-fields,.settings-save-button,.settings-navigation-button{margin-top:18px}.settings-system-info{display:grid;gap:0;margin:4px 0 0}.settings-system-info>div{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--pos-border)}.settings-system-info>div:last-child{border-bottom:0}.settings-system-info dt{color:var(--pos-muted)}.settings-system-info dd{margin:0;color:var(--pos-text);font-weight:650;text-align:right;overflow-wrap:anywhere}.settings-connection-connected{color:#34d399!important}.settings-connection-disconnected{color:#fb7185!important}.settings-theme-preview{display:flex;gap:10px;margin-top:18px}.settings-theme-preview span{width:34px;height:34px;border:1px solid var(--pos-border-strong);border-radius:10px;background:#111827}.settings-theme-preview span:nth-child(2){background:#24122f}.settings-theme-preview span:nth-child(3){background:#8b3fc7}.settings-fields{display:grid;gap:12px}.settings-checks{display:grid;gap:12px;margin-top:14px}.settings-checks label{display:flex;align-items:flex-start;gap:9px;color:#435374;font-size:.92rem}.settings-checks input{margin-top:3px;accent-color:#8b3fc7}.settings-section textarea{min-height:72px;resize:vertical}.settings-message{margin:0;padding:12px 16px;border-radius:12px;background:#e8f8ef;color:#1d7042;font-weight:600}.settings-message.settings-message-error{background:#f43f5e1f;color:#fb7185;border:1px solid rgba(244,63,94,.25)}.settings-message.settings-message-success{background:#34d39921;color:#6ee7b7;border:1px solid rgba(52,211,153,.25)}.users-page{display:flex;flex-direction:column;gap:18px}.user-form{display:flex;flex-direction:column;gap:16px}.permissions-grid{display:grid;gap:10px}.permission-row{display:grid;grid-template-columns:1.2fr repeat(4,minmax(90px,1fr));gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid rgba(148,163,184,.16);color:#435374;font-size:.85rem}.permission-row label{display:flex;gap:5px;align-items:center}.users-page{width:100%;min-width:0}.users-page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.users-page-heading h1{margin:0;color:var(--pos-text);font-size:1.55rem}.users-page-heading p:not(.eyebrow){margin:5px 0 0;color:var(--pos-muted);font-size:.82rem}.users-feedback{margin:0;padding:10px 12px;border:1px solid rgba(192,132,252,.24);border-radius:9px;background:#8b3fc71f;color:#e9d5ff;font-size:.84rem}.users-table-panel{min-width:0;overflow:hidden;border:1px solid var(--pos-border);border-radius:12px;background:#180d20b8}.users-table{min-width:820px}.users-table th{color:#c6b6cf;font-size:.72rem;text-transform:uppercase}.users-table td{vertical-align:middle}.user-status-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:700;white-space:nowrap}.user-status-badge:before{width:6px;height:6px;border-radius:50%;background:currentColor;content:""}.user-status-badge.is-active{background:#34d3991f;color:#6ee7b7}.user-status-badge.is-inactive{background:#94a3b81f;color:#b9aabd}.user-row-actions{display:flex;align-items:center;gap:9px;white-space:nowrap}.users-modal-backdrop{z-index:120}.users-form-modal{display:flex;flex-direction:column;gap:16px;width:min(780px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;padding:22px;border:1px solid rgba(196,181,210,.18);border-radius:16px;background:#180d20;color:var(--pos-text);box-shadow:0 24px 80px #0000007a}.users-form-heading,.user-role-permissions-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.users-form-heading h2,.user-role-permissions-heading h3{margin:0;color:#faf5ff;font-size:1.15rem}.users-form-modal form{display:grid;gap:16px}.users-form-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.users-form-fields .field-group{min-width:0;color:#c6b6cf;font-size:.78rem}.users-form-fields .field-group input,.users-form-fields .field-group select{min-height:42px;border:1px solid rgba(196,181,210,.2);border-radius:8px;background:#24122f;color:var(--pos-text)}.users-form-fields .field-group small{color:var(--pos-muted);font-size:.68rem;line-height:1.4}.user-active-control{display:flex;align-items:center;gap:9px;min-height:42px;color:var(--pos-text);font-size:.82rem}.user-active-control input{width:16px;height:16px;accent-color:#a855d8}.user-role-permissions{display:grid;gap:12px;padding:14px;border:1px solid rgba(196,181,210,.14);border-radius:10px;background:#24122f85}.user-role-permissions-heading{align-items:center}.user-role-permissions-heading p{margin:4px 0 0;color:#c084fc;font-size:.78rem;font-weight:700}.user-role-permissions-heading>span{color:var(--pos-muted);font-size:.68rem}.user-permission-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.user-permission-group{min-width:0;padding:10px;border:1px solid rgba(196,181,210,.1);border-radius:8px;background:#180d2085}.user-permission-group h4{margin:0 0 7px;color:#e9d5ff;font-size:.76rem}.user-permission-item{display:flex;justify-content:space-between;gap:8px;padding:5px 0;color:var(--pos-muted);font-size:.68rem}.user-permission-item strong{flex:0 0 auto;color:#a997b5;font-size:.64rem}.user-permission-item.is-granted strong{color:#6ee7b7}.users-form-actions{margin-top:0}@media (max-width: 700px){.users-page-heading{align-items:stretch;flex-direction:column}.users-page-heading>button{width:100%}.users-form-modal{width:100%;max-height:100dvh;padding:16px;border-right:0;border-bottom:0;border-left:0;border-radius:16px 16px 0 0}.users-form-fields,.user-permission-groups{grid-template-columns:minmax(0,1fr)}.user-role-permissions{padding:10px}.users-form-actions{position:sticky;bottom:-16px;margin:0 -16px -16px;padding:10px 16px max(10px,env(safe-area-inset-bottom));background:#180d20}.users-form-actions button{flex:1}}.sidebar-card{margin-top:auto;background:#ffffff0a;border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:18px 16px;display:flex;flex-direction:column;gap:8px}.sidebar-user-selector{display:flex;flex-direction:column;gap:7px;color:#b9aabd;font-size:.78rem}.sidebar-user-selector select{min-height:38px;border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:7px 9px;background:#18243a;color:#fff}.sidebar-session-user{display:grid;gap:3px;padding:10px 12px;border:1px solid var(--pos-border, rgba(255, 255, 255, .12));border-radius:12px}.sidebar-session-user span{color:var(--pos-muted, #b9aabd);font-size:.72rem;letter-spacing:.04em;text-transform:uppercase}.sidebar-session-user strong{overflow:hidden;color:var(--pos-text, #fff);font-size:.9rem;text-overflow:ellipsis;white-space:nowrap}.sidebar-card p,.sidebar-card span{margin:0;color:#b9aabd}.sidebar-card strong{font-size:1.05rem}.main-panel{flex:1;padding:28px 30px 30px}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:16px}.topbar-heading{min-width:0}.workspace-tabs{display:flex;gap:6px;margin-top:14px;max-width:100%;overflow-x:auto;scrollbar-width:thin}.workspace-tab{flex:0 0 auto;border:1px solid #563965;border-radius:999px;background:#24122f;color:#b9aabd;cursor:pointer;font-size:.84rem;font-weight:700;min-height:38px;padding:8px 14px;white-space:nowrap}.workspace-tab:hover,.workspace-tab.active{border-color:#8b3fc7;background:#321842;color:#a855d8}.eyebrow{margin:0 0 6px;color:#b9aabd;font-size:.75rem;letter-spacing:.12em;text-transform:uppercase}.topbar h1{margin:0;font-size:clamp(2rem,3vw,2.6rem);color:#f5f0f7}.topbar-actions{display:flex;gap:12px;flex-wrap:wrap}.mobile-session-actions{display:none}.ghost-button,.primary-button,.filter-button,.checkout-button,.payment-button,.option-pill,.qty-control button{border:0;border-radius:12px;cursor:pointer;font-weight:600;transition:transform .2s ease,box-shadow .2s ease}.ghost-button,.filter-button{background:#321842;color:#e9d5f5;padding:11px 16px}.primary-button,.checkout-button{background:linear-gradient(135deg,#8b3fc7,#a855d8);color:#fff;box-shadow:0 12px 22px #8b3fc738;padding:11px 18px}.sales-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(340px,420px);gap:22px}.catalog-panel,.cart-panel{background:#ffffffb8;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(148,163,184,.2);border-radius:24px;box-shadow:0 24px 45px #0f172a14}.catalog-panel{padding:22px}.search-row{display:flex;gap:12px;margin-bottom:18px}.search-box{flex:1;background:#24122f;border:none;border-radius:14px;display:flex;align-items:center;gap:10px;padding:0 14px}.search-box span{color:#b9aabd;font-size:1.1rem}.search-box input{background:transparent;border:0;outline:none;width:100%;padding:13px 0;color:#f5f0f7;font-size:.95rem}.product-header-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.product-header-row h3,.cart-header h3,.payment-header h4{margin:0;color:#f5f0f7}.product-header-row span,.payment-header span,.cart-item span,.product-info p,.product-footer-row,.cart-item-main span,.cart-item-footer small{color:#b9aabd}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.empty-products{background:#24122f;border:1px dashed rgba(148,163,184,.5);border-radius:16px;padding:20px 16px;color:#e3d9e8;text-align:center;font-weight:600}.field-error{color:#b42318;font-size:.72rem;line-height:1.4}.input-error{border-color:#b4231873!important;background:#fff7f7!important}.customer-table-panel{background:#ffffffb8;border:1px solid rgba(148,163,184,.2);border-radius:24px;box-shadow:0 24px 45px #0f172a14;padding:18px 16px}.customer-table-wrapper{overflow-x:auto}.customer-table-wrapper table{width:100%;border-collapse:collapse;min-width:700px}.customer-table-wrapper th,.customer-table-wrapper td{text-align:left;padding:12px 10px;border-bottom:1px solid rgba(148,163,184,.18);color:#e3d9e8}.customer-table-wrapper th{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:#b9aabd}.customer-mobile-list{display:none}.customer-card{display:flex;flex-direction:column;gap:12px;padding:14px;border-radius:18px;background:#24122f;border:1px solid rgba(148,163,184,.18)}.customer-card-header,.customer-card-meta,.customer-card-actions{display:flex;justify-content:space-between;gap:12px;align-items:center}.customer-card-header{align-items:flex-start}.customer-card-header strong,.customer-card-meta strong{color:#f5f0f7}.customer-card-header small,.customer-caption{display:block;color:#b9aabd;font-size:.72rem}.customer-card-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.customer-card-meta div{display:flex;flex-direction:column;gap:4px}.customer-card-actions{flex-wrap:wrap;justify-content:flex-start}.customer-detail-panel{background:#ffffffb8;border:1px solid rgba(148,163,184,.2);border-radius:24px;box-shadow:0 24px 45px #0f172a14;padding:22px;display:flex;flex-direction:column;gap:20px}.customer-detail-header{display:flex;justify-content:space-between;align-items:center;gap:16px}.customer-detail-header h3,.customer-history-section h4{margin:0;color:#f5f0f7}.customer-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.customer-info-grid>div{background:linear-gradient(180deg,#24122f,#321842);border:1px solid rgba(148,163,184,.18);border-radius:16px;padding:12px 14px;display:flex;flex-direction:column;gap:6px;min-width:0}.customer-info-grid span{color:#b9aabd;font-size:.72rem;text-transform:uppercase;letter-spacing:.05em}.customer-info-grid strong{color:#f5f0f7;overflow-wrap:anywhere}.customer-history-section{display:flex;flex-direction:column;gap:12px}.customer-history-list{display:flex;flex-direction:column;gap:10px}.history-card{display:flex;flex-direction:column;gap:8px;padding:12px 14px;background:#24122f;border:1px solid rgba(148,163,184,.18);border-radius:14px}.history-card>div{display:flex;justify-content:space-between;gap:12px}.history-card span,.history-card small{color:#b9aabd}.account-page{display:flex;flex-direction:column;gap:24px}.account-table-panel,.account-detail-panel{background:#ffffffb8;border:1px solid rgba(148,163,184,.2);border-radius:24px;box-shadow:0 24px 45px #0f172a14;padding:18px 16px}.account-table-wrapper{overflow-x:auto}.account-table-wrapper table{width:100%;border-collapse:collapse;min-width:760px}.account-table-wrapper th,.account-table-wrapper td{text-align:left;padding:12px 10px;border-bottom:1px solid rgba(148,163,184,.18);color:#e3d9e8}.account-table-wrapper th{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:#b9aabd}.selected-row{background:#321842}.account-detail-panel{display:flex;flex-direction:column;gap:20px}.account-detail-header{display:flex;justify-content:space-between;align-items:center;gap:16px}.account-detail-header h3{margin:0;color:#f5f0f7}.account-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.account-summary-card{background:linear-gradient(180deg,#24122f,#321842);border:1px solid rgba(148,163,184,.18);border-radius:18px;padding:14px 16px;display:flex;flex-direction:column;gap:8px}.account-summary-card span{color:#b9aabd;font-size:.78rem;text-transform:uppercase;letter-spacing:.05em}.account-summary-card strong{color:#f5f0f7;font-size:1.05rem}.amount-positive{color:#0c7a4e;font-weight:700}.amount-negative{color:#b42318;font-weight:700}.cash-difference{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding:12px 14px;border-radius:10px;background:var(--surface-soft, #f4f6f8)}.cash-difference.positive strong{color:#0c7a4e}.cash-difference.negative strong{color:#b42318}.account-mobile-list{display:none}.account-card{display:flex;flex-direction:column;gap:12px;padding:14px;border-radius:18px;background:#24122f;border:1px solid rgba(148,163,184,.18)}.selected-card{border-color:#8b3fc759;box-shadow:inset 0 0 0 1px #8b3fc71f}.payment-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a70;display:flex;align-items:center;justify-content:center;padding:20px;z-index:10}.payment-modal{width:min(100%,560px);background:#fff;border-radius:24px;padding:22px;box-shadow:0 30px 60px #0f172a2e}.payment-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100;display:flex;align-items:center;justify-content:center;padding:20px;background:#0f172a80}.payment-sheet-header{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:16px}.payment-sheet-header h2{margin:2px 0 0;color:#f5f0f7;font-size:1.3rem}.payment-sheet-header>strong{color:#a855d8;font-size:1.2rem;white-space:nowrap}.mobile-back-button{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;color:#a855d8;background:#321842;font-size:1.35rem}.payment-confirm-button{width:100%;min-height:52px;margin-top:18px;font-size:1rem}.quantity-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1150;display:flex;align-items:center;justify-content:center;padding:20px;background:#0f172a85}.quantity-modal{width:min(100%,420px);padding:24px;border-radius:24px;background:#fff;box-shadow:0 30px 60px #0f172a38;text-align:center}.quantity-modal h2{margin:4px 0 18px;color:#f5f0f7;font-size:1.25rem}.quantity-modal p{margin:0 0 18px;color:#b9aabd}.quantity-picker{display:grid;grid-template-columns:52px minmax(80px,1fr) 52px;align-items:center;gap:12px;margin-bottom:22px}.quantity-picker button{min-height:52px;border-radius:14px;color:var(--pos-accent);background:#321842;font-size:1.5rem}.quantity-picker input{width:100%;min-height:52px;border:1px solid var(--pos-border);border-radius:14px;text-align:center;font-size:1.25rem}.quantity-modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quantity-modal-actions button{min-height:48px}.account-payment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.products-page{display:flex;flex-direction:column;gap:20px}.stock-alerts{display:grid;gap:.65rem;margin-bottom:1rem}.stock-alert{display:flex;gap:.75rem;align-items:center;padding:.8rem 1rem;border-radius:.75rem;background:#fff7ed;color:#9a3412}.stock-alert-danger{background:#fef2f2;color:#b91c1c}.stock-value{display:flex;flex-direction:column;gap:2px}.stock-value small{font-size:.72rem;font-weight:700}.stock-ok small{color:#6ee7b7}.stock-low small{color:#fbbf24}.stock-empty small{color:#fca5a5}.kardex-page{display:flex;flex-direction:column;gap:20px}.kardex-header{display:flex;justify-content:space-between;align-items:flex-end}.kardex-header h1{margin:0 0 6px;color:var(--pos-text)}.kardex-header span{color:var(--pos-muted)}.kardex-filters{display:grid;grid-template-columns:minmax(240px,2fr) repeat(3,minmax(130px,1fr)) auto;gap:12px;align-items:end;padding:16px;border:1px solid var(--pos-border);border-radius:16px;background:#111827db}.kardex-clear-button{min-height:44px}.kardex-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.kardex-summary>div{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border:1px solid var(--pos-border);border-radius:14px;background:#111827d1}.kardex-summary span{color:var(--pos-muted);font-size:.78rem}.kardex-summary strong{color:var(--pos-text);font-size:1.1rem}.kardex-type{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:.75rem;font-weight:700}.kardex-type.entry{color:#6ee7b7;background:#10b98124}.kardex-type.exit{color:#fca5a5;background:#ef444424}.kardex-table-panel .table-wrapper{overflow-x:auto}.dashboard-page{display:flex;flex-direction:column;gap:20px}.dashboard-heading,.dashboard-card-header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.dashboard-heading h2{margin:0 0 6px;color:var(--pos-text);font-size:2rem}.dashboard-heading span,.dashboard-card-header span{color:var(--pos-muted)}.dashboard-filters{display:flex;gap:12px;align-items:end;padding:14px 16px;border:1px solid var(--pos-border);border-radius:14px;background:#111827d6}.dashboard-filters .field-group{min-width:180px}.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.dashboard-metric,.dashboard-card{padding:18px;border:1px solid var(--pos-border);border-radius:18px;background:#111827e0;box-shadow:0 18px 36px #0000001f}.dashboard-metric{display:flex;flex-direction:column;gap:7px}.dashboard-metric span,.dashboard-metric small{color:var(--pos-muted)}.dashboard-metric strong{color:var(--pos-text);font-size:1.55rem}.dashboard-metric.accent strong{color:var(--pos-accent)}.dashboard-metric.warning strong{color:#fbbf24}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,1fr);gap:16px}.dashboard-card-header{align-items:flex-start;margin-bottom:18px}.dashboard-card-header h3{margin:0 0 4px;color:var(--pos-text)}.dashboard-card-header strong{color:var(--pos-accent);font-size:1.15rem}.dashboard-chart{display:flex;align-items:stretch;gap:10px;height:220px;padding-top:12px}.dashboard-chart-column{display:flex;flex:1;flex-direction:column;justify-content:flex-end;gap:8px;min-width:0;text-align:center}.dashboard-bar-wrap{display:flex;align-items:flex-end;height:180px;border-bottom:1px solid var(--pos-border)}.dashboard-bar{width:100%;min-height:4px;border-radius:7px 7px 2px 2px;background:linear-gradient(180deg,#a855d8,#6d28a8)}.dashboard-chart-column small{color:var(--pos-muted);font-size:.7rem}.dashboard-list,.dashboard-recent-list{display:flex;flex-direction:column;gap:10px}.dashboard-list-row,.dashboard-recent-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--pos-border)}.dashboard-list-row:last-child,.dashboard-recent-row:last-child{border-bottom:0}.dashboard-list-row div,.dashboard-recent-row div{display:flex;flex-direction:column;gap:3px;min-width:0}.dashboard-list-row small,.dashboard-recent-row small{color:var(--pos-muted)}.dashboard-list-row strong,.dashboard-recent-row strong{overflow:hidden;color:var(--pos-text);text-overflow:ellipsis;white-space:nowrap}.dashboard-warning{color:#fbbf24}.dashboard-danger{color:#fca5a5}.dashboard-recent-row b{color:var(--pos-text);white-space:nowrap}.dashboard-recent-dot{width:9px;height:9px;flex:0 0 auto;border-radius:50%;background:var(--pos-accent);box-shadow:0 0 0 4px #a855d81f}.reports-page{display:flex;flex-direction:column;gap:20px}.reports-header,.reports-custom-range,.report-metrics,.report-list{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.reports-header{justify-content:space-between}.reports-custom-range{align-items:flex-end}.reports-custom-range .field-group{min-width:220px}.reports-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.report-card,.report-section{background:#ffffffb8;border:1px solid rgba(148,163,184,.2);border-radius:20px;box-shadow:0 18px 36px #0f172a0f}.report-card{padding:18px}.report-card span,.report-card strong{display:block}.report-card span{color:#b9aabd;font-size:.85rem}.report-card strong{margin-top:8px;color:#f5f0f7;font-size:1.35rem}.report-section{padding:20px}.report-section h3{margin:0 0 14px;color:#f5f0f7}.report-section h4{margin:20px 0 10px;color:#e3d9e8}.report-metrics{margin-bottom:16px;color:#e3d9e8;font-size:.9rem}.report-list{flex-direction:column;align-items:stretch}.report-list>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid rgba(148,163,184,.16)}.products-toolbar{display:flex;align-items:center;justify-content:flex-start}.product-search{width:min(100%,620px)}.product-form-panel,.product-table-panel{background:#ffffffb8;border:1px solid rgba(148,163,184,.2);border-radius:24px;box-shadow:0 24px 45px #0f172a14}.product-form-panel{padding:22px}.form-header-row,.table-header-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.form-header-row h3,.table-header-row h3{margin:0;color:#f5f0f7}.product-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field-group{display:flex;flex-direction:column;gap:8px;color:#e3d9e8;font-size:.9rem;font-weight:600}.field-group input,.field-group select{width:100%;min-height:42px;border:1px solid rgba(148,163,184,.26);border-radius:12px;padding:10px 12px;background:#24122f;color:#f5f0f7}.checkbox-group{display:flex;align-items:center;gap:10px;color:#e3d9e8;font-weight:600;min-height:42px;align-self:end}.checkbox-group input{width:18px;height:18px}.form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:18px}.product-table-panel{padding:18px 16px}.table-wrapper{overflow-x:auto}.table-wrapper table{width:100%;border-collapse:collapse;min-width:900px}.table-wrapper th,.table-wrapper td{text-align:left;padding:12px 10px;border-bottom:1px solid rgba(148,163,184,.18);color:#e3d9e8}.table-wrapper th{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:#b9aabd}.status-pill{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;font-size:.72rem;font-weight:700}.status-pill.active{background:#e8fff2;color:#147d3b}.status-pill.inactive{background:#321842;color:#495e8f}.actions-cell{display:flex;gap:8px;flex-wrap:wrap}.table-button{border:0;border-radius:10px;padding:8px 10px;font-weight:600;cursor:pointer}.table-button.small{min-height:34px}.table-button.secondary{background:#321842;color:#a855d8}.table-button.danger{background:#ffe9ea;color:#b42318}.product-card{background:linear-gradient(180deg,#24122f,#321842);border:1px solid rgba(148,163,184,.18);border-radius:18px;overflow:hidden;box-shadow:0 10px 24px #0f172a0a}.product-image{height:94px;background:linear-gradient(135deg,#dfe9ff,#d2f7ef);position:relative;display:flex;align-items:flex-start;justify-content:flex-end;padding:10px}.product-image span{background:#101827e6;color:#fff;border-radius:999px;padding:6px 8px;font-size:.65rem;letter-spacing:.04em}.product-info{padding:14px 14px 16px}.product-meta-row,.product-footer-row,.cart-item-main,.cart-item-footer,.summary-row,.payment-header{display:flex;justify-content:space-between;align-items:center}.product-meta-row h4{margin:0;font-size:1rem;color:#1f2937}.product-meta-row strong{color:#a855d8}.product-info p{margin:12px 0 10px}.product-footer-row{font-size:.72rem}.cart-panel{padding:20px 18px 18px;display:flex;flex-direction:column;gap:18px}.cart-header{display:flex;justify-content:space-between;align-items:center}.cart-badge{background:#321842;color:#a855d8;border-radius:999px;padding:7px 10px;font-size:.75rem;font-weight:700}.cart-list{display:flex;flex-direction:column;gap:14px}.cart-table-header{display:none}.cart-item{background:#24122f;border:1px solid rgba(148,163,184,.18);border-radius:16px;padding:12px 12px 10px}.cart-item-main{margin-bottom:12px}.cart-item-main h4{margin:0 0 4px;color:#1f2937;font-size:.97rem}.qty-control{display:inline-flex;align-items:center;gap:10px;background:#fff;border:1px solid rgba(148,163,184,.2);border-radius:10px;padding:5px 8px;color:#f5f0f7}.qty-control button{width:24px;height:24px;background:#321842;color:#a855d8;font-size:1.1rem}.totals-panel{background:#24122f;border:1px solid rgba(148,163,184,.2);border-radius:16px;padding:16px 14px;display:flex;flex-direction:column;gap:12px}.cart-discount-breakdown{display:contents}.cart-desktop-only-breakdown{display:none}.summary-row span,.summary-row strong{color:#e3d9e8}.total-row{padding-top:10px;border-top:1px solid rgba(148,163,184,.2)}.total-row strong{font-size:1.2rem;color:#f5f0f7}.payment-panel{background:#24122f;border:1px solid rgba(148,163,184,.2);border-radius:16px;padding:14px}.payment-options{margin-top:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.payment-button{background:#fff;color:#32405e;border:1px solid rgba(148,163,184,.18);min-height:54px;padding:10px 8px;border-radius:12px}.payment-button.selected{background:#321842;border-color:#8b3fc766;color:#a855d8;box-shadow:inset 0 0 0 1px #8b3fc71f}.payment-suboptions{margin-top:14px;display:flex;flex-direction:column;gap:12px}.digital-method-group{padding-top:8px}.digital-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.digital-method-button{min-height:42px}.inline-option-group{display:flex;flex-direction:column;gap:8px;padding:10px 0 0;border-top:1px solid rgba(148,163,184,.18)}.inline-option-group span{color:#e3d9e8;font-size:.82rem;font-weight:700;letter-spacing:.03em}.option-pills{display:flex;flex-wrap:wrap;gap:8px}.option-pill{background:#fff;color:#32405e;border:1px solid rgba(148,163,184,.18);padding:9px 12px;min-height:40px}.option-pill.selected{background:#321842;border-color:#8b3fc759;color:#a855d8}.mixed-group{padding-top:12px}.manual-mode-switch{display:flex;align-items:center;gap:14px;width:100%;margin-bottom:12px;padding:14px 16px;border:1px solid var(--pos-border-strong, rgba(210, 190, 220, .28));border-radius:16px;background:#1118272e;color:var(--pos-text, #f5f0f7);text-align:left;cursor:pointer}.manual-mode-switch:focus-visible{outline:2px solid var(--pos-accent, #a855d8);outline-offset:2px}.manual-mode-icon{display:inline-flex;flex:0 0 28px;color:var(--pos-text, #f5f0f7)}.manual-mode-icon svg{width:28px;height:28px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.manual-mode-text{display:grid;flex:1 1 auto;gap:2px;min-width:0}.manual-mode-text strong{font-size:.9rem;letter-spacing:.05em;text-transform:uppercase}.manual-mode-text small{color:var(--pos-muted, #b9aabd);font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;overflow-wrap:anywhere}.manual-mode-track{position:relative;flex:0 0 52px;height:30px;border-radius:999px;background:#94a3b859;transition:background .15s ease}.manual-mode-thumb{position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000059;transition:transform .15s ease}.manual-mode-switch.on{border-color:var(--pos-accent, #a855d8)}.manual-mode-switch.on .manual-mode-track{background:var(--pos-accent, #a855d8)}.manual-mode-switch.on .manual-mode-thumb{transform:translate(22px)}.payment-debt-warning{margin:10px 0 0;color:var(--pos-danger, #fb7185);font-size:.85rem}@media (max-width: 420px){.manual-mode-switch{gap:10px;padding:12px}.manual-mode-icon{flex-basis:22px}.manual-mode-icon svg{width:22px;height:22px}}.checkout-button{width:100%;padding:14px 20px;font-size:1rem}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(139,63,199,.28);outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.55;transform:none;box-shadow:none}button:active:not(:disabled){transform:translateY(0)}.danger-button{border:0;border-radius:12px;padding:11px 16px;background:#fff0f0;color:#b42318;font-weight:700;cursor:pointer}.settings-help{margin:-4px 0 16px;color:#b9aabd;font-size:.86rem;line-height:1.5}.settings-section .topbar-actions{align-items:stretch}.settings-section .topbar-actions button{flex:1}.table-wrapper tbody tr:hover,.customer-table-wrapper tbody tr:hover,.account-table-wrapper tbody tr:hover{background:#edf3ffa6}.payment-modal{max-height:min(720px,calc(100vh - 40px));max-height:min(720px,calc(100dvh - 40px));overflow-y:auto}.empty-products{line-height:1.5}button:hover{transform:translateY(-1px)}@media (max-width: 980px){.sales-grid{grid-template-columns:1fr}.sidebar{width:220px}.reports-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-grid{grid-template-columns:1fr}}@media (max-width: 760px){.sales-grid{display:flex;flex-direction:column;gap:14px}.sales-customer-field{order:-1;padding:14px;border-radius:16px;background:#24122f;box-shadow:0 8px 22px #0f172a0f}.sales-customer-field select{min-height:48px;font-size:1rem}.sales-search-panel{min-height:0}.catalog-panel,.cart-panel{padding:14px;border-radius:18px}.search-box input{min-height:48px;font-size:1rem}.product-search-results{max-height:none}.product-search-result{min-height:76px;padding:14px}.cart-panel{order:1}.cart-item{padding:14px 0}.cart-item-footer{align-items:center}.qty-control button{width:44px;height:44px}.qty-control input{width:44px;min-height:44px;font-size:1rem}.cart-remove-button{width:44px;height:44px}.checkout-button{position:sticky;bottom:max(8px,env(safe-area-inset-bottom));z-index:2;width:100%;min-height:56px;margin-top:12px;font-size:1.05rem}.payment-modal-overlay{align-items:flex-end;padding:0}.payment-sheet{width:100%;max-height:calc(100dvh - env(safe-area-inset-top));overflow-y:auto;border-radius:22px 22px 0 0;padding:18px max(16px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.payment-sheet .payment-options{grid-template-columns:repeat(3,minmax(0,1fr))}.quantity-modal-overlay{align-items:flex-end;padding:0}.quantity-modal{width:100%;border-radius:22px 22px 0 0;padding:22px max(16px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));max-height:calc(100vh - 12px);max-height:calc(100dvh - 12px);overflow-y:auto;overscroll-behavior:contain}body{overflow-x:hidden}}.sales-history-panel{display:flex;flex-direction:column;gap:16px;padding:22px;background:#111827e6;border:1px solid var(--pos-border);border-radius:18px}.sales-history-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.sales-history-heading h2{margin:0;color:var(--pos-text);font-size:1.35rem}.sales-history-heading-actions{display:flex;align-items:center;gap:12px}.sales-history-heading-actions>strong{color:var(--pos-accent);white-space:nowrap}.sales-history-filter-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 12px;border:1px solid var(--pos-border-strong);border-radius:10px;background:#8b3fc71f;color:var(--pos-text);font:inherit;font-size:.82rem;font-weight:700;text-transform:uppercase;cursor:pointer}.sales-history-filter-toggle:hover,.sales-history-filter-toggle.has-active-filters{border-color:var(--pos-accent);background:#8b3fc738}.sales-history-filter-toggle:focus-visible{outline:2px solid var(--pos-accent);outline-offset:2px}.sales-history-filter-toggle svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .16s ease}.sales-history-filter-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.sales-history-filter-count{display:inline-grid;min-width:20px;height:20px;place-items:center;padding:0 5px;border-radius:999px;background:var(--pos-accent);color:#180d20;font-size:.72rem}.sales-history-filters{display:grid;grid-template-columns:1.6fr repeat(4,minmax(0,1fr));gap:10px}.sales-history-filters input,.sales-history-filters select{width:100%;min-height:44px;background:#0d1628;border:1px solid var(--pos-border-strong);border-radius:10px;color:var(--pos-text);padding:0 12px}.sales-history-filters input::placeholder{color:var(--pos-muted)}.sales-history-list{display:grid;gap:10px}.sale-history-card{display:grid;grid-template-columns:1.25fr 1.25fr 1fr auto auto auto;align-items:center;gap:14px;padding:14px;background:#172033;border:1px solid var(--pos-border);border-radius:14px}.sale-history-card>div{display:flex;flex-direction:column;gap:3px;min-width:0}.sale-history-card span,.sale-detail-grid span,.related-presale span{color:var(--pos-muted);font-size:.78rem}.sale-history-total{color:var(--pos-accent);white-space:nowrap}.sale-status{display:inline-flex;justify-content:center;border-radius:999px;padding:6px 9px;font-size:.72rem!important;font-weight:700;white-space:nowrap}.sale-status.paid{background:#34d39924;color:#6ee7b7}.sale-status.pending{background:#f59e0b24;color:#fbbf24}.sale-detail-modal{max-width:650px}.sale-detail-modal h3{margin:0;color:var(--pos-text)}.sale-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.sale-detail-grid>div{display:flex;flex-direction:column;gap:4px;padding:10px;background:#172033;border:1px solid var(--pos-border);border-radius:10px}.sale-detail-items{display:grid;gap:8px;margin:14px 0}.sale-detail-items>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--pos-border)}.related-presale{display:flex;align-items:center;gap:12px;margin-top:16px;padding:12px;background:#8b3fc71a;border:1px solid rgba(168,85,216,.2);border-radius:10px}.related-presale strong{color:#e9d5f5}.related-presale .table-button{margin-left:auto}@media (max-width: 1100px){.sales-history-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.sales-history-filters input[type=search]{grid-column:1 / -1}.sale-history-card{grid-template-columns:1fr 1fr auto}.sale-history-card .sale-status,.sale-history-card>button{justify-self:start}}@media (max-width: 760px){.sales-history-panel{padding:16px}.sales-history-heading{flex-direction:column}.sales-history-heading-actions{width:100%;justify-content:space-between}.sales-history-filters{grid-template-columns:1fr}.sales-history-filters input[type=search]{grid-column:auto}.sale-history-card{grid-template-columns:1fr 1fr}.sale-history-card .sale-history-total,.sale-history-card .sale-status,.sale-history-card>button{justify-self:start}.sale-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.related-presale{flex-wrap:wrap}.related-presale .table-button{width:100%;margin-left:0}}:root{--pos-bg: #100914;--pos-surface: #180d20;--pos-surface-raised: #24122f;--pos-surface-soft: #321842;--pos-border: rgba(210, 190, 220, .16);--pos-border-strong: rgba(210, 190, 220, .28);--pos-text: #f5f0f7;--pos-muted: #b9aabd;--pos-accent: #a855d8;--pos-accent-strong: #6d28a8;--pos-accent-hover: #8b3fc7;--pos-success: #34d399;--pos-danger: #fb7185}body,.pos-shell{background:radial-gradient(circle at 15% -10%,#24122f 0,transparent 36%),var(--pos-bg);color:var(--pos-text)}.sidebar{width:248px;background:#180d20fa;border-right:1px solid var(--pos-border);box-shadow:18px 0 45px #0003}.brand-block{border-bottom-color:var(--pos-border)}.eyebrow,.product-header-row span,.payment-header span,.cart-item span,.product-info p,.product-footer-row,.cart-item-main span,.cart-item-footer small,.settings-help,.reports-metrics,.sidebar-card p,.sidebar-card span{color:var(--pos-muted)}.nav-item{color:#b9aabd}.nav-item:hover:not(:disabled),.nav-item.active{background:#8b3fc729;color:#f8fafc;box-shadow:inset 3px 0 0 var(--pos-accent)}.main-panel{padding:30px 34px 36px}.topbar h1,.settings-header h2,.product-header-row h3,.cart-header h3,.payment-header h4,.customer-detail-header h3,.customer-history-section h4,.account-detail-header h3,.form-header-row h3,.table-header-row h3,.report-section h3,.report-section h4,.settings-section h3,.product-meta-row h4,.cart-item-main h4{color:var(--pos-text)}.topbar h1{letter-spacing:-.03em}.ghost-button,.filter-button{background:#1b2940;color:#e9d5f5;border:1px solid var(--pos-border)}.primary-button,.checkout-button{background:linear-gradient(135deg,#6d28a8,#8b3fc7);box-shadow:0 12px 28px #6d28a83d}.catalog-panel,.cart-panel,.customer-table-panel,.customer-detail-panel,.account-table-panel,.account-detail-panel,.product-form-panel,.product-table-panel,.report-card,.report-section,.settings-section{background:#111827e6;border-color:var(--pos-border);box-shadow:0 20px 45px #0000002e}.catalog-panel,.cart-panel,.product-form-panel,.product-table-panel,.customer-detail-panel,.account-detail-panel,.report-section,.settings-section{border-radius:18px}.search-box,.field-group input,.field-group select,.field-group textarea,.sidebar-user-selector select{background:#0d1628;border-color:var(--pos-border-strong);color:var(--pos-text)}.search-box input,.field-group input::placeholder{color:var(--pos-muted)}.product-card,.customer-card,.account-card,.history-card,.cart-item,.customer-info-grid>div,.account-summary-card{background:linear-gradient(180deg,#172033,#111827);border-color:var(--pos-border);box-shadow:none}.product-image{background:linear-gradient(135deg,#6d28a8,#321842)}.product-meta-row strong,.total-row strong{color:var(--pos-accent)}.cart-badge,.qty-control button,.payment-button.selected,.option-pill.selected{background:#8b3fc72e;color:#e9d5f5;border-color:#a855d873}.qty-control,.payment-panel,.totals-panel{background:#0d1628;border-color:var(--pos-border)}.summary-row span,.summary-row strong,.inline-option-group span,.field-group,.settings-checks label,.customer-info-grid strong,.account-summary-card strong{color:#d1d5db}.payment-button,.option-pill{background:#172033;color:#d1d5db;border-color:var(--pos-border)}.table-wrapper th,.table-wrapper td,.customer-table-wrapper th,.customer-table-wrapper td,.account-table-wrapper th,.account-table-wrapper td{border-bottom-color:var(--pos-border);color:#cbd5e1}.table-wrapper th,.customer-table-wrapper th,.account-table-wrapper th{color:var(--pos-muted);background:#0d1628b3}.table-wrapper tbody tr:hover,.customer-table-wrapper tbody tr:hover,.account-table-wrapper tbody tr:hover,.selected-row{background:#8b3fc71a}.status-pill.active{background:#34d39924;color:var(--pos-success)}.status-pill.inactive{background:#94a3b824;color:#cbd5e1}.amount-positive{color:var(--pos-success)}.amount-negative{color:var(--pos-danger)}.stock-alert{background:#f59e0b1f;color:#fbbf24;border:1px solid rgba(245,158,11,.2)}.stock-alert-danger{background:#f43f5e1f;color:#fb7185;border-color:#f43f5e33}.settings-message{background:#34d39921;color:#6ee7b7;border:1px solid rgba(52,211,153,.25)}.empty-products{background:#111827b8;border-color:var(--pos-border-strong);color:var(--pos-muted)}.payment-modal-backdrop{background:#020617c7}.payment-modal{background:#111827;border:1px solid var(--pos-border-strong);color:var(--pos-text)}.danger-button{background:#f43f5e21;color:#fda4af;border:1px solid rgba(244,63,94,.22)}@media (max-width: 760px){.sidebar{border-right:0;border-bottom:1px solid var(--pos-border);padding:18px 16px 20px}.main-panel{padding:20px 14px 28px}.topbar h1{font-size:1.85rem}.catalog-panel,.cart-panel{border-radius:16px}}@media (max-width: 760px){.pos-shell{flex-direction:column}.sidebar{position:fixed;inset:0 auto 0 0;z-index:1001;width:min(88vw,360px);height:100dvh;padding:max(18px,env(safe-area-inset-top)) 16px max(20px,env(safe-area-inset-bottom));overflow-y:auto;transform:translate(-105%);transition:transform .22s ease;box-shadow:18px 0 40px #0f172a33}.sidebar.mobile-open{transform:translate(0)}.mobile-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;width:100%;height:100%;border:0;background:#0f172a75}.mobile-menu-close{display:grid;place-items:center;margin-left:auto;width:44px;height:44px;border-radius:12px;color:#e9d5f5;background:#ffffff1a;font-size:1.8rem}.nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.nav-group{min-width:0}.nav-group-heading{min-height:46px;padding:10px}.nav-subitems{margin-left:10px}.main-panel{padding:max(18px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.topbar{flex-direction:column;align-items:flex-start;gap:14px}.topbar>.topbar-heading,.topbar>.topbar-actions{display:none}.mobile-session-actions{display:flex;justify-content:flex-end;width:100%}.mobile-session-actions button{min-height:40px}.mobile-topbar{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;width:100%;min-height:44px;color:#f5f0f7;text-align:center}.mobile-topbar.has-platform-admin{grid-template-columns:44px 1fr 40px 44px}.mobile-workspace-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;border-bottom:1px solid var(--pos-border)}.mobile-workspace-tabs .workspace-tab{min-height:48px;border-bottom:3px solid transparent;border-radius:0;font-size:.82rem;font-weight:800;letter-spacing:.08em}.mobile-workspace-tabs .workspace-tab.active{color:var(--pos-accent);border-bottom-color:var(--pos-accent)}.mobile-topbar strong{letter-spacing:.12em;font-size:.82rem}.mobile-menu-button,.mobile-settings-button,.mobile-admin-button{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;color:#a855d8;background:#321842;font-size:1.35rem}.mobile-admin-button{width:38px;height:38px;border-radius:10px;color:#c6f36a;background:#26321a;font-size:.9rem;font-weight:800}.workspace-tabs{margin-top:12px;padding-bottom:2px}.topbar-actions button{flex:1;min-height:44px}.nav-item,.nav-subitem,.workspace-tab,.filter-button,.table-button{min-height:44px}.settings-header{align-items:stretch;flex-direction:column}.search-row{flex-direction:column}.product-grid,.product-form-grid,.reports-summary-grid{grid-template-columns:1fr}.reports-header,.customer-detail-header{align-items:flex-start;flex-direction:column}.customer-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-summary-grid{grid-template-columns:1fr}.customer-table-wrapper,.account-table-wrapper{display:none}.customer-mobile-list,.account-mobile-list{display:flex;flex-direction:column;gap:12px}.customer-info-grid,.payment-options{grid-template-columns:1fr}.payment-modal-backdrop{align-items:flex-start;padding:12px;overflow-y:auto}.payment-modal{width:100%;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:18px 16px;border-radius:18px}.option-pills{width:100%}.payment-button,.option-pill,.checkout-button,.ghost-button,.primary-button,.filter-button,.table-button{min-height:46px}.settings-section .topbar-actions{flex-direction:column}.settings-section .topbar-actions button{width:100%}}.settings-readonly .settings-editable{pointer-events:none;opacity:.72}.settings-sensitive{border-color:#f8717147}.settings-sensitive h3{color:#fca5a5}.receipt-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:flex;align-items:center;justify-content:center;padding:24px;overflow:auto;background:#020617d1}.receipt-dialog{width:min(100%,480px)}.receipt-actions{display:flex;justify-content:flex-end;gap:10px;margin-bottom:12px}.receipt-paper{padding:28px 30px;color:#172033;background:#24122f;box-shadow:0 22px 60px #00000059;font-family:Arial,sans-serif}.receipt-paper h1{margin:0;color:#111827;font-size:1.45rem;text-align:center}.receipt-muted,.receipt-business-data,.receipt-heading,.receipt-customer,.receipt-reference,.receipt-footer{color:#4b5563;font-size:.78rem;text-align:center}.receipt-business-data,.receipt-customer{display:flex;flex-direction:column;gap:3px;margin-top:8px}.receipt-rule{margin:16px 0;border-top:1px dashed #9ca3af}.receipt-heading{display:flex;flex-direction:column;gap:4px}.receipt-heading strong{color:#111827;font-size:.9rem}.receipt-items{margin-top:18px}.receipt-item,.receipt-totals>div,.receipt-payment>div{display:flex;justify-content:space-between;gap:16px;padding:6px 0;font-size:.82rem}.receipt-item span{display:flex;flex-direction:column}.receipt-item small{color:#6b7280;margin-top:2px}.receipt-totals,.receipt-payment{margin-top:12px;border-top:1px solid #d1d5db}.receipt-total{color:#111827;font-size:1.05rem!important}.receipt-payment strong,.receipt-total strong{font-weight:800}.receipt-reference{margin:18px 0 0;padding-top:10px;border-top:1px dashed #9ca3af}.receipt-footer{margin:22px 0 0}@media print{body *{visibility:hidden!important}.receipt-paper,.receipt-paper *{visibility:visible!important}.receipt-backdrop{position:static;display:block;padding:0;background:#24122f}.receipt-dialog{width:100%}.receipt-paper{width:80mm;margin:0;box-shadow:none}.no-print{display:none!important}@page{margin:0}}@media (max-width: 520px){.nav{grid-template-columns:1fr}.nav-item{min-width:0}}.sales-grid{align-items:start}.catalog-panel{min-width:0}.search-row{position:sticky;top:0;z-index:2;padding-bottom:4px;background:#111827f5}.search-box input{min-height:48px}.reports-page .page-subtitle{margin:6px 0 0;color:var(--pos-muted)}.reports-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px;background:var(--pos-surface);border:1px solid var(--pos-border);border-radius:16px}.reports-filters .field-group{min-width:0}.reports-chart-grid,.reports-two-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.report-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.report-section-heading h3{margin:0 0 4px;color:var(--pos-text)}.report-section-heading span{color:var(--pos-muted);font-size:.84rem}.report-section-heading>strong{color:var(--pos-accent);font-size:1.1rem}.report-bars{min-height:210px;display:flex;align-items:flex-end;justify-content:center;gap:10px;padding:10px 4px 0;border-bottom:1px solid var(--pos-border)}.report-bar-column{min-width:38px;display:flex;flex:1;max-width:70px;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px;height:195px}.report-bar{width:100%;min-height:8px;border-radius:7px 7px 2px 2px;background:linear-gradient(180deg,#a855d8,#6d28a8)}.report-bar-secondary{background:linear-gradient(180deg,#34d399,#059669)}.report-bar-value{color:var(--pos-muted);font-size:.68rem;white-space:nowrap;transform:rotate(-38deg);transform-origin:center;margin-bottom:3px}.report-bar-column small{color:var(--pos-muted);font-size:.7rem;white-space:nowrap}.report-detail{margin-top:12px;border-top:1px solid var(--pos-border)}.report-detail summary{display:flex;cursor:pointer;justify-content:space-between;padding:13px 0;color:var(--pos-text);font-weight:700;list-style:none}.report-detail summary::-webkit-details-marker{display:none}.report-detail summary span{color:var(--pos-accent);font-size:.8rem;font-weight:600}.report-detail[open] summary span{color:var(--pos-muted)}.ranked-list{display:flex;flex-direction:column;gap:14px}.ranked-row{display:grid;grid-template-columns:24px 1fr;gap:10px;align-items:start}.ranked-row>b{color:var(--pos-accent);font-size:1.1rem}.ranked-row strong,.ranked-row small{display:block}.ranked-row small{margin-top:3px;color:var(--pos-muted)}.ranked-track{height:5px;margin-top:8px;overflow:hidden;border-radius:5px;background:var(--pos-border)}.ranked-track i{display:block;height:100%;border-radius:inherit;background:var(--pos-accent)}.amount-positive{color:#34d399!important}.amount-negative{color:#f87171!important}@media (max-width: 900px){.reports-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.reports-chart-grid,.reports-two-columns{grid-template-columns:1fr}}@media (max-width: 600px){.reports-filters{grid-template-columns:1fr}.report-bars{gap:5px}.report-bar-value{display:none}}.filter-button{min-width:88px}.product-card{cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.product-card:hover,.product-card:focus-within{border-color:#a855d88c;box-shadow:0 12px 28px #0000003d;transform:translateY(-2px)}.product-card.low-stock{border-color:#f59e0b6b}.product-card.out-of-stock{opacity:.62}.product-card.out-of-stock .product-image span{background:#f43f5ed1}.product-card .product-image span{font-weight:700}.sales-customer-field{grid-column:1;max-width:620px;padding:14px 16px;background:#111827d1;border:1px solid var(--pos-border);border-radius:14px}.sales-customer-field select{min-height:44px}.cart-header{align-items:flex-start;gap:12px}.cart-badge{white-space:nowrap}.total-row strong{font-size:1.55rem}.payment-header{gap:12px}.payment-header h4{margin-bottom:2px}.payment-total{color:var(--pos-accent);font-size:1.15rem;white-space:nowrap}.payment-options{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:64px}.payment-button-icon{font-size:1.05rem;color:var(--pos-accent)}.selected-method-label{color:#e9d5f5}.mixed-amounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mixed-card{display:grid;gap:8px;padding:12px;border-radius:14px;border:1px solid rgba(148,163,184,.2);background:#1118272e}.mixed-card>span{color:#f5f0f7;font-size:.82rem;letter-spacing:.05em;text-transform:uppercase}.mixed-card input{min-height:46px}.digital-methods.compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:8px}.payment-summary{display:grid;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid var(--pos-border)}.payment-summary>div{display:flex;justify-content:space-between;align-items:center;color:var(--pos-muted);font-size:.84rem}.payment-summary strong{color:var(--pos-text)}.payment-summary .change-row strong,.payment-summary .paid-row strong{color:var(--pos-success)}.payment-summary .pending-row strong{color:#fbbf24}.payment-summary .payment-summary-total{margin-bottom:3px;padding:12px 14px;border:1px solid rgba(196,125,255,.38);border-radius:12px;background:linear-gradient(120deg,#7e31b040,#5c2b821f);color:var(--pos-text);font-size:1rem}.payment-summary .payment-summary-total strong{color:#f0d5ff;font-size:1.35rem;font-weight:800}.sale-review{display:grid;gap:14px;margin-top:16px;padding:18px;border:1px solid var(--pos-border);border-radius:16px;background:#21132c}.sale-review-heading h3{margin:4px 0 0}.sale-review dl{display:grid;gap:0;margin:0}.sale-review dl>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--pos-border)}.sale-review dt{color:var(--pos-muted)}.sale-review dd{margin:0;text-align:right;font-weight:650}.sale-review .sale-review-total{border-bottom:0;font-size:1.1rem}.sale-review .sale-review-total dd{color:#e9c4ff;font-size:1.25rem}.sale-review-back{width:100%;min-height:46px}.sale-message{margin:0;padding:10px 12px;border-radius:10px;font-size:.82rem;line-height:1.4}.sale-message.field-error{background:#f43f5e1f;color:#fda4af;border:1px solid rgba(244,63,94,.24)}.success-message{background:#34d3991f;color:#6ee7b7;border:1px solid rgba(52,211,153,.24)}.checkout-button:disabled{background:#263248;color:#7f8ca3}@media (max-width: 980px){.payment-options{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 760px){.dashboard-heading,.dashboard-card-header{align-items:flex-start;flex-direction:column}.dashboard-filters{flex-wrap:wrap}.dashboard-filters .field-group{min-width:0;flex:1 1 140px}.dashboard-metrics,.dashboard-grid{grid-template-columns:1fr}.kardex-filters{grid-template-columns:1fr 1fr}.kardex-filters .field-group:first-child,.kardex-clear-button{grid-column:1 / -1}.kardex-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.search-row{position:static;background:transparent}.sales-customer-field{max-width:none}.cart-header{flex-wrap:wrap}.sales-search-hint{align-items:flex-start;flex-direction:column}.product-search-result{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}.product-search-result-stock{grid-column:2;grid-row:1}.product-search-result-price,.product-search-result-action{grid-row:2}.payment-options{grid-template-columns:repeat(2,minmax(0,1fr))}.movement-detail-grid{grid-template-columns:1fr}}@media (max-width: 420px){.search-row{flex-direction:column}.filter-button{width:100%}.payment-options,.mixed-amounts{grid-template-columns:1fr}}.presales-page{display:flex;flex-direction:column;gap:22px}.presales-heading,.presales-history .table-header-row,.modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.presales-heading h2{margin:0;color:var(--pos-text);font-size:clamp(1.7rem,3vw,2.25rem)}.page-subtitle{margin:6px 0 0;color:var(--pos-muted)}.presales-counter{color:var(--pos-accent);background:#8b3fc71f;border:1px solid rgba(168,85,216,.22);border-radius:999px;padding:8px 12px;font-weight:700}.presale-cart-panel{min-width:0}.presale-total{color:var(--pos-accent)!important;font-size:1.35rem}.presales-history{padding:20px;background:#111827e6;border:1px solid var(--pos-border);border-radius:18px}.presales-history h3{margin:0;color:var(--pos-text)}.presales-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.presales-filters select,.presales-filters input{min-height:44px;background:#0d1628;color:var(--pos-text);border:1px solid var(--pos-border-strong);border-radius:10px;padding:0 12px}.presales-list{display:grid;gap:10px}.presale-history-card{display:grid;grid-template-columns:1fr 1.5fr auto auto auto;align-items:center;gap:16px;padding:14px;background:#172033;border:1px solid var(--pos-border);border-radius:14px}.presale-history-card>div:not(.presale-actions){display:flex;flex-direction:column;gap:3px}.presale-history-card span{color:var(--pos-muted);font-size:.78rem}.presale-card-total{color:var(--pos-accent)}.presale-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.primary-action{background:#8b3fc72e;color:#e9d5f5}.presale-status-pendiente{background:#f59e0b24;color:#fbbf24}.presale-status-confirmada{background:#a855d824;color:#d8b4f0}.presale-status-convertida{background:#34d39924;color:#6ee7b7}.presale-status-cancelada{background:#f43f5e24;color:#fda4af}.presale-modal{max-width:520px}.presale-modal h3{margin:0;color:var(--pos-text)}.presale-modal p{color:var(--pos-muted)}.presale-detail-items{display:grid;gap:8px;margin:18px 0}.presale-detail-items>div{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--pos-border)}.conversion-notice{padding:10px 12px;background:#34d3991a;border:1px solid rgba(52,211,153,.22);border-radius:10px;color:#6ee7b7!important}.conversion-total{margin:16px 0;color:var(--pos-muted)}.conversion-total strong{color:var(--pos-accent);font-size:1.25rem}@media (max-width: 980px){.presale-history-card{grid-template-columns:1fr 1fr auto}.presale-actions{grid-column:1 / -1;justify-content:flex-start}}@media (max-width: 760px){.presales-heading{flex-direction:column}.presales-filters{grid-template-columns:1fr}.presale-history-card{grid-template-columns:1fr 1fr}.presale-history-card .presale-card-total,.presale-history-card .status-pill{justify-self:start}}.search-box,.search-box input,.search-box:focus-within,.search-box input:focus{outline:none!important;border:none!important;box-shadow:none!important}.pos-shell{background:radial-gradient(circle at 15% -10%,#24122f 0,transparent 36%),var(--pos-bg);color:var(--pos-text)}.pos-shell .sidebar{background:#180d20;color:var(--pos-text)}.pos-shell :is(.catalog-panel,.cart-panel,.customer-table-panel,.customer-detail-panel,.account-table-panel,.account-detail-panel,.product-form-panel,.product-table-panel,.report-card,.report-section,.settings-section,.payment-modal,.quantity-modal,.payment-sheet,.dashboard-card,.dashboard-metric,.kardex-filters,.kardex-summary>div,.reports-filters,.customer-card,.history-card,.account-card,.customer-info-grid>div,.account-summary-card,.presales-history,.presale-history-card,.movement-detail-grid>div,.sales-search-panel,.sales-search-result,.sidebar-card){background-color:var(--pos-surface);border-color:var(--pos-border);color:var(--pos-text)}.pos-shell :is(.product-search-result,.dashboard-filters,.kardex-summary>div,.product-search-results,.presale-history-card,.sidebar-user-selector select,.presales-filters select,.presales-filters input,.field-group input,.field-group select,.search-box,.search-box input,.quantity-picker input){background-color:#24122f;border-color:var(--pos-border-strong);color:var(--pos-text)}.pos-shell :is(.topbar h1,.settings-header h2,.settings-section h3,.product-header-row h3,.cart-header h3,.payment-header h4,.customer-detail-header h3,.customer-history-section h4,.account-detail-header h3,.payment-sheet-header h2,.quantity-modal h2,.report-card strong,.report-section h3,.report-section h4,.form-header-row h3,.table-header-row h3,.customer-card-header strong,.customer-card-meta strong,.customer-info-grid strong,.account-summary-card strong,.report-metrics,.field-group,.checkbox-group,.settings-checks label,.permission-row,.table-wrapper td,.customer-table-wrapper td,.account-table-wrapper td){color:var(--pos-text)}.pos-shell :is(.table-wrapper th,.customer-table-wrapper th,.account-table-wrapper th,.customer-caption,.report-card span,.report-section-heading span){color:var(--pos-muted)}.pos-shell :is(.workspace-tab,.ghost-button,.filter-button,.table-button.secondary,.product-search-result-action,.mobile-back-button,.quantity-picker button,.primary-action,.presale-status-confirmada,.status-pill.inactive){background:#321842;color:#e9d5f5;border-color:var(--pos-border-strong)}.pos-shell :is(.workspace-tab:hover,.workspace-tab.active,.nav-item:hover:not(:disabled),.nav-item.active,.nav-subitem:hover,.nav-subitem.active,.product-search-result:hover,.product-search-result:focus-visible,.product-search-result.active,.primary-action:hover){background-color:#8b3fc738;border-color:#8b3fc7;color:#fff}.pos-shell :is(.primary-button,.checkout-button){background:linear-gradient(135deg,#6d28a8,#a855d8);color:#fff;box-shadow:0 12px 22px #6d28a847}.pos-shell :is(.dashboard-bar,.report-bar){background:linear-gradient(135deg,#6d28a8,#a855d8)}.pos-shell :is(.selected-row,.clickable-row:hover){background:#6d28a82e}.pos-shell :is(.selected-card,.account-card.selected-card){border-color:#a855d88c;box-shadow:inset 0 0 0 1px #a855d833}.pos-shell :is(.nav-item,.nav-subitem,.sidebar-user-selector,.sidebar-card p,.sidebar-card span,.settings-checks label,.table-wrapper th,.customer-table-wrapper th,.account-table-wrapper th){color:var(--pos-muted)}.pos-shell :is(.nav-item.active,.nav-item:hover:not(:disabled),.nav-subitem.active,.nav-subitem:hover){color:#fff}.pos-shell :is(.product-search-result-price,.dashboard-metric.accent strong,.dashboard-card-header strong,.payment-sheet-header>strong,.kardex-summary strong,.report-section-heading>strong,.presale-total,.conversion-total strong){color:var(--pos-accent)}.main-panel:has(.sales-grid){padding:20px 24px 24px}.main-panel:has(.sales-grid)>.topbar{margin-bottom:18px}.sales-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(340px,1fr);align-items:start;gap:18px}.sales-catalog-column,.sales-checkout-column{display:flex;flex-direction:column;gap:12px;min-width:0}.sales-checkout-column{position:sticky;top:16px}.sales-search-panel,.sales-checkout-column .cart-panel{width:100%;min-height:0;padding:12px 16px;border:1px solid var(--pos-border);border-radius:16px;background:#180d20;box-shadow:0 10px 24px #00000029}.sales-search-panel .search-row{position:static;margin:0;padding:0;background:transparent}.sales-search-panel .product-search-results,.sales-search-panel>.empty-products{margin-top:12px}.sales-search-panel .search-box{min-height:60px;padding:0 16px;border:1px solid var(--pos-border-strong)!important;border-radius:12px;background:#24122f;box-shadow:0 0 0 1px #a855d814;transition:border-color .18s ease,box-shadow .18s ease}.sales-search-panel .search-box:focus-within{border-color:#a855d8!important;box-shadow:0 0 0 3px #a855d833!important}.sales-search-panel .search-box span{color:#c99be2;font-size:1.25rem}.sales-search-panel .search-box input{min-height:58px;color:var(--pos-text);font-size:1rem}.sales-search-panel .search-box input::placeholder{color:#b9aabd;opacity:.9}.sales-search-panel .product-search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:min(60vh,680px);overflow-y:auto;gap:10px}.sales-search-panel .product-search-result{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"main price" "stock action";gap:8px 10px;min-height:92px;padding:12px;border:1px solid var(--pos-border)!important;border-radius:12px;background:#24122f;text-align:left}.sales-search-panel .product-search-result-main{grid-area:main}.sales-search-panel .product-search-result-main strong{color:var(--pos-text);font-size:.9rem}.sales-search-panel .product-search-result-main small{color:var(--pos-muted);font-size:.74rem}.sales-search-panel .product-search-result-stock{grid-area:stock;font-size:.74rem}.sales-search-panel .product-search-result-price{grid-area:price;font-size:.9rem}.sales-search-panel .product-search-result-action{grid-area:action;justify-self:end;padding:5px 8px;border-radius:7px}.sales-search-panel .product-search-result:hover,.sales-search-panel .product-search-result:focus-visible,.sales-search-panel .product-search-result.active{border-color:#8b3fc7!important;background:#321842;box-shadow:inset 0 0 0 1px #a855d829}.sales-search-panel .empty-products{padding:18px;border-color:var(--pos-border);border-radius:12px;background:#24122f;color:var(--pos-muted)}.sales-customer-field{gap:6px;margin:0;padding:12px 14px;border:1px solid var(--pos-border);border-radius:12px;background:#180d20;font-size:.8rem}.sales-customer-field select{min-height:42px;border:1px solid var(--pos-border-strong);border-radius:9px;background:#24122f;color:var(--pos-text)}.sales-checkout-column .cart-panel{gap:12px}.sales-checkout-column .cart-header{justify-content:flex-start;gap:10px;padding-bottom:10px;border-bottom:1px solid var(--pos-border)}.sales-checkout-column .cart-header>div:first-child{flex:1}.sales-checkout-column .cart-header .eyebrow{margin-bottom:2px}.sales-checkout-column .cart-header h3{font-size:1.15rem}.sales-checkout-column .cart-list{max-height:min(38vh,420px);overflow-y:auto;gap:8px}.sales-checkout-column .cart-item{padding:10px;border-radius:10px;background:#24122f}.sales-checkout-column .cart-item-main h4{color:var(--pos-text);font-size:.88rem}.sales-checkout-column .cart-item-price-actions>strong{color:var(--pos-text);font-size:.88rem}.sales-checkout-column .qty-control{gap:8px;padding:3px 6px;border-color:var(--pos-border);border-radius:8px;background:#180d20}.sales-checkout-column .totals-panel{gap:8px;padding:12px;border-radius:10px;background:#24122f}.sales-checkout-column .total-row strong{color:#d8b4f0;font-size:1.35rem}.sales-checkout-column .checkout-button{min-height:54px;margin-top:0;border-radius:10px;background:#6d28a8;box-shadow:0 8px 20px #6d28a847;font-size:1rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.sales-checkout-column .checkout-button:hover:not(:disabled){background:#8b3fc7}.sales-checkout-column .checkout-button:disabled{opacity:.5;cursor:not-allowed}.cart-empty-state{display:grid;justify-items:center;gap:8px;padding:18px 12px;border:1px dashed var(--pos-border-strong);border-radius:10px;color:var(--pos-muted);text-align:center}.cart-empty-icon{display:grid;place-items:center;width:64px;height:64px;margin-bottom:2px;border:1px solid rgba(168,85,216,.28);border-radius:18px;background:radial-gradient(circle at 50% 25%,#a855d833,#321842b8);color:#c084fc;box-shadow:inset 0 1px #ffffff0f,0 8px 18px #0000002e}.cart-empty-icon svg{display:block;width:36px;height:36px}.cart-empty-state strong{color:var(--pos-text);font-size:.88rem}.cart-empty-state small{font-size:.76rem}@media (max-width: 760px){.sales-checkout-column .cart-empty-state{gap:7px;padding:16px 10px}.sales-checkout-column .cart-empty-icon{width:58px;height:58px;border-radius:16px}.sales-checkout-column .cart-empty-icon svg{width:33px;height:33px}}@media (max-width: 1100px){.sales-grid{grid-template-columns:minmax(0,1.4fr) minmax(300px,.9fr);gap:14px}.sales-search-panel .product-search-results{grid-template-columns:1fr}}@media (max-width: 760px){.main-panel:has(.sales-grid){padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.sales-grid{grid-template-columns:minmax(0,1fr);gap:12px}.sales-checkout-column{position:static}.sales-search-panel,.sales-checkout-column .cart-panel{padding:12px;border-radius:13px}.sales-search-panel .search-box,.sales-search-panel .search-box input{min-height:54px}.sales-search-panel .product-search-results{max-height:42vh}.sales-search-panel .product-search-result{min-height:82px}.sales-checkout-column .cart-list{max-height:34vh}.sales-checkout-column .checkout-button{position:sticky;bottom:max(8px,env(safe-area-inset-bottom));z-index:3}}.sync-button:disabled{opacity:.7;cursor:wait}.sync-feedback{max-width:220px;overflow:hidden;color:var(--pos-muted);font-size:.72rem;text-overflow:ellipsis;white-space:nowrap}.sync-feedback.error{color:#fda4af}.sync-feedback.success{color:#6ee7b7}.sidebar-card .shift-status{font-size:.85rem}.sidebar-card .shift-status.open{color:#6ee7b7}.sidebar-card .shift-status.closed{color:var(--pos-muted)}.sidebar-card .shift-total{margin-top:4px;color:var(--pos-text);font-size:1.1rem}.sidebar-cash-link{align-self:flex-start;margin-top:6px;padding:0;background:transparent;color:#d8b4f0;font-size:.8rem;font-weight:700;cursor:pointer}.sidebar-cash-link:hover{color:#fff}.new-sale-confirm-overlay{z-index:1300}.new-sale-confirm{max-width:440px}.new-sale-confirm h2{margin:4px 0 8px;color:var(--pos-text);font-size:1.2rem}.new-sale-confirm p{margin:0;color:var(--pos-muted)}.new-sale-confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.new-sale-confirm-actions button{min-height:42px}@media (max-width: 760px){.new-sale-confirm-actions{flex-direction:column-reverse}.new-sale-confirm-actions button{width:100%}}.cash-closed-overlay{z-index:1300;background:#08040cd1}.payment-modal.cash-closed-notice{width:min(100%,440px);max-width:440px;border:2px solid rgba(251,191,36,.7);box-shadow:0 0 0 6px #fbbf241f,0 24px 60px #00000080;text-align:center}.cash-closed-icon{display:inline-grid;place-items:center;width:68px;height:68px;margin:4px auto 10px;border-radius:50%;background:#fbbf2429;color:#fbbf24}.cash-closed-icon svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.cash-closed-notice h2{margin:0 0 8px;color:#fde68a;font-size:1.45rem}.cash-closed-notice>p{margin:0;color:var(--pos-text);font-size:.95rem;line-height:1.45}.cash-closed-open{display:grid;gap:10px;margin-top:18px;text-align:left}.cash-closed-open label{display:grid;gap:6px;color:var(--pos-muted);font-size:.82rem;font-weight:700}.cash-closed-open input{width:100%;min-height:48px;padding:0 14px;border:1px solid var(--pos-border-strong);border-radius:10px;background:#24122f;color:var(--pos-text);font:inherit;font-size:1.1rem;box-sizing:border-box}.cash-closed-open .primary-button{min-height:52px;font-size:1rem}.cash-closed-error{margin:0;color:#fda4af;font-size:.85rem}.cash-closed-actions{display:grid;gap:8px;margin-top:12px}.cash-closed-actions button{min-height:44px}.main-panel:has(.cash-page){padding:20px 24px 26px}.main-panel:has(.cash-page)>.topbar{margin-bottom:16px}.main-panel:has(.cash-page) .topbar-heading .page-subtitle{margin:2px 0 0;color:var(--pos-muted);font-size:.88rem}.cash-page{display:flex;flex-direction:column;gap:13px}.cash-hero{order:0;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid var(--pos-border);border-radius:14px;background:#180d20}.cash-hero-main{display:flex;flex:1;align-items:center;justify-content:space-between;gap:16px}.cash-hero-main>div:first-child{min-width:0}.cash-hero .eyebrow{margin:0 0 4px;color:var(--pos-muted)}.cash-title-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.cash-title-row h2{margin:0;color:var(--pos-text);font-size:1.15rem}.cash-status-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:999px;font-size:.72rem;font-weight:700}.cash-status-badge.is-open{color:#6ee7b7;background:#34d3991f}.cash-status-badge.is-closed{color:#fda4af;background:#f43f5e1f}.cash-status-dot{width:7px;height:7px;border-radius:50%;background:currentColor}.cash-hero-description{margin:5px 0 0;color:var(--pos-muted);font-size:.84rem}.cash-hero-actions{flex:0 0 auto}.cash-hero-actions .primary-button{min-height:42px;padding:9px 15px;border-radius:9px}.cash-opening-balance{min-width:150px;padding-left:18px;border-left:1px solid var(--pos-border)}.cash-opening-balance span,.cash-opening-balance strong{display:block}.cash-opening-balance span{color:var(--pos-muted);font-size:.74rem}.cash-opening-balance strong{margin-top:3px;color:var(--pos-text);font-size:1.05rem}.cash-actions{order:1;display:flex;align-items:center;flex-wrap:wrap;gap:8px}.cash-actions .ghost-button,.cash-actions .primary-button{min-height:38px;padding:8px 12px;border-radius:9px;font-size:.82rem}.cash-actions button:disabled{opacity:.45;cursor:not-allowed}.cash-actions.is-closed{display:none}.cash-summary-grid{order:2;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.cash-summary-grid>div{display:flex;min-height:82px;flex-direction:column;justify-content:center;gap:5px;padding:12px 14px;border:1px solid var(--pos-border);border-radius:11px;background:#180d20}.cash-summary-grid>div>span{color:var(--pos-muted);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.cash-summary-grid>div>strong{color:var(--pos-text);font-size:1.13rem}.cash-summary-grid .cash-expected-stat{background:#24122f;border-color:#a855d84d}.cash-summary-grid .cash-expected-stat strong,.cash-summary-grid .cash-sales-stat strong{color:#d8b4f0}.cash-summary-grid .cash-sales-stat small{color:var(--pos-muted);font-size:.72rem}.cash-page.is-closed .cash-summary-grid,.cash-page.is-closed .cash-actions{display:none}.cash-section{padding:15px;border-radius:13px}.cash-movements-section{order:3}.cash-closures-section{order:4}.cash-section .table-header-row{margin-bottom:11px}.cash-section .table-header-row h3{color:var(--pos-text);font-size:.95rem;text-transform:uppercase;letter-spacing:.04em}.cash-section .table-header-row>span{color:var(--pos-muted);font-size:.76rem}.cash-filters{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:8px;margin-bottom:11px}.cash-filters input,.cash-filters select{width:100%;min-height:38px;padding:7px 10px;border:1px solid var(--pos-border-strong);border-radius:8px;background:#24122f;color:var(--pos-text);font:inherit;font-size:.78rem}.cash-filters select option{background:#180d20;color:var(--pos-text)}.cash-date-filter{position:relative;display:block;min-width:0}.cash-filters .cash-date-filter input{display:block;min-width:0;max-width:100%;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:left}.cash-filters .cash-date-filter input::-webkit-date-and-time-value{text-align:left}.cash-date-filter>span{position:absolute;top:50%;left:11px;transform:translateY(-50%);color:var(--pos-muted);font-size:.78rem;pointer-events:none}.cash-date-filter.has-value>span{display:none}.cash-section .table-wrapper{overflow-x:auto;border:1px solid var(--pos-border);border-radius:9px}.cash-section .table-wrapper table{width:100%;min-width:1000px;border-collapse:collapse}.cash-section .table-wrapper th{padding:9px 10px;background:#3218428c;color:var(--pos-muted);font-size:.68rem;letter-spacing:.04em}.cash-section .table-wrapper td{padding:9px 10px;border-bottom:1px solid var(--pos-border);color:var(--pos-text);font-size:.76rem}.cash-section .table-wrapper tr:last-child td{border-bottom:0}.cash-section .table-wrapper .amount-positive{color:#6ee7b7}.cash-section .table-wrapper .amount-negative{color:#fda4af}.cash-empty-row{padding:20px!important;color:var(--pos-muted)!important;text-align:center!important}.cash-mobile-list{display:none}.cash-closures-section .table-wrapper table{min-width:1080px}.cash-closure-status{padding:3px 7px;border-radius:999px;background:#34d3991f;color:#6ee7b7;font-size:.68rem;font-weight:700}.cash-closures-section .empty-state{margin:0;padding:14px;border:1px dashed var(--pos-border-strong);border-radius:9px;color:var(--pos-muted);font-size:.82rem}.cash-page.is-closed .cash-opening-balance{display:none}.payment-modal-backdrop .payment-modal{width:min(100%,600px);max-height:calc(100dvh - 32px);overflow-y:auto;border:1px solid var(--pos-border);background:#180d20;color:var(--pos-text)}.payment-modal-backdrop .payment-modal h3{margin-top:0;color:var(--pos-text)}.cash-close-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 14px;margin:12px 0}.cash-close-summary p{display:flex;justify-content:space-between;gap:8px;margin:0;padding:8px 0;border-bottom:1px solid var(--pos-border);color:var(--pos-muted);font-size:.78rem}.cash-close-summary p strong{color:var(--pos-text);text-align:right}.payment-modal-backdrop .cash-difference{margin:12px 0;padding:12px 14px;border:1px solid var(--pos-border);background:#24122f}.payment-modal-backdrop .cash-difference strong{font-size:1.15rem}.cash-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-radius:11px;font-size:.84rem}.cash-banner-success{border:1px solid rgba(52,211,153,.28);background:#34d3991a;color:#6ee7b7}.cash-banner-error{border:1px solid rgba(248,113,113,.35);background:#dc26261f;color:#fca5a5}.cash-banner-warning{border:1px solid rgba(251,191,36,.4);background:#fbbf241f;color:#fcd34d}.cash-banner-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}.cash-banner .ghost-button{min-height:36px;padding:6px 12px;border-radius:9px;font-size:.8rem}.cash-banner-close{width:32px;height:32px;border:0;border-radius:8px;background:transparent;color:inherit;font-size:1.2rem;cursor:pointer}.cash-last-closure{display:grid;gap:2px;min-width:170px;padding:0 0 0 18px;border:0;border-left:1px solid var(--pos-border);background:transparent;color:var(--pos-text);font:inherit;text-align:left;cursor:pointer}.cash-last-closure span{color:var(--pos-muted);font-size:.74rem}.cash-last-closure strong{font-size:1.05rem}.cash-last-closure small{font-size:.74rem;font-weight:700}.cash-last-closure .amount-positive{color:#6ee7b7}.cash-last-closure .amount-negative{color:#fda4af}.cash-summary{order:2;display:grid;grid-template-columns:minmax(260px,1.3fr) minmax(0,2fr);gap:10px}.cash-expected-card{display:grid;align-content:start;gap:4px;padding:16px 18px;border:1px solid rgba(168,85,216,.35);border-radius:13px;background:#24122f}.cash-expected-label{color:var(--pos-muted);font-size:.74rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.cash-expected-value{color:#e9d5f5;font-size:1.9rem;line-height:1.15}.cash-breakdown{display:grid;gap:4px;margin:10px 0 0;padding-top:10px;border-top:1px solid var(--pos-border)}.cash-breakdown div{display:flex;justify-content:space-between;gap:10px;font-size:.8rem}.cash-breakdown dt{color:var(--pos-muted)}.cash-breakdown dd{margin:0;color:var(--pos-text);font-weight:700}.cash-method-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.cash-method-grid>div{display:flex;flex-direction:column;justify-content:center;gap:4px;min-height:76px;padding:12px 14px;border:1px solid var(--pos-border);border-radius:11px;background:#180d20}.cash-method-grid>div>span{color:var(--pos-muted);font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.cash-method-grid>div>strong{color:var(--pos-text);font-size:1.1rem}.cash-method-grid .cash-sales-stat strong{color:#d8b4f0}.cash-method-grid .cash-sales-stat small{color:var(--pos-muted);font-size:.72rem}.cash-closed-hint{order:1;margin:0;color:var(--pos-muted);font-size:.84rem}.cash-filters .cash-clear-filters{min-height:38px;padding:7px 10px;border-radius:8px;font-size:.78rem}.cash-empty{margin:0;padding:18px;border:1px dashed var(--pos-border-strong);border-radius:9px;color:var(--pos-muted);font-size:.82rem;text-align:center}.cash-more-button{width:100%;min-height:40px;margin-top:10px;border-radius:9px}.cash-link-button{padding:0;border:0;background:transparent;color:#d8b4f0;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:2px;cursor:pointer}.cash-dialog .cash-close-summary .cash-close-expected{color:var(--pos-text);font-weight:700}.cash-close-others{display:flex;flex-wrap:wrap;gap:6px 14px;margin:0 0 12px;color:var(--pos-muted);font-size:.78rem}.cash-close-others strong{color:var(--pos-text)}.cash-bills-toggle{margin:2px 0 8px;font-size:.82rem}.cash-bills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;margin-bottom:10px;padding:12px;border:1px solid var(--pos-border);border-radius:10px;background:#1f1229}.cash-bills label{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--pos-muted);font-size:.8rem}.cash-bills input{width:76px;min-height:38px;padding:6px 8px;border:1px solid var(--pos-border-strong);border-radius:8px;background:#120a19;color:var(--pos-text);font:inherit;text-align:right}.cash-bills .cash-bills-coins{grid-column:1 / -1}.cash-bills .cash-bills-coins input{width:120px}.cash-confirm-warning{margin:10px 0 0;padding:10px 12px;border:1px solid rgba(251,191,36,.4);border-radius:10px;background:#fbbf241f;color:#fcd34d;font-size:.84rem}.cash-dialog .field-error{color:#fca5a5;font-size:.82rem}.cash-field-hint{color:var(--pos-muted);font-size:.76rem}.cash-concepts{display:flex;flex-wrap:wrap;gap:6px}.cash-concept{min-height:38px;padding:7px 12px;border:1px solid var(--pos-border-strong);border-radius:999px;background:#1f1229;color:var(--pos-text);font:inherit;font-size:.8rem;cursor:pointer}.cash-concept.selected{border-color:#a855d8;background:#3b1d4f;color:#f5f0f7;font-weight:700}.cash-closure-observation{display:grid;gap:4px;margin:0 0 12px;color:var(--pos-text);font-size:.84rem}.cash-closure-observation span{color:var(--pos-muted);font-size:.74rem}.cash-card-note{margin:0;color:var(--pos-muted);font-size:.78rem}.cash-closure-card{width:100%;border:1px solid var(--pos-border);font:inherit;text-align:left;cursor:pointer}.cash-mobile-list .amount-positive{color:#6ee7b7}.cash-mobile-list .amount-negative{color:#fda4af}@media (max-width: 900px){.cash-summary{grid-template-columns:minmax(0,1fr)}}@media (max-width: 760px){.cash-section .table-wrapper{display:none}.cash-mobile-list{display:grid;gap:8px}.cash-movement-card,.cash-closure-card{gap:6px;padding:12px}.cash-movement-card>div,.cash-closure-card>div{gap:10px;font-size:.82rem}.cash-movement-card>div>:last-child,.cash-closure-card>div>:last-child{text-align:right}.cash-banner{align-items:flex-start}.cash-last-closure{width:100%;padding:10px 0 0;border-top:1px solid var(--pos-border);border-left:0}.cash-expected-value{font-size:1.7rem}.cash-method-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cash-method-grid>div{min-height:68px;padding:10px}.cash-filters .cash-clear-filters{grid-column:1 / -1}}.payment-modal-backdrop .payment-modal.payment-sheet{width:min(100%,980px);max-height:calc(100dvh - 32px);padding:24px;border-radius:22px;background:#180d20}.payment-flow-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start;margin-top:12px}.payment-flow-main,.payment-flow-review{min-width:0}.payment-flow-main,.payment-flow-review{display:grid;gap:12px}.payment-flow-review .sale-review,.payment-flow-review .payment-confirm-button{margin-top:0}.payment-sheet-header>strong{display:none}.payment-modal-backdrop .payment-summary .payment-summary-total strong{font-size:1.35rem}.payment-modal-overlay .payment-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:56px;gap:10px;width:100%}.payment-modal-overlay .payment-options>.payment-button{box-sizing:border-box;width:100%;height:56px;min-height:56px;flex-direction:row;gap:9px;text-transform:uppercase}.payment-modal-overlay .payment-options.is-odd>.payment-button:last-child{grid-column:1 / -1}.payment-modal-overlay .payment-button.selected{color:#f3e8ff;border-color:#a855d8;background:#8b3fc747;box-shadow:inset 0 0 0 1px #a855d859}.payment-modal-overlay .payment-button-icon{display:inline-flex;flex:0 0 22px;align-items:center;justify-content:center;color:currentColor}.payment-modal-overlay .payment-button-icon svg{display:block;overflow:visible;width:22px;height:22px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.payment-modal-overlay .payment-button:disabled{cursor:not-allowed;opacity:.55}.payment-modal.payment-sheet.is-reviewing-sale{width:min(100%,620px);padding:16px;border:1px solid rgba(196,125,255,.35);border-radius:22px;background:#180d20;box-shadow:0 28px 80px #0000007a,0 0 0 1px #a855d814}.sale-review-screen{width:100%}.sale-review-card{display:grid;gap:14px;width:100%;padding:26px;border:1px solid rgba(196,125,255,.28);border-radius:17px;background:linear-gradient(155deg,#441e58b8,#23122ef5 54%);color:var(--pos-text)}.sale-review-icon{display:grid;place-items:center;width:58px;height:58px;border:1px solid rgba(204,153,255,.38);border-radius:17px;background:#a855d829;color:#e4c4ff}.sale-review-icon svg{display:block;width:38px;height:38px;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.sale-review-kicker{color:#d4a6f4;font-size:.75rem;font-weight:750;letter-spacing:.12em;text-transform:uppercase}.sale-review-card h2{margin:-8px 0 2px;color:#fff7ff;font-size:1.55rem;text-transform:uppercase}.sale-review-details{display:grid;gap:0;margin:4px 0 0}.sale-review-details>div{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid rgba(196,125,255,.16)}.sale-review-details dt{color:#c8b6d2}.sale-review-details dd{max-width:68%;margin:0;color:#fff7ff;font-weight:650;text-align:right;overflow-wrap:anywhere}.sale-review-details .sale-review-payment-row{align-items:flex-start}.sale-review-payment-list{display:grid;gap:7px}.sale-review-payment-list>span{display:flex;justify-content:flex-end;gap:12px}.sale-review-details .sale-review-total{align-items:center;padding-top:17px;border-bottom:0}.sale-review-details .sale-review-total dt{color:#f0d5ff;font-weight:750}.sale-review-details .sale-review-total dd{color:#f0d5ff;font-size:1.45rem;font-weight:850}.sale-review-confirm.checkout-button{position:static;min-height:60px;margin-top:2px;border:1px solid rgba(230,190,255,.48);background:linear-gradient(105deg,#762aa1,#a33fc6);box-shadow:0 10px 24px #73269657;color:#fff;font-size:1rem;font-weight:800}.sale-review-confirm.checkout-button:hover{background:linear-gradient(105deg,#8732b6,#b34bd3)}.sale-review-card .sale-review-back{min-height:46px;border:1px solid rgba(196,125,255,.28);background:#ffffff09;color:#e6d8ed}@media (max-width: 760px){.payment-modal-overlay .payment-modal.payment-sheet{width:100%;max-height:100dvh;padding:18px 14px max(18px,env(safe-area-inset-bottom));border-radius:20px 20px 0 0}.payment-flow-grid{grid-template-columns:minmax(0,1fr);gap:14px;margin-top:12px}.payment-flow-review{display:contents}.payment-flow-review .sale-review{order:1}.payment-flow-review .payment-confirm-button{order:2}.payment-modal-overlay .payment-sheet .checkout-button{bottom:0;margin-top:8px}.payment-modal-overlay{align-items:center;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.payment-modal-overlay .payment-modal.payment-sheet,.payment-modal-overlay .payment-modal.payment-sheet.is-reviewing-sale{max-height:100%;border-radius:20px}.payment-modal-overlay .payment-modal.payment-sheet{padding-bottom:18px}.payment-modal.payment-sheet.is-reviewing-sale{width:100%;max-height:100dvh;padding:12px;border-radius:20px 20px 0 0}.sale-review-card{gap:12px;padding:20px 16px}.sale-review-card h2{font-size:1.35rem}.sale-review-details>div{gap:10px}.sale-review-payment-list>span{gap:8px}}@media (max-width: 900px){.cash-summary-grid,.cash-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.cash-hero{align-items:flex-start}.cash-opening-balance{min-width:120px}}@media (max-width: 600px){.main-panel:has(.cash-page){padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.cash-hero{flex-direction:column;gap:12px;padding:14px}.cash-hero-main{width:100%;align-items:flex-start}.cash-hero-actions .primary-button{min-width:130px}.cash-opening-balance{width:100%;padding:9px 0 0;border-top:1px solid var(--pos-border);border-left:0}.cash-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cash-summary-grid>div{min-height:72px;padding:10px}.cash-turn-details{grid-template-columns:1fr;gap:6px}.cash-actions{display:grid;grid-template-columns:1fr 1fr}.cash-actions button{width:100%}.cash-section{padding:11px}.cash-filters{grid-template-columns:1fr 1fr}.cash-close-summary{grid-template-columns:1fr}}.pending-orders-list{display:grid;gap:14px;margin-top:20px}.pending-orders-empty{margin-top:20px}.page-content{padding:22px clamp(16px,3vw,34px)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.section-heading h2{margin:4px 0 0;color:var(--pos-text, #f5eff8)}.page-content .form-error{color:#ffb4c0}.pending-order-card{display:grid;gap:14px;padding:18px;border:1px solid rgba(168,85,216,.24);border-radius:16px;background:linear-gradient(145deg,#24122f,#180d20);color:#f5eff8}.pending-order-summary,.pending-order-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px}.pending-order-summary small{flex-basis:100%;color:#b7a8c0}.pending-order-items{display:flex;flex-wrap:wrap;gap:8px;color:#d9cce1}.pending-order-items span{padding:5px 9px;border-radius:999px;background:#6d28a838}.pending-order-actions{justify-content:flex-end}.pending-order-warning{margin:0;padding:10px 12px;border:1px solid rgba(251,191,36,.4);border-radius:10px;background:#fbbf2414;color:#fde68a;font-size:.86rem;line-height:1.45}.pending-orders-list+.empty-products{margin-top:18px}.nav-count{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:8px;padding:0 6px;border-radius:999px;background:var(--pos-accent, #a855d8);color:#fff;font-size:.72rem;font-weight:800;vertical-align:middle}@media (max-width: 720px){.pending-order-summary{align-items:flex-start;flex-direction:column;gap:7px}.pending-order-actions{justify-content:stretch}.pending-order-actions button{flex:1 1 30%}}.bulk-modal{width:min(960px,calc(100vw - 32px));max-height:min(88vh,900px);overflow:auto}.bulk-stock-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0}.bulk-stock-toolbar>span{color:var(--muted, #6b6680);font-size:.88rem}.products-page,.kardex-page{gap:14px}.inventory-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:4px 2px}.inventory-page-heading h1,.product-form-heading h2{margin:0;color:#faf5ff;font-size:clamp(1.45rem,2vw,1.85rem);letter-spacing:-.035em}.inventory-page-heading p:not(.eyebrow),.product-form-heading p:not(.eyebrow){margin:5px 0 0;color:#c6b6cf;font-size:.86rem}.eyebrow{margin:0 0 4px;color:#c084fc;font-size:.67rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.inventory-primary-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap}.inventory-primary-actions button,.inventory-subnav button,.inventory-subnav-current{min-height:38px;white-space:nowrap}.inventory-subnav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:5px;width:100%;padding:4px;border:1px solid rgba(196,181,210,.14);border-radius:11px;background:#180d20c2}.inventory-subnav button,.inventory-subnav-current{display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border:0;border-radius:8px;background:transparent;color:#b9aabd;font-size:.78rem;font-weight:700;cursor:pointer;text-align:center;text-transform:uppercase}.inventory-subnav button:hover,.inventory-subnav button:focus-visible{background:#c084fc1a;color:#f3e8ff;outline:none}.inventory-subnav-current{background:#9333ea38;color:#e9d5ff}.inventory-tab-panel[hidden]{display:none}.products-filter-panel{display:grid;grid-template-columns:minmax(260px,2fr) repeat(3,minmax(130px,.8fr));align-items:end;gap:10px;padding:13px;border:1px solid rgba(196,181,210,.14);border-radius:13px;background:#180d20b8}.products-filter-panel .field-group,.kardex-filters .field-group{gap:5px;color:#c6b6cf;font-size:.72rem}.products-filter-panel .field-group input,.products-filter-panel .field-group select,.kardex-filters .field-group input,.kardex-filters .field-group select{min-height:39px;border-radius:9px;padding:8px 10px;font-size:.82rem}.products-filter-panel .product-search{width:100%;min-height:39px;margin:0;border-radius:9px}.products-filter-panel .product-search input{min-height:37px;font-size:.84rem}.inventory-alert-strip{display:flex;gap:8px;flex-wrap:wrap}.inventory-alert-strip span{padding:6px 10px;border:1px solid rgba(251,191,36,.22);border-radius:999px;background:#f59e0b14;color:#fcd34d;font-size:.72rem;font-weight:700}.inventory-alert-strip .inventory-alert-expiry{border-color:#f871713d;background:#f8717114;color:#fda4af}.inventory-results-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:38px}.inventory-results-bar .inventory-select-results-button{border:1px solid rgba(192,132,252,.3);background:#581c873d;color:#e9d5ff}.inventory-results-bar .inventory-select-results-button:hover:not(:disabled),.inventory-results-bar .inventory-select-results-button:focus-visible{border-color:#c084fca6;background:#7e22ce4d;outline:none}.inventory-result-summary{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;color:#f3e8ff;font-size:.85rem}.inventory-result-summary span{color:#c6b6cf;font-size:.76rem}.result-count{color:#c6b6cf;font-size:.75rem;white-space:nowrap}.bulk-stock-toolbar{margin:0;padding:9px 11px;border:1px solid rgba(192,132,252,.24);border-radius:11px;background:#581c8729}.bulk-selection-count{display:flex;align-items:baseline;gap:6px;margin-right:auto;color:#e9d5ff;font-size:.78rem}.bulk-selection-count strong{font-size:1rem}.bulk-action-menu{position:relative}.bulk-action-menu>summary{list-style:none;cursor:pointer}.bulk-action-menu>summary::-webkit-details-marker{display:none}.bulk-action-popover{position:absolute;z-index:30;top:calc(100% + 6px);left:0;display:flex;flex-direction:column;min-width:190px;padding:5px;border:1px solid rgba(196,181,210,.2);border-radius:10px;background:#21132a;box-shadow:0 12px 30px #00000052}.bulk-action-popover button{padding:8px 10px;border:0;border-radius:6px;background:transparent;color:#f5f0f7;text-align:left;cursor:pointer}.bulk-action-popover button:hover,.bulk-action-popover button:focus-visible{background:#c084fc24;outline:none}.product-table-panel{padding:14px;border-color:#c4b5d226;border-radius:14px;background:#180d20c7;box-shadow:0 12px 28px #08050c21}.product-table-panel .table-header-row{margin-bottom:10px}.table-header-row h2{margin:0;color:#f5f0f7;font-size:.98rem}.product-table-wrapper{border:1px solid rgba(196,181,210,.12);border-radius:10px}.product-table{min-width:980px!important}.product-table th,.product-table td{padding:8px 9px;font-size:.76rem;vertical-align:middle}.product-table th{position:sticky;top:0;z-index:1;background:#21132a;font-size:.64rem;letter-spacing:.07em}.product-table tbody tr:hover,.product-table tbody tr.is-selected{background:#9333ea17}.product-table .selection-column{width:38px;text-align:center}.product-table input[type=checkbox]{width:16px;height:16px;accent-color:#a855f7;vertical-align:middle}.product-name-cell,.price-cell{min-width:145px}.product-name-cell strong,.price-cell strong{display:block;color:#f5f0f7;font-size:.78rem;font-weight:700}.product-name-cell small,.price-cell small,.product-table .ean-extra{display:block;margin-top:3px;color:#a997b5;font-size:.66rem}.mono-cell{color:#d8c8e2!important;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.7rem!important;white-space:nowrap}.stock-badge{display:inline-flex;flex-direction:column;min-width:82px;gap:2px;padding:5px 8px;border:1px solid transparent;border-radius:8px;text-align:right;white-space:nowrap}.stock-badge strong{font-variant-numeric:tabular-nums;font-size:.79rem}.stock-badge small{font-size:.62rem}.stock-badge-empty{border-color:#f8717133;background:#f8717114;color:#fda4af}.stock-badge-low{border-color:#fbbf2433;background:#fbbf2414;color:#fcd34d}.stock-badge-normal{border-color:#34d3992e;background:#34d39912;color:#6ee7b7}.product-table .status-pill{padding:4px 7px;border:1px solid transparent;font-size:.65rem}.product-table .status-pill.active{border-color:#34d39933;background:#34d3991a;color:#6ee7b7}.product-table .status-pill.inactive{border-color:#c4b5d22e;background:#c4b5d214;color:#c6b6cf}.product-table .actions-cell{display:table-cell;width:64px;text-align:center;white-space:nowrap}.product-table .add-to-list-button{margin-right:6px;vertical-align:middle}.product-actions-menu{position:relative;display:inline-block}.product-actions-menu>summary{display:grid;width:31px;height:31px;place-items:center;border:1px solid rgba(196,181,210,.2);border-radius:8px;background:#c4b5d20f;color:#f3e8ff;font-size:1.2rem;font-weight:800;line-height:1;list-style:none;cursor:pointer}.product-actions-menu>summary::-webkit-details-marker{display:none}.product-actions-popover{position:static;display:flex;flex-direction:column;gap:2px;min-width:145px;margin-top:5px;padding:5px;border:1px solid rgba(196,181,210,.18);border-radius:9px;background:#21132a;text-align:left}.product-actions-popover button{padding:6px 8px;border:0;border-radius:5px;background:transparent;color:#e9d5ff;font-size:.7rem;text-align:left;cursor:pointer}.product-actions-popover button:hover,.product-actions-popover button:focus-visible{background:#c084fc24;outline:none}.product-actions-popover button.danger-action,.bulk-action-popover button.danger-action{color:#fda4af}.table-pagination{margin-top:10px;color:#c6b6cf;font-size:.76rem}.movement-history-panel{padding:0;overflow:hidden}.movement-history-panel>summary{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;color:#f3e8ff;font-size:.8rem;font-weight:700;cursor:pointer;list-style:none}.movement-history-panel>summary::-webkit-details-marker{display:none}.movement-history-panel>summary small{color:#b9aabd;font-size:.69rem;font-weight:500}.movement-history-panel[open]>summary{border-bottom:1px solid rgba(196,181,210,.14)}.movement-history-panel .table-wrapper{padding:0 12px 12px}.product-form-backdrop{align-items:stretch;justify-content:flex-end;padding:0;background:#07040ab8;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.product-form-panel{width:min(760px,100vw);height:100dvh;overflow:auto;padding:22px clamp(16px,3vw,30px);border:0;border-left:1px solid rgba(196,181,210,.18);border-radius:18px 0 0 18px;background:#180d20;box-shadow:-24px 0 60px #00000057;color:#f5f0f7}.product-form-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:16px;border-bottom:1px solid rgba(196,181,210,.14)}.icon-button{display:grid;width:36px;height:36px;flex:0 0 auto;place-items:center;border:1px solid rgba(196,181,210,.2);border-radius:9px;background:#c4b5d20f;color:#e9d5ff;font-size:1.35rem;cursor:pointer}.product-form-sections{display:grid;gap:14px;margin-top:15px}.product-form-section{padding:13px;border:1px solid rgba(196,181,210,.13);border-radius:11px;background:#24122f73}.product-form-section h3{margin:0 0 11px;color:#e9d5ff;font-size:.78rem;letter-spacing:.03em}.product-form-grid{gap:11px}.product-form-grid-four{grid-template-columns:repeat(2,minmax(0,1fr))}.product-form-panel .field-group{gap:5px;font-size:.75rem}.product-form-panel .field-group input,.product-form-panel .field-group select,.product-form-panel .field-group textarea{min-height:39px;border-radius:8px;padding:8px 10px;font-size:.82rem}.product-form-panel .field-group textarea{min-height:72px;resize:vertical}.product-form-panel .field-group small{color:#a997b5;font-size:.67rem;font-weight:400}.product-form-control .checkbox-group{align-self:center}.product-form-actions{position:sticky;bottom:-22px;margin:14px calc(clamp(16px,3vw,30px)*-1) -22px;padding:12px clamp(16px,3vw,30px);border-top:1px solid rgba(196,181,210,.15);background:#180d20f5}.physical-inventory-view{display:flex;flex-direction:column;gap:12px;width:100%;min-width:0;padding:16px;border:1px solid rgba(196,181,210,.14);border-radius:14px;background:#180d20b8}.physical-inventory-view .physical-inventory-table-wrapper{max-height:min(58vh,600px)}.physical-inventory-modal{display:flex;flex-direction:column;gap:12px;width:min(1040px,calc(100vw - 32px))}.physical-inventory-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.physical-inventory-heading h2{margin:0;color:#f5f0f7;font-size:1.25rem}.physical-inventory-heading p:not(.eyebrow){margin:5px 0 0;color:#b9aabd;font-size:.78rem}.physical-inventory-search{width:100%;margin:0}.physical-inventory-search input{min-height:39px;font-size:.82rem}.physical-inventory-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.physical-inventory-stats>div{display:flex;flex-direction:column;gap:3px;padding:9px 11px;border:1px solid rgba(196,181,210,.14);border-radius:9px;background:#24122f9e}.physical-inventory-stats span{color:#b9aabd;font-size:.67rem}.physical-inventory-stats strong{color:#f3e8ff;font-size:1.05rem;font-variant-numeric:tabular-nums}.physical-inventory-table-wrapper{max-height:min(48vh,500px);border:1px solid rgba(196,181,210,.13);border-radius:9px}.physical-inventory-table{min-width:620px!important}.physical-inventory-table th,.physical-inventory-table td{padding:8px 10px;font-size:.76rem}.physical-inventory-table th{position:sticky;top:0;z-index:1;background:#21132a}.physical-inventory-table td:first-child strong,.physical-inventory-table td:first-child small{display:block}.physical-inventory-table td:first-child small{margin-top:3px;color:#a997b5;font-size:.65rem}.physical-inventory-table .physical-number{font-variant-numeric:tabular-nums;white-space:nowrap}.physical-inventory-table input{width:110px;min-height:36px;padding:6px 8px;border:1px solid rgba(192,132,252,.3);border-radius:7px;background:#24122f;color:#f5f0f7;font-variant-numeric:tabular-nums}.physical-difference{display:inline-flex;padding:4px 7px;border:1px solid transparent;border-radius:7px;font-size:.67rem;font-weight:700;white-space:nowrap}.physical-difference.is-entry{border-color:#34d39933;background:#34d39914;color:#6ee7b7}.physical-difference.is-exit{border-color:#f8717133;background:#f8717114;color:#fda4af}.physical-difference.is-equal{color:#a997b5}.physical-empty-row{padding:24px!important;color:#b9aabd!important;text-align:center!important}.kardex-filters{grid-template-columns:minmax(220px,2fr) repeat(3,minmax(125px,.9fr)) auto;gap:9px;padding:12px;border-radius:12px;background:#180d20c2}.kardex-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.kardex-summary>div{gap:4px;padding:11px 13px;border-radius:11px;background:#180d20c2}.kardex-summary span{font-size:.68rem;letter-spacing:.04em;text-transform:uppercase}.kardex-summary strong{font-size:1rem;font-variant-numeric:tabular-nums}.kardex-table-wrapper{border:1px solid rgba(196,181,210,.12);border-radius:10px}.kardex-table{min-width:1280px!important}.kardex-table th,.kardex-table td{padding:8px 10px;font-size:.73rem}.kardex-table th{background:#21132a}.kardex-table tbody tr:hover{background:#9333ea12}.kardex-table .kardex-number{min-width:100px;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.kardex-table .stock-result{color:#f3e8ff;font-weight:700}.kardex-date-cell{min-width:130px;white-space:nowrap}.kardex-reason-cell{min-width:180px}.kardex-reason-cell strong,.kardex-reason-cell small{display:block}.kardex-reason-cell small{margin-top:3px;color:#a997b5;font-size:.66rem}.kardex-product-cell{min-width:200px;max-width:280px}.kardex-product-cell strong,.kardex-product-cell small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kardex-product-cell small{margin-top:3px;color:#a997b5;font-size:.66rem}.kardex-product-cell .kardex-product-missing,.kardex-table .kardex-invalid{color:#fbbf24}.kardex-invalid-warning{margin:0 0 12px}.inventory-page-heading button:focus-visible,.inventory-subnav button:focus-visible,.bulk-action-menu summary:focus-visible,.product-actions-menu summary:focus-visible,.product-actions-popover button:focus-visible,.icon-button:focus-visible,.physical-inventory-search:focus-within,.product-table input:focus-visible,.physical-inventory-table input:focus-visible{outline:2px solid #c084fc;outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media (max-width: 980px){.products-filter-panel{grid-template-columns:repeat(3,minmax(0,1fr))}.products-filter-panel .product-search{grid-column:1 / -1}.kardex-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 700px){.inventory-page-heading{align-items:flex-start;flex-direction:column}.inventory-primary-actions{justify-content:flex-start;width:100%}.inventory-primary-actions button{flex:1 1 auto}.inventory-subnav{grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}.inventory-subnav button,.inventory-subnav-current{min-width:0;padding:5px 6px;font-size:.65rem;line-height:1.2;white-space:normal}.products-filter-panel{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.products-filter-panel .product-search{grid-column:1 / -1}.inventory-results-bar{align-items:flex-start;flex-direction:column}.inventory-results-bar>button{width:100%}.bulk-selection-count{width:100%}.bulk-stock-toolbar>button,.bulk-stock-toolbar>details>summary{flex:1 1 auto;text-align:center}.product-form-panel{width:100vw;height:100dvh;padding-top:16px;border-radius:0}.product-form-grid,.product-form-grid-four{grid-template-columns:1fr}.physical-inventory-modal{width:calc(100vw - 18px);max-height:calc(100dvh - 18px);padding:14px}.physical-inventory-view{padding:12px}.physical-inventory-stats{gap:6px}.physical-inventory-stats>div{padding:8px}.physical-inventory-stats span{font-size:.6rem}.physical-inventory-stats strong{font-size:.9rem}.physical-inventory-actions{position:static;margin:0;padding:0;background:transparent}.physical-inventory-actions button{flex:1}.kardex-filters,.kardex-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 420px){.inventory-primary-actions button{flex-basis:calc(50% - 8px);padding-inline:8px;font-size:.72rem}.products-filter-panel{grid-template-columns:1fr}.products-filter-panel .product-search{grid-column:auto}.kardex-filters{grid-template-columns:1fr}.kardex-summary{gap:6px}.movement-history-panel>summary{align-items:flex-start;flex-direction:column;gap:4px}}@media (max-width: 760px){.mobile-workspace-tabs[aria-label="Secciones de Ventas"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;border-bottom:0}.mobile-workspace-tabs[aria-label="Secciones de Ventas"] .workspace-tab{min-width:0;min-height:52px;padding:8px 6px;white-space:normal;text-align:center;line-height:1.2;letter-spacing:.03em;overflow-wrap:anywhere}.mobile-workspace-tabs[aria-label="Secciones de Ventas"] .workspace-tab:first-child{grid-column:1 / -1}}.main-panel:has(.sales-grid){padding-bottom:124px}.sales-floating-actions{position:fixed;right:28px;bottom:24px;z-index:40;display:flex;align-items:stretch;gap:10px;width:min(440px,calc(100vw - 32px));padding:10px;border:1px solid var(--pos-border-strong);border-radius:16px;background:#180d20f5;box-shadow:0 14px 36px #0000005c;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.sales-floating-actions>button{min-width:0;min-height:54px;margin:0;border-radius:11px;font-weight:800;text-align:center;text-transform:uppercase}.sales-floating-actions .checkout-button{position:static;flex:1.05;background:linear-gradient(135deg,#6d28a8,#a855d8);box-shadow:0 8px 20px #6d28a852}.sales-floating-actions .sales-floating-save{flex:.95;border:1px solid var(--pos-border-strong);background:#321842;color:#e9d5f5}.sales-floating-actions:not(:has(.sales-floating-save)){width:min(220px,calc(100vw - 32px))}@media (max-width: 760px){.main-panel:has(.sales-grid){padding-bottom:calc(112px + env(safe-area-inset-bottom))}.sales-floating-actions{right:0;bottom:0;left:0;width:100%;gap:8px;padding:10px max(12px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));border-right:0;border-bottom:0;border-left:0;border-radius:16px 16px 0 0}.sales-floating-actions>button{min-height:56px;padding:8px 10px;font-size:.78rem;line-height:1.2;white-space:normal}}@media (min-width: 1101px){.main-panel:has(.sales-grid){min-width:0;padding:12px 22px 22px}.main-panel:has(.sales-grid)>.topbar .topbar-heading{flex:1 1 auto}.main-panel:has(.sales-grid) .workspace-tab-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;margin-top:12px}.main-panel:has(.sales-grid) .workspace-tab-row .workspace-tabs{flex:1 1 auto;min-width:0;margin-top:0}.main-panel:has(.sales-grid)>.topbar{margin-bottom:12px}.sales-grid{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:10px}.sales-catalog-column,.sales-checkout-column{display:contents}.sales-search-panel{grid-row:2;padding:8px 12px}.sales-search-panel .search-box,.sales-search-panel .search-box input{min-height:48px}.sales-search-panel .product-search-results{grid-template-columns:repeat(3,minmax(0,1fr));max-height:min(28vh,260px)}.sales-checkout-column .cart-panel{grid-row:3;gap:10px;padding:12px 16px}.sales-checkout-column .cart-header{align-items:center;padding-bottom:8px}.sales-checkout-column .cart-table-header{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(110px,.9fr) minmax(150px,1.1fr) minmax(130px,1fr) 56px;align-items:center;min-height:36px;padding:0 10px;border:1px solid var(--pos-border);border-bottom:0;border-radius:10px 10px 0 0;background:#20102b;color:var(--pos-muted);font-size:.72rem;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.sales-checkout-column .cart-list{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(110px,.9fr) minmax(150px,1.1fr) minmax(130px,1fr) 56px;gap:0;max-height:min(45vh,440px);overflow:auto;border:1px solid var(--pos-border);border-radius:0 0 10px 10px}.sales-checkout-column .cart-item{display:grid;grid-column:1 / -1;grid-template-columns:minmax(0,2.4fr) minmax(110px,.9fr) minmax(150px,1.1fr) minmax(130px,1fr) 56px;align-items:center;gap:8px;min-height:58px;margin:0;padding:8px 10px;border:0;border-bottom:1px solid var(--pos-border);border-radius:0;background:transparent}.sales-checkout-column .cart-item:last-child{border-bottom:0}.sales-checkout-column .cart-item-main,.sales-checkout-column .cart-item-footer{display:contents}.sales-checkout-column .cart-item-main>div:first-child{grid-column:1;min-width:0}.sales-checkout-column .cart-item-main h4{overflow:hidden;margin:0;text-overflow:ellipsis;white-space:nowrap}.sales-checkout-column .cart-item-main>div:first-child>span{display:block;overflow:hidden;font-size:.74rem;text-overflow:ellipsis;white-space:nowrap}.sales-checkout-column .cart-item-footer>small{grid-column:2;grid-row:1;color:var(--pos-text);font-size:.84rem}.sales-checkout-column .qty-control{grid-column:3;grid-row:1;justify-self:start}.sales-checkout-column .cart-item-price-actions{display:contents}.sales-checkout-column .cart-item-price-actions>strong{grid-column:4;grid-row:1;white-space:nowrap}.sales-checkout-column .cart-remove-button{grid-column:5;grid-row:1;justify-self:center}.sales-checkout-column .cart-empty-state{grid-column:1 / -1;min-height:82px;border:0}.sales-checkout-column .totals-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:10px;padding:10px 14px}.sales-checkout-column .cart-desktop-only-breakdown{display:contents}.sales-checkout-column .totals-panel:not(:has(.cart-discount-breakdown)) .total-row{grid-column:1 / -1}.sales-checkout-column .total-row{padding:0 0 0 14px;border-top:0;border-left:1px solid var(--pos-border)}.sales-checkout-column .total-row strong{font-size:1.25rem}.sales-floating-actions{position:static;grid-row:4;justify-self:stretch;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));justify-content:stretch;align-items:center;gap:16px;width:min(100%,960px);max-width:100%;margin-inline:auto;padding:0 8px;border:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.sales-floating-actions>button{min-width:0;width:100%;min-height:46px;padding:10px 18px;display:flex;align-items:center;justify-content:center;gap:9px;flex:1 1 0}.sales-floating-actions>button svg{width:18px;height:18px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sales-floating-actions .sales-floating-charge,.sales-floating-actions .sales-floating-save{flex:initial}.sales-floating-actions:not(:has(.sales-floating-save)){grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,640px)}.sales-customer-field{grid-row:1;justify-self:end;width:min(420px,100%);max-width:100%}}.main-panel.pos-sale-panel{container:pos-sale / inline-size;--sale-surface: #170d1f;--sale-surface-raised: #1f1229;--sale-field: #120a19;min-width:0}.main-panel.pos-sale-panel .sales-toolbar svg,.main-panel.pos-sale-panel .search-row svg,.main-panel.pos-sale-panel .search-idle-hint svg,.main-panel.pos-sale-panel .sales-floating-actions svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}@media (min-width: 761px){.main-panel.pos-sale-panel{padding:18px 24px 24px}.main-panel.pos-sale-panel>.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"eyebrow actions" "title actions" "tabs tabs";align-items:center;column-gap:16px;row-gap:0;margin:0 0 14px}.main-panel.pos-sale-panel>.topbar>.topbar-heading{display:contents}.main-panel.pos-sale-panel>.topbar .eyebrow{grid-area:eyebrow;margin:0 0 2px;color:var(--pos-accent);font-weight:700}.main-panel.pos-sale-panel>.topbar h1{grid-area:title;font-size:clamp(1.55rem,2.2vw,2rem);line-height:1.15;letter-spacing:-.01em}.main-panel.pos-sale-panel>.topbar .workspace-tab-row{grid-area:tabs;display:block;min-width:0;margin-top:14px}.main-panel.pos-sale-panel>.topbar .topbar-actions{grid-area:actions;display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:8px}.main-panel.pos-sale-panel>.topbar .topbar-actions button{flex:0 0 auto;min-height:40px;padding:8px 14px;font-size:.86rem;white-space:nowrap}}.main-panel.pos-sale-panel>.topbar .workspace-tabs{display:inline-flex;gap:4px;max-width:100%;margin:0;padding:4px;overflow-x:auto;border:1px solid var(--pos-border);border-radius:12px;background:var(--sale-surface)}.main-panel.pos-sale-panel>.topbar .workspace-tabs .workspace-tab{min-height:36px;padding:7px 16px;border:0;border-radius:9px;background:transparent;color:var(--pos-muted);font-size:.8rem;letter-spacing:.04em}.main-panel.pos-sale-panel>.topbar .workspace-tabs .workspace-tab:hover{color:var(--pos-text);background:#a855d81a}.main-panel.pos-sale-panel>.topbar .workspace-tabs .workspace-tab.active{background:var(--pos-surface-soft);color:var(--pos-text);box-shadow:inset 0 0 0 1px #a855d880}@container pos-sale (max-width: 640px){.main-panel.pos-sale-panel>.topbar{grid-template-columns:minmax(0,1fr);grid-template-areas:"eyebrow" "title" "actions" "tabs"}.main-panel.pos-sale-panel>.topbar .topbar-actions{justify-content:flex-start;margin-top:10px}}.main-panel.pos-sale-panel .sales-toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 14px;margin:0 0 14px;padding:12px 14px;border:1px solid var(--pos-border);border-radius:14px;background:var(--sale-surface)}.main-panel.pos-sale-panel .sales-customer-picker{display:grid;flex:1 1 280px;gap:4px;min-width:0;max-width:560px}.main-panel.pos-sale-panel .sales-customer-picker-label{color:var(--pos-muted);font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.main-panel.pos-sale-panel .sales-customer-picker select{width:100%;min-width:0;min-height:44px;padding:0 12px;border:1px solid var(--pos-border-strong);border-radius:11px;background:var(--sale-field);color:var(--pos-text);font-size:.95rem}.main-panel.pos-sale-panel .sales-customer-picker select:focus{outline:none;border-color:var(--pos-accent);box-shadow:0 0 0 3px #a855d838}.main-panel.pos-sale-panel .sales-customer-picker-hint{color:var(--pos-muted);font-size:.74rem}.main-panel.pos-sale-panel .sales-new-sale{display:inline-flex;flex:0 0 auto;align-items:center;gap:8px;min-height:44px;margin-left:auto;margin-bottom:21px;padding:0 16px;font-size:.9rem;white-space:nowrap}.main-panel.pos-sale-panel .sales-new-sale svg{width:18px;height:18px}@container pos-sale (max-width: 480px){.main-panel.pos-sale-panel .sales-customer-picker{flex-basis:100%;max-width:none}.main-panel.pos-sale-panel .sales-new-sale{width:100%;justify-content:center;margin:0}}.main-panel.pos-sale-panel .sales-grid{display:flex;flex-direction:column;align-items:stretch;gap:12px}.main-panel.pos-sale-panel .sales-catalog-column{position:relative;z-index:25;display:block;min-width:0}.main-panel.pos-sale-panel .sales-search-panel{position:relative;display:block;padding:0;border:0;background:transparent;box-shadow:none}.main-panel.pos-sale-panel .search-row{display:flex;flex-direction:row;align-items:center;gap:16px;margin:0}.main-panel.pos-sale-panel .search-box{display:flex;flex:1 1 auto;align-items:center;gap:12px;min-width:0;min-height:52px;padding:0 16px;border:1.5px solid var(--pos-border-strong);border-radius:14px;background:var(--sale-field);cursor:text}.main-panel.pos-sale-panel .search-box:focus-within{border-color:var(--pos-accent);box-shadow:0 0 0 4px #a855d833}.main-panel.pos-sale-panel .search-box-icon{flex:none;width:21px;height:21px;color:var(--pos-accent)}.main-panel.pos-sale-panel .search-box input{flex:1 1 auto;width:100%;min-width:0;min-height:48px;padding:0;border:0;background:transparent;color:var(--pos-text);font-size:1.02rem;box-shadow:none;outline:none}.main-panel.pos-sale-panel .search-box input::placeholder{color:#b9aabdb3}.sales-camera-button{display:inline-grid;flex:none;place-items:center;width:52px;height:52px;border:1.5px solid var(--pos-border-strong);border-radius:14px;background:var(--sale-field, var(--pos-surface));color:var(--pos-accent);cursor:pointer;touch-action:manipulation}.sales-camera-button[aria-pressed=true]{border-color:var(--pos-accent);background:#a855d82e}.sales-camera-button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.sales-camera{max-width:520px;margin-top:12px}.product-search-more{margin:0;padding:10px 14px;color:var(--pos-muted);font-size:.85rem;text-align:center}.sales-camera-loading{margin:0;padding:16px;color:var(--pos-muted);text-align:center}.main-panel.pos-sale-panel .search-shortcuts{display:flex;flex:none;gap:14px;margin:0;color:var(--pos-muted);font-size:.76rem;white-space:nowrap}.main-panel.pos-sale-panel .search-shortcuts kbd{display:inline-block;min-width:22px;margin-right:3px;padding:1px 6px;border:1px solid var(--pos-border-strong);border-radius:6px;background:var(--sale-field);color:var(--pos-text);font-family:inherit;font-size:.72rem;font-weight:600;line-height:1.5;text-align:center}@container pos-sale (max-width: 720px){.main-panel.pos-sale-panel .search-shortcuts{display:none}}.main-panel.pos-sale-panel .sales-search-panel .product-search-results,.main-panel.pos-sale-panel .sales-search-panel>.empty-products{position:absolute;top:calc(100% + 6px);right:0;left:0;z-index:30;margin:0;padding:8px;border:1px solid var(--pos-border-strong);border-radius:14px;background:var(--sale-surface-raised);box-shadow:0 18px 40px #00000073}.main-panel.pos-sale-panel .sales-search-panel .product-search-results{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;max-height:min(56vh,440px);overflow-y:auto}@container pos-sale (min-width: 900px){.main-panel.pos-sale-panel .sales-search-panel .product-search-results{grid-template-columns:repeat(2,minmax(0,1fr))}}.main-panel.pos-sale-panel .sales-search-panel>.empty-products{color:var(--pos-muted);font-size:.9rem}.main-panel.pos-sale-panel .product-search-result{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"main price action" "main stock action";align-items:center;gap:2px 14px;width:100%;min-height:56px;padding:9px 12px;border:1px solid var(--pos-border);border-radius:11px;background:var(--sale-surface);color:var(--pos-text);text-align:left;transform:none}.main-panel.pos-sale-panel .product-search-result.active,.main-panel.pos-sale-panel .product-search-result:hover:not(:disabled){border-color:var(--pos-accent);background:var(--pos-surface-soft)}.main-panel.pos-sale-panel .product-search-result-main{grid-area:main;display:grid;min-width:0}.main-panel.pos-sale-panel .product-search-result-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.main-panel.pos-sale-panel .product-search-result-main small,.main-panel.pos-sale-panel .product-search-result-stock{color:var(--pos-muted);font-size:.78rem}.main-panel.pos-sale-panel .product-search-result-price{grid-area:price;justify-self:end;font-size:1rem}.main-panel.pos-sale-panel .product-search-result-stock{grid-area:stock;justify-self:end}.main-panel.pos-sale-panel .product-search-result-action{grid-area:action;padding:6px 10px;border-radius:8px;background:#a855d829;color:#e9d5ff;font-size:.78rem;font-weight:700}.main-panel.pos-sale-panel .sales-checkout-column{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"header" "thead" "list" "message" "totals" "actions";align-items:center;gap:10px;min-width:0;padding:14px 16px 16px;border:1px solid var(--pos-border);border-radius:16px;background:var(--sale-surface)}.main-panel.pos-sale-panel .cart-panel{display:contents}.main-panel.pos-sale-panel .cart-header{grid-area:header;display:flex;align-items:center;justify-content:space-between;padding:0;border:0}.main-panel.pos-sale-panel .cart-header .eyebrow{margin:0}.main-panel.pos-sale-panel .cart-header h3{margin:2px 0 0;font-size:1.15rem}.main-panel.pos-sale-panel .cart-table-header{grid-area:thead;display:none}.main-panel.pos-sale-panel .cart-list{grid-area:list;display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:6px;max-height:none;overflow-y:auto;border:0;border-radius:0}.main-panel.pos-sale-panel .cart-panel>.sale-message{grid-area:message;margin:0}.main-panel.pos-sale-panel .cart-empty-state{display:flex;align-items:center;gap:14px;min-height:0;padding:16px;border:1px dashed var(--pos-border);border-radius:12px;text-align:left}.main-panel.pos-sale-panel .cart-empty-icon{display:grid;flex:none;place-items:center;width:40px;height:40px;border-radius:11px;background:#a855d81f;color:var(--pos-accent)}.main-panel.pos-sale-panel .cart-empty-icon svg{width:22px;height:22px}.main-panel.pos-sale-panel .cart-empty-state strong{display:block;font-size:.95rem}.main-panel.pos-sale-panel .cart-empty-state small{display:block;color:var(--pos-muted);font-size:.84rem}.main-panel.pos-sale-panel .cart-item{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name remove" "unit unit" "qty subtotal";align-items:center;gap:4px 10px;margin:0;padding:10px 12px;border:1px solid var(--pos-border);border-radius:12px;background:var(--sale-surface-raised)}.main-panel.pos-sale-panel .cart-item-main,.main-panel.pos-sale-panel .cart-item-footer,.main-panel.pos-sale-panel .cart-item-price-actions{display:contents}.main-panel.pos-sale-panel .cart-item-main>div:first-child{grid-area:name;min-width:0}.main-panel.pos-sale-panel .cart-item-main h4{overflow:hidden;margin:0;font-size:.98rem;text-overflow:ellipsis;white-space:nowrap}.main-panel.pos-sale-panel .cart-item-main>div:first-child>span{display:block;color:var(--pos-muted);font-size:.76rem}.main-panel.pos-sale-panel .cart-item-footer>small{grid-area:unit;color:var(--pos-muted);font-size:.82rem}.main-panel.pos-sale-panel .cart-item .qty-control{grid-area:qty;justify-self:start}.main-panel.pos-sale-panel .qty-control button{display:inline-grid;place-items:center;flex:none;padding:0;line-height:0}.main-panel.pos-sale-panel .qty-control button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}.main-panel.pos-sale-panel .qty-control button:focus-visible{outline:2px solid var(--pos-accent);outline-offset:2px}.main-panel.pos-sale-panel .qty-control input{width:48px;font-variant-numeric:tabular-nums}.main-panel.pos-sale-panel .cart-item-price-actions>strong{grid-area:subtotal;justify-self:end;font-size:1.02rem;white-space:nowrap}.main-panel.pos-sale-panel .cart-remove-button{grid-area:remove;justify-self:end}@container pos-sale (min-width: 560px){.main-panel.pos-sale-panel .cart-table-header{display:grid;grid-template-columns:minmax(0,1fr) 120px 150px 130px 40px;align-items:center;gap:14px;min-height:34px;padding:0 14px;border-bottom:1px solid var(--pos-border);color:var(--pos-muted);font-size:.72rem;font-weight:750;letter-spacing:.06em;text-transform:uppercase}.main-panel.pos-sale-panel .cart-table-header>span:nth-child(2),.main-panel.pos-sale-panel .cart-table-header>span:nth-child(4){text-align:right}.main-panel.pos-sale-panel .cart-table-header>span:nth-child(3){text-align:center}.main-panel.pos-sale-panel .cart-table-header,.main-panel.pos-sale-panel .cart-list{scrollbar-gutter:stable}.main-panel.pos-sale-panel .cart-table-header{overflow-y:hidden}.main-panel.pos-sale-panel .cart-item{grid-template-columns:minmax(0,1fr) 120px 150px 130px 40px;grid-template-areas:"name unit qty subtotal remove";gap:14px;min-height:58px;padding:8px 14px}.main-panel.pos-sale-panel .cart-item-footer>small{justify-self:end;color:var(--pos-text);font-size:.92rem;font-variant-numeric:tabular-nums;white-space:nowrap}.main-panel.pos-sale-panel .cart-item .qty-control{justify-self:center}.main-panel.pos-sale-panel .qty-control button{width:28px;height:28px;border-radius:50%}.main-panel.pos-sale-panel .cart-item-price-actions>strong{font-size:1.06rem;font-variant-numeric:tabular-nums}}.main-panel.pos-sale-panel .totals-panel{grid-area:totals;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px 22px;margin:0;padding:12px 16px;border:1px solid rgba(168,85,216,.28);border-radius:12px;background:linear-gradient(180deg,#a855d81a,#a855d80a)}.main-panel.pos-sale-panel .cart-discount-breakdown,.main-panel.pos-sale-panel .cart-desktop-only-breakdown{display:flex;flex-wrap:wrap;gap:4px 18px;margin-right:auto;padding:0;border:0}.main-panel.pos-sale-panel .totals-panel .summary-row{display:flex;align-items:baseline;gap:8px;color:var(--pos-muted);font-size:.9rem}.main-panel.pos-sale-panel .totals-panel .total-row{margin-left:auto;padding:0;border:0;color:var(--pos-text);font-size:.95rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.main-panel.pos-sale-panel .totals-panel .total-row strong{color:#f3e8ff;font-size:clamp(1.6rem,2.6vw,2.1rem);letter-spacing:-.01em;text-transform:none}.main-panel.pos-sale-panel .sales-floating-actions{grid-area:actions;position:static;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:10px;width:100%;max-width:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.main-panel.pos-sale-panel .sales-floating-actions:not(:has(.sales-floating-save)){grid-template-columns:minmax(0,1fr);width:100%}.main-panel.pos-sale-panel .sales-floating-actions>button{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-width:0;min-height:52px;padding:10px 18px;border-radius:12px;font-size:.98rem;font-weight:800;letter-spacing:.02em;line-height:1.2;text-transform:none;white-space:normal}.main-panel.pos-sale-panel .sales-floating-actions>button svg{flex:none;width:20px;height:20px}.main-panel.pos-sale-panel .sales-floating-actions .checkout-button{order:2;background:linear-gradient(135deg,var(--pos-accent-strong),var(--pos-accent));box-shadow:0 8px 18px #6d28a83d;color:#fff}.main-panel.pos-sale-panel .sales-floating-actions .sales-floating-save{border:1px solid var(--pos-border-strong);background:var(--sale-surface-raised);color:#e9d5f5}.main-panel.pos-sale-panel .sales-charge-total{margin-left:4px;padding:2px 8px;border-radius:8px;background:#ffffff29;font-variant-numeric:tabular-nums;white-space:nowrap}@container pos-sale (min-width: 760px){.main-panel.pos-sale-panel .sales-checkout-column{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"header header" "thead thead" "list list" "message message" "totals actions"}.main-panel.pos-sale-panel .totals-panel{align-self:stretch}.main-panel.pos-sale-panel .sales-floating-actions{grid-template-columns:auto auto;align-self:stretch;width:auto}.main-panel.pos-sale-panel .sales-floating-actions>button{min-width:170px;height:100%}.main-panel.pos-sale-panel .sales-floating-actions .checkout-button{order:2;min-width:200px}.main-panel.pos-sale-panel .sales-charge-total{display:none}.main-panel.pos-sale-panel .cart-list{max-height:max(200px,calc(100vh - 470px))}}@container pos-sale (min-width: 760px){.main-panel.pos-sale-panel .sales-toolbar{align-items:center;padding:8px 12px}.main-panel.pos-sale-panel .sales-customer-picker{grid-template-columns:auto minmax(220px,380px) auto;justify-content:start;align-items:center;column-gap:12px;max-width:none}.main-panel.pos-sale-panel .sales-new-sale{margin-bottom:0}}@media (max-width: 760px){.main-panel.pos-sale-panel{padding-bottom:calc(96px + env(safe-area-inset-bottom))}.main-panel.pos-sale-panel .sales-checkout-column{padding:12px}.main-panel.pos-sale-panel .sales-floating-actions{position:fixed;right:0;bottom:0;left:0;z-index:40;padding:10px max(12px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));border-top:1px solid var(--pos-border-strong);background:#120a18f7;box-shadow:0 -10px 28px #00000052}.main-panel.pos-sale-panel .sales-floating-actions>button{min-height:50px;font-size:.88rem}.main-panel.pos-sale-panel .totals-panel .total-row strong{font-size:1.6rem}.main-panel.pos-sale-panel .mobile-session-actions{gap:8px}.main-panel.pos-sale-panel .mobile-workspace-tabs[aria-label="Secciones de Ventas"]{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;border:1px solid var(--pos-border);border-radius:12px;background:var(--sale-surface)}.main-panel.pos-sale-panel .mobile-workspace-tabs[aria-label="Secciones de Ventas"] .workspace-tab{grid-column:auto;min-height:44px;padding:6px 4px;border:0;border-radius:9px;background:transparent;color:var(--pos-muted);font-size:.72rem;letter-spacing:.03em}.main-panel.pos-sale-panel .mobile-workspace-tabs[aria-label="Secciones de Ventas"] .workspace-tab.active{background:var(--pos-surface-soft);color:var(--pos-text);box-shadow:inset 0 0 0 1px #a855d880}.main-panel.pos-sale-panel .sales-toolbar{padding:10px 12px}.main-panel.pos-sale-panel .sales-new-sale{margin-bottom:0}.main-panel.pos-sale-panel .sales-toolbar .sales-new-sale{display:none}.main-panel.pos-sale-panel .mobile-session-actions button{flex:1 1 0;min-width:0;padding:8px 10px;font-size:.86rem;white-space:nowrap}.main-panel.pos-sale-panel .mobile-new-sale{display:inline-flex;align-items:center;justify-content:center;gap:6px}.main-panel.pos-sale-panel .mobile-new-sale svg{flex:0 0 auto;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}}.fix-brand{display:inline-flex;flex-direction:column;align-items:center;gap:.12em;line-height:1;font-size:48px}.fix-brand__logo{display:block;width:auto;height:1em;overflow:visible}.fix-brand--mark .fix-brand__logo{width:1em}.fix-brand__tag{display:flex;flex-direction:column;align-items:center;gap:.3em;padding-left:.28em;color:#eceaff;font-size:.15em;font-weight:500;letter-spacing:.28em;text-transform:uppercase;white-space:nowrap}.fix-brand__tag:after{content:"";width:110%;height:1px;margin-left:-.28em;background:linear-gradient(90deg,transparent,#3b82f6 25%,#d946ef 75%,transparent);opacity:.85}.scan-button{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:6px 10px}.products-filter-panel .product-search-with-scan{display:flex;align-items:center;gap:8px;min-height:0;border:0;padding:0;background:none}.product-search-with-scan>.product-search{flex:1}.product-form-barcode-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.shopping-list{display:grid;gap:16px}.shopping-list-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.shopping-list-toolbar p{margin:0}.shopping-list-toolbar span{color:var(--pos-muted, #b7a8c0)}.shopping-list-actions{display:flex;flex-wrap:wrap;gap:8px}.shopping-list-add{position:relative;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px}.shopping-list-add .platform-admin-muted{grid-column:1 / -1;margin:0}.shopping-list-matches{grid-column:1 / -1;display:grid;gap:4px;margin:0;padding:6px;list-style:none;border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:10px;background:#1e102899}.shopping-list-matches button{display:flex;width:100%;justify-content:space-between;gap:12px;padding:8px 10px;border:0;border-radius:8px;background:none;color:inherit;text-align:left;cursor:pointer}.shopping-list-matches button:hover,.shopping-list-matches button:focus-visible{background:#a855d829}.shopping-list-matches small{color:var(--pos-muted, #b7a8c0);white-space:nowrap}.shopping-list-group h3{margin:0 0 8px;color:var(--pos-accent, #a855d8);font-size:.85rem;letter-spacing:.04em;text-transform:uppercase}.shopping-list-group ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}.shopping-list-item{display:grid;grid-template-columns:minmax(180px,1fr) 140px auto;align-items:end;gap:12px;padding:10px 12px;border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:12px}.shopping-list-name{display:grid;gap:2px;align-self:center}.shopping-list-name small{color:var(--pos-muted, #b7a8c0)}.shopping-list-quantity{display:grid;gap:4px;font-size:.8rem;color:var(--pos-muted, #b7a8c0)}.shopping-list-quantity input{width:100%;min-height:40px;padding:0 10px;border:1px solid var(--pos-border-strong, rgba(210, 190, 220, .28));border-radius:10px;background:#24122f;color:var(--pos-text, #f5f0f7);font:inherit}.shopping-list-tag{justify-self:start;margin-top:2px;padding:2px 8px;border-radius:999px;background:#6d28a838;color:#d9cce1;font-size:.75rem;font-weight:700}.shopping-list-tag.is-low{background:#fbbf2429;color:#fde68a}.catalog-picker{display:grid;gap:12px;width:min(100%,720px);max-height:85vh;overflow:auto}.catalog-picker h3,.catalog-picker p{margin:0}.catalog-picker-search{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.catalog-picker ul{display:grid;gap:6px;margin:0;padding:0;list-style:none}.catalog-picker li{display:grid;grid-template-columns:auto 1fr 130px;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:10px}.catalog-picker li.is-added{opacity:.6}.catalog-picker li small{display:block;color:var(--pos-muted, #b7a8c0)}.catalog-check-row{display:flex;align-items:center;gap:8px}.catalog-picker-footer{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px}@media (max-width: 720px){.shopping-list-item{grid-template-columns:1fr 1fr}.shopping-list-name{grid-column:1 / -1}.shopping-list-item>.table-button{min-height:44px}.shopping-list-quantity input{min-height:44px;font-size:1rem}.catalog-picker li{grid-template-columns:auto 1fr}.catalog-picker li>label:last-child{grid-column:2}}.sales-suggestions{display:grid;gap:12px;margin:0 0 16px;padding:14px;border:1px solid rgba(168,85,216,.4);border-radius:14px;background:#a855d80f}.sales-suggestions-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.sales-suggestions-head h3{margin:0 0 4px;font-size:1.05rem}.sales-suggestions-head p{margin:0;color:var(--pos-muted, #b9aabd);font-size:.86rem}.sales-suggestions-periods{display:flex;flex-wrap:wrap;gap:10px 16px}.sales-suggestions-periods label{display:grid;gap:4px;font-size:.85rem;color:var(--pos-muted, #b9aabd)}.sales-suggestions-periods select{min-height:40px}.sales-suggestions-error{margin:0;color:#fca5a5}.sales-suggestions-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.sales-suggestions-list li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px;padding:10px 12px;border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:12px;background:var(--pos-surface, #180d20)}.sales-suggestions-list li.is-urgent{border-color:#f871718c}.sales-suggestions-pick{display:flex;flex:1 1 260px;align-items:flex-start;gap:10px;min-width:0}.sales-suggestions-pick input{flex:none;width:20px;height:20px;margin-top:2px}.sales-suggestions-pick span{display:grid;gap:3px;min-width:0}.sales-suggestions-pick small{color:var(--pos-muted, #b9aabd);font-size:.82rem;line-height:1.35}.sales-suggestions-list li.is-urgent .sales-suggestions-pick small:first-of-type{color:#fca5a5}.sales-suggestions-listed{color:#fcd34d!important}.sales-suggestions-quantity{display:grid;gap:4px;width:130px;font-size:.8rem;color:var(--pos-muted, #b9aabd)}@media (max-width: 760px){.sales-suggestions-quantity{width:100%}}.physical-inventory,.inventory-counter,.inventory-review{display:grid;gap:16px;min-width:0}.inventory-section-heading{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px}.inventory-section-heading h2{margin:2px 0 4px;color:var(--pos-text);font-size:1.3rem}.inventory-section-heading p{margin:0;max-width:720px;color:var(--pos-muted);font-size:.9rem}.inventory-heading-actions{display:flex;gap:8px}.inventory-message{margin:0;padding:10px 14px;border-radius:10px;font-size:.9rem}.inventory-message.is-ok{border:1px solid rgba(110,231,183,.35);background:#10b9811f;color:#a7f3d0}.inventory-message.is-error{border:1px solid rgba(251,113,133,.35);background:#fb71851a;color:#fecdd3}.inventory-empty{margin:0;padding:16px;border:1px dashed var(--pos-border-strong);border-radius:10px;color:var(--pos-muted);text-align:center}.inventory-current{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:18px;border:1px solid var(--pos-border-strong);border-radius:14px;background:var(--pos-surface)}.inventory-current h3{margin:6px 0 4px;color:var(--pos-text);font-size:1.1rem}.inventory-current p{margin:0 0 8px;color:var(--pos-muted);font-size:.88rem}.inventory-current .field-group{max-width:360px}.inventory-current-actions{display:flex;flex-wrap:wrap;gap:8px}.inventory-current-actions button{min-height:44px}.inventory-current .inventory-confirm{flex-basis:100%}.inventory-history h3{margin:0 0 10px;color:var(--pos-text);font-size:1rem}.inventory-history-list,.inventory-review-list,.inventory-results,.inventory-pending ul,.inventory-recent ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}.inventory-history-list button,.inventory-results button,.inventory-pending button,.inventory-recent button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:52px;padding:10px 14px;border:1px solid var(--pos-border);border-radius:10px;background:var(--pos-surface);color:var(--pos-text);font:inherit;text-align:left;cursor:pointer}.inventory-history-list small,.inventory-results small,.inventory-pending small,.inventory-recent small{display:block;margin-top:2px;color:var(--pos-muted);font-size:.78rem}.inventory-history-values{display:grid;justify-items:end;gap:4px;text-align:right}.inventory-counter{max-width:640px;margin:0 auto;width:100%}.inventory-counter-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.inventory-counter-top h2{margin:0;color:var(--pos-text);font-size:1.3rem}.inventory-counter-top .ghost-button{min-height:44px}.inventory-progress{display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 12px}.inventory-progress-bar{grid-column:1 / -1;height:8px;overflow:hidden;border-radius:99px;background:var(--pos-surface-soft)}.inventory-progress-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--pos-accent-strong),var(--pos-accent));transition:width .2s ease}.inventory-progress p{margin:0;color:var(--pos-muted);font-size:.9rem}.inventory-progress p strong{color:var(--pos-text);font-size:1.05rem}.inventory-location-button{display:flex;align-items:baseline;gap:8px;width:100%;min-height:48px;padding:10px 14px;border:1px dashed var(--pos-border-strong);border-radius:10px;background:transparent;color:var(--pos-text);font:inherit;cursor:pointer}.inventory-location-button span{color:var(--pos-muted);font-size:.82rem}.inventory-location-button small{margin-left:auto;color:var(--pos-accent);font-size:.82rem}.inventory-location input,.inventory-search input,.inventory-pending select,.inventory-apply input{width:100%;min-height:50px;padding:0 14px;box-sizing:border-box;border:1px solid var(--pos-border-strong);border-radius:10px;background:var(--pos-surface-raised);color:var(--pos-text);font:inherit;font-size:16px}.inventory-search{display:flex;align-items:center;gap:8px}.inventory-scan-button{min-height:60px;font-size:1.05rem}.inventory-count-card{display:grid;gap:14px;padding:16px;border:2px solid var(--pos-accent);border-radius:16px;background:var(--pos-surface);box-shadow:0 10px 30px #00000059}.inventory-count-product strong{display:block;color:var(--pos-text);font-size:1.2rem;line-height:1.25}.inventory-count-product small{display:block;margin-top:2px;color:var(--pos-muted);font-size:.82rem}.inventory-count-product p{margin:8px 0 0;color:var(--pos-muted)}.inventory-count-product p strong{display:inline;font-size:1rem}.inventory-quantity{display:grid;grid-template-columns:72px 1fr 72px;gap:10px}.inventory-quantity input{min-width:0;min-height:72px;box-sizing:border-box;border:1px solid var(--pos-border-strong);border-radius:12px;background:var(--pos-surface-raised);color:#fff;font:inherit;font-size:2.2rem;font-weight:800;text-align:center}.inventory-step{min-height:72px;border:1px solid var(--pos-border-strong);border-radius:12px;background:var(--pos-surface-soft);color:#fff;font-size:2rem;font-weight:700;cursor:pointer;touch-action:manipulation}.inventory-step:active{transform:scale(.97)}.inventory-quick{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.inventory-quick button{min-height:46px}.inventory-difference{margin:0;padding:10px 12px;border-radius:10px;font-size:1.05rem;font-weight:700;text-align:center}.inventory-difference small{font-weight:400;opacity:.8}.inventory-difference.is-equal{background:#94a3b824;color:var(--pos-text)}.inventory-difference.is-over{background:#38bdf824;color:#bae6fd}.inventory-difference.is-under{background:#fb718524;color:#fecdd3}.inventory-save{min-height:60px;font-size:1.1rem}.inventory-count-secondary{display:flex;gap:8px}.inventory-count-secondary button{flex:1;min-height:44px}.inventory-pending{display:grid;gap:8px}.inventory-recent h3{margin:0 0 8px;color:var(--pos-text);font-size:.95rem}.inventory-recent-values{display:grid;justify-items:end}.is-over{color:#7dd3fc}.is-under{color:#fda4af}.inventory-review-link{min-height:48px}.inventory-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.inventory-kpis>div{display:grid;gap:2px;padding:12px 14px;border:1px solid var(--pos-border);border-radius:12px;background:var(--pos-surface)}.inventory-kpis span{color:var(--pos-muted);font-size:.78rem}.inventory-kpis strong{color:var(--pos-text);font-size:1.35rem}.inventory-kpis small{color:var(--pos-muted);font-size:.78rem}.inventory-kpis .is-under strong{color:#fda4af}.inventory-kpis .is-over strong{color:#7dd3fc}.inventory-kpis .is-warning{border-color:#fbbf2480}.inventory-kpis .is-warning strong{color:#fde68a}.inventory-toggle{display:flex;align-items:center;gap:8px;color:var(--pos-muted);font-size:.88rem}.inventory-review-list>li{display:grid;gap:8px;padding:12px 14px;border:1px solid var(--pos-border);border-radius:12px;background:var(--pos-surface)}.inventory-review-list>li.has-conflict{border-color:#fbbf248c}.inventory-review-list>li.is-excluded{opacity:.7}.inventory-review-product strong{color:var(--pos-text)}.inventory-review-product small{display:block;color:var(--pos-muted);font-size:.78rem}.inventory-review-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}.inventory-review-values dt{color:var(--pos-muted);font-size:.72rem}.inventory-review-values dd{margin:0;color:var(--pos-text);font-weight:700;font-variant-numeric:tabular-nums}.inventory-review-values dd small{color:var(--pos-muted);font-weight:400}.inventory-conflict{padding:10px 12px;border-radius:10px;background:#fbbf241a;color:#fde68a;font-size:.85rem}.inventory-conflict p{margin:0}.inventory-conflict ul{margin:6px 0 0;padding-left:18px;color:var(--pos-muted)}.inventory-include{display:flex;align-items:center;gap:8px;color:var(--pos-muted);font-size:.85rem}.inventory-apply{display:grid;gap:12px;padding:16px;border:1px solid var(--pos-border-strong);border-radius:14px;background:var(--pos-surface)}.inventory-apply .primary-button{min-height:52px}.inventory-confirm{display:grid;gap:10px;padding:14px;border:2px solid rgba(251,191,36,.6);border-radius:12px;background:#fbbf2414}.inventory-confirm p{margin:0;color:var(--pos-text)}.inventory-apply-lines{display:grid;gap:6px;margin:14px 0 0;padding:10px 12px;border-radius:10px;background:#ffffff0a;list-style:none;text-align:left}.inventory-apply-lines li{display:flex;justify-content:space-between;gap:12px;color:var(--pos-text);font-size:.92rem}.inventory-apply-lines span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inventory-apply-lines strong{font-variant-numeric:tabular-nums}.inventory-apply-more{color:var(--pos-muted)!important}.inventory-apply-notice .inventory-apply-reason{margin-top:12px;color:var(--pos-muted);font-size:.88rem}.inventory-apply-notice .inventory-apply-confirm{min-height:56px;font-size:1.05rem}.payment-modal.inventory-detail{width:min(100%,860px);max-height:calc(100dvh - 32px);overflow-y:auto}.inventory-detail>p{color:var(--pos-muted)}.product-table .sold-cell{color:var(--pos-text);font-variant-numeric:tabular-nums;text-align:right}.product-table .margin-negative{color:#fda4af;font-weight:700}.inventory-stock-value{display:flex;flex-wrap:wrap;gap:6px 16px;margin-left:auto;color:var(--pos-muted);font-size:.8rem}.inventory-stock-value strong{color:var(--pos-text);font-variant-numeric:tabular-nums}.stock-move-preview{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:10px 14px;border:1px solid var(--pos-border);border-radius:10px;background:var(--pos-surface-soft)}.stock-move-preview>div{display:grid;gap:2px}.stock-move-preview span{color:var(--pos-muted);font-size:.75rem}.stock-move-preview strong{color:var(--pos-text);font-size:1.3rem;font-variant-numeric:tabular-nums}.stock-move-preview small{margin-left:auto;color:var(--pos-muted)}.kardex-filters .kardex-search{grid-column:1 / -1}@media (max-width: 700px){.product-table,.kardex-table{min-width:0!important}.product-table,.product-table tbody,.kardex-table,.kardex-table tbody{display:block}.product-table thead,.kardex-table thead{display:none}.product-table-wrapper,.kardex-table-wrapper{overflow:visible;border:0}.product-table tbody,.kardex-table tbody{display:grid;gap:10px}.product-table tr,.kardex-table tr{display:grid;gap:6px 12px;padding:12px;border:1px solid var(--pos-border);border-radius:12px;background:var(--pos-surface)}.product-table td,.kardex-table td{display:block;min-width:0;padding:0;border:0;text-align:left;font-size:.85rem}.product-table td[data-label]:before,.kardex-table td[data-label]:before{content:attr(data-label);display:block;color:var(--pos-muted);font-size:.68rem;letter-spacing:.03em;text-transform:uppercase}.product-table tr{grid-template-columns:26px minmax(0,1fr) minmax(0,1fr) auto}.product-table .selection-column{grid-column:1;grid-row:1;width:auto}.product-table .product-name-cell{grid-column:2 / 4;grid-row:1}.product-table .product-name-cell strong{font-size:.98rem}.product-table .actions-cell{grid-column:4;grid-row:1;width:auto}.product-table .price-cell{grid-column:2}.product-table .product-stock-cell{grid-column:3 / 5}.product-table .product-sku-cell,.product-table .product-ean-cell{grid-column:2}.product-table .product-category-cell,.product-table .sold-cell{grid-column:3 / 5}.product-table .product-status-cell{grid-column:2 / 5}.product-table .sold-cell{text-align:left}.product-actions-popover{right:0;left:auto}.kardex-table tr{grid-template-columns:repeat(3,minmax(0,1fr))}.kardex-table .kardex-date-cell{grid-column:1 / 3;color:var(--pos-muted)}.kardex-table .kardex-type-cell{grid-column:3;justify-self:end}.kardex-table .kardex-product-cell,.kardex-table .kardex-reason-cell,.kardex-table .kardex-user-cell{grid-column:1 / -1}.kardex-table tr.is-entry .kardex-exit-cell,.kardex-table tr.is-exit .kardex-entry-cell{display:none}.kardex-table .kardex-number{font-size:1rem}}@media (max-width: 600px){.inventory-review-values{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-current-actions{width:100%}.inventory-current-actions button{flex:1 1 100%}.inventory-heading-actions{width:100%}.inventory-heading-actions button{flex:1;min-height:44px}}.stock-documents{display:grid;gap:16px}.stock-documents-toolbar{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:12px}.stock-documents-actions{display:flex;flex-wrap:wrap;gap:8px}.stock-documents-table{width:100%;border-collapse:collapse}.stock-documents-table th,.stock-documents-table td{padding:8px 10px;border-bottom:1px solid var(--pos-border, rgba(210, 190, 220, .16));text-align:left;vertical-align:middle}.stock-documents-table tbody tr[tabindex]{cursor:pointer}.stock-documents-table tbody tr[tabindex]:hover,.stock-documents-table tbody tr[tabindex]:focus-visible{background:#a855d81a}.stock-documents-table small{color:var(--pos-muted, #b7a8c0)}.stock-documents-table input,.stock-documents-table select{width:100%;min-width:80px;min-height:40px;padding:0 10px;border:1px solid var(--pos-border-strong, rgba(210, 190, 220, .28));border-radius:10px;background:#24122f;color:var(--pos-text, #f5f0f7);font:inherit}.stock-documents-table .is-negative{color:#fda4af;font-weight:700}.stock-document-tag{padding:3px 9px;border-radius:999px;font-size:.78rem;font-weight:700}.stock-document-tag.is-purchase{background:#34d39929;color:#a7f3d0}.stock-document-tag.is-loss{background:#fb718529;color:#fecdd3}.stock-document-tag.is-exchange{background:#fbbf2429;color:#fde68a}.stock-document-editor{display:grid;gap:12px;width:min(100%,860px);max-height:90vh;overflow:auto}.stock-document-editor h3,.stock-document-editor p{margin:0}.stock-document-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.stock-document-note{grid-column:1 / -1}.stock-document-add{position:relative;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px}.stock-document-add .shopping-list-matches{grid-column:1 / -1}.stock-document-cost-change{display:block;color:#fde68a}.stock-document-warning{color:#fda4af;font-weight:700}.stock-document-options{display:grid;gap:6px}@media (max-width: 720px){.stock-document-add{grid-template-columns:1fr auto}.stock-document-add>.ghost-button{grid-column:1 / -1}.stock-documents-actions{width:100%}.stock-documents-actions>button{flex:1 1 100%}.stock-document-lines thead{display:none}.stock-document-lines tbody tr{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;padding:12px 0;border-bottom:1px solid var(--pos-border, rgba(210, 190, 220, .16))}.stock-document-lines td{display:block;padding:0;border:0}.stock-document-lines td[data-label]:before{content:attr(data-label);display:block;margin-bottom:4px;color:var(--pos-muted, #b7a8c0);font-size:.74rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.stock-document-lines .stock-document-line-name{grid-column:1 / -1;padding-right:48px}.stock-document-lines .stock-document-line-remove{position:absolute;top:10px;right:0}.stock-document-lines input,.stock-document-lines select{min-height:44px;font-size:1rem}}.pending-orders-toolbar{display:grid;grid-template-columns:1fr minmax(200px,320px) minmax(170px,220px) auto;align-items:end;gap:12px}.pending-orders-toolbar .page-subtitle{margin:0;align-self:center}.pending-order-card{gap:12px}.pending-order-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.pending-order-head small{color:var(--pos-muted, #b7a8c0);font-size:.8rem;font-weight:700;letter-spacing:.02em}.pending-order-head h3{margin:2px 0 0;font-size:1.2rem}.pending-order-total{color:var(--pos-accent, #a855d8);font-size:1.4rem;white-space:nowrap}.pending-order-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.pending-order-tag{padding:4px 10px;border-radius:999px;background:#6d28a838;color:#d9cce1;font-size:.8rem;font-weight:700}.pending-order-tag.is-warning{background:#fbbf2429;color:#fde68a}.pending-order-tag.is-danger{background:#fb718529;color:#fecdd3}.pending-order-tag.is-success{background:#34d39929;color:#a7f3d0}.pending-order-meta{color:var(--pos-muted, #b7a8c0);font-size:.8rem}.pending-order-note{margin:0;padding:8px 12px;border-left:3px solid var(--pos-accent, #a855d8);border-radius:6px;background:#a855d814;font-size:.9rem}ul.pending-order-items{display:grid;gap:6px;margin:0;padding:0;list-style:none}ul.pending-order-items li{display:flex;justify-content:space-between;gap:12px;padding-bottom:6px;border-bottom:1px dashed var(--pos-border, rgba(210, 190, 220, .16))}ul.pending-order-items li:last-child{border-bottom:0}ul.pending-order-items b{white-space:nowrap}.pending-order-more summary{cursor:pointer;color:var(--pos-accent, #a855d8);font-size:.85rem;font-weight:700}.pending-order-more ul{margin-top:6px}.pending-order-actions{justify-content:flex-start;gap:10px}.pending-order-actions .primary-button{min-width:130px}.pending-order-cancel{margin-left:auto;padding:6px 10px;border:0;background:none;color:#fda4af;font-size:.85rem;font-weight:700;text-decoration:underline;cursor:pointer}.order-details-modal{display:grid;gap:12px;width:min(100%,440px)}.order-details-modal h3,.order-details-modal p{margin:0}.order-details-modal p{color:var(--pos-muted, #b7a8c0);font-size:.9rem}.order-details-modal textarea{resize:vertical}@media (max-width: 720px){.pending-orders-toolbar{grid-template-columns:1fr 1fr}.pending-orders-toolbar .page-subtitle,.pending-orders-search{grid-column:1 / -1}.pending-order-actions .primary-button{flex:1 1 100%}.pending-order-actions .ghost-button{flex:1 1 40%}.pending-order-cancel{flex:1 1 100%;margin:4px 0 0}}.reports-filters{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:end}.reports-clear{min-height:42px}.reports-body{display:grid;gap:16px;transition:opacity .15s}.reports-body.is-refreshing{opacity:.6}.reports-summary-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.reports-stock-grid{margin-bottom:4px}.report-card small{display:block;margin-top:4px;color:var(--pos-muted);font-size:.76rem}.report-change.up{color:var(--pos-success, #34d399)}.report-change.down{color:var(--pos-danger, #fb7185)}.report-section-side{display:flex;align-items:center;gap:10px}.report-section-side>strong{color:var(--pos-accent);font-size:1.1rem;white-space:nowrap}.report-bar.is-best{background:linear-gradient(180deg,#34d399,#059669)}.report-share-list{display:grid;gap:14px}.report-share-row{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:baseline}.report-share-row strong,.report-share-row small{display:block}.report-share-row small{margin-top:2px;color:var(--pos-muted);font-size:.78rem}.report-share-row b{color:var(--pos-text);white-space:nowrap}.report-share-row .ranked-track{grid-column:1 / -1;margin-top:2px}.status-pill.is-danger{color:#fecdd3;background:#fb718529}.status-pill.is-warning{color:#fde68a;background:#fbbf2429}.status-pill.is-muted{color:var(--pos-muted);background:#d2bedc1a}.dashboard-metric .dashboard-metric-split{display:flex;flex-wrap:wrap;gap:4px 10px}.dashboard-chart-average{color:var(--pos-muted);font-size:.8rem;font-weight:600}.dashboard-bar.is-best{background:linear-gradient(180deg,#34d399,#059669)}.dashboard-bar-wrap{flex-direction:column;justify-content:flex-end;align-items:stretch;gap:3px}.dashboard-chart-value{overflow:hidden;color:var(--pos-muted);font-size:.66rem;white-space:nowrap;text-overflow:ellipsis}@media (max-width: 700px){.report-section-heading{flex-wrap:wrap}.reports-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-chart-value{display:none}}.profit-warnings{display:grid;gap:6px;margin:0;padding:10px 14px 10px 30px;border:1px solid rgba(251,191,36,.35);border-radius:12px;font-size:.88rem}.profit-warnings .is-danger{color:#fca5a5;font-weight:700}.profit-warnings .is-muted{color:var(--pos-muted, #b9aabd)}.profit-controls{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:10px 16px;margin:4px 0 8px}.profit-section td small.status-pill,.dead-stock-section td small{display:inline-block;margin-left:6px;font-size:.72rem}.dead-stock-section td small{display:block;margin-left:0;color:var(--pos-muted, #b9aabd)}.user-control-section td small{display:block;color:var(--pos-muted, #b9aabd)}.user-control-section td small.amount-negative{color:#f87171}.user-control-section tr.is-flagged td{background:#f8717114}.amount-warning{color:#fbbf24}.report-note{margin:6px 0 0;color:var(--pos-muted, #b9aabd);font-size:.85rem}.report-section-side .field-group{min-width:140px}.fix-login{--fix-navy: #060a1f;--fix-navy-soft: #0c1233;--fix-violet: var(--pos-accent, #a855d8);--fix-violet-strong: var(--pos-accent-strong, #6d28a8);--fix-violet-hover: var(--pos-accent-hover, #8b3fc7);--fix-text: #f4f2fb;--fix-muted: #a9adc8;--fix-border: rgba(160, 150, 230, .18);--fix-danger: var(--pos-danger, #fb7185);color-scheme:dark;position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);min-height:100vh;min-height:100svh;overflow:hidden;color:var(--fix-text);background:radial-gradient(60rem 40rem at 12% 8%,rgba(109,40,168,.22),transparent 60%),radial-gradient(48rem 36rem at 92% 95%,rgba(168,85,216,.12),transparent 62%),linear-gradient(160deg,var(--fix-navy-soft) 0%,var(--fix-navy) 55%,#04061a 100%)}.fix-login:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background-image:linear-gradient(rgba(180,170,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(180,170,255,.035) 1px,transparent 1px);background-size:44px 44px;-webkit-mask-image:radial-gradient(ellipse at 30% 40%,#000 0%,transparent 70%);mask-image:radial-gradient(ellipse at 30% 40%,#000 0%,transparent 70%);pointer-events:none}.fix-login__brand,.fix-login__card-brand{display:flex;margin:0}.fix-login__brand .fix-brand{font-size:72px}.fix-login__card-brand{justify-content:center}.fix-login__card-brand .fix-brand{font-size:64px}.fix-login__showcase{display:flex;flex-direction:column;justify-content:center;gap:28px;padding:clamp(40px,6vw,88px)}.fix-login__highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:640px;margin:0;padding:0;list-style:none}.fix-login__highlight{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid var(--fix-border);border-radius:14px;background:#0f143480}.fix-login__highlight strong{display:block;margin-top:1px;font-size:.93rem;line-height:1.25;color:var(--fix-text)}.fix-login__highlight strong+span{display:block;margin-top:3px;font-size:.82rem;line-height:1.4;color:var(--fix-muted)}.fix-login__highlight-icon{display:grid;flex:none;place-items:center;width:36px;height:36px;border-radius:10px;background:#a855d829;color:#e9d5ff}.fix-login__highlight-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}@media (min-width: 961px){.fix-login__showcase{display:grid;grid-template-rows:1fr auto 1fr;justify-content:stretch;gap:32px;padding:clamp(28px,3.5vw,52px) clamp(32px,4.5vw,64px)}.fix-login__brand{align-self:start}.fix-login__brand .fix-brand{font-size:clamp(80px,8vw,112px)}.fix-login__highlights{grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr;gap:14px;margin-top:40px}.fix-login__highlight{align-items:center;gap:16px;padding:18px 22px;border-radius:16px}.fix-login__highlight strong{font-size:1rem}.fix-login__highlight strong+span{margin-top:6px;font-size:.88rem;line-height:1.45}.fix-login__highlight-icon{width:42px;height:42px;border-radius:12px}.fix-login__highlight-icon svg{width:22px;height:22px}}.fix-login__panel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:clamp(24px,5vw,64px)}.fix-login__card{width:100%;max-width:440px;padding:clamp(28px,4vw,40px);border:1px solid rgba(168,85,216,.24);border-radius:24px;background:linear-gradient(180deg,#14183edb,#0c0f2ae6);box-shadow:0 30px 80px #02041499,inset 0 1px #ffffff0d;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.fix-login__card-brand{display:none;margin-bottom:24px}.fix-login__title{margin:0;font-size:1.6rem;font-weight:700;letter-spacing:-.02em;color:#fff}.fix-login__subtitle{margin:6px 0 26px;font-size:.95rem;color:var(--fix-muted)}.fix-login__form{display:grid;gap:18px}.fix-login__field{display:grid;gap:8px;font-size:.88rem;font-weight:600;color:#d9dcf0}.fix-login__field input{width:100%;min-height:52px;padding:0 16px;border:1px solid rgba(160,150,230,.22);border-radius:14px;background:#06091eb8;color:var(--fix-text);font-size:1rem;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.fix-login__field input:hover{border-color:#a855d873}.fix-login__field input:focus{outline:none;border-color:var(--fix-violet);background:#080c26e6;box-shadow:0 0 0 4px #a855d838}.fix-login__field input:-webkit-autofill,.fix-login__field input:-webkit-autofill:hover{-webkit-text-fill-color:var(--fix-text);caret-color:var(--fix-text);border-color:#a096e638;-webkit-box-shadow:0 0 0 1000px #070b24 inset;box-shadow:0 0 0 1000px #070b24 inset;transition:background-color 600000s 0s,color 600000s 0s}.fix-login__field input:-webkit-autofill:focus{-webkit-text-fill-color:var(--fix-text);border-color:var(--fix-violet);-webkit-box-shadow:0 0 0 1000px #080c26 inset,0 0 0 4px rgba(168,85,216,.22);box-shadow:0 0 0 1000px #080c26 inset,0 0 0 4px #a855d838}.fix-login__link{align-self:center;min-height:44px;padding:8px 12px;border:0;background:transparent;color:inherit;font:inherit;font-size:.92rem;text-decoration:underline;cursor:pointer}.fix-login__remember{display:flex;align-items:center;gap:10px;font-size:.88rem;color:#d9dcf0;cursor:pointer}.fix-login__remember input{width:18px;height:18px;accent-color:var(--fix-violet)}.fix-login__error{margin:0;padding:12px 14px;border:1px solid rgba(251,113,133,.35);border-radius:12px;background:#fb71851a;color:#fecdd3;font-size:.9rem}.fix-login__submit{min-height:52px;margin-top:4px;border-radius:14px;background:linear-gradient(135deg,var(--fix-violet) 0%,var(--fix-violet-strong) 100%);box-shadow:0 14px 30px #6d28a86b;color:#fff;font-size:1rem;font-weight:700;letter-spacing:.01em;cursor:pointer;transition:filter .15s ease,box-shadow .15s ease,transform .15s ease}.fix-login__submit:hover:not(:disabled){filter:brightness(1.08);box-shadow:0 18px 36px #6d28a885}.fix-login__submit:focus-visible{outline:3px solid rgba(233,213,255,.7);outline-offset:3px}.fix-login__footnote{max-width:440px;margin:0;text-align:center;font-size:.8rem;color:#a9adc8bf}@media (max-width: 960px){.fix-login{grid-template-columns:minmax(0,1fr);align-content:center;min-height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);box-sizing:border-box}.fix-login__showcase{order:2;align-items:center;gap:0;padding:0 16px 28px}.fix-login__brand{display:none}.fix-login__highlights{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));width:100%;max-width:440px;gap:10px}.fix-login__highlight{align-items:center;gap:12px;padding:15px 12px;border-radius:14px}.fix-login__highlight strong{margin:0;font-size:.9rem}.fix-login__highlight strong+span{display:none}.fix-login__highlight-icon{width:38px;height:38px;border-radius:11px}.fix-login__highlight-icon svg{width:21px;height:21px}.fix-login__card-brand{display:flex}.fix-login__panel{order:1;padding:20px 16px}}html:has(.fix-login),body:has(.fix-login){background:#04061a}@media (max-width: 420px){.fix-login__card{padding:24px 20px;border-radius:20px}.fix-login__card-brand .fix-brand{font-size:56px}.fix-login__title{font-size:1.4rem}}@media (prefers-reduced-motion: reduce){.fix-login__field input,.fix-login__submit{transition:none}}.legal-page{max-width:820px;margin:0 auto;padding:24px 16px 48px}.legal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.legal-document h2{margin:18px 0 8px}.legal-document h3{margin:16px 0 4px;font-size:1rem}.legal-document p{margin:0 0 8px;line-height:1.55}.legal-scroll{max-height:50vh;overflow-y:auto;padding:4px 14px 12px;border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:12px}.legal-draft{padding:10px 12px;border-radius:10px;background:#fbbf241f;color:#fbbf24}.legal-version{margin-top:24px;color:var(--pos-muted, #b9aabd);font-size:.85rem}.legal-check{margin:14px 0}.announcements-bar{display:grid;gap:1px}.announcement{display:flex;align-items:flex-start;gap:10px;padding:9px 14px;font-size:.84rem;line-height:1.35}.announcement.is-info{border-bottom:1px solid rgba(96,165,250,.35);background:#10213a;color:#bfdbfe}.announcement.is-warning{border-bottom:1px solid rgba(251,191,36,.4);background:#2d2108;color:#fde68a}.announcement p{flex:1;min-width:0;margin:0;overflow-wrap:anywhere}.announcement small{display:inline-block;margin-left:8px;opacity:.75;font-size:.74rem}.announcement-icon{display:inline-grid;flex:0 0 auto;place-items:center;width:20px;height:20px;border:1px solid currentColor;border-radius:50%;font-size:.72rem;font-weight:800}.announcement-close{flex:0 0 auto;width:32px;height:32px;margin:-6px -6px -6px 0;border:0;border-radius:8px;background:transparent;color:inherit;font-size:1.2rem;cursor:pointer}.announcement-close:hover{background:#ffffff14}@media (max-width: 760px){.announcement{padding:8px 12px;font-size:.8rem}.announcement small{display:block;margin:2px 0 0}}.pos-shell>.main-panel{min-width:0}.field-warning{margin:4px 0 0;padding:8px 10px;border:1px solid rgba(251,191,36,.45);border-radius:10px;background:#fbbf241f;color:#fde68a;font-size:.78rem;line-height:1.45}.pos-shell .kardex-page,.pos-shell .kardex-table-panel{min-width:0}.pos-shell .topbar .workspace-tabs,.pos-shell .inventory-subnav{display:inline-flex;gap:4px;width:auto;max-width:100%;margin:0;padding:4px;overflow-x:auto;border:1px solid var(--pos-border);border-radius:12px;background:var(--pos-surface)}.pos-shell .topbar .workspace-tabs .workspace-tab,.pos-shell .inventory-subnav button{min-height:36px;padding:7px 16px;border:0;border-radius:9px;background:transparent;box-shadow:none;color:var(--pos-muted);font-size:.8rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.pos-shell .topbar .workspace-tabs .workspace-tab:hover,.pos-shell .inventory-subnav button:hover{background:#a855d81a;color:var(--pos-text)}.pos-shell .topbar .workspace-tabs .workspace-tab.active,.pos-shell .inventory-subnav .inventory-subnav-current{background:var(--pos-surface-soft);box-shadow:inset 0 0 0 1px #a855d880;color:var(--pos-text)}@media (max-width: 760px){.pos-shell .inventory-subnav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.pos-shell .inventory-subnav button{padding:6px;font-size:.68rem;line-height:1.2;white-space:normal}}@container pos-sale (min-width: 760px){.main-panel.pos-sale-panel .totals-panel,.main-panel.pos-sale-panel .sales-floating-actions{position:sticky;bottom:12px;z-index:5}.main-panel.pos-sale-panel .totals-panel{background:linear-gradient(180deg,#a855d81a,#a855d80a),var(--sale-surface, var(--pos-surface));box-shadow:0 12px 0 var(--sale-surface, var(--pos-surface)),0 -8px 20px #00000059}.main-panel.pos-sale-panel .sales-floating-actions{border-radius:12px;background:var(--sale-surface, var(--pos-surface));box-shadow:-12px 0 0 var(--sale-surface, var(--pos-surface)),0 12px 0 var(--sale-surface, var(--pos-surface))}}.pos-shell .billing-panel,.billing-blocked-shell .billing-panel{max-width:none;padding:0;color:var(--pos-text)}.billing-blocked-shell{background:radial-gradient(circle at 15% -10%,#24122f 0,transparent 36%),var(--pos-bg);color:var(--pos-text);padding-top:max(24px,env(safe-area-inset-top));padding-right:max(16px,env(safe-area-inset-right));padding-bottom:max(24px,env(safe-area-inset-bottom));padding-left:max(16px,env(safe-area-inset-left))}.billing-blocked-shell>div{width:min(1100px,100%)}.pos-shell .billing-card,.billing-blocked-shell .billing-card{gap:10px;padding:18px 20px;border:1px solid var(--pos-border);border-radius:16px;background:var(--pos-surface);color:var(--pos-text)}.pos-shell .billing-card h2,.billing-blocked-shell .billing-card h2{color:#f3e8ff;font-size:1.02rem}.pos-shell .billing-plan-name,.billing-blocked-shell .billing-plan-name{color:#fff;font-size:1.3rem}.pos-shell .billing-muted,.pos-shell .billing-dates dt,.billing-blocked-shell .billing-muted,.billing-blocked-shell .billing-dates dt{color:var(--pos-muted)}.pos-shell .billing-dates dd,.billing-blocked-shell .billing-dates dd{color:var(--pos-text);font-variant-numeric:tabular-nums}.pos-shell .billing-dates div,.billing-blocked-shell .billing-dates div{padding:6px 0;border-bottom:1px solid var(--pos-border)}.pos-shell .billing-table th,.pos-shell .billing-table td,.billing-blocked-shell .billing-table th,.billing-blocked-shell .billing-table td{border-bottom-color:var(--pos-border);color:var(--pos-text)}.pos-shell .billing-table th,.billing-blocked-shell .billing-table th{color:var(--pos-muted);font-size:.75rem;letter-spacing:.04em;text-transform:uppercase}.pos-shell .billing-state,.pos-shell .billing-payment,.billing-blocked-shell .billing-state,.billing-blocked-shell .billing-payment{border:1px solid var(--pos-border-strong);background:var(--pos-surface-soft);color:var(--pos-text)}.pos-shell .billing-state.is-trialing,.billing-blocked-shell .billing-state.is-trialing{border-color:#60a5fa73;background:#60a5fa24;color:#bfdbfe}.pos-shell .billing-state.is-active,.pos-shell .billing-payment.is-confirmed,.billing-blocked-shell .billing-state.is-active,.billing-blocked-shell .billing-payment.is-confirmed{border-color:#34d39973;background:#34d3991f;color:#a7f3d0}.pos-shell .billing-state.is-grace,.pos-shell .billing-payment.is-pending,.billing-blocked-shell .billing-state.is-grace,.billing-blocked-shell .billing-payment.is-pending{border-color:#fbbf2473;background:#fbbf241f;color:#fde68a}.pos-shell .billing-state.is-expired,.pos-shell .billing-state.is-canceled,.pos-shell .billing-payment.is-rejected,.billing-blocked-shell .billing-state.is-expired,.billing-blocked-shell .billing-state.is-canceled,.billing-blocked-shell .billing-payment.is-rejected{border-color:#fb718573;background:#fb71851f;color:#fecdd3}.pos-shell .billing-alert,.billing-blocked-shell .billing-alert{border-color:var(--pos-border-strong);background:var(--pos-surface-raised);color:var(--pos-text)}.pos-shell .billing-alert.is-error,.billing-blocked-shell .billing-alert.is-error{border-color:#fb718573;background:#fb71851a;color:#fecdd3}.pos-shell .billing-alert.is-warning,.billing-blocked-shell .billing-alert.is-warning{border-color:#fbbf2473;background:#fbbf241a;color:#fde68a}.pos-shell .billing-alert.is-success,.billing-blocked-shell .billing-alert.is-success{border-color:#34d39973;background:#34d3991a;color:#a7f3d0}.pos-shell .billing-alert.is-info,.billing-blocked-shell .billing-alert.is-info{border-color:#60a5fa73;background:#60a5fa1a;color:#bfdbfe}.pos-shell .billing-account,.billing-blocked-shell .billing-account{border-color:#c084fc73;background:#a855f71a;color:var(--pos-text)}.pos-shell .billing-account-label,.billing-blocked-shell .billing-account-label{color:var(--pos-muted)}.pos-shell .billing-account-alias,.billing-blocked-shell .billing-account-alias{color:#fff}.pos-shell .billing-account-status,.billing-blocked-shell .billing-account-status{color:#a7f3d0}.pos-shell .billing-panel input[type=file],.billing-blocked-shell .billing-panel input[type=file]{color:var(--pos-muted);font-size:.85rem}.pos-shell .billing-panel input[type=file]::file-selector-button,.billing-blocked-shell .billing-panel input[type=file]::file-selector-button{margin-right:10px;padding:7px 12px;border:1px solid var(--pos-border-strong);border-radius:10px;background:var(--pos-surface-raised);color:var(--pos-text);font:inherit;font-weight:600;cursor:pointer}.pos-shell .table-button,.pos-shell .table-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:6px 12px;border:1px solid var(--pos-border-strong);border-radius:10px;background:var(--pos-surface-raised);color:var(--pos-text);font:inherit;font-size:.82rem;font-weight:700;line-height:1.2;cursor:pointer;transition:background .15s ease,border-color .15s ease}.pos-shell .table-button:hover:not(:disabled),.pos-shell .table-action:hover:not(:disabled){border-color:var(--pos-accent);background:var(--pos-surface-soft)}.pos-shell .table-button:focus-visible,.pos-shell .table-action:focus-visible{outline:2px solid var(--pos-accent);outline-offset:2px}.pos-shell .table-button.secondary{border-color:#a855d866;background:#a855d829;color:#e9d5ff}.pos-shell .table-button.danger,.pos-shell .table-action.danger{border-color:#fb718573;background:transparent;color:#fda4af}.pos-shell .table-button.danger:hover:not(:disabled),.pos-shell .table-action.danger:hover:not(:disabled){border-color:var(--pos-danger);background:#fb71851f}.pos-shell .table-button:disabled,.pos-shell .table-action:disabled{cursor:not-allowed;opacity:.5}@media (max-width: 760px){.pos-shell .table-button,.pos-shell .table-action{min-height:44px}}.pos-shell .row-more-menu{position:relative;display:inline-block}.pos-shell .row-more-menu>summary{list-style:none}.pos-shell .row-more-menu>summary::-webkit-details-marker{display:none}.pos-shell .row-more-popover{position:absolute;top:calc(100% + 6px);right:0;z-index:20;display:grid;min-width:170px;padding:6px;border:1px solid var(--pos-border-strong);border-radius:12px;background:var(--pos-surface-raised);box-shadow:0 14px 30px #00000073}.pos-shell .row-more-popover button{min-height:38px;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:var(--pos-text);font:inherit;font-size:.85rem;text-align:left;cursor:pointer}.pos-shell .row-more-popover button.danger-action{color:#fda4af}.pos-shell .row-more-popover button:hover,.pos-shell .row-more-popover button:focus-visible{background:#fb71851f;outline:none}.pos-shell .products-toolbar:has(.customers-status-filter){display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}.pos-shell .products-toolbar .customer-search,.pos-shell .products-toolbar:has(.customers-status-filter)>.search-box{flex:1 1 320px}.pos-shell .customers-status-filter{flex:0 0 160px;margin:0}.pos-shell .customers-new-button{min-height:46px}.pos-shell .nav-icon{display:inline-grid;flex:none;place-items:center;width:22px;height:22px}.pos-shell .nav-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}@media (max-width: 720px){.pos-shell .pending-order-summary small{flex-basis:auto;max-width:100%;overflow-wrap:anywhere}}.pos-shell .sales-post-sale{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;padding:12px 16px;border:1px solid rgba(52,211,153,.4);border-radius:14px;background:#34d39914}.pos-shell .sales-post-sale>div:first-child{display:grid;gap:2px}.pos-shell .sales-post-sale strong{color:#a7f3d0}.pos-shell .sales-post-sale span{color:var(--pos-muted);font-size:.86rem}.pos-shell .sales-post-sale-actions{display:flex;flex-wrap:wrap;gap:8px}.receipt-dialog .receipt-paper{background:#fff;color:#172033}@media print{.receipt-backdrop{background:#fff!important}}.dashboard-alert-metric{width:100%;font:inherit;text-align:left;cursor:pointer;min-height:44px}.dashboard-alert-metric:hover,.dashboard-alert-metric:focus-visible{border-color:var(--pos-accent, #a855d8);outline:none}.dashboard-alert-row{width:100%;min-height:48px;border:0;border-bottom:1px solid var(--pos-border, rgba(210, 190, 220, .16));background:transparent;font:inherit;text-align:left;cursor:pointer}.dashboard-alert-row:hover,.dashboard-alert-row:focus-visible{background:#a855d814;outline:none}.dashboard-alert-row>span{flex:0 0 auto;text-align:right;font-size:.8rem}.dashboard-grid>*,.dashboard-alerts-card{min-width:0}.dashboard-alert-row>div{flex:1 1 auto;min-width:0}.dashboard-alerts-card .dashboard-card-header .table-button{flex:0 0 auto;white-space:nowrap}@media (max-width: 560px){.dashboard-alert-row{flex-wrap:wrap;row-gap:4px}.dashboard-alert-row>span{flex-basis:100%;text-align:left}}.dashboard-alerts-subheader{margin-top:18px}.dashboard-more{min-height:40px;padding:6px 0;border:0;background:transparent;color:var(--pos-accent, #a855d8);font:inherit;font-size:.82rem;text-align:left;cursor:pointer}.dashboard-alert-note{margin:8px 0 0;color:var(--pos-muted, #b9aabd);font-size:.78rem}.inventory-alert-strip button{min-height:36px;padding:6px 12px;border:1px solid rgba(251,191,36,.22);border-radius:999px;background:#f59e0b14;color:#fcd34d;font:inherit;font-size:.78rem;font-weight:700;cursor:pointer}.inventory-alert-strip button.inventory-alert-expiry{border-color:#f871713d;background:#f8717114;color:#fda4af}.inventory-alert-strip button[aria-pressed=true]{box-shadow:inset 0 0 0 1px currentColor}.inventory-active-alert-filter{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;border:1px solid var(--pos-border-strong, rgba(210, 190, 220, .28));border-radius:12px;color:var(--pos-text, #f5f0f7);font-size:.85rem}.expiry-label.expiry-expired{color:#fca5a5;font-weight:700}.expiry-label.expiry-expiring{color:#fbbf24;font-weight:700}.alert-chips{display:inline-flex;flex:none;align-items:center;gap:4px}.alert-chip{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;font-size:.72rem;font-weight:800;line-height:1}.alert-chip-expired{background:#dc2626;color:#fff}.alert-chip-expiring{background:#f97316;color:#1c0a00}.alert-chip-low{background:#f59e0b;color:#1c1004}.alert-text-expired{color:#fca5a5}.alert-text-expiring{color:#fdba74}.alert-text-low{color:#fcd34d}.dashboard-alert-metric.alert-tone-expired strong{color:#f87171}.dashboard-alert-metric.alert-tone-expiring strong{color:#fb923c}.dashboard-alert-metric.alert-tone-low strong{color:#fbbf24}.dashboard-alert-metric.alert-tone-expired{border-color:#f8717173}.dashboard-alert-metric.alert-tone-expiring{border-color:#fb923c73}.dashboard-alert-metric.alert-tone-low{border-color:#fbbf2466}.nav-alert-dot{flex:none;width:12px;height:12px;margin-left:auto;border-radius:50%;box-shadow:0 0 0 2px #00000059}.nav-alert-dot-expired{background:#ef4444}.nav-alert-dot-expiring{background:#f97316}.nav-alert-dot-low{background:#f59e0b}.nav-alert-item{display:flex;align-items:center;gap:6px;font-weight:700;white-space:nowrap}.nav-alert-item .alert-chips{margin-left:auto}.nav-alert-item.nav-alert-expired{color:#fca5a5}.nav-alert-item.nav-alert-expiring{color:#fdba74}.nav-alert-item.nav-alert-low{color:#fcd34d}.mobile-topbar,.mobile-topbar.has-platform-admin{grid-template-columns:52px 1fr auto}.mobile-topbar .mobile-menu-button{width:52px;height:48px;margin-left:2px;border:1px solid rgba(168,85,216,.35)}.mobile-topbar .mobile-menu-button svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}.mobile-bottom-bar,.sidebar-bar-settings{display:none}@media (max-width: 760px){.mobile-bottom-bar{position:fixed;right:0;bottom:0;left:0;z-index:40;display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));padding:6px 6px calc(6px + env(safe-area-inset-bottom));border-top:1px solid var(--pos-border, rgba(210, 190, 220, .16));background:#120a1af7;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.payment-modal-backdrop{z-index:45}.payment-modal-backdrop,.payment-modal{overscroll-behavior:contain}.payment-modal input[type=date]{min-width:0;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none}.payment-modal .supplier-form-grid>*{min-width:0}.receipt-backdrop{z-index:45;align-items:flex-start;padding:12px 12px calc(12px + env(safe-area-inset-bottom));overscroll-behavior:contain}.receipt-dialog{margin-block:auto}.receipt-actions{flex-wrap:wrap;justify-content:flex-start}.mobile-bottom-bar button{display:grid;justify-items:center;gap:3px;min-height:52px;padding:6px 2px;border:0;border-radius:12px;background:transparent;color:var(--pos-muted, #b9aabd);font:inherit;font-size:.7rem;font-weight:700;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:manipulation}.mobile-bottom-bar button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.mobile-bottom-bar button.active{background:#a855d82e;color:#f3e8ff}.pos-shell .main-panel{padding-bottom:calc(84px + env(safe-area-inset-bottom))}.main-panel.pos-sale-panel .sales-floating-actions{bottom:calc(64px + env(safe-area-inset-bottom));padding-bottom:10px}.pos-shell .main-panel.pos-sale-panel{padding-bottom:calc(160px + env(safe-area-inset-bottom))}.checkout-button,.sales-checkout-column .checkout-button{bottom:calc(72px + env(safe-area-inset-bottom))}.users-form-actions{bottom:calc(52px + env(safe-area-inset-bottom))}.sidebar-bar-settings{display:block;width:100%;min-height:44px;margin-top:8px;border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:12px;background:transparent;color:var(--pos-text, #f5f0f7);font:inherit;font-weight:700}}.labels-panel{display:grid;gap:14px}.labels-intro{margin:0;color:var(--pos-muted)}.labels-layout{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));align-items:start}.labels-card{display:grid;gap:12px;padding:16px 18px;border:1px solid var(--pos-border);border-radius:16px;background:var(--pos-surface);color:var(--pos-text);min-width:0}.labels-card h3{display:flex;align-items:center;gap:8px;margin:0;color:#f3e8ff;font-size:1rem}.labels-field{display:grid;gap:6px;flex:1 1 200px;min-width:0}.labels-field>span{color:var(--pos-muted);font-size:.85rem;font-weight:600}.labels-field input,.labels-field select{width:100%;min-height:44px;padding:8px 12px;box-sizing:border-box;border:1px solid var(--pos-border-strong);border-radius:12px;background:var(--pos-surface-raised);color:var(--pos-text);font:inherit}.labels-row{display:flex;flex-wrap:wrap;align-items:end;gap:10px}.labels-row .ghost-button{min-height:44px}.labels-scan{display:inline-flex;align-items:center;gap:8px}.labels-scan svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.labels-muted{margin:0;color:var(--pos-muted);font-size:.88rem}.labels-results,.labels-chosen{display:grid;gap:6px;margin:0;padding:0;list-style:none}.labels-chosen{max-height:420px;overflow-y:auto;overscroll-behavior:contain}.labels-results li,.labels-chosen li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border:1px solid var(--pos-border);border-radius:12px;background:var(--pos-surface-raised)}.labels-product{display:grid;gap:2px;min-width:0}.labels-product strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.92rem}.labels-product small{color:var(--pos-muted)}.labels-added{flex:none;color:#a7f3d0;font-size:.85rem;font-weight:700}.labels-remove{flex:none;width:36px;height:36px;border:0;border-radius:10px;background:transparent;color:var(--pos-muted);font-size:1.3rem;cursor:pointer}.labels-remove:hover{background:#fb71851f;color:#fecdd3}.labels-link{padding:0;border:0;background:none;color:#d8b4fe;font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}.labels-list-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.labels-count{padding:1px 9px;border-radius:999px;background:#a855f733;color:#e9d5ff;font-size:.8rem}.labels-from-catalog{justify-self:start;min-height:44px}.labels-status{min-height:1em;margin:0;color:#a7f3d0;font-size:.88rem}.labels-status:empty{display:none}.labels-print{min-height:48px}@media (max-width: 760px){.labels-remove{width:44px;height:44px}.labels-results .table-button{min-height:40px}}.support-mode-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border-bottom:1px solid rgba(251,191,36,.35);background:#241a08;color:#fde68a}.support-mode-detail{margin-top:3px;color:#f5e3b3;font-size:13px}.support-mode-bar .ghost-button{min-height:40px;padding:8px 14px;border:1px solid rgba(251,191,36,.45);border-radius:10px;background:#fbbf241f;color:#fde68a;font-weight:700;cursor:pointer}.support-mode-bar .ghost-button:hover{background:#fbbf2433}.announcements-bar:first-child,.support-mode-bar:first-child{padding-top:max(12px,env(safe-area-inset-top))}@media (max-width: 760px){.payment-modal-backdrop{padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom))}.payment-modal-backdrop .payment-modal{max-height:calc(100dvh - max(12px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom)))}.receipt-backdrop{padding-top:max(12px,env(safe-area-inset-top))}.quantity-modal{max-height:calc(100dvh - 12px - env(safe-area-inset-top))}}body .notice-dialog-overlay,body .scanner-overlay{padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}body .notice-dialog,body .scanner-card{max-height:calc(100dvh - max(16px,env(safe-area-inset-top)) - max(16px,env(safe-area-inset-bottom)))}.pos-shell .input-error{border-color:#fb718599!important;background:#f43f5e14!important}@media (max-width: 760px){.announcement-close,.cash-banner-close,.icon-button{width:44px;height:44px}.announcement-close{margin:-10px -10px -10px 0}}.bottom-bar-editor{display:grid;gap:12px;width:min(100%,420px);max-height:85vh;overflow:auto}.bottom-bar-editor h3,.bottom-bar-editor p{margin:0}.bottom-bar-order{display:grid;gap:6px;margin:0;padding-left:20px}.bottom-bar-order li{display:flex;align-items:center;gap:6px}.bottom-bar-order li span{flex:1;font-weight:700}.bottom-bar-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:10px;border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:12px}.bottom-bar-options legend{padding:0 4px;color:var(--pos-muted, #b9aabd);font-size:.8rem}.bottom-bar-options label{display:flex;align-items:center;gap:8px;min-height:40px}.offline-banner{display:grid;gap:4px;margin:0 0 14px;padding:10px 14px;border:1px solid rgba(251,191,36,.45);border-radius:12px;background:#f59e0b24;color:#fde68a;font-size:.88rem;line-height:1.4}.offline-banner p{margin:0}.offline-banner strong{color:#fef3c7}.offline-banner.has-failed{border-color:#f8717199}.offline-banner .table-button{margin-left:6px}.offline-alerts{display:grid;gap:10px;margin:0 0 18px;padding:14px 16px;border:1px solid rgba(251,191,36,.45);border-radius:14px;background:#f59e0b14}.offline-alerts h2{margin:0;color:#fde68a;font-size:1.05rem}.offline-alerts>p{margin:0;color:var(--pos-muted, #b9aabd);font-size:.88rem}.offline-alerts>ul{display:grid;gap:10px;margin:0;padding:0;list-style:none}.offline-alerts>ul>li{display:grid;gap:8px;justify-items:start;padding:12px;border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:12px;background:var(--pos-surface, #180d20)}.offline-alerts-head{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline}.offline-alerts-head span{color:var(--pos-muted, #b9aabd);font-size:.85rem}.offline-alerts li ul{display:grid;gap:4px;margin:0;padding-left:18px;color:#fde68a;font-size:.9rem}.cash-offline-note{margin:0 0 12px;padding:10px 12px;border:1px solid rgba(251,191,36,.45);border-radius:10px;background:#f59e0b14;color:#fde68a;font-size:.88rem;line-height:1.4}.offline-alerts.offline-pending{border-color:var(--pos-border, rgba(210, 190, 220, .16));background:#ffffff08}.offline-alerts.offline-pending h2,.offline-alerts.offline-pending li ul{color:var(--pos-text, #f5eef8)}.offline-alerts.offline-pending small{color:var(--pos-muted, #b9aabd);font-size:.82rem}.offline-alerts.offline-pending>ul>li.is-failed{border-color:#f8717180}.offline-alerts.offline-pending>ul>li.is-failed .offline-alerts-head span{color:#fca5a5}.offline-review{display:grid;gap:12px;width:min(100%,560px);max-height:85vh;overflow:auto}.offline-review h3,.offline-review p{margin:0}.offline-review ul{display:grid;gap:10px;margin:0;padding:0;list-style:none}.offline-review li{display:grid;gap:6px;padding:12px;border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:12px}.offline-review li span{color:#fca5a5}.mobile-topbar-title{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:0}.mobile-topbar-title .fix-brand{flex:none;font-size:28px}.mobile-topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.mobile-alert-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:44px;height:44px;padding:0 8px;border:1px solid rgba(251,191,36,.4);border-radius:12px;background:#f59e0b24;color:#fcd34d;font:inherit;font-weight:800;cursor:pointer}.mobile-alert-button.mobile-alert-expired{border-color:#f8717199;background:#dc262629;color:#fca5a5}.mobile-alert-button.mobile-alert-expiring{border-color:#fb923c99;background:#f9731629;color:#fdba74}.alert-bell{position:relative}.mobile-alert-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.mobile-alert-button.alert-bell-quiet{border-color:#a855d859;background:#321842;color:var(--pos-text, #f5f0f7)}.alert-bell-panel{position:absolute;top:calc(100% + 6px);right:0;z-index:60;display:grid;gap:6px;width:max-content;min-width:210px;max-width:calc(100vw - 32px);padding:12px;border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:14px;background:#1c1024;box-shadow:0 12px 30px #00000073;text-align:left}.alert-bell-panel strong{font-size:.92rem}.alert-bell-panel p{margin:0;color:var(--pos-muted, #b9aabd);font-size:.88rem}.alert-bell-item{min-height:42px;padding:8px 12px;border:1px solid rgba(251,191,36,.4);border-radius:10px;background:#f59e0b1f;color:#fcd34d;font:inherit;font-weight:700;text-align:left;cursor:pointer}.alert-bell-item.alert-bell-expired{border-color:#f871718c;background:#dc262624;color:#fca5a5}.alert-bell-item.alert-bell-expiring{border-color:#fb923c8c;background:#f9731624;color:#fdba74}.alert-bell-item.alert-bell-all{border-color:var(--pos-border, rgba(210, 190, 220, .16));background:transparent;color:var(--pos-text, #f5f0f7)}.mobile-session-actions .mobile-icon-action,.main-panel.pos-sale-panel .mobile-session-actions .mobile-icon-action{display:inline-flex;flex:0 0 44px;align-items:center;justify-content:center;width:44px;min-width:44px;padding:0}.mobile-session-actions{gap:8px;align-items:center}.mobile-session-actions .mobile-alert-button{height:40px;min-height:40px}.mobile-session-actions .alert-bell-panel{right:auto;left:0}.mobile-session-actions .mobile-logout,.main-panel.pos-sale-panel .mobile-session-actions .mobile-logout{flex:0 1 auto;margin-left:auto;padding:8px 16px;font-size:.86rem}.mobile-icon-action svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.mobile-icon-action.sync-syncing svg{animation:sync-spin 1s linear infinite}.mobile-icon-action.sync-success{color:#86efac}.mobile-icon-action.sync-error{color:#fca5a5}@keyframes sync-spin{to{transform:rotate(360deg)}}.inventory-alert-strip button.inventory-alert-expired{border-color:#f8717173;background:#dc262624;color:#fca5a5}.inventory-alert-strip button.inventory-alert-expiring{border-color:#fb923c73;background:#f9731624;color:#fdba74}.expiry-label.expiry-expiring{color:#fdba74}@media (max-width: 760px){.inventory-alert-strip button,.inventory-active-alert-filter button,.dashboard-more,.dashboard-alerts-card .dashboard-card-header .table-button{min-height:44px}}.receipt-paper{box-sizing:border-box;width:80mm;max-width:100%;margin:0 auto;padding:3mm 4mm 5mm;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:1.3;overflow-wrap:anywhere}.receipt-paper h1{font-size:16px;line-height:1.2}.receipt-paper .receipt-item span{flex:1 1 auto;min-width:0}.receipt-paper .receipt-item>strong,.receipt-paper .receipt-totals strong,.receipt-paper .receipt-payment strong{flex:0 0 auto;white-space:nowrap}.receipt-paper .receipt-item,.receipt-paper .receipt-totals>div,.receipt-paper .receipt-payment>div{gap:3mm;padding:1mm 0;font-size:12px}.receipt-paper .receipt-rule{margin:3mm 0}.receipt-paper .receipt-items{margin-top:3mm}.receipt-paper .receipt-footer{margin-top:4mm}.receipt-paper .receipt-legal{margin:3mm 0 0;text-align:center;font-size:.78em;text-transform:uppercase;letter-spacing:.02em}.receipt-paper .receipt-reference{margin-top:3mm;padding-top:2mm}@media print{html,body{margin:0!important;padding:0!important;width:auto!important;height:auto!important;min-height:0!important;overflow:visible!important;background:#fff!important}body:has(.receipt-paper) *:not(:has(.receipt-paper)):not(.receipt-paper):not(.receipt-paper *){display:none!important}body:has(.receipt-paper) *:has(.receipt-paper){display:block!important;position:static!important;inset:auto!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;background:#fff!important;box-shadow:none!important;transform:none!important;filter:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;overflow:visible!important}.receipt-paper{width:80mm!important;max-width:none!important;min-height:0!important;margin:0!important;padding:3mm 4mm 5mm!important;border:0!important;background:#fff!important;box-shadow:none!important}.receipt-paper,.receipt-paper *{color:#000!important;border-color:#000!important}.receipt-paper .receipt-item,.receipt-paper .receipt-totals>div,.receipt-paper .receipt-payment>div{break-inside:avoid}}.receipt-hint,.receipt-error{margin:0 0 10px;padding:8px 12px;border-radius:10px;font-size:.85rem}.receipt-hint{border:1px solid rgba(96,165,250,.4);background:#60a5fa1a;color:#bfdbfe}.receipt-error{border:1px solid rgba(251,113,133,.45);background:#fb71851a;color:#fecdd3}@media (max-width: 760px){.pos-shell .mobile-workspace-tabs{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px;padding:4px;border:1px solid var(--pos-border);border-radius:12px;background:var(--pos-surface)}.pos-shell .mobile-workspace-tabs .workspace-tab{grid-column:auto;min-height:44px;padding:6px 4px;border:0;border-radius:9px;background:transparent;color:var(--pos-muted);font-size:.72rem;letter-spacing:.03em;text-transform:uppercase}.pos-shell .mobile-workspace-tabs .workspace-tab.active{border:0;background:var(--pos-surface-soft);box-shadow:inset 0 0 0 1px #a855d880;color:var(--pos-text)}}.pos-shell .load-notice-error{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 16px;border-color:#fb718573;color:#fecdd3}.pos-shell .field-group textarea,.pos-shell .settings-section textarea{width:100%;padding:10px 12px;border:1px solid var(--pos-border-strong);border-radius:12px;background-color:var(--pos-surface-raised);color:var(--pos-text);font:inherit;font-size:.92rem;line-height:1.45}.pos-shell .field-group textarea:focus{border-color:var(--pos-accent);outline:none;box-shadow:0 0 0 3px #a855d833}.settings-save-bar{align-items:center}.settings-save-state{padding:4px 10px;border-radius:999px;font-size:.78rem;font-weight:700}.settings-save-state.saved{background:#34d3991f;color:var(--pos-success)}.settings-save-state.dirty{background:#fbbf2424;color:#fcd34d}.settings-save-state.saving{background:#a855d829;color:#e9d5ff}.settings-advanced{display:grid;justify-items:start;gap:14px;margin-top:18px}.settings-advanced-toggle{font-size:.85rem}.settings-local-tools{display:grid;gap:14px;width:100%}.settings-local-warning{margin:0;padding:12px 14px;border:1px solid rgba(251,191,36,.4);border-radius:12px;background:#fbbf2414;color:#fde68a;font-size:.88rem;line-height:1.5}.settings-local-tool{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 18px;padding:12px 0;border-top:1px solid var(--pos-border)}.settings-local-tool>div{flex:1 1 280px}.settings-local-tool .settings-help{margin:4px 0 0}.settings-local-tool button:disabled{cursor:not-allowed;opacity:.5}.sidebar-collapse-toggle{position:relative;display:inline-grid;flex:none;place-items:center;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:#e9d5f5;cursor:pointer}.sidebar-collapse-toggle:before{content:"";position:absolute;top:8px;left:8px;width:28px;height:28px;box-sizing:border-box;border:1px solid var(--pos-border-strong, rgba(210, 190, 220, .28));border-radius:50%;background:#241430;transition:border-color .15s ease,box-shadow .15s ease}.sidebar-collapse-toggle svg{position:relative;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease}.sidebar-collapse-toggle:hover{color:#fff}.sidebar-collapse-toggle:hover:before{border-color:var(--pos-accent, #a855d8)}.sidebar-collapse-toggle:focus-visible{outline:none;color:#fff}.sidebar-collapse-toggle:focus-visible:before{border-color:var(--pos-accent, #a855d8);box-shadow:0 0 0 3px #a855d88c}@media (max-width: 760px){.sidebar-collapse-toggle{display:none}}@media (min-width: 761px){.pos-shell .sidebar{position:relative;flex:none;transition:width .2s ease,padding .2s ease}.sidebar-collapse-toggle{position:absolute;top:36px;right:-22px;z-index:5}.sidebar.collapsed .sidebar-collapse-toggle{position:relative;top:auto;right:auto}.sidebar.collapsed .brand-block{flex-direction:column;gap:6px}.pos-shell .sidebar.collapsed{width:76px;padding:20px 10px;gap:18px}.sidebar.collapsed .brand-block{justify-content:center;padding:4px 0 14px}.sidebar.collapsed .brand-block .brand-logo-mark{display:inline-flex}.sidebar.collapsed .brand-text,.sidebar.collapsed .sidebar-session-user,.sidebar.collapsed .sidebar-card,.sidebar.collapsed .nav-subitems:not(.nav-alert-subitems){display:none}.sidebar.collapsed .sidebar-collapse-toggle svg{transform:rotate(180deg)}.sidebar.collapsed .nav-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.sidebar.collapsed .nav-item{position:relative;justify-content:center;min-height:44px;padding:10px 0}.sidebar.collapsed .nav-alert-dot{position:absolute;top:6px;right:10px;width:10px;height:10px;margin:0}.sidebar.collapsed .nav-alert-subitems{margin-left:0}.sidebar.collapsed .nav-alert-item{position:relative;flex-direction:column;justify-content:center;gap:3px;min-height:44px;padding:6px 0;border-left:0;border-radius:10px;text-align:center}.sidebar.collapsed .nav-alert-item .alert-chips{flex-direction:column;margin:0;gap:3px}.sidebar.collapsed [data-tooltip]:hover:after,.sidebar.collapsed [data-tooltip]:focus-visible:after{content:attr(data-tooltip);position:absolute;top:50%;left:calc(100% + 12px);z-index:60;transform:translateY(-50%);padding:6px 10px;border:1px solid var(--pos-border-strong, rgba(210, 190, 220, .28));border-radius:8px;background:#2a1736;box-shadow:0 8px 24px #00000059;color:#fff;font-size:.8rem;font-weight:600;white-space:nowrap;pointer-events:none}.sidebar.collapsed .nav-item:focus-visible,.sidebar.collapsed .nav-alert-item:focus-visible{outline:2px solid var(--pos-accent, #a855d8);outline-offset:2px}}.app-loading-screen{display:grid;min-height:100vh;place-content:center;justify-items:center;gap:16px;padding:24px;background:var(--pos-bg, #100914);color:var(--pos-muted, #b9aabd);font-size:.95rem;text-align:center}.app-loading-screen .fix-brand{font-size:64px;animation:fix-loading-pulse 1.6s ease-in-out infinite}@keyframes fix-loading-pulse{50%{opacity:.55;transform:scale(.96)}}@media (prefers-reduced-motion: reduce){.app-loading-screen .fix-brand{animation:none}}.no-modules-screen{display:grid;gap:12px;justify-items:start;max-width:620px;padding:24px;border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:16px;background:var(--pos-surface, #180d20);color:var(--pos-text, #f5f0f7)}.no-modules-screen h2{margin:0;font-size:1.2rem}.no-modules-screen p{margin:0;color:var(--pos-muted, #b9aabd);line-height:1.5}.shelf-labels-dialog{display:grid;gap:12px;width:min(100%,760px);max-height:92vh;overflow:auto}.shelf-labels-dialog h3,.shelf-labels-summary,.shelf-labels-hint{margin:0}.shelf-labels-summary,.shelf-labels-hint{color:var(--pos-muted, #b9aabd);font-size:.86rem}.shelf-labels-options{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:flex-end}.shelf-labels-options fieldset{display:flex;flex-wrap:wrap;gap:6px 14px;margin:0;padding:8px 12px;border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:12px}.shelf-labels-options legend{padding:0 4px;color:var(--pos-muted, #b9aabd);font-size:.8rem}.shelf-labels-options label{display:flex;align-items:center;gap:8px;min-height:40px}.shelf-labels-options small{color:var(--pos-muted, #b9aabd)}.shelf-labels-dialog{accent-color:#a855f7;color:var(--pos-text, #f5f0f7);max-height:92dvh}.shelf-labels-options fieldset{flex:1 1 280px}.shelf-labels-options fieldset label{flex:1 1 100%;padding:6px 10px;border:1px solid transparent;border-radius:10px;cursor:pointer}.shelf-labels-options fieldset label:has(input:checked){border-color:#c084fc8c;background:#a855f724}.shelf-labels-options input[type=radio],.shelf-labels-options input[type=checkbox]{width:20px;height:20px;margin:0}.shelf-labels-copies{display:grid;gap:6px}.shelf-labels-copies>label{color:var(--pos-muted, #b9aabd);font-size:.85rem;font-weight:600}.shelf-labels-stepper{display:inline-flex;align-items:stretch;overflow:hidden;border:1px solid var(--pos-border-strong, rgba(210, 190, 220, .28));border-radius:12px;background:var(--pos-surface-raised, #24122f)}.shelf-labels-stepper button{width:44px;min-height:44px;border:0;background:transparent;color:var(--pos-text, #f5f0f7);font:inherit;font-size:1.3rem;font-weight:700;cursor:pointer}.shelf-labels-stepper button:disabled{opacity:.35;cursor:default}.shelf-labels-stepper button:not(:disabled):hover{background:#a855f729}.shelf-labels-stepper input{width:56px;min-height:44px;padding:0;border:0;border-inline:1px solid var(--pos-border, rgba(210, 190, 220, .16));background:transparent;color:var(--pos-text, #f5f0f7);font:inherit;font-weight:700;text-align:center;-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}.shelf-labels-stepper input::-webkit-outer-spin-button,.shelf-labels-stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.shelf-labels-dialog .form-actions .ghost-button{border:1px solid var(--pos-border-strong, rgba(210, 190, 220, .28));background:var(--pos-surface-raised, #24122f);color:var(--pos-text, #f5f0f7)}.shelf-labels-dialog .form-actions .ghost-button:hover{border-color:#c084fc99}.shelf-labels-preview{max-height:46vh;overflow:auto;padding:8px;border-radius:12px;background:#fff}.shelf-labels-sheet{display:grid;gap:0;justify-content:start;color:#000;font-family:Arial,Helvetica,sans-serif}.shelf-labels-large{grid-template-columns:repeat(3,63mm);grid-auto-rows:38mm}.shelf-labels-small{grid-template-columns:repeat(4,48mm);grid-auto-rows:25mm}.shelf-label{display:grid;grid-template-rows:auto 1fr auto;box-sizing:border-box;overflow:hidden;padding:2mm 2.5mm 1.5mm;border:.2mm dashed #9ca3af;background:#fff;color:#000;break-inside:avoid}.shelf-label-name{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:10pt;font-weight:700;line-height:1.15;text-transform:uppercase}.shelf-label-price{display:flex;align-items:baseline;gap:1.5mm;align-self:center}.shelf-label-price strong{font-size:22pt;font-weight:800;line-height:1;white-space:nowrap}.shelf-label-price small{font-size:8pt}.shelf-label-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:2mm;min-width:0}.shelf-label-barcode{display:grid;justify-items:center;min-width:0}.shelf-label-barcode svg{display:block;width:36mm;height:8mm}.shelf-label-barcode rect{fill:#000}.shelf-label-code{font-family:Courier New,monospace;font-size:7pt;letter-spacing:.04em}.shelf-label-date{flex:none;font-size:6.5pt;color:#374151}.shelf-labels-small .shelf-label{padding:1.2mm 1.8mm 1mm}.shelf-labels-small .shelf-label-name{font-size:7.5pt}.shelf-labels-small .shelf-label-price strong{font-size:15pt}.shelf-labels-small .shelf-label-barcode svg{width:28mm;height:5.5mm}.shelf-labels-small .shelf-label-code{font-size:6pt}.shelf-labels-small .shelf-label-date{font-size:5.5pt}.shelf-labels-ticket{grid-template-columns:72mm;grid-auto-rows:24mm;padding:2mm 4mm;box-sizing:border-box;width:80mm}.shelf-labels-ticket .shelf-label{grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto 1fr;grid-template-areas:"name name" "price foot";column-gap:3mm;border:0;border-bottom:.3mm dashed #000000;padding:1.5mm 1mm}.shelf-labels-ticket .shelf-label:last-child{border-bottom:0}.shelf-labels-ticket .shelf-label-name{grid-area:name;font-size:10pt;-webkit-line-clamp:1}.shelf-labels-ticket .shelf-label-price{grid-area:price;align-self:center}.shelf-labels-ticket .shelf-label-price strong{font-size:22pt}.shelf-labels-ticket .shelf-label-foot{grid-area:foot;flex-direction:column;align-items:flex-end;justify-content:center;gap:.5mm}.shelf-labels-ticket .shelf-label-barcode svg{width:30mm;height:9mm}.shelf-labels-ticket.is-vertical{grid-auto-rows:34mm}.shelf-labels-ticket.is-vertical .shelf-label{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr auto;grid-template-areas:"name" "price" "foot";padding:2mm 1mm}.shelf-labels-ticket.is-vertical .shelf-label-name{-webkit-line-clamp:2;font-size:10pt}.shelf-labels-ticket.is-vertical .shelf-label-price strong{font-size:23pt}.shelf-labels-options small{white-space:nowrap}.shelf-labels-ticket.is-vertical .shelf-label-foot{flex-direction:row;align-items:flex-end;justify-content:space-between}.shelf-labels-ticket.is-vertical .shelf-label-barcode svg{width:44mm;height:9mm}.shelf-labels-options fieldset.shelf-labels-orientation label{flex:1 1 140px}@media print{body:has(.shelf-labels-sheet) *:not(:has(.shelf-labels-sheet)):not(.shelf-labels-sheet):not(.shelf-labels-sheet *){display:none!important}body:has(.shelf-labels-sheet) *:has(.shelf-labels-sheet){display:block!important;position:static!important;inset:auto!important;width:auto!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;background:#fff!important;box-shadow:none!important;transform:none!important;overflow:visible!important}.shelf-labels-sheet,.shelf-labels-sheet *{visibility:visible!important;color:#000!important}.shelf-labels-sheet{display:grid!important}.shelf-label{border-color:#d1d5db!important}.shelf-labels-ticket .shelf-label{border-color:#000!important}}.account-reminder{display:grid;gap:12px;width:min(100%,520px)}.account-reminder p{margin:0;color:var(--pos-muted, #b9aabd)}.account-reminder p.account-reminder-warning{color:#fcd34d}.account-reminder textarea{width:100%;min-height:120px;resize:vertical;font:inherit;line-height:1.45}.sale-return-entry{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin-top:14px;padding:12px 14px;border:1px solid rgba(248,113,113,.35);border-radius:12px}.sale-return-entry div{display:grid;gap:3px}.sale-return-entry span{color:var(--pos-muted, #b9aabd);font-size:.85rem}.sale-return-wizard{display:grid;gap:14px;width:min(100%,640px);max-height:92vh;overflow:auto}.sale-return-steps{display:flex;gap:8px;margin:0;padding:0;list-style:none;font-size:.82rem;color:var(--pos-muted, #b9aabd)}.sale-return-steps li{padding:4px 10px;border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:999px}.sale-return-steps li[aria-current=step]{border-color:#a855d899;background:#a855d829;color:var(--pos-text, #f5f0f7)}.sale-return-quick{display:flex;gap:8px}.sale-return-lines{display:grid;gap:8px;margin:0;padding:0;list-style:none}.sale-return-lines li{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:8px 12px;align-items:center;padding:10px 12px;border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:12px}.sale-return-lines li.is-chosen{border-color:#a855d88c}.sale-return-name{display:grid;gap:3px;min-width:0}.sale-return-name small,.sale-return-quantity span{color:var(--pos-muted, #b9aabd);font-size:.8rem}.sale-return-quantity{display:grid;gap:4px}.sale-return-damaged{grid-column:1 / -1;display:flex;align-items:center;gap:8px;min-height:36px;font-size:.88rem}.sale-return-damaged input{width:18px;height:18px}.sale-return-reasons{display:grid;gap:8px;margin:0;padding:10px 12px;border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:12px}.sale-return-reasons legend{padding:0 4px;color:var(--pos-muted, #b9aabd);font-size:.8rem}.sale-return-reasons>div{display:flex;flex-wrap:wrap;gap:6px}.sale-return-reasons .table-button.active{border-color:#a855d8b3;background:#a855d833}.sale-return-summary{display:grid;gap:8px;padding:12px 14px;border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:12px}.sale-return-summary>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px}.sale-return-summary span{color:var(--pos-muted, #b9aabd)}.sale-return-cash strong{font-size:1.35rem;color:#86efac}.sale-return-note{margin:0;color:var(--pos-muted, #b9aabd);font-size:.85rem}.sale-return-warning{margin:0;color:#fca5a5;font-weight:700}.sale-return-done{margin:0;font-size:1.05rem}.sale-return-done strong{color:#86efac;font-size:1.3rem}.sale-return-receipt{margin:0 auto}@media (max-width: 560px){.sale-return-lines li{grid-template-columns:1fr}}.product-table tr.variant-row .product-name-cell{padding-left:28px}.product-table tr.variant-row .product-name-cell strong:before{content:"↳ ";color:var(--pos-muted, #b9aabd)}.variants-toggle{display:inline-flex;margin-top:4px;padding:2px 8px;border:1px solid rgba(168,85,216,.45);border-radius:999px;background:#a855d81f;color:var(--pos-text, #f5f0f7);font-size:.78rem;cursor:pointer}.product-variants{display:grid;gap:12px;width:min(100%,760px);max-height:92vh;overflow:auto}.product-variants h4{margin:0 0 8px;font-size:.95rem}.product-variants-hint,.product-variants-empty{margin:0;color:var(--pos-muted, #b9aabd);font-size:.85rem}.product-variants-list,.product-variants-rows{display:grid;gap:8px;margin:0;padding:0;list-style:none}.product-variants-list li{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:8px 14px;align-items:center;padding:8px 12px;border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:12px}.product-variants-list li>span:first-child{display:grid;gap:2px;min-width:0}.product-variants-list small{color:var(--pos-muted, #b9aabd);font-size:.78rem}.product-variants-list li.is-inactive{opacity:.6}.product-variants-new{display:grid;gap:10px;padding-top:10px;border-top:1px solid var(--pos-border, rgba(210, 190, 220, .16))}.product-variants-attributes{display:grid;grid-template-columns:160px minmax(0,1fr);gap:8px 12px}.product-variants-rows li{display:grid;grid-template-columns:minmax(90px,1fr) repeat(4,minmax(0,1fr)) auto;gap:8px;align-items:end;padding:10px 12px;border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:12px}.product-variants-rows li.is-removed{grid-template-columns:1fr auto;opacity:.6}.product-variants-rows label{display:grid;gap:3px;min-width:0}.product-variants-rows label span{color:var(--pos-muted, #b9aabd);font-size:.75rem}.product-variants-rows input{width:100%;min-width:0}.product-variants-message{margin:0;font-weight:600}@media (max-width: 640px){.product-variants-attributes{grid-template-columns:1fr}.product-variants-rows li{grid-template-columns:1fr 1fr}.product-variants-rows li>strong{grid-column:1 / -1}.product-variants-list li{grid-template-columns:1fr auto}}.weight-dialog{display:grid;gap:10px}.weight-dialog p{margin:0}.weight-modes{display:inline-flex;gap:4px;padding:3px;border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:999px;justify-self:start}.weight-modes button{padding:6px 14px;border:0;border-radius:999px;background:transparent;color:inherit;cursor:pointer}.weight-modes button.active{background:#a855d840;font-weight:700}.weight-input{display:grid;gap:4px}.weight-input span{color:var(--pos-muted, #b9aabd);font-size:.85rem}.weight-input input{font-size:1.6rem;padding:10px 12px;text-align:center}.weight-quick{display:flex;flex-wrap:wrap;gap:6px}.weight-result{min-height:1.4em;font-weight:700}.cart-item-unit{align-self:center;padding:0 4px;color:var(--pos-muted, #b9aabd);font-size:.85rem}.cart-item-weighed .qty-control input{width:72px}.reports-intro{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px}.daily-summary{display:grid;gap:12px;width:min(100%,620px);max-height:92vh;overflow:auto}.daily-summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}.daily-summary textarea{width:100%;font-family:inherit;line-height:1.45}.suppliers-panel{display:grid;gap:12px}.suppliers-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.suppliers-row{display:grid;grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr));gap:8px 14px;align-items:center;width:100%;padding:12px 14px;border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:12px;background:transparent;color:inherit;text-align:left;cursor:pointer}.suppliers-row:hover{border-color:#a855d88c}.suppliers-row:has(.supplier-row-debt){grid-template-columns:minmax(0,2fr) repeat(4,minmax(0,1fr))}.supplier-debt-cards{margin:10px 0}.supplier-account h4{margin:16px 0 6px}.supplier-account-actions{justify-content:flex-start;flex-wrap:wrap;margin-top:10px}.supplier-account-form{margin-top:12px;padding:12px 14px;border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:12px}.supplier-account-form h4{margin-top:0}.stock-document-payment{display:grid;gap:6px}.kit-pill{margin-left:6px;font-size:.7rem;vertical-align:middle}.kit-editor{max-width:760px}.kit-editor td small{display:block;color:var(--pos-muted, #b9aabd)}.kit-editor td input{max-width:110px}.stock-document-payment .field-group{max-width:220px}.suppliers-row span{display:grid;gap:2px;min-width:0}.suppliers-row small,.supplier-contact,.supplier-notes{color:var(--pos-muted, #b9aabd);font-size:.82rem}.suppliers-list li.is-inactive{opacity:.6}.supplier-form,.supplier-detail{display:grid;gap:12px;width:min(100%,760px);max-height:92vh;overflow:auto}.supplier-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.supplier-form-notes{grid-column:1 / -1}.supplier-contact,.supplier-notes{margin:0}.supplier-detail td small{display:block;color:var(--pos-muted, #b9aabd);font-size:.75rem}.supplier-detail tr.is-low td:first-child{color:#fbbf24}.supplier-order{display:grid;gap:10px}.supplier-order-lines{display:grid;gap:6px;margin:0;padding:0;list-style:none;max-height:45vh;overflow:auto}.supplier-order-lines li{display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:10px;align-items:center;padding:8px 12px;border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:10px}.supplier-order-lines li.is-chosen{border-color:#a855d88c}.supplier-order-lines li span{display:grid;gap:2px;min-width:0}.supplier-order-lines small{color:var(--pos-muted, #b9aabd);font-size:.78rem}.supplier-order-lines input{width:100%;text-align:center}.stock-document-supplier-fill{align-self:end}@media (max-width: 640px){.suppliers-row{grid-template-columns:1fr 1fr}.suppliers-row span:first-child{grid-column:1 / -1}.supplier-form-grid{grid-template-columns:1fr}}.cart-item-promotion{margin:4px 0 0;color:#86efac;font-size:.8rem;font-weight:600}.cart-discount-button{justify-self:start;margin:6px 0}.discount-dialog{display:grid;gap:10px;width:min(100%,480px)}.promotion-row{grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto auto;cursor:default}.promotion-actions{display:flex!important;flex-wrap:wrap;gap:6px}.promotion-form{gap:10px}.promotion-products{display:grid;gap:6px}.promotion-matches,.promotion-chosen{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}.promotion-matches button{display:grid;padding:6px 10px;border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:10px;background:transparent;color:inherit;text-align:left;cursor:pointer}.promotion-matches small{color:var(--pos-muted, #b9aabd);font-size:.72rem}.promotion-chosen li{display:inline-flex;align-items:center;gap:6px;padding:4px 6px 4px 10px;border-radius:999px;background:#a855d82e;font-size:.85rem}.promotion-chosen button{border:0;background:transparent;color:inherit;font-size:1rem;cursor:pointer}@media (max-width: 640px){.promotion-row{grid-template-columns:1fr}}.bulk-prices tr.is-unchanged td{color:var(--pos-muted, #b9aabd)}.price-batch summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;cursor:pointer}.price-batch summary span{display:grid;gap:2px}.price-batch summary small{color:var(--pos-muted, #b9aabd);font-size:.8rem}.price-batch ul{margin:0 0 10px;padding:0 14px 0 30px;font-size:.85rem}.price-batch{border:1px solid var(--pos-border, rgba(210, 190, 220, .16));border-radius:12px}.stock-document-lot{display:grid;gap:4px;min-width:150px}.stock-document-lot input,.stock-document-lot select{width:100%;min-width:0}.supplier-detail td small{display:block}.customer-history h4{margin:4px 0 8px;font-size:.95rem}.customer-history-top{display:grid;gap:6px;margin:0;padding-left:22px}.customer-history-top li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 10px}.customer-history-top li small{grid-column:1;color:var(--pos-muted, #b9aabd);font-size:.78rem}.customer-history-top li b{grid-column:2;grid-row:1 / span 2;align-self:center}.customer-history-months{display:flex;align-items:flex-end;gap:6px;min-height:120px;padding:6px 0;overflow-x:auto}.customer-history-month{display:grid;justify-items:center;gap:4px;min-width:38px}.customer-history-month i{display:block;width:22px;border-radius:6px 6px 2px 2px;background:#a855d8b3}.customer-history-month small{color:var(--pos-muted, #b9aabd);font-size:.7rem}.unknown-code-dialog{max-width:480px;display:grid;gap:12px}.unknown-code-dialog h3{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;word-break:break-all}.unknown-code-options{display:grid;gap:8px}.unknown-code-dialog section{display:grid;gap:10px}.unknown-code-bases{list-style:none;margin:0;padding:0;display:grid;gap:6px;max-height:280px;overflow-y:auto}.unknown-code-bases button{width:100%;display:grid;justify-items:start;gap:2px;text-align:left;min-height:44px}.unknown-code-bases small{color:var(--pos-muted, #b9aabd)}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}:root{font-family:Inter,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color:#e5e7eb;background:#100914;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html{background:#100914;min-height:100%}body{margin:0;min-width:320px;min-height:100vh;min-height:100svh;background:#100914;overscroll-behavior-y:none}button,input{font:inherit}button{border:none;touch-action:manipulation}input{border:0}#root{min-height:100vh}
