/* Venue-first QR landing inspired by the supplied restaurant screenshot.
 * Presentation only: no fabricated offers, loyalty, ratings or staff-call API.
 * Rendered venue and table always originate from the guest menu response. */
.app-shell .table-hub {
  --venue-ink: #152b41;
  margin: 0 0 26px;
}
.app-shell .table-hub-venue-bar {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 8px 1px 16px;
  color: var(--venue-ink);
}
.app-shell .table-hub-venue-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #e58b1f;
  background: #fff3e0;
  font-size: 27px;
}
.app-shell .table-hub-venue-details {
  min-width: 0;
  flex: 1;
}
.app-shell .table-hub-venue-eyebrow {
  display: block;
  color: #6c7a8b;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .08em;
}
.app-shell .table-hub-venue-details h2 {
  color: var(--venue-ink);
  margin: 3px 0 0;
  font-size: clamp(20px, 4.4vw, 29px);
  line-height: 1.24;
  font-weight: 820;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.app-shell .table-hub-venue-language {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #edf0f4;
  border-radius: 14px;
  background: #fff;
  font-size: 24px;
}
.app-shell .table-hub-hero {
  min-height: 218px !important;
  max-height: 256px;
  align-items: flex-end;
  background: linear-gradient(130deg,#e4eedf,#c9d8ba) !important;
  box-shadow: 0 8px 24px rgba(17,27,43,.07);
}
.app-shell .table-hub-hero::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,rgba(12,29,22,.74),rgba(17,43,28,.24) 70%,rgba(20,43,32,.06));
}
.app-shell .table-hub-hero::after { display: none; }
.app-shell .table-hub-hero .table-hub-art {
  z-index: 1;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  max-height: none;
  height: 100% !important;
}
.app-shell .table-hub-hero .table-hub-photo {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  -webkit-mask-image: none;
  mask-image: none;
}
.app-shell .table-hub-hero .table-hub-photo-fallback {
  width: 100%;
  height: 100%;
  transform: none;
  border-radius: 0;
  background: radial-gradient(circle at 83% 48%,rgba(255,245,190,.7),transparent 26%),linear-gradient(120deg,#75a78f,#bed0a2);
  filter: none;
  font-size: 94px;
  justify-content: end;
  padding-right: 10%;
}
.app-shell .table-hub-hero-content {
  z-index: 3;
  width: 100%;
  max-width: min(74%, 540px);
  padding: 23px 26px 25px;
}
.app-shell .table-hub-banner-name {
  margin: 5px 0 8px;
  font-weight: 850;
  font-size: clamp(23px,4vw,32px);
  line-height: 1.15;
  letter-spacing: -.03em;
  color: #fff;
  overflow-wrap: anywhere;
}
.app-shell .table-hub-kicker {
  color: #ffedb4;
  font-size: 11px;
  letter-spacing: .13em;
}
.app-shell .table-hub-hero p {
  max-width: 300px;
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: #fff;
}
.app-shell .table-hub-greeting {
  text-align: center;
  padding: 22px 12px 17px;
}
.app-shell .table-hub-greeting h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  color: var(--venue-ink);
  font-size: clamp(19px, 3.9vw, 26px);
  line-height: 1.3;
  font-weight: 800;
}
.app-shell .table-hub-greeting h3 strong { color: #0066cd; }
.app-shell .table-hub-greeting p {
  margin: 9px 0 10px;
  color: #516275;
  font-size: 13px;
}
.app-shell .table-hub-greeting .table-hub-context {
  justify-content: center;
  margin: 0;
}
.app-shell .table-hub-greeting .table-hub-table {
  min-height: 31px;
  padding: 5px 13px;
  color: #264761;
  font-size: 12px;
  border: 1px solid #d6e3ed;
  background: #f4f8fb;
}
.app-shell .table-hub-service-head { margin: 15px 0 12px; }
.app-shell .table-hub-services { gap: 12px; }
.app-shell .table-hub-service {
  min-width: 0;
  min-height: 151px;
  border: 1px solid #e9e7e4;
  border-radius: 19px;
  padding: 16px 14px;
  box-shadow: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.app-shell .table-hub-service--payment { background: linear-gradient(145deg,#fff2e7,#e6f6ff); }
.app-shell .table-hub-service--orders { background: linear-gradient(145deg,#fff0e6,#e5f6ee); }
.app-shell .table-hub-service--help { background: linear-gradient(145deg,#fff0de,#fff9ef); }
.app-shell .table-hub-service strong {
  order: 0;
  margin: 0 0 7px;
  font-size: 15px;
  color: var(--venue-ink);
}
.app-shell .table-hub-service-symbol {
  position: absolute;
  right: 10px;
  bottom: 7px;
  width: 62px;
  height: 62px;
  margin: 0;
  background: transparent !important;
  font-size: 40px;
  line-height: 1;
}
.app-shell .table-hub-service-note {
  order: 1;
  max-width: 80%;
  color: #5b6e7f;
  font-size: 11px;
  line-height: 1.4;
}
.app-shell .table-hub-service-arrow { display: none; }
.app-shell .table-hub-menu-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 107px;
  margin: 19px 0 0;
  padding: 23px 25px;
  border: 0;
  border-radius: 20px;
  color: #513114;
  background: linear-gradient(112deg,#ffc56c 0%,#ffda8a 58%,#fff1b8 100%);
  box-shadow: 0 5px 16px rgba(145,83,17,.10);
  font-size: clamp(19px,4.3vw,25px);
  font-weight: 850;
  line-height: 1.3;
  text-align: left;
}
.app-shell .table-hub-menu-tile span:last-child {
  display: grid;
  place-items: center;
  flex: none;
  width: 41px;
  height: 41px;
  border-radius: 50%;
  color: #c36b09;
  background: rgba(255,255,255,.66);
  font-size: 24px;
}
.app-shell .table-hub-menu-tile:hover { background: linear-gradient(112deg,#ffb649,#ffd374,#ffedac); }
.app-shell .table-hub-menu-tile:focus-visible,
.app-shell .table-hub-service:focus-visible { outline: 3px solid #0066cd; outline-offset: 3px; }
@media (max-width: 719px) {
  .app-shell .table-hub-venue-bar { padding: 5px 1px 14px; }
  .app-shell .table-hub-hero { min-height: 185px !important; border-radius: 20px; }
  .app-shell .table-hub-hero-content { padding: 19px 19px 22px; max-width: 80%; }
  .app-shell .table-hub-banner-name { font-size: 23px; }
  .app-shell .table-hub-greeting { padding: 21px 4px 16px; }
  .app-shell .table-hub-service { min-height: 138px; padding: 15px 11px; }
  .app-shell .table-hub-service strong { font-size: 13px; }
  .app-shell .table-hub-service-note { font-size: 10px; }
  .app-shell .table-hub-service-symbol { width: 52px; height: 52px; font-size: 35px; right: 5px; bottom: 5px; }
  .app-shell .table-hub-menu-tile { min-height: 91px; padding: 18px 20px; font-size: 19px; }
}
@media (max-width: 370px) {
  .app-shell .table-hub-services { gap: 7px; }
  .app-shell .table-hub-service { padding: 12px 8px; }
  .app-shell .table-hub-service strong { font-size: 12px; }
  .app-shell .table-hub-service-note { font-size: 9px; }
  .app-shell .table-hub-service-symbol { font-size: 30px; }
  .app-shell .table-hub-hero-content { max-width: 88%; }
}
@media (prefers-reduced-motion: reduce) {
  .app-shell .table-hub-service { transition: none; }
  .app-shell .table-hub-service:hover { transform: none; }
}

/* Menu-first QR ordering (2026-10-26).
 * For valid QR/kiosk/demo entries: verified venue/table, then real menu.
 * Additional services are opt-in disclosure; no invented loyalty/payment API. */
.app-shell .table-hub--menu-first {
  margin: 0 0 10px;
  padding: 0;
}
.app-shell .table-hub--menu-first .menu-first-identity {
  display: flex;
  align-items: center;
  gap: 13px;
  justify-content: space-between;
  padding: 11px 13px;
  background: linear-gradient(110deg,#f5f9fe,#fff);
  border: 1px solid #e3eaf3;
  border-radius: 16px;
}
.app-shell .table-hub--menu-first .menu-first-venue { min-width: 0; flex: 1; }
.app-shell .table-hub--menu-first .menu-first-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .065em;
  color: #667992;
}
.app-shell .table-hub--menu-first h2 {
  margin: 3px 0 7px;
  color: #15263b;
  font-size: clamp(17px,4.4vw,22px);
  line-height: 1.22;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.app-shell .table-hub--menu-first .menu-first-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 9px;
  align-items: center;
  font-size: 11px;
}
.app-shell .table-hub--menu-first .menu-first-table {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #18518f;
  font-weight: 750;
}
.app-shell .table-hub--menu-first .menu-first-table strong { color:#0d376b; }
.app-shell .table-hub--menu-first .menu-first-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #146b46;
  font-weight: 700;
}
.app-shell .table-hub--menu-first .menu-first-status.is-closed { color: #a64b32; }
.app-shell .table-hub--menu-first .menu-first-status-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: #2a9e69;
}
.app-shell .table-hub--menu-first .menu-first-status.is-closed .menu-first-status-dot { background:#c66146; }
.app-shell .table-hub--menu-first .menu-first-thumbnail {
  width: 76px;
  height: 76px;
  flex: none;
  overflow: hidden;
  border-radius: 12px;
  background: #e9f3e7;
}
.app-shell .table-hub--menu-first .menu-first-photo,
.app-shell .table-hub--menu-first .menu-first-photo-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  object-fit: cover;
}
.app-shell .table-hub--menu-first .menu-first-photo-fallback { font-size: 38px; }
.app-shell .table-hub--menu-first .menu-first-utilities { margin-top: 5px; }
.app-shell .table-hub--menu-first .menu-first-utilities > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  min-height: 42px;
  padding: 8px 12px;
  color: #285987;
  font-size: 12px;
  font-weight: 750;
  border-radius: 11px;
  list-style: none;
}
.app-shell .table-hub--menu-first .menu-first-utilities > summary::-webkit-details-marker { display: none; }
.app-shell .table-hub--menu-first .menu-first-utilities > summary:hover,
.app-shell .table-hub--menu-first .menu-first-utilities[open] > summary { background:#edf5ff; }
.app-shell .table-hub--menu-first .menu-first-utilities[open] > summary span { transform:rotate(180deg); }
.app-shell .table-hub--menu-first .menu-first-utilities > summary:focus-visible {
  outline: 3px solid #0066cd;
  outline-offset: 2px;
}
.app-shell .table-hub--menu-first .menu-first-utility-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
  padding: 8px 0;
}
.app-shell .table-hub--menu-first .table-hub-service {
  min-width: 0;
  min-height: 91px;
  padding: 10px;
  border-radius: 12px;
}
.app-shell .table-hub--menu-first .table-hub-service strong {
  font-size: 12px;
  margin-bottom: 3px;
  padding-right: 20px;
}
.app-shell .table-hub--menu-first .table-hub-service-note {
  max-width: 92%;
  font-size: 10px;
}
.app-shell .table-hub--menu-first .table-hub-service-symbol {
  font-size: 24px;
  width: 32px;
  height: 32px;
  right: 1px;
  bottom: 0;
}
.app-shell .table-hub--menu-first + #menu-catalog {
  border-top: 0;
  padding-top: 0;
  scroll-margin-top: 70px;
}
@media(max-width:500px){
  .app-shell .table-hub--menu-first .menu-first-identity { padding: 9px 11px; gap: 10px; }
  .app-shell .table-hub--menu-first .menu-first-thumbnail { width: 65px; height: 65px; }
  .app-shell .table-hub--menu-first .menu-first-status { font-size: 10px; }
  .app-shell .table-hub--menu-first .menu-first-meta { font-size: 10px; }
}
@media(max-width:350px){
  .app-shell .table-hub--menu-first h2 { font-size: 16px; }
  .app-shell .table-hub--menu-first .menu-first-thumbnail { width: 52px; height: 52px; }
  .app-shell .table-hub--menu-first .menu-first-utility-grid { gap: 6px; }
  .app-shell .table-hub--menu-first .table-hub-service { padding: 8px; }
}
@media(prefers-reduced-motion:reduce){
  .app-shell .table-hub--menu-first * { scroll-behavior: auto; transition: none; }
}
