/**
 * Stage 3 — Group tab («Столы») layout only.
 * Scope: #f7-app-root #tab-group …
 * Do NOT style Swiper internals (.swiper-wrapper / .swiper-slide).
 */

#f7-app-root #tab-group {
  min-height: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

#f7-app-root #tab-group #grp-zone-strip-outer {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

#f7-app-root #tab-group #grp-zone-strip-bubble {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

#f7-app-root #tab-group #grp-zone-strip {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

#f7-app-root #tab-group #grp-zone-strip::-webkit-scrollbar {
  display: none;
}

#f7-app-root #tab-group #grp-zone-strip .grp-zone-pill {
  flex: 0 0 auto;
  width: auto;
  display: inline-flex;
  max-width: none;
}

#f7-app-root #tab-group #grp-sticky-top {
  flex-shrink: 0;
}

#f7-app-root #tab-group #grp-list-view {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#f7-app-root #tab-group #tables-zones-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

#f7-app-root #tab-group .toggle-zone-tables-btn {
  display: inline-block;
  width: auto;
  max-width: calc(100% - 32px);
  margin: 4px 16px 12px;
  box-sizing: border-box;
}

#f7-app-root #tab-group .f7-tables-tab-placeholder {
  padding: 28px 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

/* Snap fix: legacy transition/transform on strip/header only */
#f7-app-root #tab-group #grp-sticky-top,
#f7-app-root #tab-group #grp-list-header,
#f7-app-root #tab-group #grp-zone-strip-outer,
#f7-app-root #tab-group #grp-zone-strip-bubble,
#f7-app-root #tab-group #grp-zone-strip,
#f7-app-root #tab-group #grp-list-view {
  transform: none;
  transition: none;
  will-change: auto;
}

#f7-app-root #tab-group #grp-zone-strip .grp-zone-pill {
  transition: none;
}

/*
 * Zone strip: keep visible (min-height only). Do not display:none — caused
 * «Столы» container to disappear when pills not yet rendered.
 */
#f7-app-root #tab-group #grp-zone-strip-outer:not(:has(.grp-zone-pill)) {
  min-height: 0;
  padding-bottom: 0;
}
