.pl-home-prototype__nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  transition: transform 220ms ease, opacity 220ms ease, max-height 220ms ease, margin 220ms ease;
  transform-origin: top center;
}

.pl-home-prototype__nav-btn,
.pl-home-prototype__dot,
.pl-home-prototype__switch-btn,
.pl-section button {
  border: 1px solid var(--pl-shell-border, #1d2939);
  background: var(--pl-shell-surface, #fff);
  color: var(--pl-shell-text, #101828);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
}

.pl-home-prototype__nav-btn {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.pl-home-prototype__dot-item {
  list-style: none;
}

.pl-home-prototype__dots {
  margin: 0;
  padding: 0;
}

.pl-home-prototype__nav-btn:hover,
.pl-home-prototype__dot:hover,
.pl-home-prototype__switch-btn:hover,
.pl-section button:hover {
  background: color-mix(in srgb, var(--pl-content-accent, #0b63ce) 12%, var(--pl-shell-surface, #fff));
  border-color: var(--pl-content-accent, #0b63ce);
}

.pl-home-prototype__nav-btn:focus-visible,
.pl-home-prototype__dot:focus-visible,
.pl-home-prototype__switch-btn:focus-visible,
.pl-section button:focus-visible {
  outline: 2px solid var(--pl-focus-ring, var(--pl-content-accent, #0b63ce));
  outline-offset: 1px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--pl-shell-surface, #fff) 62%, transparent);
}

.pl-home-prototype__dot.is-active {
  background: color-mix(in srgb, var(--pl-content-accent, #0b63ce) 15%, var(--pl-shell-surface, #fff));
  border-color: var(--pl-content-accent, #0b63ce);
}

.pl-home-prototype__nav-menu {
  display: none;
}

.pl-home-prototype__nav-active-label {
  display: none;
}

.pl-home-prototype[data-navigation-variant="story_progress"] .pl-home-prototype__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pl-home-prototype[data-navigation-variant="story_progress"] .pl-home-prototype__switch {
  display: none;
}

.pl-home-prototype__theme-toggle {
  display: none;
}

.pl-home-prototype[data-navigation-variant="story_progress"] .pl-home-prototype__theme-toggle,
.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__theme-toggle {
  border: 1px solid var(--pl-shell-border, #1d2939);
  background: var(--pl-shell-surface, #fff);
  color: var(--pl-shell-text, #101828);
  border-radius: 999px;
  min-width: 44px;
  min-height: 30px;
  padding: 4px 6px;
  cursor: pointer;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pl-home-prototype__theme-toggle-track {
  width: 30px;
  height: 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pl-shell-border, #1d2939) 30%, var(--pl-shell-surface, #fff));
  position: relative;
  display: inline-block;
}

.pl-home-prototype__theme-toggle-thumb {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pl-content-accent, #0b63ce);
  transition: transform 180ms ease;
}

.pl-home-prototype__theme-toggle[aria-pressed="true"] .pl-home-prototype__theme-toggle-thumb {
  transform: translateX(14px);
}

.pl-home-prototype__theme-toggle-icon {
  font-size: 12px;
  line-height: 1;
  color: var(--pl-text-muted, var(--pl-shell-text-muted, #475467));
}

.pl-home-prototype__theme-toggle[aria-pressed="true"] .pl-home-prototype__theme-toggle-icon--moon,
.pl-home-prototype__theme-toggle[aria-pressed="false"] .pl-home-prototype__theme-toggle-icon--sun {
  color: var(--pl-text-primary, var(--pl-shell-text, #101828));
}

.pl-home-prototype[data-navigation-variant="story_progress"] .pl-home-prototype__dots {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 80px;
  order: 2;
}

.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 6px 10px;
}

.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__switch,
.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__nav-menu,
.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__nav-counter {
  display: none;
}

.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__nav-left {
  display: inline-flex;
  align-items: center;
}

.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__nav-center {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__nav-active-label {
  display: none;
  margin: 0;
  text-align: left;
  font-size: clamp(0.88rem, 1.9vw, 0.96rem);
  line-height: 1.2;
  font-weight: 600;
  color: var(--pl-shell-text, #101828);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(60vw, 420px);
  justify-self: center;
  animation: pl-nav-label-fade 150ms ease-out;
}

.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dots {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  grid-column: 1 / -1;
}

.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot-item {
  flex: 0 0 auto;
}

.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__segment-label {
  display: none;
}

.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dots::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot {
  position: relative;
  width: 32px;
  min-width: 32px;
  max-width: 32px;
  height: 8px;
  min-height: 8px;
  max-height: 8px;
  border-radius: 4px;
  border: 0;
  padding: 0;
  background: color-mix(in srgb, var(--pl-shell-border, #1d2939) 36%, transparent);
  overflow: hidden;
}

.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot .pl-home-prototype__segment-fill {
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--pl-content-accent, #0b63ce);
  transition: transform 80ms ease-out;
}

.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot.is-done .pl-home-prototype__segment-fill {
  transform: scaleX(1);
  background: color-mix(in srgb, var(--pl-content-accent, #0b63ce) 55%, var(--pl-shell-surface, #fff));
}

.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot.is-active .pl-home-prototype__segment-fill {
  transform: scaleX(1);
  background: var(--pl-content-accent, #0b63ce);
}

.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot:hover {
  background: color-mix(in srgb, var(--pl-content-accent, #0b63ce) 24%, var(--pl-shell-border, #1d2939));
}

.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot:hover .pl-home-prototype__segment-fill,
.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot:focus-visible .pl-home-prototype__segment-fill {
  background: var(--pl-content-accent-hover, var(--pl-content-accent, #0b63ce));
}

.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot:focus-visible,
.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__nav-btn:focus-visible {
  outline: 2px solid var(--pl-focus-ring, var(--pl-content-accent, #0b63ce));
  outline-offset: 2px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--pl-shell-surface, #fff) 62%, transparent);
}

.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
}

.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__nav-btn[disabled],
.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__nav-btn[aria-disabled="true"] {
  color: var(--pl-text-disabled, #667085);
  border-color: color-mix(in srgb, var(--pl-shell-border, #1d2939) 60%, transparent);
  background: color-mix(in srgb, var(--pl-shell-surface, #fff) 94%, var(--pl-shell-border, #1d2939) 6%);
  pointer-events: none;
}

@keyframes pl-nav-label-fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pl-home-prototype[data-navigation-variant="story_progress"] [data-nav-prev] {
  order: 1;
}

.pl-home-prototype[data-navigation-variant="story_progress"] [data-nav-next] {
  order: 3;
}

.pl-home-prototype[data-navigation-variant="story_progress"] .pl-home-prototype__nav-counter {
  order: 4;
}

.pl-home-prototype__dot--story {
  position: relative;
  flex: 1 1 auto;
  min-width: 10px;
  max-width: none;
  height: 6px;
  border-radius: 999px;
  padding: 0;
  overflow: hidden;
  border-color: color-mix(in srgb, var(--pl-shell-border, #1d2939) 35%, transparent);
  background: color-mix(in srgb, var(--pl-shell-border, #1d2939) 22%, transparent);
}

.pl-home-prototype__dot--story .pl-home-prototype__segment-fill {
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--pl-content-accent, #0b63ce);
  transition: transform 160ms linear;
}

.pl-home-prototype__dot--story.is-done .pl-home-prototype__segment-fill,
.pl-home-prototype__dot--story.is-active .pl-home-prototype__segment-fill {
  transform: scaleX(1);
}

.pl-home-prototype[data-navigation-variant="story_progress"] .pl-home-prototype__dot--story:hover {
  border-color: var(--pl-content-accent, #0b63ce);
}

.pl-home-prototype[data-navigation-variant="story_progress"] .pl-home-prototype__dot--story.is-active {
  background: color-mix(in srgb, var(--pl-shell-border, #1d2939) 22%, transparent);
}

@media (min-width: 769px) {
  .pl-home-prototype--desktop-story-nav[data-navigation-variant="story_progress"] .pl-home-prototype__nav {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    gap: 0;
  }

  .pl-home-prototype--desktop-story-nav[data-navigation-variant="story_progress"] .pl-home-prototype__nav-left {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
  }

  .pl-home-prototype--desktop-story-nav[data-navigation-variant="story_progress"] .pl-home-prototype__theme-toggle {
    margin-left: 0;
  }

  .pl-home-prototype--desktop-story-nav[data-navigation-variant="story_progress"] .pl-home-prototype__nav-center {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
  }

  .pl-home-prototype--desktop-story-nav[data-navigation-variant="story_progress"] .pl-home-prototype__nav-center [data-nav-prev] {
    order: 1;
    margin-right: 4px;
  }

  .pl-home-prototype--desktop-story-nav[data-navigation-variant="story_progress"] .pl-home-prototype__nav-center .pl-home-prototype__nav-menu {
    order: 2;
  }

  .pl-home-prototype--desktop-story-nav[data-navigation-variant="story_progress"] .pl-home-prototype__nav-center [data-nav-next] {
    order: 3;
    margin-left: 4px;
  }

  .pl-home-prototype--desktop-story-nav[data-navigation-variant="story_progress"] .pl-home-prototype__nav-btn {
    min-width: 44px;
    min-height: 44px;
  }

  .pl-home-prototype--desktop-story-nav[data-navigation-variant="story_progress"] .pl-home-prototype__nav-menu {
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  .pl-home-prototype--desktop-story-nav[data-navigation-variant="story_progress"] .pl-home-prototype__nav-menu-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 152px;
    min-width: 152px;
    max-width: 152px;
    height: 48px;
    border: 1px solid var(--pl-shell-border, #1d2939);
    border-radius: 10px;
    padding: 8px 10px;
    background: color-mix(in srgb, var(--pl-content-accent, #0b63ce) 10%, var(--pl-shell-surface, #fff));
    color: var(--pl-content-accent, #0b63ce);
    cursor: pointer;
  }

  .pl-home-prototype--desktop-story-nav[data-navigation-variant="story_progress"] .pl-home-prototype__nav-menu-item.is-active {
    background: var(--pl-content-accent, #0b63ce);
    border-color: var(--pl-content-accent, #0b63ce);
    color: var(--pl-text-on-accent, #fff);
  }

  .pl-home-prototype--desktop-story-nav[data-navigation-variant="story_progress"] .pl-home-prototype__nav-menu-item:hover {
    border-color: var(--pl-content-accent, #0b63ce);
  }

  .pl-home-prototype--desktop-story-nav[data-navigation-variant="story_progress"] .pl-home-prototype__nav-menu-item:focus-visible {
    outline: 2px solid var(--pl-focus-ring, var(--pl-content-accent, #0b63ce));
    outline-offset: 1px;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--pl-shell-surface, #fff) 62%, transparent);
  }

  .pl-home-prototype--desktop-story-nav[data-navigation-variant="story_progress"] .pl-home-prototype__nav-menu-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    flex: 0 0 auto;
  }

  .pl-home-prototype--desktop-story-nav[data-navigation-variant="story_progress"] .pl-home-prototype__nav-menu-icon svg {
    width: 22px;
    height: 22px;
  }

  .pl-home-prototype--desktop-story-nav[data-navigation-variant="story_progress"] .pl-home-prototype__nav-menu-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1rem;
    line-height: 1.2;
  }

  .pl-home-prototype--desktop-story-nav[data-navigation-variant="story_progress"] .pl-home-prototype__dots {
    display: none;
  }

  .pl-home-prototype--desktop-story-nav[data-navigation-variant="story_progress"] .pl-home-prototype__nav-counter {
    display: none;
  }

  .pl-home-prototype--desktop-story-nav.pl-home-prototype--single-section-nav[data-navigation-variant="story_progress"] .pl-home-prototype__nav-center {
    display: none;
  }

  .pl-home-prototype--desktop-story-nav.pl-home-prototype--single-section-nav[data-navigation-variant="story_progress"] .pl-home-prototype__nav-left {
    display: none;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__nav {
    position: relative;
    width: min(680px, calc(100% - 140px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    grid-template-rows: auto;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border: 1px solid color-mix(in srgb, var(--pl-content-accent, #0b63ce) 22%, var(--pl-shell-border, #1d2939));
    border-radius: 12px;
    background: color-mix(in srgb, var(--pl-shell-surface, #fff) 96%, transparent);
    min-height: 50px;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__nav-left {
    position: absolute;
    right: -78px;
    top: 50%;
    transform: translateY(-50%);
    justify-self: end;
    align-self: center;
    z-index: 1;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__nav-center {
    display: contents;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__nav-active-label {
    display: none;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] [data-nav-prev] {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] [data-nav-next] {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dots {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    justify-content: stretch;
    gap: 6px;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot-item {
    display: grid;
    grid-template-rows: 1fr auto;
    align-items: end;
    gap: 2px;
    flex: 1 1 0;
    min-width: 86px;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot {
    width: 100%;
    min-width: 86px;
    max-width: none;
    height: 6px;
    min-height: 6px;
    max-height: 6px;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__segment-label {
    display: block;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
    text-align: center;
    font-size: 0.74rem;
    line-height: 1.05;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    color: color-mix(in srgb, var(--pl-shell-text, #101828) 38%, var(--pl-shell-surface, #fff));
    font-weight: 500;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__segment-label:hover {
    color: color-mix(in srgb, var(--pl-content-accent, #0b63ce) 72%, var(--pl-shell-surface, #fff));
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__segment-label:focus-visible {
    outline: 2px solid var(--pl-focus-ring, var(--pl-content-accent, #0b63ce));
    outline-offset: 2px;
    border-radius: 4px;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot-item:hover .pl-home-prototype__dot,
  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot-item:focus-within .pl-home-prototype__dot {
    background: color-mix(in srgb, var(--pl-content-accent, #0b63ce) 28%, var(--pl-shell-border, #1d2939));
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot-item:hover .pl-home-prototype__segment-fill,
  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot-item:focus-within .pl-home-prototype__segment-fill {
    background: var(--pl-content-accent-hover, var(--pl-content-accent, #0b63ce));
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot-item:hover .pl-home-prototype__segment-label,
  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot-item:focus-within .pl-home-prototype__segment-label,
  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot-item.is-done:hover .pl-home-prototype__segment-label {
    color: color-mix(in srgb, var(--pl-content-accent, #0b63ce) 80%, var(--pl-shell-surface, #fff));
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot-item.is-active .pl-home-prototype__segment-label {
    color: var(--pl-content-accent, #0b63ce);
    font-weight: 700;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot-item.is-done .pl-home-prototype__segment-label {
    color: color-mix(in srgb, var(--pl-content-accent, #0b63ce) 65%, var(--pl-shell-surface, #fff));
    font-weight: 600;
  }
}

.pl-home-prototype__switch {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.pl-home-prototype__switch-label {
  color: var(--pl-shell-text-muted, #475467);
  font-size: 0.85rem;
  font-weight: 600;
}

.pl-home-prototype__switch-btn {
  font-size: 0.85rem;
}

.pl-home-prototype__switch-btn[aria-pressed="true"] {
  background: color-mix(in srgb, var(--pl-content-accent, #0b63ce) 15%, var(--pl-shell-surface, #fff));
  border-color: var(--pl-content-accent, #0b63ce);
  font-weight: 600;
}

.pl-home-prototype__nav-counter {
  margin-left: auto;
  font-weight: 600;
  color: var(--pl-shell-text-muted, #475467);
}

.pl-home-layout__main > .pl-home-prototype__nav {
  display: none;
}

.pl-home-nav-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.pl-home-nav-bar > strong {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pl-home-nav-links {
  display: inline-flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  margin-left: auto;
  gap: 10px;
  min-width: max-content;
}

.pl-home-nav-links a {
  display: inline-flex;
  align-items: center;
  max-width: 34vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .pl-home-prototype.pl-home-prototype--nav-collapsed .pl-home-prototype__sections-static-top {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px);
    margin-bottom: 0;
    pointer-events: none;
  }

  .pl-home-prototype.pl-home-prototype--nav-collapsed .pl-home-prototype__nav--full {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px);
    margin-bottom: 2px;
    pointer-events: none;
  }
}

@media (max-width: 680px) {
  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__nav-btn {
    min-width: 44px;
    min-height: 44px;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot::before {
    width: 52px;
    height: 52px;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__nav-center {
    gap: 8px;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dots {
    gap: 6px;
  }

  .pl-home-prototype__nav-counter {
    margin-left: 0;
  }

  .pl-home-nav-links a {
    max-width: 46vw;
  }
}

body.pl-layout-no_identity_footer_sticky .pl-home-nav-bar,
body.pl-layout-identity_footer_sticky .pl-home-nav-bar {
  flex-wrap: nowrap;
}

body.pl-layout-no_identity_footer_sticky .pl-home-nav-links,
body.pl-layout-identity_footer_sticky .pl-home-nav-links {
  flex-wrap: nowrap;
}

.pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__sections {
  scroll-snap-type: x mandatory;
}

@media (max-width: 768px) {
  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__container {
    position: relative;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__nav {
    position: relative;
    z-index: 2;
    margin: 0 0 10px;
    padding: 8px 10px;
    border: 1px solid color-mix(in srgb, var(--pl-content-accent, #0b63ce) 22%, var(--pl-shell-border, #1d2939));
    border-radius: 12px;
    background: color-mix(in srgb, var(--pl-shell-surface, #fff) 92%, transparent);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    grid-template-columns: minmax(0, 1fr);
    gap: 6px 8px;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__nav-center {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] [data-nav-prev],
  .pl-home-prototype[data-navigation-variant="sections_progress"] [data-nav-next] {
    display: none;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__nav-left {
    position: absolute;
    right: 10px;
    top: 8px;
    display: inline-flex;
    align-items: center;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__theme-toggle {
    margin-left: 0;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__nav-active-label {
    display: block;
    max-width: 64vw;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot-item {
    flex: 1 1 0;
    min-width: 18px;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot {
    width: 100%;
    min-width: 18px;
    max-width: none;
    height: 10px;
    min-height: 10px;
    max-height: 10px;
    border-radius: 5px;
  }

  .pl-home-prototype.pl-home-prototype--nav-collapsed[data-navigation-variant="sections_progress"] .pl-home-prototype__nav--full {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__nav--full {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 180ms ease, transform 180ms ease, max-height 180ms ease, margin 180ms ease, padding 180ms ease;
  }

  .pl-home-prototype.pl-home-prototype--nav-collapsed[data-navigation-variant="sections_progress"] .pl-home-prototype__sections-static-top {
    max-height: none;
    opacity: 1;
    overflow: visible;
    transform: none;
    margin-bottom: initial;
    pointer-events: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dot .pl-home-prototype__segment-fill,
  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__nav-active-label {
    transition: none !important;
    animation: none !important;
  }

  .pl-home-prototype[data-navigation-variant="sections_progress"] .pl-home-prototype__dots {
    scroll-behavior: auto;
  }
}
