/**
 * Phase 1 — isolated root swipe boundary proof lab (opt-in ?rootSwipeBoundaryProof=1).
 * Lab-scoped layout only; does not affect production root tabs runtime.
 */

#f7-app-root .page-root-swipe-boundary-lab .f7-root-swipe-boundary-lab-page {
  padding: 0 !important;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

#f7-app-root .page-root-swipe-boundary-lab swiper-container.f7-root-swipe-boundary-lab {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  overflow: hidden;
  box-sizing: border-box;
}

#f7-app-root .page-root-swipe-boundary-lab swiper-slide.boundary-slide {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
}

#f7-app-root .page-root-swipe-boundary-lab .boundary-proof-card {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin: 12px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  color: #fff;
  box-sizing: border-box;
  overflow: hidden;
}

#f7-app-root .page-root-swipe-boundary-lab .boundary-proof-card--0 {
  background: linear-gradient(145deg, #1a4d8f, #0d2a52);
}

#f7-app-root .page-root-swipe-boundary-lab .boundary-proof-card--1 {
  background: linear-gradient(145deg, #6b2d8f, #3a1652);
}

#f7-app-root .page-root-swipe-boundary-lab .boundary-proof-card--2 {
  background: linear-gradient(145deg, #0f7a4d, #06402a);
}

#f7-app-root .page-root-swipe-boundary-lab .boundary-proof-card--3 {
  background: linear-gradient(145deg, #b35a00, #6a3400);
}

#f7-app-root .page-root-swipe-boundary-lab .boundary-proof-card--4 {
  background: linear-gradient(145deg, #8f1a3a, #520f22);
}

#f7-app-root .page-root-swipe-boundary-lab #f7-boundary-lab-diag {
  flex: 0 0 auto;
  max-height: 28vh;
  margin: 0;
  padding: 8px 10px;
  font-size: 10px;
  line-height: 1.35;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
