:root{--brand: #7c3aed;--brand-dark: #5b21b6;--brand-soft: #ede9fe;--accent: #f59e0b;--bg: #f8f7fb;--surface: #ffffff;--surface-2: #f3f1f8;--border: #e4e1ec;--text: #1f1b2e;--text-muted: #6b6680;--success: #15803d;--success-soft: #dcfce7;--warning: #b45309;--warning-soft: #fef3c7;--danger: #b91c1c;--danger-soft: #fee2e2;--info: #1d4ed8;--info-soft: #dbeafe;--radius: 12px;--radius-sm: 8px;--shadow: 0 1px 2px rgb(31 27 46 / 6%), 0 8px 24px rgb(31 27 46 / 6%);--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;color-scheme:light;color-scheme:only light}*{box-sizing:border-box}html,body,#root{height:100%}html{background:var(--bg);color-scheme:only light}input,select,textarea,button{color-scheme:only light}body{margin:0;font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.5;-webkit-font-smoothing:antialiased}a{color:var(--brand-dark);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,h4{margin:0 0 .5rem;line-height:1.25}h1{font-size:1.6rem}h2{font-size:1.3rem}h3{font-size:1.1rem}p{margin:0 0 .75rem}:focus-visible{outline:3px solid var(--brand);outline-offset:2px;border-radius:4px}.skip-link{position:absolute;left:-9999px;top:0;background:var(--brand);color:#fff;padding:.5rem 1rem;z-index:100}.skip-link:focus{left:0}.app-shell{display:flex;min-height:100%;flex-direction:column}.container{width:min(1100px,100% - 2rem);margin-inline:auto}.page{padding-block:1.25rem 3rem;flex:1}.stack{display:flex;flex-direction:column;gap:1rem}.stack-sm{display:flex;flex-direction:column;gap:.5rem}.row{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap}.row-between{display:flex;gap:.75rem;align-items:center;justify-content:space-between;flex-wrap:wrap}.grid{display:grid;gap:1rem}.grid-cards{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.grid-2{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.app-header{background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:20}.app-header__inner{display:flex;align-items:center;gap:1rem;justify-content:space-between;min-height:60px;flex-wrap:wrap}.brand{display:inline-flex;align-items:center;gap:.5rem;font-weight:700;color:var(--text)}.brand:hover{text-decoration:none}.brand__logo{height:40px;width:auto;display:block}.nav-tabs{display:flex;gap:.25rem;overflow-x:auto;padding-bottom:.25rem;scrollbar-width:thin}.nav-tab{padding:.4rem .75rem;border-radius:999px;white-space:nowrap;color:var(--text-muted);font-weight:600;font-size:.9rem}.nav-tab:hover{background:var(--surface-2);text-decoration:none}.nav-tab[aria-current=page]{background:var(--brand-soft);color:var(--brand-dark)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1rem;box-shadow:var(--shadow)}.card--flat{box-shadow:none}.card__title{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.75rem}.metric{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:.85rem 1rem}.metric__label{font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted)}.metric__value{font-size:1.5rem;font-weight:700}.field{display:flex;flex-direction:column;gap:.3rem}.field>label,.label{font-weight:600;font-size:.85rem}.field>label.required:after{content:"*";color:var(--danger);margin-left:.15rem;font-size:.72em;line-height:1;font-weight:700}input,select,textarea,button{font:inherit;color:inherit}input,select,textarea{width:100%;padding:.55rem .7rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}textarea{min-height:80px;resize:vertical}input:disabled,select:disabled,textarea:disabled{background:var(--surface-2);color:var(--text-muted)}input[type=checkbox],input[type=radio]{width:auto}.checkbox-row{display:flex;align-items:center;gap:.5rem}.button{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:.55rem .95rem;border-radius:var(--radius-sm);border:1px solid transparent;background:var(--brand);color:#fff;font-weight:600;cursor:pointer;text-decoration:none}.button:hover{background:var(--brand-dark);text-decoration:none}.button:disabled{opacity:.55;cursor:not-allowed}.button--secondary{background:var(--surface);color:var(--text);border-color:var(--border)}.button--secondary:hover{background:var(--surface-2)}.button--ghost{background:transparent;color:var(--text);border-color:transparent}.button--ghost:hover{background:var(--surface-2)}.button--danger{background:var(--danger)}.button--danger:hover{background:#7f1d1d}.button--sm{padding:.3rem .6rem;font-size:.82rem}.button--block{width:100%}.badge{display:inline-flex;align-items:center;gap:.3rem;padding:.15rem .55rem;border-radius:999px;font-size:.75rem;font-weight:600;background:var(--surface-2);color:var(--text-muted);text-transform:capitalize}.badge--pending{background:var(--warning-soft);color:var(--warning)}.badge--approved,.badge--paid,.badge--completed,.badge--fully_fulfilled,.badge--issued{background:var(--success-soft);color:var(--success)}.badge--rejected,.badge--cancelled,.badge--voided{background:var(--danger-soft);color:var(--danger)}.badge--partially_paid,.badge--partially_fulfilled{background:var(--info-soft);color:var(--info)}.badge--admin{background:var(--brand-soft);color:var(--brand-dark)}.banner{border-radius:var(--radius-sm);padding:.7rem .9rem;border:1px solid transparent;font-size:.9rem}.banner--info{background:var(--info-soft);border-color:#bfdbfe}.banner--warning{background:var(--warning-soft);border-color:#fde68a;color:#78350f}.banner--danger{background:var(--danger-soft);border-color:#fecaca;color:#7f1d1d}.banner--success{background:var(--success-soft);border-color:#bbf7d0;color:#14532d}.table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.table-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:4px;min-width:max-content}.settings-products-table{min-width:1180px}.staff-console .settings-products-table{min-width:1180px;border-collapse:separate;border-spacing:0}.staff-console .settings-products-scroll{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}.staff-console .settings-products-table .settings-product-name-cell{position:sticky;left:0;z-index:2;min-width:220px;max-width:320px;white-space:normal;overflow-wrap:anywhere;background:var(--staff-surface)}.staff-console .settings-products-table thead .settings-product-name-cell{z-index:6;background:#f7f8fa}.staff-console .settings-products-table .settings-actions-cell{position:sticky;right:0;z-index:3;width:250px;min-width:250px;background:var(--staff-surface);box-shadow:-1px 0 0 var(--staff-line)}.staff-console .settings-products-table thead .settings-actions-cell{z-index:7;background:#f7f8fa}.staff-console .settings-products-table tbody tr:hover .settings-product-name-cell,.staff-console .settings-products-table tbody tr:hover .settings-actions-cell{background:#f5f7fb}.settings-table-hint{margin:0 0 4px}table.data{width:100%;border-collapse:collapse;font-size:.9rem;min-width:520px}table.data th,table.data td{text-align:left;padding:.6rem .75rem;border-bottom:1px solid var(--border);vertical-align:middle}table.data th{font-size:.78rem;text-transform:uppercase;letter-spacing:.03em;color:var(--text-muted);background:var(--surface-2);position:sticky;top:0}table.data td.num,table.data th.num{text-align:right}table.data td.center,table.data th.center{text-align:center}table.data tbody tr:hover{background:var(--surface-2)}.mobile-only{display:none}.change-request__body{flex:1 1 240px;min-width:0}.change-lines{display:flex;flex-direction:column;gap:.15rem;margin:0 0 .2rem;padding:0;list-style:none}.change-lines>li{display:block}.change-request{align-items:flex-start}.change-request+.change-request{border-top:1px solid var(--border);padding-top:.75rem}.empty{padding:2rem 1rem;text-align:center;color:var(--text-muted)}.chip{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .6rem;border-radius:999px;border:1px solid var(--border);background:var(--surface);font-size:.82rem;cursor:pointer}.chip[aria-pressed=true]{background:var(--brand-soft);border-color:var(--brand);color:var(--brand-dark)}.modal-backdrop{position:fixed;inset:0;background:#1f1b2e73;display:grid;place-items:center;padding:1rem;z-index:50}.modal{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);width:min(560px,100%);max-height:90vh;overflow-y:auto;padding:1.25rem}.modal__title{margin-bottom:.75rem}.modal__actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:1rem}.product-card{display:flex;flex-direction:column;overflow:hidden;padding:0}.product-card__media{aspect-ratio:1 / 1;background:var(--surface-2);display:grid;place-items:center;color:var(--text-muted);font-size:2rem}.product-card__media img{width:100%;height:100%;object-fit:cover}.product-card__link,.product-card__subtitle{display:block}.product-card__body{padding:.85rem 1rem 1rem;display:flex;flex-direction:column;gap:.35rem;flex:1}.product-card__name{font-weight:700;display:block}.product-card__price{font-weight:700;color:var(--brand-dark)}.product-card__actions{margin-top:auto;display:flex;gap:.5rem}.qty-stepper{display:inline-flex;align-items:stretch;border:1px solid var(--border);border-radius:999px;overflow:hidden;background:var(--surface)}.qty-stepper__button{border:0;background:var(--surface-2);color:var(--text);font-size:1.1rem;line-height:1;width:2.25rem;cursor:pointer;padding:.4rem 0}.qty-stepper__button:hover:not(:disabled){background:var(--brand-soft);color:var(--brand-dark)}.qty-stepper__button:disabled{opacity:.5;cursor:not-allowed}.qty-stepper__input{width:3.25rem;border:0;text-align:center;font:inherit;padding:.4rem .25rem;background:var(--surface)}.qty-stepper--sm .qty-stepper__button{width:1.9rem}.qty-stepper--sm .qty-stepper__input{width:2.75rem}.hero{background:linear-gradient(120deg,var(--brand-soft),var(--surface))}.hero__content{display:flex;flex-direction:column;gap:1rem;align-items:flex-start}.step-badge{width:2rem;height:2rem;border-radius:999px;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:700}.checkout-steps{display:flex;gap:.5rem;list-style:none;margin:0;padding:0;flex-wrap:wrap}.checkout-steps__item button{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem .85rem;border-radius:999px;border:1px solid var(--border);background:var(--surface);cursor:pointer;color:var(--text-muted);font-weight:600}.checkout-steps__item[data-state=current] button{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-dark)}.checkout-steps__item[data-state=done] button{color:var(--text)}.checkout-steps__item button:disabled{cursor:default;opacity:1}.checkout-steps__dot{display:inline-grid;place-items:center;width:1.4rem;height:1.4rem;border-radius:999px;background:var(--surface-2);font-size:.8rem}.checkout-steps__item[data-state=current] .checkout-steps__dot,.checkout-steps__item[data-state=done] .checkout-steps__dot{background:var(--brand);color:#fff}.checkout-step{display:flex;flex-direction:column;gap:1rem}.checkout-step--center{max-width:560px;margin-inline:auto;width:100%}.checkout-nav{display:flex;gap:.6rem;justify-content:space-between}.checkout-nav .button:only-child{margin-left:auto}.datepicker{position:relative}.datepicker input{cursor:pointer}.datepicker__popover{position:absolute;z-index:40;top:calc(100% + .35rem);left:0;width:18rem;max-width:90vw;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:.75rem}.datepicker__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}.datepicker__month{font-weight:700;color:var(--brand-dark)}.datepicker__nav{border:1px solid var(--border);background:var(--surface);color:var(--brand-dark);border-radius:var(--radius-sm);width:2rem;height:2rem;cursor:pointer;line-height:1}.datepicker__nav:disabled{opacity:.4;cursor:not-allowed}.datepicker__grid{display:grid;grid-template-columns:repeat(7,1fr);gap:.15rem}.datepicker__weekday{text-align:center;font-size:.72rem;font-weight:600;color:var(--text-muted);padding:.2rem 0}.datepicker__day{border:none;background:transparent;border-radius:var(--radius-sm);padding:.4rem 0;cursor:pointer;font-size:.85rem}.datepicker__day:hover:not(:disabled){background:var(--brand-soft)}.datepicker__day[data-today]{outline:1px solid var(--brand-soft)}.datepicker__day[data-selected]{background:var(--brand);color:#fff;font-weight:700}.datepicker__day:disabled{color:#c4bfd4;cursor:not-allowed}.field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem}.address-fields{display:flex;flex-direction:column;gap:.75rem}.address-autocomplete{position:relative}.address-autocomplete__list{position:absolute;top:calc(100% + 2px);left:0;right:0;z-index:30;margin:0;padding:.25rem;list-style:none;max-height:16rem;overflow-y:auto;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:0 10px 30px #0000001f}.address-autocomplete__item{margin:0}.address-autocomplete__option{display:flex;flex-direction:column;gap:.1rem;width:100%;padding:.5rem .6rem;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--text);text-align:left;cursor:pointer}.address-autocomplete__option.is-active,.address-autocomplete__option:hover{background:var(--brand-soft)}.address-autocomplete__main{font-weight:600}.address-autocomplete__secondary{font-size:.8rem;color:var(--text-muted)}.address-autocomplete__attribution{display:flex;justify-content:flex-end;margin-top:.25rem}.address-autocomplete__attribution-logo{height:14px;width:auto;opacity:.85}.saved-addresses{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:.4rem;align-items:stretch}.saved-address{display:flex;flex-direction:column;align-items:flex-start;gap:.1rem;text-align:left;max-width:100%;min-width:0;padding:.45rem .6rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer}.saved-address[aria-pressed=true]{border-color:var(--brand);background:var(--brand-soft)}.saved-address__label{font-weight:700;font-size:.9rem;line-height:1.2;text-transform:capitalize;color:var(--brand-dark)}.saved-address--static{cursor:default}.saved-address--editing{grid-column:1 / -1}.saved-address__head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;width:100%}.saved-address__line{max-width:100%;font-size:.82rem;line-height:1.35;color:var(--text-muted);overflow-wrap:anywhere}.address-details{display:flex;flex-direction:column;gap:.05rem;min-width:0}.address-details__line{font-size:.82rem;line-height:1.35;color:var(--text-muted);overflow-wrap:anywhere}.order-success{max-width:640px;margin:0 auto;text-align:center;display:flex;flex-direction:column;align-items:center;gap:.75rem}.order-success__animation{width:120px;height:120px}.order-success__title{font-size:1.3rem;margin:.25rem 0 0}.order-success__line{margin:0;color:var(--text-muted)}.phone-input{display:flex;gap:.5rem}.phone-input select{flex:0 0 auto;max-width:11rem}.phone-input input{flex:1}.phone-input--compact select{max-width:7.5rem;font-size:.82rem;padding:.45rem .35rem}.otp-inputs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.4rem}.otp-inputs input{width:100%;padding:.5rem 0;text-align:center;font-size:1.25rem;font-weight:700;font-variant-numeric:tabular-nums}.price-row{display:flex;justify-content:space-between;padding:.2rem 0}.price-row--total{font-weight:700;border-top:1px solid var(--border);margin-top:.35rem;padding-top:.45rem}.cart-summary{margin-top:1rem;max-width:320px;margin-left:auto}.cart-actions{justify-content:flex-end}.toast-region{position:fixed;top:calc(env(safe-area-inset-top,0px) + .75rem);left:50%;transform:translate(-50%);display:flex;flex-direction:column;gap:.5rem;z-index:1000;width:min(420px,calc(100vw - 1.5rem));pointer-events:none}.toast{background:var(--text);color:#fff;padding:.7rem .9rem;border-radius:var(--radius-sm);box-shadow:var(--shadow);font-size:.9rem;overflow-wrap:anywhere;pointer-events:auto}.toast--error{background:var(--danger)}.toast--success{background:var(--success)}.print-page{background:#fff;padding:1rem;min-height:100vh}.print-toolbar{display:flex;gap:.5rem;justify-content:center;margin-bottom:1rem}.receipt-sheet{width:300px;margin:0 auto;background:#fff;border:1px dashed var(--border);padding:1rem;font-family:ui-monospace,monospace;font-size:.8rem}.receipt-sheet .price-row{font-family:ui-monospace,monospace}.receipt-frame{width:min(360px,100%);height:72vh;min-height:420px;margin:0 auto;display:block;border:1px solid var(--border);border-radius:var(--radius-sm);background:#fff}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.toolbar{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;margin-bottom:1rem}.filters{display:flex;gap:.4rem;flex-wrap:wrap}.loading{padding:2rem;text-align:center;color:var(--text-muted)}.login-card{width:min(420px,100%);margin:4rem auto}.tabs{display:flex;gap:.25rem;border-bottom:1px solid var(--border);margin-bottom:1rem;overflow-x:auto}.tab{padding:.5rem .9rem;border:none;background:none;cursor:pointer;font-weight:600;color:var(--text-muted);border-bottom:2px solid transparent;white-space:nowrap}.tab[aria-selected=true]{color:var(--brand-dark);border-bottom-color:var(--brand)}code,.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88em}.muted{color:var(--text-muted)}.small{font-size:.82rem}.nowrap{white-space:nowrap}.panel{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);padding:1rem}.thumb{width:44px;height:44px;object-fit:cover;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface)}.data tr.is-selected{background:var(--brand-soft)}.audit-details{display:inline-block;max-width:360px;overflow-wrap:anywhere;color:var(--text-muted);font-size:.78rem}.pos-page{display:flex;flex-direction:column;gap:.6rem;height:calc(100dvh - 190px);min-height:480px;overflow:hidden}.pos-topbar{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.pos-topbar h1{margin:0;font-size:1.25rem}.pos-topbar__sub{margin:0}.pos-topbar__link{margin-left:auto}.pos-mode{display:inline-flex;padding:3px;border:1px solid var(--border);border-radius:999px;background:var(--surface-2)}.pos-mode__tab{border:0;background:transparent;color:var(--text-muted);font:inherit;font-size:.85rem;font-weight:600;padding:.4rem .85rem;border-radius:999px;cursor:pointer}.pos-mode__tab.is-active{background:var(--surface);color:var(--brand-dark);box-shadow:var(--shadow)}.pos-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,400px);gap:.75rem;min-height:0;flex:1}.pos-products,.pos-cart{display:flex;flex-direction:column;min-height:0;min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.pos-products__search{display:flex;gap:.5rem;padding:.6rem;border-bottom:1px solid var(--border)}.pos-products__search input{flex:1;min-width:0}.pos-categories{display:flex;gap:.4rem;padding:.5rem .6rem;overflow-x:auto;border-bottom:1px solid var(--border);scrollbar-width:thin}.pos-category{flex:none;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit;font-size:.8rem;font-weight:600;padding:.3rem .75rem;border-radius:999px;cursor:pointer;white-space:nowrap}.pos-category.is-active{background:var(--brand);border-color:var(--brand);color:#fff}.pos-grid-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:.6rem}.pos-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.6rem}.pos-tile{display:flex;flex-direction:column;text-align:left;padding:0;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);cursor:pointer;overflow:hidden;min-width:0;transition:transform 90ms ease,box-shadow 90ms ease,border-color 90ms ease}.pos-tile:hover,.pos-tile:focus-visible{border-color:var(--brand);box-shadow:var(--shadow);transform:translateY(-1px)}.pos-tile__photo{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:4 / 3;background:var(--brand-soft);overflow:hidden}.pos-tile__photo img{width:100%;height:100%;object-fit:cover}.pos-tile__placeholder{font-size:1.35rem;font-weight:700;color:var(--brand-dark)}.pos-tile__out{position:absolute;top:4px;right:4px;background:var(--danger);color:#fff;font-size:.65rem;font-weight:700;padding:1px 6px;border-radius:999px}.pos-tile__body{display:flex;flex-direction:column;gap:.1rem;padding:.45rem .55rem .55rem;min-width:0}.pos-tile__name{font-size:.85rem;font-weight:700;line-height:1.2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.pos-tile__sub,.pos-tile__stock{font-size:.7rem;color:var(--text-muted)}.pos-tile__price{font-size:.9rem;font-weight:700;color:var(--brand-dark)}.pos-tile--out .pos-tile__photo{filter:grayscale(1);opacity:.65}.pos-cart__head{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem;padding:.6rem .7rem;border-bottom:1px solid var(--border)}.pos-cart__head h2{margin:0;font-size:1rem}.pos-cart__lines{flex:1;min-height:80px;overflow-y:auto;padding:.2rem .7rem}.pos-line,.pos-handover-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.4rem;padding:.4rem 0;border-bottom:1px dashed var(--border)}.pos-line__main{display:flex;flex-direction:column;min-width:0}.pos-line__name{font-weight:600;font-size:.85rem;overflow:hidden;text-overflow:ellipsis}.pos-line__amount{font-size:.85rem;text-align:right;min-width:64px}.pos-line__qty{display:inline-flex;align-items:center;gap:2px}.pos-line__qty input{width:42px;text-align:center;padding:.25rem .15rem}.pos-qty-btn{width:26px;height:26px;border:1px solid var(--border);border-radius:6px;background:var(--surface-2);font-size:1rem;line-height:1;cursor:pointer}.pos-cart__form{display:flex;flex-direction:column;gap:.45rem;padding:.6rem .7rem .7rem;border-top:1px solid var(--border);background:var(--surface)}.pos-cart__form .field{gap:.2rem}.pos-cart__form label{font-size:.72rem}.pos-cart__form input,.pos-cart__form select{padding:.4rem .45rem;font-size:.85rem}.pos-customer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:.4rem;align-items:end}.pos-totals{display:flex;flex-direction:column;gap:.15rem;font-size:.85rem}.pos-totals .price-row{align-items:center;gap:.5rem}.pos-totals .price-row input{width:72px;text-align:right}.pos-payments{display:flex;flex-direction:column;gap:.35rem}.pos-paid{color:var(--success);font-weight:700}.pos-payment-row{display:grid;grid-template-columns:96px minmax(0,1fr) minmax(0,1fr) auto;gap:.35rem;align-items:center}.pos-icon-btn{width:26px;height:26px;border:1px solid var(--border);border-radius:6px;background:var(--surface-2);cursor:pointer;line-height:1}.pos-override{display:flex;flex-direction:column;gap:.3rem;padding:.4rem;border:1px dashed var(--warning);border-radius:var(--radius-sm);background:var(--warning-soft)}.pos-actions{display:flex;gap:.5rem}.pos-complete{flex:1;min-height:42px;font-weight:700}.pos-step-btn{flex:none;min-width:84px;min-height:34px;font-weight:700}.pos-line__main--button{border:0;background:transparent;color:inherit;font:inherit;padding:0;text-align:left;cursor:pointer}.pos-line__main--button:hover .pos-line__name,.pos-line__main--button:focus-visible .pos-line__name{color:var(--brand-dark);text-decoration:underline}.pos-cart__lines--summary{flex:0 1 auto;max-height:28%;min-height:0}.pos-cart__form--scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}.pos-complete-bar{display:flex;align-items:center;gap:.6rem;flex:none;padding:.55rem .7rem;border-top:1px solid var(--border);background:var(--surface)}.pos-complete-bar__total{display:flex;flex-direction:column;min-width:96px}.pos-complete-bar__total strong{font-size:1rem}.pos-discount-editor{display:flex;flex-direction:column;gap:.25rem}.pos-discount-editor__row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:.35rem;align-items:center}.pos-discount-editor__amount{font-weight:700;white-space:nowrap}.pos-modal{position:fixed;inset:0;z-index:70;display:flex;align-items:center;justify-content:center;padding:12px;background:#1f1b2e73}.pos-modal__panel{display:flex;flex-direction:column;width:min(430px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:hidden;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.pos-modal__body{display:flex;flex-direction:column;gap:.55rem;min-height:0;padding:.7rem;overflow-y:auto}.pos-modal__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.4rem;padding:.6rem .7rem;border-top:1px solid var(--border);background:var(--surface-2)}.pos-last-sale{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.45rem .55rem;border-radius:var(--radius-sm);background:var(--success-soft);color:var(--success);font-size:.8rem}.pos-drawer{position:fixed;inset:0;z-index:60;display:flex;justify-content:flex-end;background:#1f1b2e73}.pos-drawer__panel{width:min(460px,100%);height:100%;background:var(--surface);padding:.85rem;overflow-y:auto;box-shadow:var(--shadow)}.pos-drawer__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:.6rem}.pos-history-list{display:flex;flex-direction:column;gap:.5rem}.pos-history-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.5rem;border:1px solid var(--border);border-radius:var(--radius-sm)}.pos-order-list{display:flex;flex-direction:column;gap:.45rem}.pos-order{display:flex;flex-direction:column;gap:.1rem;text-align:left;padding:.55rem .65rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font:inherit;cursor:pointer}.pos-order.is-active,.pos-order:hover{border-color:var(--brand);background:var(--brand-soft)}.pos-handover-line{grid-template-columns:minmax(0,1fr) 64px}.pos-handover-line input{width:64px;text-align:center}.pos-payment-box{display:flex;flex-direction:column;gap:.35rem;padding-top:.4rem;border-top:1px solid var(--border)}.pos-handover-history ul{margin:0;padding-left:1rem}@media(max-width:900px){.pos-page{height:auto;min-height:0;overflow:visible}.pos-workspace{grid-template-columns:minmax(0,1fr)}.pos-products{max-height:55vh}.pos-cart__lines{max-height:40vh}.pos-customer,.pos-payment-row{grid-template-columns:minmax(0,1fr)}.pos-topbar__link{margin-left:0}}@media(max-width:640px){.pos-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-mode{width:100%}.pos-mode__tab{flex:1;padding-inline:.5rem}}@media print{body{background:#fff}.print-toolbar,.app-header,.nav-tabs{display:none!important}}@media(max-width:640px){.container{width:min(1100px,100% - 1rem)}h1{font-size:1.35rem}.page{padding-block:.85rem}.app-header{padding-top:calc(env(safe-area-inset-top,0px) + .5rem)}.app-header__inner{gap:.5rem;min-height:52px}.brand__logo{height:32px}.card{padding:.8rem}.grid-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.grid-2{grid-template-columns:1fr}.product-card__body{padding:.55rem .6rem .65rem;gap:.25rem}.product-card__name{font-size:.9rem;line-height:1.25}.product-card__media{font-size:1.5rem}.product-card__actions{justify-content:center}.grid-cards .metric__value{font-size:1.2rem}.field-grid{grid-template-columns:1fr}.address-autocomplete__list{max-height:40vh}.checkout-nav{position:sticky;bottom:0;background:var(--bg);padding:.6rem 0}.checkout-nav .button{flex:1}.checkout-steps__label,.data{font-size:.85rem}.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}table.data.mobile-3col{min-width:0}table.data.mobile-3col th.desktop-only,table.data.mobile-3col td.desktop-only{display:none}table.data.mobile-3col .mobile-only{display:block}table.data.mobile-3col .item-cell{vertical-align:middle;overflow-wrap:anywhere}table.data.mobile-3col .item-meta{margin-top:.25rem;color:var(--text-muted);font-size:.8rem;white-space:nowrap}table.data.mobile-3col .cart-mobile-controls{display:flex;flex-direction:column;align-items:flex-start;gap:.2rem;margin-top:.3rem}.revision-line{flex-wrap:wrap;gap:.35rem}.revision-line>span{flex:1 1 100%;overflow-wrap:anywhere}}.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.staff-console .page>.container>.stack>h1{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.button--cart{display:inline-flex;align-items:center;justify-content:center;gap:.3rem;min-height:44px;padding:.5rem 1rem;font-size:.95rem;font-weight:700;border-radius:999px;background:var(--brand);color:#fff;box-shadow:var(--shadow);flex-shrink:0}.button--cart:hover{background:var(--brand-dark);color:#fff;text-decoration:none}.menu-cart-footer{display:flex;justify-content:center;padding:.5rem 0 1.5rem}.product-picker{position:relative}.product-picker__trigger{width:100%}.product-picker__backdrop,.product-picker__close{display:none}.product-picker__panel{position:absolute;z-index:40;left:0;right:0;top:calc(100% + .35rem);max-height:360px;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:var(--shadow);overflow:hidden}.product-picker__search{display:flex;align-items:center;gap:.4rem;padding:.5rem;border-bottom:1px solid var(--border)}.product-picker__search input{flex:1;min-width:0;width:100%}.product-picker__list{overflow-y:auto;overscroll-behavior:contain}.product-picker__row{display:grid;grid-template-columns:minmax(0,1fr) 100px 78px;align-items:center;gap:.65rem;width:100%;padding:.6rem .75rem;border:0;border-bottom:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;text-align:left;cursor:pointer}.product-picker__row:last-child{border-bottom:0}.product-picker__row.is-highlighted{box-shadow:inset 0 0 0 1px var(--brand)}.product-picker__row:hover{background:var(--surface-2)}.product-picker__name{min-width:0;overflow-wrap:anywhere;font-weight:600;font-size:.82rem;letter-spacing:.02em;text-transform:uppercase;line-height:1.35}.product-picker__weight{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--text-muted);font-size:.82rem;line-height:1.25;white-space:nowrap}.product-picker__weight small{font-size:.68rem;letter-spacing:.03em;text-transform:uppercase}.product-picker__rate{text-align:right;font-weight:600;font-size:.82rem;white-space:nowrap}.product-picker__eggless{color:var(--success);font-weight:700}.product-picker__empty{padding:.75rem}.order-history{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}.order-history__group{border:1px solid var(--border);border-radius:var(--radius-sm);padding:.75rem;background:var(--surface-2)}.order-history__heading{display:flex;align-items:center;gap:.5rem;margin-bottom:.6rem}.order-history__events{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.55rem}.order-history__event{display:flex;gap:.55rem;align-items:flex-start}.order-history__dot{width:9px;height:9px;margin-top:.35rem;border-radius:50%;background:var(--brand);flex:none}.pos-page{height:calc(100dvh - 150px)}.pos-toolbar{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.pos-toolbar__date{margin-left:.25rem}.pos-toolbar__payments{margin-left:auto}.pos-workspace{grid-template-columns:minmax(340px,430px) minmax(0,1fr)}.pos-products{order:2}.pos-cart{order:1}.pos-actions-bar{display:flex;gap:.3rem;flex-wrap:wrap;padding:.45rem .6rem;border-bottom:1px solid var(--border);background:var(--surface-2)}.pos-action{border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;font-size:.72rem;font-weight:600;padding:.28rem .5rem;border-radius:999px;cursor:pointer}.pos-action:hover{border-color:var(--brand)}.pos-action--primary{background:var(--brand);border-color:var(--brand);color:#fff}.pos-tile__photo{aspect-ratio:1 / 1}.pos-tile:disabled{cursor:not-allowed}.pos-order__customer{font-size:.95rem;font-weight:700}.pos-handover-date{display:flex;align-items:center;gap:.5rem;padding:.5rem .6rem;border-bottom:1px solid var(--border)}.pos-handover-date label{font-size:.8rem;font-weight:600;color:var(--text-muted)}.production-table-wrap{overflow:auto;max-height:68vh}.production-table{min-width:1180px;font-size:.82rem}.production-table th,.production-table td{padding:.4rem .35rem;white-space:nowrap}.production-table .sticky-col{position:sticky;left:0;z-index:2;background:var(--surface);min-width:190px;text-align:left}.production-table thead .sticky-col{z-index:3}.production-day{min-width:72px;text-align:right}.production-day span,.production-day small{display:block}.production-day small{font-size:.7rem;opacity:.8}.production-actions{flex-wrap:nowrap;gap:.3rem}.text-success{color:var(--success)!important;font-weight:700}.text-danger{color:var(--danger)!important;font-weight:700}.text-neutral{color:var(--text-muted)!important;font-weight:600}.production-log{display:flex;flex-direction:column;gap:.45rem;padding:.6rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2)}.analysis-layout{display:grid;grid-template-columns:minmax(230px,280px) minmax(0,1fr);gap:1rem;align-items:start}.analysis-fields{position:sticky;top:80px;max-height:calc(100vh - 100px);overflow:auto}.analysis-field-list{list-style:none;margin:.6rem 0 0;padding:0;display:flex;flex-direction:column;gap:.3rem}.analysis-field{display:flex;align-items:center;justify-content:space-between;gap:.4rem;padding:.35rem .4rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);cursor:grab;font-size:.8rem}.analysis-field__actions{display:flex;gap:.15rem;flex-wrap:wrap}.analysis-field__actions button{border:0;background:var(--surface-2);color:var(--text-muted);font-size:.62rem;padding:.12rem .28rem;border-radius:999px;cursor:pointer}.analysis-field__actions button:hover{background:var(--brand-soft);color:var(--brand-dark)}.analysis-zones{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.analysis-zone{min-height:76px;display:flex;flex-wrap:wrap;gap:.35rem;align-content:flex-start;padding:.5rem;border:1px dashed var(--border);border-radius:var(--radius-sm);background:var(--surface-2)}.analysis-zone__title{flex:1 1 100%;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}.analysis-chip{display:inline-flex;align-items:center;gap:.25rem;padding:.22rem .45rem;border-radius:999px;background:var(--brand-soft);color:var(--brand-dark);font-size:.75rem;font-weight:600}.analysis-chip button{border:0;background:transparent;color:inherit;cursor:pointer;font-size:.9rem;line-height:1}.analysis-chip select,.analysis-chip input{font-size:.72rem;padding:.12rem .25rem;border-radius:6px;border:1px solid var(--border);background:var(--surface);color:var(--text)}.analysis-chip--value select{max-width:90px}.analysis-chip--filter{flex-wrap:wrap}.analysis-chip--filter input{width:100px}.analysis-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.6rem;margin-top:.8rem}.pivot-table{min-width:720px;font-size:.82rem}.pivot-table th,.pivot-table td{padding:.4rem .45rem;white-space:nowrap}.pivot-table tbody th{text-align:left;position:sticky;left:0;background:var(--surface)}.pivot-value-head{font-size:.7rem;color:var(--text-muted);font-weight:600}.pivot-total{font-weight:700;background:var(--surface-2)}.analysis-field__name{display:flex;flex-direction:column;min-width:0}.analysis-field__type{color:var(--text-muted);font-size:.62rem;text-transform:uppercase;letter-spacing:.04em}.analysis-field__add{display:flex;align-items:center;gap:2px;flex:none}.analysis-field__add select{max-width:74px;padding:1px 2px;font-size:.62rem}.analysis-field__add button{border:0;background:var(--surface-2);color:var(--text-muted);font:inherit;font-size:.62rem;font-weight:600;padding:2px 5px;border-radius:3px;cursor:pointer}.analysis-field__add button:hover{background:var(--brand-soft);color:var(--brand-dark)}.analysis-field__remove{color:var(--danger)!important}.analysis-zone__title{display:flex;align-items:center;justify-content:space-between;gap:6px}.analysis-chip__operator{color:var(--text-muted);font-weight:500}.analysis-chip__value{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.analysis-chip--filter{border-radius:4px;flex-wrap:wrap}.analysis-chip--filter button{font-size:.65rem;padding:1px 3px}.analysis-toggles{display:flex;flex-wrap:wrap;gap:12px;margin-top:7px;font-size:.78rem}.analysis-toggles label{display:inline-flex;align-items:center;gap:4px}.analysis-warning{margin-bottom:6px;padding:6px 8px;border:1px solid var(--warning);border-radius:4px;background:var(--warning-soft);color:var(--text);font-size:.78rem}.pivot-table-wrap{max-height:min(64vh,760px);overflow:auto}.pivot-table{width:max-content;min-width:0;border-collapse:separate;border-spacing:0}.pivot-table thead th{position:sticky;background:var(--surface-2);z-index:2}.pivot-table .pivot-col-head{border-bottom:1px solid var(--border);border-right:1px solid var(--border);font-size:.72rem;text-align:center}.pivot-table .pivot-value-head{font-size:.68rem}.pivot-table .pivot-row-head,.pivot-table .pivot-row-label{position:sticky;z-index:3;text-align:left;background:var(--surface);border-right:1px solid var(--border)}.pivot-table .pivot-row-head{z-index:4}.pivot-table .pivot-row-label{min-width:96px;max-width:220px;overflow:hidden;text-overflow:ellipsis}.pivot-toggle{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;margin-right:4px;padding:0;border:1px solid var(--border);border-radius:3px;background:var(--surface-2);color:var(--text);font-size:.65rem;line-height:1;cursor:pointer}.pivot-subtotal-tag{margin-left:6px;color:var(--text-muted);font-size:.6rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.pivot-cell{cursor:pointer}.pivot-cell:hover,.pivot-cell:focus-visible{background:var(--brand-soft);outline:none}.pivot-subtotal-row>th,.pivot-subtotal-row>td{background:var(--surface-2);font-weight:600}.pivot-grand-row>th,.pivot-grand-row>td{background:#eef0f3;font-weight:700}.pivot-column-subtotal{background:var(--surface-2)}.pivot-hint{margin:4px 0 0}.analysis-value-list{display:flex;flex-direction:column;gap:2px;max-height:260px;padding:4px;overflow-y:auto;border:1px solid var(--border);border-radius:4px}.analysis-value-option{display:flex;align-items:center;gap:6px;padding:2px 4px;border-radius:3px;font-size:.8rem}.analysis-value-option:hover{background:var(--surface-2)}.analysis-value-option .muted{margin-left:auto}.analysis-range{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.pivot-drilldown{max-height:55vh}.filter-date{display:inline-flex;align-items:center;gap:4px;color:var(--text-muted);font-size:.72rem;white-space:nowrap}.filter-date input{min-width:128px}.table-sort{border:0;padding:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer}.table-sort:hover,.table-sort:focus-visible{color:var(--brand-dark);text-decoration:underline}.table-pagination{margin-top:6px}.delivery-date{display:inline-flex;align-items:center;gap:6px;color:var(--text-muted);font-size:.72rem;white-space:nowrap}.delivery-date input{min-width:138px}.delivery-toolbar{flex-wrap:wrap;justify-content:flex-end}.delivery-toolbar>input{min-width:220px}.staff-console .delivery-table{width:100%;min-width:1380px;table-layout:fixed}.staff-console .delivery-table th,.staff-console .delivery-table td{vertical-align:top;white-space:normal}.staff-console .delivery-table .delivery-address-cell{min-width:0;max-width:none;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.staff-console .delivery-table td.nowrap,.staff-console .delivery-table th.nowrap{white-space:nowrap}.delivery-actions{min-width:150px;align-items:flex-start}.delivery-vehicles{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:6px}.delivery-vehicle{display:flex;align-items:flex-start;gap:6px;padding:6px 8px;border:1px solid var(--border);border-radius:4px;background:var(--surface);cursor:pointer}.delivery-vehicle>span{display:flex;flex-direction:column;gap:1px}.delivery-vehicle.is-selected{border-color:var(--brand);background:var(--brand-soft)}.delivery-vehicle.is-over{border-color:var(--danger)}.delivery-weight{display:flex;flex-direction:column;gap:2px;padding:6px 8px;border:1px solid var(--border);border-radius:4px;background:var(--surface-2)}.delivery-weight.is-over{border-color:var(--danger);color:var(--danger)}.billing-options{margin-bottom:.7rem}.invoice-frame{width:100%;min-height:900px}@media(max-width:1000px){.analysis-layout{grid-template-columns:1fr}.analysis-fields{position:static;max-height:none}}@media(max-width:900px){.pos-workspace{grid-template-columns:1fr}.pos-products,.pos-cart{order:initial}.pos-products{max-height:58vh}.pos-cart__lines{max-height:42vh}.pos-actions-bar{overflow-x:auto;flex-wrap:nowrap}}@media(max-width:640px){.pos-page{height:auto}.pos-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-tile__body{padding:.35rem}.pos-toolbar__payments{margin-left:0}.analysis-zones,.order-history{grid-template-columns:1fr}.product-picker__row{grid-template-columns:minmax(0,1fr) 74px 64px;gap:.4rem;padding:.55rem .5rem}.product-picker__name{font-size:.76rem}.product-picker__backdrop{display:block;position:fixed;inset:0;z-index:60;background:#1f1b2e73}.product-picker__panel{position:fixed;inset:auto 0 0;z-index:61;max-height:78vh;border-radius:var(--radius) var(--radius) 0 0;box-shadow:0 -8px 30px #1f1b2e40;padding-bottom:env(safe-area-inset-bottom)}.product-picker__close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:2rem;height:2rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);cursor:pointer}}.filters--compact{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.filters--compact select,.filters--compact input[type=date]{width:auto;min-width:130px;padding:.35rem .5rem;font-size:.85rem}.filters--compact .filters__search{flex:1 1 240px;min-width:200px;flex-wrap:nowrap}.filters--compact .filters__search input{flex:1;min-width:0}.page--wide{padding-block:.5rem 1rem}.container--wide{width:min(1600px,100% - 1rem)}@media(max-width:900px){.container--wide{width:min(1600px,100% - .5rem)}}.pos-workspace--handover{grid-template-columns:minmax(280px,360px) minmax(0,1fr)}.pos-workspace--handover .pos-handover-search{order:1}.pos-workspace--handover .pos-handover-detail{order:2}@media(max-width:900px){.pos-workspace--handover{grid-template-columns:minmax(0,1fr)}.pos-workspace--handover .pos-handover-search{order:1}.pos-workspace--handover .pos-handover-detail{order:2}}.order-timeline{list-style:none;margin:0;padding:.25rem 0 0}.order-timeline__item{position:relative;display:flex;gap:.85rem;padding-bottom:1.25rem}.order-timeline__item:before{content:"";position:absolute;left:7px;top:18px;bottom:-2px;border-left:2px dashed var(--brand);opacity:.7}.order-timeline__item:last-child:before{display:none}.order-timeline__marker{position:relative;z-index:1;width:16px;height:16px;margin-top:3px;border-radius:50%;background:var(--brand);flex:none}.order-timeline__item.is-latest .order-timeline__marker{width:20px;height:20px;margin-left:-2px;margin-top:1px;background:var(--surface);border:3px solid var(--brand)}.order-timeline__content{min-width:0;flex:1;display:flex;flex-direction:column;gap:.3rem}.order-timeline__heading{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}.order-timeline__heading h3{margin:0;font-size:1rem}.order-timeline__details{display:flex;flex-direction:column;gap:.3rem;padding:.55rem .65rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2)}.order-timeline__items{list-style:none;margin:.2rem 0 0;padding:0;display:flex;flex-direction:column;gap:.2rem}.order-timeline__items li{display:flex;justify-content:space-between;gap:.75rem;font-size:.88rem}.order-timeline__items li span:last-child{color:var(--text-muted);white-space:nowrap}@media(max-width:640px){.order-timeline__details{padding:.5rem}.order-timeline__heading h3{font-size:.95rem}}.button[aria-disabled=true]{opacity:.55;cursor:not-allowed}.feedback-product{display:flex;flex-direction:column;gap:.4rem;padding:.6rem 0;border-bottom:1px solid var(--border)}.feedback-product:last-child{border-bottom:0}.feedback-product__name{font-weight:600}.feedback-stars{display:flex;gap:.15rem}.feedback-star{--feedback-star-size: 2rem;position:relative;display:inline-block;width:var(--feedback-star-size);height:var(--feedback-star-size);color:var(--border);line-height:1}.feedback-star__base,.feedback-star__outline{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.feedback-star__fill{position:absolute;top:0;bottom:0;left:0;overflow:hidden;color:var(--accent);pointer-events:none}.feedback-star__fill svg{display:block;width:var(--feedback-star-size);height:var(--feedback-star-size)}.feedback-star__hit{position:absolute;top:0;bottom:0;width:50%;padding:0;border:0;background:transparent;cursor:pointer;z-index:1}.feedback-star__hit--half{left:0}.feedback-star__hit--full{right:0}.feedback-star__hit:focus-visible{outline:2px solid var(--brand);outline-offset:1px}.staff-console{--staff-header-height: 44px;--staff-workspace-pad: 10px;--staff-line: #e1e4e8;--staff-bg: #f4f5f7;--staff-surface: #ffffff;--staff-text: #16181d;--staff-muted: #626975;min-height:100dvh;background:var(--staff-bg);color:var(--staff-text);font-size:12px;line-height:1.4;overflow-x:hidden}.staff-console .staff-appbar{position:sticky;top:0;z-index:30;display:flex;align-items:stretch;gap:8px;height:var(--staff-header-height);min-height:var(--staff-header-height);padding:0 10px;border-bottom:1px solid var(--staff-line);background:var(--staff-surface)}.staff-nav{display:flex;align-items:stretch;flex:1;min-width:0;gap:1px;overflow-x:auto;scrollbar-width:none}.staff-nav::-webkit-scrollbar{display:none}.staff-nav__link{display:inline-flex;align-items:center;padding:0 9px;border-bottom:2px solid transparent;color:#4b5563;font-size:12px;font-weight:600;white-space:nowrap;text-decoration:none}.staff-nav__link:hover{background:#f3f4f6;color:var(--staff-text);text-decoration:none}.staff-nav__link[aria-current=page]{border-bottom-color:var(--brand);background:#f6f3ff;color:var(--brand-dark)}.staff-user{display:flex;align-items:center;flex:none;gap:8px;padding-left:8px;border-left:1px solid var(--staff-line)}.staff-user__identity{display:flex;flex-direction:column;min-width:0;line-height:1.1}.staff-user__name{max-width:160px;overflow:hidden;color:var(--staff-text);font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.staff-user__role{color:var(--staff-muted);font-size:9px;letter-spacing:.06em;text-transform:uppercase}.staff-signout{flex:none;padding:3px 8px;border:1px solid var(--staff-line);border-radius:4px;background:var(--staff-surface);color:#374151;font:inherit;font-size:11px;font-weight:600;cursor:pointer}.staff-signout:hover{background:#f3f4f6}.staff-main{width:100%;max-width:none;min-width:0;flex:1;padding:var(--staff-workspace-pad);overflow-x:hidden}.staff-console .staff-page,.staff-console .staff-main>.stack,.staff-console .settings-layout{gap:8px;min-width:0}.staff-console .stack{gap:8px;min-width:0}.staff-console .stack-sm{gap:4px;min-width:0}.staff-console .row,.staff-console .row-between{gap:6px}.staff-console .grid{gap:8px}.staff-console .grid-cards{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:6px}.staff-console .grid-2{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:8px}.staff-console h1{margin:0;color:var(--staff-text);font-size:18px;font-weight:650;line-height:1.2;letter-spacing:-.01em}.staff-console h2{margin:0;color:var(--staff-text);font-size:14px;font-weight:650;line-height:1.25}.staff-console h3{margin:0;font-size:13px;font-weight:650;line-height:1.3}.staff-console p{margin:0 0 4px}.staff-console .muted{color:var(--staff-muted)}.staff-console .small{font-size:11px}.staff-page-head{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:8px;min-height:30px;padding-bottom:2px}.staff-page-head__text{display:flex;flex-direction:column;gap:2px;min-width:0}.staff-page-head__meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;color:var(--staff-muted);font-size:11px}.staff-page-head__actions{display:flex;align-items:center;flex-wrap:wrap;gap:5px}.staff-console .card{padding:8px 10px;border:1px solid var(--staff-line);border-radius:4px;background:var(--staff-surface);box-shadow:none}.staff-console .card__title{gap:6px;margin-bottom:6px}.staff-console .card__title h2{font-size:14px}.staff-console .card__title .button,.staff-console .card__title .filters{flex:none}.staff-console .metric{padding:5px 8px;border:1px solid var(--staff-line);border-radius:4px;background:var(--staff-surface)}.staff-console .metric__label{color:var(--staff-muted);font-size:9px;font-weight:600;letter-spacing:.05em}.staff-console .metric__value{color:var(--staff-text);font-size:16px;font-weight:650;line-height:1.25}.staff-console .empty{padding:12px 8px;font-size:12px}.staff-console .loading{padding:24px 12px;font-size:12px}.staff-console .banner{padding:6px 8px;border-radius:4px;font-size:12px}.staff-console .badge{padding:1px 6px;border-radius:4px;font-size:10px;font-weight:650}.staff-console .button{min-height:30px;padding:4px 9px;border-radius:4px;font-size:12px;font-weight:600}.staff-console .button--sm{min-height:26px;padding:2px 7px;font-size:11px}.staff-console .field{gap:3px;min-width:0}.staff-console .field>label,.staff-console .label{color:#3f4652;font-size:11px;font-weight:600}.staff-console input,.staff-console select,.staff-console textarea{min-height:30px;padding:4px 7px;border-radius:4px;font-size:12px}.staff-console textarea{min-height:64px}.staff-console .checkbox-row{gap:6px;font-size:12px}.staff-console .filters,.staff-console .filters--compact{gap:4px;align-items:center}.staff-console .filters--compact select,.staff-console .filters--compact input[type=date]{min-width:118px;padding:3px 6px;font-size:11px}.staff-console .filters--compact .filters__search{flex:1 1 220px;min-width:170px;flex-wrap:nowrap}.staff-console .tabs{gap:1px;margin:0;border-bottom:1px solid var(--staff-line)}.staff-console .tab{padding:5px 9px;font-size:12px}.staff-console .table-wrap{border:1px solid var(--staff-line);border-radius:4px;background:var(--staff-surface)}.staff-console table.data{min-width:620px;font-size:12px}.staff-console table.data th,.staff-console table.data td{padding:7px 8px;border-bottom:1px solid #eceef1;white-space:nowrap;vertical-align:middle}.staff-console table.data th{position:sticky;top:0;z-index:1;background:#f7f8fa;color:#5b6270;font-size:10px;font-weight:650;letter-spacing:.04em;text-transform:uppercase}.staff-console table.data tbody tr:hover{background:#f5f7fb}.staff-console table.data tbody tr.is-selected{background:#f1ecff}.staff-console table.data td.num,.staff-console table.data th.num{text-align:right;font-variant-numeric:tabular-nums}.staff-console .audit-details{white-space:normal}.staff-console .price-row{font-size:12px}.staff-console .price-row--total{font-size:13px}.staff-console .mono,.staff-console code{font-size:.92em}.staff-console .modal-backdrop{padding:10px}.staff-console .modal{width:min(680px,100%);max-height:92vh;padding:12px;border-radius:6px}.staff-console .modal__title{margin-bottom:8px;font-size:16px}.staff-console .modal__actions{gap:6px;margin-top:8px}.staff-console .settings-layout{display:flex;flex-direction:column}.staff-console .settings-nav{display:flex;gap:1px;overflow-x:auto;border-bottom:1px solid var(--staff-line);scrollbar-width:none}.staff-console .settings-nav::-webkit-scrollbar{display:none}.staff-console .settings-nav__link{padding:5px 9px;border-bottom:2px solid transparent;color:var(--staff-muted);font-size:11px;font-weight:600;white-space:nowrap;text-decoration:none}.staff-console .settings-nav__link:hover{background:#f3f4f6;color:var(--staff-text);text-decoration:none}.staff-console .settings-nav__link[aria-current=page]{border-bottom-color:var(--brand);color:var(--brand-dark)}.pos-page{display:flex;flex-direction:column;gap:6px;height:calc(100dvh - var(--staff-header-height) - (var(--staff-workspace-pad) * 2));min-height:480px;overflow:hidden}.staff-console .pos-toolbar{gap:6px}.staff-console .pos-toolbar h1{font-size:16px}.staff-console .pos-mode{padding:2px;border-radius:4px}.staff-console .pos-mode__tab{padding:3px 9px;border-radius:3px;font-size:11px}.staff-console .pos-workspace{gap:6px}.staff-console .pos-products,.staff-console .pos-cart{border-radius:4px;box-shadow:none}.staff-console .pos-products__search{padding:5px 6px}.staff-console .pos-categories{gap:3px;padding:4px 6px}.staff-console .pos-category{padding:2px 7px;border-radius:4px;font-size:11px}.staff-console .pos-grid-scroll{padding:6px}.staff-console .pos-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:5px}.staff-console .pos-tile{border-radius:4px}.staff-console .pos-tile:hover,.staff-console .pos-tile:focus-visible{box-shadow:none;transform:none}.staff-console .pos-cart__head{padding:5px 7px}.staff-console .pos-cart__head h2{font-size:13px}.staff-console .pos-cart__lines{padding:2px 7px}.staff-console .pos-line,.staff-console .pos-handover-line{padding:3px 0}.staff-console .pos-cart__form{gap:4px;padding:5px 7px 7px}.staff-console .pos-cart__form input,.staff-console .pos-cart__form select{min-height:28px;padding:3px 5px;font-size:11px}.staff-console .pos-complete{min-height:34px}.staff-console .pos-drawer__panel{width:min(480px,100%);padding:10px}.staff-console .pos-history-row,.staff-console .pos-order{border-radius:4px}.staff-console .analysis-layout{grid-template-columns:minmax(320px,380px) minmax(0,1fr);gap:8px;align-items:start}.staff-console .analysis-config{position:sticky;top:calc(var(--staff-header-height) + 8px);display:flex;flex-direction:column;gap:6px;height:calc(100dvh - var(--staff-header-height) - 60px);max-height:calc(100dvh - var(--staff-header-height) - 60px);overflow:hidden;min-width:0}.staff-console .analysis-config-card{position:static;display:flex;flex-direction:column;min-height:0;max-height:none;overflow:hidden;padding:6px 7px}.staff-console .analysis-config-card>.card__title{flex:none;margin-bottom:4px}.staff-console .analysis-config-upper{flex:0 1 42%;min-height:170px}.staff-console .analysis-config-lower{flex:1 1 58%;min-height:230px}.staff-console .analysis-upper-scroll,.staff-console .analysis-lower-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:2px}.staff-console .analysis-result{min-width:0}.staff-console .analysis-section{padding:2px 0;border-bottom:1px solid var(--staff-line)}.staff-console .analysis-section:last-of-type{border-bottom:0}.staff-console .analysis-section>summary{padding:2px 1px;color:var(--staff-muted);font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;cursor:pointer;-webkit-user-select:none;user-select:none}.staff-console .analysis-section[open]>summary{margin-bottom:3px}.staff-console .analysis-saved{display:flex;flex-direction:column;gap:4px}.staff-console .analysis-saved select{width:100%;min-width:0}.staff-console .analysis-config .analysis-zones{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.staff-console .analysis-config .analysis-zone,.staff-console .analysis-config .analysis-chip{min-width:0}.staff-console .analysis-config .analysis-chip{flex-wrap:wrap}.staff-console .analysis-config .analysis-zone{min-height:36px}.staff-console .analysis-config .analysis-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-top:4px}.staff-console .analysis-config-actions{display:flex;flex-wrap:wrap;flex:none;gap:4px;padding:4px 0 0;border-top:1px solid var(--staff-line);background:var(--staff-surface)}.staff-console .analysis-result .pivot-table-wrap{max-height:calc(100dvh - var(--staff-header-height) - (var(--staff-workspace-pad) * 2) - 96px)}.staff-console .analysis-field-list{margin-top:3px;gap:1px}.staff-console .analysis-field{padding:2px 4px;border-radius:3px;font-size:11px}.staff-console .analysis-zones{gap:5px}.staff-console .analysis-zone{min-height:64px;padding:4px;border-radius:3px}.staff-console .analysis-chip{border-radius:4px;font-size:11px}.staff-console .analysis-options{gap:5px;margin-top:6px}.staff-console .pivot-table{font-size:11px}.staff-console .pivot-table th,.staff-console .pivot-table td{padding:4px 6px}.staff-login-page{min-height:100dvh;padding:16px;background:var(--staff-bg)}.staff-login-page .login-card{margin:6vh auto}.staff-login-page .card{padding:16px;border-radius:6px;box-shadow:none}.staff-login-page h2{font-size:18px}@media(max-width:1100px){.staff-user__name{max-width:100px}}@media(max-width:900px){.staff-console .pos-page{height:auto;min-height:0;overflow:visible}.staff-console .analysis-layout{grid-template-columns:1fr}.staff-console .analysis-fields,.staff-console .analysis-config{position:static;height:auto;max-height:none;overflow:visible}.staff-console .analysis-config-card{overflow:visible}.staff-console .analysis-upper-scroll{max-height:260px}.staff-console .analysis-lower-scroll{max-height:none;overflow:visible}}@media(max-width:640px){.staff-console{--staff-header-height: 42px;--staff-workspace-pad: 8px}.staff-appbar{gap:4px;padding-inline:6px}.staff-nav__link{padding-inline:7px;font-size:11px}.staff-user{gap:4px;padding-left:5px}.staff-user__name{max-width:76px;font-size:11px}.staff-user__role{display:none}.staff-signout{padding:2px 6px;font-size:10px}.staff-console .grid-2{grid-template-columns:1fr}.staff-console .card{padding:7px 8px}.staff-page-head{align-items:flex-start}}.staff-login-title{margin:0 0 8px;font-size:18px;font-weight:650;letter-spacing:-.01em}.staff-console .card__title{flex-wrap:wrap;align-items:flex-start}.staff-console .modal__actions{flex-wrap:wrap}.staff-console .staff-page-head--toolbar{align-items:center}@media(max-width:640px){.pos-discount-editor__row{grid-template-columns:minmax(0,1fr)}.pos-complete-bar{flex-wrap:wrap}.pos-complete-bar__total,.pos-complete{width:100%}.analysis-options{grid-template-columns:minmax(0,1fr)}.analysis-zone{min-width:0}.analysis-chip__value{max-width:100%}.filters--compact select,.filters--compact input[type=date]{min-width:0;width:100%}.filter-date,.delivery-date{width:100%;justify-content:space-between}.delivery-toolbar{width:100%}.delivery-toolbar>input{flex:1 1 100%;min-width:0}.filter-date input,.delivery-date input{flex:1;min-width:0}.table-pagination{align-items:flex-start;flex-direction:column}.staff-console .table-actions{min-width:0}.staff-console .settings-products-table .settings-product-name-cell{position:static}.staff-console .settings-products-table .settings-actions-cell{position:static;width:220px;min-width:220px;box-shadow:none}}.payments-toolbar{align-items:flex-end}.payments-toolbar .tabs{margin-bottom:0;flex:1}.segmented{display:inline-flex;padding:2px;border:1px solid var(--border);border-radius:4px;background:var(--surface-2)}.segmented button{border:0;border-radius:3px;background:transparent;color:var(--text-muted);font:inherit;font-size:11px;font-weight:600;padding:4px 10px;cursor:pointer}.segmented button.is-active{background:var(--surface);color:var(--brand-dark);box-shadow:0 1px 2px #00000014}.payment-allocation-preview{padding:6px 8px;border:1px solid var(--border);border-radius:4px;background:var(--surface-2)}.payment-allocation-preview ul{margin:4px 0 0;padding-left:0;list-style:none}.dashboard-pending-scroll{max-height:280px;overflow-y:auto}.approval-type{display:inline-flex;align-items:center;min-height:18px;padding:1px 6px;border-radius:3px;font-size:10px;font-weight:650;white-space:nowrap}.approval-type--new_order{background:var(--brand-soft);color:var(--brand-dark)}.approval-type--modification{background:var(--warning-soft);color:#92400e}.order-id-line{display:inline-flex;align-items:center;gap:4px;min-height:18px}.pending-modification-marker{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:#f59e0b;color:#fff;font-size:9px;font-weight:800;line-height:1;flex:none;vertical-align:middle}@media(max-width:640px){.payments-toolbar{align-items:flex-start;flex-direction:column}.payments-toolbar .tabs{width:100%}}.staff-console .badge--staff-entry{background:var(--brand-soft);color:var(--brand-dark)}.staff-console .order-entry-customer{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:7px 8px;border:1px solid var(--staff-line);border-radius:4px;background:var(--staff-surface-2, #f7f8fa)}.staff-console .order-entry-results{display:grid;gap:3px;max-height:220px;overflow-y:auto;scrollbar-width:thin}.staff-console .order-entry-result{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:6px 8px;border:1px solid var(--staff-line);border-radius:4px;background:var(--staff-surface);color:var(--text);text-align:left;cursor:pointer}.staff-console .order-entry-result:hover,.staff-console .order-entry-result:focus-visible{border-color:var(--brand);background:var(--brand-soft)}.staff-console .order-entry-line{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 7px;border:1px solid var(--staff-line);border-radius:4px}.staff-console .order-entry-line__amount{min-width:78px;font-weight:600}.staff-console .row.small,.staff-console .small.row{gap:4px;font-size:11px}@media(max-width:640px){.staff-console .order-entry-line,.staff-console .order-entry-result{align-items:flex-start;flex-direction:column}}
