/* Shared screenshot controls: the same dots and active pill on every page. */
body.staffi-redesign :is(.phone-panel, .app-slider-preview) .phone-gallery-dots {
  position: static;
  inset: auto;
  display: flex;
  flex-wrap: nowrap;
  flex: 0 0 44px;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  margin: 6px auto 0;
  overflow-x: auto;
  scrollbar-width: none;
}
body.staffi-redesign .phone-gallery-dots::-webkit-scrollbar { display: none; }
body.staffi-redesign .phone-gallery-dots[hidden] { display: none; }
body.staffi-redesign :is(.phone-panel, .app-slider-preview) .phone-gallery-dot {
  display: grid;
  flex: 0 0 24px;
  place-items: center;
  width: 24px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  transform: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: none;
}
body.staffi-redesign .phone-gallery-dot::after {
  content: '';
  width: 18px;
  height: 6px;
  border-radius: 999px;
  background: #8a809c;
  clip-path: inset(0 6px round 999px);
  transition: clip-path 180ms cubic-bezier(.25, 1, .5, 1), background-color 180ms ease;
}
body.staffi-redesign .phone-gallery-dot[aria-pressed="true"]::after {
  clip-path: inset(0 round 999px);
  background: #5413b7;
}
@media (hover: hover) and (pointer: fine) {
  body.staffi-redesign .phone-gallery-dot:hover::after { background: #8c43f5; }
}
body.staffi-redesign :is(.phone-panel, .app-slider-preview) .phone-gallery-dot:focus-visible {
  outline: 2px solid #1cbced;
  outline-offset: -2px;
}
body.staffi-redesign .phone-gallery-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
body.staffi-redesign .app-slider-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  width: max(var(--hero-phone-w), var(--phone-nav-width, 0px));
  max-width: 100%;
}
body.staffi-redesign .app-slider-preview .app-slider { flex: 0 0 auto; }

/* The next click has a separate chevron; the heading stays free of hints. */
body.staffi-redesign .feature-sequence-a11y {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
body.staffi-redesign[data-staffi-concept="05"] .feature-item:not(.is-active) {
  padding-inline-end: 24px;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  transform: none;
  touch-action: manipulation;
  transition: background-color 200ms ease, border-color 200ms ease;
}
body.staffi-redesign .feature-item.is-next-feature:not(.is-active)::after {
  content: '';
  position: absolute;
  inset-inline-end: 10px;
  top: 50%;
  width: 6px;
  height: 6px;
  color: #765997;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
  transition: color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  body.staffi-redesign[data-staffi-concept="05"] .feature-item:not(.is-active):hover {
    background-color: #faf8fd;
    border-color: #d6c9e8;
  }
  body.staffi-redesign .feature-item.is-next-feature:not(.is-active):hover::after { color: #654383; }
}
body.staffi-redesign[data-staffi-concept="05"] .feature-item:not(.is-active):is(:focus-visible, :active) {
  background-color: #faf8fd;
  border-color: #d6c9e8;
  transition: none;
}
body.staffi-redesign[data-staffi-concept="05"] .feature-item:focus-visible { outline: 2px solid #5413b7; outline-offset: 2px; }
/* Sequence motion owns geometry; legacy padding/font transitions would keep
   changing the destination while the cards are moving. */
body.staffi-redesign .feature-grid[data-feature-sequence] { position: relative; }
body.staffi-redesign .feature-grid[data-feature-sequence] > .feature-item {
  transition: background-color 200ms ease, border-color 200ms ease;
}
body.staffi-redesign .feature-grid[data-feature-sequence] .feature-copy strong { transition: none; }
body.staffi-redesign .feature-grid[data-feature-sequence] .feature-details { transition: none; }
body.staffi-redesign .feature-grid .feature-copy > strong > .feature-title-word {
  display: inline-block;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  transform-origin: top left;
}
body.staffi-redesign.staffi-viewport .feature-grid[data-sequence-moving] > .feature-item {
  position: absolute;
  min-height: 0;
  max-width: none;
}
body.staffi-redesign.staffi-viewport .feature-grid[data-sequence-moving] > .feature-item > :is(.feature-num, .feature-copy) { position: absolute; }
body.staffi-redesign .feature-grid[data-sequence-moving] > .feature-item.is-active { z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  body.staffi-redesign .feature-item::after,
  body.staffi-redesign .phone-gallery-dot::after { transition: none !important; }
}
body.staffi-redesign .controls .nav-button.primary.is-next-section { box-shadow: 0 0 0 2px #5413b71a; }
body.staffi-redesign.staffi-viewport .phone-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
  min-height: 0;
  padding-bottom: 12px;
}

/* Mobile explanations use the available width, without a second set of cards. */
@media (max-width: 700px) {
  body.staffi-redesign.staffi-viewport .slide:has(.feature-grid) {
    padding: 20px 12px 16px;
    gap: 18px;
  }
  body.staffi-redesign.staffi-viewport .feature-layout { gap: 18px; }
  body.staffi-redesign.staffi-viewport .feature-grid { gap: 6px; }
  body.staffi-redesign.staffi-viewport .feature-grid > .feature-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: 48px;
    padding: 12px;
    border-color: #e5e6ed;
    border-radius: 12px;
    scroll-margin-top: 12px;
  }
  body.staffi-redesign.staffi-viewport .feature-grid > .feature-item.is-active {
    padding: 14px 12px;
    border-color: #cbb9e2;
    border-radius: 14px;
  }
  body.staffi-redesign.staffi-viewport .feature-num {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 24px;
    height: 24px;
    border-radius: 7px;
  }
  body.staffi-redesign.staffi-viewport .feature-item.is-active .feature-num { top: 14px; }
  body.staffi-redesign.staffi-viewport .feature-item .feature-copy > strong {
    min-height: 24px;
    padding-left: 34px;
    font-size: 18px !important;
    line-height: 1.35 !important;
  }
  body.staffi-redesign.staffi-viewport .feature-item.is-active .feature-copy > strong {
    font-size: 21px !important;
    line-height: 1.25 !important;
  }
  body.staffi-redesign.staffi-viewport .feature-item:not(.is-active) .feature-copy > span:not(.feature-price) { display: none !important; }
  body.staffi-redesign.staffi-viewport .feature-item.is-active .feature-copy > span:not(.feature-price) {
    margin-top: 8px;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }
  body.staffi-redesign.staffi-viewport .feature-details {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  body.staffi-redesign.staffi-viewport .feature-item.is-active .feature-details {
    max-height: none;
    margin-top: 10px;
  }
  body.staffi-redesign.staffi-viewport .feature-detail-card {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
    padding: 9px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 14px;
    line-height: 1.45;
  }
  body.staffi-redesign.staffi-viewport .feature-detail-card + .feature-detail-card { border-top: 1px solid #eeebf3; }
  body.staffi-redesign.staffi-viewport .feature-detail-card b {
    display: block;
    margin: 0 0 3px;
    font-size: 15px;
    line-height: 1.35;
  }
  body.staffi-redesign.staffi-viewport .detail-icon {
    width: 18px;
    height: 21px;
    border-radius: 0;
    background: transparent;
  }
  body.staffi-redesign.staffi-viewport .detail-icon svg { width: 17px; height: 17px; }
  body.staffi-redesign.staffi-viewport .feature-item.is-active .feature-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-top: 8px;
    padding-top: 10px;
  }
  body.staffi-redesign.staffi-viewport .feature-price strong { font-size: 22px; }
  body.staffi-redesign.staffi-viewport .feature-price span {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
  }
  html:has(body.staffi-redesign.staffi-viewport .controls) { --staffi-controls-height: 64px; }
  body.staffi-redesign.staffi-viewport .controls .nav-button {
    flex-direction: row;
    gap: 5px;
    height: 48px;
    min-height: 48px;
    padding: 8px 5px;
    font-size: 14px;
    white-space: nowrap;
  }
}
@media (max-width: 860px) {
  body.staffi-redesign.staffi-viewport .feature-grid { overflow-anchor: none; }
}

/* Shared desktop slide layout for the restaurant and both fastfood presentations. */
@media (min-width: 1024px) and (min-height: 640px) {
  html:has(body.staffi-viewport) { height: 100%; overflow-y: auto; }
  body.staffi-redesign.staffi-viewport {
    height: 100dvh;
    min-height: 0;
    padding-bottom: 0;
    --slide-phone-width: clamp(216px, calc((100dvh - 350px) * .45 + 24px), 300px);
  }
  body.staffi-redesign.staffi-viewport .shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 52px minmax(0, 1fr);
    gap: 10px;
    height: calc(100dvh - var(--staffi-controls-height) - 10px);
    min-height: 0;
    padding: 12px 0 0;
  }
  body.staffi-redesign.staffi-viewport .topbar { min-height: 0; padding-bottom: 6px; }
  body.staffi-redesign.staffi-viewport .stage-wrap,
  body.staffi-redesign.staffi-viewport .stage { width: 100%; height: 100%; min-height: 0; min-width: 0; }
  body.staffi-redesign.staffi-viewport .stage::before { width: auto; height: auto; transform: none; }
  body.staffi-redesign.staffi-viewport .slide {
    height: 100%;
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 12px;
    padding: 18px 24px 12px;
  }
  body.staffi-redesign.staffi-viewport :is(.features-head, .service-head) { gap: 6px; }
  body.staffi-redesign.staffi-viewport :is(.features-title, .service-title) { font-size: clamp(30px, 4.5dvh, 50px) !important; }
  body.staffi-redesign.staffi-viewport .feature-layout {
    container-type: size;
    height: 100%;
    grid-template-columns: minmax(0, 1fr) var(--slide-phone-width);
    gap: 20px;
  }
  body.staffi-redesign.staffi-viewport .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: max-content;
    align-content: start;
    gap: 6px;
    height: 100%;
  }
  body.staffi-redesign.staffi-viewport .feature-grid:has(> .feature-item:nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr); }
  body.staffi-redesign.staffi-viewport .feature-grid:has(> .feature-item:nth-child(3):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.staffi-redesign.staffi-viewport .feature-item:not(.is-active) {
    order: 0;
    min-height: 48px;
    align-items: center;
    grid-template-columns: 24px minmax(0, 1fr);
    padding: 8px 24px 8px 8px;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 10px;
  }
  body.staffi-redesign.staffi-viewport .feature-item:not(.is-active) .feature-copy > span:not(.feature-price) { display: none !important; }
  body.staffi-redesign.staffi-viewport .feature-item.is-active { order: 1; grid-column: 1 / -1; min-height: min-content; align-self: start; }
  body.staffi-redesign.staffi-viewport .feature-item.is-following-feature:not(.is-active) { order: 2; }
  body.staffi-redesign.staffi-viewport .feature-num { width: 24px; height: 24px; }
  body.staffi-redesign.staffi-viewport .feature-detail-card { grid-template-columns: 18px minmax(0, 1fr); }
  body.staffi-redesign.staffi-viewport .detail-icon { width: 18px; height: 18px; }
  body.staffi-redesign.staffi-viewport .feature-item { padding: 8px 12px; gap: 10px; }
  body.staffi-redesign.staffi-viewport .feature-item.is-active { padding: 12px 14px; }
  body.staffi-redesign.staffi-viewport .feature-item .feature-copy > strong { font-size: clamp(16px, 2.1dvh, 19px) !important; }
  body.staffi-redesign.staffi-viewport .feature-item.is-active .feature-copy > strong { font-size: clamp(20px, 2.7dvh, 26px) !important; }
  body.staffi-redesign.staffi-viewport .feature-copy > span:not(.feature-price),
  body.staffi-redesign.staffi-viewport .feature-item.is-active .feature-copy > span:not(.feature-price) {
    margin-top: 3px;
    font-size: clamp(12px, 1.8dvh, 15px) !important;
    line-height: 1.35 !important;
  }
  body.staffi-redesign.staffi-viewport .feature-details { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  body.staffi-redesign.staffi-viewport .feature-item.is-active .feature-details { margin-top: 10px; max-height: none; }
  body.staffi-redesign.staffi-viewport .feature-detail-card {
    padding: 10px;
    gap: 6px;
    font-size: clamp(13px, 1.8dvh, 16px);
    line-height: 1.35;
  }
  body.staffi-redesign.staffi-viewport .feature-detail-card b { margin-bottom: 4px; font-size: clamp(14px, 1.9dvh, 17px); line-height: 1.25; }
  body.staffi-redesign.staffi-viewport .feature-item.is-active .feature-price { margin-top: 8px; padding-top: 8px; }
  body.staffi-redesign.staffi-viewport .feature-price strong { font-size: 20px; }
  body.staffi-redesign.staffi-viewport .feature-price span { margin-top: 2px; font-size: 12px; }
  body.staffi-redesign.staffi-viewport .phone-panel {
    position: relative;
    top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    max-height: 100%;
    min-height: 0;
    padding: 12px 10px;
  }
  body.staffi-redesign.staffi-viewport .slide .phone-frame {
    flex: 0 0 auto;
    width: auto;
    height: min(604px, calc(100cqh - 26px - var(--phone-gallery-space, 0px)), calc((var(--slide-phone-width) - 22px) * 20 / 9)) !important;
    max-height: none !important;
    max-width: 100%;
  }
  body.staffi-redesign.staffi-viewport .phone-gallery-dots { flex: 0 0 44px; }
  body.staffi-redesign.staffi-viewport .phone-panel:has(.phone-gallery-dots:not([hidden])) { --phone-gallery-space: 50px; }
  body.staffi-redesign.staffi-viewport .slide > .tiny-meta { padding-top: 0; }
}

@media (min-width: 1024px) and (min-height: 640px) {
  /* The cover keeps all ten modules reachable beside its phone. */
  body.staffi-redesign.staffi-viewport .cover-poster {
    grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
    gap: 20px;
    height: 100%;
    min-height: 0;
  }
  body.staffi-redesign.staffi-viewport .cover-copy h1 { font-size: clamp(60px, 9dvh, 96px) !important; }
  body.staffi-redesign.staffi-viewport .cover-lead { font-size: clamp(18px, 2.5dvh, 24px); }
  body.staffi-redesign.staffi-viewport .cover-poster .visual { height: 100%; padding: 14px; }
  body.staffi-redesign.staffi-viewport .app-slider-wrap {
    --hero-stack-h: clamp(260px, calc(100dvh - 330px), 560px);
    --hero-phone-w: calc(var(--hero-stack-h) * .45);
    --hero-list-w: 100%;
    --hero-icon-size: 22px;
    grid-template-columns: minmax(0, 1fr) max(var(--hero-phone-w), var(--phone-nav-width, 0px));
    gap: 12px;
    align-items: center;
    height: 100%;
  }
  body.staffi-redesign.staffi-viewport .app-includes { width: 100%; grid-template-rows: auto auto; align-self: center; }
  body.staffi-redesign.staffi-viewport .app-includes-title { font-size: 17px; }
  body.staffi-redesign.staffi-viewport .app-module-stack {
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(5, minmax(44px, auto));
    gap: 6px;
  }
  body.staffi-redesign.staffi-viewport .app-module {
    min-height: 44px;
    padding: 6px;
    gap: 6px;
    font-size: 14px;
    line-height: 1.2;
  }
  body.staffi-redesign.staffi-viewport .app-module > span { overflow-wrap: anywhere; }

  /* Topic cards fill three columns, preserving the full question text. */
  body.staffi-redesign.staffi-viewport .topics-body { min-height: 0; gap: 16px; align-content: start; }
  body.staffi-redesign.staffi-viewport .topics-title { font-size: clamp(28px, 4dvh, 44px) !important; }
  body.staffi-redesign.staffi-viewport :is(.topics-grid, .topics-grid.has-five-topics) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  body.staffi-redesign.staffi-viewport .topics-grid .topic-card {
    min-height: 0;
    padding: 16px;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) 32px;
  }
  body.staffi-redesign.staffi-viewport .topics-grid .topic-card strong { font-size: clamp(22px, 2.8dvh, 30px); }
  body.staffi-redesign.staffi-viewport .topics-grid .topic-card .topic-copy > span { margin-top: 8px; font-size: 17px; line-height: 1.35; }
  body.staffi-redesign.staffi-viewport .topic-icon { width: 32px; height: 32px; }

  /* Format selection has its own footer instead of fixed slide controls. */
  body.staffi-redesign.staffi-viewport .shell:has(.format-form) {
    height: 100dvh;
    grid-template-rows: 52px minmax(0, 1fr) 24px;
    padding-bottom: 10px;
  }
  body.staffi-redesign.staffi-viewport .shell:has(.format-form) > .stage { padding: 18px 24px; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 14px; }
  body.staffi-redesign.staffi-viewport .page-heading { margin: 0; }
  body.staffi-redesign.staffi-viewport .page-heading .eyebrow { margin-bottom: 8px; }
  body.staffi-redesign.staffi-viewport .page-heading h1 { font-size: clamp(28px, 4dvh, 44px) !important; }
  body.staffi-redesign.staffi-viewport .page-heading h1 br { display: none; }
  body.staffi-redesign.staffi-viewport .page-lead { margin-top: 6px; }
  body.staffi-redesign.staffi-viewport .format-form { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; min-height: 0; }
  body.staffi-redesign.staffi-viewport .format-card { padding: 14px 20px 0; }
  body.staffi-redesign.staffi-viewport .card-illustration { margin: 8px 0; }
  body.staffi-redesign.staffi-viewport .card-illustration img { height: clamp(70px, 11dvh, 140px); }
  body.staffi-redesign.staffi-viewport .card-title { font-size: clamp(23px, 3dvh, 32px); }
  body.staffi-redesign.staffi-viewport .card-description { margin-top: 8px; line-height: 1.4; }
  body.staffi-redesign.staffi-viewport .format-flow { margin-block: 10px; }
  body.staffi-redesign.staffi-viewport .card-action { min-height: 44px; }
  body.staffi-redesign.staffi-viewport .selection-status { margin: 0; }

  /* All four lesson rows remain visible in the smaller phone preview. */
  body.staffi-redesign.staffi-viewport .learning-screen { padding: 10cqw 4cqw 4cqw; gap: 3cqw; }
  body.staffi-redesign.staffi-viewport .learning-screen .phone-app-top { gap: 3cqw; }
  body.staffi-redesign.staffi-viewport .learning-content { gap: 3cqw; }
  body.staffi-redesign.staffi-viewport .learning-course { padding: 4cqw; }
  body.staffi-redesign.staffi-viewport .learning-course > strong { font-size: 7.5cqw; }
  body.staffi-redesign.staffi-viewport .learning-eyebrow { margin-bottom: 3cqw; }
  body.staffi-redesign.staffi-viewport .learning-progress-caption { margin-top: 4cqw; }
  body.staffi-redesign.staffi-viewport .learning-lessons { gap: 2cqw; }
  body.staffi-redesign.staffi-viewport .learning-section-title { margin-bottom: 2cqw; }
  body.staffi-redesign.staffi-viewport .learning-lesson { min-height: 16cqw; padding: 3cqw; gap: 3cqw; }
  body.staffi-redesign.staffi-viewport .learning-lesson-mark { flex-basis: 9cqw; width: 9cqw; height: 9cqw; }
}

@media (min-width: 1024px) and (min-height: 640px) and (max-height: 740px) {
  body.staffi-redesign.staffi-viewport .app-slider-wrap { --hero-icon-size: 18px; }
  body.staffi-redesign.staffi-viewport .app-module { font-size: 12px; }
  body.staffi-redesign.staffi-viewport .shell { grid-template-rows: 48px minmax(0, 1fr); gap: 8px; padding-top: 8px; }
  body.staffi-redesign.staffi-viewport .shell:has(.format-form) { grid-template-rows: 48px minmax(0, 1fr) 24px; }
  body.staffi-redesign.staffi-viewport .slide { padding: 10px 18px; gap: 6px; }
  body.staffi-redesign.staffi-viewport :is(.features-title, .service-title) { font-size: 28px !important; }
  body.staffi-redesign.staffi-viewport .feature-item:not(.is-active) .feature-copy > strong { font-size: 15px !important; }
  body.staffi-redesign.staffi-viewport .feature-item:not(.is-active) { min-height: 44px; padding-block: 2px; }
  body.staffi-redesign.staffi-viewport .feature-item.is-active { padding-block: 6px; }
  body.staffi-redesign.staffi-viewport .feature-item.is-active .feature-details { margin-top: 6px; }
  body.staffi-redesign.staffi-viewport .feature-detail-card { padding: 6px; font-size: 12px; line-height: 1.3; }
}

/* Approved bottom navigation: large stable arrows and the whole dot row. */
body.staffi-redesign .phone-gallery-controls {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  flex: 0 0 48px;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  margin: 6px auto 0;
}
body.staffi-redesign .phone-gallery-controls[hidden] { display: none; }
body.staffi-redesign .phone-gallery-controls .phone-gallery-dots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 24px);
  justify-content: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 48px;
  min-height: 48px;
  margin: 0;
  overflow: hidden;
}
body.staffi-redesign .phone-gallery-controls .phone-gallery-dot {
  width: 100%;
  min-width: 0;
  height: 48px;
}
body.staffi-redesign .phone-gallery-controls .phone-gallery-dot::after {
  width: min(18px, 100%);
  clip-path: inset(0 calc((100% - 6px) / 2) round 999px);
}
body.staffi-redesign .phone-gallery-controls .phone-gallery-dot[aria-pressed="true"]::after { clip-path: inset(0 round 999px); }
body.staffi-redesign .phone-gallery-controls .phone-arrow,
body.staffi-redesign.staffi-viewport .intro-unified .intro-gallery-arrow {
  position: static;
  inset: auto;
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 1px solid #ded9e8;
  border-radius: 14px;
  background: #fff;
  color: #5413b7;
  opacity: 1;
  transform: none;
  box-shadow: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 200ms ease, border-color 200ms ease;
}
body.staffi-redesign .phone-gallery-controls .phone-arrow svg,
body.staffi-redesign.staffi-viewport .intro-unified .intro-gallery-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.staffi-redesign .phone-gallery-controls .phone-arrow-left svg { transform: rotate(180deg); }
body.staffi-redesign .phone-gallery-controls .phone-arrow:focus-visible { outline: 2px solid #1cbced; outline-offset: 3px; }
body.staffi-redesign.staffi-viewport .phone-panel:has(.phone-gallery-controls:not([hidden])) { --phone-gallery-space: 54px; }
@media (hover: hover) and (pointer: fine) {
  body.staffi-redesign .phone-gallery-controls .phone-arrow:hover,
  body.staffi-redesign.staffi-viewport .intro-unified .intro-gallery-arrow:hover { background: #f7f2fd; border-color: #cbb9e2; }
}
@media (prefers-reduced-motion: reduce) {
  body.staffi-redesign .phone-gallery-controls .phone-arrow,
  body.staffi-redesign.staffi-viewport .intro-unified .intro-gallery-arrow { transition: none; }
}
