:root {
  --pixela-plum: #40152b;
  --pixela-berry: #702747;
  --pixela-coral: #ef7058;
  --pixela-saffron: #ffb42e;
  --pixela-cream: #fff8eb;
  --pixela-mint: #dff1df;
}

button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(255, 180, 46, .48);
  outline-offset: 2px;
}

.brand-mark.brand-logo {
  width: 106px;
  height: 48px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.brand-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-copy { display: none; }
.app-demo-label { margin-left: auto; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .35px; text-align: right; white-space: nowrap; }
.pixela-footer {
  width: min(1190px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 26px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2px;
  text-align: center;
}
.pixela-footer span { margin: 0 5px; color: var(--pixela-coral); }

.staff-banner {
  min-height: 92px;
  padding: 18px 20px;
  border-radius: 17px;
  box-shadow: 0 15px 35px rgba(18, 59, 43, .18);
}
.staff-identity { display: flex; align-items: center; gap: 14px; min-width: 0; }
.staff-banner-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.sound-toggle { white-space: nowrap; }
.staff-role-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(255,255,255,.13);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.05);
  font-size: 27px;
}
.staff-avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background: rgba(255,255,255,.13);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.05);
  font-size: 21px;
}
.staff-avatar.small { width: 42px; height: 42px; }
.staff-avatar.large { width: 56px; height: 56px; font-size: 27px; }
.staff-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.role-card .staff-avatar { border-color: var(--line); background: #f3f6f1; }
.staff-photo-preview { width: 56px; height: 56px; overflow: hidden; display: grid; place-items: center; border: 1px dashed #ccd5cc; border-radius: 50%; background: #f5f3ed; font-size: 24px; }
.staff-photo-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.staff-photo-field .field-label { display: block; color: var(--ink); font-size: 11px; font-weight: 700; }
.staff-photo-field .field-label small { color: var(--muted); font-weight: 500; }
.staff-photo-upload { display: flex; align-items: center; gap: 12px; margin-top: 7px; }
.staff-photo-upload small { display: block; margin-top: 6px; color: var(--muted); font-size: 9px; font-weight: 500; }
.role-card-head { display: flex; align-items: center; gap: 10px; }
.role-card-head h4 { margin-bottom: 3px; }
.staff-availability { display: inline-block; margin: 10px 0 0; padding: 4px 8px; border-radius: 999px; background: #ddf1df; color: #247340; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.staff-availability.busy { background: #fff1d6; color: #9a6100; }
.staff-availability.offline { background: #eef0ee; color: var(--muted); }
.role-card-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 10px; }
.assignment-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px 5px 5px; border-radius: 999px; background: #edf4ed; color: var(--green); font-size: 10px; font-weight: 800; }
.assignment-chip .staff-avatar { width: 24px; height: 24px; font-size: 12px; border-color: transparent; }
.assigned-note { margin-top: 12px; padding: 10px 12px; border-radius: 9px; background: #f7f3ee; color: var(--muted); font-size: 11px; }
.assignment-line { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.assignment-line .staff-avatar { width: 25px; height: 25px; border-color: var(--line); background: #f3f6f1; font-size: 12px; }
.staff-banner .staff-identity h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 0; font: 700 29px Fraunces, serif; }
.staff-banner .staff-identity h2 span { padding: 5px 8px; border-radius: 999px; background: rgba(255,255,255,.13); color: #dceae1; font: 800 9px 'DM Sans'; text-transform: uppercase; letter-spacing: .7px; }
.staff-banner .staff-identity p { margin-top: 5px; font-size: 11px; }
.staff-banner .staff-identity p b { color: white; }

.admin-top-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 28px;
}
.admin-top-nav .admin-tab {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--muted);
  text-align: left;
  box-shadow: 0 8px 20px rgba(20, 47, 36, .05);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.admin-top-nav .admin-tab:hover { border-color: #bdcec2; box-shadow: 0 12px 25px rgba(20, 47, 36, .09); }
.admin-top-nav .admin-tab span { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #f0f4ef; font-size: 18px; }
.admin-top-nav .admin-tab strong { color: inherit; font-size: 11px; line-height: 1.25; }
.admin-top-nav .admin-tab.active { border-color: var(--green); background: var(--green); color: white; }
.admin-top-nav .admin-tab.active span { background: rgba(255,255,255,.14); }
.admin-content { min-width: 0; }
.admin-page .report-table-wrap { max-width: 100%; }
.admin-order-groups,
.workflow-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.admin-order-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-order-groups > .panel,
.workflow-split > .panel { min-width: 0; }

.customer-mode {
  color: #29141f;
  background: #fffaf1;
}
.customer-mode .site-header {
  height: 78px;
  border-bottom: 1px solid rgba(64, 21, 43, .08);
  background: rgba(255, 250, 241, .9);
  backdrop-filter: blur(18px);
}
.customer-mode .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--pixela-plum), var(--pixela-berry));
  box-shadow: 0 8px 20px rgba(64, 21, 43, .2);
}
.customer-mode .brand-mark.brand-logo { width: 106px; height: 48px; border-radius: 0; background: transparent; box-shadow: none; }
.customer-mode .brand strong { color: var(--pixela-plum); font-size: 17px; }
.customer-mode .cart-top {
  border: 0;
  border-radius: 999px;
  padding: 11px 15px;
  background: var(--pixela-plum);
  color: white;
  box-shadow: 0 8px 22px rgba(64, 21, 43, .18);
}
.customer-mode .cart-top b { background: var(--pixela-saffron); color: var(--pixela-plum); }

.customer-landing {
  min-height: calc(100vh - 78px);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 54px 24px 70px;
  background:
    radial-gradient(circle at 9% 13%, rgba(255, 180, 46, .25), transparent 28%),
    radial-gradient(circle at 91% 83%, rgba(239, 112, 88, .2), transparent 27%),
    linear-gradient(135deg, #fffaf0 0%, #fff3de 55%, #fde9dc 100%);
}
.customer-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.glow-one { width: 280px; height: 280px; left: -130px; bottom: -110px; background: rgba(112, 39, 71, .09); }
.glow-two { width: 190px; height: 190px; right: -70px; top: 20px; background: rgba(255, 180, 46, .15); }
.landing-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, 100%);
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(38px, 7vw, 94px);
}
.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(112, 39, 71, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .65);
  color: var(--pixela-berry);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .2px;
}
.brand-pill::first-letter { color: var(--pixela-coral); }
.landing-kicker {
  margin: 25px 0 8px;
  color: var(--pixela-coral);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
}
.landing-copy h1 {
  margin: 0;
  max-width: 680px;
  color: var(--pixela-plum);
  font: 700 clamp(48px, 6.5vw, 79px)/.98 Fraunces, serif;
  letter-spacing: -3.4px;
}
.landing-copy h1 em {
  color: var(--pixela-coral);
  font-style: italic;
  font-weight: 600;
}
.landing-subhead {
  max-width: 590px;
  margin: 22px 0 0;
  color: #705862;
  font-size: 16px;
  line-height: 1.7;
}
.landing-trust { display: flex; flex-wrap: wrap; gap: 17px; margin-top: 28px; color: #664d58; font-size: 12px; font-weight: 700; }
.landing-trust span::first-letter { color: var(--pixela-coral); }
.service-panel {
  position: relative;
  padding: 38px;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 32px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 28px 80px rgba(72, 28, 46, .15);
  backdrop-filter: blur(18px);
}
.plate-orbit {
  position: absolute;
  right: 34px;
  top: -48px;
  width: 102px;
  height: 102px;
  display: grid;
  place-items: center;
  border: 8px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe8b5, #ffd28b);
  box-shadow: 0 15px 35px rgba(100, 47, 24, .2);
  font-size: 42px;
}
.plate-orbit i, .plate-orbit b {
  position: absolute;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 8px 18px rgba(64, 21, 43, .15);
  font-style: normal;
  font-size: 18px;
}
.plate-orbit i { left: -18px; bottom: -5px; }
.plate-orbit b { right: -17px; top: 3px; }
.service-eyebrow { margin: 0 0 7px; color: var(--pixela-coral); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 800; font-size: 10px; }
.service-panel h2 { margin: 0 0 22px; color: var(--pixela-plum); font: 700 30px Fraunces, serif; }
.service-grid { display: grid; gap: 12px; }
.service-card {
  min-height: 88px;
  width: 100%;
  display: grid;
  grid-template-columns: 56px 1fr 28px;
  align-items: center;
  gap: 14px;
  padding: 15px 17px;
  border: 1px solid transparent;
  border-radius: 19px;
  text-align: left;
  cursor: pointer;
  transition: box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}
.service-card:hover { box-shadow: 0 13px 28px rgba(64, 21, 43, .12); }
.dine-card { background: linear-gradient(135deg, #fff0c8, #ffe2a0); color: #512b12; }
.takeaway-card { background: linear-gradient(135deg, #f7dce4, #f1c6d4); color: var(--pixela-plum); }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: rgba(255,255,255,.75); font-size: 29px; }
.service-card strong, .service-card small { display: block; }
.service-card strong { font: 700 19px Fraunces, serif; }
.service-card small { margin-top: 4px; opacity: .68; font-size: 11px; }
.service-card > i { font-style: normal; font-size: 20px; }
.service-note { margin: 17px 0 0; color: #8b737d; text-align: center; font-size: 10px; }

.customer-menu-page { padding-top: 28px; }
.customer-menu-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  min-height: 250px;
  padding: 38px 42px;
  border-radius: 28px;
  color: white;
  background-color: var(--pixela-plum);
  background-position: center;
  background-size: cover;
  box-shadow: 0 24px 60px rgba(64, 21, 43, .2);
}
.customer-menu-hero.dine-hero { background-image: url('assets/hero/dine-in-table.png'); }
.customer-menu-hero.takeaway-hero { background-image: url('assets/hero/takeaway-scooter.png'); }
.customer-menu-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(42, 10, 29, .97) 0%, rgba(64, 21, 43, .91) 38%, rgba(64, 21, 43, .54) 62%, rgba(30, 10, 22, .12) 100%);
}
.customer-menu-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(35, 9, 24, .25), transparent 55%);
  pointer-events: none;
}
.customer-menu-hero > div { position: relative; z-index: 1; }
.menu-hero-copy { min-width: 0; }
.menu-hero-side { display: grid; justify-items: end; gap: 13px; }
.sponsor-label { margin-top: 14px !important; color: #ffd87c !important; font-size: 10px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; }
.customer-menu-hero h1 em { color: #fff3c5; font-style: italic; }
.coke-sponsor-video {
  position: relative;
  width: min(255px, 32vw);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.72);
  border-radius: 16px;
  background: #231019;
  box-shadow: 0 15px 32px rgba(20, 5, 13, .35);
}
.coke-sponsor-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.coke-sponsor-video::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(255,255,255,.12), transparent 45%, rgba(38,5,17,.24)); }
.coke-sponsor-video span { position: absolute; z-index: 1; right: 8px; bottom: 8px; padding: 4px 7px; border-radius: 999px; background: rgba(38, 5, 17, .76); color: #fff; font-size: 8px; font-weight: 800; letter-spacing: .55px; text-transform: uppercase; }
.menu-mode { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.13); font-size: 11px; font-weight: 800; }
.customer-menu-hero h1 { position: relative; z-index: 1; margin: 15px 0 8px; font: 700 clamp(38px, 5vw, 57px)/1 Fraunces, serif; letter-spacing: -1.9px; }
.customer-menu-hero p { max-width: 510px; margin: 0; color: #f4dce5; line-height: 1.6; }
.menu-hero-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 9px; }
.soft-action, .cart-action { border: 0; border-radius: 999px; padding: 12px 15px; cursor: pointer; font: 700 11px 'DM Sans'; }
.soft-action { background: rgba(255,255,255,.13); color: white; }
.cart-action { background: var(--pixela-saffron); color: var(--pixela-plum); }
.cart-action b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 6px; border-radius: 50%; background: var(--pixela-plum); color: white; }
.customer-menu-page .menu-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: 40px; }
.menu-surface {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 36px;
  padding: 30px;
  border: 1px solid rgba(112, 39, 71, .08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 5%, rgba(255, 180, 46, .16), transparent 18%),
    radial-gradient(circle at 4% 92%, rgba(112, 39, 71, .08), transparent 19%),
    radial-gradient(circle at 1px 1px, rgba(112, 39, 71, .075) 1px, transparent 1.2px),
    rgba(255, 255, 255, .9);
  background-size: auto, auto, 22px 22px, auto;
  box-shadow: 0 18px 48px rgba(64, 21, 43, .07);
}
.menu-surface::before {
  content: '';
  position: absolute;
  z-index: 0;
  width: 128px;
  height: 128px;
  right: -44px;
  top: -49px;
  border: 20px solid rgba(255, 180, 46, .12);
  border-radius: 50%;
  box-shadow: inset 0 0 0 9px rgba(239, 112, 88, .07);
}
.menu-surface::after {
  content: '';
  position: absolute;
  z-index: 0;
  width: 130px;
  height: 48px;
  left: -48px;
  bottom: 30px;
  border-radius: 100% 0 100% 0;
  background: rgba(110, 165, 113, .08);
  transform: rotate(24deg);
}
.menu-surface > * { position: relative; z-index: 1; }
.menu-surface .menu-header { margin-top: 0; }
.menu-surface .category-section { margin-bottom: 0; }
.customer-menu-page .search { margin: 0; max-width: 390px; border-radius: 999px; padding: 13px 17px; border-color: #eaded6; box-shadow: 0 7px 18px rgba(64, 21, 43, .06); }
.customer-menu-page .category { border-radius: 999px; padding: 10px 15px; }
.customer-menu-page .category.active { background: var(--pixela-plum); border-color: var(--pixela-plum); }
.customer-menu-page .food-grid { gap: 20px; }
.customer-menu-page .food-card { display: flex; flex-direction: column; border: 0; border-radius: 22px; box-shadow: 0 12px 32px rgba(64, 21, 43, .08); transition: box-shadow .2s ease, border-color .2s ease; }
.customer-menu-page .food-card:hover { box-shadow: 0 18px 40px rgba(64, 21, 43, .14); }
.customer-menu-page .food-image {
  height: 178px;
  overflow: hidden;
  background: var(--bg, #f6e6d2);
}
.customer-menu-page .food-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: opacity .2s ease;
}
.customer-menu-page .food-card:hover .food-image img { opacity: .94; }
.food-rating-tag { color: #9b5b00; background: #fff0c9; }
.delivery-time-note { margin: 10px 0; padding: 9px 10px; border-left: 3px solid #d68727; border-radius: 8px; background: #fff8e9; color: #6e4b19; }
.delivery-time-note small, .delivery-time-note strong { display: block; }
.delivery-time-note small { margin-bottom: 2px; font-size: 9px; font-weight: 800; letter-spacing: .45px; text-transform: uppercase; }
.delivery-time-note strong { font-size: 11px; }
.schedule-hold-note { margin: 10px 0; padding: 10px; border-radius: 9px; background: #eef3ff; color: #345486; }
.schedule-hold-note small, .schedule-hold-note strong, .schedule-hold-note span { display: block; }
.schedule-hold-note small { margin-bottom: 2px; font-size: 9px; font-weight: 800; letter-spacing: .45px; text-transform: uppercase; }
.schedule-hold-note strong { font-size: 11px; }
.schedule-hold-note span { margin-top: 4px; font-size: 10px; line-height: 1.4; }
.field-help { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.customer-menu-page .food-body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.customer-menu-page .food-body h4 { min-height: 0; margin: 0; color: var(--pixela-plum); font-size: 20px; line-height: 1.2; }
.customer-menu-page .food-price { margin: 4px 0 8px; color: var(--pixela-coral); font-size: 16px; line-height: 1.1; }
.customer-menu-page .food-meta { min-height: 26px; flex-wrap: wrap; }
.customer-menu-page .food-footer { margin-top: auto; }
.customer-menu-page .food-category-label { display: block; margin: 0 0 5px; color: var(--pixela-coral); font-size: 9px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.customer-menu-page .food-card.pinned { border-color: rgba(239, 112, 88, .58); box-shadow: 0 10px 25px rgba(112, 39, 71, .10); }
.customer-menu-page .food-footer { justify-content: center; padding-top: 3px; }
.menu-pin-control { margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fffaf1; }
.menu-pin-control input { width: auto; margin: 0; accent-color: var(--green); }
.menu-pin-control small { color: var(--muted); font-weight: 500; }
.customer-menu-page .add { display: inline-flex; align-items: center; justify-content: center; min-width: 132px; border-radius: 999px; padding: 9px 14px; background: var(--green); }
.customer-mode .cart-panel { border-radius: 25px 0 0 25px; }
.customer-mode .cart-emoji { overflow: hidden; }
.customer-mode .cart-emoji img { width: 100%; height: 100%; display: block; object-fit: cover; }
.customer-mode .cart-summary { background: #fff3df; }
.customer-mode .btn.primary, .customer-mode #place-order { background: var(--pixela-plum); border-radius: 999px; }
.special-instructions-field span { color: var(--muted); font-weight: 500; text-transform: none; }
.special-instructions-field textarea { min-height: 82px; resize: vertical; }

.menu-admin-card .preview { overflow: hidden; }
.menu-admin-card .preview img { width: 100%; height: 100%; display: block; object-fit: cover; }
.menu-photo-field { margin: 0; }
.menu-photo-field .field-label { display: block; color: var(--ink); font-size: 11px; font-weight: 700; }
.menu-photo-controls { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px; }
.menu-photo-controls .btn { min-height: 36px; white-space: nowrap; }
.menu-editor-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.file-browse-control { position: relative; overflow: hidden; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.file-browse-control input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.menu-photo-field > small { display: block; margin-top: 7px; color: var(--muted); font-size: 9px; font-weight: 500; }
.menu-image-preview {
  width: 100%;
  height: 170px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-top: 9px;
  border: 1px dashed #ccd5cc;
  border-radius: 11px;
  background: #f5f3ed;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}
.menu-image-preview img { width: 100%; height: 100%; display: block; object-fit: cover; }
.photo-loading { color: var(--pixela-berry); }

.report-section { margin-top: 18px; }
.report-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 17px;
}
.report-heading h3 { margin: 4px 0; font: 700 28px Fraunces, serif; color: var(--green); }
.report-date { min-width: 190px; font-size: 11px; font-weight: 800; color: var(--muted); }
.report-date input { display: block; width: 100%; margin-top: 6px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 9px; background: white; font: 12px 'DM Sans'; }
.report-date-range { display: grid; grid-template-columns: repeat(2, minmax(150px, 190px)) auto; align-items: end; gap: 9px; }
.report-all-button { min-height: 39px; white-space: nowrap; }
.report-day-navigator {
  display: grid;
  grid-template-columns: auto minmax(150px, 190px) auto;
  align-items: end;
  gap: 8px;
}
.report-day-navigator .report-date { min-width: 150px; }
.report-day-navigator .btn { min-height: 39px; white-space: nowrap; }
.report-day-navigator .btn:disabled { cursor: not-allowed; opacity: .42; }
.payment-closing:disabled { opacity: .45; cursor: wait; filter: saturate(.45); }
.payment-closed:disabled { opacity: .48; cursor: default; filter: grayscale(.4); }
.waiter-service-item.waiting-kitchen { opacity: .68; border-style: dashed; background: #f6f3ec; }
.waiter-service-item.waiting-kitchen b { color: #89724e; font-size: .74rem; }
.digital-tip-note { margin: 10px 0 0; padding: 9px 11px; border-radius: 10px; background: #eef8f1; color: #2f6b4f; font-size: .84rem; font-weight: 700; }
.final-bill-confirmation { max-width: 520px; }
.feedback-form { margin: 16px 0; padding: 16px; border-radius: 16px; background: #f8f3ea; text-align: left; }
.feedback-form h3 { margin: 3px 0 6px; }
.feedback-form p { margin: 0 0 12px; color: #74685a; font-size: .86rem; line-height: 1.45; }
.feedback-form .btn { width: 100%; margin-top: 6px; }
.final-feedback-actions { display: grid; gap: 8px; margin-top: 14px; }
.final-feedback-actions .btn { margin-top: 0; }
.food-review-form { max-height: 54vh; overflow: auto; }
.popup-food-review-list { display: grid; gap: 9px; }
.popup-food-review-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 9px; align-items: center; padding: 9px; border-radius: 10px; background: #fffaf3; }
.popup-food-review-row strong, .popup-food-review-row small { display: block; }
.popup-food-review-row strong { color: var(--pixela-plum); font-size: 12px; }
.popup-food-review-row small { color: #806d75; font-size: 10px; }
.popup-food-stars { display: flex; gap: 1px; }
.popup-food-stars .food-star { border: 0; padding: 0; background: transparent; color: #d8c8b3; cursor: pointer; font-size: 23px; line-height: 1; }
.popup-food-stars .food-star.selected, .popup-food-stars .food-star:hover { color: #e99e22; }
.popup-rating-confirmed { grid-column: 1 / -1; color: #4c8057 !important; font-weight: 700; }
.admin-feedback-list { display: grid; gap: 10px; }
.admin-feedback-card { padding: 12px; border: 1px solid #eadfcd; border-radius: 12px; background: #fffdf9; }
.admin-feedback-card > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.admin-feedback-card span { color: #9b721c; font-size: .8rem; white-space: nowrap; }
.admin-feedback-card time { display: block; margin-top: 3px; color: #8a7b6b; font-size: .75rem; }
.admin-feedback-card p { margin: 8px 0 0; color: #5f5042; font-size: .86rem; line-height: 1.4; }
.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-bottom: 17px; }
.collection-card { min-height: 118px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 9px 24px rgba(20, 47, 36, .06); }
.collection-card small, .collection-card strong, .collection-card span { display: block; }
.collection-card small { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .7px; }
.collection-card strong { margin: 10px 0 5px; font: 700 27px Fraunces, serif; color: var(--green); }
.collection-card span { color: var(--muted); font-size: 10px; }
.collection-card.total-card { border: 0; background: linear-gradient(135deg, #173f30, #28664d); color: white; }
.collection-card.total-card small, .collection-card.total-card span { color: #cfe1d6; }
.collection-card.total-card strong { color: white; }
.collection-card.vat-card { border-color: #f0d39a; background: #fff8e8; }
.collection-card.vat-card strong { color: #a56412; }
.report-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 10px 26px rgba(20, 47, 36, .06); }
.report-table { width: 100%; min-width: 1120px; border-collapse: collapse; font-size: 11px; }
.report-table th { padding: 13px 12px; text-align: left; color: var(--muted); background: #f5f7f3; text-transform: uppercase; letter-spacing: .55px; font-size: 9px; }
.report-table td { padding: 13px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.report-table td small { display: block; margin-top: 4px; color: var(--muted); }
.report-table tfoot td { border-top: 2px solid #b9c9bf; background: #edf4ef; }
.grand-total-row td { color: var(--green); }
.grand-total-row td:last-child { color: var(--pixela-plum); font-size: 12px; }
.food-cell { min-width: 190px; line-height: 1.5; }
.payment-pill { display: inline-flex; padding: 5px 8px; border-radius: 999px; background: #edf3ec; color: var(--green); font-size: 9px; font-weight: 800; }
.report-empty { padding: 34px !important; text-align: center; color: var(--muted); }
.cashier-queue { margin-bottom: 25px; }
.report-subheading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 24px 2px 10px; }
.report-subheading h4 { margin: 3px 0 0; color: var(--green); font: 700 21px Fraunces, serif; }
.report-subheading > span { color: var(--muted); font-size: 10px; }
.report-subheading.detail-heading { margin-top: 27px; }
.daily-report-table { min-width: 780px; }
.takeaway-settlement-section {
  margin-top: 38px;
  padding-top: 31px;
  border-top: 2px solid #e4ddd7;
}
.settlement-heading { margin-top: 0; }
.settlement-heading h4 { font-size: 25px; }
.settlement-heading .muted { margin: 5px 0 0; }
.settlement-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.settlement-grid .collection-card { min-height: 126px; }
.handover-due-card { border-color: #efc778; background: #fff8e5; }
.handover-due-card strong { color: #a05a10; font-size: 22px; }
.handover-complete-card { border-color: #a9d8b2; background: #edf9ef; }
.handover-complete-card strong { color: #26723f; font-size: 18px; }
.handover-queue { margin: 18px 0; }
.handover-queue h3 { font-size: 19px; }
.handover-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.handover-card:first-of-type { border-top: 0; }
.handover-card h4 { margin: 0 0 4px; color: var(--green); font: 700 14px Fraunces, serif; }
.handover-card p { margin: 0; color: var(--muted); font-size: 9px; }
.handover-card > strong { color: var(--pixela-plum); font: 700 16px Fraunces, serif; }
.compact-empty { padding: 20px 0; }
.handover-pill { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: 9px; font-weight: 800; white-space: nowrap; }
.handover-pill.pending { background: #fff0d0; color: #985b05; }
.handover-pill.accepted { background: #dff1df; color: #26723f; }
.handover-pill.card { background: #e7eef8; color: #356b9a; }
.takeaway-report-table .report-table { min-width: 880px; }
.driver-collections {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow);
}
.driver-collections .report-heading { margin-bottom: 18px; }
.driver-collection-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.driver-report-table { min-width: 760px; }

.customer-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 11px 0;
  padding: 11px;
  border-left: 3px solid var(--pixela-coral);
  border-radius: 8px;
  background: #fff7ed;
}
.customer-details div { min-width: 0; }
.customer-details small, .customer-details strong { display: block; }
.customer-details small { color: #8a6d5b; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .55px; }
.customer-details strong { margin-top: 3px; color: var(--green); font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.instruction-note { margin: 10px 0; padding: 11px 12px; border: 1px solid #f2ce82; border-radius: 9px; background: #fff8e5; }
.instruction-note small, .instruction-note strong { display: block; }
.instruction-note small { color: #8a641b; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .55px; }
.instruction-note strong { margin-top: 4px; color: var(--pixela-plum); font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.order-secondary-actions { display: flex; margin: 9px 0; }
.view-items-btn { color: var(--pixela-berry); }

body.order-modal-open { overflow: hidden; }
.order-modal-shell { position: fixed; z-index: 120; inset: 0; display: grid; place-items: center; padding: 18px; }
.order-modal-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(30, 13, 22, .58); backdrop-filter: blur(4px); cursor: default; }
.order-items-modal {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  max-height: min(620px, calc(100vh - 36px));
  overflow-y: auto;
  padding: 21px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 19px;
  background: #fffdf8;
  box-shadow: 0 28px 80px rgba(38, 13, 25, .28);
}
.order-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.order-modal-head h3 { margin: 3px 0 0; color: var(--pixela-plum); font: 700 24px Fraunces, serif; }
.order-modal-close { width: 34px; height: 34px; flex: 0 0 auto; border: 0; border-radius: 50%; background: #f3e9e5; color: var(--pixela-plum); font-size: 22px; cursor: pointer; }
.order-item-list { margin: 17px 0 13px; border-top: 1px solid var(--line); }
.order-item-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 2px; border-bottom: 1px solid var(--line); color: #4f3c45; font-size: 12px; }
.order-item-row span { min-width: 0; overflow-wrap: anywhere; }
.order-item-row strong { flex: 0 0 auto; color: var(--green); }
.no-instructions { margin: 12px 0; color: var(--muted); font-size: 11px; }
.order-modal-total { display: flex; align-items: center; justify-content: space-between; margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--line); }
.order-modal-total span { color: var(--muted); font-size: 11px; font-weight: 700; }
.order-modal-total strong { color: var(--pixela-plum); font: 700 23px Fraunces, serif; }
.order-modal-done { width: 100%; margin-top: 17px; }

.gps-map-badge {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(23, 62, 46, .9);
  color: white;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
}
.gps-map-badge i { width: 7px; height: 7px; border-radius: 50%; background: #a6b4ac; }
.map.tracking .gps-map-badge i { background: #54e38e; box-shadow: 0 0 0 5px rgba(84, 227, 142, .18); }
.map.tracking .pin { animation: gps-pulse 1.8s ease-in-out infinite; }
.gps-status { margin: 13px 0 11px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.gps-diagnostics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 11px; }
.gps-diagnostics div { padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fffaf1; }
.gps-diagnostics small, .gps-diagnostics strong { display: block; }
.gps-diagnostics small { color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.gps-diagnostics strong { margin-top: 4px; color: var(--green); font-size: 10px; line-height: 1.35; }
.gps-diagnostics strong.gps-warning { color: #a33f2d; }
.gps-readout { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 11px; }
.gps-readout div { padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #f8faf7; }
.gps-readout small, .gps-readout strong { display: block; }
.gps-readout small { color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.gps-readout strong { margin-top: 4px; color: var(--green); font-size: 11px; }
.gps-map-link { display: block; width: fit-content; margin: 0 0 12px; color: var(--green); font-size: 10px; font-weight: 800; }
.gps-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gps-actions .btn { flex: 1 1 150px; }
.gps-help { margin: 10px 0 0; color: #846d76; font-size: 10px; line-height: 1.45; }
@keyframes gps-pulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(231, 101, 62, 0)); }
  50% { filter: drop-shadow(0 0 8px rgba(231, 101, 62, .75)); }
}

.customer-order-tracker {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid #eaded6;
  border-radius: 22px;
  background: white;
  box-shadow: 0 12px 32px rgba(64, 21, 43, .08);
}
.tracker-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.tracker-heading h2 { margin: 2px 0 0; color: var(--pixela-plum); font: 700 25px Fraunces, serif; }
.tracker-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin: 17px 0; }
.tracker-progress span { position: relative; padding-top: 12px; color: #a28f97; text-align: center; font-size: 8px; font-weight: 800; }
.tracker-progress span::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; border-radius: 999px; background: #eee7e3; }
.tracker-progress span.done { color: var(--pixela-plum); }
.tracker-progress span.done::before { background: linear-gradient(90deg, var(--pixela-coral), var(--pixela-saffron)); }
.customer-live-map { overflow: hidden; margin-bottom: 12px; border: 1px solid #e2ddd8; border-radius: 15px; background: #eef1ec; }
.customer-live-map iframe { display: block; width: 100%; height: 310px; border: 0; }
.live-map-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 13px; background: white; }
.live-map-meta span { color: var(--green); font-size: 10px; font-weight: 800; }
.live-map-meta span i, .tracking-map-footer span i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #36c879; box-shadow: 0 0 0 5px rgba(54, 200, 121, .14); }
.live-map-meta small { color: var(--muted); font-size: 9px; }
.tracking-wait { padding: 17px; border-radius: 13px; background: #fff7e7; color: var(--pixela-plum); }
.tracking-wait strong { display: block; }
.tracking-wait p { margin: 5px 0 0; color: #846d76; font-size: 11px; }
.track-driver-btn { display: inline-flex; align-items: center; text-decoration: none; }
.dine-session-card {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid #eaded6;
  border-radius: 22px;
  background: linear-gradient(135deg, #fffaf5, #fff);
  box-shadow: 0 12px 32px rgba(64, 21, 43, .08);
}
.dine-order-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 370px); gap: 22px; align-items: start; margin-top: 22px; }
.dine-order-layout .menu-surface { margin-top: 0; }
.dine-open-panel { position: sticky; top: 91px; margin-top: 0; }
.takeaway-order-panel { border-color: #cbe3dd; background: linear-gradient(135deg, #f4fffb, #fff); }
.takeaway-order-panel .session-status.new { background: #dcf4eb; color: #13705b; }
.takeaway-current-order { border-color: #cde6df; }
.takeaway-total-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.takeaway-checkout-fields { display: grid; gap: 10px; margin: 14px 0; }
.takeaway-checkout-fields textarea { min-height: 64px; }
.open-table-badge { display: inline-flex; align-items: center; padding: 12px 15px; border-radius: 999px; background: rgba(255,255,255,.15); color: #fff; font-size: 10px; font-weight: 800; }
.session-status.new { background: #fff4d9; color: #9a6100; }
.table-start-fields { margin-top: 15px; padding-bottom: 5px; }
.current-round-box { margin-top: 16px; padding: 14px; border: 1px solid #eaded6; border-radius: 13px; background: #fff; }
.current-round-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.current-round-heading h3 { margin: 2px 0 0; color: var(--pixela-plum); font: 700 19px Fraunces, serif; }
.current-round-heading > strong { color: var(--pixela-coral); font-size: 15px; }
.open-cart-items { display: grid; gap: 5px; margin: 12px 0; }
.open-cart-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 9px; border-radius: 8px; background: #faf7f2; color: var(--pixela-plum); font-size: 11px; font-weight: 700; }
.open-cart-item small { color: var(--muted); font-weight: 500; }
.open-cart-item .quantity { margin-left: auto; }
.open-cart-item .quantity button { width: 23px; height: 23px; }
.full-width-action { width: 100%; margin-top: 3px; }
.dine-open-panel .dine-session-actions { margin-top: 13px; }
.dine-open-panel .dine-session-actions .btn { flex: 1 1 130px; }
.dine-session-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.dine-session-heading h2 { margin: 2px 0 5px; color: var(--pixela-plum); font: 700 27px Fraunces, serif; }
.dine-session-heading p:not(.kicker) { margin: 0; color: var(--muted); font-size: 11px; }
.session-status, .bill-waiting { display: inline-flex; align-items: center; border-radius: 999px; padding: 8px 11px; background: #edf7ed; color: #247340; font-size: 10px; font-weight: 800; white-space: nowrap; }
.dine-session-stats { display: flex; flex-wrap: wrap; gap: 9px; margin: 17px 0 12px; }
.dine-session-stats span { padding: 8px 10px; border-radius: 9px; background: #fff; border: 1px solid #eee2dc; color: var(--muted); font-size: 10px; }
.dine-session-stats b { color: var(--pixela-plum); margin-right: 3px; }
.round-list { display: grid; gap: 6px; margin: 8px 0 14px; }
.round-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: center; padding: 9px 11px; border-radius: 9px; background: #fff; border: 1px solid #eee2dc; color: var(--muted); font-size: 10px; }
.round-row > span:first-child { color: var(--pixela-plum); font-weight: 800; }
.round-row .status { justify-self: end; }
.customer-order-history { display: grid; gap: 7px; margin: 8px 0 14px; }
.customer-order-history .kicker { margin: 3px 2px 0; }
.customer-order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 9px; padding: 10px 11px; border: 1px solid #eee2dc; border-radius: 10px; background: #fff; }
.customer-order-row > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; min-width: 0; }
.customer-order-row strong { color: var(--pixela-plum); font-size: 11px; }
.customer-order-row > div span, .customer-order-row > p { color: var(--muted); font-size: 10px; }
.customer-order-row > p { grid-column: 1 / -1; margin: 0; line-height: 1.45; overflow-wrap: anywhere; }
.customer-cancel-order { grid-column: 1 / -1; justify-self: start; margin-top: 1px; color: #b3422c; background: #fff0ed; }
.dine-session-empty { margin: 9px 0 14px; color: var(--muted); font-size: 11px; }
.dine-session-actions, .checkout-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dine-session-actions .btn, .checkout-actions .btn { flex: 1 1 175px; }
.dine-session-actions .green-action { background: var(--green); color: #fff; }
.dine-session-actions .danger-action { background: #fff0ed; color: #b3422c; border: 1px solid #f1bdb2; }
.dine-cancel-note { margin: 9px 2px 0; color: #8b737d; font-size: 10px; line-height: 1.45; }
.dine-session-actions .btn b { display: inline-grid; min-width: 18px; height: 18px; place-items: center; margin-left: 4px; border-radius: 50%; background: var(--pixela-plum); color: #fff; font-size: 9px; }
.dine-bill-panel { margin-top: 18px; padding-top: 18px; border-top: 1px solid #eaded6; }
.dine-bill-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.dine-bill-head h3 { margin: 2px 0 0; color: var(--pixela-plum); font: 700 22px Fraunces, serif; }
.dine-bill-panel .muted { line-height: 1.5; }
.bill-total-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 15px 0; }
.bill-total-grid > div { padding: 10px; border: 1px solid #eaded6; border-radius: 9px; background: #fff; }
.bill-total-grid small, .bill-total-grid strong { display: block; }
.bill-total-grid small { color: var(--muted); font-size: 9px; }
.bill-total-grid small em { display: block; margin-top: 2px; font-style: normal; color: #a28f97; font-size: 8px; }
.bill-total-grid strong { margin-top: 4px; color: var(--pixela-plum); font-size: 13px; }
.bill-total-grid .grand { background: var(--pixela-plum); border-color: var(--pixela-plum); }
.bill-total-grid .grand small, .bill-total-grid .grand strong { color: #fff; }
.bill-total-grid.compact { margin: 12px 0; }
.bill-total-grid.compact strong { font-size: 12px; }
.bill-payment-note { margin: -3px 0 13px; padding: 9px 10px; border-radius: 8px; background: #fff7e7; color: #846d76; font-size: 10px; line-height: 1.45; }
.dine-confirmation-shell { position: fixed; z-index: 140; inset: 0; display: grid; place-items: center; padding: 20px; }
.dine-confirmation-backdrop { position: absolute; inset: 0; background: rgba(34, 15, 26, .56); backdrop-filter: blur(5px); }
.dine-confirmation-card { position: relative; width: min(400px, 100%); padding: 30px 25px 25px; border-radius: 23px; background: linear-gradient(145deg, #fffdf9, #fff1e9); box-shadow: 0 22px 55px rgba(31, 11, 22, .28); text-align: center; }
.confirmation-icon { width: 56px; height: 56px; margin: -52px auto 13px; display: grid; place-items: center; border: 5px solid #fff7f0; border-radius: 50%; background: var(--green); color: #fff; font-size: 28px; font-weight: 800; }
.dine-confirmation-card h2 { margin: 4px 0 8px; color: var(--pixela-plum); font: 700 26px Fraunces, serif; }
.dine-confirmation-card > p { margin: 6px 0; color: #705863; font-size: 12px; }
.dine-confirmation-card > p b { color: var(--pixela-plum); }
.confirmation-value { display: block; margin: 13px 0 4px; color: var(--pixela-coral); font: 700 24px Fraunces, serif; }
.dine-confirmation-card .btn { width: 100%; margin-top: 14px; }
.checkout-inline-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.station-tag { display: inline-block; padding: 2px 5px; border-radius: 999px; background: #fff0dd; color: #9a6100; font-size: 8px; font-weight: 800; vertical-align: middle; }
.waiter-items { margin: 7px 0 4px; padding: 9px 10px; border-radius: 9px; background: #faf7f2; }
.waiter-items p { margin: 3px 0; color: var(--muted); font-size: 11px; }
.waiter-items p b { color: var(--pixela-plum); }
.waiter-items .waiter-drinks { color: #9a6100; }
.waiter-items .waiter-drinks b { color: #9a6100; }
.waiter-items .waiter-total { margin-top: 7px; padding-top: 6px; border-top: 1px solid #eaded6; font-weight: 800; }
.waiter-table-list { display: grid; gap: 13px; }
.waiter-table-card { padding: 15px; border: 1px solid #dce5dc; border-radius: 13px; background: #fcfffb; }
.waiter-table-card.waiter-overdue { border-color: #de7766; background: #fff2ef; box-shadow: inset 0 0 0 1px rgba(188, 64, 46, .08); }
.waiter-table-card.waiter-all-served { border-color: #8acb98; background: linear-gradient(135deg, #effbf0, #e1f6e5); box-shadow: inset 0 0 0 1px rgba(64, 142, 77, .1); }
.waiter-served-badge { display: inline-flex; align-items: center; padding: 7px 9px; border-radius: 999px; background: #39834a; color: white; font-size: 10px; font-weight: 800; }
.waiter-table-head, .waiter-order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.waiter-table-head h3 { margin: 1px 0 0; color: var(--green); font: 700 21px Fraunces, serif; }
.waiter-overdue .waiter-table-head h3 { color: #a93d2d; }
.waiter-alert { padding: 6px 8px; border-radius: 999px; background: #b3422c; color: #fff; font-size: 9px; font-weight: 800; white-space: nowrap; }
.waiter-order-group { margin-top: 11px; padding: 11px; border: 1px solid #e6ece5; border-radius: 10px; background: #fff; }
.waiter-overdue .waiter-order-group { border-color: #f0c4bc; }
.waiter-order-group.waiter-order-served { border-color: #9bd2a6; background: #e9f8ec; }
.waiter-order-head strong { color: var(--ink); font-size: 12px; }
.waiter-order-head span { color: var(--green); font-size: 11px; font-weight: 800; }
.waiter-service-items { display: grid; gap: 6px; margin-top: 9px; }
.waiter-service-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 9px; border-radius: 7px; background: #f7faf7; color: #294338; font-size: 11px; font-weight: 700; }
.waiter-service-item.drink { background: #fff3dc; color: #8a5700; }
.waiter-service-item > span { min-width: 0; overflow-wrap: anywhere; }
.waiter-service-item small { color: inherit; font-weight: 500; }
.waiter-service-item .text-btn { flex: 0 0 auto; padding: 5px 7px; background: #e9f2e9; }
.waiter-service-item.drink .text-btn { background: #ffe7bd; color: #885600; }
.waiter-service-item.served { background: #f0f0ed; color: #8b918d; text-decoration: line-through; }
.waiter-service-item.served b { flex: 0 0 auto; color: #4d805a; font-size: 9px; text-decoration: none; text-transform: uppercase; }
.waiter-order-served .waiter-service-item.served { background: #d7f0dc; color: #477553; }
.waiter-table-card .task-actions { margin-top: 11px; }
.waiter-history-panel { margin-top: 18px; }
.waiter-history-list { display: grid; gap: 12px; }
.waiter-history-card { padding: 14px; border: 1px solid #dce5dc; border-radius: 13px; background: #fbfefa; }
.waiter-history-round { display: grid; gap: 5px; margin-top: 9px; padding: 9px; border-radius: 8px; background: #f1f7f1; color: #42614a; font-size: 11px; }
.waiter-history-round strong { color: var(--green); }
.service-table-list { display: grid; gap: 13px; }
.service-table-card { padding: 15px; border: 1px solid #dce5dc; border-radius: 13px; background: #fcfffb; }
.admin-table-card { background: #fffdf9; border-color: #e8ddd2; }
.chef-table-card { background: #fafff9; }
.service-table-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.service-table-head h3 { margin: 1px 0 0; color: var(--green); font: 700 21px Fraunces, serif; }
.service-table-head h3 span, .waiter-table-head h3 span { color: var(--muted); font: 700 11px 'DM Sans'; letter-spacing: 0; white-space: nowrap; }
.received-at { margin: 4px 0 0; color: var(--muted); font-size: 10px; font-weight: 700; overflow-wrap: anywhere; }
.service-order-block { margin-top: 11px; padding: 11px; border: 1px solid #e6ece5; border-radius: 10px; background: #fff; }
.admin-table-card .service-order-block { border-color: #eee2dc; }
.service-order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; }
.service-order-head strong { color: var(--ink); font-size: 12px; }
.service-order-head > span:not(.status) { color: var(--green); font-size: 11px; font-weight: 800; }
.service-order-block > p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.service-order-block > .status { margin-top: 8px; }
.chef-complete { border-color: #b9d9be; background: #f3fbf2; }
.chef-complete > p { color: #688071; text-decoration: line-through; }
.chef-reference { color: #4d805a; font-size: 10px; font-weight: 800; }
.chef-table-card .task-actions { margin-top: 9px; }
.chef-report-panel { margin-top: 18px; }
.chef-report-list { display: grid; gap: 0; }
.chef-report-row { display: grid; grid-template-columns:58px minmax(0,1fr) 150px; gap: 10px; align-items: start; padding: 11px 0; border-top: 1px solid var(--line); }
.chef-report-row time { color: var(--green); font-size: 10px; font-weight: 800; }
.chef-report-row strong, .chef-report-row span { display: block; }
.chef-report-row strong { color: var(--ink); font-size: 11px; }
.chef-report-row span, .chef-report-row small { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.chef-report-row small { margin-top: 0; text-align: right; }
.dine-bill-card .bill-total-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.report-date-hint { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 0 16px; padding: 13px 15px; border: 1px solid #efd59a; border-radius: 12px; background: #fff8e7; }
.report-date-hint strong, .report-date-hint span { display: block; }
.report-date-hint strong { color: var(--pixela-plum); font-size: 11px; }
.report-date-hint span { margin-top: 3px; color: var(--muted); font-size: 10px; }

.tracking-window { min-height: 100vh; background: #f8f4ee; }
.tracking-window .site-header { position: static; }
.tracking-page { width: min(1100px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 55px; }
.tracking-page-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.tracking-page-head h1 { margin: 3px 0 7px; color: var(--green); font: 700 clamp(34px, 5vw, 54px) Fraunces, serif; }
.tracking-page-head p { margin: 0; color: var(--muted); }
.tracking-map-window { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
.tracking-map-window iframe { display: block; width: 100%; height: min(62vh, 600px); border: 0; background: #dfe9dc; }
.tracking-map-footer { padding: 14px 17px; }
.tracking-map-footer span { color: var(--green); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; }
.tracking-map-footer p { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.tracking-empty { padding: 70px 22px; border: 1px dashed #cbd4ca; border-radius: 18px; background: white; text-align: center; }
.tracking-empty h1, .tracking-empty h2 { margin: 0 0 8px; color: var(--green); font: 700 34px Fraunces, serif; }
.tracking-empty p { margin: 0; color: var(--muted); }

@media (max-width: 900px) {
  .landing-inner { grid-template-columns: 1fr; max-width: 670px; }
  .landing-copy { text-align: center; }
  .landing-subhead { margin-left: auto; margin-right: auto; }
  .landing-trust { justify-content: center; }
  .service-panel { margin-top: 14px; }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .settlement-grid, .driver-collection-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-top-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-order-groups, .workflow-split { grid-template-columns: 1fr; }
  .dine-order-layout { grid-template-columns: 1fr; }
  .dine-open-panel { position: static; order: -1; }
}

@media (max-width: 760px) {
  .brand-mark.brand-logo { width: 82px; height: 38px; }
  .customer-mode .brand-mark.brand-logo { width: 82px; height: 38px; }
  .app-demo-label { font-size: 8px; letter-spacing: .15px; }
  .pixela-footer { width: calc(100% - 28px); padding: 15px 0 21px; font-size: 9px; }
  .customer-mode .site-header { height: 66px; }
  .customer-mode .site-header nav { display: none; }
  .customer-landing { min-height: calc(100vh - 66px); padding: 34px 17px 48px; }
  .landing-copy h1 { font-size: clamp(43px, 13vw, 59px); letter-spacing: -2.2px; }
  .landing-subhead { font-size: 14px; }
  .service-panel { padding: 28px 20px 23px; border-radius: 25px; }
  .plate-orbit { width: 78px; height: 78px; right: 23px; top: -35px; font-size: 33px; }
  .plate-orbit i, .plate-orbit b { width: 29px; height: 29px; font-size: 15px; }
  .service-panel h2 { max-width: 210px; font-size: 25px; }
  .service-card { min-height: 82px; grid-template-columns: 50px 1fr 22px; padding: 13px; }
  .service-icon { width: 48px; height: 48px; font-size: 25px; }
  .customer-menu-page { width: min(100% - 24px, 1190px); }
  .customer-menu-hero {
    min-height: 340px;
    align-items: start;
    flex-direction: column;
    padding: 27px 24px;
    border-radius: 23px;
    background-position: 64% center;
  }
  .customer-menu-hero::before { background: linear-gradient(90deg, rgba(42, 10, 29, .95) 0%, rgba(64, 21, 43, .78) 64%, rgba(35, 9, 24, .32) 100%); }
  .menu-hero-side { width: 100%; justify-items: stretch; }
  .coke-sponsor-video { width: min(100%, 300px); justify-self: start; }
  .menu-hero-actions { width: 100%; }
  .soft-action, .cart-action { flex: 1; }
  .customer-menu-page .menu-header { align-items: stretch; flex-direction: column; }
  .menu-surface { margin-top: 25px; padding: 21px; border-radius: 23px; }
  .customer-menu-page .search { max-width: none; }
  /* Keep every menu category visible on a phone instead of a sideways scroller. */
  .customer-menu-page .category-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    overflow: visible;
    margin: 15px 0 19px;
  }
  .customer-menu-page .category {
    min-height: 36px;
    padding: 7px 6px;
    white-space: normal;
    line-height: 1.1;
    font-size: 10px;
  }
  .customer-menu-page .food-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .customer-menu-page .food-image { height: 130px; }
  .customer-menu-page .food-body h4 { min-height: 0; font-size: 16px; }
  .customer-menu-page .food-category-label { font-size: 8px; }
  .dine-session-heading { flex-direction: column; }
  .session-status { align-self: flex-start; }
  .bill-total-grid, .dine-bill-card .bill-total-grid { grid-template-columns: repeat(2, 1fr); }
  .takeaway-total-grid { grid-template-columns: repeat(2, 1fr); }
  .report-heading { align-items: stretch; flex-direction: column; }
  .report-date { width: 100%; min-width: 0; }
  .report-date-range { grid-template-columns: 1fr 1fr; }
  .report-all-button { grid-column: 1 / -1; }
  .report-subheading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .report-day-navigator { width: 100%; }
  .handover-card { grid-template-columns: 1fr auto; }
  .handover-card .btn { grid-column: 1 / -1; width: 100%; }
  .admin-top-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-photo-controls { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .brand-pill { font-size: 9px; }
  .landing-trust { gap: 10px; font-size: 10px; }
  .customer-menu-page .food-grid { grid-template-columns: 1fr; }
  .menu-surface { padding: 17px; }
  .customer-menu-page .food-image { height: 190px; }
  .checkout-inline-fields { grid-template-columns: 1fr; gap: 0; }
  .collection-grid { grid-template-columns: 1fr; }
  .settlement-grid, .driver-collection-grid { grid-template-columns: 1fr; }
  .collection-card { min-height: 102px; }
  .driver-collections { padding: 17px; }
  .staff-role-icon { width: 49px; height: 49px; font-size: 23px; }
  .staff-banner .staff-identity h2 { font-size: 24px; }
  .customer-mode .cart-panel { border-radius: 0; }
  .customer-details { grid-template-columns: 1fr; }
  .tracker-progress { grid-template-columns: 1fr; gap: 7px; }
  .tracker-progress span { padding: 8px 0 8px 14px; text-align: left; }
  .tracker-progress span::before { width: 5px; height: 100%; }
  .customer-live-map iframe { height: 260px; }
  .service-table-card { padding: 12px; }
  .service-table-head h3, .waiter-table-head h3 { font-size: 19px; }
  .chef-report-row { grid-template-columns: 48px minmax(0,1fr); gap: 7px; }
  .chef-report-row small { grid-column: 2; text-align: left; }
  .live-map-meta, .tracking-page-head { align-items: flex-start; flex-direction: column; }
  .report-date-hint { align-items: stretch; flex-direction: column; }
  .report-date-range { grid-template-columns: 1fr; }
  .report-all-button { grid-column: auto; }
  .report-day-navigator { grid-template-columns: 1fr 1fr; }
  .report-day-navigator .report-date { grid-column: 1 / -1; grid-row: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
