:root{--ink:#172234;--muted:#6e798b;--line:#e7ebf1;--page:#f6f8fb;--brand:#ed5a2e;--brand-dark:#cf3d19;--brand-soft:#fff0eb;--nav:#122139;--teal:#15a891;--blue:#287cf5;--gold:#efaf24;--shadow:0 14px 38px rgba(24,42,67,.08)}
*{box-sizing:border-box}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--page);font-size:.925rem}a{text-decoration:none}.app-brand{color:var(--ink);font-weight:800;letter-spacing:-.05em;font-size:1.28rem}.app-brand span{color:var(--brand)}.brand-dot{width:33px;height:33px;border-radius:10px;display:inline-grid;place-items:center;background:var(--brand);color:#fff;box-shadow:0 7px 16px rgba(237,90,46,.27)}.btn-brand{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:700}.btn-brand:hover,.btn-brand:focus{background:var(--brand-dark);border-color:var(--brand-dark);color:#fff}.btn-soft{background:var(--brand-soft);color:var(--brand-dark);border:1px solid #ffdcd1;font-weight:700}.text-brand{color:var(--brand)!important}.bg-brand-soft{background:var(--brand-soft)}.text-muted-custom{color:var(--muted)}
/* landing */.landing{min-height:100vh;background:radial-gradient(circle at 76% 8%,#ffe5d8 0,transparent 29%),#fff}.landing-nav{height:78px;border-bottom:1px solid #f0f1f3}.landing-hero{padding:76px 0 48px}.eyebrow{font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--brand)}.display-title{font-size:clamp(2.4rem,5vw,4.5rem);line-height:1.01;letter-spacing:-.065em;font-weight:800;max-width:690px}.display-title em{color:var(--brand);font-style:normal}.landing-copy{font-size:1.08rem;color:var(--muted);max-width:590px;line-height:1.65}.landing-card{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:25px;padding:22px}.role-card{height:100%;border:1px solid var(--line);border-radius:19px;padding:24px;transition:.2s;background:#fff}.role-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#ffd5c8}.role-icon{width:50px;height:50px;border-radius:16px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);font-size:1.3rem}.feature-row{border-top:1px solid var(--line);padding-top:28px;margin-top:25px}.mini-stat{padding:16px 0}.mini-stat strong{display:block;font-size:1.45rem;letter-spacing:-.04em}.mini-stat span{color:var(--muted);font-size:.83rem}
/* admin shell */.admin-shell{min-height:100vh}.topbar{height:70px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:1030;padding:0 24px}.top-search{max-width:370px;background:#f6f8fb;border:1px solid var(--line);border-radius:10px}.status-dot{width:9px;height:9px;border-radius:50%;background:var(--teal);display:inline-block;box-shadow:0 0 0 4px rgba(21,168,145,.12)}.admin-body{display:flex}.sidebar{width:264px;background:#fff;border-right:1px solid var(--line);padding:18px 12px;min-height:calc(100vh - 70px);position:sticky;top:70px;align-self:flex-start;z-index:1010}.restaurant-switcher{padding:13px 14px;border:1px solid var(--line);border-radius:13px;margin:0 5px 16px}.restaurant-avatar{height:32px;width:32px;border-radius:10px;background:linear-gradient(135deg,#f58245,#dd3c20);color:#fff;display:grid;place-items:center}.side-label{font-size:.66rem;font-weight:800;letter-spacing:.11em;color:#9aa4b3;padding:14px 13px 6px;text-transform:uppercase}.side-nav{gap:2px}.side-nav .nav-link{color:#526072;border-radius:10px;padding:10px 12px;font-size:.875rem;font-weight:600;display:flex;align-items:center;gap:11px}.side-nav .nav-link i{font-size:1rem;color:#8792a2;width:18px;text-align:center}.side-nav .nav-link:hover{background:#f5f7fa;color:var(--ink)}.side-nav .nav-link.active{background:var(--brand-soft);color:var(--brand-dark);font-weight:800}.side-nav .nav-link.active i{color:var(--brand)}.main-area{min-width:0;flex:1;padding:30px;max-width:1800px}.page-head{margin-bottom:25px}.page-head h1{font-size:1.65rem;font-weight:800;letter-spacing:-.04em;margin:0}.page-head p{color:var(--muted);margin:5px 0 0}.soft-card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 4px 18px rgba(25,38,59,.025)}.store-link{background:linear-gradient(115deg,#fff4ee,#fff);border:1px solid #ffdace;border-radius:16px;padding:18px 20px}.store-link .url{color:var(--brand-dark);font-weight:750}.metric-card{min-height:118px;padding:18px 19px;position:relative;overflow:hidden}.metric-card:after{content:"";position:absolute;width:78px;height:78px;border-radius:50%;right:-25px;bottom:-28px;background:var(--metric-bg,#eef6ff)}.metric-name{color:var(--muted);font-weight:650;font-size:.82rem}.metric-value{font-size:1.75rem;font-weight:800;letter-spacing:-.055em;margin-top:9px}.metric-icon{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:var(--metric-bg,#eef6ff);color:var(--metric,#287cf5);font-size:1rem}.metric-note{font-size:.73rem;color:var(--teal);font-weight:700}.card-head{padding:19px 20px 14px;border-bottom:1px solid var(--line)}.card-head h2{font-size:1rem;font-weight:800;margin:0}.card-head small{color:var(--muted)}.order-list-item{padding:15px 20px;border-bottom:1px solid var(--line)}.order-list-item:last-child{border-bottom:0}.order-badge{font-size:.7rem;font-weight:800;border-radius:999px;padding:5px 9px}.badge-new{background:#eaf5ff;color:#2471cb}.badge-prep{background:#fff2d9;color:#9d6711}.badge-ready{background:#e5f8f3;color:#0f846d}.chart-bars{height:210px;display:flex;align-items:end;gap:10px;padding:16px 18px 0}.chart-bars span{display:block;flex:1;border-radius:9px 9px 0 0;background:linear-gradient(#ffbc9f,#ed5a2e)}.chart-labels{display:flex;justify-content:space-around;color:#91a0b0;font-size:.72rem;padding:7px 14px 15px}.quick-action{border:1px solid var(--line);border-radius:13px;padding:14px;display:flex;gap:12px;align-items:center;color:var(--ink);font-weight:700}.quick-action:hover{border-color:#ffc9b8;color:var(--brand-dark);background:#fffafa}.quick-action i{color:var(--brand);font-size:1.1rem}
/* forms and admin data */.toolbar{display:flex;gap:13px;align-items:center;justify-content:space-between;margin-bottom:20px}.search-input{border:1px solid var(--line);border-radius:11px;padding:.62rem .78rem;background:#fff;min-width:260px}.filter-pills{display:flex;gap:8px;overflow:auto;padding:0 0 12px}.filter-pills button{white-space:nowrap;border:1px solid var(--line);border-radius:999px;background:#fff;color:#667388;font-size:.8rem;padding:7px 13px;font-weight:700}.filter-pills button.active,.filter-pills button:hover{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-dark)}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.product-card{padding:14px;display:flex;gap:13px;min-width:0}.food-img{width:64px;height:64px;object-fit:cover;border-radius:12px;background:#fde9df;flex:0 0 64px}.product-card h3{font-size:.93rem;font-weight:800;margin:1px 0 4px}.product-card p{font-size:.76rem;color:var(--muted);margin:0 0 6px;line-height:1.35}.product-card .price{font-weight:800}.form-card{padding:25px}.form-card h2{font-size:1.05rem;font-weight:800;margin:0 0 19px}.form-label{font-size:.8rem;font-weight:800;color:#435065}.form-control,.form-select{border-color:#dfe5ed;padding:.67rem .8rem;border-radius:10px}.form-control:focus,.form-select:focus{border-color:#f0a38b;box-shadow:0 0 0 .2rem rgba(237,90,46,.12)}.drop-zone{border:1.5px dashed #f2a98f;background:#fff9f7;border-radius:13px;padding:28px;text-align:center;color:var(--muted)}.drop-zone i{font-size:1.5rem;color:var(--brand);display:block;margin-bottom:6px}.variant-line{padding:14px;border:1px solid var(--line);border-radius:12px;background:#fcfdff}.data-table{font-size:.87rem}.data-table th{color:#7a8798;font-size:.72rem;letter-spacing:.04em;text-transform:uppercase;font-weight:800;padding:14px 18px;border-bottom:1px solid var(--line);white-space:nowrap}.data-table td{padding:15px 18px;vertical-align:middle;border-bottom:1px solid #eff2f5}.data-table tr:last-child td{border:0}.customer-avatar{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:800;font-size:.75rem;background:linear-gradient(135deg,#374d70,#8ba1c0)}.status{font-size:.7rem;font-weight:800;border-radius:999px;padding:5px 9px;display:inline-block}.status-new{background:#e9f4ff;color:#2574cd}.status-preparing{background:#fff3dc;color:#a76900}.status-ready{background:#e5f8f3;color:#10806b}.status-completed{background:#eef2f5;color:#546273}.status-cancelled{background:#ffeded;color:#d34c4c}.outlet-card{padding:20px}.outlet-visual{height:105px;border-radius:12px;background:linear-gradient(135deg,#253751,#6d8db0);color:#fff;padding:17px;position:relative;overflow:hidden}.outlet-visual:after{content:"";position:absolute;width:120px;height:120px;right:-35px;bottom:-45px;border:1px solid rgba(255,255,255,.25);border-radius:50%}.outlet-visual i{font-size:1.3rem}.qr-box{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;text-align:center}.fake-qr{width:125px;height:125px;margin:12px auto;background:repeating-linear-gradient(90deg,#172234 0 8px,#fff 8px 12px),repeating-linear-gradient(#172234 0 7px,#fff 7px 11px);background-blend-mode:multiply;border:6px solid #fff;outline:1px solid #dfe5ed}.coupon{padding:20px;background:linear-gradient(120deg,#ffefe8,#fff5ef);border:1px dashed #f19574;border-radius:16px;position:relative;overflow:hidden}.coupon:after{content:"";position:absolute;width:52px;height:52px;background:var(--page);border-radius:50%;right:-25px;top:45%}.coupon .coupon-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:900;color:var(--brand-dark);font-size:1.12rem;letter-spacing:.04em}.setting-row{padding:16px 20px;border-bottom:1px solid var(--line)}.setting-row:last-child{border-bottom:0}.setting-row h3{font-size:.9rem;font-weight:800;margin:0 0 3px}.setting-row p{font-size:.78rem;color:var(--muted);margin:0}.form-switch .form-check-input{width:2.6em;height:1.35em}.form-check-input:checked{background-color:var(--brand);border-color:var(--brand)}.team-card{padding:18px}.team-card .initial{width:47px;height:47px;border-radius:15px;display:grid;place-items:center;background:#eaf2ff;color:#2c6dd0;font-weight:800}.reservation-time{font-size:.78rem;color:var(--brand-dark);font-weight:800}.alert-inline{padding:10px 14px;background:#eff8f5;border:1px solid #d9efe8;color:#177a68;border-radius:10px;font-size:.82rem;font-weight:650}
/* customer */.customer-shell{min-height:100vh;background:#faf8f6}.customer-nav{height:70px;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border-bottom:1px solid #ece7e2;position:sticky;top:0;z-index:1030}.customer-main{max-width:1280px;margin:auto;padding:24px}.customer-hero{border-radius:22px;min-height:190px;overflow:hidden;padding:28px;background:linear-gradient(100deg,rgba(16,32,48,.96),rgba(16,32,48,.65)),url('https://images.unsplash.com/photo-1515003197210-e0cd71810b5f?auto=format&fit=crop&w=1400&q=80') center/cover;color:#fff}.customer-hero .badge{background:#fff2ed;color:#bd3d1d;font-weight:800}.customer-hero h1{font-size:clamp(1.7rem,3vw,2.6rem);font-weight:850;letter-spacing:-.05em;margin:12px 0 8px}.customer-hero p{color:rgba(255,255,255,.78);margin-bottom:0}.ordering-mode{display:flex;gap:8px;flex-wrap:wrap}.mode-pill{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:7px 13px;font-size:.78rem;font-weight:750}.mode-pill.active{background:#fff;color:#152234}.customer-grid{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:25px;margin-top:25px}.customer-category-nav{display:flex;gap:8px;overflow:auto;padding-bottom:15px}.customer-category-nav a{white-space:nowrap;padding:8px 14px;border-radius:999px;color:#49566a;background:#fff;border:1px solid #e8e3df;font-size:.8rem;font-weight:750}.customer-category-nav a.active{background:var(--ink);border-color:var(--ink);color:#fff}.customer-section{margin-bottom:31px}.customer-section h2{font-weight:850;letter-spacing:-.04em;font-size:1.25rem;margin:0 0 13px}.customer-section p.section-note{color:var(--muted);font-size:.85rem;margin-top:-8px}.customer-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.menu-product{border:1px solid #e9e5e1;border-radius:16px;padding:12px;background:#fff;display:flex;gap:13px}.menu-product img{width:86px;height:86px;object-fit:cover;border-radius:11px;background:#f6e7df}.menu-product h3{font-size:.95rem;font-weight:850;line-height:1.2;margin:2px 0 5px}.menu-product p{font-size:.74rem;line-height:1.4;color:var(--muted);margin:0 0 8px}.veg-mark{color:#159466;font-size:.7rem}.menu-price{font-weight:850}.add-button{border:1px solid #f4b49f;background:#fff7f4;color:var(--brand-dark);font-size:.75rem;border-radius:9px;padding:5px 10px;font-weight:800}.mini-cart{height:fit-content;background:#fff;border:1px solid #e9e5e1;border-radius:16px;padding:17px;position:sticky;top:94px}.mini-cart h2{font-size:1rem;font-weight:850}.mini-cart-row{padding:12px 0;border-bottom:1px solid #f0eeec}.mini-cart-row:last-of-type{border-bottom:0}.mini-cart-row h4{font-size:.82rem;font-weight:800;margin:0 0 4px}.quantity{display:inline-flex;align-items:center;border:1px solid #e4e6ea;border-radius:7px;overflow:hidden}.quantity button{border:0;background:#f6f8fb;width:24px;height:24px;color:var(--brand-dark);font-weight:900}.quantity span{width:22px;text-align:center;font-weight:800;font-size:.78rem}.cart-total{display:flex;justify-content:space-between;border-top:1px dashed #dfe3e7;margin-top:10px;padding-top:12px;font-weight:850}.floating-cart{display:none}.cart-layout{display:grid;grid-template-columns:minmax(0,1.38fr) minmax(310px,.62fr);gap:25px;align-items:start}.cart-line{display:flex;gap:14px;padding:17px 0;border-bottom:1px solid var(--line)}.cart-line:last-child{border-bottom:0}.cart-line img{width:80px;height:80px;object-fit:cover;border-radius:12px}.cart-line h3{font-size:1rem;font-weight:850;margin:2px 0 5px}.checkout-side{padding:21px;position:sticky;top:94px}.checkout-side h2{font-size:1.15rem;font-weight:850}.payment-choice{display:flex;gap:9px}.payment-choice button{flex:1;background:#fff;border:1px solid var(--line);border-radius:10px;padding:9px;color:#526072;font-size:.78rem;font-weight:750}.payment-choice button.active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-dark)}.order-success{max-width:690px;margin:55px auto;background:#fff;border:1px solid #e9e5e1;border-radius:22px;padding:36px;text-align:center}.success-icon{height:72px;width:72px;background:#e4f8ef;color:#119d71;border-radius:50%;display:grid;place-items:center;font-size:2rem;margin:0 auto 17px}.order-success h1{font-size:1.75rem;font-weight:850;letter-spacing:-.05em}.timeline{margin:30px auto 15px;max-width:480px;text-align:left}.timeline-item{display:flex;gap:14px;position:relative;padding-bottom:22px}.timeline-item:not(:last-child):after{content:"";position:absolute;width:2px;left:9px;top:21px;bottom:0;background:#dfe4e9}.timeline-dot{width:20px;height:20px;border-radius:50%;background:#dfe4e9;border:4px solid #fff;box-shadow:0 0 0 1px #d5dce4;z-index:1;flex:0 0 20px}.timeline-item.complete .timeline-dot{background:var(--teal);box-shadow:0 0 0 1px var(--teal)}.timeline-item.current .timeline-dot{background:var(--brand);box-shadow:0 0 0 4px #ffe5da}.timeline-item h3{font-size:.9rem;font-weight:850;margin:0 0 2px}.timeline-item p{font-size:.78rem;color:var(--muted);margin:0}.footer-note{text-align:center;color:#8994a4;font-size:.75rem;padding:25px}
/* responsive */@media(max-width:1100px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-grid{grid-template-columns:1fr}.mini-cart{display:none}.floating-cart{display:flex;position:fixed;bottom:17px;left:18px;right:18px;z-index:1040;box-shadow:0 14px 32px rgba(21,34,52,.22)}}@media(max-width:991.98px){.top-search{display:none}.main-area{padding:23px 18px}.sidebar{position:fixed;left:-280px;top:70px;height:calc(100vh - 70px);transition:left .22s;box-shadow:var(--shadow);overflow:auto}.sidebar.open{left:0}.sidebar-backdrop{position:fixed;inset:70px 0 0;background:rgba(18,33,57,.32);z-index:1005;display:none}.sidebar-backdrop.show{display:block}.customer-products{grid-template-columns:1fr}.cart-layout{grid-template-columns:1fr}.checkout-side{position:static}.landing-hero{padding-top:46px}}@media(max-width:600px){.topbar{padding:0 15px}.topbar .profile-copy,.topbar .online-copy{display:none}.main-area{padding:19px 14px}.page-head{margin-bottom:18px}.toolbar{align-items:stretch;flex-direction:column}.search-input{min-width:0;width:100%}.product-grid{grid-template-columns:1fr}.metric-value{font-size:1.5rem}.metric-card{min-height:104px}.data-table{min-width:690px}.customer-main{padding:15px}.customer-hero{padding:21px;min-height:210px}.customer-products{gap:11px}.menu-product img{width:74px;height:74px}.customer-nav .location-copy{display:none}.landing-nav{height:68px}.landing-hero{padding-top:34px}.landing-card{padding:16px}.order-success{margin:22px 14px;padding:27px 18px}.feature-row{margin-top:15px}.form-card{padding:18px}.fake-qr{width:100px;height:100px}.outlet-visual{height:92px}}

/* PRD extensions */
.wait-chip{display:inline-flex;align-items:center;gap:6px;font-size:.75rem;font-weight:800;border-radius:999px;padding:5px 11px;white-space:nowrap}
.wait-green{background:#e4f6f0;color:#0f8a72}.wait-yellow{background:#fdf3d7;color:#a2740a}.wait-magenta{background:#fce4f3;color:#b81f7d}.wait-red{background:#fde3df;color:#cf2b12;animation:mdflash 1s step-start infinite}.wait-black{background:#172234;color:#fff}
@keyframes mdflash{50%{opacity:.35}}
.otp-inputs input{width:52px;height:58px;text-align:center;font-size:1.4rem;font-weight:800;border:1.5px solid #dfe5ed;border-radius:12px}
.otp-inputs input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 .2rem rgba(237,90,46,.12)}
.menu-btn{display:inline-flex;align-items:center;gap:8px;border-radius:11px;padding:8px 13px;font-size:.82rem;font-weight:750;border:1px solid transparent;cursor:grab;user-select:none}
.menu-btn .x{opacity:.5;cursor:pointer;margin-left:2px}.menu-btn .x:hover{opacity:1}
.menu-btn.selected{outline:2px solid var(--ink);outline-offset:1px}
.mb-c1{background:#fff0eb;color:#c33a17;border-color:#ffd6c8}.mb-c2{background:#e8f3ff;color:#1861c9;border-color:#cbe2ff}.mb-c3{background:#e6f7f2;color:#0f8a72;border-color:#c4ece2}.mb-c4{background:#fdf4dc;color:#95700a;border-color:#f5e4b5}.mb-c5{background:#f3ecfe;color:#6d3fd0;border-color:#e2d4fb}
.builder-col{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;min-height:240px}
.builder-col.drag-over{border-color:var(--brand);background:var(--brand-soft)}
.builder-col h3{font-size:.78rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#7a8798;margin:0}
.builder-col .list{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0;min-height:56px;align-content:flex-start}
.progress-ai{height:9px;border-radius:99px;background:#f4e6df;overflow:hidden}.progress-ai>span{display:block;height:100%;width:0;background:var(--brand);transition:width .25s}
.code-chip{font-family:ui-monospace,SFMono-Regular,monospace;background:#f1f4f8;border:1px solid var(--line);border-radius:9px;padding:5px 11px;font-weight:700;cursor:pointer;font-size:.8rem}
.staff-order{border:1px solid var(--line);border-radius:14px;padding:16px;background:#fff}
.clockface{font-family:ui-monospace,SFMono-Regular,monospace;font-weight:800;font-size:1.02rem}
.tier-diamond{background:#e8f3ff;color:#1861c9}.tier-gold{background:#fdf3d7;color:#95700a}.tier-silver{background:#eef1f5;color:#5a6779}.tier-bronze{background:#f9ebe2;color:#a05a2c}
