:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#18382b;background:#f2f6f5;font-size:15px}*{box-sizing:border-box;letter-spacing:0}body{max-width:1280px;margin:0 auto;padding:28px}button,a{font:inherit}button{cursor:pointer}header{display:flex;justify-content:space-between;align-items:center;gap:20px}h1{font-size:28px;margin:8px 0}header p{font-size:12px;color:#687c71;margin:0}.eyebrow{font-size:10px;font-weight:650}a{color:#246447;text-decoration:none;display:flex;gap:6px;align-items:center;font-size:13px}svg{width:19px;height:19px}nav{display:flex;gap:8px;margin-top:28px;border-bottom:1px solid #d6e1da;padding-bottom:14px}button{border:1px solid #d6e1da;background:white;padding:12px 16px;color:inherit;border-radius:6px}nav .selected{background:#246447;color:white;border-color:#246447}nav span{margin-left:10px}#refresh{margin-left:auto;display:grid;place-items:center;padding:10px}button:disabled{opacity:.5;cursor:wait}.notice{font-size:12px;color:#6b7d74;margin:18px 0 26px}#orders{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}.order{border:1px solid #d4dfd8;border-top:4px solid #246447;background:white;border-radius:8px;padding:20px}.order.preparing{border-top-color:#d29529}.order.done{border-top-color:#99a6a0}.order-head{display:flex;justify-content:space-between;gap:10px;align-items:start}.order h2{font-size:24px;margin:0 0 6px}.status{font-size:12px;font-weight:600}.order time{font-size:12px;color:#6b7d74;white-space:nowrap}.items{list-style:none;padding:8px 0 0;margin:10px 0}.items li{display:flex;gap:10px;align-items:center;border-bottom:1px solid #e3ebe6;padding:12px 0}.items img{width:48px;height:48px;object-fit:cover;border-radius:6px}.items strong{font-size:15px;line-height:1.4;display:block}.items small{color:#6b7d74;display:block;margin-top:3px}.note{font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f6f4;padding:12px;border-radius:6px}.bottom{display:flex;justify-content:space-between;align-items:center;margin-top:20px;gap:10px}.bottom>strong{font-size:17px;white-space:nowrap}.bottom button{background:#246447;color:white;border-color:#246447}.empty{grid-column:1/-1;padding:60px 20px;text-align:center;color:#718479}.empty h2{font-size:21px;font-weight:500}.empty p{font-size:13px}#error{position:fixed;bottom:15px;left:20px;right:20px;background:#9b3441;color:white;padding:15px;border-radius:6px;max-width:800px;margin:auto}button:focus-visible,a:focus-visible{outline:3px solid #95b5a4;outline-offset:3px}@media(max-width:600px){body{padding:20px 14px}header{align-items:start}header>a{max-width:96px;font-size:12px}h1{font-size:24px}#orders{grid-template-columns:minmax(0,1fr)}nav button{padding:11px;font-size:13px}.order{padding:16px}}
:root{color-scheme:light}body{padding-bottom:50px}nav{align-items:stretch}.filters{display:flex;gap:7px;overflow-x:auto;min-width:0;padding:2px 2px 5px;scrollbar-width:thin}.filters button{flex-shrink:0;white-space:nowrap}.filters span{margin-left:5px;opacity:.75}#refresh{flex-shrink:0}.guest-name{font-size:19px;font-weight:600;margin-top:20px;overflow-wrap:anywhere}.order.ready{border-top-color:#2e8960}.order.cancelled{border-top-color:#b87685}.order.new{border-top-color:#527f9e}.items li>div{min-width:0;flex:1}.items strong{overflow-wrap:anywhere}.items li>span{font-size:12px;color:#6b7d74;white-space:nowrap}.items img{flex-shrink:0}.note small{display:block;color:#708378;margin-bottom:6px}.order-actions{margin-top:12px}.cancel-link{border:0;padding:8px 0;background:none;color:#a05160;font-size:12px}.bottom button{font-size:13px;min-height:44px;padding:10px 13px}.order-head time{font-size:10px}.order-history{width:100%}.order-history li{align-items:center}.order-history time{font-size:10px}.stale{color:#a05130!important}#error{position:static;margin:15px 0;max-width:none;background:#f9e6e8;color:#953d4c;line-height:1.5;overflow-wrap:anywhere}dialog{border:1px solid #d4dfd8;border-radius:8px;padding:22px;width:min(440px,calc(100% - 28px));max-height:90dvh;color:inherit}dialog::backdrop{background:rgb(18 34 25 / .35)}.dialog-head{display:flex;align-items:start;justify-content:space-between;gap:12px}.dialog-head h2{font-size:20px;margin:0 0 22px;line-height:1.4}.dialog-head button{padding:5px;border:0}dialog label{font-size:13px;display:block;margin-bottom:10px}dialog textarea{box-sizing:border-box;width:100%;font:inherit;resize:vertical;border:1px solid #c7d5cb;border-radius:6px;padding:12px;min-height:110px}.danger{background:#973f50;border-color:#973f50;color:white;width:100%;margin-top:16px}.form-error{font-size:12px;color:#953d4c}.empty>svg{width:35px;height:35px}.order{min-width:0;align-self:start}.order-meta strong{overflow-wrap:anywhere}button:disabled{cursor:default}@media(max-width:600px){nav{margin-top:22px}.filters button{font-size:12px;padding:10px 11px}.order-head time{max-width:110px;white-space:normal;text-align:right;line-height:1.5}.order-history time{white-space:normal}.bottom{gap:8px}.bottom>strong{font-size:16px}.order .order-meta{gap:10px}.order-progress{margin-top:20px}}
.guest-phone{display:flex;align-items:center;gap:8px;margin-top:10px;padding:10px 12px;min-height:44px;background:#e9f2ec;border:1px solid #cfdfd5;border-radius:6px;flex-wrap:wrap}.guest-phone span{font-weight:600;font-size:14px;overflow-wrap:anywhere}.guest-phone small{margin-left:auto;font-size:11px}.guest-phone-missing{font-size:12px;color:#6b7d74;margin:8px 0 0}.guest-phone:focus-visible{outline:2px solid #246447;outline-offset:3px}
