.sp-scenes .sp-scene--voip {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 4vw, 58px);
}

.sp-scenes .sp-scene--voip > div {
  width: 100%;
  max-width: none;
  padding: clamp(10px, 2vw, 30px) 0;
}

.sp-scene--voip .voip-route {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(84, 215, 197, .24);
  border-radius: 20px;
  background: #071415;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .18);
}

.voip-route picture,
.voip-route img {
  display: block;
  width: 100%;
}

.voip-route img {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #071415;
}

.voip-route figcaption {
  padding: 14px 18px 16px;
  border-top: 1px solid rgba(84, 215, 197, .16);
  color: #bdd1d3;
  font-size: clamp(.74rem, .9vw, .86rem);
  line-height: 1.5;
}

.voip-route__copy h3 {
  margin-bottom: 20px;
}

.voip-route__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: voip-step;
}

.voip-route__steps li {
  counter-increment: voip-step;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel), transparent 7%);
}

.voip-route__steps li::before {
  content: counter(voip-step, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .14em;
}

.voip-route__steps strong,
.voip-route__steps span {
  display: block;
}

.voip-route__steps strong {
  font-size: .92rem;
  line-height: 1.3;
}

.voip-route__steps span {
  margin-top: 6px;
  color: var(--muted);
  font-size: .79rem;
  line-height: 1.45;
}

.voip-route__note {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--panel), transparent 7%);
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.5;
}

.voip-route__note strong {
  color: var(--text);
}

@media (max-width: 1040px) {
  .sp-scenes .sp-scene--voip {
    grid-template-columns: minmax(0, 1fr);
  }

  .voip-route__copy {
    max-width: 840px;
  }
}

@media (max-width: 650px) {
  .sp-scene--voip .voip-route {
    border-radius: 14px;
  }

  .sp-scene--voip .voip-route img {
    max-height: none;
    aspect-ratio: 2 / 3;
  }

  .voip-route figcaption {
    padding: 12px 14px 14px;
  }

  .voip-route__steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .voip-route__steps li {
    padding: 14px;
  }
}

/* Honest print path: a printer belongs to the LAN / configured print service, not a WAN port. */
.sp-scenes .print-route {
  width: 100%;
  padding: clamp(22px, 3vw, 38px);
  border-radius: 24px;
  background: #eaf3f5;
  color: #172a39;
  box-shadow: inset 0 0 0 1px rgba(27, 64, 78, .09);
}

html[data-theme="dark"] .sp-scenes .print-route {
  background: #132631;
  color: #f0f8fa;
}

.print-route > figcaption {
  margin: 0 0 24px;
  color: inherit;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  font-weight: 750;
}

.print-route ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.print-route li {
  position: relative;
  min-height: 132px;
  padding: 20px;
  border: 1px solid rgba(23, 42, 57, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .7);
}

html[data-theme="dark"] .print-route li {
  border-color: rgba(212, 233, 237, .2);
  background: rgba(2, 15, 22, .54);
}

.print-route li::before {
  content: counter(list-item, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  color: #117970;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
}

html[data-theme="dark"] .print-route li::before {
  color: #56d7c5;
}

.print-route li strong,
.print-route li span {
  display: block;
}

.print-route li strong {
  font-size: 1.1rem;
  line-height: 1.2;
}

.print-route li span {
  margin-top: 6px;
  font-size: .86rem;
  line-height: 1.5;
  opacity: .78;
}

.print-route li:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: 12px;
  bottom: 6px;
  color: #117970;
  font-size: 1.3rem;
}

html[data-theme="dark"] .print-route li:not(:last-child)::after {
  color: #56d7c5;
}

.print-route > p {
  margin: 20px 0 0;
  font-size: .82rem;
  line-height: 1.5;
  opacity: .8;
}

@media (max-width: 600px) {
  .print-route ol {
    grid-template-columns: 1fr;
  }

  .print-route li {
    min-height: 0;
  }

  .print-route li:not(:last-child)::after {
    transform: rotate(90deg);
  }
}
