:root{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Rounded",ui-rounded,"Segoe UI",sans-serif;color:#19333b;background:#101f28;font-synthesis:none;-webkit-text-size-adjust:100%;--ink:#19333b;--teal:#247e7a;--orange:#f4a14f;--cream:#fbf8f1;--muted:#7a8b90;--line:#e9e7e0;--shadow:0 10px 28px #0b2d3630}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none}body{-webkit-user-select:none;user-select:none;touch-action:pan-y}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:focus-visible,input:focus-visible{outline:3px solid #f4a14f;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.42}button:active:not(:disabled){transform:scale(.97)}.app{height:100vh;height:100dvh;display:flex;flex-direction:column;min-height:0;max-width:780px;margin:0 auto;background:var(--cream);overflow:hidden;position:relative;box-shadow:0 0 45px #0004}.top{background:#172e38;color:white;padding:calc(env(safe-area-inset-top,0px) + 13px) 18px 14px;flex:0 0 auto;z-index:5}.brand-row,.row,.spread,.toolbar,.statline{display:flex;align-items:center;gap:10px}.spread{justify-content:space-between}.brand{font-size:25px;line-height:1;font-weight:1000;letter-spacing:-1.4px}.brand .mark{color:#ffb661}.brand small{display:block;font-size:10px;font-weight:700;letter-spacing:2.2px;margin:7px 0 0;color:#a5c6c7}.money-pill{padding:10px 12px;border-radius:15px;background:#284953;display:flex;gap:7px;align-items:center;color:#f8e0ab;font-weight:850;font-variant-numeric:tabular-nums}.page-title{margin-top:10px;font-size:13px;color:#b5d3d4;display:flex;justify-content:space-between;gap:10px}.page-title strong{color:white}.scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.section{padding:16px 16px 20px}.bottom{flex:0 0 auto;display:flex;background:#fff;border-top:1px solid #e6e7e0;padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px));gap:5px;z-index:10;min-height:66px}.nav{flex:1;border:0;background:transparent;border-radius:15px;padding:6px 3px;color:#809195;display:flex;align-items:center;flex-direction:column;gap:3px;font-size:10px;font-weight:800}.nav .ico{font-size:19px;line-height:23px}.nav.active{background:#e3f3ec;color:#197970}.hero{border-radius:24px;background:linear-gradient(135deg,#237c77,#164954);color:#fff;padding:20px 18px;position:relative;overflow:hidden;box-shadow:var(--shadow)}.hero:before{content:"";position:absolute;width:220px;height:220px;right:-80px;top:-85px;background:#ffffff15;border-radius:50%}.hero:after{content:"";position:absolute;width:130px;height:130px;right:24px;bottom:-94px;background:#f6a5524d;border-radius:50%}.hero .overline{font-size:11px;color:#b8e3db;letter-spacing:2px;font-weight:900}.hero h1{font-size:32px;line-height:1.03;letter-spacing:-1px;margin:11px 0}.hero p{margin:0 0 17px;color:#e2f4ee;font-size:13px;max-width:280px;line-height:1.5}.hero .deco{position:absolute;right:12px;bottom:48px;font-size:62px;transform:rotate(-11deg);filter:drop-shadow(0 5px 9px #0b222a44);z-index:1}.btn{border:0;border-radius:16px;padding:15px 17px;font-weight:850;color:#fff;background:var(--teal);font-size:15px;min-height:50px;display:flex;justify-content:center;align-items:center;gap:8px;text-align:center}.btn.primary{background:#f2a14e;color:#213540}.btn.dark{background:#193842}.btn.ghost{background:#e9f0ec;color:#215b5a}.btn.white{background:white;color:#215a5a}.btn.outline{background:transparent;color:#2c6967;border:2px solid #d5e7df}.btn.small{padding:9px 12px;min-height:38px;font-size:12px;border-radius:12px}.btn.full{width:100%}.btn:disabled{filter:grayscale(.4)}.h2{font-size:19px;font-weight:1000;letter-spacing:-.5px;margin:19px 0 12px}.eyebrow{font-size:11px;font-weight:950;letter-spacing:1.6px;color:#6b8b91;text-transform:uppercase}.muted{color:#71878e}.small{font-size:12px}.tiny{font-size:10px}.bold{font-weight:900}.card{background:#fff;border:1px solid #e9ece5;border-radius:20px;padding:15px;box-shadow:0 5px 18px #28484a0b}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.stats .card{padding:14px 12px}.statnum{font-weight:1000;font-size:22px;letter-spacing:-.6px;margin-top:8px}.statlabel{font-size:10px;font-weight:800;color:#799097}.tag{display:inline-flex;background:#e4f4e9;border:1px solid #d5e9d8;color:#2b7364;font-size:10px;font-weight:900;letter-spacing:.4px;border-radius:20px;padding:6px 9px;white-space:nowrap}.tag.orange{background:#fff0db;color:#995c23;border-color:#f3dec0}.progress{width:100%;height:9px;border-radius:10px;background:#e8eeeb;overflow:hidden}.progress>span{height:100%;display:block;background:linear-gradient(90deg,#58a592,#f1b15c);border-radius:10px;transition:width .25s}.tip{border:1px dashed #cadbd6;border-radius:16px;padding:13px;background:#f2f8f3;color:#557474;font-size:13px;line-height:1.5}.item-row{display:flex;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid #f0f0eb}.item-row:last-child{border-bottom:0}.badge-icon{width:42px;height:42px;background:#e4f3f0;border-radius:12px;display:grid;place-items:center;font-size:24px;flex-shrink:0}.item-row .main{flex:1;min-width:0}.item-row .main b{font-size:13px}.item-row .main p{margin:3px 0 0;color:#819295;font-size:12px}.item-row .right{font-size:12px;font-weight:850}.screen-label{font-size:11px;color:#718991;letter-spacing:1px;font-weight:850;text-transform:uppercase}.customer-stage{background:linear-gradient(155deg,#cce5d9 0%,#eaf3df 58%,#f2e5ca 100%);border-radius:23px 23px 13px 13px;position:relative;overflow:hidden;margin-bottom:10px;border:1px solid #dbebe2;box-shadow:0 5px 12px #163b2b0d}.customer-stage .shelf{height:45px;background:linear-gradient(90deg,#b7cfa6,#c7d9b2);border-bottom:8px solid #98b78d;display:flex;align-items:center;justify-content:space-evenly;font-size:22px;opacity:.82}.customer-stage .interaction{display:flex;align-items:center;gap:14px;padding:8px 14px 2px;min-height:120px}.avatar{width:95px;height:115px;flex:0 0 95px;position:relative}.avatar .head{position:absolute;left:24px;top:11px;width:52px;height:58px;background:var(--skin);border-radius:42% 42% 44% 44%;box-shadow:inset 0 -3px #936b5211;z-index:2}.avatar .hair{position:absolute;left:19px;top:3px;width:63px;height:35px;border-radius:55% 55% 28% 29%;background:var(--hair);z-index:3;clip-path:polygon(0 0,100% 0,100% 88%,78% 64%,65% 81%,38% 70%,18% 94%,0 95%)}.avatar .eye{position:absolute;top:41px;width:5px;height:6px;border-radius:50%;background:#2d3e44;z-index:4}.avatar .eye.l{left:41px}.avatar .eye.r{left:64px}.avatar .smile{position:absolute;top:56px;left:49px;width:12px;height:6px;border-bottom:2px solid #845a4a;border-radius:50%;z-index:4}.avatar .body{position:absolute;bottom:-15px;left:4px;height:67px;width:92px;background:var(--shirt);border-radius:46px 46px 6px 6px;z-index:1}.avatar .body:after{content:"";position:absolute;left:30px;top:8px;width:28px;height:18px;border-radius:50%;border-top:3px solid #ffffff45}.speech{background:#fff;border:1px solid #dbe9de;box-shadow:0 5px 10px #244c3f0e;border-radius:17px;padding:13px 14px;flex:1;font-size:13px;line-height:1.45;font-weight:750;color:#344b4c;position:relative}.speech:before{content:"";position:absolute;left:-8px;bottom:20px;width:13px;height:13px;background:#fff;border-left:1px solid #dbe9de;border-bottom:1px solid #dbe9de;transform:rotate(45deg)}.shop-counter{background:#375a61;border:5px solid #264851;border-radius:15px;padding:10px 10px 12px;box-shadow:inset 0 -5px #29484a;position:relative;overflow:hidden}.belt-title{display:flex;justify-content:space-between;align-items:center;color:#b4e2e0;font-size:11px;font-weight:850;margin:1px 2px 8px}.belt{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-height:100px;background:repeating-linear-gradient(90deg,#536c70 0px,#536c70 10px,#4d6265 10px,#4d6265 17px);padding:10px;border:3px solid #274148;border-radius:13px}.product{position:relative;border-radius:12px;background:#eaf2ed;min-height:88px;padding:6px 2px 7px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:3px;border:2px solid #ffffff80;box-shadow:0 4px 0 #203b3c54;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab}.product .emoji{font-size:30px;line-height:1.1;pointer-events:none}.product .name{font-size:10px;font-weight:900;max-width:100%;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;color:#2b494e}.product .price{font-size:10px;color:#5a7677;font-weight:750;pointer-events:none}.product .scan-hint{position:absolute;right:3px;top:2px;background:#b0dfc9;color:#246153;border-radius:5px;font-size:9px;font-weight:1000;padding:2px 3px;pointer-events:none}.product.is-scanned{opacity:.5;filter:saturate(.3)}.product:active{cursor:grabbing}.scanner{margin-top:9px;background:linear-gradient(135deg,#edb162,#e28d4c);border:3px dashed #8b5738;box-shadow:inset 0 2px #fff4;border-radius:14px;min-height:65px;display:flex;align-items:center;justify-content:center;gap:14px;color:#4a3429;transition:transform .12s,background .12s}.scanner.over{background:#c8e7b0;transform:scale(1.02)}.scanner .bars{font-size:32px;letter-spacing:-7px;font-weight:1000;padding:0 10px 0 0;transform:rotate(-4deg)}.scanner span{font-weight:950;font-size:13px}.scan-bottom{display:flex;gap:10px;margin-top:11px}.cash-display{background:#182c32;border:3px solid #394e4d;border-radius:15px;min-height:70px;flex:1;padding:11px 13px;color:#c3f3cf;box-shadow:inset 0 3px 13px #0004}.cash-display small{font-size:10px;letter-spacing:1.3px;font-weight:800;color:#94b9ae}.cash-display strong{font-size:27px;display:block;letter-spacing:-.7px;font-variant-numeric:tabular-nums}.scan-count{width:88px;background:#eaf5ee;border-radius:14px;text-align:center;padding:10px 5px;color:#215a55}.scan-count b{font-size:22px}.scan-count small{display:block;font-size:10px}.receipt{background:#fff;border:1px solid #e2e5de;border-radius:18px;padding:12px;box-shadow:0 4px 12px #17383c0a}.receipt .line{display:flex;justify-content:space-between;gap:10px;font-size:12px;padding:5px 0}.receipt .line.total{font-size:16px;font-weight:950;border-top:1px dashed #cedbd3;margin-top:6px;padding-top:11px}.receipt .line .muted{max-width:70%}.checkout-actions{padding:11px 16px 14px;background:var(--cream);border-top:1px solid #e9ece5;flex:0 0 auto}.pay-head{background:#e5f3e8;border:1px solid #d3e9d7;border-radius:17px;padding:15px;margin:10px 0 13px}.pay-head strong{font-size:26px;letter-spacing:-.8px}.pay-head .row{justify-content:space-between}.payment-card{background:#183d43;color:white;border-radius:18px;padding:20px 15px;text-align:center;box-shadow:inset 0 0 0 1px #ffffff2b}.payment-card .terminal{border:2px solid #7eaa9c;border-radius:15px;max-width:225px;margin:10px auto;background:#345d5f;padding:14px}.payment-card .terminal strong{display:block;font-size:29px;color:#c9e9ca}.payment-card .terminal .tiny{color:#e9f2e5}.coins{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.coin-btn{border:1px solid #d4dcd5;border-radius:12px;background:white;color:#344e51;min-height:53px;font-size:13px;font-weight:950;box-shadow:0 3px 0 #d9e2d9}.coin-btn.banknote{background:#e4f0dc;border-color:#b9d1aa}.coin-btn.coin{background:#f8edcf;border-color:#e6d4a8}.cash-tally{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:9px 0}.cash-tally>div{border-radius:14px;background:#fff;border:1px solid #e4e7df;padding:11px}.cash-tally .amt{font-size:21px;font-weight:1000;margin-top:5px;font-variant-numeric:tabular-nums}.good{color:#248467}.bad{color:#b95b41}.toast{position:absolute;left:16px;right:16px;bottom:calc(86px + env(safe-area-inset-bottom,0px));z-index:40;background:#203e44;color:white;border-radius:14px;padding:13px 16px;box-shadow:0 12px 35px #10252c55;font-size:13px;font-weight:700;pointer-events:none;animation:pop .22s ease-out}.toast.error{background:#a3443a}.toast.success{background:#237569}@keyframes pop{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.modal-cover{position:absolute;inset:0;background:#0d2027a8;z-index:50;display:flex;align-items:flex-end;justify-content:center;padding:12px}.modal{background:var(--cream);border-radius:24px;padding:20px 16px calc(18px + env(safe-area-inset-bottom,0px));width:100%;max-width:450px;max-height:90%;overflow:auto}.modal h2{margin:0 0 8px}.modal p{line-height:1.5;color:#668087;font-size:13px}.button-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.settings-row{padding:14px 0;border-bottom:1px solid #e6e9e2;display:flex;justify-content:space-between;align-items:center;gap:12px}.switch{appearance:none;position:relative;width:47px;height:29px;border-radius:20px;background:#ccd4d0;flex-shrink:0;transition:background .15s}.switch:after{content:"";position:absolute;width:23px;height:23px;left:3px;top:3px;background:white;border-radius:50%;transition:transform .15s;box-shadow:0 1px 4px #0002}.switch:checked{background:#269482}.switch:checked:after{transform:translateX(18px)}.upgrade{display:flex;gap:11px;align-items:center;border:1px solid #e6e8e1;background:white;border-radius:18px;padding:12px;margin-bottom:9px}.upgrade-icon{font-size:30px;background:#edf2ec;padding:10px;border-radius:13px}.upgrade-content{flex:1}.upgrade-content strong{display:block;font-size:13px}.upgrade-content p{font-size:11px;color:#71888a;line-height:1.3;margin:4px 0}.upgrade button{font-size:11px;white-space:nowrap}.results-medal{font-size:55px;text-align:center;margin:13px}.result-card{background:linear-gradient(140deg,#e7f5e9,#fff4dd);border-radius:20px;padding:17px;text-align:center}.result-card strong{font-size:27px;color:#23685e}.result-card .name{font-weight:1000;font-size:20px;margin:4px 0}.help-steps{counter-reset:steps}.help-steps p{background:white;padding:12px;border-radius:13px;margin:8px 0;color:#3e6267;line-height:1.4}.sticker{font-size:11px;font-weight:900;color:#b5662e;background:#ffeed9;padding:5px 10px;border-radius:99px}.empty{text-align:center;padding:20px 15px;color:#708a8c}.empty .big{font-size:45px}#drag-ghost{display:none;position:fixed;z-index:9999;pointer-events:none;transform:translate(-50%,-50%) scale(1.06);box-shadow:0 16px 30px #0004;border-radius:14px;background:#f7fbf4;border:2px solid #faad5a;padding:12px;min-width:94px;text-align:center;font-size:27px;touch-action:none}.confetti{position:absolute;pointer-events:none;z-index:99;left:50%;top:42%;font-size:45px;animation:pop .35s both}.minilabel{background:#eef5f1;border-radius:14px;padding:12px;font-size:12px;line-height:1.6;color:#52736f}.title-sub{font-size:12px;color:#708589;margin:-5px 0 14px}.muted-label{font-size:10px;color:#879899;text-transform:uppercase;font-weight:900;letter-spacing:1px}.nowrap{white-space:nowrap}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px}.receipt-scroll{max-height:125px;overflow:auto}.fill{flex:1}.pill{font-size:11px;font-weight:800;color:#e8f6ed;background:#345960;padding:6px 9px;border-radius:20px} .price-value{font-variant-numeric:tabular-nums}.debug{font-family:monospace;font-size:11px;white-space:pre-wrap}
@media(min-width:600px){.section{padding:24px 30px}.checkout-actions{padding:12px 30px 17px}.customer-stage .interaction{justify-content:center}.product{min-height:102px}.app{border-left:1px solid #ffffff20;border-right:1px solid #ffffff20}}@media(max-height:710px){.section{padding-top:12px}.top{padding-top:calc(env(safe-area-inset-top,0px) + 9px);padding-bottom:9px}.customer-stage .shelf{height:31px}.customer-stage .interaction{min-height:100px}.avatar{transform:scale(.87);transform-origin:bottom center}.belt{min-height:78px}.product{min-height:78px}.product .emoji{font-size:26px}.scanner{min-height:51px}.hero h1{font-size:28px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
