@layer components{.smf-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;border:1px solid transparent;border-radius:6px;font-size:14px;font-weight:500;line-height:1.25;white-space:nowrap;cursor:pointer;transition:background-color .12s,border-color .12s,color .12s}.smf-button svg{width:16px;height:16px;flex-shrink:0;pointer-events:none}.smf-button:focus-visible,.smf-dialog-close:focus-visible,.smf-field:focus-visible,.smf-select-trigger:focus-visible,.smf-tabs-trigger:focus-visible{outline:2px solid var(--ring);outline-offset:3px}.smf-button:disabled,.smf-button[aria-disabled=true]{opacity:.45;pointer-events:none}.smf-button-md{height:40px;padding:9px 16px}.smf-button-sm{height:32px;padding:6px 12px;font-size:13px}.smf-button-lg{height:48px;padding:12px 24px}.smf-button-icon{width:40px;height:40px;padding:0}.smf-button-primary{background:var(--primary);color:var(--primary-foreground)}.smf-button-primary:hover{background:color-mix(in srgb,var(--primary),black 12%)}.smf-button-outline{background:var(--card);border-color:var(--input);color:var(--foreground)}.smf-button-outline:hover{background:var(--secondary);border-color:var(--muted-foreground)}.smf-button-secondary{background:var(--secondary);color:var(--secondary-foreground)}.smf-button-ghost:hover,.smf-button-secondary:hover{background:var(--muted)}.smf-button-ghost{background:transparent;color:inherit}.smf-button-destructive{background:var(--destructive);color:white}.smf-button-destructive:hover{background:color-mix(in srgb,var(--destructive),black 12%)}.smf-button-link{color:var(--primary);background:transparent;text-underline-offset:3px}.smf-button-link:hover{text-decoration:underline}.smf-field{display:block;width:100%;min-width:0;height:40px;border:1px solid var(--input);border-radius:6px;background:var(--card);color:var(--foreground);padding:9px 12px;font-size:14px;line-height:20px;box-shadow:none}.smf-field::placeholder{color:var(--muted-foreground)}.smf-field[aria-invalid=true]{border-color:var(--destructive)}.smf-field:disabled{opacity:.55;cursor:not-allowed}.smf-textarea{height:auto;min-height:88px;resize:vertical}.smf-panel{display:flex;flex-direction:column;gap:20px;padding:20px 0;border:1px solid var(--border);border-radius:8px;background:var(--card);color:var(--card-foreground)}.smf-panel-header{display:grid;gap:6px;padding:0 20px}.smf-panel-header:has([data-slot=card-action]){grid-template-columns:1fr auto}.smf-panel-title{font-size:16px;line-height:1.4;font-weight:600}.smf-panel-description{font-size:13px;color:var(--muted-foreground)}.smf-panel-action{grid-column:2;grid-row:1/span 2;align-self:start}.smf-panel-content{padding:0 20px}.smf-panel-footer{display:flex;align-items:center;padding:0 20px}.smf-dialog-overlay{position:fixed;inset:0;z-index:50;background:rgb(20 27 39/.4)}.smf-dialog{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:50;display:grid;gap:20px;width:calc(100% - 32px);max-width:520px;border:1px solid var(--border);border-radius:8px;padding:24px;background:var(--card);color:var(--foreground);box-shadow:0 20px 64px rgb(0 0 0/.18)}.smf-dialog-close{position:absolute;right:12px;top:12px;width:32px;height:32px;display:grid;place-items:center;border-radius:6px;background:var(--secondary);color:var(--muted-foreground);cursor:pointer}.smf-dialog-close:hover{color:var(--foreground);background:var(--muted)}.smf-dialog-header{display:flex;flex-direction:column;gap:6px;text-align:left}.smf-dialog-title{font-size:18px;line-height:1.4;font-weight:600;padding-right:28px}.smf-dialog-description{font-size:13px;line-height:1.6;color:var(--muted-foreground)}.smf-dialog-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.smf-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:fit-content;min-width:0;height:40px;padding:8px 12px;border:1px solid var(--input);border-radius:6px;background:var(--card);color:var(--foreground);font-size:14px;cursor:pointer}.smf-select-trigger[data-size=sm]{height:32px}.smf-select-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.smf-select-trigger svg{flex-shrink:0}.smf-select-trigger svg,.smf-select-trigger[data-placeholder]{color:var(--muted-foreground)}.smf-select-trigger:disabled{opacity:.5;cursor:not-allowed}.smf-select-content{z-index:60;min-width:max(160px,var(--radix-select-trigger-width));max-height:var(--radix-select-content-available-height);overflow:hidden;border:1px solid var(--border);border-radius:8px;background:var(--popover);color:var(--popover-foreground);box-shadow:0 8px 28px rgb(0 0 0/.12)}.smf-select-viewport{padding:4px}.smf-select-item{position:relative;display:flex;align-items:center;min-height:38px;padding:9px 36px 9px 12px;font-size:14px;border-radius:4px;outline:none;cursor:pointer;user-select:none}.smf-select-item[data-highlighted],.smf-select-item[data-state=checked]{background:var(--accent);color:var(--accent-foreground)}.smf-select-item[data-disabled]{opacity:.4;pointer-events:none}.smf-select-check{position:absolute;right:10px}.smf-select-label{padding:8px 12px;font-size:12px;color:var(--muted-foreground)}.smf-select-separator{height:1px;background:var(--border);margin:4px 0}.smf-select-scroll{display:flex;justify-content:center;padding:4px}.smf-tabs{display:flex;flex-direction:column;gap:16px}.smf-tabs-list{display:inline-flex;width:fit-content;max-width:100%;gap:4px;border-bottom:1px solid var(--border);overflow-x:auto}.smf-tabs-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;border-bottom:2px solid transparent;font-size:14px;font-weight:500;white-space:nowrap;color:var(--muted-foreground);cursor:pointer}.smf-tabs-trigger[data-state=active]{color:var(--primary);border-bottom-color:var(--primary)}.smf-tabs-trigger:disabled{opacity:.4;pointer-events:none}.smf-tabs-trigger svg{width:16px;height:16px}.smf-tabs-content{flex:1;outline:none}@media (max-width:639px){.smf-field{font-size:16px}}}[data-smf-pos]{--background:#f4f5f7;--foreground:#202735;--card:#fff;--card-foreground:#202735;--popover:#fff;--popover-foreground:#202735;--primary:#1858bc;--primary-foreground:#fff;--secondary:#eef1f5;--secondary-foreground:#344054;--muted:#edf0f4;--muted-foreground:#626d7e;--accent:#eaf1fc;--accent-foreground:#174d9e;--destructive:#b92d40;--border:#dfe3e9;--input:#cbd2dc;--ring:#1858bc;--radius:8px;--sidebar:#fff;--sidebar-foreground:#475264;--sidebar-primary:#1858bc;--sidebar-accent:#eaf1fc;--sidebar-accent-foreground:#174d9e;--sidebar-border:#dfe3e9;--chart-1:#1858bc;--chart-2:#138276;--chart-3:#b5761a;--chart-4:#7856a4;--chart-5:#c05462;--smf-success:#167561;--smf-warning:#95600a;--smf-surface-raised:#fff;font-family:var(--font-geist-sans),Arial,sans-serif;font-size:14px;letter-spacing:0}.dark [data-smf-pos],.dark[data-smf-pos]{--background:#191d24;--foreground:#eef1f6;--card:#222832;--card-foreground:#eef1f6;--popover:#282f3b;--popover-foreground:#eef1f6;--primary:#8bb4ff;--primary-foreground:#14233d;--secondary:#303846;--secondary-foreground:#e0e6ef;--muted:#303846;--muted-foreground:#adb7c6;--accent:#293c58;--accent-foreground:#b8d2ff;--border:#3a4351;--input:#4c5667;--ring:#8bb4ff;--sidebar:#222832;--sidebar-foreground:#ccd4df;--sidebar-accent:#293c58;--sidebar-accent-foreground:#b8d2ff;--sidebar-border:#3a4351;--chart-1:#8bb4ff;--chart-2:#5dc6b5;--chart-3:#e2b96e;--chart-4:#bfa2e8;--chart-5:#e697a3;--smf-success:#5dc6b5;--smf-warning:#e2b96e;--smf-surface-raised:#282f3b}[data-smf-pos] :is(h1,h2,h3,[data-slot=dialog-title],[data-slot=card-title]){letter-spacing:0}[data-smf-pos] :is(button,a,[role=button],[role=option]):not(:disabled){cursor:pointer}[data-smf-pos] input[type=checkbox]{accent-color:var(--primary)}[data-smf-pos] [data-slot=sidebar-inset]{background:var(--background)}[data-smf-pos] [data-slot=sidebar-header]{border-bottom:1px solid var(--border);margin-bottom:8px}[data-smf-pos] [data-sidebar=menu-button]{min-height:40px;border-radius:6px;font-size:13px;font-weight:400}[data-smf-pos] [data-sidebar=menu-button][data-active=true]{background:var(--accent);color:var(--primary);font-weight:600;box-shadow:inset 3px 0 var(--primary)}[data-smf-pos] [data-sidebar=group-label]{color:var(--muted-foreground);font-size:11px;font-weight:500}[data-smf-pos] [data-slot=table-head]{height:44px;padding:10px 14px;background:var(--secondary);color:var(--muted-foreground);font-size:12px;font-weight:500}[data-smf-pos] [data-slot=table-cell]{padding:14px;font-size:13px;font-variant-numeric:tabular-nums}[data-smf-pos] [data-slot=table-row]{border-color:var(--border)}[data-smf-pos] [data-slot=dropdown-menu-content]{background:var(--popover);border-radius:8px;padding:4px}[data-smf-pos] [data-slot=dropdown-menu-item]{min-height:36px;border-radius:4px}[data-smf-pos] .recharts-cartesian-axis-tick text{fill:var(--muted-foreground);font-size:11px}[data-smf-pos] .recharts-cartesian-grid line{stroke:var(--border)}@media (prefers-reduced-motion:reduce){[data-smf-pos] *,[data-smf-pos] :after,[data-smf-pos] :before{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}@layer components{.smf-table-scroll{position:relative;width:100%;overflow-x:auto}.smf-table{width:100%;border-collapse:collapse;font-size:14px;caption-side:bottom}.smf-table-head{height:44px;padding:10px 14px;text-align:left;font-weight:500;color:var(--muted-foreground);background:var(--secondary);white-space:nowrap}.smf-table-cell{padding:12px 14px;vertical-align:middle;white-space:nowrap;font-variant-numeric:tabular-nums}.smf-table-row{border-bottom:1px solid var(--border)}.smf-table-body .smf-table-row:hover,.smf-table-row[data-state=selected]{background:var(--muted)}.smf-table-body .smf-table-row:last-child{border-bottom:0}.smf-table-footer{border-top:1px solid var(--border);background:var(--secondary);font-weight:500}.smf-table-caption{padding:16px;color:var(--muted-foreground);font-size:13px}}.smf-cashier{min-height:100dvh;background:var(--background);color:var(--foreground)}.smf-cashier,.smf-catalog{display:flex;flex-direction:column;min-width:0}.smf-catalog{gap:18px;padding:24px}.smf-workbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-bottom:18px;border-bottom:1px solid var(--border)}.smf-workbar-title{display:flex;align-items:center;gap:10px}.smf-workbar-title h1{font-size:22px;font-weight:600;line-height:1.4}.smf-connection{display:flex;align-items:center;gap:6px;font-size:12px}.smf-worktools{gap:8px}.smf-catalog-search,.smf-worktools{display:flex;align-items:center;flex-wrap:wrap}.smf-catalog-search{gap:10px}.smf-catalog-search .smf-field{height:44px;background:var(--card)}.smf-catalog-tabs{display:flex;gap:2px;padding:3px;background:var(--secondary);border-radius:6px}.smf-catalog-tabs button{min-height:34px;padding:6px 12px;border-radius:4px;font-size:12px;color:var(--muted-foreground)}.smf-catalog-tabs button[aria-pressed=true]{color:var(--foreground);background:var(--card);box-shadow:0 1px 3px #0000000d}.smf-categories{display:flex;align-items:center;gap:6px;overflow-x:auto;padding-bottom:8px;border-bottom:1px solid var(--border)}.smf-categories .smf-button{border:0;border-radius:5px;background:transparent;color:var(--muted-foreground);padding:10px 14px;font-size:13px}.smf-categories .smf-button[aria-pressed=true]{background:var(--primary);color:var(--primary-foreground)}.smf-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(158px,1fr));gap:14px;align-content:start}.smf-product{position:relative;min-width:0;height:100%;background:var(--card);border:1px solid var(--border);border-radius:8px;overflow:hidden;transition:border-color .12s}.smf-product:hover{border-color:var(--primary)}.smf-product-open{display:flex;flex-direction:column;width:100%;height:100%;text-align:left}.smf-product-open:focus-visible{outline:3px solid var(--primary);outline-offset:-3px}.smf-product-open:disabled{opacity:.5;cursor:not-allowed}.smf-product-image{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:4/3;background:var(--secondary);color:var(--muted-foreground)}.smf-product-copy{display:flex;flex:1;flex-direction:column;width:100%;padding:14px;gap:6px}.smf-product-name{font-size:14px;line-height:1.4;font-weight:500;overflow-wrap:anywhere}.smf-product-meta{min-height:17px;font-size:11px;color:var(--muted-foreground)}.smf-product-price{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;margin-top:auto;padding-top:8px;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}.smf-product-action{font-size:11px;color:var(--primary);font-weight:500}.smf-favorite{position:absolute;right:8px;top:8px;display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--border);border-radius:6px;background:var(--card);color:var(--muted-foreground)}.smf-favorite[aria-pressed=true]{color:var(--smf-warning)}.smf-cart{display:flex;flex-direction:column;min-width:0;gap:16px;padding:24px;border-top:1px solid var(--border);background:var(--card)}.smf-cart-heading{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:8px}.smf-cart-heading h2{display:flex;gap:10px;align-items:center;font-size:18px;font-weight:600}.smf-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;background:var(--secondary);border-radius:4px;font-size:12px;font-weight:500}.smf-cart-items{min-height:200px;flex:1;overflow:auto;border-block:1px solid var(--border)}.smf-cart-empty{display:flex;min-height:200px;height:100%;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:var(--muted-foreground);font-size:13px}.smf-cart-empty svg{width:32px;height:32px;stroke-width:1.25}.smf-cart-line{padding:16px 0;border-bottom:1px solid var(--border)}.smf-cart-line:last-child{border-bottom:0}.smf-cart-line .smf-button-icon{min-width:28px;height:32px;width:32px}.smf-order-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;border:1px solid var(--border);border-radius:6px;background:var(--background)}.smf-order-types .smf-button{min-width:0;padding:9px 4px;gap:5px;border:0;background:transparent;color:var(--muted-foreground);font-size:12px}.smf-order-types .smf-button[aria-pressed=true]{background:var(--card);color:var(--primary);box-shadow:0 1px 4px #00000012}.smf-order-types .smf-button span{margin:0}.smf-totals{display:flex;flex-direction:column;gap:9px;color:var(--muted-foreground);font-size:13px;font-variant-numeric:tabular-nums}.smf-total{display:flex;justify-content:space-between;align-items:baseline;padding-top:14px;border-top:1px solid var(--border);color:var(--foreground);font-size:15px;font-weight:500}.smf-total>span:last-child{font-size:25px;font-weight:600}.smf-payment-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.smf-payment-actions .smf-button{min-width:0;padding:12px 6px;border:1px solid var(--input);background:var(--card);color:var(--foreground)}.smf-payment-actions .smf-button:hover{background:var(--accent);color:var(--primary);border-color:var(--primary)}.smf-cashier-submit{width:100%;min-height:48px;background:var(--primary);color:var(--primary-foreground);font-size:14px;font-weight:500}.smf-cashier-submit:hover{background:color-mix(in srgb,var(--primary),black 12%)}.smf-print-options{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--muted-foreground)}.smf-analytics{padding:24px 8px}.smf-analytics-heading{padding:0 0 20px;border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent}.smf-analytics-heading [data-slot=card-header]{padding:0}.smf-analytics-heading [data-slot=card-title]{font-size:24px;font-weight:600}.smf-analytics-filters{padding:0 0 20px;border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent}.smf-analytics-filters [data-slot=card-content]{padding:0}.smf-analytics-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-block:1px solid var(--border);background:var(--card)}.smf-analytics-kpis>.smf-panel{border:0;border-radius:0;border-right:1px solid var(--border);padding:20px 0;gap:8px}.smf-analytics-kpis [data-slot=card-title]{font-size:12px;font-weight:400}.smf-analytics-kpis .text-2xl{font-size:28px;font-weight:500;font-variant-numeric:tabular-nums}.smf-analytics .recharts-wrapper{font-family:inherit}.smf-analytics .smf-chart-section{border-radius:0;border:0;border-top:1px solid var(--border);background:transparent;box-shadow:none;padding:20px 0}@media(min-width:1100px){.smf-dashboard-main:has(.smf-cashier){padding:0;gap:0}.smf-cashier{display:grid;grid-template-columns:minmax(0,1fr) 420px;height:100dvh;min-height:0;overflow:hidden}.smf-cart,.smf-catalog{min-height:0}.smf-cart{overflow-y:auto;border-top:0;border-left:1px solid var(--border);gap:12px;padding:20px}.smf-cart-items{min-height:140px}.smf-worktools{font-size:12px}.smf-analytics-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(min-width:1600px){.smf-cashier{grid-template-columns:minmax(0,1fr) 460px}.smf-products{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}}@media(max-width:639px){.smf-dashboard-main:has(.smf-cashier){padding:0}.smf-cart,.smf-catalog{padding:16px}.smf-catalog{gap:14px}.smf-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.smf-product-copy{padding:12px}.smf-product-price{font-size:12px}.smf-worktools{gap:6px}.smf-workbar-title h1{font-size:20px}.smf-categories .smf-button{min-height:40px}.smf-analytics{padding:16px 0}}.smf-mobile-order{display:none}@media(max-width:1099px){.smf-mobile-order{position:fixed;z-index:30;left:16px;right:16px;bottom:max(12px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:10px;min-height:52px;padding:12px 16px;border-radius:6px;background:var(--primary);color:var(--primary-foreground);font-size:14px;box-shadow:0 4px 18px #00000020}.smf-mobile-order strong{margin-left:auto;font-weight:600}.smf-mobile-count{margin-left:6px;opacity:.8}.smf-cashier{padding-bottom:76px}#smf-order-heading{scroll-margin-top:16px}}@media(min-width:768px) and (max-width:1099px){[data-slot=sidebar-wrapper]:has([data-state=expanded]) .smf-mobile-order{left:272px}}@media(max-width:639px){.smf-catalog-search{display:grid;grid-template-columns:minmax(0,1fr) 40px}.smf-catalog-search>.smf-catalog-tabs,.smf-catalog-search>div:first-child{grid-column:1/-1}.smf-catalog-search>.smf-select-trigger{width:100%}.smf-cart-line>div{display:grid;grid-template-columns:1fr auto auto;gap:10px}.smf-cart-line>div>div:first-child{grid-column:1/-1}.smf-cart-line>div>div:nth-child(3){width:auto}}