:root{--bg:#050505;--bg-out:#454845;--card:#111211;--card-2:#1a1c1a;--pill:#2a2c2a;--pill-2:#3a3d3a;--line:#232523;--line-2:#3a3d3a;--text:#f4f6f2;--muted:#9aa097;--accent:#84c630;--accent-2:#a8e04c;--accent-ink:#0c1403;--accent-soft:#84c63024;--red:#ff6b5e;--amber:#f5b942;--blue:#5eb6ff;--radius:20px;--nav-h:72px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;margin:0;padding:0}html,body,#root{height:100%}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;font-size:14px;line-height:1.45}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0}input,select,textarea{font:inherit;color:inherit}h1,h2,h3{letter-spacing:-.02em}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:var(--pill-2);border-radius:8px}.app{background:radial-gradient(900px 500px at 85% -10%, #84c6301a, transparent 60%), radial-gradient(700px 400px at 0% 100%, #84c6300f, transparent 60%), var(--bg);grid-template-columns:250px 1fr;min-height:100%;display:grid}.sidebar{border-right:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#00000080;flex-direction:column;gap:6px;height:100vh;padding:22px 16px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:12px;padding:4px 10px 20px;display:flex}.brand-mark{background:linear-gradient(135deg, var(--accent-2), var(--accent));width:40px;height:40px;color:var(--accent-ink);border-radius:13px;place-items:center;font-size:20px;font-weight:800;display:grid;box-shadow:0 8px 24px #84c6304d}.brand-name{letter-spacing:-.03em;font-size:19px;font-weight:800;line-height:1.1}.brand-name span{color:var(--accent)}.brand small{color:var(--muted);letter-spacing:0;font-size:11px;font-weight:500;display:block}.nav-label{text-transform:uppercase;letter-spacing:.1em;color:var(--muted);padding:10px 12px 6px;font-size:11px}.nav-item{color:var(--muted);text-align:left;border-radius:14px;align-items:center;gap:12px;padding:11px 14px;font-weight:600;transition:all .15s;display:flex;position:relative}.nav-item:hover{background:var(--card-2);color:var(--text)}.nav-item.on{background:var(--pill);color:var(--text)}.nav-item.on svg{color:var(--accent)}.nav-item .count{background:var(--red);color:#fff;border-radius:99px;margin-left:auto;padding:1px 7px;font-size:11px;font-weight:700}.side-foot{margin-top:auto}.user-card{background:var(--card);border:1px solid var(--line);border-radius:16px;align-items:center;gap:12px;padding:12px;display:flex}.avatar{background:var(--pill-2);width:38px;height:38px;color:var(--accent);border-radius:50%;flex:none;place-items:center;font-weight:700;display:grid}.user-card b{font-size:13px;display:block}.user-card small{color:var(--muted);font-size:12px}.user-card .icon-btn{margin-left:auto}.main{width:100%;min-width:0;max-width:1400px;margin:0 auto;padding:26px 32px 40px}.topbar,.bottom-nav{display:none}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:22px;display:flex}.page-head h1{font-size:28px;font-weight:800}.page-head p{color:var(--muted);margin-top:2px}.page-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.grid{gap:16px;display:grid}.g2{grid-template-columns:repeat(2,1fr)}.g3{grid-template-columns:repeat(3,1fr)}.g4{grid-template-columns:repeat(4,1fr)}.g-main{grid-template-columns:2fr 1fr}.mt{margin-top:16px}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);min-width:0;padding:20px}.card-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;display:flex}.card-head h3{font-size:16px;font-weight:700}.card-head small,.muted{color:var(--muted)}.green{color:var(--accent)}.red{color:var(--red)}.right{text-align:right}.row{align-items:center;gap:10px;display:flex}.row.between{justify-content:space-between}.wrap{flex-wrap:wrap}.grow{flex:1}.stat{align-items:center;gap:14px;display:flex}.stat-icon{background:var(--accent-soft);width:44px;height:44px;color:var(--accent);border-radius:14px;flex:none;place-items:center;display:grid}.stat-icon.amber{color:var(--amber);background:#f5b94224}.stat-icon.red{color:var(--red);background:#ff6b5e24}.stat-icon.blue{color:var(--blue);background:#5eb6ff24}.stat-body{flex-direction:column;min-width:0;display:flex}.stat-label{color:var(--muted);font-size:12.5px;font-weight:500}.stat-value{letter-spacing:-.03em;font-size:24px;font-weight:800;line-height:1.2}.stat-delta{align-items:center;gap:4px;font-size:12px;font-weight:600;display:inline-flex}.stat-delta.up{color:var(--accent)}.stat-delta.down{color:var(--red)}.stat-delta em{color:var(--muted);font-style:normal;font-weight:500}.btn{background:var(--pill);white-space:nowrap;border-radius:99px;justify-content:center;align-items:center;gap:8px;padding:10px 18px;font-weight:700;transition:all .15s;display:inline-flex}.btn:hover{background:var(--pill-2)}.btn.primary{background:var(--accent);color:var(--accent-ink)}.btn.primary:hover{background:var(--accent-2)}.btn.ghost{border:1px solid var(--line-2);background:0 0}.btn.danger{color:var(--red);background:#ff6b5e24}.btn.sm{padding:6px 12px;font-size:12.5px}.btn.block{width:100%;padding:14px;font-size:15px}.btn:disabled{opacity:.4;cursor:not-allowed}.icon-btn{width:34px;height:34px;color:var(--muted);border-radius:50%;flex:none;place-items:center;transition:all .15s;display:grid}.icon-btn:hover{background:var(--pill);color:var(--text)}.badge{background:var(--pill);color:var(--muted);white-space:nowrap;border-radius:99px;padding:3px 10px;font-size:11.5px;font-weight:700;display:inline-block}.badge.green{background:var(--accent-soft);color:var(--accent)}.badge.red{color:var(--red);background:#ff6b5e24}.badge.amber{color:var(--amber);background:#f5b94224}.badge.blue{color:var(--blue);background:#5eb6ff24}.search{background:var(--pill);height:42px;color:var(--muted);border-radius:99px;align-items:center;gap:10px;min-width:220px;padding:0 16px;display:flex}.search input{min-width:0;color:var(--text);background:0 0;border:0;outline:0;flex:1}.field{color:var(--muted);flex-direction:column;gap:6px;font-size:12.5px;font-weight:600;display:flex}.field input,.field select,.field textarea,.input{background:var(--pill);color:var(--text);border:1px solid #0000;border-radius:14px;outline:0;width:100%;padding:11px 14px;font-size:14px;font-weight:500}.field input:focus,.field select:focus,.field textarea:focus,.input:focus{border-color:var(--accent)}.field small{color:var(--muted);font-weight:400}select option{background:#1a1c1a}.form-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.form-grid .full{grid-column:1/-1}.chips{scrollbar-width:none;gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.chips::-webkit-scrollbar{display:none}.chip{background:var(--pill);color:var(--muted);white-space:nowrap;border-radius:99px;padding:8px 16px;font-weight:600;transition:all .15s}.chip:hover{color:var(--text)}.chip.on{background:var(--text);color:#000}.seg{background:var(--pill);border-radius:99px;gap:2px;padding:4px;display:inline-flex}.seg button{color:var(--muted);border-radius:99px;padding:7px 14px;font-weight:600}.seg button.on{background:var(--accent);color:var(--accent-ink)}.switch{background:var(--pill-2);border-radius:99px;flex:none;width:44px;height:26px;transition:all .2s;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:20px;height:20px;transition:all .2s;position:absolute;top:3px;left:3px}.switch.on{background:var(--accent)}.switch.on:after{background:var(--accent-ink);left:21px}.tbl-wrap{margin:0 -8px;padding:0 8px;overflow-x:auto}table{border-collapse:collapse;width:100%}th{text-align:left;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);border-bottom:1px solid var(--line);white-space:nowrap;padding:10px 12px;font-size:11.5px;font-weight:600}td{border-bottom:1px solid var(--line);vertical-align:middle;padding:13px 12px}tr:last-child td{border-bottom:0}tbody tr:hover td{background:#ffffff05}th.right,td.right{text-align:right}.prod{align-items:center;gap:12px;min-width:190px;display:flex}.emoji{background:var(--pill);border-radius:12px;flex:none;place-items:center;width:40px;height:40px;font-size:21px;display:grid}.prod b{display:block}.prod small{color:var(--muted)}.stock-bar{background:var(--pill);border-radius:9px;width:90px;height:6px;margin-top:5px;overflow:hidden}.stock-bar i{background:var(--accent);border-radius:9px;height:100%;display:block}.stock-bar i.low{background:var(--amber)}.stock-bar i.out{background:var(--red)}.list-row{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:11px 0;display:flex}.list-row:last-child{border-bottom:0}.list-row .grow b{display:block}.list-row .grow small{color:var(--muted)}.empty{text-align:center;color:var(--muted);padding:32px 10px}.chart{position:relative}.chart svg{width:100%;display:block}.ax{fill:var(--muted);font-size:11px}.tip{border:1px solid var(--line-2);pointer-events:none;white-space:nowrap;z-index:2;background:#000;border-radius:12px;flex-direction:column;gap:2px;padding:8px 12px;font-size:12px;display:flex;position:absolute;top:4px;transform:translate(-50%)}.tip i{border-radius:50%;width:8px;height:8px;margin-right:6px;display:inline-block}.bars{align-items:flex-end;gap:10px;padding-top:18px;display:flex}.bar-col{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:6px;min-width:0;height:100%;display:flex}.bar-col .bar{border-radius:10px 10px 4px 4px;width:100%;max-width:44px;min-height:4px;transition:height .5s}.bar-val{color:var(--muted);font-size:11px;font-weight:600}.bar-lbl{color:var(--muted);font-size:11.5px}.donut-wrap{flex-wrap:wrap;align-items:center;gap:20px;display:flex}.donut-c{fill:var(--text);font-size:16px;font-weight:800}.legend{flex-direction:column;flex:1;gap:8px;min-width:140px;list-style:none;display:flex}.legend li{align-items:center;gap:8px;font-size:13px;display:flex}.legend li b{margin-left:auto}.legend i{border-radius:50%;width:10px;height:10px}.legend-key{color:var(--muted);gap:14px;font-size:12px;display:flex}.legend-key i{border-radius:50%;width:8px;height:8px;margin-right:6px;display:inline-block}.overlay{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:100;background:#000000b3;place-items:center;padding:16px;animation:.15s fade;display:grid;position:fixed;inset:0}.modal{background:var(--card);border:1px solid var(--line-2);border-radius:26px;flex-direction:column;width:100%;max-width:520px;max-height:calc(100dvh - 32px);animation:.2s pop;display:flex}.modal.wide{max-width:760px}.modal-head{justify-content:space-between;align-items:center;padding:20px 22px 8px;display:flex}.modal-head h3{font-size:19px}.modal-body{padding:12px 22px;overflow-y:auto}.modal-foot{justify-content:flex-end;gap:10px;padding:14px 22px 20px;display:flex}@keyframes fade{0%{opacity:0}}@keyframes pop{0%{opacity:0;transform:translateY(14px)scale(.98)}}.toasts{z-index:200;flex-direction:column;gap:8px;display:flex;position:fixed;bottom:20px;right:20px}.toast{border:1px solid var(--accent);color:var(--text);background:#000;border-radius:99px;padding:12px 18px;font-weight:600;animation:.2s pop;box-shadow:0 10px 30px #00000080}.toast.err{border-color:var(--red)}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.login-err{color:var(--red);background:#ff6b5e1f;border-radius:14px;padding:10px 14px;font-size:13px;font-weight:600}.demo-box{border-top:1px solid var(--line);margin-top:6px;padding-top:14px}.demo-box .chip{padding:6px 12px;font-size:12px}.login{background:radial-gradient(800px 500px at 80% 0%, #84c63038, transparent 60%), radial-gradient(600px 400px at 0% 100%, #84c6301a, transparent 60%), var(--bg);place-items:center;min-height:100%;padding:24px;display:grid}.login-box{background:var(--card);border:1px solid var(--line);border-radius:32px;grid-template-columns:1fr 1fr;gap:0;width:100%;max-width:980px;display:grid;overflow:hidden}.login-hero{background:linear-gradient(160deg,#1a2b0a 0%,#0b0d0a 60%);flex-direction:column;justify-content:space-between;min-height:480px;padding:44px;display:flex;position:relative;overflow:hidden}.login-hero .glass{opacity:.9;filter:drop-shadow(0 20px 40px #84c63066);font-size:220px;line-height:1;position:absolute;bottom:-20px;right:-30px}.login-hero h2{max-width:360px;margin:24px 0 10px;font-size:34px;font-weight:800;line-height:1.1}.login-hero h2 span{color:var(--accent)}.login-hero p{color:#b6bdae;z-index:1;max-width:320px;position:relative}.login-hero .pills{z-index:1;flex-wrap:wrap;gap:8px;display:flex;position:relative}.login-hero .pills span{background:#ffffff14;border-radius:99px;padding:6px 14px;font-size:12.5px;font-weight:600}.login-form{flex-direction:column;justify-content:center;gap:14px;padding:44px;display:flex}.login-form h3{font-size:24px;font-weight:800}.role-card{background:var(--card-2);border:1px solid var(--line);text-align:left;border-radius:18px;align-items:center;gap:14px;width:100%;padding:14px 16px;transition:all .15s;display:flex}.role-card:hover{border-color:var(--accent);transform:translateY(-1px)}.role-card .ri{background:var(--accent-soft);width:46px;height:46px;color:var(--accent);border-radius:14px;flex:none;place-items:center;display:grid}.role-card b{font-size:15px;display:block}.role-card small{color:var(--muted)}.role-card .arrow{color:var(--muted);margin-left:auto}.pos{grid-template-columns:1fr 380px;align-items:start;gap:20px;display:grid}.pos-left{min-width:0}.prod-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-top:14px;display:grid}.tile{background:var(--card);border:1px solid var(--line);text-align:left;border-radius:20px;flex-direction:column;gap:8px;padding:14px;transition:all .15s;display:flex;position:relative}.tile:hover{border-color:var(--accent);transform:translateY(-2px)}.tile:active{transform:scale(.97)}.tile:disabled{opacity:.4;cursor:not-allowed;border-color:var(--line);transform:none}.tile .emoji{background:linear-gradient(145deg,#1f2b12,#151815);border-radius:16px;width:54px;height:54px;font-size:30px}.tile b{font-size:13.5px;line-height:1.25}.tile .row{margin-top:auto}.tile .price{color:var(--accent);font-size:15px;font-weight:800}.tile .old{color:var(--muted);margin-left:6px;font-size:12px;text-decoration:line-through}.tile .st{color:var(--muted);font-size:11px}.tile .promo-tag{position:absolute;top:10px;right:10px}.cart{background:var(--card);border:1px solid var(--line);border-radius:24px;flex-direction:column;max-height:calc(100vh - 40px);display:flex;position:sticky;top:20px}.cart-head{padding:18px 18px 8px}.cart-items{flex:1;min-height:120px;padding:4px 18px;overflow-y:auto}.cart-line{border-bottom:1px dashed var(--line);align-items:center;gap:10px;padding:10px 0;display:flex}.cart-line .grow b{font-size:13.5px;display:block}.cart-line .grow small{color:var(--muted)}.qty{background:var(--pill);border-radius:99px;align-items:center;display:inline-flex}.qty button{width:28px;height:28px;color:var(--accent);border-radius:50%;place-items:center;display:grid}.qty button:hover{background:var(--pill-2)}.qty span{text-align:center;min-width:22px;font-weight:700}.cart-foot{border-top:1px solid var(--line);flex-direction:column;gap:8px;padding:14px 18px 18px;display:flex}.sum{color:var(--muted);justify-content:space-between;display:flex}.sum.total{color:var(--text);padding-top:6px;font-size:20px;font-weight:800}.pay-methods{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.pm{background:var(--pill);color:var(--muted);border-radius:14px;flex-direction:column;align-items:center;gap:4px;padding:10px 4px;font-size:11.5px;font-weight:600;display:flex}.pm.on{background:var(--accent);color:var(--accent-ink)}.cart-fab,.cart-close{display:none}.mini-sel{grid-template-columns:1fr 1fr;gap:8px;margin-top:8px;display:grid}.mini-sel select{background:var(--pill);border:0;border-radius:12px;outline:0;width:100%;padding:9px 10px;font-weight:600}.receipt{color:#111;background:#f5f5ee;border-radius:14px;padding:22px 20px;font-family:SF Mono,ui-monospace,Menlo,monospace;font-size:12.5px;position:relative}.receipt:after{content:"";background:radial-gradient(circle at 6px -1px,#0000 6px,#f5f5ee 7px) 0 0/14px 8px;height:8px;position:absolute;bottom:-7px;left:0;right:0}.receipt h4{text-align:center;letter-spacing:.04em;font-size:17px}.receipt .c{text-align:center;color:#555}.receipt hr{border:0;border-top:1px dashed #999;margin:10px 0}.receipt .r{justify-content:space-between;gap:8px;display:flex}.receipt .r.b{font-size:15px;font-weight:800}.floor{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px;display:grid}.tbl-tile{background:var(--card-2);border:1px solid var(--line);text-align:left;border-radius:20px;flex-direction:column;gap:4px;padding:16px;display:flex}.tbl-tile b{font-size:17px}.tbl-tile.free{border-color:#84c63059}.tbl-tile.occupied{background:#ff6b5e14;border-color:#ff6b5e59}.tbl-tile.reserved{background:#f5b94214;border-color:#f5b94259}.order-card{background:var(--card-2);border-radius:18px;flex-direction:column;gap:8px;padding:14px;display:flex}.progress{background:var(--pill);border-radius:9px;height:8px;overflow:hidden}.progress i{background:linear-gradient(90deg, var(--accent), var(--accent-2));border-radius:9px;height:100%;display:block}.promo{background:var(--card-2);border-radius:18px;align-items:center;gap:14px;padding:14px;display:flex}.promo .grow b{display:block}.promo .grow small{color:var(--muted)}.tier{font-weight:700}.kpi-hero{background:linear-gradient(135deg,#1d3009,#101410 70%);border-color:#84c6304d}.kpi-hero .big{letter-spacing:-.04em;font-size:38px;font-weight:800}@media (width<=1180px){.g4{grid-template-columns:repeat(2,1fr)}.g-main{grid-template-columns:1fr}.pos{grid-template-columns:1fr 340px}}@media (width<=900px){.app{grid-template-columns:1fr}.sidebar{display:none}.main{padding:0 16px calc(var(--nav-h) + 36px)}.topbar{z-index:20;background:linear-gradient(var(--bg) 70%, transparent);justify-content:space-between;align-items:center;margin:0 -16px;padding:16px 16px 12px;display:flex;position:sticky;top:0}.topbar .brand{padding:0}.topbar .brand-mark{border-radius:11px;width:34px;height:34px;font-size:17px}.topbar .brand-name{font-size:17px}.bottom-nav{left:12px;right:12px;bottom:max(12px, env(safe-area-inset-bottom));height:var(--nav-h);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid var(--line-2);z-index:50;background:#000000eb;border-radius:28px;justify-content:space-around;align-items:center;padding:0 8px;display:flex;position:fixed;box-shadow:0 12px 40px #0009}.bn{color:var(--muted);border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-width:58px;height:52px;font-size:10.5px;font-weight:600;transition:all .15s;display:flex}.bn.on{background:var(--pill);color:var(--accent);padding:0 14px}.page-head h1{font-size:24px}.page-head{margin-bottom:16px}.g2,.g3{grid-template-columns:1fr}.search{flex:1;min-width:0}.form-grid{grid-template-columns:1fr}.hide-sm{display:none}.card{border-radius:18px;padding:16px}.stat-value{font-size:20px}.login-box{grid-template-columns:1fr}.login-hero{min-height:220px;padding:28px}.login-hero .glass{font-size:130px}.login-form{padding:28px 22px}.toasts{left:16px;right:16px;bottom:calc(var(--nav-h) + 28px)}.overlay{align-items:end;padding:0}.modal{border-radius:26px 26px 0 0;max-width:none;max-height:92dvh;animation:.25s slide}@keyframes slide{0%{opacity:0;transform:translateY(60px)}}.pos{grid-template-columns:1fr}.prod-grid{grid-template-columns:repeat(2,1fr)}.cart{z-index:90;border-bottom:0;border-radius:28px 28px 0 0;max-height:88dvh;transition:transform .3s;position:fixed;inset:auto 0 0;transform:translateY(110%)}.cart.open{transform:none;box-shadow:0 -30px 80px #000c}.cart-close{display:grid}.cart-fab{left:24px;right:24px;bottom:calc(var(--nav-h) + 26px);z-index:40;background:var(--accent);color:var(--accent-ink);border-radius:99px;justify-content:space-between;align-items:center;padding:14px 20px;font-weight:800;display:flex;position:fixed;box-shadow:0 12px 30px #84c63066}}@media (width<=520px){.g4{grid-template-columns:1fr 1fr;gap:10px}.g4 .stat{flex-direction:column;align-items:flex-start;gap:10px}.page-actions{width:100%}.page-actions .btn{flex:1}.kpi-hero .big{font-size:30px}.pay-methods{grid-template-columns:repeat(2,1fr)}}@media print{.sidebar,.bottom-nav,.topbar,.page-actions{display:none!important}}
