:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, "Times New Roman", serif;
  
  --brand: #1b382b;
  --brand-hover: #132a20;
  --brand-light: #2c4f3f;
  --brand-surface: #edf3ec;
  
  --accent-gold: #b88e40;
  --accent-gold-hover: #9e7832;
  --accent-gold-light: #fcf6ea;
  
  --bg-page: #f8f7f4;
  --bg-card: #ffffff;
  --bg-subtle: #f3f5f1;
  --bg-elevated: #ffffff;
  
  --text-main: #18251e;
  --text-body: #4c5d53;
  --text-muted: #7e8f85;
  --text-light: #9eb0a6;
  
  --border-light: #e8ece5;
  --border-medium: #d6ded2;
  --border-focus: #b88e40;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 9999px;
  
  --shadow-subtle: 0 2px 10px rgba(24, 37, 30, 0.04);
  --shadow-card: 0 4px 20px -2px rgba(24, 37, 30, 0.06), 0 2px 6px -1px rgba(24, 37, 30, 0.03);
  --shadow-card-hover: 0 14px 34px -4px rgba(24, 37, 30, 0.12), 0 4px 12px -2px rgba(24, 37, 30, 0.04);
  --shadow-float: 0 16px 36px -4px rgba(18, 38, 29, 0.35);
  --shadow-modal: 0 24px 60px -8px rgba(12, 26, 19, 0.3);
  
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--bg-page);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100dvh;
}

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

button {
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

/* App Shell Container */
.app-shell {
  max-width: 780px;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--bg-card);
  box-shadow: 0 0 60px rgba(27, 43, 34, 0.06);
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Demo Header Banner */
.demo-banner {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 10px 18px;
  background: linear-gradient(135deg, #fff7dc, #fef0ca);
  color: #634300;
  border-bottom: 1px solid #ebd9a9;
  box-shadow: 0 2px 8px rgba(99, 67, 0, 0.05);
  font-size: 12px;
}
.demo-banner strong {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7d5500;
}
.demo-banner p {
  font-size: 12px;
  line-height: 1.45;
  margin: 4px auto 0;
  max-width: 580px;
}
.demo-link {
  display: inline-block;
  text-decoration: none;
}

/* Demo Venue Switcher */
.demo-venues {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 10px 0 6px;
  margin: 0;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
.demo-venues::-webkit-scrollbar {
  height: 4px;
}
.demo-venues::-webkit-scrollbar-thumb {
  background: #d8c79c;
  border-radius: 4px;
}
.demo-venue {
  display: inline-flex;
  flex: none;
  align-items: center;
  border: 1px solid #e1d8be;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: #4a3c1a;
  text-decoration: none;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  min-height: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}
.demo-venue:hover {
  background: #fffbf0;
  border-color: #d2c092;
  color: #2b200b;
}
.demo-venue.selected {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(27, 56, 43, 0.25);
}
.demo-venue:focus-visible {
  outline: 3px solid #0066cd;
  outline-offset: 2px;
}

/* Masthead Header */
.masthead {
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  gap: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-symbol {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--brand);
  color: #f8f1df;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--font-serif);
  font-size: 24px;
  flex: none;
  box-shadow: 0 4px 12px rgba(27, 56, 43, 0.2);
}
.brand-logo{
  display: block;
  flex: none;
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: var(--radius-md);
  filter: drop-shadow(0 2px 6px rgba(27, 56, 43, 0.12));
}
.brand-logo--splash{
  width: 92px;
  height: 92px;
  margin-bottom: 16px;
  border-radius: 22px;
  filter: drop-shadow(0 6px 20px rgba(27, 56, 43, 0.15));
}
.brand strong {
  display: block;
  max-width: 240px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: none;
}
.language {
  border: 1px solid var(--border-medium);
  background: #ffffff;
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  transition: all 0.2s ease;
  min-height: 40px;
}
.language:hover {
  background: var(--bg-subtle);
  border-color: var(--brand-light);
}
.help-button {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  background: #ffffff;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}
.help-button:hover {
  background: var(--brand-surface);
}
.help-button[aria-pressed="true"] {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
  box-shadow: 0 3px 10px rgba(27, 56, 43, 0.2);
}
.help-button:focus-visible {
  outline: 3px solid #b18f50;
  outline-offset: 3px;
}

/* Welcome Hero Section */
.welcome {
  padding: 28px 24px 30px;
  background: linear-gradient(145deg, #f3f6f1 0%, #faf8f3 55%, #f7f4ec 100%);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}
.welcome-row {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}
.table-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-light);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  background: rgba(255, 255, 255, 0.7);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}
.open-state {
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  letter-spacing: 0.02em;
}
.open-state.on {
  background: #e2f2e5;
  color: #266b37;
  border: 1px solid #cce5d1;
}
.open-state.off {
  background: #fbeae5;
  color: #9c3c2b;
  border: 1px solid #f2d1c9;
}
.welcome h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(28px, 5.5vw, 40px);
  line-height: 1.15;
  margin: 16px 0 8px;
  letter-spacing: -0.02em;
  color: var(--text-main);
  text-wrap: balance;
}
.welcome p {
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  max-width: 520px;
}

/* Main Navigation Tabs */
.tabs {
  display: flex;
  gap: 4px;
  padding: 8px 18px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border-light);
}
.tab {
  flex: 1;
  white-space: nowrap;
  border: 0;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: transparent;
  color: var(--text-muted);
  padding: 13px 6px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  position: relative;
}
.tab:hover {
  color: var(--brand);
}
.tab.selected {
  color: var(--brand);
  background: var(--bg-subtle);
  border-bottom: 3px solid var(--brand);
}

/* Content Body */
.body {
  padding: 22px 24px 120px;
  min-height: 48dvh;
}

/* Menu Controls: Search & Category Chips */
.menu-controls {
  margin-bottom: 24px;
}
.search {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #f6f8f5;
  border: 1px solid var(--border-light);
  padding: 0 16px;
  border-radius: var(--radius-md);
  height: 48px;
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.search:focus-within {
  background: #ffffff;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(184, 142, 64, 0.15);
}
.search span {
  font-size: 20px;
  opacity: 0.75;
}
.search input {
  background: none;
  border: 0;
  width: 100%;
  outline: 0 !important;
  color: var(--text-main);
  font-size: 14px;
}
.search input::placeholder {
  color: var(--text-light);
}
.categories {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  margin-top: 14px;
  padding: 4px 2px 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.categories::-webkit-scrollbar {
  display: none;
}
.chip {
  flex-shrink: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  background: #ffffff;
  color: var(--text-body);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.chip:hover {
  border-color: var(--border-medium);
  background: var(--bg-subtle);
  color: var(--text-main);
}
.chip.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(27, 56, 43, 0.2);
}

/* Products Grid & Cards */
.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.product {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  padding-bottom: 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.2s ease;
}
.product:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-medium);
}
.product.unavailable {
  opacity: 0.6;
}
.product-photo {
  aspect-ratio: 1.4;
  background: linear-gradient(135deg, #f4f6f2, #e5ede5);
  display: grid;
  place-items: center;
  color: #bdc7bd;
  font-size: 44px;
  overflow: hidden;
  position: relative;
}
.product-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.product:hover .product-photo img {
  transform: scale(1.05);
}
.product-photo .sample-photo-label {
  position: absolute;
  right: 8px;
  bottom: 8px;
  border-radius: 6px;
  padding: 3px 8px;
  background: rgba(20, 36, 27, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  pointer-events: none;
}
.product-copy {
  padding: 14px 14px 4px;
  min-height: 100px;
  display: flex;
  flex-direction: column;
}
.product-category {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}
.product h3 {
  font-size: 15px;
  line-height: 1.35;
  margin: 6px 0 8px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}
.product-detail {
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  cursor: pointer;
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
  background: none;
  border: 0;
}
.product-detail:disabled {
  cursor: not-allowed;
}
.product-detail:focus-visible {
  outline: 3px solid #b18f50;
  outline-offset: 3px;
  border-radius: 4px;
}
.product-copy strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand);
  margin-top: auto;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.round-add {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--brand);
  color: #ffffff;
  border: 0;
  border-radius: var(--radius-full);
  height: 36px;
  width: 36px;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(27, 56, 43, 0.28);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}
.round-add:hover {
  background: var(--brand-light);
  transform: scale(1.1);
}
.round-add:active {
  transform: scale(0.95);
}

/* Floating Bottom Cart Bar */
.floating-cart {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 742px;
  width: calc(100% - 32px);
  z-index: 15;
  animation: slideUpFloat 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUpFloat {
  from {
    transform: translate(-50%, 40px);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}
.floating-cart button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  background: linear-gradient(135deg, #1b382b 0%, #11281e 100%);
  color: #ffffff;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
}
.floating-cart button:hover {
  background: linear-gradient(135deg, #244939 0%, #173327 100%);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -4px rgba(18, 38, 29, 0.45);
}
.floating-cart button:active {
  transform: translateY(0);
}
.floating-cart strong {
  font-size: 16px;
  font-weight: 800;
  color: #f7eed8;
  font-variant-numeric: tabular-nums;
}

/* Page Titles */
.page-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 6px 0 22px;
}
.page-title h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  margin: 0;
  color: var(--text-main);
  letter-spacing: -0.02em;
}
.page-title span, .muted {
  color: var(--text-muted);
  font-size: 13px;
}

/* Cart & Checkout */
.cart-lines {
  border-top: 1px solid var(--border-light);
}
.cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border-light);
  padding: 18px 0;
}
.cart-row h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text-main);
}
.cart-row p {
  font-size: 13px;
  color: var(--text-body);
  margin: 4px 0;
}
.cart-row strong {
  display: inline-block;
  margin-top: 6px;
  color: var(--brand);
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.remove-line {
  display: inline-flex;
  margin-right: 12px;
  margin-top: 8px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #a43a28;
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.remove-line:hover {
  color: #792517;
}
.remove-line:focus-visible {
  outline: 3px solid #b18f50;
  outline-offset: 3px;
  border-radius: 3px;
}
.edit-line {
  display: inline-flex;
  align-items: center;
  margin: 8px 14px 0 0;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: 12px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.edit-line:hover {
  color: var(--brand-light);
}
.edit-line:focus-visible {
  outline: 3px solid #b18f50;
  outline-offset: 3px;
  border-radius: 3px;
}
.stepper {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 3px 6px;
  flex-shrink: 0;
}
.stepper button {
  width: 32px;
  height: 32px;
  border: 0;
  background: #ffffff;
  border-radius: var(--radius-full);
  color: var(--brand);
  font-size: 20px;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.stepper button:hover {
  background: var(--brand-surface);
}
.stepper span {
  min-width: 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
}

/* Checkout Summary */
.checkout {
  background: linear-gradient(145deg, #f8faf6 0%, #f4f6f1 100%);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  margin-top: 26px;
}
.total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.total span {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-body);
}
.total strong {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.checkout .muted {
  margin: 10px 0 20px;
  line-height: 1.5;
  font-size: 13px;
}
.guest-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-main);
}
.guest-label input {
  max-width: 80px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  text-align: center;
  font-weight: 700;
  background: #ffffff;
}

/* Action Buttons */
.primary {
  width: 100%;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand) 0%, #12281e 100%);
  color: #ffffff;
  font-weight: 750;
  font-size: 15px;
  padding: 16px 18px;
  min-height: 52px;
  box-shadow: 0 4px 16px rgba(27, 56, 43, 0.25);
  letter-spacing: 0.01em;
}
.primary:hover {
  background: linear-gradient(135deg, #244b3a 0%, #183327 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27, 56, 43, 0.35);
}
.primary:active {
  transform: translateY(0);
}
.secondary {
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--brand);
  background: #ffffff;
  padding: 13px 20px;
  font-weight: 700;
  font-size: 14px;
}
.secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--brand-light);
}
.secondary.full {
  width: 100%;
  margin-top: 16px;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
}
.text-button:hover {
  text-decoration: underline;
}

/* Empty States */
.empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}
.empty.large {
  padding: 90px 20px;
}
.menu-empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-lg);
  background: #fbfcf9;
  padding: 40px 20px;
  text-align: center;
}
.menu-empty p {
  margin: 0 0 16px;
  color: var(--text-body);
}

/* Orders List & Tracking */
.order-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  background: #ffffff;
}
.order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.order-head h3 {
  margin: 6px 0;
  font-size: 19px;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.status {
  border-radius: var(--radius-full);
  background: #eef3f9;
  color: #3b5982;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
}
.status.is-ready {
  background: #e2f4e7;
  color: #246a38;
}
.status.is-void {
  background: #fbe6e3;
  color: #a33226;
}
.progress-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 22px 0 10px;
}
.progress-steps span {
  height: 6px;
  border-radius: var(--radius-full);
  background: #e7ece5;
}
.progress-steps span.passed {
  background: var(--brand-light);
}
.tracking-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
}
.order-lines {
  border-top: 1px solid var(--border-light);
  margin: 18px 0;
  padding: 14px 0 4px;
}
.order-lines p {
  display: flex;
  justify-content: space-between;
  color: var(--text-body);
  font-size: 14px;
  margin: 8px 0;
}

/* Alerts & Notifications */
.alert {
  background: #fff4ed;
  color: #8c3b24;
  border: 1px solid #fedcd0;
  margin: 14px 24px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.alert button {
  border: 0;
  background: none;
  font-size: 20px;
  color: inherit;
}
.pending {
  margin: 16px 24px;
  background: #f2f5fd;
  border: 1px solid #d5e1f7;
  padding: 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  color: #26436f;
}
.pending > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.pending button {
  border: 1px solid #b8c9e4;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  background: #ffffff;
  color: #1e3a63;
  font-weight: 600;
}

/* Modal Bottom-Sheet / Dialog */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 26, 19, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal {
  background: #ffffff;
  border-radius: 24px 24px 0 0;
  max-height: 90dvh;
  width: 100%;
  max-width: 650px;
  padding: 26px 24px 38px;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  animation: slideUpModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUpModal {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.modal h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  margin: 0;
  color: var(--text-main);
  letter-spacing: -0.02em;
}
.close {
  border: 0;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  width: 38px;
  height: 38px;
  font-size: 22px;
  display: grid;
  place-items: center;
  color: var(--text-body);
  transition: all 0.2s ease;
}
.close:hover {
  background: #e5eae2;
  color: var(--text-main);
}
.modal-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.price-large {
  font-weight: 800;
  color: var(--brand);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  margin: 6px 0 16px;
}
.mod-group {
  border: 0;
  border-top: 1px solid var(--border-light);
  padding: 16px 0 20px;
  margin: 0;
}
.mod-group legend {
  display: block;
  width: 100%;
  padding-top: 8px;
  font-weight: 750;
  font-size: 15px;
  color: var(--text-main);
}
.mod-group legend span {
  font-weight: 500;
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
}
.mod-option {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  font-size: 14px;
  color: var(--text-body);
}
.mod-option input {
  accent-color: var(--brand);
  width: 20px;
  height: 20px;
}
.mod-option strong {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.note-field {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin: 14px 0 22px;
  color: var(--text-main);
}
.note-field textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  resize: vertical;
  background: #fafbf9;
  font-size: 14px;
  transition: all 0.2s ease;
}
.note-field textarea:focus {
  background: #ffffff;
  border-color: var(--border-focus);
}
.turnstile {
  min-height: 12px;
  margin-bottom: 12px;
}

/* Splash Loading Screen */
.splash {
  min-height: 75dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 30px;
  text-align: center;
  color: var(--brand-light);
}
.splash h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  margin: 0;
  font-size: 32px;
  color: var(--brand);
}
.splash p {
  line-height: 1.6;
  max-width: 380px;
  color: var(--text-body);
  font-size: 14px;
}
.splash .brand-symbol {
  margin-bottom: 16px;
}

/* In-App Guest Help View */
.help-page .page-title {
  margin-top: 6px;
}
.help-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 18px;
  margin: 0 0 24px;
  background: linear-gradient(135deg, #f0f5ee, #f9faf7);
  border: 1px solid #e1e9de;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 750;
  color: var(--brand);
}
.help-flow b {
  color: #7b9582;
  font-size: 16px;
}
.help-steps {
  list-style: none;
  counter-reset: step;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.help-steps li {
  counter-increment: step;
  padding: 16px 18px 16px 56px;
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
}
.help-steps li:before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #ffffff;
  border-radius: var(--radius-full);
  width: 30px;
  height: 30px;
  font-weight: 800;
  font-size: 13px;
}
.help-steps strong {
  color: var(--brand);
  font-size: 15px;
}
.help-steps p, .help-warning p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 6px 0 0;
}
.help-warning {
  background: #fdf6e6;
  border: 1px solid #f3e5be;
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 24px;
}
.help-warning strong {
  font-size: 14px;
  color: #795210;
}

/* Photo Credits Page */
.demo-photo-credits {
  display: inline-block;
  margin-top: 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.demo-photo-credits:focus-visible {
  outline: 3px solid #b18f50;
  outline-offset: 3px;
}
.photo-credits-page {
  max-width: 800px;
  padding: 26px 20px 60px;
  margin: auto;
  line-height: 1.65;
}
.photo-credits-page h1 {
  font: 500 clamp(28px, 6vw, 42px) / 1.2 var(--font-serif);
  color: var(--brand);
}
.photo-credits-page h2 {
  font-size: 18px;
  margin-top: 32px;
}
.photo-credits-page a {
  color: var(--brand-light);
  overflow-wrap: anywhere;
}
.photo-credit-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
}
.photo-credit-list li {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  background: #ffffff;
}
.photo-credit-list li p {
  color: var(--text-body);
  margin: 8px 0;
}
.photo-credit-list li small {
  color: var(--text-muted);
}

/* Footer */
.footer {
  color: var(--text-light);
  font-size: 12px;
  text-align: center;
  padding: 24px 20px 32px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

/* Responsive Media Queries */
@media (min-width: 720px) {
  .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .welcome {
    padding: 38px 36px;
  }
  .body {
    padding: 30px 36px 110px;
  }
  .masthead {
    padding: 20px 36px;
  }
  .product h3 {
    font-size: 16px;
  }
  .modal {
    align-self: center;
    border-radius: var(--radius-lg);
  }
}

@media (max-width: 420px) {
  .masthead {
    gap: 7px;
    padding: 14px 12px;
  }
  .brand {
    min-width: 0;
    gap: 7px;
  }
  .brand > div {
    min-width: 0;
  }
  .brand strong {
    max-width: clamp(65px, 20vw, 108px);
  }
  .brand-symbol {
    width: 34px;
    height: 34px;
    flex: none;
  }
  .masthead .brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }
  .header-actions {
    flex: none;
    gap: 4px;
  }
  .help-button, .language {
    padding: 9px 8px;
    font-size: 11px;
  }
  .cart-row {
    gap: 10px;
  }
  .stepper {
    gap: 5px;
  }
  .stepper button {
    min-width: 34px;
  }
}

@media (max-width: 355px) {
  .masthead {
    padding: 14px 10px;
  }
  .body {
    padding: 16px 12px 110px;
  }
  .tab {
    font-size: 11px;
  }
  .product h3 {
    font-size: 13px;
  }
  .product-copy {
    padding: 10px;
  }
  .welcome {
    padding: 18px 14px;
  }
}


/* Public root: no simulated orders or fictional merchant catalog.
   Tenant order routes keep their existing backend-governed interface. */
.customer-landing {
  min-height: 100dvh;
  background: radial-gradient(circle at 8% 8%, rgba(0, 217, 216, .13), transparent 34%),
    radial-gradient(circle at 92% 0%, rgba(252, 180, 30, .12), transparent 36%), #f7faf9;
  color: #142b2d;
  padding: 0 20px;
}
.landing-shell { max-width: 1060px; margin: 0 auto; }
.landing-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; gap: 16px;
}
.landing-wordmark { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; }
.landing-wordmark img { width: 48px; height: 48px; object-fit: contain; border-radius: 12px; }
.landing-wordmark small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #427678; }
.landing-hero {
  display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 76px); align-items: center;
  padding: clamp(36px, 9vw, 98px) clamp(8px, 3vw, 32px) clamp(24px, 6vw, 60px);
}
.landing-logo-frame {
  width: min(100%, 260px); aspect-ratio: 1;
  display: grid; place-items: center; border-radius: 48px;
  background: linear-gradient(135deg,#e2f9f6,#f9f4e7);
  box-shadow: 0 14px 50px rgba(16, 73, 71, .10);
}
.landing-product-logo { width: 80%; height: 80%; object-fit: contain; }
.landing-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: #007e85; }
.landing-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(34px, 5vw, 64px);
  line-height: 1.1; letter-spacing: -.045em; max-width: 620px;
  margin: 14px 0 20px;
}
.landing-lead { max-width: 540px; line-height: 1.75; font-size: clamp(15px, 1.6vw, 18px); color: #53696b; }
.landing-note {
  display: flex; align-items: center; gap: 12px; margin-top: 28px; max-width: 550px;
  border: 1px solid #bbdbd7; background: #eef8f5; color: #1c615d;
  padding: 14px 18px; border-radius: 16px; font-size: 14px; font-weight: 700;
}
.landing-note > span:first-child { font-size: 25px; line-height: 1; }
.landing-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; padding: 8px 0 44px; align-items: stretch; }
.landing-step {
  background: #fff; border: 1px solid #e1ebe9; border-radius: 20px; padding: 26px;
  box-shadow: 0 4px 24px rgba(22, 59, 58, .035);
  display: flex; flex-direction: column; text-decoration: none; color: inherit; min-width: 0;
}
.landing-step-number {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px;
  background: #e5f6f2; color: #00766e; font-weight: 800; margin-bottom: 18px; flex: none;
}
.landing-step strong { display: block; font-size: 18px; line-height: 1.3; color: #111b2b; margin-bottom: 6px; }
.landing-step p { font-size: 13.5px; line-height: 1.6; color: #5d7070; margin-bottom: 0; flex: 1; }
.landing-footer { padding: 24px 0 36px; border-top: 1px solid #dbe8e6; color: #67807d; font-size: 12px; }
@media (max-width: 650px) {
  .customer-landing { padding: 0 18px; }
  .landing-nav { padding: 16px 0; }
  .landing-wordmark { font-size: 17px; }
  .landing-hero { grid-template-columns: 1fr; gap: 22px; text-align: center; padding: 26px 0 32px; }
  .landing-logo-frame { width: 154px; border-radius: 34px; margin: auto; }
  .landing-eyebrow { font-size: 10px; }
  .landing-hero h1 { font-size: clamp(30px, 9vw, 43px); }
  .landing-lead { margin: 0 auto; font-size: 15px; }
  .landing-note { text-align: left; }
  .landing-steps { grid-template-columns: 1fr; gap: 12px; padding-bottom: 30px; }
  .landing-step {
    padding: 16px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 4px;
    align-items: start;
    border-radius: 16px;
  }
  .landing-step--qr { display: block; }
  .landing-step--qr > summary {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 4px;
    align-items: start;
    width: 100%;
  }
  .landing-step-number { grid-column: 1; grid-row: 1 / span 3; margin: 0; width: 44px; height: 44px; }
  .landing-step strong { grid-column: 2; align-self: start; font-size: 16px; margin: 0; line-height: 1.25; }
  .landing-step p { grid-column: 2; margin: 2px 0 0; font-size: 13px; line-height: 1.45; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-hero *, .landing-step { transition: none !important; }
}

/* Compact demo selector: no full-width banner above the actual menu. */
.demo-corner{position:relative;flex-shrink:0}
.demo-corner summary{list-style:none;display:flex;align-items:center;gap:5px;min-height:44px;padding:9px 11px;border:1px solid #d8e1d7;border-radius:22px;background:#f3f6f0;color:#294639;font-size:12px;font-weight:750;cursor:pointer;white-space:nowrap}
.demo-corner summary::-webkit-details-marker{display:none}
.demo-corner summary:focus-visible{outline:3px solid #b18f50;outline-offset:2px}
.demo-corner[open] summary{background:#294639;color:#fff}
.demo-corner-panel{position:absolute;right:0;top:calc(100% + 8px);width:min(320px,calc(100vw - 32px));max-height:min(70vh,550px);overflow:auto;z-index:30;padding:15px;border:1px solid #dde5da;border-radius:16px;background:#fff;box-shadow:0 16px 40px #192e2433;text-align:left}
.demo-corner-panel strong{display:block;color:#667369;font-size:10px;line-height:1.4;letter-spacing:.02em}
.demo-corner-panel p{font-size:12px;color:#667369;line-height:1.45;margin:7px 0 12px}
.demo-corner-panel .demo-venues{display:grid;gap:5px}
.demo-corner-panel .demo-venue{display:block;border-radius:10px;padding:12px 11px;color:#294639;text-decoration:none;font-size:13px;font-weight:650;min-height:44px}
.demo-corner-panel .demo-venue:hover,.demo-corner-panel .demo-venue:focus-visible{background:#f1f5ef}
.demo-corner-panel .demo-venue.selected{background:#294639;color:#fff}
.demo-corner-panel .demo-photo-credits{font-size:11px;color:#607365;margin-top:10px}
@media(max-width:400px){.masthead{padding:12px 10px;gap:7px}.masthead .header-actions{gap:4px}.demo-corner summary{padding:8px 9px}}


/* Mobile-first quantity selection in the item customizer. */
.custom-quantity{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:14px 0 20px;padding:13px 0;border-top:1px solid #edf0e8;color:#294639;font-size:14px;font-weight:700}
.custom-quantity input{width:86px;min-height:44px;padding:10px;border:1px solid #dce4dc;border-radius:10px;background:#fff;color:#1b2721;text-align:center;font-size:16px}


/* Customer-facing stock availability and precise basket change explanations. */
.stock-tag{display:inline-block;margin-top:8px;color:#8b5b23;background:#f9f0dd;border-radius:7px;padding:5px 8px;font-size:11px;font-weight:650;line-height:1.3}
.stock-tag.is-sold{color:#9b4934;background:#f9e9e5}
.cart-changes{margin:0 0 20px;padding:16px;border:1px solid #ebc789;border-radius:12px;background:#fff9ef;color:#554326;font-size:13px;line-height:1.55}
.cart-changes-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.cart-changes-head strong{font-size:14px}
.cart-changes-head button{border:1px solid #d5ba8b;border-radius:8px;background:#fff;color:#664d25;min-height:34px;padding:6px 10px;font-size:12px;font-weight:650}
.cart-changes ul{padding-left:20px;margin:12px 0 0}
.cart-changes li+li{margin-top:7px}


/* Table QR tracking stays usable when the menu or Internet is unavailable. */
.tracking-warning{margin:0 0 14px;padding:12px 14px;border:1px solid #e6dac4;border-radius:9px;background:#fff9ec;color:#77542f;line-height:1.5;font-size:13px}
.order-card .tracking-warning+button{margin-top:2px}


/* Separate add-on orders at a table are summarized by live Backend status. */
.guest-order-summary{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.guest-order-summary span{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid #dbe5dc;border-radius:10px;background:#f8fbf8;color:#334b3c;font-size:12px;line-height:1.3}
.guest-order-summary strong{font-variant-numeric:tabular-nums;font-size:15px;color:#153629}
@media(max-width:355px){.guest-order-summary span{padding:7px 8px;font-size:11px}}


/* READY is a kitchen milestone; SERVED requires an explicit Staff handoff. */
.status.is-served{background:#e0f0e6;color:#276445}
.tracking-labels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;text-align:center;align-items:start}
.tracking-labels span{min-width:0;line-height:1.4;overflow-wrap:break-word}
.order-stage-hint{margin:12px 0 16px;color:#446452;font-size:12px;line-height:1.5}
@media(max-width:355px){.tracking-labels{font-size:9px;gap:4px}.order-stage-hint{font-size:11px}}


/* Venue-neutral guest menu facets: small-screen accessible, no food-type assumptions. */
.discovery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:8px}
.discovery-filters{display:flex;gap:8px;flex-wrap:wrap}
.discovery-filter{min-height:44px;border:1px solid #d8e2dc;border-radius:24px;padding:9px 12px;background:#fff;color:#375346;font-size:12px;font-weight:650}
.discovery-filter.active{background:#294639;border-color:#294639;color:#fff}
.discovery-sort{display:inline-flex;align-items:center;gap:7px;color:#526255;font-size:12px}
.discovery-sort select{max-width:180px;min-height:44px;border:1px solid #d8e2dc;border-radius:9px;background:#fff;color:#203b2a;padding:8px 9px;font-size:13px}
.discovery-sort select:focus-visible,.discovery-filter:focus-visible,.chip:focus-visible{outline:3px solid #b18f50;outline-offset:3px}
.menu-result-count{margin:11px 0 0;color:#53685a;font-size:12px;font-variant-numeric:tabular-nums}
.menu-price-note{margin:4px 0 0;color:#657a6d;font-size:11px}
@media(max-width:380px){.discovery-sort{width:100%;justify-content:space-between}.discovery-sort select{max-width:65%}}


/* Guest may present a safe Backend order ID to cashier; never issue an invoice. */
.invoice-help{margin-top:14px;padding:14px;border:1px solid #e0e9dd;border-radius:12px;background:#fbfdf8}
.invoice-help>strong{font-size:14px;color:#294639}
.invoice-help .muted{margin:7px 0;line-height:1.5;text-align:left}
.invoice-help .secondary{margin-top:7px;min-height:44px;max-width:100%}


/* Shared table tablet surface: same Backend order/QR security, bigger touch UI. */
.is-tablet .round-add,.is-tablet .stepper button,.is-tablet .close{min-width:44px;min-height:44px}
.is-tablet .tab,.is-tablet .chip,.is-tablet .language{min-height:48px}
.is-tablet .product-detail{min-height:44px}
.is-tablet .product-copy{min-height:114px}
.is-tablet .welcome{background:linear-gradient(145deg,#f3f7fc,#fafcff)}
.is-tablet .brand-symbol,.is-tablet .round-add,.is-tablet .primary,.is-tablet .floating-cart button{background:#0066cd;color:#fff}
.is-tablet .tab.selected{color:#0066cd;border-bottom-color:#0066cd}
@media(min-width:760px){
  .app-shell.is-tablet{max-width:1180px}
  .is-tablet .products{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
  .is-tablet .body{padding:28px 36px 125px}
  .is-tablet .product-photo{aspect-ratio:1.35}
  .is-tablet .product h3{font-size:18px}
  .is-tablet .product-copy strong{font-size:17px}
  .is-tablet .floating-cart{max-width:1100px}
}
@media(min-width:1050px){.is-tablet .products{grid-template-columns:repeat(4,minmax(0,1fr))}}


/* Customer landing pilot discovery: previews only, never a backend order route. */
.pilot-showcase{padding:10px 0 50px}
.pilot-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}
.pilot-head h2{font-family:inherit;font-size:clamp(23px,3vw,34px);line-height:1.18;letter-spacing:-.035em;margin:6px 0 10px;color:#173c36}
.pilot-head p{color:#637674;line-height:1.6;margin:0}
.pilot-head .pilot-eyebrow{color:#087c71;font-size:11px;font-weight:800;letter-spacing:.1em}
.pilot-badge{white-space:nowrap;background:#e6f5f0;color:#166c5b;border-radius:100px;padding:8px 13px;font-size:12px;font-weight:800}
.pilot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.pilot-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:7px;padding:22px 20px;border:1px solid #dce9e5;background:#fff;border-radius:20px;box-shadow:0 5px 25px #223d3707;text-decoration:none;color:#24403c;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.pilot-card:hover{transform:translateY(-2px);border-color:#8ac5b8;box-shadow:0 10px 28px #234c4014}
.pilot-card:focus-visible{outline:3px solid #009c86;outline-offset:3px}
.pilot-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#eaf6f2;font-size:25px;margin-bottom:8px}
.pilot-meta{font-size:11px;color:#68827c;font-weight:750;letter-spacing:.02em}
.pilot-card strong{font-size:17px;line-height:1.35;color:#193c34}
.pilot-type{font-size:13px;color:#60736c}
.pilot-link{color:#007e70;font-size:13px;font-weight:800;margin-top:8px}
.pilot-disclaimer{font-size:12px;color:#586c67;line-height:1.55;background:#f1f6f4;padding:12px 16px;border:1px solid #dce9e5;border-radius:13px;margin-top:18px}
@media(max-width:850px){.pilot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.pilot-head{flex-direction:column;gap:10px}.pilot-grid{grid-template-columns:1fr}.pilot-card{padding:17px}.pilot-showcase{padding:0 0 34px}}
@media(prefers-reduced-motion:reduce){.pilot-card{transition:none}.pilot-card:hover{transform:none}}


/* Pilot photography is strictly illustrative; reuse audited CC0 sample manifest. */
.pilot-image-wrap{display:block;position:relative;width:100%;height:148px;border-radius:14px;background:#edf4f0;overflow:hidden;margin-bottom:9px}
.pilot-image{width:100%;height:100%;object-fit:cover;display:block}
.pilot-image-fallback{height:100%;width:100%;display:grid;place-items:center;font-size:44px}
.pilot-image-fallback[hidden]{display:none}
.pilot-photo-credits{margin:11px 0 0;text-align:right;font-size:10px;font-weight:400;line-height:1.4}
.pilot-photo-credits a,.footer .demo-photo-credits{color:#7c8a86;font-size:10px;font-weight:400;text-decoration:none}
.pilot-photo-credits a:hover,.pilot-photo-credits a:focus-visible,.footer .demo-photo-credits:hover,.footer .demo-photo-credits:focus-visible{text-decoration:underline;color:#315d53}
@media(max-width:650px){.pilot-image-wrap{height:168px}}


/* Cart actions: separate the price from edit/remove controls on any viewport. */
.cart-row > div:first-child { flex: 1; min-width: 0; }
.cart-row .cart-line-price { display: block; margin-top: 8px; }
.cart-row .cart-line-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 10px;
}
.cart-row .cart-line-actions button {
  margin: 0;
  min-height: 40px;
  padding: 8px 4px;
}
.cart-row .stepper { flex-shrink: 0; }

/* QR menu interaction polish · visual-only. Backend pricing/order semantics unchanged. */
:root {
  --bg-page: #f5f7f3;
  --shadow-card: 0 5px 22px rgba(23, 51, 37, .055);
  --shadow-card-hover: 0 12px 32px rgba(23, 51, 37, .105);
}
.app-shell { border-inline: 1px solid #edf1e9; }
.masthead { padding-block: 13px; }
.welcome { padding: 16px 24px 17px; background: linear-gradient(112deg,#f0f5ef 0%,#fffaf0 100%); }
.welcome h1 { font-family: var(--font-sans); font-size: clamp(22px, 4.8vw, 30px); font-weight: 800; margin: 9px 0 3px; letter-spacing: -.035em; }
.welcome p { font-size: 12px; line-height: 1.4; }
.table-label { font-size: 12px; letter-spacing: .035em; border-color: #d9e5d7; color: #1a553e; background: #fff; }
.open-state { font-size: 11px; }
.tabs { padding: 7px 14px 7px; gap: 7px; }
.tab { border-radius: 12px; min-height: 44px; padding: 9px 7px; border: 1px solid transparent; font-size: 13px; }
.tab.selected { background: #eaf2e9; color: #174531; border: 1px solid #d5e5d6; box-shadow: none; }
.body { padding-top: 18px; }
.menu-controls { margin-bottom: 14px; }
.search { height: 52px; border-radius: 15px; background: #f7f9f6; border-color: #dce6dc; }
.search:focus-within { background: #fff; }
.categories { margin-top: 11px; padding-bottom: 6px; gap: 7px; }
.chip { min-height: 43px; padding: 9px 15px; border-color: #dce5dc; font-size: 12px; font-weight: 750; }
.chip.active { background: #1b4835; box-shadow: 0 3px 10px rgba(27, 72, 53, .15); }
.discovery-toolbar { margin-top: 4px; gap: 7px; }
.discovery-filter { min-height: 40px; padding: 8px 12px; background: #f8faf7; }
.discovery-sort select { min-height: 40px; }
.menu-result-count { margin: 8px 0 0; font-size: 11px; }
.products { gap: 13px; }
.product { border-radius: 20px; padding-bottom: 15px; border-color: #e7ece6; }
.product-photo { aspect-ratio: 1.15; background: linear-gradient(145deg,#f4f5f1,#e7ede6); }
.product-photo img { object-fit: cover; }
.product-photo-hit { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; padding: 0; border: 0; background: transparent; border-radius: 0; cursor: pointer; }
.product-photo-hit:focus-visible { outline: 4px solid #b88e40; outline-offset: -5px; }
.product-photo-hit:disabled { cursor: not-allowed; }
.product-photo .stock-tag { position: absolute; z-index: 2; top: 9px; left: 9px; margin: 0; max-width: calc(100% - 18px); pointer-events: none; box-shadow: 0 2px 9px rgba(0,0,0,.09); }
.product-photo .sample-photo-label { z-index: 2; }
.product-copy { padding: 13px 13px 2px; min-height: 108px; }
.product-category { color: #687b6e; font-size: 10px; font-weight: 750; }
.product h3 { font-size: 15px; line-height: 1.34; margin: 6px 0 9px; }
.product-copy strong { padding-right: 40px; font-size: 15px; color: #174d38; }
.round-add { min-width: 44px; min-height: 44px; width: 44px; height: 44px; right: 10px; bottom: 10px; font-size: 26px; box-shadow: 0 4px 12px rgba(27,72,53,.21); }
.floating-cart { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: min(720px, calc(100% - 24px)); }
.floating-cart button { min-height: 60px; padding: 12px 17px; border-radius: 16px; background: #183e2e; box-shadow: 0 10px 28px rgba(20,56,38,.28); }
.floating-cart button:hover { background: #24523b; }
.floating-cart strong { font-size: 15px; }
.cart-row { border-radius: 15px; }
.cart-row .stepper button { min-width: 44px; min-height: 44px; }
.checkout .primary { min-height: 52px; border-radius: 13px; }
.pilot-card { padding: 12px; border-radius: 19px; gap: 8px; }
.pilot-image-wrap { height: 178px; border-radius: 13px; margin-bottom: 4px; }
.pilot-card strong { font-size: 16px; }
.pilot-link { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; }
@media (min-width: 720px) {
  .welcome { padding: 23px 36px; }
  .body { padding-top: 24px; }
  .products { gap: 17px; }
}
@media (max-width: 500px) {
  .masthead { padding: 10px 12px; gap: 7px; }
  .brand { gap: 7px; }
  .brand .eyebrow { display: none; }
  .brand strong { max-width: clamp(60px, 21vw, 115px); font-size: 12px; }
  .masthead .brand-logo { width: 36px; height: 36px; }
  .help-button { min-width: 44px; padding: 8px; font-size: 16px; }
  .help-label { display: none; }
  .header-actions { gap: 5px; }
  .welcome { padding: 13px 15px 12px; }
  .welcome h1 { margin: 8px 0 0; font-size: clamp(21px, 6vw, 26px); }
  .welcome p { display: none; }
  .tabs { padding-inline: 10px; }
  .body { padding: 14px 14px calc(104px + env(safe-area-inset-bottom, 0px)); }
  .products { gap: 10px; }
  .product { border-radius: 16px; }
  .product-copy { padding: 10px 10px 1px; min-height: 110px; }
  .product h3 { font-size: 13px; line-height: 1.35; }
  .product-copy strong { font-size: 13px; padding-right: 40px; }
  .product-category { font-size: 9px; }
  .round-add { bottom: 7px; right: 7px; }
  .discovery-filter { font-size: 11px; min-height: 40px; }
  .discovery-sort { font-size: 11px; }
}
@media (max-width: 355px) {
  .masthead { padding-inline: 8px; }
  .tabs { gap: 4px; }
  .tab { font-size: 11px; padding-inline: 4px; }
  .body { padding-inline: 10px; }
  .product-photo { aspect-ratio: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .product, .product-photo img, .round-add, .floating-cart { transition: none; animation: none; }
}

/* M09 payment-first guest handoff: no checkout / settlement capability implied. */
.tabs { padding-left: 10px; padding-right: 10px; }
.tabs .tab { min-width: 0; white-space: normal; overflow-wrap: anywhere; line-height: 1.3; min-height: 49px; }
.payment-shortcut {
  display: block; width: 100%; min-height: 50px; margin: 12px 0 20px;
  border: 0; border-radius: var(--radius-md); padding: 13px 15px;
  background: #0066cd; color: #ffffff; font-weight: 800; font-size: 14px;
  text-align: center; cursor: pointer;
}
.payment-shortcut:focus-visible, .payment-reference-row button:focus-visible { outline: 3px solid #e2a949; outline-offset: 2px; }
.payment-page-title { margin-bottom: 14px; }
.payment-guide {
  border: 1px solid #b8d4f2; border-radius: var(--radius-lg);
  padding: clamp(16px, 4vw, 24px); background: #f3f8ff;
  color: var(--text-main); margin: 0 0 16px;
}
.payment-guide-eyebrow { color: #0056ab; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.payment-guide h3 { font-size: clamp(20px, 5vw, 25px); margin: 8px 0; }
.payment-guide p { font-size: 14px; line-height: 1.6; }
.payment-safe-notice, .payment-note {
  color: #5a4934; background: #fff9ed; border: 1px solid #e9d7b5;
  padding: 14px; border-radius: var(--radius-md); line-height: 1.55;
  font-size: 13px;
}
.payment-references { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 17px; margin-bottom: 18px; }
.payment-references h3 { margin: 0 0 12px; font-size: 16px; }
.payment-reference-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--border-light); }
.payment-reference-id { font-weight: 800; font-family: ui-monospace, monospace; overflow-wrap: anywhere; min-width: 0; }
.payment-reference-row button { min-height: 44px; }
.payment-back-orders { margin: 14px 0 20px; min-height: 48px; }
@media (max-width: 355px) {
  .tabs { gap: 0; padding-left: 4px; padding-right: 4px; }
  .tabs .tab { font-size: 10px; letter-spacing: 0; padding-left: 2px; padding-right: 2px; }
}

/* Canonical guest payment ledger statuses (no pay action when uncertified). */
.payment-reference-details{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;flex:1}
.payment-status{display:inline-block;border:1px solid #bed8ef;background:#eff7ff;color:#174f7c;
  border-radius:99px;padding:5px 10px;font-weight:800;font-size:12px;line-height:1.4}
.payment-due{margin:2px 0 0;font-size:13px;color:#174f7c}
.payment-due strong{font-size:16px}
.order-payment-readonly{margin:12px 0;padding:12px;border-radius:12px;font-weight:800;font-size:13px}
.order-payment-readonly.paid{background:#e1f4e8;color:#17613c}
.order-payment-readonly.pending{background:#fff3d9;color:#775012}


/* Guest amount due is server-verified. No online checkout is implied. */
.order-payment-readonly.due{
  display:flex;flex-direction:column;gap:11px;
  background:#eef6ff;color:#0a477f;border:1px solid #bed9f5;
}
.order-payment-readonly.due strong{font-size:clamp(15px,4.1vw,19px);line-height:1.4}
.payment-order-action{
  width:100%;min-height:48px;border:0;border-radius:12px;
  background:#0066cd;color:#fff;font-size:14px;font-weight:800;
  padding:11px 15px;text-align:center;cursor:pointer;
}
.payment-order-action:focus-visible{
  outline:3px solid #e2a949;outline-offset:3px;
}


/* Payment-first design system v2: consistent operational shell, not public landing. */
.app-shell {
  --brand: #111B2B; --brand-hover: #16283F;
  --brand-light: #0066CD; --brand-surface: #EDF5FE;
  --bg-page: #F4F7FA; --bg-subtle: #F1F6FC;
  --text-main: #111B2B; --text-body: #43566C; --text-muted: #65778C;
  --border-light: #E3EAF2; --border-medium: #C9D9EA; --border-focus: #0066CD;
  --shadow-card: 0 4px 18px rgba(17,27,43,.065);
  background: #FFFFFF;
}
.app-shell .tab-icon {display:flex;align-items:center;justify-content:center;line-height:1}
.app-shell .tab-icon svg {display:block;flex:none}
.app-shell .tabs {gap:5px; padding-top:9px; padding-bottom:3px; border-color:#E3EAF2}
.app-shell .tab {
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px;
  min-height:63px; border-radius:14px 14px 0 0; color:#64748B;
  padding:8px 4px 9px; font-weight:750; font-size:12px; letter-spacing:0;
}
.app-shell .tab-label {display:block;line-height:1.2;overflow-wrap:anywhere}
.app-shell .tab-count {
  position:absolute;top:2px;right:max(9px,calc(50% - 27px));
  display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;
  background:#0066CD;color:#FFFFFF;border-radius:99px;
  font-size:10px;line-height:1;font-weight:850;border:2px solid #FFFFFF;
}
.app-shell .tab.selected {background:#ECF5FF;color:#005EBB;border-bottom:3px solid #0066CD}
.app-shell .tab-payment.selected {color:#005EBB}
.app-shell .search:focus-within {border-color:#0066CD;box-shadow:0 0 0 3px rgba(0,102,205,.12)}
.app-shell .chip.active {background:#111B2B;border-color:#111B2B;color:#FFFFFF}
.app-shell .primary,.app-shell .round-add {background:#0066CD;color:#FFFFFF}
.app-shell .floating-cart button {
  background:#0066CD;border-color:#0057B4;
  box-shadow:0 12px 30px rgba(0,63,133,.22);
}
.app-shell .floating-cart strong {color:#FFFFFF}
.app-shell .floating-cart button:hover {background:#005AB8}
.app-shell .payment-shortcut,.app-shell .payment-order-action {box-shadow:0 7px 17px rgba(0,102,205,.16)}
@media (max-width:719px) {
  /* Four stable destinations stay inside a single thumb-reachable dock. */
  .app-shell .tabs {
    position:fixed;top:auto;bottom:0;left:50%;transform:translateX(-50%);
    width:min(100%,780px);height:auto;
    z-index:30;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
    padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px));
    background:rgba(255,255,255,.98);border-top:1px solid #DBE7F3;
    border-bottom:0;box-shadow:0 -8px 30px rgba(17,27,43,.09);
    border-radius:18px 18px 0 0;
  }
  .app-shell .tab {
    min-width:0;min-height:52px;border:0;border-radius:13px;
    padding:5px 2px;gap:4px;font-size:11px;
  }
  .app-shell .tab.selected {border-bottom:0;background:#ECF5FF}
  .app-shell .tab-icon svg {width:21px;height:21px}
  .app-shell .tab-count {top:0;right:max(5px,calc(50% - 28px))}
  .app-shell .body {padding-bottom:calc(125px + env(safe-area-inset-bottom,0px))}
  .app-shell .floating-cart {
    bottom:calc(83px + env(safe-area-inset-bottom,0px));
    width:calc(100% - 24px);z-index:28;
  }
  .app-shell .floating-cart button {min-height:52px;border-radius:15px}
  /* Overlay remains above the mobile dock, never behind it. */
  .app-shell .modal-backdrop {z-index:60}
}
@media (prefers-reduced-motion:reduce) {
  .app-shell .tab,.app-shell .floating-cart button {transition:none}
}


/* One-tap item card: price and Add never overlap on narrow phones. */
.app-shell .products{gap:12px}
.app-shell .product{
 border-radius:18px;border-color:#E2EAF4;
 box-shadow:0 4px 15px rgba(17,27,43,.055);
 padding-bottom:0;
}
.app-shell .product-photo{background:linear-gradient(135deg,#F1F6FC,#E7F0F8)}
.app-shell .product-copy{flex:1;min-height:120px;padding:13px 12px 12px}
.app-shell .product h3{color:#172A41;font-size:14px;line-height:1.35;margin:7px 0 10px}
.app-shell .product-category{color:#527594;letter-spacing:.075em}
.app-shell .product-footer{
 display:flex;align-items:center;justify-content:space-between;
 gap:5px;margin-top:auto;min-width:0;
}
.app-shell .product-footer strong{
 flex:1;min-width:0;margin:0;overflow-wrap:anywhere;
 font-size:clamp(12px,2.8vw,15px);line-height:1.25;
 font-variant-numeric:tabular-nums;color:#111B2B;
}
.app-shell .round-add{
 position:static;flex:none;height:44px;width:44px;min-height:44px;
 border-radius:14px;font-size:25px;box-shadow:0 4px 10px rgba(0,102,205,.13);
}
.app-shell .round-add:focus-visible{
 outline:3px solid #F0AB32;outline-offset:3px;
}
.app-shell .categories .chip{
 min-height:44px;display:inline-flex;align-items:center;justify-content:center;
 padding:10px 15px;font-weight:750;
}
@media(min-width:720px){
 .app-shell .products{gap:17px}
 .app-shell .product h3{font-size:16px}
 .app-shell .product-copy{padding:16px;min-height:125px}
}


/* Public root: describe payment clearly without pretending checkout is live. */
.landing-payment {
 display:flex;align-items:center;gap:18px;flex-wrap:wrap;
 padding:24px; margin:8px 0 38px;border:1px solid #C9DEF3;
 border-radius:23px;background:linear-gradient(135deg,#EEF6FF,#F9FCFF);
 box-shadow:0 9px 28px rgba(17,27,43,.055);
}
.landing-payment-icon {display:grid;place-items:center;width:58px;height:58px;
 flex:none;background:#0066CD;color:#fff;border-radius:17px;font-size:29px;}
.landing-payment-copy {flex:1 1 360px;min-width:0;}
.landing-payment-eyebrow {color:#0060BC;font-size:11px;font-weight:850;letter-spacing:.1em;}
.landing-payment h2 {color:#111B2B;font-size:clamp(20px,3vw,29px);
 margin:7px 0;letter-spacing:-.035em;line-height:1.2;}
.landing-payment p {color:#43566C;font-size:14px;line-height:1.7;margin:0 0 10px;}
.landing-payment-disclaimer {font-size:12px;color:#536D86;line-height:1.5;}
.landing-payment-link {display:inline-flex;align-items:center;justify-content:center;
 min-height:49px;padding:13px 18px;border-radius:13px;background:#0066CD;
 color:#fff;text-decoration:none;font-weight:800;text-align:center;font-size:13px;
 flex:1 0 100%;max-width:360px;}
.landing-payment-link:hover {background:#0053AA;color:#fff;}
.landing-payment-link:focus-visible {outline:3px solid #EEA72C;outline-offset:3px;}
@media(max-width:650px){
 .landing-payment{padding:18px;gap:12px;margin-bottom:28px;}
 .landing-payment-icon{width:48px;height:48px;font-size:25px;}
 .landing-payment-copy{flex:1 1 220px;}
 .landing-payment-link{max-width:none;}
}


/* RusaPOS checkout — customer-facing payment surface. */
.app-shell .checkout-ui{max-width:850px;margin:0 auto;padding:16px 0 36px;color:#111B2B}
.app-shell .checkout-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:8px 0 20px}
.app-shell .checkout-title h2{font-family:var(--font-sans);font-weight:850;font-size:clamp(27px,4vw,34px);margin:5px 0 8px;letter-spacing:-.045em;color:#111B2B}
.app-shell .checkout-title p{font-size:13px;color:#60758C;line-height:1.55;margin:0}
.app-shell .checkout-eyebrow{font-size:10px;font-weight:900;letter-spacing:.14em;color:#0066CD}
.app-shell .checkout-title-icon{display:grid;place-items:center;flex:none;width:52px;height:52px;background:#E9F4FF;color:#0066CD;border-radius:16px;font-size:28px}
.app-shell .checkout-balance{background:linear-gradient(120deg,#132841,#0C1A30 80%);color:#fff;border-radius:24px;padding:25px 27px;box-shadow:0 15px 32px rgba(17,27,43,.19)}
.app-shell .checkout-balance-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#DDECFD}
.app-shell .checkout-status-chip{padding:7px 11px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.16);border-radius:99px;font-size:10px;font-weight:850;white-space:nowrap;letter-spacing:.02em;color:#fff}
.app-shell .checkout-amount{display:block;font-family:var(--font-sans);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-weight:900;font-size:clamp(32px,6vw,48px);line-height:1.3;letter-spacing:-.055em;color:#fff;margin:17px 0}
.app-shell .checkout-balance-foot{display:flex;justify-content:space-between;gap:10px;border-top:1px solid rgba(255,255,255,.15);padding-top:13px;font-size:12px;color:#D6E6F8}
.app-shell .checkout-method-title{margin:28px 0 14px}
.app-shell .checkout-method-title h3{color:#111B2B;margin:0 0 5px;font-weight:850;font-family:var(--font-sans);font-size:20px;letter-spacing:-.035em}
.app-shell .checkout-method-title p{color:#60758C;font-size:12px;margin:0}
.app-shell .checkout-methods{display:grid;gap:11px}
.app-shell .checkout-method{min-width:0;display:flex;align-items:center;gap:13px;min-height:88px;padding:16px 18px;background:#fff;border:1px solid #E1EAF3;border-radius:18px;box-shadow:0 2px 9px rgba(17,27,43,.03)}
.app-shell .checkout-method-featured{border-color:#C8DDF4;background:#F8FBFF}
.app-shell .checkout-method-icon{display:grid;place-items:center;flex:none;height:46px;width:46px;border-radius:14px;background:#EAF4FF;color:#0066CD;font-size:26px}
.app-shell .checkout-method-icon-card{background:#EFEFFC;color:#5950C6}
.app-shell .checkout-method-icon-cash{background:#E5F7EC;color:#16804C}
.app-shell .checkout-method-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.app-shell .checkout-method-copy strong{font-family:var(--font-sans);font-weight:850;color:#17283C;font-size:14px;line-height:1.3}
.app-shell .checkout-method-copy span{font-size:11px;line-height:1.5;color:#64788E}
.app-shell .checkout-method-state{flex:none;text-align:center;font-size:10px;font-weight:850;color:#536981;background:#EEF3F8;border-radius:99px;padding:7px 9px;max-width:100px}
.app-shell .checkout-method-state-counter{background:#E7F6EC;color:#136C40}
.app-shell .checkout-state-note{border-radius:13px;background:#FFF8E9;border:1px solid #F3DFAC;padding:13px 15px;color:#74521E;font-size:12px;line-height:1.55;margin:16px 0 0}
.app-shell .checkout-preview-badge{display:inline-block;background:#F1F5F9;border:1px solid #D8E3ED;color:#60758C;border-radius:9px;padding:8px 11px;font-size:11px;font-weight:750;margin-top:14px}
.app-shell .checkout-orders{margin-top:22px;background:#fff;border:1px solid #E1EAF3;border-radius:19px;padding:17px 18px}
.app-shell .checkout-orders h3{font:850 16px var(--font-sans);margin:0 0 10px;color:#17283C}
.app-shell .checkout-order-item{display:flex;align-items:center;flex-wrap:wrap;gap:9px 12px;border-top:1px solid #ECF1F6;padding:14px 0;line-height:1.4;font-size:12px}
.app-shell .checkout-order-item:first-of-type{border-top:0}
.app-shell .checkout-order-ref{font-weight:800;color:#253C53;min-width:0;overflow-wrap:anywhere}
.app-shell .checkout-order-state{font-size:11px;color:#536981}
.app-shell .checkout-order-item strong{margin-left:auto;color:#111B2B;font-variant-numeric:tabular-nums}
.app-shell .checkout-copy{border:1px solid #D2E3F5;background:#F0F6FD;color:#0062C0;min-height:44px;padding:10px 13px;border-radius:11px;font-size:11px;font-weight:850}
.app-shell .checkout-actions{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:11px;margin-top:22px}
.app-shell .checkout-action-primary,.app-shell .checkout-action-secondary{min-height:53px;padding:12px 16px;border-radius:14px;font-family:var(--font-sans);font-size:13px;line-height:1.3;font-weight:850;cursor:pointer}
.app-shell .checkout-action-primary{display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid #0066CD;background:#0066CD;color:#fff}
.app-shell .checkout-action-primary:hover{background:#005BB8}
.app-shell .checkout-action-secondary{border:1px solid #C9DBED;background:#fff;color:#124877}
.app-shell .checkout-action-primary:focus-visible,.app-shell .checkout-action-secondary:focus-visible,.app-shell .checkout-copy:focus-visible{outline:3px solid #F3AE3C;outline-offset:3px}
@media(max-width:560px){
 .app-shell .checkout-ui{padding:5px 0 20px}
 .app-shell .checkout-title{margin:8px 0 17px}
 .app-shell .checkout-title-icon{width:44px;height:44px;border-radius:12px;font-size:23px}
 .app-shell .checkout-balance{border-radius:20px;padding:22px 18px}
 .app-shell .checkout-method-title{margin-top:25px}
 .app-shell .checkout-method{gap:10px;min-height:78px;padding:13px 12px;border-radius:16px}
 .app-shell .checkout-method-icon{height:40px;width:40px;border-radius:12px;font-size:21px}
 .app-shell .checkout-method-copy strong{font-size:12px}
 .app-shell .checkout-method-copy span{font-size:10px}
 .app-shell .checkout-method-state{font-size:9px;max-width:80px}
 .app-shell .checkout-actions{grid-template-columns:1fr}
}

.app-shell .checkout-method-clickable{font:inherit;text-align:left;width:100%;cursor:pointer;transition:box-shadow .16s,border-color .16s;min-height:88px}
.app-shell .checkout-method-clickable:hover{border-color:#0066CD;box-shadow:0 6px 21px rgba(0,102,205,.14)}
.app-shell .checkout-method-clickable:focus-visible{outline:3px solid #F3AE3C;outline-offset:3px}
.app-shell .checkout-method-clickable:disabled{opacity:.65;cursor:progress}
.app-shell .checkout-method-clickable .checkout-method-state{background:#0066CD;color:#FFF}
@media(prefers-reduced-motion:reduce){.app-shell .checkout-method-clickable{transition:none}}


/* Checkout experience v3 — menu-backed sample receipt, never a fake settlement. */
.app-shell .checkout-ui{max-width:1050px;margin:0 auto;padding:10px 0 45px}
.app-shell .checkout-title{margin:10px 0 23px}
.app-shell .checkout-title h2{font-size:clamp(29px,3.8vw,39px);letter-spacing:-.05em}
.app-shell .checkout-venue-label{
 display:inline-flex;margin:0 0 8px;padding:7px 11px;border-radius:10px;
 font-size:12px;font-weight:750;color:#254F79;background:#EAF4FF;
 border:1px solid #D4E6F8;
}
.app-shell .checkout-balance{
 position:relative;overflow:hidden;isolation:isolate;
 border:1px solid rgba(255,255,255,.15);
 background:radial-gradient(circle at 93% -23%,rgba(64,145,252,.42),transparent 38%),
 linear-gradient(113deg,#142742 0%,#0E1B30 78%,#081528 100%);
 box-shadow:0 19px 44px rgba(10,29,52,.18);
}
.app-shell .checkout-balance::after{
 content:"";display:block;position:absolute;z-index:-1;
 width:260px;height:260px;right:-104px;bottom:-195px;
 border:1px solid rgba(255,255,255,.12);border-radius:50%;
 box-shadow:0 0 0 35px rgba(255,255,255,.025),0 0 0 72px rgba(255,255,255,.018);
 pointer-events:none;
}
.app-shell .checkout-balance-top>span:first-child{font-weight:650}
.app-shell .checkout-amount{margin:12px 0 17px;text-shadow:0 2px 8px rgba(0,0,0,.08)}
.app-shell .checkout-content-grid{
 display:grid;grid-template-columns:minmax(0,1fr);gap:20px;
 margin-top:20px;align-items:start;
}
.app-shell .checkout-content-with-receipt{
 grid-template-columns:minmax(0,1.08fr) minmax(315px,.92fr);
}
.app-shell .checkout-payment-column{min-width:0}
.app-shell .checkout-method-title{margin:4px 0 17px}
.app-shell .checkout-method-title h3{font-size:20px}
.app-shell .checkout-methods{gap:10px}
.app-shell .checkout-method{
 box-sizing:border-box;min-height:91px;
 border:1px solid #E2EAF4;border-radius:17px;
 background:#fff;box-shadow:0 3px 12px rgba(20,45,78,.035);
 transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease;
}
.app-shell .checkout-method-featured{background:#F8FBFF}
.app-shell .checkout-method-selectable{
 width:100%;appearance:none;font:inherit;text-align:left;cursor:pointer;
 color:inherit;
}
.app-shell .checkout-method-selectable:hover{
 border-color:#9CCAF6;box-shadow:0 7px 23px rgba(20,72,133,.09);
 transform:translateY(-1px);
}
.app-shell .checkout-method-selected,
.app-shell .checkout-method-selectable.checkout-method-selected{
 border:1.6px solid #0066CD;background:#F2F8FF;
 box-shadow:0 0 0 3px rgba(0,102,205,.06),0 5px 15px rgba(17,54,97,.06);
}
.app-shell .checkout-method-selectable:focus-visible,
.app-shell .checkout-sample-add:focus-visible{
 outline:3px solid #ECA835;outline-offset:3px;
}
.app-shell .checkout-method-state{white-space:normal}
.app-shell .checkout-method-selected .checkout-method-state{
 background:#DCEEFF;color:#0059B2;
}
.app-shell .checkout-method-preview{
 display:flex;align-items:start;gap:11px;margin-top:15px;
 padding:15px 16px;background:#F2F7FE;border:1px solid #D9E9FB;
 border-radius:16px;
}
.app-shell .checkout-method-preview-icon{
 display:grid;place-items:center;flex:none;width:29px;height:29px;
 border-radius:9px;background:#DAEBFF;color:#0066CD;font-size:15px;
}
.app-shell .checkout-method-preview strong{
 font-size:13px;color:#153D68;font-weight:850;line-height:1.35;
}
.app-shell .checkout-method-preview p{
 margin:6px 0 0;color:#607991;font-size:12px;line-height:1.55;
}
.app-shell .checkout-receipt{
 background:linear-gradient(180deg,#FFFFFF,#FBFDFF);
 border:1px solid #DFE8F3;border-radius:21px;
 box-shadow:0 9px 30px rgba(17,37,65,.06);
 padding:21px 21px 17px;min-width:0;
}
.app-shell .checkout-receipt-header{display:flex;align-items:start;gap:10px;justify-content:space-between;margin:0 0 18px}
.app-shell .checkout-receipt-eyebrow{
 font-size:10px;font-weight:900;letter-spacing:.11em;color:#2B6BAB
}
.app-shell .checkout-receipt h3{
 margin:5px 0 0;color:#142840;font-size:20px;line-height:1.3;
 letter-spacing:-.035em;font-weight:850;
}
.app-shell .checkout-table-chip{
 display:inline-flex;flex:none;padding:8px 11px;border-radius:11px;
 background:#EAF4FF;color:#145EA9;font-size:11px;font-weight:850;
}
.app-shell .checkout-receipt-list{display:flex;flex-direction:column;gap:0}
.app-shell .checkout-receipt-row{
 display:flex;align-items:center;gap:12px;min-width:0;
 padding:11px 0;border-bottom:1px dashed #DFE8F1;
}
.app-shell .checkout-receipt-thumb{
 display:grid;place-items:center;flex:none;overflow:hidden;
 width:48px;height:48px;border-radius:13px;background:#EDF5FD;font-size:25px;
}
.app-shell .checkout-receipt-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.app-shell .checkout-receipt-name{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.app-shell .checkout-receipt-name strong{
 color:#1B3147;font-size:12px;line-height:1.35;font-weight:800;
}
.app-shell .checkout-receipt-name span{font-size:11px;color:#8291A2}
.app-shell .checkout-receipt-price{
 text-align:right;min-width:65px;flex:none;font-size:12px;
 font-weight:850;color:#192F47;font-variant-numeric:tabular-nums;
}
.app-shell .checkout-receipt-line{
 display:flex;justify-content:space-between;gap:10px;
 font-size:12px;color:#657B90;margin-top:17px;
}
.app-shell .checkout-receipt-line strong{color:#1B3147;font-variant-numeric:tabular-nums}
.app-shell .checkout-receipt-total{
 display:flex;align-items:center;justify-content:space-between;gap:12px;
 margin:13px 0 12px;padding-top:17px;border-top:1px solid #DFE9F5;
 color:#162C42;font-size:15px;font-weight:850;
}
.app-shell .checkout-receipt-total strong{
 color:#0066CD;font-size:22px;letter-spacing:-.04em;
 font-variant-numeric:tabular-nums;overflow-wrap:anywhere;text-align:right
}
.app-shell .checkout-sample-add{
 display:flex;align-items:center;justify-content:center;gap:8px;
 width:100%;min-height:49px;margin:10px 0 0;padding:11px 15px;
 border:1px solid #C2DCFB;border-radius:13px;background:#EBF5FF;
 color:#075CA9;font-family:inherit;font-size:12px;font-weight:850;cursor:pointer;
}
.app-shell .checkout-sample-add:hover{background:#DCEEFF}
.app-shell .checkout-receipt-saved{display:block;margin:13px 0 0;color:#24724F;font-size:11px;font-weight:750}
.app-shell .checkout-receipt-empty{padding:18px 8px;color:#6B8298;font-size:13px;line-height:1.6}
.app-shell .checkout-receipt-foot{
 display:flex;align-items:center;gap:7px;margin-top:17px;
 padding-top:14px;border-top:1px dashed #DCE7F2;
 color:#8293A5;font-size:10px;line-height:1.5;
}
.app-shell .checkout-preview-badge{background:#EFF4F9;color:#587089}
@media(max-width:760px){
 .app-shell .checkout-content-with-receipt{grid-template-columns:minmax(0,1fr)}
 .app-shell .checkout-content-with-receipt .checkout-receipt{order:-1}
 .app-shell .checkout-receipt{padding:18px 16px}
 .app-shell .checkout-content-grid{margin-top:16px;gap:19px}
 .app-shell .checkout-method-title{margin-top:1px}
}
@media(max-width:450px){
 .app-shell .checkout-ui{padding:0 0 24px}
 .app-shell .checkout-title{align-items:flex-start}
 .app-shell .checkout-title-icon{width:42px;height:42px;flex:none}
 .app-shell .checkout-title h2{font-size:30px}
 .app-shell .checkout-balance{padding:21px 18px}
 .app-shell .checkout-balance-top{font-size:11px}
 .app-shell .checkout-method{min-height:79px}
 .app-shell .checkout-receipt-row{gap:9px}
 .app-shell .checkout-receipt-thumb{width:44px;height:44px}
 .app-shell .checkout-receipt-name strong{font-size:12px}
 .app-shell .checkout-receipt-price{min-width:62px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){
 .app-shell .checkout-method{transition:none}
 .app-shell .checkout-method-selectable:hover{transform:none}
}


/* Table QR welcome hub: mobile-first, venue data from canonical menu/D1 API. */
.app-shell.is-menu-view .welcome { display: none; }
.app-shell.is-menu-view .body { padding-top: 17px; }
.app-shell.is-menu-view .tabs { border-bottom-color: #DCE7F2; }
.app-shell.is-menu-view .tab.selected {
  color: #0066CD;
  background: #EFF6FF;
  border-bottom-color: #0066CD;
}
.table-hub { margin: 0 0 27px; }
.table-hub-context {
  display: flex;align-items:center;gap:9px;flex-wrap:wrap;
  margin-bottom: 11px;
}
.table-hub-table,.table-hub-mode {
  display:inline-flex;align-items:center;gap:5px;
  border-radius:100px;background:#EBF4FF;border:1px solid #D3E5F9;
  min-height:29px;padding:5px 11px;color:#115FAE;font:850 11px/1.35 var(--font-sans);
  letter-spacing:.02em;
}
.table-hub-table strong {color:#102A4B;font-size:12px;}
.table-hub-mode {background:#F4F7FA;color:#5D7184;border-color:#E2EAF2}
.table-hub-hero {
  position:relative;display:flex;isolation:isolate;align-items:stretch;
  overflow:hidden;min-height:224px;border-radius:22px;
  background:radial-gradient(circle at 100% 0%,#267FD7 0%,transparent 42%),
    linear-gradient(118deg,#14263E,#0E1D34 85%);
  box-shadow:0 15px 37px rgba(17,27,43,.16);
}
.table-hub-hero::after {
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(7,20,40,.0) 0%,rgba(8,27,50,.0) 50%,rgba(6,20,37,.18) 100%);
  z-index:-1;
}
.table-hub-hero-content {
  position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;
  flex:1;min-width:0;max-width:70%;padding:23px 22px 24px;
}
.table-hub-kicker {
  color:#93CBFF;letter-spacing:.13em;font-size:10px;font-weight:900;
}
.table-hub-hero h2 {
  font:850 clamp(23px,4vw,33px)/1.15 var(--font-sans);
  letter-spacing:-.045em;color:#fff;margin:9px 0 8px;overflow-wrap:anywhere;
}
.table-hub-hero p {
  color:#DCE9F9;margin:0 0 19px;font:450 12px/1.6 var(--font-sans);
  max-width:330px;
}
.table-hub-menu-cta {
  display:inline-flex;align-items:center;justify-content:space-between;
  min-height:49px;gap:17px;padding:11px 17px;border:0;border-radius:13px;
  background:#FFF;color:#0A3B74;box-shadow:0 5px 14px rgba(0,0,0,.11);
  font:850 12px/1.3 var(--font-sans);text-align:left;
}
.table-hub-menu-cta span:last-child {font-size:19px;color:#0066CD}
.table-hub-menu-cta:hover{background:#E9F4FF}
.table-hub-menu-cta:focus-visible {outline:3px solid #FDB73F;outline-offset:3px}
.table-hub-art {
  position:absolute;z-index:1;inset:0 0 0 auto;width:43%;
  display:grid;place-items:center;overflow:hidden;pointer-events:none;
}
.table-hub-photo {
  width:100%;height:100%;object-fit:cover;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 42%);
  mask-image:linear-gradient(to right,transparent 0%,#000 42%);
}
.table-hub-photo-fallback {
  width:140px;height:140px;display:grid;place-items:center;
  font-size:94px;line-height:1;transform:rotate(-12deg);
  filter:drop-shadow(0 13px 24px rgba(0,0,0,.22));
}
.table-hub-service-head {
  display:flex;justify-content:space-between;align-items:center;gap:10px;
  margin:23px 0 12px;
}
.table-hub-service-head h3 {
  color:#111B2B;font:850 18px/1.25 var(--font-sans);letter-spacing:-.035em;margin:0;
}
.table-hub-service-status {
  display:inline-flex;align-items:center;gap:6px;flex:none;
  color:#207145;font:750 10px/1.35 var(--font-sans);
}
.table-hub-service-status.is-closed{color:#AF542D}
.table-hub-status-dot{height:7px;width:7px;flex:none;border-radius:50%;background:#31AC73}
.table-hub-service-status.is-closed .table-hub-status-dot{background:#CE754E}
.table-hub-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.table-hub-service {
  display:flex;position:relative;flex-direction:column;min-height:144px;align-items:flex-start;
  border:1px solid #DCE8F4;background:#F6FAFF;color:#20334A;
  border-radius:17px;padding:14px 12px 12px;text-align:left;
  overflow:hidden;box-shadow:0 4px 15px rgba(30,61,89,.045);
}
.table-hub-service--payment {background:linear-gradient(155deg,#EAF4FF,#FFF);border-color:#CFE3FB}
.table-hub-service--orders {background:linear-gradient(155deg,#F0F7FF,#FFF)}
.table-hub-service--help {background:linear-gradient(155deg,#FFF6EA,#FFF);border-color:#F3E5CE}
.table-hub-service-symbol {
  display:grid;place-items:center;width:39px;height:39px;
  border-radius:12px;background:#D9EAFF;color:#0066CD;font:850 25px/1 var(--font-sans);
  margin-bottom:12px;
}
.table-hub-service--orders .table-hub-service-symbol {background:#DEE9FF;color:#3356AC}
.table-hub-service--help .table-hub-service-symbol {background:#FFF0D8;color:#9D6118}
.table-hub-service strong {
  color:#14253A;font:850 13px/1.25 var(--font-sans);margin-bottom:5px;
}
.table-hub-service-note {
  color:#65798F;font:450 10px/1.45 var(--font-sans);max-width:100%;
  padding-right:5px;
}
.table-hub-service-arrow {
  position:absolute;right:11px;top:12px;color:#7594B4;font-size:15px;
}
.table-hub-service:hover {
  border-color:#8DBFED;box-shadow:0 9px 24px rgba(14,72,135,.1);
  transform:translateY(-1px);
}
.table-hub-service:focus-visible{outline:3px solid #E9A635;outline-offset:3px}
#menu-catalog{scroll-margin-top:90px;border-top:1px solid #E4ECF4;padding-top:19px}
@media(max-width:500px){
 .app-shell.is-menu-view .body{padding:12px 15px 90px}
 .table-hub-hero{min-height:212px;border-radius:19px}
 .table-hub-hero-content{padding:20px 17px 21px;max-width:74%}
 .table-hub-hero h2{font-size:clamp(22px,6vw,28px)}
 .table-hub-hero p{font-size:11px;margin-bottom:16px}
 .table-hub-art{width:47%}
 .table-hub-photo-fallback{font-size:70px}
 .table-hub-service-head h3{font-size:16px}
 .table-hub-services{gap:8px}
 .table-hub-service{border-radius:14px;padding:12px 9px;min-height:145px}
 .table-hub-service-symbol{height:35px;width:35px;font-size:21px;margin-bottom:11px}
 .table-hub-service strong{font-size:12px}
 .table-hub-service-note{font-size:10px}
}
@media(max-width:350px){
 .table-hub-service-status{font-size:9px}
 .table-hub-services{gap:6px}
 .table-hub-service{padding:11px 7px}
 .table-hub-service-note{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
 .table-hub-service{transition:none}
 .table-hub-service:hover{transform:none}
}


/* Guest cashier-service request. Real tracked table orders only. */
.checkout-cashier-request{
 margin:18px 0 10px;padding:21px;
 border:1px solid #CFE3FA;border-radius:19px;
 background:linear-gradient(140deg,#F5FAFF,#FFF);
 box-shadow:0 5px 19px rgba(0,81,160,.055);
}
.checkout-cashier-intro h3{font-size:20px;line-height:1.3;margin:5px 0 8px;color:#10233B;letter-spacing:-.035em;font-weight:850}
.checkout-cashier-intro p{font-size:12px;color:#5B728B;line-height:1.6;margin:0 0 15px}
.checkout-cashier-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.checkout-cashier-option{
 display:flex;align-items:center;justify-content:space-between;gap:6px;
 border:1px solid #BCD6F3;border-radius:12px;background:#FFF;color:#18518C;
 padding:14px 11px;min-height:56px;font-size:12px;font-weight:800;text-align:left;
}
.checkout-cashier-option span:last-child{color:#0066CD;font-size:17px}
.checkout-cashier-option:hover{background:#E5F2FF;border-color:#0066CD}
.checkout-cashier-option:focus-visible,.checkout-cashier-refresh:focus-visible{outline:3px solid #EFB53A;outline-offset:2px}
.checkout-cashier-status{
 padding:14px 16px;background:#E9F7F0;border:1px solid #C0E5D2;border-radius:13px;
}
.checkout-cashier-status strong{color:#1B7549;font-size:14px;font-weight:850}
.checkout-cashier-status p{font-size:12px;color:#447A5D;margin:5px 0 11px;line-height:1.5}
.checkout-cashier-refresh{
 border:1px solid #AAD1BE;border-radius:10px;background:#FFF;
 color:#20794B;min-height:41px;padding:8px 13px;font-size:12px;font-weight:800;
}
.checkout-cashier-pending{font-size:12px;color:#506B87;margin:10px 0 0}
@media(max-width:410px){
 .checkout-cashier-request{padding:16px}
 .checkout-cashier-options{grid-template-columns:1fr}
 .checkout-cashier-option{min-height:48px;padding:11px 13px}
}


/* M09 payment journey: backend-only status, no client settlement. */
.checkout-journey{
  margin:14px 0 18px;padding:13px 14px;border:1px solid #D8E6F4;
  border-radius:16px;background:#F9FBFF;
}
.checkout-journey-list{
  list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;
}
.checkout-journey-step{
  display:flex;align-items:center;justify-content:center;flex-direction:column;
  gap:7px;text-align:center;font-size:11px;font-weight:700;line-height:1.3;
  color:#6B7D91;min-width:0;
}
.checkout-journey-number{
  display:grid;place-items:center;width:29px;height:29px;border:1px solid #DAE4EF;
  border-radius:50%;background:white;color:#73839B;font-size:12px;font-weight:800;
}
.checkout-journey-current{color:#124B90}
.checkout-journey-current .checkout-journey-number{background:#1267C5;border-color:#1267C5;color:#FFF}
.checkout-journey-complete{color:#27724B}
.checkout-journey-complete .checkout-journey-number{background:#E3F6EB;border-color:#BCE4CD;color:#24784B}
.checkout-journey-hint{margin:11px 0 0;color:#516C87;font-size:12px;line-height:1.5}
@media(max-width:350px){
  .checkout-journey{padding:12px 9px}
  .checkout-journey-step{font-size:10px}
}

/* Read-only, Backend-confirmed money breakdown. */
.checkout-financial-breakdown{margin:14px 0 20px;padding:16px;border:1px solid #DCE6F0;border-radius:16px;background:#fff}
.checkout-financial-breakdown h3{margin:0 0 13px;font-size:16px;font-weight:800;color:#193B62}
.checkout-financial-grid{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.checkout-financial-grid>div{min-width:0;padding:11px 13px;border:1px solid #E2EAF2;border-radius:12px;background:#F8FAFD}
.checkout-financial-grid dt{font-size:12px;color:#59718C;line-height:1.4}
.checkout-financial-grid dd{margin:5px 0 0;font-size:17px;font-weight:800;overflow-wrap:anywhere;color:#173C62;font-variant-numeric:tabular-nums}
.checkout-financial-grid .checkout-financial-due{border-color:#B9D9F6;background:#EBF5FF}
.checkout-financial-grid .checkout-financial-due dd{color:#0D5699}
.checkout-financial-breakdown>p{margin:12px 0 0;font-size:12px;line-height:1.5;color:#61738B}
@media(max-width:360px){.checkout-financial-breakdown{padding:12px}.checkout-financial-grid{grid-template-columns:minmax(0,1fr)}}


/* Checkout renders one exact tracked order, never a combined table balance. */
.checkout-exact-order-note{margin:12px 0 18px;padding:12px 14px;border-radius:12px;border:1px solid #C8DDF3;background:#F0F7FF;color:#204D78;font-size:13px;line-height:1.6}
.checkout-verification-notice{margin:12px 0 18px;padding:15px 16px;border:1px solid #E6D6B9;border-radius:14px;background:#FFFAF2;color:#62451C}
.checkout-verification-notice strong{font-size:14px;font-weight:800}
.checkout-verification-notice p{font-size:13px;line-height:1.6;margin:8px 0 0}
.checkout-order-item-selected{background:#F0F7FF;border-color:#B8D4EE;box-shadow:inset 3px 0 0 #2473BD}
@media(max-width:350px){.checkout-exact-order-note,.checkout-verification-notice{padding:12px}}

/* Read-only status refresh is always available for a verified real order,
   including an already-open hosted checkout. */
.checkout-action-refresh{min-height:48px;display:flex;width:100%;align-items:center;justify-content:center;gap:8px;border:1px solid #B5CEE8;border-radius:12px;background:#F2F8FF;color:#16558B;font-size:14px;font-weight:800;cursor:pointer}
.checkout-action-refresh:focus-visible{outline:3px solid #D99536;outline-offset:2px}
.checkout-action-refresh:disabled{opacity:.55;cursor:wait}

/* Manual guest order selection locks on pending payment and cashier requests. */
.app-shell .checkout-order-select{min-height:44px;padding:9px 13px;border-radius:11px;border:1px solid #BDD7EF;background:#F2F8FF;color:#135991;font-size:12px;font-weight:800;cursor:pointer}
.app-shell .checkout-order-select:disabled{cursor:not-allowed;opacity:.55}
.app-shell .checkout-order-select:focus-visible{outline:3px solid #DB9C3C;outline-offset:2px}
.checkout-order-lock{margin:10px 0 16px;padding:12px 14px;border-radius:12px;border:1px solid #F0D59B;background:#FFF7E5;color:#754D0E;font-size:13px;line-height:1.5}

/* Three real-order checkout actions: primary on top, refresh and back below. */
.app-shell .checkout-actions-with-refresh>.checkout-action-primary{grid-column:1 / -1}
@media(max-width:760px){.app-shell .checkout-actions-with-refresh{grid-template-columns:minmax(0,1fr)}.app-shell .checkout-actions-with-refresh>.checkout-action-primary{grid-column:auto}}

/* Root entry steps must lead somewhere: QR guidance or isolated AU demo.
   No client-only CTA can authorize a real merchant order/payment. */
.landing-step--interactive { color: inherit; text-decoration: none; cursor: pointer; }
.landing-step--interactive:hover { border-color: #0066cd; box-shadow: 0 8px 24px rgba(0, 102, 205, .10); }
.landing-step--interactive:focus-visible,
.landing-step--interactive summary:focus-visible,
.landing-primary-cta:focus-visible { outline: 3px solid #0066cd; outline-offset: 3px; }
.landing-step--qr { display: flex; flex-direction: column; }
.landing-step--qr > summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; flex: 1; outline: none; }
.landing-step--qr > summary::-webkit-details-marker { display: none; }
.landing-step-cta { display: inline-flex; align-items: center; gap: 4px; font-weight: 750; font-size: 13px; color: #0066cd; margin-top: auto; padding-top: 10px; }
.landing-step-extra { border-top: 1px dashed #dce6f2; margin-top: 12px; padding-top: 8px; }
.landing-step-extra p { font-size: 13px; line-height: 1.55; color: #435b73; margin: 0; }
.landing-primary-cta { display: inline-flex; align-items: center; justify-content: center; margin-top: 14px; padding: 13px 20px; color: #fff; background: #0066cd; text-decoration: none; font-weight: 700; border-radius: 12px; }
.landing-primary-cta:hover { background: #0054af; color: #fff; }
@media (max-width: 650px) {
  .landing-step--qr { display: block; }
  .landing-step--qr > summary { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: start; }
  .landing-step--qr > summary .landing-step-number { grid-column: 1; grid-row: 1 / span 3; margin: 0; }
  .landing-step--interactive .landing-step-cta { grid-column: 2; margin-top: 6px; padding-top: 0; }
  .landing-step--qr .landing-step-extra { padding-left: 58px; margin-top: 10px; }
}


/* POS6 Customer Web Preview: source app in DEMO mode, never real guest QR. */
.customer-preview-switcher {
  width:min(100%,1120px);margin:14px auto;padding:14px 16px;
  background:#f8fbff;border:1px solid #cfe0f5;border-radius:16px;
  display:grid;gap:11px;box-shadow:0 4px 16px rgb(19 60 107 / 5%);
}
.customer-preview-top{display:flex;gap:14px;align-items:center;justify-content:space-between}
.customer-preview-top strong{font-size:12px;color:#164275;letter-spacing:.02em}
.customer-preview-top p{font-size:12px;line-height:1.5;color:#46607b;margin:5px 0 0}
.customer-preview-copy{
  border:1px solid #a7c2e5;background:#fff;color:#1255a2;min-height:44px;
  flex-shrink:0;padding:8px 13px;border-radius:11px;font:inherit;font-size:12px;font-weight:750;cursor:pointer
}
.customer-preview-copy:focus-visible,.customer-preview-switcher .demo-venue:focus-visible{
  outline:3px solid #1670c8;outline-offset:2px
}
.customer-preview-switcher .demo-venues{display:flex;flex-wrap:wrap;overflow:visible;gap:7px;align-items:center}
.customer-preview-switcher .demo-venue{
  min-height:44px;display:flex;align-items:center;justify-content:center;padding:8px 13px;
  background:#fff;color:#205585;border:1px solid #ccdded;text-decoration:none;border-radius:11px;
  font-size:13px;font-weight:750
}
.customer-preview-switcher .demo-venue.selected{background:#185ca3;color:#fff;border-color:#185ca3}
@media(max-width:480px){
  .customer-preview-switcher{margin:9px auto;padding:12px}
  .customer-preview-top{align-items:flex-start;flex-wrap:wrap}
  .customer-preview-switcher .demo-venues{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .customer-preview-switcher .demo-venue{font-size:12px;overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){.customer-preview-switcher *{scroll-behavior:auto}}

/* Real merchant checkout entry: QR token stays in URL, never persisted as a form value. */
.landing-merchant-qr-input {display:block;width:100%;max-width:640px;min-height:50px;margin:12px 0;border:1px solid #8c9bab;border-radius:12px;background:#fff;color:#142338;font:inherit;padding:12px 14px;box-sizing:border-box;}
.landing-merchant-qr-input:focus-visible {outline:3px solid #1766ce;outline-offset:2px;}
.landing-payment .landing-primary-cta {display:inline-flex;align-items:center;justify-content:center;min-height:49px;margin:10px 0;border:0;cursor:pointer;font:inherit;font-weight:750;}
.landing-payment .landing-primary-cta:focus-visible {outline:3px solid #1766ce;outline-offset:2px;}
.landing-checkout-hint {font-size:.87rem;line-height:1.5;opacity:.85;max-width:62ch;}
.landing-checkout-environment {display:inline-flex;font-size:.72rem;letter-spacing:.08em;font-weight:800;text-transform:uppercase;margin:0 0 12px;}
@media(max-width:650px){.landing-payment .landing-primary-cta,.landing-merchant-qr-input{width:100%;}}
