:root{color-scheme:light;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:radial-gradient(circle at top left,rgba(17,24,39,.08),transparent 32%),linear-gradient(180deg,#f8fafc,#eef2ff);color:#0f172a;line-height:1.5;font-weight:400}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}button{border:0;border-radius:14px;padding:.95rem 1.2rem;background:#0f172a;color:#fff;cursor:pointer}button.secondary{background:#fff;color:#0f172a;border:1px solid #cbd5e1}button:disabled{opacity:.65;cursor:wait}.app-shell{min-height:100vh}.pos-shell{--sidebar-width: 190px;min-height:100vh;display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);background:#f4f6f8}.pos-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:1.4rem 1rem 1rem;overflow:hidden;background:#071d36;color:#f8fafc;border-right:1px solid rgba(255,255,255,.06)}.pos-brand,.pos-user,.pos-logout,.pos-nav__item{display:flex;align-items:center}.pos-brand{gap:.8rem;padding:.35rem .5rem 1.35rem;border-bottom:1px solid rgba(255,255,255,.09)}.pos-brand__mark{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;color:#fff;background:#e0543f;border-radius:12px}.pos-brand__copy,.pos-user__copy{min-width:0;display:grid}.pos-brand__copy strong,.pos-user__copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pos-brand__copy small,.pos-user__copy small{color:#94a3b8;font-size:.77rem}.pos-nav{display:grid;gap:.38rem;padding:1.3rem 0}.pos-nav__item{min-height:50px;gap:.85rem;padding:.78rem .9rem;color:#b9c4d1;border-radius:12px;text-decoration:none;font-weight:620;transition:color .15s ease,background-color .15s ease}.pos-nav__item:hover:not(.is-disabled){color:#fff;background:#ffffff0f}.pos-nav__item.is-active{color:#fff;background:#1758e6;box-shadow:0 10px 22px #1758e63d}.pos-nav__item.is-primary:not(.is-active){color:#d8e4f3}.pos-nav__item.is-disabled{color:#667487;cursor:not-allowed}.pos-sidebar__footer{margin-top:auto;display:grid;gap:.75rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.09)}.pos-user{gap:.75rem;padding:0 .35rem}.pos-user__avatar{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:50%;background:#263547;color:#fff;font-weight:800}.pos-logout{justify-content:center;min-height:44px;gap:.55rem;padding:.7rem .85rem;color:#cbd5e1;background:transparent;border:1px solid rgba(255,255,255,.12);border-radius:11px}.pos-logout:hover{color:#fff;background:#ffffff0f}.pos-frame,.pos-shell__content{min-width:0}.pos-frame{min-height:100vh}.pos-operational-bar{position:sticky;top:0;z-index:30;min-height:76px;display:grid;grid-template-columns:minmax(170px,1.1fr) minmax(220px,1.4fr) auto auto minmax(150px,auto);align-items:center;gap:1.25rem;padding:.75rem 1.8rem;background:#fffffff5;border-bottom:1px solid #e5eaf1;box-shadow:0 3px 14px #0f1f3409;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.operational-business,.operational-register,.operational-status,.operational-cashier{min-width:0;display:flex;align-items:center;gap:.65rem}.operational-icon{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;color:#1758e6;background:#edf3ff;border-radius:10px}.operational-copy,.operational-time{min-width:0;display:grid}.operational-copy strong,.operational-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.operational-copy small,.operational-time small{color:#748196;font-size:.75rem}.operational-register{color:#405168;font-size:.83rem}.operational-register svg{color:#1758e6}.operational-status{color:#176b45;font-size:.82rem;font-weight:750;white-space:nowrap}.operational-status.is-offline{color:#ae3c2e}.operational-time{line-height:1.25;white-space:nowrap}.operational-time strong{font-size:.88rem}.operational-cashier svg{flex:0 0 auto;color:#26384d}.dashboard-page{width:min(1440px,100%);min-height:100vh;margin:0 auto;padding:2rem 2.25rem 3rem;color:#17212d}.dashboard-header{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;margin-bottom:1.5rem}.dashboard-kicker,.card-eyebrow{margin:0 0 .35rem;color:#e0543f;font-size:.73rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase}.dashboard-header h1{margin:0;font-size:clamp(1.7rem,2.8vw,2.5rem);line-height:1.15;letter-spacing:-.035em}.dashboard-header p:last-child{margin:.5rem 0 0;color:#667085}.connection-chip,.scope-chip,.context-inline{display:inline-flex;align-items:center}.connection-chip{flex:0 0 auto;gap:.5rem;padding:.65rem .85rem;color:#176b45;background:#e9f7ef;border:1px solid #c8ead6;border-radius:999px;font-size:.88rem;font-weight:750}.connection-chip.is-offline{color:#9b3d2f;background:#fff0ed;border-color:#f7d1c9}.operating-context{display:grid;grid-template-columns:minmax(220px,1.4fr) repeat(3,minmax(140px,1fr));gap:0;margin-bottom:1.3rem;padding:1.15rem 1.25rem;background:#fff;border:1px solid #e5e9ee;border-radius:16px;box-shadow:0 6px 20px #131d280a}.operating-context>div{min-width:0;display:grid;align-content:center;padding:0 1.1rem;border-left:1px solid #e7ebef}.operating-context>div:first-child{padding-left:0;border-left:0}.context-business{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.8rem}.context-business>div{min-width:0;display:grid}.context-business strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.context-icon,.card-icon,.quick-action__icon,.order-receipt{display:grid;place-items:center}.context-icon{width:42px;height:42px;color:#c84936;background:#fff0ed;border-radius:11px}.context-label{color:#7b8794;font-size:.74rem;font-weight:650;letter-spacing:.045em;text-transform:uppercase}.context-inline{gap:.32rem}.status-online{color:#176b45}.status-offline{color:#9b3d2f}.status-dot{width:8px;height:8px;border-radius:50%;background:currentColor}.dashboard-main-grid,.dashboard-lower-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.3rem}.dashboard-main-grid{margin-bottom:1.3rem}.dashboard-lower-grid{align-items:start}.dashboard-card{min-width:0;padding:1.4rem;background:#fff;border:1px solid #e5e9ee;border-radius:16px;box-shadow:0 6px 20px #131d280a}.card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.card-heading h2{margin:0;color:#17212d;font-size:1.15rem;letter-spacing:-.018em}.card-icon{width:44px;height:44px;flex:0 0 44px;border-radius:12px}.card-icon--amber{color:#9a5d12;background:#fff4dd}.card-icon--rose{color:#b23b2e;background:#fff0ed}.card-icon--blue{color:#315e9b;background:#edf4ff}.card-copy{max-width:46ch;margin:1rem 0 0;color:#596574}.card-note{margin:.8rem 0 0;color:#8a5a13;font-size:.86rem;font-weight:650}.quick-actions{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:.8rem;margin-top:1rem}.quick-action{min-width:0;min-height:84px;display:flex;align-items:center;gap:.75rem;padding:.9rem;color:#334155;background:#f8fafc;border:1px solid #e5e9ee;border-radius:13px;text-decoration:none}.quick-action>span:nth-child(2){min-width:0;display:grid;flex:1}.quick-action small{color:#7b8794;font-size:.78rem}.quick-action__icon{width:44px;height:44px;flex:0 0 44px;border-radius:11px;background:#eef2f6}.quick-action--primary{color:#fff;background:#e0543f;border-color:#e0543f;box-shadow:0 9px 20px #e0543f33}.quick-action--primary:hover{background:#c94a36}.quick-action--primary small{color:#ffe2dc}.quick-action--primary .quick-action__icon{background:#ffffff29}.quick-action.is-disabled{opacity:.58;cursor:not-allowed}.summary-card{margin-bottom:1.3rem}.scope-chip{padding:.42rem .7rem;color:#596574;background:#f4f6f8;border-radius:999px;font-size:.77rem;font-weight:700}.summary-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:1.15rem;border-top:1px solid #e9edf1}.summary-metrics>div{display:grid;gap:.25rem;padding:1.1rem 1.1rem .1rem;border-left:1px solid #e9edf1}.summary-metrics>div:first-child{padding-left:0;border-left:0}.summary-metrics span{color:#7b8794;font-size:.82rem}.summary-metrics strong{overflow-wrap:anywhere;font-size:clamp(1.25rem,2vw,1.7rem);letter-spacing:-.025em}.dashboard-loading,.dashboard-empty{min-height:155px;display:flex;align-items:center;justify-content:center;color:#7b8794}.dashboard-empty{flex-direction:column;gap:.35rem;text-align:center}.dashboard-empty strong{color:#475569}.dashboard-empty span{font-size:.87rem}.text-button,.text-link{display:inline-flex;align-items:center;gap:.3rem;padding:.25rem;color:#c84936;background:transparent;border-radius:6px;font-size:.85rem;font-weight:750;text-decoration:none}.alert-list,.orders-list{display:grid;margin-top:1rem}.alert-row,.order-row{min-width:0;display:grid;align-items:center;gap:.75rem;padding:.8rem 0;border-top:1px solid #edf0f3}.alert-row{grid-template-columns:auto minmax(0,1fr) auto}.order-row{grid-template-columns:auto minmax(0,1fr) auto auto}.alert-symbol{color:#bb7418}.alert-symbol.is-critical{color:#c84936}.alert-row__name,.order-row__reference{min-width:0;display:grid}.alert-row__name strong,.order-row__reference strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.alert-row__name small,.order-row__reference small{color:#8a95a2;font-size:.76rem}.alert-badge,.order-status{padding:.32rem .52rem;color:#8a5a13;background:#fff4dd;border-radius:999px;font-size:.72rem;font-weight:750;white-space:nowrap}.alert-badge.is-critical,.order-status.is-rejected,.order-status.is-conflict{color:#a23c2d;background:#fff0ed}.order-receipt{width:34px;height:34px;color:#526477;background:#f2f5f7;border-radius:9px}.order-row__amount{font-size:.88rem;white-space:nowrap}.order-status.is-synced{color:#176b45;background:#e9f7ef}.dashboard-access-state{min-height:calc(100vh - 5rem);display:grid;place-content:center;text-align:center}.selling-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.2rem .15rem 0}.selling-header h1{margin:.2rem 0 0;font-size:clamp(1.65rem,2.6vw,2.25rem);letter-spacing:-.03em}.pos-shell .cashier-page{padding:1.7rem 2rem 3rem;align-content:start}.app-version{position:fixed;left:.75rem;bottom:.5rem;z-index:20;color:#64748b;font-size:.72rem;letter-spacing:.02em}.pwa-toolbar{position:fixed;right:1rem;bottom:1rem;z-index:40;display:grid;gap:.75rem;width:min(360px,calc(100vw - 2rem))}.pwa-toolbar__item{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.1rem;border-radius:18px;background:#ffffffeb;border:1px solid rgba(148,163,184,.28);box-shadow:0 16px 40px #0f172a29;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.pwa-toolbar__item p{margin:.25rem 0 0;color:#475569;font-size:.9rem}.pwa-toolbar__item--update{border-color:#2563eb59}.pwa-toolbar__item--error{border-color:#b91c1c59}.pos-update-region{display:flex;justify-content:flex-end;padding:.75rem 1.8rem 0;background:#f5f8fc}.pos-update-region:empty{display:none}.pos-update-region .pwa-toolbar__item{width:min(380px,100%);padding:.8rem .95rem;border-radius:13px;box-shadow:0 8px 24px #0f172a1a}.pwa-update-dialog-backdrop{position:fixed;z-index:1200;inset:0;display:grid;place-items:center;padding:1rem;background:#0714278f;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.pwa-update-dialog{width:min(520px,100%);padding:1.5rem;background:#fff;border-radius:16px;box-shadow:0 24px 60px #04112647}.pwa-update-dialog h2{margin:0;color:#132039;font-size:1.3rem}.pwa-update-dialog p{margin:.8rem 0 0;color:#58677d;line-height:1.55}.pwa-update-dialog__actions{display:flex;justify-content:flex-end;gap:.7rem;margin-top:1.4rem}.centered{min-height:100vh;display:grid;place-items:center;font-size:1.1rem}.auth-page,.cashier-page{min-height:100vh;padding:2rem;display:grid;gap:1.5rem;align-content:center}.auth-card,.workspace-panel,.status-card,.topbar{background:#ffffffd1;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid rgba(148,163,184,.25);box-shadow:0 20px 60px #0f172a14}.auth-card{width:min(420px,100%);margin:0 auto;border-radius:28px;padding:2rem}.brand-mark,.eyebrow{font-size:.82rem;text-transform:uppercase;letter-spacing:.18em;color:#475569}.auth-form{display:grid;gap:1rem;margin-top:1.5rem}.auth-form label{display:grid;gap:.45rem;font-size:.95rem}.auth-form input{border:1px solid #cbd5e1;border-radius:14px;padding:.9rem 1rem;background:#fff}.error-banner{background:#fef2f2;color:#991b1b;border:1px solid #fecaca;border-radius:12px;padding:.85rem 1rem}.info-banner{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;border-radius:12px;padding:.85rem 1rem;margin-top:1rem}.topbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;border-radius:24px;padding:1.25rem 1.5rem}.status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1rem}.status-card,.workspace-panel{border-radius:24px;padding:1.25rem 1.5rem}.label{display:block;color:#64748b;font-size:.9rem;margin-bottom:.35rem}.online-indicator{color:#166534}.workspace-panel h2,.auth-card h1,.topbar h1{margin:.25rem 0 0}.workspace-panel p,.auth-card p{color:#475569}.cashier-topbar__identity{min-width:0}.cashier-topbar__identity h1{max-width:min(48vw,420px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cashier-topbar__subline{margin:.1rem 0 .35rem;color:#64748b;font-size:.92rem}.pos-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(320px,.9fr);gap:1.5rem}.catalog-panel,.cart-panel{background:#ffffffd1;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid rgba(148,163,184,.25);box-shadow:0 20px 60px #0f172a14;border-radius:28px;padding:1.25rem}.panel-header,.totals-row,.cart-line__main,.cart-line__actions{display:flex;justify-content:space-between;gap:1rem}.panel-header{align-items:flex-start}.catalog-controls,.cart-lines,.totals-card{display:grid;gap:1rem}.search-input,.cash-tender__field input{width:100%}.product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.85rem}.cart-line,.state-card{border:1px solid rgba(148,163,184,.22);border-radius:20px;padding:1rem;background:#f8fafce6}.cart-line--invalid{border-color:#dc262647;background:#fef2f2e6}.warning{color:#b91c1c}.subtle{color:#64748b}.state-actions,.cash-tender__quick{display:flex;gap:.65rem;flex-wrap:wrap}.complete-sale{padding:1rem 1.2rem}.cash-tender{display:grid;gap:1rem;padding:1rem;border-radius:20px;border:1px solid rgba(148,163,184,.18);background:linear-gradient(180deg,#0f172a0a,#0f172a03)}.cash-tender__total{display:grid;gap:.15rem}.cash-tender__total strong{font-size:1.35rem}.cash-tender__summary{display:flex;justify-content:space-between;gap:1rem;align-items:baseline;padding:.9rem 1rem;border-radius:16px;background:#ffffffbf;border:1px solid rgba(148,163,184,.16)}.loading-banner{position:fixed;left:50%;bottom:1rem;transform:translate(-50%);background:#0f172af2;color:#fff;padding:.8rem 1rem;border-radius:999px}@media(max-width:640px){.topbar{flex-direction:column;align-items:stretch}.pos-layout{grid-template-columns:1fr}.pwa-toolbar{right:.75rem;left:.75rem;width:auto;bottom:.75rem}.pwa-toolbar__item{align-items:stretch;flex-direction:column}}@media(max-width:1080px){.pos-shell{--sidebar-width: 88px}.pos-sidebar{padding-inline:.75rem}.pos-brand{justify-content:center;padding-inline:0}.pos-brand__copy,.pos-user__copy,.pos-nav__item span,.pos-logout span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.pos-nav__item,.pos-logout,.pos-user{justify-content:center;padding-inline:0}.operating-context{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:1rem}.operating-context>div:nth-child(3){padding-left:0;border-left:0}}@media(max-width:820px){.dashboard-page{padding:1.5rem 1.25rem 2.5rem}.dashboard-main-grid,.dashboard-lower-grid{grid-template-columns:1fr}.summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-metrics>div:nth-child(3){padding-left:0;border-left:0}.summary-metrics>div:nth-child(n+3){border-top:1px solid #e9edf1}.quick-actions{grid-template-columns:1fr}.pos-shell .cashier-page{padding:1.4rem 1.25rem 2.5rem}}@media(max-width:640px){.dashboard-header{align-items:flex-start;flex-direction:column}.operating-context{grid-template-columns:1fr}.operating-context>div{min-height:56px;padding:.7rem 0;border-left:0;border-top:1px solid #e7ebef}.operating-context>div:first-child{border-top:0}.order-row{grid-template-columns:auto minmax(0,1fr) auto}.order-status{grid-column:2 / -1;justify-self:start}.selling-header{align-items:flex-start;flex-direction:column}}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.pos-shell .cashier-page{width:min(1500px,100%);min-height:auto;margin:0 auto;padding:1.7rem 1.8rem 2.5rem;gap:1.25rem}.selling-header{padding:0 .65rem}.selling-header .eyebrow{color:#1758e6;font-size:.73rem;font-weight:800;letter-spacing:.12em}.selling-header h1{margin-top:.35rem;color:#0d1b32;font-size:clamp(1.75rem,2.4vw,2.35rem);line-height:1.12}.selling-header p{margin:.45rem 0 0;color:#66758b}.sale-workspace{grid-template-columns:minmax(0,1.9fr) minmax(340px,1fr);gap:1.25rem;align-items:start}.sale-workspace .catalog-panel,.sale-workspace .cart-panel{padding:1.35rem;background:#fff;border:1px solid #dfe6ef;border-radius:16px;box-shadow:0 6px 24px #182a430b;-webkit-backdrop-filter:none;backdrop-filter:none}.sale-workspace .cart-panel{position:sticky;top:94px;display:grid;gap:1rem}.catalogue-heading{align-items:center;margin-bottom:.75rem}.catalogue-heading h2,.cart-panel .panel-header h2{margin:0;color:#0d1b32;font-size:1.18rem;letter-spacing:-.018em}.catalogue-heading p,.cart-panel .panel-header p{margin:.25rem 0 0;color:#6b788a;font-size:.82rem}.catalog-summary{display:grid;justify-items:end;color:#6b788a;font-size:.72rem;line-height:1.45}.catalog-refresh{margin-top:.35rem}.catalog-note{color:#7d8998}.catalog-controls{gap:.95rem;margin:0 -.15rem 1rem}.category-pills{display:flex;gap:.35rem;overflow-x:auto;padding:0 .15rem;border-bottom:1px solid #e7ebf1;scrollbar-width:thin}.category-pills .pill{position:relative;flex:0 0 auto;min-height:44px;padding:.65rem .9rem;color:#506078;background:transparent;border-radius:0;font-size:.82rem;font-weight:700}.category-pills .pill:after{content:"";position:absolute;right:.5rem;bottom:-1px;left:.5rem;height:2px;background:transparent}.category-pills .pill.is-active{color:#1758e6}.category-pills .pill.is-active:after{background:#1758e6}.catalog-search{min-height:46px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.65rem;padding:0 .8rem;color:#728096;background:#fff;border:1px solid #d7e0eb;border-radius:10px;box-shadow:0 2px 7px #182a4306}.catalog-search:focus-within{border-color:#7fa5ff;box-shadow:0 0 0 3px #1758e61a}.catalog-search .search-input{min-width:0;height:44px;padding:0;color:#17243a;background:transparent;border:0;outline:0}kbd{padding:.12rem .36rem;color:#607087;background:#f4f7fa;border:1px solid #dbe3ec;border-radius:5px;box-shadow:0 1px #dbe3ec;font:650 .67rem/1.2 Inter,system-ui,sans-serif}.product-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:.85rem}.product-card{position:relative;min-width:0;display:grid;grid-template-rows:132px auto;padding:.5rem;overflow:hidden;color:#14223a;text-align:left;background:#fff;border:1px solid #dfe6ef;border-radius:14px;box-shadow:0 3px 10px #1a2b4309;transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease}.product-card:hover:not(:disabled){transform:translateY(-2px);border-color:#8cacfb;box-shadow:0 9px 20px #1a2b4317}.product-card:focus-visible{outline:3px solid rgba(23,88,230,.22);outline-offset:2px}.product-card:disabled{cursor:not-allowed;opacity:.62}.product-card__image{display:grid;place-items:center;overflow:hidden;color:#8795a8;background:#f3f5f7;border-radius:10px}.product-card__image img{width:100%;height:100%;object-fit:contain}.product-card__body{min-width:0;display:grid;align-content:start;gap:.15rem;padding:.72rem .2rem .28rem}.product-card__name{overflow:hidden;color:#122039;font-size:.84rem;font-weight:760;text-overflow:ellipsis;white-space:nowrap}.product-card__price{color:#26384f;font-size:.8rem;font-weight:650}.product-card__stock{min-height:1.2em;overflow:hidden;color:#65748a;font-size:.72rem;text-overflow:ellipsis;white-space:nowrap}.product-card__stock.is-unavailable{color:#b44334}.catalogue-empty-filter{min-height:210px;display:grid;place-items:center;align-content:center;gap:.55rem;text-align:center}.sale-workspace .cart-lines{gap:0}.clear-order-confirmation{display:flex;align-items:center;justify-content:space-between;gap:.9rem;padding:.85rem;color:#6f2f28;background:#fff7f5;border:1px solid #f2d6d1;border-radius:11px}.clear-order-confirmation>div:first-child{min-width:0;display:grid;gap:.15rem}.clear-order-confirmation span{color:#8f5b54;font-size:.75rem}.clear-order-confirmation__actions{flex:0 0 auto;display:flex;gap:.45rem}.clear-order-confirmation__actions button{min-height:38px;padding:.5rem .7rem}.clear-order-confirmation__actions .danger{color:#fff;background:#bd3d32}.clear-order-confirmation__actions .danger:hover{background:#a83229}.sale-workspace .cart-line{padding:.9rem 0;background:transparent;border:0;border-top:1px solid #ebeff4;border-radius:0}.sale-workspace .cart-line:first-child{border-top:0}.cart-line__product{min-width:0;display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:.7rem}.cart-line__thumb{width:48px;height:48px;display:grid;place-items:center;overflow:hidden;color:#8795a8;background:#f2f4f6;border-radius:9px}.cart-line__thumb img{width:100%;height:100%;object-fit:contain}.cart-line__name{overflow:hidden;color:#152239;font-size:.84rem;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.cart-line__meta{color:#627187;font-size:.76rem}.cart-line__remove{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;padding:0;color:#d64a3a;background:#fff1ef;border-radius:9px}.sale-workspace .cart-line__actions{align-items:center;margin-top:.6rem;padding-left:3.7rem}.quantity-stepper{display:grid;grid-template-columns:34px 34px 34px;align-items:center;overflow:hidden;border:1px solid #dce4ed;border-radius:9px}.quantity-stepper button{width:34px;height:34px;display:grid;place-items:center;padding:0;color:#4c5d73;background:#f8fafc;border-radius:0}.quantity-stepper button:disabled{cursor:not-allowed}.quantity-stepper span{display:grid;place-items:center;height:34px;color:#152239;background:#fff;border-right:1px solid #e2e8f0;border-left:1px solid #e2e8f0;font-size:.82rem;font-weight:750}.cart-line__total{margin-left:auto;color:#17243a;font-size:.82rem;white-space:nowrap}.empty-cart-state{min-height:210px;display:grid;place-items:center;align-content:center;gap:.35rem;color:#76859a;text-align:center;border-style:dashed}.empty-cart-state strong{color:#405168}.empty-cart-state span{font-size:.8rem}.sale-workspace .totals-card{gap:.75rem;padding-top:1rem;border-top:1px solid #e5eaf0}.sale-workspace .totals-row{color:#45566d;font-size:.84rem}.order-total{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;margin-top:.2rem;padding-top:.95rem;color:#111f36;border-top:1px solid #dfe6ef;font-size:1.05rem;font-weight:800}.order-total strong{color:#1758e6;font-size:1.28rem;white-space:nowrap}.pay-button{min-height:54px;display:flex;align-items:center;justify-content:center;gap:.55rem;width:100%;color:#fff;background:#1758e6;border-radius:11px;box-shadow:0 10px 20px #1758e633;font-weight:780}.pay-button:hover:not(:disabled){background:#104bd0}.pay-button kbd{margin-left:auto;color:#dce7ff;background:#ffffff1f;border-color:#fff3;box-shadow:none}.payment-selection,.payment-confirmation{display:grid;gap:.85rem;padding:1rem;background:#f8faff;border:1px solid #dce5f2;border-radius:12px}.payment-stage-heading{display:flex;align-items:baseline;justify-content:space-between;gap:.8rem;color:#23344c}.payment-stage-heading span{font-weight:780}.payment-stage-heading strong{color:#1758e6;font-size:1.05rem;white-space:nowrap}.payment-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.payment-method,.cash-tender .state-actions button{min-height:54px;display:inline-flex;align-items:center;justify-content:center;gap:.45rem}.payment-method{min-width:0;min-height:78px;flex-direction:column;color:#1c4fa8;background:#fff;border:1px solid #cddcf2;font-weight:780}.payment-method:hover:not(:disabled){color:#1244a4;background:#edf4ff;border-color:#87aaf1}.payment-back{min-height:44px}.payment-confirmation>svg{color:#1758e6}.payment-confirmation p{margin:0;color:#5f6f84;font-size:.82rem;line-height:1.5}.sale-workspace .cash-tender{padding:0;background:transparent;border:0;border-radius:0}.sale-workspace .cash-tender__total{padding:1rem;background:#f1f5fb;border-radius:11px}.sale-workspace .cash-tender__field{display:grid;gap:.4rem;color:#405168;font-size:.82rem;font-weight:700}.sale-workspace .cash-tender__field input{min-height:48px;padding:.75rem;border:1px solid #d7e0eb;border-radius:10px}.sale-workspace .cash-tender__quick button{min-height:42px;padding:.65rem .85rem;color:#23446f;background:#edf3ff;border:1px solid #d6e3ff;border-radius:9px}.sale-workspace .cash-tender__summary{background:#f8fafc;border-radius:10px}.success-banner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;color:#155d3d;background:#ecf8f1;border:1px solid #ccebd9;border-radius:14px}.success-banner h2{margin:.15rem 0 0;font-size:1rem}.success-banner p{margin:.2rem 0 0;color:#43745d;font-size:.82rem}.success-banner button{color:#155d3d;background:#fff;border:1px solid #ccebd9}.sale-error{display:flex;align-items:center;justify-content:space-between;gap:1rem}.sale-shortcut-strip{position:sticky;bottom:.75rem;z-index:4;min-height:58px;display:flex;align-items:center;gap:1.25rem;padding:.8rem 1rem;color:#56667b;background:#f8fbff;border:1px solid #dce7f5;border-radius:13px;font-size:.78rem}.sale-shortcut-strip strong{color:#26384f}.sale-shortcut-strip>span{display:inline-flex;align-items:center;gap:.38rem;white-space:nowrap}.sale-shortcut-strip__tip{margin-left:auto;color:#718096}.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}.orders-page{width:min(1500px,100%);min-height:calc(100vh - 76px);margin:0 auto;padding:1.9rem 2rem 2.5rem;color:#132039}.orders-heading h1{margin:0;font-size:clamp(1.8rem,2.6vw,2.35rem);line-height:1.15;letter-spacing:-.04em}.orders-heading__row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.orders-refresh{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.62rem .9rem;color:#29415f;background:#fff;border:1px solid #dce4ee;border-radius:10px;font-size:.78rem;font-weight:740;box-shadow:0 3px 10px #0f1f340a}.orders-refresh:hover:not(:disabled){background:#f7f9fc;border-color:#cbd7e5}.orders-refresh:disabled{color:#7c8999;background:#f5f7fa;cursor:not-allowed}.orders-refresh .is-spinning{animation:orders-refresh-spin .8s linear infinite}@keyframes orders-refresh-spin{to{transform:rotate(360deg)}}.orders-heading p{margin:.45rem 0 0;color:#64748b}.orders-tabs{display:flex;gap:1.85rem;margin-top:1.45rem;overflow-x:auto;border-bottom:1px solid #dfe6ef}.orders-tabs button{position:relative;min-height:48px;padding:0 .35rem;color:#58677d;background:transparent;border-radius:0;font-size:.88rem;font-weight:720;white-space:nowrap}.orders-tabs button.is-active{color:#1758e6}.orders-tabs button.is-active:after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:3px;background:#1758e6;border-radius:3px 3px 0 0}.orders-workspace{min-height:690px;display:grid;grid-template-columns:minmax(330px,.86fr) minmax(0,1.75fr);gap:1.25rem;margin-top:1.15rem}.order-list-panel,.order-detail-panel{min-width:0;background:#fff;border:1px solid #e1e7ef;border-radius:17px;box-shadow:0 8px 26px #0f1f340b}.order-list-panel{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:1.15rem}.order-search{min-height:46px;display:flex;align-items:center;gap:.65rem;padding:0 .85rem;color:#607089;background:#fff;border:1px solid #dce4ee;border-radius:10px}.order-search:focus-within{border-color:#7da5f5;box-shadow:0 0 0 3px #1758e61a}.order-search input{min-width:0;width:100%;padding:0;color:#18243a;background:transparent;border:0;outline:0;font-size:.9rem}.order-list-scroll{min-height:0;margin-top:1rem;overflow-y:auto;scrollbar-width:thin}.order-date-group+.order-date-group{margin-top:.85rem}.order-date-group h2{margin:0 0 .45rem;color:#66758c;font-size:.78rem;font-weight:740}.order-history-row{width:100%;min-height:78px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.7rem .75rem;color:#17233a;background:transparent;border:1px solid transparent;border-bottom-color:#e8edf3;border-radius:10px;text-align:left}.order-history-row:hover{background:#f7f9fc}.order-history-row.is-selected{background:#eef4ff;border-color:#d4e2ff;box-shadow:inset 3px 0 #1758e6}.order-history-row__icon,.order-detail-header__icon{display:grid;place-items:center;color:#31527d;background:#f1f5fa;border-radius:9px}.order-history-row__icon{width:38px;height:38px}.order-history-row__main,.order-history-row__total{min-width:0;display:grid}.order-history-row__main>span{min-width:0;display:flex;align-items:baseline;gap:.55rem}.order-history-row__main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.87rem}.order-history-row__main time,.order-history-row__main small,.order-history-row__total small{color:#718096;font-size:.72rem}.order-history-row__total{justify-items:end;white-space:nowrap}.order-history-row__total strong{font-size:.82rem}.order-sync-label{display:inline-flex;align-items:center;color:#526176;font-size:.75rem;font-weight:680}.order-sync-label.is-synced{color:#177049}.order-sync-label.is-pending{color:#9a641c}.order-sync-label.is-attention{color:#b23c30}.orders-state,.order-detail-empty,.orders-access-state{min-height:260px;display:grid;place-content:center;justify-items:center;gap:.55rem;padding:2rem;color:#6b788b;text-align:center}.orders-state strong,.order-detail-empty strong{color:#26364d}.orders-state.is-error svg{color:#b23c30}.orders-state .text-button{padding:.35rem}.orders-pagination{min-height:54px;display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;padding-top:.8rem;border-top:1px solid #e8edf3;color:#64748b;font-size:.78rem}.orders-pagination>div{display:flex;gap:.45rem}.orders-pagination button{width:38px;height:36px;display:grid;place-items:center;padding:0;color:#29415f;background:#fff;border:1px solid #dce4ee;border-radius:9px}.orders-pagination button:disabled{color:#a8b1bf;background:#f7f9fb;cursor:not-allowed}.order-detail-panel{padding:1.45rem 1.55rem}.order-detail-header{min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:1rem}.order-detail-header>div{min-width:0;display:flex;align-items:center;gap:.75rem}.order-detail-header__icon{width:40px;height:40px;flex:0 0 40px}.order-detail-header h2{min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(1.35rem,2vw,1.8rem);letter-spacing:-.035em}.order-completed-chip{display:inline-flex;align-items:center;gap:.35rem;padding:.45rem .7rem;color:#176b45;background:#e9f7ef;border-radius:999px;font-size:.76rem;font-weight:720;white-space:nowrap}.order-metadata{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));margin-top:1.4rem;padding:.5rem 0 1.15rem;border-bottom:1px solid #e4e9f0}.order-fulfillment-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.85rem 1rem;margin-top:1.2rem;padding:1rem;background:#f2f6ff;border:1px solid #dce7fb;border-radius:12px}.order-fulfillment-actions>div:first-child{display:grid;gap:.25rem}.order-fulfillment-actions>div:first-child span{color:#62738c;font-size:.76rem}.order-fulfillment-actions>div:nth-child(2){display:flex;gap:.6rem}.order-fulfillment-actions button{min-height:42px;padding:.65rem .95rem;border-radius:9px;font-size:.78rem;font-weight:760}.order-primary-action{background:#1758e6}.order-cancel-action{color:#a9362c;background:#fff;border:1px solid #e8c9c5}.order-fulfillment-actions button:disabled{opacity:.55;cursor:not-allowed}.order-fulfillment-actions p{grid-column:1 / -1;margin:0;color:#a9362c;font-size:.78rem;font-weight:650}.order-customer-summary{margin-top:1.15rem;padding:.9rem 1rem;background:#fbfcfe;border:1px solid #e5eaf1;border-radius:11px}.order-customer-summary h3{margin:0 0 .7rem;font-size:.86rem}.order-customer-summary>div{display:flex;flex-wrap:wrap;gap:1rem 2rem}.order-customer-summary span{display:grid;gap:.2rem}.order-customer-summary small{color:#718096;font-size:.7rem}.order-customer-summary strong{font-size:.82rem}.order-metadata>div{min-width:0;display:grid;gap:.3rem;padding:0 1rem;border-left:1px solid #e8edf3}.order-metadata>div:first-child{padding-left:0;border-left:0}.order-metadata span,.order-record-footer span{color:#718096;font-size:.75rem}.order-metadata strong{min-width:0;display:flex;align-items:center;gap:.35rem;overflow:hidden;text-overflow:ellipsis;font-size:.84rem}.order-items-section{margin-top:1.3rem}.order-items-section h3,.order-payment-summary h3{margin:0 0 .75rem;font-size:.9rem}.order-items-table__head,.order-item-row{display:grid;grid-template-columns:minmax(180px,1.7fr) minmax(110px,.8fr) 70px minmax(110px,.8fr);align-items:center;gap:1rem}.order-items-table__head{min-height:38px;color:#718096;border-bottom:1px solid #dfe5ed;font-size:.75rem}.order-items-table__head span:nth-child(n+2),.order-item-row>span:nth-child(n+2),.order-item-row>strong:last-child{text-align:right}.order-item-row{min-height:70px;border-bottom:1px solid #e8edf3;font-size:.84rem}.order-item-name{min-width:0;display:grid}.order-item-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-item-name small{color:#7b8797;font-size:.72rem}.order-summary-grid{display:grid;grid-template-columns:1fr 1fr;margin-top:1.15rem;border-bottom:1px solid #e5eaf1}.order-totals,.order-payment-summary{padding:.2rem 1.2rem 1.25rem 0}.order-payment-summary{padding-left:1.5rem;border-left:1px solid #e5eaf1}.order-totals>div,.order-payment-summary>div{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:36px;font-size:.82rem}.order-payment-summary>div span{display:inline-flex;align-items:center;gap:.45rem}.order-grand-total{margin-top:.45rem;padding-top:.75rem;border-top:1px solid #dfe5ed;font-size:1rem!important}.order-grand-total strong{color:#1758e6;font-size:1.15rem}.order-record-footer{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin-top:1.4rem;padding:1rem;background:#f7f9fc;border-radius:12px}.order-record-footer>div{min-width:0;display:grid;gap:.25rem}.order-record-footer strong{min-width:0;display:flex;align-items:center;gap:.35rem;overflow-wrap:anywhere;color:#2c3b51;font-size:.75rem}.order-record-footer strong svg{color:#1e9b61}.order-record-footer .is-error strong,.order-record-footer .is-error strong svg{color:#b23c30}.stock-lookup-page{min-height:100%;padding:2rem clamp(1.25rem,2.7vw,2.7rem) 2.6rem;color:#111d33;background:radial-gradient(circle at 18% 0%,rgba(53,106,230,.035),transparent 31rem),#fbfcfe}.stock-lookup-header{margin-bottom:1.15rem}.stock-lookup-kicker{margin:0 0 .45rem;color:#1558e8!important;font-size:.73rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase}.stock-lookup-header h1{margin:0;font-size:clamp(1.72rem,2.4vw,2.2rem);letter-spacing:-.045em}.stock-lookup-header>p:last-child{margin:.35rem 0 0;color:#66758d;font-size:.91rem}.stock-lookup-workspace{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(350px,.9fr);gap:1.35rem;align-items:start}.stock-results-column,.stock-detail-panel{min-width:0;background:#fff;border:1px solid #e3e8ef;border-radius:16px;box-shadow:0 8px 28px #1e325009}.stock-results-column{padding:1.1rem}.stock-detail-panel{position:sticky;top:1rem;align-self:stretch;display:flex;flex-direction:column;min-height:565px;padding:1.25rem}.stock-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.7rem}.stock-search{min-width:0;height:46px;display:flex;align-items:center;gap:.65rem;padding:0 .9rem;color:#536987;background:#fff;border:1px solid #d8e0ea;border-radius:10px;transition:border-color .15s ease,box-shadow .15s ease}.stock-search:focus-within{border-color:#2b67e7;box-shadow:0 0 0 3px #2b67e71c}.stock-search input{min-width:0;flex:1;padding:0;color:#1d2a40;background:transparent;border:0;outline:0;font:inherit;font-size:.86rem}.stock-search input::placeholder{color:#8190a5}.stock-search button{display:grid;place-items:center;padding:.2rem;color:#718096;background:transparent;border:0}.stock-scan-button,.stock-filter-toggle{display:inline-flex;align-items:center;justify-content:center;gap:.48rem;padding:0 1rem;color:#174dbd;background:#f8faff;border:1px solid #d6e0f0;border-radius:10px;font-weight:720}.stock-scan-button.is-ready{color:#fff;background:#1858e8;border-color:#1858e8}.stock-tools-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:.85rem}.stock-type-tabs button,.stock-filter-toggle{height:39px}.stock-type-tabs{display:flex;gap:.4rem}.stock-type-tabs button{padding:0 1rem;color:#fff;background:#1858e8;border:1px solid #1858e8;border-radius:8px;font-weight:720}.stock-type-tabs button[aria-selected=false]{color:#31435b;background:#fff;border-color:#dce3ec}.stock-filter-toggle{color:#253852;background:#fff}.stock-filter-panel{margin-top:.75rem;padding:.8rem;background:#f7f9fc;border:1px solid #e4eaf1;border-radius:10px}.stock-filter-panel label{display:grid;grid-template-columns:auto minmax(180px,280px);align-items:center;gap:.8rem;color:#536176;font-size:.78rem;font-weight:680}.stock-filter-panel select{height:38px;padding:0 .65rem;color:#22344d;background:#fff;border:1px solid #d5deea;border-radius:8px}.stock-status-filters{display:flex;gap:.55rem;margin-top:.9rem;overflow-x:auto;scrollbar-width:thin}.stock-status-filters button{min-height:39px;display:inline-flex;align-items:center;gap:.42rem;padding:.55rem .85rem;flex:0 0 auto;color:#31435b;background:#fff;border:1px solid #dce3ec;border-radius:9px;font-size:.78rem;font-weight:680}.stock-status-filters .status-available svg{color:#1a9b61}.stock-status-filters .status-low svg{color:#e78a17}.stock-status-filters .status-out svg{color:#e14c44}.stock-status-filters .status-untracked svg{color:#687991}.stock-status-filters button.is-active{color:#174fc8;background:#eef4ff;border-color:#bcd0fa;box-shadow:inset 0 0 0 1px #d4e1ff}.stock-data-notice,.stock-action-notice{display:flex;align-items:center;gap:.45rem;margin-top:.75rem;padding:.65rem .75rem;color:#7b581d;background:#fff9ec;border:1px solid #f0dfb6;border-radius:9px;font-size:.77rem}.stock-action-notice{color:#254f9b;background:#f2f6ff;border-color:#d7e3fb}.stock-result-summary{margin:.95rem 0 .55rem;color:#65758d;font-size:.79rem}.stock-results-list{min-height:384px}.stock-result-row{width:100%;min-height:64px;display:grid;grid-template-columns:48px minmax(0,1fr) auto 20px;align-items:center;gap:.75rem;padding:.55rem .7rem;color:#18263d;background:#fff;border:1px solid #e4e9ef;border-radius:10px;text-align:left}.stock-result-row+.stock-result-row{margin-top:.48rem}.stock-result-row:hover{background:#f9fbfe}.stock-result-row.is-selected{background:#fbfdff;border-color:#3976f1;box-shadow:0 0 0 2px #3976f112}.stock-item-visual{width:48px;height:48px;display:grid;place-items:center;overflow:hidden;color:#44658c;background:linear-gradient(145deg,#f0f3f7,#fafbfc);border:1px solid #e5e9ee;border-radius:9px}.stock-item-visual.is-large{width:92px;height:92px;flex:0 0 92px;border-radius:12px}.stock-item-visual__image{width:100%;height:100%;object-fit:contain}.stock-result-row__identity,.stock-result-row__quantity{min-width:0;display:grid;gap:.18rem}.stock-result-row__identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.84rem}.stock-result-row__identity small{color:#718096;font-size:.72rem}.stock-result-row__quantity{justify-items:end;white-space:nowrap}.stock-result-row__quantity strong{font-size:.82rem}.stock-status-chip{padding:.22rem .48rem;border-radius:999px;font-size:.65rem;font-weight:760}.stock-status-chip.is-available{color:#14784a;background:#eaf7f0}.stock-status-chip.is-low{color:#b9680a;background:#fff4e3}.stock-status-chip.is-out{color:#c63831;background:#fff0ef}.stock-status-chip.is-untracked{color:#5f6d80;background:#eef2f6}.stock-pagination{min-height:49px;display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-top:.7rem;padding-top:.75rem;color:#67768c;border-top:1px solid #e7ebf1;font-size:.75rem}.stock-pagination>div{display:flex;align-items:center;gap:.65rem}.stock-pagination button{width:34px;height:34px;display:grid;place-items:center;padding:0;color:#2b4669;background:#fff;border:1px solid #dbe3ed;border-radius:8px}.stock-pagination button:disabled{color:#aab3c0;background:#f7f9fb}.stock-detail-heading{display:flex;align-items:center;gap:1rem}.stock-detail-heading>div{min-width:0}.stock-detail-heading h2{margin:0 0 .55rem;overflow-wrap:anywhere;font-size:1.34rem;letter-spacing:-.035em}.stock-detail-status{display:inline-flex;align-items:center;gap:.42rem;color:#536176;font-size:.78rem;font-weight:720}.stock-detail-status i{width:9px;height:9px;background:currentColor;border-radius:50%}.stock-detail-status.is-available{color:#178653}.stock-detail-status.is-low{color:#bd6b0e}.stock-detail-status.is-out{color:#c9433b}.stock-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.15rem 1.4rem;margin:1.35rem 0 0}.stock-detail-grid>div{min-width:0}.stock-detail-grid dt{color:#728096;font-size:.7rem}.stock-detail-grid dd{margin:.25rem 0 0;overflow-wrap:anywhere;color:#17243a;font-size:.82rem;font-weight:640}.stock-summary-card{margin-top:1.35rem;padding:.95rem;background:#f4faf7;border:1px solid #dceee5;border-radius:11px}.stock-summary-card.is-low{background:#fffbf3;border-color:#f1e3c6}.stock-summary-card.is-out{background:#fff7f6;border-color:#f2d8d5}.stock-summary-card.is-untracked{background:#f7f9fc;border-color:#e2e7ee}.stock-summary-card h3{display:flex;align-items:center;gap:.45rem;margin:0 0 .8rem;font-size:.78rem}.stock-summary-card>div{display:grid;grid-template-columns:repeat(3,1fr)}.stock-summary-card>div span{min-width:0;display:grid;gap:.25rem;padding:0 .7rem;border-left:1px solid #e2e9e6}.stock-summary-card>div span:first-child{padding-left:0;border-left:0}.stock-summary-card small{color:#6e7b8d;font-size:.65rem}.stock-summary-card strong{overflow-wrap:anywhere;color:#1b7e50;font-size:.78rem}.stock-summary-card.is-low strong{color:#b9690b}.stock-summary-card.is-out strong{color:#c44239}.stock-summary-card.is-untracked strong{color:#536176}.stock-summary-card p{display:flex;align-items:flex-start;gap:.42rem;margin:.9rem 0 0;padding:.65rem;color:#435d83;background:#e8f0ffbf;border-radius:8px;font-size:.7rem;line-height:1.45}.stock-detail-actions{display:grid;grid-template-columns:1.1fr 1fr;gap:.6rem;margin-top:auto;padding-top:1rem}.stock-detail-actions button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border-radius:9px;font-weight:730}.stock-add-sale{color:#fff;background:#1858e8;border:1px solid #1858e8}.stock-add-sale:disabled{color:#8995a7;background:#edf1f5;border-color:#e1e6ed;cursor:not-allowed}.stock-view-sale{color:#29415f;background:#f8faff;border:1px solid #dce4ef}.stock-lookup-state{min-height:260px;display:grid;place-content:center;justify-items:center;gap:.5rem;padding:1.5rem;color:#6b788c;text-align:center}.stock-lookup-state p{margin:0;font-size:.78rem}.stock-lookup-state button{color:#1858e8;background:transparent;border:0;font-weight:720}.stock-lookup-state.is-error svg{color:#c2463d}.stock-detail-empty{min-height:510px}.shift-page{min-height:100%;padding:1.7rem clamp(1.25rem,2.5vw,2.65rem) 2.6rem;color:#111d33;background:radial-gradient(circle at 18% 0%,rgba(53,106,230,.035),transparent 31rem),#fbfcfe}.shift-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}.shift-kicker{margin:0 0 .4rem;color:#1558e8!important;font-size:.72rem;font-weight:820;letter-spacing:.11em;text-transform:uppercase}.shift-header h1{margin:0;font-size:clamp(1.72rem,2.3vw,2.15rem);letter-spacing:-.045em}.shift-header p:last-child{display:flex;align-items:center;gap:.55rem;margin:.35rem 0 0;color:#66758d;font-size:.86rem}.shift-header p i{font-style:normal;color:#8d9aab}.shift-status{display:inline-flex;padding:.2rem .62rem;border-radius:99px;font-size:.72rem;font-weight:780}.shift-status.is-open{color:#087846;background:#e9f8ef}.shift-refresh{display:inline-flex;align-items:center;gap:.55rem;min-height:42px;padding:.65rem 1rem;color:#2d3e57;background:#fff;border:1px solid #dde4ed;border-radius:10px;font-size:.8rem;font-weight:700}.is-spinning{animation:shift-spin .85s linear infinite}@keyframes shift-spin{to{transform:rotate(360deg)}}.shift-notice{display:flex;align-items:center;gap:.6rem;margin:-.35rem 0 1rem;padding:.72rem .9rem;color:#28538c;background:#f0f6ff;border:1px solid #d9e7fb;border-radius:10px;font-size:.78rem}.shift-notice span{flex:1}.shift-notice button{display:grid;place-items:center;padding:.25rem;color:inherit;background:transparent}.shift-card,.shift-open-card,.shift-guidance-card,.shift-state{background:#fff;border:1px solid #e1e7ef;border-radius:15px;box-shadow:0 8px 28px #1e325008}.shift-state{min-height:320px;display:grid;place-content:center;justify-items:center;gap:.45rem;padding:2rem;color:#6a788c;text-align:center}.shift-state h1,.shift-state h2,.shift-state p{margin:0}.shift-state p{font-size:.8rem}.shift-state button{margin-top:.5rem;padding:.6rem 1rem;background:#1858e8;border-radius:9px}.shift-state.is-error svg{color:#c3443c}.shift-empty-layout{max-width:940px;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.8fr);gap:1.3rem;margin:2rem auto 0}.shift-open-card{padding:2.1rem}.shift-open-icon{width:54px;height:54px;display:grid;place-items:center;color:#1858e8;background:#eef4ff;border-radius:14px}.shift-card-eyebrow{margin:1.25rem 0 .35rem;color:#1858e8;font-size:.73rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.shift-open-card h2{margin:0;font-size:1.45rem;letter-spacing:-.035em}.shift-open-card>p:last-of-type{max-width:550px;margin:.55rem 0 1.5rem;color:#66758d;font-size:.87rem}.shift-open-card form{display:grid;gap:.55rem}.shift-open-card label,.shift-close-modal label{color:#35445b;font-size:.77rem;font-weight:730}.shift-money-input{min-height:48px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.7rem;padding:0 .85rem;color:#66758d;background:#fff;border:1px solid #d8e0eb;border-radius:10px}.shift-money-input:focus-within{border-color:#3471ef;box-shadow:0 0 0 3px #3471ef1c}.shift-money-input input{min-width:0;padding:0;color:#132039;background:transparent;border:0;outline:0;font-weight:700}.shift-money-input span{color:#6f7d91;font-size:.73rem;font-weight:700}.shift-open-card form>button{min-height:47px;margin-top:.45rem;background:#1858e8;border-radius:10px;font-size:.84rem;font-weight:760;box-shadow:0 8px 18px #1858e833}.shift-guidance-card{padding:1.8rem}.shift-guidance-card h2{margin:0 0 1.25rem;font-size:1rem}.shift-guidance-card>div{display:flex;align-items:flex-start;gap:.75rem;padding:.9rem 0;border-top:1px solid #eef1f5}.shift-guidance-card>div:first-of-type{border-top:0}.shift-guidance-card svg{flex:0 0 auto;color:#1aa464}.shift-guidance-card span{display:grid;gap:.2rem}.shift-guidance-card strong{font-size:.82rem}.shift-guidance-card small{color:#6f7d91;font-size:.72rem;line-height:1.5}.shift-top-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(300px,.9fr);gap:1.15rem}.shift-card{min-width:0;padding:1.35rem}.shift-card-title{display:flex;align-items:center;gap:.7rem;margin-bottom:1.15rem}.shift-card-title>span{width:30px;height:30px;display:grid;place-items:center;color:#1858e8;background:#edf3ff;border-radius:8px}.shift-card-title>span.is-green{color:#168b55;background:#eaf8f0}.shift-card-title h2{margin:0;font-size:1rem}.shift-card-title em{margin-left:auto;padding:.2rem .55rem;color:#087846;background:#e9f8ef;border-radius:99px;font-size:.67rem;font-style:normal;font-weight:760}.shift-time-grid{display:grid;grid-template-columns:1fr 1fr;padding:.45rem 0 1.15rem;border-bottom:1px solid #e7ecf2}.shift-time-grid>div{display:grid;gap:.18rem;padding:0 .4rem}.shift-time-grid>div+div{padding-left:1.5rem;border-left:1px solid #e5eaf1}.shift-time-grid small,.shift-metrics small{color:#6f7e93;font-size:.69rem}.shift-time-grid strong{font-size:1.1rem}.shift-time-grid span{color:#53647d;font-size:.7rem}.is-blue{color:#0759ee!important}.is-green{color:#0d9858!important}.is-purple{color:#6b43d6!important}.shift-metrics{display:grid;grid-template-columns:.75fr 1.25fr 1fr;padding-top:1.05rem}.shift-metrics>div{min-width:0;display:grid;gap:.3rem;padding:0 .65rem}.shift-metrics>div:first-child{padding-left:0}.shift-metrics>div+div{border-left:1px solid #e5eaf1}.shift-metrics strong{white-space:nowrap;font-size:.84rem}.shift-cash-card dl{display:grid;gap:0;margin:0}.shift-cash-card dl>div{display:flex;justify-content:space-between;gap:1rem;padding:.55rem 0}.shift-cash-card dt{color:#53637a;font-size:.77rem}.shift-cash-card dd{margin:0;font-size:.78rem;font-weight:760}.shift-cash-card .shift-expected{margin-top:.45rem;padding-top:.85rem;border-top:1px solid #e5eaf1}.shift-cash-card .shift-expected dt{color:#162238;font-weight:750}.shift-cash-card .shift-expected dd{color:#095ce7;font-size:.92rem}.shift-cash-card>p{display:flex;align-items:flex-start;gap:.5rem;margin:.7rem 0 0;padding:.65rem .75rem;color:#60728b;background:#f2f6ff;border:1px solid #e0e9f8;border-radius:8px;font-size:.68rem}.shift-actions-card{display:flex;flex-direction:column}.shift-close-action{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.75rem;width:100%;min-height:65px;padding:.85rem 1rem;text-align:left;background:linear-gradient(135deg,#1760ee,#074ce4);border-radius:10px;box-shadow:0 8px 18px #1858e833}.shift-close-action span{display:grid;gap:.1rem}.shift-close-action strong{font-size:.82rem}.shift-close-action small{color:#d8e5ff;font-size:.69rem;font-weight:480}.shift-close-action:disabled{box-shadow:none;cursor:not-allowed}.shift-sync-warning,.shift-safe-note{display:flex;align-items:flex-start;gap:.45rem;margin:.85rem 0 0;color:#9d5b10;font-size:.69rem;line-height:1.45}.shift-safe-note{color:#397057}.shift-lower-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(320px,.95fr);gap:1.15rem;margin-top:1.15rem}.shift-overview-card,.shift-recent-card{min-height:325px}.shift-section-tabs{margin:-.2rem -.25rem 1rem;padding:0 .75rem .85rem;border-bottom:1px solid #e4e9f0}.shift-section-tabs strong{display:inline-block;position:relative;color:#1558e8;font-size:.78rem}.shift-section-tabs strong:after{content:"";position:absolute;left:0;right:0;bottom:-.94rem;height:2px;background:#1558e8}.shift-overview-list{max-width:510px}.shift-overview-list>div{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.65rem .45rem}.shift-overview-list span{display:inline-flex;align-items:center;gap:.65rem;color:#526279;font-size:.77rem}.shift-overview-list span svg{color:#168c56}.shift-overview-list strong{font-size:.78rem}.shift-overview-list .shift-net{margin-top:.4rem;padding-top:.9rem;border-top:1px solid #e5eaf1}.shift-overview-list .shift-net span,.shift-overview-list .shift-net strong{color:#172238;font-weight:790}.shift-recent-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:.6rem}.shift-recent-heading h2{margin:0;font-size:.98rem}.shift-recent-heading span{color:#1758e6;font-size:.7rem;font-weight:700}.shift-recent-list>div{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.72rem .6rem;border-top:1px solid #edf1f5}.shift-recent-list>div.is-current{margin:0 -.05rem;padding-inline:.65rem;background:#f0faf5;border:1px solid #d7eee2;border-radius:8px}.shift-recent-list span{min-width:0;display:grid;gap:.16rem}.shift-recent-list span:last-child{justify-items:end;text-align:right}.shift-recent-list em{color:#26364e;font-size:.72rem;font-style:normal}.shift-recent-list .is-current em{color:#0d9354}.shift-recent-list strong{font-size:.75rem}.shift-recent-list small{color:#6d7c90;font-size:.65rem}.shift-recent-list i{font-style:normal}.shift-recent-error,.shift-recent-empty{margin:2.5rem 0;color:#7a8799;text-align:center;font-size:.76rem}.shift-modal-backdrop{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:1rem;background:#0714278f;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.shift-close-modal{width:min(500px,100%);overflow:hidden;background:#fff;border-radius:16px;box-shadow:0 24px 60px #04112647}.shift-close-modal>header{display:flex;align-items:center;justify-content:space-between;padding:1.3rem 1.4rem;border-bottom:1px solid #e7ebf1}.shift-close-modal header p{margin:0 0 .2rem;color:#1858e8;font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.shift-close-modal header h2{margin:0;font-size:1.2rem}.shift-close-modal header button{display:grid;place-items:center;padding:.4rem;color:#40516a;background:#f5f7fa;border-radius:8px}.shift-close-expected{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1.25rem 1.4rem 0;padding:1rem;background:#f2f6ff;border:1px solid #e0e9f8;border-radius:10px}.shift-close-expected span{display:grid;color:#526279;font-size:.75rem}.shift-close-expected small{color:#8490a2;font-size:.64rem}.shift-close-expected strong{color:#095be6;font-size:1rem}.shift-close-modal form{display:grid;gap:.6rem;padding:1.2rem 1.4rem 1.4rem}.shift-difference{display:flex;justify-content:space-between;margin-top:.45rem;padding:.8rem 0;border-top:1px solid #e5eaf1;border-bottom:1px solid #e5eaf1;font-size:.78rem}.shift-difference.is-negative strong{color:#d03932}.shift-difference.is-positive strong{color:#0b9957}.shift-close-warning{display:flex;align-items:flex-start;gap:.5rem;margin:.25rem 0;color:#845319;font-size:.69rem}.shift-modal-actions{display:grid;grid-template-columns:.85fr 1.35fr;gap:.7rem;margin-top:.35rem}.shift-modal-actions button{min-height:43px;padding:.65rem .8rem;border-radius:9px;font-size:.76rem;font-weight:740}.shift-modal-actions button:first-child{color:#314158;background:#fff;border:1px solid #d8e0ea}.shift-modal-actions button:last-child{background:#1558e8}@media(max-width:1220px){.pos-operational-bar{grid-template-columns:minmax(150px,1fr) minmax(190px,1.2fr) auto auto}.operational-time{display:none}.sale-workspace{grid-template-columns:minmax(0,1.55fr) minmax(320px,.9fr)}.product-grid{grid-template-columns:repeat(auto-fill,minmax(138px,1fr))}.orders-workspace{grid-template-columns:minmax(300px,.9fr) minmax(0,1.45fr)}.order-metadata{grid-template-columns:1fr 1fr;gap:1rem 0}.order-metadata>div:nth-child(3){padding-left:0;border-left:0}.stock-lookup-workspace{grid-template-columns:minmax(0,1.35fr) minmax(330px,.9fr)}.stock-status-filters button{padding-inline:.7rem}.shift-top-grid{grid-template-columns:1fr 1fr}.shift-actions-card{grid-column:1 / -1}}@media(max-width:1080px){.pos-operational-bar{grid-template-columns:minmax(150px,1fr) minmax(180px,1fr) auto auto;padding-inline:1.25rem}.operational-business{display:none}.sale-workspace{grid-template-columns:minmax(0,1.35fr) minmax(300px,.9fr)}.pos-shell .cashier-page,.pos-update-region{padding-inline:1.25rem}.sale-shortcut-strip{position:static}.orders-page{padding-inline:1.25rem}.orders-workspace{grid-template-columns:1fr}.order-list-panel{max-height:560px}.stock-lookup-page{padding-inline:1.25rem}.stock-lookup-workspace{grid-template-columns:1fr}.stock-detail-panel{position:static;min-height:0}.stock-detail-empty{min-height:260px}.shift-page{padding-inline:1.25rem}.shift-top-grid,.shift-lower-grid{grid-template-columns:1fr}.shift-actions-card{grid-column:auto}}@media(max-width:860px){.pos-operational-bar{grid-template-columns:minmax(0,1fr) auto auto;min-height:68px}.operational-register{font-size:.76rem}.operational-cashier .operational-copy{display:none}.sale-workspace{grid-template-columns:1fr}.sale-workspace .cart-panel{position:static}.sale-workspace .cart-panel.has-items{order:-1}.product-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}.orders-page,.stock-lookup-page,.shift-page{padding-top:1.4rem}.shift-empty-layout{grid-template-columns:1fr;margin-top:1rem}}@media(max-width:640px){.pos-operational-bar{grid-template-columns:minmax(0,1fr) auto;gap:.7rem}.operational-register{display:none}.pos-shell .cashier-page{padding:1.25rem .85rem 2.5rem}.pos-update-region{padding:.65rem .85rem 0}.pos-update-region .pwa-toolbar__item{align-items:flex-start}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-card{grid-template-rows:110px auto}.clear-order-confirmation{align-items:stretch;flex-direction:column}.clear-order-confirmation__actions button{flex:1}.sale-shortcut-strip{flex-wrap:wrap;gap:.75rem 1rem}.sale-shortcut-strip__tip{width:100%;margin-left:0;white-space:normal}.orders-page{padding:1.15rem .85rem 2rem}.orders-heading__row{align-items:flex-start}.orders-refresh{flex:0 0 auto}.orders-tabs{gap:1.2rem;overflow-x:auto}.order-list-panel,.order-detail-panel{border-radius:14px}.order-detail-panel{padding:1rem}.order-detail-header>div{align-items:flex-start;flex-wrap:wrap}.order-detail-header h2{width:calc(100% - 54px)}.order-completed-chip{margin-left:54px}.order-fulfillment-actions{grid-template-columns:1fr}.order-fulfillment-actions>div:nth-child(2){flex-wrap:wrap}.order-metadata{grid-template-columns:1fr}.order-metadata>div{padding:.7rem 0;border-left:0;border-top:1px solid #edf1f5}.order-metadata>div:first-child{border-top:0}.order-items-table{overflow-x:auto}.order-items-table__head,.order-item-row{min-width:590px}.order-summary-grid{grid-template-columns:1fr}.order-totals{padding-right:0}.order-payment-summary{padding:1rem 0 1.25rem;border-top:1px solid #e5eaf1;border-left:0}.stock-lookup-page{padding:1.15rem .85rem 2rem}.stock-results-column,.stock-detail-panel{border-radius:14px}.stock-search-row{grid-template-columns:1fr}.stock-scan-button{min-height:42px}.stock-result-row{grid-template-columns:44px minmax(0,1fr) 18px}.stock-result-row__quantity{grid-column:2 / 3;justify-items:start}.stock-result-row>svg{grid-column:3;grid-row:1 / span 2}.stock-pagination{align-items:flex-start;flex-direction:column}.stock-detail-grid{grid-template-columns:1fr;gap:.9rem}.stock-summary-card>div{grid-template-columns:1fr;gap:.7rem}.stock-summary-card>div span{padding:.65rem 0 0;border-top:1px solid #e2e9e6;border-left:0}.stock-summary-card>div span:first-child{padding-top:0;border-top:0}.stock-detail-actions{grid-template-columns:1fr}.shift-page{padding:1.15rem .85rem 2rem}.shift-header{align-items:flex-start}.shift-header>div{min-width:0}.shift-header p:last-child{align-items:flex-start;flex-wrap:wrap}.shift-refresh{padding-inline:.7rem}.shift-top-grid,.shift-lower-grid{gap:.85rem}.shift-card{padding:1rem;border-radius:13px}.shift-time-grid,.shift-metrics{grid-template-columns:1fr;gap:.75rem}.shift-time-grid>div,.shift-metrics>div{padding:0}.shift-time-grid>div+div,.shift-metrics>div+div{padding-top:.75rem;border-top:1px solid #e5eaf1;border-left:0}.shift-modal-actions{grid-template-columns:1fr}}
