@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-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, 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;--spacing:.25rem;--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%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, 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;-webkit-text-decoration:inherit;-webkit-text-decoration: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{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}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::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]){appearance:button}::file-selector-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}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.block{display:block}.contents{display:contents}.hidden{display:none}.table{display:table}.table-row{display:table-row}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.border{border-style:var(--tw-border-style);border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--bg:#f4f2ef;--surface:#fff;--surface-raised:#faf8f5;--surface-soft:#f0ece6;--ink:#1c1917;--ink-2:#4a423c;--muted:#6b625b;--muted-light:#a79e96;--border:#e3ddd5;--border-strong:#c9c0b6;--brand:#241e1b;--accent:#8e2a1c;--accent-hover:#7b2417;--accent-pressed:#6e1f14;--accent-soft:#f6e7e3;--gold:#e8c58a;--focus:#2c5c8f;--success:#1f7a4d;--success-soft:#e4f2ea;--warning:#b8791b;--warning-soft:#fbf0dc;--error:#d64535;--error-soft:#fce9e7;--gift:#7a2e86;--gift-soft:#f2e8f4;--disabled:#ede9e3;--radius-field:10px;--radius-card:14px;--radius-panel:20px;--shadow-1:0 1px 2px #1c19170f;--shadow-2:0 6px 16px #1c19171a;--shadow-3:0 18px 40px #1c19172e;--mobile-nav-height:92px;--mobile-nav-gap:10px;--ui-text-size:16px}:root[data-text-size=small]{--ui-text-size:14px}:root[data-text-size=large]{--ui-text-size:18px}:root[data-text-size=xlarge]{--ui-text-size:20px}body{font-size:var(--ui-text-size)}.purchases-page{max-width:1220px;margin:0 auto}.purchase-tabs{border:1px solid var(--border);background:var(--surface-soft);border-radius:16px;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0;padding:6px;display:grid}.purchase-tabs button{min-height:52px;color:var(--muted);font:inherit;background:0 0;border:0;border-radius:11px;justify-content:center;align-items:center;gap:8px;font-weight:800;display:flex}.purchase-tabs button svg{width:19px}.purchase-tabs button.active{background:var(--surface);color:var(--accent);box-shadow:var(--shadow-1)}.purchase-section{gap:16px;display:grid}.purchase-toolbar{justify-content:space-between;align-items:center;gap:16px;display:flex}.purchase-toolbar h2,.purchase-toolbar p{margin:0}.purchase-toolbar p{color:var(--muted);margin-top:4px}.purchase-list,.supplier-grid{gap:12px;display:grid}.supplier-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.purchase-card,.supplier-card,.receive-sheet{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-1);border-radius:16px;padding:18px}.purchase-card{gap:12px;display:grid}.purchase-card h3,.purchase-card p,.supplier-card h3,.supplier-card p{margin:0}.purchase-card p,.supplier-card p{color:var(--muted);margin-top:5px}.purchase-status{background:var(--warning-soft);width:fit-content;color:var(--warning);border-radius:999px;margin-bottom:7px;padding:4px 9px;font-size:12px;font-weight:900;display:inline-flex}.purchase-status.received,.purchase-status.partially_received{background:var(--success-soft);color:var(--success)}.purchase-status.cancelled{background:var(--error-soft);color:var(--error)}.purchase-progress{background:var(--surface-soft);border-radius:999px;height:8px;overflow:hidden}.purchase-progress span{border-radius:inherit;background:var(--success);height:100%;display:block}.purchase-actions{flex-wrap:wrap;gap:10px;display:flex}.purchase-actions button,.secondary-button{border:1px solid var(--border-strong);background:var(--surface);min-height:44px;color:var(--ink);border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-weight:800;text-decoration:none;display:inline-flex}.purchase-order-picker{border:1px solid var(--border);background:var(--surface);width:100%;min-height:66px;color:var(--ink);text-align:left;border-radius:13px;justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.purchase-order-picker span:first-child{gap:3px;display:grid}.purchase-order-picker small{color:var(--muted)}.receive-heading{justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.receive-heading h3{margin:6px 0 0}.receive-heading button{color:var(--accent);background:0 0;border:0;font-weight:800}.receive-table{border:1px solid var(--border);border-radius:13px;margin:16px 0;display:grid;overflow:hidden}.receive-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(220px,2fr) repeat(3,minmax(80px,.6fr));align-items:center;gap:12px;min-height:64px;padding:10px 12px;display:grid}.receive-row:last-child{border:0}.receive-row>span:first-child{gap:3px;display:grid}.receive-row small{color:var(--muted)}.receive-row input{border:1px solid var(--border-strong);background:var(--surface);width:100%;min-height:46px;color:var(--ink);font:inherit;border-radius:9px;padding:0 10px;font-weight:800}.receive-header{background:var(--surface-soft);min-height:42px;color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:900}.receive-sheet>label,.purchase-modal form>label,.form-grid label,.order-line label{color:var(--ink);gap:6px;font-weight:800;display:grid}.receive-sheet textarea,.purchase-modal input,.purchase-modal select,.purchase-modal textarea{border:1px solid var(--border-strong);background:var(--surface);min-height:46px;color:var(--ink);font:inherit;border-radius:10px;padding:10px 12px}.receive-submit{justify-content:center;width:100%;min-height:54px;margin-top:14px}.supplier-card>span{color:var(--accent);font-size:12px;font-weight:900}.supplier-card a{color:var(--accent)}.purchase-modal{background:var(--surface);border-radius:18px;width:min(820px,100vw - 28px);max-height:min(880px,100dvh - 28px);padding:20px;overflow:auto}.purchase-modal.compact{width:min(640px,100vw - 28px)}.modal-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.modal-heading>button{background:var(--surface-soft);width:44px;height:44px;color:var(--ink);border:0;border-radius:50%}.form-grid{grid-template-columns:1fr 1fr;gap:12px;margin:16px 0;display:grid}.purchase-search{border:1px solid var(--border-strong);border-radius:10px;align-items:center;padding-left:12px;display:flex}.purchase-search input{border:0;flex:1}.variant-results{border:1px solid var(--border);border-radius:12px;max-height:250px;margin-top:6px;display:grid;overflow:auto}.variant-results button{border:0;border-bottom:1px solid var(--border);background:var(--surface);min-height:58px;color:var(--ink);text-align:left;justify-content:space-between;align-items:center;padding:10px 12px;display:flex}.variant-results button span,.order-line>span{gap:3px;display:grid}.variant-results small,.order-line small{color:var(--muted)}.order-lines{gap:8px;margin:14px 0;display:grid}.order-line{border:1px solid var(--border);border-radius:12px;grid-template-columns:minmax(190px,1.5fr) 95px 140px 44px;align-items:end;gap:10px;padding:10px;display:grid}.order-line>button{background:var(--error-soft);width:44px;height:44px;color:var(--error);border:0;border-radius:9px}.text-danger{color:var(--error)!important}.quick-create-product{border:1px dashed var(--accent);background:var(--accent-soft);width:100%;min-height:50px;color:var(--accent);border-radius:11px;justify-content:center;align-items:center;gap:8px;margin-top:10px;padding:10px 14px;font-weight:900;display:flex}.quick-create-product svg{width:20px}.quick-product-backdrop{z-index:80}.quick-product-modal{width:min(760px,100vw - 28px)}.quick-options{border:1px solid var(--border);border-radius:13px;min-width:0;margin:16px 0;padding:14px}.quick-options legend{padding:0 6px;font-weight:900}.quick-option-list{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.quick-option-list label{border:1px solid var(--border-strong);background:var(--surface);border-radius:10px;justify-content:center;align-items:center;gap:7px;min-width:54px;min-height:46px;padding:8px 12px;font-weight:800;display:flex}.quick-option-list label.selected{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.quick-image-input{grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;min-width:0;display:grid}.quick-image-input input{width:100%;min-width:0}.quick-product-actions{background:var(--surface);padding-top:12px;position:sticky;bottom:-1px}.product-image-field small,.quick-product-modal label>small{color:var(--muted);font-weight:500}@media (max-width:720px){.purchase-tabs{z-index:4;grid-template-columns:repeat(4,1fr);margin-inline:-8px;position:sticky;top:0}.purchase-tabs button{flex-direction:column;gap:2px;min-height:58px;font-size:11px}.purchase-toolbar,.receive-heading{flex-direction:column;align-items:stretch}.purchase-toolbar .primary-button{justify-content:center;width:100%;min-height:52px}.receive-table{border:0;gap:8px;overflow:visible}.receive-header{display:none}.receive-row{border:1px solid var(--border);border-radius:12px;grid-template-columns:1fr 1fr 1fr;min-height:auto;padding:12px}.receive-row>span:first-child{grid-column:1/-1}.receive-row>span:nth-child(2):before{content:"Pedido\a ";white-space:pre;color:var(--muted);font-size:10px}.receive-row>span:nth-child(3):before{content:"Ya llegó\a ";white-space:pre;color:var(--muted);font-size:10px}.receive-row input{min-height:52px;font-size:18px}.form-grid,.order-line{grid-template-columns:1fr}.order-line>button{width:100%}.purchase-modal{width:100%;max-height:calc(100dvh - env(safe-area-inset-top));padding-bottom:max(22px, env(safe-area-inset-bottom));border-radius:18px 18px 0 0}.quick-product-actions{grid-template-columns:1fr;display:grid}}*{box-sizing:border-box}html,body{min-height:100%}body{background:var(--bg);color:var(--ink);font-family:var(--font-archivo), system-ui, sans-serif;-webkit-font-smoothing:antialiased;margin:0}button,input{font:inherit}button{color:inherit;touch-action:manipulation}a{color:inherit;text-decoration:none}code{font-family:var(--font-plex-mono), monospace}::selection{background:var(--accent);color:#fff}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.workspace-shell{grid-template-columns:88px minmax(0,1fr);min-height:100dvh;display:grid;overflow:hidden}.workspace-content{grid-template-rows:64px minmax(0,1fr);min-width:0;height:100dvh;display:grid}.workspace-main{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;min-width:0;height:100%;min-height:0;overflow:hidden auto}:is(.workspace-main:has(.modal-backdrop),.workspace-main:has(.customer-create[open])){overscroll-behavior:none;-webkit-overflow-scrolling:auto;overflow-y:hidden}.workspace-loading{min-height:240px;color:var(--ink-2);justify-content:center;align-items:center;gap:14px;padding:32px;display:flex}.workspace-loading-mark{border:3px solid var(--border-strong);border-top-color:var(--accent);border-radius:50%;width:28px;height:28px;animation:.7s linear infinite workspace-loading-spin}.workspace-loading div,.workspace-loading strong,.workspace-loading small{gap:3px;display:grid}.workspace-loading small{color:var(--muted)}@keyframes workspace-loading-spin{to{transform:rotate(360deg)}}.nav-rail{z-index:20;background:var(--brand);color:#fff;flex-direction:column;align-items:center;gap:8px;padding:14px 8px;display:flex;position:relative}.rail-brand{background:var(--accent);border-radius:12px;place-items:center;width:56px;height:44px;margin-bottom:6px;padding:6px;display:grid;overflow:hidden}.rail-brand img{object-fit:contain;width:100%;height:100%}.rail-links{flex-direction:column;align-items:center;gap:7px;width:100%;display:flex}.rail-link{color:#a8a099;cursor:pointer;background:0 0;border:0;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:72px;min-height:58px;padding:8px 4px;transition:background .12s ease-out,color .12s ease-out;display:flex}.rail-link svg{width:22px;height:22px}.rail-link span{white-space:nowrap;font-size:10px;line-height:1}.rail-link:hover{color:#f5f1ec;background:#2a2521}.rail-link.active{background:var(--accent);color:#fff}.rail-link.active span{font-weight:600}.rail-logout{margin-top:auto}.app-topbar{background:var(--surface);border-bottom:1px solid var(--border);align-items:center;gap:10px;height:64px;padding:0 16px;display:flex;overflow:hidden}.app-topbar h1{letter-spacing:-.01em;white-space:nowrap;margin:0;font-size:18px;line-height:1.2}.mobile-menu{display:none}.location-pill,.online-pill{white-space:nowrap;border-radius:999px;align-items:center;gap:6px;min-height:34px;padding:0 10px;font-size:12px;display:flex}.location-pill{border:1px solid var(--border);color:var(--ink-2)}.location-pill svg{width:15px;height:15px;color:var(--muted)}.location-pill i{color:var(--border-strong);font-style:normal}.location-pill .location-name,.location-pill .cash-name{text-overflow:ellipsis;max-width:180px;overflow:hidden}.online-pill{background:var(--success-soft);color:#14603a;font-weight:600}.online-pill>span{background:var(--success);border-radius:50%;width:8px;height:8px}.topbar-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.icon-button{border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:12px;place-items:center;width:44px;height:44px;padding:0;display:grid}.icon-button svg{width:20px}.notification-trigger{position:relative}.notification-trigger>span{background:var(--error);border:2px solid #fff;border-radius:50%;width:7px;height:7px;position:absolute;top:8px;right:8px}.active-user{border:0;border-left:1px solid var(--border);cursor:pointer;background:0 0;align-items:center;gap:8px;min-height:44px;padding:0 0 0 10px;display:flex}.active-user>span{background:var(--brand);width:36px;height:36px;color:var(--gold);border-radius:50%;place-items:center;font-size:13px;font-weight:700;display:grid}.active-user strong{white-space:nowrap;font-size:12px}.pos-screen{grid-template-columns:minmax(0,1fr) 372px;height:calc(100dvh - 64px);display:grid;overflow:hidden}.pos-catalog{flex-direction:column;min-width:0;min-height:0;display:flex}.scan-row{flex:none;align-items:center;gap:12px;padding:16px 20px 12px;display:flex}.scan-input{border:2px solid var(--accent);background:var(--surface);border-radius:12px;flex:1;align-items:center;gap:12px;height:56px;padding:0 15px;display:flex;box-shadow:0 0 0 4px #8e2a1c14}.scan-input>svg{width:24px;height:24px;color:var(--accent);flex:none}.scan-input input{width:100%;min-width:0;height:100%;color:var(--ink);background:0 0;border:0;outline:0;font-size:16px}.scan-input input::placeholder{color:var(--muted);opacity:1}.scan-caret{background:var(--accent);flex:none;width:2px;height:26px}.catalog-button{border:1px solid var(--border-strong);background:var(--surface);cursor:pointer;border-radius:12px;align-items:center;gap:9px;height:56px;padding:0 18px;font-size:15px;font-weight:600;display:flex}.catalog-button svg{width:20px}.catalog-button:hover,.secondary-button:hover{background:var(--bg)}.frequent-row{flex:none;align-items:center;gap:8px;min-height:50px;padding:0 20px 10px;display:flex;overflow-x:auto}.frequent-row>span{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin-right:2px;font-size:12px;font-weight:600}.frequent-row button{border:1px solid var(--border-strong);background:var(--surface);white-space:nowrap;cursor:pointer;border-radius:999px;height:40px;padding:0 14px;font-size:14px;font-weight:600}.frequent-row button:hover{border-color:var(--accent);color:var(--accent)}.catalog-canvas{background:var(--surface-raised);border:1px dashed #d8d1c8;border-radius:16px;flex:1;min-height:0;margin:0 20px 20px;padding:18px;overflow:auto}.pos-ready-state,.no-results-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:100%;display:flex}.pos-ready-state>img{object-fit:contain;width:auto;height:min(158px,25vh)}.pos-ready-state h2,.no-results-state h2{margin:10px 0 0;font-size:20px;font-weight:600}.pos-ready-state p,.no-results-state p{max-width:400px;color:var(--muted);margin:8px 0 14px;font-size:15px;line-height:1.5}.pos-ready-state>div{gap:10px;display:flex}.no-results-state>svg{width:46px;height:46px;color:var(--muted-light)}.catalog-results-heading{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.catalog-results-heading div{align-items:baseline;gap:10px;display:flex}.catalog-results-heading span{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:12px;font-weight:600}.catalog-results-heading strong{font-size:15px}.catalog-results-heading button{min-height:40px;color:var(--accent);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:0 12px;font-weight:600}.product-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-content:start;gap:12px;display:grid}.product-card{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);text-align:left;cursor:pointer;min-width:0;box-shadow:var(--shadow-1);padding:0;overflow:hidden}.product-card:hover:not(:disabled){border-color:var(--accent);transform:translateY(-1px)}.product-card:disabled{opacity:.7;cursor:not-allowed}.product-card-media{background:var(--surface-soft);color:#c1b8ae;place-items:center;height:90px;display:grid;position:relative}.product-card-media svg{width:31px;height:31px}.product-card-media em{color:var(--muted);box-shadow:var(--shadow-1);background:#fff;border-radius:999px;padding:5px 10px;font-size:12px;font-style:normal;font-weight:600;position:absolute}.product-card-copy{flex-direction:column;gap:4px;padding:10px;display:flex}.product-card-copy>strong{min-height:36px;font-size:14px;line-height:1.3}.product-card-copy code{color:var(--muted);font-size:11px}.variant-line{color:var(--muted);font-size:12px}.product-card-bottom{justify-content:space-between;align-items:center;margin-top:3px;display:flex}.product-card-bottom b{font-variant-numeric:tabular-nums;font-size:15px}.product-card-bottom small{color:#14603a;font-size:11px;font-weight:600}.product-card-bottom .last-unit{color:#8a5a10}.sale-panel{background:var(--surface);border-left:1px solid var(--border);grid-template-rows:64px auto minmax(0,1fr) auto;min-width:0;min-height:0;display:grid}.sale-panel-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:0 18px;display:flex}.sale-panel-header strong{font-size:17px}.sale-panel-header code{color:var(--muted);font-size:12px}.draft-toolbar{border-bottom:1px solid var(--border);background:var(--surface-soft);grid-template-columns:1fr auto;align-items:center;gap:6px 8px;min-height:54px;padding:7px 12px;display:grid}.draft-toolbar button{border:1px solid var(--border-strong);background:var(--surface);min-height:40px;color:var(--ink);font:inherit;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:0 12px;font-size:13px;font-weight:700;display:inline-flex}.draft-toolbar button:first-child{color:var(--accent)}.draft-toolbar .returns-shortcut{border-color:var(--accent);grid-column:1/-1;min-height:46px}@supports (color:color-mix(in lab, red, red)){.draft-toolbar .returns-shortcut{border-color:color-mix(in srgb, var(--accent) 45%, var(--border))}}.draft-toolbar .returns-shortcut{background:var(--accent-soft);color:var(--accent)}.draft-toolbar button:disabled{color:var(--muted-light);cursor:not-allowed}.draft-toolbar svg{width:18px}.draft-toolbar b{background:var(--accent-soft);min-width:22px;height:22px;color:var(--accent);border-radius:11px;place-items:center;padding:0 6px;font-size:11px;display:grid}.draft-toolbar small{color:var(--muted);grid-column:1/-1;font-size:11px}.held-tickets-modal{width:min(680px,100vw - 24px)}.held-ticket-list{gap:10px;max-height:min(460px,52dvh);margin-top:16px;display:grid;overflow-y:auto}.held-ticket-list article{border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;display:grid}.held-ticket-list article>div{gap:4px;display:grid}.held-ticket-list article>div:last-child{grid-template-columns:auto auto;align-items:center}.held-ticket-list span,.held-ticket-list small,.field-hint{color:var(--muted);font-size:12px}.held-ticket-list .secondary-button{min-height:42px}.text-danger-button{min-height:42px;color:var(--error);font:inherit;cursor:pointer;background:0 0;border:0;padding:0 10px;font-weight:700}.text-danger-button:disabled{color:var(--muted-light);cursor:not-allowed}.sale-lines{min-height:0;overflow-y:auto}.empty-sale{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:100%;padding:20px;display:flex}.empty-sale img{object-fit:contain;width:auto;height:min(170px,24vh)}.empty-sale strong{color:var(--ink-2);margin-top:4px;font-size:16px}.empty-sale p{max-width:230px;color:var(--muted);margin:8px 0 0;font-size:14px;line-height:1.5}.sale-line{border-bottom:1px solid var(--border);background:var(--surface);padding:14px 16px}.sale-line-top{grid-template-columns:48px minmax(0,1fr) 36px;align-items:center;gap:10px;display:grid}.sale-thumb{background:var(--surface-soft);width:48px;height:48px;color:var(--muted-light);border-radius:10px;place-items:center;display:grid}.sale-thumb svg{width:22px}.sale-line-top strong,.sale-line-top small{display:block}.sale-line-top strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:500;overflow:hidden}.sale-line-top small{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);margin-top:4px;font-size:12px;overflow:hidden}.sale-line-top small code{font-size:11px}.remove-line{color:#b32b1c;cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;width:36px;height:36px;padding:0;display:grid}.remove-line:hover{background:var(--error-soft)}.remove-line svg{width:18px}.gift-chip,.stock-warning{border-radius:999px;align-items:center;gap:5px;width:fit-content;min-height:27px;margin:8px 0 0 58px;padding:0 10px;font-size:11px;font-weight:600;display:inline-flex}.gift-chip{background:var(--gift-soft);color:#5f2168}.gift-chip svg{width:13px}.stock-warning{background:var(--warning-soft);color:#8a5a10}.sale-line-bottom{align-items:center;gap:8px;margin-top:12px;display:flex}.quantity-buttons{grid-template-columns:36px 30px 36px;align-items:center;display:grid}.quantity-buttons button{border:1px solid var(--border-strong);cursor:pointer;background:#fff;border-radius:9px;place-items:center;width:36px;height:36px;padding:0;display:grid}.quantity-buttons button svg{width:16px}.quantity-buttons strong{text-align:center;font-variant-numeric:tabular-nums}.line-gift{border:1px solid var(--border);height:36px;color:var(--muted);cursor:pointer;background:#fff;border-radius:9px;align-items:center;gap:5px;padding:0 9px;font-size:11px;font-weight:600;display:flex}.line-gift svg{width:14px}.line-gift.selected{background:var(--gift-soft);color:#5f2168;border-color:#c9a2cf}.sale-line-bottom>b{font-variant-numeric:tabular-nums;margin-left:auto;font-size:17px}.sale-summary{padding:14px 18px max(18px, env(safe-area-inset-bottom));border-top:1px solid var(--border);background:#fdfcfb;flex-direction:column;gap:10px;display:flex}.sale-summary>div:not(.grand-total):not(.sale-extras){color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;font-size:14px;display:flex}.grand-total{border-top:1px solid var(--border);justify-content:space-between;align-items:baseline;padding-top:9px;display:flex}.grand-total strong{font-size:16px}.grand-total b{letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:38px;line-height:1}.pay-button{background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;height:56px;padding:0 18px;font-size:18px;font-weight:700;display:flex}.pay-button:hover:not(:disabled),.primary-button:hover{background:var(--accent-hover)}.pay-button:active:not(:disabled),.primary-button:active{background:var(--accent-pressed)}.pay-button:disabled{background:var(--disabled);color:var(--muted-light);cursor:not-allowed}.pay-button svg{width:20px}.sale-extras{gap:10px;display:flex}.sale-extras button{border:1px solid var(--border-strong);cursor:pointer;background:#fff;border-radius:10px;flex:1;height:44px;padding:0 7px;font-size:13px;font-weight:600}.sale-extras button:disabled{border-color:var(--border);color:var(--muted-light);cursor:not-allowed;background:#f7f5f2}.primary-button,.secondary-button,.gift-button{cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:0 20px;font-size:16px;font-weight:600;display:inline-flex}.primary-button{background:var(--accent);color:#fff;border:0}.secondary-button{border:1px solid var(--border-strong);background:#fff}.gift-button{background:var(--gift-soft);color:#5f2168;border:1px solid #c9a2cf}.primary-button svg,.secondary-button svg,.gift-button svg{width:19px}.pos-toast{z-index:200;left:50%;top:max(12px, env(safe-area-inset-top));background:var(--brand);color:#f5f1ec;max-width:min(520px,100vw - 32px);min-height:54px;box-shadow:var(--shadow-3);border-radius:12px;align-items:center;gap:10px;padding:10px 16px;font-size:14px;font-weight:500;display:flex;position:fixed;bottom:auto;transform:translate(-50%)}.pos-toast>span{background:var(--success);border-radius:50%;place-items:center;width:27px;height:27px;display:grid}.pos-toast svg{width:16px}.modal-backdrop{z-index:90;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#1c191794;place-items:center;height:100dvh;padding:20px;display:grid;position:fixed;inset:0;overflow:hidden}.checkout-modal{border-radius:var(--radius-panel);background:var(--surface);width:min(520px,100%);max-height:calc(100dvh - 40px);box-shadow:var(--shadow-3);overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:24px;overflow-y:auto}.modal-backdrop>:where(.checkout-modal,.purchase-modal,.receipt-modal){min-width:0;max-width:100%;min-height:0;max-height:calc(100dvh - 40px)}:where(.checkout-modal,.purchase-modal,.receipt-modal,.exchange-modal) :where(input,select,textarea,button){min-width:0;max-width:100%}.kicker{color:var(--accent);letter-spacing:.1em;text-transform:uppercase;margin:0;font-size:12px;font-weight:600}.checkout-modal h2{letter-spacing:-.03em;font-variant-numeric:tabular-nums;margin:6px 0;font-size:42px}.checkout-modal>p:not(.kicker){color:var(--muted);margin:0}.payment-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:22px 0 14px;display:grid}.payment-options button{border:1px solid var(--border);background:var(--surface-raised);text-align:left;cursor:pointer;border-radius:12px;min-height:104px;padding:14px}.payment-options button:hover{border:2px solid var(--accent);background:#fff9f8;padding:13px}.payment-options strong,.payment-options small{display:block}.payment-options small{color:var(--muted);margin-top:5px}.wide{width:100%}.sale-success{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:calc(100dvh - 64px);padding:30px;display:flex}.success-seal{background:var(--success-soft);width:78px;height:78px;color:var(--success);border-radius:50%;place-items:center;margin-bottom:20px;display:grid}.success-seal svg{width:36px}.sale-success h2{letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin:8px 0;font-size:clamp(40px,7vw,64px)}.sale-success>code{color:var(--muted)}.success-buttons{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:24px;display:flex}.module-page{min-height:calc(100dvh - 64px);padding:28px}.quote-filters{grid-template-columns:minmax(240px,1fr) 190px auto;gap:10px;margin-bottom:20px;display:grid}.layaway-filters{grid-template-columns:minmax(260px,1fr) minmax(180px,240px) auto;gap:12px;margin:22px 0;display:grid}.layaway-filters label{border:1px solid var(--border);background:var(--surface);border-radius:14px;align-items:center;gap:10px;min-height:50px;padding:0 14px;display:flex}.layaway-filters label svg{width:20px;color:var(--muted)}.layaway-filters input,.layaway-filters select{border:1px solid var(--border);background:var(--surface);min-width:0;min-height:50px;color:var(--ink);font:inherit;border-radius:14px}.layaway-filters label input{border:0;outline:0;width:100%;min-height:auto}.layaway-filters select{padding:0 14px}.layaway-list{gap:14px;display:grid}.layaway-card{border:1px solid var(--border);background:var(--surface);border-left:6px solid #48835f;border-radius:18px;overflow:hidden}.layaway-card.warning{border-left-color:#d39a25}.layaway-card.overdue{border-left-color:#b43a2e}.layaway-card.closed{border-left-color:var(--muted-light)}.layaway-card>header,.layaway-card>footer,.layaway-card-grid{padding:16px 18px}.layaway-card>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:start;gap:16px;display:flex}.layaway-card>header div,.layaway-card-grid span{gap:4px;display:grid}.layaway-card>header code{color:var(--accent);font-weight:800}.layaway-card>header span{background:var(--surface-soft);border-radius:999px;padding:6px 10px;font-size:.8rem;font-weight:800}.layaway-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.layaway-card-grid small,.layaway-card>footer{color:var(--muted)}.layaway-items{gap:8px;margin:0 18px 14px;display:grid}.layaway-items>div{background:var(--surface-soft);border-radius:12px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:58px;padding:10px 12px;display:grid}.layaway-items span:first-child{gap:2px;min-width:0;display:grid}.layaway-items small{color:var(--muted);overflow-wrap:anywhere}.layaway-items a{color:var(--brick);align-items:center;gap:3px;min-height:42px;font-weight:800;display:inline-flex}.layaway-items a svg{width:18px}.layaway-substitution-editor{background:var(--surface);border:2px solid var(--brick)}@supports (color:color-mix(in lab, red, red)){.layaway-substitution-editor{border:2px solid color-mix(in srgb, var(--brick) 30%, var(--line))}}.layaway-substitution-editor{border-radius:18px;gap:16px;margin-bottom:22px;padding:20px;display:grid}.layaway-substitution-editor>header{justify-content:space-between;align-items:center;gap:12px;display:flex}.layaway-substitution-editor h2,.layaway-substitution-editor p{margin:0}.layaway-substitution-current{background:var(--surface-soft);border-radius:14px;gap:4px;padding:14px;display:grid}.layaway-substitution-current span,.layaway-substitution-form label>span{color:var(--muted);font-size:.82rem;font-weight:800}.layaway-replacement-search{grid-template-columns:minmax(0,1fr) auto;gap:10px;display:grid}.layaway-replacement-search label{border:1px solid var(--line);border-radius:12px;align-items:center;gap:8px;min-height:50px;padding:0 12px;display:flex}.layaway-replacement-search svg{color:var(--muted);width:20px}.layaway-replacement-search input{color:var(--ink);font:inherit;background:0 0;border:0;outline:0;width:100%;min-width:0}.layaway-substitution-form{gap:14px;display:grid}.layaway-substitution-form label{gap:7px;display:grid}.layaway-substitution-form select,.layaway-substitution-form textarea{background:var(--surface);border:1px solid var(--line);color:var(--ink);font:inherit;border-radius:12px;width:100%;min-height:50px;padding:10px 12px}.layaway-substitution-form textarea{resize:vertical;min-height:90px}.layaway-payment-panel,.layaway-cancel-panel{border-top:1px solid var(--line);padding:12px 18px 16px}.layaway-payment-panel summary,.layaway-cancel-panel summary{color:var(--brick);cursor:pointer;align-items:center;gap:8px;min-height:48px;font-weight:800;display:flex}.layaway-payment-panel summary svg,.layaway-cancel-panel summary svg{width:20px}.layaway-payment-panel form,.layaway-cancel-panel form{gap:14px;padding-top:12px;display:grid}.layaway-delivery-confirmation{background:#48835f;align-items:start}@supports (color:color-mix(in lab, red, red)){.layaway-delivery-confirmation{background:color-mix(in srgb, #48835f 9%, var(--surface))}}.layaway-delivery-confirmation{border:1px solid #48835f}@supports (color:color-mix(in lab, red, red)){.layaway-delivery-confirmation{border:1px solid color-mix(in srgb, #48835f 30%, var(--line))}}.layaway-delivery-confirmation{cursor:pointer;border-radius:12px;grid-template-columns:auto minmax(0,1fr);gap:10px;padding:12px;line-height:1.4;display:grid}.layaway-delivery-confirmation input{width:22px;height:22px;margin:0}.layaway-cancel-panel{border-top-color:#b43a2e}@supports (color:color-mix(in lab, red, red)){.layaway-cancel-panel{border-top-color:color-mix(in srgb, #b43a2e 35%, var(--line))}}.layaway-cancel-panel summary{color:#a52e24}.layaway-cancel-panel label{gap:7px;display:grid}.layaway-cancel-panel textarea{resize:vertical;min-height:96px}.layaway-receipt{border:1px solid var(--line);color:#17120f;background:#fff;border-radius:18px;gap:12px;max-width:80mm;margin:0 auto 22px;padding:22px;display:grid}.layaway-receipt-brand{border-bottom:1px dashed #777;padding-block:4px 10px}.layaway-receipt-brand+h2{letter-spacing:.08em;text-align:center;margin:0;font-size:15px}.layaway-receipt>header,.layaway-receipt-parts p,.layaway-receipt-total{justify-content:space-between;align-items:center;gap:12px;display:flex}.layaway-receipt>header div{gap:3px;display:grid}.layaway-receipt dl{gap:7px;margin:0;display:grid}.layaway-receipt dl div{justify-content:space-between;gap:14px;display:flex}.layaway-receipt dd{text-align:right;margin:0;font-weight:700}.layaway-receipt-parts{border-block:1px dashed #777;padding-block:8px}.layaway-receipt-parts p,.layaway-receipt-total{margin:4px 0}.layaway-receipt-total{font-size:1.15rem}@media print{body:has(.layaway-receipt)>*{visibility:hidden}.layaway-receipt,.layaway-receipt *{visibility:visible}.layaway-receipt{border:0;border-radius:0;width:80mm;max-width:80mm;margin:0;padding:4mm;position:absolute;top:0;left:0}@page{size:80mm auto;margin:0}}.layaway-card>footer{padding-top:0;font-size:.85rem}@media (max-width:720px){.layaway-filters{grid-template-columns:1fr}.layaway-card-grid{grid-template-columns:1fr 1fr}.layaway-items>div{grid-template-columns:1fr auto;align-items:start}.layaway-items a{grid-column:1/-1;justify-content:flex-end}.layaway-payment-panel form,.layaway-cancel-panel form{overflow-wrap:anywhere;min-width:0}.layaway-payment-panel summary,.layaway-cancel-panel summary{min-height:52px}.layaway-replacement-search{grid-template-columns:1fr}.layaway-substitution-editor{padding:16px}.layaways-page .section-heading .primary-button{justify-content:center;width:100%}}.quote-filters label,.quote-search{border:1px solid var(--border);background:var(--surface);border-radius:12px;align-items:center;gap:9px;min-height:48px;padding:0 13px;display:flex}.quote-filters svg,.quote-search svg{width:19px;color:var(--muted)}.quote-filters input,.quote-search input{background:0 0;border:0;outline:0;width:100%}.quote-filters select{border:1px solid var(--border);background:var(--surface);border-radius:12px;min-height:48px;padding:0 12px}.quote-grid{gap:14px;display:grid}.quote-card{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-1);padding:20px}.quote-card>header,.quote-card>footer{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.quote-card h2{margin:5px 0 2px;font-size:20px}.quote-card header>strong{color:var(--accent);font-size:24px}.quote-card small{color:var(--muted)}.quote-status{text-transform:uppercase;background:#eee9e2;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800}.quote-status.sent{color:#26456b;background:#e6eef6}.quote-status.converted{color:#25613a;background:#e5f3e9}.quote-status.expired{color:#85430b;background:#fff0e1}.quote-customer{color:var(--muted);align-items:center;gap:8px;display:flex}.quote-customer svg{width:18px}.quote-items{border-block:1px solid var(--border);margin:14px 0}.quote-items>span{justify-content:space-between;gap:15px;padding:11px 0;display:flex}.quote-items>span+span{border-top:1px solid var(--border)}.quote-items span span{gap:3px;display:grid}.quote-card footer{align-items:center}.quote-card footer>span{color:var(--muted);align-items:center;gap:7px;font-size:13px;display:flex}.quote-card footer svg{width:18px}.quote-card footer>div{flex-wrap:wrap;gap:8px;display:flex}.quote-converted{color:var(--success);align-items:center;gap:6px;font-weight:800;display:flex}.quote-modal{width:min(760px,100%)}.quote-modal-hidden{display:none!important}.quote-modal>header{justify-content:space-between;gap:16px;display:flex}.quote-modal>header button{cursor:pointer;background:0 0;border:0}.quote-customer-button{border:1px solid var(--border);background:var(--surface-raised);text-align:left;border-radius:12px;align-items:center;gap:10px;width:100%;margin:14px 0 10px;padding:12px;display:flex}.quote-customer-button span{gap:2px;display:grid}.quote-product-list{border:1px solid var(--border);border-radius:12px;max-height:36dvh;margin:10px 0;overflow-y:auto}.quote-product-list label{grid-template-columns:minmax(0,1fr) auto 76px;align-items:center;gap:12px;min-width:0;padding:10px 12px;display:grid}.quote-product-list label+label{border-top:1px solid var(--border)}.quote-product-list label>span{gap:2px;min-width:0;display:grid}.quote-product-list small{overflow-wrap:anywhere;color:var(--muted)}.quote-product-list input{border:1px solid var(--border);text-align:center;border-radius:10px;width:76px;min-height:44px;font-size:16px}.quote-details{grid-template-columns:190px 1fr;gap:10px;display:grid}.quote-details label{color:var(--muted);gap:5px;font-size:13px;display:grid}.quote-details input,.quote-details textarea{border:1px solid var(--border);background:var(--surface);border-radius:10px;min-height:44px;padding:10px}.quote-details textarea{resize:vertical;min-height:70px}.quote-summary{border-top:1px solid var(--border);justify-content:space-between;margin-top:12px;padding:12px 0;display:flex}@media (max-width:700px){.quote-filters{grid-template-columns:1fr}.quote-card{padding:15px}.quote-card>header,.quote-card>footer{flex-direction:column;align-items:stretch}.quote-card footer>div{grid-template-columns:1fr;display:grid}.quote-product-list label{grid-template-columns:minmax(0,1fr) 72px}.quote-product-list label>b{grid-column:1}.quote-product-list label>input{grid-area:1/2/span 2}.quote-details{grid-template-columns:1fr}}.section-heading{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:22px;display:flex}.section-heading h1{letter-spacing:-.01em;margin:2px 0 0;font-size:32px}.eyebrow{color:var(--accent);font-family:var(--font-plex-mono);letter-spacing:.06em;text-transform:uppercase;margin:0;font-size:12px}.notice{color:#26456b;background:#e6eef6;border:1px solid #c9dbec;border-radius:12px;gap:12px;margin:18px 0;padding:15px 16px;font-size:14px;display:flex}.data-table{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);overflow:hidden}.table-row{border-bottom:1px solid var(--border);grid-template-columns:1.6fr 1fr .8fr .7fr .5fr;align-items:center;gap:16px;min-width:760px;padding:15px 18px;font-size:14px;display:grid}.table-row.editable{grid-template-columns:1.6fr 1fr .8fr .7fr .5fr auto;min-width:900px}.table-row.selectable{grid-template-columns:34px 1.6fr 1fr .8fr .7fr .5fr;min-width:810px}.table-row.selectable.editable{grid-template-columns:34px 1.6fr 1fr .8fr .7fr .5fr auto;min-width:950px}.table-checkbox{place-items:center;width:34px;min-height:44px;display:grid}.table-checkbox input{width:21px;height:21px;accent-color:var(--accent)}.batch-toolbar{z-index:12;background:#fff8f2;border:1px solid #b99078;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;margin:14px 0;padding:10px 12px;display:flex;position:sticky;top:10px;box-shadow:0 10px 24px #3b211724}.batch-toolbar>div,.batch-toolbar-actions,.batch-toolbar button{align-items:center;gap:8px;display:flex}.batch-toolbar svg{width:18px}.batch-toolbar-actions{flex-wrap:wrap;justify-content:flex-end}.batch-toolbar button{border:1px solid var(--border-strong);min-height:44px;color:var(--brand);font:inherit;cursor:pointer;background:#fff;border-radius:10px;padding:0 12px;font-size:13px;font-weight:700}.batch-toolbar button.danger{color:var(--danger);border-color:#d9aaa4}.batch-price-modal{width:min(660px,100vw - 24px)}.batch-price-input{gap:7px;margin:14px 0;font-size:13px;font-weight:700;display:grid}.batch-price-input input{border:1px solid var(--border-strong);min-height:52px;font:inherit;border-radius:10px;padding:0 14px;font-size:18px}.batch-price-preview{border:1px solid var(--border);border-radius:12px;max-height:300px;overflow-y:auto}.batch-price-preview>strong,.batch-price-preview>p,.batch-price-preview>small{padding:12px;display:block}.batch-price-preview>div{border-top:1px solid var(--border);justify-content:space-between;gap:16px;padding:9px 12px;font-size:12px;display:flex}.batch-price-preview del{color:var(--muted)}.table-edit-button{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--brand);font:inherit;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:0 12px;font-weight:650;display:inline-flex}.table-edit-button svg{width:16px}.table-row:last-child{border-bottom:0}.table-row strong small{color:var(--muted);margin-top:3px;font-weight:400;display:block}.table-row code{font-size:12px}.table-header{background:var(--surface-raised);color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:600}.summary-grid{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.summary-grid article{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);padding:22px}.summary-grid span,.summary-grid strong{display:block}.summary-grid span{color:var(--muted)}.summary-grid strong{font-variant-numeric:tabular-nums;margin-top:8px;font-size:36px}.notifications-popover{z-index:75;border:1px solid var(--border);background:var(--surface);width:min(350px,100vw - 32px);box-shadow:var(--shadow-3);border-radius:14px;padding:10px;position:fixed;top:58px;right:16px}.notifications-popover header{justify-content:space-between;align-items:center;min-height:42px;padding:0 7px;display:flex}.notifications-popover header button{background:var(--surface-soft);cursor:pointer;border:0;border-radius:8px;place-items:center;width:36px;height:36px;display:grid}.notifications-popover header svg{width:17px}.notifications-popover article{border-top:1px solid var(--border);grid-template-columns:10px 1fr auto;align-items:start;gap:9px;min-height:70px;padding:11px 7px;display:grid}.notifications-popover article strong,.notifications-popover article p{margin:0;display:block}.notifications-popover article strong{font-size:13px}.notifications-popover article p{color:var(--muted);margin-top:4px;font-size:11px}.notifications-popover article>small{color:var(--muted-light);font-size:9px}.notification-dot{background:var(--success);border-radius:50%;width:8px;height:8px;margin-top:4px}.notification-dot.warning{background:var(--warning)}.notifications-popover>a{border-top:1px solid var(--border);min-height:42px;color:var(--accent);justify-content:center;align-items:center;font-size:12px;font-weight:600;display:flex}.profile-popover{z-index:76;border:1px solid var(--border);background:var(--surface);width:min(360px,100vw - 32px);box-shadow:var(--shadow-3);border-radius:15px;padding:12px;position:fixed;top:58px;right:16px}.profile-popover header{grid-template-columns:44px 1fr 36px;align-items:center;gap:10px;padding:4px;display:grid}.profile-popover header>span{background:var(--brand);width:44px;height:44px;color:var(--gold);border-radius:50%;place-items:center;font-weight:700;display:grid}.profile-popover header strong,.profile-popover header small{display:block}.profile-popover header small{color:var(--muted);margin-top:3px;font-size:10px}.profile-popover header button{background:var(--surface-soft);cursor:pointer;border:0;border-radius:8px;place-items:center;width:36px;height:36px;display:grid}.profile-popover header button svg{width:17px}.version-easter-egg{background:var(--brand);color:#fff;text-align:center;border-radius:12px;flex-direction:column;align-items:center;margin-top:10px;padding:18px;display:flex}.version-easter-egg>span{color:var(--gold);font-family:var(--font-cormorant);letter-spacing:.12em;font-size:15px;font-weight:700}.version-easter-egg>strong{margin-top:6px;font-size:24px}.version-easter-egg>small{color:#d8d0c9;margin-top:5px}.version-easter-egg>code{color:#fff;background:#ffffff1a;border-radius:999px;margin-top:14px;padding:5px 8px;font-size:10px}.version-credit{color:#bdb4ac;letter-spacing:.03em;border-top:1px solid #e8c58a38;width:100%;margin-top:15px;padding-top:12px;font-size:10px}.version-credit strong{color:var(--gold);font-size:11px}.profile-popover>p{color:var(--muted);text-align:center;margin:11px 5px 3px;font-size:10px;line-height:1.5}.mock-login{background:var(--bg);text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:100dvh;padding:30px;display:flex}.mock-login img{width:210px;height:auto;margin-bottom:24px}.mock-login .login-app-icon{border-radius:24px;width:120px}.mock-login h1{margin:7px 0;font-size:36px}.mock-login>p:not(.eyebrow){color:var(--muted);margin:0 0 20px}.mock-login>small{color:var(--muted);margin-top:15px}.compact-modal{width:min(440px,100%)}.compact-modal .modal-actions{margin-top:20px}.heading-copy{color:var(--muted);margin:7px 0 0;font-size:15px}.heading-actions{gap:9px;display:flex}.primary-button:disabled{background:var(--disabled);color:var(--muted-light);cursor:not-allowed}.primary-button svg,.secondary-button svg{flex:none}.content-card{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);min-width:0;box-shadow:var(--shadow-1);padding:20px}.card-heading{justify-content:space-between;align-items:flex-start;gap:12px;min-height:44px;margin-bottom:16px;display:flex}.card-heading h2,.settings-heading h2{letter-spacing:-.01em;margin:3px 0 0;font-size:21px}.card-heading>a,.text-button{color:var(--accent);cursor:pointer;background:0 0;border:0;font-size:13px;font-weight:600}.text-button{align-items:center;gap:5px;min-height:40px;display:flex}.text-button svg{width:16px}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.metric-grid article{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);min-width:0;padding:20px}.metric-grid article>span,.metric-grid article>strong,.metric-grid article>small{display:block}.metric-grid article>span{color:var(--muted);font-size:13px}.metric-grid article>strong{letter-spacing:-.035em;font-variant-numeric:tabular-nums;margin:9px 0 7px;font-size:clamp(25px,2.4vw,36px)}.metric-grid article>small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.dashboard-columns,.cash-columns{grid-template-columns:1fr 1fr;gap:16px;margin-top:16px;display:grid}.quick-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.quick-actions>a{border:1px solid var(--border);background:var(--surface-raised);border-radius:12px;grid-template-columns:38px minmax(0,1fr) 20px;align-items:center;gap:10px;min-height:82px;padding:14px;display:grid}.quick-actions>a:hover{border-color:var(--accent);background:#fff9f8}.quick-actions>a>svg:first-child{width:24px;color:var(--accent)}.quick-actions>a>svg:last-child{width:17px;color:var(--muted-light)}.quick-actions strong,.quick-actions small{display:block}.quick-actions strong{font-size:14px}.quick-actions small{color:var(--muted);margin-top:4px;font-size:11px;line-height:1.35}.alert-list{flex-direction:column;display:flex}.alert-list article{border-bottom:1px solid var(--border);grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:74px;padding:12px 0;display:grid}.alert-list article:last-child{border-bottom:0}.alert-list strong,.alert-list p{margin:0;display:block}.alert-list strong{font-size:14px}.alert-list p{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.4}.alert-list code{color:var(--muted);font-size:10px}.alert-icon{border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.alert-icon svg{width:18px}.alert-icon.warning{background:var(--warning-soft);color:var(--warning)}.alert-icon.error{background:var(--error-soft);color:var(--error)}.alert-icon.neutral{background:var(--surface-soft);color:var(--muted)}.recent-sales{margin-top:16px}.compact-table{overflow-x:auto}.compact-row{border-bottom:1px solid var(--border);grid-template-columns:1.1fr .7fr .8fr 1fr .8fr;align-items:center;gap:12px;min-width:640px;min-height:50px;padding:0 12px;font-size:13px;display:grid}.compact-row:last-child{border-bottom:0}.compact-row>strong{text-align:right}.compact-header{background:var(--surface-raised);min-height:38px;color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:600}.module-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.module-card{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);min-height:132px;box-shadow:var(--shadow-1);grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:13px;padding:18px;display:grid}.module-card:hover:not(.coming-soon){border-color:var(--accent);transform:translateY(-1px)}.module-icon{background:var(--accent-soft);width:46px;height:46px;color:var(--accent);border-radius:12px;place-items:center;display:grid}.module-icon svg{width:22px}.module-card strong,.module-card small{display:block}.module-card small{color:var(--muted);margin-top:6px;font-size:12px;line-height:1.45}.module-card>svg{width:18px;color:var(--muted-light)}.module-card em{background:var(--surface-soft);color:var(--muted);border-radius:999px;padding:5px 8px;font-size:10px;font-style:normal}.module-card.coming-soon{opacity:.72;cursor:default}.cash-metrics{margin-bottom:16px}.accent-metric{background:var(--accent-soft)!important;border-color:#d7b1aa!important}.payment-summary-list>div{border-bottom:1px solid var(--border);grid-template-columns:42px 1fr auto;align-items:center;gap:11px;min-height:70px;padding:11px 0;display:grid}.payment-icon{background:var(--surface-soft);width:40px;height:40px;color:var(--ink-2);border-radius:10px;place-items:center;display:grid}.payment-icon svg{width:19px}.payment-summary-list strong,.payment-summary-list small{display:block}.payment-summary-list small{color:var(--muted);margin-top:3px;font-size:11px}.payment-summary-list b{font-size:15px}.cash-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:16px;display:grid}.cash-actions button{border:1px solid var(--border-strong);background:var(--surface);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;min-height:48px;font-weight:600;display:flex}.cash-actions svg{width:18px}.movement-list{max-height:286px;overflow-y:auto}.movement-list article{border-bottom:1px solid var(--border);grid-template-columns:38px 1fr auto;align-items:center;gap:10px;min-height:66px;padding:9px 0;display:grid}.movement-kind{border-radius:10px;place-items:center;width:36px;height:36px;display:grid}.movement-kind svg{width:17px}.movement-kind.income{background:var(--success-soft);color:var(--success)}.movement-kind.outcome{background:var(--error-soft);color:var(--error)}.movement-list strong,.movement-list small{display:block}.movement-list small{color:var(--muted);margin-top:4px;font-size:11px}.positive{color:var(--success)}.negative{color:var(--error)}.danger-outline{color:#9f2f22;border-color:#e0aaa4}.cash-closed-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex}.cash-closed-state>span{background:var(--surface-soft);width:76px;height:76px;color:var(--muted);border-radius:50%;place-items:center;margin-bottom:18px;display:grid}.cash-closed-state>span svg{width:32px}.cash-closed-state h1{margin:6px 0;font-size:34px}.cash-closed-state>p:not(.eyebrow){color:var(--muted);margin:0 0 20px}.form-stack{flex-direction:column;gap:14px;margin:20px 0;display:flex}.form-stack label,.settings-form label,.add-branch label{color:var(--ink-2);flex-direction:column;gap:7px;font-size:13px;font-weight:600;display:flex}.form-stack input,.settings-form input,.settings-form select,.settings-form textarea,.add-branch input{border:1px solid var(--border-strong);background:var(--surface);width:100%;min-height:48px;color:var(--ink);border-radius:10px;outline:0;padding:0 13px}.form-stack input:focus,.settings-form input:focus,.settings-form select:focus,.settings-form textarea:focus,.add-branch input:focus{border-color:var(--focus);box-shadow:0 0 0 3px #2c5c8f1a}.modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.inline-success{z-index:200;top:max(12px, env(safe-area-inset-top));background:var(--success-soft);color:#155f3b;min-height:52px;box-shadow:var(--shadow-2);border:1px solid #b7d9c5;border-radius:12px;align-items:center;gap:9px;padding:10px 14px;font-size:13px;font-weight:600;display:flex;position:fixed;bottom:auto;right:22px}.inline-success>svg{width:18px}.inline-success button{color:inherit;cursor:pointer;background:0 0;border:0;margin-left:5px;text-decoration:underline}.product-modal{width:min(620px,100%);max-height:calc(100dvh - 40px);overflow-y:auto}.product-modal .modal-actions{margin-top:20px}.import-modal{width:min(760px,100%)}.import-steps{grid-template-columns:repeat(3,1fr);gap:8px;margin:4px 0 18px;display:grid}.import-steps span{background:var(--surface-raised);min-height:44px;color:var(--muted);border-radius:12px;align-items:center;gap:8px;padding:8px 10px;font-size:13px;font-weight:700;display:flex}.import-steps b{background:var(--brand);color:#fff;border-radius:50%;place-items:center;width:25px;height:25px;display:grid}.import-template-card{border:1px solid var(--border);background:var(--surface-raised);border-radius:16px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px;display:grid}.import-template-card>svg{width:30px;height:30px;color:var(--brand)}.import-template-card strong,.import-template-card span{display:block}.import-template-card span{color:var(--muted);margin-top:3px;font-size:13px}.import-template-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.import-template-actions a{border:1px solid var(--brand);min-height:42px;color:var(--brand);border-radius:11px;align-items:center;padding:10px 12px;font-size:13px;font-weight:750;text-decoration:none;display:inline-flex}.import-upload-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin-top:16px;display:grid}.import-upload-form label,.import-upload-form label>span,.import-upload-form label>small{display:block}.import-upload-form label>span{margin-bottom:6px;font-size:13px;font-weight:750}.import-upload-form input{border:1px solid var(--border-strong);background:var(--surface);border-radius:12px;width:100%;min-height:48px;padding:10px}.import-upload-form small{color:var(--muted);margin-top:5px}.import-report{background:#fff5f2;border:1px solid #e5b4aa;border-radius:14px;margin-top:16px;padding:14px}.import-report.ready{background:var(--success-soft);border-color:#acd7bd}.import-report-heading{align-items:flex-start;gap:10px;display:flex}.import-report-heading>svg{width:22px;color:var(--danger);flex:none}.import-report.ready .import-report-heading>svg{color:var(--success)}.import-report-heading strong,.import-report-heading span{display:block}.import-report-heading span{color:var(--muted);margin-top:3px;font-size:13px}.import-errors{border-top:1px solid #e5b4aa;max-height:230px;margin-top:12px;overflow:auto}.import-errors>div{border-bottom:1px solid #efd3cd;grid-template-columns:70px 100px minmax(0,1fr);gap:8px;padding:10px 0;font-size:13px;display:grid}.import-errors span{color:var(--brand);font-weight:700}.import-errors p{margin:0}.import-confirm{border:1px solid var(--success);border-radius:14px;justify-content:space-between;align-items:center;gap:14px;margin-top:16px;padding:14px;display:flex}.import-confirm p{color:var(--muted);margin:0;font-size:13px;line-height:1.45}.import-complete{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:320px;display:flex}.import-complete>svg{width:54px;height:54px;color:var(--success)}.import-complete span{color:var(--muted)}.edit-product-modal{width:min(720px,100%)}.edit-section{border:1px solid var(--border);border-radius:14px;margin:18px 0 0;padding:16px}.edit-section legend{color:var(--brand);padding:0 7px;font-weight:750}.edit-section>p{color:var(--muted);margin:0 0 14px;font-size:13px;line-height:1.45}.edit-section .settings-form{margin-bottom:14px}.identity-section{background:var(--surface-raised)}.identity-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.identity-grid label,.price-edit-section>label{gap:6px;display:grid}.identity-grid label>span,.price-edit-section>label>span{color:var(--muted);font-size:12px;font-weight:650}.identity-grid input[readonly]{color:#5f6670;background:#f3f4f6}.toggle-field{align-items:center;gap:10px;min-height:50px;display:flex!important}.toggle-field input{width:20px;height:20px}.edit-save-button{min-height:46px}.price-edit-section>label{max-width:260px;margin-bottom:14px}.barcode-modal-copy{color:var(--muted);margin:0 0 18px;line-height:1.55}.barcode-warning{margin-top:18px}.barcode-capture-field{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px;display:grid}.barcode-capture-field label{min-width:0}.barcode-capture-field>button,.scan-camera-button{min-height:50px}.scan-camera-button{flex:none}.scan-feedback{background:var(--success-soft);color:#155f3b;border:1px solid #b7d9c5;border-radius:11px;justify-content:space-between;align-items:center;gap:10px;min-height:48px;margin:-4px 0 14px;padding:10px 13px;font-size:13px;font-weight:600;display:flex}.scan-feedback.working{color:#286294;background:#edf4fb;border-color:#b8cee4}.scan-feedback.missing{background:var(--warning-soft);color:#765017;border-color:#e2c78e}.scan-feedback .text-button{color:inherit;flex:none}.scanner-backdrop{z-index:120}.scanner-modal{width:min(660px,100%);overflow:hidden}.scanner-modal .modal-heading{margin-bottom:18px}.scanner-modal .modal-heading>button{width:48px;height:48px}.scanner-intro,.scanner-message{background:var(--surface-soft);text-align:center;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:330px;padding:28px;display:flex}.scanner-intro>span,.scanner-message>svg{background:var(--accent-soft);width:68px;height:68px;color:var(--accent);border-radius:50%;place-items:center;display:grid}.scanner-intro>span svg{width:30px}.scanner-message>svg{padding:19px}.scanner-intro strong,.scanner-message strong{font-size:18px}.scanner-intro p,.scanner-message span{max-width:440px;color:var(--muted);margin:0;font-size:14px;line-height:1.55}.scanner-intro button,.scanner-message button{min-height:52px;margin-top:6px}.scanner-view{aspect-ratio:4/3;background:#181512;border-radius:16px;display:none;position:relative;overflow:hidden}.scanner-view.active{display:block}.scanner-view video{object-fit:cover;width:100%;height:100%;display:block}.scanner-view canvas{display:none}.scanner-guide{color:#fff;pointer-events:none;border:3px solid #fff;border-radius:14px;place-items:center;height:38%;display:grid;position:absolute;top:31%;left:7%;right:7%;box-shadow:0 0 0 999px #00000057}.scanner-guide svg{opacity:.82;width:44px;height:44px}.scanner-controls{z-index:2;color:#fff;justify-content:space-between;align-items:center;gap:10px;font-size:12px;font-weight:600;display:flex;position:absolute;bottom:12px;left:12px;right:12px}.scanner-controls>span{background:#00000094;border-radius:999px;padding:8px 10px}.scanner-controls button{color:#fff;cursor:pointer;background:#000000a8;border:1px solid #ffffff80;border-radius:999px;align-items:center;gap:7px;min-height:44px;padding:0 12px;display:flex}.scanner-controls button svg{width:18px}.scanner-error{background:var(--warning-soft)}.modal-heading{justify-content:space-between;align-items:flex-start;margin-bottom:12px;display:flex}.modal-heading h2{margin:4px 0 0}.modal-heading>button{background:var(--surface-soft);cursor:pointer;border:0;border-radius:9px;place-items:center;width:40px;height:40px;display:grid}.modal-heading>button svg{width:18px}.stock-status{border-radius:999px;width:fit-content;padding:5px 8px;font-size:10px;font-weight:600}.stock-status.good{background:var(--success-soft);color:var(--success)}.stock-status.low{background:var(--warning-soft);color:#8a5a10}.stock-status.out{background:var(--error-soft);color:var(--error)}.toolbar-card{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);gap:10px;margin-bottom:14px;padding:12px;display:flex}.toolbar-select{border:1px solid var(--border-strong);background:var(--surface);border-radius:10px;flex-direction:column;justify-content:center;min-height:48px;padding:5px 10px;display:flex}.toolbar-select>span{color:var(--muted);text-transform:uppercase;font-size:9px;font-weight:600}.toolbar-select select{min-width:100px;color:var(--ink);background:0 0;border:0;outline:0;margin-top:2px;font-size:12px;font-weight:600}.module-search{border:1px solid var(--border-strong);background:var(--surface);border-radius:10px;flex:1;align-items:center;gap:9px;min-width:0;min-height:48px;padding:0 13px;display:flex}.module-search:focus-within{border-color:var(--focus);box-shadow:0 0 0 3px #2c5c8f1a}.module-search svg{width:19px;color:var(--muted)}.module-search input{background:0 0;border:0;outline:0;width:100%}.ticket-layout{grid-template-columns:minmax(0,1fr) 360px;gap:14px;display:grid}.ticket-list-card{padding:0;overflow:hidden}.ticket-list-header,.ticket-row{grid-template-columns:1.2fr .7fr .9fr .8fr 24px;align-items:center;gap:12px;min-width:610px;display:grid}.ticket-list-header{background:var(--surface-raised);min-height:42px;color:var(--muted);text-transform:uppercase;padding:0 15px;font-size:11px;font-weight:600}.ticket-row{border:0;border-top:1px solid var(--border);background:var(--surface);text-align:left;cursor:pointer;width:100%;min-height:70px;padding:10px 15px}.ticket-row:hover,.ticket-row.selected{background:var(--accent-soft)}.ticket-row>span:first-child{flex-direction:column;align-items:flex-start;gap:5px;display:flex}.ticket-row small{background:var(--gift-soft);color:var(--gift);border-radius:999px;align-items:center;gap:4px;padding:3px 6px;font-size:9px;font-weight:600;display:inline-flex}.ticket-row small svg{width:10px}.ticket-row>svg{width:18px;color:var(--muted-light)}.ticket-detail{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);min-height:540px;padding:20px}.ticket-detail>header{justify-content:space-between;display:flex}.ticket-detail>header h2{margin:4px 0 0;font-size:22px}.ticket-detail>header button{background:var(--surface-soft);cursor:pointer;border:0;border-radius:9px;place-items:center;width:40px;height:40px;display:grid}.ticket-detail>header button svg{width:18px}.receipt-preview{border:1px solid var(--border);width:270px;box-shadow:var(--shadow-1);text-align:center;background:#fffefa;margin:20px auto;padding:22px 16px}.receipt-preview>strong,.receipt-preview>small,.receipt-preview>code{display:block}.receipt-preview>small{color:var(--muted);margin:4px 0;font-size:10px}.receipt-preview>code{font-size:10px}.receipt-lines{border-block:1px dashed var(--border-strong);margin:15px 0;padding:10px 0}.receipt-lines>div{text-align:left;justify-content:space-between;gap:8px;padding:5px 0;font-size:10px;display:flex}.receipt-lines span strong,.receipt-lines span small{display:block}.receipt-lines span small{color:var(--muted);margin-top:3px}.receipt-total{justify-content:space-between;align-items:baseline;margin-bottom:12px;display:flex}.receipt-total strong{font-size:20px}.receipt-paper-stage{background:var(--bg);border-radius:14px;justify-content:center;padding:20px;display:flex;overflow:auto}.receipt-paper-stage.compact-stage{max-height:640px;margin:16px 0;padding:14px 8px}.thermal-receipt{color:#111;width:300px;box-shadow:var(--shadow-2);font-family:var(--font-plex-mono), monospace;background:#fff;flex-direction:column;flex:none;gap:10px;padding:18px 16px;font-size:13px;line-height:1.4;display:flex}.thermal-receipt.receipt-all-bold,.thermal-receipt.receipt-all-bold *{font-weight:700!important}.receipt-bold-toggle{border:1px solid var(--border);background:var(--surface);border-radius:12px;align-items:center;gap:10px;min-height:48px;padding:9px 12px;display:inline-flex}.receipt-bold-toggle input{width:19px;height:19px;accent-color:var(--accent)}.receipt-bold-toggle label{cursor:pointer;flex-direction:column;line-height:1.2;display:flex}.receipt-bold-toggle small{color:var(--muted)}.receipt-brand{text-align:center;flex-direction:column;align-items:center;gap:6px;display:flex}.receipt-brand img{object-fit:contain;filter:grayscale()contrast(1.3);width:188px;height:72px}.gift-receipt .receipt-brand img{width:195px}.receipt-brand p{margin:0;line-height:1.5}.gift-receipt-title{width:100%;font-family:var(--font-archivo), sans-serif;letter-spacing:.18em;text-align:center;border-block:2px solid #111;padding:6px 0;font-size:15px;font-weight:700}.receipt-meta,.thermal-lines,.thermal-totals,.thermal-footer{border-top:1px dashed #b9b0a6;padding-top:8px}.receipt-meta{flex-direction:column;gap:3px;display:flex}.receipt-meta>div,.thermal-totals>div{justify-content:space-between;gap:12px;display:flex}.receipt-meta code{color:inherit}.reprint-label{letter-spacing:.03em;text-align:center;margin-top:5px;font-size:11px}.thermal-lines{flex-direction:column;gap:7px;display:flex}.thermal-line{flex-direction:column;gap:2px;display:flex}.thermal-line>strong{font-size:12px;font-weight:600}.thermal-line>div{color:#4a423c;justify-content:space-between;gap:8px;display:flex}.thermal-receipt .receipt-critical-copy,.thermal-receipt .receipt-critical-copy *{color:#111;font-weight:700}.thermal-line>div span{min-width:0}.thermal-line>code{color:#4a423c;font-size:11px}.thermal-totals{flex-direction:column;gap:3px;display:flex}.thermal-grand-total{align-items:baseline;padding-top:4px;font-size:19px}.thermal-footer{text-align:center;flex-direction:column;align-items:center;gap:5px;padding-top:10px;display:flex}.thermal-footer>code{letter-spacing:.14em}.thermal-footer p{color:#4a423c;margin:0;line-height:1.5}.thermal-footer>strong{font-family:var(--font-archivo), sans-serif;font-size:14px}.thermal-footer>span{color:#4a423c}.receipt-barcode{background:repeating-linear-gradient(90deg,#111 0 2px,#0000 2px 4px),repeating-linear-gradient(90deg,#111 0 1px,#0000 1px 7px),repeating-linear-gradient(90deg,#111 0 3px,#0000 3px 11px);width:200px;height:40px}.thermal-footer .label-barcode-svg{color:#000;width:100%;max-width:230px;height:48px}.receipt-type-switch{grid-template-columns:1fr 1fr;gap:7px;display:grid}.receipt-type-switch button{border:1px solid var(--border-strong);cursor:pointer;background:#fff;border-radius:9px;justify-content:center;align-items:center;gap:6px;min-height:44px;font-weight:600;display:flex}.receipt-type-switch button.selected{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.receipt-type-switch button.gift.selected{border-color:var(--gift);background:var(--gift-soft);color:var(--gift)}.receipt-type-switch svg{width:16px}.receipt-modal{border-radius:var(--radius-panel);background:var(--surface);width:min(680px,100%);max-height:calc(100dvh - 32px);box-shadow:var(--shadow-3);padding:22px;overflow:auto}.receipt-modal>header{justify-content:space-between;gap:14px;margin-bottom:16px;display:flex}.receipt-modal>header h2{margin:4px 0}.receipt-modal>header p:last-child{color:var(--muted);margin:0}.receipt-modal>header button{background:var(--surface-soft);cursor:pointer;border:0;border-radius:10px;place-items:center;width:42px;height:42px;display:grid}.receipt-modal>header button svg{width:20px}.receipt-modal-actions{justify-content:flex-end;gap:10px;margin-top:14px;display:flex}.detail-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.detail-actions button{padding-inline:10px;font-size:13px}.demo-caption{color:var(--muted);font-size:11px;line-height:1.5}.detail-placeholder,.empty-list{min-height:300px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex}.detail-placeholder svg,.empty-list svg{width:34px;color:var(--muted-light);margin-bottom:10px}.detail-placeholder span,.empty-list span{margin-top:5px;font-size:12px}.rule-notice,.design-mode-notice{color:#26456b;background:#e6eef6;border:1px solid #c9dbec;border-radius:12px;gap:12px;margin-bottom:16px;padding:14px 16px;display:flex}.rule-notice svg{flex:none;width:21px}.rule-notice strong,.rule-notice span,.design-mode-notice strong,.design-mode-notice span{display:block}.rule-notice span,.design-mode-notice span{margin-top:3px;font-size:12px;line-height:1.45}.labels-layout{grid-template-columns:minmax(0,1fr) 360px;gap:14px;display:grid}.labels-selector{padding:14px}.desktop-print-notice{color:#5c491d;background:#fff9e9;border:1px solid #d7c6a3;border-radius:12px;align-items:center;gap:11px;margin:0 0 14px;padding:12px 14px;font-size:13px;display:flex}.desktop-print-notice svg{flex:none;width:22px}.template-select{color:var(--muted);gap:6px;font-size:12px;font-weight:700;display:grid}.template-select select{border:1px solid var(--border);min-height:46px;color:var(--ink);font:inherit;background:#fff;border-radius:10px;padding:0 12px}.label-preview-stage{background:repeating-linear-gradient(45deg,#f3f0eb 0 8px,#faf8f5 8px 16px);place-items:center;min-height:210px;padding:20px 6px;display:grid;overflow:auto}.label-product-list{max-height:590px;margin-top:12px;overflow-y:auto}.label-product{border-bottom:1px solid var(--border);grid-template-columns:42px minmax(0,1fr) 112px;align-items:center;gap:11px;min-height:83px;padding:11px;display:grid}.label-product.selected{background:var(--accent-soft);border-radius:10px}.barcode-icon{background:var(--surface-soft);width:40px;height:40px;color:var(--muted);border-radius:10px;place-items:center;display:grid}.barcode-icon svg{width:21px}.label-product strong,.label-product small,.label-product code{display:block}.label-product small{color:var(--muted);margin:4px 0;font-size:11px}.label-product code{font-size:10px}.label-stepper{grid-template-columns:36px 34px 36px;align-items:center;display:grid}.label-stepper button{border:1px solid var(--border-strong);background:var(--surface);cursor:pointer;border-radius:9px;place-items:center;width:36px;height:36px;display:grid}.label-stepper button:disabled{opacity:.45;cursor:not-allowed}.label-stepper button svg{width:15px}.label-stepper strong{text-align:center}.label-preview-panel>.card-heading>svg{width:25px;color:var(--accent)}.product-label{font-family:var(--font-archivo), system-ui, sans-serif;width:var(--label-width,50mm);height:var(--label-height,30mm);border:1px solid var(--ink);color:#111;text-align:center;box-sizing:border-box;background:#fff;flex-direction:column;justify-content:center;align-items:center;padding:.6mm 1mm;display:flex;overflow:hidden}.label-logo-frame{flex:0 0 10mm;justify-content:center;align-items:center;width:26mm;max-width:82%;height:10mm;margin:-.6mm 0 .8mm;display:flex;overflow:hidden}.label-logo{object-fit:contain;width:100%;height:100%}.label-product-name{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:7.5pt;line-height:1.05;overflow:hidden}.label-product-brand,.label-variant,.label-sku{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:6pt;line-height:1.1;overflow:hidden}.label-barcode-svg{width:88%;height:5.1mm;margin:.25mm 0 0}.product-label>code{letter-spacing:.08em;font-size:5.5pt}.product-label>b{font-size:10pt;line-height:1}.label-no-barcode{color:#555;margin:2mm 0;font-size:6pt}.label-layout-product_focus .label-product-name{white-space:normal;font-size:11pt}.label-layout-product_focus .label-logo-frame{height:7.5mm}.label-layout-price_focus>b{order:-1;margin-bottom:.5mm;font-size:14pt}.label-layout-price_focus .label-logo-frame{height:7.5mm}.label-layout-price_focus .label-barcode-svg{height:6mm}.label-size-51x25{grid-template-rows:3.1mm 3.1mm 3.5mm 8mm 2.8mm;grid-template-columns:16mm minmax(0,1fr);align-content:center;justify-items:center;column-gap:1mm;height:25mm;padding:.5mm 1.2mm;display:grid;position:relative}.label-size-51x25 .label-logo-frame{grid-area:1/1/4;width:16mm;max-width:none;height:10.3mm;margin:0}.label-size-51x25 .label-logo{width:16mm;max-width:none;height:10.3mm;transform:none}.label-size-51x25 .label-product-name{grid-area:1/2;align-self:end;padding-right:5mm;font-size:7.5pt;font-weight:700}.label-size-51x25 .label-product-brand,.label-size-51x25 .label-sku{display:none}.label-size-51x25 .label-variant{grid-area:2/2;align-self:center;font-size:8.5pt;font-weight:700;line-height:1}.label-size-51x25 .label-barcode-svg{grid-area:4/1/auto/-1;width:100%;height:8mm;margin:0}.label-store-code{display:none}.label-size-51x25 .label-store-code{font:700 6.5pt/1 var(--font-plex-mono), monospace;display:block;position:absolute;top:.7mm;right:1mm}.label-size-51x25>code{letter-spacing:.04em;grid-area:5/1/auto/-1;align-self:center;font-size:7pt;font-weight:700;line-height:1}.label-size-51x25>b{grid-area:3/2;align-self:start;font-size:10.5pt;line-height:1}.label-settings{border-top:1px solid var(--border);margin:0}.label-settings>div{border-bottom:1px solid var(--border);justify-content:space-between;padding:10px 0;font-size:12px;display:flex}.label-settings dt{color:var(--muted)}.label-settings dd{margin:0;font-weight:600}.label-template-editor{margin-top:14px;padding:0}.label-template-editor>summary{cursor:pointer;align-items:center;gap:11px;min-height:60px;padding:0 16px;list-style:none;display:flex}.label-template-editor>summary::-webkit-details-marker{display:none}.label-template-editor>summary svg{width:21px;color:var(--accent)}.label-template-editor>summary span,.label-template-editor>summary small{display:block}.label-template-editor>summary small{color:var(--muted);margin-top:2px;font-weight:400}.label-template-form{border-top:1px solid var(--border);grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px;display:grid}.label-template-form>label:not(.label-field-toggle){gap:6px;font-size:12px;font-weight:700;display:grid}.label-template-form input:not([type=checkbox]),.label-template-form select{border:1px solid var(--border);min-height:46px;font:inherit;background:#fff;border-radius:9px;padding:0 11px}.label-template-form fieldset{border:1px solid var(--border);border-radius:10px;flex-wrap:wrap;grid-column:1/-1;gap:8px 14px;padding:12px;display:flex}.label-template-form legend{padding:0 5px;font-size:12px;font-weight:700}.label-field-toggle{align-items:center;gap:7px;min-height:44px;font-size:13px;font-weight:600;display:inline-flex}.label-field-toggle input{width:20px;height:20px;accent-color:var(--accent)}.print-label-sheet{display:none}.settings-layout{grid-template-columns:270px minmax(0,1fr);align-items:start;gap:16px;display:grid}.settings-nav{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);flex-direction:column;gap:3px;padding:8px;display:flex}.settings-nav button{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;grid-template-columns:34px 1fr 16px;align-items:center;gap:9px;width:100%;min-height:66px;padding:10px;display:grid}.settings-nav button:hover{background:var(--surface-raised)}.settings-nav button.active{background:var(--accent-soft);color:var(--accent)}.settings-nav button>svg:first-child{width:19px}.settings-nav button>svg:last-child{width:15px;color:var(--muted-light)}.settings-nav strong,.settings-nav small{display:block}.settings-nav strong{font-size:13px}.settings-nav small{color:var(--muted);margin-top:3px;font-size:10px}.settings-panel{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);min-height:570px;padding:24px}.settings-heading{border-bottom:1px solid var(--border);margin-bottom:24px;padding-bottom:18px}.settings-heading h2{font-size:25px}.settings-heading>p:last-child{color:var(--muted);margin:7px 0 0;font-size:13px}.settings-form{grid-template-columns:1fr 1fr;gap:17px;display:grid}.settings-form .wide-field{grid-column:1/-1}.settings-form textarea{resize:vertical;min-height:86px;padding-block:12px}.toggle-list{flex-direction:column;display:flex}.toggle-list.compact{border-top:1px solid var(--border);margin-top:20px}.toggle-row{border-bottom:1px solid var(--border);cursor:pointer;justify-content:space-between;align-items:center;gap:20px;min-height:72px;padding:13px 0;display:flex}.toggle-row strong,.toggle-row small{display:block}.toggle-row strong{font-size:14px}.toggle-row small{color:var(--muted);margin-top:4px;font-size:11px}.toggle-row input{opacity:0;pointer-events:none;position:absolute}.toggle-row i{background:var(--border-strong);border-radius:999px;width:46px;height:26px;padding:3px;transition:background .12s ease-out;display:flex}.toggle-row i:after{content:"";width:20px;height:20px;box-shadow:var(--shadow-1);background:#fff;border-radius:50%;transition:transform .12s ease-out}.toggle-row input:checked+i{background:var(--accent)}.toggle-row input:checked+i:after{transform:translate(20px)}.toggle-row input:focus-visible+i{outline:3px solid var(--focus);outline-offset:2px}.branch-list{flex-direction:column;gap:10px;display:flex}.branch-list article{border:1px solid var(--border);border-radius:11px;grid-template-columns:42px minmax(0,1fr) 120px 60px;align-items:center;gap:11px;min-height:76px;padding:12px;display:grid}.branch-mark{background:var(--accent-soft);width:40px;height:40px;color:var(--accent);border-radius:10px;place-items:center;display:grid}.branch-mark svg{width:19px}.branch-list strong,.branch-list small,.branch-list b{display:block}.branch-list small{color:var(--muted);margin-top:4px;font-size:11px}.branch-list article>button{color:var(--accent);cursor:pointer;background:0 0;border:0;font-size:12px;font-weight:600}.dashed-button{border:1px dashed var(--border-strong);background:var(--surface-raised);width:100%;min-height:60px;color:var(--accent);cursor:pointer;border-radius:11px;justify-content:center;align-items:center;gap:8px;margin-top:12px;font-weight:600;display:flex}.dashed-button svg{width:19px}.add-branch{border:1px dashed var(--border-strong);background:var(--surface-raised);border-radius:11px;margin-top:12px;padding:16px}.add-branch>div{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.theme-options{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.theme-options button{border:1px solid var(--border);background:var(--surface-raised);text-align:left;cursor:pointer;border-radius:11px;min-height:110px;padding:12px}.theme-options button.selected{border:2px solid var(--focus);padding:11px}.theme-options button>span{border-radius:7px;width:100%;height:35px;margin-bottom:10px;display:block}button,a{transition:transform .12s,background-color .12s,border-color .12s,color .12s,box-shadow .12s}button:active:not(:disabled),a:active{transform:scale(.98)}.frequent-row button.selected{border-color:var(--accent);background:var(--accent);color:#fff}.product-card-media img{object-fit:contain;padding:8px}.product-card-media>small{color:var(--muted-light);font-size:9px;position:absolute;bottom:8px}.sale-panel-header strong{align-items:center;gap:7px;display:flex}.sale-panel-header strong svg{width:19px;color:var(--accent)}.mobile-cart-toggle,.mobile-cart-close,.mobile-cart-backdrop{display:none}.pay-button{background:linear-gradient(135deg, #a13727, var(--accent));min-height:62px;box-shadow:0 8px 18px #8e2a1c3d}.sale-extras button:first-child{color:#7f5310;background:#fff9ed;border-color:#e4c17d}.sale-extras button:nth-child(2){background:var(--gift-soft);color:#5f2168;border-color:#c9a2cf}.sale-extras button:nth-child(3){color:#285b86;background:#edf5fb;border-color:#b8cee3}.payment-options button{align-content:center;gap:4px;display:grid}.payment-options button>svg{width:23px;height:23px;margin-bottom:4px}.payment-options .payment-cash{background:var(--success-soft);color:#155f3b}.payment-options .payment-card{color:#285b86;background:#eaf1f8}.payment-options .payment-transfer{color:#65418d;background:#f2eef9}.payment-options .payment-credit{background:#fff8df;border-color:#d9b45f}.credit-checkout-summary{gap:12px;margin-top:18px;display:grid}.credit-checkout-summary>div,.credit-checkout-summary>label{border:1px solid var(--border);background:var(--surface-raised);border-radius:12px;gap:5px;min-width:0;padding:12px;display:grid}.credit-checkout-summary span,.credit-checkout-summary small,.credit-payment-form>p{color:var(--muted);font-size:13px}.credit-checkout-summary input{border:1px solid var(--border);min-height:44px;font:inherit;border-radius:9px;padding:0 12px}.credit-payment-form{background:#fffaf0;border:1px solid #e7c972;border-radius:14px;gap:14px;margin:0 18px 18px;padding:18px;display:grid}.credit-payment-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.credit-payment-grid label{gap:6px;min-width:0;font-weight:700;display:grid}.credit-payment-grid input{border:1px solid var(--border);background:var(--surface);width:100%;min-width:0;min-height:44px;font:inherit;border-radius:9px;padding:0 12px}.payment-options button small{color:inherit;opacity:.75}.cash-keypad-flow{margin:18px 0 14px}.cash-display{border:1px solid var(--border);background:var(--surface-raised);border-radius:13px;grid-template-columns:1fr auto;gap:3px 12px;padding:16px;display:grid}.cash-display span{color:var(--muted);font-size:13px}.cash-display strong,.cash-received-input{font-variant-numeric:tabular-nums;font-size:28px}.cash-received-input{border:2px solid var(--accent);width:min(220px,100%);color:var(--ink);text-align:right;background:#fff;border-radius:8px;padding:2px 8px;font-family:inherit;font-weight:800}.topbar-back{border:1px solid var(--border);background:var(--surface);width:44px;height:44px;color:var(--ink);cursor:pointer;border-radius:11px;flex:0 0 44px;place-items:center;display:grid}.topbar-back svg{width:21px}.cash-display small{color:var(--error);grid-column:1/-1;font-weight:600}.cash-display small.enough{color:var(--success)}.cash-keypad{grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0;display:grid}.cash-keypad button{border:1px solid var(--border-strong);cursor:pointer;background:#fff;border-radius:10px;min-height:54px;font-size:19px;font-weight:700}.cash-keypad button svg{width:21px}.cash-keypad .exact-key{background:var(--surface-soft);grid-column:span 3;min-height:46px;font-size:14px}.confirm-cash-button{background:var(--success);color:#fff;cursor:pointer;border:0;border-radius:11px;width:100%;min-height:56px;font-weight:700}.confirm-cash-button:disabled{background:var(--disabled);color:var(--muted-light);cursor:not-allowed}.metric-card{box-shadow:var(--shadow-1);position:relative;overflow:hidden}.metric-card:before{content:"";background:var(--accent);width:4px;position:absolute;inset:0 auto 0 0}.metric-card .metric-icon{border-radius:10px;place-items:center;width:38px;height:38px;margin-bottom:12px;display:grid}.metric-card .metric-icon svg{width:20px}.metric-sales:before{background:var(--accent)}.metric-sales .metric-icon{background:var(--accent-soft);color:var(--accent)}.metric-cash:before{background:var(--success)}.metric-cash .metric-icon{background:var(--success-soft);color:var(--success)}.metric-units:before{background:#386c9c}.metric-units .metric-icon{color:#386c9c;background:#e7f0f8}.metric-alert:before{background:var(--warning)}.metric-alert .metric-icon{background:var(--warning-soft);color:var(--warning)}.quick-actions>a:first-child{background:var(--accent-soft);border-color:#ddb4ad}.cash-payment-row .payment-icon{background:var(--success-soft);color:var(--success)}.card-payment-row .payment-icon{color:#386c9c;background:#e7f0f8}.transfer-payment-row .payment-icon{color:#65418d;background:#f2eef9}.danger-button{background:var(--error);color:#fff;cursor:pointer;border:0;border-radius:10px;min-height:48px;padding:0 18px;font-weight:700}.danger-button:disabled{background:var(--disabled);color:var(--muted-light);cursor:not-allowed}.cut-progress{align-items:center;margin:16px 0;display:flex}.cut-progress span{background:var(--surface-soft);width:30px;height:30px;color:var(--muted);border-radius:50%;place-items:center;font-weight:700;display:grid}.cut-progress span.active{background:var(--accent);color:#fff}.cut-progress i{background:var(--border);flex:1;height:2px}.cut-expected,.cut-difference{background:var(--surface-raised);border-radius:12px;grid-template-columns:1fr auto;gap:4px 12px;padding:14px;display:grid}.cut-expected span,.cut-difference span{color:var(--muted);font-size:13px}.cut-expected strong,.cut-difference strong{font-size:20px}.cut-expected small,.cut-difference small{color:var(--muted);grid-column:1/-1}.cut-difference{margin-bottom:14px}.cut-difference.balanced{background:var(--success-soft);color:var(--success)}.cut-difference.unbalanced{background:var(--warning-soft);color:#8a5a10}.cut-warning{background:var(--error-soft);color:#8e2a1c;border-radius:10px;gap:9px;margin-bottom:18px;padding:11px;font-size:12px;line-height:1.4;display:flex}.cut-warning svg{flex:none;width:18px}.catalog-toolbar{align-items:center;gap:10px;margin:0 0 14px;display:flex}.toolbar-search{border:1px solid var(--border-strong);background:var(--surface);border-radius:11px;flex:1;align-items:center;gap:9px;min-width:240px;min-height:50px;padding:0 13px;display:flex}.toolbar-search:focus-within{border-color:var(--focus);box-shadow:0 0 0 3px #2c5c8f1a}.toolbar-search svg{width:19px;color:var(--muted)}.toolbar-search input{background:0 0;border:0;outline:0;width:100%}.filter-pills{gap:6px;display:flex;overflow-x:auto}.filter-pills button{border:1px solid var(--border-strong);white-space:nowrap;cursor:pointer;background:#fff;border-radius:999px;min-height:44px;padding:0 13px}.filter-pills button.selected{border-color:var(--brand);background:var(--brand);color:#fff}.table-product{grid-template-columns:46px minmax(0,1fr);align-items:center;gap:10px;min-width:0;display:grid}.table-product-image{background:var(--surface-soft);width:44px;height:44px;color:var(--muted-light);border-radius:9px;place-items:center;display:grid;position:relative;overflow:hidden}.table-product-image img{object-fit:contain;padding:3px}.table-product-image svg{width:19px}.stock-number{border-radius:9px;place-items:center;width:34px;height:34px;font-weight:700;display:grid}.stock-number.good{background:var(--success-soft);color:var(--success)}.stock-number.low{background:var(--warning-soft);color:#8a5a10}.stock-number.out{background:var(--error-soft);color:var(--error)}.size-picker{border:1px solid var(--border);background:var(--surface-raised);border-radius:12px;margin-top:18px;padding:14px}.size-picker>span,.size-picker>small{display:block}.size-picker>span{margin-bottom:10px;font-weight:700}.size-picker>small{color:var(--muted);text-transform:uppercase;margin:10px 0 6px;font-size:11px;font-weight:600}.size-picker>div{flex-wrap:wrap;gap:7px;display:flex}.size-picker .picker-quick-actions{align-items:end;margin-bottom:10px}.size-picker .picker-quick-actions button{border-color:var(--accent);min-height:42px;color:var(--accent);background:var(--accent-soft);padding:8px 12px}.size-picker .picker-quick-actions button:disabled{opacity:.45;cursor:not-allowed}.size-range-picker label{min-width:92px;color:var(--muted);gap:4px;font-size:11px;font-weight:700;display:grid}.size-range-picker select{border:1px solid var(--border-strong);background:var(--surface);min-height:42px;color:var(--ink);font:inherit;border-radius:9px;padding:7px 28px 7px 9px}.size-picker button,.size-option{border:1px solid var(--border-strong);cursor:pointer;background:#fff;border-radius:9px;min-width:48px;min-height:46px;font-weight:700}.size-picker button.selected,.size-option.selected{border-color:var(--accent);background:var(--accent);color:#fff}.size-option{place-items:center;padding:0 10px;display:grid;position:relative}.size-option input{opacity:0;pointer-events:none;position:absolute;inset:0}.color-picker{background:#fff9f8}.variant-matrix{border:1px solid var(--border);background:var(--surface);border-radius:12px;margin-top:12px;padding:14px}.variant-matrix>span,.variant-matrix>small{display:block}.variant-matrix>span{font-weight:700}.variant-matrix>small{color:var(--muted);margin-top:4px;font-size:11px}.variant-matrix-grid{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:7px;margin-top:11px;display:grid}.variant-matrix-grid label{border:1px solid var(--border-strong);background:var(--surface-raised);cursor:pointer;border-radius:9px;grid-template-rows:auto auto;grid-template-columns:18px 1fr;align-items:center;column-gap:7px;min-height:52px;padding:7px 9px;display:grid}.variant-matrix-grid label.selected{border-color:var(--accent);background:var(--accent-soft)}.variant-matrix-grid input{width:18px;height:18px;accent-color:var(--accent);grid-row:1/3}.variant-matrix-grid strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.variant-matrix-grid span{color:var(--muted);font-size:11px}.variant-summary{color:var(--muted);justify-content:space-between;align-items:center;gap:8px 16px;margin-top:12px;font-size:13px;display:flex}.variant-summary strong{color:var(--text)}.theme-options .identidad>span{background:var(--accent)}.theme-options .vino>span{background:#8e2a1c}.theme-options .cuero>span{background:#9a5d32}.theme-options .noche>span{background:#241e1b}.theme-options strong,.theme-options small{display:block}.theme-options small{color:var(--muted);margin-top:3px;font-size:10px}.permission-note{border:1px solid var(--border);background:var(--surface-raised);border-radius:11px;grid-template-columns:36px 1fr auto;align-items:center;gap:11px;margin-top:20px;padding:15px;display:grid}.permission-note>svg{width:24px;color:var(--accent)}.permission-note strong,.permission-note p{margin:0}.permission-note p{color:var(--muted);margin-top:4px;font-size:11px;line-height:1.45}.permission-note button,.permission-note>a{color:var(--accent);cursor:pointer;background:0 0;border:0;font-size:11px;font-weight:600;text-decoration:none}.permission-note button:disabled{color:var(--muted-light);cursor:not-allowed}.login-screen{min-height:100dvh;padding:max(24px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));background:radial-gradient(circle at 50% 0, #f4e7dc, transparent 42%), var(--canvas);place-items:center;display:grid}.login-card{border:1px solid var(--border);width:min(460px,100%);box-shadow:var(--shadow-3);background:#fffffff5;border-radius:24px;padding:clamp(24px,5vw,42px)}.login-brand{text-align:center}.login-brand img{border-radius:22px;width:96px;height:96px;box-shadow:0 10px 24px #50191133}.login-brand .eyebrow{margin:18px 0 4px}.login-brand h1{font-family:var(--font-cormorant);margin:0;font-size:clamp(30px,7vw,40px);line-height:1}.login-brand>p:last-child{max-width:330px;color:var(--muted);margin:12px auto 24px;line-height:1.5}.login-form{gap:14px;display:grid}.login-form label,.admin-form label{gap:6px;display:grid}.login-form label>span,.admin-form label>span{color:var(--ink-2);font-size:12px;font-weight:700}.login-form input,.admin-form input,.admin-form select{border:1px solid var(--border-strong);width:100%;min-height:52px;color:var(--ink);font:inherit;background:#fff;border-radius:11px;padding:0 14px}.login-form input:focus,.admin-form input:focus,.admin-form select:focus{border-color:var(--accent);outline:3px solid #8e2a1c1f}.login-submit{width:100%;min-height:58px;margin-top:4px}.form-error{color:#9a2519;background:#fce9e6;border-radius:9px;margin:0;padding:10px 12px;font-size:13px;font-weight:600}.login-security{color:var(--muted);text-align:center;margin-top:20px;line-height:1.45;display:block}.login-preview-note{background:#fff7ee;border:1px solid #e7c9ae;border-radius:14px;gap:9px;padding:18px;display:grid}.login-preview-note p{color:var(--muted);margin:0 0 5px;font-size:13px;line-height:1.5}.login-preview-note a{text-decoration:none}.location-pill select{max-width:150px;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;outline:0;font-weight:600}.security-badge{color:#14603a;background:#effaf3;border:1px solid #b9dfcb;border-radius:999px;align-items:center;gap:7px;min-height:42px;padding:0 13px;font-size:12px;font-weight:700;display:inline-flex}.security-badge svg{width:18px}.admin-status{color:#14603a;background:#effaf3;border:1px solid #b9dfcb;border-radius:11px;margin-bottom:14px;padding:12px 15px;font-size:13px;font-weight:600}.admin-status.error{color:#9a2519;background:#fff0ee;border-color:#efc1bb}.admin-tabs{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-1);border-radius:14px;gap:5px;margin-bottom:16px;padding:5px;display:flex;overflow-x:auto}.admin-tabs a{min-height:48px;color:var(--muted);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:0 15px;font-size:13px;font-weight:600;text-decoration:none;display:flex}.admin-tabs a svg{width:18px}.admin-tabs a.active{background:var(--brand);color:#fff}.admin-panel{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-1);padding:clamp(16px,3vw,24px)}.admin-panel-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.admin-panel-heading h2{margin:0;font-size:21px}.admin-panel-heading p{color:var(--muted);margin:5px 0 0;font-size:13px}.admin-create{background:var(--surface-raised);border:1px dashed #c9b8a7;border-radius:12px;margin-bottom:14px}.admin-create>summary{min-height:52px;color:var(--accent);cursor:pointer;align-items:center;gap:9px;padding:0 15px;font-size:13px;font-weight:700;list-style:none;display:flex}.admin-create>summary::-webkit-details-marker{display:none}.employee-card>summary::-webkit-details-marker{display:none}.location-card>summary::-webkit-details-marker{display:none}.admin-create>summary svg{width:19px}.admin-form{border-top:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:15px;display:grid}.admin-form .wide-field{grid-column:1/-1}.admin-location-access{border:1px solid var(--border);background:#fff;border-radius:11px;margin:0;padding:13px}.admin-location-access legend{color:var(--ink-2);padding:0 5px;font-size:12px;font-weight:700}.admin-location-access>small{color:var(--muted);margin-bottom:10px;line-height:1.4;display:block}.admin-location-access>div{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;display:grid}.admin-location-access>div>label{border:1px solid var(--border);background:var(--surface-raised);border-radius:9px;align-items:center;gap:9px;min-height:46px;padding:8px 11px;display:flex}.admin-location-access input{width:20px;min-height:20px;accent-color:var(--accent);flex:none}.admin-form>button{justify-self:start;min-height:48px}.admin-form.compact{background:var(--surface-raised)}.admin-switch{border:1px solid var(--border);background:#fff;border-radius:11px;justify-content:space-between;align-self:end;align-items:center;min-height:52px;padding:0 13px;display:flex!important}.admin-switch input{width:22px;min-height:22px;accent-color:var(--accent)}.admin-list{gap:9px;display:grid}.employee-card,.location-card{border:1px solid var(--border);background:#fff;border-radius:12px;overflow:hidden}.employee-card>summary,.location-card>summary{cursor:pointer;grid-template-columns:44px 1fr auto;align-items:center;gap:11px;min-height:72px;padding:10px 14px;list-style:none;display:grid}.employee-card>summary>span:nth-child(2),.location-card>summary>span:nth-child(2){gap:4px;display:grid}.employee-card small,.location-card small{color:var(--muted)}.employee-avatar{background:var(--brand);color:#fff;border-radius:50%;place-items:center;width:40px;height:40px;font-weight:700;display:grid}.employee-avatar.inactive{background:#aaa19b}.status-chip{background:var(--surface-soft);min-height:28px;color:var(--muted);border-radius:999px;align-items:center;padding:0 9px;font-size:11px;font-weight:700;display:inline-flex}.status-chip.good{color:#14603a;background:#effaf3}.employee-meta{color:var(--muted);flex-wrap:wrap;grid-column:1/-1;gap:8px 16px;font-size:12px;display:flex}.employee-meta span{align-items:center;gap:5px;display:flex}.employee-meta svg{width:15px}.admin-inline-warning{color:#7b5413;background:#fff7e8;border-radius:10px;gap:4px;margin:0 15px 15px;padding:13px;font-size:12px;display:grid}.admin-inline-warning span{line-height:1.45}.location-card>.admin-inline-warning{margin-top:0}.role-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.role-grid>article{border:1px solid var(--border);border-radius:13px;overflow:hidden}.role-grid article>header{background:var(--surface-raised);grid-template-columns:40px 1fr auto;align-items:center;gap:10px;min-height:68px;padding:12px;display:grid}.role-grid header>span{width:38px;height:38px;color:var(--accent);background:#f0dfd7;border-radius:10px;place-items:center;display:grid}.role-grid header svg{width:20px}.role-grid header div{gap:3px;display:grid}.role-grid header code,.role-grid p code{color:var(--muted);font-size:10px}.role-grid header b{background:var(--brand);color:#fff;border-radius:50%;place-items:center;width:30px;height:30px;font-size:11px;display:grid}.role-grid article>div{padding:12px}.role-grid section+section{margin-top:13px}.role-grid h3{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin:0 0 7px;font-size:10px}.role-grid p{align-items:flex-start;gap:7px;margin:0;padding:6px 0;display:flex}.role-grid p>svg{color:#24754a;flex:none;width:15px}.role-grid p span{gap:2px;display:grid}.role-grid p strong{font-size:11px;line-height:1.35}.admin-footnote{color:var(--muted);margin:14px 0 0;font-size:12px}.audit-list{gap:8px;display:grid}.audit-list article{border:1px solid var(--border);border-radius:11px;grid-template-columns:38px 1fr minmax(140px,auto);align-items:center;gap:10px;min-height:64px;padding:10px 12px;display:grid}.audit-mark{color:#286294;background:#edf4fb;border-radius:10px;place-items:center;width:36px;height:36px;display:grid}.audit-mark svg{width:18px}.audit-list article>div{gap:3px;display:grid}.audit-list article>div:last-child{text-align:right}.audit-list small{color:var(--muted);font-size:10px}.admin-empty{min-height:220px;color:var(--muted);text-align:center;align-content:center;place-items:center;gap:8px;display:grid}.admin-empty svg{width:36px}.settings-page .pos-toast button{color:var(--gold);cursor:pointer;background:0 0;border:0;margin-left:8px;text-decoration:underline}.customer-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.customer-metrics article{border:1px solid var(--border);background:var(--surface);min-height:82px;box-shadow:var(--shadow-1);border-radius:13px;align-items:center;gap:12px;padding:14px;display:flex}.customer-metrics article>svg{width:26px;color:var(--accent)}.customer-metrics article span{gap:2px;display:grid}.customer-metrics strong{font-size:22px}.customer-metrics small{color:var(--muted)}.customers-toolbar{grid-template-columns:minmax(280px,1fr) minmax(280px,1fr);align-items:start;gap:12px;margin-bottom:14px;display:grid}.customer-portal-link{justify-content:center;align-items:center;gap:8px;min-height:48px;text-decoration:none;display:inline-flex}.customer-portal-link svg{width:18px;height:18px}.customer-search{border:1px solid var(--border-strong);background:var(--surface);border-radius:13px;align-items:center;gap:10px;min-height:58px;padding:0 9px 0 14px;display:flex}.customer-search:focus-within{border-color:var(--focus);box-shadow:0 0 0 3px #2c5c8f1a}.customer-search>svg{width:21px;color:var(--muted)}.customer-search input{background:0 0;border:0;outline:0;flex:1;min-width:0}.customer-search button{min-height:42px}.customer-create{margin:0}.customer-create .admin-form{background:var(--surface)}.consent-check{border:1px solid var(--border);background:#fff;border-radius:11px;align-items:center;min-height:58px;padding:10px 12px;grid-template-columns:auto 1fr!important;gap:10px!important;display:flex!important}.consent-check input{width:22px;min-height:22px;accent-color:var(--accent);flex:none}.consent-check>span{gap:3px;display:grid}.consent-check small{color:var(--muted);font-weight:400}.privacy-note{background:var(--warning-soft);color:#765017;border-radius:10px;grid-column:1/-1;align-items:flex-start;gap:8px;margin:0;padding:11px 12px;font-size:12px;line-height:1.45;display:flex}.privacy-note svg{flex:none;width:18px}.customer-list{gap:9px;display:grid}.customer-card{border:1px solid var(--border);background:var(--surface);border-radius:13px;overflow:hidden}.customer-card>summary{cursor:pointer;grid-template-columns:44px 1fr auto;align-items:center;gap:11px;min-height:76px;padding:11px 14px;list-style:none;display:grid}.customer-card>summary::-webkit-details-marker{display:none}.customer-card>summary>span:nth-child(2){gap:4px;display:grid}.customer-card small{color:var(--muted)}.customer-avatar{background:var(--accent-soft);width:42px;height:42px;color:var(--accent);border-radius:50%;place-items:center;font-weight:800;display:grid}.customer-meta{color:var(--muted);grid-column:1/-1;justify-content:space-between;align-items:center;font-size:12px;display:flex}.customer-meta span{align-items:center;gap:6px;display:flex}.customer-meta svg{width:17px;color:var(--success)}.customer-meta code{background:var(--surface-soft);color:var(--ink);border-radius:8px;padding:6px 9px}.sale-customer{border:1px dashed var(--border-strong);background:var(--surface-raised);text-align:left;cursor:pointer;border-radius:11px;grid-template-columns:32px 1fr 20px;align-items:center;gap:9px;width:calc(100% - 24px);min-height:58px;margin:0 12px 8px;padding:8px 10px;display:grid}.sale-customer>svg:first-child{width:22px;color:var(--accent)}.sale-customer>svg:last-child{width:18px;color:var(--muted)}.sale-customer span{gap:2px;display:grid}.sale-customer small{color:var(--muted);font-size:10px}.sale-customer.selected{background:#effaf3;border-style:solid;border-color:#b9dfcb}.sale-customer.selected>svg:first-child{color:var(--success)}.customer-lookup-modal{width:min(540px,100vw - 24px);max-height:min(720px,100dvh - 24px);overflow:auto}.customer-lookup-modal>header{justify-content:space-between;gap:12px;margin-bottom:14px;display:flex}.customer-lookup-modal header h2,.customer-lookup-modal header p{margin:0}.customer-lookup-modal header h2{margin:3px 0 5px}.customer-lookup-modal header>button{background:var(--surface-soft);cursor:pointer;border:0;border-radius:10px;place-items:center;width:42px;height:42px;display:grid}.customer-lookup-modal header svg{width:20px}.customer-lookup-input{border:2px solid var(--accent);border-radius:12px;align-items:center;gap:10px;min-height:56px;padding:0 13px;display:flex}.customer-lookup-input svg{width:21px;color:var(--accent)}.customer-lookup-input input{background:0 0;border:0;outline:0;flex:1;min-width:0}.customer-lookup-results{gap:7px;margin-top:10px;display:grid}.customer-lookup-results>button{border:1px solid var(--border);text-align:left;cursor:pointer;background:#fff;border-radius:11px;grid-template-columns:36px 1fr;align-items:center;gap:9px;min-height:64px;padding:9px 11px;display:grid}.customer-lookup-results>button:hover{border-color:var(--accent)}.customer-lookup-results>button>svg{width:22px;color:var(--accent)}.customer-lookup-results span{gap:3px;display:grid}.customer-lookup-results small,.customer-lookup-results>p{color:var(--muted);font-size:12px}.customer-lookup-results>p{text-align:center;padding:18px}.selected-customer{background:var(--success-soft);border-radius:11px;grid-template-columns:32px 1fr auto;align-items:center;gap:9px;margin-bottom:10px;padding:10px;display:grid}.selected-customer>span{background:var(--success);color:#fff;border-radius:50%;place-items:center;width:30px;height:30px;display:grid}.selected-customer svg{width:17px}.selected-customer>div{gap:2px;display:grid}.selected-customer small{color:#266244}.selected-customer button{color:var(--accent);cursor:pointer;background:0 0;border:0;font-size:12px;font-weight:700}@media (min-width:1360px){.workspace-shell{grid-template-columns:220px minmax(0,1fr)}.nav-rail{align-items:stretch;padding-inline:12px}.rail-brand{justify-content:flex-start;width:100%;padding-inline:12px}.rail-brand img{width:64px}.rail-link{flex-direction:row;justify-content:flex-start;gap:12px;width:100%;min-height:50px;padding:0 14px}.rail-link span{font-size:14px}.pos-screen{grid-template-columns:minmax(0,1fr) 420px}.product-grid{grid-template-columns:repeat(auto-fit,minmax(168px,1fr))}}@media (max-width:1020px){.active-user strong{display:none}.product-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}}@media (max-width:820px){.workspace-shell{height:100dvh;min-height:100dvh;display:block;overflow:hidden}.workspace-content{grid-template-rows:calc(64px + env(safe-area-inset-top)) minmax(0, 1fr);height:100dvh;min-height:0}.workspace-main{height:auto;padding-bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 18px);overscroll-behavior-y:contain;scroll-padding-bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 18px);overflow:hidden auto}.nav-rail{z-index:85;height:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));padding:8px max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));flex-direction:row;align-items:center;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -5px 18px #1c191729}.rail-brand,.rail-logout{display:none}.rail-links{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;width:100%;height:100%;display:grid}.rail-link{border-radius:14px;width:100%;min-width:0;min-height:72px;padding:7px 2px}.rail-link svg{width:24px;height:24px}.rail-link span{text-overflow:ellipsis;max-width:100%;font-size:10px;overflow:hidden}.app-topbar{z-index:40;height:calc(64px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);position:sticky;top:0}.app-topbar h1{font-size:17px}.location-pill i,.location-pill .cash-name,.online-pill{display:none}.pos-screen{height:auto;min-height:calc(100dvh - 146px - env(safe-area-inset-bottom));display:block;overflow:visible}.pos-catalog{min-height:calc(100dvh - 146px - env(safe-area-inset-bottom))}.catalog-canvas{min-height:500px}.sale-panel{border-left:0;border-top:1px solid var(--border);min-height:560px}.product-grid{grid-template-columns:repeat(3,minmax(140px,1fr))}.module-page{min-height:calc(100dvh - 146px - env(safe-area-inset-bottom))}.data-table,.compact-table{-webkit-overflow-scrolling:touch;overflow-x:auto}.heading-actions{flex-wrap:wrap;justify-content:flex-end}}@media (min-width:601px) and (max-width:820px){.sale-panel{z-index:82;left:14px;right:14px;bottom:calc(var(--mobile-nav-height) + var(--mobile-nav-gap) + env(safe-area-inset-bottom));max-height:calc(100dvh - var(--mobile-nav-height) - var(--mobile-nav-gap) - env(safe-area-inset-bottom) - 22px);border:1px solid var(--border);min-height:0;box-shadow:var(--shadow-3);overscroll-behavior:contain;transform:translateY(calc(100% + var(--mobile-nav-height) + var(--mobile-nav-gap)));border-radius:22px;transition:transform .18s ease-out;position:fixed}.sale-panel.mobile-open{transform:translateY(0)}.mobile-cart-backdrop{z-index:81;inset:0 0 calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));background:#1c191780;border:0;display:block;position:fixed}.mobile-cart-close{background:var(--surface-soft);border:0;border-radius:10px;place-items:center;width:40px;height:40px;padding:0;display:grid}.sale-panel-header code{margin-left:auto;margin-right:6px}.mobile-cart-toggle{z-index:68;left:14px;right:14px;bottom:calc(var(--mobile-nav-height) + 10px + env(safe-area-inset-bottom));background:var(--accent);color:#fff;border:0;border-radius:15px;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;min-height:62px;padding:0 17px;display:grid;position:fixed;box-shadow:0 10px 26px #5019114d}.mobile-cart-toggle>span{place-items:center;display:grid;position:relative}.mobile-cart-toggle svg{width:23px}.mobile-cart-toggle>span b{background:var(--gold);min-width:20px;height:20px;color:var(--brand);border-radius:10px;place-items:center;padding:0 4px;font-size:10px;display:grid;position:absolute;top:-11px;right:-11px}.mobile-cart-toggle>strong{text-align:left}}@media (max-width:600px){.app-topbar{padding:env(safe-area-inset-top) 10px 0}.mobile-menu{border:1px solid var(--border);background:#fff;border-radius:10px;place-items:center;width:42px;height:42px;padding:0;display:grid}.mobile-menu svg{width:20px}.location-pill{margin-left:auto}.topbar-actions{margin-left:0}.icon-button{display:none}.active-user{border-left:0;justify-content:center;min-width:44px;padding-left:0}.profile-popover{top:58px;right:10px}.scan-row{padding:12px 12px 10px}.scan-input{min-width:0}.scan-input input{font-size:14px}.scan-caret{display:none}.catalog-button{justify-content:center;width:52px;padding:0;font-size:0}.catalog-button svg{width:22px}.frequent-row{padding-inline:12px}.catalog-canvas{min-height:470px;margin:0 12px 12px;padding:12px}.pos-ready-state>img{height:132px}.pos-ready-state>div{flex-direction:column;width:100%}.pos-ready-state button{width:100%}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.sale-panel{z-index:82;left:8px;right:8px;bottom:calc(var(--mobile-nav-height) + var(--mobile-nav-gap) + env(safe-area-inset-bottom));max-height:calc(100dvh - var(--mobile-nav-height) - var(--mobile-nav-gap) - env(safe-area-inset-bottom) - 16px);border:1px solid var(--border);min-height:0;box-shadow:var(--shadow-3);overscroll-behavior:contain;transform:translateY(calc(100% + var(--mobile-nav-height) + var(--mobile-nav-gap)));border-radius:22px;transition:transform .18s ease-out;position:fixed}.sale-panel.mobile-open{transform:translateY(0)}.mobile-cart-backdrop{z-index:81;inset:0 0 calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));background:#1c191780;border:0;display:block;position:fixed}.mobile-cart-close{background:var(--surface-soft);border:0;border-radius:10px;place-items:center;width:40px;height:40px;padding:0;display:grid}.sale-panel-header code{margin-left:auto;margin-right:6px}.mobile-cart-toggle{z-index:68;left:12px;right:12px;bottom:calc(var(--mobile-nav-height) + 8px + env(safe-area-inset-bottom));background:var(--accent);color:#fff;border:0;border-radius:14px;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;min-height:60px;padding:0 15px;display:grid;position:fixed;box-shadow:0 10px 26px #5019114d}.mobile-cart-toggle>span{place-items:center;display:grid;position:relative}.mobile-cart-toggle svg{width:23px}.mobile-cart-toggle>span b{background:var(--gold);min-width:20px;height:20px;color:var(--brand);border-radius:10px;place-items:center;padding:0 4px;font-size:10px;display:grid;position:absolute;top:-11px;right:-11px}.mobile-cart-toggle>strong{text-align:left}.draft-toolbar{z-index:2;position:sticky;top:0}.draft-toolbar button{min-height:46px}.held-ticket-list article{grid-template-columns:1fr}.held-ticket-list article>div:last-child{grid-template-columns:minmax(0,1fr) auto}.pos-toast{top:max(10px, env(safe-area-inset-top));bottom:auto}.grand-total b{font-size:34px}.payment-options{grid-template-columns:1fr}.payment-options button{min-height:72px}.module-page{padding:18px 12px;overflow-x:hidden}.section-heading h1{font-size:clamp(25px,8vw,32px)}.heading-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.heading-actions>a,.heading-actions>button{justify-content:center;width:100%;min-height:48px;padding-inline:10px}.section-heading{flex-direction:column;align-items:flex-start}.data-table{overflow-x:auto}.catalog-toolbar{flex-direction:column;align-items:stretch}.scan-camera-button{justify-content:center;width:100%}.toolbar-search{min-width:0}.filter-pills{padding-bottom:2px}.summary-grid{grid-template-columns:1fr}.notice{flex-direction:column}.metric-grid,.module-grid{grid-template-columns:1fr 1fr}.dashboard-columns,.cash-columns,.ticket-layout,.labels-layout,.settings-layout{grid-template-columns:1fr}.ticket-detail{min-height:auto}.receipt-modal-backdrop{padding:8px}.receipt-modal{max-height:calc(100dvh - 16px);padding:16px 10px}.receipt-paper-stage{padding:12px 4px}.thermal-receipt{width:min(300px,100vw - 44px)}.receipt-modal-actions{background:var(--surface);margin:12px -10px -16px;padding:10px;position:sticky;bottom:-16px}.receipt-modal-actions>button{flex:1;padding-inline:8px}.batch-toolbar{flex-direction:column;align-items:stretch;position:static}.batch-toolbar-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.batch-toolbar-actions button{justify-content:center}.batch-price-preview>div{flex-direction:column;align-items:flex-start;gap:4px}.label-template-form{grid-template-columns:1fr}.settings-nav{grid-template-columns:1fr 1fr;display:grid}.settings-panel{min-height:auto}.admin-page .section-heading,.customers-page .section-heading{flex-direction:row;align-items:center}.admin-page .section-heading .heading-copy,.customers-page .section-heading .heading-copy{display:none}.security-badge{min-width:42px;padding:0 10px;font-size:0}.admin-tabs{margin-inline:-4px}.admin-tabs a{flex:1;min-width:126px}.admin-panel{padding:13px}.admin-form{grid-template-columns:1fr}.admin-form .wide-field,.privacy-note,.customer-meta{grid-column:auto}.role-grid{grid-template-columns:1fr}.audit-list article{grid-template-columns:36px 1fr}.audit-list article>div:last-child{text-align:left;grid-column:2}.login-card{border-radius:20px;padding:24px 18px}.location-pill select{max-width:98px}.customer-metrics,.customers-toolbar{grid-template-columns:1fr}.customer-card>summary{grid-template-columns:42px minmax(0,1fr)}.customer-card>summary .status-chip{grid-column:2;justify-self:start}.customer-meta{flex-wrap:wrap;gap:8px}.customer-create[open]{z-index:90;right:max(8px, env(safe-area-inset-right));bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 8px);left:max(8px, env(safe-area-inset-left));max-height:calc(100dvh - var(--mobile-nav-height) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);background:var(--surface);box-shadow:var(--shadow-3);border-style:solid;border-radius:18px;grid-template-rows:auto minmax(0,1fr);margin:0;display:grid;position:fixed;overflow:hidden}.customer-create[open]>summary{border-bottom:1px solid var(--border);background:var(--surface-soft);min-height:58px}.customer-create[open] .admin-form{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;width:100%;height:100%;min-height:0;max-height:100%;padding-bottom:max(20px, env(safe-area-inset-bottom));align-self:stretch;overflow:hidden auto}.modal-backdrop{padding:max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));place-items:end center}.checkout-modal{border-radius:18px;width:100%;max-height:calc(100dvh - 16px);padding:18px 14px}:where(.purchase-modal,.receipt-modal,.exchange-modal){max-height:calc(100dvh - 16px)}.inline-success,.operation-feedback{top:max(10px, env(safe-area-inset-top));width:calc(100vw - 20px);max-width:none;left:50%;right:auto;transform:translate(-50%)}.product-modal .modal-actions{z-index:2;padding:12px 14px max(12px, env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--surface);margin:18px -14px -18px;position:sticky;bottom:-18px}.import-template-card{grid-template-columns:32px minmax(0,1fr)}.import-template-actions{grid-column:1/-1;justify-content:stretch}.import-template-actions a{flex:1;justify-content:center}.import-upload-form{grid-template-columns:1fr}.import-upload-form .secondary-button{justify-content:center;width:100%}.import-errors>div{grid-template-columns:58px minmax(0,1fr)}.import-errors p{grid-column:1/-1}.import-confirm{flex-direction:column;align-items:stretch}.import-confirm .primary-button{justify-content:center;width:100%}.identity-grid{grid-template-columns:1fr}.edit-section{padding:14px 12px}.edit-save-button{justify-content:center;width:100%}.scanner-modal{padding:16px 12px}.scanner-view{aspect-ratio:3/4}.scanner-intro,.scanner-message{min-height:58dvh;padding:20px 16px}.scanner-controls{flex-direction:column;align-items:stretch}.scanner-controls>span,.scanner-controls button{text-align:center;justify-content:center;width:100%}input,select,textarea{font-size:16px}}.credit-settings-form{border:1px solid var(--brick);grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin:0 18px 18px;padding:18px;display:grid}@supports (color:color-mix(in lab, red, red)){.credit-settings-form{border:1px solid color-mix(in srgb, var(--brick) 30%, var(--border))}}.credit-settings-form{background:var(--brick);border-radius:16px}@supports (color:color-mix(in lab, red, red)){.credit-settings-form{background:color-mix(in srgb, var(--brick) 5%, var(--surface))}}.credit-statement-link{justify-content:flex-end;margin:0 18px 18px;display:flex}.credit-documents{border:1px solid var(--brick);gap:16px;margin-bottom:20px;padding:20px;display:grid}@supports (color:color-mix(in lab, red, red)){.credit-documents{border:1px solid color-mix(in srgb, var(--brick) 34%, var(--border))}}.credit-documents{background:var(--surface);border-radius:20px}.credit-documents>header,.credit-document-actions,.credit-statement-summary,.credit-statement-list article,.credit-receipt-parts>div,.credit-receipt-total{justify-content:space-between;align-items:center;gap:12px;display:flex}.credit-documents>header h2,.credit-documents>header p{margin:0}.credit-documents .icon-button svg,.credit-document-actions svg{width:18px}.credit-statement-summary{background:var(--brick);border-radius:14px;flex-wrap:wrap;padding:16px}@supports (color:color-mix(in lab, red, red)){.credit-statement-summary{background:color-mix(in srgb, var(--brick) 7%, var(--surface))}}.credit-statement-filters{grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:end;gap:10px;display:grid}.credit-statement-filters label{gap:6px;display:grid}.credit-statement-filters input{width:100%}.credit-statement-summary strong{color:var(--brick);font-size:1.5rem}.credit-statement-list{overscroll-behavior:contain;max-height:420px;display:grid;overflow:auto}.credit-statement-list article{border-bottom:1px solid var(--line);padding:13px 4px}.credit-statement-list article>div{gap:3px;display:grid}.credit-statement-list small{color:var(--muted)}.credit-statement-list .charge{color:var(--brick)}.credit-statement-list .payment{color:var(--success)}.credit-empty{color:var(--muted)}.credit-payment-receipt{color:#111;width:min(100%,80mm);font-family:var(--font-mono), monospace;background:#fff;border:1px dashed #222;margin-inline:auto;padding:18px}.credit-payment-receipt>header{text-align:center;gap:3px;display:grid}.credit-payment-receipt dl,.credit-receipt-parts{gap:7px;margin:14px 0;display:grid}.credit-payment-receipt dl div{grid-template-columns:76px 1fr;gap:8px;display:grid}.credit-payment-receipt dt{color:#555}.credit-payment-receipt dd{text-align:right;margin:0}.credit-receipt-total{border-top:2px solid #111;padding-top:10px}.credit-receipt-balance{text-align:right;margin-top:8px}.credit-document-actions{flex-wrap:wrap;justify-content:center}.credit-settings-form>label:not(.consent-check){gap:7px;display:grid}.credit-settings-form input[type=number],.credit-settings-form input[type=text]{width:100%}.credit-settings-heading,.credit-balance-row{grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;display:flex}.credit-settings-heading span{align-items:center;gap:8px;display:inline-flex}.credit-settings-heading svg{width:20px;color:var(--brick)}.credit-settings-form .consent-check,.credit-settings-form button{grid-column:1/-1}.credit-balance-row{background:var(--surface);border-radius:10px;flex-wrap:wrap;padding:10px 12px}@media (max-width:640px){.credit-payment-grid{grid-template-columns:1fr}.credit-settings-form{grid-template-columns:1fr;margin:0 12px 14px;padding:14px}.credit-settings-heading{flex-direction:column;align-items:flex-start}.credit-documents{padding:14px 12px}.credit-statement-filters{grid-template-columns:1fr}.credit-documents>header,.credit-statement-list article{align-items:flex-start}.credit-statement-link{margin-inline:12px}.credit-document-actions>*{justify-content:center;width:100%}}.report-tabs{border:1px solid var(--line);background:var(--surface);border-radius:14px;gap:8px;width:fit-content;padding:5px;display:flex}.report-tabs a{min-height:44px;color:var(--muted);border-radius:10px;align-items:center;gap:8px;padding:0 18px;font-weight:800;text-decoration:none;display:inline-flex}.report-tabs a.active{color:#fff;background:var(--brick)}.report-tabs svg,.report-summary-grid svg{width:20px;height:20px}.report-filters{flex-wrap:wrap;align-items:end}.report-filters .toolbar-select{flex:150px;min-width:150px}.report-filters .toolbar-select input{border:1px solid var(--line);width:100%;min-height:44px;color:var(--ink);background:var(--surface);font:inherit;border-radius:10px;padding:0 12px}.report-search{flex:2 260px}.report-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.report-summary-grid article{border:1px solid var(--line);background:var(--surface);border-radius:16px;grid-template-columns:auto 1fr;gap:4px 10px;min-width:0;padding:18px;display:grid}.report-summary-grid article>svg{color:var(--brick);grid-row:1/span 3;margin-top:2px}.report-summary-grid span,.report-summary-grid small{color:var(--muted)}.report-summary-grid strong{text-overflow:ellipsis;font-size:clamp(1.25rem,2vw,1.8rem);line-height:1.1;overflow:hidden}.report-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.report-list{display:grid}.report-list>div{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;padding:13px 0;display:flex}.report-list>div:first-child{border-top:0}.report-list span{min-width:0;display:grid}.report-list small,.report-table small{color:var(--muted);margin-top:3px;display:block}.report-list b{white-space:nowrap}.payment-report-row{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;display:grid}.payment-report-row article{background:var(--sand-soft);border-radius:12px;gap:5px;padding:14px;display:grid}.payment-report-row span{color:var(--muted)}.report-table-card{min-width:0}.report-table-scroll{overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}.report-table{border-collapse:collapse;width:100%;min-width:860px}.report-table th,.report-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:12px 10px}.report-table th{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:.75rem}.report-table td:last-child,.report-table th:last-child{text-align:right;white-space:nowrap}.report-table a{color:var(--brick);font-weight:800}.table-note,.empty-copy{color:var(--muted);margin:14px 0 0}@media (max-width:980px){.report-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-grid{grid-template-columns:1fr}}@media (max-width:560px){.report-tabs,.report-tabs a,.report-filters .primary-button{width:100%}.report-tabs a{justify-content:center}.report-summary-grid{grid-template-columns:1fr}.report-filters .toolbar-select,.report-search{flex-basis:100%;width:100%}.report-table{min-width:760px}}@media (max-width:460px){.barcode-capture-field{grid-template-columns:1fr}.barcode-capture-field>button{justify-content:center;width:100%}.metric-grid,.module-grid,.quick-actions,.cash-actions,.settings-form,.theme-options{grid-template-columns:1fr}.settings-form .wide-field{grid-column:auto}.settings-nav{flex-direction:row;display:flex;overflow-x:auto}.settings-nav button{min-width:190px}.toolbar-card{flex-wrap:wrap}.toolbar-card .module-search{flex-basis:100%}.detail-actions{grid-template-columns:1fr}.branch-list article{grid-template-columns:40px 1fr auto}.branch-list article>span:nth-child(3){display:none}.permission-note{grid-template-columns:32px 1fr}.permission-note button,.permission-note>a{text-align:left;grid-column:2}.modal-actions{flex-direction:column-reverse}.modal-actions>button,.modal-actions>form,.modal-actions>form button{width:100%}}@media print{@page{size:80mm auto;margin:0}body{background:#fff;width:80mm;margin:0}body *{visibility:hidden!important}.print-receipt,.print-receipt *{visibility:visible!important}.print-receipt{width:80mm;min-height:auto;box-shadow:none;padding:5mm 4mm;position:absolute;inset:0 auto auto 0}body:has(.print-label-sheet .print-product-label){width:auto}.print-label-sheet,.print-label-sheet *{visibility:visible!important}.print-label-sheet{position:absolute;inset:0 auto auto 0;display:block!important}.print-product-label{break-inside:avoid;page-break-inside:avoid;break-after:page;page-break-after:always;border:0;margin:0;overflow:hidden!important}.print-product-label:last-child{break-after:auto;page-break-after:auto}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}.variant-inactive{border:1px solid var(--border);background:var(--surface-soft);color:var(--muted);letter-spacing:.02em;text-transform:uppercase;vertical-align:middle;border-radius:999px;margin-left:.5rem;padding:.05rem .4rem;font-size:.68rem;font-style:normal;font-weight:600;display:inline-block}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.inventory-heading-actions,.inventory-location-picker,.inventory-location-picker select,.inventory-feedback,.inventory-notice,.inventory-notice>div{align-items:center;display:flex}.inventory-heading-actions{gap:10px}.inventory-location-picker{border:1px solid var(--border-strong);background:var(--surface);border-radius:10px;gap:8px;min-height:46px;padding:0 12px}.inventory-location-picker svg{width:18px;color:var(--accent)}.inventory-location-picker select{min-height:44px;color:var(--ink);font:inherit;background:0 0;border:0;outline:0;font-weight:650}.inventory-feedback{background:var(--success-soft);color:var(--success);border:1px solid #b9d9c3;border-radius:12px;flex-direction:column;align-items:flex-start;gap:3px;margin:0 0 16px;padding:13px 15px}.inventory-feedback.error{background:var(--error-soft);color:var(--error);border-color:#e2b7b1}.inventory-feedback span{font-size:13px}.inventory-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.inventory-notice{align-items:flex-start}.inventory-notice>svg{flex:none;width:22px}.inventory-notice>div{flex-direction:column;align-items:flex-start;gap:2px}.inventory-row{grid-template-columns:minmax(220px,1.6fr) minmax(110px,.8fr) minmax(150px,1fr) 90px 90px 112px;min-width:920px}.inventory-row>span,.inventory-row>code{min-width:0}.inventory-reserved,.inventory-read-only{color:var(--muted);font-size:11px;display:block}.inventory-adjust-button{width:100%}.inventory-empty{min-height:220px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:24px;display:flex}.inventory-empty svg{width:32px}.inventory-empty strong{color:var(--ink)}.inventory-empty.compact{min-height:180px}.inventory-preview-note{color:var(--muted);text-align:center;font-size:12px}.inventory-adjust-modal,.inventory-movement-modal,.inventory-document-modal{width:min(620px,100vw - 24px)}.inventory-document-modal{width:min(760px,100vw - 24px)}.inventory-document-modal h2{font-size:clamp(30px,5vw,42px)}.inventory-document-list{gap:12px;margin-top:14px;display:grid}.inventory-document-card{border:1px solid var(--border);background:var(--surface-soft);border-radius:14px;gap:12px;padding:14px;display:grid}.inventory-document-card>header,.inventory-document-card>header>div,.inventory-document-actions,.inventory-document-items span,.inventory-document-items b,.inventory-transfer-picker label,.inventory-transfer-picker label>span{display:flex}.inventory-document-card>header{justify-content:space-between;align-items:flex-start;gap:12px}.inventory-document-card>header>div,.inventory-document-items b,.inventory-transfer-picker label>span{flex-direction:column;align-items:flex-start}.inventory-document-card small,.inventory-document-items em,.inventory-document-note{color:var(--muted);font-size:12px;font-style:normal}.inventory-document-items{gap:7px;display:grid}.inventory-document-items span{justify-content:space-between;align-items:center;gap:12px}.inventory-document-items.editable label,.inventory-transfer-picker label{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) 100px;align-items:center;gap:12px;min-height:54px;padding:8px 0;display:grid}.inventory-document-items input,.inventory-count-capture input,.inventory-count-capture select,.inventory-transfer-picker input{border:1px solid var(--border-strong);background:var(--surface);width:100%;min-height:44px;color:var(--ink);font:inherit;border-radius:9px;padding:8px 10px}.inventory-document-action,.inventory-count-capture,.inventory-new-document[open],.inventory-new-transfer{gap:12px;display:grid}.inventory-new-document{border:1px solid var(--border-strong);border-radius:12px;margin-top:14px;padding:13px}.inventory-new-document summary{cursor:pointer;color:var(--accent);font-weight:750}.inventory-transfer-picker{border:1px solid var(--border);border-radius:10px;max-height:260px;padding:0 10px;overflow-y:auto}.inventory-transfer-search{z-index:1;border-bottom:1px solid var(--border);background:var(--surface);gap:6px;padding:10px 0;display:grid;position:sticky;top:0}.inventory-transfer-search label{border:0;grid-template-columns:1fr;gap:5px;min-height:0;padding:0;font-size:12px;font-weight:700;display:grid}.inventory-transfer-search small{color:var(--muted)}.inventory-count-capture{grid-template-columns:minmax(0,1fr) 130px auto;align-items:end}.continuous-count{gap:12px;display:grid}.continuous-count-progress{color:var(--accent);background:var(--accent-soft);border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:11px 12px;display:flex}.continuous-count-progress span,.inventory-count-feedback{color:var(--muted);font-size:12px}.inventory-count-search{grid-column:1/-1}.inventory-count-results{max-height:190px;overflow-y:auto}.inventory-count-results button{border:0;border-bottom:1px solid var(--border);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;padding:9px 10px;display:grid}.inventory-count-feedback{margin:0;font-weight:700}.inventory-count-capture label{gap:5px;font-size:12px;font-weight:700;display:grid}.inventory-count-results{gap:4px;display:grid}.inventory-count-results span{display:grid}.inventory-document-actions{justify-content:flex-end;gap:8px}.status-chip.in_transit{background:var(--warning-soft);color:#765017}.inventory-adjust-form{gap:14px;display:grid}.inventory-adjust-form>label{gap:6px;font-size:13px;font-weight:700;display:grid}.inventory-adjust-form input,.inventory-adjust-form select,.inventory-adjust-form textarea{border:1px solid var(--border-strong);background:var(--surface);width:100%;min-height:50px;color:var(--ink);font:inherit;border-radius:10px;padding:10px 12px}.inventory-adjust-form input[type=number]{font-size:24px;font-weight:750}.inventory-adjust-form textarea{resize:vertical;min-height:84px}.inventory-current-balance{background:var(--surface-soft);border-radius:12px;grid-template-columns:1fr auto;gap:3px 12px;padding:14px;display:grid}.inventory-current-balance strong{grid-area:1/2/span 2;align-self:center;font-size:28px}.inventory-current-balance small{color:var(--muted)}.inventory-adjust-warning{background:var(--warning-soft);color:#765017;border-radius:10px;margin:0;padding:10px 12px;font-size:12px;line-height:1.45}.inventory-movement-modal .movement-list{max-height:min(520px,55dvh)}@media (max-width:600px){.inventory-page .section-heading{gap:12px}.inventory-heading-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;display:grid}.inventory-heading-actions>:only-child{grid-column:1/-1}.inventory-location-picker,.inventory-heading-actions .secondary-button{justify-content:center;width:100%;min-width:0}.inventory-location-picker select{min-width:0;max-width:100%}.inventory-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.inventory-summary article{min-width:0;padding:13px 9px}.inventory-summary span{min-height:32px;font-size:11px}.inventory-summary strong{font-size:clamp(22px,8vw,30px)}.inventory-table{background:0 0;border:0;overflow:visible}.inventory-table .table-header{display:none}.inventory-table .inventory-row{border:1px solid var(--border);background:var(--surface);border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;margin-bottom:10px;padding:14px;display:grid}.inventory-table .table-product{grid-column:1/-1}.inventory-table .inventory-row>span,.inventory-table .inventory-row>code{min-height:42px;padding-top:18px;display:block;position:relative}.inventory-table .inventory-row>span:before,.inventory-table .inventory-row>code:before{content:attr(data-label);color:var(--muted);font-family:var(--font-sans);letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:650;position:absolute;top:0;left:0}.inventory-table .stock-number{place-items:center;width:100%;height:42px;padding-top:0;display:grid}.inventory-table .stock-number:before{top:-18px}.inventory-table .inventory-adjust-button{min-height:46px}.inventory-adjust-modal,.inventory-movement-modal,.inventory-document-modal{max-height:calc(100dvh - 16px)}.inventory-heading-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-heading-actions>button{min-height:50px}.inventory-count-capture{grid-template-columns:1fr 100px}.inventory-count-capture button{grid-column:1/-1}.continuous-count-progress{flex-direction:column;align-items:flex-start}.size-range-picker{grid-template-columns:repeat(2,minmax(0,1fr));display:grid!important}.size-range-picker>button:last-child{grid-column:1/-1}.inventory-document-card{padding:12px}.inventory-document-items span{flex-direction:column;align-items:flex-start;gap:3px}.inventory-adjust-form .modal-actions{padding:12px 14px max(12px, env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--surface);margin:4px -14px -18px;position:sticky;bottom:-18px}.inventory-movement-modal .movement-list article{grid-template-columns:36px minmax(0,1fr) auto}.inventory-movement-modal .movement-list small{overflow-wrap:anywhere}}.inline-error{color:#7f251b;background:#fff2ef;border:1px solid #d9a39a;border-radius:12px;align-items:center;min-height:48px;margin:12px 0;padding:12px 16px;font-weight:700;display:flex}:where(.module-page,.pos-screen):has(>.modal-backdrop)>.operation-feedback{z-index:200;top:max(12px, env(safe-area-inset-top));width:min(560px,100vw - 24px);max-height:min(35dvh,240px);box-shadow:var(--shadow-3);margin:0;position:fixed;left:50%;overflow-y:auto;transform:translate(-50%)}:where(.checkout-modal,.purchase-modal,.receipt-modal,.exchange-modal){overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;min-height:0;overflow:hidden auto}.setup-steps{color:var(--muted);gap:10px;margin:0;padding-left:20px;font-size:14px;line-height:1.5;display:grid}.setup-steps strong{color:var(--foreground)}.field-warning{color:#8a6100;margin-top:4px;font-size:12px;line-height:1.35;display:block}.field-error{color:#9b2d20;margin:0;font-weight:700}.register-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:20px 0;display:grid}.register-grid button{text-align:center;place-items:center;gap:8px;min-height:144px;display:grid}.register-grid button>svg{width:34px;height:34px;color:var(--accent)}.register-grid button.selected{outline:3px solid var(--accent);background:#fff7f3}.register-grid button:disabled{opacity:.62;cursor:not-allowed}.open-register-card{align-items:end;gap:16px;max-width:560px;display:flex}.open-register-card label{flex:1;gap:7px;font-weight:700;display:grid}.open-register-card input{border:1px solid var(--border);min-height:48px;font:inherit;border-radius:10px;padding:0 14px}.electronic-reference,.split-payment-flow{margin-top:16px}.split-payment-flow{max-height:min(58vh,520px);padding-right:4px;overflow-y:auto}@media (max-width:640px){.open-register-card{flex-direction:column;align-items:stretch}.register-grid{grid-template-columns:1fr 1fr}.register-grid button{min-height:124px}}.exchange-modal{overscroll-behavior:contain;width:min(820px,100vw - 32px);max-height:min(90dvh,900px);overflow-y:auto}.exchange-modal-header,.exchange-step-heading,.exchange-item,.exchange-candidate,.exchange-summary{align-items:center;display:flex}.exchange-modal-header{justify-content:space-between;gap:16px}.exchange-modal-header .icon-button{flex:0 0 48px;min-width:48px;min-height:48px}.exchange-loading{min-height:180px;color:var(--muted);place-items:center;font-weight:700;display:grid}.exchange-step{border-top:1px solid var(--border);margin-top:20px;padding-top:18px}.exchange-step-heading{align-items:flex-start;gap:12px;margin-bottom:12px}.exchange-step-heading>span{color:#fff;background:var(--accent);border-radius:50%;flex:0 0 32px;place-items:center;width:32px;height:32px;font-weight:900;display:grid}.exchange-step-heading>div,.exchange-item>span,.exchange-candidate>span{gap:3px;display:grid}.exchange-step-heading small,.exchange-item small,.exchange-candidate small{color:var(--muted)}.exchange-item-list,.exchange-candidate-list{gap:10px;display:grid}.exchange-item,.exchange-candidate{text-align:left;border:1px solid var(--border);background:var(--surface);width:100%;min-height:68px;color:inherit;border-radius:12px;justify-content:space-between;gap:16px;padding:12px 14px}.exchange-item>span:last-child,.exchange-candidate>span:last-child{text-align:right}.exchange-item.selected,.exchange-candidate.selected{border-color:var(--accent);outline:2px solid var(--accent)}@supports (color:color-mix(in lab, red, red)){.exchange-item.selected,.exchange-candidate.selected{outline:2px solid color-mix(in srgb, var(--accent) 24%, transparent)}}.exchange-item.selected,.exchange-candidate.selected{background:var(--accent)}@supports (color:color-mix(in lab, red, red)){.exchange-item.selected,.exchange-candidate.selected{background:color-mix(in srgb, var(--accent) 7%, var(--surface))}}.exchange-search{grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-bottom:12px;display:grid}.exchange-search .module-search{width:100%}.exchange-summary{background:var(--surface-soft);border-radius:12px;justify-content:space-between;gap:14px;padding:14px}.exchange-summary svg{color:var(--accent);flex:0 0 24px}.exchange-reason{gap:7px;margin-top:14px;font-weight:700;display:grid}.exchange-reason textarea{resize:vertical;min-height:84px}.exchange-success{text-align:center;align-content:center;place-items:center;gap:14px;min-height:320px;display:grid}.exchange-success-icon{color:#fff;background:#23824f;border-radius:50%;place-items:center;width:64px;height:64px;display:grid}.exchange-success-icon svg{width:34px;height:34px}.exchange-actions{padding-top:14px;padding-bottom:max(4px, env(safe-area-inset-bottom));background:var(--surface);position:sticky;bottom:-1px}.return-policy,.return-total{border-radius:12px;justify-content:space-between;gap:10px;margin-top:14px;padding:12px 14px;display:flex}.return-policy.good{color:var(--success);background:var(--success-soft)}.return-policy.blocked{color:var(--error);background:var(--error-soft)}.return-mode-switch{grid-template-columns:1fr 1fr;gap:8px;margin-top:16px;display:grid}.return-mode-switch button{border:1px solid var(--border-strong);background:var(--surface);min-height:54px;color:var(--ink);border-radius:12px;justify-content:center;align-items:center;gap:8px;font-weight:800;display:flex}.return-mode-switch button.selected{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.return-item-options{grid-template-columns:1fr 1fr;gap:10px;margin-top:12px;display:grid}.return-item-options label,.refund-methods label{gap:6px;font-weight:700;display:grid}.return-item-options input,.return-item-options select,.refund-methods input{border:1px solid var(--border-strong);background:var(--surface);min-height:48px;color:var(--ink);font:inherit;border-radius:10px;padding:0 12px}.return-total{background:var(--surface-soft);align-items:center}.return-total strong{font-size:22px}.refund-methods{gap:10px;margin-top:12px;display:grid}.refund-methods p{margin:0}.refund-methods label{border:1px solid var(--border);border-radius:10px;padding:12px}@media (max-width:640px){.exchange-modal{width:100%;max-height:calc(100dvh - env(safe-area-inset-top));padding-bottom:max(18px, env(safe-area-inset-bottom));border-radius:18px 18px 0 0}.exchange-search,.exchange-summary{grid-template-columns:1fr}.exchange-summary{flex-direction:column;align-items:flex-start}.exchange-summary svg{transform:rotate(90deg)}.exchange-item,.exchange-candidate{flex-direction:column;align-items:flex-start}.exchange-item>span:last-child,.exchange-candidate>span:last-child{text-align:left}.return-policy,.return-mode-switch,.return-item-options{grid-template-columns:1fr}.return-policy{flex-direction:column;align-items:flex-start}}@media (max-width:600px){.modal-backdrop>:where(.checkout-modal,.purchase-modal,.receipt-modal,.exchange-modal){height:calc(100dvh - max(16px, calc(env(safe-area-inset-top) + env(safe-area-inset-bottom))));max-height:calc(100dvh - max(16px, calc(env(safe-area-inset-top) + env(safe-area-inset-bottom))));overflow-y:scroll}:where(.module-page,.pos-screen):has(>.modal-backdrop)>.operation-feedback{top:max(10px, env(safe-area-inset-top));width:calc(100vw - 20px);max-width:none;left:50%;right:auto;transform:translate(-50%)}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
