/* Palette: porcelain #f5f7fb, white #fff, graphite #202c40,
   cobalt #2855d9, steel #6d788c, amber #956316.
   The product photographs lead; only the working bill has a paper-like frame. */
:root{--ink:#202c40;--muted:#6d788c;--green:#2855d9;--green-dark:#1e43b0;--lime:#eaf0ff;--bg:#f5f7fb;--line:#e1e6ef;--white:#fff;--red:#bb3e48;--amber:#956316;font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.4}h2{font-size:24px;letter-spacing:-.5px}h3{font-size:18px}strong{font-weight:600}[hidden]{display:none!important}
button:focus-visible,a:focus-visible{outline:3px solid #7e9ef4;outline-offset:4px}input,select,textarea{width:100%;border:1px solid #d9dfeb;border-radius:8px;padding:12px;background:#fff;color:var(--ink);min-width:0;font-size:16px;min-height:46px;transition:border-color .15s}input:focus,select:focus,textarea:focus{outline:3px solid #2855d91c;border-color:var(--green)}input[readonly]{background:#f5f7fb;color:var(--muted)}label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:500;margin-bottom:18px}input[type=file]{min-height:0;font-size:14px;padding:8px}input::file-selector-button{font:inherit;border:0;background:var(--lime);color:var(--green);padding:9px 14px;border-radius:5px;margin-right:12px;cursor:pointer}
.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.primary,.secondary,.danger,.text-button,.icon-button,.danger-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;min-height:44px;padding:11px 18px;border-radius:8px;font-size:14px;font-weight:550;line-height:1.4;transition:background .15s,border-color .15s}.primary{background:var(--green);color:#fff}.primary:hover:not(:disabled){background:var(--green-dark)}.secondary{border-color:#d8dfeb;background:#fff;color:var(--ink)}.secondary:hover{border-color:#a9badc;background:#f9fbff}.danger{background:var(--red);color:#fff}.text-button,.danger-link{background:transparent;padding:8px;color:var(--green)}.danger-link{color:var(--red)}.text-button:hover{background:#edf2ff}.icon-button{border:0;background:transparent;color:var(--muted);width:44px;height:44px;padding:10px;flex-shrink:0}.icon-button:hover{background:var(--bg)}.tiny{width:36px;min-height:36px;height:36px;padding:7px}.small{padding:9px 14px;min-height:42px}.wide{width:100%}.muted{color:var(--muted);font-size:14px}.right{text-align:right}.low{color:var(--amber)!important}.loading{padding:100px 24px;text-align:center}.welcome{max-width:1000px;padding:36px 24px;margin:auto}.welcome>.brand{margin-bottom:70px}.eyebrow{font-size:14px;color:var(--muted);display:inline-block;margin-bottom:16px}.local-note{font-size:13px;color:var(--muted);text-align:center}
.brand{display:flex;align-items:center;gap:10px;font-weight:650;font-size:22px;letter-spacing:-.6px;white-space:nowrap}.brand img{width:36px;height:36px}.brand-copy{display:flex;flex-direction:column;gap:3px;line-height:1.2;white-space:nowrap}.brand-copy>strong{font-size:22px;font-weight:650;letter-spacing:1px}.brand-copy>span{font-size:12px;font-weight:400;color:var(--muted);letter-spacing:1px}.form-error{color:var(--red);font-size:14px;margin:10px 0}.form-error:empty{display:none}

/* Staff workspace */
.app-shell{display:flex;min-height:100dvh}.sidebar{width:192px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:29px 16px 24px;z-index:20}.sidebar .brand{padding-left:7px;font-size:21px}.sidebar .brand-copy>strong{font-size:20px}.sidebar .brand-copy>span{font-size:12px;letter-spacing:0}.side-label{color:#8390a3;font-size:12px;margin:42px 0 16px;padding-left:16px}.sidebar nav{display:flex;flex-direction:column;gap:9px}.nav-item{display:flex;align-items:center;gap:11px;width:100%;padding:13px 15px;min-height:48px;background:transparent;color:#667389;border:0;border-radius:9px;font-size:14px;text-align:left;white-space:nowrap}.nav-item:hover{background:#f6f8fd}.nav-item[aria-current=page]{background:var(--lime);color:var(--green);font-weight:600}.nav-count{font-size:12px;margin-left:auto;min-width:0}.nav-count:empty{display:none}.side-bottom{margin-top:auto;padding:24px 12px 0;font-size:12px;color:var(--muted)}.side-bottom p{line-height:1.9;margin:12px 0 0;color:#8993a5}.connection-status{font-size:12px}.connection-status.offline{color:var(--red)}.workspace{margin-left:192px;flex:1;min-width:0}.topbar{display:flex;align-items:center;gap:24px;padding:18px 34px;min-height:82px}.breadcrumb{font-size:14px;color:var(--muted);margin-right:auto}.breadcrumb>span{padding:0 10px;color:#b0bbcc}.breadcrumb strong{color:var(--ink);font-weight:500}.operator-selector{display:flex;gap:8px;align-items:center;font-size:14px}.operator-selector>span{color:var(--muted);font-size:13px}.current-operator{display:inline-flex;justify-content:center;align-items:center;width:42px;height:36px;border-radius:7px;color:var(--green);background:var(--lime);font-family:"Helvetica Neue",sans-serif;font-size:16px}.operator-selector .text-button{font-size:13px}.workspace>main{max-width:1620px;padding:20px 34px 48px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.page-heading h1{font-size:30px;letter-spacing:-.7px;line-height:1.3;margin:0 0 7px;font-weight:650}.page-heading p{margin:0;font-size:14px}.segmented{display:flex;gap:3px;padding:4px;border-radius:10px;background:#e7ecf4;flex-shrink:0}.segmented button{background:transparent;border:0;border-radius:7px;padding:10px 20px;font-size:14px;color:#6d7a90;min-height:42px}.segmented button.selected{background:#fff;box-shadow:0 2px 5px #2037610c;color:var(--green);font-weight:600}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 28px;padding:0 0 22px;border-bottom:1px solid var(--line);gap:20px}.stats>div{padding:0 20px;border-right:1px solid var(--line)}.stats>div:first-child{padding-left:0}.stats>div:last-child{border:0}.stats span{font-size:13px;color:var(--muted);display:block;margin-bottom:5px}.stats strong{font-family:"Helvetica Neue","PingFang SC",sans-serif;font-size:26px;letter-spacing:-.6px;font-variant-numeric:tabular-nums;font-weight:550}.stats strong small{font-family:inherit;font-size:13px;font-weight:400;letter-spacing:0;color:var(--muted);margin-left:3px}.stats .stat-note strong{color:var(--amber)}

/* Product shelf and the working bill */
.pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 342px;gap:30px;align-items:start}.catalog{min-width:0}.catalog-toolbar{display:flex;gap:12px;align-items:center;margin-bottom:14px}.search-label{position:relative;margin:0;flex:1;min-width:100px}.search-label>.icon{position:absolute;left:14px;top:14px;color:#8a96ac}.search-label input{padding-left:44px;height:48px;background:white;font-size:14px;border-color:#e1e6ef}.category-tabs{display:flex;gap:22px;overflow:auto;padding:0 0 20px;scrollbar-width:none}.category-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 3px 8px;background:none;color:var(--muted);white-space:nowrap;font-size:14px;min-height:44px}.category-tabs button.active{color:var(--green);border-color:var(--green);font-weight:600}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 18px}.product-card{position:relative;min-width:0;color:var(--ink)}.product-photo{display:block;position:relative;aspect-ratio:1/1;width:100%;padding:0;border:1px solid #e4e8f0;border-radius:12px;background:#edf0f6;overflow:hidden;color:var(--muted)}.product-photo img{display:block;object-fit:cover;width:100%;height:100%}.product-photo:hover{border-color:#9db4ec}.in-cart .product-photo{border:2px solid var(--green)}.quantity-badge{width:28px;height:28px;line-height:28px;text-align:center;border-radius:50%;background:var(--green);color:white;font-size:13px;font-weight:600;position:absolute;top:10px;left:10px;box-shadow:0 1px 5px #1a3d8f26}.photo-hint{position:absolute;right:8px;bottom:8px;background:#ffffffeb;color:#445571;font-size:12px;border-radius:5px;padding:3px 7px;opacity:0;transition:opacity .15s}.product-photo:hover .photo-hint,.product-photo:focus-visible .photo-hint{opacity:1}.no-product-photo{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;font-size:13px;color:#8493ae}.no-product-photo>.icon{width:32px;height:32px}.product-card-info{padding:13px 2px 0}.product-card h3{font-size:17px;font-weight:600;line-height:1.45;margin:0 0 5px;overflow-wrap:anywhere}.product-card p{font-size:13px;margin:0 0 10px;color:var(--muted)}.product-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px}.product-card-bottom strong{font-family:"Helvetica Neue","PingFang SC",sans-serif;font-size:21px;font-weight:600;letter-spacing:-.5px;min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.product-card-bottom small{font-family:inherit;font-size:12px;font-weight:400;color:var(--muted);letter-spacing:0}.add-mark{display:flex;align-items:center;justify-content:center;border:0;background:var(--green);color:white;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;font-size:26px;line-height:1;flex-shrink:0}.add-mark:hover{background:var(--green-dark)}.add-mark:disabled{background:#d6ddeb;color:#7787a0;opacity:1}.stock-caption{display:block;font-size:12px;color:var(--muted);margin-top:8px}.bill{background:#fff;border:1px solid #dce3ef;border-radius:14px;padding:24px;position:sticky;top:22px;box-shadow:0 12px 30px #20365908;scroll-margin-top:84px}.bill:focus{outline:none}.bill-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px dashed #ccd6e5;padding-bottom:20px;margin-bottom:6px}.bill-heading>div{display:flex;align-items:center;gap:9px}.bill-heading .icon{color:var(--green)}.bill-heading h2{font-size:19px;letter-spacing:-.3px;margin:0;font-weight:600}.bill-heading>.text-button{font-size:13px;padding:4px;min-height:32px}.order-fields{border:0;padding:0;margin:0;min-width:0}.order-fields:disabled{opacity:.6}.cart-items{max-height:430px;overflow-y:auto}.empty-cart{text-align:center;color:var(--muted);padding:35px 0 25px}.empty-cart>.icon{height:38px;width:38px;color:#b0bdd4;margin-bottom:10px}.empty-cart p{font-size:15px;line-height:1.8;margin:0}.empty-cart p span{font-size:13px;color:#8c98ac}.cart-row{padding:20px 0;border-bottom:1px solid #edf0f5}.cart-row:last-child{border:0}.cart-row-top,.cart-row-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px}.cart-row-top{align-items:flex-start}.cart-row h3{font-size:15px;margin:0 0 5px;font-weight:600}.cart-row-top span{color:var(--muted);font-size:13px}.cart-row-bottom{margin-top:13px}.cart-row-bottom>strong{font-size:18px;font-variant-numeric:tabular-nums}.stepper{display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#f8faff}.stepper button{border:0;background:transparent;padding:0;width:40px;height:40px;font-size:22px;color:var(--green)}.stepper input{border:0;padding:0;border-radius:0;text-align:center;background:transparent;width:38px;min-width:0;min-height:40px;font-size:15px;appearance:textfield;-moz-appearance:textfield}.stepper input::-webkit-inner-spin-button{appearance:none}.note-label{margin:20px 0 0;display:block;font-weight:400;font-size:14px}.note-label>span{color:#96a0b2;margin-left:5px;font-size:12px}.note-label textarea{display:block;margin-top:8px;font-size:14px;resize:vertical;background:#fafbfe;min-height:66px}.bill-total{border-top:1px dashed #ccd6e5;display:flex;align-items:center;justify-content:space-between;padding:20px 0;margin-top:20px;gap:8px}.bill-total span{font-size:13px;color:var(--muted)}.bill-total strong{font-family:"Helvetica Neue","PingFang SC",sans-serif;font-size:31px;font-weight:550;letter-spacing:-.8px;font-variant-numeric:tabular-nums}.save-order{justify-content:space-between;padding:15px 18px;font-size:15px;min-height:50px}.bill-footnote{font-size:12px;color:var(--muted);text-align:center;margin:12px 0 0}.customer-fields{border-top:1px dashed var(--line);padding-top:22px;margin-top:16px}.customer-fields h3{font-size:16px;margin-bottom:18px;font-weight:550}.customer-fields h3 span{font-size:12px;font-weight:400;color:var(--muted);display:block;margin-top:4px}.customer-fields input{font-size:14px}.customer-fields label{font-size:14px}.mobile-bill-dock{display:none}

/* Forms, images, dialogs */
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.span-two{grid-column:1/-1}.checkboxes{display:flex;gap:22px;margin:12px 0 5px;flex-wrap:wrap}.checkbox-label{display:flex;flex-direction:row;align-items:center;gap:9px}.checkbox-label input{width:18px;height:18px;min-height:18px;accent-color:var(--green)}dialog{border:1px solid #e4e9f2;border-radius:18px;max-width:620px;width:calc(100% - 32px);max-height:90dvh;padding:30px;color:var(--ink);box-shadow:0 24px 100px #17284929}dialog::backdrop{background:#18264073;backdrop-filter:blur(5px)}.modal-heading{display:flex;justify-content:space-between;gap:16px;margin-bottom:26px}.modal-heading h2{margin:0 0 8px;font-weight:600}.modal-heading p{margin:0}.modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.product-image-field{margin-bottom:26px}.product-image-field>label{flex-direction:row;gap:10px}.product-image-field>label span{font-size:13px;color:var(--muted);font-weight:400}.product-image-preview{border:1px dashed #b9c9e7;border-radius:10px;height:170px;background:#f7f9fe;margin-bottom:12px;overflow:hidden}.product-image-preview img{display:block;width:100%;height:100%;object-fit:contain}.product-image-preview>span{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;font-size:14px;color:#8494af;height:100%}.product-image-preview .icon{width:30px;height:30px}.product-image-field .muted{font-size:12px;margin:10px 0 0}.product-detail-image img{display:block;width:100%;height:auto;border-radius:10px}.inventory-product{display:flex;align-items:center;gap:13px;min-width:0;width:100%}.inventory-product>span{min-width:0;overflow-wrap:anywhere}.inventory-image{padding:0;width:56px;height:56px;min-height:56px;flex-shrink:0;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#f0f3f9;color:#9aa8c0;display:flex;justify-content:center;align-items:center}.inventory-image img{width:100%;height:100%;object-fit:cover}

/* Inventory, orders and reporting */
.empty{grid-column:1/-1;text-align:center;padding:66px 24px;background:#fff;border:1px solid var(--line);border-radius:14px}.empty-icon{display:flex;align-items:center;justify-content:center;width:68px;height:68px;margin:0 auto 24px;background:var(--lime);border-radius:20px;color:var(--green)}.empty-icon .icon{height:29px;width:29px}.empty h3{font-size:20px;margin:0 0 12px;font-weight:600}.empty p{color:var(--muted);font-size:14px;max-width:350px;margin:0 auto 24px;line-height:1.9}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel>.empty{border:0;border-radius:0}.panel-heading{padding:26px;display:flex;gap:20px;align-items:center;justify-content:space-between}.panel-heading h2{font-size:20px;margin:0 0 8px;font-weight:600}.panel-heading p{margin:0}.table-toolbar{display:flex;align-items:center;gap:14px;padding:24px}.table-toolbar .search-label{max-width:360px;margin-right:auto}.table-toolbar>select{width:auto;font-size:14px;height:46px}.table-scroll{overflow:auto;width:100%}table{border-collapse:collapse;width:100%;text-align:left;font-size:14px;white-space:nowrap}th{font-size:13px;color:#74819a;background:#f8faff;font-weight:500;padding:15px 22px;border-block:1px solid #e9edf4}td{padding:19px 22px;border-bottom:1px solid #edf0f6}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdff}td strong{font-weight:550}td small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.action-cell{white-space:nowrap}.action-cell .secondary{margin-right:8px}.tag{display:inline-flex;align-items:center;font-size:12px;padding:5px 10px;border-radius:5px;background:#eaf0ff;color:#3a62be;white-space:nowrap}.preorder-tag{background:#fff2d7;color:#896321}.muted-tag{background:#eff1f6;color:#8390a4}.order-code{font-size:13px;font-variant-numeric:tabular-nums;letter-spacing:0}.order-items-cell{white-space:normal;min-width:140px}.void-row{color:#8c97ab}.void-row td strong{text-decoration:line-through}.order-filters{display:flex;gap:14px;padding:24px;align-items:flex-end;flex-wrap:wrap}.order-filters label{margin:0;font-size:14px;flex:1;min-width:125px}.order-filters label:first-child{flex:1.4;min-width:200px}.order-filters input,.order-filters select{font-size:14px}.order-filters>.primary{min-height:46px}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:18px 24px;font-size:13px;color:var(--muted)}.table-footer>div{display:flex;align-items:center;gap:14px}.report-stats{grid-template-columns:repeat(3,1fr);padding:26px 0;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:24px}.report-stats>div:first-child{padding-left:26px}.report-stats strong{font-size:32px}.inline-label{margin:0;display:flex;flex-direction:row;align-items:center;gap:12px;white-space:nowrap;color:var(--muted)}.inline-label input{width:auto;font-size:14px}.backup-panel{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:26px;margin-top:24px;border-radius:12px;background:#edf2fc}.backup-panel h3{margin:0 0 8px;font-weight:600}.backup-panel p{margin:0;max-width:550px}.backup-panel a{white-space:nowrap}.movement{padding:20px 0;border-bottom:1px solid var(--line)}.movement>div{display:flex;justify-content:space-between;gap:14px}.movement p{font-size:14px;color:var(--muted);margin:8px 0}.movement p span{float:right}.movement small{color:var(--muted);font-size:12px}.movement-delta{font-weight:600;color:var(--amber)}.movement-delta.positive{color:var(--green)}.movement-list{max-height:65vh;overflow:auto}.notice{padding:13px 15px;border-radius:8px;font-size:14px;margin:14px 0}.warning{background:#fff4de;color:#8a641d}

/* Saved slips and shared preorder surface */
.receipt{text-align:center;padding:6px 12px 18px}.receipt-type{display:inline-flex;align-items:center;border:1px solid #bbcbef;border-radius:5px;padding:4px 12px;margin-bottom:18px;font-size:13px;color:var(--green)}.receipt h2{font-size:24px;margin-bottom:8px;font-weight:600}.receipt-number{font-size:14px;color:var(--muted);margin-bottom:24px;font-variant-numeric:tabular-nums}.receipt-meta{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:var(--muted);padding:16px 0;border-block:1px dashed #ced8e9}.receipt-lines>div{display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left;margin:24px 0}.receipt-lines strong{font-size:16px}.receipt-lines small{display:block;font-size:13px;color:var(--muted);margin-top:6px}.receipt-total{display:flex;justify-content:space-between;border-block:1px dashed #ced8e9;padding:22px 0;align-items:center;margin-top:24px}.receipt-total strong{font-size:32px;font-variant-numeric:tabular-nums}.receipt-customer{text-align:left;margin:24px 0 0;font-size:14px}.receipt-customer>div{display:flex;margin:12px 0;gap:16px}.receipt-customer dt{width:40px;flex-shrink:0;color:var(--muted)}.receipt-customer dd{margin:0;overflow-wrap:anywhere}.receipt-note{font-size:14px;text-align:left;color:var(--muted);margin-top:24px;overflow-wrap:anywhere}.receipt-page{width:100%;max-width:540px;padding:34px 20px 50px;margin:auto}.receipt-page>.brand{justify-content:center;font-size:20px}.receipt-page>.panel{padding:22px}.receipt-page>.primary{margin-top:22px}.saved-heading{text-align:center;padding:40px 10px 30px}.saved-heading>span{display:inline-flex;padding:12px;border-radius:50%;background:var(--lime);color:var(--green);margin-bottom:15px}.saved-heading h1{font-size:27px;margin-bottom:10px}.saved-heading p{color:var(--muted);font-size:14px;margin:0}.qr-layout{display:grid;grid-template-columns:360px minmax(0,1fr);gap:28px;max-width:1100px}.qr-card{background:white;border:1px solid var(--line);border-top:4px solid var(--green);border-radius:12px;padding:36px 24px;display:flex;align-items:center;flex-direction:column;text-align:center}.qr-card h2{font-size:23px;margin:0 0 20px}.qr-image{max-width:100%;height:auto;margin-bottom:18px}.qr-card>p{font-size:14px;color:var(--muted);margin-bottom:14px}.qr-card>.text-button{margin-top:24px}.connection-panel{padding:30px}.connection-panel h2{font-size:21px;font-weight:600}.steps{list-style:none;padding:0;margin:30px 0}.steps li{display:flex;gap:16px;margin:24px 0}.steps li>span{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--lime);font-size:13px;color:var(--green);flex-shrink:0}.steps strong{font-size:15px}.steps p{font-size:14px;color:var(--muted);margin:6px 0 0;line-height:1.8}.link-box{padding:18px;background:#f4f7fe;border-radius:8px;margin-bottom:14px}.link-box>span{display:block;font-size:13px;color:var(--muted)}.link-box>a{display:block;font-size:14px;word-break:break-all;margin:10px 0}.link-box>.text-button{padding:0;min-height:32px;font-size:14px}.connection-panel>.muted{font-size:13px;margin:24px 0 0}.public-shell{max-width:1220px;margin:auto;padding:0 36px 28px}.public-top{display:flex;align-items:center;justify-content:space-between;padding:30px 0;border-bottom:1px solid var(--line);margin-bottom:40px}.public-shell .page-heading h1{font-size:34px}.public-shell .pos-layout{grid-template-columns:minmax(0,1fr) 350px}.public-footer{text-align:center;color:var(--muted);font-size:13px;padding-top:48px}.demo-banner{background:#fff1cc;color:#886017;text-align:center;font-size:13px;padding:7px 15px;position:relative;z-index:30}.demo-banner+.app-shell .sidebar{top:34px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:10px;padding:13px 22px;display:none;z-index:100;max-width:90%;box-shadow:0 10px 30px #20365920;font-size:14px}#toast.show{display:block}

/* Staff number tickets are the entry's one expressive element. */
.operator-entry{display:flex;flex-direction:column;max-width:1440px;margin:auto;padding:38px 64px 26px;min-height:100dvh}.entry-top{display:flex;align-items:center;justify-content:space-between}.entry-local{font-size:14px;color:var(--muted);padding-left:16px;border-left:1px solid #ccd5e5}.entry-stage{display:grid;grid-template-columns:.9fr 1.2fr;gap:7%;align-items:center;flex:1;padding:70px 0}.entry-intro h1{font-size:clamp(36px,4.6vw,68px);font-weight:650;line-height:1.3;letter-spacing:-2px;margin:0 0 24px;color:var(--ink)}.entry-intro>p{font-size:18px;color:var(--muted);margin:0}.entry-context{display:flex;flex-direction:column;gap:16px;margin-top:48px;color:var(--muted);font-size:14px}.entry-context>span{display:flex;gap:10px;align-items:center}.entry-context .icon{color:var(--green)}.operator-entry-card h2{font-size:16px;font-weight:500;color:var(--muted);margin:0 0 20px;letter-spacing:0}.operator-options{display:grid;grid-template-columns:1fr 1fr;gap:20px}.operator-option{position:relative;text-align:left;background:#fff;color:var(--green);border:1px solid #d5deee;border-radius:18px;padding:23px 24px 20px;min-height:296px;box-shadow:0 12px 26px #213e8010;transition:border-color .18s,box-shadow .18s}.operator-option:hover{border-color:var(--green);box-shadow:0 14px 32px #234bc31a}.operator-card-top{display:flex;align-items:center;justify-content:space-between;font-size:14px;color:var(--muted)}.operator-card-top .icon{width:22px;height:22px;color:#a5b2cc}.operator-number{display:block;font-family:"Helvetica Neue",Arial,sans-serif;font-weight:500;font-size:clamp(60px,6.5vw,96px);letter-spacing:-5px;line-height:1;padding:30px 0 31px}.operator-enter{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px dashed #d9e1ee;padding-top:19px;margin:0;font-size:14px;color:var(--ink)}.enter-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:var(--lime);color:var(--green);flex-shrink:0}.operator-option:hover .enter-icon{background:var(--green);color:#fff}.entry-hint{font-size:13px;color:var(--muted);margin:22px 0 0}.entry-footer{display:flex;align-items:center;justify-content:space-between;padding-top:22px;border-top:1px solid var(--line);color:var(--muted);font-size:13px;gap:20px}

/* Width-aware workspace; phones have a single scroll and persistent bill access. */
@media(min-width:1680px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1240px){.sidebar{width:172px;padding-inline:12px}.sidebar .brand{font-size:19px}.sidebar .brand-copy>strong{font-size:18px}.sidebar .brand img{width:30px;height:30px}.workspace{margin-left:172px}.workspace>main{padding:18px 26px 40px}.topbar{padding:18px 26px}.pos-layout,.public-shell .pos-layout{grid-template-columns:minmax(0,1fr) 310px;gap:24px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bill{padding:22px}.stats{gap:14px}.stats>div{padding-inline:10px}.stats strong{font-size:24px}.qr-layout{grid-template-columns:320px minmax(0,1fr)}}
@media(max-width:1050px){.operator-entry{padding:30px 36px}.entry-stage{gap:40px;grid-template-columns:.85fr 1.2fr}.operator-option{padding:20px;min-height:260px}.operator-number{font-size:70px}.entry-intro h1{font-size:42px;letter-spacing:-1px}.operator-options{gap:14px}.sidebar{width:82px;padding-inline:8px}.sidebar .brand{font-size:0;padding:0;justify-content:center;gap:0}.sidebar .brand-copy{display:none}.sidebar .brand img{width:36px;height:36px}.side-label,.side-bottom{display:none}.sidebar nav{margin-top:42px;gap:10px}.nav-item{flex-direction:column;gap:6px;padding:12px 0;text-align:center;font-size:12px}.nav-count{display:none}.workspace{margin-left:82px}.topbar{gap:12px}.operator-selector>span{display:none}.product-card-bottom strong{font-size:20px}.qr-layout{grid-template-columns:1fr 1fr}.connection-panel{padding:24px}.stats span{font-size:12px}}
@media(max-width:760px){
  .operator-entry{padding:24px}.entry-stage{grid-template-columns:1fr;gap:40px;padding:48px 0;align-content:center}.entry-intro h1{font-size:44px;margin-bottom:16px}.entry-intro>p{font-size:16px}.entry-context{display:none}.operator-entry-card h2{font-size:14px;margin-bottom:14px}.operator-option{min-height:224px;padding:18px 16px;border-radius:14px}.operator-number{font-size:64px;letter-spacing:-3px;padding:26px 0}.operator-card-top{font-size:13px}.operator-enter{font-size:13px;padding-top:16px}.enter-icon{width:30px;height:30px}.entry-hint{font-size:12px;margin-top:18px}.entry-footer{font-size:12px}.entry-footer>span:last-child{display:none}.entry-local{font-size:13px}
  .sidebar{position:static;width:0;padding:0;border:0}.sidebar>.brand{display:none}.sidebar nav{position:fixed;bottom:0;left:0;right:0;flex-direction:row;margin:0;background:#fff;border-top:1px solid var(--line);padding:5px 6px calc(5px + env(safe-area-inset-bottom));gap:0;z-index:25}.nav-item{border-radius:9px;padding:7px 0;gap:3px;color:#79869b;font-size:12px;flex:1;min-height:58px}.nav-item[aria-current=page]{background:none;color:var(--green)}.nav-item[aria-current=page] .icon{stroke-width:2.2}.nav-item .icon{width:21px;height:21px}.workspace{margin-left:0;width:100%}.workspace>main{padding:14px 18px 162px}.topbar{padding:13px 18px;min-height:66px;gap:12px;position:sticky;top:0;background:#f5f7fbf5;backdrop-filter:blur(12px);z-index:15;border-bottom:1px solid #e9edf4}.topbar>.secondary{display:none}.breadcrumb{font-size:13px;white-space:nowrap}.breadcrumb>span{padding:0 5px}.operator-selector{margin-left:auto;gap:5px}.operator-selector .text-button{font-size:12px;padding:7px;min-height:40px}.current-operator{width:36px;height:32px;font-size:14px}.page-heading{flex-wrap:wrap;gap:17px;margin-bottom:20px}.page-heading h1{font-size:27px}.page-heading p{font-size:13px}.segmented{width:100%;padding:4px}.segmented button{flex:1;min-height:40px;padding:9px 14px;font-size:14px}.stats{padding:0 0 18px;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 18px;margin-bottom:21px}.stats>div,.stats>div:first-child{padding:0;border:0;display:flex;align-items:center;justify-content:space-between;gap:6px}.stats span{font-size:12px;margin:0}.stats strong{font-size:18px;letter-spacing:-.5px;white-space:nowrap}.stats strong small{font-size:12px;margin-left:1px}.pos-layout,.public-shell .pos-layout{grid-template-columns:1fr;gap:30px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.catalog-toolbar{margin-bottom:10px;gap:10px}.catalog-toolbar>.secondary{padding:11px;font-size:13px;min-height:46px}.catalog-toolbar>.secondary .icon{width:17px}.search-label input{font-size:16px}.category-tabs{padding-bottom:18px;gap:23px}.product-card-info{padding-top:11px}.product-card h3{font-size:17px}.product-card p{font-size:13px;margin-bottom:7px}.product-card-bottom strong{font-size:20px}.product-card-bottom small{font-size:12px}.photo-hint{opacity:1;font-size:12px}.stock-caption{font-size:12px}.bill{position:static;padding:24px 22px;border-radius:14px;scroll-margin-top:80px}.bill-heading h2{font-size:20px}.empty-cart{padding:26px 0}.cart-items{max-height:none}.cart-row h3{font-size:16px}.cart-row-top span{font-size:13px}.stepper button{width:44px;height:44px}.stepper input{font-size:16px;min-height:44px}.bill-total strong{font-size:32px}.bill-footnote{font-size:13px}.customer-fields input{font-size:16px}.mobile-bill-dock{position:fixed;z-index:21;left:0;right:0;bottom:calc(69px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 18px;background:#fff;border-top:1px solid var(--line);box-shadow:0 -8px 24px #29436909}.mobile-bill-dock>div{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:0}.mobile-bill-dock span{font-size:13px;color:var(--muted)}.mobile-bill-dock strong{overflow-wrap:anywhere;max-width:100%;line-height:1.25;font-family:"Helvetica Neue","PingFang SC",sans-serif;font-size:25px;font-weight:550;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.mobile-bill-dock .primary{flex-shrink:0;min-height:44px;padding:11px 20px}.public-dock{bottom:0;padding-bottom:calc(12px + env(safe-area-inset-bottom))}
  .empty{padding:44px 22px}.empty h3{font-size:19px}.table-toolbar{padding:18px;gap:12px;flex-wrap:wrap}.table-toolbar>.search-label{max-width:none;flex-basis:100%}.table-toolbar>.secondary{margin-left:auto}.table-toolbar>select{max-width:48%}.table-scroll{max-width:100%;-webkit-overflow-scrolling:touch}th,td{padding:15px 18px}.inventory-table,.inventory-table tbody{display:block;width:100%}.inventory-table thead{display:none}.inventory-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 22px;padding:22px 18px;border-top:1px solid var(--line);white-space:normal}.inventory-table td{border:0;padding:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:3px}.inventory-table td:first-child{grid-column:1/-1;padding-bottom:5px}.inventory-table td:before{content:attr(data-label);font-size:12px;color:var(--muted)}.inventory-table td:first-child:before,.inventory-table td:last-child:before{display:none}.inventory-table td small{margin:0}.inventory-table .inventory-product strong{font-size:17px}.inventory-table td.action-cell{grid-column:1/-1;flex-direction:row;gap:10px;padding-top:6px}.inventory-table .action-cell .secondary{flex:1;margin:0}.inventory-table .action-cell .text-button{width:80px;background:#f1f5fd}.table-footer{flex-wrap:wrap;padding:18px}.table-footer>div{width:100%;justify-content:space-between}.order-filters{padding:18px;gap:14px}.order-filters label:first-child{flex-basis:100%;min-width:0}.order-filters label{flex-basis:calc(50% - 14px);min-width:0}.order-filters label:nth-child(2){flex-basis:100%}.order-filters>.primary{width:100%}.report-stats{padding:22px;grid-template-columns:1fr;gap:18px}.report-stats>div,.report-stats>div:first-child{padding:0}.report-stats span{font-size:14px}.report-stats strong{font-size:29px}.panel-heading{padding:22px;flex-wrap:wrap}.panel-heading h2{font-size:21px}.backup-panel{padding:22px;flex-wrap:wrap}.backup-panel a{width:100%}.inline-label{font-size:14px}.qr-layout{grid-template-columns:1fr}.qr-card{padding:28px 22px}.qr-image{width:260px;height:260px}.connection-panel{padding:24px}.public-shell{padding:0 18px 114px}.public-top{padding:24px 0;margin-bottom:28px}.public-shell .page-heading h1{font-size:30px}.public-footer{font-size:12px;line-height:1.8;padding-top:30px}dialog{padding:25px 22px;max-height:90dvh;border-radius:16px}.modal-heading h2{font-size:24px}.modal-heading p{font-size:14px}.modal-actions button{flex:1}.checkboxes{gap:18px}.checkbox-label{font-size:14px}.receipt-page{padding:24px 18px 40px}.receipt-page>.panel{padding:18px}.receipt{padding-inline:3px}.demo-banner{font-size:12px}.demo-banner+.app-shell .sidebar{top:0}#toast{bottom:155px;text-align:center;min-width:240px}.public-shell~#toast{bottom:100px}
}
@media(max-width:360px){.operator-entry{padding:20px}.entry-intro h1{font-size:38px}.operator-option{padding:16px 13px}.operator-number{font-size:58px}.operator-enter{font-size:12px}.workspace>main{padding-inline:14px}.topbar{padding-inline:14px}.stats{column-gap:12px}.stats strong{font-size:16px}.mobile-bill-dock{padding-inline:14px}.mobile-bill-dock strong{font-size:23px}.product-card-bottom strong{font-size:18px}.form-grid{gap:0 12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
