:root {
  --pl-black: #050405;
  --pl-panel: rgba(12, 8, 10, 0.94);
  --pl-panel-soft: rgba(18, 10, 13, 0.86);
  --pl-red: #ef1b2d;
  --pl-red-hot: #ff2438;
  --pl-red-dark: #8f0713;
  --pl-white: #f8f5f3;
  --pl-muted: #aaa2a4;
  --pl-line: rgba(255, 255, 255, 0.14);
  --pl-red-line: rgba(239, 27, 45, 0.72);
  --pl-glow: 0 0 8px rgba(239, 27, 45, 0.35), 0 0 18px rgba(239, 27, 45, 0.18);
  --pl-radius: 14px;
}

@font-face {
  font-family: "Marck Script";
  src: url("/assets/fonts/photolab/MarckScript-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans PhotoLab";
  src: url("/assets/fonts/photolab/NotoSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pl-html,
.pl-app {
  height: 100%;
}

.pl-html {
  overflow: hidden;
}

.pl-html:has(.is-success),
.pl-app.is-success {
  overflow: auto;
}

.pl-app {
  --header-height: 76px;
  min-height: 100dvh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--pl-white);
  background: #050405;
}

.pl-app::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    url("/assets/images/site/ChatGPT Image Oct 20, 2026, 11_16_30 AM-4.png") center 38% / cover no-repeat;
  pointer-events: none;
}

.pl-app[data-pl-step="1"] {
  --header-height: 88px;
}

.pl-app[data-pl-step="1"]::before {
  background: url("/assets/images/photolab/step1-background.png") 0 0 / 1672px 941px no-repeat;
}

.pl-app[data-pl-step="1"]::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, transparent 16%, transparent 78%, rgba(0, 0, 0, 0.18) 100%);
}









.pl-app::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(226, 24, 40, 0.22), transparent 58%),
    linear-gradient(180deg, rgba(5, 1, 3, 0.28) 0%, rgba(5, 1, 3, 0.42) 46%, rgba(4, 0, 2, 0.78) 100%);
  pointer-events: none;
}
  .pl-app > .pl-shell {
  position: relative;
  z-index: 1;
}



.pl-shell {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  width: min(calc(100% - 80px), 1592px);
  margin: 0 auto;
  padding: 2px 0 8px;
}

.pl-hero {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  min-height: 118px;
  padding: 2px 4px 6px;
}

.pl-hero h1 {
  margin: 0;
  font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 0.86;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(226, 24, 40, 0.35);
}

.pl-hero__photo {
  color: #f4f1ef;
}

.pl-hero__lab {
  color: var(--pl-red-hot);
  margin-left: 0.18em;
}

.pl-hero__copy p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  font-weight: 600;
}

.pl-hero__tag {
  margin: 0 8px 10px 0;
  max-width: 180px;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Marck Script", cursive;
  font-size: 1.15rem;
  line-height: 1.15;
  text-align: right;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
}

.pl-progress {
  flex: 0 0 auto;
  margin: 0 0 10px;
}

.pl-progress__list {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 auto;
  padding: 8px 22px;
  max-width: 1360px;
  list-style: none;
  border: 1px solid var(--pl-line);
  border-radius: 14px;
  background: rgba(8, 7, 8, 0.82);
  box-shadow: 0 0 0 1px rgba(239, 27, 45, 0.08), 0 10px 28px rgba(0, 0, 0, 0.28);
}

.pl-progress__list li {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
}

.pl-progress__list li:not(:last-child)::after {
  content: "";
  flex: 1 1 auto;
  height: 2px;
  margin: 0 8px;
  background: rgba(255, 255, 255, 0.18);
}

.pl-progress__list li.is-done:not(:last-child)::after,
.pl-progress__list li.is-current:not(:last-child)::after {
  background: linear-gradient(90deg, var(--pl-red), rgba(239, 27, 45, 0.35));
}

.pl-progress button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  white-space: nowrap;
}

.pl-progress__dot {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
}

.pl-progress__name {
  font-size: 0.9rem;
  font-weight: 700;
}

.pl-progress button.is-current {
  color: #fff;
}

.pl-progress button.is-current .pl-progress__dot {
  color: #fff;
  background: var(--pl-red);
  border-color: var(--pl-red-hot);
  box-shadow: var(--pl-glow);
}

.pl-progress button.is-done {
  color: #ff8a90;
}

.pl-progress button.is-done .pl-progress__dot {
  color: transparent;
  background: var(--pl-red);
  border-color: var(--pl-red);
}

.pl-progress button.is-done .pl-progress__dot::after {
  content: "✓";
  color: #fff;
  font-size: 0.85rem;
}

.pl-app[data-pl-step="2"] .pl-progress button.is-done .pl-progress__dot {
  background: #1f9d4a;
  border-color: #2ed067;
}

.pl-progress button:disabled {
  cursor: default;
  opacity: 0.55;
}

.pl-progress__bar,
.pl-progress__mobile {
  display: none;
}

.pl-form {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pl-step {
  display: none;
  flex: 1 1 auto;
  min-height: 0;
}

.pl-step.is-active {
  display: flex;
  flex-direction: column;
  min-height: 0;
  animation: pl-in 200ms ease;
}

@keyframes pl-in {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: none; }
}

.pl-step[hidden] {
  display: none !important;
}

.pl-grid {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  gap: 10px;
}

.pl-grid--3 {
  grid-template-columns: minmax(260px, 490px) minmax(0, 1fr) minmax(250px, 470px);
}

.pl-grid--style {
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1fr);
  align-items: stretch;
}

.pl-grid--edit {
  grid-template-columns: minmax(230px, 405px) minmax(0, 1.7fr) minmax(240px, 410px);
}

.pl-grid--send {
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 640px);
  align-items: center;
}

.pl-panel {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px 16px;
  border: 1px solid var(--pl-red-line);
  border-radius: var(--pl-radius);
  background:
    linear-gradient(180deg, rgba(28, 12, 16, 0.55), transparent 28%),
    var(--pl-panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 18px rgba(239, 27, 45, 0.08);
}

.pl-panel__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pl-panel__head h2,
.pl-send-card h2,
.pl-ready h2 {
  margin: 0;
  font-family: "Roboto Condensed", sans-serif;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pl-send-card {
  padding: 18px 20px 20px;
}

.pl-panel__head p,
.pl-muted {
  margin: 3px 0 0;
  color: var(--pl-muted);
  font-size: 0.84rem;
}

.pl-step-num,
.pl-ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1.5px solid var(--pl-red);
  border-radius: 50%;
  color: var(--pl-red-hot);
  box-shadow: var(--pl-glow);
}

.pl-step-num {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 800;
}

.pl-ico svg {
  width: 18px;
  height: 18px;
}

.pl-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 220px;
  padding: 20px;
  border: 1.5px dashed rgba(239, 27, 45, 0.7);
  border-radius: 16px;
  background: rgba(8, 3, 5, 0.55);
  cursor: pointer;
  text-align: center;
}

.pl-drop.is-over,
.pl-drop.has-photo {
  border-color: var(--pl-red-hot);
  box-shadow: var(--pl-glow);
}

.pl-drop input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.pl-drop__icon {
  color: var(--pl-red-hot);
}

.pl-drop__icon svg {
  width: 42px;
  height: 42px;
}

.pl-drop em {
  color: var(--pl-muted);
  font-style: normal;
  font-size: 0.85rem;
}

.pl-drop__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff3140, #9a0a16);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(226, 24, 40, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.pl-drop__btn svg {
  width: 18px;
  height: 18px;
}

.pl-drop.has-photo strong,
.pl-drop.has-photo em,
.pl-drop.has-photo .pl-drop__icon,
.pl-drop.has-photo .pl-drop__btn {
  opacity: 0.18;
}

.pl-samples p {
  margin: 0 0 8px;
  color: var(--pl-muted);
  font-size: 0.8rem;
}

.pl-samples__row {
  display: flex;
  gap: 8px;
}

.pl-samples__btn,
.pl-samples__static {
  position: relative;
  overflow: hidden;
  width: 86px;
  height: 58px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #12080a;
}

.pl-samples__btn img,
.pl-samples__static img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pl-samples__static.is-good::after {
  content: "✓";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1f9d4a;
  color: #fff;
  font-size: 0.7rem;
  line-height: 18px;
  text-align: center;
}

.pl-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  place-items: center;
  touch-action: none;
  overscroll-behavior: contain;
  user-select: none;
}

.pl-stage canvas {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 10px;
  background: #070305;
  border: 1px dashed rgba(255, 255, 255, 0.22);
}

.pl-stage--empty {
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: #070305;
}

.pl-stage--empty canvas {
  border: 0;
  background: transparent;
}

.pl-stage--empty.has-photo {
  border: 0;
  background: transparent;
}

.pl-safe-label {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 600;
  pointer-events: none;
}

.pl-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  pointer-events: none;
  text-align: center;
  color: var(--pl-muted);
}

.pl-empty[hidden] {
  display: none !important;
}

.pl-empty__art {
  position: relative;
  justify-self: center;
  color: rgba(255, 255, 255, 0.28);
}

.pl-empty__art svg {
  width: 88px;
  height: 88px;
}

.pl-empty__plus {
  position: absolute;
  right: -8px;
  bottom: 4px;
  color: var(--pl-red-hot);
}

.pl-empty__plus svg {
  width: 36px;
  height: 36px;
}

.pl-print {
  position: relative;
  background: #f3ece4;
  padding: 10px 10px 28px;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.pl-print canvas,
.pl-print img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #111;
}

.pl-print--panel {
  width: min(100%, 420px);
  margin: 0 auto;
  transform: rotate(2.5deg);
}

.pl-print__watermark {
  position: absolute;
  inset: 10px 10px 28px;
  display: grid;
  place-content: center;
  justify-items: center;
  pointer-events: none;
}

.pl-print__watermark[hidden] {
  display: none !important;
}

.pl-print__watermark img {
  width: min(48%, 160px);
  height: auto;
  opacity: 0.42;
}

.pl-print--panel canvas {
  background: #141014;
}

.pl-print--hero,
.pl-print--editor,
.pl-print--ready,
.pl-print--send,
.pl-print--success {
  min-height: 0;
}

.pl-print--hero {
  display: grid;
  align-content: center;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 16px 16px 42px;
  transform: none;
}

.pl-print--editor {
  flex: 1 1 auto;
  display: flex;
  padding: 12px;
  transform: none;
}

.pl-print--editor .pl-stage {
  flex: 1;
  width: 100%;
}

.pl-print--ready {
  width: min(100%, 720px);
  margin: 8px auto 0;
  padding: 12px 12px 38px;
  transform: rotate(-1.4deg);
}

.pl-print--send {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 14px 14px 42px;
  transform: rotate(-2deg);
}

.pl-print--success {
  width: min(100%, 420px);
  margin: 12px auto;
}

.pl-print__ghost {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  text-align: center;
}

.pl-copies {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid var(--pl-line);
  border-radius: 12px;
  background: rgba(8, 3, 5, 0.55);
  color: var(--pl-muted);
}

.pl-copies > span,
.pl-info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pl-copies svg,
.pl-info svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 2px;
}

.pl-copies__ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pl-copies__ctrl button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--pl-line);
  background: #12080a;
  color: #fff;
}

.pl-info {
  margin: 0;
  color: var(--pl-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.pl-btn {
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  color: #fff;
}

.pl-btn svg {
  width: 18px;
  height: 18px;
}

.pl-btn--primary {
  background: linear-gradient(180deg, #ff3140, #9a0a16);
  box-shadow: 0 0 18px rgba(226, 24, 40, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.pl-btn--ghost {
  background: rgba(16, 6, 8, 0.9);
  border-color: rgba(255, 45, 65, 0.45);
}

.pl-btn--block {
  width: 100%;
}

.pl-btn--xl {
  min-height: 56px;
  font-size: 1.02rem;
}

.pl-btn:disabled {
  opacity: 0.45;
  pointer-events: none;
}

.pl-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--pl-line);
  background: rgba(10, 4, 6, 0.72);
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.pl-switch__copy {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pl-switch small {
  display: block;
  color: var(--pl-muted);
  font-size: 0.75rem;
}

.pl-switch__track {
  position: relative;
  width: 44px;
  height: 24px;
  flex: 0 0 44px;
  border-radius: 999px;
  background: #2a1418;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.pl-switch__track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.16s ease;
}

.pl-switch[aria-checked="true"] .pl-switch__track {
  background: var(--pl-red);
  border-color: var(--pl-red-hot);
  box-shadow: 0 0 10px rgba(226, 24, 40, 0.45);
}

.pl-switch[aria-checked="true"] .pl-switch__track::after {
  transform: translateX(20px);
}

.pl-tip {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(239, 27, 45, 0.35);
  background: rgba(40, 10, 14, 0.45);
}

.pl-tip svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.pl-tip strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffd0d4;
}

.pl-tip p {
  margin: 6px 0 0;
  color: var(--pl-muted);
  font-size: 0.84rem;
}

.pl-zoombar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.pl-zoombar button,
.pl-chip {
  min-width: 40px;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 45, 65, 0.45);
  background: rgba(16, 6, 8, 0.9);
  color: #fff;
}

.pl-zoombar__hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pl-muted);
  font-size: 0.75rem;
}

.pl-zoombar__hint svg {
  width: 16px;
  height: 16px;
}

input[type="range"] {
  accent-color: var(--pl-red);
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pl-red);
  border: 2px solid #fff;
  box-shadow: 0 0 10px rgba(226, 24, 40, 0.7);
}

.pl-styles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-height: 0;
}

.pl-style {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 0;
  padding: 8px;
  border: 1px solid var(--pl-line);
  border-radius: 14px;
  background: #14080c;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.pl-style canvas {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 8px;
}

.pl-style strong {
  font-size: 0.92rem;
}

.pl-style span {
  color: var(--pl-muted);
  font-size: 0.75rem;
  line-height: 1.3;
}

.pl-style.is-selected,
.pl-style[aria-pressed="true"] {
  border: 2px solid var(--pl-red);
  box-shadow: var(--pl-glow);
}

.pl-style__check {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.pl-style.is-selected .pl-style__check {
  background: var(--pl-red);
  border-color: #ff8a90;
}

.pl-style.is-selected .pl-style__check::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.pl-style-detail {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(239, 27, 45, 0.4);
  background: rgba(40, 10, 16, 0.55);
}

.pl-style-detail p {
  margin: 4px 0 0;
  color: var(--pl-muted);
  font-size: 0.82rem;
}

.pl-els {
  display: grid;
  gap: 8px;
}

.pl-el {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 4px;
  border: 1px solid var(--pl-line);
  border-radius: 14px;
  background: rgba(10, 4, 6, 0.7);
}

.pl-el.is-active {
  border-color: var(--pl-red);
  background: linear-gradient(90deg, rgba(239, 27, 45, 0.18), rgba(10, 4, 6, 0.7));
  box-shadow: var(--pl-glow);
}

.pl-el__main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-align: left;
  font-weight: 700;
}

.pl-switch--mini {
  width: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.pl-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.pl-tabs button {
  min-height: 54px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 6px 4px;
  border-radius: 12px;
  border: 1px solid var(--pl-line);
  background: #12080a;
  color: #c9ced4;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.pl-tabs button svg {
  width: 18px;
  height: 18px;
}

.pl-tabs button[aria-selected="true"] {
  color: #fff;
  border-color: var(--pl-red);
  background: rgba(226, 24, 40, 0.2);
  box-shadow: var(--pl-glow);
}

.pl-pane {
  display: grid;
  gap: 10px;
}

.pl-pane[hidden] {
  display: none !important;
}

.pl-caption input,
.pl-field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: #070305;
  color: #f6f6f6;
}

.pl-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: #070305;
}

.pl-field svg {
  width: 16px;
  height: 16px;
  color: var(--pl-muted);
}

.pl-field input {
  border: 0;
  min-height: 44px;
  padding-left: 0;
  background: transparent;
}

.pl-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pl-fields .pl-lane,
.pl-fields p:last-child {
  grid-column: 1 / -1;
}

.pl-caption span,
.pl-send-card label,
.pl-size span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9ced4;
}

.pl-counter {
  display: block;
  margin-top: 6px;
  color: var(--pl-muted);
}

.pl-gestures {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 8px 0 0;
  color: var(--pl-muted);
  font-size: 0.8rem;
}

.pl-gestures span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pl-gestures svg {
  width: 16px;
  height: 16px;
}

.pl-ready {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.pl-ready h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 800;
}

.pl-ready .is-red {
  color: var(--pl-red-hot);
}

.pl-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.pl-summary li {
  position: relative;
  min-width: 132px;
  padding: 10px 36px 10px 14px;
  border-radius: 14px;
  background: rgba(8, 3, 5, 0.78);
  border: 1px solid rgba(226, 24, 40, 0.45);
  font-size: 0.82rem;
  text-align: left;
}

.pl-summary li strong {
  display: block;
  color: var(--pl-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.pl-summary li.is-on::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pl-red);
  color: #fff;
  font-size: 0.7rem;
  line-height: 18px;
  text-align: center;
}

.pl-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #ffd0d4;
  font-weight: 700;
}

.pl-price strong {
  color: #fff;
  font-size: 1.25rem;
}

.pl-dock {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}

.pl-dock__hint {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--pl-muted);
  font-size: 0.82rem;
}

.pl-dock__hint svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.pl-app[data-pl-step="2"] .pl-dock [data-pl-dock-next],
.pl-app[data-pl-step="6"] .pl-dock [data-pl-dock-next] {
  display: none;
}

.pl-app[data-pl-step="2"] .pl-dock,
.pl-app[data-pl-step="6"] .pl-dock {
  justify-content: flex-start;
}

@media (max-width: 1099px) {
.pl-app[data-pl-step="1"] .pl-shell {
  width: 100%;
  max-width: none;
  padding: 0;
}

.pl-app[data-pl-step="1"] .pl-hero {
  min-height: 0;
  margin: 6px 0 0 228px;
  padding: 0;
  align-items: flex-start;
}

.pl-app[data-pl-step="1"] .pl-hero h1 {
  font-style: italic;
  font-size: 6.7rem;
  font-weight: 900;
  line-height: 0.72;
  letter-spacing: -0.04em;
}

.pl-app[data-pl-step="1"] .pl-hero__photo,
.pl-app[data-pl-step="1"] .pl-hero__lab {
  display: inline-block;
  transform: skewX(-7deg);
}

.pl-app[data-pl-step="1"] .pl-hero__photo {
  background: linear-gradient(180deg, #ffffff 0%, #f3f0ee 18%, #8e8986 46%, #ffffff 58%, #5e5957 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 0 rgba(40, 38, 38, 0.9)) drop-shadow(0 8px 10px rgba(0, 0, 0, 0.55));
}

.pl-app[data-pl-step="1"] .pl-hero__lab {
  margin-left: 0.12em;
  background: linear-gradient(180deg, #ffb3ba 0%, #ff3144 26%, #c40018 52%, #ff5564 74%, #7a0010 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(255, 20, 40, 0.95)) drop-shadow(0 3px 0 #4a0008);
}

.pl-app[data-pl-step="1"] .pl-hero__lead {
  margin: 8px 0 0;
  font-size: 1.62rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.pl-app[data-pl-step="1"] .pl-hero__support {
  display: block;
  max-width: 52rem;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.35;
}

.pl-app[data-pl-step="1"] .pl-hero__tag {
  display: none;
}

.pl-hero__support {
  display: none;
}

.pl-app[data-pl-step="1"] .pl-progress {
  width: min(1140px, calc(100% - 80px));
  max-width: 1140px;
  margin: 8px 0 8px 250px;
}

.pl-app[data-pl-step="1"] .pl-progress__list {
  max-width: none;
  min-height: 72px;
  padding: 8px 22px 8px 16px;
  border-radius: 999px;
  background: rgba(6, 3, 5, 0.94);
  border: 1px solid rgba(255, 46, 62, 0.72);
  box-shadow: 0 0 18px rgba(255, 20, 40, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.pl-app[data-pl-step="1"] .pl-progress__dot {
  width: 36px;
  height: 36px;
  font-size: 1.02rem;
  border-width: 2px;
}

.pl-app[data-pl-step="1"] .pl-progress__name {
  font-size: 1.05rem;
}

.pl-app[data-pl-step="1"] .pl-progress button.is-current .pl-progress__dot {
  box-shadow: 0 0 10px rgba(255, 36, 56, 1), 0 0 22px rgba(255, 20, 40, 0.85);
}

.pl-app[data-pl-step="1"] .pl-progress button.is-current {
  color: var(--pl-red-hot);
}

.pl-app[data-pl-step="1"] .pl-step[data-pl-step="1"] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 2px;
}

}

.pl-upload {
  width: min(790px, calc(100% - 32px));
  min-height: 512px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 0;
  padding: 18px 24px 16px;
  border: 1.5px solid #ff2c3e;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(48, 10, 16, 0.42), transparent 22%),
    rgba(7, 3, 5, 0.96);
  box-shadow:
    0 0 0 1px rgba(255, 50, 70, 0.45),
    0 0 18px rgba(255, 24, 44, 0.9),
    0 0 42px rgba(255, 12, 28, 0.5),
    inset 0 0 28px rgba(255, 20, 40, 0.08);
}

.pl-upload__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pl-upload__head h2 {
  margin: 0;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.pl-upload__head p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
}

.pl-app[data-pl-step="1"] .pl-step-num {
  width: 50px;
  height: 50px;
  flex-basis: 50px;
  color: #fff;
  background: var(--pl-red);
  border-color: #ff5a66;
  box-shadow: 0 0 12px rgba(255, 36, 56, 0.95), 0 0 26px rgba(255, 20, 40, 0.65);
  font-size: 1.4rem;
}

.pl-app[data-pl-step="1"] .pl-drop {
  min-height: 252px;
  flex: 0 0 auto;
  border: 1.5px dashed rgba(255, 255, 255, 0.42);
  border-radius: 14px;
  background: rgba(2, 1, 2, 0.78);
  gap: 8px;
}

.pl-app[data-pl-step="1"] .pl-drop.is-over {
  border-color: var(--pl-red-hot);
  background: rgba(80, 10, 16, 0.28);
}

.pl-app[data-pl-step="1"] .pl-drop.is-over .pl-drop__icon {
  color: #ff6b76;
}

.pl-app[data-pl-step="1"] .pl-drop__icon svg {
  width: 68px;
  height: 68px;
  filter: drop-shadow(0 0 10px rgba(255, 30, 50, 0.85));
}

.pl-app[data-pl-step="1"] .pl-drop strong {
  font-size: 1.22rem;
}

.pl-app[data-pl-step="1"] .pl-drop em {
  font-size: 0.95rem;
}

.pl-app[data-pl-step="1"] .pl-drop__btn {
  width: min(448px, 100%);
  min-height: 62px;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.22rem;
  box-shadow: 0 0 16px rgba(255, 30, 50, 0.8), 0 0 32px rgba(255, 16, 32, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.pl-app[data-pl-step="1"] .pl-drop__btn svg {
  width: 22px;
  height: 22px;
}

.pl-app[data-pl-step="1"] .pl-drop.has-photo {
  display: none;
}

.pl-picked {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 236px;
  padding: 12px;
  border: 1px solid rgba(239, 27, 45, 0.45);
  border-radius: 12px;
  background: rgba(4, 2, 3, 0.72);
}

.pl-picked[hidden] {
  display: none !important;
}

.pl-picked img {
  width: 220px;
  height: 146px;
  object-fit: cover;
  border-radius: 8px;
  background: #111;
}

.pl-picked__meta {
  display: grid;
  gap: 6px;
}

.pl-picked__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.pl-file-error {
  margin: 0;
  color: #ffd6d9;
  font-size: 0.84rem;
}

.pl-file-error[hidden] {
  display: none !important;
}

/* large-photo preparation status (non-blocking, announced politely) */
.pl-prep {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 6px 0 0;
  padding: 8px 12px;
  border: 1px solid rgba(226, 24, 40, 0.38);
  border-radius: 10px;
  background: rgba(20, 8, 10, 0.72);
  color: #f6e9ea;
  font-size: 0.86rem;
  line-height: 1.4;
}

.pl-prep[hidden] {
  display: none !important;
}

.pl-prep__title {
  font-weight: 700;
}

.pl-prep__detail {
  color: #d8c4c6;
  font-size: 0.8rem;
}

.pl-prep[data-state="busy"] .pl-prep__title::after {
  content: "";
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-left: 0.5em;
  border: 2px solid rgba(255, 58, 36, 0.35);
  border-top-color: #ff3a24;
  border-radius: 50%;
  vertical-align: -0.1em;
  animation: pl-prep-spin 0.8s linear infinite;
}

@keyframes pl-prep-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .pl-prep[data-state="busy"] .pl-prep__title::after { animation: none; }
}

.pl-app[data-pl-step="1"] .pl-samples__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pl-app[data-pl-step="1"] .pl-samples__static {
  width: auto;
  height: 114px;
  border-radius: 10px;
  border-color: rgba(255, 255, 255, 0.22);
}

.pl-app[data-pl-step="1"] .pl-samples p {
  margin: 2px 0 8px;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.8);
}

.pl-app[data-pl-step="1"] .pl-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 46px 14px;
}

.pl-app[data-pl-step="1"] .pl-dock__hint {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.55);
  padding: 8px 16px;
  border-radius: 999px;
}

.pl-app[data-pl-step="1"] .pl-dock__hint svg {
  width: 18px;
  height: 18px;
}

.pl-app[data-pl-step="1"] .pl-dock .pl-btn {
  min-width: 210px;
  min-height: 56px;
  border-radius: 999px;
  font-size: 1.05rem;
  background: rgba(10, 8, 10, 0.94);
  border-color: rgba(255, 255, 255, 0.16);
}

.pl-app[data-pl-step="1"] .pl-dock [data-pl-dock-next] {
  min-width: 410px;
}

.pl-app[data-pl-step="1"] .pl-dock [data-pl-dock-next]:disabled {
  background: #2c2c32;
  border-color: #3a3a42;
  color: #8d8d94;
  box-shadow: none;
  opacity: 1;
  pointer-events: none;
}

.pl-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pl-alert {
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(226, 24, 40, 0.16);
  color: #ffd6d9;
}

.pl-success,
.pl-unavailable {
  margin: auto;
  width: min(100%, 720px);
  text-align: center;
  padding: 24px 16px;
}

.pl-success__card {
  padding: 24px 18px;
  border-radius: 20px;
  border: 1px solid var(--pl-red-line);
  background: rgba(8, 3, 5, 0.88);
}

.pl-success__mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: var(--pl-red);
  box-shadow: var(--pl-glow);
}

.pl-success__mark svg {
  width: 28px;
  height: 28px;
}

.pl-success h1,
.pl-unavailable h1,
.pl-kicker {
  font-family: "Roboto Condensed", sans-serif;
  text-transform: uppercase;
}

.pl-success h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.pl-kicker {
  margin: 0 0 6px;
  color: var(--pl-red-hot);
  letter-spacing: 0.16em;
  font-size: 0.75rem;
}

.pl-success__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.pl-success__meta dt {
  color: var(--pl-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.pl-success__meta dd {
  margin: 4px 0 0;
  font-size: 1.1rem;
  font-weight: 800;
}

.pl-success__keep {
  font-weight: 700;
}

.pl-success__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.pl-file-name,
.pl-lowres {
  margin: 0;
  font-size: 0.82rem;
  color: var(--pl-muted);
}

.pl-lowres {
  color: #ffd36a;
}

@media (prefers-reduced-motion: reduce) {
  .pl-step.is-active {
    animation: none;
  }
}

@media (max-width: 1199px) {
  .pl-grid--3,
  .pl-grid--edit {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 340px);
  }

  .pl-grid--3 > :first-child,
  .pl-grid--edit > :first-child {
    display: none;
  }

  .pl-grid--style {
    grid-template-columns: 1fr;
  }

  .pl-hero__tag {
    display: none;
  }
}

@media (max-width: 899px) {
  .pl-html {
    overflow: auto;
  }

  .pl-app {
    height: auto;
    min-height: 100dvh;
    overflow: auto;
  }

  .pl-shell {
    width: calc(100% - 16px);
  }

  .pl-hero {
    min-height: 0;
  }

  .pl-hero h1 {
    font-size: 1.8rem;
  }

  .pl-progress__list {
    display: none;
  }

  .pl-progress__mobile,
  .pl-progress__bar {
    display: block;
  }

  .pl-progress__mobile {
    margin: 0 0 6px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffd0d4;
  }

  .pl-progress__bar {
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
  }

  .pl-progress__bar span {
    display: block;
    height: 100%;
    width: 16.6%;
    background: var(--pl-red);
  }

  .pl-grid--3,
  .pl-grid--style,
  .pl-grid--edit,
  .pl-grid--send {
    grid-template-columns: 1fr;
  }

  .pl-grid--3 > :first-child,
  .pl-grid--edit > :first-child {
    display: flex;
  }

  .pl-app[data-pl-step="1"] .pl-grid--3 > :nth-child(2),
  .pl-app[data-pl-step="1"] .pl-grid--3 > :nth-child(3),
  .pl-app[data-pl-step="2"] .pl-grid--3 > :nth-child(3) {
    display: none;
  }

  .pl-styles {
    grid-template-columns: 1fr;
  }

  .pl-fields {
    grid-template-columns: 1fr;
  }

  .pl-print--panel,
  .pl-print--ready,
  .pl-print--send {
    transform: none;
    width: 100%;
  }

  .pl-app[data-pl-step="1"] .pl-dock,
  .pl-app[data-pl-step="2"] .pl-dock [data-pl-dock-next],
  .pl-app[data-pl-step="6"] .pl-dock [data-pl-dock-next] {
    display: flex;
  }

  .pl-dock {
    position: sticky;
    bottom: 0;
    justify-content: space-between;
    background: linear-gradient(180deg, transparent, rgba(4, 1, 2, 0.92) 30%);
  }

  .pl-dock .pl-btn {
    flex: 1 1 0;
  }

  .pl-success__meta {
    grid-template-columns: 1fr;
  }

  .pl-app[data-pl-step="1"] .pl-hero,
  .pl-app[data-pl-step="1"] .pl-progress {
    margin-left: 8px;
    margin-right: 8px;
    width: auto;
    max-width: none;
  }

  .pl-app[data-pl-step="1"] .pl-hero {
    min-height: 0;
    margin-right: 8px;
  }

  .pl-app[data-pl-step="1"] .pl-hero__tag {
    display: none;
  }

  .pl-upload {
    width: calc(100% - 8px);
    min-height: 0;
  }

  .pl-app[data-pl-step="1"] .pl-samples__row {
    gap: 8px;
  }

  .pl-app[data-pl-step="1"] .pl-samples__static {
    height: 72px;
  }

  .pl-app[data-pl-step="1"] .pl-dock {
    flex-wrap: wrap;
    padding: 8px 8px 14px;
  }

  .pl-app[data-pl-step="1"] .pl-dock__hint {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .pl-picked {
    flex-direction: column;
    align-items: stretch;
  }

  .pl-picked img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
  }
}

/* ==========================================================================
   STEP 1 - UPLOAD / desktop composition (>= 1100px)
   Source of truth: assets/images/New Photo Lab/Neon Tino's Bowling Photo Lab.png (1672 x 941).
   Everything is laid out in "design pixels" scaled by --u so the composition
   keeps the approved proportions at any desktop viewport (1672x941 = 1:1).
   ========================================================================== */
.pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"])::before {
  background: #050405 url("/assets/images/photolab/step1-bg.jpg") center / cover no-repeat;
}

.pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"])::after {
  background: radial-gradient(ellipse 120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.28) 100%);
}

@media (min-width: 1100px) {
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) {
    --u: min(100vw / 1672, 100vh / 941);
    --pl-step1-ink: rgba(255, 255, 255, 0.92);
    --pl-step1-font: "Roboto", "Inter", "Segoe UI", Arial, sans-serif;
    font-family: var(--pl-step1-font);
    overflow: hidden;
  }


























  /* ---- design frame ---- */
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-shell {
    position: absolute;
    z-index: 2;
    left: calc(50% - 836 * var(--u));
    top: calc(50% - 470.5 * var(--u));
    width: calc(1672 * var(--u));
    height: calc(941 * var(--u));
    min-height: 0;
    margin: 0;
    padding: 0;
    display: block;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-form {
    display: block;
    overflow: visible;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-step:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"]) {
    display: block;
    animation: none;
    padding: 0;
  }

  /* ---- hero ---- */
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-hero {
    display: block;
    min-height: 0;
    padding: 0;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-hero h1 {
    position: absolute;
    left: calc(281 * var(--u));
    top: calc(73 * var(--u));
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: calc(14 * var(--u));
    font-family: "Exo 2", "Montserrat", "Roboto Condensed", sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: calc(98 * var(--u));
    line-height: 1;
    letter-spacing: -0.04em;
    white-space: nowrap;
    text-shadow: none;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-hero__photo {
    margin: 0;
    padding-right: calc(6 * var(--u));
    background: linear-gradient(180deg, #ffffff 0%, #eceaea 30%, #8d8b8e 50%, #d6d4d6 62%, #f6f5f5 80%, #9d9b9e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 calc(3 * var(--u)) calc(4 * var(--u)) rgba(0, 0, 0, 0.75));
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-hero__lab {
    margin: 0;
    padding-right: calc(6 * var(--u));
    background: linear-gradient(180deg, #ff4a57 0%, #ff1f31 42%, #c3101f 60%, #ff2a3b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 calc(10 * var(--u)) rgba(255, 30, 50, 0.45)) drop-shadow(0 calc(3 * var(--u)) calc(4 * var(--u)) rgba(0, 0, 0, 0.7));
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-hero__lead {
    position: absolute;
    left: calc(284 * var(--u));
    top: calc(161 * var(--u));
    margin: 0;
    font-size: calc(31.3 * var(--u));
    font-weight: 700;
    line-height: calc(34 * var(--u));
    color: #fff;
    text-shadow: 0 calc(2 * var(--u)) calc(8 * var(--u)) rgba(0, 0, 0, 0.8);
    white-space: nowrap;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-hero__support {
    display: block;
    position: absolute;
    left: calc(284 * var(--u));
    top: calc(196 * var(--u));
    width: calc(770 * var(--u));
    max-width: none;
    margin: 0;
    font-size: calc(16.8 * var(--u));
    font-weight: 400;
    line-height: calc(21 * var(--u));
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 calc(1 * var(--u)) calc(6 * var(--u)) rgba(0, 0, 0, 0.85);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-hero__tag {
    display: block;
    position: absolute;
    left: calc(1436 * var(--u));
    top: calc(176 * var(--u));
    width: calc(220 * var(--u));
    max-width: none;
    margin: 0;
    font-family: "Marck Script", cursive;
    font-size: calc(26 * var(--u));
    line-height: calc(30 * var(--u));
    color: #fff;
    text-align: left;
    transform: rotate(-17deg);
    transform-origin: 0 0;
    text-shadow: 0 0 calc(10 * var(--u)) rgba(0, 0, 0, 0.7);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-hero__tag::before {
    content: "";
    position: absolute;
    left: calc(32 * var(--u));
    top: calc(-46 * var(--u));
    width: calc(40 * var(--u));
    height: calc(32 * var(--u));
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 32' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M3 28 1.5 8l9.5 8L20 3l9 13 9.5-8L37 28Z'/%3E%3Cpath d='M3 28h34'/%3E%3C/svg%3E") center / contain no-repeat;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.35));
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-hero__tag::after {
    content: "";
    position: absolute;
    left: calc(14 * var(--u));
    right: calc(-10 * var(--u));
    bottom: calc(-12 * var(--u));
    height: calc(12 * var(--u));
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M0 10C60 6 130 3 200 1' stroke='%23ff2438' stroke-width='2.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    filter: drop-shadow(0 0 5px rgba(255, 36, 56, 0.7));
  }

  /* ---- wizard progress ---- */
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress {
    position: absolute;
    left: calc(283 * var(--u));
    top: calc(252 * var(--u));
    width: calc(1107 * var(--u));
    height: calc(63 * var(--u));
    max-width: none;
    margin: 0;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress__list {
    position: relative;
    display: block;
    height: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: calc(14 * var(--u));
    background: linear-gradient(180deg, rgba(14, 6, 8, 0.82), rgba(5, 3, 4, 0.82));
    box-shadow: 0 0 0 1px rgba(255, 28, 48, 0.1), 0 0 calc(22 * var(--u)) rgba(255, 20, 40, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress__list li {
    position: absolute;
    top: calc(9 * var(--u));
    display: flex;
    align-items: center;
    flex: none;
    height: calc(44 * var(--u));
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress__list li:nth-child(1) { left: calc(20 * var(--u)); width: calc(179 * var(--u)); }
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress__list li:nth-child(2) { left: calc(199 * var(--u)); width: calc(188 * var(--u)); }
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress__list li:nth-child(3) { left: calc(387 * var(--u)); width: calc(175 * var(--u)); }
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress__list li:nth-child(4) { left: calc(562 * var(--u)); width: calc(226 * var(--u)); }
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress__list li:nth-child(5) { left: calc(788 * var(--u)); width: calc(175 * var(--u)); }
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress__list li:nth-child(6) { left: calc(963 * var(--u)); width: calc(150 * var(--u)); }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress__list li:not(:last-child)::after {
    flex: 1 1 auto;
    height: 1px;
    margin: 0 calc(14 * var(--u)) 0 calc(20 * var(--u));
    background: rgba(255, 255, 255, 0.24);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress__list li.is-current:not(:last-child)::after {
    background: linear-gradient(90deg, rgba(255, 36, 56, 0.9), rgba(255, 36, 56, 0.25));
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress button {
    gap: calc(16 * var(--u));
    min-height: calc(44 * var(--u));
    color: rgba(255, 255, 255, 0.92);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress__dot {
    width: calc(44 * var(--u));
    height: calc(44 * var(--u));
    flex: 0 0 calc(44 * var(--u));
    border: max(1.5px, calc(1.8 * var(--u))) solid rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.4);
    font-family: var(--pl-step1-font);
    font-size: calc(19 * var(--u));
    font-weight: 400;
    color: #fff;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress__name {
    font-size: calc(15 * var(--u));
    font-weight: 400;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress button.is-current {
    color: #ff2d3f;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress button.is-current .pl-progress__name {
    font-weight: 600;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress button.is-current .pl-progress__dot {
    background: rgba(40, 0, 6, 0.55);
    border-color: #ff2a3c;
    color: #fff;
    box-shadow: 0 0 calc(8 * var(--u)) rgba(255, 36, 56, 0.95), 0 0 calc(22 * var(--u)) rgba(255, 36, 56, 0.5), inset 0 0 calc(10 * var(--u)) rgba(255, 36, 56, 0.35);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress button:disabled {
    opacity: 1;
  }

  /* ---- upload card ---- */
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-upload {
    position: absolute;
    left: calc(465 * var(--u));
    top: calc(335 * var(--u));
    width: calc(743 * var(--u));
    height: calc(492 * var(--u));
    min-height: 0;
    margin: 0;
    padding: calc(13 * var(--u)) calc(21 * var(--u)) 0;
    gap: 0;
    box-sizing: border-box;
    border: 1px solid rgba(255, 44, 62, 0.62);
    border-radius: calc(14 * var(--u));
    background: linear-gradient(180deg, rgba(26, 8, 12, 0.5), rgba(8, 5, 6, 0.1) 22%), rgba(6, 4, 5, 0.9);
    box-shadow: 0 0 0 1px rgba(255, 30, 50, 0.1), 0 0 calc(26 * var(--u)) rgba(255, 24, 44, 0.3), inset 0 0 calc(22 * var(--u)) rgba(255, 24, 44, 0.07);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-upload__head {
    align-items: flex-start;
    gap: calc(25 * var(--u));
    height: calc(58 * var(--u));
    margin: 0 0 calc(20 * var(--u)) calc(-1 * var(--u));
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-step-num {
    width: calc(58 * var(--u));
    height: calc(58 * var(--u));
    flex: 0 0 calc(58 * var(--u));
    border: max(2px, calc(3 * var(--u))) solid #ff2a3c;
    background: rgba(40, 0, 6, 0.5);
    color: #fff;
    font-family: var(--pl-step1-font);
    font-size: calc(30 * var(--u));
    font-weight: 400;
    box-shadow: 0 0 calc(8 * var(--u)) rgba(255, 36, 56, 0.95), 0 0 calc(24 * var(--u)) rgba(255, 36, 56, 0.5), inset 0 0 calc(12 * var(--u)) rgba(255, 36, 56, 0.35);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-upload__head > div {
    margin-top: calc(9 * var(--u));
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-upload__head h2 {
    font-family: var(--pl-step1-font);
    font-size: calc(24 * var(--u));
    font-weight: 700;
    line-height: calc(28 * var(--u));
    color: #fff;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-upload__head p {
    margin: calc(5 * var(--u)) 0 0;
    font-size: calc(14.5 * var(--u));
    line-height: calc(18 * var(--u));
    color: rgba(255, 255, 255, 0.78);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-drop,
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-picked {
    flex: none;
    box-sizing: border-box;
    width: 100%;
    height: calc(235 * var(--u));
    min-height: 0;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-drop {
    justify-content: flex-start;
    gap: 0;
    padding: calc(21 * var(--u)) 0 0;
    border: max(1.5px, calc(1.5 * var(--u))) dashed rgba(255, 255, 255, 0.6);
    border-radius: calc(12 * var(--u));
    background: rgba(2, 1, 2, 0.5);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-drop.is-over {
    border-color: #ff2a3c;
    background: rgba(70, 6, 14, 0.35);
    box-shadow: 0 0 calc(18 * var(--u)) rgba(255, 36, 56, 0.35);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-drop__icon {
    display: block;
    width: calc(80 * var(--u));
    height: calc(80 * var(--u));
    color: #ff2a3c;
    filter: drop-shadow(0 0 calc(7 * var(--u)) rgba(255, 36, 56, 0.85)) drop-shadow(0 0 calc(18 * var(--u)) rgba(255, 36, 56, 0.4));
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-drop__icon svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    transform: translate(calc(-5 * var(--u)), calc(-1 * var(--u))) scale(1.65);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-drop__icon svg * {
    stroke-width: 0.72;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-drop strong {
    margin-top: calc(3 * var(--u));
    font-size: calc(17.5 * var(--u));
    font-weight: 400;
    line-height: calc(22 * var(--u));
    color: #fff;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-drop em {
    margin-top: calc(8 * var(--u));
    font-size: calc(11 * var(--u));
    line-height: calc(14 * var(--u));
    color: rgba(255, 255, 255, 0.55);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-drop__btn {
    width: calc(422 * var(--u));
    height: calc(60 * var(--u));
    min-height: 0;
    margin-top: calc(6 * var(--u));
    gap: calc(14 * var(--u));
    border-radius: calc(10 * var(--u));
    border: 1px solid rgba(255, 120, 130, 0.55);
    background: linear-gradient(180deg, #ff2438 0%, #e4101f 50%, #a30812 100%);
    font-size: calc(20 * var(--u));
    font-weight: 500;
    box-shadow: 0 0 calc(10 * var(--u)) rgba(255, 24, 44, 0.75), 0 0 calc(28 * var(--u)) rgba(255, 24, 44, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 calc(-8 * var(--u)) calc(14 * var(--u)) rgba(90, 0, 8, 0.45);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-drop__btn svg {
    width: calc(38 * var(--u));
    height: calc(38 * var(--u));
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-picked {
    padding: calc(12 * var(--u)) calc(21 * var(--u));
    gap: calc(24 * var(--u));
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-picked img {
    width: calc(219 * var(--u));
    height: calc(146 * var(--u));
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-picked__meta {
    gap: calc(6 * var(--u));
    min-width: 0;
    font-size: calc(14 * var(--u));
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-picked__meta strong {
    font-size: calc(18 * var(--u));
    overflow-wrap: anywhere;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-picked__meta .pl-btn {
    min-height: calc(44 * var(--u));
    padding: 0 calc(18 * var(--u));
    border-radius: calc(10 * var(--u));
    font-size: calc(14.5 * var(--u));
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-file-error {
    position: absolute;
    left: calc(22 * var(--u));
    right: calc(22 * var(--u));
    top: calc(307 * var(--u));
    text-align: center;
    font-size: calc(13 * var(--u));
    line-height: calc(16 * var(--u));
    color: #ffb3b9;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-samples p {
    margin: calc(9 * var(--u)) 0 calc(11 * var(--u));
    font-size: calc(14.5 * var(--u));
    line-height: calc(18 * var(--u));
    color: rgba(255, 255, 255, 0.86);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-samples__row {
    display: grid;
    grid-template-columns: calc(215 * var(--u)) calc(221 * var(--u)) calc(215 * var(--u));
    justify-content: space-between;
    gap: 0;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-samples__static {
    width: 100%;
    height: calc(107 * var(--u));
    box-sizing: border-box;
    border: max(1.5px, calc(2 * var(--u))) solid rgba(255, 255, 255, 0.86);
    border-radius: calc(7 * var(--u));
    background: #0d0507;
    box-shadow: 0 0 calc(8 * var(--u)) rgba(255, 255, 255, 0.12);
  }

  /* ---- bottom action dock: centered with the progress bar, not the viewport ---- */
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock {
    position: absolute;
    z-index: 6;
    left: calc(283 * var(--u));
    top: calc(868 * var(--u));
    width: calc(1107 * var(--u));
    height: calc(58 * var(--u));
    display: grid;
    grid-template-columns: minmax(148px, 200px) minmax(0, 1fr) minmax(200px, 280px);
    align-items: center;
    gap: calc(12 * var(--u));
    margin: 0;
    padding: calc(6 * var(--u)) calc(8 * var(--u));
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: calc(14 * var(--u));
    background:
      linear-gradient(180deg, rgba(255, 36, 56, 0.16), transparent 42%),
      linear-gradient(180deg, rgba(14, 6, 8, 0.88), rgba(5, 3, 4, 0.9));
    box-shadow:
      0 0 0 1px rgba(255, 28, 48, 0.12),
      0 calc(10 * var(--u)) calc(24 * var(--u)) rgba(0, 0, 0, 0.38),
      0 0 calc(22 * var(--u)) rgba(255, 20, 40, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock::before {
    content: "";
    position: absolute;
    left: 14%;
    right: 14%;
    top: 0;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 70, 84, 0.85), transparent);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock .pl-btn {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    min-width: 0;
    min-height: calc(44 * var(--u));
    height: calc(46 * var(--u));
    padding: 0 calc(16 * var(--u));
    border-radius: calc(11 * var(--u));
    font-size: calc(15 * var(--u));
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock .pl-btn:focus-visible {
    outline: 2px solid #ff4452;
    outline-offset: 2px;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock [data-pl-back] {
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    gap: calc(8 * var(--u));
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: linear-gradient(180deg, rgba(22, 10, 12, 0.94), rgba(8, 4, 5, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock [data-pl-dock-next] {
    display: inline-flex;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: calc(8 * var(--u));
    font-weight: 800;
    border: 1px solid rgba(255, 140, 150, 0.5);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock [data-pl-dock-next]:disabled {
    background: linear-gradient(180deg, rgba(122, 122, 128, 0.42), rgba(70, 70, 76, 0.42));
    color: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: none;
    opacity: 1;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock [data-pl-dock-next]:not(:disabled) {
    background: linear-gradient(180deg, #ff3140 0%, #e4101f 50%, #a30812 100%);
    border-color: rgba(255, 140, 150, 0.5);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 0 calc(12 * var(--u)) rgba(255, 24, 44, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock__hint {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(8 * var(--u));
    min-width: 0;
    margin: 0;
    padding: 0 calc(6 * var(--u));
    border: 0;
    background: none;
    white-space: normal;
    text-align: center;
    font-size: calc(13 * var(--u));
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.82);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock__hint::before,
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock__hint::after {
    content: "";
    flex: 0 0 calc(28 * var(--u));
    max-width: 12%;
    height: 1px;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock__hint::before {
    background: linear-gradient(90deg, transparent, rgba(255, 70, 84, 0.55));
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock__hint::after {
    background: linear-gradient(90deg, rgba(255, 70, 84, 0.55), transparent);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock__hint svg {
    width: calc(16 * var(--u));
    height: calc(16 * var(--u));
    flex: 0 0 calc(16 * var(--u));
    margin: 0;
    color: #ff5a68;
  }
}

/* ==========================================================================
   STEP 1 - UPLOAD / tablet + phone (< 1100px): one focused column, sticky actions
   ========================================================================== */
@media (max-width: 1099px) {
  .pl-html:has(.pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"])) {
    overflow: auto;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) {
    height: auto;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: "Roboto", "Inter", "Segoe UI", Arial, sans-serif;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"])::before {
    background: #050405 url("/assets/images/photolab/step1-bg.jpg") 66% 22% / cover no-repeat;
  }




  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-shell {
    width: 100%;
    max-width: 640px;
    padding: 0 12px;
    margin: 0 auto;
    display: block;
    flex: 1 0 auto;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-form {
    display: block;
    overflow: visible;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-step:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"]) {
    display: block;
    padding: 0;
    animation: none;
  }

  /* hero */
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-hero {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 14px 2px 10px;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-hero h1 {
    display: flex;
    gap: 0.28em;
    align-items: baseline;
    margin: 0;
    font-family: "Exo 2", "Montserrat", "Roboto Condensed", sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: clamp(2.5rem, 13vw, 4.2rem);
    line-height: 1;
    letter-spacing: -0.04em;
    white-space: nowrap;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-hero__photo {
    margin: 0;
    background: linear-gradient(180deg, #ffffff 0%, #eceaea 30%, #8d8b8e 50%, #d6d4d6 62%, #f6f5f5 80%, #9d9b9e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    padding-right: 0.06em;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.75));
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-hero__lab {
    margin: 0;
    padding-right: 0.06em;
    background: linear-gradient(180deg, #ff4a57 0%, #ff1f31 42%, #c3101f 60%, #ff2a3b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(255, 30, 50, 0.45)) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.7));
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-hero__lead {
    margin: 6px 0 0;
    font-size: clamp(1.05rem, 5.2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-hero__support {
    display: block;
    margin: 6px 0 0;
    max-width: 44rem;
    font-size: 0.86rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-hero__tag {
    display: none;
  }

  /* progress: STEP X OF 6 + 6 segments */
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress {
    width: auto;
    max-width: none;
    margin: 0 0 12px;
    padding: 10px 12px 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(14, 6, 8, 0.82), rgba(5, 3, 4, 0.82));
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress__list {
    display: none;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress__mobile {
    display: block;
    margin: 0 0 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ff6f7b;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress__bar {
    display: block;
    height: 6px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.16);
    overflow: hidden;
    -webkit-mask: repeating-linear-gradient(90deg, #000 0 calc(16.6667% - 4px), transparent 0 16.6667%);
    mask: repeating-linear-gradient(90deg, #000 0 calc(16.6667% - 4px), transparent 0 16.6667%);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress__bar span {
    background: linear-gradient(90deg, #ff2438, #ff4a57);
    box-shadow: 0 0 10px rgba(255, 36, 56, 0.9);
  }

  /* card */
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-upload {
    position: static;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0 0 12px;
    padding: 14px 14px 16px;
    gap: 12px;
    border: 1px solid rgba(255, 44, 62, 0.62);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(26, 8, 12, 0.5), rgba(8, 5, 6, 0.1) 22%), rgba(6, 4, 5, 0.9);
    box-shadow: 0 0 22px rgba(255, 24, 44, 0.26), inset 0 0 18px rgba(255, 24, 44, 0.06);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-upload__head {
    height: auto;
    margin: 0;
    gap: 14px;
    align-items: center;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-step-num {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border: 2px solid #ff2a3c;
    background: rgba(40, 0, 6, 0.5);
    font-family: "Roboto", sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #fff;
    box-shadow: 0 0 8px rgba(255, 36, 56, 0.9), 0 0 20px rgba(255, 36, 56, 0.45), inset 0 0 10px rgba(255, 36, 56, 0.35);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-upload__head > div {
    margin: 0;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-upload__head h2 {
    font-family: "Roboto", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-upload__head p {
    margin: 4px 0 0;
    font-size: 0.82rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.78);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-drop {
    height: auto;
    min-height: 0;
    flex: none;
    padding: 22px 14px 20px;
    gap: 6px;
    border: 1.5px dashed rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    background: rgba(2, 1, 2, 0.5);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-drop__icon {
    width: 76px;
    height: 76px;
    color: #ff2a3c;
    filter: drop-shadow(0 0 7px rgba(255, 36, 56, 0.85));
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-drop__icon svg {
    width: 100%;
    height: 100%;
    transform: scale(1.6);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-drop__icon svg * {
    stroke-width: 0.85;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-drop strong {
    margin-top: 6px;
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.3;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-drop em {
    font-size: 0.78rem;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-drop__btn {
    width: 100%;
    min-height: 56px;
    margin-top: 6px;
    border-radius: 10px;
    border: 1px solid rgba(255, 120, 130, 0.55);
    background: linear-gradient(180deg, #ff2438 0%, #e4101f 50%, #a30812 100%);
    font-size: 1.08rem;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(255, 24, 44, 0.7), 0 0 24px rgba(255, 24, 44, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -8px 14px rgba(90, 0, 8, 0.45);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-drop__btn svg {
    width: 28px;
    height: 28px;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-picked {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    min-height: 0;
    gap: 12px;
    padding: 12px;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-picked img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-picked__actions .pl-btn {
    flex: 1 1 0;
    min-height: 48px;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-file-error {
    position: static;
    text-align: center;
    font-size: 0.86rem;
    color: #ffb3b9;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-samples p {
    margin: 2px 0 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.86);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-samples__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-samples__static {
    width: auto;
    height: auto;
    aspect-ratio: 2 / 1;
    border: 1.5px solid rgba(255, 255, 255, 0.86);
    border-radius: 7px;
  }

  /* compact glass action bar, inset from the viewport edges */
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock {
    position: sticky;
    bottom: 0;
    left: auto;
    top: auto;
    z-index: 6;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    grid-template-areas:
      "hint hint"
      "back next";
    align-items: center;
    gap: 8px;
    width: auto;
    height: auto;
    margin: 10px 4px calc(8px + env(safe-area-inset-bottom));
    padding: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 48, 62, 0.38);
    border-radius: 16px;
    background:
      linear-gradient(180deg, rgba(255, 36, 56, 0.14), transparent 46%),
      linear-gradient(180deg, rgba(10, 4, 6, 0.92), rgba(4, 1, 2, 0.96));
    box-shadow:
      0 0 0 1px rgba(255, 28, 48, 0.12),
      0 10px 24px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock .pl-btn {
    position: static;
    flex: none;
    width: auto;
    min-width: 0;
    min-height: 48px;
    height: auto;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock [data-pl-back] {
    grid-area: back;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: linear-gradient(180deg, rgba(20, 10, 12, 0.92), rgba(8, 4, 5, 0.92));
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock [data-pl-dock-next] {
    grid-area: next;
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0 10px;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock [data-pl-dock-next]:disabled {
    background: linear-gradient(180deg, rgba(122, 122, 128, 0.42), rgba(70, 70, 76, 0.42));
    color: rgba(255, 255, 255, 0.55);
    box-shadow: none;
    opacity: 1;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock [data-pl-dock-next]:not(:disabled) {
    background: linear-gradient(180deg, #ff2438 0%, #e4101f 50%, #a30812 100%);
    border-color: rgba(255, 120, 130, 0.55);
    box-shadow: 0 0 10px rgba(255, 24, 44, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock__hint {
    grid-area: hint;
    order: 0;
    flex: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 2px 4px;
    font-size: 0.78rem;
    line-height: 1.35;
    text-align: center;
    color: rgba(255, 255, 255, 0.78);
    white-space: normal;
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock__hint svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    color: #ff5a68;
  }
}

@media (max-width: 1099px) and (min-width: 700px) {
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-shell {
    max-width: 760px;
  }
}

/* ==========================================================================
   STEP 2 - POSITION PHOTO
   ONE combined positioning workspace: the editor is the preview.
   Shares header / hero / progress / dock with Step 1 (see the
   :is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"]) rules above). The photo stays clean:
   no logo, date, stamp, message, frame, style, copies or price here.
   ========================================================================== */
.pl-position__title h2,
.pl-position__title p {
  margin: 0;
}

.pl-guides {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(8, 4, 5, 0.72);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
}

.pl-guides:hover,
.pl-guides:focus-visible {
  border-color: rgba(255, 60, 78, 0.75);
}

.pl-guides[aria-checked="true"] .pl-switch__track {
  background: var(--pl-red);
  border-color: var(--pl-red-hot);
  box-shadow: 0 0 10px rgba(226, 24, 40, 0.55);
}

.pl-guides[aria-checked="true"] .pl-switch__track::after {
  transform: translateX(20px);
}

.pl-position .pl-stage {
  position: relative;
  display: grid;
  place-items: center;
  touch-action: none;
  cursor: grab;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: radial-gradient(ellipse at 50% 50%, rgba(40, 12, 18, 0.6), rgba(4, 2, 3, 0.9));
}

.pl-position .pl-stage.is-dragging {
  cursor: grabbing;
}

.pl-position .pl-stage canvas {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 3 / 2;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: #070305;
  box-shadow: 0 0 22px rgba(255, 24, 44, 0.2);
}

.pl-position .pl-safe-label {
  position: absolute;
  top: 10px;
  z-index: 2;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.74rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
}

.pl-position .pl-safe-label[hidden] {
  display: none !important;
}

.pl-position .pl-zoombar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.pl-position .pl-zoomgroup {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(10, 5, 6, 0.8);
}

.pl-position .pl-zoomgroup button,
.pl-position .pl-chip {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.pl-position .pl-zoomgroup strong {
  min-width: 64px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 500;
}

.pl-position .pl-zoomgroup button:hover,
.pl-position .pl-zoomgroup button:focus-visible {
  background: rgba(255, 36, 56, 0.28);
}

.pl-position .pl-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 5, 6, 0.8);
  font-size: 0.95rem;
  font-weight: 500;
}

.pl-position .pl-chip svg {
  width: 18px;
  height: 18px;
}

.pl-position .pl-chip:hover,
.pl-position .pl-chip:focus-visible {
  border-color: rgba(255, 60, 78, 0.8);
  background: rgba(255, 36, 56, 0.2);
}

.pl-position .pl-cues {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.pl-position .pl-cues li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.85rem;
  line-height: 1.25;
}

.pl-position .pl-cues .pl-ico {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 0;
  color: #fff;
  box-shadow: none;
}

.pl-position .pl-cues .pl-ico svg {
  width: 24px;
  height: 24px;
}

@media (min-width: 1100px) {
  .pl-position {
    position: absolute;
    left: calc(386 * var(--u));
    top: calc(327 * var(--u));
    width: calc(900 * var(--u));
    height: calc(508 * var(--u));
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: calc(13 * var(--u)) calc(24 * var(--u)) calc(12 * var(--u));
    border: 1px solid rgba(255, 44, 62, 0.62);
    border-radius: calc(14 * var(--u));
    background: linear-gradient(180deg, rgba(26, 8, 12, 0.5), rgba(8, 5, 6, 0.1) 22%), rgba(6, 4, 5, 0.9);
    box-shadow: 0 0 0 1px rgba(255, 30, 50, 0.1), 0 0 calc(26 * var(--u)) rgba(255, 24, 44, 0.3), inset 0 0 calc(22 * var(--u)) rgba(255, 24, 44, 0.07);
  }

  .pl-position__head {
    display: flex;
    align-items: center;
    flex: none;
    gap: calc(22 * var(--u));
    height: calc(54 * var(--u));
  }

  .pl-position__title {
    flex: 1 1 auto;
    min-width: 0;
  }

  .pl-position__title h2 {
    font-family: var(--pl-step1-font);
    font-size: calc(24 * var(--u));
    font-weight: 700;
    line-height: calc(28 * var(--u));
    letter-spacing: 0;
    text-transform: none;
    color: #fff;
  }

  .pl-position__title p {
    margin-top: calc(3 * var(--u));
    font-size: calc(14 * var(--u));
    line-height: calc(18 * var(--u));
    color: rgba(255, 255, 255, 0.78);
  }

  .pl-guides {
    min-height: calc(44 * var(--u));
    gap: calc(10 * var(--u));
    padding: 0 calc(14 * var(--u));
    border-radius: calc(10 * var(--u));
    font-size: calc(15 * var(--u));
  }

  .pl-position__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: calc(8 * var(--u));
    margin-top: calc(8 * var(--u));
    min-height: 0;
  }

  .pl-position .pl-stage {
    flex: none;
    width: 100%;
    height: calc(369 * var(--u));
  }

  .pl-position .pl-stage canvas {
    width: calc(850 * var(--u));
    height: calc(367 * var(--u));
    max-width: none;
    max-height: none;
    border: 0;
    border-radius: calc(11 * var(--u));
    box-shadow: none;
  }

  .pl-position .pl-safe-label {
    top: calc(10 * var(--u));
    right: calc(160 * var(--u));
    padding: calc(4 * var(--u)) calc(10 * var(--u));
    font-size: max(10px, calc(12 * var(--u)));
  }

  .pl-position .pl-zoombar {
    gap: calc(14 * var(--u));
  }

  .pl-position .pl-zoomgroup button,
  .pl-position .pl-chip {
    min-width: calc(44 * var(--u));
    min-height: calc(44 * var(--u));
  }

  .pl-position .pl-zoomgroup strong {
    min-width: calc(64 * var(--u));
    font-size: calc(17 * var(--u));
  }

  .pl-position .pl-chip {
    font-size: calc(15 * var(--u));
  }

  .pl-position .pl-cues {
    gap: calc(18 * var(--u));
  }

  .pl-position .pl-cues li {
    font-size: calc(13.5 * var(--u));
  }

  .pl-position .pl-cues .pl-ico {
    width: calc(26 * var(--u));
    height: calc(26 * var(--u));
    flex-basis: calc(26 * var(--u));
  }
}

@media (max-width: 1099px) {
  .pl-position {
    position: static;
    display: block;
    margin: 0 0 12px;
    padding: 14px 14px 16px;
    border: 1px solid rgba(255, 44, 62, 0.62);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(26, 8, 12, 0.5), rgba(8, 5, 6, 0.1) 22%), rgba(6, 4, 5, 0.9);
    box-shadow: 0 0 22px rgba(255, 24, 44, 0.26), inset 0 0 18px rgba(255, 24, 44, 0.06);
  }

  .pl-position__head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 14px;
    align-items: center;
  }

  .pl-position__title h2 {
    font-family: "Roboto", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
  }

  .pl-position__title p {
    margin-top: 4px;
    font-size: 0.8rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.78);
  }

  .pl-guides {
    grid-column: 1 / -1;
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
  }

  .pl-guides__label {
    margin-right: auto;
  }

  .pl-position__body {
    display: block;
    margin-top: 12px;
  }

  .pl-position .pl-stage {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    border: 0;
    background: none;
  }

  .pl-position .pl-stage canvas {
    width: 100%;
    height: 100%;
  }

  .pl-position .pl-safe-label {
    top: 6px;
    right: 6px;
    padding: 2px 7px;
    font-size: 0.62rem;
  }

  .pl-position .pl-zoombar {
    flex-wrap: wrap;
    margin-top: 10px;
  }

  .pl-position .pl-zoomgroup {
    flex: 1 1 auto;
    justify-content: space-between;
  }

  .pl-position .pl-chip {
    flex: none;
  }

  .pl-position .pl-cues {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 4px 0 0;
  }

  .pl-position .pl-cues li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.78rem;
  }

  .pl-app[data-pl-step="2"] .pl-hero__support,
  .pl-app[data-pl-step="2"] .pl-hero__lead {
    display: none;
  }

  .pl-app[data-pl-step="2"] .pl-hero {
    padding-bottom: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pl-position .pl-zoomgroup button,
  .pl-position .pl-chip {
    transition: none;
  }
}


/* progress: completed step (Step 2+) */
.pl-app:is([data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress button.is-done .pl-progress__dot {
  background: rgba(40, 0, 6, 0.5);
  border-color: #ff2a3c;
  position: relative;
  color: transparent;
  border-width: 2px;
  box-shadow: 0 0 6px rgba(255, 36, 56, 0.7), 0 0 14px rgba(255, 36, 56, 0.35);
}

.pl-app:is([data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress button.is-done .pl-progress__dot::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ff4452;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 6px rgba(255, 36, 56, 0.8);
}

.pl-app:is([data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress button.is-done {
  color: rgba(255, 255, 255, 0.92);
}

.pl-app:is([data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-progress__list li.is-done:not(:last-child)::after {
  background: linear-gradient(90deg, rgba(255, 36, 56, 0.8), rgba(255, 36, 56, 0.3));
}

.pl-app[data-pl-step="2"] .pl-dock [data-pl-dock-next] {
  display: inline-flex;
}

@media (min-width: 1100px) {
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-shell {
    overflow: clip;
  }
}

@media (max-width: 1099px) {
  .pl-position .pl-safe-label {
    top: 6px;
    right: 6px;
    padding: 2px 7px;
    font-size: 0.62rem;
  }
}

/* ==========================================================================
   STEP 3 - STYLE
   Two zones: the customer's real photo (large, styled live) + six real styles.
   Shares header / hero / progress / dock with Steps 1-2.
   ========================================================================== */
.pl-style3__print {
  background: #f3ece4;
  padding: 10px;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 26px rgba(255, 24, 44, 0.18);
}

.pl-style3__print canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  background: #111;
  transition: opacity 0.2s ease;
}

.pl-style3__print canvas.is-swap {
  opacity: 0.45;
  transition: opacity 0.06s linear;
}

.pl-style3__panel {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 44, 62, 0.62);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(26, 8, 12, 0.5), rgba(8, 5, 6, 0.1) 22%), rgba(6, 4, 5, 0.9);
  box-shadow: 0 0 22px rgba(255, 24, 44, 0.26), inset 0 0 18px rgba(255, 24, 44, 0.06);
}

.pl-style3__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pl-style3__head .pl-ico {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 10px;
}

.pl-style3__head h2 {
  margin: 0;
  font-family: var(--pl-step1-font, "Roboto", sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
}

.pl-style3__head p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.pl-style3 .pl-styles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-height: 0;
}

.pl-style3 .pl-style {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: start;
  gap: 3px 6px;
  min-width: 0;
  padding: 6px 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: linear-gradient(180deg, #1a0d11, #100709);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.pl-style3 .pl-style canvas {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  background: #0a0507;
}

.pl-style3 .pl-style strong {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 3px 0 0 2px;
}

.pl-style3 .pl-style .pl-style__blurb {
  grid-column: 1 / -1;
  overflow: hidden;
  padding-left: 2px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pl-style3 .pl-style .pl-style__state {
  align-self: end;
  padding: 3px 4px 0 0;
  color: #ff6f7b;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  visibility: hidden;
}

.pl-style3 .pl-style:hover,
.pl-style3 .pl-style:focus-visible {
  border-color: rgba(255, 90, 105, 0.7);
  box-shadow: 0 0 12px rgba(255, 36, 56, 0.25);
}

.pl-style3 .pl-style.is-selected,
.pl-style3 .pl-style[aria-pressed="true"] {
  border: 2px solid #ff2a3c;
  padding: 5px 5px 7px;
  background: linear-gradient(180deg, #2a1015, #15080b);
  box-shadow: 0 0 14px rgba(255, 36, 56, 0.55), inset 0 0 14px rgba(255, 36, 56, 0.12);
}

.pl-style3 .pl-style.is-selected .pl-style__state,
.pl-style3 .pl-style[aria-pressed="true"] .pl-style__state {
  visibility: visible;
}

.pl-style3 .pl-style__check {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.35);
  opacity: 0.7;
}

.pl-style3 .pl-style.is-selected .pl-style__check,
.pl-style3 .pl-style[aria-pressed="true"] .pl-style__check {
  background: #ff2a3c;
  border-color: #ff9aa3;
  box-shadow: 0 0 10px rgba(255, 36, 56, 0.8);
  opacity: 1;
}

.pl-style3 .pl-style.is-selected .pl-style__check::after,
.pl-style3 .pl-style[aria-pressed="true"] .pl-style__check::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.pl-style3 .pl-style-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 44, 62, 0.4);
  border-radius: 12px;
  background: rgba(40, 10, 16, 0.5);
}

.pl-style3 .pl-style-detail .pl-ico {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 10px;
}

.pl-style3 .pl-style-detail__text {
  flex: 1 1 auto;
  min-width: 0;
}

.pl-style3 .pl-style-detail strong {
  font-size: 0.98rem;
  color: #fff;
}

.pl-style3 .pl-style-detail p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  line-height: 1.35;
}

.pl-style3 .pl-style-detail__tags {
  display: flex;
  flex: 0 1 190px;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pl-style3 .pl-style-detail__tags li {
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.68rem;
  white-space: nowrap;
}

@media (min-width: 1100px) {
  .pl-style3 {
    position: absolute;
    left: calc(140 * var(--u));
    top: calc(327 * var(--u));
    width: calc(1392 * var(--u));
    height: calc(508 * var(--u));
    display: flex;
    gap: calc(26 * var(--u));
  }

  .pl-style3__photo {
    flex: none;
    width: calc(718 * var(--u));
    display: grid;
    place-items: center;
  }

  .pl-style3__print {
    width: calc(718 * var(--u));
    padding: calc(14 * var(--u));
    box-sizing: border-box;
    transform: rotate(-0.6deg);
  }

  .pl-style3__panel {
    flex: 1 1 auto;
    min-width: 0;
    gap: calc(10 * var(--u));
    padding: calc(12 * var(--u)) calc(14 * var(--u));
    border-radius: calc(14 * var(--u));
  }

  .pl-style3__head h2 {
    font-size: calc(22 * var(--u));
  }

  .pl-style3__head p {
    font-size: calc(14 * var(--u));
  }

  .pl-style3 .pl-styles {
    gap: calc(10 * var(--u));
  }

  .pl-style3 .pl-style strong {
    font-size: calc(14.5 * var(--u));
  }

  .pl-style3 .pl-style .pl-style__blurb {
    font-size: calc(11.5 * var(--u));
  }

  .pl-style3 .pl-style .pl-style__state {
    font-size: calc(10.5 * var(--u));
  }

  .pl-style3 .pl-style-detail strong {
    font-size: calc(16 * var(--u));
  }

  .pl-style3 .pl-style-detail p {
    font-size: calc(12.5 * var(--u));
  }

  .pl-style3 .pl-style-detail__tags li {
    font-size: calc(11 * var(--u));
  }
}

@media (max-width: 1099px) {
  .pl-style3 {
    display: block;
  }

  .pl-style3__print {
    margin: 0 0 12px;
    padding: 8px;
  }

  .pl-style3__panel {
    padding: 14px 0 14px 14px;
    gap: 12px;
  }

  .pl-style3__head {
    padding-right: 14px;
  }

  .pl-style3 .pl-styles {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 2px 14px 6px 2px;
    margin-right: 0;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .pl-style3 .pl-styles::-webkit-scrollbar {
    display: none;
  }

  .pl-style3 .pl-style {
    flex: 0 0 72%;
    scroll-snap-align: start;
    max-width: 320px;
    padding: 8px 8px 10px;
  }

  .pl-style3 .pl-style.is-selected,
  .pl-style3 .pl-style[aria-pressed="true"] {
    padding: 7px 7px 9px;
  }

  .pl-style3 .pl-style strong {
    font-size: 1rem;
  }

  .pl-style3 .pl-style .pl-style__blurb {
    font-size: 0.8rem;
  }

  .pl-style3 .pl-style-detail {
    margin-right: 14px;
    flex-wrap: wrap;
  }

  .pl-style3 .pl-style-detail__tags {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .pl-app[data-pl-step="3"] .pl-hero__support,
  .pl-app[data-pl-step="3"] .pl-hero__lead {
    display: none;
  }

  .pl-app[data-pl-step="3"] .pl-hero {
    padding-bottom: 8px;
  }
}

@media (min-width: 700px) and (max-width: 1099px) {
  .pl-style3 .pl-style {
    flex-basis: 44%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pl-style3__print canvas,
  .pl-style3 .pl-style {
    transition: none;
  }
}

.pl-app[data-pl-step="3"] .pl-dock [data-pl-dock-next] {
  display: inline-flex;
}

/* Step 3 refinements */
.pl-style3 .pl-style-detail__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.pl-style3 .pl-style-detail__tags {
  flex: 0 1 auto;
  justify-content: flex-start;
}

@media (min-width: 1100px) {
  .pl-style3__panel {
    gap: calc(8 * var(--u));
    padding: calc(10 * var(--u)) calc(12 * var(--u));
  }

  .pl-style3__head .pl-ico {
    width: calc(38 * var(--u));
    height: calc(38 * var(--u));
    flex-basis: calc(38 * var(--u));
  }

  .pl-style3__head h2 {
    font-size: calc(20 * var(--u));
    line-height: 1.1;
  }

  .pl-style3__head p {
    font-size: calc(13 * var(--u));
    margin-top: 0;
  }

  .pl-style3 .pl-styles {
    gap: calc(8 * var(--u));
  }

  .pl-style3 .pl-style {
    gap: calc(2 * var(--u)) calc(6 * var(--u));
    padding: calc(5 * var(--u));
  }

  .pl-style3 .pl-style.is-selected,
  .pl-style3 .pl-style[aria-pressed="true"] {
    padding: calc(4 * var(--u));
  }

  .pl-style3 .pl-style strong {
    padding-top: calc(2 * var(--u));
  }

  .pl-style3 .pl-style-detail {
    padding: calc(8 * var(--u)) calc(12 * var(--u));
    gap: calc(12 * var(--u));
  }

  .pl-style3 .pl-style-detail .pl-ico {
    width: calc(40 * var(--u));
    height: calc(40 * var(--u));
    flex-basis: calc(40 * var(--u));
  }

  .pl-style3 .pl-style-detail p {
    font-size: calc(12 * var(--u));
    line-height: 1.3;
  }

  .pl-style3 .pl-style-detail__tags li {
    padding: calc(2 * var(--u)) calc(8 * var(--u));
    font-size: calc(10.5 * var(--u));
  }

  .pl-app[data-pl-step="3"] .pl-dock [data-pl-dock-next] {
    left: calc(1159 * var(--u));
    width: calc(401 * var(--u));
  }
}

@media (min-width: 1100px) {
  .pl-style3 .pl-styles {
    flex: 1 1 auto;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    min-height: 0;
  }

  .pl-style3 .pl-style {
    grid-template-rows: minmax(0, 1fr) auto auto;
    min-height: 0;
    overflow: hidden;
  }

  .pl-style3 .pl-style canvas {
    justify-self: center;
    width: auto;
    height: 100%;
    max-width: 100%;
    min-height: 0;
  }

  .pl-style3 .pl-style-detail {
    flex: none;
  }
}

.pl-style3 .pl-style .pl-style__state {
  grid-row: 2;
  grid-column: 2;
  padding-top: 2px;
}

.pl-style3 .pl-style .pl-style__blurb {
  grid-row: 3;
}

.pl-style3 .pl-style strong {
  grid-row: 2;
  grid-column: 1;
}

.pl-style3 .pl-style .pl-style__state {
  display: none;
}

.pl-style3 .pl-style.is-selected .pl-style__state,
.pl-style3 .pl-style[aria-pressed="true"] .pl-style__state {
  display: block;
}

.pl-style3 .pl-style strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1099px) {
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) {
    overflow: visible;
  }

  .pl-html:has(.pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"])) {
    overflow-x: hidden;
    overflow-y: auto;
  }
}

@media (max-width: 1099px) {
  .pl-app[data-pl-step="3"] .pl-dock [data-pl-dock-next] {
    font-size: 0.8rem;
    line-height: 1.15;
    white-space: normal;
    padding: 0 6px;
  }
}

@media (max-width: 1099px) {
  .pl-style3 .pl-style {
    flex: 0 0 calc(100% - 30px);
    max-width: none;
  }

  .pl-app[data-pl-step="3"] .pl-dock [data-pl-dock-next] {
    font-size: 1rem;
    white-space: nowrap;
    padding: 0 14px;
  }

  .pl-app[data-pl-step="3"] .pl-dock__hint {
    padding: 6px 0 4px;
    margin-top: 2px;
    line-height: 1.4;
  }
}

@media (min-width: 700px) and (max-width: 1099px) {
  .pl-style3 .pl-style {
    flex-basis: 44%;
  }
}

@media (max-width: 1099px) {
  .pl-position .pl-safe-label {
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(0, 0, 0, 0.78);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25;
  }

  .pl-app[data-pl-step="2"] .pl-dock__hint {
    padding: 6px 0 4px;
    margin-top: 2px;
    line-height: 1.4;
  }
}

/* ==========================================================================
   STEP 4 - PERSONALIZE
   Left: elements - centre: direct photo editor - right: controls for the
   selected element only. Shares header / hero / progress / dock with Steps 1-3.
   ========================================================================== */
.pl-pers__panel {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 44, 62, 0.62);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(26, 8, 12, 0.5), rgba(8, 5, 6, 0.1) 22%), rgba(6, 4, 5, 0.9);
  box-shadow: 0 0 22px rgba(255, 24, 44, 0.26), inset 0 0 18px rgba(255, 24, 44, 0.06);
}

.pl-pers__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pl-pers__head .pl-ico {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 10px;
}

.pl-pers__head h2 {
  margin: 0;
  font-family: var(--pl-step1-font, "Roboto", sans-serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #fff;
}

.pl-pers__head p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  line-height: 1.3;
}

.pl-pers .pl-els {
  display: grid;
  gap: 8px;
}

.pl-pers .pl-el {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  padding: 2px 12px 2px 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(10, 4, 6, 0.72);
}

.pl-pers .pl-el.is-active {
  border: 2px solid #ff2a3c;
  padding: 1px 11px 1px 3px;
  background: linear-gradient(90deg, rgba(255, 36, 56, 0.2), rgba(10, 4, 6, 0.72));
  box-shadow: 0 0 14px rgba(255, 36, 56, 0.45);
}

.pl-pers .pl-el__main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.pl-pers .pl-el__main .pl-ico {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 0;
  color: #ff4a5a;
  box-shadow: none;
}

.pl-pers .pl-el__main .pl-ico svg {
  width: 26px;
  height: 26px;
}

.pl-pers .pl-switch--mini {
  min-width: 52px;
  min-height: 44px;
  justify-content: center;
}

.pl-pers .pl-el__chev {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  line-height: 1;
}

.pl-pers__print {
  background: #f3ece4;
  padding: 10px;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 26px rgba(255, 24, 44, 0.18);
}

.pl-pers .pl-stage {
  position: relative;
  display: block;
  touch-action: none;
  cursor: default;
}

.pl-pers .pl-stage canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border: 0;
  border-radius: 0;
  background: #111;
}

.pl-pers .pl-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.pl-pers .pl-tabs button {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 58px;
  padding: 6px 2px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: #12080a;
  color: rgba(255, 255, 255, 0.85);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.pl-pers .pl-tabs button svg {
  width: 22px;
  height: 22px;
}

.pl-pers .pl-tabs button[aria-selected="true"] {
  border-color: #ff2a3c;
  background: linear-gradient(180deg, #ff2438, #b50a17);
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 36, 56, 0.55);
}

.pl-pers .pl-pane {
  display: grid;
  gap: 12px;
  align-content: start;
}

.pl-pers .pl-pane[hidden] {
  display: none !important;
}

.pl-pers .pl-switch--row {
  min-height: 48px;
  font-weight: 600;
}

.pl-pers .pl-size span,
.pl-pers .pl-quick > span,
.pl-pers .pl-opt > span,
.pl-pers .pl-caption > span:first-child {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pl-pers .pl-size__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pl-pers .pl-size__row input[type="range"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 6px;
}

.pl-pers .pl-size__row button {
  flex: 0 0 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(10, 5, 6, 0.8);
  color: #fff;
  font: inherit;
  font-size: 1.3rem;
  cursor: pointer;
}

.pl-pers .pl-size__row button:hover,
.pl-pers .pl-size__row button:focus-visible {
  border-color: rgba(255, 60, 78, 0.8);
  background: rgba(255, 36, 56, 0.22);
}

.pl-pers .pl-quick__grid {
  display: grid;
  grid-template-columns: repeat(4, 44px);
  gap: 8px;
}

.pl-pers .pl-quick__grid button {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: rgba(10, 5, 6, 0.8);
  cursor: pointer;
}

.pl-pers .pl-quick__grid button i {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: #ff4a5a;
}

.pl-pers .pl-quick__grid button[data-pl-quick="tl"] i { top: 8px; left: 8px; }
.pl-pers .pl-quick__grid button[data-pl-quick="tr"] i { top: 8px; right: 8px; }
.pl-pers .pl-quick__grid button[data-pl-quick="bl"] i { bottom: 8px; left: 8px; }
.pl-pers .pl-quick__grid button[data-pl-quick="br"] i { bottom: 8px; right: 8px; }

.pl-pers .pl-quick__grid button:hover,
.pl-pers .pl-quick__grid button:focus-visible {
  border-color: rgba(255, 60, 78, 0.8);
}

.pl-pers .pl-reset {
  min-height: 44px;
  justify-self: start;
  border-radius: 10px;
  font-size: 0.9rem;
}

.pl-pers .pl-datechip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 44, 62, 0.5);
  border-radius: 10px;
  background: rgba(12, 4, 6, 0.8);
  color: #ff8a90;
}

.pl-pers .pl-datechip svg {
  width: 22px;
  height: 22px;
}

.pl-pers .pl-datechip strong {
  color: #fff8f8;
  font-size: 1.05rem;
}

.pl-pers .pl-caption input {
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: #070305;
  color: #fff;
  font: inherit;
  font-size: 1rem;
}

.pl-pers .pl-counter {
  display: block;
  margin-top: 4px;
  text-align: right;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
}

.pl-pers .pl-opt__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pl-pers .pl-font {
  display: grid;
  place-items: center;
  min-width: 84px;
  min-height: 56px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(10, 5, 6, 0.8);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.pl-pers .pl-font small {
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.78);
}

.pl-pers .pl-font--script { font-family: "Marck Script", cursive; }
.pl-pers .pl-font--sans { font-family: "Noto Sans PhotoLab", sans-serif; font-weight: 700; }

.pl-pers .pl-font[aria-checked="true"] {
  border: 2px solid #ff2a3c;
  box-shadow: 0 0 10px rgba(255, 36, 56, 0.5);
}

.pl-pers .pl-swatch {
  position: relative;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
}

.pl-pers .pl-swatch--auto { background: conic-gradient(#fff4f4 0 50%, #2a1618 0 100%); }
.pl-pers .pl-swatch--white { background: #fff4f4; }
.pl-pers .pl-swatch--red { background: #ff3b4a; }
.pl-pers .pl-swatch--pink { background: #ff9bd0; }
.pl-pers .pl-swatch--gold { background: #f5c04a; }

.pl-pers .pl-swatch[aria-checked="true"] {
  border-color: #fff;
  box-shadow: 0 0 0 3px #ff2a3c, 0 0 12px rgba(255, 36, 56, 0.6);
}

.pl-pers .pl-swatch[aria-checked="true"]::after {
  content: "\2713";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #111;
  font-size: 1.1rem;
  font-weight: 800;
  text-shadow: 0 0 3px #fff;
}

.pl-pers .pl-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  line-height: 1.35;
}

.pl-app[data-pl-step="4"] .pl-gestures {
  display: none;
}

@media (min-width: 1100px) {
  .pl-pers {
    position: absolute;
    left: calc(32 * var(--u));
    top: calc(327 * var(--u));
    width: calc(1608 * var(--u));
    height: calc(508 * var(--u));
    display: flex;
    gap: calc(16 * var(--u));
  }

  .pl-pers__elements {
    flex: none;
    width: calc(356 * var(--u));
    gap: calc(10 * var(--u));
    padding: calc(12 * var(--u)) calc(14 * var(--u));
  }

  .pl-pers__editor {
    flex: none;
    width: calc(752 * var(--u));
    display: grid;
    place-items: center;
  }

  .pl-pers__print {
    width: calc(740 * var(--u));
    box-sizing: border-box;
    padding: calc(14 * var(--u));
    transform: none;
  }

  .pl-pers__tools {
    flex: 1 1 auto;
    min-width: 0;
    gap: calc(8 * var(--u));
    padding: calc(12 * var(--u)) calc(14 * var(--u));
  }

  .pl-pers__head .pl-ico {
    width: calc(40 * var(--u));
    height: calc(40 * var(--u));
    flex-basis: calc(40 * var(--u));
  }

  .pl-pers__head h2 {
    font-size: calc(20 * var(--u));
  }

  .pl-pers__head p {
    font-size: calc(13 * var(--u));
  }

  .pl-pers .pl-el__main {
    min-height: calc(62 * var(--u));
    font-size: calc(16 * var(--u));
  }

  .pl-pers .pl-tabs button {
    min-height: calc(56 * var(--u));
  }

  .pl-pers .pl-pane {
    gap: calc(10 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-dock [data-pl-dock-next] {
    left: calc(1159 * var(--u));
    width: calc(401 * var(--u));
  }
}

@media (max-width: 1099px) {
  .pl-pers {
    display: flex;
    flex-direction: column;
  }

  .pl-pers__elements {
    display: none;
  }

  .pl-pers__editor {
    order: 1;
  }

  .pl-pers__tools {
    order: 2;
    margin-top: 12px;
    padding: 12px;
  }

  .pl-pers__print {
    padding: 8px;
  }

  .pl-pers__head .pl-ico {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .pl-pers__head h2 {
    font-size: 1.05rem;
  }

  .pl-pers .pl-quick__grid {
    grid-template-columns: repeat(4, 48px);
  }

  .pl-app[data-pl-step="4"] .pl-hero__support,
  .pl-app[data-pl-step="4"] .pl-hero__lead {
    display: none;
  }

  .pl-app[data-pl-step="4"] .pl-hero {
    padding-bottom: 8px;
  }

  .pl-app[data-pl-step="4"] .pl-dock [data-pl-dock-next] {
    font-size: 1rem;
    white-space: nowrap;
    padding: 0 14px;
  }

  .pl-app[data-pl-step="4"] .pl-dock__hint {
    padding: 6px 0 4px;
    margin-top: 2px;
    line-height: 1.4;
  }
}

.pl-app[data-pl-step="4"] .pl-dock [data-pl-dock-next] {
  display: inline-flex;
}

@media (prefers-reduced-motion: reduce) {
  .pl-pers * {
    transition: none !important;
  }
}

/* ==========================================================================
   STEP 4 - VISUAL REBUILD v2 (neon). Overrides the first Step-4 pass.
   ========================================================================== */
.pl-pers__panel {
  position: relative;
  border: 1.5px solid #ff2e40;
  background:
    radial-gradient(ellipse 90% 40% at 50% 0%, rgba(255, 36, 56, 0.2), transparent 70%),
    linear-gradient(180deg, rgba(34, 6, 11, 0.78), rgba(7, 3, 5, 0.86));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 0 0 1px rgba(255, 60, 78, 0.22),
    0 0 18px rgba(255, 30, 50, 0.6),
    0 0 46px rgba(255, 24, 44, 0.28),
    inset 0 0 26px rgba(255, 30, 50, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pl-pers__head .pl-ico {
  border: 0;
  background: none;
  box-shadow: none;
  color: #fff;
  filter: drop-shadow(0 0 6px rgba(255, 60, 78, 0.9));
}

.pl-pers__head .pl-ico svg {
  width: 100%;
  height: 100%;
}

.pl-pers__head h2 {
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  text-shadow: 0 0 12px rgba(255, 40, 60, 0.4);
}

.pl-pers .pl-el {
  position: relative;
  border: 1px solid rgba(255, 70, 88, 0.45);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(24, 6, 10, 0.88), rgba(10, 3, 5, 0.9));
  box-shadow: inset 0 0 14px rgba(255, 30, 50, 0.1), 0 0 8px rgba(255, 30, 50, 0.15);
}

.pl-pers .pl-el.is-active {
  border: 2px solid #ff3347;
  background: linear-gradient(90deg, rgba(255, 36, 56, 0.28), rgba(14, 4, 7, 0.9) 70%);
  box-shadow: 0 0 0 1px rgba(255, 110, 125, 0.4), 0 0 22px rgba(255, 36, 56, 0.85), 0 0 40px rgba(255, 24, 44, 0.35), inset 0 0 22px rgba(255, 36, 56, 0.25);
}

.pl-pers .pl-el__main {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pl-pers .pl-el__main .pl-ico {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  color: #ff3d50;
  filter: drop-shadow(0 0 5px rgba(255, 40, 60, 0.85));
}

.pl-pers .pl-el__main .pl-ico svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.5;
}

.pl-pers .pl-el__chev {
  color: #fff;
  font-size: 2rem;
  font-weight: 300;
}

/* neon toggle */
.pl-pers .pl-switch__track {
  width: 62px;
  height: 34px;
  flex: 0 0 62px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #231014;
}

.pl-pers .pl-switch__track::after {
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.pl-pers .pl-switch[aria-checked="true"] .pl-switch__track {
  background: linear-gradient(180deg, #ff4254, #e0101f);
  border-color: #ff8a96;
  box-shadow: 0 0 14px rgba(255, 36, 56, 0.9), 0 0 26px rgba(255, 24, 44, 0.45), inset 0 0 8px rgba(255, 255, 255, 0.25);
}

.pl-pers .pl-switch[aria-checked="true"] .pl-switch__track::after {
  transform: translateX(28px);
}

.pl-pers .pl-switch--mini {
  min-width: 70px;
}

/* photo frame */
.pl-pers__print {
  position: relative;
  background: linear-gradient(180deg, #fbf5ee, #efe4d8);
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 22px 50px rgba(0, 0, 0, 0.7), 0 0 38px rgba(255, 36, 56, 0.55), 0 0 90px rgba(255, 24, 44, 0.25);
}

.pl-pers__print::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid #d4202f;
  box-shadow: 0 0 10px rgba(255, 40, 60, 0.7), inset 0 0 8px rgba(255, 40, 60, 0.4);
  pointer-events: none;
}

/* tabs */
.pl-pers .pl-tabs {
  gap: 8px;
}

.pl-pers .pl-tabs button {
  min-height: 74px;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: linear-gradient(180deg, #1b0d11, #100709);
  font-size: 0.74rem;
}

.pl-pers .pl-tabs button svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
}

.pl-pers .pl-tabs button[aria-selected="true"] {
  border-color: #ff7a88;
  background: linear-gradient(180deg, #ff3447, #c4101f);
  box-shadow: 0 0 18px rgba(255, 36, 56, 0.9), 0 0 36px rgba(255, 24, 44, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.pl-pers .pl-switch--row {
  min-height: 56px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 70, 88, 0.55);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(22, 6, 10, 0.9), rgba(10, 3, 5, 0.9));
  box-shadow: inset 0 0 12px rgba(255, 30, 50, 0.12);
  font-size: 1.05rem;
}

.pl-pers .pl-size span,
.pl-pers .pl-quick > span,
.pl-pers .pl-opt > span,
.pl-pers .pl-caption > span:first-child {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.pl-pers .pl-size__row button,
.pl-pers .pl-quick__grid button,
.pl-pers .pl-font {
  border-color: rgba(255, 70, 88, 0.5);
  background: linear-gradient(180deg, #1a0a0e, #0f0608);
  box-shadow: inset 0 0 10px rgba(255, 30, 50, 0.12);
}

.pl-pers .pl-size__row button {
  flex-basis: 52px;
  height: 52px;
  border-radius: 12px;
  font-size: 1.6rem;
}

.pl-pers .pl-size__row input[type="range"] {
  height: 8px;
  background: linear-gradient(90deg, #ff2e40, rgba(255, 255, 255, 0.18));
  box-shadow: 0 0 8px rgba(255, 36, 56, 0.45);
}

.pl-pers .pl-size__row input[type="range"]::-webkit-slider-thumb {
  width: 26px;
  height: 26px;
  border: 3px solid #fff;
  background: #ff2438;
  box-shadow: 0 0 14px rgba(255, 36, 56, 1);
}

.pl-pers .pl-quick__grid {
  grid-template-columns: repeat(4, 58px);
  gap: 10px;
}

.pl-pers .pl-quick__grid button {
  width: 58px;
  height: 58px;
  border-radius: 12px;
}

.pl-pers .pl-quick__grid button i {
  width: 14px;
  height: 14px;
  background: #ff3d50;
  box-shadow: 0 0 8px rgba(255, 40, 60, 0.9);
}

.pl-pers .pl-quick__grid button[data-pl-quick="tl"] i { top: 9px; left: 9px; }
.pl-pers .pl-quick__grid button[data-pl-quick="tr"] i { top: 9px; right: 9px; }
.pl-pers .pl-quick__grid button[data-pl-quick="bl"] i { bottom: 9px; left: 9px; }
.pl-pers .pl-quick__grid button[data-pl-quick="br"] i { bottom: 9px; right: 9px; }

.pl-pers .pl-reset {
  min-height: 52px;
  padding: 0 20px;
  border: 1.5px solid #ff3d50;
  background: linear-gradient(180deg, rgba(40, 8, 14, 0.7), rgba(14, 4, 7, 0.8));
  box-shadow: 0 0 12px rgba(255, 36, 56, 0.45), inset 0 0 10px rgba(255, 36, 56, 0.15);
  font-size: 0.98rem;
}

.pl-pers .pl-caption input {
  min-height: 78px;
  border: 1.5px solid rgba(255, 70, 88, 0.6);
  background: rgba(5, 2, 3, 0.85);
  box-shadow: inset 0 0 12px rgba(255, 30, 50, 0.12);
  font-size: 1.05rem;
}

.pl-pers .pl-font {
  min-width: 88px;
  min-height: 72px;
  font-size: 1.9rem;
}

.pl-pers .pl-font[aria-checked="true"] {
  border: 2px solid #ff3347;
  box-shadow: 0 0 16px rgba(255, 36, 56, 0.85), inset 0 0 12px rgba(255, 36, 56, 0.25);
}

.pl-pers .pl-swatch {
  width: 52px;
  height: 52px;
}

.pl-pers .pl-swatch[aria-checked="true"] {
  box-shadow: 0 0 0 3px #ff2a3c, 0 0 18px rgba(255, 36, 56, 0.95);
}

.pl-pers .pl-datechip {
  border: 1.5px solid #ff3d50;
  background: rgba(12, 3, 6, 0.85);
  box-shadow: 0 0 14px rgba(255, 36, 56, 0.55), inset 0 0 10px rgba(255, 36, 56, 0.2);
}

/* gesture strip + action buttons (desktop) */
.pl-app[data-pl-step="4"] .pl-gestures {
  display: flex;
}

@media (min-width: 1100px) {
  .pl-pers {
    left: calc(32 * var(--u));
    width: calc(1608 * var(--u));
    gap: calc(8 * var(--u));
  }

  .pl-pers__elements {
    width: calc(406 * var(--u));
    padding: calc(14 * var(--u)) calc(16 * var(--u));
    gap: calc(12 * var(--u));
  }

  .pl-pers__editor {
    width: calc(765 * var(--u));
    margin: 0 calc(8 * var(--u));
  }

  .pl-pers__print {
    width: calc(745 * var(--u));
    padding: calc(12 * var(--u));
  }

  .pl-pers__print::after {
    inset: calc(12 * var(--u));
  }

  .pl-pers__tools {
    flex: 1 1 auto;
    padding: calc(14 * var(--u)) calc(16 * var(--u));
    gap: calc(10 * var(--u));
  }

  .pl-pers .pl-els {
    gap: calc(12 * var(--u));
  }

  .pl-pers .pl-el__main {
    min-height: calc(70 * var(--u));
    font-size: calc(17 * var(--u));
  }

  .pl-pers__head h2 {
    font-size: calc(24 * var(--u));
  }

  .pl-pers__head p {
    font-size: calc(14 * var(--u));
  }

  .pl-pers__head .pl-ico {
    width: calc(50 * var(--u));
    height: calc(50 * var(--u));
    flex-basis: calc(50 * var(--u));
  }

  .pl-pers .pl-tabs button {
    min-height: calc(72 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-dock__hint {
    display: none;
  }

  .pl-app[data-pl-step="4"] .pl-gestures {
    position: absolute;
    z-index: 5;
    left: calc(232 * var(--u));
    top: calc(850 * var(--u));
    width: calc(960 * var(--u));
    height: calc(54 * var(--u));
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    border: 1px solid rgba(255, 90, 105, 0.45);
    border-radius: calc(12 * var(--u));
    background: linear-gradient(180deg, rgba(20, 6, 10, 0.85), rgba(8, 3, 5, 0.9));
    box-shadow: inset 0 0 14px rgba(255, 30, 50, 0.15), 0 0 12px rgba(255, 30, 50, 0.25);
    color: rgba(255, 255, 255, 0.92);
    font-size: calc(13 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-gestures > span {
    flex: 1 1 0;
    justify-content: center;
    gap: calc(10 * var(--u));
    padding: 0 calc(6 * var(--u));
    white-space: nowrap;
  }

  .pl-app[data-pl-step="4"] .pl-gestures > span + span {
    border-left: 1px solid rgba(255, 255, 255, 0.22);
    margin: calc(10 * var(--u)) 0;
  }

  .pl-app[data-pl-step="4"] .pl-gestures svg {
    width: calc(26 * var(--u));
    height: calc(26 * var(--u));
    color: #fff;
    filter: drop-shadow(0 0 4px rgba(255, 60, 78, 0.8));
  }

  .pl-app[data-pl-step="4"] .pl-dock [data-pl-back] {
    border: 1.5px solid #ff3d50;
    background: linear-gradient(180deg, rgba(30, 7, 12, 0.92), rgba(10, 3, 5, 0.95));
    box-shadow: 0 0 14px rgba(255, 36, 56, 0.5), inset 0 0 12px rgba(255, 36, 56, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 800;
  }

  .pl-app[data-pl-step="4"] .pl-dock [data-pl-dock-next] {
    left: calc(1159 * var(--u));
    width: calc(401 * var(--u));
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    font-size: calc(22 * var(--u));
    background: linear-gradient(180deg, #ff4a5c 0%, #e91528 45%, #a80b18 100%);
    border: 1px solid #ff9aa5;
    box-shadow: 0 0 18px rgba(255, 36, 56, 1), 0 0 44px rgba(255, 24, 44, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -10px 18px rgba(110, 0, 12, 0.5);
  }
}

@media (max-width: 1099px) {
  .pl-pers__print {
    padding: 8px;
  }

  .pl-pers__print::after {
    inset: 8px;
    border-width: 1.5px;
  }

  .pl-pers .pl-tabs button {
    min-height: 66px;
  }

  .pl-app[data-pl-step="4"] .pl-gestures {
    display: none;
  }

  .pl-app[data-pl-step="4"] .pl-dock [data-pl-back] {
    border: 1.5px solid #ff3d50;
    box-shadow: 0 0 12px rgba(255, 36, 56, 0.45);
  }

  .pl-app[data-pl-step="4"] .pl-dock [data-pl-dock-next] {
    box-shadow: 0 0 16px rgba(255, 36, 56, 0.95), 0 0 34px rgba(255, 24, 44, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
}

/* Step 4 v3: message panel exactness */
.pl-pers .pl-caption textarea {
  display: block;
  width: 100%;
  min-height: 84px;
  box-sizing: border-box;
  padding: 12px 14px;
  resize: none;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(4, 2, 3, 0.9);
  color: #fff;
  font: inherit;
  font-size: 1.05rem;
  line-height: 1.35;
}

.pl-pers .pl-caption textarea:focus-visible {
  border-color: #ff3d50;
  box-shadow: 0 0 12px rgba(255, 36, 56, 0.6);
  outline: none;
}

.pl-pers .pl-opt__row--fonts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pl-pers .pl-fontcell {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.pl-pers .pl-fontcell .pl-font {
  width: 100%;
  min-width: 0;
  min-height: 70px;
  font-size: 2rem;
}

.pl-pers .pl-fontcell small {
  color: rgba(255, 255, 255, 0.88);
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  text-align: center;
}

.pl-pers .pl-font--bold { font-family: "Noto Sans PhotoLab", sans-serif; font-weight: 900; -webkit-text-stroke: 1.2px currentColor; }
.pl-pers .pl-swatch--blue { background: #2f8cff; }
.pl-pers .pl-swatch--green { background: #2ecc71; }

.pl-pers .pl-opt__row:not(.pl-opt__row--fonts) {
  gap: 10px;
}

.pl-pers .pl-swatch {
  width: 44px;
  height: 44px;
}

@media (min-width: 1100px) {
  .pl-pers [data-pl-pane="caption"] > .pl-switch--row,
  .pl-pers [data-pl-pane="caption"] > .pl-note {
    display: none;
  }

  .pl-pers .pl-caption textarea {
    min-height: calc(70 * var(--u));
  }

  .pl-pers .pl-fontcell .pl-font {
    min-height: calc(56 * var(--u));
    font-size: calc(28 * var(--u));
  }

  .pl-pers [data-pl-pane="caption"] {
    gap: calc(8 * var(--u));
  }

  .pl-pers .pl-opt > span,
  .pl-pers .pl-caption > span:first-child {
    margin-bottom: calc(4 * var(--u));
  }
}

/* Step 4 v4 */
.pl-pers .pl-opt__row--fonts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.pl-pers .pl-font--elegant {
  font-family: "Noto Sans PhotoLab", sans-serif;
  font-style: italic;
  transform: none;
}

.pl-pers .pl-fontcell .pl-font { font-size: 1.7rem; }

.pl-pers .pl-fontcell small { font-size: 0.72rem; }

.pl-pers .pl-opt__row:not(.pl-opt__row--fonts) {
  justify-content: space-between;
  gap: 6px;
}

.pl-pers .pl-size__row input[type="range"] {
  background: linear-gradient(90deg, #ff2e40 0, #ff2e40 var(--pct, 50%), rgba(255, 255, 255, 0.2) var(--pct, 50%), rgba(255, 255, 255, 0.2) 100%);
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(255, 36, 56, 0.55);
}

.pl-pers .pl-el__req {
  padding: 5px 10px;
  border: 1px solid rgba(255, 90, 105, 0.7);
  border-radius: 999px;
  background: rgba(255, 36, 56, 0.14);
  color: #ffb3bb;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 0 10px rgba(255, 36, 56, 0.35);
}

.pl-pers .pl-req {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 90, 105, 0.6);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(40, 8, 14, 0.7), rgba(14, 4, 7, 0.8));
  box-shadow: 0 0 12px rgba(255, 36, 56, 0.35), inset 0 0 10px rgba(255, 36, 56, 0.15);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  line-height: 1.35;
}

.pl-pers .pl-req .pl-ico {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 0;
  color: #ff4a5a;
  box-shadow: none;
}

.pl-pers .pl-pane .pl-size--msg {
  margin-top: 2px;
}

.pl-pers .pl-quick__grid button.is-on i {
  box-shadow: 0 0 10px #ff2438, 0 0 18px #ff2438;
}

@media (min-width: 1100px) {
  .pl-pers .pl-fontcell .pl-font {
    min-height: calc(54 * var(--u));
    font-size: calc(24 * var(--u));
  }

  .pl-pers .pl-size__row button {
    flex-basis: calc(46 * var(--u));
    height: calc(46 * var(--u));
  }

  .pl-pers [data-pl-pane="caption"] .pl-reset {
    min-height: calc(44 * var(--u));
  }

  .pl-pers .pl-swatch {
    width: calc(46 * var(--u));
    height: calc(46 * var(--u));
  }

  /* reference action row: BACK 192px, strip, CONTINUE 282px */
  .pl-app[data-pl-step="4"] .pl-dock {
    border: 0;
    background: none;
    box-shadow: none;
  }

  .pl-app[data-pl-step="4"] .pl-dock [data-pl-back] {
    left: calc(-4 * var(--u));
    width: calc(192 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-dock [data-pl-dock-next] {
    left: calc(1293 * var(--u));
    width: calc(282 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-gestures {
    left: calc(385 * var(--u));
    width: calc(897 * var(--u));
    top: calc(852 * var(--u));
    height: calc(54 * var(--u));
  }
}

.pl-pers .pl-size__row .pl-iconbtn svg { width: 22px; height: 22px; }

@media (min-width: 1100px) {
  .pl-pers .pl-caption textarea {
    min-height: calc(58 * var(--u));
    padding: calc(8 * var(--u)) calc(12 * var(--u));
  }

  .pl-pers .pl-counter {
    margin-top: calc(2 * var(--u));
  }

  .pl-pers .pl-fontcell .pl-font {
    min-height: calc(46 * var(--u));
  }

  .pl-pers [data-pl-pane="caption"] {
    gap: calc(6 * var(--u));
  }

  .pl-pers .pl-swatch {
    width: calc(40 * var(--u));
    height: calc(40 * var(--u));
  }

  .pl-pers .pl-size__row button {
    flex-basis: calc(40 * var(--u));
    height: calc(40 * var(--u));
  }

  .pl-pers .pl-tabs button {
    min-height: calc(66 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-gestures {
    font-size: calc(12 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-gestures > span {
    gap: calc(8 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-gestures svg {
    width: calc(24 * var(--u));
    height: calc(24 * var(--u));
    flex: 0 0 calc(24 * var(--u));
  }
}

/* ==========================================================================
   STEP 4 - GATE A (visual shell). Scoped to .pl-app[data-pl-step="4"].
   Geometry measured from "ChatGPT Image Oct 23, 2026, 10_00_21 AM-4.png" (1672x941).
   ========================================================================== */
@media (min-width: 1100px) {
  .pl-app[data-pl-step="4"] .pl-hero h1 {
    left: calc(92 * var(--u));
    top: calc(92 * var(--u));
    font-size: calc(76 * var(--u));
    gap: calc(12 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-hero__lead {
    left: calc(92 * var(--u));
    top: calc(158 * var(--u));
    font-size: calc(24 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-hero__support {
    display: none;
  }

  .pl-app[data-pl-step="4"] .pl-progress {
    left: calc(178 * var(--u));
    top: calc(203 * var(--u));
    width: calc(1304 * var(--u));
    height: calc(63 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-progress__list li:nth-child(1) { left: calc(42 * var(--u)); width: calc(210 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-progress__list li:nth-child(2) { left: calc(262 * var(--u)); width: calc(192 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-progress__list li:nth-child(3) { left: calc(464 * var(--u)); width: calc(188 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-progress__list li:nth-child(4) { left: calc(662 * var(--u)); width: calc(261 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-progress__list li:nth-child(5) { left: calc(933 * var(--u)); width: calc(181 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-progress__list li:nth-child(6) { left: calc(1124 * var(--u)); width: calc(150 * var(--u)); }

  .pl-app[data-pl-step="4"] .pl-pers {
    left: calc(32 * var(--u));
    top: calc(280 * var(--u));
    width: calc(1609 * var(--u));
    height: calc(522 * var(--u));
    gap: 0;
  }

  .pl-app[data-pl-step="4"] .pl-pers__elements {
    width: calc(406 * var(--u));
    padding: calc(18 * var(--u)) calc(16 * var(--u));
    gap: calc(14 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-pers__elements .pl-pers__head {
    height: calc(58 * var(--u));
    margin-left: calc(4 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-pers .pl-els {
    gap: calc(13 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-pers .pl-el {
    height: calc(76 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-pers .pl-el__main {
    min-height: 0;
    height: 100%;
  }

  .pl-app[data-pl-step="4"] .pl-pers__editor {
    width: calc(765 * var(--u));
    height: 100%;
    margin: 0 calc(16 * var(--u)) 0 calc(8 * var(--u));
    display: block;
  }

  .pl-app[data-pl-step="4"] .pl-pers__print {
    width: calc(765 * var(--u));
    height: calc(520 * var(--u));
    padding: calc(16 * var(--u)) calc(18 * var(--u));
    box-sizing: border-box;
  }

  .pl-app[data-pl-step="4"] .pl-pers__print::after {
    inset: calc(16 * var(--u)) calc(18 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-pers__tools {
    flex: 1 1 auto;
    padding: calc(18 * var(--u)) calc(18 * var(--u));
    gap: calc(12 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-pers__tools .pl-pers__head {
    height: calc(48 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-pers .pl-tabs {
    gap: calc(8 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-pers .pl-tabs button {
    height: calc(73 * var(--u));
    min-height: 0;
  }

  .pl-app[data-pl-step="4"] .pl-pers .pl-pane {
    gap: calc(8 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-pers .pl-caption textarea {
    min-height: 0;
    height: calc(72 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-msgrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: calc(-4 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-msgsize {
    display: flex;
    gap: calc(6 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-msgsize button {
    width: calc(34 * var(--u));
    height: calc(30 * var(--u));
    border: 1px solid rgba(255, 70, 88, 0.55);
    border-radius: calc(8 * var(--u));
    background: rgba(14, 5, 8, 0.9);
    color: #fff;
    font: inherit;
    font-size: calc(18 * var(--u));
    line-height: 1;
    cursor: pointer;
  }

  .pl-app[data-pl-step="4"] .pl-msgsize button svg {
    width: calc(16 * var(--u));
    height: calc(16 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-pers .pl-counter {
    margin: 0;
    font-size: calc(13 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-pers .pl-fontcell .pl-font {
    height: calc(55 * var(--u));
    min-height: 0;
  }

  .pl-app[data-pl-step="4"] .pl-pers .pl-swatch {
    width: calc(36 * var(--u));
    height: calc(36 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-pers .pl-opt__row:not(.pl-opt__row--fonts) {
    justify-content: flex-start;
    gap: calc(16 * var(--u));
    padding-left: calc(2 * var(--u));
  }

  /* dock: Back 48..240, strip 385..1282, Continue 1345..1627 */
  .pl-app[data-pl-step="4"] .pl-dock {
    top: calc(835 * var(--u));
    height: calc(62 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-dock .pl-btn {
    top: 0;
    height: calc(60 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-dock [data-pl-dock-next] {
    height: calc(62 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-gestures {
    top: calc(842 * var(--u));
    height: calc(52 * var(--u));
  }
}

@media (min-width: 1100px) {
  .pl-app[data-pl-step="4"] .pl-hero h1 {
    top: calc(84 * var(--u));
    font-size: calc(92 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-hero__lead {
    top: calc(163 * var(--u));
    font-size: calc(25 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-hero__tag {
    left: calc(1500 * var(--u));
    top: calc(118 * var(--u));
    width: calc(160 * var(--u));
    font-size: calc(24 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-pers__elements .pl-pers__head {
    height: calc(70 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-pers .pl-els {
    gap: calc(13 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-pers .pl-pane {
    gap: calc(12 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-pers__tools {
    gap: calc(14 * var(--u));
  }
}

@media (min-width: 1100px) {
  .pl-app[data-pl-step="4"] .pl-hero__tag {
    left: calc(1478 * var(--u));
    top: calc(128 * var(--u));
    width: calc(150 * var(--u));
    font-size: calc(22 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-hero__lead {
    top: calc(161 * var(--u));
    font-size: calc(27 * var(--u));
  }
}

/* Step 4: supplied neon PNG icon family (assets/images/Icons -> photolab/icons/s4-*.png) */
.pl-nico {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.pl-pers .pl-ico {
  border: 0;
  background: none;
  box-shadow: none;
  filter: none;
  padding: 0;
}

.pl-pers__head .pl-ico { filter: none; }

.pl-pers .pl-el__main .pl-ico {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  margin: -6px 0;
  filter: none;
}

.pl-pers .pl-el__main .pl-ico img { width: 100%; height: 100%; }

.pl-pers .pl-tabs button .pl-nico {
  width: 46px;
  height: 46px;
  margin: -6px 0 -8px;
}

.pl-pers .pl-datechip .pl-nico { width: 34px; height: 34px; }

.pl-pers .pl-req .pl-ico { width: 52px; height: 52px; flex-basis: 52px; }

.pl-app[data-pl-step="4"] .pl-gestures .pl-nico {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  margin: -8px 0;
  filter: none;
}

@media (min-width: 1100px) {
  .pl-app[data-pl-step="4"] .pl-gestures svg,
  .pl-app[data-pl-step="4"] .pl-gestures .pl-nico {
    width: calc(44 * var(--u));
    height: calc(44 * var(--u));
    flex: 0 0 calc(44 * var(--u));
    margin: calc(-10 * var(--u)) 0;
  }

  .pl-app[data-pl-step="4"] .pl-pers__head .pl-ico {
    width: calc(64 * var(--u));
    height: calc(64 * var(--u));
    flex-basis: calc(64 * var(--u));
    margin: calc(-8 * var(--u)) calc(-8 * var(--u)) calc(-8 * var(--u)) 0;
  }

  .pl-app[data-pl-step="4"] .pl-pers .pl-el__main .pl-ico {
    width: calc(58 * var(--u));
    height: calc(58 * var(--u));
    flex-basis: calc(58 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-pers .pl-tabs button .pl-nico {
    width: calc(50 * var(--u));
    height: calc(50 * var(--u));
  }
}

/* ===== Step 4 Gate A3: original icon PNGs, optical sizing (visible glyph, not file box) ===== */
.pl-nico {
  --w: 44px;
  width: var(--w);
  height: auto;
  max-width: none;
  object-fit: contain;
}

.pl-pers .pl-ico { display: grid; place-items: center; overflow: visible; }

/* per-icon visible-size factors: file width needed so the glyph measures the target */
.pl-pers__elements .pl-pers__head .pl-ico { width: 52px; height: 52px; flex: 0 0 52px; margin: 0 8px 0 0; }
.pl-pers__elements .pl-pers__head .pl-nico--layers { --w: 54px; }
.pl-pers__tools .pl-pers__head .pl-ico { width: 52px; height: 52px; flex: 0 0 52px; margin: 0 8px 0 0; }
.pl-pers__tools .pl-pers__head .pl-nico--sliders { --w: 56px; }

.pl-pers .pl-el__main .pl-ico { width: 44px; height: 44px; flex: 0 0 44px; margin: 0; }
.pl-pers .pl-el__main .pl-nico--crown { --w: 40px; }
.pl-pers .pl-el__main .pl-nico--calendar { --w: 54px; }
.pl-pers .pl-el__main .pl-nico--bowling { --w: 50px; }
.pl-pers .pl-el__main .pl-nico--text { --w: 54px; }

.pl-pers .pl-tabs button { gap: 2px; }
.pl-pers .pl-tabs button .pl-nico { margin: 0; }
.pl-pers .pl-tabs .pl-nico--crown { --w: 36px; }
.pl-pers .pl-tabs .pl-nico--calendar { --w: 48px; }
.pl-pers .pl-tabs .pl-nico--bowling { --w: 44px; }
.pl-pers .pl-tabs .pl-nico--text { --w: 50px; }

.pl-app[data-pl-step="4"] .pl-gestures .pl-nico { margin: 0; flex: none; }
.pl-app[data-pl-step="4"] .pl-gestures .pl-nico--move { --w: 34px; }
.pl-app[data-pl-step="4"] .pl-gestures .pl-nico--pinch { --w: 36px; }
.pl-app[data-pl-step="4"] .pl-gestures .pl-nico--resize { --w: 40px; }

/* no extra CSS glow on top of the PNG halo */
.pl-pers .pl-nico, .pl-pers .pl-ico, .pl-pers__head .pl-ico { filter: none !important; }

/* locked (mandatory) logo toggle: looks ON, cannot be changed */
.pl-pers .pl-switch--locked { cursor: not-allowed; }
.pl-pers .pl-switch--row.pl-switch--locked { display: flex; }

/* font cards: four clearly different samples */
.pl-pers .pl-font--script { font-family: "Marck Script", cursive; font-size: 2.3rem; }
.pl-pers .pl-font--sans { font-family: "Noto Sans PhotoLab", sans-serif; font-weight: 400; font-size: 1.9rem; }
.pl-pers .pl-font--bold { font-family: "Noto Sans PhotoLab", sans-serif; font-weight: 900; -webkit-text-stroke: 2.4px currentColor; font-size: 1.9rem; letter-spacing: 0.02em; }
.pl-pers .pl-font--elegant { font-family: "Marck Script", cursive; font-style: italic; font-size: 2.1rem; letter-spacing: 0.06em; opacity: 0.92; }

@media (min-width: 1100px) {
  .pl-pers .pl-font--script { font-size: calc(32 * var(--u)); }
  .pl-pers .pl-font--sans { font-size: calc(27 * var(--u)); }
  .pl-pers .pl-font--bold { font-size: calc(27 * var(--u)); }
  .pl-pers .pl-font--elegant { font-size: calc(30 * var(--u)); }

  /* message panel vertical rhythm (reference: label 460, field 478-550, counter 567, style label 591, cards 610-665, color label 725, swatches 748-782) */
  .pl-app[data-pl-step="4"] .pl-pers [data-pl-pane="caption"] { gap: calc(8 * var(--u)); padding-top: calc(4 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-pers .pl-opt:nth-of-type(1) { margin-top: calc(-10 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-pers .pl-opt:nth-of-type(2) { margin-top: calc(14 * var(--u)); }
}

.pl-pers .pl-tabs button { gap: 0; justify-content: center; align-content: center; padding: 2px 2px 6px; }
.pl-pers .pl-tabs .pl-ico, .pl-pers .pl-tabs button > .pl-nico { height: auto; }
.pl-pers .pl-tabs .pl-nico--crown { --w: 31px; margin-bottom: 2px; }
.pl-pers .pl-tabs .pl-nico--calendar { --w: 41px; margin-bottom: 0; }
.pl-pers .pl-tabs .pl-nico--bowling { --w: 36px; margin-bottom: 1px; }
.pl-pers .pl-tabs .pl-nico--text { --w: 42px; margin-bottom: 0; }
.pl-pers .pl-tabs button span { line-height: 1; margin-top: -3px; }

.pl-pers .pl-el__main .pl-nico--crown { --w: 30px; }
.pl-pers .pl-el__main .pl-nico--calendar { --w: 40px; }
.pl-pers .pl-el__main .pl-nico--bowling { --w: 38px; }
.pl-pers .pl-el__main .pl-nico--text { --w: 42px; }
.pl-pers .pl-el__main .pl-ico { width: 40px; flex-basis: 40px; margin-right: 4px; }
.pl-pers__elements .pl-pers__head .pl-nico--layers { --w: 46px; }
.pl-pers__tools .pl-pers__head .pl-nico--sliders { --w: 48px; }

/* ===== Step 4 Gate A4: surgical scale/weight corrections ===== */
@media (min-width: 1100px) {
  .pl-app[data-pl-step="4"] .pl-hero h1 { top: calc(88 * var(--u)); font-size: calc(84 * var(--u)); letter-spacing: -0.045em; }
  .pl-app[data-pl-step="4"] .pl-hero__lead { top: calc(160 * var(--u)); font-size: calc(23 * var(--u)); }

  .pl-app[data-pl-step="4"] .pl-pers__head h2 { font-size: calc(21 * var(--u)); letter-spacing: 0; }
  .pl-app[data-pl-step="4"] .pl-pers__head p { font-size: calc(12.5 * var(--u)); line-height: 1.3; }
  .pl-app[data-pl-step="4"] .pl-pers__head { gap: calc(8 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-pers__elements .pl-pers__head .pl-ico,
  .pl-app[data-pl-step="4"] .pl-pers__tools .pl-pers__head .pl-ico { width: calc(38 * var(--u)); height: calc(38 * var(--u)); flex-basis: calc(38 * var(--u)); margin: 0 calc(6 * var(--u)) 0 calc(4 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-pers__elements .pl-pers__head .pl-nico--layers { --w: calc(40 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-pers__tools .pl-pers__head .pl-nico--sliders { --w: calc(44 * var(--u)); }

  .pl-app[data-pl-step="4"] .pl-pers .pl-el__main { font-size: calc(15.5 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-pers .pl-el__main .pl-nico--crown { --w: calc(27 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-pers .pl-el__main .pl-nico--calendar { --w: calc(37 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-pers .pl-el__main .pl-nico--bowling { --w: calc(34 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-pers .pl-el__main .pl-nico--text { --w: calc(38 * var(--u)); }

  .pl-app[data-pl-step="4"] .pl-pers .pl-tabs .pl-nico--crown { --w: calc(27 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-pers .pl-tabs .pl-nico--calendar { --w: calc(37 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-pers .pl-tabs .pl-nico--bowling { --w: calc(33 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-pers .pl-tabs .pl-nico--text { --w: calc(38 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-pers .pl-tabs button { font-size: calc(11 * var(--u)); }

  .pl-app[data-pl-step="4"] .pl-pers .pl-caption textarea { height: calc(66 * var(--u)); font-size: calc(14.5 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-pers .pl-fontcell .pl-font { height: calc(50 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-pers .pl-font--script { font-size: calc(28 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-pers .pl-font--sans { font-size: calc(24 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-pers .pl-font--bold { font-size: calc(24 * var(--u)); -webkit-text-stroke-width: 2px; }
  .pl-app[data-pl-step="4"] .pl-pers .pl-font--elegant { font-size: calc(26 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-pers .pl-swatch { width: calc(34 * var(--u)); height: calc(34 * var(--u)); }
  .pl-app[data-pl-step="4"] .pl-pers .pl-opt > span,
  .pl-app[data-pl-step="4"] .pl-pers .pl-caption > span:first-child { font-size: calc(11.5 * var(--u)); }

  .pl-app[data-pl-step="4"] .pl-pers__panel { box-shadow: 0 0 0 1px rgba(255, 60, 78, 0.18), 0 0 12px rgba(255, 30, 50, 0.4), inset 0 0 18px rgba(255, 30, 50, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
  .pl-app[data-pl-step="4"] .pl-pers .pl-el { box-shadow: inset 0 0 8px rgba(255, 30, 50, 0.06); }
  .pl-app[data-pl-step="4"] .pl-pers .pl-el.is-active { box-shadow: 0 0 14px rgba(255, 36, 56, 0.6), inset 0 0 14px rgba(255, 36, 56, 0.18); }
}

/* Universal souvenir frame: Step 2 crop box follows the canonical photo-rect aspect (1692x930) */
.pl-swatch--ink { background: #2a1618; border-color: rgba(255, 255, 255, 0.45); }
.pl-pers .pl-swatch--ink[aria-checked="true"]::after { color: #fff; text-shadow: none; }
@media (max-width: 1099px) {
  .pl-position .pl-stage { aspect-ratio: 1692 / 930; }
  .pl-position .pl-stage canvas { aspect-ratio: 1692 / 930; }
}

.pl-app[data-pl-step="4"] .pl-pers__print::after { display: none; }
.pl-app[data-pl-step="4"] .pl-pers__print { padding: 6px; }

.pl-swatch--white { background: #ffffff; border-color: rgba(255, 255, 255, 0.55); }
.pl-pers .pl-swatch--white[aria-checked="true"]::after { color: #111; }

/* ==========================================================================
   Pre-Step-5 visual correction (scoped polish; does not redesign Steps 1–4)
   ========================================================================== */

/* A/B. Step 1: filename never expands the card; Change/Remove stay inside. */
.pl-picked {
  overflow: hidden;
  min-width: 0;
}
.pl-picked__meta {
  min-width: 0;
  flex: 1 1 auto;
}
.pl-picked__name {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
  font-size: 0.86em;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.78);
}
.pl-picked__meta [data-pl-dims] {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88em;
}
.pl-picked__actions {
  min-width: 0;
}
.pl-picked__actions .pl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

@media (max-width: 1099px) {
  .pl-app[data-pl-step="1"] .pl-picked {
    overflow: hidden;
  }
  .pl-app[data-pl-step="1"] .pl-picked__name {
    white-space: nowrap;
    font-size: 0.92rem;
  }
  .pl-app[data-pl-step="1"] .pl-picked__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 8px;
  }
  .pl-app[data-pl-step="1"] .pl-picked__actions .pl-btn {
    flex: none;
    width: 100%;
    min-height: 48px;
    padding: 0 12px;
    white-space: nowrap;
  }
}

/* C. Step 2 zoom / reset optical alignment */
.pl-position .pl-zoombar {
  align-items: center;
}
.pl-position .pl-zoomgroup {
  height: 44px;
  box-sizing: border-box;
  align-items: stretch;
}
.pl-position .pl-zoomgroup button,
.pl-position .pl-zoomgroup strong {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-height: 44px;
  line-height: 1;
  padding: 0 10px;
  box-sizing: border-box;
}
.pl-position .pl-zoomgroup button {
  min-width: 44px;
  font-size: 1.25rem;
}
.pl-position .pl-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-height: 44px;
  box-sizing: border-box;
  line-height: 1;
  padding: 0 16px;
}

/* D. Step 2 interaction helpers */
.pl-position .pl-cues .pl-ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  overflow: hidden;
}
.pl-position .pl-cues .pl-nico {
  --w: 32px;
  width: var(--w);
  height: 28px;
  object-fit: contain;
}
@media (max-width: 1099px) {
  .pl-position .pl-cues {
    align-items: stretch;
  }
  .pl-position .pl-cues li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 8px;
    min-width: 0;
    padding: 0 4px;
  }
  .pl-position .pl-cues li span:last-child {
    max-width: 100%;
    line-height: 1.3;
  }
}

/* G/10. Neon range skin (no native Windows track/thumb) */
.pl-pers .pl-size__row input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 auto;
  min-width: 64px;
  height: 28px;
  margin: 0;
  background: transparent;
  accent-color: transparent;
}
.pl-pers .pl-size__row input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff2e40 0, #ff2e40 var(--pct, 50%), rgba(255, 255, 255, 0.2) var(--pct, 50%), rgba(255, 255, 255, 0.2) 100%);
  box-shadow: 0 0 8px rgba(255, 36, 56, 0.55);
}
.pl-pers .pl-size__row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -7px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #ff2438;
  box-shadow: 0 0 12px rgba(255, 36, 56, 1);
  cursor: pointer;
}
.pl-pers .pl-size__row input[type="range"]::-moz-range-track {
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}
.pl-pers .pl-size__row input[type="range"]::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: #ff2e40;
}
.pl-pers .pl-size__row input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #ff2438;
  box-shadow: 0 0 12px rgba(255, 36, 56, 1);
  cursor: pointer;
}

.pl-msgrow {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.pl-msgrow .pl-size__row {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pl-msgrow .pl-size__row button {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 70, 88, 0.55);
  border-radius: 10px;
  background: linear-gradient(180deg, #1a0a0e, #0f0608);
  color: #fff;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: inset 0 0 10px rgba(255, 30, 50, 0.12);
}
.pl-msgrow .pl-size__row button.pl-iconbtn svg {
  width: 18px;
  height: 18px;
}
.pl-msgrow .pl-counter {
  flex: 0 0 auto;
  margin: 0;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

@media (max-width: 1099px) {
  .pl-app[data-pl-step="4"] .pl-msgrow {
    flex-wrap: wrap;
  }
  .pl-app[data-pl-step="4"] .pl-msgrow .pl-size__row {
    flex: 1 1 100%;
  }
  .pl-app[data-pl-step="4"] .pl-msgrow .pl-counter {
    margin-left: auto;
  }
}

/* H. Step 4 tab optical grid */
.pl-pers .pl-tabs button {
  display: grid;
  grid-template-rows: 34px auto;
  justify-items: center;
  align-content: center;
  align-items: center;
  gap: 4px;
  padding: 6px 2px 8px;
}
.pl-pers .pl-tabs button > .pl-nico {
  width: var(--w);
  height: 34px;
  margin: 0;
  object-fit: contain;
}
.pl-pers .pl-tabs button span {
  margin: 0;
  line-height: 1.1;
  text-align: center;
}

/* I. Step 4 left-row optical center */
.pl-pers .pl-el {
  align-items: center;
}
.pl-pers .pl-el__main {
  align-items: center;
}
.pl-pers .pl-el__main .pl-ico {
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0;
}
.pl-pers .pl-el__main .pl-nico {
  width: var(--w);
  height: 100%;
  max-height: 40px;
  object-fit: contain;
}
.pl-pers .pl-el .pl-switch--mini,
.pl-pers .pl-el .pl-switch--locked {
  display: inline-flex;
  align-items: center;
  align-self: center;
}
@media (max-width: 1099px) {
  .pl-pers .pl-el__main .pl-ico {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    margin-right: 6px;
  }
}

/* J. Desktop gesture strip */
.pl-app[data-pl-step="4"] .pl-gestures {
  align-items: stretch;
}
.pl-app[data-pl-step="4"] .pl-gestures > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  text-align: center;
  line-height: 1.2;
}
.pl-app[data-pl-step="4"] .pl-gestures .pl-nico {
  width: var(--w);
  height: 28px;
  flex: none;
  margin: 0;
  object-fit: contain;
}

/* 16. Font-card optical centering */
.pl-pers .pl-fontcell .pl-font {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}
.pl-pers .pl-font--script {
  padding-top: 8px;
}
.pl-pers .pl-font--elegant {
  padding-top: 6px;
}
.pl-pers .pl-fontcell small {
  text-align: center;
  line-height: 1.2;
}

/* 14. Step 4 mobile: dock stays after the pane so it cannot cover textarea / size / fonts. */
@media (max-width: 1099px) {
  .pl-app[data-pl-step="4"] .pl-dock {
    position: relative;
    bottom: auto;
    margin-top: 10px;
  }
  .pl-app[data-pl-step="4"] .pl-pers__tools {
    padding-bottom: 12px;
  }
  .pl-app[data-pl-step="4"] .pl-caption textarea {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .pl-app[data-pl-step="4"] .pl-pers .pl-opt__row--fonts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .pl-app[data-pl-step="4"] .pl-pers .pl-opt__row:not(.pl-opt__row--fonts) {
    flex-wrap: nowrap;
  }
}

/* ==========================================================================
   STEP 5 — Final preview (canonical print, no editor chrome)
   Visual source: assets/images/New Photo Lab/ChatGPT Image Oct 23, 2026, 10_00_14 AM-2.png
   ========================================================================== */
.pl-app[data-pl-step="5"] .pl-dock {
  display: grid;
}

.pl-app[data-pl-step="5"] .pl-hero__support,
.pl-app[data-pl-step="5"] .pl-hero__tag {
  display: none;
}

.pl-app[data-pl-step="5"] .pl-summary li.is-on::after {
  content: none;
}

.pl-app[data-pl-step="5"] .pl-print--ready {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 0;
  background: none;
  box-shadow: none;
  transform: none;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pl-app[data-pl-step="5"] .pl-print--ready canvas {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #faf5ec;
  border-radius: 3px;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.55));
}

.pl-app[data-pl-step="5"] .pl-ready {
  width: 100%;
  gap: 10px;
  justify-content: flex-start;
}

.pl-app[data-pl-step="5"] .pl-ready h2 {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.35rem, 3.2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: none;
  line-height: 1.12;
}

.pl-app[data-pl-step="5"] .pl-ready .is-red {
  color: #ff2a3c;
  text-shadow: 0 0 18px rgba(255, 36, 56, 0.5);
}

.pl-app[data-pl-step="5"] .pl-ready__sub {
  margin: 0 auto;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
}

.pl-app[data-pl-step="5"] .pl-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.pl-app[data-pl-step="5"] .pl-summary__chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  min-width: 0;
  flex: 1 1 148px;
  max-width: 240px;
  padding: 8px 10px 8px 12px;
  border: 1px solid rgba(255, 70, 84, 0.45);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(22, 8, 12, 0.88), rgba(8, 3, 5, 0.9));
  box-shadow: inset 0 0 12px rgba(255, 30, 50, 0.12), 0 0 10px rgba(255, 24, 44, 0.18);
  text-align: left;
}

.pl-app[data-pl-step="5"] .pl-summary__ico {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  background: center / contain no-repeat;
}

.pl-app[data-pl-step="5"] .pl-summary__chip[data-summary="style"] .pl-summary__ico {
  background-image: url("/assets/images/Icons/ChatGPT%20Image%20Oct%2023%2C%202026%2C%2001_04_23%20PM-2-w192.webp");
}
.pl-app[data-pl-step="5"] .pl-summary__chip[data-summary="logo"] .pl-summary__ico {
  background-image: url("/assets/images/Icons/ChatGPT%20Image%20Oct%2023%2C%202026%2C%2001_04_26%20PM-3-w192.webp");
}
.pl-app[data-pl-step="5"] .pl-summary__chip[data-summary="date"] .pl-summary__ico {
  background-image: url("/assets/images/Icons/ChatGPT%20Image%20Oct%2023%2C%202026%2C%2001_04_29%20PM-4-w192.webp");
}
.pl-app[data-pl-step="5"] .pl-summary__chip[data-summary="stamp"] .pl-summary__ico {
  background-image: url("/assets/images/Icons/ChatGPT%20Image%20Oct%2023%2C%202026%2C%2001_04_32%20PM-5-w192.webp");
}
.pl-app[data-pl-step="5"] .pl-summary__chip[data-summary="caption"] .pl-summary__ico {
  background-image: url("/assets/images/Icons/ChatGPT%20Image%20Oct%2023%2C%202026%2C%2001_04_35%20PM-6-w192.webp");
}

.pl-app[data-pl-step="5"] .pl-summary__copy {
  flex: 1 1 auto;
  min-width: 0;
  color: #fff;
  font-size: 0.84rem;
  line-height: 1.25;
}

.pl-app[data-pl-step="5"] .pl-summary__copy strong {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: none;
}

.pl-app[data-pl-step="5"] .pl-summary__mark {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}

.pl-app[data-pl-step="5"] .pl-summary__chip.is-on .pl-summary__mark {
  border-color: #ff2a3c;
  background: #ff2438;
  box-shadow: 0 0 10px rgba(255, 36, 56, 0.8);
}

.pl-app[data-pl-step="5"] .pl-summary__chip.is-on .pl-summary__mark::after {
  content: "✓";
  display: grid;
  place-items: center;
  height: 100%;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.pl-app[data-pl-step="5"] .pl-ready__actions {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 6px;
}

.pl-app[data-pl-step="5"] .pl-ready__actions .pl-btn {
  min-height: 44px;
  width: auto;
  min-width: min(100%, 320px);
  border-radius: 14px;
}

.pl-app[data-pl-step="5"] .pl-ready__actions .pl-btn:focus-visible {
  outline: 2px solid #ff4452;
  outline-offset: 3px;
}

.pl-app[data-pl-step="5"] .pl-ready__edit {
  justify-self: center;
  font-weight: 700;
}

@media (min-width: 1100px) {
  .pl-app[data-pl-step="5"] .pl-step[data-pl-step="5"] {
    position: absolute;
    left: 0;
    top: calc(318 * var(--u));
    width: 100%;
    height: calc(540 * var(--u));
    display: block;
    padding: 0;
    animation: none;
    overflow: visible;
  }

  .pl-app[data-pl-step="5"] .pl-ready {
    height: 100%;
    gap: calc(4 * var(--u));
    padding: 0 calc(48 * var(--u)) calc(6 * var(--u));
    box-sizing: border-box;
  }

  .pl-app[data-pl-step="5"] .pl-ready h2 {
    font-size: calc(32 * var(--u));
  }

  .pl-app[data-pl-step="5"] .pl-ready__sub {
    font-size: calc(14 * var(--u));
  }

  .pl-app[data-pl-step="5"] .pl-print--ready {
    width: calc(540 * var(--u));
    max-height: calc(360 * var(--u));
    flex: 0 0 auto;
  }

  .pl-app[data-pl-step="5"] .pl-summary {
    flex-wrap: nowrap;
    gap: calc(12 * var(--u));
    margin-top: calc(8 * var(--u));
  }

  .pl-app[data-pl-step="5"] .pl-summary__chip {
    flex: 1 1 0;
    max-width: none;
    min-height: calc(58 * var(--u));
  }

  .pl-app[data-pl-step="5"] .pl-ready__actions {
    margin-top: calc(4 * var(--u));
  }

  .pl-app[data-pl-step="5"] .pl-ready__edit {
    max-width: calc(360 * var(--u));
    min-height: calc(42 * var(--u));
  }

  .pl-app[data-pl-step="5"] .pl-summary__chip {
    min-height: calc(48 * var(--u));
  }
}

@media (max-width: 1099px) {
  .pl-app[data-pl-step="5"] {
    overflow-x: hidden;
  }

  .pl-app[data-pl-step="5"] .pl-hero__lead {
    white-space: normal;
  }

  .pl-app[data-pl-step="5"] .pl-step[data-pl-step="5"] {
    display: block;
    padding: 8px 0 28px;
  }

  .pl-app[data-pl-step="5"] .pl-print--ready {
    width: 100%;
    transform: none;
    max-height: none;
  }

  .pl-app[data-pl-step="5"] .pl-summary__chip {
    flex: 1 1 calc(50% - 10px);
    max-width: none;
  }

  .pl-app[data-pl-step="5"] .pl-ready__actions {
    margin-bottom: 8px;
  }

  .pl-app[data-pl-step="5"] .pl-ready__edit {
    width: 100%;
    min-width: 0;
  }
}

/* ==========================================================================
   UNIFIED WIZARD FOOTER
   One centered glass action bar for Steps 1–6. Must win over older
   step-specific absolute button coordinates that stretched the dock
   to the viewport edges.
   ========================================================================== */
@media (min-width: 1100px) {
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock,
  .pl-app[data-pl-step="3"] .pl-dock,
  .pl-app[data-pl-step="4"] .pl-dock,
  .pl-app[data-pl-step="5"] .pl-dock {
    position: absolute;
    z-index: 6;
    left: calc(283 * var(--u));
    top: calc(868 * var(--u));
    width: calc(1107 * var(--u));
    height: calc(58 * var(--u));
    display: grid;
    grid-template-columns: minmax(148px, 200px) minmax(0, 1fr) minmax(200px, 280px);
    align-items: center;
    gap: calc(12 * var(--u));
    margin: 0;
    padding: calc(6 * var(--u)) calc(8 * var(--u));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: calc(14 * var(--u));
    background:
      linear-gradient(180deg, rgba(255, 36, 56, 0.16), transparent 42%),
      linear-gradient(180deg, rgba(14, 6, 8, 0.88), rgba(5, 3, 4, 0.9));
    box-shadow:
      0 0 0 1px rgba(255, 28, 48, 0.12),
      0 calc(10 * var(--u)) calc(24 * var(--u)) rgba(0, 0, 0, 0.38),
      0 0 calc(22 * var(--u)) rgba(255, 20, 40, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock [data-pl-back],
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock [data-pl-dock-next],
  .pl-app[data-pl-step="1"] .pl-dock .pl-btn,
  .pl-app[data-pl-step="1"] .pl-dock [data-pl-dock-next],
  .pl-app[data-pl-step="3"] .pl-dock [data-pl-dock-next],
  .pl-app[data-pl-step="4"] .pl-dock [data-pl-back],
  .pl-app[data-pl-step="4"] .pl-dock [data-pl-dock-next] {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    min-width: 0;
    max-width: 100%;
    height: calc(46 * var(--u));
  }

  .pl-app[data-pl-step="3"] .pl-dock [data-pl-dock-next],
  .pl-app[data-pl-step="4"] .pl-dock [data-pl-dock-next],
  .pl-app[data-pl-step="2"] .pl-dock [data-pl-dock-next],
  .pl-app[data-pl-step="5"] .pl-dock [data-pl-dock-next] {
    display: inline-flex;
    justify-self: end;
    font-size: calc(15 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-dock [data-pl-back] {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: linear-gradient(180deg, rgba(22, 10, 12, 0.94), rgba(8, 4, 5, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    text-transform: none;
    letter-spacing: 0.04em;
    font-weight: 700;
    font-size: calc(15 * var(--u));
  }

  .pl-app[data-pl-step="4"] .pl-dock [data-pl-dock-next] {
    text-transform: none;
    letter-spacing: 0.04em;
    font-weight: 800;
    font-size: calc(15 * var(--u));
    background: linear-gradient(180deg, #ff3140 0%, #e4101f 50%, #a30812 100%);
    border: 1px solid rgba(255, 140, 150, 0.5);
    box-shadow: 0 0 calc(12 * var(--u)) rgba(255, 24, 44, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  }

  .pl-app[data-pl-step="4"] .pl-dock__hint {
    display: flex;
    position: static;
    left: auto;
    width: auto;
    white-space: normal;
  }

  .pl-app[data-pl-step="3"] .pl-dock__hint,
  .pl-app[data-pl-step="2"] .pl-dock__hint {
    position: static;
    left: auto;
    width: auto;
    white-space: normal;
  }

  .pl-app[data-pl-step="4"] .pl-gestures {
    display: none;
  }
}

@media (max-width: 1099px) {
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-dock,
  .pl-app[data-pl-step="1"] .pl-dock,
  .pl-app[data-pl-step="4"] .pl-dock,
  .pl-app[data-pl-step="5"] .pl-dock {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    grid-template-areas:
      "hint hint"
      "back next";
    position: sticky;
    width: auto;
    height: auto;
    margin: 10px 4px calc(8px + env(safe-area-inset-bottom));
    padding: 10px;
  }

  .pl-app[data-pl-step="4"] .pl-dock {
    position: relative;
    bottom: auto;
    margin-top: 10px;
  }

  .pl-app[data-pl-step="3"] .pl-dock [data-pl-dock-next],
  .pl-app[data-pl-step="4"] .pl-dock [data-pl-dock-next],
  .pl-app[data-pl-step="2"] .pl-dock [data-pl-dock-next],
  .pl-app[data-pl-step="5"] .pl-dock [data-pl-dock-next] {
    display: inline-flex;
    grid-area: next;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .pl-app[data-pl-step="1"] .pl-dock__hint,
  .pl-app[data-pl-step="2"] .pl-dock__hint,
  .pl-app[data-pl-step="3"] .pl-dock__hint,
  .pl-app[data-pl-step="4"] .pl-dock__hint {
    grid-area: hint;
    order: unset;
    width: auto;
    flex: none;
  }

  .pl-app[data-pl-step="1"] .pl-dock .pl-btn,
  .pl-app[data-pl-step="1"] .pl-dock [data-pl-dock-next] {
    min-width: 0;
    width: auto;
  }
}

.pl-app[data-pl-step="6"] .pl-step:not([data-pl-step="6"]) {
  display: none !important;
}

.pl-app[data-pl-step="6"] .pl-dock {
  display: none !important;
}

.pl-send {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 640px);
  gap: 28px;
  align-items: start;
}

.pl-send__photo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}

.pl-print--send {
  width: min(100%, 760px);
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  transform: rotate(-5.4deg);
  transform-origin: 46% 58%;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 18px rgba(255, 24, 44, 0.18));
}

.pl-print--send canvas {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  display: block;
  border-radius: 4px;
  background: #faf5ec;
}

.pl-send__back {
  min-height: 48px;
  min-width: 148px;
  padding: 10px 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(18, 8, 10, 0.92), rgba(8, 4, 5, 0.92));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.pl-app[data-pl-step="6"] .pl-hero__support {
  display: none;
}

.pl-send-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 22px 16px;
  border: 1px solid rgba(255, 48, 64, 0.55);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(42, 10, 16, 0.55), transparent 28%),
    linear-gradient(180deg, rgba(12, 5, 8, 0.94), rgba(6, 3, 5, 0.96));
  box-shadow:
    0 0 0 1px rgba(255, 24, 44, 0.12),
    0 0 28px rgba(255, 24, 44, 0.28),
    0 18px 36px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pl-send-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pl-send-card__head h2 {
  margin: 0;
  font-family: "Roboto Condensed", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-transform: none;
  color: #fff;
}

.pl-send-card__head p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.35;
}

.pl-send-ico-wrap {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  border: 2px solid #ff3a48;
  background:
    radial-gradient(circle at 50% 42%, rgba(90, 10, 18, 0.55), rgba(10, 2, 6, 0.96) 72%);
  box-shadow:
    0 0 0 1px rgba(255, 24, 44, 0.35),
    0 0 18px rgba(255, 28, 48, 0.55),
    inset 0 0 12px rgba(255, 24, 40, 0.28);
}

.pl-send-ico-wrap .pl-send-ico {
  width: 40px;
  height: 40px;
  flex: none;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 36, 56, 0.95));
}

.pl-send-ico {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 36, 56, 0.85));
}

.pl-send-ico--cta {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.pl-send-card .pl-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #ff2d3f;
  font-weight: 800;
}

.pl-send-card .pl-price .pl-nico {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.pl-send-card .pl-price strong {
  color: #ff2d3f;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
}

.pl-price__total {
  width: 100%;
  margin-left: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 700;
}

.pl-price-changed {
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 196, 72, 0.45);
  border-radius: 10px;
  background: rgba(80, 40, 8, 0.45);
  color: #ffe7b0;
  font-size: 0.86rem;
}

.pl-send-card .pl-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}

.pl-send-card .pl-fields .pl-lane {
  grid-column: 1 / -1;
}

.pl-send-card label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.pl-send-card .pl-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: #0b0507;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pl-send-card .pl-field .pl-nico,
.pl-send-card .pl-field svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.pl-send-card .pl-field input {
  flex: 1 1 auto;
  align-self: stretch;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  background-image: none;
  box-shadow: none;
  outline: none;
  color: #f4f4f4;
  caret-color: #f4f4f4;
  font-size: 0.95rem;
  -webkit-appearance: none;
  appearance: none;
}

.pl-send-card .pl-field input:focus,
.pl-send-card .pl-field input:focus-visible,
.pl-send-card .pl-field input:hover,
.pl-send-card .pl-field input:active {
  border: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
}

.pl-send-card .pl-field input::placeholder {
  color: rgba(255, 255, 255, 0.38);
  opacity: 1;
}

.pl-send-card .pl-field:focus-within {
  border-color: rgba(255, 52, 68, 0.9);
  box-shadow:
    0 0 0 1px rgba(255, 40, 56, 0.28),
    0 0 14px rgba(255, 36, 56, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pl-send-card .pl-field.is-invalid,
.pl-send-card p:has(.pl-field-error:not([hidden])) .pl-field {
  border-color: rgba(255, 110, 120, 0.85);
  box-shadow: 0 0 0 1px rgba(255, 80, 90, 0.2);
}

.pl-send-card .pl-field input:invalid {
  box-shadow: none;
  outline: none;
}

.pl-send-card .pl-copies.is-invalid {
  border-color: rgba(255, 110, 120, 0.85);
}

.pl-send-card .pl-field input:-webkit-autofill,
.pl-send-card .pl-field input:-webkit-autofill:hover,
.pl-send-card .pl-field input:-webkit-autofill:focus,
.pl-send-card .pl-field input:-webkit-autofill:active,
.pl-send-card .pl-field input:autofill,
.pl-send-card .pl-field input:autofill:focus {
  -webkit-text-fill-color: #f4f4f4 !important;
  caret-color: #f4f4f4;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: inset 0 0 0 1000px #0b0507 !important;
  transition: background-color 99999s ease-out 0s;
}

.pl-field-error {
  display: block;
  margin-top: 5px;
  color: #ff8a90;
  font-size: 0.78rem;
}

.pl-send-card .pl-copies {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 4px 4px 4px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(8, 4, 6, 0.55);
  color: rgba(255, 255, 255, 0.86);
}

.pl-send-card .pl-copies > span {
  display: inline-flex;
  align-items: center;
  grid-column: 1;
  gap: 8px;
  min-width: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pl-send-card .pl-copies .pl-nico {
  width: 22px;
  height: 22px;
}

.pl-send-card .pl-copies > input,
.pl-send-card .pl-copies .pl-field-error {
  grid-column: 1 / -1;
}

.pl-copies__ctrl {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  grid-column: 3;
  justify-self: end;
  gap: 12px;
  margin: 0;
  flex: 0 0 auto;
}

.pl-copies__ctrl button {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #12080a;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
}

.pl-copies__ctrl strong {
  min-width: 68px;
  width: 68px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #070305;
  color: #fff;
  font-size: 1.05rem;
}

.pl-send-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  margin-top: 2px;
  border-radius: 16px;
  border: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #ff4a56 0%, #e01022 46%, #9a0a16 100%);
  box-shadow: 0 0 22px rgba(255, 36, 56, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.pl-send-card input[type="number"]::-webkit-outer-spin-button,
.pl-send-card input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pl-send-card input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.pl-copies__ctrl button {
  cursor: pointer;
}

.pl-copies__ctrl button:disabled {
  opacity: 0.38;
}

.pl-send-cta__arrow {
  margin-left: 4px;
}

.pl-send-card .pl-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 14px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(8, 4, 6, 0.45);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  line-height: 1.45;
}

.pl-send-card .pl-info svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  color: #ff2d3f;
}

.pl-send-card .pl-info strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
}

@media (min-width: 1100px) {
  .pl-app[data-pl-step="6"] .pl-shell {
    overflow: visible;
  }

  .pl-app[data-pl-step="6"] .pl-step[data-pl-step="6"] {
    position: absolute;
    left: calc(96 * var(--u));
    top: calc(322 * var(--u));
    width: calc(1477 * var(--u));
    height: calc(594 * var(--u));
    display: block;
    padding: 0;
    animation: none;
    overflow: visible;
  }

  .pl-app[data-pl-step="6"] .pl-send {
    position: relative;
    height: 100%;
    grid-template-columns: minmax(0, 1fr) calc(650 * var(--u));
    gap: calc(48 * var(--u));
    align-items: start;
  }

  .pl-app[data-pl-step="6"] .pl-send__photo {
    position: relative;
    padding-bottom: calc(64 * var(--u));
    justify-content: flex-start;
  }

  .pl-app[data-pl-step="6"] .pl-print--send {
    width: calc(720 * var(--u));
    max-width: none;
    margin-left: calc(51 * var(--u));
    margin-top: calc(40 * var(--u));
  }

  .pl-app[data-pl-step="6"] .pl-send__back {
    position: absolute;
    left: 0;
    bottom: 0;
  }

  .pl-app[data-pl-step="6"] .pl-send-card {
    min-height: 0;
    width: 100%;
    padding: calc(14 * var(--u)) calc(16 * var(--u)) calc(10 * var(--u));
    border-radius: calc(22 * var(--u));
    gap: calc(6 * var(--u));
    justify-content: flex-start;
  }

  .pl-app[data-pl-step="6"] .pl-send-ico-wrap {
    width: calc(52 * var(--u));
    height: calc(52 * var(--u));
    border-radius: calc(15 * var(--u));
  }

  .pl-app[data-pl-step="6"] .pl-send-ico-wrap .pl-send-ico {
    width: calc(40 * var(--u));
    height: calc(40 * var(--u));
  }

  .pl-app[data-pl-step="6"] .pl-send-card__head {
    gap: calc(12 * var(--u));
    align-items: center;
  }

  .pl-app[data-pl-step="6"] .pl-send-card__head h2 {
    font-size: calc(30 * var(--u));
    font-weight: 800;
    line-height: 1.12;
  }

  .pl-app[data-pl-step="6"] .pl-send-card__head p {
    margin-top: calc(3 * var(--u));
    font-size: calc(13 * var(--u));
    line-height: 1.3;
  }

  .pl-app[data-pl-step="6"] .pl-send-card .pl-price {
    gap: calc(8 * var(--u));
  }

  .pl-app[data-pl-step="6"] .pl-send-card .pl-price strong {
    font-size: calc(26 * var(--u));
    font-weight: 800;
  }

  .pl-app[data-pl-step="6"] .pl-send-card .pl-fields {
    gap: calc(10 * var(--u)) calc(12 * var(--u));
  }

  .pl-app[data-pl-step="6"] .pl-send-card label {
    font-size: calc(11 * var(--u));
    margin-bottom: calc(4 * var(--u));
  }

  .pl-app[data-pl-step="6"] .pl-send-card .pl-field {
    min-height: calc(40 * var(--u));
    padding: 0 calc(12 * var(--u));
    border-radius: calc(12 * var(--u));
  }

  .pl-app[data-pl-step="6"] .pl-send-card .pl-field input {
    min-height: 0;
    height: auto;
  }

  .pl-app[data-pl-step="6"] .pl-copies {
    min-height: calc(50 * var(--u));
    padding: calc(4 * var(--u)) calc(4 * var(--u)) calc(4 * var(--u)) calc(14 * var(--u));
  }

  .pl-app[data-pl-step="6"] .pl-copies__ctrl {
    gap: calc(12 * var(--u));
    margin: 0;
    justify-self: end;
  }

  .pl-app[data-pl-step="6"] .pl-copies__ctrl button {
    width: calc(42 * var(--u));
    height: calc(42 * var(--u));
    min-width: calc(42 * var(--u));
    min-height: 0;
    border-radius: calc(12 * var(--u));
  }

  .pl-app[data-pl-step="6"] .pl-copies__ctrl strong {
    width: calc(70 * var(--u));
    min-width: calc(70 * var(--u));
    height: calc(42 * var(--u));
    min-height: 0;
    border-radius: calc(12 * var(--u));
    font-size: calc(16 * var(--u));
  }

  .pl-app[data-pl-step="6"] .pl-send-cta {
    min-height: calc(48 * var(--u));
    margin-top: 0;
    font-size: calc(17 * var(--u));
    border-radius: calc(14 * var(--u));
  }

  .pl-app[data-pl-step="6"] .pl-send-card .pl-info {
    font-size: calc(13 * var(--u));
    line-height: 1.4;
    padding: calc(8 * var(--u)) calc(10 * var(--u));
  }
}

@media (max-width: 1099px) {
  .pl-app[data-pl-step="6"] .pl-shell {
    width: 100%;
    max-width: none;
    padding: 0 14px calc(18px + env(safe-area-inset-bottom));
  }

  .pl-app[data-pl-step="6"] .pl-send {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pl-print--send {
    width: min(100%, 560px);
    margin: 8px auto 0;
    transform: rotate(-2.2deg);
  }

  .pl-send__back {
    min-height: 48px;
  }

  .pl-send-card .pl-fields {
    grid-template-columns: 1fr;
  }

  .pl-send-card .pl-field {
    min-height: 48px;
  }

  .pl-send-card .pl-field input {
    font-size: 16px;
  }

  .pl-copies__ctrl button,
  .pl-copies__ctrl strong,
  .pl-send-cta {
    min-height: 48px;
  }
}

@media (max-width: 430px) {
  .pl-send-card {
    padding: 16px 14px 14px;
    border-radius: 18px;
  }

  .pl-send-card__head h2 {
    font-size: 1.28rem;
  }

  .pl-print--send {
    width: 100%;
  }
}


/* ===== Stage 0 fix (local): step 6 neon slogan underline pushed the page 11-16px wider than the viewport on desktop.
   Root cause: .pl-hero__tag::after (right:-10u) after the -17deg rotation. Scoped to step 6 + desktop only. ===== */
@media (min-width: 1100px) {
  .pl-app[data-pl-step="6"] .pl-hero__tag { left: calc(1432 * var(--u)); }
  .pl-app[data-pl-step="6"] .pl-hero__tag::after { right: 0; }
}

/* ===== Stage 3 (local): Photo Lab desktop title normalization (owner option A). Desktop only (>= 1100px).
   The title sits at the same reference position on every step: x=281, y=73, size 88, in the existing --u poster scale.
   Previously steps 1-3, 5, 6 used 98 and step 4 used x=92, y=88, size 84. The step-4 subtitle is aligned to the same
   left edge (284) and the same top (161) the other steps use. Mobile / tablet (< 1100px) rules are untouched. ===== */
@media (min-width: 1100px) {
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-hero h1 {
    left: calc(281 * var(--u));
    top: calc(73 * var(--u));
    font-size: calc(88 * var(--u));
    letter-spacing: -0.04em;
  }

  .pl-app[data-pl-step="4"] .pl-hero__lead {
    left: calc(284 * var(--u));
    top: calc(161 * var(--u));
  }
}

/* ===== Release fix (local): the "Photo Lab unavailable" notice sat at the very top of the desktop poster frame and overlapped the
   header navigation. On desktop (>= 1100px) it is now centred in the frame below the header. Markup and logic untouched.
   Tablet / phone keep the normal flow (the header is not absolute there). ===== */
@media (min-width: 1100px) {
  .pl-app:is([data-pl-step="1"],[data-pl-step="2"],[data-pl-step="3"],[data-pl-step="4"],[data-pl-step="5"],[data-pl-step="6"]) .pl-unavailable {
    position: absolute;
    left: 50%;
    top: calc(535 * var(--u));
    transform: translate(-50%, -50%);
    margin: 0;
    width: min(calc(100% - 64px), 720px);
  }
}

/* Personalization palette: black replaces white. Pure black (#000) with a light neutral rim so it stays visible on the dark panel;
   when selected it gets the same red ring as the other swatches and a white check. */
.pl-pers .pl-swatch--black { background: #000; border-color: rgba(255, 255, 255, 0.6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.pl-pers .pl-swatch--black[aria-checked="true"] { border-color: #fff; }
.pl-pers .pl-swatch--black[aria-checked="true"]::after { color: #fff; text-shadow: none; }

/* ===== Photo Lab: branded sending overlay (2026-10-31) ===== */
.pl-sending {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  background: rgba(3, 1, 2, 0.74);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.pl-sending[hidden] { display: none; }
.pl-sending__card {
  box-sizing: border-box;
  width: min(100%, 420px);
  max-height: 100%;
  padding: 26px 22px 24px;
  text-align: center;
  color: #fff;
  border: 1.5px solid #ff2e40;
  border-radius: 18px;
  background: radial-gradient(ellipse 90% 40% at 50% 0%, rgba(255, 36, 56, 0.2), transparent 70%), linear-gradient(180deg, rgba(30, 6, 11, 0.94), rgba(6, 3, 5, 0.96));
  box-shadow: 0 0 0 1px rgba(255, 60, 78, 0.2), 0 0 24px rgba(255, 30, 50, 0.55), 0 0 60px rgba(255, 24, 44, 0.22), inset 0 0 26px rgba(255, 30, 50, 0.12);
}
.pl-sending__ball { position: relative; width: 132px; height: 132px; margin: 0 auto 14px; }
.pl-sending__ball img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; border-radius: 50%; animation: pl-ball-roll 2.6s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.pl-sending__halo { position: absolute; inset: -14px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 36, 56, 0.55), rgba(255, 36, 56, 0) 68%); animation: pl-ball-halo 2.6s ease-in-out infinite; }
.pl-sending__shine { position: absolute; inset: 0; z-index: 2; border-radius: 50%; overflow: hidden; pointer-events: none; }
.pl-sending__shine::after { content: ""; position: absolute; top: -10%; bottom: -10%; width: 28%; left: -40%; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent); animation: pl-ball-shine 2.6s ease-in-out infinite; }
.pl-sending h2 { margin: 0 0 8px; font-family: "Roboto Condensed", "Roboto", sans-serif; font-size: 1.45rem; font-weight: 800; line-height: 1.2; text-shadow: 0 0 14px rgba(255, 40, 60, 0.45); }
.pl-sending p { margin: 0; line-height: 1.5; color: rgba(255, 255, 255, 0.84); font-size: 0.95rem; overflow-wrap: anywhere; }
.pl-sending .pl-sending__stage { margin-top: 14px; min-height: 1.5em; font-weight: 700; letter-spacing: 0.02em; color: #ff8a96; }
.pl-sending__stage::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #ff3347; box-shadow: 0 0 8px #ff3347; vertical-align: middle; }
@keyframes pl-ball-roll { 0% { transform: translateX(-16px) rotate(-14deg); } 50% { transform: translateX(16px) rotate(14deg); } 100% { transform: translateX(-16px) rotate(-14deg); } }
@keyframes pl-ball-halo { 0%, 100% { opacity: 0.55; transform: scale(0.96); } 50% { opacity: 0.95; transform: scale(1.04); } }
@keyframes pl-ball-shine { 0% { left: -40%; } 55%, 100% { left: 120%; } }
@media (prefers-reduced-motion: reduce) {
  .pl-sending__ball img, .pl-sending__halo, .pl-sending__shine::after { animation: none; }
  .pl-sending__shine { display: none; }
}
@media (max-width: 380px) { .pl-sending__card { padding: 20px 16px; } .pl-sending__ball { width: 108px; height: 108px; } .pl-sending h2 { font-size: 1.25rem; } }
@media (max-height: 520px) { .pl-sending__ball { width: 84px; height: 84px; margin-bottom: 8px; } .pl-sending__card { padding: 14px 16px; } }
.pl-send-error { margin: 12px 0 0; padding: 12px 14px; border: 1.5px solid #ff4a5a; border-radius: 12px; background: rgba(60, 8, 14, 0.8); color: #ffd9dc; box-shadow: 0 0 14px rgba(255, 50, 70, 0.3); }
.pl-send-error[hidden] { display: none; }
.pl-send-error p { margin: 0 0 10px; line-height: 1.45; overflow-wrap: anywhere; }
.pl-send-error .pl-btn { min-height: 44px; }
form.is-sending, .pl-dock.is-sending { opacity: 0.55; pointer-events: none; }

/* ===== Photo Lab sending overlay: real progress bar + server-confirmed green success (2026-11-01) ===== */
.pl-sending__bar { position: relative; height: 6px; margin: 14px 4px 0; border-radius: 99px; overflow: hidden; background: rgba(255, 255, 255, 0.1); }
.pl-sending__bar > span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 99px; background: linear-gradient(90deg, #ff2e40, #ff7a86); box-shadow: 0 0 10px rgba(255, 46, 64, 0.8); transition: width 0.18s linear; }
.pl-sending__bar[data-mode="indeterminate"] > span { width: 38%; animation: pl-bar-slide 1.25s ease-in-out infinite; transition: none; }
@keyframes pl-bar-slide { 0% { left: -40%; } 100% { left: 102%; } }
.pl-sending__check { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; color: #5dffa0; opacity: 0; transform: scale(0.4); pointer-events: none; }
.pl-sending__check svg { width: 56%; height: 56%; filter: drop-shadow(0 0 8px rgba(60, 255, 140, 0.95)); }
.pl-sending.is-success .pl-sending__card { border-color: #36e68a; box-shadow: 0 0 0 1px rgba(80, 255, 160, 0.22), 0 0 24px rgba(40, 230, 130, 0.55), 0 0 60px rgba(30, 220, 120, 0.24), inset 0 0 26px rgba(40, 230, 130, 0.12); background: radial-gradient(ellipse 90% 40% at 50% 0%, rgba(40, 230, 130, 0.18), transparent 70%), linear-gradient(180deg, rgba(6, 28, 16, 0.94), rgba(3, 8, 5, 0.96)); }
.pl-sending.is-success h2 { text-shadow: 0 0 14px rgba(60, 255, 150, 0.5); }
.pl-sending.is-success .pl-sending__ball img { animation: none; transform: none; filter: hue-rotate(135deg) saturate(1.25) brightness(0.85); }
.pl-sending.is-success .pl-sending__halo { background: radial-gradient(circle, rgba(50, 255, 140, 0.6), rgba(50, 255, 140, 0) 68%); animation: none; opacity: 0.95; }
.pl-sending.is-success .pl-sending__shine { display: none; }
.pl-sending.is-success .pl-sending__check { opacity: 1; transform: scale(1); animation: pl-check-pop 0.42s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
.pl-sending.is-success .pl-sending__stage { color: #7dffb4; }
.pl-sending.is-success .pl-sending__stage::before { background: #36e68a; box-shadow: 0 0 8px #36e68a; }
.pl-sending.is-success .pl-sending__bar > span { width: 100%; background: linear-gradient(90deg, #1fcf74, #7dffb4); box-shadow: 0 0 10px rgba(54, 230, 138, 0.8); animation: none; }
@keyframes pl-check-pop { 0% { opacity: 0; transform: scale(0.4); } 100% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .pl-sending__bar[data-mode="indeterminate"] > span { animation: none; left: 31%; }
  .pl-sending.is-success .pl-sending__check { animation: none; }
}
/* receipt: the full task code with the four confirmation characters emphasised */
.pl-code__tail { margin-left: 1px; padding: 1px 6px; border-radius: 6px; color: #fff; background: rgba(255, 46, 64, 0.22); border: 1px solid rgba(255, 90, 104, 0.7); text-shadow: 0 0 10px rgba(255, 46, 64, 0.8); letter-spacing: 0.12em; font-weight: 800; }

/* ===== Photo Lab Step 2 (2026-11-02): safe-zone label centred in the preview; Reset matches the full zoom control ===== */
html body.pl-app[data-pl-step] .pl-position .pl-stage .pl-safe-label {
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: calc(100% - 24px);
  box-sizing: border-box;
  padding: 5px 12px;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  font-size: clamp(11px, 1.15vw + 7px, 15px);
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  pointer-events: none;   /* never intercepts a drag or a pinch on the photo */
  user-select: none;
  z-index: 2;
}
html body.pl-app[data-pl-step] .pl-position .pl-zoomcol {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 0 1 340px;
  width: 340px;
  max-width: 100%;
  min-width: 0;
}
html body.pl-app[data-pl-step] .pl-position .pl-zoomcol .pl-zoomgroup,
html body.pl-app[data-pl-step] .pl-position .pl-zoomcol .pl-chip {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(10, 5, 6, 0.8);
}
html body.pl-app[data-pl-step] .pl-position .pl-zoomcol .pl-zoomgroup {
  display: flex;
  align-items: stretch;
  flex: none;
  justify-content: space-between;
}
html body.pl-app[data-pl-step] .pl-position .pl-zoomcol .pl-zoomgroup button {
  min-width: 48px;
  min-height: 0;
  height: 100%;
  border-radius: 11px;
}
html body.pl-app[data-pl-step] .pl-position .pl-zoomcol .pl-zoomgroup strong {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}
html body.pl-app[data-pl-step] .pl-position .pl-zoomcol .pl-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  gap: 8px;
  padding: 0 14px;
  white-space: nowrap;
  font-size: 1rem;
}
html body.pl-app[data-pl-step] .pl-position .pl-zoomcol .pl-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 640px) {
  html body.pl-app[data-pl-step] .pl-position .pl-zoomcol { flex: 1 1 100%; width: 100%; }
}
/* Desktop shell (>= 1100 px): the Back dock is absolutely positioned at the bottom and the stage is height-constrained, so a stacked Reset row
   would run under the dock (1366x768, 1366x900, 1280x720). Zoom and Reset stay on ONE row with identical size, radius and border. */
@media (min-width: 1100px) {
  html body.pl-app[data-pl-step] .pl-position .pl-zoomcol { flex-direction: row; flex: 0 0 auto; width: auto; gap: 12px; }
  html body.pl-app[data-pl-step] .pl-position .pl-zoomcol .pl-zoomgroup,
  html body.pl-app[data-pl-step] .pl-position .pl-zoomcol .pl-chip { width: 136px; flex: 0 0 136px; }
  html body.pl-app[data-pl-step] .pl-position .pl-zoomcol .pl-chip { padding: 0 10px; gap: 6px; font-size: 0.95rem; }
}
