:root{--navy:#0f2a43;--navy-2:#173a5c;--ink:#16212c;--muted:#5d6b79;--line:#dde3ea;--bg:#f3f5f8;--card:#ffffff;--accent:#1f6feb;--accent-ink:#ffffff;--good:#167a46;--good-bg:#e2f5ea;--warn:#9a6200;--warn-bg:#fff2d6;--bad:#b3261e;--bad-bg:#fde8e6;--grey-bg:#e9edf2;--radius:12px;--shadow:0 1px 2px rgba(15,42,67,0.06),0 4px 14px rgba(15,42,67,0.05);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--ink)}*{box-sizing:border-box}body,html{margin:0;padding:0;background:var(--bg)}body{font-size:16px;line-height:1.45;-webkit-text-size-adjust:100%}h1,h2,h3,p{margin:0}h1{font-size:1.5rem;line-height:1.2}h2{font-size:1.05rem}h3{font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-bottom:.5rem}a{color:var(--accent)}dl,ol,ul{margin:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.muted{color:var(--muted)}.small{font-size:.875rem}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.85rem;word-break:break-all}.center{display:flex;justify-content:center;margin:1.25rem 0}.empty{text-align:center;color:var(--muted);padding:2rem 0}:focus-visible{outline:3px solid rgba(31,111,235,.45);outline-offset:2px}.btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid var(--line);background:#fff;color:var(--ink);font:inherit;font-weight:600;padding:.7rem 1rem;border-radius:10px;cursor:pointer;min-height:44px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.btn:hover:not(:disabled){background:#f6f8fa}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-small{min-height:36px;padding:.35rem .8rem;font-size:.9rem}.btn-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.btn-primary:hover:not(:disabled){background:#1a5fd0}.btn-danger{background:var(--bad);border-color:var(--bad);color:#fff}.btn-danger:hover:not(:disabled){background:#96201a}.btn-wide{width:100%}.btn-link{border:0;background:none;color:var(--accent);min-height:36px}.field{display:flex;flex-direction:column;gap:.35rem}.field label{font-size:.875rem;font-weight:600}input,select,textarea{font:inherit;color:inherit;background:#fff;border:1px solid #c4ccd6;border-radius:10px;padding:.7rem .8rem;min-height:44px;width:100%}textarea{resize:vertical}input:focus,textarea:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px rgba(31,111,235,.2)}.hint{color:var(--muted)}.hint,.hint-bad{font-size:.85rem}.hint-bad{color:var(--bad)}.stack{display:flex;flex-direction:column;gap:1rem}.grow{flex:1 1}.note{border-radius:10px;padding:.75rem .9rem;margin:0 0 1rem;display:flex;gap:.75rem;align-items:center;justify-content:space-between}.note-error{background:var(--bad-bg);color:var(--bad)}.note-warn{background:var(--warn-bg);color:var(--warn)}.stack .note{margin:0}.badge{display:inline-block;font-size:.78rem;font-weight:700;padding:.2rem .55rem;border-radius:999px;white-space:nowrap}.spinner-wrap{display:flex;justify-content:center;padding:2rem 0}.spinner{width:28px;height:28px;border-radius:50%;border:3px solid var(--line);border-top-color:var(--accent);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.spinner{animation-duration:2.4s}}.shell{min-height:100vh;min-height:100dvh}.sidebar{display:none}.topbar{position:-webkit-sticky;position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;background:var(--navy);color:#fff;padding:.6rem 1rem}.topbar .btn{background:transparent;color:#fff;border-color:rgba(255,255,255,.35)}.topbar .btn:hover:not(:disabled){background:rgba(255,255,255,.1)}.main{padding:1rem 1rem 6rem;max-width:1100px;margin:0 auto}.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:20;display:grid;grid-template-columns:1fr 1fr;background:#fff;border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}.bottom-link{display:flex;flex-direction:column;align-items:center;gap:.1rem;padding:.6rem 0;color:var(--muted);text-decoration:none;font-size:.8rem;font-weight:600;min-height:56px;justify-content:center}.bottom-link.is-active{color:var(--accent)}.brand{display:flex;align-items:center;gap:.6rem;font-weight:700}.brand small{display:block;font-weight:500;font-size:.72rem;opacity:.7}.brand-mark{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:8px;background:var(--accent);color:#fff;font-weight:800}.brand-large{color:var(--navy);font-size:1.25rem;margin-bottom:1.25rem}@media (min-width:900px){.shell{display:grid;grid-template-columns:240px 1fr;grid-template-rows:1fr}.bottom-nav,.topbar{display:none}.sidebar{gap:1.5rem;position:-webkit-sticky;position:sticky;top:0;height:100vh;background:var(--navy);color:#fff;padding:1.25rem 1rem}.sidebar,.sidebar nav{display:flex;flex-direction:column}.sidebar nav{gap:.25rem}.nav-link{display:flex;gap:.7rem;align-items:center;padding:.65rem .8rem;border-radius:10px;color:rgba(255,255,255,.8);text-decoration:none;font-weight:600}.nav-link:hover{background:rgba(255,255,255,.08)}.nav-link.is-active{background:var(--navy-2);color:#fff}.sidebar-foot{margin-top:auto;gap:.75rem}.sidebar-foot,.who{display:flex;flex-direction:column}.who{font-size:.9rem}.who span{opacity:.7;font-size:.8rem}.sidebar .btn{background:transparent;color:#fff;border-color:rgba(255,255,255,.35)}.sidebar .btn:hover:not(:disabled){background:rgba(255,255,255,.1)}.main{padding:2rem 2rem 3rem;width:100%}h1{font-size:1.75rem}}.page-head{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem}.head-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.back{margin-bottom:.5rem;font-size:.9rem}@media (min-width:720px){.page-head{flex-direction:row;align-items:flex-start;justify-content:space-between}}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:1rem}.card-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.75rem;flex-wrap:wrap}.card-foot{margin-top:.75rem;font-size:.9rem}.stat-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:.75rem;gap:.75rem;margin-top:.75rem}.card-head+.stat-grid,.card>.stat-grid:first-child{margin-top:0}.stat{background:#f7f9fb;border-radius:10px;padding:.7rem .8rem}.stat-label{font-size:.78rem;color:var(--muted);font-weight:600}.stat-value{font-size:1.3rem;font-weight:800;margin-top:.1rem}.stat-hint{font-size:.72rem;color:var(--muted)}@media (min-width:720px){.stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}}.facts{display:grid;grid-template-columns:1fr;grid-gap:.15rem 1rem;gap:.15rem 1rem;margin-bottom:.75rem}.facts dt{color:var(--muted);font-size:.85rem;margin-top:.5rem}.facts dd{margin:0;font-weight:500}@media (min-width:720px){.facts{grid-template-columns:170px 1fr}.facts dt{margin-top:0}.facts dd,.facts dt{padding:.35rem 0}}.totals{display:grid;grid-template-columns:1fr;grid-gap:1rem;gap:1rem}.totals-col dl{display:grid;grid-template-columns:1fr auto;grid-gap:.3rem 1rem;gap:.3rem 1rem}.totals-col dt{color:var(--muted)}.totals-col dd{margin:0;text-align:right;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}@media (min-width:720px){.totals{grid-template-columns:repeat(3,1fr)}}.fee-now{font-size:1.05rem;margin-bottom:.75rem}.plain-list{gap:.4rem;margin-bottom:.5rem}.plain-list,.timeline{list-style:none;padding:0;display:flex;flex-direction:column}.timeline li{padding:.75rem 0;border-top:1px solid var(--line)}.timeline li:first-child{border-top:0;padding-top:0}.timeline-top{display:flex;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.timeline time{color:var(--muted);font-size:.85rem}.toolbar{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem}.chips{display:flex;gap:.4rem;overflow-x:auto;padding-bottom:.25rem}.chip{-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit;font-weight:600;font-size:.875rem;border:1px solid var(--line);background:#fff;border-radius:999px;padding:.4rem .9rem;min-height:38px;cursor:pointer;white-space:nowrap}.chip.is-on{background:var(--navy);border-color:var(--navy);color:#fff}@media (min-width:720px){.toolbar{flex-direction:row;align-items:center}}.list{list-style:none;padding:0}.list,.row{display:flex;flex-direction:column;gap:.6rem}.row{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:.9rem 1rem;text-decoration:none;color:inherit;box-shadow:var(--shadow)}.row:hover{border-color:#b9c4d0}.row-title{font-weight:700;font-size:1.02rem}.row-sub{color:var(--muted);font-size:.875rem;word-break:break-word}.badges{display:flex;flex-wrap:wrap;gap:.35rem;margin-bottom:.3rem}@media (min-width:720px){.row{flex-direction:row;justify-content:space-between;align-items:center;gap:1.5rem}.row-side{text-align:right}.badges{justify-content:flex-end}}.modal-backdrop{position:fixed;inset:0;z-index:50;background:rgba(15,25,35,.5);display:flex;align-items:flex-end;justify-content:center}.modal{background:#fff;width:100%;max-height:92dvh;overflow-y:auto;border-radius:18px 18px 0 0;padding:1.25rem 1rem calc(1rem + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:1rem}.modal-actions{display:flex;flex-direction:column-reverse;gap:.5rem}@media (min-width:720px){.modal-backdrop{align-items:center;padding:1rem}.modal{max-width:480px;border-radius:16px;padding:1.5rem;box-shadow:0 20px 50px rgba(15,25,35,.3)}.modal-actions{flex-direction:row;justify-content:flex-end}}.signin-page{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:1rem;background:linear-gradient(160deg,#e9eff6,var(--bg))}.signin-card{width:100%;max-width:420px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:1.5rem 1.25rem;box-shadow:var(--shadow)}.signin-card h1{font-size:1.35rem}.steps{padding-left:1.2rem;display:flex;flex-direction:column;gap:.6rem;font-size:.95rem}.code-input{font-size:1.5rem;letter-spacing:.4em;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.badge-good{background:var(--good-bg);color:var(--good)}.badge-warn{background:var(--warn-bg);color:var(--warn)}.badge-bad{background:var(--bad-bg);color:var(--bad)}.badge-grey{background:var(--grey-bg);color:var(--muted)}.note-good{background:var(--good-bg);color:var(--good)}.note-info{background:#e6f0fd;color:#174ea6}.note a{color:inherit;font-weight:700}.brand-name{font-size:.95rem;max-width:55vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-icon{display:inline-block;width:1.2rem;text-align:center}.bottom-link span{font-size:1.1rem;line-height:1}.center-page{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:1rem;background:linear-gradient(160deg,#e9eff6,var(--bg))}.signin-wide{max-width:520px}.center-text{text-align:center}.section-title{font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-top:.5rem}.check{display:flex;align-items:center;gap:.6rem;font-weight:600;min-height:44px}.check input{width:22px;min-height:22px;height:22px;padding:0;flex:none}.row-end{display:flex;align-items:center;gap:.6rem}.narrow{max-width:420px}.two-col{display:grid;grid-template-columns:1fr;grid-gap:1rem;gap:1rem}@media (min-width:520px){.two-col{grid-template-columns:1fr 1fr}}.stack-lg{gap:1rem}.plain-rows,.stack-lg,.steps-list{display:flex;flex-direction:column}.plain-rows,.steps-list{list-style:none;padding:0}.plain-rows li,.plain-rows>div,.steps-list li{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.7rem 0;border-top:1px solid var(--line)}.plain-rows li:first-child,.plain-rows>div:first-child,.steps-list li:first-child{border-top:0;padding-top:0}.plain-rows dt{color:var(--muted)}.plain-rows dd{margin:0;font-weight:600;text-align:right}ol.steps-list{list-style:decimal;padding-left:1.2rem;gap:.5rem}ol.steps-list li{display:list-item;border:0;padding:0}.row-button{width:100%;text-align:left;font:inherit;cursor:pointer}.row-main{min-width:0}.row-side{gap:.2rem}.empty-card,.row-side{display:flex;flex-direction:column}.empty-card{background:var(--card);border:1px dashed #b9c4d0;border-radius:var(--radius);padding:2rem 1rem;text-align:center;gap:.75rem;align-items:center;margin-bottom:1rem}.card+.card,.card+.note,.card-actions,.note+.card{margin-top:1rem}.card-actions{display:flex;gap:.5rem;flex-wrap:wrap}.card .note{margin-top:1rem;margin-bottom:0}.tabs{gap:.25rem;border-bottom:1px solid var(--line);margin-bottom:1rem;overflow-x:auto}.tab,.tabs{display:flex}.tab{padding:.7rem 1rem;text-decoration:none;color:var(--muted);font-weight:600;border-bottom:3px solid transparent;margin-bottom:-1px;white-space:nowrap;min-height:44px;align-items:center}.tab.is-on{color:var(--accent);border-color:var(--accent)}.session-row{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:.6rem 0;border-top:1px solid var(--line)}.session-row:first-child{border-top:0}.secret{display:block;background:#f3f5f8;border-radius:10px;padding:.75rem;font-size:1.05rem;letter-spacing:.05em;word-break:break-all;text-align:center}.codes,.secret{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.codes{list-style:none;padding:0;display:grid;grid-template-columns:1fr 1fr;grid-gap:.5rem;gap:.5rem}.codes li{background:#f3f5f8;border-radius:8px;padding:.5rem;text-align:center}.chips{flex-wrap:nowrap}.options{border:1px solid var(--line);border-radius:12px;padding:.75rem;display:flex;flex-direction:column;gap:1rem;margin:0;min-width:0}.options legend{font-weight:700;font-size:.9rem;padding:0 .4rem}.option{display:flex;flex-direction:column;gap:.75rem;padding-bottom:1rem;border-bottom:1px dashed var(--line)}.option:last-of-type{border-bottom:0;padding-bottom:0}.push-left{margin-right:auto}.modal-actions .push-left{align-self:flex-start}@media (min-width:720px){.modal-actions .push-left{align-self:center}.modal{max-width:560px}}.inline-form{display:flex;gap:.5rem;align-items:flex-end}.inline-form .field{flex:1 1}.cat-row{display:flex;flex-direction:column;gap:.5rem;padding:.75rem 0;border-top:1px solid var(--line)}.cat-row:first-child{border-top:0}.cat-actions{gap:.5rem;align-items:center}.cat-actions,.row-actions{display:flex;flex-wrap:wrap}.row-actions{gap:.4rem;margin-top:.3rem}@media (min-width:720px){.row-actions{justify-content:flex-end}}.hint-block{margin-top:1rem}h2.section-title{margin:1.5rem 0 .6rem}.totals-list{margin-top:.75rem;border-top:1px solid var(--line);padding-top:.5rem}.totals-list>div{padding:.3rem 0;border-top:0}.totals-list .total-line{font-size:1.15rem;border-top:1px solid var(--line);margin-top:.3rem;padding-top:.6rem}.totals-list .total-line dd{font-weight:800}.secret{-webkit-user-select:all;-moz-user-select:all;user-select:all}@media print{.back,.bottom-nav,.no-print,.sidebar,.topbar{display:none!important}.main,body{background:#fff;padding:0}.card{box-shadow:none;border-color:#ccc;page-break-inside:avoid;break-inside:avoid}}.toolbar-end{display:flex;justify-content:flex-end;margin-bottom:.75rem}.perm-list{margin:.4rem 0 0;padding-left:1.1rem;display:flex;flex-direction:column;gap:.15rem;font-size:.9rem}.role-row .btn-link{padding-left:0;justify-content:flex-start}.notice-gap{margin-bottom:1rem}.qr-wrap{display:flex;justify-content:center}.qr{display:block;border:1px solid var(--line);border-radius:12px;background:#fff}.qr-empty{background:#f3f5f8}.cant-scan{font-size:.9rem}.cant-scan summary{cursor:pointer;color:var(--accent);font-weight:600;min-height:36px;display:flex;align-items:center}.cant-scan[open] summary{margin-bottom:.5rem}.till-card{display:flex;flex-direction:column;gap:1rem}.btn-big{min-height:64px;font-size:1.2rem;width:100%}@media (min-width:720px){.till-card{flex-direction:row;align-items:center;justify-content:space-between}.btn-big{width:auto;min-width:240px}}.date-pick{margin-bottom:1rem;max-width:520px}.bars{list-style:none;padding:0;display:flex;flex-direction:column;gap:.4rem;max-height:26rem;overflow-y:auto}.bars li{display:grid;grid-template-columns:5.5rem 1fr 5.5rem;grid-gap:.6rem;gap:.6rem;align-items:center;font-size:.9rem}.bar-track{background:#eef2f6;border-radius:6px;height:14px;overflow:hidden}.bar-fill{display:block;height:100%;background:var(--accent);border-radius:6px;min-width:2px}.bar-value{text-align:right;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}@media (max-width:420px){.bars li{grid-template-columns:4.5rem 1fr 4.8rem;font-size:.82rem}}.pair-code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:2.2rem;font-weight:800;letter-spacing:.12em;text-align:center;background:#f3f5f8;border-radius:12px;padding:.9rem .5rem;color:var(--navy);-webkit-user-select:all;-moz-user-select:all;user-select:all}@media (max-width:380px){.pair-code{font-size:1.7rem}}.hint-gap{margin:-.4rem 0 1rem}.refund-lines li{padding:.6rem 0}.stepper{gap:.5rem}.stepper span{min-width:1.5rem}.stepper .btn{font-size:1.1rem}.refund-total{font-weight:700;font-size:1.05rem}body,html{overscroll-behavior:none}body{-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-moz-user-select:none;user-select:none}.receipt,input,textarea{-webkit-user-select:text;-moz-user-select:text;user-select:text}.panel{width:100%;max-width:440px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:1.5rem 1.25rem;box-shadow:var(--shadow)}.panel-wide{max-width:760px}.btn-big{min-height:60px;font-size:1.15rem}.row-between{justify-content:space-between}.row-between,.row-gap{display:flex;gap:.5rem;flex-wrap:wrap}.muted-link{color:var(--muted)}.code-input{font-size:1.8rem;letter-spacing:.15em;text-align:center;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;text-transform:uppercase}.name-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));grid-gap:.75rem;gap:.75rem}.name-tile{-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit;font-weight:700;border:1px solid var(--line);background:#fff;border-radius:14px;padding:1rem .5rem;min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;cursor:pointer}.name-tile:active{background:#eef3fb}.avatar{width:52px;height:52px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-size:1.1rem}.pin-dots{display:flex;justify-content:center;gap:.8rem}.dot{width:16px;height:16px;border-radius:50%;border:2px solid var(--navy)}.dot.on{background:var(--navy)}.keypad{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:.5rem;gap:.5rem}.key{-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit;font-size:1.5rem;font-weight:700;min-height:62px;border-radius:12px;border:1px solid var(--line);background:#fff;cursor:pointer}.key:active{background:#e6eefb}.key-soft{font-size:1rem;color:var(--muted)}.amount{font-size:2.3rem;font-weight:800;text-align:center;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:var(--navy)}.till{min-height:100vh;min-height:100dvh;display:grid;grid-template-rows:auto 1fr auto}.till-bar{position:-webkit-sticky;position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:.5rem;background:var(--navy);color:#fff;padding:.5rem .75rem;grid-column:1/-1}.bar-btn{background:transparent;color:#fff;border-color:rgba(255,255,255,.35)}.till-who{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.products{padding:.75rem;overflow-y:auto}.product-tools{display:flex;flex-direction:column;gap:.6rem;margin-bottom:.75rem}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));grid-gap:.6rem;gap:.6rem;padding-bottom:5.5rem}.product-tile{-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit;text-align:left;border:1px solid var(--line);background:#fff;border-radius:14px;padding:.8rem;min-height:96px;display:flex;flex-direction:column;justify-content:space-between;gap:.4rem;cursor:pointer;box-shadow:var(--shadow)}.product-name{font-weight:700;line-height:1.2}.product-price{color:var(--muted);font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.product-tile.has-options{grid-column:span 2;cursor:default;justify-content:flex-start}.option-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));grid-gap:.4rem;gap:.4rem}.option-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit;text-align:left;border:1px solid var(--line);background:var(--bg);border-radius:10px;padding:.55rem .6rem;min-height:64px;display:flex;flex-direction:column;justify-content:space-between;gap:.15rem;cursor:pointer}.option-btn:hover{border-color:var(--accent)}.option-name{font-weight:700;line-height:1.2}.option-price{color:var(--muted);font-weight:600;font-size:.9rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.cart-side{display:none}.cart-bar{position:fixed;left:0;right:0;bottom:0;padding:.6rem .75rem calc(.6rem + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);z-index:10}@media (min-width:900px){.till{grid-template-columns:1fr 380px;grid-template-rows:auto 1fr;height:100vh;height:100dvh}.products{grid-row:2}.product-grid{padding-bottom:1rem}.cart-side{display:flex;grid-row:2;border-left:1px solid var(--line);background:#fff;min-height:0}.cart-bar{display:none}}.cart{display:flex;flex-direction:column;width:100%;min-height:0;flex:1 1}.cart-side .cart{padding:.75rem}.cart-head{display:flex;justify-content:space-between;align-items:center}.cart-empty{padding:1rem 0}.cart-lines{list-style:none;padding:0;margin:0;overflow-y:auto;flex:1 1}.cart-lines li{display:grid;grid-template-columns:1fr auto auto;grid-gap:.5rem;gap:.5rem;align-items:center;padding:.6rem 0;border-top:1px solid var(--line)}.cart-lines li:first-child{border-top:0}.cart-amount{min-width:4.5rem;text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.cart-foot{border-top:1px solid var(--line);padding-top:.75rem;display:flex;flex-direction:column;gap:.6rem}.cart-total{display:flex;justify-content:space-between;font-size:1.3rem}.stepper{display:flex;align-items:center;gap:.4rem}.stepper span{min-width:1.6rem;text-align:center;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.stepper .btn{min-width:40px;min-height:40px;font-size:1.15rem;padding:0}.variant-list{display:flex;flex-direction:column;gap:.5rem}.variant-list .btn{justify-content:space-between}.btn-danger-link{color:var(--bad)}.pay-choices{display:grid;grid-template-columns:1fr 1fr;grid-gap:.75rem;gap:.75rem}.pay-choice{-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit;font-weight:800;font-size:1.2rem;border:2px solid var(--line);background:#fff;border-radius:16px;min-height:140px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.3rem;cursor:pointer}.pay-choice small{font-weight:600;color:var(--muted);font-size:1rem}.pay-choice:active{border-color:var(--accent);background:#eef3fb}.pay-icon{font-size:2rem;color:var(--accent)}.quick-cash{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));grid-gap:.5rem;gap:.5rem}.quick-cash .btn{min-height:54px;font-size:1.05rem}.test-tap{background:#f6f8fa;border-radius:12px;padding:.75rem}.change-big{text-align:center;font-size:1.3rem;background:var(--good-bg);color:var(--good);border-radius:12px;padding:.8rem}.change-big strong{display:block;font-size:2.4rem}.receipt{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.9rem;background:#fafbfc;border:1px dashed #c4ccd6;border-radius:10px;padding:.9rem}.receipt-head{text-align:center;display:flex;flex-direction:column;gap:.15rem;margin-bottom:.6rem}.receipt-lines{list-style:none;padding:0;margin:0 0 .5rem;border-top:1px dashed #c4ccd6}.receipt-lines li{display:flex;justify-content:space-between;gap:.75rem;padding:.25rem 0}.receipt-totals{border-top:1px dashed #c4ccd6;padding-top:.4rem}.receipt-totals>div{display:flex;justify-content:space-between;padding:.15rem 0}.receipt-totals dd{margin:0}.receipt-total{font-weight:800;font-size:1.05rem}.receipt-void{color:var(--bad);font-weight:700;text-align:center}.receipt-foot{text-align:center;margin-top:.6rem;color:var(--muted)}.menu-list{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;overflow:hidden}.menu-item{-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit;font-weight:600;text-align:left;background:#fff;border:0;border-top:1px solid var(--line);padding:1rem;min-height:56px;display:flex;justify-content:space-between;cursor:pointer}.menu-item:first-child{border-top:0}.menu-item:active{background:#f3f5f8}.row-link{-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit;width:100%;background:none;border:0;padding:0;display:flex;justify-content:space-between;align-items:center;gap:.75rem;cursor:pointer;text-align:left;min-height:44px}.seg{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:12px;overflow:hidden}.seg button{-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit;font-weight:700;border:0;background:#fff;min-height:48px;cursor:pointer}.seg button.is-on{background:var(--navy);color:#fff}.refund-lines{list-style:none;padding:0;display:flex;flex-direction:column}.refund-lines li{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:.5rem 0;border-top:1px solid var(--line)}.refund-lines li:first-child{border-top:0}@page{size:80mm auto;margin:3mm}@media print{body *{visibility:hidden}.modal,.modal-backdrop{position:static!important;transform:none!important;background:none!important;box-shadow:none!important}.receipt,.receipt *{visibility:visible;color:#000!important}.receipt{position:absolute;left:0;top:0;width:72mm;border:0;background:#fff;font-size:12px;line-height:1.35}.receipt strong{font-weight:800}}.waiting-list{display:flex;flex-direction:column;gap:.5rem;margin-bottom:.75rem}.waiting-item{display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:wrap;background:var(--warn-bg);color:var(--warn);border-radius:12px;padding:.6rem .8rem}.waiting-item strong{color:var(--ink)}.reader-box{display:flex;flex-direction:column;gap:.6rem;background:#f6f8fa;border-radius:12px;padding:.75rem}.reader-box .note{margin:0}.cart-name{-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit;text-align:left;background:none;border:0;padding:0;cursor:pointer;display:flex;flex-direction:column;min-width:0;color:inherit}.discount{color:var(--good);font-weight:600}.line-qty{display:flex;justify-content:space-between;align-items:center;font-weight:700}.line-qty .stepper .btn{min-width:52px;min-height:52px;font-size:1.4rem}.line-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));grid-gap:.5rem;gap:.5rem}.line-field{-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit;border:2px solid var(--line);background:#fff;border-radius:12px;padding:.6rem;display:flex;flex-direction:column;align-items:flex-start;gap:.1rem;cursor:pointer;min-height:72px}.line-field strong{font-size:1.2rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.line-field.is-on{border-color:var(--accent);background:#eef3fb}.line-field:disabled{opacity:.6;cursor:not-allowed}.line-total{display:flex;justify-content:space-between;font-size:1.15rem}.stock-left{font-size:.8rem;font-weight:700;color:var(--good)}.stock-left.low{color:var(--warn)}.stock-left.out{color:var(--bad)}.offline-bar{background:#e8f0fe;color:var(--ink);border:1px solid #c6d8fb;border-radius:12px;padding:.6rem .8rem;margin-bottom:.6rem;font-weight:600;font-size:.92rem}.offline-bar.is-off{background:#fff4e0;border-color:#f2d49b}.queue-list{list-style:none;margin:0;padding:0;gap:.5rem}.queue-list,.queue-list li{display:flex;flex-direction:column}.queue-list li{border:1px solid var(--line);border-radius:12px;padding:.6rem .75rem;gap:.3rem}.queue-row{display:flex;justify-content:space-between;gap:.5rem;align-items:center}.receipt-addons{display:block;color:var(--muted);font-size:.85em}.addon-group{display:flex;flex-direction:column;gap:.5rem}.addon-head{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem}.addon-head .needs{color:var(--warn);font-weight:700}.addon-choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));grid-gap:.45rem;gap:.45rem}.addon-choice{-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit;font-weight:600;text-align:left;border:2px solid var(--line);background:#fff;border-radius:12px;padding:.6rem .7rem;min-height:56px;display:flex;flex-direction:column;justify-content:center;gap:.1rem;cursor:pointer}.addon-choice small{color:var(--muted);font-weight:600}.addon-choice.is-on{border-color:var(--accent);background:#eaf2ff}.cart-addons{color:var(--muted)}.cart-extras{grid-column:1/-1;justify-self:start;margin-top:-.2rem}.cart-head-actions{display:flex;align-items:center;gap:.4rem}.quick-add-btn{white-space:nowrap;font-weight:700}.cart-customer{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.35rem 0;border-bottom:1px solid var(--line);margin-bottom:.5rem;font-size:.95rem}.customer-search{width:100%}.customer-list{list-style:none;padding:0;margin:0;display:grid;grid-gap:.35rem;gap:.35rem;max-height:45vh;overflow-y:auto}.customer-row{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;text-align:left;font:inherit;background:#fff;border:1px solid var(--line);border-radius:10px;padding:.75rem .85rem;display:grid;grid-gap:.15rem;gap:.15rem;cursor:pointer;min-height:56px}.customer-row:active{border-color:var(--accent)}.search-row{display:flex;gap:.5rem;align-items:stretch}.search-row input{flex:1 1;min-width:0}.held-btn{white-space:nowrap;display:inline-flex;align-items:center;gap:.4rem}.held-count{display:inline-grid;place-items:center;min-width:1.5rem;height:1.5rem;border-radius:999px;background:var(--accent);color:#fff;font-size:.8rem;padding:0 .35rem}.held-list{list-style:none;padding:0;margin:0;display:grid;grid-gap:.5rem;gap:.5rem;max-height:55vh;overflow-y:auto}.held-list li{display:flex;align-items:center;gap:.5rem}.held-row{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:1 1;text-align:left;font:inherit;background:#fff;border:1px solid var(--line);border-radius:12px;padding:.75rem .9rem;display:grid;grid-template-columns:1fr auto;grid-gap:.1rem .75rem;gap:.1rem .75rem;cursor:pointer;min-height:60px}.held-row:active{border-color:var(--accent)}.held-label{font-weight:700}.held-total{grid-row:1/span 2;grid-column:2;align-self:center}