.tsx-section {
  background: linear-gradient(135deg, #f5f7fa 0, #e3e9f0 100%);
  padding: 60px 0
}

.tsx-container {
  max-width: 1200px;
  margin: 0 auto
}

.tsx-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fb8f47;
  margin-bottom: 14px
}

.tsx-eyebrow:before {
  content: "";
  width: 22px;
  height: 3px;
  background: #fb8f47;
  border-radius: 2px;
  display: inline-block
}

.tsx-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1f2b;
  margin: 0 0 35px !important
}

.tsx-panel {
  background: #fff;
  border: 1px solid #f1d9c4;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .06);
  overflow: hidden;
  min-height: 466px
}

.tsx-tabrail-wrap {
  position: relative;
  background: linear-gradient(180deg, #fffaf5 0, #fff 100%);
  border-bottom: 1px solid #f0e2d2;
  padding: 14px 16px
}

.tsx-tabrail {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 6px;
  position: relative;
  padding: 4px;
  background: #f4ede4;
  border-radius: 14px
}

.tsx-tabrail::-webkit-scrollbar {
  display: none
}

.tsx-tab {
  position: relative;
  z-index: 2;
  color: #6b7180;
  padding: 12px 18px;
  margin: 0;
  cursor: pointer;
  transition: color .25s ease;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
  border: none;
  background: 0 0;
  flex-shrink: 0;
  font-family: inherit;
  border-radius: 10px
}

.tsx-tab-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: .5;
  filter: grayscale(1);
  transition: opacity .25s ease, filter .25s ease;
  flex-shrink: 0
}

.tsx-tab:hover {
  color: #fb8f47
}

.tsx-tab:hover .tsx-tab-icon {
  opacity: .85
}

.tsx-tab.is-active {
  color: #fff
}

.tsx-tab.is-active .tsx-tab-icon {
  opacity: 1;
  filter: grayscale(0)
}

.tsx-tab-pill {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  width: 0;
  border-radius: 10px;
  background: linear-gradient(120deg, #fb8f47, #ff6f3c);
  box-shadow: 0 6px 16px rgba(251, 143, 71, .35);
  z-index: 1;
  transition: left .35s cubic-bezier(.65, 0, .35, 1), width .35s cubic-bezier(.65, 0, .35, 1)
}

.tsx-tabrail-wrap:before,
.tsx-tabrail-wrap:after {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  width: 28px;
  pointer-events: none;
  z-index: 3
}

.tsx-content {
  padding: 32px 30px 36px
}

.tsx-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px
}

.tsx-card {
  position: relative;
  background: #fff;
  border: 1px solid #f3e3d0;
  border-radius: 14px;
  padding: 26px 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  cursor: default;
  overflow: hidden
}

.tsx-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(251, 143, 71, .08), rgba(255, 111, 60, 0));
  opacity: 0;
  transition: opacity .25s ease
}

.tsx-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(251, 143, 71, .18);
  border-color: #fb8f47
}

.tsx-card:hover:before {
  opacity: 1
}

.tsx-card-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  position: relative;
  z-index: 1
}

.tsx-card-name {
  font-size: 15px;
  font-weight: 700;
  color: #1a1f2b;
  position: relative;
  z-index: 1
}

.tsx-card-tag {
  font-size: 12.5px;
  font-weight: 500;
  color: #98a0ad;
  position: relative;
  z-index: 1
}

.tsx-panel-section {
  display: none
}

.tsx-panel-section.is-active {
  display: block;
  animation: tsxFadeSlideIn .35s ease
}

@keyframes tsxFadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(6px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@media(max-width:992px) {
  .tsx-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media(max-width:768px) {
  .tsx-title {
    font-size: 1.5rem
  }

  .tsx-content {
    padding: 24px 16px 28px
  }

  .tsx-tab {
    padding: 10px 14px;
    font-size: .88rem
  }

  .tsx-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px
  }
}

@media(prefers-reduced-motion:reduce) {

  .tsx-tab-pill,
  .tsx-panel-section.is-active,
  .tsx-card {
    transition: none;
    animation: none
  }
}