/* ── Apple-style cinematic tour cards ──────────────────────── */
.tbs-tour-card {
  display: block;
  padding: clamp(1.5rem, 4vw, 2.75rem) 0;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.tbs-tour-card__face {
  padding-left: clamp(0.75rem, 2.2vw, 1.25rem);
  padding-right: clamp(0.75rem, 2.2vw, 1.25rem);
}
.tbs-tour-card__detail {
  display: none !important;
}

/* The card tile itself */
.tbs-chapter-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: clamp(280px, 38vw, 460px);
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--tbs-ink, #14181f);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
  will-change: transform;
}
.tbs-tour-card:hover .tbs-chapter-card {
  transform: scale(1.012);
}
.tbs-tour-card:focus-visible .tbs-chapter-card {
  outline: 3px solid var(--text--brand, #b8501e);
  outline-offset: 3px;
}

/* Left copy panel */
.tbs-chapter-card__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
}
.tbs-chapter-card__badge {
  width: fit-content;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  background: transparent !important;
}
.tbs-chapter-card__heading {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}
.tbs-chapter-card__heading em {
  font-style: italic;
  color: rgba(253, 250, 244, 0.82);
}
.heading-dark {
  color: var(--tbs-ink, #14181f);
}
.heading-dark em {
  color: rgba(20, 24, 31, 0.72);
}
.tbs-chapter-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  width: fit-content;
  transition: background 0.16s ease;
  pointer-events: none;
}
.tbs-tour-card:hover .tbs-chapter-card__btn {
  background: rgba(255, 255, 255, 0.2);
}

/* Right visual panel */
.tbs-chapter-card__visual {
  position: relative;
  overflow: hidden;
}
.tbs-chapter-card__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

@media screen and (max-width: 767px) {
  .tbs-chapter-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(180px, 50vw);
  }
  .tbs-chapter-card__copy {
    justify-content: flex-start;
  }
  .tbs-chapter-card__visual {
    min-height: 180px;
  }
  .tbs-chapter-card__visual img {
    position: absolute;
  }
}

/* Modal pillars in sheet */
.tbs-modal-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.65rem, 2vw, 1rem);
  margin-top: 1.25rem;
  width: 100%;
}
.tbs-modal-pillars .tbs-shift-pillar {
  padding: 1rem 1.1rem;
  border-radius: 0.75rem;
  background: #ffffff;
  border: 1px solid rgba(20, 24, 31, 0.1);
  height: 100%;
  box-sizing: border-box;
}
@media screen and (max-width: 639px) {
  .tbs-modal-pillars {
    grid-template-columns: 1fr;
  }
}
.tbs-modal-pillars .tbs-shift-pillar-header {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.35rem;
}
.tbs-modal-pillars .tbs-shift-pillar-header small {
  font-size: 0.75rem;
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tbs-modal-pillars .tbs-shift-pillar-header .subheading-large {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--tbs-ink, #14181f);
}

/* GS1 URI anatomy — chapter card + modal */
.tbs-uri-chapter-card {
  background: var(--tbs-paper, #f5f1e8);
  border: 1px solid rgba(20, 24, 31, 0.1);
}
.tbs-uri-chapter-card .tbs-chapter-card__copy {
  color: var(--tbs-ink, #14181f);
}
.tbs-uri-chapter-card .tbs-chapter-card__badge {
  border-color: rgba(20, 24, 31, 0.2) !important;
  color: rgba(20, 24, 31, 0.9) !important;
}
.tbs-uri-chapter-card .tbs-chapter-card__heading {
  color: var(--tbs-ink, #14181f);
}
.tbs-uri-chapter-card .tbs-chapter-card__heading em {
  color: rgba(20, 24, 31, 0.6);
}
.tbs-uri-chapter-card .tbs-chapter-card__btn {
  color: var(--tbs-ink, #14181f);
  background: rgba(20, 24, 31, 0.06);
  border-color: rgba(20, 24, 31, 0.16);
}
.tbs-uri-chapter-card:hover .tbs-chapter-card__btn {
  background: rgba(20, 24, 31, 0.1);
}
.tbs-uri-chapter-card__visual {
  background: transparent;
}
.tbs-uri-chapter-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center center;
  opacity: 0.92;
}
.tbs-uri-preview-card {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  background: linear-gradient(
    180deg,
    rgba(245, 241, 232, 0) 0%,
    rgba(245, 241, 232, 0.78) 38%,
    var(--tbs-paper, #f5f1e8) 100%
  );
}
.tbs-uri-static-uri {
  font-size: clamp(0.72rem, 0.65rem + 0.55vw, 0.92rem);
  line-height: 1.65;
  word-break: break-all;
}
.tbs-uri-preview-card .tbs-uri-static-uri {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(20, 24, 31, 0.14);
  border-radius: 0.65rem;
  padding: 0.55rem 0.7rem;
  box-shadow: 0 1px 0 rgba(20, 24, 31, 0.05);
}
.tbs-uri-preview-card .uri-em-fixed {
  color: #1f4e5f;
}
.tbs-uri-preview-card .uri-em-product {
  color: #2d6a4f;
}
.tbs-uri-preview-card .uri-em-variable {
  color: #b8501e;
}
.tbs-uri-preview-card .uri-em-muted {
  color: rgba(20, 24, 31, 0.65);
  opacity: 1;
}
.tbs-uri-serial-optional .uri-em-muted,
.tbs-uri-serial-optional .uri-em-variable {
  opacity: 0.82;
}
.uri-optional-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.4rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(184, 80, 30, 0.95);
  background: rgba(184, 80, 30, 0.1);
  border: 1px solid rgba(184, 80, 30, 0.28);
  border-radius: 999px;
  vertical-align: middle;
}
.uri-optional-badge--serial {
  margin-left: 0.2rem;
}
.tbs-uri-optional-note {
  margin: 0.45rem 0 0;
  font-size: 0.68rem;
  line-height: 1.45;
  color: rgba(20, 24, 31, 0.62);
}
.tbs-uri-card-optional-note {
  margin: 0.5rem 0 0.65rem;
  font-size: 0.68rem;
  line-height: 1.45;
  color: rgba(20, 24, 31, 0.62);
}
.tbs-uri-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.72rem;
  color: rgba(20, 24, 31, 0.72);
}
.tbs-uri-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.tbs-uri-legend__swatch {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  flex-shrink: 0;
}
.tbs-uri-legend__swatch.is-fixed {
  background: #6eb8cc;
}
.tbs-uri-legend__swatch.is-product {
  background: #ffffff;
}
.tbs-uri-legend__swatch.is-variable {
  background: #b8501e;
}
.tbs-uri-modal-uri {
  margin-top: 0.95rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: #ffffff;
  border: 1px solid rgba(20, 24, 31, 0.1);
  font-size: clamp(0.78rem, 0.72rem + 0.35vw, 0.92rem);
}
.tbs-uri-modal-cards {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.65rem, 2vw, 1rem);
}
.tbs-uri-modal-card {
  border: 1px solid rgba(20, 24, 31, 0.1);
  border-radius: 0.75rem;
  background: #ffffff;
  padding: 0.95rem 1rem;
}
.tbs-uri-modal-card > small {
  display: block;
  opacity: 0.6;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tbs-uri-modal-card .subheading-x-large {
  margin-bottom: 0.5rem;
}
.tbs-uri-modal-card .uri-bucket-snippet {
  margin-bottom: 0.65rem;
}
.tbs-uri-modal-card .uri-bucket-cadence {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  opacity: 0.65;
}
@media screen and (max-width: 991px) {
  .tbs-uri-modal-cards {
    grid-template-columns: 1fr;
  }
}
.tbs-uri-modal-note {
  margin-top: 1.25rem;
  line-height: 1.55;
}
@media screen and (max-width: 767px) {
  .tbs-tour-card__face {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* ── Product tour: Apple shelf + zones ─────────────────────── */
.tbs-tour-shell {
  --tbs-tour-shelf-slot: 5.75rem;
  background-color: var(--tbs-cream, #fdfaf4);
}
.tbs-tour-shelf-sentinel {
  height: 1px;
  margin: 0;
  pointer-events: none;
}
.tbs-product-tour {
  padding-top: clamp(2rem, 5vw, 3.25rem);
  padding-bottom: 1rem;
  background-color: var(--tbs-cream, #fdfaf4);
}
.tbs-tour-intro {
  margin-bottom: 0;
}
.tbs-tour-shelf-wrap {
  height: var(--tbs-tour-shelf-slot);
  pointer-events: none;
}
.tbs-tour-shelf-sticky {
  position: sticky;
  top: 82px;
  z-index: 40;
  margin-top: calc(-1 * var(--tbs-tour-shelf-slot));
  background-color: var(--tbs-cream, #fdfaf4);
  box-shadow: 0 1px 0 rgba(20, 24, 31, 0.06);
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  padding: 0.35rem 0 0.55rem;
}
.tbs-tour-shelf-sticky.is-pinned {
  box-shadow: 0 1px 0 rgba(20, 24, 31, 0.1);
}
.tbs-tour-shelf-sticky .container-large {
  padding-left: var(--padding--container, 1.25rem);
  padding-right: var(--padding--container, 1.25rem);
}
.tbs-tour-zone,
.tbs-tour-zone section {
  scroll-margin-top: 148px;
}
.tbs-tour-shell .tbs-section--edu,
.tbs-tour-shell .tbs-section--cream,
.tbs-tour-shell section:not(.tbs-section--proof) {
  background-color: var(--tbs-cream, #fdfaf4);
}
.tbs-tour-shell section.border-top:not(.tbs-section--proof) {
  border-top: none;
}
.tbs-tour-shelf {
  display: flex;
  flex-direction: row;
  gap: clamp(1rem, 2.5vw, 2rem);
  min-width: min-content;
  padding: 0.25rem 0.15rem;
  align-items: center;
  justify-content: flex-start;
}
.tbs-tour-shelf__item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  width: auto;
  min-width: 0;
  max-width: none;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  opacity: 0.72;
}
.tbs-tour-shelf__item:hover,
.tbs-tour-shelf__item.is-active {
  opacity: 1;
}
.tbs-tour-shelf__item.is-active {
  box-shadow: 0 0 0 2px var(--text--brand, #b8501e);
  border-radius: 0.7rem;
  padding: 0.28rem 0.55rem 0.28rem 0.3rem;
}
.tbs-tour-shelf__item.is-active .tbs-tour-shelf__thumb {
  outline: none;
}
.tbs-tour-shelf__thumb {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 0.65rem;
  overflow: hidden;
  background: #e8e4db;
  display: block;
  flex-shrink: 0;
}
.tbs-tour-shelf__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gsp-sunerise {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tbs-ink, #14181f);
  padding: 6px;
  box-sizing: border-box;
}

.gsp-sunerise #shelf-gs1-milvora-qrcode,
.gsp-sunerise #shelf-gs1-milvora-qrcode img,
.gsp-sunerise #shelf-gs1-milvora-qrcode canvas {
  display: block;
  width: 44px !important;
  height: 44px !important;
  image-rendering: pixelated;
}

@media screen and (min-width: 992px) {
  .gsp-sunerise #shelf-gs1-milvora-qrcode,
  .gsp-sunerise #shelf-gs1-milvora-qrcode img,
  .gsp-sunerise #shelf-gs1-milvora-qrcode canvas {
    width: 170px !important;
    height: 170px !important;
  }
}
.tbs-tour-shelf__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  flex: 1;
  min-width: 0;
}
.tbs-tour-shelf__label {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
}
.tbs-tour-shelf__desc {
  display: none;
  margin: 0;
  padding: 0;
}
.tbs-tour-shelf-sticky,
.tbs-tour-shelf-sticky * {
  transition: none !important;
  animation: none !important;
}
.tbs-tour-zone {
  scroll-margin-top: 132px;
}

/* Desktop: large shelf cards, no sticky/self mode */
@media screen and (min-width: 992px) {
  .tbs-tour-shell {
    --tbs-tour-shelf-slot: 27rem;
  }
  .tbs-tour-shelf-sentinel,
  .tbs-tour-shelf-wrap {
    display: none;
  }
  .tbs-tour-shelf-sticky {
    position: static;
    margin-top: 0;
    padding: 0.65rem 0 0.85rem;
    box-shadow: none;
  }
  .tbs-tour-shelf-sticky.is-pinned {
    box-shadow: none;
  }
  .tbs-tour-zone,
  .tbs-tour-zone section {
    scroll-margin-top: 360px;
  }
  .tbs-tour-zone {
    scroll-margin-top: 340px;
  }
  .tbs-tour-shelf {
    gap: clamp(1.25rem, 3.5vw, 2.75rem);
    align-items: flex-start;
  }
  .tbs-tour-shelf__item {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    width: clamp(11.5rem, 20vw, 17rem);
    padding: 0;
  }
  .tbs-tour-shelf__item.is-active {
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }
  .tbs-tour-shelf__item.is-active .tbs-tour-shelf__thumb {
    outline: 2px solid var(--text--brand, #b8501e);
    outline-offset: 3px;
  }
  .tbs-tour-shelf__thumb {
    width: 100%;
    height: auto;
    min-width: 0;
    aspect-ratio: 1 / 1;
    border-radius: 1.35rem;
    box-shadow: 0 2px 12px rgba(20, 24, 31, 0.08);
  }
  .tbs-tour-shelf__copy {
    align-items: center;
    gap: 0.4rem;
    flex: none;
    width: 100%;
  }
  .tbs-tour-shelf__label {
    font-size: clamp(1.125rem, 2.35vw, 1.5rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-align: center;
    white-space: normal;
  }
  .tbs-tour-shelf__desc {
    display: block;
    font-size: clamp(0.75rem, 1.2vw, 0.8125rem);
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    color: rgba(20, 24, 31, 0.62);
    max-height: 2.85em;
    overflow: hidden;
  }
}
.tbs-tour-zone > section,
.tbs-tour-zone > .section-large,
.tbs-tour-zone > .section-medium,
.tbs-tour-zone > .section-x-small {
  scroll-margin-top: 120px;
}
.tbs-tour-link-btn {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
  color: var(--text--brand, #b8501e);
}
.tbs-tour-sheet {
  border: none;
  padding: 0;
  margin: 0;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  background: transparent;
  overflow: hidden;
}
.tbs-tour-sheet::backdrop {
  background: rgba(20, 24, 31, 0.5);
}
.tbs-tour-sheet__backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
}
.tbs-tour-sheet__panel {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 0;
  z-index: 1;
  width: min(1100px, calc(100% - 1.5rem));
  max-height: min(90vh, 920px);
  overflow: auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.5rem);
  padding-top: 0.75rem;
  border-radius: 1.25rem 1.25rem 0 0;
  background: #fdfaf4;
  color: var(--text--primary, #14181f);
  box-shadow: 0 -24px 80px rgba(20, 24, 31, 0.22);
  transform: translate(-50%, 100%);
  transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
}
/* open/close state handled by JS inline style */
.tbs-tour-sheet__handle {
  width: 2.25rem;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(20, 24, 31, 0.18);
  margin: 0.35rem auto 1rem;
}
.tbs-tour-sheet__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: rgba(20, 24, 31, 0.06);
  border-radius: 999px;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}
.tbs-tour-sheet__title {
  width: 100%;
  max-width: none;
  padding-right: 2.5rem;
  margin-bottom: 1rem;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--tbs-ink, #14181f);
}
.tbs-tour-sheet__body {
  width: 100%;
  max-width: none;
}
.tbs-tour-sheet__body ul,
.tbs-tour-sheet__body ol {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}
.tbs-tour-sheet__body li + li {
  margin-top: 0.5rem;
}
/* .tbs-tour-sheet__body p + p {
  margin-top: 0.75rem;
} */
.tbs-tour-sheet__body code {
  font-family: var(--font--mono, "JetBrains Mono", monospace);
  font-size: 0.88em;
}
@media screen and (min-width: 992px) {
  .tbs-tour-sheet__panel {
    width: min(1100px, calc(100% - 2rem));
  }
}

/* Industry shift: portrait + content split */
.tbs-shift-layout {
  display: grid;
  grid-template-columns: minmax(320px, 440px) minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: start;
}
.tbs-shift-portrait {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  transition: height 0.1s linear;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.tbs-shift-portrait .image-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 1 1 auto;
  min-height: 0;
}
/* #the-shift: full-bleed background image + left gradient for copy */
#the-shift .tbs-chapter-card--shift-bg {
  display: block;
  position: relative;
  isolation: isolate;
  min-height: clamp(300px, 42vw, 480px);
}
#the-shift .tbs-chapter-card--shift-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(20, 24, 31, 0.94) 0%,
    rgba(20, 24, 31, 0.82) 32%,
    rgba(20, 24, 31, 0.45) 55%,
    rgba(20, 24, 31, 0.15) 78%,
    rgba(20, 24, 31, 0.05) 100%
  );
  pointer-events: none;
}
#the-shift .tbs-chapter-card--shift-bg .tbs-chapter-card__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#the-shift .tbs-chapter-card--shift-bg .tbs-chapter-card__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
#the-shift .tbs-chapter-card--shift-bg .tbs-chapter-card__copy {
  position: relative;
  z-index: 2;
  max-width: min(34rem, 52%);
  min-height: clamp(300px, 42vw, 480px);
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  #the-shift .tbs-chapter-card--shift-bg::before {
    background: linear-gradient(
      180deg,
      rgba(20, 24, 31, 0.92) 0%,
      rgba(20, 24, 31, 0.78) 42%,
      rgba(20, 24, 31, 0.35) 68%,
      rgba(20, 24, 31, 0.12) 100%
    );
  }
  #the-shift .tbs-chapter-card--shift-bg .tbs-chapter-card__copy {
    max-width: none;
    min-height: clamp(360px, 72vw, 520px);
    justify-content: flex-end;
  }
  #the-shift .tbs-chapter-card--shift-bg .tbs-chapter-card__visual img {
    object-position: center 35%;
  }
}

#the-shift .tbs-chapter-card__qr.tbs-shift-qr-row {
  width: 100%;
  justify-content: flex-start;
  padding: 0 0 0.65rem;
  box-sizing: border-box;
}
#the-shift .tbs-chapter-card__qr .tbs-shift-qr-row-inner {
  justify-content: flex-start;
}
#the-shift .tbs-shift-qr-row {
  width: 100%;
  flex: none;
  display: flex;
  justify-content: center;
  padding: 0 12px 12px;
  box-sizing: border-box;
}
#the-shift .tbs-shift-qr-row-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #5a6259;
  padding: 8px;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: p;
}
#the-shift .tbs-shift-qr {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  line-height: 0;
}
#the-shift .tbs-shift-qr-human {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  color: #fff;
  font-family: Arial, Helvetica, "Helvetica Neue", sans-serif;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}
#the-shift .tbs-shift-qr-lot {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
#the-shift .tbs-shift-qr img,
#the-shift .tbs-shift-qr canvas {
  width: 52px !important;
  height: 52px !important;
  display: block;
  image-rendering: pixelated;
}
.tbs-shift-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: auto;
  align-self: start;
}
.tbs-shift-layout.tbs-shift-layout--mirror {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  /* Row height follows the text column; image height is set in JS to match */
  align-items: start;
}
.tbs-one-code-content {
  width: 100%;
}
/* One-code: wrapper height = content column (see ResizeObserver); img fills box */
#one-code-audiences .tbs-one-code-portrait.image-card {
  min-height: 0;
  overflow: hidden;
  width: 100%;
}
#one-code-audiences .tbs-one-code-portrait .image-cover {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.uri-flow-cards-2x2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin-top: 0.6rem;
  border: 1px solid var(--border--primary, rgba(0, 0, 0, 0.14));
  border-radius: 12px;
  overflow: hidden;
  background: var(--background--secondary, #fdfaf4);
}
.uri-flow-cards-2x2 .contact_link-block {
  width: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: none;
  border-radius: 0;
  border-right: 1px solid var(--border--primary, rgba(0, 0, 0, 0.14));
  border-bottom: 1px solid var(--border--primary, rgba(0, 0, 0, 0.14));
  background: var(--background--secondary, #fdfaf4);
  box-sizing: border-box;
  padding: calc(var(--_layout---spacing--large) * 0.5);
  gap: calc(var(--_layout---spacing--large) * 0.5);
  grid-column-gap: calc(var(--_layout---spacing--large) * 0.5);
  grid-row-gap: calc(var(--_layout---spacing--large) * 0.5);
}
.uri-flow-cards-2x2 .contact_link-block:nth-child(2n) {
  border-right: none;
}
.uri-flow-cards-2x2 .contact_link-block:nth-child(n + 3) {
  border-bottom: none;
}
.uri-flow-cards-2x2 .column-x-small {
  align-items: center;
}
.tbs-shift-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border--primary, rgba(0, 0, 0, 0.14));
  border-radius: 12px;
  overflow: hidden;
  background: var(--background--secondary, #fdfaf4);
}
.tbs-shift-accordion-group .tbs-acc {
  border-bottom: 1px solid var(--border--primary, rgba(0, 0, 0, 0.14));
  padding: 0.8rem 1rem;
}
.tbs-shift-accordion-group .tbs-acc:last-child {
  border-bottom: 0;
}
.tbs-shift-accordion-group .tbs-acc-chevron {
  opacity: 0.85;
  color: var(--text--primary);
}
.tbs-shift-accordion-group .tbs-acc-trigger[aria-expanded="true"] {
  color: var(--text--primary);
}
.tbs-shift-accordion-group
  .tbs-acc-trigger[aria-expanded="true"]
  .tbs-acc-chevron {
  opacity: 1;
}

/* Road to 2027 — challenges / early movers (bordered cards) */
.tbs-road2027-acc-grid {
  gap: 1rem;
  align-items: stretch;
}
.tbs-road2027-acc-grid .contact_link-block {
  background: var(--tbs-cream, #fdfaf4);
  border: 1px solid rgba(20, 24, 31, 0.1);
  border-radius: var(--_layout---radius--large);
  overflow: hidden;
  box-sizing: border-box;
}
.tbs-road2027-acc-grid .tbs-acc {
  padding: 0.85rem 1rem 1rem;
}
.tbs-road2027-acc-grid .tbs-acc-chevron {
  opacity: 0.85;
  color: var(--text--primary);
}
.tbs-road2027-acc-grid
  .tbs-acc-trigger[aria-expanded="true"]
  .tbs-acc-chevron {
  opacity: 1;
}

/* #the-shift: three pressures — bordered row, no accordion */
#the-shift .tbs-shift-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid var(--border--primary, rgba(0, 0, 0, 0.14));
  border-radius: 12px;
  overflow: hidden;
  background: var(--background--secondary, #fdfaf4);
}
#the-shift .tbs-shift-pillar {
  padding: 0.85rem 1rem 1rem;
  border-right: 1px solid var(--border--primary, rgba(0, 0, 0, 0.14));
  min-width: 0;
  box-sizing: border-box;
}
#the-shift .tbs-shift-pillar:last-child {
  border-right: 0;
}
#the-shift .tbs-shift-pillar-header {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.55rem;
}
#the-shift .tbs-shift-pillar .subheading-large {
  line-height: 1.25;
}
#the-shift {
  padding-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
}

