.calio-fancy-tabs {
  display: grid;
  gap: 24px;
}

.calio-fancy-tabs.layout-vertical {
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  align-items: start;
}

.calio-fancy-tabs.layout-vertical.nav-right {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
}

.calio-fancy-tabs.layout-vertical.nav-right .calio-fancy-tabs-nav {
  order: 2;
}

.calio-fancy-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.calio-fancy-tabs.layout-vertical .calio-fancy-tabs-nav {
  flex-direction: column;
}

.calio-fancy-tabs-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 72px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
  transition: transform .24s ease, border-color .24s ease, background-color .24s ease, box-shadow .24s ease;
}

.calio-fancy-tabs-button.is-featured {
  border-color: rgba(14, 165, 233, 0.26);
  background: linear-gradient(180deg, #f8fdff, #eefaff);
}

.calio-fancy-tabs-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

.calio-fancy-tabs.layout-horizontal .calio-fancy-tabs-button {
  flex: 1 1 220px;
}

.calio-fancy-tabs.icon-pos-top .calio-fancy-tabs-button {
  align-items: flex-start;
  flex-direction: column;
}

.calio-fancy-tabs-button:hover,
.calio-fancy-tabs-button:focus-visible,
.calio-fancy-tabs-button.is-active {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
}

.calio-fancy-tabs.tab-skin-outline .calio-fancy-tabs-button {
  background: transparent;
}

.calio-fancy-tabs.tab-skin-underline .calio-fancy-tabs-button {
  min-height: 56px;
  border-width: 0 0 1px;
  border-radius: 0;
  padding-inline: 4px;
  box-shadow: none;
}

.calio-fancy-tabs.tab-skin-contrast .calio-fancy-tabs-button {
  background: #0f172a;
  color: #f8fafc;
  border-color: #0f172a;
}

.calio-fancy-tabs-button:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.42);
  outline-offset: 2px;
}

.calio-fancy-tabs-tab-media {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  overflow: hidden;
  border-radius: 16px;
  background: #e2e8f0;
}

.calio-fancy-tabs-tab-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.calio-fancy-tabs-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.calio-fancy-tabs-icon svg {
  width: 20px;
  height: 20px;
}

.calio-fancy-tabs-labels {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 5px;
}

.calio-fancy-tabs-tab-subtitle {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  opacity: .72;
  text-transform: uppercase;
}

.calio-fancy-tabs-tab-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.calio-fancy-tabs-meta-note {
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
}

.calio-fancy-tabs-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}

.calio-fancy-tabs-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  line-height: 1;
}

.calio-fancy-tabs-stat-label {
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .72;
}

.calio-fancy-tabs-stat-value {
  font-weight: 700;
  color: #0f172a;
}

.calio-fancy-tabs-indicator {
  position: absolute;
  left: 16px;
  bottom: 10px;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  opacity: 0;
  transform: scaleX(.5);
  transform-origin: left center;
  transition: opacity .24s ease, transform .24s ease;
}

.calio-fancy-tabs-button.is-active .calio-fancy-tabs-indicator {
  opacity: 1;
  transform: scaleX(1);
}

.calio-fancy-tabs-button:hover .calio-fancy-tabs-indicator,
.calio-fancy-tabs-button:focus-visible .calio-fancy-tabs-indicator {
  opacity: .72;
  transform: scaleX(.82);
}

.calio-fancy-tabs.no-indicator .calio-fancy-tabs-indicator {
  display: none;
}

.calio-fancy-tabs-panels {
  min-width: 0;
}

.calio-fancy-tabs-panel {
  position: relative;
  display: none;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: center;
  padding: 26px;
  border: 1px solid transparent;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  transition: border-color .24s ease, background-color .24s ease, box-shadow .24s ease;
}

.calio-fancy-tabs-panel.is-featured {
  border-color: rgba(14, 165, 233, 0.18);
  background: linear-gradient(180deg, #ffffff, #f4fbff);
}

.calio-fancy-tabs-panel.is-active {
  display: grid;
  animation: calioFancyTabsFade .28s ease;
}

.calio-fancy-tabs-panel-accent {
  position: absolute;
  inset: 18px auto auto 18px;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), rgba(37, 99, 235, 0));
  filter: blur(6px);
  pointer-events: none;
}

.calio-fancy-tabs.motion-slide-up .calio-fancy-tabs-panel.is-active {
  animation-name: calioFancyTabsSlideUp;
}

.calio-fancy-tabs.motion-slide-right .calio-fancy-tabs-panel.is-active {
  animation-name: calioFancyTabsSlideRight;
}

.calio-fancy-tabs.motion-zoom .calio-fancy-tabs-panel.is-active {
  animation-name: calioFancyTabsZoom;
}

.calio-fancy-tabs.panel-skin-none .calio-fancy-tabs-panel {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.calio-fancy-tabs.panel-skin-outline .calio-fancy-tabs-panel {
  border-color: rgba(148, 163, 184, 0.22);
  background: #fff;
}

.calio-fancy-tabs.panel-skin-contrast .calio-fancy-tabs-panel {
  border-color: rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #111827, #0f172a);
  color: #f8fafc;
}

.calio-fancy-tabs-panel:hover,
.calio-fancy-tabs-panel:focus-within {
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}

.calio-fancy-tabs-panel-media {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #e2e8f0;
}

.calio-fancy-tabs-panel-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.calio-fancy-tabs-media-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #f8fafc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.calio-fancy-tabs-panel-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.calio-fancy-tabs.content-preset-split .calio-fancy-tabs-panel-copy {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, .96fr);
  gap: 18px;
}

.calio-fancy-tabs.content-preset-spotlight .calio-fancy-tabs-panel-copy {
  max-width: 760px;
}

.calio-fancy-tabs.content-preset-spotlight .calio-fancy-tabs-panel-accent {
  width: 180px;
  height: 180px;
  inset: 24px auto auto 24px;
}

.calio-fancy-tabs.content-preset-split .calio-fancy-tabs-panel-eyebrow,
.calio-fancy-tabs.content-preset-split .calio-fancy-tabs-panel-title,
.calio-fancy-tabs.content-preset-split .calio-fancy-tabs-panel-meta {
  grid-column: 1;
}

.calio-fancy-tabs.content-preset-split .calio-fancy-tabs-panel-body,
.calio-fancy-tabs.content-preset-split .calio-fancy-tabs-panel-button {
  grid-column: 2;
}

.calio-fancy-tabs.content-preset-spotlight .calio-fancy-tabs-panel-title {
  font-size: clamp(1.8rem, 2.6vw, 2.8rem);
}

.calio-fancy-tabs.content-preset-spotlight .calio-fancy-tabs-panel-body {
  font-size: 1.02rem;
}

.calio-fancy-tabs.content-preset-spotlight .calio-fancy-tabs-panel-media {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.calio-fancy-tabs-mobile-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.calio-fancy-tabs-mobile-toggle-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

.calio-fancy-tabs-mobile-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.calio-fancy-tabs-mobile-subtitle {
  font-size: 12px;
  color: #64748b;
}

.calio-fancy-tabs-panel-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #475569;
}

.calio-fancy-tabs-panel-title {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  line-height: 1.1;
}

.calio-fancy-tabs-panel-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.calio-fancy-tabs-support-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calio-fancy-tabs-support-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}

.calio-fancy-tabs-panel-body {
  color: #475569;
  line-height: 1.7;
}

.calio-fancy-tabs-checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.calio-fancy-tabs-checklist-item {
  position: relative;
  padding-left: 28px;
  color: #475569;
  line-height: 1.6;
}

.calio-fancy-tabs-checklist-item::before {
  content: '✓';
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
}

.calio-fancy-tabs-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.calio-fancy-tabs.panel-skin-contrast .calio-fancy-tabs-panel-eyebrow,
.calio-fancy-tabs.panel-skin-contrast .calio-fancy-tabs-panel-body {
  color: rgba(248, 250, 252, 0.78);
}

.calio-fancy-tabs.panel-skin-contrast .calio-fancy-tabs-panel-accent {
  background: radial-gradient(circle, rgba(96, 165, 250, 0.24), rgba(96, 165, 250, 0));
}

.calio-fancy-tabs-panel-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.calio-fancy-tabs-panel-button::after {
  content: '->';
}

.calio-fancy-tabs-panel-button:hover,
.calio-fancy-tabs-panel-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.16);
}

.calio-fancy-tabs-panel-button.is-secondary {
  background: transparent;
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.24);
  box-shadow: none;
}

.calio-fancy-tabs.panel-skin-contrast .calio-fancy-tabs-panel-button.is-secondary {
  color: #f8fafc;
  border-color: rgba(248, 250, 252, 0.18);
}

.calio-fancy-tabs-empty {
  padding: 24px;
  border: 1px dashed rgba(148, 163, 184, 0.4);
  border-radius: 18px;
  color: #64748b;
  text-align: center;
}

@keyframes calioFancyTabsFade {
  from {
    opacity: .32;
    transform: translateY(8px);
  }

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

@keyframes calioFancyTabsSlideUp {
  from {
    opacity: .24;
    transform: translateY(18px);
  }

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

@keyframes calioFancyTabsSlideRight {
  from {
    opacity: .24;
    transform: translateX(22px);
  }

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

@keyframes calioFancyTabsZoom {
  from {
    opacity: .24;
    transform: scale(.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1024px) {
  .calio-fancy-tabs.layout-vertical,
  .calio-fancy-tabs.layout-vertical.nav-right {
    grid-template-columns: minmax(0, 1fr);
  }

  .calio-fancy-tabs.layout-vertical.nav-right .calio-fancy-tabs-nav {
    order: initial;
  }

  .calio-fancy-tabs-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .calio-fancy-tabs.content-preset-split .calio-fancy-tabs-panel-copy {
    display: flex;
  }
}

@media (max-width: 767px) {
  .calio-fancy-tabs-button {
    min-height: 64px;
    padding: 14px;
  }

  .calio-fancy-tabs-tab-media {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .calio-fancy-tabs-panel {
    padding: 20px;
  }

  .calio-fancy-tabs.mobile-accordion .calio-fancy-tabs-nav {
    display: none;
  }

  .calio-fancy-tabs.mobile-accordion .calio-fancy-tabs-panel {
    display: block;
    padding: 18px;
  }

  .calio-fancy-tabs.mobile-accordion .calio-fancy-tabs-panel:not(.is-active) {
    padding-bottom: 0;
  }

  .calio-fancy-tabs.mobile-accordion .calio-fancy-tabs-mobile-toggle {
    display: flex;
  }

  .calio-fancy-tabs.mobile-accordion .calio-fancy-tabs-panel:not(.is-active) > :not(.calio-fancy-tabs-mobile-toggle) {
    display: none;
  }
}
