:root{--bg:#f4f1ea;--card:#fff;--ink:#1f2430;--muted:#6b7280;--line:#e5e0d5;--primary:#1d3557;--accent:#c8553d;--ok:#2a7f62;--warn:#d08c00;--radius:12px;--navh:64px;color:var(--ink);background:var(--bg);-webkit-tap-highlight-color:transparent;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,textarea,.btn{font:inherit}input,textarea,select{border:1px solid var(--line);background:#fff;border-radius:10px;width:100%;padding:10px 12px;font-size:16px}input:focus,textarea:focus{outline:2px solid var(--primary);outline-offset:-1px}button,.btn{border:1px solid var(--line);color:var(--ink);cursor:pointer;background:#fff;border-radius:10px;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:10px 14px;text-decoration:none;display:inline-flex}button:active{transform:scale(.98)}button:disabled{opacity:.5}button.primary{background:var(--primary);color:#fff;border-color:var(--primary)}button.danger{color:var(--accent);border-color:var(--accent)}button.ghost{color:var(--primary);background:0 0;border-color:#0000}button.ghost.light{color:#fff;text-decoration:underline}button.small{min-height:32px;padding:4px 8px;font-size:14px}button.big{min-height:56px;font-size:18px;font-weight:600}.muted{color:var(--muted)}.center{text-align:center}.note{background:#fff7e0;border:1px solid #f1dc9c;border-radius:10px;padding:8px 12px}code{background:#eee;border-radius:4px;padding:1px 4px}.app{min-height:100dvh}.nav{height:calc(var(--navh) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--primary);z-index:20;display:flex;position:fixed;bottom:0;left:0;right:0}.nav a{color:#cfd8e3;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:12px;text-decoration:none;display:flex}.nav a.active{color:#fff;background:#ffffff14;font-weight:600}.nav .ico{font-size:22px}.nav .brand{display:none}.main{padding:12px 12px calc(var(--navh) + 90px + env(safe-area-inset-bottom));max-width:1300px;margin:0 auto}.mobile-only{display:inline-flex}@media (width>=900px){.nav{align-items:stretch;gap:4px;height:56px;padding:0 16px;position:sticky;top:0;bottom:auto}.nav .brand{color:#fff;align-items:center;margin-right:24px;font-weight:700;display:flex}.nav a{flex-direction:row;flex:none;gap:8px;padding:0 16px;font-size:15px}.nav .ico{font-size:18px}.main{padding:16px 24px 40px}.mobile-only{display:none!important}}.chips{scrollbar-width:none;gap:8px;padding-bottom:8px;display:flex;overflow-x:auto}.chip{white-space:nowrap;border-radius:999px;min-height:40px}.chip.on{background:var(--primary);color:#fff;border-color:var(--primary)}.search{margin-bottom:12px}.tiles{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;display:grid}.tile{text-align:left;background:var(--card);border-radius:var(--radius);flex-direction:column;justify-content:space-between;align-items:flex-start;min-height:92px;padding:12px;position:relative;box-shadow:0 1px 2px #0000000d}.tile .tname{font-weight:600;line-height:1.2}.tile .tprice{color:var(--primary);font-size:18px;font-weight:700}.tile .tstock{color:var(--muted);font-size:12px}.tile .tstock.low{color:var(--warn)}.tile .tstock.out{color:var(--accent);font-weight:600}.tile.free{background:0 0;border-style:dashed}.tile.free .tprice{color:var(--muted);font-size:14px;font-weight:400}.badge{background:var(--accent);color:#fff;border-radius:999px;place-items:center;min-width:26px;height:26px;font-size:14px;font-weight:700;display:grid;position:absolute;top:-6px;right:-6px}.cart{display:none}.cart.open{inset:0;bottom:calc(var(--navh) + env(safe-area-inset-bottom));background:var(--bg);z-index:15;flex-direction:column;padding:12px;display:flex;position:fixed;overflow-y:auto}.cart-head{justify-content:space-between;align-items:center;display:flex}.cart h2{margin:4px 0 8px}.lines{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.lines li{background:var(--card);border-radius:var(--radius);padding:10px}.lname{margin-bottom:6px;font-weight:600}.lrow{align-items:center;gap:8px;display:flex}.qty{align-items:center;gap:4px;display:flex}.qty button{width:44px;padding:0;font-size:20px}.qty span{text-align:center;min-width:28px;font-weight:700}.lprice{flex:1;align-items:center;gap:4px;display:flex}.lprice input{text-align:right;max-width:90px;padding:8px}.lsum{text-align:right;min-width:70px}.checkout{flex-direction:column;gap:10px;margin-top:12px;display:flex}.total{justify-content:space-between;align-items:baseline;font-size:20px;display:flex}.total strong{font-size:30px}.seg{grid-template-columns:1fr 1fr;gap:8px;display:grid}.seg button{min-height:50px;font-size:17px}.seg button.on{background:var(--primary);color:#fff;border-color:var(--primary)}.cash label{align-items:center;gap:10px;display:flex}.cash label input{flex:1}.quick{gap:8px;margin-top:8px;display:flex}.quick button{flex:1}.change{color:var(--ok);text-align:center;margin-top:8px;font-size:20px;font-weight:700}.change.neg{color:var(--accent)}.cartbar{left:12px;right:12px;bottom:calc(var(--navh) + 12px + env(safe-area-inset-bottom));z-index:10;background:var(--accent);color:#fff;border:0;border-radius:14px;justify-content:space-between;min-height:60px;padding:0 18px;font-size:17px;position:fixed;box-shadow:0 6px 20px #0003}.cartbar strong{font-size:20px}@media (width>=900px){.kasse{grid-template-columns:1fr 380px;align-items:start;gap:20px;display:grid}.cart,.cart.open{top:72px;background:var(--card);border-radius:var(--radius);z-index:1;flex-direction:column;max-height:calc(100vh - 90px);padding:16px;display:flex;position:sticky;inset:auto;overflow-y:auto}.cart .lines li{background:var(--bg)}}.toast{left:50%;bottom:calc(var(--navh) + 84px + env(safe-area-inset-bottom));z-index:30;color:#fff;border-radius:12px;align-items:center;gap:12px;width:max-content;max-width:calc(100vw - 24px);padding:12px 16px;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 6px 20px #00000040}.toast.ok{background:var(--ok)}.toast.err{background:var(--accent)}@media (width>=900px){.toast{bottom:24px}}.page{flex-direction:column;gap:12px;display:flex}.toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.toolbar input[type=search]{flex:1;min-width:160px}.toolbar input[type=date]{width:auto}.check{align-items:center;gap:8px;display:flex}.check input{width:auto}.group h3{margin:8px 0}.plist{background:var(--card);border-radius:var(--radius);margin:0;padding:0;list-style:none;overflow:hidden}.plist li{border-bottom:1px solid var(--line);cursor:pointer;align-items:center;gap:10px;padding:14px 12px;display:flex}.plist li:last-child{border-bottom:0}.plist li.inactive{opacity:.45}.pname{flex:1}.pstock{color:var(--muted);font-size:13px}.pstock.low{color:var(--warn)}.pstock.out{color:var(--accent);font-weight:600}.modal{z-index:40;background:#0006;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--card);width:100%;max-width:560px;max-height:92dvh;padding:16px 16px calc(16px + env(safe-area-inset-bottom));border-radius:16px 16px 0 0;flex-direction:column;gap:12px;display:flex;overflow-y:auto}.sheet h2{margin:0}.sheet label.check{color:var(--ink);flex-direction:row}.two{grid-template-columns:1fr 1fr;gap:10px;display:grid}.actions{flex-wrap:wrap;gap:8px;display:flex}@media (width>=900px){.modal{align-items:center}.sheet{border-radius:16px}}.cards{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;display:grid}.card{background:var(--card);border-radius:var(--radius);flex-direction:column;gap:4px;padding:12px;display:flex}.card span{color:var(--muted);font-size:13px}.card strong{font-size:22px}.sales{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.sales li{background:var(--card);border-radius:var(--radius);flex-direction:column;align-items:flex-start;gap:6px;padding:12px;display:flex}.sales li.voided{opacity:.5}.sales li.voided strong{text-decoration:line-through}.shead{justify-content:space-between;width:100%;display:flex}.sitems{flex-direction:column;font-size:15px;display:flex}.bars{background:var(--card);border-radius:var(--radius);flex-direction:column;gap:10px;margin:0;padding:12px;list-style:none;display:flex}.bl{align-items:baseline;gap:8px;display:flex}.bl span{flex:1}.bar{background:var(--bg);border-radius:4px;height:8px;margin-top:4px;overflow:hidden}.bar i{background:var(--primary);border-radius:4px;height:100%;display:block}.chips.wrap{flex-wrap:wrap;overflow:visible}.tile.new{border-color:var(--primary)}.tile.new .tname{color:var(--primary)}svg.lucide{flex-shrink:0}.ic{align-items:center;gap:6px;display:inline-flex}.tile .tname{align-items:center;gap:6px;display:flex}.nav .brand{gap:8px}.shead>span{align-items:center;gap:6px;display:inline-flex}.toast .ghost.light{gap:4px}.searchbox{margin-bottom:12px;position:relative}.searchbox svg{color:var(--muted);pointer-events:none;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.searchbox .search{margin-bottom:0;padding-left:38px}@media (width>=900px){.nav svg.ico{width:18px;height:18px}}.tile.has-img{padding-top:0;overflow:hidden}.tile .timg{aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius) var(--radius) 0 0;width:calc(100% + 24px);margin:0 -12px 8px;display:block}.tile .tvar{color:var(--muted);align-items:center;gap:4px;font-size:12px;display:inline-flex}.tile .badge{z-index:1}.tile.has-img .badge{top:6px;right:6px}.thumb{object-fit:cover;background:var(--bg);border-radius:8px;flex-shrink:0;width:44px;height:44px}.vlist{color:var(--muted);font-size:13px;display:block}.imgpick{align-items:center;gap:12px;display:flex}.imgpick img,.imgpick .noimg{object-fit:cover;border-radius:10px;flex-shrink:0;width:84px;height:84px}.imgpick .noimg{background:var(--bg);color:var(--muted);border:1px dashed var(--line);place-items:center;display:grid}.imgbtns{flex-wrap:wrap;gap:6px;display:flex}.variants{background:var(--bg);border-radius:10px;flex-direction:column;gap:6px;padding:10px;display:flex}.vhead{font-weight:600}.vrow{grid-template-columns:1fr 80px 80px 40px;align-items:center;gap:6px;display:grid}.vrow.inactive{opacity:.5}.vrow input,.vadd input{padding:8px}.vrow button{min-height:40px;padding:0}.vadd{gap:6px;display:flex}.vadd button{padding:0 12px}.pickhead{align-items:center;gap:12px;display:flex}.pickhead h2{flex:1}.pickhead img{object-fit:cover;border-radius:10px;width:56px;height:56px}.vgrid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;display:grid}.vgrid .tile{background:var(--bg)}.vrow{grid-template-columns:40px 1fr 66px 66px 32px}.vimg{width:40px;height:40px;position:relative}.vimgbtn{width:40px;height:40px;min-height:40px;color:var(--muted);border-style:dashed;padding:0;overflow:hidden}.vimgbtn img{object-fit:cover;width:100%;height:100%}.vimgdel{background:var(--accent);color:#fff;border:0;border-radius:50%;width:18px;height:18px;min-height:18px;padding:0;position:absolute;top:-6px;right:-6px}.sheet .vgrid{max-height:70dvh;padding-top:6px;overflow-y:auto}.small-text{margin:0;font-size:14px}.events{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.events li{background:var(--card);border-radius:var(--radius);border:2px solid #0000;flex-direction:column;gap:10px;padding:14px;display:flex}.events li.active{border-color:var(--ok)}.events h3{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 4px;display:flex}.ehead{justify-content:space-between;gap:12px;display:flex}.emeta{color:var(--muted);flex-wrap:wrap;gap:4px 14px;font-size:14px;display:flex}.emeta span{align-items:center;gap:4px;display:inline-flex}.erev{text-align:right;flex-direction:column;display:flex}.erev strong{font-size:20px}.pill{background:var(--ok);color:#fff;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:600}.days{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.chip.small,a.chip{border:1px solid var(--line);min-height:32px;color:var(--ink);background:#fff;border-radius:999px;align-items:center;gap:4px;padding:4px 10px;font-size:13px;text-decoration:none;display:inline-flex}.evbar{color:#1d5c47;background:#e3f1ea;border-radius:10px;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;text-decoration:none;display:flex}.evbar.none{color:#8a5a00;background:#fff3df}.evbar strong{font-weight:600}.evbar .grow{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}@media (width<=899px){.nav a{font-size:11px}}.toolbar select{flex:1;width:auto;min-width:160px;min-height:44px}.sumupcfg{gap:10px}.sumupcfg label{color:var(--muted);flex-direction:column;gap:4px;font-size:14px;display:flex}.sumupcfg label.check{color:var(--ink);flex-direction:row}.sumupcfg hr{border:0;border-top:1px solid var(--line);width:100%;margin:6px 0}.sumupcfg p,.sumupcmp p{margin:0}.ic.ok{color:var(--ok)}.ic.warn{color:var(--warn)}.sumupcmp{gap:8px}.sumupcmp h4{margin:6px 0 0;font-size:14px}.cmpsum{flex-wrap:wrap;gap:4px 16px;display:flex}.cmplist{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.cmplist li{background:var(--bg);border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:6px 8px;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.sumupcfg strong,.sumupcmp strong{font-size:16px}.sumupcmp span,.sumupcfg span{color:inherit;font-size:inherit}.cmplist small{display:block}.cashcard{gap:10px}.cashcard strong{font-size:16px}.cashcard span{color:inherit;font-size:inherit}.cashcard p{margin:0}.cashrow{grid-template-columns:1fr 1fr;gap:10px;display:grid}.cashrow label,.small-label{color:var(--muted);flex-direction:column;gap:4px;font-size:13px;display:flex}.inrow{gap:6px;display:flex}.inrow button{padding:0 10px}.cashcalc{flex-wrap:wrap;justify-content:space-between;gap:6px;display:flex}.denoms{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px 12px;display:grid}.denoms label{color:var(--ink);grid-template-columns:56px 1fr 64px;align-items:center;gap:6px;font-size:14px;display:grid}.denoms input{text-align:right;padding:6px 8px}.denoms small{text-align:right}.searchrow{gap:8px;margin-bottom:12px;display:flex}.searchrow .searchbox{flex:1;margin-bottom:0}.searchrow select{width:auto;min-height:44px}.tile .pin{color:var(--warn);z-index:1;background:#ffffffd9;border-radius:999px;place-items:center;width:22px;height:22px;display:grid;position:absolute;top:6px;left:6px}.discrow{color:var(--muted);flex-direction:column;gap:2px;display:flex}.discrow .ic{color:var(--accent);justify-content:space-between}.seg.three{grid-template-columns:1fr 1fr 1fr}.sheet label{color:var(--muted);flex-direction:column;gap:4px;font-size:14px;display:flex}.pinicon{color:var(--warn);vertical-align:-2px;margin-right:4px}@media (width<=899px){.main,.cart.open{padding-top:calc(12px + env(safe-area-inset-top))}}.extras{flex-wrap:wrap;gap:8px;display:flex}.extras>button{flex:1}.tipbtn{color:var(--ink,inherit);margin:8px auto 0;font-size:15px;font-weight:600;display:flex}.tipline{color:var(--muted);justify-content:space-between;display:flex}.tipshare{border-top:1px solid var(--line,#ddd);flex-direction:column;gap:4px;margin-top:8px;padding-top:8px;display:flex}.tipshare .row{justify-content:space-between;display:flex}.sactions{flex-wrap:wrap;gap:6px;display:flex}.tipnote{text-align:right;white-space:nowrap;font-weight:500;display:block}.tokenbox{background:var(--soft,#f6f2ea);border:1px solid var(--line);border-radius:10px;flex-direction:column;gap:6px;padding:10px;display:flex}.tokenbox code{word-break:break-all;-webkit-user-select:all;user-select:all;background:#fff;border-radius:6px;padding:6px 8px;font-size:14px}.tokens{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.tokens li{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding-top:6px;display:flex}.tokenbox .qr{width:220px;height:220px;image-rendering:pixelated;background:#fff;border-radius:8px;align-self:center;padding:6px}.choice{text-align:left;justify-content:flex-start;align-items:flex-start;gap:12px;min-height:0;padding:12px;font-weight:400;line-height:1.35;display:flex}.choice svg{color:var(--primary,#1d3557);flex:none;margin-top:2px}.inl{vertical-align:-3px}.stations{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px;display:grid}.station{flex-direction:column;gap:6px;display:flex}.station.revoked{opacity:.55}.station .shead{justify-content:space-between;align-items:center;gap:8px;display:flex}.station .srow{flex-wrap:wrap;gap:4px 12px;font-size:14px;display:flex}.dot{background:var(--line);border-radius:50%;width:10px;height:10px;display:inline-block}.dot.on{background:var(--ok)}.btnlike{align-items:center;gap:4px;text-decoration:none;display:inline-flex}.ok{color:var(--ok)}.warn{color:var(--warn)}.station span,.station strong{color:var(--ink);font-size:15px}.station .shead>span strong{font-size:17px}.station .shead>strong{font-size:20px}.station small,.station small span{font-size:13px}.station small.ic{line-height:1.5;display:block}.station small.ic svg{vertical-align:-2px;margin-right:3px}.station .srow span{color:var(--muted);font-size:14px}.station .sactions{margin-top:2px}
