:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#202020;background:#f6f6f6;--yellow:#ffd83d;--red:#ed351f;--dark:#252525;--green:#119447}*{box-sizing:border-box}body{margin:0;background:#f6f6f6}.app{min-height:100vh;padding-bottom:78px}.top{position:sticky;top:0;z-index:10;height:66px;background:var(--yellow);display:flex;align-items:center;justify-content:space-between;padding:8px 17px;box-shadow:0 2px 8px #0001}.brand{display:flex;align-items:center;gap:8px;cursor:pointer}.brand img{width:45px;height:45px;border-radius:50%;object-fit:cover}.brand b,.brand span{display:block;line-height:18px}.brand b{color:#e73320;font-size:18px}.brand span{font-size:14px;font-weight:700}.content{max-width:720px;margin:auto;padding:18px 14px}.hello h1{font-size:22px;margin:2px 0 4px}.hello p{margin:0;color:#777;font-size:13px}.cards{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:17px 0}.card{background:#fff;border-radius:14px;padding:14px;box-shadow:0 1px 5px #0000000c;border:1px solid #eee}.card span{display:block;color:#666;text-transform:uppercase;font-size:10px;font-weight:700}.card b{display:block;font-size:20px;margin-top:7px}.sectionTitle{display:flex;align-items:center;justify-content:space-between;margin:18px 2px 9px}.sectionTitle h2{font-size:16px;margin:0}.sectionTitle button{border:0;background:none;color:var(--red);font-weight:700}.list{background:#fff;border-radius:14px;overflow:hidden;border:1px solid #eee}.row{display:flex;align-items:center;gap:10px;padding:13px;border-bottom:1px solid #eee}.row:last-child{border-bottom:0}.row>div:nth-child(2){flex:1;min-width:0}.row b,.row span,.row small{display:block}.row b{font-size:13px}.row span{font-size:12px;color:#555;margin-top:2px}.row small{font-size:10px;color:#888;margin-top:3px}.row strong{font-size:12px}.row em,.order em{font-style:normal;font-size:9px;background:#fff0c0;padding:5px 7px;border-radius:8px;color:#9a6500;white-space:nowrap}.row em.em-entrega{background:#e8f3ff;color:#1870bd}.row em.entregue,.row em.confirmado{background:#e6f7ed;color:#168044}.row em.novo{background:#fff0c0;color:#9a6500}.row em.low{background:#ffe4e1;color:var(--red)}.quickgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quickgrid button{border:1px solid #eee;background:#fff;border-radius:14px;padding:15px;display:flex;align-items:center;gap:10px;font-weight:700}.quickgrid svg{color:var(--red)}.pageHead{display:flex;align-items:center;gap:8px;margin:3px 0 14px}.pageHead h1{font-size:20px;margin:0;flex:1}.back,.iconbtn{border:0;background:#fff;border-radius:10px;width:40px;height:40px;display:grid;place-items:center}.search{height:48px;background:#fff;border:1px solid #ddd;border-radius:13px;display:flex;align-items:center;padding:0 12px;gap:8px;margin-bottom:10px}.search svg{color:#888}.search input{border:0;outline:0;flex:1;font-size:14px;background:transparent}.chips{display:flex;gap:7px;overflow:auto;padding:3px 0 12px}.chips span{background:#fff;border:1px solid #ddd;border-radius:20px;padding:7px 11px;font-size:11px;white-space:nowrap}.chips span:first-child{background:var(--red);color:#fff;border-color:var(--red)}.productList{display:grid;gap:8px}.product{position:relative;display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #eee;border-radius:14px;padding:10px}.thumb{width:50px;height:50px;border-radius:10px;background:#fff3bd;display:grid;place-items:center;font-size:25px}.pinfo{flex:1;min-width:0}.pinfo b,.pinfo small,.pinfo strong{display:block}.pinfo b{font-size:12px}.pinfo small{font-size:10px;color:#777;margin:2px 0}.pinfo strong{font-size:13px}.stock{font-size:9px;color:var(--green);align-self:flex-start;margin-top:2px}.plus{border:0;background:var(--red);color:#fff;border-radius:10px;width:35px;height:35px;display:grid;place-items:center}.saleList{display:grid;gap:8px}.sale{background:#fff;border:1px solid #eee;border-radius:13px;padding:12px;display:grid;grid-template-columns:1fr auto;gap:8px}.sale>div:first-child b,.sale>div:first-child small{display:block}.sale b{font-size:12px}.sale small{color:#777;font-size:10px;margin-top:3px}.qty{display:flex;align-items:center;gap:8px}.qty button{border:0;background:#f3f3f3;width:30px;height:30px;border-radius:8px;display:grid;place-items:center}.sale>strong{grid-column:2;font-size:12px}.total{display:flex;justify-content:space-between;background:#fff;padding:16px;border-radius:13px;font-size:17px}.total b{color:var(--red)}.primary{width:100%;border:0;background:var(--red);color:#fff;border-radius:12px;height:50px;font-weight:800;margin-top:10px}.empty,.simple{text-align:center;background:#fff;border-radius:16px;padding:40px 20px;border:1px solid #eee;color:#777}.empty svg,.simpleIcon svg{width:48px;height:48px;color:var(--red)}.empty b,.empty p,.simple h2,.simple p,.simple small{display:block}.avatar,.petavatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#ffe57a;color:#7d5200;font-weight:800}.petavatar{background:#fff3bd;font-size:23px}.order{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:13px;border-bottom:1px solid #eee;background:#fff}.order:last-child{border:0}.order b,.order span,.order small{display:block}.order b{font-size:13px}.order span{font-size:12px}.order small{font-size:10px;color:#888}.order strong{font-size:12px}.stockHero{background:var(--yellow);border-radius:15px;padding:18px;display:flex;align-items:center;gap:12px}.stockHero svg{width:35px;height:35px}.stockHero b,.stockHero span{display:block}.stockHero span{font-size:12px}.menuPage{display:grid;gap:6px}.menuBrand{background:var(--dark);color:#fff;border-radius:16px;padding:14px;display:flex;align-items:center;gap:10px;margin-bottom:8px}.menuBrand img{width:48px;height:48px;border-radius:50%;object-fit:cover}.menuBrand b,.menuBrand span{display:block}.menuBrand b{color:var(--yellow)}.menuPage button{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #eee;border-radius:12px;padding:14px;text-align:left;font-weight:700}.menuPage button span{flex:1}.menuPage .logout{color:var(--red);margin-top:8px}.bottom{position:fixed;bottom:0;left:0;right:0;height:70px;background:#fff;border-top:1px solid #ddd;display:grid;grid-template-columns:repeat(5,1fr);z-index:20;padding-bottom:env(safe-area-inset-bottom)}.nav{border:0;background:#fff;color:#777;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;position:relative}.nav svg{width:20px}.nav small{font-size:9px}.nav.active{color:var(--red)}.nav i{position:absolute;top:7px;margin-left:23px;background:var(--red);color:#fff;border-radius:10px;padding:2px 5px;font-size:8px;font-style:normal}@media (min-width:760px){.content{padding-top:28px}.cards{grid-template-columns:repeat(4,1fr)}.bottom{max-width:720px;margin:auto;border-radius:18px 18px 0 0}}.loginPage{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(160deg,#ffd83d,#f6f6f6 55%);padding:20px}.loginCard{background:#fff;border-radius:20px;padding:30px 24px;max-width:380px;width:100%;box-shadow:0 10px 30px #0002;text-align:center}.loginLogo{width:64px;height:64px;border-radius:50%;object-fit:cover;margin-bottom:10px}.loginCard h1{font-size:20px;color:#e73320;margin:0 0 4px}.loginSub{color:#777;font-size:13px;margin:0 0 16px}.loginTabs{display:flex;background:#f3f3f3;border-radius:10px;padding:4px;margin-bottom:16px}.loginTabs button{flex:1;border:0;background:none;padding:8px;border-radius:8px;font-weight:700;font-size:12px;color:#777}.loginTabs button.active{background:#fff;color:#e73320;box-shadow:0 1px 4px #0002}.loginForm{display:grid;gap:4px;text-align:left}.loginForm label{font-size:11px;font-weight:700;color:#555;margin-top:8px}.loginForm input{height:44px;border:1px solid #ddd;border-radius:10px;padding:0 12px;font-size:14px;margin-top:3px}.loginForm .primary{margin-top:16px}.loginError{background:#ffe4e1;color:#c0392b;font-size:12px;padding:8px 10px;border-radius:8px;margin-top:8px}.loginHint{color:#888;font-size:10px;margin-top:8px;display:block;line-height:1.4}.errorBox{background:#ffe4e1;color:#c0392b;font-size:12px;padding:10px 12px;border-radius:10px;margin-bottom:10px}.okBox{background:#e6f7ed;color:#168044;font-size:12px;padding:10px 12px;border-radius:10px;margin-bottom:10px}.loadingBox{text-align:center;color:#888;font-size:13px;padding:30px 0}.chips span{cursor:pointer}.chips span.active{background:var(--red);color:#fff;border-color:var(--red)}.chips span:first-child{background:#fff;color:#202020;border-color:#ddd}.chips span:first-child.active{background:var(--red);color:#fff;border-color:var(--red)}.prodActions{display:flex;gap:6px}.iconbtn.small{width:32px;height:32px;border:1px solid #eee}.iconbtn.small.danger,.stock.low{color:var(--red)}.modalOverlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:flex-end;justify-content:center;z-index:50}.modal{background:#fff;border-radius:18px 18px 0 0;padding:18px;width:100%;max-width:480px;max-height:88vh;overflow:auto}@media (min-width:760px){.modalOverlay{align-items:center}.modal{border-radius:18px}}.modalHead{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.modalHead h3{margin:0;font-size:16px}.modalHead button{border:0;background:#f3f3f3;border-radius:8px;width:32px;height:32px;display:grid;place-items:center}.formGrid{display:grid;gap:10px}.formGrid label{font-size:11px;font-weight:700;color:#555;display:block}.formGrid input,.formGrid select{width:100%;height:42px;border:1px solid #ddd;border-radius:10px;padding:0 10px;font-size:13px;margin-top:4px;background:#fff}.formGrid.card{background:#fff;border:1px solid #eee;border-radius:14px;margin-bottom:12px}.selectLabel{font-size:11px;font-weight:700;color:#555;display:block;margin-top:4px}.selectLabel select{width:100%;height:42px;border:1px solid #ddd;border-radius:10px;padding:0 10px;font-size:13px;margin-top:4px;background:#fff}.sale .qty button.danger{background:#ffe4e1;color:var(--red)}.order select{border:1px solid #ddd;border-radius:8px;font-size:10px;padding:5px 6px;background:#fff}
