:root {
  --ls-bg: #eef5ff;
  --ls-bg-2: #f7fbff;
  --ls-panel: rgba(255, 255, 255, 0.82);
  --ls-panel-strong: rgba(255, 255, 255, 0.96);
  --ls-ink: #17233f;
  --ls-muted: #60718e;
  --ls-line: rgba(96, 126, 182, 0.14);
  --ls-line-strong: rgba(67, 111, 197, 0.22);
  --ls-primary: #2f6df6;
  --ls-primary-strong: #1d57dc;
  --ls-accent: #8ab6ff;
  --ls-coral: #ff8a5f;
  --ls-shadow: 0 24px 70px rgba(52, 82, 148, 0.12);
  --ls-shadow-deep: 0 34px 100px rgba(25, 46, 89, 0.22);
  color: var(--ls-ink);
  font-family: "Plus Jakarta Sans", "Noto Sans SC", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 255, 255, 0.82), transparent 24%),
    radial-gradient(circle at 92% 8%, rgba(138, 182, 255, 0.26), transparent 28%),
    linear-gradient(135deg, var(--ls-bg), var(--ls-bg-2));
  color: var(--ls-ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.42;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 42px;
}

.nav-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.locale-switcher {
  min-width: 124px;
  max-width: 160px;
  background: rgba(255, 251, 244, 0.8);
}

.brand-mark {
  font-family: "Fraunces", "Georgia", serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
}

.locale-switcher,
.ghost-chip,
.button,
input,
select,
textarea {
  border: 1px solid var(--ls-line);
  border-radius: 18px;
}

.ghost-chip,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 15px;
  background: rgba(255, 251, 244, 0.68);
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.ghost-chip:hover,
.button:hover {
  transform: translateY(-1px);
  border-color: var(--ls-line-strong);
}

.ghost-chip.active {
  background: rgba(47, 109, 246, 0.12);
  border-color: rgba(47, 109, 246, 0.34);
}

.button.primary {
  background: linear-gradient(135deg, var(--ls-primary), var(--ls-primary-strong));
  color: #fffdf8;
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(20, 108, 82, 0.26);
}

.button.subtle {
  background: rgba(255, 255, 255, 0.48);
}

.wide-button {
  width: 100%;
}

.section-kicker,
.mini-label,
.chat-role,
.plan-badge,
.step-index {
  font-family: "JetBrains Mono", "Consolas", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--ls-primary);
  font-size: 0.78rem;
}

.mini-label {
  margin: 0 0 10px;
  color: var(--ls-muted);
  font-size: 0.74rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", "Georgia", serif;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.08rem;
}

p {
  line-height: 1.65;
}

ul {
  margin: 0;
  padding-left: 18px;
}

pre {
  margin: 0;
  white-space: pre-wrap;
}

.hero-lead,
.card-lead {
  color: var(--ls-muted);
  font-size: 1.05rem;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.92fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}

.hero-copy,
.hero-stack,
.studio-card,
.tier-card,
.process-card,
.insight-card,
.conversation-preview,
.research-note {
  border: 1px solid var(--ls-line);
  border-radius: 30px;
  background: var(--ls-panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--ls-shadow);
}

.hero-copy {
  padding: 30px;
  display: grid;
  gap: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 28px;
}

.research-note {
  padding: 18px;
  background: linear-gradient(135deg, rgba(47, 109, 246, 0.08), rgba(138, 182, 255, 0.12));
}

.hero-stack {
  display: grid;
  gap: 18px;
  padding: 18px;
  background:
    radial-gradient(circle at 80% 14%, rgba(90, 154, 255, 0.24), transparent 26%),
    radial-gradient(circle at 14% 88%, rgba(170, 211, 255, 0.18), transparent 24%),
    linear-gradient(145deg, rgba(18, 32, 62, 0.98), rgba(24, 45, 88, 0.96));
  color: #f5f9ff;
  box-shadow: var(--ls-shadow-deep);
}

.hero-stage-card {
  position: relative;
  min-height: 468px;
  overflow: hidden;
  border: 1px solid rgba(255, 251, 244, 0.18);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(15, 28, 57, 0.98), rgba(31, 55, 102, 0.94));
}

.hero-stage-shell {
  position: relative;
  min-height: 468px;
}

.hero-stage {
  position: absolute;
  inset: 0;
}

.hero-stage[data-fallback="true"] {
  background:
    radial-gradient(circle at 50% 42%, rgba(138, 182, 255, 0.34), transparent 18%),
    radial-gradient(circle at 50% 54%, rgba(255, 255, 255, 0.22), transparent 10%),
    radial-gradient(circle at 50% 70%, rgba(138, 182, 255, 0.18), transparent 22%);
}

.hero-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-stage-glow {
  position: absolute;
  inset: auto 10% -18% 10%;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 182, 255, 0.42), rgba(138, 182, 255, 0));
  filter: blur(24px);
  pointer-events: none;
}

.hero-stage-overlay {
  position: absolute;
  inset: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.hero-stage-copy {
  max-width: 320px;
  padding: 16px 18px;
  border: 1px solid rgba(245, 249, 255, 0.18);
  border-radius: 22px;
  background: rgba(18, 31, 62, 0.32);
  backdrop-filter: blur(14px);
}

.hero-stage-copy h2 {
  font-size: clamp(1.5rem, 2vw, 2.1rem);
  margin-bottom: 10px;
}

.hero-stage-copy p {
  margin: 0;
  color: rgba(245, 249, 255, 0.8);
}

.hero-stage-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.metric-chip {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(245, 249, 255, 0.14);
  border-radius: 18px;
  background: rgba(18, 31, 62, 0.28);
  backdrop-filter: blur(12px);
}

.metric-kicker {
  font-family: "JetBrains Mono", "Consolas", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: rgba(245, 249, 255, 0.62);
}

.metric-chip strong {
  font-size: 0.95rem;
  color: #ffffff;
}

.insight-card,
.conversation-preview {
  padding: 18px;
  background: rgba(255, 251, 244, 0.1);
  border-color: rgba(255, 251, 244, 0.18);
  color: inherit;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.tier-card {
  padding: 26px;
}

.tier-card--free {
  background: linear-gradient(145deg, rgba(47, 109, 246, 0.08), rgba(255, 255, 255, 0.92));
}

.tier-card--pro {
  background: linear-gradient(145deg, rgba(138, 182, 255, 0.16), rgba(255, 255, 255, 0.92));
}

.tier-card ul,
.insight-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
}

.process-section {
  display: grid;
  gap: 18px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

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

.process-card {
  padding: 20px;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(20, 108, 82, 0.12);
  color: var(--ls-primary);
  font-size: 0.76rem;
  margin-bottom: 14px;
}

.studio-shell {
  padding-bottom: 52px;
}

.studio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: stretch;
  gap: 22px;
  margin-bottom: 24px;
}

.studio-hero-copy {
  display: grid;
  align-content: end;
  gap: 18px;
}

.studio-signal-ribbon {
  justify-content: flex-start;
}

.studio-hero-stage-card {
  min-height: 430px;
  box-shadow: var(--ls-shadow-deep);
}

.studio-hero-stage-card .hero-stage-shell {
  min-height: 430px;
}

.studio-hero-stage-card .hero-stage-copy {
  max-width: 340px;
  color: #f7f2e8;
  background: rgba(10, 21, 21, 0.56);
}

.studio-hero-stage-card .hero-stage-copy .mini-label {
  color: rgba(247, 242, 232, 0.78);
}

.studio-hero-stage-card .hero-stage-copy h2 {
  color: #fffaf3;
  line-height: 0.96;
  text-wrap: balance;
}

.studio-hero-stage-card .hero-stage-copy p {
  color: rgba(247, 242, 232, 0.9);
}

.studio-hero-stage-card .metric-chip {
  background: rgba(17, 29, 29, 0.34);
}

.signal-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.signal-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--ls-line);
  border-radius: 999px;
  background: rgba(255, 251, 244, 0.78);
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 0.78rem;
}

.studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.studio-main,
.studio-sidebar {
  display: grid;
  gap: 18px;
}

.studio-main {
  width: 100%;
  min-width: 0;
}

.studio-card {
  padding: 22px;
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 14px;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(20, 108, 82, 0.12);
  color: var(--ls-primary);
  font-size: 0.72rem;
}

.chat-transcript {
  display: grid;
  gap: 12px;
  max-height: 420px;
  overflow: auto;
  padding-right: 4px;
}

.chat-bubble {
  padding: 16px 18px;
  border: 1px solid var(--ls-line);
  border-radius: 22px;
}

.chat-bubble p {
  margin: 8px 0 0;
}

.chat-bubble--assistant {
  background: rgba(20, 108, 82, 0.08);
}

.chat-bubble--user {
  background: rgba(212, 141, 28, 0.09);
}

.chat-role {
  display: inline-block;
  font-size: 0.66rem;
  color: var(--ls-muted);
}

.composer {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.suggestion-row,
.chip-line,
.candidate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.workflow-guide {
  margin-bottom: 18px;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.workflow-step {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--ls-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.34);
}

.workflow-step strong {
  font-size: 1rem;
}

.workflow-step p {
  margin: 0;
  color: var(--ls-muted);
}

.workflow-step--current {
  border-color: rgba(47, 109, 246, 0.36);
  background: linear-gradient(145deg, rgba(47, 109, 246, 0.12), rgba(255, 255, 255, 0.82));
  box-shadow: 0 14px 32px rgba(47, 109, 246, 0.08);
}

.focus-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.focus-item {
  padding: 12px 14px;
  border: 1px solid var(--ls-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.38);
  color: var(--ls-ink);
  line-height: 1.5;
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.control-span-2 {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
}

.checkbox-label {
  align-items: center;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ls-ink);
  background: var(--ls-panel-strong);
}

textarea {
  min-height: 118px;
  resize: vertical;
}

.status-inline {
  color: var(--ls-muted);
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 0.82rem;
  line-height: 1.6;
}

.model-summary {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--ls-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.34);
}

.model-summary strong {
  font-size: 0.96rem;
}

.sample-model-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.sample-model-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--ls-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.42);
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.sample-model-card:hover {
  transform: translateY(-1px);
  border-color: rgba(20, 108, 82, 0.28);
  box-shadow: 0 10px 24px rgba(20, 108, 82, 0.08);
}

.sample-model-card.active {
  border-color: rgba(20, 108, 82, 0.42);
  background: linear-gradient(145deg, rgba(20, 108, 82, 0.12), rgba(255, 251, 244, 0.92));
  box-shadow: 0 14px 30px rgba(20, 108, 82, 0.1);
}

.sample-model-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 14px;
  background: rgba(30, 43, 42, 0.08);
}

.sample-model-copy {
  display: grid;
  gap: 4px;
}

.sample-model-copy strong {
  font-size: 0.98rem;
}

.sample-model-copy span {
  color: var(--ls-muted);
  font-size: 0.88rem;
}

.sample-model-copy em {
  color: var(--ls-primary);
  font-style: normal;
  font-size: 0.78rem;
}

.sketchfab-browser-callout {
  display: flex;
  justify-content: flex-start;
  margin-top: 14px;
}

.console-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 16px;
}

.action-link-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.button.is-busy {
  opacity: 0.88;
  cursor: progress;
}

.button.is-success {
  box-shadow: 0 0 0 1px rgba(20, 108, 82, 0.18);
}

.button.is-error {
  box-shadow: 0 0 0 1px rgba(166, 74, 74, 0.22);
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 23, 22, 0.62);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(960px, calc(100vw - 32px));
  max-height: min(86vh, 860px);
  overflow: auto;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 251, 244, 0.96), rgba(247, 242, 232, 0.92));
  box-shadow: 0 24px 70px rgba(14, 23, 22, 0.32);
}

.sketchfab-model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sketchfab-model-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--ls-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.56);
}

.sketchfab-model-card strong {
  font-size: 1rem;
}

.sketchfab-model-card p {
  margin: 0;
  color: var(--ls-muted);
  line-height: 1.5;
}

.sketchfab-model-card span {
  color: var(--ls-primary);
  font-size: 0.82rem;
}

.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.blueprint-column {
  display: grid;
  gap: 12px;
}

.blueprint-column ul {
  display: grid;
  gap: 10px;
}

.blueprint-item {
  padding: 14px;
  border: 1px solid var(--ls-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.36);
}

.blueprint-item p {
  margin: 8px 0;
}

.blueprint-item span {
  color: var(--ls-muted);
  font-size: 0.9rem;
}

.studio-card.is-awaiting-confirmation {
  border-color: rgba(20, 108, 82, 0.34);
  box-shadow: 0 16px 34px rgba(20, 108, 82, 0.08);
}

.confirm-flow-bar {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(20, 108, 82, 0.2);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(20, 108, 82, 0.08), rgba(255, 251, 244, 0.9));
}

.teacher-notes {
  padding: 16px;
  border: 1px solid var(--ls-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.36);
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 0.8rem;
  line-height: 1.6;
  overflow: auto;
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.preset-card,
.candidate-card {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--ls-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.4);
}

.preset-card img,
.candidate-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 14px;
  background: rgba(30, 43, 42, 0.08);
}

.preset-meta,
.candidate-meta {
  display: grid;
  gap: 8px;
}

.advanced-grid {
  display: grid;
  gap: 14px;
}

.provider-config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 10px;
}

.lane-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.lane-switcher .ghost-chip.active {
  background: rgba(47, 109, 246, 0.14);
}

.option-card {
  padding: 18px;
  border: 1px solid var(--ls-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.38);
}

.ai-image-preview {
  margin-top: 14px;
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--ls-line);
}

.recent-job {
  display: grid;
  gap: 8px;
}

.recent-job + .recent-job {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--ls-line);
}

.thumb-fallback {
  min-height: 110px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(20, 108, 82, 0.12), rgba(212, 141, 28, 0.16));
}

.hidden {
  display: none !important;
}

@media (max-width: 1120px) {
  .studio-layout,
  .landing-hero,
  .tier-grid,
  .process-grid,
  .blueprint-grid,
  .workflow-steps,
  .provider-config-grid,
  .preset-grid,
  .sketchfab-model-grid {
    grid-template-columns: 1fr;
  }

  .sample-model-menu {
    grid-template-columns: 1fr;
  }

  .studio-hero,
  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .studio-hero {
    grid-template-columns: 1fr;
  }

  .studio-hero-stage-card {
    order: -1;
  }

  .studio-hero-stage-card .hero-stage-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  h1 {
    max-width: none;
  }

  .hero-stage-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 20px, 100%);
    padding-top: 18px;
  }

  .site-nav,
  .hero-actions,
  .signal-ribbon,
  .candidate-actions,
  .lane-switcher {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-cluster {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .control-grid {
    grid-template-columns: 1fr;
  }

  .ghost-chip,
  .button,
  .locale-switcher {
    width: 100%;
    max-width: none;
  }

  .studio-card,
  .hero-copy,
  .tier-card,
  .process-card {
    padding: 18px;
  }

  .landing-hero > .hero-stack {
    order: -1;
  }

  .hero-stage-card,
  .hero-stage-shell,
  .studio-hero-stage-card,
  .studio-hero-stage-card .hero-stage-shell {
    min-height: 360px;
  }

  .hero-stage-overlay {
    inset: 14px;
  }

  .hero-stage-copy {
    max-width: none;
  }

  .studio-hero-stage-card,
  .studio-hero-stage-card .hero-stage-shell {
    min-height: 320px;
  }

  .studio-hero-stage-card .hero-stage-overlay {
    inset: 10px;
  }

  .studio-hero-stage-card .hero-stage-copy {
    padding: 14px 16px;
  }

  .studio-hero-stage-card .hero-stage-copy h2 {
    font-size: clamp(1.1rem, 6vw, 1.52rem);
  }

  .studio-hero-stage-card .hero-stage-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .studio-hero-stage-card .metric-chip {
    gap: 4px;
    padding: 10px 8px;
    border-radius: 14px;
  }

  .studio-hero-stage-card .metric-kicker {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }

  .studio-hero-stage-card .metric-chip strong {
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .locale-switcher {
    grid-column: 1 / -1;
  }
}

.free-builder-shell {
  width: min(1540px, calc(100% - 32px));
  padding-top: 18px;
}

.free-builder-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.free-builder-brand {
  display: grid;
  gap: 8px;
}

.free-builder-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Sora", "Noto Sans SC", sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  letter-spacing: -0.05em;
}

.free-builder-logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), transparent 38%),
    linear-gradient(145deg, #69a8ff, #2f6df6);
  box-shadow: 0 16px 30px rgba(47, 109, 246, 0.24);
}

.free-builder-lead {
  margin: 0;
  color: var(--ls-muted);
  font-size: 0.98rem;
}

.free-builder-toolbar,
.free-builder-userbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.free-builder-nav .ghost-chip {
  background: rgba(255, 255, 255, 0.72);
}

.free-builder-mine {
  white-space: nowrap;
}

.free-builder-progress {
  margin-bottom: 16px;
  padding: 18px 20px;
}

.free-progress-summary {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.free-progress-lead {
  margin-bottom: 14px;
}

.free-progress-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.free-builder-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(420px, 1.1fr) minmax(360px, 0.98fr);
  gap: 16px;
  align-items: start;
}

.free-section-head h2 {
  font-family: "Sora", "Noto Sans SC", sans-serif;
  font-size: 1.55rem;
}

.free-step-badge {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #5f94ff, #2f6df6);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
}

.free-control-grid {
  margin-top: 10px;
}

.free-input-card textarea {
  min-height: 116px;
}

.free-outline-card {
  min-height: 100%;
}

.free-outline-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.free-outline-body {
  display: grid;
  gap: 16px;
}

.free-outline-block {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid var(--ls-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.46);
}

.free-outline-block h3 {
  font-family: "Sora", "Noto Sans SC", sans-serif;
  font-size: 1.02rem;
}

.free-outline-block ul {
  display: grid;
  gap: 10px;
}

.free-brief-notes {
  margin-top: 14px;
}

.free-model-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 12px;
  margin-bottom: 14px;
}

.free-model-search,
.free-model-category {
  min-height: 46px;
}

.free-model-menu {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.free-model-menu .sample-model-card {
  padding: 10px;
  border-radius: 18px;
}

.free-model-menu .sample-model-card img {
  height: 150px;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.95), rgba(236, 244, 255, 0.94));
}

.free-model-menu .sample-model-card:hover {
  border-color: rgba(47, 109, 246, 0.28);
  box-shadow: 0 10px 24px rgba(47, 109, 246, 0.08);
}

.free-model-menu .sample-model-card.active {
  border-color: rgba(47, 109, 246, 0.42);
  background: linear-gradient(145deg, rgba(47, 109, 246, 0.12), rgba(255, 255, 255, 0.92));
  box-shadow: 0 14px 30px rgba(47, 109, 246, 0.1);
}

.free-model-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.empty-model-hint {
  margin: 0;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--ls-muted);
}

.free-export-card {
  margin-top: 16px;
}

.free-export-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.72fr);
  gap: 22px;
  align-items: center;
}

.free-export-copy p {
  margin: 0 0 14px;
  color: var(--ls-muted);
}

.free-export-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.free-export-action {
  display: grid;
  gap: 12px;
  justify-items: stretch;
}

.free-generate-button {
  min-height: 60px;
  font-size: 1.06rem;
  box-shadow: 0 18px 34px rgba(47, 109, 246, 0.24);
}

.free-export-estimate {
  text-align: center;
}

.free-export-links {
  margin-top: 18px;
}

body[data-tier="free"] .workflow-step {
  background: rgba(255, 255, 255, 0.62);
}

body[data-tier="free"] .workflow-step--current {
  background: linear-gradient(145deg, rgba(47, 109, 246, 0.14), rgba(255, 255, 255, 0.96));
}

body[data-tier="free"] {
  --free-reference-card-height: 812px;
}

body[data-tier="free"] .free-panel-input,
body[data-tier="free"] .free-panel-outline,
body[data-tier="free"] .free-panel-model {
  min-height: var(--free-reference-card-height);
  height: 100%;
}

body[data-tier="free"] .free-generator-main {
  align-items: stretch;
}

body[data-tier="free"] .free-panel-input,
body[data-tier="free"] .free-panel-outline,
body[data-tier="free"] .free-panel-model {
  display: flex;
  flex-direction: column;
}

body[data-tier="free"] .free-panel-input .free-form-grid {
  flex: 1 1 auto;
}

body[data-tier="free"] .free-panel-input .free-outline-trigger,
body[data-tier="free"] .free-panel-outline .free-outline-actions {
  margin-top: auto;
}

body[data-tier="free"] .free-panel-outline .free-outline-paper {
  flex: 1 1 auto;
}

body[data-tier="free"] .free-panel-model .free-model-menu {
  flex: 1 1 auto;
  align-content: start;
}

body[data-tier="free"] .free-panel-model .free-model-footer {
  margin-top: auto;
}

body[data-tier="free"] .free-panel-model .model-summary {
  margin-top: 12px;
}

@media (max-width: 1280px) {
  body[data-tier="free"] .free-panel-input,
  body[data-tier="free"] .free-panel-outline,
  body[data-tier="free"] .free-panel-model {
    min-height: auto;
  }

  .free-builder-grid {
    grid-template-columns: 1fr;
  }

  .free-export-layout,
  .free-model-menu,
  .free-progress-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .free-builder-shell {
    width: min(100% - 20px, 100%);
  }

  .free-builder-header,
  .free-builder-toolbar,
  .free-builder-userbar,
  .free-model-footer,
  .free-progress-summary {
    flex-direction: column;
    align-items: stretch;
  }

  .free-builder-nav {
    width: 100%;
  }

  .free-model-toolbar {
    grid-template-columns: 1fr;
  }

  .free-builder-mark {
    font-size: 1.56rem;
  }
}

.free-generator-shell {
  width: min(1680px, calc(100% - 36px));
  padding-top: 18px;
}

.free-generator-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(96, 126, 182, 0.14);
  margin-bottom: 14px;
}

.free-generator-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-family: "Sora", "Noto Sans SC", sans-serif;
  font-size: clamp(1.8rem, 2.4vw, 2.5rem);
  letter-spacing: -0.05em;
}

.free-generator-brandmark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), transparent 42%),
    linear-gradient(145deg, #6aa7ff, #2f6df6);
  box-shadow: 0 14px 26px rgba(47, 109, 246, 0.24);
}

.free-generator-user {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.free-generator-user .locale-switcher {
  display: none;
}

.free-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--ls-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
}

.free-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(47, 109, 246, 0.12);
  color: var(--ls-primary);
  font-size: 0.86rem;
  font-weight: 800;
}

.free-generator-progress-card {
  padding: 14px 18px;
  margin-bottom: 16px;
}

.free-generator-progress-shell {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.free-generator-progress-intro {
  min-height: 42px;
  border-radius: 14px;
  border: 2px solid rgba(47, 109, 246, 0.44);
  background: rgba(255, 255, 255, 0.8);
}

.free-generator-mine {
  min-width: 124px;
}

.free-generator-progress-meta {
  display: none;
}

.free-generator-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.free-generator-steps .workflow-step {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(245, 248, 255, 0.96), rgba(238, 244, 255, 0.94));
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 10px 50%);
}

.free-generator-steps .workflow-step strong {
  font-size: 1rem;
}

.free-generator-steps .workflow-step p {
  display: none;
}

.free-generator-steps .step-index {
  margin: 0;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, #5f94ff, #2f6df6);
  color: #fff;
}

.free-generator-steps .workflow-step--current {
  border-color: rgba(47, 109, 246, 0.36);
  background: linear-gradient(145deg, rgba(47, 109, 246, 0.16), rgba(255, 255, 255, 0.98));
}

.free-generator-main {
  display: grid;
  grid-template-columns: minmax(340px, 0.88fr) minmax(430px, 1.05fr) minmax(400px, 1fr);
  gap: 16px;
  align-items: start;
}

.free-panel {
  padding: 18px;
}

.free-panel-head {
  display: flex;
  align-items: start;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.free-panel-head h2 {
  font-family: "Sora", "Noto Sans SC", sans-serif;
  font-size: 1.22rem;
  letter-spacing: -0.04em;
}

.free-panel-head-copy {
  display: grid;
  gap: 8px;
  margin-right: auto;
}

.free-panel-outline .free-panel-head-copy {
  display: flex;
  align-items: center;
  gap: 8px 10px;
  flex-wrap: wrap;
}

.free-panel-head > h2 {
  margin-right: auto;
}

.free-panel-title-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.free-panel-step {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #5f94ff, #2f6df6);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
}

.free-panel-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(25, 169, 116, 0.12);
  color: #0d8a5d;
  font-size: 0.78rem;
  font-weight: 700;
}

.free-panel-model .free-panel-tag {
  min-height: auto;
  padding: 0;
  background: transparent;
  color: var(--ls-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.free-panel-note {
  color: var(--ls-muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.free-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.free-span-2 {
  grid-column: 1 / -1;
}

.free-objective-input,
.free-panel textarea {
  min-height: 110px;
}

.free-duration-field {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.free-duration-field legend {
  width: 100%;
  margin-bottom: 4px;
  font-weight: 600;
}

.free-duration-field label {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.free-outline-paper {
  min-height: 455px;
  padding: 20px 22px;
  border: 1px solid rgba(96, 126, 182, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  gap: 18px;
}

.outline-section {
  display: grid;
  gap: 10px;
}

.outline-section strong {
  font-size: 1.05rem;
}

.outline-section ol {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
  color: var(--ls-ink);
  line-height: 1.7;
}

.free-outline-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.free-panel-model .sample-model-menu {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.free-panel-model .sample-model-card {
  position: relative;
  overflow: hidden;
}

.free-panel-model .sample-model-card.active::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #2f6df6;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.free-model-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.free-generator-export {
  margin-top: 16px;
}

.free-generator-export-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.72fr);
  gap: 20px;
  align-items: center;
}

.free-generator-export-copy {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.free-generator-export-illustration {
  width: 170px;
  height: 140px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.86), transparent 20%),
    linear-gradient(145deg, rgba(106, 167, 255, 0.22), rgba(47, 109, 246, 0.08));
  box-shadow: inset 0 0 0 1px rgba(47, 109, 246, 0.12);
}

.free-generator-export-cta {
  display: grid;
  gap: 12px;
}

@media (max-width: 1120px) {
  .free-generator-progress-shell,
  .free-generator-main,
  .free-generator-export-layout,
  .free-generator-export-copy {
    grid-template-columns: 1fr;
  }

  .free-generator-mine {
    justify-self: start;
  }
}

@media (max-width: 860px) {
  .free-generator-topbar,
  .free-generator-user,
  .free-outline-actions,
  .free-model-meta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .free-generator-steps,
  .free-panel-model .sample-model-menu,
  .free-form-grid {
    grid-template-columns: 1fr;
  }

  .free-generator-brand {
    font-size: 1.5rem;
  }
}

.pro-generator-shell {
  width: min(1720px, calc(100% - 36px));
  padding-top: 18px;
}

.pro-generator-topbar .locale-switcher {
  display: none;
}

.pro-generator-progress-card {
  padding: 14px 18px;
  margin-bottom: 16px;
}

.pro-generator-steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pro-generator-main {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(340px, 1fr) minmax(340px, 1fr) minmax(340px, 0.96fr);
  gap: 16px;
  align-items: start;
}

.pro-panel-input,
.pro-panel-outline,
.pro-panel-image,
.pro-panel-model {
  padding: 18px;
  min-height: 100%;
}

.pro-panel-head-copy {
  margin-right: auto;
}

.pro-outline-paper {
  min-height: 440px;
}

.pro-search-label {
  display: block;
  margin-bottom: 14px;
}

.pro-search-label input {
  min-height: 46px;
}

.pro-image-preview-shell {
  position: relative;
  min-height: 390px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(238, 244, 255, 0.95));
  box-shadow: inset 0 0 0 1px rgba(96, 126, 182, 0.16);
}

.pro-image-preview {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.pro-image-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--ls-muted);
  text-align: center;
}

.pro-inline-note {
  margin-top: 10px;
}

.pro-inline-confirm {
  margin-top: 14px;
}

.pro-step-actions {
  margin-top: 14px;
}

.pro-model-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  margin-bottom: 16px;
  align-items: start;
}

.pro-model-stage-column {
  display: grid;
  gap: 10px;
}

.pro-model-stage-column h3,
.pro-model-preview-panel h3 {
  font-size: 0.98rem;
}

.pro-confirmed-image-card,
.pro-model-preview-card {
  min-height: 140px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(238, 244, 255, 0.95));
  box-shadow: inset 0 0 0 1px rgba(96, 126, 182, 0.16);
}

.pro-confirmed-image-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.pro-engine-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pro-engine-card {
  min-height: 108px;
  border: 1px solid rgba(96, 126, 182, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  gap: 10px;
  justify-items: center;
  align-content: center;
  padding: 16px 12px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.pro-engine-card.active {
  border-color: rgba(47, 109, 246, 0.42);
  box-shadow: 0 14px 28px rgba(47, 109, 246, 0.1);
  transform: translateY(-1px);
}

.pro-engine-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #7caeff, #2f6df6);
  color: #fff;
  font-weight: 800;
}

.pro-engine-logo--dark {
  background: linear-gradient(145deg, #2f3448, #11131b);
}

.pro-provider-grid {
  margin-top: 10px;
}

.pro-model-preview-panel {
  display: grid;
  gap: 10px;
  margin: 18px 0 16px;
}

.pro-model-preview-card {
  position: relative;
  min-height: 216px;
}

.pro-model-preview-card img {
  width: 100%;
  height: 216px;
  object-fit: cover;
  display: block;
}

.pro-model-preview-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--ls-muted);
  text-align: center;
}

.pro-generator-export {
  margin-top: 16px;
}

@media (max-width: 1540px) {
  .pro-generator-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .pro-generator-steps,
  .pro-generator-main,
  .pro-model-stage-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .pro-generator-shell {
    width: min(100% - 20px, 100%);
  }

  .pro-engine-grid,
  .pro-provider-grid {
    grid-template-columns: 1fr;
  }
}

body[data-tier="pro"] {
  --pro-reference-card-height: 790px;
  background:
    radial-gradient(circle at 50% -8%, rgba(247, 239, 224, 0.9), transparent 28%),
    radial-gradient(circle at 92% 2%, rgba(71, 126, 255, 0.08), transparent 20%),
    linear-gradient(180deg, #fefefe 0%, #fbfcff 36%, #f7f9fd 100%);
}

body[data-tier="pro"]::before {
  opacity: 0;
}

body[data-tier="pro"] .site-shell {
  width: min(1640px, calc(100% - 40px));
  padding-top: 14px;
  padding-bottom: 40px;
}

body[data-tier="pro"] .studio-card,
body[data-tier="pro"] .free-panel,
body[data-tier="pro"] .pro-generator-progress-card {
  border: 1px solid #e7ecf5;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(15, 34, 78, 0.05);
  backdrop-filter: none;
}

body[data-tier="pro"] .button,
body[data-tier="pro"] input,
body[data-tier="pro"] select,
body[data-tier="pro"] textarea {
  border-radius: 12px;
}

body[data-tier="pro"] .button {
  min-height: 48px;
  padding: 0 20px;
  font-size: 0.98rem;
  font-weight: 600;
}

body[data-tier="pro"] .button.primary {
  background: linear-gradient(90deg, #3678ff 0%, #6d4cf6 100%);
  box-shadow: none;
}

body[data-tier="pro"] .button.subtle {
  border-color: #dbe3f4;
  background: #fff;
  color: #1f2b45;
}

body[data-tier="pro"] .free-generator-topbar {
  margin-bottom: 14px;
  padding: 8px 4px 16px;
  border-bottom: 1px solid rgba(220, 227, 241, 0.85);
}

body[data-tier="pro"] .free-generator-brand {
  gap: 12px;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 0;
}

body[data-tier="pro"] .free-generator-brandmark {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 48%),
    linear-gradient(135deg, #89b9ff 0%, #5b87ff 55%, #6c42ff 100%);
  box-shadow: 0 12px 22px rgba(92, 119, 255, 0.22);
}

body[data-tier="pro"] .free-generator-brandmark::before,
body[data-tier="pro"] .free-generator-brandmark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  transform: rotate(30deg);
}

body[data-tier="pro"] .free-generator-brandmark::after {
  inset: 12px 10px 10px 12px;
  transform: rotate(-28deg);
  opacity: 0.75;
}

body[data-tier="pro"] #pageTitle {
  font-size: 0.96rem;
  line-height: 1;
  font-weight: 700;
  color: #1f2d4f;
  letter-spacing: 0;
}

body[data-tier="pro"] .free-generator-user {
  gap: 10px;
}

body[data-tier="pro"] .free-user-chip {
  min-height: 44px;
  gap: 10px;
  padding: 0 14px;
  border-color: transparent;
  background: transparent;
}

body[data-tier="pro"] .free-user-avatar {
  position: relative;
  width: 30px;
  height: 30px;
  background: linear-gradient(180deg, #eff4ff, #f7f9ff);
  box-shadow: inset 0 0 0 1px #d4ddf1;
}

body[data-tier="pro"] .free-user-avatar::before {
  content: "";
  position: absolute;
  inset: 6px 8px 13px;
  border-radius: 999px;
  border: 2px solid #7d8db0;
  border-bottom: 0;
}

body[data-tier="pro"] .free-user-avatar::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 5px;
  height: 10px;
  border-radius: 10px 10px 12px 12px;
  border: 2px solid #7d8db0;
  border-top: 0;
}

body[data-tier="pro"] .free-user-name {
  color: #2d3650;
  font-size: 0.98rem;
  font-weight: 600;
}

body[data-tier="pro"] .pro-user-caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid #303c58;
  border-bottom: 2px solid #303c58;
  transform: rotate(45deg) translateY(-1px);
}

body[data-tier="pro"] .pro-generator-progress-card {
  padding: 14px 16px;
  margin-bottom: 14px;
}

body[data-tier="pro"] .pro-generator-progress-shell {
  grid-template-columns: 134px minmax(0, 1fr) auto;
  gap: 14px;
}

body[data-tier="pro"] .free-generator-progress-intro {
  position: relative;
  min-height: 42px;
  border: 2px solid #4478ff;
  border-radius: 12px;
  background: #fff;
}

body[data-tier="pro"] .free-generator-progress-intro::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -9px;
  width: 16px;
  height: 16px;
  border-top: 2px solid #4478ff;
  border-right: 2px solid #4478ff;
  background: #fff;
  transform: translateY(-50%) rotate(45deg);
}

body[data-tier="pro"] .pro-generator-steps {
  gap: 0;
}

body[data-tier="pro"] .pro-generator-steps .workflow-step {
  position: relative;
  min-height: 42px;
  padding: 0 26px 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  clip-path: none;
}

body[data-tier="pro"] .pro-generator-steps .workflow-step::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #c6cfdf;
  border-right: 2px solid #c6cfdf;
  transform: translateY(-50%) rotate(45deg);
}

body[data-tier="pro"] .pro-generator-steps .workflow-step:last-child::after {
  display: none;
}

body[data-tier="pro"] .pro-generator-steps .workflow-step strong {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  color: #2b3857;
}

body[data-tier="pro"] .pro-generator-steps .workflow-step p {
  display: none;
}

body[data-tier="pro"] .pro-generator-steps .step-index {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  font-size: 0.82rem;
  background: linear-gradient(180deg, #5f8dff 0%, #3a6cff 100%);
  box-shadow: none;
}

body[data-tier="pro"] .pro-generator-steps .workflow-step--current strong {
  color: #142851;
}

body[data-tier="pro"] .free-generator-mine {
  min-width: 128px;
  border-color: #d8e1f2;
  color: #3c67ff;
}

body[data-tier="pro"] .free-generator-mine-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  box-shadow: inset 0 0 0 2px currentColor;
  position: relative;
}

body[data-tier="pro"] .free-generator-mine-icon::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 4px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
}

body[data-tier="pro"] .pro-generator-main {
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 1.1fr) minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 14px;
}

body[data-tier="pro"] .free-panel,
body[data-tier="pro"] .pro-panel-input,
body[data-tier="pro"] .pro-panel-outline,
body[data-tier="pro"] .pro-panel-image,
body[data-tier="pro"] .pro-panel-model {
  padding: 16px 16px 14px;
}

body[data-tier="pro"] .pro-panel-input,
body[data-tier="pro"] .pro-panel-outline,
body[data-tier="pro"] .pro-panel-model {
  min-height: var(--pro-reference-card-height);
}

body[data-tier="pro"] .pro-panel-outline,
body[data-tier="pro"] .pro-panel-model {
  display: flex;
  flex-direction: column;
}

body[data-tier="pro"] .free-panel-head {
  margin-bottom: 14px;
  gap: 12px;
}

body[data-tier="pro"] .free-panel-step {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  font-size: 0.82rem;
  background: linear-gradient(180deg, #4d80ff 0%, #346cff 100%);
}

body[data-tier="pro"] .free-panel-head h2 {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  color: #25314f;
}

body[data-tier="pro"] .free-panel-note {
  color: #7f8aa8;
  font-size: 0.84rem;
  font-weight: 500;
}

body[data-tier="pro"] .free-panel-title-line {
  gap: 6px;
}

body[data-tier="pro"] .plan-badge {
  min-height: 24px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(45, 197, 121, 0.12);
  color: #16a55f;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

body[data-tier="pro"] .pro-form-grid {
  gap: 14px;
}

body[data-tier="pro"] .pro-field {
  position: relative;
  gap: 8px;
}

body[data-tier="pro"] .pro-field > span:first-child,
body[data-tier="pro"] .pro-duration-field legend {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2d3958;
}

body[data-tier="pro"] .required-mark {
  display: inline;
  margin-left: 4px;
  color: #f25555;
}

body[data-tier="pro"] .pro-field-optional {
  margin-left: 4px;
  color: #a0acc1;
  font-size: 0.82rem;
  font-weight: 500;
}

body[data-tier="pro"] input,
body[data-tier="pro"] select,
body[data-tier="pro"] textarea {
  padding: 12px 14px;
  border: 1px solid #dbe3f2;
  background: #fff;
  color: #26324f;
  box-shadow: none;
}

body[data-tier="pro"] input,
body[data-tier="pro"] select {
  min-height: 44px;
}

body[data-tier="pro"] textarea {
  min-height: 102px;
}

body[data-tier="pro"] .free-objective-input {
  min-height: 96px;
}

body[data-tier="pro"] .pro-field-counter {
  justify-self: end;
  margin-top: -2px;
  color: #98a4bb;
  font-size: 0.76rem;
}

body[data-tier="pro"] .pro-duration-field {
  gap: 12px 16px;
}

body[data-tier="pro"] .pro-duration-field label {
  color: #3f4a67;
  font-weight: 500;
}

body[data-tier="pro"] .pro-duration-field input {
  width: 15px;
  height: 15px;
  min-height: auto;
  padding: 0;
}

body[data-tier="pro"] .pro-setup-summary {
  display: none;
}

body[data-tier="pro"] .free-outline-trigger,
body[data-tier="pro"] #generateAi3d,
body[data-tier="pro"] #generateProPackage {
  min-height: 48px;
}

body[data-tier="pro"] .pro-outline-paper {
  min-height: 438px;
  padding: 16px 18px;
  border-radius: 14px;
  border-color: #e4e9f5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  flex: 1 1 auto;
}

body[data-tier="pro"] .outline-section {
  gap: 10px;
}

body[data-tier="pro"] .outline-section strong {
  font-size: 1rem;
  color: #2c395a;
}

body[data-tier="pro"] .outline-section ol {
  padding-left: 23px;
  color: #546179;
  font-size: 0.95rem;
  line-height: 1.75;
}

body[data-tier="pro"] .free-outline-actions {
  margin-top: 16px;
}

body[data-tier="pro"] .status-inline {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: #78849c;
  font-size: 0.92rem;
}

body[data-tier="pro"] .pro-search-label {
  position: relative;
  margin-bottom: 14px;
}

body[data-tier="pro"] .pro-search-label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  width: 14px;
  height: 14px;
  border: 2px solid #b3bfd5;
  border-radius: 50%;
  transform: translateY(-60%);
}

body[data-tier="pro"] .pro-search-label::after {
  content: "";
  position: absolute;
  top: calc(50% + 6px);
  left: 27px;
  width: 6px;
  height: 2px;
  background: #b3bfd5;
  transform: rotate(45deg);
}

body[data-tier="pro"] .pro-search-label input {
  padding-left: 38px;
}

body[data-tier="pro"] .pro-image-preview-shell {
  min-height: 384px;
  border-radius: 14px;
  background: linear-gradient(180deg, #0d1732, #081123);
  box-shadow: inset 0 0 0 1px rgba(225, 234, 246, 0.72);
}

body[data-tier="pro"] .pro-image-preview {
  height: 384px;
  border: 0;
  border-radius: 14px;
  margin-top: 0;
}

body[data-tier="pro"] .pro-image-preview:not(.hidden) + .pro-image-placeholder {
  opacity: 0;
  pointer-events: none;
}

body[data-tier="pro"] .pro-image-placeholder {
  padding: 0;
  transition: opacity 160ms ease;
}

body[data-tier="pro"] .pro-image-placeholder-scene {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 38%, rgba(255, 198, 67, 0.85), rgba(255, 198, 67, 0) 15%),
    radial-gradient(circle at 78% 16%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 7%),
    linear-gradient(180deg, #09152f 0%, #0a1631 40%, #091225 100%);
}

body[data-tier="pro"] .pro-space-label {
  position: absolute;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

body[data-tier="pro"] .pro-space-label--sun { top: 80px; left: 48px; }
body[data-tier="pro"] .pro-space-label--earth { top: 218px; left: 166px; }
body[data-tier="pro"] .pro-space-label--mars { top: 256px; left: 256px; }
body[data-tier="pro"] .pro-space-label--saturn { right: 74px; bottom: 88px; }
body[data-tier="pro"] .pro-space-label--uranus { right: 72px; top: 170px; }
body[data-tier="pro"] .pro-space-label--neptune { right: 38px; top: 112px; }

body[data-tier="pro"] .pro-inline-note {
  display: none;
}

body[data-tier="pro"] .pro-inline-confirm {
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

body[data-tier="pro"] .pro-inline-confirm .status-inline {
  display: none;
}

body[data-tier="pro"] .pro-inline-confirm .candidate-actions {
  justify-content: space-between;
}

body[data-tier="pro"] .pro-inline-confirm .button {
  min-width: 144px;
}

body[data-tier="pro"] .pro-model-stage-grid {
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

body[data-tier="pro"] .pro-model-stage-column h3,
body[data-tier="pro"] .pro-model-preview-panel h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2e3957;
}

body[data-tier="pro"] .pro-confirmed-image-card,
body[data-tier="pro"] .pro-model-preview-card {
  border-radius: 14px;
  background: linear-gradient(180deg, #f7faff 0%, #f1f5fb 100%);
  box-shadow: inset 0 0 0 1px rgba(224, 231, 243, 0.96);
}

body[data-tier="pro"] .pro-confirmed-image-card {
  min-height: 108px;
}

body[data-tier="pro"] .pro-confirmed-image-card img {
  height: 108px;
  border-radius: 14px;
}

body[data-tier="pro"] .pro-engine-grid {
  gap: 12px;
}

body[data-tier="pro"] .pro-engine-card {
  position: relative;
  min-height: 108px;
  gap: 12px;
  border-radius: 14px;
  border-color: #dbe3f4;
  box-shadow: none;
}

body[data-tier="pro"] .pro-engine-card strong {
  color: #243150;
  font-size: 0.98rem;
}

body[data-tier="pro"] .pro-engine-card.active {
  border-color: #4d76ff;
  background: linear-gradient(180deg, #fbfdff 0%, #f7f9ff 100%);
  box-shadow: none;
  transform: none;
}

body[data-tier="pro"] .pro-engine-check,
body[data-tier="pro"] .pro-engine-radio {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #d2daeb;
}

body[data-tier="pro"] .pro-engine-card.active .pro-engine-check {
  border-color: #4d76ff;
  background: #4d76ff;
}

body[data-tier="pro"] .pro-engine-card.active .pro-engine-check::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff;
}

body[data-tier="pro"] .pro-engine-logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(180deg, #7b88ff 0%, #4c63f2 100%);
}

body[data-tier="pro"] .pro-engine-logo-core {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0) 56%),
    conic-gradient(from 0deg, #9bd5ff, #6b9dff, #8d7cff, #9bd5ff);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.22);
}

body[data-tier="pro"] .pro-engine-logo--dark {
  background: linear-gradient(180deg, #232632 0%, #0e1015 100%);
}

body[data-tier="pro"] .pro-engine-logo-tripo {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

body[data-tier="pro"] .pro-model-preview-panel {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  margin: 8px 0 16px;
}

body[data-tier="pro"] .pro-model-preview-card {
  flex: 1 1 auto;
  min-height: 214px;
}

body[data-tier="pro"] .pro-model-preview-card img {
  height: 214px;
}

body[data-tier="pro"] .free-generator-export-copy {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 26px;
}

body[data-tier="pro"] .free-generator-export-illustration {
  width: 210px;
  height: 154px;
  border-radius: 0;
  position: relative;
  background: transparent;
  box-shadow: none;
}

body[data-tier="pro"] .free-generator-export-illustration::before,
body[data-tier="pro"] .free-generator-export-illustration::after {
  content: "";
  position: absolute;
}

body[data-tier="pro"] .free-generator-export-illustration::before {
  inset: 22px 26px 18px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0) 45%),
    linear-gradient(145deg, rgba(102, 142, 255, 0.16), rgba(121, 80, 255, 0.04));
  box-shadow: inset 0 0 0 2px rgba(94, 122, 255, 0.42);
  transform: perspective(420px) rotateX(62deg);
}

body[data-tier="pro"] .free-generator-export-illustration::after {
  left: 68px;
  top: 8px;
  width: 74px;
  height: 74px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0) 40%),
    linear-gradient(145deg, #78adff 0%, #6b7cff 50%, #5f4cf3 100%);
  box-shadow:
    0 18px 30px rgba(86, 116, 243, 0.18),
    inset 0 0 0 2px rgba(255, 255, 255, 0.16);
}

body[data-tier="pro"] .free-export-list {
  list-style: none;
  padding-left: 0;
}

body[data-tier="pro"] .free-export-list li {
  position: relative;
  padding-left: 28px;
}

body[data-tier="pro"] .free-export-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1fc271;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.86);
}

body[data-tier="pro"] .free-generate-button {
  min-height: 56px;
  font-size: 1rem;
}

body[data-tier="pro"] .free-export-estimate {
  margin-top: -2px;
  color: #687690;
}

body[data-tier="pro"] .pro-runtime-hidden {
  display: none !important;
}

body[data-tier="pro"] .pro-page-footer {
  margin: 14px 0 0;
  text-align: center;
  color: #9ba7bc;
  font-size: 0.84rem;
}

@media (max-width: 1540px) {
  body[data-tier="pro"] .pro-generator-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  body[data-tier="pro"] .pro-generator-progress-shell,
  body[data-tier="pro"] .pro-generator-main,
  body[data-tier="pro"] .free-generator-export-layout,
  body[data-tier="pro"] .free-generator-export-copy,
  body[data-tier="pro"] .pro-model-stage-grid {
    grid-template-columns: 1fr;
  }

  body[data-tier="pro"] .free-generator-progress-intro {
    display: none;
  }

  body[data-tier="pro"] .pro-generator-steps {
    gap: 6px;
  }

  body[data-tier="pro"] .pro-generator-steps .workflow-step {
    padding-right: 18px;
    border: 1px solid #e7ecf5;
    border-radius: 12px;
    background: #fff;
  }

  body[data-tier="pro"] .pro-generator-steps .workflow-step::after {
    display: none;
  }

  body[data-tier="pro"] .pro-panel-input,
  body[data-tier="pro"] .pro-panel-outline,
  body[data-tier="pro"] .pro-panel-model {
    min-height: auto;
  }
}

@media (max-width: 860px) {
  body[data-tier="pro"] .site-shell {
    width: min(100% - 20px, 100%);
    padding-bottom: 28px;
  }

  body[data-tier="pro"] .free-generator-topbar,
  body[data-tier="pro"] .free-generator-user,
  body[data-tier="pro"] .free-outline-actions,
  body[data-tier="pro"] .pro-inline-confirm .candidate-actions {
    flex-direction: column;
    align-items: stretch;
  }

  body[data-tier="pro"] .pro-generator-progress-shell,
  body[data-tier="pro"] .pro-form-grid,
  body[data-tier="pro"] .pro-engine-grid {
    grid-template-columns: 1fr;
  }

  body[data-tier="pro"] .pro-generator-steps .workflow-step {
    min-height: 46px;
  }

  body[data-tier="pro"] .pro-image-preview-shell,
  body[data-tier="pro"] .pro-image-preview {
    min-height: 280px;
    height: 280px;
  }
}
