:root{--bg:#f5f4f0;--card:#fff;--text:#1c1917;--muted:#6b6560;--line:#e7e5e0;--brand:#0f766e;--brand-dark:#0d3b3a;--accent:#f59e0b;--accent-soft:#fef3c7;--danger:#b91c1c}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:18px;line-height:1.5;font-family:inherit}a{color:var(--brand)}h1{font-size:1.5rem;margin:0 0 16px}main{max-width:960px;margin:0 auto;padding:16px}.narrow{max-width:420px;padding-top:10vh}.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:18px;margin-bottom:16px;box-shadow:0 1px 2px rgb(28 25 23/4%)}label{display:block;margin-bottom:12px;font-weight:600}label small{font-weight:400;color:var(--muted)}.btn,button,input,select,textarea{display:block;width:100%;min-height:52px;margin-top:4px;padding:10px 14px;font:inherit;border:1px solid var(--line);border-radius:10px;background:#fff}input[type=checkbox]{display:inline-block;width:28px;min-height:28px;vertical-align:middle;margin:0 0 0 8px}input:focus,select:focus,textarea:focus{outline:3px solid #99f6e4;border-color:var(--brand)}.btn,button{background:var(--brand);color:#fff;border:0;font-weight:700;cursor:pointer;text-align:center;text-decoration:none}button:disabled{opacity:.6}.btn.light,button.light{background:#fff;color:var(--brand);border:1px solid var(--brand)}.grid{display:grid;grid-gap:0 16px;gap:0 16px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.row{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}.row>*{flex:1 1;min-width:160px}.row>.auto{flex:0 0 auto}.error{background:#fef2f2;color:var(--danger);border-radius:10px;padding:12px;margin-bottom:12px}.muted{color:var(--muted)}header.top{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 16px;background:var(--brand);color:#fff}header.top b{flex:1 1}header.top a{color:#fff}header.top button{width:auto;min-height:44px;background:transparent;border:1px solid #fff}table{width:100%;border-collapse:collapse;background:var(--card)}td,th{padding:12px 10px;border-bottom:1px solid var(--line);text-align:start}td.num{direction:ltr;text-align:end;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}tr.off td{color:var(--muted);text-decoration:line-through}tbody tr a{display:block}@media (max-width:640px){.hide-sm{display:none}}fieldset.unit{border:1px solid var(--line);border-radius:10px;padding:12px;margin:0 0 12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.pos{height:100vh;display:flex;flex-direction:column;background:#f5f4f0}.pos header.top{flex:none}.pos-body{flex:1 1;min-height:0;display:flex}.pos-products{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:12px;padding:16px}.pos-scan input{height:60px;border:2px solid var(--brand);border-radius:14px;font-size:1.1rem}.pos-cats{display:flex;gap:8px;flex-wrap:wrap}.pill{width:auto;display:inline-block;min-height:48px;margin:0;padding:0 18px;border-radius:24px;background:#fff;color:var(--text);border:1px solid #d6d3cd;font-weight:500}.pill.on{background:var(--brand);color:#fff;border-color:var(--brand)}.pos-tiles{flex:1 1;min-height:0;overflow-y:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));grid-gap:10px;gap:10px;align-content:start}.tile{margin:0;min-height:100px;display:flex;flex-direction:column;justify-content:space-between;gap:8px;border-radius:14px;background:#fff;color:var(--text);border:1px solid #e7e5e0;text-align:start;font-weight:600}.tile:active{transform:scale(.98)}.tile-price b{color:var(--brand)}.pos-cart{width:440px;flex:none;display:flex;flex-direction:column;background:#fff;-webkit-border-start:1px solid #e7e5e0;border-inline-start:1px solid #e7e5e0}.pos-cart-head{display:flex;justify-content:space-between;border-bottom:1px solid #e7e5e0}.pos-lines{flex:1 1;min-height:0;overflow-y:auto;padding:4px 20px}.pos-empty{margin-top:40px}.pos-line{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #f0efeb}.pos-line-name{flex:1 1;min-width:0;display:flex;flex-direction:column}.qbtn{width:48px;padding:0;background:#fff;color:var(--text);border:1px solid #d6d3cd;font-size:1.3rem}.qbtn,.qty{min-height:48px;margin:0}.qty{width:72px;padding:4px;text-align:center}.pos-line-total{width:70px;text-align:end}.pos-totals{padding:12px 20px;border-top:1px solid #e7e5e0}.pos-totals>div{display:flex;justify-content:space-between;color:#44403c;font-size:.95rem}.pos-totals .pos-grand{color:var(--text);font-size:1.1rem;align-items:baseline;padding-top:6px}.pos-grand b{font-size:1.8rem;color:var(--brand)}.pos-actions{padding:0 20px 20px;display:flex;flex-direction:column;gap:10px}.pos-pay{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}.pay{min-height:64px;font-size:1.15rem}.pay,.pos-actions button{margin:0}.pos-notes{display:grid;grid-template-columns:repeat(5,1fr);grid-gap:6px;gap:6px;margin-bottom:8px}.pos-change{padding:12px;border-radius:10px;margin:0 0 8px;font-size:1.1rem}.pos-change,.pos-done{background:#dcfce7;color:#14532d}.pos-done{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:14px}.receipt{display:none}@media (max-width:900px){.pos{height:auto}.pos-body{flex-direction:column}.pos-cart{width:auto}.pos-tiles{max-height:50vh}}@page{size:80mm auto;margin:3mm}@media print{body *{visibility:hidden}.receipt,.receipt *{visibility:visible}.receipt{display:block;position:absolute;top:0;right:0;width:74mm;font:12px/1.4 Tahoma,sans-serif;color:#000}.receipt h2{font-size:16px;text-align:center;margin:0 0 4px}.receipt p{margin:2px 0}.receipt table{background:none;margin:6px 0;border-top:1px dashed #000;border-bottom:1px dashed #000}.receipt td{padding:3px 0;border:0}.receipt td+td{text-align:left;white-space:nowrap}}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));grid-gap:12px;gap:12px}.stats .card{display:flex;flex-direction:column;gap:4px;margin:0}.stats b{font-size:1.4rem}h2.section{font-size:1.15rem;margin:24px 0 8px}.receipt-screen{max-width:340px;margin:0 auto 16px}.receipt-screen .receipt{display:block;font-size:15px}.receipt-screen .receipt h2{text-align:center;margin:0 0 8px}.receipt-screen .receipt p{margin:4px 0}.receipt-screen .receipt table{margin:8px 0;border-top:1px dashed #999;border-bottom:1px dashed #999}.receipt-screen .receipt td{padding:6px 0;border:0}.receipt-screen .receipt td+td{text-align:left}.cash-count{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.cash-row{display:flex;align-items:center;gap:8px}.cash-label{flex:1 1;font-weight:600}.cash-total{display:flex;justify-content:space-between;align-items:baseline;margin-top:8px;padding:12px;border-radius:10px;background:#f0fdfa;font-size:1.1rem}.cash-total b{font-size:1.6rem;color:var(--brand)}.pos>main{flex:1 1;min-height:0;overflow-y:auto;width:100%;padding-top:16px}.pos-customer{padding:8px 20px 0;border-top:1px solid #e7e5e0}.pos-customer .row{gap:8px}.pos-customer .row>label{min-width:120px;margin:0}.pos-customer button{margin:0}.pos-pay:has(.credit){grid-template-columns:1fr 1fr 1fr}.pay.credit{background:#92400e}.pos-customer-info{margin:6px 0 0;font-size:.9rem}.print-only{display:none}@media print{.statement,.statement *{visibility:visible}.statement{position:absolute;top:0;right:0;left:0}.statement .print-only{display:block}}.pos-extra{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:6px;gap:6px}.pos-discount,.pos-held{display:flex;flex-direction:column;gap:8px;max-height:50vh;overflow-y:auto}.pos-discount label.row{margin:0;align-items:center}.pos-held .row{align-items:center}html{font-family:IBM Plex Sans Arabic,Segoe UI,Tahoma,sans-serif}.side{position:fixed;inset-block:0;inset-inline-start:0;width:248px;z-index:10;display:flex;flex-direction:column;gap:8px;padding:20px 14px;background:var(--brand-dark);color:#e6f2f1}.side~main{-webkit-margin-start:248px;margin-inline-start:248px;-webkit-margin-end:0;margin-inline-end:0;max-width:none;padding:28px 32px}.side~main>*{max-width:1100px}.side-brand{display:flex;align-items:center;gap:12px;padding:4px 8px 18px}.side-brand .logo{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--accent);color:var(--brand-dark);font-weight:700;font-size:1.3rem}.side-brand b{display:block;font-size:1.15rem;color:#fff}.side-brand small,.side-user small{display:block;color:#9cc9c5;font-size:.8rem}.side nav{display:flex;flex-direction:column;gap:4px;flex:1 1;min-height:0;overflow-y:auto}.side nav a{display:flex;align-items:center;gap:12px;min-height:50px;padding:0 14px;border-radius:12px;color:#d3e7e5;text-decoration:none;font-weight:500}.side nav a:hover{background:rgb(255 255 255/7%)}.side nav a.on{background:var(--accent);color:var(--brand-dark);font-weight:700}.side-user{display:flex;align-items:center;gap:8px;padding:12px 8px 0;border-top:1px solid rgb(255 255 255/12%)}.side-user>div{flex:1 1}.side-user b{color:#fff;font-size:.95rem}.side-out{width:44px;min-height:44px;margin:0;padding:0;display:grid;place-items:center;background:transparent;border:1px solid rgb(255 255 255/20%);color:#fff}@media (max-width:900px){.side{position:-webkit-sticky;position:sticky;top:0;width:auto;flex-direction:row;align-items:center;padding:8px;overflow-x:auto}.side-brand,.side-user>div{display:none}.side nav{flex-direction:row}.side nav a{min-height:44px;white-space:nowrap}.side~main{-webkit-margin-start:0;margin-inline-start:0;padding:16px}.side-user{border:0;padding:0}}@media print{.side{display:none}.side~main{margin:0}}.stat{display:flex;flex-direction:column;gap:6px}.stat .chip{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--accent-soft);color:#b45309}.stat .chip.teal{background:#ccfbf1;color:var(--brand)}.stat .top{display:flex;justify-content:space-between;align-items:flex-start}.stat .delta{font-size:.85rem;font-weight:600}.stat .delta.up{color:#15803d}.stat .delta.down{color:var(--danger)}.stat b{font-size:1.7rem}.dash-grid{display:grid;grid-template-columns:2fr 1fr;grid-gap:16px;gap:16px}@media (max-width:1100px){.dash-grid{grid-template-columns:1fr}}.card h2{font-size:1.1rem;margin:0 0 14px}.card table{background:transparent}.bars{display:flex;align-items:flex-end;gap:8px;height:200px;padding-top:8px}.bars>div{flex:1 1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;height:100%}.bars span.bar{width:100%;max-width:44px;border-radius:8px 8px 4px 4px;background:var(--brand);min-height:2px}.bars span.bar.peak{background:var(--accent)}.bars small{color:var(--muted);font-size:.8rem}table{border:1px solid var(--line);border-radius:16px;border-collapse:separate;border-spacing:0;overflow:hidden}.card table{border:0;border-radius:0}th{background:#faf9f7;color:var(--muted);font-weight:600;font-size:.9rem}tr:last-child td{border-bottom:0}header.top{background:var(--brand-dark)}h1{font-size:1.7rem}.stats{margin-bottom:16px}img.omr{width:auto;display:inline}.omr-color,img.omr{height:.72em;vertical-align:-.05em}.omr-color{display:inline-block;aspect-ratio:922/479.5;background:currentColor;-webkit-mask:url(/omr.svg) center/contain no-repeat;mask:url(/omr.svg) center/contain no-repeat}.receipt table{border-radius:0;border-inline:0;overflow:visible}.pos{background:var(--bg)}.pos-head{flex:none;gap:16px;padding:10px 18px;background:var(--brand-dark);color:#fff;min-height:68px}.pos-brand,.pos-head{display:flex;align-items:center}.pos-brand{gap:10px}.pos-brand .logo{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--accent);color:var(--brand-dark);font-weight:700;font-size:1.25rem}.pos-brand b{display:block;line-height:1.2}.pos-brand small{color:#9cc9c5;font-size:.82rem}.pos-status{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;background:rgb(255 255 255/8%);color:#d3e7e5;font-size:.85rem}.pos-status i{width:9px;height:9px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 3px rgb(74 222 128/25%)}.pos-tools{-webkit-margin-start:auto;margin-inline-start:auto;display:flex;gap:6px;align-items:center}.pos-tools>a,.pos-tools>form>button{display:inline-flex;align-items:center;gap:8px;width:auto;min-height:46px;margin:0;padding:0 14px;border-radius:12px;color:#e6f2f1;background:transparent;border:1px solid rgb(255 255 255/16%);text-decoration:none;font-weight:500;font-size:.95rem}.pos-tools>a:hover,.pos-tools>form>button:hover{background:rgb(255 255 255/8%)}.pos-products{gap:14px;padding:18px 20px}.pos-scan{display:flex;align-items:center;gap:12px;height:64px;padding:0 18px;margin:0;border-radius:16px;background:#fff;border:2px solid var(--brand);color:var(--brand);box-shadow:0 2px 8px rgb(15 118 110/8%)}.pos-scan input{flex:1 1;height:100%;margin:0;padding:0;border:0;outline:0;background:transparent;font-size:1.15rem;color:var(--text)}.pos-scan input:focus{outline:0}.pos-cats{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}.pill{flex:none;min-height:46px;font-weight:600}.pos-tiles{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}.tile{min-height:132px;padding:14px;gap:6px;border-radius:16px;box-shadow:0 1px 2px rgb(28 25 23/4%);transition:transform .08s,box-shadow .15s}.tile:hover{box-shadow:0 4px 14px rgb(28 25 23/8%)}.tile-top{display:flex;justify-content:space-between;align-items:center;width:100%}.swatch{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;font-weight:700}.tone-0 .swatch{background:#e0f2fe;color:#075985}.tone-1 .swatch{background:#fef3c7;color:#92400e}.tone-2 .swatch{background:#ede9fe;color:#5b21b6}.tone-3 .swatch{background:#dcfce7;color:#166534}.tone-4 .swatch{background:#ffe4e6;color:#9f1239}.tone-5 .swatch{background:#f1f5f9;color:#475569}.tile-badge{font-size:.75rem;padding:2px 8px;border-radius:999px;background:var(--accent-soft);color:#92400e;font-weight:600}.tile-name{font-size:.98rem;line-height:1.35;flex:1 1}.tile-price{color:var(--brand)}.tile-price b{font-size:1.15rem}.tile-price small{color:var(--muted);font-weight:400}.pos-cart{width:460px;box-shadow:-4px 0 18px rgb(28 25 23/5%)}.pos-cart-head{align-items:center;padding:16px 20px}.pos-cart-head b{font-size:1.1rem}.pos-cart-head .count{min-width:32px;height:32px;padding:0 10px;border-radius:999px;display:grid;place-items:center;background:var(--brand);color:#fff;font-weight:700;font-size:.9rem}.pos-lines{padding:8px 14px}.pos-empty{display:flex;flex-direction:column;align-items:center;gap:6px;margin-top:60px;color:#a8a29e;text-align:center}.pos-empty p{margin:0}.pos-line{gap:10px;padding:10px 8px;border-radius:12px;border-bottom:0}.pos-line:nth-child(odd){background:#faf9f7}.pos-line-name b{font-size:.98rem}.stepper{display:flex;align-items:center;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.stepper .qbtn{width:44px;min-height:44px;border:0;border-radius:0;font-size:1.25rem;color:var(--brand)}.stepper .qbtn:disabled{color:#d6d3d1}.stepper .qty{width:58px;min-height:44px;border:0;border-inline:1px solid var(--line);border-radius:0;font-weight:700;display:grid;place-items:center}.pos-line-total{width:76px;font-size:1.02rem}.pos-customer{padding:10px 14px 0}.pos-add-customer{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;margin:0;background:transparent;color:var(--brand);border:1.5px dashed #99c7c2;font-weight:600}.pos-totals{margin:12px 14px;padding:14px 16px;border:0;border-radius:16px;background:#f0fdfa}.pos-totals .pos-grand{padding-top:8px;margin-top:4px;border-top:1px dashed #99c7c2}.pos-grand b{font-size:2.1rem}.pos-actions{padding:0 14px 16px}.pay{display:flex;align-items:center;justify-content:center;gap:10px;min-height:68px;border-radius:16px;font-size:1.2rem;box-shadow:0 2px 6px rgb(28 25 23/10%)}.pay.cash{background:var(--brand)}.pay.card{background:#1e3a8a}.pay.credit{background:#b45309}.pos-extra button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:58px;padding:4px;font-size:.85rem;border-radius:12px;border-color:var(--line);color:var(--text)}.pos-extra button.danger{color:var(--danger)}.pos-extra button:disabled{opacity:.45}@media (max-width:900px){.pos-head{flex-wrap:wrap}.pos-tools>a span,.pos-tools>form span{display:none}.pos-cart{width:auto;box-shadow:none}}.pos-customer .row>.qbtn{flex:none;min-width:0;width:52px}.pos-totals .pos-grand{border-top:0;margin-top:0}.pos-totals>div:not(.pos-grand)~.pos-grand{border-top:1px dashed #99c7c2;margin-top:4px}dialog.confirm{width:min(420px,92vw);border:0;border-radius:18px;padding:22px;box-shadow:0 20px 50px rgb(0 0 0/25%)}dialog.confirm::-webkit-backdrop{background:rgb(13 59 58/55%)}dialog.confirm::backdrop{background:rgb(13 59 58/55%)}dialog.confirm h2{margin:0 0 6px;font-size:1.25rem}dialog.confirm p{margin:0 0 16px;color:var(--muted)}dialog.confirm .btn,dialog.confirm button{margin:0 0 10px;display:flex;align-items:center;justify-content:center}.box-card{display:flex;align-items:center;gap:14px;-webkit-border-start:0;border-inline-start:0}.box-card b{display:block;font-size:1.1rem}.box-dot{width:14px;height:14px;border-radius:50%;background:#d6d3d1;flex:none}.box-card.open .box-dot{background:#22c55e;box-shadow:0 0 0 5px rgb(34 197 94/20%)}.quick{display:grid;grid-template-columns:2fr 1fr 1fr;grid-gap:12px;gap:12px;margin-bottom:16px}.quick a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:120px;border-radius:18px;background:#fff;border:1px solid var(--line);color:var(--brand);text-decoration:none;box-shadow:0 1px 2px rgb(28 25 23/4%)}.quick a b{color:var(--text);font-size:1.05rem}.quick a.quick-main{background:var(--brand);color:#fff;border:0}.quick a.quick-main b{color:#fff;font-size:1.25rem}@media (max-width:700px){.quick{grid-template-columns:1fr 1fr}.quick a.quick-main{grid-column:1/-1}}tr.match td{background:#f0fdfa}.tile-code{font-size:.8rem;color:var(--muted);font-weight:600;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:6px;margin-inline-end:6px}.code-chip{display:inline-flex;gap:6px;align-items:baseline;-webkit-margin-start:12px;margin-inline-start:12px;padding:4px 12px;border-radius:999px;background:var(--accent-soft);color:#92400e;font-size:.9rem;font-weight:500;vertical-align:middle}.pos-path{display:flex;flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.pos-path,.pos-path-step{align-items:center;gap:6px}.pos-path-step{display:inline-flex;color:var(--muted)}.tile.folder{background:#fffbeb;border-color:#fde68a;color:#92400e;justify-content:center;align-items:center;text-align:center}.tile.folder .tile-name{flex:none;color:var(--text);font-size:1.05rem}button.eye{width:44px;min-height:40px;margin:0;padding:0;display:grid;place-items:center;background:#f5f5f4;color:#a8a29e;border:0}button.eye.on{background:#ccfbf1;color:var(--brand)}.image-picker{display:flex;align-items:center;gap:14px;margin-bottom:14px}.image-picker .image-empty,.image-picker img{width:96px;height:96px;border-radius:14px;object-fit:cover;border:1px solid var(--line);flex:none}.image-picker .image-empty{display:grid;place-items:center;color:var(--muted);font-size:.85rem;background:#faf9f7}.image-picker>div{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.image-picker .btn,.image-picker button{width:auto;min-height:44px;margin:0;cursor:pointer}.category-image{padding:12px 0;border-top:1px solid var(--line)}.category-image>b{display:block;margin-bottom:8px}details.card>summary{cursor:pointer;min-height:32px}.tile-thumb{width:64px;height:64px;border-radius:12px;object-fit:cover}.tile.folder.has-img{padding:8px;gap:6px}.tile.folder .tile-img{width:100%;height:86px;border-radius:10px;object-fit:cover}.low-stock{color:var(--danger);font-weight:700}.cheque-preview{overflow-x:auto;padding:12px;background:#e7e5e0;border-radius:12px;margin-bottom:12px}.cheque-preview .cheque-print{box-shadow:0 1px 4px rgba(0,0,0,.2)}@media print{.cheque-print,.cheque-print *{visibility:visible}.cheque-print{position:absolute!important;top:0;left:0;box-shadow:none!important}.cheque-print .screen-only{display:none}.cheque-bg{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.status-pending{color:#b45309}.status-cleared{color:#15803d}.status-bounced,.status-cancelled{color:var(--danger)}.cheque-handle{position:absolute;border:1.5px dashed #0d9488;border-radius:4px;background:rgba(13,148,136,.06);cursor:-webkit-grab;cursor:grab;touch-action:none}.cheque-handle.on{border:2px solid var(--accent);background:rgba(245,158,11,.12)}.cheque-handle:active{cursor:-webkit-grabbing;cursor:grabbing}.cheque-handle-label{position:absolute;top:-18px;right:0;font-size:11px;background:#0d9488;color:#fff;padding:0 6px;border-radius:4px;white-space:nowrap}.cheque-handle.on .cheque-handle-label{background:var(--accent)}.cheque-nudge{align-items:center;gap:8px;margin-bottom:4px}.cheque-nudge button{width:48px;min-height:44px;font-size:1.1rem}@media print{.cheque-handle{display:none}}.cheque-format{align-items:end;gap:10px;margin:8px 0}.cheque-format label{width:auto;min-width:120px}.cheque-format .seg{display:flex;gap:6px;flex-wrap:wrap}.cheque-format .seg button{width:auto;padding:8px 12px;min-height:44px}@media print{body:has(.cheque-print) :not(:has(.cheque-print)):not(.cheque-print):not(.cheque-print *){display:none!important}body:has(.cheque-print) :has(.cheque-print){margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;width:auto!important;height:auto!important;min-height:0!important;overflow:visible!important;background:none!important}body:has(.cheque-print) .cheque-print{position:fixed!important;box-sizing:border-box}}.assistant{display:flex;flex-direction:column;gap:12px;max-width:900px}.assistant-hints{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));grid-gap:8px;gap:8px}.assistant-hints button{text-align:start;white-space:normal;min-height:56px}.assistant-chat{display:flex;flex-direction:column;gap:10px}.bubble{padding:12px 14px;border-radius:14px;white-space:pre-wrap;line-height:1.7;max-width:85%}.bubble.user{align-self:flex-start;background:var(--brand-dark);color:#fff}.bubble.assistant{align-self:flex-end;background:#fff;border:1px solid #e7e5e0}.assistant-input{display:flex;gap:8px;align-items:end;position:-webkit-sticky;position:sticky;bottom:0;background:#f5f4f0;padding:8px 0}.assistant-input textarea{flex:1 1;resize:vertical;font:inherit;padding:10px;border-radius:12px;border:1px solid #d6d3d1}.assistant-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;grid-gap:16px;gap:16px;align-items:start}@media (max-width:900px){.assistant-layout{grid-template-columns:1fr}}.assistant-side{display:flex;flex-direction:column;gap:6px}.assistant-side h2{font-size:1rem;margin:12px 0 2px}.assistant-chat-link{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:6px 8px;border-radius:10px;background:#fff;border:1px solid #e7e5e0}.assistant-chat-link.on{border-color:var(--accent)}.assistant-chat-link a{flex:1 1;text-decoration:none;color:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.assistant-chat-link button{width:32px;min-height:32px;padding:0}.action-card{margin-top:10px;padding:10px 12px;border-radius:12px;border:2px solid var(--accent);background:#fffbeb;white-space:normal;display:flex;flex-direction:column;gap:8px}.action-card.done{border-color:#16a34a;background:#f0fdf4}.action-card.cancelled,.action-card.failed{border-color:#d6d3d1;background:#fafaf9}.action-card button{min-height:44px;padding:6px 18px}.brief-link{display:flex;align-items:center;gap:10px;margin-bottom:12px;text-decoration:none;color:inherit;border:1px solid var(--accent)}.assistant,.assistant-layout>*{min-width:0}.bubble{overflow-wrap:anywhere}.chart{margin:10px 0 0;background:#fff;border-radius:10px;padding:8px}.chart figcaption{font-weight:600;margin-bottom:4px}.chart svg{width:100%;height:auto}.brief{border:1px solid var(--accent);margin-bottom:12px}.checklist{list-style:none;margin:0;padding:0}.checklist li{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #eee}.checklist li:last-child{border-bottom:0}.checklist li>span{flex:0 0 28px;height:28px;border-radius:50%;display:grid;place-items:center;font-weight:700;background:#f5f5f4;color:#78716c}.checklist li.ok>span{background:#ccfbf1;color:var(--brand)}.checklist li.todo>span{background:#fef3c7;color:#b45309}.checklist p{margin:4px 0 0}.checklist small{color:#78716c}.pos-offline{background:#fef3c7;color:#92400e;border-radius:10px;padding:10px 12px;margin-bottom:10px;display:grid;grid-gap:6px;gap:6px}.label-sheet{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.label{box-sizing:border-box;background:#fff;color:#000;border:1px dashed #a8a29e;padding:1.2mm 1.5mm;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;text-align:center}.label-name{font-weight:700;line-height:1.15;max-height:2.3em;overflow:hidden}.label-price{line-height:1;white-space:nowrap}.label-price b{font-size:1em}.label-price small{font-size:.45em}.label-price .omr{height:.7em}.label-barcode{width:100%;display:block}.label-plu{font-size:3mm}@media print{body:has(.label-sheet) :not(:has(.label-sheet)):not(.label-sheet):not(.label-sheet *){display:none!important}body:has(.label-sheet) :has(.label-sheet){margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;width:auto!important;min-height:0!important;overflow:visible!important;background:none!important}body:has(.label-sheet){background:#fff!important}.label-sheet,.label-sheet *{visibility:visible}.label-sheet{display:block;margin:0}.label{border:0;break-after:page;page-break-after:always}.label:last-child{break-after:auto;page-break-after:auto}}.tabs{gap:8px;margin-bottom:12px}.tabs>.pill{flex:none;min-width:0;display:inline-flex;align-items:center;text-decoration:none}.table-scroll{overflow-x:auto}tfoot td{background:#f5f5f4}fieldset.plain{border:0;padding:0;margin:0;min-width:0}.backup-warn{-webkit-border-start:4px solid #f59e0b;border-inline-start:4px solid #f59e0b;background:#fffbeb}.backup-warn p{margin:4px 0 0}@media (min-width:901px) and (max-height:860px){.side nav a{min-height:42px}.side-brand{padding-bottom:10px}}.pos-matches{display:grid;grid-gap:4px;gap:4px;margin-top:6px;max-height:180px;overflow-y:auto}.pos-matches button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:0 12px;background:#fff;color:var(--text);border:1px solid #d6d3cd;border-radius:10px;font-weight:400;text-align:start}.pos-matches button:hover{border-color:var(--brand)}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/9da48a48bf6500f8-s.p.woff2) format("woff2");unicode-range:u+06??,u+0750-077f,u+0870-0891,u+0897-08e1,u+08e3-08ff,u+200c-200e,u+2010-2011,u+204f,u+2e41,u+fb50-fdff,u+fe70-fe74,u+fe76-fefc,u+102e0-102fb,u+10e60-10e7e,u+10ec2-10ec7,u+10ec9-10eee,u+10ef?,u+1ee00-1ee03,u+1ee05-1ee1f,u+1ee21-1ee22,u+1ee24,u+1ee27,u+1ee29-1ee32,u+1ee34-1ee37,u+1ee39,u+1ee3b,u+1ee42,u+1ee47,u+1ee49,u+1ee4b,u+1ee4d-1ee4f,u+1ee51-1ee52,u+1ee54,u+1ee57,u+1ee59,u+1ee5b,u+1ee5d,u+1ee5f,u+1ee61-1ee62,u+1ee64,u+1ee67-1ee6a,u+1ee6c-1ee72,u+1ee74-1ee77,u+1ee79-1ee7c,u+1ee7e,u+1ee80-1ee89,u+1ee8b-1ee9b,u+1eea1-1eea3,u+1eea5-1eea9,u+1eeab-1eebb,u+1eef0-1eef1}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/9efac92d680e57b6-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/1323037a3e4ea9e8-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/17efc7caebbb6a73-s.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/f022b1629605b85c-s.p.woff2) format("woff2");unicode-range:u+06??,u+0750-077f,u+0870-0891,u+0897-08e1,u+08e3-08ff,u+200c-200e,u+2010-2011,u+204f,u+2e41,u+fb50-fdff,u+fe70-fe74,u+fe76-fefc,u+102e0-102fb,u+10e60-10e7e,u+10ec2-10ec7,u+10ec9-10eee,u+10ef?,u+1ee00-1ee03,u+1ee05-1ee1f,u+1ee21-1ee22,u+1ee24,u+1ee27,u+1ee29-1ee32,u+1ee34-1ee37,u+1ee39,u+1ee3b,u+1ee42,u+1ee47,u+1ee49,u+1ee4b,u+1ee4d-1ee4f,u+1ee51-1ee52,u+1ee54,u+1ee57,u+1ee59,u+1ee5b,u+1ee5d,u+1ee5f,u+1ee61-1ee62,u+1ee64,u+1ee67-1ee6a,u+1ee6c-1ee72,u+1ee74-1ee77,u+1ee79-1ee7c,u+1ee7e,u+1ee80-1ee89,u+1ee8b-1ee9b,u+1eea1-1eea3,u+1eea5-1eea9,u+1eeab-1eebb,u+1eef0-1eef1}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/18d6d756b83deaa1-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/101eb3c626c8a0e0-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/b729ad8c86c7d641-s.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/e4efb0298547fad0-s.p.woff2) format("woff2");unicode-range:u+06??,u+0750-077f,u+0870-0891,u+0897-08e1,u+08e3-08ff,u+200c-200e,u+2010-2011,u+204f,u+2e41,u+fb50-fdff,u+fe70-fe74,u+fe76-fefc,u+102e0-102fb,u+10e60-10e7e,u+10ec2-10ec7,u+10ec9-10eee,u+10ef?,u+1ee00-1ee03,u+1ee05-1ee1f,u+1ee21-1ee22,u+1ee24,u+1ee27,u+1ee29-1ee32,u+1ee34-1ee37,u+1ee39,u+1ee3b,u+1ee42,u+1ee47,u+1ee49,u+1ee4b,u+1ee4d-1ee4f,u+1ee51-1ee52,u+1ee54,u+1ee57,u+1ee59,u+1ee5b,u+1ee5d,u+1ee5f,u+1ee61-1ee62,u+1ee64,u+1ee67-1ee6a,u+1ee6c-1ee72,u+1ee74-1ee77,u+1ee79-1ee7c,u+1ee7e,u+1ee80-1ee89,u+1ee8b-1ee9b,u+1eea1-1eea3,u+1eea5-1eea9,u+1eeab-1eebb,u+1eef0-1eef1}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/c3d28d0a4af5320e-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/b096b166d47a2e73-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/79d9077e4fd7eddc-s.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/fb66eb17bf011c3b-s.p.woff2) format("woff2");unicode-range:u+06??,u+0750-077f,u+0870-0891,u+0897-08e1,u+08e3-08ff,u+200c-200e,u+2010-2011,u+204f,u+2e41,u+fb50-fdff,u+fe70-fe74,u+fe76-fefc,u+102e0-102fb,u+10e60-10e7e,u+10ec2-10ec7,u+10ec9-10eee,u+10ef?,u+1ee00-1ee03,u+1ee05-1ee1f,u+1ee21-1ee22,u+1ee24,u+1ee27,u+1ee29-1ee32,u+1ee34-1ee37,u+1ee39,u+1ee3b,u+1ee42,u+1ee47,u+1ee49,u+1ee4b,u+1ee4d-1ee4f,u+1ee51-1ee52,u+1ee54,u+1ee57,u+1ee59,u+1ee5b,u+1ee5d,u+1ee5f,u+1ee61-1ee62,u+1ee64,u+1ee67-1ee6a,u+1ee6c-1ee72,u+1ee74-1ee77,u+1ee79-1ee7c,u+1ee7e,u+1ee80-1ee89,u+1ee8b-1ee9b,u+1eea1-1eea3,u+1eea5-1eea9,u+1eeab-1eebb,u+1eef0-1eef1}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/3abc2a74bccacda0-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/20e170e88a69dd27-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:IBM Plex Sans Arabic;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/99dc19e540dbb87b-s.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:IBM Plex Sans Arabic Fallback;src:local("Arial");ascent-override:107.25%;descent-override:41.02%;line-gap-override:0.00%;size-adjust:101.17%}.__className_d15ab7{font-family:IBM Plex Sans Arabic,IBM Plex Sans Arabic Fallback;font-style:normal}