.fse-sector-showcase {
  --fse-accent: #111;
  --fse-stage-bg: #dedede;
  --fse-radius: 12px;
  --fse-muted: #767676;
  --fse-ink: #111;
  --fse-surface: #fff;
  position: relative;
  min-height: calc(max(var(--fse-count), 1) * (var(--fse-scroll-step, 100) * 1vh));
  color: var(--fse-ink);
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

.fse-sector-showcase.fse-desktop-tabs {
  min-height: auto;
}

.fse-sector-showcase.is-desktop-js-pin .fse-sector-sticky {
  position: relative;
  top: 0;
  will-change: transform;
}

.fse-sector-sticky {
  position: sticky;
  top: var(--fse-sticky-top, 0px);
  min-height: calc(100vh - var(--fse-sticky-top, 0px));
  display: flex;
  align-items: center;
  padding: clamp(32px, 5vw, 72px) 0;
}

.fse-desktop-tabs .fse-sector-sticky {
  position: relative;
  min-height: auto;
}

.fse-sector-layout {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.fse-sector-nav {
  min-width: 0;
}

.fse-sector-title {
  margin: 0;
  max-width: 560px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.fse-sector-subtitle {
  margin: 18px 0 0;
  color: #30343a;
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.35;
}

.fse-sector-list-wrap {
  display: grid;
  grid-template-columns: 2px minmax(0, 1fr);
  gap: 22px;
  margin-top: clamp(34px, 6vh, 58px);
}

.fse-sector-progress-track {
  position: relative;
  width: 2px;
  min-height: 184px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border-radius: 999px;
}

.fse-sector-progress-bar {
  position: absolute;
  inset: 0 0 auto;
  height: calc((var(--fse-active-progress, 1) / var(--fse-count)) * 100%);
  min-height: 24px;
  background: var(--fse-current-accent, var(--fse-accent));
  border-radius: inherit;
  transition: height 420ms ease, background-color 420ms ease;
}

.fse-sector-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.fse-sector-nav-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  min-height: 42px;
  width: min(100%, 320px);
  padding: 8px 14px 8px 8px;
  border: 0;
  border-radius: calc(var(--fse-radius) * 0.75);
  background: transparent;
  color: var(--fse-muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 260ms ease, color 260ms ease, background-color 260ms ease;
}

.fse-sector-nav-item:hover,
.fse-sector-nav-item:focus-visible {
  color: var(--fse-ink);
  background: rgba(0, 0, 0, 0.045);
  outline: 0;
}

.fse-sector-nav-item.is-active {
  color: var(--fse-ink);
  background: rgba(0, 0, 0, 0.09);
  transform: translateX(6px);
}

.fse-sector-nav-number {
  font-size: 12px;
  font-weight: 700;
  color: var(--fse-current-accent, var(--fse-accent));
  opacity: 0.78;
}

.fse-sector-nav-label {
  overflow-wrap: anywhere;
}

.fse-sector-nav-short {
  display: none;
}

.fse-nav-minimal .fse-sector-progress-track,
.fse-nav-pills .fse-sector-progress-track {
  display: none;
}

.fse-nav-minimal .fse-sector-list-wrap,
.fse-nav-pills .fse-sector-list-wrap {
  display: block;
}

.fse-nav-pills .fse-sector-list {
  gap: 10px;
}

.fse-nav-pills .fse-sector-nav-item {
  width: auto;
  min-width: 118px;
  border-radius: 999px;
  padding-inline: 16px;
}

.fse-sector-counter {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 28px;
  color: var(--fse-muted);
  font-size: 14px;
}

.fse-sector-current {
  color: var(--fse-ink);
  font-size: 24px;
  font-weight: 700;
}

.fse-sector-stage {
  position: relative;
  min-height: min(620px, calc(100vh - 96px));
  border-radius: var(--fse-radius);
  background: var(--fse-stage-bg);
  overflow: hidden;
  isolation: isolate;
}

.fse-sector-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: stretch;
  opacity: 0;
  transform: translateY(28px);
  pointer-events: none;
  transition: opacity 360ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.fse-sector-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 2;
}

.fse-animation-fade .fse-sector-panel {
  transform: none;
}

.fse-animation-scale .fse-sector-panel {
  transform: scale(0.975);
}

.fse-animation-scale .fse-sector-panel.is-active {
  transform: scale(1);
}

.fse-sector-panel-inner {
  width: 100%;
  padding: clamp(18px, 3vw, 36px);
  overflow: auto;
}

.fse-sector-panel-inner > :first-child {
  margin-top: 0;
}

.fse-sector-panel-inner > :last-child {
  margin-bottom: 0;
}

.fse-sector-showcase:not(.is-enhanced) {
  min-height: auto;
}

.fse-sector-showcase:not(.is-enhanced) .fse-sector-sticky {
  position: relative;
  min-height: auto;
}

.fse-sector-showcase:not(.is-enhanced) .fse-sector-stage {
  display: grid;
  gap: 20px;
  min-height: auto;
  background: transparent;
}

.fse-sector-showcase:not(.is-enhanced) .fse-sector-panel {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  background: var(--fse-stage-bg);
  border-radius: var(--fse-radius);
}

.fse-sector-showcase:not(.is-enhanced) .fse-sector-panel[hidden] {
  display: block;
}

@media (max-width: 849px) {
  .fse-sector-showcase {
    min-height: auto;
    padding: 36px 0;
  }

  .fse-sector-sticky {
    position: relative;
    min-height: auto;
    padding: 0;
  }

  .fse-sector-layout {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-inline: 14px;
    display: block;
  }

  .fse-sector-title {
    font-size: clamp(26px, 8vw, 38px);
  }

  .fse-sector-subtitle {
    margin-top: 12px;
    font-size: 17px;
  }

  .fse-sector-list-wrap {
    display: block;
    margin-top: 24px;
    overflow-x: hidden;
  }

  .fse-sector-progress-track {
    display: none;
  }

  .fse-sector-list {
    flex-direction: row;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 14px;
    padding: 0 2px 10px;
    -webkit-overflow-scrolling: touch;
  }

  .fse-sector-nav-item {
    flex: 0 0 auto;
    display: inline-flex;
    gap: 8px;
    width: auto;
    min-width: 110px;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    scroll-snap-align: start;
    background: rgba(0, 0, 0, 0.045);
    white-space: nowrap;
  }

  .fse-sector-nav-item.is-active {
    color: #fff;
    background: var(--fse-current-accent, var(--fse-accent));
    transform: none;
  }

  .fse-sector-nav-item.is-active .fse-sector-nav-number {
    color: currentColor;
  }

  .fse-sector-nav-label {
    display: none;
  }

  .fse-sector-nav-short {
    display: inline;
  }

  .fse-sector-counter {
    justify-content: flex-end;
    margin-top: 6px;
  }

  .fse-sector-stage {
    min-height: 0;
    margin-top: 16px;
    overflow: visible;
  }

  .fse-sector-panel {
    position: relative;
    display: none;
    min-height: 0;
    transform: translateX(16px);
  }

  .fse-sector-panel.is-active {
    display: block;
    transform: translateX(0);
  }

  .fse-sector-panel-inner {
    overflow: visible;
    padding: 18px;
  }

  .fse-sector-showcase.is-mobile-sequential {
    min-height: 100vh;
    min-height: 100svh;
    padding: 18px 0;
    overscroll-behavior-y: auto;
  }

  .fse-sector-showcase.is-mobile-sequential .fse-sector-sticky {
    min-height: 100vh;
    min-height: 100svh;
    display: block;
  }

  .fse-sector-showcase.is-mobile-sequential .fse-sector-layout {
    display: block;
    min-height: auto;
  }

  .fse-sector-showcase.is-mobile-sequential .fse-sector-stage {
    min-height: min(56svh, 520px);
    margin-top: 14px;
  }

  .fse-sector-showcase.is-mobile-sequential .fse-sector-stage,
  .fse-sector-showcase.is-mobile-sequential .fse-sector-panel {
    touch-action: pan-y;
  }

  .fse-sector-showcase.is-mobile-sequential .fse-sector-list {
    touch-action: pan-y;
    overflow-x: hidden;
  }

  .fse-sector-showcase.is-mobile-sequential .fse-sector-nav-item {
    min-width: max-content;
    max-width: 88vw;
  }

  .fse-sector-showcase.is-mobile-sequential .fse-sector-panel {
    transition: opacity 280ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fse-sector-progress-bar,
  .fse-sector-nav-item,
  .fse-sector-panel {
    transition: none;
  }
}
