:root {
  --ink: #17202a;
  --muted: #687385;
  --line: #d8dee8;
  --paper: #ffffff;
  --wash: #f5f7fb;
  --brand: #0b2e57;
  --brand-2: #a24509;
  --danger: #b42318;
  --ok: #047857;
  --info: #0b4f8f;
  --shadow: 0 14px 40px rgba(26, 39, 64, 0.12);
}

/* CFO Office */
.cfo-body { background: #f3f6f4; }
.cfo-main { max-width: 1500px; }
.cfo-hero { display:flex; justify-content:space-between; gap:24px; align-items:center; padding:28px 30px; border-radius:22px; color:#fff; background:linear-gradient(120deg,#083c32,#0a5a49 65%,#b68124); box-shadow:0 16px 40px rgba(8,60,50,.18); }
.cfo-hero h2 { margin:4px 0 8px; font-size:clamp(26px,3vw,40px); }
.cfo-hero p { margin:0; color:rgba(255,255,255,.78); }
.cfo-period { min-width:210px; display:flex; gap:12px; align-items:center; padding:14px 16px; border:1px solid rgba(255,255,255,.22); border-radius:14px; background:rgba(255,255,255,.1); }
.cfo-period small,.cfo-period b { display:block; }
.cfo-kpis .metric { border:1px solid #dce7e2; border-radius:18px; background:#fff; box-shadow:0 8px 24px rgba(24,61,49,.06); }
.cfo-kpis .metric span { order:-1; color:#697b74; font-weight:700; }
.cfo-kpis .metric small { color:#819089; }
.cfo-shell { grid-template-columns:220px minmax(0,1fr); align-items:start; }
.cfo-tabs { position:sticky; top:16px; border-radius:18px; background:#123c33; padding:10px; }
.cfo-tabs { display:grid; grid-template-columns:1fr; gap:6px; }
.cfo-tabs .tab-btn { width:100%; justify-content:flex-start; white-space:normal; }
.cfo-main, .cfo-shell, .cfo-shell > *, .cfo-kpis > * { min-width:0; }
.cfo-tabs .tab-btn { color:#d8e8e2; border-color:transparent; }
.cfo-tabs .tab-btn.active { color:#113d34; background:#fff; }
.cfo-section-row .bar-track span { background:linear-gradient(90deg,#0c725a,#d19b37); }
.cfo-claim-meta { display:flex; flex-wrap:wrap; gap:10px 22px; margin:10px 0 16px; color:#61736c; }
.cfo-claim-meta span { display:inline-flex; align-items:center; gap:7px; }
.cfo-claim-meta svg { width:16px; }
.cfo-approval-card { padding:20px; border-left:4px solid #b68124; background:#fff; }
.claim-value { font-size:24px; font-weight:800; color:#0a5a49; }
.cfo-bank-grid { margin-bottom:16px; padding:16px; border-radius:14px; background:#f5f8f6; }
.cfo-empty { text-align:center; padding:42px 20px; }
.cfo-empty svg { width:42px; height:42px; color:#0a725a; }
@media(max-width:800px){.cfo-hero{align-items:flex-start;flex-direction:column}.cfo-period{width:100%}.cfo-shell{grid-template-columns:1fr}.cfo-tabs{position:static;display:flex;overflow:auto}.cfo-tabs .tab-btn{min-width:max-content}.cfo-bank-grid{grid-template-columns:1fr}.cfo-approval-card .row.between{align-items:flex-start;gap:12px}}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(245, 247, 251, 0.92), rgba(245, 247, 251, 0.98)),
    url("Branding/Social media Cover page.png") center top / cover fixed no-repeat,
    var(--wash);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input, select, textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.logo {
  width: 46px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0b2e57, #123d6d 58%, #a24509);
  font-weight: 800;
  flex: 0 0 auto;
}

.brand h1 {
  margin: 0;
  font-size: 18px;
  line-height: 1.1;
}

.brand p, .support {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.support {
  text-align: right;
  line-height: 1.45;
}

.main {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 18px;
}

.mobile-main {
  width: min(640px, 100%);
  max-width: 100%;
  overflow-x: hidden;
}

.rider-main,
.care-main {
  width: min(760px, 100%);
}

.customer-hero {
  position: relative;
  overflow: hidden;
  display: block;
  margin: 0 0 14px;
  padding: 20px;
  border: 1px solid #2563eb44;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(11, 46, 87, 0.94), rgba(11, 46, 87, 0.62)),
    url("Branding/Social media Cover page.png") center / cover no-repeat;
  box-shadow: 0 18px 42px rgba(11, 46, 87, 0.22);
}

.customer-promo-carousel {
  position: relative;
  overflow: hidden;
  margin: 0 0 14px;
  border-radius: 8px;
  color: #fff;
  background: #0b2e57;
  box-shadow: 0 18px 42px rgba(11, 46, 87, 0.22);
}

.promo-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  touch-action: pan-y;
}

.promo-slide {
  position: relative;
  min-width: 100%;
  min-height: 214px;
  padding: 22px 48px 42px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  isolation: isolate;
}

.promo-slide::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -42px;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  z-index: -1;
}

.promo-welcome {
  background:
    linear-gradient(90deg, rgba(11, 46, 87, 0.95), rgba(11, 46, 87, 0.65)),
    url("Branding/Social media Cover page.png") center / cover no-repeat;
}

.promo-offer {
  background: linear-gradient(120deg, #7a1e2e, #c8102e);
}

.promo-kitchen {
  background: linear-gradient(120deg, #0b2e57, #1f6b48);
}

.promo-help {
  background: linear-gradient(120deg, #27335f, #7a4a22);
}

.promo-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  font-size: 10px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.promo-slide h2 {
  max-width: 420px;
  margin: 4px 0 7px;
  font-size: 26px;
  line-height: 1.15;
}

.promo-slide p:not(.eyebrow) {
  max-width: 430px;
  margin: 0;
  color: rgba(255,255,255,0.84);
  font-size: 13px;
  line-height: 1.45;
}

.promo-cta {
  width: fit-content;
  min-height: 36px;
  margin-top: 14px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0b2e57;
  font-weight: 800;
  cursor: pointer;
}

.promo-cta.saffron {
  background: #f59e0b;
  color: #fff;
}

.promo-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
  background: rgba(0,0,0,0.28);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
}

.promo-arrow.prev {
  left: 10px;
}

.promo-arrow.next {
  right: 10px;
}

.promo-arrow svg {
  width: 17px;
  height: 17px;
}

.promo-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.promo-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.42);
  cursor: pointer;
}

.promo-dots button.active {
  width: 22px;
  background: #fff;
}

.brand-splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #fff7ed;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.brand-splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.brand-splash-card {
  width: min(430px, 100%);
  max-height: calc(100vh - 36px);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 60px rgba(11, 46, 87, 0.28);
}

.brand-splash-card img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 36px);
  object-fit: contain;
}

.brand-splash-card img.hidden {
  display: none;
}

.brand-splash-fallback {
  display: grid;
  gap: 12px;
  place-items: center;
  min-height: min(620px, calc(100vh - 36px));
  padding: 34px 22px;
  text-align: center;
  color: var(--brand);
  background:
    radial-gradient(circle at 80% 15%, rgba(162, 69, 9, 0.18), transparent 28%),
    linear-gradient(180deg, #fffaf5, #fff);
}

.brand-splash-card img:not(.hidden) + .brand-splash-fallback {
  display: none;
}

.brand-splash-fallback h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
}

.brand-splash-fallback p {
  margin: 0;
  color: #8a3a08;
  font-weight: 800;
}

.brand-cover-strip {
  margin: 0 0 14px;
  padding: 18px;
  border: 1px solid #f0d8c8;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 245, 0.96), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at 92% 10%, rgba(162, 69, 9, 0.16), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(11, 46, 87, 0.11), transparent 38%);
  box-shadow: 0 14px 34px rgba(11, 46, 87, 0.08);
}

.brand-mark {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark span {
  color: var(--brand-2);
}

.brand-cover-copy h2 {
  margin: 8px 0 4px;
  color: var(--brand);
  font-size: 30px;
  line-height: 1.05;
}

.brand-cover-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.banner-insight {
  margin-top: 8px !important;
  padding: 9px 10px;
  border: 1px solid #f0d8c8;
  border-radius: 8px;
  background: rgba(255,255,255,0.72);
  color: var(--brand) !important;
  font-weight: 800;
}

.customer-app-header {
  position: sticky;
  top: 0;
  z-index: 34;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: -18px -18px 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
  background: #071e3a;
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.customer-menu-toggle {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,0.12);
  cursor: pointer;
}

.customer-menu-toggle svg {
  width: 27px;
  height: 27px;
  stroke-width: 2.5;
}

.customer-header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.customer-header-brand .logo {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #f59e0b, #fb923c);
}

.customer-header-brand h1 {
  margin: 0;
  font-size: 18px;
  line-height: 1.05;
}

.customer-header-brand p {
  margin: 2px 0 0;
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.customer-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.customer-header-actions label,
.customer-header-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.16);
}

.customer-header-actions select {
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: inherit;
  outline: 0;
}

.customer-header-actions svg {
  width: 18px;
  height: 18px;
}

.customer-nav-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 55;
  width: min(360px, 88vw);
  display: flex;
  flex-direction: column;
  transform: translateX(-104%);
  transition: transform 180ms ease;
  background: #fff;
  box-shadow: 18px 0 38px rgba(15, 23, 42, 0.24);
}

.customer-nav-drawer.open {
  transform: translateX(0);
}

.customer-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 54;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(2px);
}

.drawer-profile {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
  padding: 18px;
  background: #071e3a;
  color: #fff;
}

.drawer-profile h2 {
  margin: 0;
  font-size: 18px;
}

.drawer-profile p {
  margin: 4px 0 0;
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  line-height: 1.35;
}

.customer-drawer-nav {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.customer-drawer-nav button {
  min-height: 58px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 10px;
  background: #f3f6fb;
  color: #26364d;
  font-size: 15px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.customer-drawer-nav button.active {
  border-color: #0b6b57;
  background: #e9f8f4;
  color: #0b4e42;
}

.customer-drawer-nav svg {
  width: 22px;
  height: 22px;
}

.drawer-badge {
  min-width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  font-size: 12px;
}

.drawer-footer {
  margin-top: auto;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.drawer-footer b {
  display: block;
  color: var(--ink);
}

.customer-current-view {
  position: sticky;
  top: 70px;
  z-index: 16;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
}

.customer-current-view span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.compact-btn {
  min-height: 38px;
  padding: 0 12px;
}

.brand-promise-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.brand-promise-row span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid #f0d8c8;
  border-radius: 999px;
  background: #fff;
  color: #8a3a08;
  font-size: 12px;
  font-weight: 800;
}

.brand-promise-row svg {
  width: 15px;
  height: 15px;
}

.passenger-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
}

.passenger-compact h2 {
  margin: 0 0 3px;
  font-size: 16px;
}

.passenger-compact p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.product-detail-modal {
  width: min(520px, 100%);
}

.product-detail-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.product-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0;
}

.product-detail-tags span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #eef6ff;
  color: #123d6d;
  font-size: 12px;
  font-weight: 800;
}

.product-detail-card {
  display: grid;
  gap: 10px;
}

.product-detail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.product-detail-facts div {
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.product-detail-facts small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.product-detail-facts b {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 13px;
}

.menu-card-media {
  cursor: zoom-in;
}

.customer-hero h2 {
  margin: 4px 0 6px;
  font-size: 26px;
  line-height: 1.15;
}

.customer-hero p {
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  line-height: 1.45;
}

.eyebrow {
  color: #fed7aa !important;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.hero-points span,
.hero-points button {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(255,255,255,0.11);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.hero-points button {
  cursor: pointer;
}

.hero-points button:hover {
  background: rgba(255,255,255,0.18);
}

.hero-points svg {
  width: 15px;
  height: 15px;
}

.hero-visual {
  display: grid;
  gap: 9px;
  justify-items: end;
}

.meal-card {
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 8px;
  background: rgba(255,255,255,0.14);
  box-shadow: 0 14px 28px rgba(0,0,0,0.16);
  backdrop-filter: blur(8px);
}

.main-meal {
  width: 148px;
  padding: 10px;
  display: grid;
  gap: 7px;
}

.main-meal b {
  font-size: 14px;
}

.main-meal small {
  color: rgba(255,255,255,0.76);
  font-size: 10px;
  line-height: 1.3;
}

.meal-photo {
  position: relative;
  display: block;
  height: 86px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 52%, #fff7ed 0 34%, #f8fafc 35% 43%, transparent 44%),
    radial-gradient(circle at 37% 49%, #f59e0b 0 7%, transparent 8%),
    radial-gradient(circle at 51% 42%, #16a34a 0 6%, transparent 7%),
    radial-gradient(circle at 61% 56%, #dc2626 0 6%, transparent 7%),
    linear-gradient(135deg, #fff7ed, #fde68a);
  border: 5px solid rgba(255,255,255,0.88);
}

.meal-photo::before,
.meal-photo::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.meal-photo::before {
  width: 46px;
  height: 12px;
  left: 16px;
  bottom: 17px;
  background: #fef3c7;
  box-shadow: 10px -6px 0 #fde68a, 22px -1px 0 #fbbf24;
  transform: rotate(-9deg);
}

.meal-photo::after {
  width: 28px;
  height: 28px;
  right: 17px;
  top: 17px;
  background:
    radial-gradient(circle at 50% 50%, #f97316 0 28%, transparent 29%),
    radial-gradient(circle at 50% 50%, #fff 0 65%, #e2e8f0 66%);
}

.mini-meal {
  min-width: 116px;
  min-height: 42px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 12px;
}

.customer-tabs {
  position: sticky;
  top: 78px;
  z-index: 15;
  margin: 0 -4px 4px;
  padding: 4px 4px 12px;
  background: linear-gradient(180deg, var(--wash) 72%, rgba(245,247,251,0));
}

.mobile-main .tab-btn {
  flex: 1 0 auto;
  min-width: 132px;
  font-weight: 800;
}

.customer-panel {
  border-color: #cbd5e1;
}

.customer-public-view .topbar {
  display: none;
}

.customer-order-first {
  padding-top: 18px;
}

.compact-customer-brand {
  min-height: auto;
  padding: 14px;
}

.compact-customer-brand .brand-cover-copy {
  gap: 5px;
}

.compact-customer-brand h2 {
  font-size: 22px;
  margin: 0;
}

.compact-customer-brand p {
  margin: 0;
}

.compact-customer-brand .brand-promise-row {
  margin-top: 8px;
}

.compact-promo {
  min-height: 168px;
}

.compact-promo .promo-slide {
  min-height: 168px;
  padding: 16px;
}

.compact-promo h2 {
  font-size: 22px;
  line-height: 1.12;
}

.priority-modal {
  z-index: 90;
}

.otp-focus-modal {
  max-width: 420px;
}

.large-otp-alert {
  text-align: center;
  padding: 18px;
}

.large-otp-alert b {
  font-size: 42px;
}

.restaurant-station-panel,
.charge-breakup {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.food-search-panel {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #cfe0f5;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fbff, #fff);
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrap svg {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.search-input-wrap .input {
  min-height: 48px;
  padding-left: 42px;
  font-weight: 700;
}

.station-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.charge-breakup .row {
  font-size: 13px;
  color: var(--muted);
}

.total-row {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.addon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hot-tag {
  color: #7c2d12;
  background: #ffedd5;
  border-color: #fed7aa;
}

.success-text {
  color: var(--ok);
}

@media (max-width: 640px) {
  .customer-order-first {
    padding: 10px 10px 88px;
  }

  .compact-customer-brand {
    padding: 12px;
  }

  .compact-customer-brand .brand-mark,
  .compact-customer-brand .brand-promise-row {
    display: none;
  }

  .compact-customer-brand h2 {
    font-size: 20px;
  }

  .compact-customer-brand .banner-insight {
    font-size: 12px;
    line-height: 1.35;
  }

  .compact-promo,
  .compact-promo .promo-slide {
    min-height: 128px;
  }

  .compact-promo .promo-slide {
    padding: 12px 42px 14px 12px;
  }

  .compact-promo .eyebrow,
  .compact-promo .hero-points,
  .compact-promo .promo-slide > p:not(.eyebrow) {
    display: none;
  }

  .compact-promo h2 {
    font-size: 18px;
  }

  .customer-tabs {
    top: 0;
    padding-bottom: 6px;
  }

  .meal-filter-bar {
    position: static;
    padding: 8px;
  }
}

.master-scroll {
  max-height: 760px;
  overflow-y: auto;
  padding-right: 6px;
}

.master-scroll-5 {
  max-height: 560px;
}

.master-scroll .item {
  margin-right: 2px;
}

.master-list-head {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.master-list-head h3 {
  margin: 0;
  font-size: 16px;
}

.master-list-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.meal-filter-bar {
  position: sticky;
  top: 144px;
  z-index: 12;
  display: flex;
  gap: 10px;
  align-items: end;
  padding: 10px;
  border: 1px solid #d7e0ec;
  border-radius: 8px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 10px 28px rgba(26, 39, 64, 0.08);
}

.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 14px;
  scrollbar-width: none;
}

.tab-btn, .icon-btn, .btn {
  min-height: 42px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.tab-btn {
  padding: 0 13px;
  color: #384255;
  background: #e9eef6;
}

.tab-btn.active {
  color: #fff;
  background: var(--brand);
}

.tab-badge {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  color: #fff;
  background: var(--danger);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.tab-btn.active .tab-badge {
  color: var(--danger);
  background: #fff;
}

.manager-vertical-tabs,
.control-vertical-tabs {
  align-items: stretch;
  flex-direction: column;
  max-height: calc(100vh - 98px);
  margin: 0;
  padding: 4px;
  overflow-y: auto;
  overflow-x: hidden;
  position: sticky;
  top: 82px;
  z-index: 5;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(137, 151, 176, 0.22);
  border-radius: 8px;
}

.management-shell {
  display: grid;
  grid-template-columns: minmax(210px, 360px) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.management-shell.partner-registration-only {
  grid-template-columns: minmax(0, 1fr);
}

.management-content {
  min-width: 0;
}

.manager-vertical-tabs .tab-btn,
.control-vertical-tabs .tab-btn {
  justify-content: flex-start;
  width: 100%;
  min-height: 44px;
}

.management-shell [data-tab-panel] {
  margin-left: 0;
}

.tab-btn.tab-alert {
  animation: tabPulse 1s ease-in-out infinite;
}

@keyframes tabPulse {
  0%, 100% {
    box-shadow: 0 0 0 rgba(194, 65, 12, 0);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(194, 65, 12, 0.22);
    background: #fff7ed;
    color: #9a3412;
  }
}

.tab-btn.active.tab-alert {
  background: var(--danger);
  color: #fff;
}

.picker-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 8px;
  max-height: 240px;
  overflow: auto;
  padding: 4px;
}

.soft-panel {
  background: #f8fafc;
  border-color: rgba(137, 151, 176, 0.26);
}

.supplier-portal .manager-vertical-tabs {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,255,255,0.72)),
    url("Branding/Social media Cover page.png") center / cover no-repeat;
}

.supplier-portal .panel {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
}

.icon-btn {
  width: 42px;
  color: #324155;
  background: #eef2f7;
}

.btn {
  padding: 0 15px;
  color: #fff;
  background: var(--brand);
  font-weight: 700;
}

.check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.check-pill {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
  color: #344054;
  font-weight: 800;
}

.dash-table {
  width: 100%;
  min-width: 0;
}

.btn.secondary {
  color: #263244;
  background: #e8edf5;
}

.btn.warn { background: var(--brand-2); color: #221604; }
.btn.danger { background: var(--danger); }
.btn.info { background: var(--info); }

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel.pad { padding: 16px; }

.grid {
  display: grid;
  gap: 14px;
}

.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.auto { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.stack {
  display: grid;
  gap: 12px;
}

.row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grow { flex: 1 1 auto; min-width: 0; }

.field {
  display: grid;
  gap: 6px;
}

.field span, label.field {
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}

.input, .select, .textarea {
  width: 100%;
  border: 1px solid #cfd7e6;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: 0;
}

.input, .select {
  height: 44px;
  padding: 0 11px;
}

.field.valid .input,
.field.valid .select,
.field.valid .textarea {
  border-color: #16a34a;
  background: #f4fff8;
}

.field.invalid .input,
.field.invalid .select,
.field.invalid .textarea {
  border-color: #dc2626;
  background: #fff7f7;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.textarea {
  min-height: 94px;
  resize: vertical;
  padding: 11px;
}

.metric {
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.metric b {
  display: block;
  font-size: 26px;
  margin-bottom: 2px;
}

.metric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.list {
  display: grid;
  gap: 10px;
}

.source-segments {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 12px;
}

.source-segments button,
.preference-segments button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.source-segments button.active,
.preference-segments button.active {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.preference-segments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: -4px 0 12px;
}

.menu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

.menu-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #fff7ed;
  color: #8a3a08;
  font-size: 11px;
  font-weight: 800;
}

.menu-source-section {
  display: grid;
  gap: 10px;
}

.compact-title {
  margin-bottom: 0;
}

.customer-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 100%;
  overflow: hidden;
}

@media (min-width: 560px) {
  .customer-menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .menu-card h3 {
    font-size: 13px;
  }

  .qty-stepper {
    grid-template-columns: 36px minmax(20px, 1fr) 36px;
  }

  .qty-stepper .icon-btn {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
  }
}

.journey-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: linear-gradient(135deg, #eff6ff, #fff7ed);
}

.journey-context b {
  color: var(--brand);
}

.journey-context p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.otp-alert {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff7ed, #fffbeb);
  color: var(--brand);
  box-shadow: 0 12px 28px rgba(162, 69, 9, 0.12);
}

.otp-alert span {
  color: #8a3a08;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.otp-alert b {
  font-size: 32px;
  letter-spacing: 3px;
}

.otp-alert small {
  color: var(--muted);
}

.eta-chip {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0;
  padding: 7px 9px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.eta-chip svg {
  width: 15px;
  height: 15px;
}

.compact-ack {
  margin-top: 10px;
}

.faq-list {
  display: grid;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.faq-item summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 800;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--muted);
  line-height: 1.5;
}

.qr-preview {
  display: grid;
  place-items: center;
  min-height: 360px;
}

.qr-card-print {
  width: min(360px, 100%);
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 18px;
  border: 1px solid #f0d8c8;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 250, 245, 0.96), rgba(255,255,255,0.98)),
    url("Branding/Food Plate Jacket.png") center / cover no-repeat;
  text-align: center;
  box-shadow: var(--shadow);
}

.qr-card-print h3 {
  margin: 0;
  color: var(--brand);
}

.qr-card-print p,
.qr-card-print small {
  margin: 0;
  color: var(--muted);
}

.qr-card-print small {
  max-width: 100%;
  word-break: break-all;
  font-size: 10px;
}

.qr-img {
  width: 260px;
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px;
}

.menu-card {
  display: grid;
  gap: 8px;
  padding: 9px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  align-content: start;
}

.menu-card h3 {
  font-size: 14px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.menu-price {
  white-space: nowrap;
  font-size: 13px;
}

.menu-card-title {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.menu-card-body {
  min-width: 0;
  overflow: hidden;
  display: grid;
  gap: 6px;
}

.menu-card-actions {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.qty-stepper {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(24px, 1fr) 42px;
  align-items: center;
  justify-items: center;
  gap: 6px;
}

.qty-stepper b {
  min-width: 0;
  width: 100%;
  text-align: center;
}

.qty-stepper .icon-btn {
  width: 42px;
  min-width: 42px;
}

.menu-card-media .food-img,
.food-img.placeholder {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center top;
  background: #fff;
}

.food-img.placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.compact-btn {
  min-width: 42px;
  width: 42px;
  padding: 0;
}

.menu-meta {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.urgent-item {
  border-color: #fecaca;
  box-shadow: 0 12px 28px rgba(180, 35, 24, 0.12);
}

.care-new-order {
  border: 2px solid #f59e0b;
  background: linear-gradient(100deg, #fff7df, #fff);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.14), 0 12px 28px rgba(180, 83, 9, 0.14);
  animation: care-new-order-pulse 1.4s ease-in-out infinite alternate;
}

.care-new-label {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
  background: #dc2626;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  vertical-align: 2px;
}

@keyframes care-new-order-pulse {
  from { box-shadow: 0 0 0 2px rgba(245, 158, 11, .1), 0 10px 22px rgba(180, 83, 9, .1); }
  to { box-shadow: 0 0 0 5px rgba(245, 158, 11, .23), 0 14px 30px rgba(180, 83, 9, .18); }
}

@media (prefers-reduced-motion: reduce) {
  .care-new-order { animation: none; }
}

.mobile-bottom-tabs {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(245, 247, 251, 0.96);
  backdrop-filter: blur(12px);
  padding: 4px 0;
}

.item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.mobile-main .item {
  border-color: #d7e0ec;
  box-shadow: 0 10px 26px rgba(26, 39, 64, 0.07);
}

.mobile-main .item h3 {
  font-size: 17px;
  line-height: 1.25;
}

.mobile-main .item .row.between:first-child {
  align-items: flex-start;
}

.sold-out-note {
  margin-top: 8px !important;
  color: #9a3412 !important;
  font-size: 12px !important;
}

.item h3, .item h4 {
  margin: 0 0 4px;
  font-size: 15px;
}

.item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #edf2f7;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.badge.ok { background: #dff8ed; color: var(--ok); }
.badge.warn { background: #fff1d6; color: #9a5b00; }
.badge.danger { background: #fee4e2; color: var(--danger); }
.badge.info { background: #dbeafe; color: var(--info); }

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
}

.section-title h2 {
  margin: 0;
  font-size: 18px;
}

.section-title p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.hidden { display: none !important; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: #fff;
}

th, td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
  vertical-align: top;
}

th {
  color: #475467;
  background: #f7f9fc;
  font-size: 12px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 50;
  max-width: min(520px, calc(100% - 24px));
  padding: 12px 14px;
  border-radius: 8px;
  color: #fff;
  background: #101828;
  box-shadow: var(--shadow);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(15, 23, 42, 0.48);
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal {
  width: min(720px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.cart-bar {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 33;
  width: min(608px, calc(100% - 24px));
  margin: 0;
  padding: 12px 18px;
  border: 1px solid rgba(11, 107, 87, 0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 120%);
  transition: transform 180ms ease, opacity 180ms ease;
}

.cart-bar.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.cart-bar .btn {
  min-width: 168px;
  min-height: 48px;
  font-size: 15px;
  box-shadow: 0 10px 22px rgba(11, 107, 87, 0.2);
}

.empty {
  padding: 22px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed #c7d2e1;
  border-radius: 8px;
  background: #fbfcff;
}

.ack {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.45;
}

.ack.success, .empty.success {
  color: var(--ok);
  background: #ecfdf3;
  border-color: #b7ebcc;
}

.ack.danger-soft, .empty.danger-soft {
  color: var(--danger);
  background: #fff1f0;
  border-color: #fecaca;
}

.status-timeline {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.status-details {
  margin-top: 10px;
}

.status-details summary {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 8px;
  color: #1e3a5f;
  background: #eef5ff;
  font-weight: 800;
  cursor: pointer;
}

.status-details summary svg {
  width: 18px;
  height: 18px;
}

.status-step {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid #dbe3ef;
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  background: #f8fafc;
}

.status-step b {
  color: var(--ink);
  text-transform: capitalize;
}

.status-step span,
.status-step small {
  color: var(--muted);
}

.qty {
  width: 76px;
}

.proof-img {
  max-width: 180px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.media-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.media-proof audio,
.media-proof video {
  max-width: min(420px, 100%);
  border-radius: 8px;
  border: 1px solid var(--line);
}

.food-img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #eef2f7;
  flex: 0 0 auto;
}

.food-img.small {
  width: 54px;
  height: 54px;
}

.order-lines {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.order-line {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #f8fafc;
}

.order-line p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.money-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.shortage {
  color: var(--danger);
  font-weight: 800;
}

.muted-text {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.feedback-reply-box {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.chart-bars {
  display: grid;
  gap: 12px;
}

.bar-row {
  display: grid;
  gap: 7px;
}

.bar-row b,
.bar-row span {
  font-size: 13px;
}

.bar-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf5;
}

.bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1264d8, #14b8a6);
}

@media (max-width: 820px) {
  .topbar-inner {
    align-items: flex-start;
  }

  .support {
    display: none;
  }

  .grid.two, .grid.three, .grid.four {
    grid-template-columns: 1fr;
  }

  .mobile-single,
  .mobile-main .grid.two {
    grid-template-columns: 1fr;
  }

  .main {
    padding: 14px;
  }

  .manager-vertical-tabs,
  .control-vertical-tabs {
    flex-direction: row;
    width: 100%;
    max-height: none;
    margin: 0;
    overflow-x: auto;
    position: static;
  }

  .management-shell {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .manager-vertical-tabs .tab-btn,
  .control-vertical-tabs .tab-btn {
    justify-content: center;
    width: auto;
  }

  .management-shell [data-tab-panel] {
    margin-left: 0;
  }

  .customer-hero {
    margin: -4px -4px 12px;
    padding: 12px;
  }

  .customer-promo-carousel {
    margin: -4px -4px 12px;
  }

  .promo-slide {
    min-height: 210px;
    padding: 42px 42px 42px 14px;
  }

  .promo-slide h2 {
    font-size: 20px;
  }

  .promo-slide p:not(.eyebrow) {
    font-size: 12px;
  }

  .promo-tag {
    top: 12px;
    right: 12px;
    max-width: 156px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .promo-arrow {
    width: 30px;
    height: 30px;
  }

  .customer-app-header {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    margin: -14px -14px 10px;
    padding: 10px;
  }

  .customer-header-brand .logo {
    display: none;
  }

  .customer-header-brand h1 {
    font-size: 16px;
  }

  .customer-header-brand p {
    max-width: 210px;
  }

  .customer-header-actions {
    gap: 6px;
  }

  .customer-header-actions label,
  .customer-header-actions a {
    min-height: 38px;
    padding: 0 9px;
  }

  .customer-header-actions a span {
    display: none;
  }

  .customer-current-view {
    top: 58px;
  }

  .customer-hero h2 {
    font-size: 19px;
  }

  .customer-hero p {
    font-size: 12px;
  }

  .hero-visual {
    display: none;
  }

  .hero-points {
    gap: 6px;
  }

  .hero-points span,
  .hero-points button {
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
    min-width: 0;
  }

  .meal-photo {
    height: 62px;
  }

  .mini-meal {
    min-height: 74px;
  }

  .main-meal,
  .mini-meal {
    width: 100%;
  }

  .customer-tabs {
    top: 58px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 6px 0;
  }

  .customer-tabs .tab-btn {
    min-width: 0;
    justify-content: center;
    padding: 8px 4px;
    font-size: 11px;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
  }

  .customer-tabs .tab-btn svg {
    width: 18px;
    height: 18px;
  }

  .meal-filter-bar {
    position: static;
    margin: 0;
    padding: 10px;
    border-radius: 8px;
    align-items: stretch;
    flex-direction: column;
  }

  .passenger-compact {
    align-items: stretch;
    flex-direction: column;
  }

  .source-segments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .source-segments button,
  .preference-segments button {
    min-height: 40px;
    font-size: 11px;
  }

  .preference-segments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-cover-strip {
    padding: 10px;
  }

  .brand-cover-copy h2 {
    font-size: 20px;
  }

  .brand-promise-row {
    gap: 6px;
  }

  .brand-promise-row span {
    min-height: 28px;
    padding: 0 8px;
    font-size: 11px;
  }

  .customer-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .journey-context {
    align-items: flex-start;
    flex-direction: column;
  }

  .menu-card {
    padding: 9px;
    gap: 8px;
    min-width: 0;
    border-radius: 12px;
  }

  .menu-card h3 {
    font-size: 15px;
    line-height: 1.16;
  }

  .menu-card p {
    font-size: 11.5px;
    line-height: 1.25;
  }

  .menu-price {
    font-size: 13px;
  }

  .menu-card-actions {
    align-items: stretch;
  }

  .menu-card-actions .badge {
    width: fit-content;
    max-width: 100%;
  }

  .qty-stepper {
    grid-template-columns: 36px minmax(24px, 1fr) 36px;
    gap: 6px;
  }

  .qty-stepper .icon-btn {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
  }

  .qty-stepper b {
    font-size: 17px;
  }

  .mobile-earnings-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .mobile-earnings-grid .metric {
    padding: 10px 8px;
  }

  .mobile-earnings-grid .metric b {
    font-size: 18px;
  }

  .mobile-bottom-tabs {
    overflow-x: auto;
    grid-auto-flow: column;
    grid-auto-columns: minmax(88px, 1fr);
  }

  .mobile-main .item {
    padding: 11px;
  }

  .mobile-main .item .row.grow {
    align-items: flex-start;
  }

  .mobile-main .food-img {
    width: 72px;
    height: 72px;
  }

  .mobile-main .menu-card-media .food-img,
  .mobile-main .food-img.placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 1.45 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
  }

  .mobile-main .food-img.small {
    width: 48px;
    height: 48px;
  }

  .product-detail-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cart-bar {
    width: calc(100% - 20px);
    bottom: 10px;
    padding: 12px 14px;
  }

  .customer-panel {
    overflow-x: hidden;
    padding-bottom: 90px;
  }

  #menuList {
    padding-bottom: 18px;
  }

  .row.mobile-stack {
    align-items: stretch;
    flex-direction: column;
  }

  .row.mobile-stack .btn,
  .row.mobile-stack .icon-btn {
    width: 100%;
  }

  .master-scroll {
    max-height: 520px;
  }
}

@media (max-width: 360px) {
  .customer-menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-card {
    grid-template-columns: 96px 1fr;
    align-items: start;
  }

  .menu-card-media .food-img,
  .food-img.placeholder,
  .mobile-main .menu-card-media .food-img,
  .mobile-main .food-img.placeholder {
    aspect-ratio: 1 / 1;
  }
}

@media (min-width: 520px) and (max-width: 760px) {
  .customer-menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
