@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--text-xs:.75rem;--text-sm:.875rem;--text-base:1rem;--text-lg:1.125rem;--text-xl:1.25rem;--text-2xl:1.5rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentColor}::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.relative{position:relative}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.border{border-style:var(--tw-border-style);border-width:1px}}[data-theme=shop]{--background:oklch(98.5% .004 285);--foreground:oklch(18% .02 285);--card:oklch(100% 0 0);--card-foreground:oklch(18% .02 285);--popover:oklch(100% 0 0);--popover-foreground:oklch(18% .02 285);--primary:oklch(55% .2 277);--primary-foreground:oklch(99% .005 277);--primary-hover:oklch(50% .2 277);--primary-active:oklch(45% .19 277);--primary-soft:oklch(95% .03 277);--brand-accent:oklch(80% .19 128);--brand-accent-fg:oklch(22% .06 128);--secondary:oklch(95% .02 285);--secondary-foreground:oklch(30% .05 285);--muted:oklch(96.5% .008 285);--muted-foreground:oklch(52% .02 285);--accent:oklch(95% .03 277);--accent-foreground:oklch(30% .08 277);--success:oklch(58% .16 150);--success-foreground:oklch(99% .01 150);--warning:oklch(75% .16 75);--warning-foreground:oklch(25% .06 75);--destructive:oklch(58% .22 25);--destructive-foreground:oklch(99% .01 25);--info:oklch(58% .15 245);--info-foreground:oklch(99% .01 245);--border:oklch(90% .01 285);--border-strong:oklch(82% .02 285);--input:oklch(88% .015 285);--ring:oklch(55% .2 277);--surface-0:var(--background);--surface-1:oklch(100% 0 0);--surface-2:oklch(97.5% .006 285);--surface-3:oklch(95.5% .01 285);--radius:.875rem;--text-2xs:.6875rem;--text-xs:.75rem;--text-sm:.8125rem;--text-base:.9375rem;--text-md:1rem;--text-lg:1.125rem;--text-xl:1.375rem;--text-2xl:1.75rem;--text-3xl:2.25rem;--text-4xl:3rem;--radius-sm:8px;--radius-md:12px;--radius-lg:14px;--radius-xl:18px;--radius-2xl:24px;--radius-full:9999px;--sidebar-width:248px;--sidebar-bg:oklch(20% .03 280);--sidebar-fg:oklch(85% .02 280);--sidebar-muted-fg:oklch(62% .02 280);--sidebar-active-bg:oklch(98.5% .004 285);--sidebar-active-fg:oklch(20% .03 280);--sidebar-border:oklch(100% 0 0/.08)}[data-theme=shop].dark{--background:oklch(16% .015 285);--foreground:oklch(94% .01 285);--card:oklch(20% .018 285);--card-foreground:oklch(94% .01 285);--popover:oklch(22% .018 285);--popover-foreground:oklch(94% .01 285);--primary:oklch(72% .17 279);--primary-foreground:oklch(16% .04 279);--primary-hover:oklch(77% .16 279);--primary-active:oklch(68% .17 279);--primary-soft:oklch(28% .06 279);--brand-accent:oklch(84% .18 128);--brand-accent-fg:oklch(18% .05 128);--secondary:oklch(26% .02 285);--secondary-foreground:oklch(92% .01 285);--muted:oklch(24% .018 285);--muted-foreground:oklch(70% .015 285);--accent:oklch(28% .045 279);--accent-foreground:oklch(92% .02 279);--success:oklch(72% .16 152);--success-foreground:oklch(16% .04 152);--warning:oklch(82% .15 78);--warning-foreground:oklch(20% .05 78);--destructive:oklch(70% .19 25);--destructive-foreground:oklch(16% .04 25);--info:oklch(72% .14 245);--info-foreground:oklch(16% .04 245);--border:oklch(30% .02 285);--border-strong:oklch(38% .025 285);--input:oklch(34% .02 285);--ring:oklch(72% .17 279);--surface-0:oklch(16% .015 285);--surface-1:oklch(20% .018 285);--surface-2:oklch(24% .02 285);--surface-3:oklch(28% .022 285)}[data-density=touch]{--row-h:64px;--control-h:48px;--gutter:16px;--card-pad:16px}[data-density=cozy]{--row-h:56px;--control-h:44px;--gutter:20px;--card-pad:16px}[data-density=compact]{--row-h:44px;--control-h:36px;--gutter:24px;--card-pad:12px}.print-portal{display:none}@media print{body>:not(.print-portal){display:none!important}.print-portal{display:block!important}@page{margin:4mm}}.receipt-print{color:#000;width:80mm;padding:4mm;font-family:Courier New,monospace;font-size:12px}.receipt-print h1{text-align:center;margin:0 0 4px;font-size:14px}.receipt-print .receipt-meta{margin-bottom:8px;font-size:11px}.receipt-print .receipt-divider{border-top:1px dashed #000;margin:6px 0}.receipt-print .receipt-line{justify-content:space-between;gap:8px;margin-bottom:2px;display:flex}.receipt-print .receipt-line-sub{color:#444;font-size:10px}.receipt-print .receipt-total-row{justify-content:space-between;font-weight:700;display:flex}.receipt-print .receipt-footer{text-align:center;margin-top:8px;font-size:11px}.label-print{flex-wrap:wrap;gap:2mm;display:flex}.label-print .label-tag{page-break-inside:avoid;border:1px dashed #999;flex-direction:column;justify-content:center;align-items:center;width:40mm;height:25mm;padding:2mm;font-family:Arial,sans-serif;display:flex}.label-print .label-tag .label-name{text-align:center;white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:9px;overflow:hidden}.label-print .label-tag .label-price{font-size:11px;font-weight:700}*{box-sizing:border-box}html,body,#root{height:100%}body{background:var(--background);color:var(--foreground);font-family:Lexend,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:var(--text-base);-webkit-tap-highlight-color:transparent;margin:0;line-height:1.5}.font-display{font-family:Bricolage Grotesque,Lexend,sans-serif;font-weight:700}button,a,input,select{font:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.btn{min-height:var(--control-h);border-radius:var(--radius-lg);font-weight:600;font-size:var(--text-base);cursor:pointer;border:none;justify-content:center;align-items:center;gap:8px;padding:0 16px;transition:background-color .14s cubic-bezier(.16,1,.3,1),transform 80ms;display:inline-flex}.btn:active{transform:scale(.98)}.btn-primary{background:var(--primary);color:var(--primary-foreground)}.btn-primary:hover{background:var(--primary-hover)}.btn-primary:active{background:var(--primary-active)}.btn-lg{min-height:56px;font-size:var(--text-md)}.card{background:var(--card);color:var(--card-foreground);border-radius:var(--radius-xl);padding:var(--card-pad);box-shadow:0 1px 2px #0000000f}[data-theme=shop].dark .card{box-shadow:none;background:var(--surface-1)}.bottom-nav{background:var(--card);border-top:1px solid var(--border);padding-bottom:max(0px,env(safe-area-inset-bottom));z-index:20;display:flex;position:fixed;bottom:0;left:0;right:0}.bottom-nav-item{min-height:56px;font-size:var(--text-xs);color:var(--muted-foreground);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;text-decoration:none;display:flex}.bottom-nav-item[data-active=true]{color:var(--primary);font-weight:600}.badge{border-radius:var(--radius-full);font-size:var(--text-xs);align-items:center;gap:4px;padding:2px 10px;font-weight:600;display:inline-flex}.badge-warning{background:oklch(from var(--warning) l c h / .14);color:var(--warning)}.badge-info{background:oklch(from var(--info) l c h / .14);color:var(--info)}.badge-success{background:oklch(from var(--success) l c h / .14);color:var(--success)}.change-due-banner{border-radius:var(--radius-lg);background:oklch(from var(--warning) l c h / .14);color:var(--warning);justify-content:space-between;align-items:center;margin-bottom:16px;padding:12px 16px;font-weight:700;display:flex}.sheet-overlay{z-index:50;background:#0006;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--card);width:100%;max-width:560px;max-height:88vh;color:var(--card-foreground);border-radius:var(--radius-2xl) var(--radius-2xl) 0 0;padding:12px var(--gutter) calc(var(--gutter) + env(safe-area-inset-bottom));animation:.18s cubic-bezier(.16,1,.3,1) sheet-up;overflow-y:auto}@keyframes sheet-up{0%{opacity:.4;transform:translateY(24px)}to{opacity:1;transform:none}}.sheet-handle{border-radius:var(--radius-full);background:var(--border-strong);width:36px;height:4px;margin:0 auto 12px}.sheet-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.sheet-close{border-radius:var(--radius-full);background:var(--secondary);min-width:40px;min-height:40px;color:var(--secondary-foreground);cursor:pointer;border:none;flex-shrink:0;justify-content:center;align-items:center;font-size:16px;display:flex}.field{flex-direction:column;gap:6px;margin-bottom:16px;display:flex}.field label{font-size:var(--text-sm);color:var(--muted-foreground);font-weight:600}.field input,.field select,.field textarea{min-height:var(--control-h);border:1px solid var(--input);border-radius:var(--radius-md);background:var(--surface-1);color:var(--foreground);font-size:var(--text-base);padding:0 12px}[data-theme=shop].dark .field input,[data-theme=shop].dark .field select,[data-theme=shop].dark .field textarea{background:var(--surface-2)}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--ring);outline-offset:1px;border-color:var(--ring)}.field-money input{text-align:right;font-variant-numeric:tabular-nums;font-weight:700;font-size:var(--text-lg)}.field-money-label-row{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.field-money-remaining{font-size:var(--text-sm);font-variant-numeric:tabular-nums;color:var(--primary);font-weight:700}.field-money-remaining.field-money-change{color:var(--warning)}.money-input-row{align-items:stretch;gap:8px;display:flex}.money-input-row input{flex:1;min-width:0}.keypad-toggle-btn{width:var(--control-h);min-height:var(--control-h);border-radius:var(--radius-md);border:1px solid var(--input);background:var(--surface-1);color:var(--foreground);cursor:pointer;flex-shrink:0;justify-content:center;align-items:center;display:flex}.keypad-toggle-btn[aria-pressed=true]{background:var(--primary);border-color:var(--primary);color:var(--primary-foreground)}.field-section{font-size:var(--text-xs);letter-spacing:.03em;text-transform:uppercase;color:var(--muted-foreground);margin:20px 0 8px;font-weight:700}.field-section:first-child{margin-top:4px}.list-row{min-height:var(--row-h);border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:8px 0;display:flex}.list-row:last-child{border-bottom:none}.list-row-avatar{border-radius:var(--radius-md);background:var(--muted);flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-size:18px;display:flex;overflow:hidden}.list-row-avatar img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.list-row-main{flex:1;min-width:0}.list-row-title{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.list-row-sub{font-size:var(--text-sm);color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.list-row-value{font-variant-numeric:tabular-nums;text-align:right;flex-shrink:0;font-weight:600}.fab{right:16px;bottom:calc(72px + env(safe-area-inset-bottom));border-radius:var(--radius-full);background:var(--primary);width:56px;height:56px;color:var(--primary-foreground);z-index:15;cursor:pointer;border:none;justify-content:center;align-items:center;font-size:26px;line-height:1;display:flex;position:fixed;box-shadow:0 4px 14px #0003}.fab:active{transform:scale(.96)}.chip-row{gap:8px;margin-bottom:12px;padding-bottom:4px;display:flex;overflow-x:auto}.chip{border-radius:var(--radius-full);border:1px solid var(--border);min-height:36px;font-size:var(--text-sm);background:var(--surface-1);white-space:nowrap;cursor:pointer;flex-shrink:0;align-items:center;padding:0 14px;display:inline-flex}.chip[data-active=true]{background:var(--primary-soft);border-color:var(--primary);color:var(--primary);font-weight:600}.tabs{background:var(--muted);border-radius:var(--radius-lg);gap:4px;margin-bottom:16px;padding:4px;display:flex}.tabs button{border-radius:var(--radius-md);font-weight:600;font-size:var(--text-sm);color:var(--muted-foreground);cursor:pointer;background:0 0;border:none;flex:1;min-height:36px;padding:8px}.tabs button[data-active=true]{background:var(--card);color:var(--foreground);box-shadow:0 1px 2px #00000014}.searchbar{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-lg);min-height:var(--control-h);align-items:center;gap:8px;margin-bottom:12px;padding:0 12px;display:flex}.searchbar input{font-size:var(--text-base);color:var(--foreground);min-height:var(--control-h);background:0 0;border:none;flex:1}.searchbar input:focus{outline:none}.entity-autocomplete{position:relative}.entity-autocomplete .searchbar{margin-bottom:0}.entity-autocomplete-menu{z-index:5;background:var(--card);border:1px solid var(--border);border-radius:var(--radius-lg);max-height:280px;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto;box-shadow:0 8px 24px #00000029}.entity-autocomplete-empty{color:var(--muted-foreground);font-size:var(--text-sm);text-align:center;padding:14px 12px}.entity-autocomplete-item{width:100%;min-height:var(--row-h);border:none;border-bottom:1px solid var(--border);color:inherit;text-align:left;cursor:pointer;background:0 0;align-items:center;gap:10px;padding:6px 12px;display:flex}.entity-autocomplete-item:last-child{border-bottom:none}.entity-autocomplete-item:hover,.entity-autocomplete-item[data-active=true]{background:var(--muted)}.entity-autocomplete-item-avatar{border-radius:var(--radius-md);background:var(--surface-1);flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.entity-autocomplete-item-main{flex-direction:column;flex:1;min-width:0;display:flex}.entity-autocomplete-item-name{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.entity-autocomplete-item-phone{font-size:var(--text-sm);color:var(--muted-foreground)}.entity-autocomplete-item-pinned .entity-autocomplete-item-name{color:var(--muted-foreground);font-weight:500}.stepper{gap:6px;margin-bottom:20px;display:flex}.stepper-dot{border-radius:var(--radius-full);background:var(--border);flex:1;height:4px}.stepper-dot[data-done=true]{background:var(--primary)}.empty-state{text-align:center;color:var(--muted-foreground);padding:32px 16px}.menu-list-item{min-height:var(--row-h);color:inherit;border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:0 4px;text-decoration:none;display:flex}.menu-list-item:last-child{border-bottom:none}.menu-list-icon{border-radius:var(--radius-md);background:var(--accent);width:36px;height:36px;color:var(--accent-foreground);flex-shrink:0;justify-content:center;align-items:center;font-size:18px;display:flex}.btn-secondary{background:var(--secondary);color:var(--secondary-foreground)}.btn-ghost{color:var(--foreground);background:0 0}.btn-block{width:100%}.pos-layout{flex-direction:column;height:100vh;display:flex}.pos-topbar-desktop-only{display:none!important}@media(min-width:1024px){.pos-layout{flex-direction:row}.pos-catalog{flex:0 0 60%;overflow-y:auto}.pos-cart{border-left:1px solid var(--border);flex-direction:column;flex:0 0 40%;height:100vh;max-height:none!important;display:flex!important;position:static!important}.pos-cart-close{display:none}.pos-cart-fab{display:none!important}.pos-topbar-desktop-only{display:flex!important}}.pos-catalog{padding:var(--gutter);flex:1;padding-bottom:96px;overflow-y:auto}.item-grid{grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:10px;display:grid}.item-tile{background:var(--card);border-radius:var(--radius-lg);cursor:pointer;text-align:left;border:none;flex-direction:column;gap:6px;min-height:128px;padding:8px;display:flex}.item-tile:active{transform:scale(.97)}.item-tile-thumb{aspect-ratio:1;border-radius:var(--radius-md);background:var(--muted);width:100%;color:var(--muted-foreground);justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.item-tile-thumb img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.item-tile-name{font-size:var(--text-sm);-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:2.5em;font-weight:600;line-height:1.25;display:-webkit-box;overflow:hidden}.item-tile-code{font-size:var(--text-xs);color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.item-tile-price{font-variant-numeric:tabular-nums;color:var(--primary);font-weight:700;font-size:var(--text-sm)}.pos-cart{background:var(--card);border-radius:var(--radius-2xl) var(--radius-2xl) 0 0;z-index:30;flex-direction:column;max-height:85vh;display:flex;position:fixed;inset:auto 0 0;box-shadow:0 -4px 24px #00000026}.pos-cart-header{padding:12px var(--gutter) 8px;border-bottom:1px solid var(--border)}.pos-cart-body{padding:0 var(--gutter);flex:1;overflow-y:auto}.pos-cart-footer{padding:12px var(--gutter) calc(var(--gutter) + env(safe-area-inset-bottom));border-top:1px solid var(--border)}.order-payment-section{border-top:1px solid var(--border);margin-top:16px;padding-top:16px}.order-tabs{gap:6px;padding-bottom:4px;display:flex;overflow-x:auto}.order-tab{border-radius:var(--radius-full);border:1px solid var(--border);background:var(--surface-1);min-height:36px;font-size:var(--text-sm);cursor:pointer;flex-shrink:0;align-items:center;gap:6px;padding:0 14px;font-weight:600;display:flex}.order-tab[data-active=true]{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}.cart-line{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:10px 0;display:flex}.cart-line:last-child{border-bottom:none}.cart-line-main{flex:1;min-width:0}.cart-line-title{font-weight:600;font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cart-line-sub{font-size:var(--text-xs);color:var(--muted-foreground);font-variant-numeric:tabular-nums}.qty-stepper{flex-shrink:0;align-items:center;gap:8px;display:flex}.qty-stepper button{border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-1);width:32px;height:32px;color:var(--foreground);cursor:pointer;justify-content:center;align-items:center;font-weight:700;display:flex}.qty-stepper span{text-align:center;font-variant-numeric:tabular-nums;min-width:20px;font-weight:600}.cart-line-total,.cart-line-price-input{font-variant-numeric:tabular-nums;text-align:right;flex-shrink:0;width:84px;font-weight:700}.cart-line-total{border-radius:var(--radius-sm);color:var(--foreground);cursor:pointer;background:0 0;border:1px dashed #0000;padding:4px 2px}.cart-line-total:hover,.cart-line-total:focus-visible{border-color:var(--border-strong)}.cart-line-price-input{border:1px solid var(--ring);border-radius:var(--radius-sm);background:var(--surface-1);color:var(--foreground);padding:4px 2px}.money-lg{font-variant-numeric:tabular-nums;font-weight:800;font-size:var(--text-2xl)}.money-md{font-variant-numeric:tabular-nums;font-weight:700;font-size:var(--text-lg)}.numpad{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.numpad button{border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-1);min-height:56px;color:var(--foreground);font-size:var(--text-lg);cursor:pointer;font-weight:600}.numpad button:active{background:var(--muted)}.numpad button.numpad-key-action{background:var(--accent);color:var(--accent-foreground);border-color:#0000}.numpad button.numpad-key-action:active{background:oklch(from var(--accent) calc(l - .05) c h)}.numpad button.numpad-key-delete{background:oklch(from var(--destructive) l c h / .14);color:var(--destructive);border-color:oklch(from var(--destructive) l c h / .3)}.numpad button.numpad-key-delete:active{background:oklch(from var(--destructive) l c h / .24)}.denom-row{gap:8px;margin-bottom:12px;display:flex}.denom-row button{border-radius:var(--radius-full);border:1px solid var(--border);background:var(--surface-1);min-height:40px;color:var(--foreground);font-weight:600;font-size:var(--text-sm);cursor:pointer;flex:1}.oversold-badge{color:var(--destructive);font-size:var(--text-xs);font-weight:700}.app-shell,.app-content{min-height:100vh}.sidebar{display:none}@media(min-width:1024px){.app-content{margin-left:var(--sidebar-width)}.sidebar{width:var(--sidebar-width);background:var(--sidebar-bg);height:100vh;color:var(--sidebar-fg);z-index:10;flex-direction:column;padding:20px 14px;display:flex;position:fixed;top:0;left:0}.bottom-nav{display:none}}.sidebar-brand{font-size:var(--text-lg);color:#fff;align-items:center;gap:10px;padding:8px 10px 24px;display:flex}.sidebar-brand-mark{-o-object-fit:cover;object-fit:cover;border-radius:6px;width:26px;height:26px}.sidebar-items{flex-direction:column;gap:4px;display:flex}.sidebar-item{color:inherit;border-radius:var(--radius-lg);text-decoration:none}.sidebar-item-inner{border-radius:var(--radius-lg);color:var(--sidebar-muted-fg);align-items:center;gap:12px;padding:12px 14px;font-weight:500;display:flex}.sidebar-item-inner[data-active=true]{background:var(--sidebar-active-bg);color:var(--sidebar-active-fg);font-weight:700}.pos-topbar{align-items:center;gap:12px;margin-bottom:16px;display:flex}.pos-topbar .searchbar{flex:1;margin-bottom:0}.pos-topbar-icon-btn{min-height:var(--control-h);min-width:var(--control-h);border-radius:var(--radius-lg);border:1px solid var(--border);background:var(--surface-1);color:var(--foreground);cursor:pointer;justify-content:center;align-items:center;display:flex}.pos-topbar-icon-btn:disabled{opacity:.45;cursor:default}.pos-user-chip{border-radius:var(--radius-full);background:var(--surface-1);border:1px solid var(--border);flex-shrink:0;align-items:center;gap:10px;padding:4px 12px 4px 4px;display:flex}.pos-user-avatar{border-radius:var(--radius-full);background:var(--primary-soft);width:32px;height:32px;color:var(--primary);font-weight:700;font-size:var(--text-sm);justify-content:center;align-items:center;display:flex}.pos-user-name{font-size:var(--text-sm);font-weight:600;line-height:1.1}.order-summary-title-row{justify-content:space-between;align-items:center;display:flex}.order-summary-title-group{align-items:center;gap:8px;display:flex}.order-summary-meta{font-size:var(--text-sm);color:var(--muted-foreground);align-items:center;gap:6px;margin-top:4px;display:flex}.order-summary-dot{color:var(--border)}.order-breakdown{border-top:1px dashed var(--border);flex-direction:column;gap:6px;margin-bottom:16px;padding-top:12px;display:flex}.order-breakdown-row{font-size:var(--text-sm);justify-content:space-between;display:flex}.order-breakdown-muted{color:var(--muted-foreground)}.order-breakdown-total{border-top:1px solid var(--border);align-items:baseline;margin-top:4px;padding-top:8px;font-weight:700}.order-actions{gap:8px;display:flex}.order-actions .btn{font-size:var(--text-sm);flex:1;padding:0 10px}.item-tile-thumb{position:relative}.item-tile-stock{border-radius:var(--radius-full);font-size:var(--text-2xs);background:var(--warning);color:var(--warning-foreground);padding:2px 8px;font-weight:700;position:absolute;top:6px;right:6px}.item-tile-stock[data-low=true],.item-tile-stock[data-out=true]{background:var(--destructive);color:var(--destructive-foreground)}.item-tile-addcart{border-radius:var(--radius-md);background:var(--accent);min-height:32px;color:var(--accent-foreground);font-size:var(--text-xs);text-align:center;white-space:nowrap;text-overflow:ellipsis;border:none;justify-content:center;align-items:center;margin-top:4px;padding:4px 8px;font-weight:700;display:flex;overflow:hidden}.vietqr-overlay{--vietqr-scrim:oklch(0% 0 0/.55);background:var(--vietqr-scrim);z-index:60;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.vietqr-ticket{border:6px solid var(--primary);background:#fff;border-radius:28px;width:100%;max-width:320px;padding:26px 24px 20px;animation:.16s cubic-bezier(.16,1,.3,1) vietqr-pop;position:relative;box-shadow:0 24px 60px #00000059}@keyframes vietqr-pop{0%{opacity:0;transform:scale(.94)}to{opacity:1;transform:none}}.vietqr-close{color:#47474d;cursor:pointer;background:#ebebee;border:none;border-radius:50%;justify-content:center;align-items:center;width:26px;height:26px;display:flex;position:absolute;top:10px;right:10px}.vietqr-header{justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;padding-right:26px;display:flex}.vietqr-bank-logo-full{-o-object-fit:contain;object-fit:contain;flex-shrink:0;width:auto;max-width:65%;height:42px;display:block}.vietqr-wordmark-img{flex-shrink:0;width:auto;height:22px;display:block}.vietqr-qr-wrap{justify-content:center;margin:4px 0 6px;display:flex}.vietqr-qr-img{width:190px;height:190px;display:block}.vietqr-napas-img{width:auto;height:16px;margin:0 auto 16px;display:block}.vietqr-divider{border-top:2px dashed oklch(85% .01 285);margin:4px -24px 18px;position:relative}.vietqr-notch{background:var(--vietqr-scrim);border-radius:50%;width:22px;height:22px;position:absolute;top:50%;transform:translateY(-50%)}.vietqr-notch-left{left:-11px}.vietqr-notch-right{right:-11px}.vietqr-info{flex-direction:column;gap:10px;display:flex}.vietqr-info-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.vietqr-info-label{color:var(--muted-foreground);flex-shrink:0;font-size:12px}.vietqr-info-value{color:#16181d;text-align:right;align-items:center;gap:6px;font-size:14px;font-weight:700;display:flex}.vietqr-copy-btn{color:#47474d;cursor:pointer;background:#ebebee;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;display:inline-flex}.vietqr-info-row-amount{border-top:1px solid oklch(92% .008 285);margin-top:2px;padding-top:12px}.vietqr-info-amount{color:var(--primary);font-size:17px;font-weight:800}.vietqr-toast{color:#fff;border-radius:var(--radius-full);white-space:nowrap;background:#16181d;padding:6px 14px;font-size:12px;font-weight:600;position:absolute;bottom:-38px;left:50%;transform:translate(-50%);box-shadow:0 8px 20px #00000040}.payment-line-row{border-radius:var(--radius-md);background:var(--surface-1);border:1px solid var(--border);align-items:center;gap:10px;padding:8px 12px;display:flex}.payment-line-method{min-width:0;font-size:var(--text-sm);color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;flex:1;font-weight:500;overflow:hidden}.payment-line-amount{font-weight:700}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}
