*{box-sizing:border-box} :root{--brand:#5b5ce2;--ink:#182033;--muted:#6b7280;--card:#ffffffea;--line:#e9edf4;--ok:#16a34a}
html,body{min-height:100%} body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:radial-gradient(circle at 10% 0,#eef2ff 0,transparent 34%),radial-gradient(circle at 95% 12%,#fff1e7 0,transparent 35%),linear-gradient(145deg,#f8fafc,#f5f3ff);background-attachment:fixed}
button,input{font:inherit}.wrap{width:min(760px,94vw);margin:auto;padding:28px 0 36px}.hero{display:flex;align-items:center;gap:14px;margin-bottom:18px}.brandmark{width:56px;height:56px;flex:0 0 56px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,#6d6ee8,#4f46e5);color:#fff;font-weight:900;font-size:20px;box-shadow:0 12px 30px #4f46e53d}.heroText{min-width:0;flex:1}.eyebrow{margin:0;color:var(--brand);font-size:11px;font-weight:900;letter-spacing:.16em}.hero h1{margin:3px 0 2px;font-size:clamp(24px,5vw,34px);line-height:1.12}.hero p:last-child{margin:0;color:#70778a}.livePill{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:900;color:#166534;background:#dcfce7;padding:8px 11px;border-radius:999px}.livePill.offline{color:#92400e;background:#fef3c7}.liveDot{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 5px #22c55e20;animation:pulse 1.6s infinite}.livePill.offline .liveDot{background:#f59e0b;box-shadow:none;animation:none}@keyframes pulse{50%{box-shadow:0 0 0 8px #22c55e08}}
.card{background:var(--card);border:1px solid #fff;border-radius:26px;padding:22px;box-shadow:0 20px 70px #33415517;backdrop-filter:blur(16px)}.orderTop{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.label{display:block;font-size:11px;letter-spacing:.09em;font-weight:900;color:#7a8293}.orderTop strong{display:block;font-size:42px;letter-spacing:-.04em;margin-top:2px}.badge{max-width:55%;padding:9px 12px;border-radius:999px;background:#e8edff;color:#3047a8;font-size:11px;font-weight:900;text-align:center}.badge.dine{background:#dcfce7;color:#166534}.badge.takeaway{background:#ffedd5;color:#9a3412}
.statusBox{margin:20px 0;padding:18px;border-radius:20px;background:linear-gradient(145deg,#f8fafc,#f5f7fb);border:1px solid #edf1f6}.statusHeader{display:flex;align-items:center;justify-content:space-between;gap:14px}.statusBox h2{font-size:32px;line-height:1.05;margin:5px 0 0}.statusIcon{font-size:30px}.progressSteps{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-top:20px}.progressStep{min-width:0;text-align:center;color:#9aa2b1}.dot{width:29px;height:29px;margin:0 auto 7px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:900;background:#e2e8f0;color:#7a8495;position:relative}.progressStep.done{color:#4f46e5}.progressStep.done .dot{background:#5b5ce2;color:#fff}.progressStep.current .dot{box-shadow:0 0 0 6px #5b5ce21a}.stepName{font-size:10px;font-weight:800;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:22px}.detail{padding:13px 14px;border-radius:15px;background:#f8fafc;border:1px solid #eef2f7}.detail small{display:block;color:#778093;margin-bottom:3px}.detail b{font-size:14px}.sectionTitle{display:flex;align-items:center;justify-content:space-between;gap:10px}.sectionTitle h3{margin:0;font-size:18px}.itemCount{font-size:12px;color:#6b7280;background:#f1f5f9;padding:5px 9px;border-radius:999px}.items{margin-top:8px}.item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 4px;border-bottom:1px solid var(--line)}.item:last-child{border-bottom:0}.itemName{font-weight:700}.qty{font-weight:900;color:#4f46e5}.empty{color:#777f8f}.refreshRow{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding-top:15px;border-top:1px solid var(--line)}.updated{font-size:11px;color:#7b8497}.secondaryBtn{border:0;background:#eef2ff;color:#3f46a6;font-weight:900;padding:9px 12px;border-radius:11px;cursor:pointer}
.lookup h2,.loadingCard h2,.error h2{margin:0 0 6px}.lookup p,.loadingCard p,.error p{color:#70788a}.lookupRow{display:flex;gap:8px;margin-top:16px}.lookupRow input{flex:1;min-width:0;border:1px solid #dbe1eb;border-radius:13px;padding:12px 13px;background:#fff;outline:none}.lookupRow input:focus{border-color:#818cf8;box-shadow:0 0 0 4px #818cf817}.lookupRow button,.error button{border:0;border-radius:13px;padding:12px 15px;background:#5b5ce2;color:white;font-weight:900;cursor:pointer}.smallMsg{font-size:12px;color:#b45309!important;margin-bottom:0!important}.loadingCard{text-align:center;padding:38px 22px}.spinner{width:38px;height:38px;border:4px solid #e5e7eb;border-top-color:#5b5ce2;border-radius:50%;margin:0 auto 16px;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error{text-align:center;border-color:#fecaca;background:#fffafa}.errorIcon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;margin:0 auto 13px;background:#fee2e2;color:#b91c1c;font-size:24px;font-weight:900}.error button{margin-top:6px}footer{display:flex;justify-content:center;gap:8px;align-items:center;color:#9299a8;font-size:12px;margin-top:18px}footer strong{color:#727a8c}
[hidden]{display:none!important}@media(max-width:600px){.wrap{padding-top:18px}.hero{align-items:flex-start}.livePill{margin-top:6px}.card{border-radius:22px;padding:17px}.orderTop strong{font-size:36px}.badge{max-width:58%;font-size:10px}.statusBox{padding:15px}.statusBox h2{font-size:28px}.stepName{font-size:9px}.details{grid-template-columns:1fr 1fr}.refreshRow{align-items:flex-start;flex-direction:column}.lookupRow{flex-direction:column}.lookupRow button{width:100%}}@media(max-width:410px){.brandmark{width:48px;height:48px;flex-basis:48px;border-radius:15px}.hero h1{font-size:22px}.livePill{font-size:9px;padding:7px 8px}.details{grid-template-columns:1fr}.progressSteps{gap:3px}.dot{width:25px;height:25px}.stepName{font-size:8px}}
