/* Approved reference 6: one-page sample, scoped to product entry. */
body[data-step='product'] #app {
  width: min(100%, 454px);
  margin-inline: auto;
  background:
    radial-gradient(ellipse at 106% -4%, rgb(var(--color-atmosphere-rgb) / 0.34), transparent 40%),
    radial-gradient(ellipse at -8% 96%, rgb(var(--color-atmosphere-rgb) / 0.24), transparent 42%),
    var(--color-background);
  font-family: 'PingFang SC', 'Source Han Sans SC', 'Microsoft YaHei', sans-serif;
}
body[data-step='product'] #app::before {
  position: absolute;
  width: 470px;
  height: 610px;
  top: 50%;
  right: -315px;
  border-radius: 50%;
  transform: rotate(30deg);
  filter: none;
  background:
    radial-gradient(ellipse at 8% 22%, rgb(var(--color-atmosphere-rgb) / 0.14), transparent 46%),
    url('/surface-grain.svg'), #110d0d;
  border: 1px solid rgb(var(--color-atmosphere-rgb) / 0.16);
  box-shadow:
    -8px -7px 26px rgb(var(--color-atmosphere-rgb) / 0.11),
    inset 7px 4px 18px rgb(var(--color-atmosphere-rgb) / 0.08);
  opacity: 0.72;
}
body[data-step='product'] #app::after {
  display: block;
  width: 270px;
  height: 220px;
  top: -100px;
  right: -70px;
  left: auto;
  bottom: auto;
  border-radius: 50%;
  background: rgb(var(--color-atmosphere-rgb) / 0.24);
  filter: blur(58px);
}
body[data-step='product'] header {
  height: 86px;
  padding: 18px 32px 0;
  max-width: 454px;
}
body[data-step='product'] .brand {
  visibility: hidden;
  width: 0;
}
body[data-step='product'] .header-note {
  max-width: 170px;
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0;
}
body[data-step='product'] .header-note::before {
  color: var(--ui-accent);
}
body[data-step='product'] .page {
  max-width: 454px;
  padding: 0 32px 28px;
}
body[data-step='product'] .flow-top {
  margin-bottom: 16px;
}
body[data-step='product'] .back {
  font-size: 16px;
}
body[data-step='product'] .back span {
  color: var(--ui-accent);
}
body[data-step='product'] .flow-step span {
  font-size: 12px;
  letter-spacing: 0;
}
body[data-step='product'] .flow-step b {
  font-size: 13px;
  color: var(--ui-text);
  letter-spacing: 0.03em;
  font-weight: 400;
}
body[data-step='product'] .progress {
  height: 3px;
  gap: 6px;
  margin-bottom: 36px;
}
body[data-step='product'] .progress .done {
  background: var(--ui-accent);
}
body[data-step='product'] .progress span {
  background: #ffffff2b;
}
body[data-step='product'] .flow .eyebrow {
  display: none;
}

body[data-step='product'] .flow h1 {
  font-size: clamp(26px, 7.9vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.045em;
  margin-bottom: 12px;
  white-space: nowrap;
}
body[data-step='product'] .subtitle {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 32px;
  color: var(--ui-body);
}
body[data-step='product'] .field {
  margin-bottom: 24px;
}
body[data-step='product'] .field-label {
  font-size: 15px;
  margin-bottom: 9px;
}
body[data-step='product'] .counter {
  visibility: hidden;
}
body[data-step='product'] .optional {
  font-size: 12px;
  color: var(--ui-muted);
}
body[data-step='product'] input,
body[data-step='product'] select,
body[data-step='product'] .money-row {
  min-height: 48px;
  border-radius: var(--ui-radius-control);
  border-color: #ded3cb35;
  background: linear-gradient(
    125deg,
    rgb(var(--color-atmosphere-rgb) / 0.12) 0%,
    rgb(255 255 255 / 0.055) 48%,
    rgb(255 255 255 / 0.025) 100%
  );
  backdrop-filter: blur(14px) saturate(0.8);
  -webkit-backdrop-filter: blur(14px) saturate(0.8);
  box-shadow:
    inset 0 1px rgb(255 255 255 / 0.075),
    inset 0 -10px 22px rgb(0 0 0 / 0.08);
  font-size: 16px;
}
body[data-step='product'] input::placeholder {
  font-size: 14px;
  color: var(--ui-muted);
}
body[data-step='product'] .money-row input,
body[data-step='product'] .money-row select {
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
}
body[data-step='product'] .money-row select {
  width: 90px;
  flex: 0 0 90px;
  color: var(--ui-accent);
  border-left: 1px solid #ded3cb35;
}
body[data-step='product'] .upload {
  height: 96px;
  min-height: 96px;
  border: 1px dashed rgb(var(--color-brand-red-rgb) / 0.55);
  border-radius: var(--ui-radius-control);
  background: linear-gradient(
    125deg,
    rgb(var(--color-atmosphere-rgb) / 0.09),
    rgb(255 255 255 / 0.035) 55%,
    rgb(255 255 255 / 0.018)
  );
  backdrop-filter: blur(14px) saturate(0.8);
  -webkit-backdrop-filter: blur(14px) saturate(0.8);
  box-shadow: inset 0 1px rgb(255 255 255 / 0.05);
  color: var(--ui-text);
  gap: 16px;
  font-size: 15px;
}
body[data-step='product'] .upload .plus {
  width: 38px;
  height: 38px;
  border: 1px dashed rgb(var(--color-brand-red-rgb) / 0.55);
  color: var(--ui-accent);
}
body[data-step='product'] .upload small {
  font-size: 12px;
  color: var(--ui-muted);
  margin-top: 5px;
}
body[data-step='product'] #flow-form {
  padding-bottom: 10px;
  animation: none;
}
body[data-step='product'] .flow .primary {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  width: 100%;
  margin-top: 32px;
  height: 56px;
  min-height: 56px;
  padding: 0 52px;
  justify-content: center;
  font-size: var(--ui-button-size);
  font-weight: 400;
  border: 1px solid rgb(var(--color-brand-red-rgb) / 0.48);
  background: var(--ui-button-fill);
  box-shadow: var(--ui-button-shadow);
  backdrop-filter: blur(28px) saturate(1.06);
  -webkit-backdrop-filter: blur(28px) saturate(1.06);
}
body[data-step='product'] .flow .primary::before {
  left: 14px;
  right: 25%;
  background: linear-gradient(90deg, rgb(255 255 255 / 0.16), transparent);
}
body[data-step='product'] .flow .primary::after {
  display: none;
}
body[data-step='product'] .flow .primary .arrow {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 46px;
  height: 46px;
  font-size: 25px;
  font-weight: 300;
  background: var(--color-action-deep);
  box-shadow:
    0 5px 16px rgb(0 0 0 / 0.25),
    inset 0 1px rgb(255 255 255 / 0.08);
}
body[data-step='product'] .flow .primary:hover {
  transform: none;
  filter: brightness(1.06);
}
body[data-step='product'] .flow .primary:active {
  filter: brightness(0.92);
}
body[data-step='product'] .flow .primary:disabled {
  background: #272424;
  filter: none;
}
@media (min-height: 800px) {
  body[data-step='product'] header {
    height: 108px;
  }
  body[data-step='product'] .progress {
    margin-bottom: 44px;
  }
  body[data-step='product'] .subtitle {
    margin-bottom: 38px;
  }
  body[data-step='product'] .field {
    margin-bottom: 30px;
  }
  body[data-step='product'] .upload {
    height: 108px;
  }
}
