/* ═══════════════════════════════════════════════════════════════
   Create — Apple Spatial Studio
   VisionOS materials · SF system type · quiet depth · one CTA
   ═══════════════════════════════════════════════════════════════ */

.create-studio {
  --apple-blue: #0a84ff;
  --apple-blue-press: #409cff;
  --apple-fill: oklch(1 0 0 / 0.08);
  --apple-fill-hi: oklch(1 0 0 / 0.12);
  --apple-stroke: oklch(1 0 0 / 0.12);
  --apple-stroke-hi: oklch(1 0 0 / 0.22);
  --apple-label: oklch(0.92 0.01 260);
  --apple-secondary: oklch(0.72 0.015 260);
  --apple-tertiary: oklch(0.55 0.012 260);
  --apple-radius: 22px;
  --apple-radius-sm: 14px;
  --apple-ease: cubic-bezier(0.32, 0.72, 0, 1);
  --apple-spring: cubic-bezier(0.22, 1, 0.36, 1);

  position: relative;
  isolation: isolate;
  overflow: clip;
  margin-top: var(--nav-h, 58px);
  min-height: calc(100dvh - var(--nav-h, 58px));
  padding-bottom: calc(var(--page-pb, 72px) + var(--mobile-nav-h, 0px));
  font-family: var(--font-ui), -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  color: var(--apple-label);
  background:
    radial-gradient(90% 55% at 50% -10%, oklch(0.42 0.06 250 / 0.22), transparent 60%),
    radial-gradient(60% 40% at 100% 20%, oklch(0.35 0.04 250 / 0.1), transparent 55%),
    oklch(0.09 0.015 260);
}

.create-studio__fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.create-studio__aurora {
  position: absolute;
  inset: -30% -20% auto;
  height: 70%;
  background:
    radial-gradient(42% 50% at 30% 40%, oklch(0.55 0.1 250 / 0.28), transparent 70%),
    radial-gradient(38% 45% at 72% 25%, oklch(0.6 0.06 220 / 0.18), transparent 68%);
  filter: blur(40px);
  opacity: 0.9;
}
.create-studio__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(oklch(1 0 0 / 0.03) 1px, transparent 1px),
    linear-gradient(90deg, oklch(1 0 0 / 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, #000 10%, transparent 70%);
  opacity: 0.4;
}
.create-studio__beam { display: none; }

.create-studio__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 32px) var(--page-px, 20px) 0;
}

/* ── Hero ───────────────────────────────────────────────────── */
.create-hero {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(20px, 3vw, 28px);
}
.create-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.create-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--apple-stroke);
  border-radius: 980px;
  background: var(--apple-fill);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  color: var(--apple-secondary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s var(--apple-ease), color 0.2s ease;
}
.create-hero__back:hover {
  background: var(--apple-fill-hi);
  color: var(--apple-label);
}
.create-hero__back:focus-visible {
  outline: 2px solid #0A84FF;
  outline-offset: 2px;
}
.create-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 980px;
  border: 1px solid var(--apple-stroke);
  background: var(--apple-fill);
  color: var(--apple-secondary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  font-family: inherit;
}
.create-hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 0 3px oklch(0.72 0.18 145 / 0.2);
  animation: none;
}

.create-hero__copy { max-width: 560px; }
.create-hero__brand {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  min-height: 24px;
  opacity: 0.92;
}
.create-hero__title {
  font-family: var(--font-ui), -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--apple-label);
  margin: 0 0 10px;
  text-wrap: balance;
}
.create-hero__title em {
  font-style: normal;
  color: var(--apple-blue);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}
.create-hero__sub {
  margin: 0;
  max-width: 42ch;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--apple-secondary);
}

/* Promise row — quiet material chips */
.create-hero__promise {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 720px) {
  .create-hero__promise { grid-template-columns: 1fr; }
}
.create-promise {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--apple-radius-sm);
  border: 1px solid var(--apple-stroke);
  background: var(--apple-fill);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: background 0.2s var(--apple-ease), transform 0.25s var(--apple-ease);
}
.create-promise:hover {
  transform: scale(1.015);
  border-color: var(--apple-stroke-hi);
  background: var(--apple-fill-hi);
  box-shadow: none;
}
.create-promise__icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: oklch(0.55 0.14 250 / 0.22);
  color: var(--apple-blue);
}
.create-promise:nth-child(2) .create-promise__icon,
.create-promise:nth-child(3) .create-promise__icon {
  background: oklch(0.55 0.14 250 / 0.18);
  color: var(--apple-blue);
}
.create-promise__t {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--apple-label);
  margin-bottom: 2px;
}
.create-promise__d {
  font-family: inherit;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--apple-tertiary);
}

.create-opp {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--apple-radius);
  border: 1px solid var(--apple-stroke-hi);
  background: var(--apple-fill);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}
.create-opp__mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--apple-blue);
  color: #fff;
  flex-shrink: 0;
}
.create-opp__label {
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--apple-blue);
  margin-bottom: 2px;
}
.create-opp__name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--apple-label);
}
.create-opp__meta {
  font-family: inherit;
  font-size: 12px;
  color: var(--apple-tertiary);
  margin-top: 2px;
}

/* ── Journey — segmented control ────────────────────────────── */
.create-journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: clamp(18px, 3vw, 24px);
  padding: 4px;
  border-radius: 980px;
  border: 1px solid var(--apple-stroke);
  background: oklch(0 0 0 / 0.28);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.06);
}
@media (max-width: 720px) {
  .create-journey {
    grid-template-columns: 1fr 1fr;
    border-radius: var(--apple-radius);
  }
}
.create-journey__step {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: none;
  border-radius: 980px;
  background: transparent;
  color: var(--apple-tertiary);
  cursor: pointer;
  text-align: center;
  transition: background 0.22s var(--apple-ease), color 0.2s ease, transform 0.2s var(--apple-ease);
}
.create-journey__step:hover {
  color: var(--apple-secondary);
  background: oklch(1 0 0 / 0.04);
}
.create-journey__step.is-active {
  color: var(--apple-label);
  background: oklch(1 0 0 / 0.14);
  box-shadow:
    0 1px 2px oklch(0 0 0 / 0.25),
    inset 0 0.5px 0 oklch(1 0 0 / 0.18);
}
.create-journey__step.is-done { color: var(--apple-secondary); }
.create-journey__step.is-done.is-active { color: var(--apple-label); }
.create-journey__n {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  background: oklch(1 0 0 / 0.08);
  border: none;
  color: inherit;
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.create-journey__step.is-active .create-journey__n {
  background: var(--apple-blue);
  color: #fff;
  box-shadow: none;
}
.create-journey__step.is-done .create-journey__n {
  background: oklch(0.72 0.18 145 / 0.2);
  color: #30d158;
  border: none;
}
.create-journey__t {
  font-size: 13px;
  font-weight: 550;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

/* ── Stage ──────────────────────────────────────────────────── */
.create-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(14px, 2.2vw, 22px);
  align-items: start;
}
@media (max-width: 960px) {
  .create-stage { grid-template-columns: 1fr; }
}

.create-viewport {
  position: relative;
  border-radius: var(--apple-radius);
  overflow: hidden;
  border: 1px solid var(--apple-stroke);
  background:
    radial-gradient(120% 80% at 50% 0%, oklch(0.4 0.06 250 / 0.2), transparent 55%),
    oklch(0.14 0.015 260 / 0.85);
  box-shadow:
    0 24px 64px -28px oklch(0 0 0 / 0.55),
    inset 0 1px 0 oklch(1 0 0 / 0.1);
  min-height: clamp(300px, 40vw, 480px);
  cursor: pointer;
  transition: transform 0.28s var(--apple-ease), border-color 0.2s ease, box-shadow 0.28s ease;
}
.create-viewport:hover {
  transform: scale(1.008);
  border-color: var(--apple-stroke-hi);
  box-shadow:
    0 28px 70px -30px oklch(0 0 0 / 0.6),
    inset 0 1px 0 oklch(1 0 0 / 0.12);
}
.create-viewport.is-drag {
  border-color: var(--apple-blue);
  transform: scale(1.012);
  box-shadow: 0 0 0 4px oklch(0.62 0.18 250 / 0.25);
}
.create-viewport.has-photo {
  border-color: var(--apple-stroke-hi);
}

.create-viewport__corners span {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 3;
  border: 1.5px solid oklch(1 0 0 / 0.35);
  pointer-events: none;
}
.create-viewport.has-photo .create-viewport__corners span {
  border-color: oklch(1 0 0 / 0.55);
}
.create-viewport__corners span:nth-child(1) { top: 16px; left: 16px; border-right: 0; border-bottom: 0; border-radius: 4px 0 0 0; }
.create-viewport__corners span:nth-child(2) { top: 16px; right: 16px; border-left: 0; border-bottom: 0; border-radius: 0 4px 0 0; }
.create-viewport__corners span:nth-child(3) { bottom: 16px; left: 16px; border-right: 0; border-top: 0; border-radius: 0 0 0 4px; }
.create-viewport__corners span:nth-child(4) { bottom: 16px; right: 16px; border-left: 0; border-top: 0; border-radius: 0 0 4px 0; }

.create-viewport__scan {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  top: 20%;
  z-index: 2;
  background: linear-gradient(90deg, transparent, oklch(1 0 0 / 0.45), transparent);
  box-shadow: none;
  opacity: 0.35;
  animation: create-scan 4.5s var(--apple-ease) infinite;
  pointer-events: none;
}
.create-viewport.has-photo .create-viewport__scan { opacity: 0; }

.create-viewport__empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 36px 28px;
  text-align: center;
  z-index: 1;
}
.create-viewport__orb {
  position: relative;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: var(--apple-blue);
  background: oklch(1 0 0 / 0.08);
  border: 1px solid var(--apple-stroke);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.12);
  animation: create-orb-float 5s var(--apple-ease) infinite;
}
.create-viewport__orb::before { display: none; }
.create-viewport__title {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--apple-label);
}
.create-viewport__hint {
  max-width: 280px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--apple-tertiary);
}
.create-viewport__cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 980px;
  border: none;
  background: var(--apple-blue);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-transform: none;
  box-shadow: 0 8px 24px -10px oklch(0.55 0.18 250 / 0.55);
}

.create-viewport__preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  animation: create-fade-in 0.5s var(--apple-spring) both;
}
.create-viewport__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 45%, oklch(0.08 0.015 260 / 0.72));
  pointer-events: none;
}
.create-viewport__meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.create-viewport__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 980px;
  background: oklch(0.12 0.01 260 / 0.72);
  border: 1px solid var(--apple-stroke);
  backdrop-filter: blur(20px);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
}
.create-viewport__chip--live {
  color: #fff;
  border-color: var(--apple-stroke-hi);
}
.create-viewport__change {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 980px;
  border: 1px solid var(--apple-stroke-hi);
  background: oklch(0.14 0.01 260 / 0.7);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: -0.01em;
  text-transform: none;
  cursor: pointer;
  backdrop-filter: blur(20px);
}

/* Form panel — clean liquid glass sheet */
.create-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(18px, 2.5vw, 26px);
  border-radius: var(--apple-radius);
  border: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.create-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--apple-stroke);
  margin-bottom: 2px;
}
.create-panel__eyebrow {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-transform: none;
  color: var(--apple-label);
}
.create-panel__lock {
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--apple-tertiary);
}

.create-field { display: flex; flex-direction: column; gap: 8px; }
.create-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 550;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--apple-secondary);
}
.create-label .req { color: var(--apple-blue); }
.create-label__count {
  letter-spacing: 0;
  text-transform: none;
  color: var(--apple-tertiary);
  font-variant-numeric: tabular-nums;
}

.create-input,
.create-textarea,
.create-select {
  width: 100%;
  box-sizing: border-box;
  background: oklch(0 0 0 / 0.28);
  border: 1px solid var(--apple-stroke);
  border-radius: 12px;
  padding: 14px 14px;
  font-family: inherit;
  font-size: 16px;
  letter-spacing: -0.015em;
  color: var(--apple-label);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.create-textarea { resize: vertical; min-height: 118px; line-height: 1.45; }
.create-input::placeholder,
.create-textarea::placeholder { color: var(--apple-tertiary); }
.create-input:focus,
.create-textarea:focus,
.create-select:focus {
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 4px oklch(0.62 0.18 250 / 0.28);
  background: oklch(0 0 0 / 0.35);
}

.create-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 520px) {
  .create-meta { grid-template-columns: 1fr; }
}

.create-loc-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.create-loc-row .create-input {
  flex: 1;
  min-width: 0;
}
.create-loc-pin {
  flex-shrink: 0;
  width: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border-radius: 12px;
}
.create-loc-pin .spinner {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

.create-zones { display: flex; flex-wrap: wrap; gap: 8px; }
.create-zone {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 980px;
  border: 1px solid var(--apple-stroke);
  background: oklch(0 0 0 / 0.22);
  color: var(--apple-secondary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: capitalize;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.create-zone:hover {
  border-color: var(--apple-stroke-hi);
  color: var(--apple-label);
}
.create-zone.is-on {
  color: #fff;
  border-color: transparent;
  background: var(--apple-blue);
  box-shadow: none;
}

.create-submit {
  position: relative;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 20px;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #fff;
  background: var(--apple-blue);
  background-size: auto;
  box-shadow: 0 10px 28px -12px oklch(0.5 0.18 250 / 0.55);
  cursor: pointer;
  transition: transform 0.18s var(--apple-ease), filter 0.18s ease, background 0.18s ease;
  animation: none;
}
.create-submit:hover:not(:disabled) {
  transform: scale(1.015);
  filter: brightness(1.06);
  background: var(--apple-blue-press);
  box-shadow: 0 12px 32px -12px oklch(0.5 0.18 250 / 0.6);
}
.create-submit:active:not(:disabled) { transform: scale(0.985); }
.create-submit:disabled { cursor: default; opacity: 0.55; filter: none; }
.create-submit.is-ready { box-shadow: 0 12px 32px -10px oklch(0.5 0.18 250 / 0.6); }
.create-submit-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: oklch(1 0 0 / 0.18);
  transition: width 0.3s ease;
  pointer-events: none;
}
.create-submit span,
.create-submit svg { position: relative; z-index: 1; }

.create-note {
  text-align: center;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--apple-tertiary);
}

.create-timing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  border-radius: var(--apple-radius-sm);
  border: 1px solid var(--apple-stroke);
  background: oklch(0 0 0 / 0.2);
}
.create-timing__cell { text-align: center; }
.create-timing__v {
  font-family: inherit;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--apple-label);
  line-height: 1;
}
.create-timing__l {
  margin-top: 4px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--apple-tertiary);
}

.create-zones-wrap.create-field { gap: 8px; }

.create-theme {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: var(--apple-radius-sm);
  border: 1px solid var(--apple-stroke);
  background: oklch(0 0 0 / 0.18);
}
.create-theme__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.create-theme__hint {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--apple-tertiary);
  max-width: 42ch;
}
.create-theme__clear {
  flex-shrink: 0;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 980px;
  border: 1px solid var(--apple-stroke);
  background: transparent;
  color: var(--apple-secondary);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  cursor: pointer;
}
.create-theme__drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 104px;
  padding: 16px;
  border-radius: 12px;
  border: 1px dashed var(--apple-stroke-hi);
  background: oklch(0 0 0 / 0.18);
  color: var(--apple-secondary);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.2s var(--apple-ease), background 0.18s ease;
}
.create-theme__drop:hover {
  border-color: var(--apple-blue);
  background: oklch(0.55 0.12 250 / 0.08);
  transform: scale(1.01);
}
.create-theme__drop.has-ref {
  border-style: solid;
  min-height: 128px;
  padding: 0;
}
.create-theme__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: oklch(0.55 0.14 250 / 0.18);
  color: var(--apple-blue);
}
.create-theme__title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--apple-label);
}
.create-theme__sub {
  font-family: inherit;
  font-size: 12px;
  color: var(--apple-tertiary);
}
.create-theme__preview {
  width: 100%;
  height: 128px;
  object-fit: cover;
  display: block;
}
.create-theme__meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(180deg, transparent, oklch(0 0 0 / 0.75));
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
}

.create-panel.is-gated .create-field--gated,
.create-panel.is-gated .create-meta,
.create-panel.is-gated .create-zones-wrap,
.create-panel.is-gated .create-theme {
  opacity: 0.38;
  filter: saturate(0.75);
  transition: opacity 0.35s ease, filter 0.35s ease;
  pointer-events: none;
}
.create-panel:not(.is-gated) .create-field--gated,
.create-panel:not(.is-gated) .create-meta,
.create-panel:not(.is-gated) .create-zones-wrap,
.create-panel:not(.is-gated) .create-theme {
  animation: create-rise 0.4s var(--apple-spring) both;
  pointer-events: auto;
}

.create-wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--page-px, 20px) var(--page-pb, 72px);
}
.create-illus {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 7;
  margin-top: 18px;
  border-radius: var(--apple-radius);
  overflow: hidden;
  border: 1px solid var(--apple-stroke);
  background: oklch(0.14 0.015 260);
}
.create-illus img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes create-scan {
  0% { top: 14%; opacity: 0; }
  15% { opacity: 0.4; }
  85% { opacity: 0.2; }
  100% { top: 84%; opacity: 0; }
}
@keyframes create-orb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes create-fade-in {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: none; }
}
@keyframes create-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .create-studio__aurora,
  .create-viewport__scan,
  .create-viewport__orb {
    animation: none !important;
  }
  .create-viewport,
  .create-promise,
  .create-journey__step,
  .create-hero__back,
  .create-submit {
    transition: none !important;
  }
}

/* ── Liquid glass alignment ───────────────────────────────── */
.create-panel,
.create-journey,
.create-promise,
.create-opp,
.submit-compare-card,
.submit-pipeline-roadmap {
  position: relative;
  isolation: isolate;
  border-color: transparent !important;
  background: transparent !important;
  overflow: hidden;
}
.create-panel::before,
.create-journey::before,
.create-promise::before,
.create-opp::before,
.submit-compare-card::before,
.submit-pipeline-roadmap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      oklch(1 0 0 / 0.15) 0%,
      oklch(1 0 0 / 0.04) 30%,
      oklch(0.14 0.016 270 / 0.55) 100%);
  backdrop-filter: blur(20px) saturate(165%) brightness(1.05);
  -webkit-backdrop-filter: blur(20px) saturate(165%) brightness(1.05);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.28),
    inset 0 -0.5px 0 oklch(0 0 0 / 0.08),
    inset 0 0 0 0.5px oklch(1 0 0 / 0.14),
    0 8px 28px oklch(0 0 0 / 0.18);
}
.create-panel > *,
.create-journey > *,
.create-promise > *,
.create-opp > *,
.submit-compare-card > *,
.submit-pipeline-roadmap > * {
  position: relative;
  z-index: 1;
}

.create-viewport {
  border-color: transparent !important;
  backdrop-filter: blur(var(--glass-e2-blur, 24px)) saturate(var(--glass-saturate, 180%));
  -webkit-backdrop-filter: blur(var(--glass-e2-blur, 24px)) saturate(var(--glass-saturate, 180%));
  box-shadow:
    inset 0 1px 0 var(--glass-highlight-top),
    inset 0 0 0 0.5px var(--glass-rim),
    var(--glass-e3-shadow) !important;
}

.create-studio--success .submit-success-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 48px;
}
.create-studio--success .submit-success-hero {
  text-align: center;
  padding: 28px 22px 24px;
  margin-bottom: 16px;
  border-radius: var(--apple-radius);
}
.create-studio--success .submit-success-title {
  font-family: var(--font-ui), -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 750;
  letter-spacing: -0.03em;
  margin: 10px 0 8px;
  color: var(--apple-label);
}
.create-studio--success .submit-success-desc {
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  color: var(--apple-secondary);
  margin: 0 auto;
  max-width: 42ch;
}
.create-studio--success .submit-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}
.create-approve {
  max-width: 560px;
  margin: 20px auto 0;
  padding: 18px 20px;
  border-radius: var(--apple-radius);
  text-align: left;
}
.create-approve__eyebrow {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--apple-tertiary);
  margin-bottom: 8px;
}
.create-approve__copy {
  font-size: 14px;
  line-height: 1.55;
  color: var(--apple-secondary);
  margin: 0 0 12px;
}
.create-approve__copy strong { color: var(--apple-label); }
.create-approve__actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.create-approve__note {
  font-size: 12px;
  color: var(--apple-tertiary);
  margin-top: 10px;
  line-height: 1.45;
}
