:root{--bg: #050506;--nav: #0E0E0F;--surface: #1A1A1C;--surface2: #211e1c;--border: #2A2724;--gold: #C9A96A;--red: #A82C26;--green: #3FB27F;--text: #F5F2EC;--dim: #C7C0B8;--dim2: #9A938B;--mute: #6f6a64}*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#root{height:100%}body{background:var(--bg);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;line-height:1.4;-webkit-font-smoothing:antialiased}button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}.app{display:flex;flex-direction:column;height:100%;max-width:480px;margin:0 auto}.scroll{flex:1;overflow-y:auto;padding:0 16px 24px}.head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 10px}.head .ttl{font-weight:800;letter-spacing:-.02em}.head .side{color:var(--mute);font-size:14px}.secTitle{font-size:.7rem;font-weight:700;letter-spacing:.12em;color:var(--mute);text-transform:uppercase;margin:20px 0 12px}.pills{display:flex;gap:8px;overflow-x:auto;padding:4px 0;scrollbar-width:none}.pills::-webkit-scrollbar{display:none}.pill{flex:0 0 auto;padding:8px 15px;border-radius:20px;background:var(--surface);border:1px solid var(--border);color:var(--dim);font-weight:500;font-size:.82rem;white-space:nowrap}.pill.on{background:var(--red);border-color:var(--red);color:#fff;font-weight:600}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:8px 0}.metric{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:16px}.metric .v{font-size:26px;font-weight:800;letter-spacing:-.02em}.metric .v.gold{color:var(--gold)}.metric .l{color:var(--mute);font-size:13px;margin-top:4px}.alert{display:flex;align-items:center;gap:10px;background:#1d1311;border:1px solid #4a2420;border-radius:12px;padding:12px 14px;margin-bottom:8px;color:#e7b3ad;font-size:14px}.alert .dot{width:8px;height:8px;border-radius:50%;background:var(--red);flex:0 0 auto}.chart{display:flex;align-items:flex-end;gap:8px;height:130px;background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:16px 14px 10px}.chart .col{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;height:100%;justify-content:flex-end}.chart .bar{width:100%;border-radius:6px 6px 2px 2px}.chart .d{font-size:11px;color:var(--mute)}.row{display:flex;align-items:center;justify-content:space-between;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:14px;margin-bottom:10px}.row .rank{width:24px;height:24px;border-radius:7px;background:var(--surface2);color:var(--gold);font-weight:800;font-size:12px;display:flex;align-items:center;justify-content:center;margin-right:10px}.order{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:14px;margin-bottom:10px}.order .top{display:flex;justify-content:space-between;align-items:center}.order .num{font-weight:800}.order .who{color:var(--dim);font-size:13px;margin-top:2px}.order .items{color:var(--mute);font-size:13px;margin:8px 0}.order .bot{display:flex;justify-content:space-between;align-items:center}.order .tot{color:var(--gold);font-weight:800}.badge{font-size:11px;font-weight:800;padding:4px 10px;border-radius:7px;border:1px solid}.tgl{width:42px;height:24px;border-radius:999px;position:relative;transition:background .15s;flex:0 0 auto}.tgl .knob{position:absolute;top:2.5px;width:19px;height:19px;border-radius:50%;background:#fff;transition:left .15s}.field{margin-bottom:12px}.field label{display:block;font-size:12px;color:var(--mute);margin-bottom:6px}.field input{width:100%;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:12px 14px;color:var(--text);outline:none}.field input:focus{border-color:var(--gold)}.client{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:12px 14px;margin-bottom:10px}.client .ini{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;color:#1a1a1a;flex:0 0 auto}.dItem{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--border)}.dItem:last-child{border-bottom:none}.dItem .fl{color:var(--mute);font-size:12px}.actions{display:flex;gap:10px;margin:16px 0}.btn{flex:1;padding:14px;border-radius:12px;font-weight:700;text-align:center}.btn.red{background:var(--red);color:#fff}.btn.gold{border:1px solid var(--gold);color:var(--gold)}.btn.green{background:#16201a;color:var(--green);border:1px solid #2a4435}.nav{display:flex;border-top:1px solid #1f1d1b;background:var(--nav)}.nav .it{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;padding:9px 6px 10px;font-size:.64rem;font-weight:600;position:relative}.nav .cnt{position:absolute;top:4px;right:50%;transform:translate(16px);background:var(--red);color:#fff;font-size:10px;font-weight:800;min-width:16px;height:16px;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:0 4px}.muted{color:var(--mute)}.empty{text-align:center;color:var(--mute);padding:50px 20px}
