.po-screen--s21 .po-content,
.po-screen--s25 .po-content { padding-top: calc(28px + env(safe-area-inset-top)); }
.po-screen--s22 .po-content { padding-top: 16px; }
.po-screen--s22:not(:has(.po-rail)) .po-content { padding-top: calc(16px + env(safe-area-inset-top)); }
.po-screen--s23 .po-content {
  display: flex;
  flex-direction: column;
  padding-top: calc(18px + env(safe-area-inset-top));
}
.po-screen--s23 .po-title { font-size: 24px; }
.po-screen--s23 .po-copy { font-size: 11px; }

.po-assembly-receipt {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.po-assembly-result {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--po-border, #242426);
  border-radius: 16px;
  background: var(--po-surface-2, #151717);
}

.po-assembly-result--accent {
  border-color: rgb(201 245 60 / 40%);
  background: linear-gradient(135deg, rgb(201 245 60 / 10%), rgb(47 185 255 / 3%));
}

.po-assembly-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--po-lime, #c9f53c);
  color: var(--po-lime-fg, #0a0a08);
  font: 900 15px var(--po-display, "Space Grotesk", system-ui, sans-serif);
}

.po-assembly-result strong,
.po-assembly-result small {
  display: block;
}

.po-assembly-result strong {
  font: 800 12px var(--po-display, "Space Grotesk", system-ui, sans-serif);
}

.po-assembly-result small {
  margin-top: 3px;
  color: var(--po-muted, #989894);
  font-size: 9px;
  line-height: 1.45;
}

.po-assembly-result em {
  color: var(--po-lime, #c9f53c);
  font: 800 8px var(--po-mono, "JetBrains Mono", monospace);
  font-style: normal;
}

.po-assembly-summary {
  margin: 10px 0 0;
  padding: 11px 12px;
  border-left: 3px solid var(--po-lime, #c9f53c);
  background: rgb(201 245 60 / 6.5%);
  font: 800 10.5px/1.35 var(--po-display, "Space Grotesk", system-ui, sans-serif);
}

.po-reveal-stage {
  position: relative;
  width: min(270px, 100%);
  aspect-ratio: 9 / 16;
  margin: 16px auto 0;
  overflow: hidden;
  border: 1px solid rgb(201 245 60 / 35%);
  border-radius: 22px;
  background: #050606;
}

.po-reveal-stage .po-video-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.po-reveal-stage .po-video-preview__placeholder {
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}

.po-reveal-stage video {
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 0;
  object-fit: cover;
  filter: blur(13px) brightness(.58);
  transform: scale(1.08);
}

.po-reveal-stage--ready video {
  filter: blur(4px) brightness(.68);
}

.po-reveal-stage--loading::after,
.po-reveal-stage--recovering::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgb(255 255 255 / 9%) 45%, transparent 65%);
  animation: po-reveal-sweep 1.6s linear infinite;
  pointer-events: none;
}

.po-reveal-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 48%, transparent, rgb(0 0 0 / 45%));
  pointer-events: none;
}

.po-reveal-cover-button {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--po-fg, #f5f5f4);
  cursor: pointer;
}

.po-play-ring {
  width: 64px;
  height: 64px;
  margin: auto;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 50%;
  background: rgb(7 8 8 / 76%);
  color: var(--po-lime, #c9f53c);
  font-size: 24px;
  box-shadow: 0 0 0 10px rgb(201 245 60 / 8%);
}

.po-reveal-cover-button b,
.po-reveal-cover-button small { display: block; }
.po-reveal-cover-button b { margin-top: 18px; font: 800 11px var(--po-mono, monospace); letter-spacing: .09em; }
.po-reveal-cover-button small { margin-top: 6px; color: rgb(255 255 255 / 75%); font-size: 9px; }

.po-reveal-seal {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.po-reveal-seal > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 50%;
  background: rgb(7 8 8 / 72%);
  color: var(--po-lime, #c9f53c);
  font-size: 22px;
  box-shadow: 0 0 0 9px rgb(201 245 60 / 7%);
}

.po-reveal-seal b { margin-top: 15px; color: var(--po-fg, #f5f5f4); font: 800 10px var(--po-mono, monospace); letter-spacing: .1em; }
.po-reveal-seal small { margin-top: 5px; color: rgb(255 255 255 / 70%); font-size: 9px; }

@keyframes po-reveal-sweep {
  to { transform: translateX(100%); }
}

.po-screen--s23 .po-video-review {
  position: relative;
  width: min(270px, 100%);
  aspect-ratio: 9 / 16;
  margin: 12px auto 0;
}

.po-screen--s23 .po-video-review .po-video-preview {
  width: 100%;
  height: 100%;
  margin: 0;
}

.po-screen--s23 .po-video-review video,
.po-screen--s23 .po-video-review .po-video-preview__placeholder {
  width: 100%;
  height: 100%;
  max-height: none;
}

.po-chip-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.po-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid var(--po-border-strong, #363638);
  border-radius: 999px;
  background: var(--po-surface-3, #1d1f1e);
  font: 700 9px var(--po-mono, "JetBrains Mono", monospace);
  white-space: nowrap;
}

.po-chip--accent {
  color: var(--po-lime, #c9f53c);
  border-color: rgb(201 245 60 / 32%);
  background: rgb(201 245 60 / 8%);
}

.po-screen--s24 .po-content {
  padding-top: calc(20px + env(safe-area-inset-top));
}

.po-screen--s24 .po-copy { font-size: 11.5px; line-height: 1.35; }
.po-screen--s24 .po-goal-lock { margin-top: 9px; padding: 9px 11px; }
.po-screen--s25 .po-goal-lock { margin-top: 12px; padding: 12px 13px; }
:is(.po-screen--s24, .po-screen--s25) .po-goal-lock { display: block; }
:is(.po-screen--s24, .po-screen--s25) .po-goal-lock__label {
  display: block;
  font: 800 8px var(--po-mono, "JetBrains Mono", monospace);
  letter-spacing: .08em;
}
:is(.po-screen--s24, .po-screen--s25) .po-goal-lock strong {
  display: block;
  margin-top: 4px;
  font: 800 14px/1.2 var(--po-display, "Space Grotesk", system-ui, sans-serif);
}
:is(.po-screen--s24, .po-screen--s25) .po-goal-lock span:last-child {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.45;
}
:is(.po-screen--s24, .po-screen--s25) .po-goal-lock b { color: var(--po-fg, #f5f5f4); }

.po-kit-board {
  position: relative;
  margin-top: 9px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgb(201 245 60 / 30%);
  border-radius: 21px;
  background: linear-gradient(145deg, rgb(201 245 60 / 7.5%), var(--po-surface-2, #151717));
  line-height: 1.45;
}

.po-kit-board::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -42px;
  width: 126px;
  height: 126px;
  border: 1px solid rgb(47 185 255 / 20%);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgb(47 185 255 / 3.5%);
  pointer-events: none;
}

.po-kit-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 9px;
}

.po-kit-preview {
  position: relative;
  min-height: 199px;
}

.po-kit-preview > .po-chip {
  position: absolute;
  z-index: 3;
  top: 7px;
  left: 7px;
  min-height: 20px;
  padding: 3px 6px;
  font-size: 7px;
}

.po-kit-preview .po-video-preview {
  width: 112px;
  height: 199px;
  margin: 0;
  border-radius: 16px;
}

.po-kit-preview .po-video-preview__placeholder {
  height: 100%;
  aspect-ratio: auto;
  padding: 6px;
}

.po-kit-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.po-kit-module {
  flex: 1;
  min-height: 0;
  padding: 9px;
  border: 1px solid var(--po-border, #242426);
  border-radius: 13px;
  background: var(--po-surface, #0f1010);
}

.po-kit-module strong {
  display: block;
  color: var(--po-lime, #c9f53c);
  font: 800 18px/1 var(--po-display, "Space Grotesk", system-ui, sans-serif);
}

.po-kit-module b {
  display: block;
  margin-top: 5px;
  font-size: 10.5px;
}

.po-kit-module span {
  display: block;
  margin-top: 2px;
  color: var(--po-muted, #989894);
  font-size: 8.5px;
}

.po-kit-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 8px;
  border: 1px solid rgb(201 245 60 / 24%);
  border-radius: 12px;
  background: #0e1010;
  color: var(--po-muted, #989894);
  font: 700 7px var(--po-mono, "JetBrains Mono", monospace);
  text-transform: uppercase;
}

.po-kit-pipeline b { color: var(--po-lime, #c9f53c); font-size: 9px; }
.po-kit-pipeline i { color: var(--po-cut, #2fb9ff); font-style: normal; }

.po-kit-settings {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid var(--po-border, #242426);
  border-radius: 13px;
  background: var(--po-surface, #0f1010);
}

.po-kit-settings span { min-width: 0; font-size: 8px; }
.po-kit-settings b { display: block; color: var(--po-lime, #c9f53c); overflow-wrap: anywhere; }
.po-kit-settings small { display: block; margin-top: 2px; color: var(--po-muted, #989894); font-size: 7px; }

.po-month {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px;
  margin-top: 14px;
}

.po-month-cell {
  min-height: 55px;
  padding: 5px;
  border: 1px dashed var(--po-border-strong, #363638);
  border-radius: 9px;
  background: var(--po-surface-2, #151717);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--po-subtle, #61615f);
}

.po-month-cell b { font: 800 9px var(--po-mono, "JetBrains Mono", monospace); }
.po-month-cell small { font-size: 6.8px; line-height: 1.1; }

.po-month-cell--ready {
  border-style: solid;
  border-color: var(--po-lime, #c9f53c);
  background: var(--po-lime, #c9f53c);
  color: var(--po-lime-fg, #0a0a08);
}

.po-month-cell--batch {
  border-style: solid;
  border-color: rgb(201 245 60 / 38%);
  background: rgb(201 245 60 / 7.5%);
  color: var(--po-fg, #f5f5f4);
}

.po-month-cell--capacity { opacity: .5; }

.po-month-legend {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  color: var(--po-muted, #989894);
  font-size: 9px;
}

.po-month-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 4px;
  border: 1px solid var(--po-border-strong, #363638);
  border-radius: 2px;
  background: var(--po-surface-3, #1d1f1e);
}

.po-month-dot--ready { border-color: var(--po-lime, #c9f53c); background: var(--po-lime, #c9f53c); }
.po-month-dot--batch { border-color: rgb(201 245 60 / 45%); background: rgb(201 245 60 / 16%); }
.po-month-dot--capacity { border-style: dashed; background: transparent; }

.po-screen--s26 .po-content {
  padding-top: calc(24px + env(safe-area-inset-top));
}
.po-screen--s26 .po-copy { font-size: 11.5px; line-height: 1.4; }

.po-value-contract {
  display: grid;
  gap: 8px;
  margin-top: 15px;
}

.po-value-card {
  padding: 13px;
  border: 1px solid var(--po-border, #242426);
  border-radius: 17px;
  background: var(--po-surface-2, #151717);
  line-height: 1.45;
}

.po-value-card--after {
  border-color: rgb(201 245 60 / 48%);
  background: linear-gradient(135deg, rgb(201 245 60 / 16%), rgb(47 185 255 / 5%));
}

.po-value-label {
  color: var(--po-lime, #c9f53c);
  font: 800 8px var(--po-mono, "JetBrains Mono", monospace);
  letter-spacing: .08em;
}

.po-value-card h2 {
  margin: 4px 0 0;
  font: 800 15px var(--po-display, "Space Grotesk", system-ui, sans-serif);
}

.po-value-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.po-value-items > div {
  padding: 8px;
  border: 1px solid var(--po-border, #242426);
  border-radius: 11px;
  background: rgb(7 8 8 / 32%);
}

.po-value-items b {
  display: block;
  font: 800 10px/1.2 var(--po-display, "Space Grotesk", system-ui, sans-serif);
}

.po-value-items span {
  display: block;
  margin-top: 3px;
  color: var(--po-muted, #989894);
  font-size: 8px;
  line-height: 1.25;
}

.po-value-arrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--po-lime, #c9f53c);
  font: 800 8px var(--po-mono, "JetBrains Mono", monospace);
  letter-spacing: .06em;
}

.po-value-arrow::before,
.po-value-arrow::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgb(201 245 60 / 26%);
}

:is(.po-screen--s23, .po-screen--s24) .po-video-preview figcaption { display: none; }
.po-screen--s23 .po-cta-bar:has(.po-button:disabled) { display: none; }

@media (max-height: 700px) {
  .po-screen--s21 .po-content,
  .po-screen--s25 .po-content { padding-top: calc(28px + env(safe-area-inset-top)); }
  .po-screen--s23 .po-content { padding-top: calc(18px + env(safe-area-inset-top)); }
  .po-screen--s24 .po-content { padding-top: calc(20px + env(safe-area-inset-top)); }
  .po-screen--s26 .po-content { padding-top: calc(16px + env(safe-area-inset-top)); }
  .po-reveal-stage { width: min(220px, 100%); }
  .po-reveal-seal > span { width: 50px; height: 50px; }
  .po-reveal-seal b { margin-top: 11px; }
  .po-screen--s23 .po-video-review { width: min(246px, 100%); }
  .po-screen--s24 .po-title { font-size: 18px; }
  .po-screen--s24 .po-copy { font-size: 10px; }
  .po-screen--s24 .po-goal-lock { display: none; }
  .po-kit-layout { grid-template-columns: 96px minmax(0, 1fr); }
  .po-kit-preview .po-video-preview { width: 96px; height: 171px; }
  .po-value-contract { gap: 6px; margin-top: 10px; }
  .po-value-card { padding: 10px; }
  .po-value-items { margin-top: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .po-reveal-stage--loading::after,
  .po-reveal-stage--recovering::after {
    animation: none;
  }
}
