:root{--ink:#171512;--paper:#fff;--wash:#f1eee8;--line:#ddd8cf;--muted:#766f66;--red:#8d2f2f;--gold:#b28b50;--green:#286347;--amber:#b9751e;--shadow:0 18px 55px rgba(24,21,17,.13)}
*{box-sizing:border-box}[hidden]{display:none!important}html{font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;background:var(--wash);color:var(--ink)}body{margin:0;min-height:100vh;background:radial-gradient(circle at 50% 0,#fff 0,#f4f1eb 48%,#ebe7df 100%)}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}.login-view{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(440px,100%);padding:34px;border:1px solid rgba(178,139,80,.25);border-radius:24px;background:rgba(255,255,255,.96);box-shadow:var(--shadow)}.staff-brand{display:flex;align-items:center;gap:12px}.staff-brand>span{width:38px;height:48px;display:grid;place-content:center;border:1px solid var(--gold);color:var(--gold);font-family:serif;font-size:12px;line-height:16px}.staff-brand b,.staff-brand small{display:block}.staff-brand b{font-family:"Noto Serif SC","Songti SC",serif;font-size:19px;letter-spacing:.12em}.staff-brand small{margin-top:3px;color:var(--muted);font-size:11px;letter-spacing:.1em}.login-copy{margin:38px 0 23px}.login-copy small{color:var(--gold);font-size:10px;letter-spacing:.17em}.login-copy h1{margin:5px 0 6px;font-family:"Noto Serif SC","Songti SC",serif;font-size:30px}.login-copy p{margin:0;color:var(--muted);font-size:13px}.login-card label{display:block;margin:0 0 15px;font-size:13px;font-weight:700}.login-card input{display:block;width:100%;min-height:50px;margin-top:6px;padding:0 13px;border:1px solid var(--line);border-radius:11px;background:#faf9f7;font-size:16px}.login-card input:focus{outline:3px solid rgba(141,47,47,.15);border-color:var(--red)}.login-button,.demo-button{width:100%;min-height:51px;border-radius:12px;font-weight:800}.login-button{border:0;background:var(--red);color:#fff}.demo-button{margin-top:9px;border:1px solid var(--line);background:#fff}.form-error{margin:0 0 12px;padding:10px 12px;border-radius:8px;background:#fff0ee;color:#8b2929;font-size:12px}.login-note{margin:16px 0 14px;color:var(--muted);font-size:11px;line-height:1.6}.back-menu{color:var(--red);font-size:12px;text-decoration:none}.staff-topbar{position:sticky;top:0;z-index:20;min-height:72px;padding:0 max(18px,calc((100vw - 1200px)/2));display:flex;align-items:center;justify-content:space-between;background:rgba(23,21,18,.97);color:#fff;backdrop-filter:blur(14px)}.staff-brand.compact>span{width:32px;height:40px}.staff-brand.compact b{font-size:17px}.staff-brand.compact small{color:#bbb4a9}.top-actions{display:flex;align-items:center;gap:8px}.top-actions button{min-height:36px;padding:0 12px;border:1px solid #504a41;border-radius:999px;background:#292621;color:#eee}.connection{display:flex;align-items:center;gap:6px;margin-right:5px;color:#bdb8b0;font-size:11px}.connection i{width:8px;height:8px;border-radius:50%;background:#d19035}.connection.online i{background:#4fbd82}.connection.offline i{background:#d65b54}.staff-main{max-width:1200px;margin:auto;padding:25px 20px 70px}.overview{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.overview>div{padding:17px 19px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 8px 25px rgba(20,18,15,.05)}.overview small,.overview strong{display:block}.overview small{color:var(--muted);font-size:12px}.overview strong{margin-top:4px;font-family:serif;font-size:31px}.overview>div:first-child{border-color:#e7c3bd;background:#fff8f6}.overview>div:first-child strong{color:var(--red)}.toolbar{margin:18px 0 15px}.status-tabs{display:flex;gap:7px;overflow-x:auto;padding:2px 0 7px;scrollbar-width:none}.status-tabs::-webkit-scrollbar{display:none}.status-tabs button{flex:0 0 auto;min-height:40px;padding:0 15px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#706a62;font-weight:700;font-size:13px}.status-tabs button.active{border-color:var(--ink);background:var(--ink);color:#fff}.status-tabs b{display:inline-grid;place-content:center;min-width:19px;height:19px;margin-left:3px;padding:0 5px;border-radius:10px;background:#eee9e1;color:var(--ink);font-size:10px}.filter-row{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:7px}.filter-row label{color:var(--muted);font-size:11px}.filter-row select{display:block;min-width:150px;height:40px;margin-top:5px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:13px}.install{height:40px;padding:0 14px;border:1px solid #c9b28d;border-radius:10px;background:#fffaf1;color:#684923;font-size:12px;font-weight:700}.order-list{display:grid;gap:13px}.order-card{overflow:hidden;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 10px 30px rgba(20,18,15,.055)}.order-card.urgent{border-left:4px solid var(--red)}.order-head{display:grid;grid-template-columns:1fr auto;gap:12px;padding:17px 18px 14px;border-bottom:1px solid #eeeae3}.order-number{display:flex;align-items:center;gap:8px}.order-number b{font-size:17px}.order-number time{color:var(--muted);font-size:11px}.status-pill{align-self:start;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800}.status-pill.pending{background:#fff0ed;color:#953027}.status-pill.confirmed{background:#edf5ef;color:#276343}.status-pill.completed{background:#efefee;color:#5e5b56}.status-pill.cancelled{background:#f0edef;color:#795c68}.guest-line{display:flex;flex-wrap:wrap;gap:7px 15px;margin-top:8px;color:#514c46;font-size:13px}.guest-line strong{color:var(--ink)}.order-body{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:18px;padding:16px 18px}.items h3,.order-info h3{margin:0 0 9px;color:var(--muted);font-size:11px;letter-spacing:.08em}.item-row{display:grid;grid-template-columns:1fr auto;gap:10px;padding:8px 0;border-bottom:1px dashed #ebe6dd}.item-row:last-child{border-bottom:0}.item-row b{font-size:14px}.item-row small{display:block;margin-top:3px;color:#8b6d45;font-size:11px}.item-row em{font-style:normal;font-weight:800}.order-info dl{display:grid;grid-template-columns:auto 1fr;gap:8px 10px;margin:0;font-size:12px}.order-info dt{color:var(--muted)}.order-info dd{margin:0;font-weight:700}.seafood-value{color:var(--red)}.customer-note{margin:12px 0 0;padding:9px 10px;border-radius:8px;background:#faf5eb;color:#6e593c;font-size:12px;line-height:1.5}.order-actions{display:flex;justify-content:flex-end;gap:8px;padding:0 18px 17px}.order-actions button{min-height:39px;padding:0 15px;border-radius:10px;font-size:12px;font-weight:800}.order-actions .secondary{border:1px solid var(--line);background:#fff}.order-actions .confirm{border:0;background:var(--red);color:#fff}.order-actions .complete{border:0;background:var(--green);color:#fff}.order-actions .cancel{border:1px solid #d6c9cd;background:#fff;color:#80505f}.empty-state{text-align:center;padding:65px 20px;color:var(--muted)}.empty-state span{display:grid;place-content:center;width:52px;height:52px;margin:0 auto 12px;border-radius:50%;background:#e8eee7;color:var(--green);font-size:25px}.empty-state h2{margin:0;color:var(--ink);font-family:serif;font-size:21px}.empty-state p{margin:7px 0}.staff-toast{position:fixed;z-index:30;left:50%;bottom:22px;transform:translate(-50%,15px);padding:11px 16px;border-radius:999px;background:var(--ink);color:#fff;box-shadow:var(--shadow);font-size:12px;opacity:0;pointer-events:none;transition:.2s}.staff-toast.show{opacity:1;transform:translate(-50%,0)}
.sound-tip{margin:0 0 12px;padding:10px 13px;border:1px dashed #d7b98c;border-radius:12px;background:#fffaf1;color:#7a5a2c;font-size:12px;font-weight:700;text-align:center}.install-tip{margin:0;max-width:260px;color:var(--muted);font-size:11px;line-height:1.5;text-align:right}.order-info dd.today-value{color:var(--red)}
.role-banner{margin:0 0 12px;padding:10px 13px;border-radius:12px;background:#eef1f5;color:#44505f;font-size:12px;font-weight:700}.view-tabs{display:flex;gap:6px;margin:0 0 14px;padding:4px;border:1px solid var(--line);border-radius:14px;background:#fff;width:max-content}.view-tabs button{min-height:38px;padding:0 18px;border:0;border-radius:10px;background:transparent;color:#6f685f;font-weight:800;font-size:13px}.view-tabs button.active{background:var(--ink);color:#fff}.price-view{padding-bottom:80px}.price-head h2{margin:4px 0 6px;font-family:"Noto Serif SC","Songti SC",serif;font-size:22px}.price-head p{margin:0 0 16px;color:var(--muted);font-size:12px;line-height:1.6}.price-group{margin:0 0 14px;padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:#fff}.price-group h3{margin:0 0 8px;color:var(--gold);font-size:12px;letter-spacing:.06em}.price-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px dashed #ebe6dd;font-size:14px;font-weight:700}.price-row:last-child{border-bottom:0}.price-row.dirty{color:var(--red)}.price-input{display:flex;align-items:center;gap:5px;flex:0 0 auto}.price-input i,.price-input em{font-style:normal;color:var(--muted);font-size:12px;font-weight:600}.price-input input{width:104px;height:40px;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:#faf9f7;font-size:16px;font-weight:700;text-align:right}.price-row.dirty input{border-color:var(--red);background:#fff6f3}.price-actions{position:sticky;bottom:12px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:6px;padding:10px 12px 10px 16px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.97);box-shadow:var(--shadow);font-size:12px;color:var(--muted)}.save-prices{min-height:42px;padding:0 20px;border:0;border-radius:11px;background:var(--red);color:#fff;font-weight:800}.save-prices:disabled{opacity:.35;cursor:not-allowed}
@media(max-width:700px){.login-view{padding:14px}.login-card{padding:27px 22px}.staff-topbar{min-height:64px;padding:0 12px}.connection{display:none}.top-actions button{padding:0 10px}.staff-main{padding:15px 11px 60px}.overview{gap:7px}.overview>div{padding:13px 12px;border-radius:12px}.overview strong{font-size:26px}.status-tabs button{padding:0 13px}.order-head{padding:14px}.order-body{grid-template-columns:1fr;padding:14px;gap:15px}.order-actions{display:grid;grid-template-columns:1fr 1fr;padding:0 14px 14px}.order-actions button{padding:0 9px}.filter-row{align-items:end}.install{max-width:155px}.install-tip{max-width:170px}.guest-line{gap:5px 11px}.order-number{display:block}.order-number time{display:block;margin-top:3px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
