:root{--bg:#f5f6f8;--white:#fff;--ink:#1f2937;--muted:#7b8494;--line:#e5e8ee;--green:#214c3d;--orange:#ed7a4d;--lime:#d8ed83}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}body>aside{position:fixed;inset:0 auto 0 0;width:230px;background:#18392f;color:#fff;padding:25px 17px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;padding:0 10px 28px}.brand i{width:38px;height:38px;background:var(--lime);color:var(--green);border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:900}.brand b{font-size:15px}.brand+nav{display:grid;gap:7px}.brand+nav button{border:0;background:transparent;color:#b7c6c0;border-radius:10px;text-align:left;padding:13px;font-weight:700}.brand+nav button.active{background:#ffffff16;color:#fff}.brand+nav em{float:right;background:var(--orange);color:#fff;border-radius:12px;padding:2px 7px;font-style:normal;font-size:10px}.help{margin-top:auto;background:#ffffff0d;padding:15px;border-radius:12px}.help b{font-size:12px}.help p{font-size:10px;color:#aebdb7;line-height:1.5}.store{color:#cbd7d3;text-decoration:none;font-size:11px;padding:18px 10px 0}body>main{margin-left:230px;padding:28px 34px;max-width:1550px}main>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}header small{font-size:9px;letter-spacing:2px;color:var(--orange);font-weight:800}header h1{font-size:25px;margin:5px 0}header button,.form-actions button:last-child{border:0;background:var(--green);color:#fff;padding:12px 17px;border-radius:9px;font-weight:700}.page{display:none}.page.active{display:block}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:18px}.stats article,.panel{background:#fff;border:1px solid var(--line);border-radius:14px}.stats article{padding:18px;display:flex;gap:13px}.stats i{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;font-style:normal;font-weight:800}.stats i.green{background:#e3f1ea;color:#32835f}.stats i.orange{background:#fff0e8;color:var(--orange)}.stats i.blue{background:#e5f2ff;color:#3d82c4}.stats i.purple{background:#eeeaff;color:#7057ce}.stats article span{display:flex;flex-direction:column}.stats small{font-size:10px;color:var(--muted)}.stats b{font-size:21px;margin:4px 0}.stats em{font-size:9px;color:#9ba2ae;font-style:normal}.panel{padding:20px}.panel-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:12px}.panel-head h2{font-size:15px;margin:0 0 4px}.panel-head p{font-size:10px;color:var(--muted);margin:0}.panel-head button{border:0;background:transparent;color:var(--green);font-size:11px;font-weight:700}.order-row{display:grid;grid-template-columns:.8fr 1.8fr .5fr .7fr;align-items:center;gap:15px;padding:14px 4px;border-top:1px solid var(--line)}.order-row>span{display:flex;flex-direction:column;gap:4px}.order-row b,.order-row strong{font-size:11px}.order-row small{font-size:9px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-status{border:0;border-radius:15px;padding:7px 9px;font-size:9px;font-weight:700}.order-status.new{background:#fff0e7;color:#d66f42}.order-status.preparing{background:#fff5d9;color:#b07909}.order-status.completed{background:#e3f2e9;color:#32805e}.tools{display:flex;justify-content:space-between;margin-bottom:15px}.tools label{background:#fff;border:1px solid var(--line);border-radius:9px;padding:11px 14px;width:330px}.tools input{border:0;outline:0;background:transparent;width:90%}.tools select{border:1px solid var(--line);background:#fff;border-radius:9px;padding:0 12px}.table-wrap{padding:0;overflow:auto}table{border-collapse:collapse;width:100%}th{text-align:left;font-size:8px;letter-spacing:1px;color:#9299a5;padding:14px 17px;border-bottom:1px solid var(--line)}td{padding:13px 17px;border-bottom:1px solid var(--line);font-size:11px}td:first-child{display:flex;align-items:center;gap:10px}.item-icon{width:42px;height:42px;background:#f1dfbd;border-radius:9px;display:grid;place-items:center;font-size:22px}td:first-child>span:last-child{display:flex;flex-direction:column;gap:4px}td small{color:var(--muted);font-size:9px}.status{border:0;background:#e3f2e9;color:#32805e;padding:6px 9px;border-radius:12px;font-size:9px;font-weight:700}.status.off{background:#f1f2f4;color:#8b919c}.dots,.trash{border:1px solid var(--line);background:#fff;border-radius:7px;padding:6px 8px;font-size:9px}.trash{color:#d75050;margin-left:5px}.blank{text-align:center;color:var(--muted);padding:55px!important;font-size:11px}.order-tabs{display:flex;gap:8px;margin-bottom:15px}.order-tabs button{border:1px solid var(--line);background:#fff;border-radius:18px;padding:9px 13px;font-size:10px;font-weight:700}.order-tabs button.active{background:var(--green);color:#fff}.order-card{margin-bottom:12px}.order-card .order-row{border:0}.order-detail{border-top:1px dashed var(--line);padding:10px 5px;display:grid;gap:7px}.order-detail span{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}#modal,#confirm{position:fixed;inset:0;background:#17241e99;z-index:20;display:none;place-items:center}#modal.show,#confirm.show{display:grid}form,#confirm>div{background:#fff;border-radius:16px;width:min(620px,94vw);padding:24px}.modal-head{display:flex;justify-content:space-between}.modal-head small{font-size:8px;letter-spacing:2px;color:var(--orange)}.modal-head h2{font-size:20px;margin:5px 0 20px}.modal-head button{border:0;background:#f1f2f4;width:35px;height:35px;border-radius:50%;font-size:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid label{display:flex;flex-direction:column;gap:6px;font-size:10px;font-weight:700}.form-grid input,.form-grid select,.form-grid textarea{border:1px solid var(--line);border-radius:8px;padding:10px;outline:0}.form-grid .wide{grid-column:1/-1}.form-grid .check{flex-direction:row;align-items:center;margin-top:20px}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.form-actions button{border:1px solid var(--line);background:#fff;padding:10px 15px;border-radius:8px}#confirm>div{width:min(360px,90vw);text-align:center}#confirm h3{margin-bottom:5px}#confirm p{color:var(--muted);font-size:11px}#confirm span{display:flex;gap:8px;justify-content:center}#confirm button{border:1px solid var(--line);background:#fff;padding:9px 15px;border-radius:8px}#delete-yes{background:#d94e4e!important;color:#fff;border-color:#d94e4e!important}#toast-admin{position:fixed;bottom:22px;left:50%;background:#1f2937;color:#fff;padding:12px 17px;border-radius:22px;font-size:11px;opacity:0;transform:translateY(20px);transition:.2s}#toast-admin.show{opacity:1;transform:none}
@media(max-width:900px){.stats{grid-template-columns:1fr 1fr}.order-row{grid-template-columns:1fr 1.4fr .6fr}.order-row select{grid-column:1/-1}.form-grid{grid-template-columns:1fr}}
@media(max-width:650px){body>aside{position:static;width:100%;height:auto;padding:13px}.brand{padding-bottom:10px}.brand+nav{grid-template-columns:repeat(3,1fr)}.brand+nav button{font-size:0;text-align:center}.brand+nav button::first-letter{font-size:18px}.help,.store{display:none}body>main{margin:0;padding:18px 12px}.stats{gap:9px}.stats article{padding:12px}.stats i{display:none}.stats b{font-size:17px}.tools{gap:8px}.tools label{width:100%}.tools select{max-width:130px}.order-row{grid-template-columns:1fr 1fr}.order-row>span:nth-child(2){grid-column:1/-1}.panel{padding:13px}table{min-width:680px}}
.header-buttons{display:flex;gap:8px}.header-buttons .logout{background:#fff;color:#6e7684;border:1px solid var(--line)}
