:root {
  --bg: #f7f8fc;
  --panel: #ffffff;
  --ink: #17152b;
  --text: #111827;
  --muted: #667085;
  --line: #e4e7ec;
  --primary: #6d5ef7;
  --primary-dark: #5145cd;
  --primary-soft: #f0eeff;
  --night: #17152b;
  --night-soft: #26213f;
  --success: #168a5b;
  --success-soft: #eaf8f1;
  --warning: #b54708;
  --warning-soft: #fff4e5;
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 0 48px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 248, 252, 0.94);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}

.brand {
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.brand-light {
  color: #ffffff;
}

.topbar-subtitle,
.topbar-section {
  color: var(--muted);
  font-size: 13px;
}

.topbar-section {
  color: var(--text);
  font-weight: 600;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}

.topbar-nav a {
  color: var(--text);
}

.app-topnav a {
  color: var(--muted);
}

.topbar-action {
  flex: 0 0 auto;
}

.user-pill,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 18px;
  border-radius: 999px;
  background: #f2f4f7;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.user-pill,
.pill-purple {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.pill-success {
  background: var(--success-soft);
  color: var(--success);
}

.pill-warning {
  background: var(--warning-soft);
  color: var(--warning);
}

.pill-solid {
  background: var(--primary);
  color: white;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  border-color: var(--line);
  color: var(--text);
}

.btn-outline-primary {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--primary);
}

.full {
  width: 100%;
}

.landing-shell,
.content-shell,
.workflow-shell,
.center-shell {
  width: min(1296px, calc(100% - 96px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  align-items: center;
  gap: 78px;
  padding: 72px 0 80px;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: 52px;
  line-height: 1.13;
}

.hero-copy p {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions,
.inline-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 36px 0 24px;
}


.hero-preview {
  min-height: 520px;
  padding: 62px 52px;
  border-radius: 28px;
  background: var(--night);
}

.seo-mini-card {
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #0717ff;
  color: #ffffff;
}

.seo-mini-card span {
  display: block;
  margin-bottom: 8px;
  color: #b8b0ff;
  font-size: 12px;
  font-weight: 700;
}

.flow-strip {
  padding: 10px 0 88px;
  color: var(--ink);
}

.flow-steps {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.flow-steps span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-size: 17px;
}

.flow-steps b {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 16px;
  line-height: 1;
}

.flow-steps i {
  color: var(--primary);
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.card h2,
.card h3 {
  margin: 0;
  color: var(--text);
}

.content-shell {
  padding: 58px 0 72px;
}

.example-head h1 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.18;
}

.example-head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.example-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(330px, 0.9fr);
  gap: 40px;
  margin-top: 34px;
}

.publish-card {
  padding: 32px;
}

.publish-card h2 {
  margin-bottom: 32px;
}

.label {
  display: block;
  margin: 20px 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.label.strong {
  color: var(--text);
  font-size: 14px;
}

.readonly-box,
.recommended-title {
  min-height: 48px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7f8fc;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

.recommended-title {
  min-height: 72px;
  display: flex;
  align-items: center;
  margin-bottom: 26px;
  background: var(--primary-soft);
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
}

.readonly-tall {
  min-height: 104px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.outcomes {
  margin-top: 40px;
  padding: 32px;
}

.outcome-grid,
.tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.outcome-grid article,
.tips-grid article {
  min-height: 72px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f7f8fc;
}

.outcome-grid strong,
.tips-grid strong {
  display: block;
  margin-bottom: 8px;
}

.outcome-grid span,
.tips-grid span {
  color: var(--muted);
  font-size: 13px;
}

.workflow-shell {
  padding: 22px 0 58px;
}

.stepper {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin: 0 0 38px;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  width: 78px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 52px;
  width: 62px;
  height: 2px;
  background: var(--line);
}

.step.done::after,
.step.active::after {
  background: var(--primary);
}

.step-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.step.done .step-dot,
.step.active .step-dot {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.step.active .step-label {
  color: var(--text);
  font-weight: 700;
}

.page-intro {
  margin-bottom: 42px;
}

.kicker,
.guest-status {
  display: block;
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
}

.page-intro h1 {
  max-width: 760px;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.2;
}

.page-intro p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 0.9fr);
  gap: 34px;
}

.upload-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  cursor: pointer;
}

.upload-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.upload-icon {
  color: var(--primary);
  font-size: 48px;
  line-height: 1;
}

.upload-card strong {
  margin-top: 18px;
  color: var(--ink);
  font-size: 18px;
}

.filename-tip {
  max-width: 320px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.filename-tip code {
  color: var(--ink);
  font-weight: 700;
}

.upload-card > span:not(.upload-icon),
.info-card p,
.ai-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.info-card,
.ai-card {
  min-height: 300px;
  padding: 32px;
}

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

.form-grid.compact {
  gap: 28px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field span {
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  background: #ffffff;
  color: var(--text);
  outline: none;
}

.field textarea {
  min-height: 154px;
  padding-top: 16px;
  resize: vertical;
}

.details-layout {
  align-items: start;
}

.cover-layout,
.style-layout,
.seo-layout,
.preview-layout,
.payment-layout,
.dashboard-grid {
  display: grid;
  gap: 34px;
}

.cover-layout {
  grid-template-columns: 390px minmax(0, 1fr);
}

.cover-card {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 30px;
}

.cover-art {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 68px;
  border-radius: 16px;
  background: var(--night-soft);
  color: #0017ff;
  text-align: center;
}

.cover-title {
  font-size: 34px;
  font-weight: 850;
  line-height: 1.15;
}

.cover-artist {
  color: #b9b2ff;
  font-size: 15px;
  font-weight: 750;
}

.hidden {
  display: none !important;
}

.cover-art.generated-cover {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.cover-art.generated-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 7, 24, 0.2), rgba(8, 7, 24, 0.66));
}

.cover-art.generated-cover .cover-title,
.cover-art.generated-cover .cover-artist {
  position: relative;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.62);
}

.cover-ai-panel {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.cover-ai-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.cover-ai-head div {
  display: grid;
  gap: 4px;
}

.cover-ai-head strong {
  color: var(--text);
  font-size: 15px;
}

.cover-ai-head span,
.cover-ai-limit,
.cover-ai-empty {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

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

.cover-choice {
  position: relative;
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  text-align: left;
  overflow: hidden;
}

.cover-choice img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  background: var(--night-soft);
  object-fit: cover;
}

.cover-choice span {
  padding: 0 2px 2px;
  font-size: 13px;
  font-weight: 750;
}

.cover-choice.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(109, 94, 247, 0.14);
}

.cover-choice.selected::after {
  content: "Choisie";
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
}

.cover-ai-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: #f8fafc;
}

.small-heading {
  margin: 22px 0 14px;
  font-size: 14px;
}

.option-panel {
  padding: 32px;
}

.option-row {
  width: 100%;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  text-align: left;
}

.option-row.selected {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.option-row span {
  color: var(--muted);
  font-size: 13px;
}

.style-layout {
  grid-template-columns: minmax(0, 2.15fr) 394px;
  align-items: start;
}

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

.style-card {
  min-height: 190px;
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 20px;
  color: var(--text);
  text-align: left;
}

.style-card.selected {
  border-color: var(--primary);
}

.style-card strong,
.style-card small {
  display: block;
}

.style-card small {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.mini-visualizer {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 28px 18px 34px;
  border-radius: 14px;
  background: #eef0f5;
}

.mini-visualizer.dark {
  background: var(--night-soft);
}

.mini-visualizer .audio-bars {
  height: 80px;
}

.mini-visualizer.dark .audio-bars span {
  background: #a99fff;
}

.customize-card {
  padding: 32px;
}

.customize-card .field {
  margin-top: 24px;
}

.seo-layout {
  grid-template-columns: minmax(0, 2fr) 384px;
}

.seo-editor,
.score-card {
  padding: 30px;
}

.seo-editor .readonly-box {
  margin-bottom: 14px;
}

.seo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.seo-toolbar p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.analysis-block {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.analysis-block p,
.empty-analysis {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.strategy-list {
  display: grid;
  gap: 10px;
}

.strategy-option {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  text-align: left;
}

.strategy-option.selected {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.strategy-option span,
.strategy-option small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.score-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 18px;
  margin-bottom: 18px;
  font-size: 13px;
}

.score-grid span {
  color: var(--muted);
}

.opportunity-list,
.competitor-list {
  display: grid;
  gap: 10px;
}

.opportunity-row,
.competitor-row {
  display: grid;
  gap: 5px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.opportunity-row {
  grid-template-columns: 1fr auto;
}

.opportunity-row strong,
.competitor-row strong {
  color: var(--text);
  font-size: 13px;
}

.opportunity-row span,
.competitor-row span {
  color: var(--muted);
  font-size: 12px;
}

.opportunity-row b {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  color: var(--success);
}

.warning-box.compact {
  margin-top: 24px;
}

.score {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin: 28px 0 18px;
}

.score strong {
  color: var(--success);
  font-size: 54px;
  line-height: 1;
}

.score span {
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}

.score-card h3 {
  margin: 0 0 18px;
  font-size: 14px;
}

.score-card ul {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.score-card li span {
  margin-right: 14px;
  color: var(--success);
  font-weight: 800;
}

.warning-box {
  margin-top: 40px;
  padding: 22px 18px;
  border-radius: 14px;
  background: var(--warning-soft);
  color: var(--warning);
}

.warning-box p {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.35;
}

.preview-layout {
  grid-template-columns: minmax(0, 1.6fr) 482px;
}

.recap-card {
  padding: 32px;
}

.recap-row,
.included-row,
.recap-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

.recap-row span,
.included-row span {
  color: var(--muted);
  font-size: 13px;
}

.recap-row strong,
.included-row strong {
  font-size: 13px;
}

.included-row strong {
  color: var(--success);
}

.recap-total {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-weight: 800;
}

.recap-total strong {
  color: var(--ink);
  font-size: 24px;
}

.choice-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 28px;
  align-items: center;
  margin-top: 36px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.choice-strip p {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
}

.choice-strip div {
  display: flex;
  gap: 14px;
}

.choice-strip span {
  grid-column: 2;
  color: var(--muted);
  font-size: 12px;
}

.page-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 90px;
}

.center-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 0 90px;
}

.center-intro {
  max-width: 720px;
  text-align: center;
}

.center-intro h1 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 36px;
}

.center-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.auth-card {
  width: min(500px, 100%);
  margin-top: 34px;
  padding: 40px;
}

.divider-text {
  display: block;
  margin: 18px 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.auth-card .btn-primary {
  margin-top: 28px;
}

.why-box {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

.why-box strong {
  color: var(--text);
}

.payment-shell {
  padding-top: 50px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  margin-top: 28px;
}

.price-card {
  min-height: 230px;
  padding: 20px;
  border: 1px solid #d0d5dd;
  border-radius: var(--radius);
  background: #ffffff;
}

.price-card.selected {
  border: 2px solid var(--primary);
}

.price-card.locked {
  opacity: 0.72;
}

.price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
}

.lock-label {
  color: #a15c00;
  font-size: 13px;
}

.price-card h2 {
  margin: 26px 0 10px;
  font-size: 19px;
}

.price-card .price {
  display: block;
  color: var(--ink);
  font-size: 30px;
  margin-bottom: 6px;
}

.price-card span,
.price-card p,
.terms-line {
  color: var(--muted);
  font-size: 13px;
}

.terms-line {
  margin: 18px 0 28px;
}

.payment-layout {
  grid-template-columns: minmax(0, 1.7fr) minmax(350px, 1fr);
}

.payment-card,
.order-card {
  padding: 32px;
}

.payment-card h2,
.order-card h2 {
  margin-bottom: 28px;
}

.payment-card .field {
  margin-bottom: 22px;
}

.payment-note {
  display: grid;
  gap: 6px;
  margin: 4px 0 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.payment-note strong {
  color: var(--text);
  font-size: 14px;
}

.payment-note span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.payment-card p,
.order-card p,
.order-card small {
  color: var(--muted);
  font-size: 13px;
}

.order-card > strong,
.order-card > span {
  display: block;
}

.order-card > span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.youtube-card {
  width: min(880px, 100%);
  min-height: 420px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 36px;
  margin: 0 auto;
  padding: 62px 66px;
}

.youtube-icon {
  width: 88px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #ff0033;
  color: #0017ff;
  font-size: 28px;
}

.youtube-card h2 {
  font-size: 24px;
}

.youtube-card p {
  color: var(--muted);
}

.permissions {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
  margin-top: 4px;
}

.permissions span {
  color: var(--text);
  font-size: 14px;
}

.permissions span::first-letter {
  color: var(--success);
}

.progress-card {
  width: min(660px, 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 64px;
  padding: 44px 78px;
}

.progress-card > strong {
  align-self: center;
  color: var(--primary);
  font-size: 42px;
}

.progress-track {
  width: 100%;
  height: 16px;
  margin: 28px 0;
  border-radius: 999px;
  background: #eceafb;
}

.progress-track span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
}

.progress-card h2 {
  font-size: 15px;
}

.progress-card p {
  color: var(--muted);
  font-size: 13px;
}

.progress-card .btn {
  align-self: center;
  margin-top: 26px;
}

.success-shell {
  padding-top: 28px;
}

.success-card {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
  margin: 36px 0 54px;
  padding: 40px;
}

.success-copy h2 {
  font-size: 18px;
  line-height: 1.25;
}

.success-copy p {
  margin: 28px 0;
  color: var(--muted);
}

.wide-cta {
  min-width: 260px;
}

.dashboard {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px 1fr;
}

.sidebar {
  background: var(--night);
  padding: 28px 18px;
}

.sidebar nav {
  display: grid;
  gap: 8px;
  margin-top: 52px;
}

.sidebar a {
  color: #c8c4de;
}

.sidebar nav a {
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 14px;
}

.sidebar nav a.active {
  background: #2b2745;
  color: #ffffff;
  font-weight: 700;
}

.dashboard-main {
  padding: 36px 42px 70px;
}

.dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dashboard-head h1 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
}

.dashboard-head-copy {
  display: grid;
  gap: 6px;
}

.dashboard-account-line {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

.dashboard-account-line strong {
  color: var(--ink);
}

.dashboard-account-line span {
  color: var(--muted);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 34px;
}

.stat-card {
  min-height: 132px;
  padding: 22px;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
}

.stat-card strong {
  color: var(--ink);
  font-size: 34px;
}

.dashboard-grid {
  grid-template-columns: minmax(0, 2fr) 346px;
  margin-top: 42px;
}

.creations-card,
.schedule-card,
.tips-card {
  padding: 26px;
}

.creation-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.creation-row:first-of-type {
  margin-top: 20px;
}

.thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #edeef3;
}

.thumb.dark {
  background: var(--night-soft);
}

.creation-row strong,
.creation-row span {
  display: block;
}

.creation-row span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.schedule-card h3 {
  margin: 30px 0 8px;
  font-size: 20px;
}

.schedule-card p {
  color: var(--muted);
  margin-bottom: 60px;
}

.tips-card {
  margin-top: 42px;
}

.tips-grid {
  grid-template-columns: repeat(3, 1fr);
}

.video-mockup {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--night);
  color: #ffffff;
}

.video-hero {
  height: 258px;
  background: transparent;
}

.video-hero .video-inner {
  height: 100%;
  border-radius: 18px;
  padding: 34px 38px;
}

.video-example {
  min-height: 460px;
  padding: 50px 46px;
}

.video-preview {
  min-height: 438px;
  padding: 54px 68px;
}

.video-success {
  min-height: 196px;
}

.video-inner {
  position: relative;
  min-height: 100%;
  border-radius: 16px;
  background: var(--night-soft);
  padding: 42px 70px;
}

.video-example .video-inner {
  min-height: 360px;
}

.video-preview .video-inner {
  min-height: 326px;
}

.video-success .video-inner {
  min-height: 196px;
  padding: 34px 32px;
}

.video-title {
  color: #0017ff;
  font-size: 34px;
  font-weight: 850;
  text-align: center;
}

.video-example .video-title {
  color: #ffffff;
  font-size: 42px;
  text-align: left;
}

.video-hero .video-title,
.video-success .video-title {
  font-size: 22px;
  text-align: left;
}

.video-preview .video-title {
  margin-top: 4px;
}

.video-artist {
  margin-top: 10px;
  color: #b9b2ff;
  font-size: 15px;
  font-weight: 750;
  text-align: center;
}

.video-example .video-artist,
.video-hero .video-artist {
  text-align: left;
}

.audio-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 126px;
  margin-top: 72px;
}

.video-hero .audio-bars,
.video-success .audio-bars {
  height: 78px;
  margin-top: 32px;
  gap: 7px;
}

.video-preview .audio-bars {
  margin-top: 78px;
}

.audio-bars.compact {
  width: 100%;
  height: 100%;
  margin: 0;
  gap: 5px;
}

.audio-bars span {
  width: 6px;
  height: var(--bar-height);
  border-radius: 999px;
  background: #8c7cff;
}

.audio-bars.compact span {
  width: 4px;
  background: #98a2b3;
}

.video-time {
  position: absolute;
  right: 34px;
  bottom: 18px;
  color: #0017ff;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .topbar {
    padding: 0 24px;
  }

  .landing-shell,
  .content-shell,
  .workflow-shell,
  .center-shell {
    width: min(100% - 40px, 900px);
  }

  .hero,
  .example-layout,
  .two-column,
  .cover-layout,
  .style-layout,
  .seo-layout,
  .preview-layout,
  .payment-layout,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .hero-preview {
    min-height: auto;
  }

  .pricing-grid,
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .outcome-grid,
  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .choice-strip,
  .choice-strip span {
    grid-column: auto;
  }

  .choice-strip {
    grid-template-columns: 1fr;
  }

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

  .sidebar {
    position: static;
  }

  .sidebar nav {
    display: flex;
    overflow-x: auto;
    margin-top: 22px;
  }
}

@media (max-width: 720px) {
  .topbar {
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 20px;
  }

  .topbar-subtitle,
  .topbar-nav:not(.app-topnav) {
    display: none;
  }

  .topbar-nav {
    margin-left: 0;
  }

  .topbar-action {
    margin-left: auto;
  }

  .hero {
    padding-top: 44px;
    gap: 42px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .hero-preview,
  .video-example,
  .video-preview {
    padding: 24px;
  }

  .flow-strip {
    padding-left: 0;
  }

  .flow-steps {
    gap: 12px;
  }

  .flow-steps span {
    flex: 1 1 132px;
  }

  .flow-steps i {
    display: none;
  }

  .stepper {
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .form-grid,
  .style-grid,
  .pricing-grid,
  .stat-grid,
  .outcome-grid,
  .tips-grid {
    grid-template-columns: 1fr;
  }

  .cover-layout {
    grid-template-columns: 1fr;
  }

  .style-card,
  .success-card,
  .youtube-card {
    grid-template-columns: 1fr;
  }

  .mini-visualizer {
    width: 100%;
  }

  .page-actions,
  .dashboard-head,
  .choice-strip div {
    align-items: stretch;
    flex-direction: column;
  }

  .page-actions .btn,
  .inline-actions .btn,
  .choice-strip .btn {
    width: 100%;
  }

  .video-title,
  .video-example .video-title {
    font-size: 28px;
  }

  .audio-bars {
    gap: 5px;
    overflow: hidden;
  }

  .dashboard-main {
    padding: 28px 20px 50px;
  }
}

.btn.disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

.upload-card em {
  display: block;
  min-height: 18px;
  margin-top: 16px;
  color: var(--primary-dark);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  text-align: center;
}

.upload-card.is-uploading {
  border-color: var(--primary);
  background: #fbfaff;
}

.upload-status {
  margin-top: 26px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f2f4f7;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.upload-status[data-tone="loading"] {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.upload-status[data-tone="success"] {
  background: var(--success-soft);
  color: var(--success);
}

.upload-status[data-tone="warning"] {
  background: var(--warning-soft);
  color: var(--warning);
}

.upload-status[data-tone="error"] {
  background: #ffe9e9;
  color: #b42318;
}

.studio-card {
  width: min(760px, 100%);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 13px;
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 10px;
  text-align: center;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
}

.comparison-table th {
  color: var(--muted);
  font-weight: 800;
}

.comparison-table .yes {
  color: var(--success);
  font-weight: 900;
}

.comparison-table .no {
  color: #98a2b3;
  font-weight: 800;
}

.retention-note {
  display: grid;
  gap: 6px;
  margin: 2px 0 24px;
  padding: 16px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 13px;
}

.retention-note span,
.download-card p {
  color: var(--muted);
  line-height: 1.45;
}

.download-card {
  width: min(520px, 100%);
  display: grid;
  gap: 18px;
  margin-top: 34px;
  padding: 30px;
}

.download-card .upload-status {
  margin-top: 0;
}

@media (max-width: 720px) {
  .comparison-table {
    font-size: 12px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 11px 6px;
  }
}
/* Studio Nuit Neon */
:root {
  --bg: #05060b;
  --panel: rgba(18, 20, 31, 0.72);
  --panel-strong: rgba(24, 27, 41, 0.88);
  --ink: #ffffff;
  --text: #f5f7fb;
  --muted: #9ca8bd;
  --line: rgba(255, 255, 255, 0.14);
  --primary: #8f6bff;
  --primary-dark: #d7ccff;
  --primary-soft: rgba(143, 107, 255, 0.16);
  --cyan: #35d8ff;
  --mint: #55f0b1;
  --rose: #ff5fa8;
  --amber: #ffc36b;
  --night: #080914;
  --night-soft: #15182a;
  --success: #55f0b1;
  --success-soft: rgba(85, 240, 177, 0.14);
  --warning: #ffc36b;
  --warning-soft: rgba(255, 195, 107, 0.16);
  --danger-soft: rgba(255, 92, 122, 0.14);
  --danger: #ff6f8d;
  --radius: 8px;
  color-scheme: dark;
}

html {
  background: #05060b;
}

body {
  min-height: 100vh;
  background:
    linear-gradient(118deg, #05060b 0%, #10101a 42%, #07171a 100%);
  color: var(--text);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(143, 107, 255, 0.16), transparent 28%, rgba(53, 216, 255, 0.09) 58%, rgba(85, 240, 177, 0.08));
  background-size: 46px 46px, 46px 46px, auto;
  opacity: 0.75;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 6, 11, 0) 0%, rgba(5, 6, 11, 0.64) 100%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 18px);
}

#app {
  position: relative;
  z-index: 1;
}

::selection {
  background: rgba(53, 216, 255, 0.28);
}

.topbar {
  min-height: 74px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(7, 8, 18, 0.72);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(22px) saturate(145%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 21px;
  letter-spacing: 0;
}

.brand::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--cyan), var(--primary) 48%, var(--mint));
  box-shadow: 0 0 24px rgba(53, 216, 255, 0.62);
}

.brand-light {
  color: #ffffff;
}

.topbar-subtitle,
.topbar-section,
.app-topnav a,
.user-pill {
  color: var(--muted);
}

.topbar-section {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #dce4f2;
}

.topbar-nav a {
  color: #dce4f2;
}

.topbar-nav a:hover {
  color: #ffffff;
}

.user-pill,
.pill {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: #dce4f2;
}

.pill-purple {
  border-color: rgba(143, 107, 255, 0.34);
  background: rgba(143, 107, 255, 0.14);
  color: #d7ccff;
}

.pill-success {
  border-color: rgba(85, 240, 177, 0.32);
  background: var(--success-soft);
  color: var(--success);
}

.pill-warning {
  border-color: rgba(255, 195, 107, 0.3);
  background: var(--warning-soft);
  color: var(--warning);
}

.pill-solid {
  background: linear-gradient(135deg, var(--cyan), var(--primary));
  color: #060710;
}

.btn {
  min-height: 48px;
  border-radius: 8px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn:hover:not(.disabled):not([aria-disabled="true"]) {
  transform: translateY(-1px);
}

.btn-primary {
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, var(--mint) 0%, var(--cyan) 44%, var(--primary) 100%);
  color: #05060b;
  box-shadow: 0 18px 44px rgba(53, 216, 255, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.btn-secondary,
.btn-outline-primary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #f5f7fb;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.btn-outline-primary {
  color: #d7ccff;
  border-color: rgba(143, 107, 255, 0.48);
}

.landing-shell,
.content-shell,
.workflow-shell,
.center-shell {
  width: min(1320px, calc(100% - 80px));
}

.hero {
  position: relative;
  display: block;
  min-height: calc(100vh - 74px);
  padding: 88px 0 120px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 42px 0 56px;
}

.hero h1,
.example-head h1,
.page-intro h1,
.center-intro h1,
.dashboard-head h1 {
  color: #ffffff;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: 58px;
  line-height: 1.08;
}

.hero-copy p {
  max-width: 680px;
  color: #b8c3d8;
  font-size: 20px;
  line-height: 1.55;
}

.hero-preview {
  position: absolute;
  z-index: 1;
  top: 72px;
  right: 0;
  width: min(53%, 650px);
  min-height: 540px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42), 0 0 80px rgba(143, 107, 255, 0.16);
  backdrop-filter: blur(24px) saturate(140%);
}

.seo-mini-card {
  border: 1px solid rgba(85, 240, 177, 0.28);
  border-radius: 8px;
  background: rgba(7, 23, 28, 0.74);
  color: #ffffff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.seo-mini-card span {
  color: var(--mint);
}

.flow-strip {
  position: relative;
  z-index: 3;
  padding: 0 0 84px;
  color: var(--text);
}

.flow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(22px) saturate(140%);
}

.flow-steps span {
  color: #eef4ff;
}

.flow-steps b {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--cyan);
}

.flow-steps i {
  color: var(--mint);
}

.card,
.upload-card,
.price-card,
.style-card,
.option-row,
.strategy-option,
.readonly-box,
.recommended-title,
.analysis-block,
.payment-note,
.outcome-grid article,
.tips-grid article,
.choice-strip,
.download-card {
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px) saturate(140%);
}

.card h2,
.card h3,
.small-heading,
.label.strong,
.field span,
.price-card h2,
.creation-row strong,
.why-box strong,
.payment-note strong,
.outcome-grid strong,
.tips-grid strong,
.recap-row strong,
.included-row strong,
.order-card > strong,
.score-card h3,
.opportunity-row strong,
.competitor-row strong,
.strategy-option strong {
  color: #ffffff;
}

.content-shell,
.workflow-shell,
.center-shell,
.payment-shell,
.success-shell {
  padding-top: 42px;
}

.example-head p,
.page-intro p,
.center-intro p,
.info-card p,
.ai-card p,
.payment-card p,
.order-card p,
.order-card small,
.price-card span,
.price-card p,
.terms-line,
.readonly-box,
.analysis-block p,
.empty-analysis,
.strategy-option span,
.strategy-option small,
.opportunity-row span,
.competitor-row span,
.recap-row span,
.included-row span,
.download-card p,
.schedule-card p,
.creation-row span,
.outcome-grid span,
.tips-grid span {
  color: var(--muted);
}

.workflow-shell {
  padding-bottom: 72px;
}

.stepper {
  width: fit-content;
  max-width: 100%;
  gap: 24px;
  margin-bottom: 44px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px) saturate(140%);
}

.step {
  color: #7f8ca3;
}

.step:not(:last-child)::after {
  background: rgba(255, 255, 255, 0.13);
}

.step.done::after,
.step.active::after {
  background: linear-gradient(90deg, var(--mint), var(--cyan), var(--primary));
}

.step-dot {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
  color: #bcc8dc;
}

.step.done .step-dot,
.step.active .step-dot {
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, var(--mint), var(--cyan), var(--primary));
  color: #05060b;
}

.step.active .step-label {
  color: #ffffff;
}

.kicker,
.guest-status {
  color: var(--mint);
}

.upload-card {
  min-height: 380px;
  border-style: dashed;
  border-color: rgba(53, 216, 255, 0.28);
}

.upload-card:hover,
.upload-card.is-uploading {
  border-color: rgba(85, 240, 177, 0.52);
  background: linear-gradient(145deg, rgba(53, 216, 255, 0.12), rgba(143, 107, 255, 0.075));
}

.upload-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(53, 216, 255, 0.28);
  border-radius: 8px;
  background: rgba(53, 216, 255, 0.1);
  color: var(--cyan);
  font-size: 38px;
}

.upload-card strong,
.filename-tip code {
  color: #ffffff;
}

.filename-tip,
.upload-card > span:not(.upload-icon) {
  color: var(--muted);
}

.field input,
.field textarea {
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(4, 6, 14, 0.56);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(53, 216, 255, 0.56);
  box-shadow: 0 0 0 3px rgba(53, 216, 255, 0.13);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7f8ca3;
}

.option-row:hover,
.style-card:hover,
.strategy-option:hover,
.price-card:hover,
.cover-choice:hover {
  border-color: rgba(53, 216, 255, 0.32);
}

.option-row.selected,
.style-card.selected,
.strategy-option.selected,
.price-card.selected {
  border-color: rgba(143, 107, 255, 0.68);
  background: linear-gradient(145deg, rgba(143, 107, 255, 0.18), rgba(53, 216, 255, 0.07));
  color: #ffffff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(143, 107, 255, 0.14) inset;
}

.option-row span,
.style-card small,
.cover-ai-head span,
.cover-ai-limit,
.cover-ai-empty {
  color: var(--muted);
}

.cover-card {
  padding: 20px;
}

.cover-art,
.video-inner,
.mini-visualizer.dark,
.thumb.dark {
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(143, 107, 255, 0.28), rgba(5, 23, 27, 0.92)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 22px 80px rgba(0, 0, 0, 0.28);
}

.cover-title,
.video-title {
  color: var(--mint);
  text-shadow: 0 0 34px rgba(85, 240, 177, 0.22);
}

.cover-artist,
.video-artist {
  color: #d7ccff;
}

.cover-choice {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.075);
  color: #ffffff;
}

.cover-choice img {
  border-radius: 8px;
}

.cover-choice.selected {
  border-color: rgba(85, 240, 177, 0.65);
  box-shadow: 0 0 0 3px rgba(85, 240, 177, 0.12), 0 20px 56px rgba(0, 0, 0, 0.28);
}

.cover-choice.selected::after {
  background: rgba(6, 10, 16, 0.78);
  color: var(--mint);
}

.cover-ai-empty {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
}

.mini-visualizer {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.audio-bars span {
  background: linear-gradient(180deg, var(--mint), var(--cyan) 48%, var(--primary));
  box-shadow: 0 0 16px rgba(53, 216, 255, 0.18);
}

.audio-bars span:nth-child(3n) {
  background: linear-gradient(180deg, var(--rose), var(--primary));
}

.audio-bars span:nth-child(4n) {
  background: linear-gradient(180deg, var(--amber), var(--mint));
}

.video-mockup {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(4, 6, 14, 0.62);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.video-time {
  color: var(--cyan);
}

.readonly-box,
.recommended-title,
.analysis-block,
.payment-note {
  background: rgba(4, 6, 14, 0.42);
}

.recommended-title {
  color: #ffffff;
}

.score strong,
.opportunity-row b,
.included-row strong,
.score-card li span,
.permissions span::first-letter {
  color: var(--mint);
}

.warning-box {
  border: 1px solid rgba(255, 195, 107, 0.26);
  border-radius: 8px;
  background: var(--warning-soft);
  color: var(--warning);
}

.upload-status {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  color: #c7d2e5;
}

.upload-status[data-tone="loading"] {
  border-color: rgba(53, 216, 255, 0.28);
  background: rgba(53, 216, 255, 0.12);
  color: #b9f1ff;
}

.upload-status[data-tone="success"] {
  border-color: rgba(85, 240, 177, 0.28);
  background: var(--success-soft);
  color: var(--success);
}

.upload-status[data-tone="warning"] {
  border-color: rgba(255, 195, 107, 0.28);
  background: var(--warning-soft);
  color: var(--warning);
}

.upload-status[data-tone="error"],
.upload-status.error {
  border-color: rgba(255, 111, 141, 0.32);
  background: var(--danger-soft);
  color: var(--danger);
}

.comparison-table th,
.comparison-table td {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.comparison-table th {
  color: var(--muted);
}

.comparison-table .yes {
  color: var(--mint);
}

.retention-note,
.choice-strip {
  border: 1px solid rgba(53, 216, 255, 0.18);
  background: rgba(53, 216, 255, 0.08);
  color: #b9f1ff;
}

.progress-track {
  background: rgba(255, 255, 255, 0.09);
}

.progress-track span {
  background: linear-gradient(90deg, var(--mint), var(--cyan), var(--primary));
}

.youtube-icon {
  border: 1px solid rgba(255, 95, 168, 0.42);
  background: rgba(255, 95, 168, 0.16);
  color: #ffffff;
}

.dashboard {
  background: transparent;
}

.sidebar {
  border-right: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(5, 6, 11, 0.78);
  backdrop-filter: blur(22px) saturate(140%);
}

.sidebar nav a {
  border-radius: 8px;
  color: #aeb9cf;
}

.sidebar nav a.active,
.sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.stat-card strong,
.recap-total strong,
.price-card .price {
  color: #ffffff;
}

.thumb {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(53, 216, 255, 0.18), rgba(143, 107, 255, 0.18));
}

.creation-row {
  border-top-color: rgba(255, 255, 255, 0.12);
}

hr,
.recap-total {
  border-top-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 1100px) {
  .landing-shell,
  .content-shell,
  .workflow-shell,
  .center-shell {
    width: min(100% - 40px, 920px);
  }

  .hero {
    min-height: auto;
    padding: 54px 0 76px;
  }

  .hero-copy {
    max-width: 820px;
    padding-bottom: 22px;
  }

  .hero-preview {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    min-height: auto;
    margin-top: 24px;
  }
}

@media (max-width: 720px) {
  .landing-shell,
  .content-shell,
  .workflow-shell,
  .center-shell {
    width: min(100% - 28px, 640px);
  }

  .topbar {
    padding: 14px;
  }

  .hero h1,
  .page-intro h1,
  .center-intro h1 {
    font-size: 34px;
  }

  .hero-copy p,
  .page-intro p {
    font-size: 16px;
  }

  .stepper {
    width: 100%;
  }

  .cover-choice-grid {
    grid-template-columns: 1fr;
  }

  .cover-ai-head,
  .seo-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .cover-ai-head .btn,
  .seo-toolbar .btn {
    width: 100%;
  }

  .cover-card {
    max-width: 420px;
  }
}
/* UI polish after screenshot pass */
@media (min-width: 1101px) {
  .hero-copy {
    max-width: 660px;
  }

  .hero h1 {
    max-width: 660px;
    font-size: 54px;
  }

  .hero-preview {
    width: min(48%, 650px);
  }
}

.cover-layout,
.style-layout,
.seo-layout,
.preview-layout,
.payment-layout,
.dashboard-grid,
.two-column,
.form-grid,
.card,
.upload-card,
.option-panel,
.seo-editor,
.score-card,
.payment-card,
.order-card,
.recap-card,
.auth-card,
.youtube-card,
.progress-card,
.success-card,
.download-card {
  min-width: 0;
}

@media (max-width: 720px) {
  body {
    overflow-x: hidden;
  }

  .workflow-shell > *,
  .content-shell > *,
  .center-shell > * {
    max-width: 100%;
  }

  .two-column,
  .cover-layout,
  .style-layout,
  .seo-layout,
  .preview-layout,
  .payment-layout,
  .dashboard-grid,
  .form-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .card,
  .upload-card,
  .option-panel,
  .seo-editor,
  .score-card,
  .payment-card,
  .order-card,
  .recap-card,
  .auth-card,
  .youtube-card,
  .progress-card,
  .success-card,
  .download-card {
    width: 100%;
    padding-left: 22px;
    padding-right: 22px;
  }

  .step {
    flex: 0 0 70px;
  }

  .step:not(:last-child)::after {
    left: 48px;
    width: 54px;
  }

  .field,
  .field input,
  .field textarea,
  .readonly-box,
  .recommended-title,
  .strategy-option,
  .analysis-block {
    min-width: 0;
  }

  .seo-toolbar,
  .cover-ai-head {
    min-width: 0;
  }
}
/* Compact mobile production stepper */
@media (max-width: 720px) {
  .page-intro,
  .page-intro h1,
  .page-intro p,
  .hero-copy,
  .hero h1,
  .hero-copy p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .stepper {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0;
    overflow: visible;
    padding: 12px 10px 34px;
  }

  .step {
    width: auto;
    min-width: 0;
    font-size: 0;
  }

  .step-label {
    display: none;
  }

  .step.active .step-label {
    position: absolute;
    top: 38px;
    left: 50%;
    display: block;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 11px;
    white-space: nowrap;
  }

  .step-dot {
    margin-bottom: 0;
  }

  .step:not(:last-child)::after {
    top: 14px;
    left: calc(50% + 14px);
    width: calc(100% - 28px);
  }
}
/* Hard mobile viewport bounds */
@media (max-width: 720px) {
  .landing-shell,
  .content-shell,
  .workflow-shell,
  .center-shell {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .card,
  .upload-card,
  .option-panel,
  .seo-editor,
  .score-card,
  .payment-card,
  .order-card,
  .recap-card,
  .auth-card,
  .youtube-card,
  .progress-card,
  .success-card,
  .download-card,
  .stepper {
    max-width: calc(100vw - 28px) !important;
    justify-self: stretch;
  }

  .seo-editor,
  .score-card,
  .option-panel,
  .payment-card,
  .order-card,
  .recap-card,
  .auth-card,
  .youtube-card,
  .progress-card,
  .success-card,
  .download-card {
    width: 100% !important;
  }

  .seo-toolbar .btn,
  .cover-ai-head .btn,
  .field input,
  .field textarea {
    max-width: 100%;
  }
}
/* Style builder palette and previews */
.style-card {
  grid-template-columns: minmax(132px, 156px) 1fr;
  overflow: hidden;
  position: relative;
}

.style-card-copy {
  display: block;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.style-preview {
  --accent-color: #6D5EF7;
  align-items: center;
  background:
    radial-gradient(circle at 28% 18%, color-mix(in srgb, var(--accent-color) 34%, transparent), transparent 34%),
    linear-gradient(145deg, rgba(14, 20, 38, 0.96), rgba(5, 16, 24, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 18px 44px rgba(0, 0, 0, 0.2);
  display: flex;
  height: 150px;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 150px;
}

.style-preview::before {
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 18px);
  content: "";
  inset: 0;
  opacity: 0.18;
  position: absolute;
}

.preview-cover,
.preview-orbit,
.preview-bars,
.preview-glow {
  position: absolute;
  z-index: 1;
}

.preview-cover {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent-color) 44%, #111827), rgba(7, 12, 24, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 46px color-mix(in srgb, var(--accent-color) 22%, transparent);
  display: flex;
  justify-content: center;
  width: 62%;
}

.preview-cover span {
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  box-shadow: 0 12px 30px color-mix(in srgb, var(--accent-color) 28%, transparent);
  height: 8px;
  width: 56%;
}

.preview-glow {
  background: color-mix(in srgb, var(--accent-color) 40%, transparent);
  border-radius: 999px;
  filter: blur(18px);
  height: 56px;
  opacity: 0.58;
  right: -12px;
  top: -12px;
  width: 56px;
}

.preview-orbit {
  aspect-ratio: 1;
  border: 3px solid rgba(255, 255, 255, 0.16);
  border-right-color: var(--accent-color);
  border-radius: 50%;
  opacity: 0;
  width: 78%;
}

.preview-bars {
  align-items: end;
  bottom: 18px;
  display: flex;
  gap: 4px;
  height: 54%;
  justify-content: center;
  left: 18px;
  opacity: 0;
  right: 18px;
}

.preview-bars i {
  background: linear-gradient(180deg, var(--accent-color), rgba(255, 255, 255, 0.82));
  border-radius: 999px 999px 3px 3px;
  box-shadow: 0 0 14px color-mix(in srgb, var(--accent-color) 38%, transparent);
  display: block;
  flex: 1;
  height: var(--bar-height);
  max-width: 6px;
  min-width: 3px;
}

.preview-cover-motion .preview-cover {
  transform: rotate(-3deg);
}

.preview-circular .preview-cover {
  width: 46%;
}

.preview-circular .preview-orbit {
  opacity: 1;
}

.preview-circular .preview-bars {
  opacity: 0.18;
}

.preview-bars-style .preview-cover {
  right: 18px;
  top: 18px;
  width: 42%;
}

.preview-bars-style .preview-bars {
  bottom: 16px;
  left: 16px;
  opacity: 1;
  right: 52px;
}

.preview-minimal {
  background: linear-gradient(145deg, rgba(22, 27, 42, 0.92), rgba(8, 12, 20, 0.94));
}

.preview-minimal::before {
  opacity: 0.05;
}

.preview-minimal .preview-cover {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), color-mix(in srgb, var(--accent-color) 24%, rgba(255, 255, 255, 0.03)));
  box-shadow: none;
  width: 70%;
}

.preview-minimal .preview-cover span {
  background: var(--accent-color);
  box-shadow: none;
}

.color-field {
  gap: 10px;
}

.color-input-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 42px minmax(0, 1fr);
}

.color-preview {
  background: var(--selected-color, #6D5EF7);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  box-shadow: 0 14px 34px color-mix(in srgb, var(--selected-color, #6D5EF7) 28%, transparent);
  height: 42px;
  width: 42px;
}

.color-palette {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
}

.color-swatch {
  align-items: stretch;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 54px;
  padding: 8px;
  text-align: left;
}

.color-swatch::before {
  background: linear-gradient(135deg, var(--swatch-color), color-mix(in srgb, var(--swatch-color) 48%, #050816));
  border-radius: 6px;
  content: "";
  height: 16px;
  width: 100%;
}

.color-swatch span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.05;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.color-swatch:hover,
.color-swatch.selected {
  border-color: color-mix(in srgb, var(--swatch-color) 72%, #ffffff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--swatch-color) 18%, transparent);
}

.style-template-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
  padding-top: 18px;
}

.style-helper-title {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.style-template-list {
  display: grid;
  gap: 8px;
}

.style-template {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #ffffff;
  column-gap: 10px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 10px;
  text-align: left;
}

.template-color {
  background: var(--template-color, #6D5EF7);
  border-radius: 8px;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--template-color, #6D5EF7) 28%, transparent);
  grid-row: span 2;
  height: 34px;
  width: 34px;
}

.style-template strong,
.style-template small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.style-template small {
  color: var(--muted);
  font-size: 11px;
}

.style-template:hover {
  border-color: rgba(53, 216, 255, 0.36);
}

@keyframes previewFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-6px) rotate(2deg); }
}

@keyframes previewSpin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .style-card.selected .preview-cover-motion .preview-cover,
  .style-card.selected .preview-circular .preview-orbit,
  .style-card.selected .preview-bars i,
  .style-card.selected .preview-glow,
  .style-card.selected .preview-typographic .preview-cover span,
  .style-card.selected .preview-vhs-retro::before {
    animation: none !important;
  }
}

@media (max-width: 720px) {
  .style-card {
    gap: 14px;
    grid-template-columns: 102px minmax(0, 1fr);
    min-height: 132px;
    padding: 14px;
  }

  .style-preview {
    height: 102px;
    width: 102px;
  }

  .color-palette {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .style-card {
    grid-template-columns: 1fr;
  }

  .style-preview {
    height: 142px;
    width: 100%;
  }
}
/* Style route mobile bounds */
@media (max-width: 720px) {
  body[data-route="style"] .topbar {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body[data-route="style"] .topbar .brand {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body[data-route="style"] .topbar-section,
  body[data-route="style"] .app-topnav {
    display: none;
  }

  body[data-route="style"] .workflow-shell {
    max-width: 100vw;
    overflow-x: hidden;
  }

  body[data-route="style"] .page-intro h1 {
    font-size: 32px;
    line-height: 1.08;
    max-width: calc(100vw - 28px);
  }

  body[data-route="style"] .style-grid,
  body[data-route="style"] .style-layout,
  body[data-route="style"] .customize-card {
    max-width: calc(100vw - 28px);
    width: 100%;
  }

  body[data-route="style"] .customize-card {
    padding: 22px;
  }
}
/* Style route narrow viewport lock */
@media (max-width: 720px) {
  body[data-route="style"] .topbar,
  body[data-route="style"] .workflow-shell {
    margin-left: 0;
    margin-right: 0;
    max-width: min(390px, 100vw) !important;
    width: min(390px, 100vw) !important;
  }

  body[data-route="style"] .style-card,
  body[data-route="style"] .customize-card,
  body[data-route="style"] .stepper {
    max-width: calc(min(390px, 100vw) - 28px) !important;
  }
}
/* Compact style templates on wide screens */
@media (min-width: 721px) {
  .style-template-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .style-template {
    align-content: start;
    grid-template-columns: 1fr;
    min-height: 86px;
  }

  .template-color {
    grid-row: auto;
    height: 18px;
    width: 100%;
  }

  .style-template strong {
    font-size: 12px;
    line-height: 1.15;
  }
}
/* Premium style price badges */
.premium-style {
  padding-top: 30px;
}

.premium-badge {
  align-items: center;
  background: linear-gradient(135deg, #ffe7a3, #f6b73c 48%, #b87812);
  border: 1px solid rgba(255, 236, 166, 0.92);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(246, 183, 60, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  color: #2b1900;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  min-height: 30px;
  padding: 0 12px;
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 4;
}

.premium-label,
.included-badge {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  min-height: 24px;
  padding: 0 9px;
}

.premium-label {
  background: rgba(246, 183, 60, 0.12);
  border: 1px solid rgba(246, 183, 60, 0.28);
  color: #ffd98a;
}

.included-badge {
  background: rgba(85, 240, 177, 0.1);
  border: 1px solid rgba(85, 240, 177, 0.24);
  color: var(--mint);
}

.style-card-meta {
  display: block;
  margin-bottom: 10px;
}

@media (max-width: 720px) {
  .premium-style {
    padding-top: 42px;
  }

  .premium-badge {
    right: 12px;
    top: 12px;
  }
}
/* Selected style preview motion */
.style-card.selected .preview-cover-motion .preview-cover {
  animation: previewFloat 5s ease-in-out infinite;
}

.style-card.selected .preview-circular .preview-orbit {
  animation: previewSpin 4.6s linear infinite;
}

.style-card.selected .preview-bars-style .preview-bars i,
.style-card.selected .preview-waveform-3d .preview-bars i,
.style-card.selected .preview-festival .preview-bars i {
  animation: previewBarPulse 1.25s ease-in-out infinite alternate;
}

.style-card.selected .preview-bars i:nth-child(2n) {
  animation-delay: -0.28s;
}

.style-card.selected .preview-bars i:nth-child(3n) {
  animation-delay: -0.52s;
}

.style-card.selected .preview-bars i:nth-child(5n) {
  animation-delay: -0.74s;
}

.style-card.selected .preview-glow {
  animation: previewGlowPulse 2.8s ease-in-out infinite;
}

.style-card.selected .preview-typographic .preview-cover span {
  animation: previewTypePulse 1.45s ease-in-out infinite alternate;
}

.style-card.selected .preview-vhs-retro::before {
  animation: previewScanlines 0.9s linear infinite;
}

.preview-neon-tunnel .preview-cover {
  border-radius: 28px;
  width: 50%;
}

.preview-neon-tunnel .preview-orbit {
  border-radius: 8px;
  inset: 19px;
  opacity: 1;
  transform: perspective(90px) rotateX(58deg);
  width: auto;
}

.preview-waveform-3d .preview-cover {
  right: 16px;
  top: 20px;
  width: 40%;
}

.preview-waveform-3d .preview-bars {
  bottom: 20px;
  left: 14px;
  opacity: 1;
  right: 42px;
  transform: skewX(-8deg);
}

.preview-vhs-retro {
  background:
    linear-gradient(145deg, rgba(42, 22, 56, 0.9), rgba(8, 12, 20, 0.94)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 6px);
}

.preview-vhs-retro .preview-cover {
  filter: saturate(0.72) contrast(1.14);
  transform: rotate(2deg);
}

.preview-festival .preview-bars {
  bottom: 16px;
  left: 16px;
  opacity: 1;
  right: 16px;
}

.preview-festival .preview-cover {
  top: 22px;
  width: 45%;
}

.preview-smoke .preview-glow {
  filter: blur(28px);
  height: 94px;
  opacity: 0.52;
  right: 14px;
  top: 26px;
  width: 92px;
}

.preview-smoke .preview-cover {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), color-mix(in srgb, var(--accent-color) 26%, #050816));
  filter: blur(0.2px);
}

.preview-typographic .preview-cover {
  width: 72%;
}

.preview-typographic .preview-cover span {
  height: 12px;
  width: 68%;
}

@keyframes previewBarPulse {
  from { height: calc(var(--bar-height) * 0.55); opacity: 0.55; }
  to { height: var(--bar-height); opacity: 1; }
}

@keyframes previewGlowPulse {
  0%, 100% { opacity: 0.42; transform: scale(0.92); }
  50% { opacity: 0.84; transform: scale(1.12); }
}

@keyframes previewTypePulse {
  from { transform: scaleX(0.62); opacity: 0.72; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes previewScanlines {
  from { background-position: 0 0; }
  to { background-position: 0 12px; }
}
/* Style page picker and AI palettes */
.style-options-column {
  display: grid;
  gap: 34px;
  min-width: 0;
}

.style-group {
  display: grid;
  gap: 16px;
  min-width: 0;
}

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

.style-group-head h2 {
  color: #ffffff;
  font-size: 24px;
  margin: 0;
}

.style-group-head span {
  color: var(--muted);
  font-size: 14px;
}

.color-input-row {
  grid-template-columns: 48px minmax(0, 1fr);
  position: relative;
}

.color-preview-button {
  background: var(--selected-color, #6D5EF7);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  box-shadow: 0 14px 34px color-mix(in srgb, var(--selected-color, #6D5EF7) 28%, transparent);
  cursor: pointer;
  height: 48px;
  width: 48px;
}

.color-preview-button:hover {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--selected-color, #6D5EF7) 24%, transparent), 0 14px 34px color-mix(in srgb, var(--selected-color, #6D5EF7) 28%, transparent);
}

.native-color-input {
  height: 1px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
}


.ai-palette-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
}

.ai-palette-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.ai-palette-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.ai-palette-head .btn {
  min-height: 36px;
  padding: 0 14px;
}

.ai-palette-list {
  display: grid;
  gap: 10px;
}

.ai-palette-empty {
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  padding: 12px;
}

.ai-palette-choice {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #ffffff;
  display: grid;
  gap: 7px;
  padding: 10px;
  text-align: left;
}

.ai-palette-choice:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.ai-palette-strip {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  height: 18px;
  overflow: hidden;
  border-radius: 6px;
}

.ai-palette-strip i:nth-child(1) {
  background: var(--palette-primary);
}

.ai-palette-strip i:nth-child(2) {
  background: var(--palette-secondary);
}

.ai-palette-strip i:nth-child(3) {
  background: var(--palette-accent);
}

.ai-palette-choice strong,
.ai-palette-choice small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-palette-choice small {
  color: var(--muted);
  font-size: 11px;
}

.style-order-note {
  border: 1px solid rgba(246, 183, 60, 0.26);
  border-radius: 8px;
  background: rgba(246, 183, 60, 0.1);
  color: #ffd98a;
  font-size: 13px;
  font-weight: 800;
  margin-top: 18px;
  padding: 12px;
}

.premium-line strong {
  color: #ffd98a;
}

@media (max-width: 720px) {
  .style-group-head {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .style-group-head h2 {
    font-size: 21px;
  }
}
/* Checkout QR handoff */
.checkout-handoff[hidden] {
  display: none !important;
}

.checkout-handoff {
  border: 1px solid rgba(53, 216, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(53, 216, 255, 0.105), rgba(255, 255, 255, 0.045));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2);
  display: grid;
  gap: 16px;
  margin: 0 0 18px;
  padding: 18px;
}

.checkout-handoff-copy {
  display: grid;
  gap: 6px;
  text-align: center;
}

.checkout-handoff-copy strong {
  color: #ffffff;
  font-size: 17px;
}

.checkout-handoff-copy span,
.checkout-handoff small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.checkout-handoff small {
  display: block;
  text-align: center;
}

.checkout-qr {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  justify-self: center;
  padding: 12px;
  width: min(220px, 100%);
}

.checkout-qr-svg {
  display: block;
  height: auto;
  width: 100%;
}

@media (max-width: 720px) {
  .checkout-handoff {
    padding: 14px;
  }

  .checkout-qr {
    width: min(190px, 100%);
  }
}
/* Template selection and customization split */
.template-filter-bar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.template-filter {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  min-height: 38px;
  padding: 0 15px;
}

.template-filter:hover,
.template-filter.selected {
  background: linear-gradient(135deg, var(--cyan), var(--primary));
  border-color: transparent;
  color: #06111f;
}

.template-grid .style-card[hidden] {
  display: none;
}

.selected-template-card {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 92px;
}

.selected-template-preview .style-preview {
  height: 190px;
  width: 100%;
}

.selected-template-card > strong {
  color: #ffffff;
  font-size: 22px;
}

.selected-template-card > span,
.selected-template-card > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.template-detail-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 10px;
  padding-top: 14px;
}

.template-detail-list div {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.template-detail-list span {
  color: var(--muted);
  font-size: 12px;
}

.template-detail-list strong {
  color: #ffffff;
  font-size: 13px;
  text-align: right;
}

.customize-layout {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.65fr) 394px;
}

.live-preview-card {
  display: grid;
  gap: 22px;
  padding: 30px;
}

.live-preview-head {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.live-preview-head h2 {
  color: #ffffff;
  font-size: 26px;
  margin: 4px 0 6px;
}

.live-preview-head p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.inline-price {
  position: static;
  white-space: nowrap;
}

.video-live-preview {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  height: auto;
  min-height: 360px;
  width: 100%;
}

.video-live-preview .live-cover-card {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent-color) 34%, rgba(255, 255, 255, 0.12)), rgba(4, 8, 17, 0.78));
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  box-shadow: 0 24px 80px color-mix(in srgb, var(--accent-color) 26%, transparent);
  display: flex;
  justify-content: center;
  position: absolute;
  width: min(34%, 260px);
  z-index: 2;
}

.video-live-preview .live-cover-card.has-cover span {
  display: none;
}

.video-live-preview .live-cover-card span {
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  height: 10px;
  width: 56%;
}

.video-live-preview .preview-cover {
  opacity: 0.32;
  right: 12%;
  top: 16%;
  width: 18%;
}

.video-live-preview .preview-orbit {
  opacity: 0.92;
  width: min(42%, 330px);
}

.video-live-preview .preview-bars {
  bottom: 12%;
  left: 9%;
  opacity: 0.74;
  right: 9%;
}

.video-live-preview.preview-cover-motion .preview-cover,
.video-live-preview.preview-cover-motion .live-cover-card {
  animation: previewFloat 5s ease-in-out infinite;
}

.video-live-preview.preview-circular .preview-orbit {
  animation: previewSpin 4.6s linear infinite;
}

.video-live-preview.preview-bars-style .preview-bars i,
.video-live-preview.preview-waveform-3d .preview-bars i,
.video-live-preview.preview-festival .preview-bars i {
  animation: previewBarPulse 1.25s ease-in-out infinite alternate;
}

.video-live-preview .preview-glow {
  animation: previewGlowPulse 2.8s ease-in-out infinite;
}

.live-title-block {
  bottom: 30px;
  display: grid;
  gap: 4px;
  left: 32px;
  position: absolute;
  z-index: 4;
}

.live-title-block strong {
  color: #ffffff;
  font-size: clamp(24px, 4vw, 52px);
  line-height: 1;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.42);
}

.live-title-block span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .template-layout,
  .customize-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .selected-template-card {
    position: static;
  }
}

@media (max-width: 720px) {
  body[data-route="customize"] .topbar,
  body[data-route="customize"] .workflow-shell {
    margin-left: 0;
    margin-right: 0;
    max-width: min(390px, 100vw) !important;
    width: min(390px, 100vw) !important;
  }

  body[data-route="customize"] .customize-card,
  body[data-route="customize"] .live-preview-card,
  body[data-route="customize"] .stepper {
    max-width: calc(min(390px, 100vw) - 28px) !important;
  }

  .live-preview-card {
    padding: 20px;
  }

  .live-preview-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .video-live-preview {
    min-height: 210px;
  }

  .live-title-block {
    bottom: 18px;
    left: 18px;
  }
}
/* Live video preview composition fixes */
.video-live-preview {
  container-type: inline-size;
  isolation: isolate;
  min-height: clamp(300px, 42vw, 460px);
}

.video-live-preview::after {
  background: linear-gradient(180deg, transparent 0%, rgba(4, 8, 17, 0.7) 48%, rgba(4, 8, 17, 0.96) 100%);
  bottom: 0;
  content: "";
  height: 38%;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: 3;
}

.video-live-preview .live-cover-card {
  left: 50%;
  top: 41%;
  transform: translate(-50%, -50%);
  width: clamp(150px, 28%, 230px);
}

.video-live-preview .preview-cover {
  opacity: 0.2;
  right: 11%;
  top: 16%;
  width: clamp(110px, 17%, 170px);
}

.video-live-preview .preview-orbit {
  left: 50%;
  top: 41%;
  transform: translate(-50%, -50%);
  width: clamp(240px, 45%, 360px);
}

.video-live-preview .preview-bars {
  bottom: 25%;
  height: 28%;
  left: 15%;
  opacity: 0.34;
  right: 15%;
  z-index: 1;
}

.video-live-preview.preview-bars-style .preview-bars,
.video-live-preview.preview-waveform-3d .preview-bars,
.video-live-preview.preview-festival .preview-bars {
  bottom: 24%;
  height: 32%;
  opacity: 0.72;
}

.video-live-preview .preview-glow {
  z-index: 0;
}

.live-title-block {
  gap: 7px;
  max-width: min(82%, 740px);
  pointer-events: none;
  text-align: center;
  z-index: 4;
}

.live-title-block.title-bottom {
  bottom: clamp(20px, 5%, 36px);
  left: 50%;
  right: auto;
  top: auto;
  transform: translateX(-50%);
}

.live-title-block.title-top {
  bottom: auto;
  left: 50%;
  right: auto;
  top: clamp(20px, 5%, 34px);
  transform: translateX(-50%);
}

.live-title-block.title-center {
  bottom: auto;
  left: 50%;
  right: auto;
  top: 50%;
  transform: translate(-50%, -50%);
}

.live-title-block strong {
  display: block;
  font-size: clamp(24px, 2.4vw, 40px);
  font-size: clamp(24px, 5cqw, 42px);
  letter-spacing: 0;
  line-height: 1.02;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.live-title-block span {
  color: rgba(248, 250, 252, 0.74);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes livePreviewSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes livePreviewCoverFloat {
  0%, 100% { transform: translate(-50%, -50%) rotate(-2deg); }
  50% { transform: translate(-50%, calc(-50% - 8px)) rotate(1.5deg); }
}

.video-live-preview.preview-circular .preview-orbit {
  animation: livePreviewSpin 4.8s linear infinite;
}

.video-live-preview.preview-cover-motion .live-cover-card {
  animation: livePreviewCoverFloat 5s ease-in-out infinite;
}

@media (max-width: 720px) {
  .video-live-preview {
    min-height: 220px;
  }

  .video-live-preview .live-cover-card {
    width: clamp(104px, 30%, 140px);
  }

  .video-live-preview .preview-orbit {
    width: clamp(150px, 48%, 210px);
  }

  .video-live-preview .preview-bars {
    bottom: 28%;
    left: 12%;
    right: 12%;
  }

  .live-title-block {
    max-width: 88%;
  }
}
/* Template animation audit fixes */
@keyframes previewTunnelPulse {
  0%, 100% { opacity: 0.72; transform: perspective(90px) rotateX(58deg) translateY(0) scaleX(0.92); }
  50% { opacity: 1; transform: perspective(90px) rotateX(58deg) translateY(4px) scaleX(1.08); }
}

@keyframes previewDepthFloat {
  0%, 100% { transform: translateY(0) skewX(-2deg); }
  50% { transform: translateY(-5px) skewX(2deg); }
}

@keyframes previewSmokeDrift {
  0%, 100% { opacity: 0.36; transform: translate(-8px, 4px) scale(0.9); }
  50% { opacity: 0.72; transform: translate(8px, -6px) scale(1.18); }
}

@keyframes previewMinimalPulse {
  0%, 100% { opacity: 0.72; transform: scaleX(0.64); }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes liveBarsPulse {
  from { height: calc(var(--bar-height) * 0.42); opacity: 0.45; }
  to { height: var(--bar-height); opacity: 1; }
}

@keyframes liveTunnelPulse {
  0%, 100% { opacity: 0.62; transform: translate(-50%, -50%) perspective(160px) rotateX(64deg) scaleX(0.86); }
  50% { opacity: 1; transform: translate(-50%, -50%) perspective(160px) rotateX(64deg) scaleX(1.15); }
}

@keyframes liveDepthFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0) skewX(-0.8deg); }
  50% { transform: translate(-50%, -50%) translateY(-8px) skewX(0.8deg); }
}
@keyframes liveVhsJitter {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg); filter: saturate(0.78) contrast(1.1); }
  30% { transform: translate(calc(-50% + 2px), calc(-50% - 1px)) rotate(-0.5deg); }
  62% { transform: translate(calc(-50% - 2px), calc(-50% + 1px)) rotate(0.5deg); filter: saturate(0.92) contrast(1.22); }
}

@keyframes liveScanlines {
  from { background-position: 0 0; }
  to { background-position: 0 18px; }
}

@keyframes liveSmokeDrift {
  0%, 100% { opacity: 0.28; transform: translate(-20px, 18px) scale(0.9); }
  50% { opacity: 0.68; transform: translate(24px, -18px) scale(1.22); }
}

@keyframes liveTypePulse {
  0%, 100% { color: #ffffff; letter-spacing: 0; transform: scale(0.985); }
  50% { color: var(--accent-color); letter-spacing: 0.03em; transform: scale(1.025); }
}

@keyframes liveTypeUnderline {
  0%, 100% { opacity: 0.58; transform: translateX(-50%) scaleX(0.42); }
  50% { opacity: 1; transform: translateX(-50%) scaleX(1); }
}

.style-card.selected .preview-neon-tunnel .preview-orbit {
  animation: previewTunnelPulse 1.8s ease-in-out infinite;
}

.style-card.selected .preview-waveform-3d .preview-cover,
.style-card.selected .preview-festival .preview-cover,
.style-card.selected .preview-smoke .preview-cover {
  animation: previewDepthFloat 3.2s ease-in-out infinite;
}

.style-card.selected .preview-minimal .preview-cover span {
  animation: previewMinimalPulse 1.7s ease-in-out infinite;
  transform-origin: center;
}

.style-card.selected .preview-smoke .preview-glow {
  animation: previewSmokeDrift 3.6s ease-in-out infinite;
}

.video-live-preview .preview-cover,
.video-live-preview .preview-orbit,
.video-live-preview .preview-bars {
  opacity: 0;
}

.video-live-preview.preview-cover-motion .live-cover-card {
  animation: livePreviewCoverFloat 5s ease-in-out infinite;
}

.video-live-preview.preview-cover-motion .preview-glow,
.video-live-preview.preview-minimal .preview-glow,
.video-live-preview.preview-typographic .preview-glow {
  opacity: 0.58;
  animation: previewGlowPulse 3s ease-in-out infinite;
}

.video-live-preview.preview-circular .preview-orbit {
  opacity: 0.92;
  animation: livePreviewSpin 4.8s linear infinite;
}

.video-live-preview.preview-circular .preview-bars {
  opacity: 0.18;
}

.video-live-preview.preview-bars-style .live-cover-card,
.video-live-preview.preview-waveform-3d .live-cover-card,
.video-live-preview.preview-festival .live-cover-card {
  left: 69%;
  top: 38%;
  width: clamp(120px, 20%, 180px);
}

.video-live-preview.preview-bars-style .preview-bars,
.video-live-preview.preview-waveform-3d .preview-bars,
.video-live-preview.preview-festival .preview-bars {
  bottom: 26%;
  height: 34%;
  left: 10%;
  opacity: 0.78;
  right: 10%;
}

.video-live-preview.preview-waveform-3d .preview-bars {
  transform: skewX(-8deg) perspective(300px) rotateX(14deg);
}

.video-live-preview.preview-bars-style .preview-bars i,
.video-live-preview.preview-waveform-3d .preview-bars i,
.video-live-preview.preview-festival .preview-bars i {
  animation: liveBarsPulse 1.15s ease-in-out infinite alternate;
}

.video-live-preview.preview-bars-style .preview-bars i:nth-child(2n),
.video-live-preview.preview-waveform-3d .preview-bars i:nth-child(2n),
.video-live-preview.preview-festival .preview-bars i:nth-child(2n) {
  animation-delay: -0.22s;
}

.video-live-preview.preview-bars-style .preview-bars i:nth-child(3n),
.video-live-preview.preview-waveform-3d .preview-bars i:nth-child(3n),
.video-live-preview.preview-festival .preview-bars i:nth-child(3n) {
  animation-delay: -0.44s;
}

.video-live-preview.preview-neon-tunnel .preview-orbit {
  border-radius: 8px;
  border-width: 2px;
  bottom: auto;
  height: 38%;
  inset: auto;
  left: 50%;
  opacity: 0.94;
  right: auto;
  top: 48%;
  width: 68%;
  animation: liveTunnelPulse 1.9s ease-in-out infinite;
}

.video-live-preview.preview-neon-tunnel .preview-glow {
  opacity: 0.76;
  animation: previewGlowPulse 2.4s ease-in-out infinite;
}

.video-live-preview.preview-neon-tunnel .live-cover-card {
  animation: livePreviewCoverFloat 4.8s ease-in-out infinite;
}

.video-live-preview.preview-vhs-retro::before {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.13) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
  opacity: 0.2;
  animation: liveScanlines 0.9s linear infinite;
}

.video-live-preview.preview-vhs-retro .live-cover-card {
  animation: liveVhsJitter 1.6s steps(2, end) infinite;
}

.video-live-preview.preview-festival .preview-glow {
  opacity: 0.88;
  animation: previewGlowPulse 1.8s ease-in-out infinite;
}

.video-live-preview.preview-smoke .preview-glow {
  filter: blur(48px);
  height: 38%;
  opacity: 0.58;
  right: 16%;
  top: 17%;
  width: 34%;
  animation: liveSmokeDrift 4.6s ease-in-out infinite;
}

.video-live-preview.preview-smoke .live-cover-card {
  animation: liveDepthFloat 4.2s ease-in-out infinite;
}

.video-live-preview.preview-minimal .live-cover-card {
  animation: liveDepthFloat 4.8s ease-in-out infinite;
}

.video-live-preview.preview-typographic .live-cover-card {
  opacity: 0.18;
  top: 42%;
  transform: translate(-50%, -50%) scale(1.12);
  width: clamp(180px, 34%, 280px);
}

.video-live-preview.preview-typographic .live-title-block {
  max-width: min(78%, 680px);
}

.video-live-preview.preview-typographic .live-title-block::before {
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  border-radius: 999px;
  bottom: -15px;
  box-shadow: 0 0 34px color-mix(in srgb, var(--accent-color) 60%, transparent);
  content: "";
  height: 6px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) scaleX(0.4);
  transform-origin: center;
  width: min(280px, 72%);
  animation: liveTypeUnderline 1.45s ease-in-out infinite;
}

.video-live-preview.preview-typographic .live-title-block strong {
  font-size: clamp(30px, 6cqw, 58px);
  line-height: 0.96;
  text-transform: uppercase;
  animation: liveTypePulse 1.45s ease-in-out infinite;
}

.video-live-preview.preview-typographic .live-title-block span {
  color: rgba(255, 255, 255, 0.82);
}

/* Workflow viewport UX pass */
:root {
  --app-topbar-height: 64px;
  --workflow-actionbar-height: 76px;
  --workflow-side-gutter: clamp(40px, 8vw, 112px);
  --focus-ring: #55e6ff;
}

html {
  scroll-padding-bottom: calc(var(--workflow-actionbar-height) + 24px);
}

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

:where(.btn, button, input, textarea, select, .option-row, .style-card, .color-swatch, .ai-palette-choice, .template-filter) {
  min-height: 44px;
}

:where(.btn, button, input, textarea, select, .option-row, .style-card, .color-swatch, .ai-palette-choice, .template-filter) {
  scroll-margin-bottom: calc(var(--workflow-actionbar-height) + 24px);
}

:is(
  body[data-route="import"],
  body[data-route="details"],
  body[data-route="cover"],
  body[data-route="style"],
  body[data-route="customize"],
  body[data-route="seo"],
  body[data-route="preview"],
  body[data-route="youtube"]
) .topbar,
body[data-route="payment"] .topbar,
body[data-route="studio"] .topbar {
  min-height: var(--app-topbar-height);
  padding-inline: clamp(22px, 3vw, 42px);
}

:is(
  body[data-route="import"],
  body[data-route="details"],
  body[data-route="cover"],
  body[data-route="style"],
  body[data-route="customize"],
  body[data-route="seo"],
  body[data-route="preview"],
  body[data-route="youtube"]
) {
  overflow: hidden;
}

:is(
  body[data-route="import"],
  body[data-route="details"],
  body[data-route="cover"],
  body[data-route="style"],
  body[data-route="customize"],
  body[data-route="seo"],
  body[data-route="preview"],
  body[data-route="youtube"]
) .workflow-shell {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  height: calc(100svh - var(--app-topbar-height));
  margin-inline: auto;
  overflow: hidden;
  padding: clamp(12px, 1.8vh, 20px) 0 0 !important;
  width: min(1360px, calc(100% - var(--workflow-side-gutter))) !important;
}

@supports not (height: 100svh) {
  :is(
    body[data-route="import"],
    body[data-route="details"],
    body[data-route="cover"],
    body[data-route="style"],
    body[data-route="customize"],
    body[data-route="seo"],
    body[data-route="preview"],
    body[data-route="youtube"]
  ) .workflow-shell {
    height: calc(100vh - var(--app-topbar-height));
  }
}

body[data-route="preview"] .workflow-shell {
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
}

.workflow-shell > .stepper {
  align-items: center;
  margin: 0 0 clamp(12px, 1.8vh, 20px);
  min-height: 52px;
  padding: 9px 14px;
}

.workflow-shell > .stepper .step {
  width: 76px;
}

.workflow-shell > .stepper .step-dot {
  height: 26px;
  margin-bottom: 5px;
  width: 26px;
}

.workflow-shell > .stepper .step:not(:last-child)::after {
  top: 13px;
}

.workflow-shell > .page-intro {
  margin: 0 0 clamp(14px, 2vh, 24px);
}

.workflow-shell > .page-intro .kicker {
  margin-bottom: 6px;
}

.workflow-shell > .page-intro h1 {
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.08;
  margin-bottom: 8px;
  max-width: 920px;
}

.workflow-shell > .page-intro p:not(.kicker) {
  font-size: 15px;
  line-height: 1.45;
  max-width: 940px;
}

.workflow-shell > :where(.two-column, .cover-layout, .style-layout, .customize-layout, .seo-layout, .preview-layout, .youtube-card) {
  min-height: 0;
  min-width: 0;
  overflow: auto;
  padding: 1px 6px 10px 1px;
  scrollbar-color: rgba(85, 230, 255, 0.42) transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

body[data-route="cover"] .cover-layout,
body[data-route="style"] .template-layout,
body[data-route="customize"] .customize-layout,
body[data-route="seo"] .seo-layout,
body[data-route="preview"] .preview-layout {
  overflow: hidden;
}

.workflow-shell > .page-actions,
.workflow-shell > .inline-actions {
  align-self: end;
  background: linear-gradient(180deg, rgba(5, 6, 11, 0), rgba(5, 6, 11, 0.88) 28%, rgba(5, 6, 11, 0.97));
  backdrop-filter: blur(16px) saturate(140%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  bottom: 0;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin: 0;
  min-height: var(--workflow-actionbar-height);
  padding: 12px 0 max(14px, env(safe-area-inset-bottom));
  position: sticky;
  z-index: 45;
}

.workflow-shell > .page-actions .btn,
.workflow-shell > .inline-actions .btn {
  min-width: 144px;
}

.workflow-shell > .page-actions .btn-primary,
.workflow-shell > .inline-actions .btn-primary {
  min-width: 164px;
}

.workflow-shell .btn.disabled,
.workflow-shell .btn[aria-disabled="true"],
.workflow-shell button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

body[data-route="import"] .upload-grid {
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 360px);
}

body[data-route="import"] .upload-main-stack {
  display: grid;
  gap: 10px;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
}

body[data-route="import"] .upload-card {
  min-height: clamp(250px, 42vh, 360px);
}

body[data-route="import"] .upload-card strong {
  font-size: clamp(20px, 1.8vw, 24px);
}

body[data-route="import"] .upload-flow-note {
  align-items: center;
  color: rgba(226, 232, 240, 0.72);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 4px 10px;
  line-height: 1.35;
  padding: 0 2px;
}

body[data-route="import"] .upload-flow-note strong {
  color: #55f0b1;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

body[data-route="import"] .upload-flow-note span {
  min-width: 0;
}

body[data-route="import"] .upload-flow-note a {
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

body[data-route="import"] .info-card,
body[data-route="details"] .ai-card {
  min-height: 0;
  padding: 24px;
}

body[data-route="details"] .details-layout {
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 360px);
}

body[data-route="details"] .form-grid {
  align-content: start;
  gap: 16px 20px;
}

body[data-route="details"] .field input,
body[data-route="seo"] .field input {
  min-height: 46px;
}

body[data-route="cover"] .cover-layout {
  gap: 24px;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
}

body[data-route="cover"] .cover-layout > div:first-child,
body[data-route="cover"] .option-panel,
body[data-route="style"] .style-options-column,
body[data-route="style"] .selected-template-card,
body[data-route="customize"] .live-preview-card,
body[data-route="customize"] .customize-card,
body[data-route="seo"] .seo-editor,
body[data-route="seo"] .score-card,
body[data-route="preview"] .recap-card {
  max-height: 100%;
  min-height: 0;
  overflow: auto;
  scrollbar-color: rgba(85, 230, 255, 0.42) transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

body[data-route="cover"] .cover-card {
  max-height: min(44vh, 360px);
  padding: 20px;
}

body[data-route="cover"] .cover-title {
  font-size: clamp(24px, 2.1vw, 32px);
}

body[data-route="cover"] .option-panel {
  padding: 24px;
}

body[data-route="cover"] .option-row {
  margin-top: 12px;
  min-height: 62px;
}

body[data-route="cover"] .cover-choice-grid {
  gap: 12px;
}

body[data-route="style"] .template-layout {
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
}

body[data-route="style"] .style-options-column {
  gap: 18px;
  padding-right: 8px;
}

body[data-route="style"] .style-group {
  gap: 12px;
}

body[data-route="style"] .style-group-head h2 {
  font-size: 22px;
}

body[data-route="style"] .template-filter-bar {
  margin-bottom: 10px;
}

body[data-route="style"] .template-filter {
  min-height: 40px;
}

body[data-route="style"] .style-grid {
  gap: 16px;
}

body[data-route="style"] .style-card {
  gap: 16px;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 136px;
  padding: 14px;
}

body[data-route="style"] .style-preview {
  height: 112px;
  width: 112px;
}

body[data-route="style"] .style-card small {
  margin: 8px 0 12px;
}

body[data-route="style"] .selected-template-card {
  gap: 12px;
  padding: 22px;
  position: static;
}

body[data-route="style"] .selected-template-preview .style-preview {
  height: 152px;
  width: 100%;
}

body[data-route="customize"] .customize-layout {
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 370px);
}

body[data-route="customize"] .live-preview-card,
body[data-route="customize"] .customize-card {
  padding: 22px;
}

body[data-route="customize"] .video-live-preview {
  aspect-ratio: auto;
  height: min(45vh, 430px);
  min-height: 270px;
}

body[data-route="customize"] .live-preview-head h2 {
  font-size: clamp(20px, 2vw, 26px);
}

body[data-route="customize"] .live-title-block strong {
  font-size: clamp(24px, 4cqw, 48px);
}

body[data-route="customize"] .color-palette {
  gap: 9px;
}

body[data-route="customize"] .style-template-list {
  grid-template-columns: minmax(0, 1fr);
}

body[data-route="seo"] .seo-layout {
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 370px);
}

body[data-route="seo"] .seo-editor,
body[data-route="seo"] .score-card {
  padding: 22px;
}

body[data-route="seo"] .field textarea {
  min-height: 110px;
}

body[data-route="seo"] .seo-toolbar {
  margin-bottom: 16px;
}

body[data-route="seo"] .analysis-block {
  margin-top: 14px;
}

body[data-route="seo"] .warning-box {
  margin-top: 18px;
}

body[data-route="preview"] .preview-layout {
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
}

body[data-route="preview"] .video-preview {
  height: min(42vh, 390px);
  min-height: 260px;
  padding: 26px;
}

body[data-route="preview"] .video-preview .video-inner {
  height: 100%;
  min-height: 0;
  padding: 30px 34px;
}

body[data-route="preview"] .recap-card {
  padding: 22px;
}

body[data-route="preview"] .recap-row,
body[data-route="preview"] .included-row,
body[data-route="preview"] .recap-total {
  margin-top: 14px;
}

body[data-route="preview"] .choice-strip {
  gap: 10px 18px;
  margin: 12px 0 0;
  padding: 13px 16px;
}

body[data-route="preview"] .choice-strip p {
  font-size: 13px;
  line-height: 1.35;
}

body[data-route="preview"] .choice-strip span {
  font-size: 11px;
}

body[data-route="youtube"] .youtube-card {
  align-self: stretch;
  gap: 24px;
  margin: 0 auto;
  min-height: 0;
  padding: 34px;
}

body[data-route="payment"] {
  overflow: hidden;
}

body[data-route="payment"] .payment-shell {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  height: calc(100svh - var(--app-topbar-height));
  overflow: hidden;
  padding-top: clamp(14px, 2vh, 22px) !important;
  width: min(1360px, calc(100% - var(--workflow-side-gutter)));
}

body[data-route="payment"] .example-head h1 {
  font-size: clamp(30px, 3vw, 40px);
}

body[data-route="payment"] .example-head p,
body[data-route="payment"] .guest-status {
  font-size: 14px;
}

body[data-route="payment"] .pricing-grid {
  gap: 16px;
  margin-top: 14px;
}

body[data-route="payment"] .price-card {
  min-height: 0;
  padding: 16px;
}

body[data-route="payment"] .price-card h2 {
  margin: 14px 0 8px;
}

body[data-route="payment"] .price-card .price {
  font-size: 26px;
}

body[data-route="payment"] .terms-line {
  margin: 10px 0 14px;
}

body[data-route="payment"] .payment-layout {
  gap: 20px;
  min-height: 0;
  overflow: hidden;
}

body[data-route="payment"] .payment-card,
body[data-route="payment"] .order-card {
  max-height: 100%;
  min-height: 0;
  overflow: auto;
  padding: 22px;
  scrollbar-color: rgba(85, 230, 255, 0.42) transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

body[data-route="studio"] .center-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: calc(100svh - var(--app-topbar-height));
  overflow: hidden;
  padding-top: clamp(14px, 2vh, 22px) !important;
}

body[data-route="studio"] .center-intro h1 {
  font-size: clamp(30px, 3vw, 40px);
}

body[data-route="studio"] .auth-card {
  margin-top: 18px;
  max-height: 100%;
  overflow: auto;
  padding: 24px;
  scrollbar-color: rgba(85, 230, 255, 0.42) transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

@media (max-width: 899px) {
  :is(
    body[data-route="import"],
    body[data-route="details"],
    body[data-route="cover"],
    body[data-route="style"],
    body[data-route="customize"],
    body[data-route="seo"],
    body[data-route="preview"],
    body[data-route="youtube"],
    body[data-route="payment"],
    body[data-route="studio"]
  ) {
    overflow-x: hidden;
    overflow-y: auto;
  }

  :is(
    body[data-route="import"],
    body[data-route="details"],
    body[data-route="cover"],
    body[data-route="style"],
    body[data-route="customize"],
    body[data-route="seo"],
    body[data-route="preview"],
    body[data-route="youtube"]
  ) .workflow-shell,
  body[data-route="payment"] .payment-shell,
  body[data-route="studio"] .center-shell {
    display: block;
    height: auto;
    min-height: calc(100svh - var(--app-topbar-height));
    overflow: visible;
    padding: 16px 14px 0 !important;
    width: 100% !important;
  }

  body[data-route="style"] .topbar,
  body[data-route="style"] .workflow-shell,
  body[data-route="customize"] .topbar,
  body[data-route="customize"] .workflow-shell {
    max-width: 100vw !important;
    width: 100% !important;
  }

  .workflow-shell > .stepper {
    margin-bottom: 18px;
    max-width: 100% !important;
  }

  .workflow-shell > .page-intro h1,
  body[data-route="payment"] .example-head h1,
  body[data-route="studio"] .center-intro h1 {
    font-size: clamp(28px, 8vw, 34px);
  }

  .workflow-shell > :where(.two-column, .cover-layout, .style-layout, .customize-layout, .seo-layout, .preview-layout, .youtube-card),
  body[data-route="payment"] .payment-layout,
  body[data-route="studio"] .auth-card {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  body[data-route="cover"] .cover-layout,
  body[data-route="style"] .template-layout,
  body[data-route="customize"] .customize-layout,
  body[data-route="seo"] .seo-layout,
  body[data-route="preview"] .preview-layout,
  body[data-route="payment"] .payment-layout,
  body[data-route="details"] .details-layout,
  body[data-route="import"] .upload-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body[data-route="style"] .style-card,
  body[data-route="style"] .customize-card,
  body[data-route="style"] .stepper,
  body[data-route="customize"] .customize-card,
  body[data-route="customize"] .live-preview-card,
  body[data-route="customize"] .stepper {
    max-width: calc(100vw - 28px) !important;
  }

  .workflow-shell > .page-actions,
  .workflow-shell > .inline-actions {
    margin-top: 24px;
    padding: 12px 0 max(14px, env(safe-area-inset-bottom));
  }

  .workflow-shell > .page-actions > span:empty {
    display: none;
  }

  .workflow-shell > .page-actions .btn,
  .workflow-shell > .inline-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 14px;
  }

  body[data-route="preview"] .choice-strip,
  body[data-route="preview"] .choice-strip div {
    display: grid;
    grid-template-columns: 1fr;
  }

  body[data-route="preview"] .choice-strip span {
    grid-column: auto;
  }

  body[data-route="payment"] .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-route="customize"] .video-live-preview,
  body[data-route="preview"] .video-preview {
    height: auto;
    min-height: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Payment CTA visibility fix */
body[data-route="payment"] .payment-card h2,
body[data-route="payment"] .order-card h2 {
  margin-bottom: 16px;
}

body[data-route="payment"] .payment-card .field {
  margin-bottom: 14px;
}

body[data-route="payment"] .payment-note {
  margin-bottom: 14px;
  padding: 12px;
}

body[data-route="payment"] #guestPaymentContinue {
  bottom: 0;
  margin-top: 10px;
  position: sticky;
  z-index: 10;
}

body[data-route="payment"] #paymentSaveStatus {
  margin-top: 10px;
}

/* Mobile fixed workflow actions */
@media (max-width: 899px) {
  :is(
    body[data-route="import"],
    body[data-route="details"],
    body[data-route="cover"],
    body[data-route="style"],
    body[data-route="customize"],
    body[data-route="seo"],
    body[data-route="preview"],
    body[data-route="youtube"]
  ) .workflow-shell {
    padding-bottom: calc(var(--workflow-actionbar-height) + 24px) !important;
  }

  .workflow-shell > .page-actions,
  .workflow-shell > .inline-actions {
    border-radius: 8px 8px 0 0;
    bottom: 0;
    left: 14px;
    margin: 0;
    max-width: calc(100vw - 28px);
    position: fixed;
    right: 14px;
    z-index: 80;
  }

  body[data-route="payment"] .payment-shell {
    padding-bottom: calc(var(--workflow-actionbar-height) + 24px) !important;
  }

  body[data-route="payment"] #guestPaymentContinue {
    border-radius: 8px;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 14px;
    max-width: calc(100vw - 28px);
    position: fixed;
    right: 14px;
    width: auto;
    z-index: 80;
  }
}

/* Payment action bar */
body[data-route="payment"] .payment-shell {
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
}

body[data-route="payment"] .payment-fixed-actions {
  align-self: end;
  background: linear-gradient(180deg, rgba(5, 6, 11, 0), rgba(5, 6, 11, 0.88) 28%, rgba(5, 6, 11, 0.97));
  backdrop-filter: blur(16px) saturate(140%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  margin: 0;
  min-height: var(--workflow-actionbar-height);
  padding: 12px 0 max(14px, env(safe-area-inset-bottom));
  position: sticky;
  z-index: 45;
}

body[data-route="payment"] .payment-fixed-actions #guestPaymentContinue {
  min-width: 220px;
  position: static;
  width: auto;
}

@media (max-width: 899px) {
  body[data-route="payment"] .payment-fixed-actions {
    border-radius: 8px 8px 0 0;
    bottom: 0;
    left: 14px;
    max-width: calc(100vw - 28px);
    position: fixed;
    right: 14px;
    z-index: 80;
  }

  body[data-route="payment"] .payment-fixed-actions #guestPaymentContinue {
    bottom: auto;
    left: auto;
    max-width: none;
    position: static;
    right: auto;
    width: 100%;
  }
}

/* Cover page alignment pass */
body[data-route="cover"] .workflow-shell {
  width: min(1160px, calc(100% - var(--workflow-side-gutter))) !important;
}

body[data-route="cover"] .workflow-shell > .stepper {
  margin-bottom: 12px;
}

body[data-route="cover"] .workflow-shell > .page-intro {
  margin-bottom: 18px;
}

body[data-route="cover"] .workflow-shell > .page-intro h1 {
  font-size: clamp(32px, 3vw, 38px);
}

body[data-route="cover"] .cover-layout {
  align-items: start;
  gap: 28px;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  overflow: hidden;
}

body[data-route="cover"] .cover-layout > div:first-child {
  align-self: start;
  max-height: 100%;
  overflow: visible;
}

body[data-route="cover"] .cover-card {
  aspect-ratio: 1;
  max-height: none;
  padding: 16px;
  width: 100%;
}

body[data-route="cover"] .cover-art {
  border-radius: 8px;
  gap: clamp(40px, 7vh, 64px);
}

body[data-route="cover"] .cover-title {
  font-size: clamp(24px, 2.2vw, 31px);
}

body[data-route="cover"] .small-heading {
  margin: 18px 0 10px;
}

body[data-route="cover"] .cover-layout > div:first-child > .btn {
  min-width: 132px;
}

body[data-route="cover"] .option-panel {
  align-content: start;
  display: grid;
  gap: 14px 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: auto;
  padding: 24px;
}

body[data-route="cover"] .option-panel h2 {
  grid-column: 1 / -1;
  margin: 0 0 2px;
}

body[data-route="cover"] .option-row {
  margin: 0;
  min-height: 66px;
  padding: 13px 16px;
}

body[data-route="cover"] .option-row strong {
  font-size: 14px;
  line-height: 1.15;
}

body[data-route="cover"] .option-row span {
  font-size: 12px;
  line-height: 1.35;
}

body[data-route="cover"] .cover-ai-panel {
  grid-column: 1 / -1;
  gap: 12px;
  margin-top: 6px;
}

body[data-route="cover"] .cover-ai-head {
  align-items: end;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
}

body[data-route="cover"] .cover-ai-head strong {
  font-size: 14px;
}

body[data-route="cover"] .cover-ai-head span {
  font-size: 12px;
}

body[data-route="cover"] .cover-ai-head .btn {
  min-height: 44px;
  padding-inline: 18px;
}

body[data-route="cover"] .cover-choice-grid {
  align-items: start;
  gap: 14px clamp(14px, 2vw, 22px);
  grid-template-columns: repeat(3, minmax(132px, 188px));
  justify-content: space-between;
}

body[data-route="cover"] .cover-choice {
  gap: 8px;
  padding: 8px;
}

body[data-route="cover"] .cover-choice img {
  aspect-ratio: 1;
  height: auto;
  width: 100%;
}

body[data-route="cover"] .cover-choice span {
  font-size: 12px;
  min-width: 0;
  overflow: hidden;
  padding-bottom: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-route="cover"] .cover-ai-limit {
  font-size: 12px;
}

body[data-route="cover"] .option-panel > .upload-status {
  grid-column: 1 / -1;
  margin-top: 0;
}

@media (max-width: 899px) {
  body[data-route="cover"] .cover-layout {
    gap: 18px;
  }

  body[data-route="cover"] .cover-layout > div:first-child {
    display: grid;
    justify-items: start;
  }

  body[data-route="cover"] .cover-card {
    max-width: min(330px, 100%);
  }

  body[data-route="cover"] .option-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
  }

  body[data-route="cover"] .option-row,
  body[data-route="cover"] .cover-ai-panel,
  body[data-route="cover"] .option-panel > .upload-status {
    grid-column: auto;
  }

  body[data-route="cover"] .cover-ai-head {
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-route="cover"] .cover-ai-head .btn {
    width: 100%;
  }

  body[data-route="cover"] .cover-choice-grid {
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-route="cover"] .cover-choice {
    padding: 6px;
  }
}

@media (max-width: 520px) {
  body[data-route="cover"] .cover-choice-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Cover page generated choices density */
body[data-route="cover"] .workflow-shell > .page-actions {
  min-height: 60px;
  padding: 8px 0 max(10px, env(safe-area-inset-bottom));
}

body[data-route="cover"] .option-panel {
  gap: 8px 14px;
  padding: 18px;
}

body[data-route="cover"] .option-panel h2 {
  font-size: 22px;
  line-height: 1.1;
}

body[data-route="cover"] .option-row {
  min-height: 52px;
  padding: 10px 14px;
}

body[data-route="cover"] .option-row strong {
  font-size: 13px;
}

body[data-route="cover"] .option-row span {
  font-size: 11px;
}

body[data-route="cover"] .cover-ai-panel {
  gap: 8px;
  margin-top: 2px;
}

body[data-route="cover"] .cover-ai-head {
  gap: 12px;
}

body[data-route="cover"] .cover-ai-head div {
  gap: 2px;
}

body[data-route="cover"] .cover-ai-head strong {
  font-size: 13px;
  line-height: 1.1;
}

body[data-route="cover"] .cover-ai-head span {
  font-size: 11px;
  line-height: 1.25;
}

body[data-route="cover"] .cover-ai-head .btn {
  min-height: 40px;
  padding-inline: 16px;
}

body[data-route="cover"] .cover-choice-grid {
  gap: 10px clamp(12px, 2vw, 20px);
  grid-template-columns: repeat(3, minmax(112px, 146px));
}

body[data-route="cover"] .cover-choice {
  gap: 5px;
  padding: 6px;
}

body[data-route="cover"] .cover-choice img {
  aspect-ratio: auto;
  height: clamp(88px, 15vh, 104px);
  object-fit: cover;
}

body[data-route="cover"] .cover-choice.selected::after {
  right: 10px;
  top: 10px;
}

body[data-route="cover"] .cover-ai-limit {
  line-height: 1.1;
}

body[data-route="cover"] .option-panel > .upload-status {
  min-height: 44px;
  padding: 12px 14px;
}

@media (max-width: 899px) {
  body[data-route="cover"] .workflow-shell > .page-actions {
    min-height: var(--workflow-actionbar-height);
    padding: 12px 0 max(14px, env(safe-area-inset-bottom));
  }
}

/* Cover page six-choice roomy layout */
body[data-route="cover"] {
  overflow-x: hidden;
  overflow-y: auto;
}

body[data-route="cover"] .workflow-shell {
  grid-template-rows: auto auto auto;
  height: auto;
  min-height: calc(100svh - var(--app-topbar-height));
  overflow: visible;
  padding-bottom: calc(var(--workflow-actionbar-height) + 28px) !important;
  width: min(1320px, calc(100% - clamp(40px, 6vw, 96px))) !important;
}

body[data-route="cover"] .workflow-shell > .stepper {
  margin-bottom: 14px;
}

body[data-route="cover"] .workflow-shell > .page-intro {
  margin-bottom: 22px;
}

body[data-route="cover"] .cover-layout {
  gap: clamp(28px, 3vw, 40px);
  grid-template-columns: minmax(310px, 360px) minmax(0, 1fr);
  overflow: visible;
  padding-bottom: 0;
}

body[data-route="cover"] .cover-card {
  max-width: 360px;
  padding: 18px;
}

body[data-route="cover"] .option-panel {
  align-content: start;
  gap: 18px 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: visible;
  padding: 28px;
}

body[data-route="cover"] .option-panel h2 {
  font-size: 25px;
  margin-bottom: 2px;
}

body[data-route="cover"] .option-row {
  min-height: 66px;
  padding: 13px 16px;
}

body[data-route="cover"] .option-row strong {
  font-size: 14px;
}

body[data-route="cover"] .option-row span {
  font-size: 12px;
}

body[data-route="cover"] .cover-ai-panel {
  gap: 14px;
  margin-top: 6px;
}

body[data-route="cover"] .cover-ai-head {
  align-items: end;
  gap: 18px;
}

body[data-route="cover"] .cover-ai-head div {
  gap: 4px;
}

body[data-route="cover"] .cover-ai-head strong {
  font-size: 14px;
}

body[data-route="cover"] .cover-ai-head span {
  font-size: 12px;
  line-height: 1.35;
}

body[data-route="cover"] .cover-ai-head .btn {
  min-height: 46px;
  padding-inline: 20px;
}

body[data-route="cover"] .cover-choice-grid {
  gap: 18px clamp(18px, 2.4vw, 28px);
  grid-template-columns: repeat(3, minmax(168px, 1fr));
  justify-content: stretch;
}

body[data-route="cover"] .cover-choice {
  gap: 8px;
  padding: 8px;
}

body[data-route="cover"] .cover-choice img {
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  width: 100%;
}

body[data-route="cover"] .cover-choice span {
  font-size: 12px;
  line-height: 1.2;
}

body[data-route="cover"] .cover-ai-limit {
  font-size: 12px;
  line-height: 1.3;
}

body[data-route="cover"] .cover-info-message {
  background: rgba(53, 216, 255, 0.08);
  border-color: rgba(53, 216, 255, 0.22);
  color: #dceaff;
  font-size: 13px;
  line-height: 1.35;
  min-height: 46px;
  padding: 13px 16px;
}

body[data-route="cover"] .cover-info-message[data-tone="success"],
body[data-route="cover"] .cover-info-message[data-tone="info"] {
  background: rgba(53, 216, 255, 0.08);
  border-color: rgba(53, 216, 255, 0.22);
  color: #dceaff;
}

body[data-route="cover"] .workflow-shell > .page-actions {
  left: 50%;
  min-height: 76px;
  padding: 12px 0 max(14px, env(safe-area-inset-bottom));
  position: fixed;
  right: auto;
  transform: translateX(-50%);
  width: min(1320px, calc(100% - clamp(40px, 6vw, 96px)));
}

@media (min-width: 1200px) {
  body[data-route="cover"] .cover-choice-grid {
    grid-template-columns: repeat(3, minmax(186px, 1fr));
  }
}

@media (max-width: 899px) {
  body[data-route="cover"] .workflow-shell {
    padding-bottom: calc(var(--workflow-actionbar-height) + 28px) !important;
    width: 100% !important;
  }

  body[data-route="cover"] .cover-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body[data-route="cover"] .option-panel {
    gap: 16px;
    grid-template-columns: minmax(0, 1fr);
    padding: 22px;
  }

  body[data-route="cover"] .cover-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-route="cover"] .workflow-shell > .page-actions {
    left: 14px;
    right: 14px;
    transform: none;
    width: auto;
  }
}

@media (max-width: 520px) {
  body[data-route="cover"] .cover-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Cover page final six-choice spacing */
@media (min-width: 900px) {
  body[data-route="cover"] .workflow-shell {
    padding-top: 10px !important;
  }

  body[data-route="cover"] .workflow-shell > .stepper {
    margin-bottom: 10px;
    min-height: 48px;
    padding: 7px 14px;
  }

  body[data-route="cover"] .workflow-shell > .page-intro {
    margin-bottom: 16px;
  }

  body[data-route="cover"] .workflow-shell > .page-intro .kicker {
    margin-bottom: 4px;
  }

  body[data-route="cover"] .workflow-shell > .page-intro h1 {
    font-size: clamp(30px, 2.8vw, 38px);
    line-height: 1.03;
    margin-bottom: 6px;
  }

  body[data-route="cover"] .workflow-shell > .page-intro p:not(.kicker) {
    font-size: 14px;
    line-height: 1.35;
  }

  body[data-route="cover"] .cover-layout {
    gap: clamp(30px, 3vw, 42px);
    grid-template-columns: minmax(330px, 360px) minmax(0, 1fr);
  }

  body[data-route="cover"] .option-panel {
    gap: 15px 16px;
    padding: 24px;
  }

  body[data-route="cover"] .option-panel h2 {
    font-size: 24px;
    line-height: 1;
  }

  body[data-route="cover"] .option-row {
    min-height: 58px;
    padding: 11px 16px;
  }

  body[data-route="cover"] .cover-ai-panel {
    gap: 12px;
    margin-top: 2px;
  }

  body[data-route="cover"] .cover-ai-head {
    align-items: center;
  }

  body[data-route="cover"] .cover-ai-head .btn {
    min-height: 44px;
  }

  body[data-route="cover"] .cover-choice-grid {
    gap: 18px clamp(18px, 3vw, 42px);
    grid-template-columns: repeat(3, minmax(160px, 188px));
    justify-content: space-between;
  }

  body[data-route="cover"] .cover-choice {
    gap: 7px;
    padding: 8px;
  }

  body[data-route="cover"] .cover-choice img {
    aspect-ratio: 1;
    height: auto;
    width: 100%;
  }

  body[data-route="cover"] .cover-info-message {
    margin-top: 2px;
  }

  body[data-route="cover"] .workflow-shell > .page-actions {
    min-height: 64px;
    padding: 10px 0 max(12px, env(safe-area-inset-bottom));
  }
}

@media (min-width: 1200px) {
  body[data-route="cover"] .cover-choice-grid {
    grid-template-columns: repeat(3, minmax(176px, 196px));
  }
}
/* Cover import and simple backgrounds */
.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  clip: rect(0 0 0 0);
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 42px 0 14px;
  color: var(--text);
  outline: none;
}

.field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(109, 94, 247, 0.14);
}

.cover-art.simple-cover {
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

.cover-art.simple-cover::before {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.48));
  content: "";
  inset: 0;
  position: absolute;
}

.cover-art.simple-cover .cover-title,
.cover-art.simple-cover .cover-artist {
  position: relative;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.56);
}

.cover-simple-panel,
.cover-studio-panel {
  display: grid;
  gap: 14px;
  grid-column: 1 / -1;
  margin-top: 4px;
}

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

.simple-cover-choice {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: var(--text);
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 8px;
  text-align: left;
}

.simple-cover-choice.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(109, 94, 247, 0.18), 0 18px 44px rgba(85, 240, 177, 0.1);
}

.simple-cover-preview {
  aspect-ratio: 1;
  background: var(--simple-cover-bg);
  border-radius: 8px;
  display: block;
  min-height: 92px;
  position: relative;
  overflow: hidden;
}

.simple-cover-preview::after {
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  content: "";
  height: 7px;
  left: 24%;
  position: absolute;
  right: 24%;
  top: 50%;
  transform: translateY(-50%);
}

.simple-cover-choice strong,
.simple-palette-panel > strong {
  font-size: 13px;
}

.simple-cover-choice small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.simple-palette-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 10px;
  padding-top: 12px;
}

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

.simple-palette-choice {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--muted);
  display: grid;
  gap: 6px;
  min-height: 48px;
  padding: 7px;
  text-align: left;
}

.simple-palette-choice::before {
  background: linear-gradient(135deg, var(--swatch-color), color-mix(in srgb, var(--swatch-color) 44%, #050816));
  border-radius: 6px;
  content: "";
  height: 16px;
}

.simple-palette-choice span {
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-route="details"] .field select,
body[data-route="details"] .field input,
body[data-route="details"] .field textarea,
body[data-route="seo"] .field select,
body[data-route="seo"] .field input,
body[data-route="seo"] .field textarea {
  background-color: rgba(5, 10, 18, 0.78);
}

@media (max-width: 899px) {
  .simple-cover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .simple-palette-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Visual engine pricing hierarchy */
.offer-badge,
.recommended-badge {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  min-height: 22px;
  padding: 0 8px;
}

.offer-badge.included {
  background: rgba(85, 240, 177, 0.1);
  border: 1px solid rgba(85, 240, 177, 0.24);
  color: var(--mint);
}

.offer-badge.paid {
  background: rgba(246, 183, 60, 0.12);
  border: 1px solid rgba(246, 183, 60, 0.28);
  color: #ffd98a;
}

.recommended-badge {
  background: linear-gradient(135deg, rgba(85, 240, 177, 0.16), rgba(53, 216, 255, 0.14));
  border: 1px solid rgba(53, 216, 255, 0.28);
  color: #bff7ff;
}

.premium-badge.included-price {
  background: rgba(85, 240, 177, 0.12);
  border-color: rgba(85, 240, 177, 0.28);
  box-shadow: 0 12px 32px rgba(85, 240, 177, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: var(--mint);
}

.style-card.featured-template {
  border-color: rgba(53, 216, 255, 0.32);
  box-shadow: inset 0 0 0 1px rgba(85, 240, 177, 0.08), 0 20px 60px rgba(53, 216, 255, 0.08);
}

.template-value-prop {
  color: color-mix(in srgb, var(--muted) 84%, #ffffff);
  display: block;
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
  margin: -4px 0 12px;
}

.style-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

@media (max-width: 720px) {
  .offer-badge,
  .recommended-badge {
    font-size: 9px;
    min-height: 20px;
    padding-inline: 7px;
  }
}

/* Selected template preview motion */
.selected-template-preview .preview-cover-motion .preview-cover {
  animation: previewFloat 5s ease-in-out infinite;
}

.selected-template-preview .preview-circular .preview-orbit {
  animation: previewSpin 4.6s linear infinite;
}

.selected-template-preview .preview-bars-style .preview-bars i,
.selected-template-preview .preview-waveform-3d .preview-bars i,
.selected-template-preview .preview-festival .preview-bars i {
  animation: previewBarPulse 1.25s ease-in-out infinite alternate;
}

.selected-template-preview .preview-bars i:nth-child(2n) {
  animation-delay: -0.28s;
}

.selected-template-preview .preview-bars i:nth-child(3n) {
  animation-delay: -0.52s;
}

.selected-template-preview .preview-bars i:nth-child(5n) {
  animation-delay: -0.74s;
}

.selected-template-preview .preview-glow {
  animation: previewGlowPulse 2.8s ease-in-out infinite;
}

.selected-template-preview .preview-typographic .preview-cover span {
  animation: previewTypePulse 1.45s ease-in-out infinite alternate;
}

.selected-template-preview .preview-vhs-retro::before {
  animation: previewScanlines 0.9s linear infinite;
}

.selected-template-preview .preview-neon-tunnel .preview-orbit {
  animation: previewTunnelPulse 1.8s ease-in-out infinite;
}

.selected-template-preview .preview-waveform-3d .preview-cover,
.selected-template-preview .preview-festival .preview-cover,
.selected-template-preview .preview-smoke .preview-cover {
  animation: previewDepthFloat 3.2s ease-in-out infinite;
}

.selected-template-preview .preview-minimal .preview-cover span {
  animation: previewMinimalPulse 1.7s ease-in-out infinite;
  transform-origin: center;
}

.selected-template-preview .preview-smoke .preview-glow {
  animation: previewSmokeDrift 3.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .selected-template-preview .preview-cover-motion .preview-cover,
  .selected-template-preview .preview-circular .preview-orbit,
  .selected-template-preview .preview-bars i,
  .selected-template-preview .preview-glow,
  .selected-template-preview .preview-typographic .preview-cover span,
  .selected-template-preview .preview-vhs-retro::before,
  .selected-template-preview .preview-neon-tunnel .preview-orbit,
  .selected-template-preview .preview-waveform-3d .preview-cover,
  .selected-template-preview .preview-festival .preview-cover,
  .selected-template-preview .preview-smoke .preview-cover,
  .selected-template-preview .preview-minimal .preview-cover span,
  .selected-template-preview .preview-smoke .preview-glow {
    animation: none !important;
  }
}
/* Cover generation feedback */
.cover-loading-overlay[hidden],
.cover-toast[hidden] {
  display: none !important;
}

.cover-loading-overlay {
  background: radial-gradient(circle at 50% 35%, rgba(53, 216, 255, 0.14), transparent 42%), rgba(2, 6, 15, 0.66);
  backdrop-filter: blur(10px);
  display: grid;
  inset: 0;
  place-items: center;
  position: fixed;
  z-index: 220;
}

.cover-loading-card {
  background: linear-gradient(135deg, rgba(31, 38, 54, 0.92), rgba(17, 43, 50, 0.9));
  border: 1px solid rgba(143, 107, 255, 0.36);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38), 0 0 48px rgba(53, 216, 255, 0.14);
  color: #f8fafc;
  display: grid;
  gap: 14px;
  max-width: calc(100vw - 32px);
  padding: 24px;
  width: min(430px, calc(100vw - 32px));
}

.cover-loading-eyebrow {
  color: rgba(216, 226, 241, 0.72);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cover-loading-card strong {
  font-size: 24px;
  line-height: 1.1;
}

.cover-loading-card p {
  color: rgba(216, 226, 241, 0.82);
  margin: 0;
}

.cover-loading-progress {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.cover-loading-progress i {
  background: linear-gradient(90deg, #35d8ff, #8f6bff, #55f0b1);
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 360ms ease;
  width: 24%;
}

.cover-toast {
  animation: cover-toast-in 180ms ease both;
  background: linear-gradient(135deg, rgba(33, 45, 61, 0.96), rgba(17, 43, 50, 0.96));
  border: 1px solid rgba(85, 240, 177, 0.3);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.32);
  color: #e9f8ff;
  font-size: 13px;
  font-weight: 800;
  left: 50%;
  line-height: 1.35;
  max-width: calc(100vw - 28px);
  padding: 13px 16px;
  position: fixed;
  top: calc(var(--app-topbar-height, 64px) + 16px);
  transform: translateX(-50%);
  width: min(520px, calc(100vw - 28px));
  z-index: 240;
}

.cover-toast[data-tone="warning"] {
  border-color: rgba(255, 195, 107, 0.42);
}

@keyframes cover-toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, -8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Customize compact showcase page */
body[data-route="customize"] .workflow-shell > .page-intro {
  margin-bottom: clamp(10px, 1.5vh, 16px);
}

body[data-route="customize"] .customize-compact-layout {
  display: grid;
  gap: clamp(14px, 1.8vh, 18px);
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  padding-bottom: 8px;
}

body[data-route="customize"] .customize-hero-grid {
  display: grid;
  gap: clamp(18px, 2vw, 24px);
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 360px);
  min-height: 0;
}

body[data-route="customize"] .customize-preview-card,
body[data-route="customize"] .customize-publication-card,
body[data-route="customize"] .customize-settings-card {
  background: linear-gradient(135deg, rgba(32, 36, 50, 0.8), rgba(17, 43, 50, 0.76));
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 70px rgba(0, 0, 0, 0.2);
}

body[data-route="customize"] .customize-preview-card {
  display: grid;
  gap: 14px;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  padding: 20px;
}

body[data-route="customize"] .compact-live-head {
  gap: 14px;
}

body[data-route="customize"] .compact-live-head h2 {
  font-size: clamp(22px, 2vw, 28px);
  margin: 2px 0 4px;
}

body[data-route="customize"] .compact-live-head p {
  max-width: 720px;
}

body[data-route="customize"] .video-live-preview {
  aspect-ratio: 16 / 9;
  height: min(42vh, 430px);
  min-height: 280px;
  width: 100%;
}

body[data-route="customize"] .customize-publication-card {
  align-content: start;
  display: grid;
  gap: 14px;
  padding: 22px;
}

body[data-route="customize"] .customize-publication-card h2,
body[data-route="customize"] .customize-settings-head h2 {
  color: #ffffff;
  font-size: clamp(20px, 1.9vw, 25px);
  line-height: 1.08;
  margin: 0;
}

body[data-route="customize"] .publication-preview-field {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  padding: 12px;
}

body[data-route="customize"] .publication-preview-field span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

body[data-route="customize"] .publication-preview-field strong,
body[data-route="customize"] .publication-preview-field p {
  color: #ffffff;
  font-size: 12px;
  line-height: 1.35;
  margin: 0;
}

body[data-route="customize"] .publication-description-field p {
  color: rgba(248, 250, 252, 0.82);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

body[data-route="customize"] .publication-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body[data-route="customize"] .customize-settings-card {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
}

body[data-route="customize"] .customize-settings-head {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

body[data-route="customize"] .customize-settings-head p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  margin: 4px 0 0;
}

body[data-route="customize"] .style-order-note {
  background: rgba(246, 183, 60, 0.11);
  border: 1px solid rgba(246, 183, 60, 0.28);
  border-radius: 8px;
  color: #ffe3a8;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0;
  max-width: 360px;
  padding: 10px 12px;
  text-align: right;
}

body[data-route="customize"] .customize-outcome-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body[data-route="customize"] .customize-outcome-card,
body[data-route="customize"] .settings-module {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

body[data-route="customize"] .customize-outcome-card {
  display: grid;
  gap: 5px;
  min-height: 58px;
  padding: 10px 12px;
}

body[data-route="customize"] .customize-outcome-card strong {
  color: #ffffff;
  font-size: 12px;
}

body[data-route="customize"] .customize-outcome-card span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

body[data-route="customize"] .customize-settings-form {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(250px, 1.1fr) minmax(170px, 0.72fr) minmax(230px, 1fr) minmax(220px, 0.95fr);
}

body[data-route="customize"] .settings-module {
  margin: 0;
  min-width: 0;
  padding: 12px;
}

body[data-route="customize"] .settings-select-module {
  display: grid;
  gap: 10px;
}

body[data-route="customize"] .settings-module .field {
  gap: 7px;
}

body[data-route="customize"] .settings-module .field > span,
body[data-route="customize"] .style-helper-title {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  margin-bottom: 0;
  text-transform: uppercase;
}

body[data-route="customize"] .settings-module input,
body[data-route="customize"] .settings-module select {
  min-height: 42px;
}

body[data-route="customize"] .settings-color-module .color-input-row {
  grid-template-columns: 42px minmax(0, 1fr);
}

body[data-route="customize"] .settings-color-module .color-preview-button {
  height: 42px;
  width: 42px;
}

body[data-route="customize"] .settings-color-module .color-palette {
  gap: 7px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 9px;
}

body[data-route="customize"] .settings-color-module .color-swatch {
  gap: 5px;
  min-height: 40px;
  padding: 6px;
}

body[data-route="customize"] .settings-color-module .color-swatch::before {
  height: 10px;
}

body[data-route="customize"] .settings-ai-module {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  gap: 9px;
  padding-top: 12px;
}

body[data-route="customize"] .settings-ai-module .ai-palette-empty {
  font-size: 11px;
  padding: 9px;
}

body[data-route="customize"] .settings-template-module .style-template-panel {
  border: 0;
  margin: 0;
  padding: 0;
}

body[data-route="customize"] .settings-template-module .style-template-list {
  gap: 7px;
  grid-template-columns: minmax(0, 1fr);
}

body[data-route="customize"] .settings-template-module .style-template {
  min-height: 42px;
  padding: 7px 8px;
}

body[data-route="customize"] .settings-template-module .style-template strong {
  font-size: 12px;
}

body[data-route="customize"] .settings-template-module .style-template small {
  font-size: 10px;
}

body[data-route="customize"] .customize-settings-card > .upload-status {
  min-height: 40px;
  padding: 10px 12px;
}

@media (max-width: 1180px) {
  body[data-route="customize"] .customize-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  }

  body[data-route="customize"] .customize-settings-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  body[data-route="customize"] .customize-compact-layout {
    display: grid;
    overflow: visible;
  }

  body[data-route="customize"] .customize-hero-grid,
  body[data-route="customize"] .customize-settings-form,
  body[data-route="customize"] .customize-outcome-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-route="customize"] .customize-settings-head {
    align-items: stretch;
    display: grid;
  }

  body[data-route="customize"] .style-order-note {
    max-width: none;
    text-align: left;
  }

  body[data-route="customize"] .video-live-preview {
    height: auto;
    min-height: 230px;
  }
}
/* Customize one-screen correction */
@media (min-width: 900px) {
  body[data-route="customize"] .workflow-shell {
    padding-top: 8px !important;
  }

  body[data-route="customize"] .workflow-shell > .stepper {
    margin-bottom: 9px;
    min-height: 46px;
    padding-block: 6px;
  }

  body[data-route="customize"] .workflow-shell > .page-intro {
    margin-bottom: 12px;
  }

  body[data-route="customize"] .workflow-shell > .page-intro .kicker {
    margin-bottom: 3px;
  }

  body[data-route="customize"] .workflow-shell > .page-intro h1 {
    font-size: clamp(30px, 2.7vw, 38px);
    line-height: 1.02;
    margin-bottom: 6px;
  }

  body[data-route="customize"] .workflow-shell > .page-intro p:not(.kicker) {
    font-size: 14px;
    line-height: 1.3;
  }

  body[data-route="customize"] .customize-compact-layout {
    gap: 12px;
    grid-template-rows: minmax(245px, 1fr) minmax(218px, 0.82fr);
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  body[data-route="customize"] .customize-hero-grid {
    gap: clamp(16px, 1.8vw, 22px);
    grid-template-columns: minmax(0, 1.9fr) minmax(280px, 335px);
    min-height: 0;
  }

  body[data-route="customize"] .customize-preview-card {
    gap: 10px;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
    overflow: hidden;
    padding: 14px 16px;
  }

  body[data-route="customize"] .compact-live-head {
    align-items: start;
    min-height: 0;
  }

  body[data-route="customize"] .compact-live-head h2 {
    font-size: clamp(21px, 1.8vw, 26px);
    margin: 1px 0 3px;
  }

  body[data-route="customize"] .compact-live-head p {
    font-size: 12px;
    line-height: 1.25;
  }

  body[data-route="customize"] .inline-price {
    padding: 8px 12px;
  }

  body[data-route="customize"] .video-live-preview {
    aspect-ratio: auto;
    height: 100% !important;
    min-height: 0 !important;
    width: 100%;
  }

  body[data-route="customize"] .live-title-block strong {
    font-size: clamp(22px, 4.2cqw, 40px);
  }

  body[data-route="customize"] .customize-publication-card {
    gap: 10px;
    min-height: 0;
    overflow: hidden;
    padding: 18px;
  }

  body[data-route="customize"] .customize-publication-card h2,
  body[data-route="customize"] .customize-settings-head h2 {
    font-size: clamp(19px, 1.7vw, 23px);
  }

  body[data-route="customize"] .publication-preview-field {
    gap: 5px;
    padding: 10px;
  }

  body[data-route="customize"] .publication-description-field p {
    -webkit-line-clamp: 3;
  }

  body[data-route="customize"] .customize-settings-card {
    gap: 9px;
    min-height: 0;
    overflow: hidden;
    padding: 12px 14px;
  }

  body[data-route="customize"] .customize-settings-head {
    align-items: center;
  }

  body[data-route="customize"] .customize-settings-head p {
    display: none;
  }

  body[data-route="customize"] .style-order-note {
    font-size: 11px;
    padding: 8px 10px;
  }

  body[data-route="customize"] .customize-outcome-grid {
    gap: 8px;
  }

  body[data-route="customize"] .customize-outcome-card {
    gap: 3px;
    min-height: 44px;
    padding: 8px 10px;
  }

  body[data-route="customize"] .customize-outcome-card strong {
    font-size: 11px;
  }

  body[data-route="customize"] .customize-outcome-card span {
    font-size: 10px;
    line-height: 1.15;
  }

  body[data-route="customize"] .customize-settings-form {
    gap: 10px;
    grid-template-columns: minmax(240px, 1.08fr) minmax(166px, 0.68fr) minmax(220px, 0.98fr) minmax(220px, 0.92fr);
    min-height: 0;
  }

  body[data-route="customize"] .settings-module {
    min-height: 0;
    overflow: hidden;
    padding: 10px;
  }

  body[data-route="customize"] .settings-module .field {
    gap: 6px;
  }

  body[data-route="customize"] .settings-module .field > span,
  body[data-route="customize"] .style-helper-title {
    font-size: 10px;
  }

  body[data-route="customize"] .settings-module input,
  body[data-route="customize"] .settings-module select {
    min-height: 38px;
  }

  body[data-route="customize"] .settings-select-module {
    gap: 8px;
  }

  body[data-route="customize"] .settings-color-module .color-input-row {
    gap: 8px;
    grid-template-columns: 38px minmax(0, 1fr);
  }

  body[data-route="customize"] .settings-color-module .color-preview-button {
    height: 38px;
    width: 38px;
  }

  body[data-route="customize"] .settings-color-module .color-palette {
    gap: 6px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 7px;
  }

  body[data-route="customize"] .settings-color-module .color-swatch {
    gap: 3px;
    min-height: 31px;
    padding: 5px;
  }

  body[data-route="customize"] .settings-color-module .color-swatch::before {
    height: 8px;
  }

  body[data-route="customize"] .settings-color-module .color-swatch span {
    font-size: 9px;
  }

  body[data-route="customize"] .settings-ai-module {
    gap: 7px;
    padding-top: 10px;
  }

  body[data-route="customize"] .settings-ai-module .ai-palette-head .btn {
    min-height: 34px;
    padding-inline: 12px;
  }

  body[data-route="customize"] .settings-ai-module .ai-palette-list {
    max-height: 76px;
    min-height: 66px;
    overflow: hidden;
  }

  body[data-route="customize"] .settings-ai-module .ai-palette-empty {
    font-size: 11px;
    min-height: 66px;
    padding: 9px;
  }

  body[data-route="customize"] .settings-template-module .style-template-list {
    gap: 7px;
    max-height: 121px;
    overflow: hidden;
  }

  body[data-route="customize"] .settings-template-module .style-template {
    min-height: 38px;
    padding: 7px 8px;
  }

  body[data-route="customize"] .settings-template-module .style-template strong {
    font-size: 12px;
  }

  body[data-route="customize"] .settings-template-module .style-template small {
    font-size: 10px;
  }

  body[data-route="customize"] .customize-settings-card > .upload-status {
    min-height: 32px;
    padding: 8px 10px;
  }
}

@media (min-width: 900px) and (max-height: 860px) {
  body[data-route="customize"] .workflow-shell > .page-intro h1 {
    font-size: clamp(28px, 2.4vw, 34px);
  }

  body[data-route="customize"] .workflow-shell > .page-intro p:not(.kicker),
  body[data-route="customize"] .compact-live-head p,
  body[data-route="customize"] .customize-outcome-card span {
    display: none;
  }

  body[data-route="customize"] .customize-compact-layout {
    grid-template-rows: minmax(220px, 1fr) minmax(198px, 0.74fr);
  }

  body[data-route="customize"] .customize-outcome-card {
    min-height: 34px;
  }
}
/* Customize preview visibility correction */
@media (min-width: 900px) {
  body[data-route="customize"] .customize-compact-layout {
    grid-template-rows: minmax(310px, 1fr) minmax(188px, 0.55fr);
  }

  body[data-route="customize"] .customize-preview-card {
    padding: 12px 14px;
  }

  body[data-route="customize"] .compact-live-head p {
    display: none;
  }

  body[data-route="customize"] .customize-settings-card {
    gap: 6px;
    padding: 10px 12px;
  }

  body[data-route="customize"] .customize-settings-head h2 {
    font-size: 18px;
  }

  body[data-route="customize"] .style-order-note {
    font-size: 10px;
    padding: 6px 8px;
  }

  body[data-route="customize"] .customize-outcome-grid {
    gap: 6px;
  }

  body[data-route="customize"] .customize-outcome-card {
    min-height: 30px;
    padding: 6px 8px;
  }

  body[data-route="customize"] .customize-outcome-card span {
    display: none;
  }

  body[data-route="customize"] .customize-settings-form {
    gap: 8px;
  }

  body[data-route="customize"] .settings-module {
    padding: 8px;
  }

  body[data-route="customize"] .settings-module input,
  body[data-route="customize"] .settings-module select {
    min-height: 34px;
  }

  body[data-route="customize"] .settings-color-module .color-input-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  body[data-route="customize"] .settings-color-module .color-preview-button {
    height: 34px;
    width: 34px;
  }

  body[data-route="customize"] .settings-color-module .color-palette {
    gap: 4px;
    margin-top: 5px;
  }

  body[data-route="customize"] .settings-color-module .color-swatch {
    min-height: 25px;
    padding: 4px;
  }

  body[data-route="customize"] .settings-color-module .color-swatch span {
    display: none;
  }

  body[data-route="customize"] .settings-ai-module {
    gap: 5px;
    padding-top: 8px;
  }

  body[data-route="customize"] .settings-ai-module .ai-palette-list {
    max-height: 54px;
    min-height: 50px;
  }

  body[data-route="customize"] .settings-ai-module .ai-palette-empty {
    min-height: 50px;
    padding: 8px;
  }

  body[data-route="customize"] .settings-template-module .style-template-list {
    max-height: 98px;
  }

  body[data-route="customize"] .settings-template-module .style-template {
    min-height: 31px;
    padding: 5px 7px;
  }

  body[data-route="customize"] .customize-settings-card > .upload-status {
    min-height: 28px;
    padding: 6px 8px;
  }
}
/* Customize grid alignment and preview height */
@media (min-width: 900px) {
  body[data-route="customize"] .customize-compact-layout {
    align-content: start;
    grid-template-rows: clamp(330px, 40vh, 380px) minmax(188px, 210px);
  }

  body[data-route="customize"] .customize-hero-grid,
  body[data-route="customize"] .customize-preview-card,
  body[data-route="customize"] .customize-publication-card,
  body[data-route="customize"] .customize-settings-card {
    height: 100%;
  }
}

@media (min-width: 900px) and (max-height: 860px) {
  body[data-route="customize"] .customize-compact-layout {
    grid-template-rows: clamp(285px, 34vh, 315px) minmax(178px, 190px);
  }
}
/* Customize balanced fit */
@media (min-width: 900px) {
  body[data-route="customize"] .customize-compact-layout {
    grid-template-rows: clamp(300px, 37vh, 340px) minmax(235px, 250px);
  }
}

@media (min-width: 900px) and (max-height: 860px) {
  body[data-route="customize"] .customize-compact-layout {
    grid-template-rows: clamp(285px, 33vh, 305px) minmax(220px, 230px);
  }
}
/* Customize compact modules fit */
@media (min-width: 900px) {
  body[data-route="customize"] .settings-color-module .color-palette {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  body[data-route="customize"] .settings-color-module .color-swatch {
    min-height: 22px;
  }

  body[data-route="customize"] .settings-color-module .color-swatch::before {
    height: 12px;
  }

  body[data-route="customize"] .settings-select-module {
    align-content: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-route="customize"] .settings-select-module .field {
    min-width: 0;
  }

  body[data-route="customize"] .settings-ai-module .ai-palette-head .btn {
    min-height: 30px;
    padding-inline: 10px;
  }

  body[data-route="customize"] .settings-ai-module .ai-palette-list {
    max-height: 34px;
    min-height: 32px;
  }

  body[data-route="customize"] .settings-ai-module .ai-palette-empty {
    min-height: 32px;
    padding: 7px 8px;
  }

  body[data-route="customize"] .settings-template-module .style-template-list {
    max-height: 70px;
  }

  body[data-route="customize"] .settings-template-module .style-template:nth-child(n+3) {
    display: none;
  }
}
/* Customize module inner compression */
@media (min-width: 900px) {
  body[data-route="customize"] .settings-module {
    padding: 7px;
  }

  body[data-route="customize"] .settings-module input,
  body[data-route="customize"] .settings-module select {
    min-height: 30px;
  }

  body[data-route="customize"] .settings-color-module {
    align-items: end;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(184px, 0.9fr) minmax(150px, 1fr);
  }

  body[data-route="customize"] .settings-color-module .color-field {
    min-width: 0;
  }

  body[data-route="customize"] .settings-color-module .color-input-row {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  body[data-route="customize"] .settings-color-module .color-preview-button {
    height: 30px;
    width: 30px;
  }

  body[data-route="customize"] .settings-color-module .color-palette {
    align-self: end;
    margin-top: 0;
  }

  body[data-route="customize"] .settings-color-module .color-swatch {
    min-height: 20px;
    padding: 3px;
  }

  body[data-route="customize"] .settings-color-module .color-swatch::before {
    height: 12px;
  }

  body[data-route="customize"] .settings-select-module {
    gap: 6px;
  }

  body[data-route="customize"] .settings-template-module .style-template {
    min-height: 27px;
    padding: 4px 6px;
  }

  body[data-route="customize"] .settings-template-module .style-template small {
    display: none;
  }
}
/* Customize remove redundant micro-labels */
@media (min-width: 900px) {
  body[data-route="customize"] .settings-color-module .field > span,
  body[data-route="customize"] .settings-template-module .style-helper-title {
    display: none;
  }
}
/* SEO choice and publication finalization */
.publication-empty-card .publication-next-step {
  display: grid;
  gap: 8px;
  min-height: 136px;
  align-content: center;
  padding: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.publication-next-step strong {
  color: #ffffff;
  font-size: 14px;
}

.publication-next-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

body[data-route="seo"] .seo-choice-shell .page-intro {
  max-width: 880px;
}

body[data-route="seo"] .seo-choice-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

body[data-route="seo"] .seo-choice-card {
  display: grid;
  gap: 18px;
  min-height: 360px;
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  position: relative;
}

body[data-route="seo"] .seo-choice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 82% 12%, rgba(85, 240, 177, 0.2), transparent 32%);
  opacity: 0;
}

body[data-route="seo"] .seo-choice-card.featured::before {
  opacity: 1;
}

body[data-route="seo"] .seo-choice-card > * {
  position: relative;
  z-index: 1;
}

body[data-route="seo"] .seo-choice-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body[data-route="seo"] .seo-choice-top strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe68a, #d99000);
  color: #221500;
  box-shadow: 0 12px 28px rgba(255, 198, 77, 0.26);
  font-size: 13px;
}

body[data-route="seo"] .seo-choice-card:not(.featured) .seo-choice-top strong {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: none;
}

body[data-route="seo"] .seo-choice-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.05;
}

body[data-route="seo"] .seo-choice-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

body[data-route="seo"] .seo-choice-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body[data-route="seo"] .seo-choice-card li {
  color: #d9e4ef;
  font-size: 14px;
}

body[data-route="seo"] .seo-choice-card li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #55f0b1, #35d8ff);
  vertical-align: 1px;
}

body[data-route="seo"] .seo-choice-card .btn {
  align-self: end;
}

body[data-route="seo"] .seo-choice-status {
  margin-top: 16px;
}

body[data-route="seo"] .seo-toolbar-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

body[data-route="seo"] .seo-premium-note {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 211, 105, 0.38);
  border-radius: 10px;
  background: rgba(255, 196, 79, 0.11);
  color: #ffe7a3;
  font-size: 13px;
  font-weight: 750;
}

body[data-route="seo"] .manual-help-card {
  display: grid;
  gap: 18px;
  align-content: start;
}

body[data-route="seo"] .manual-tip-list {
  display: grid;
  gap: 12px;
}

body[data-route="seo"] .manual-tip-list article {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

body[data-route="seo"] .manual-tip-list strong {
  color: #ffffff;
}

body[data-route="seo"] .manual-tip-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 899px) {
  body[data-route="seo"] .seo-choice-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-route="seo"] .seo-choice-card {
    min-height: 0;
  }

  body[data-route="seo"] .seo-toolbar-actions {
    justify-content: stretch;
  }

  body[data-route="seo"] .seo-toolbar-actions .btn {
    flex: 1 1 180px;
  }
}
/* Cover page: right-frame layout aligned with the selected reference */
body[data-route="cover"] {
  overflow: hidden !important;
}

body[data-route="cover"] .workflow-shell {
  display: grid !important;
  grid-template-rows: auto auto minmax(0, 1fr) auto !important;
  height: calc(100svh - var(--app-topbar-height)) !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: clamp(8px, 1.2vh, 12px) 0 0 !important;
  width: min(1240px, calc(100% - clamp(48px, 8vw, 136px))) !important;
}

body[data-route="cover"] .workflow-shell > .stepper {
  margin-bottom: clamp(8px, 1.2vh, 12px) !important;
  min-height: 48px !important;
  padding: 7px 14px !important;
}

body[data-route="cover"] .workflow-shell > .page-intro {
  margin-bottom: clamp(12px, 1.6vh, 16px) !important;
}

body[data-route="cover"] .workflow-shell > .page-intro .kicker {
  margin-bottom: 3px !important;
}

body[data-route="cover"] .workflow-shell > .page-intro h1 {
  font-size: clamp(31px, 3vw, 40px) !important;
  line-height: 1.02 !important;
  margin-bottom: 6px !important;
}

body[data-route="cover"] .workflow-shell > .page-intro p:not(.kicker) {
  font-size: 14px !important;
  line-height: 1.35 !important;
}

body[data-route="cover"] .cover-layout {
  align-items: start !important;
  display: grid !important;
  gap: clamp(28px, 3vw, 42px) !important;
  grid-template-columns: clamp(260px, 23vw, 320px) minmax(0, 1fr) !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 6px 8px 0 !important;
}

body[data-route="cover"] .cover-preview-column {
  align-self: start !important;
  display: grid !important;
  gap: 14px !important;
  min-height: 0 !important;
  overflow: visible !important;
}

body[data-route="cover"] .cover-card {
  aspect-ratio: 1 !important;
  background: linear-gradient(135deg, rgba(33, 37, 53, 0.72), rgba(17, 43, 50, 0.62)) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  max-height: none !important;
  max-width: 320px !important;
  padding: 14px !important;
  width: 100% !important;
}

body[data-route="cover"] .cover-art {
  border-radius: 8px !important;
  gap: clamp(34px, 5.8vh, 56px) !important;
}

body[data-route="cover"] .cover-title {
  font-size: clamp(25px, 2.35vw, 34px) !important;
  line-height: 1.08 !important;
}

body[data-route="cover"] .cover-preview-column .small-heading {
  color: rgba(248, 250, 252, 0.86) !important;
  font-size: 13px !important;
  margin: 0 !important;
}

body[data-route="cover"] .cover-work-panel {
  align-content: start !important;
  align-self: stretch !important;
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  height: 100% !important;
  justify-self: end !important;
  min-height: 0 !important;
  overflow: auto !important;
  padding: clamp(20px, 2.3vh, 24px) !important;
  scrollbar-color: rgba(85, 230, 255, 0.4) transparent !important;
  scrollbar-gutter: stable !important;
  scrollbar-width: thin !important;
  width: 100% !important;
}

body[data-route="cover"] .cover-work-panel h2 {
  font-size: clamp(22px, 2vw, 26px) !important;
  grid-column: 1 / -1 !important;
  line-height: 1 !important;
  margin: 0 0 2px !important;
}

body[data-route="cover"] .cover-work-panel .option-row {
  min-height: 58px !important;
  padding: 11px 14px !important;
}

body[data-route="cover"] .cover-work-panel .option-row strong {
  font-size: 13px !important;
  line-height: 1.15 !important;
}

body[data-route="cover"] .cover-work-panel .option-row span {
  font-size: 11px !important;
  line-height: 1.25 !important;
}

body[data-route="cover"] .cover-ai-panel,
body[data-route="cover"] .cover-simple-panel,
body[data-route="cover"] .cover-studio-panel,
body[data-route="cover"] .cover-work-panel > .cover-info-message {
  grid-column: 1 / -1 !important;
}

body[data-route="cover"] .cover-ai-panel {
  gap: 10px !important;
  margin-top: 4px !important;
}

body[data-route="cover"] .cover-ai-head {
  align-items: center !important;
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
}

body[data-route="cover"] .cover-ai-head div {
  gap: 2px !important;
}

body[data-route="cover"] .cover-ai-head strong {
  font-size: 13px !important;
  line-height: 1.1 !important;
}

body[data-route="cover"] .cover-ai-head span {
  font-size: 11px !important;
  line-height: 1.3 !important;
}

body[data-route="cover"] .cover-ai-head .btn {
  min-height: 44px !important;
  min-width: 164px !important;
  padding-inline: 16px !important;
}

body[data-route="cover"] .cover-choice-grid {
  align-items: start !important;
  display: grid !important;
  gap: clamp(12px, 1.8vh, 16px) clamp(16px, 2.2vw, 28px) !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  justify-content: stretch !important;
}

body[data-route="cover"] .cover-choice {
  border-radius: 10px !important;
  gap: 6px !important;
  min-height: 0 !important;
  padding: 7px !important;
}

body[data-route="cover"] .cover-choice img {
  aspect-ratio: 1 !important;
  border-radius: 7px !important;
  height: clamp(120px, 15.8vh, 166px) !important;
  object-fit: cover !important;
  width: 100% !important;
}

body[data-route="cover"] .cover-choice span {
  font-size: 12px !important;
  line-height: 1.1 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  padding: 0 2px 1px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body[data-route="cover"] .cover-choice.selected::after {
  right: 10px !important;
  top: 10px !important;
}

body[data-route="cover"] .cover-ai-limit {
  font-size: 11px !important;
  line-height: 1.2 !important;
}

body[data-route="cover"] .cover-work-panel > .cover-info-message {
  font-size: 12px !important;
  line-height: 1.25 !important;
  margin-top: 0 !important;
  min-height: 42px !important;
  padding: 11px 14px !important;
}

body[data-route="cover"] .workflow-shell > .page-actions {
  bottom: auto !important;
  left: auto !important;
  min-height: 64px !important;
  padding: 10px 0 max(12px, env(safe-area-inset-bottom)) !important;
  position: relative !important;
  right: auto !important;
  transform: none !important;
  width: auto !important;
}

@media (max-width: 1180px) {
  body[data-route="cover"] .cover-work-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 899px) {
  body[data-route="cover"] {
    overflow: auto !important;
  }

  body[data-route="cover"] .workflow-shell {
    height: auto !important;
    min-height: calc(100svh - var(--app-topbar-height)) !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
    width: min(100% - 28px, 760px) !important;
  }

  body[data-route="cover"] .cover-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: visible !important;
  }

  body[data-route="cover"] .cover-work-panel {
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: visible !important;
    padding: 20px !important;
  }

  body[data-route="cover"] .cover-ai-head {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body[data-route="cover"] .cover-ai-head .btn {
    width: 100% !important;
  }

  body[data-route="cover"] .cover-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-height: 820px) and (min-width: 900px) {
  body[data-route="cover"] .workflow-shell > .page-intro h1 {
    font-size: 32px !important;
  }

  body[data-route="cover"] .cover-card {
    max-width: 285px !important;
  }

  body[data-route="cover"] .cover-choice img {
    height: clamp(108px, 14vh, 140px) !important;
  }

  body[data-route="cover"] .cover-work-panel {
    gap: 10px 12px !important;
    padding: 18px !important;
  }
}
/* Cover page: keep six covers and the info message visible on desktop */
@media (min-width: 900px) {
  body[data-route="cover"] .workflow-shell > .stepper {
    margin-bottom: 7px !important;
    min-height: 44px !important;
    padding: 6px 14px !important;
  }

  body[data-route="cover"] .workflow-shell > .stepper .step-dot {
    height: 24px !important;
    margin-bottom: 3px !important;
    width: 24px !important;
  }

  body[data-route="cover"] .workflow-shell > .stepper .step:not(:last-child)::after {
    top: 12px !important;
  }

  body[data-route="cover"] .workflow-shell > .page-intro {
    margin-bottom: 10px !important;
  }

  body[data-route="cover"] .workflow-shell > .page-intro h1 {
    font-size: clamp(30px, 2.7vw, 36px) !important;
    margin-bottom: 4px !important;
  }

  body[data-route="cover"] .workflow-shell > .page-intro p:not(.kicker) {
    font-size: 13px !important;
    line-height: 1.28 !important;
  }

  body[data-route="cover"] .cover-work-panel {
    gap: 10px 14px !important;
    padding: 20px !important;
  }

  body[data-route="cover"] .cover-work-panel .option-row {
    min-height: 50px !important;
    padding: 9px 14px !important;
  }

  body[data-route="cover"] .cover-ai-panel {
    gap: 8px !important;
    margin-top: 2px !important;
  }

  body[data-route="cover"] .cover-ai-head {
    gap: 14px !important;
  }

  body[data-route="cover"] .cover-ai-head .btn {
    min-height: 40px !important;
  }

  body[data-route="cover"] .cover-choice-grid {
    gap: 12px clamp(16px, 2vw, 24px) !important;
  }

  body[data-route="cover"] .cover-choice {
    gap: 5px !important;
    padding: 6px !important;
  }

  body[data-route="cover"] .cover-choice img {
    height: clamp(116px, 14vh, 142px) !important;
  }

  body[data-route="cover"] .cover-work-panel > .cover-info-message {
    min-height: 38px !important;
    padding: 9px 13px !important;
  }

  body[data-route="cover"] .workflow-shell > .page-actions {
    min-height: 58px !important;
    padding: 8px 0 max(10px, env(safe-area-inset-bottom)) !important;
  }
}
/* Cover page: selected preview belongs on the right, like the style page */
@media (min-width: 900px) {
  body[data-route="cover"] .cover-layout {
    grid-template-columns: minmax(0, 1fr) clamp(270px, 23vw, 330px) !important;
    gap: clamp(26px, 3vw, 40px) !important;
  }

  body[data-route="cover"] .cover-work-panel {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: stretch !important;
    width: 100% !important;
  }

  body[data-route="cover"] .cover-preview-column {
    align-self: start !important;
    background: linear-gradient(135deg, rgba(33, 37, 53, 0.78), rgba(17, 43, 50, 0.72)) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 70px rgba(0, 0, 0, 0.18) !important;
    display: grid !important;
    gap: 14px !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    height: auto !important;
    justify-self: stretch !important;
    max-height: 100% !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 20px !important;
    width: 100% !important;
  }

  body[data-route="cover"] .cover-preview-head {
    display: grid !important;
    gap: 6px !important;
  }

  body[data-route="cover"] .cover-preview-head span {
    color: rgba(216, 226, 241, 0.7) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
  }

  body[data-route="cover"] .cover-preview-head strong {
    color: #ffffff !important;
    font-size: 18px !important;
    line-height: 1.12 !important;
    overflow-wrap: anywhere !important;
  }

  body[data-route="cover"] .cover-preview-column .cover-card {
    aspect-ratio: 1 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    max-height: none !important;
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
  }

  body[data-route="cover"] .cover-preview-column .cover-art {
    aspect-ratio: 1 !important;
    height: auto !important;
    min-height: 0 !important;
    width: 100% !important;
  }

  body[data-route="cover"] .cover-work-panel h2 {
    font-size: 24px !important;
  }

  body[data-route="cover"] .cover-choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body[data-route="cover"] .cover-choice img {
    height: clamp(108px, 13.5vh, 136px) !important;
  }
}

@media (max-width: 899px) {
  body[data-route="cover"] .cover-work-panel {
    grid-row: 1 !important;
  }

  body[data-route="cover"] .cover-preview-column {
    grid-row: 2 !important;
  }
}
/* Cover page: narrow desktop/tablet keeps the selected preview on the right */
@media (min-width: 760px) and (max-width: 899px) {
  body[data-route="cover"] {
    overflow: hidden !important;
  }

  body[data-route="cover"] .workflow-shell {
    display: grid !important;
    grid-template-rows: auto auto minmax(0, 1fr) auto !important;
    height: calc(100svh - var(--app-topbar-height)) !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 8px 0 0 !important;
    width: calc(100% - 28px) !important;
  }

  body[data-route="cover"] .workflow-shell > .stepper {
    margin-bottom: 7px !important;
    min-height: 44px !important;
    padding: 6px 12px !important;
  }

  body[data-route="cover"] .workflow-shell > .page-intro {
    margin-bottom: 10px !important;
  }

  body[data-route="cover"] .workflow-shell > .page-intro h1 {
    font-size: clamp(28px, 4vw, 34px) !important;
    margin-bottom: 4px !important;
  }

  body[data-route="cover"] .workflow-shell > .page-intro p:not(.kicker) {
    font-size: 13px !important;
    line-height: 1.28 !important;
  }

  body[data-route="cover"] .cover-layout {
    display: grid !important;
    gap: 16px !important;
    grid-template-columns: minmax(0, 1fr) clamp(190px, 25vw, 230px) !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0 0 8px !important;
  }

  body[data-route="cover"] .cover-work-panel {
    grid-column: 1 !important;
    grid-row: 1 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    height: 100% !important;
    overflow: auto !important;
    padding: 16px !important;
  }

  body[data-route="cover"] .cover-work-panel h2,
  body[data-route="cover"] .cover-ai-panel,
  body[data-route="cover"] .cover-simple-panel,
  body[data-route="cover"] .cover-studio-panel,
  body[data-route="cover"] .cover-work-panel > .cover-info-message {
    grid-column: 1 / -1 !important;
  }

  body[data-route="cover"] .cover-work-panel .option-row {
    min-height: 50px !important;
    padding: 9px 12px !important;
  }

  body[data-route="cover"] .cover-preview-column {
    grid-column: 2 !important;
    grid-row: 1 !important;
    height: auto !important;
    padding: 14px !important;
  }

  body[data-route="cover"] .cover-preview-head strong {
    font-size: 14px !important;
  }

  body[data-route="cover"] .cover-preview-column .cover-card {
    max-width: none !important;
    padding: 0 !important;
  }

  body[data-route="cover"] .cover-preview-column .cover-title {
    font-size: clamp(18px, 2.7vw, 24px) !important;
  }

  body[data-route="cover"] .cover-choice-grid,
  body[data-route="cover"] .simple-cover-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body[data-route="cover"] .cover-choice img {
    height: clamp(76px, 11vh, 102px) !important;
  }

  body[data-route="cover"] .simple-cover-choice {
    gap: 5px !important;
    padding: 6px !important;
  }

  body[data-route="cover"] .simple-cover-preview {
    aspect-ratio: auto !important;
    height: clamp(66px, 9vh, 88px) !important;
    min-height: 0 !important;
  }

  body[data-route="cover"] .simple-cover-choice small {
    display: none !important;
  }

  body[data-route="cover"] .simple-palette-panel {
    display: none !important;
  }

  body[data-route="cover"] .workflow-shell > .page-actions {
    min-height: 58px !important;
    padding: 8px 0 max(10px, env(safe-area-inset-bottom)) !important;
  }
}

/* Cover page: compact simple-background cards when preview is on the right */
@media (min-width: 900px) and (max-width: 1180px) {
  body[data-route="cover"] .cover-work-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body[data-route="cover"] .simple-cover-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body[data-route="cover"] .simple-cover-choice {
    gap: 5px !important;
    padding: 6px !important;
  }

  body[data-route="cover"] .simple-cover-preview {
    aspect-ratio: auto !important;
    height: clamp(72px, 9vh, 96px) !important;
    min-height: 0 !important;
  }

  body[data-route="cover"] .simple-cover-choice small {
    display: none !important;
  }

  body[data-route="cover"] .simple-palette-panel {
    display: none !important;
  }
}
/* Cover page: remove the cramped internal scrollbar on narrow desktop */
@media (min-width: 760px) and (max-width: 899px) {
  body[data-route="cover"] .cover-work-panel {
    gap: 8px 12px !important;
    padding: 14px !important;
  }

  body[data-route="cover"] .cover-work-panel h2 {
    font-size: 22px !important;
    margin-bottom: 0 !important;
  }

  body[data-route="cover"] .cover-work-panel .option-row {
    min-height: 44px !important;
    padding: 7px 11px !important;
  }

  body[data-route="cover"] .cover-work-panel .option-row strong {
    font-size: 12px !important;
  }

  body[data-route="cover"] .cover-work-panel .option-row span,
  body[data-route="cover"] .cover-ai-head span {
    font-size: 10px !important;
    line-height: 1.22 !important;
  }

  body[data-route="cover"] .cover-ai-panel {
    gap: 7px !important;
    margin-top: 1px !important;
  }

  body[data-route="cover"] .cover-ai-head {
    gap: 10px !important;
  }

  body[data-route="cover"] .cover-ai-head strong {
    font-size: 12px !important;
  }

  body[data-route="cover"] .cover-ai-head .btn {
    min-height: 36px !important;
    min-width: 142px !important;
    padding-inline: 12px !important;
  }

  body[data-route="cover"] .cover-choice {
    gap: 4px !important;
    padding: 5px !important;
  }

  body[data-route="cover"] .cover-choice img {
    height: clamp(62px, 8vh, 76px) !important;
  }

  body[data-route="cover"] .cover-choice span {
    font-size: 10px !important;
  }

  body[data-route="cover"] .cover-ai-limit {
    font-size: 10px !important;
  }

  body[data-route="cover"] .cover-work-panel > .cover-info-message {
    font-size: 11px !important;
    min-height: 34px !important;
    padding: 8px 12px !important;
  }
}
/* Customize page: use the empty vertical space and ease the cramped modules */
@media (min-width: 900px) {
  body[data-route="customize"] .workflow-shell {
    width: min(1420px, calc(100% - clamp(42px, 5vw, 96px))) !important;
  }

  body[data-route="customize"] .workflow-shell > .page-intro {
    margin-bottom: 14px !important;
  }

  body[data-route="customize"] .customize-compact-layout {
    align-content: stretch !important;
    gap: 14px !important;
    grid-template-rows: minmax(335px, 1fr) minmax(258px, 0.76fr) !important;
    height: 100% !important;
    padding-bottom: 2px !important;
  }

  body[data-route="customize"] .customize-hero-grid {
    gap: clamp(18px, 2vw, 26px) !important;
    grid-template-columns: minmax(0, 1.95fr) minmax(300px, 360px) !important;
  }

  body[data-route="customize"] .customize-preview-card {
    gap: 14px !important;
    padding: 18px 20px !important;
  }

  body[data-route="customize"] .compact-live-head h2 {
    font-size: clamp(23px, 2vw, 29px) !important;
    margin: 3px 0 4px !important;
  }

  body[data-route="customize"] .inline-price {
    padding: 9px 14px !important;
  }

  body[data-route="customize"] .video-live-preview {
    min-height: 0 !important;
  }

  body[data-route="customize"] .customize-publication-card {
    gap: 13px !important;
    padding: 22px !important;
  }

  body[data-route="customize"] .publication-preview-field {
    gap: 7px !important;
    padding: 12px !important;
  }

  body[data-route="customize"] .customize-settings-card {
    gap: 11px !important;
    padding: 14px 16px !important;
  }

  body[data-route="customize"] .customize-settings-head h2 {
    font-size: 20px !important;
  }

  body[data-route="customize"] .style-order-note {
    font-size: 11px !important;
    padding: 8px 10px !important;
  }

  body[data-route="customize"] .customize-outcome-grid {
    gap: 8px !important;
  }

  body[data-route="customize"] .customize-outcome-card {
    min-height: 39px !important;
    padding: 8px 10px !important;
  }

  body[data-route="customize"] .customize-settings-form {
    gap: 10px !important;
    grid-template-columns: minmax(330px, 1.35fr) minmax(220px, 0.85fr) minmax(250px, 1fr) minmax(250px, 0.95fr) !important;
  }

  body[data-route="customize"] .settings-module {
    padding: 10px !important;
  }

  body[data-route="customize"] .settings-module input,
  body[data-route="customize"] .settings-module select {
    min-height: 36px !important;
  }

  body[data-route="customize"] .settings-color-module {
    gap: 10px !important;
    grid-template-columns: minmax(190px, 0.95fr) minmax(190px, 1.05fr) !important;
  }

  body[data-route="customize"] .settings-color-module .color-input-row {
    grid-template-columns: 36px minmax(0, 1fr) !important;
  }

  body[data-route="customize"] .settings-color-module .color-preview-button {
    height: 36px !important;
    width: 36px !important;
  }

  body[data-route="customize"] .settings-color-module .color-palette {
    gap: 5px !important;
  }

  body[data-route="customize"] .settings-color-module .color-swatch {
    min-height: 24px !important;
    padding: 4px !important;
  }

  body[data-route="customize"] .settings-color-module .color-swatch::before {
    height: 14px !important;
  }

  body[data-route="customize"] .settings-select-module {
    gap: 8px !important;
  }

  body[data-route="customize"] .settings-ai-module .ai-palette-list,
  body[data-route="customize"] .settings-ai-module .ai-palette-empty {
    max-height: 54px !important;
    min-height: 50px !important;
  }

  body[data-route="customize"] .settings-template-module .style-template-list {
    max-height: 86px !important;
  }

  body[data-route="customize"] .settings-template-module .style-template {
    min-height: 34px !important;
    padding: 6px 8px !important;
  }

  body[data-route="customize"] .customize-settings-card > .upload-status {
    min-height: 34px !important;
    padding: 8px 10px !important;
  }

  body[data-route="customize"] .workflow-shell > .page-actions {
    min-height: 60px !important;
    padding: 8px 0 max(10px, env(safe-area-inset-bottom)) !important;
  }
}

@media (min-width: 900px) and (max-height: 860px) {
  body[data-route="customize"] .customize-compact-layout {
    grid-template-rows: minmax(310px, 1fr) minmax(238px, 0.72fr) !important;
  }

  body[data-route="customize"] .customize-preview-card {
    padding: 16px 18px !important;
  }

  body[data-route="customize"] .customize-settings-card {
    padding: 12px 14px !important;
  }
}
/* Customize page: balanced final fit without touching the action bar */
@media (min-width: 900px) {
  body[data-route="customize"] .customize-compact-layout {
    gap: 13px !important;
    grid-template-rows: minmax(324px, 1fr) minmax(238px, 0.68fr) !important;
    overflow: hidden !important;
  }

  body[data-route="customize"] .customize-preview-card {
    padding: 17px 19px !important;
  }

  body[data-route="customize"] .customize-publication-card {
    padding: 18px 20px !important;
  }

  body[data-route="customize"] .customize-settings-card {
    padding: 13px 16px !important;
  }

  body[data-route="customize"] .customize-settings-form {
    gap: 9px !important;
  }

  body[data-route="customize"] .settings-module {
    padding: 9px !important;
  }

  body[data-route="customize"] .workflow-shell > .page-actions {
    min-height: 64px !important;
    padding: 9px 0 max(11px, env(safe-area-inset-bottom)) !important;
  }
}

@media (min-width: 900px) and (max-height: 860px) {
  body[data-route="customize"] .customize-compact-layout {
    grid-template-rows: minmax(304px, 1fr) minmax(224px, 0.64fr) !important;
  }
}
/* Cover page: lock the changing content area so mode switches do not resize the card */
@media (min-width: 760px) {
  body[data-route="cover"] .cover-layout {
    align-items: stretch !important;
    grid-auto-rows: minmax(0, 1fr) !important;
  }

  body[data-route="cover"] .cover-work-panel {
    align-content: start !important;
    grid-auto-rows: max-content !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  body[data-route="cover"] .cover-ai-panel,
  body[data-route="cover"] .cover-simple-panel,
  body[data-route="cover"] .cover-studio-panel {
    align-content: start !important;
    min-height: clamp(390px, 49svh, 500px) !important;
    overflow: auto !important;
    scrollbar-gutter: stable !important;
  }

  body[data-route="cover"] .cover-ai-panel.hidden,
  body[data-route="cover"] .cover-simple-panel.hidden,
  body[data-route="cover"] .cover-studio-panel.hidden {
    display: none !important;
  }

  body[data-route="cover"] .cover-work-panel > .cover-info-message {
    align-self: end !important;
  }
}

@media (min-width: 900px) {
  body[data-route="cover"] .cover-work-panel {
    max-height: calc(100svh - var(--app-topbar-height) - 178px) !important;
  }

  body[data-route="cover"] .cover-ai-panel,
  body[data-route="cover"] .cover-simple-panel,
  body[data-route="cover"] .cover-studio-panel {
    max-height: clamp(390px, 49svh, 500px) !important;
  }
}

@media (min-width: 760px) and (max-width: 899px) {
  body[data-route="cover"] .cover-work-panel {
    max-height: 100% !important;
  }

  body[data-route="cover"] .cover-ai-panel,
  body[data-route="cover"] .cover-simple-panel,
  body[data-route="cover"] .cover-studio-panel {
    min-height: clamp(280px, 47svh, 360px) !important;
    max-height: clamp(280px, 47svh, 360px) !important;
  }
}
/* Cover page: fixed frame, scrollable content, no hidden clipped controls */
@media (min-width: 760px) {
  body[data-route="cover"] .cover-work-panel {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-gutter: stable both-edges !important;
  }

  body[data-route="cover"] .cover-ai-panel,
  body[data-route="cover"] .cover-simple-panel,
  body[data-route="cover"] .cover-studio-panel {
    max-height: none !important;
    overflow: visible !important;
  }
}
/* Workflow parity: the Style page is the reference shell for every step */
.option-row {
  position: relative;
}

.option-free-badge {
  align-items: center;
  background: rgba(85, 240, 177, 0.12);
  border: 1px solid rgba(85, 240, 177, 0.35);
  border-radius: 999px;
  color: #55f0b1;
  display: inline-flex;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  justify-content: center;
  line-height: 1;
  min-height: 22px;
  padding: 0 8px;
  position: absolute;
  right: 12px;
  top: 10px;
  white-space: nowrap;
}

.option-row strong,
.option-row span {
  padding-right: 62px;
}

@media (min-width: 900px) {
  :where(
    body[data-route="import"],
    body[data-route="details"],
    body[data-route="cover"],
    body[data-route="style"],
    body[data-route="customize"],
    body[data-route="seo"],
    body[data-route="preview"],
    body[data-route="youtube"]
  ) {
    overflow: hidden !important;
  }

  :where(
    body[data-route="import"],
    body[data-route="details"],
    body[data-route="cover"],
    body[data-route="style"],
    body[data-route="customize"],
    body[data-route="seo"],
    body[data-route="preview"],
    body[data-route="youtube"]
  ) .workflow-shell {
    display: grid !important;
    grid-template-rows: auto auto minmax(0, 1fr) auto !important;
    height: calc(100svh - var(--app-topbar-height)) !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: clamp(10px, 1.6vh, 18px) 0 0 !important;
    width: min(1320px, calc(100% - clamp(48px, 8vw, 164px))) !important;
  }

  body[data-route="preview"] .workflow-shell {
    grid-template-rows: auto auto minmax(0, 1fr) auto auto !important;
  }

  .workflow-shell > .stepper {
    align-self: start !important;
    margin-bottom: clamp(10px, 1.5vh, 16px) !important;
    min-height: 50px !important;
    padding: 8px 14px !important;
    width: fit-content !important;
  }

  .workflow-shell > .page-intro {
    align-self: start !important;
    margin-bottom: clamp(12px, 1.8vh, 18px) !important;
  }

  .workflow-shell > .page-intro .kicker {
    margin-bottom: 5px !important;
  }

  .workflow-shell > .page-intro h1 {
    font-size: clamp(31px, 2.7vw, 40px) !important;
    line-height: 1.04 !important;
    margin-bottom: 6px !important;
  }

  .workflow-shell > .page-intro p:not(.kicker) {
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  .workflow-shell > :where(.upload-grid, .details-layout, .cover-layout, .style-layout, .customize-layout, .seo-layout, .preview-layout, .youtube-card) {
    align-self: stretch !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .workflow-shell > .page-actions,
  .workflow-shell > .inline-actions {
    align-self: end !important;
    min-height: 64px !important;
    padding: 10px 0 max(12px, env(safe-area-inset-bottom)) !important;
  }

  body[data-route="import"] .upload-grid,
  body[data-route="details"] .details-layout,
  body[data-route="cover"] .cover-layout,
  body[data-route="style"] .template-layout,
  body[data-route="seo"] .seo-layout,
  body[data-route="preview"] .preview-layout {
    gap: clamp(24px, 3vw, 40px) !important;
  }

  body[data-route="import"] .upload-grid,
  body[data-route="details"] .details-layout,
  body[data-route="seo"] .seo-layout,
  body[data-route="preview"] .preview-layout {
    grid-template-columns: minmax(0, 1fr) clamp(320px, 25vw, 370px) !important;
  }

  body[data-route="style"] .template-layout,
  body[data-route="cover"] .cover-layout {
    grid-template-columns: minmax(0, 1fr) clamp(300px, 24vw, 360px) !important;
  }

  body[data-route="import"] .upload-card,
  body[data-route="import"] .info-card,
  body[data-route="details"] .card,
  body[data-route="cover"] .cover-work-panel,
  body[data-route="cover"] .cover-preview-column,
  body[data-route="style"] .style-options-column,
  body[data-route="style"] .selected-template-card,
  body[data-route="customize"] .customize-preview-card,
  body[data-route="customize"] .customize-publication-card,
  body[data-route="customize"] .customize-settings-card,
  body[data-route="seo"] .seo-editor,
  body[data-route="seo"] .score-card,
  body[data-route="preview"] .recap-card {
    max-height: 100% !important;
    min-height: 0 !important;
    overflow: auto !important;
    scrollbar-color: rgba(85, 230, 255, 0.42) transparent !important;
    scrollbar-gutter: stable !important;
    scrollbar-width: thin !important;
  }

  body[data-route="style"] .style-options-column {
    padding-right: 8px !important;
  }

  body[data-route="cover"] .cover-work-panel {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body[data-route="cover"] .cover-preview-column {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  body[data-route="customize"] .customize-compact-layout {
    grid-template-rows: minmax(0, 1.05fr) minmax(0, 0.8fr) !important;
  }
}
/* Workflow parity override: direct route selectors beat older route-specific rules */
@media (min-width: 900px) {
  body[data-route="import"] .workflow-shell,
  body[data-route="details"] .workflow-shell,
  body[data-route="cover"] .workflow-shell,
  body[data-route="style"] .workflow-shell,
  body[data-route="customize"] .workflow-shell,
  body[data-route="seo"] .workflow-shell,
  body[data-route="preview"] .workflow-shell,
  body[data-route="youtube"] .workflow-shell {
    display: grid !important;
    height: calc(100svh - var(--app-topbar-height)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: clamp(10px, 1.6vh, 18px) 0 0 !important;
    width: min(1360px, calc(100% - clamp(48px, 8vw, 164px))) !important;
  }

  body[data-route="import"] .workflow-shell,
  body[data-route="details"] .workflow-shell,
  body[data-route="cover"] .workflow-shell,
  body[data-route="style"] .workflow-shell,
  body[data-route="customize"] .workflow-shell,
  body[data-route="seo"] .workflow-shell,
  body[data-route="youtube"] .workflow-shell {
    grid-template-rows: auto auto minmax(0, 1fr) auto !important;
  }

  body[data-route="preview"] .workflow-shell {
    grid-template-rows: auto auto minmax(0, 1fr) auto auto !important;
  }

  body[data-route="import"] .workflow-shell > .stepper,
  body[data-route="details"] .workflow-shell > .stepper,
  body[data-route="cover"] .workflow-shell > .stepper,
  body[data-route="style"] .workflow-shell > .stepper,
  body[data-route="customize"] .workflow-shell > .stepper,
  body[data-route="seo"] .workflow-shell > .stepper,
  body[data-route="preview"] .workflow-shell > .stepper,
  body[data-route="youtube"] .workflow-shell > .stepper {
    margin-bottom: clamp(10px, 1.5vh, 16px) !important;
    min-height: 56px !important;
    padding: 8px 14px !important;
  }

  body[data-route="import"] .workflow-shell > .page-intro,
  body[data-route="details"] .workflow-shell > .page-intro,
  body[data-route="cover"] .workflow-shell > .page-intro,
  body[data-route="style"] .workflow-shell > .page-intro,
  body[data-route="customize"] .workflow-shell > .page-intro,
  body[data-route="seo"] .workflow-shell > .page-intro,
  body[data-route="preview"] .workflow-shell > .page-intro,
  body[data-route="youtube"] .workflow-shell > .page-intro {
    margin-bottom: clamp(12px, 1.8vh, 18px) !important;
  }

  body[data-route="import"] .workflow-shell > .page-intro h1,
  body[data-route="details"] .workflow-shell > .page-intro h1,
  body[data-route="cover"] .workflow-shell > .page-intro h1,
  body[data-route="style"] .workflow-shell > .page-intro h1,
  body[data-route="customize"] .workflow-shell > .page-intro h1,
  body[data-route="seo"] .workflow-shell > .page-intro h1,
  body[data-route="preview"] .workflow-shell > .page-intro h1,
  body[data-route="youtube"] .workflow-shell > .page-intro h1 {
    font-size: clamp(31px, 2.7vw, 40px) !important;
    line-height: 1.04 !important;
    margin-bottom: 6px !important;
  }

  body[data-route="import"] .workflow-shell > .page-actions,
  body[data-route="details"] .workflow-shell > .page-actions,
  body[data-route="cover"] .workflow-shell > .page-actions,
  body[data-route="style"] .workflow-shell > .page-actions,
  body[data-route="customize"] .workflow-shell > .page-actions,
  body[data-route="seo"] .workflow-shell > .page-actions,
  body[data-route="preview"] .workflow-shell > .page-actions,
  body[data-route="youtube"] .workflow-shell > .page-actions {
    min-height: 64px !important;
    padding: 10px 0 max(12px, env(safe-area-inset-bottom)) !important;
  }
}
/* Cover page: six cover choices must fit without an internal scrollbar */
@media (min-width: 900px) {
  body[data-route="cover"] .cover-work-panel {
    gap: 9px 14px !important;
    overflow: hidden !important;
    padding: clamp(16px, 2vh, 20px) !important;
    scrollbar-width: none !important;
  }

  body[data-route="cover"] .cover-work-panel::-webkit-scrollbar {
    display: none !important;
  }

  body[data-route="cover"] .cover-work-panel h2 {
    font-size: clamp(22px, 2vw, 26px) !important;
    margin-bottom: 0 !important;
  }

  body[data-route="cover"] .cover-work-panel .option-row {
    min-height: 52px !important;
    padding: 10px 14px !important;
  }

  body[data-route="cover"] .cover-ai-panel,
  body[data-route="cover"] .cover-simple-panel,
  body[data-route="cover"] .cover-studio-panel {
    gap: 7px !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: hidden !important;
    scrollbar-width: none !important;
  }

  body[data-route="cover"] .cover-ai-panel::-webkit-scrollbar,
  body[data-route="cover"] .cover-simple-panel::-webkit-scrollbar,
  body[data-route="cover"] .cover-studio-panel::-webkit-scrollbar {
    display: none !important;
  }

  body[data-route="cover"] .cover-ai-head {
    gap: 12px !important;
  }

  body[data-route="cover"] .cover-ai-head span {
    line-height: 1.22 !important;
  }

  body[data-route="cover"] .cover-ai-head .btn {
    min-height: 38px !important;
    padding-inline: 14px !important;
  }

  body[data-route="cover"] .cover-choice-grid {
    gap: 9px clamp(12px, 1.8vw, 24px) !important;
  }

  body[data-route="cover"] .cover-choice {
    gap: 4px !important;
    padding: 6px !important;
  }

  body[data-route="cover"] .cover-choice img {
    height: clamp(92px, 12.4vh, 132px) !important;
  }

  body[data-route="cover"] .cover-choice span {
    font-size: 11px !important;
  }

  body[data-route="cover"] .cover-ai-limit {
    font-size: 11px !important;
    line-height: 1.15 !important;
  }

  body[data-route="cover"] .cover-work-panel > .cover-info-message {
    min-height: 34px !important;
    padding: 8px 12px !important;
  }
}

@media (min-width: 900px) and (max-height: 820px) {
  body[data-route="cover"] .cover-work-panel {
    gap: 7px 12px !important;
    padding: 14px !important;
  }

  body[data-route="cover"] .cover-work-panel .option-row {
    min-height: 46px !important;
    padding: 8px 12px !important;
  }

  body[data-route="cover"] .cover-choice img {
    height: clamp(78px, 11vh, 105px) !important;
  }

  body[data-route="cover"] .cover-work-panel > .cover-info-message {
    min-height: 30px !important;
    padding: 7px 10px !important;
  }
}
/* Cover page: final no-scroll fit for 6 visible propositions */
@media (min-width: 900px) {
  body[data-route="cover"] .cover-work-panel {
    overflow: hidden !important;
    scrollbar-gutter: auto !important;
  }

  body[data-route="cover"] .cover-work-panel h2 {
    font-size: clamp(21px, 1.9vw, 25px) !important;
  }

  body[data-route="cover"] .cover-ai-head .btn {
    min-height: 36px !important;
  }

  body[data-route="cover"] .cover-choice-grid {
    gap: 8px clamp(12px, 1.6vw, 22px) !important;
  }

  body[data-route="cover"] .cover-choice {
    border-radius: 9px !important;
    gap: 3px !important;
    padding: 5px !important;
  }

  body[data-route="cover"] .cover-choice img {
    height: clamp(86px, 11.2vh, 124px) !important;
  }
}

@media (min-width: 900px) and (max-height: 820px) {
  body[data-route="cover"] .cover-work-panel {
    gap: 6px 12px !important;
    padding: 12px !important;
  }

  body[data-route="cover"] .cover-work-panel .option-row {
    min-height: 42px !important;
    padding: 7px 12px !important;
  }

  body[data-route="cover"] .cover-work-panel .option-row strong {
    font-size: 12px !important;
  }

  body[data-route="cover"] .cover-work-panel .option-row span,
  body[data-route="cover"] .cover-ai-head span {
    font-size: 10px !important;
  }

  body[data-route="cover"] .cover-choice img {
    height: clamp(64px, 8.4vh, 78px) !important;
  }

  body[data-route="cover"] .cover-choice span {
    font-size: 10px !important;
    line-height: 1 !important;
  }

  body[data-route="cover"] .cover-ai-limit {
    font-size: 10px !important;
  }
}
/* Price clarity: show why the current total changes */
.order-breakdown-list {
  gap: 8px !important;
}

.template-detail-list .template-total-row {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2px;
  padding-top: 10px;
}

.template-detail-list .template-total-row strong {
  color: #ffd369;
  font-size: 15px;
}
/* Customize page: validation deck with removable paid options */
body[data-route="customize"] .customize-settings-card {
  grid-template-rows: auto auto minmax(0, 1fr) auto !important;
}

body[data-route="customize"] .customize-settings-head {
  align-items: start !important;
}

body[data-route="customize"] .customize-settings-head p {
  display: block !important;
  max-width: 620px;
}

body[data-route="customize"] .customize-outcome-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body[data-route="customize"] .customize-outcome-card {
  align-items: center;
  display: grid !important;
  gap: 2px 9px !important;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-rows: auto auto;
  min-height: 48px !important;
  padding: 8px 10px !important;
}

body[data-route="customize"] .customize-outcome-card i {
  align-items: center;
  background: linear-gradient(135deg, #55f0b1, #6d5ef7);
  border-radius: 999px;
  color: #06111c;
  display: inline-flex;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  grid-row: 1 / 3;
  height: 24px;
  justify-content: center;
  width: 24px;
}

body[data-route="customize"] .customize-outcome-card strong,
body[data-route="customize"] .customize-outcome-card span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-route="customize"] .customize-outcome-card span {
  display: block !important;
}

body[data-route="customize"] .customize-control-deck {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(270px, 0.82fr) minmax(0, 2.55fr);
  min-height: 0;
}

body[data-route="customize"] .customize-settings-form {
  display: grid;
  gap: 10px !important;
  grid-template-columns: minmax(300px, 1.18fr) minmax(170px, 0.66fr) minmax(220px, 0.94fr) minmax(190px, 0.8fr) !important;
  min-height: 0;
}

body[data-route="customize"] .settings-module {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(9, 16, 28, 0.46) !important;
  border-color: rgba(255, 255, 255, 0.13) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body[data-route="customize"] .settings-module-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 8px;
}

body[data-route="customize"] .settings-module-head span {
  color: rgba(203, 213, 225, 0.86);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

body[data-route="customize"] .settings-module-head strong {
  color: #ffffff;
  font-size: 12px;
  text-align: right;
}

body[data-route="customize"] .customize-price-module {
  display: grid;
  gap: 8px;
  grid-template-rows: auto minmax(0, 1fr);
}

body[data-route="customize"] .customize-price-module .settings-module-head strong {
  color: #ffd369;
  font-size: 18px;
}

.order-breakdown-list .order-breakdown-row {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 30px;
}

.order-breakdown-list .order-breakdown-row.paid-row {
  grid-template-columns: minmax(0, 1fr) auto 28px;
}

.order-breakdown-list .order-breakdown-row span {
  color: rgba(203, 213, 225, 0.9);
  font-size: 11px;
  line-height: 1.2;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-breakdown-list .order-breakdown-row strong {
  color: #ffffff;
  font-size: 12px;
  white-space: nowrap;
}

.order-breakdown-list .order-breakdown-row.paid-row strong {
  color: #ffd369;
}

.compact-order-list {
  display: grid;
  gap: 4px !important;
}

.compact-order-list .order-breakdown-row {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  min-height: 29px;
  padding: 5px 6px 5px 8px;
}

.remove-addon-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 17px;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  line-height: 1;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
  width: 28px;
}

.remove-addon-button:hover {
  background: rgba(255, 111, 141, 0.2);
  border-color: rgba(255, 111, 141, 0.58);
  transform: translateY(-1px);
}

.remove-addon-button:focus-visible {
  outline: 3px solid #55e6ff;
  outline-offset: 2px;
}

.template-detail-list .order-breakdown-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.template-detail-list .order-breakdown-row.paid-row {
  grid-template-columns: minmax(0, 1fr) auto 28px;
}

.template-detail-list .remove-addon-button {
  height: 26px;
  width: 26px;
}

body[data-route="customize"] .settings-color-module {
  align-content: start;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(140px, 0.85fr) minmax(160px, 1fr) !important;
}

body[data-route="customize"] .settings-color-module .settings-module-head,
body[data-route="customize"] .settings-color-module .color-field {
  grid-column: 1;
}

body[data-route="customize"] .settings-color-module .color-palette {
  align-content: start;
  grid-column: 2;
  margin-top: 0 !important;
}

body[data-route="customize"] .settings-ai-module .ai-palette-head {
  margin-bottom: 8px;
}

body[data-route="customize"] .settings-ai-module .ai-palette-head .btn {
  min-height: 32px !important;
}

body[data-route="customize"] .settings-template-module .style-template-list {
  max-height: 92px !important;
}

@media (min-width: 900px) and (max-height: 860px) {
  body[data-route="customize"] .customize-settings-head p,
  body[data-route="customize"] .customize-outcome-card span {
    display: none !important;
  }

  body[data-route="customize"] .customize-outcome-card {
    min-height: 34px !important;
  }

  body[data-route="customize"] .customize-control-deck {
    grid-template-columns: minmax(270px, 0.8fr) minmax(0, 2.6fr);
  }

  body[data-route="customize"] .settings-module-head {
    margin-bottom: 6px;
  }

  .compact-order-list .order-breakdown-row {
    min-height: 26px;
    padding-block: 3px;
  }
}

@media (max-width: 1100px) and (min-width: 900px) {
  body[data-route="customize"] .customize-control-deck,
  body[data-route="customize"] .customize-settings-form {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
/* Customize page: remove duplicated total badge so the control deck has room */
body[data-route="customize"] .customize-settings-head .style-order-note {
  display: none !important;
}

body[data-route="customize"] .customize-settings-card {
  align-content: stretch !important;
  grid-template-rows: auto auto minmax(74px, 1fr) auto !important;
}

body[data-route="customize"] .customize-settings-head {
  min-height: 0 !important;
}

body[data-route="customize"] .customize-control-deck,
body[data-route="customize"] .customize-settings-form,
body[data-route="customize"] .settings-module {
  min-height: 0 !important;
}

@media (min-width: 900px) and (max-height: 860px) {
  body[data-route="customize"] .customize-settings-card {
    gap: 6px !important;
    grid-template-rows: auto auto minmax(76px, 1fr) auto !important;
  }

  body[data-route="customize"] .customize-outcome-card {
    min-height: 30px !important;
    padding: 5px 8px !important;
  }

  body[data-route="customize"] .customize-outcome-card i {
    height: 20px;
    width: 20px;
  }

  body[data-route="customize"] .customize-control-deck {
    gap: 8px;
  }

  body[data-route="customize"] .settings-module {
    padding: 7px !important;
  }

  body[data-route="customize"] .settings-module-head {
    margin-bottom: 4px;
  }

  body[data-route="customize"] .settings-module-head strong {
    font-size: 11px;
  }

  body[data-route="customize"] .settings-color-module .color-palette,
  body[data-route="customize"] .settings-template-module .style-template-list {
    max-height: 54px !important;
    overflow: hidden !important;
  }

  body[data-route="customize"] .settings-ai-module .ai-palette-list,
  body[data-route="customize"] .settings-ai-module .ai-palette-empty {
    max-height: 48px !important;
    min-height: 42px !important;
  }

  body[data-route="customize"] .customize-settings-card > .upload-status {
    min-height: 26px !important;
    padding: 5px 8px !important;
  }
}
/* Customize page: compact paid-addon list */
body[data-route="customize"] .customize-price-module {
  overflow: hidden !important;
}

body[data-route="customize"] .base-price-strip {
  background: rgba(85, 240, 177, 0.08);
  border: 1px solid rgba(85, 240, 177, 0.18);
  border-radius: 8px;
  color: rgba(220, 252, 231, 0.92);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.1;
  margin-top: -2px;
  overflow: hidden;
  padding: 5px 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-route="customize"] .active-addon-list {
  display: grid;
  gap: 4px;
  min-height: 0;
}

body[data-route="customize"] .active-addon-list p {
  color: rgba(203, 213, 225, 0.88);
  font-size: 11px;
  font-weight: 800;
  margin: 0;
  padding: 2px 0 0;
}

body[data-route="customize"] .active-addon-row {
  align-items: center;
  background: rgba(255, 211, 105, 0.08);
  border: 1px solid rgba(255, 211, 105, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(0, 1fr) auto 26px;
  min-height: 25px;
  padding: 3px 4px 3px 7px;
}

body[data-route="customize"] .active-addon-row span {
  color: rgba(255, 243, 207, 0.94);
  font-size: 10px;
  font-weight: 850;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-route="customize"] .active-addon-row strong {
  color: #ffd369;
  font-size: 11px;
  white-space: nowrap;
}

body[data-route="customize"] .active-addon-row .remove-addon-button {
  height: 24px;
  width: 24px;
}

@media (min-width: 900px) and (max-height: 860px) {
  body[data-route="customize"] .base-price-strip {
    display: none;
  }

  body[data-route="customize"] .active-addon-row {
    min-height: 24px;
    padding-block: 2px;
  }
}
/* Customize page: make two paid rows fit in the compact price module */
@media (min-width: 900px) and (max-height: 860px) {
  body[data-route="customize"] .customize-price-module {
    gap: 3px !important;
  }

  body[data-route="customize"] .customize-price-module .settings-module-head {
    margin-bottom: 0 !important;
    min-height: 16px;
  }

  body[data-route="customize"] .customize-price-module .settings-module-head span {
    font-size: 9px;
  }

  body[data-route="customize"] .customize-price-module .settings-module-head strong {
    font-size: 14px;
    line-height: 1;
  }

  body[data-route="customize"] .active-addon-list {
    gap: 2px;
  }

  body[data-route="customize"] .active-addon-row {
    gap: 4px;
    grid-template-columns: minmax(0, 1fr) auto 20px;
    min-height: 20px;
    padding: 1px 2px 1px 6px;
  }

  body[data-route="customize"] .active-addon-row span {
    font-size: 9px;
  }

  body[data-route="customize"] .active-addon-row strong {
    font-size: 10px;
  }

  body[data-route="customize"] .active-addon-row .remove-addon-button {
    font-size: 14px;
    height: 20px;
    width: 20px;
  }
}
/* Customize page: price module owns its own compact rows */
body[data-route="customize"] .customize-price-module {
  align-content: start !important;
  display: grid !important;
  grid-auto-rows: max-content !important;
  grid-template-rows: none !important;
}

@media (min-width: 900px) and (max-height: 860px) {
  body[data-route="customize"] .customize-price-module {
    padding: 6px !important;
  }
}
/* Customize page: lock paid addon rows to one accessible line */
body[data-route="customize"] .active-addon-list {
  align-content: start !important;
  grid-auto-rows: max-content !important;
  grid-template-rows: none !important;
}

body[data-route="customize"] .active-addon-row {
  height: 24px !important;
  min-height: 24px !important;
  overflow: hidden !important;
}

body[data-route="customize"] .active-addon-row span,
body[data-route="customize"] .active-addon-row strong {
  line-height: 1 !important;
}

@media (min-width: 900px) and (max-height: 860px) {
  body[data-route="customize"] .active-addon-row {
    height: 22px !important;
    min-height: 22px !important;
  }

  body[data-route="customize"] .active-addon-row .remove-addon-button {
    height: 20px !important;
    min-height: 20px !important;
    width: 20px !important;
  }
}
@media (min-width: 900px) and (max-height: 860px) {
  body[data-route="customize"] .customize-price-module {
    gap: 2px !important;
    padding: 4px 6px !important;
  }
}
/* Customize page: full-width template preview, then readable page-scrolled settings */
body[data-route="customize"] {
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body[data-route="customize"] .workflow-shell {
  display: block !important;
  height: auto !important;
  min-height: calc(100svh - var(--app-topbar-height)) !important;
  overflow: visible !important;
  padding-bottom: 0 !important;
}

body[data-route="customize"] .workflow-shell > .customize-layout {
  max-height: none !important;
  overflow: visible !important;
  padding: 1px 0 0 !important;
  scrollbar-gutter: auto !important;
}

body[data-route="customize"] .customize-scroll-layout {
  display: grid !important;
  gap: clamp(20px, 3vh, 30px) !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding-bottom: 18px !important;
}

body[data-route="customize"] .customize-hero-grid {
  display: contents !important;
}

body[data-route="customize"] .template-full-card,
body[data-route="customize"] .customize-settings-card {
  background: linear-gradient(135deg, rgba(32, 36, 50, 0.88), rgba(18, 45, 53, 0.82)) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 24px 80px rgba(0, 0, 0, 0.22) !important;
  max-height: none !important;
  overflow: visible !important;
  width: 100% !important;
}

body[data-route="customize"] .template-full-card {
  display: grid !important;
  gap: clamp(18px, 2vw, 24px) !important;
  grid-template-rows: auto auto !important;
  padding: clamp(20px, 2.4vw, 30px) !important;
}

body[data-route="customize"] .template-full-card .compact-live-head {
  align-items: flex-start !important;
  display: flex !important;
  gap: 18px !important;
  justify-content: space-between !important;
}

body[data-route="customize"] .template-full-card .compact-live-head h2 {
  font-size: clamp(27px, 2.4vw, 38px) !important;
  margin: 6px 0 6px !important;
}

body[data-route="customize"] .template-full-card .compact-live-head p {
  color: rgba(203, 213, 225, 0.92) !important;
  display: block !important;
  font-size: 15px !important;
  max-width: 760px !important;
}

body[data-route="customize"] .template-full-card .video-live-preview {
  aspect-ratio: 16 / 9 !important;
  height: clamp(330px, 35vw, 520px) !important;
  max-height: none !important;
  min-height: 330px !important;
  overflow: hidden !important;
  width: 100% !important;
}

body[data-route="customize"] .template-full-card .live-title-block {
  max-width: min(86%, 860px) !important;
}

body[data-route="customize"] .template-full-card .live-title-block strong {
  font-size: clamp(30px, 5cqw, 64px) !important;
  line-height: 1.02 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  text-wrap: balance !important;
}

body[data-route="customize"] .customize-publication-card {
  max-height: none !important;
  overflow: visible !important;
  scrollbar-width: none !important;
}

body[data-route="customize"] .customize-publication-card::-webkit-scrollbar {
  display: none !important;
}

body[data-route="customize"] .customize-settings-card {
  display: grid !important;
  gap: clamp(16px, 2vw, 22px) !important;
  grid-template-rows: auto auto auto auto !important;
  padding: clamp(20px, 2.3vw, 28px) !important;
}

body[data-route="customize"] .customize-settings-head {
  align-items: start !important;
  display: flex !important;
  gap: 18px !important;
  justify-content: space-between !important;
}

body[data-route="customize"] .customize-settings-head h2 {
  font-size: clamp(24px, 2.3vw, 32px) !important;
}

body[data-route="customize"] .customize-settings-head p {
  color: rgba(203, 213, 225, 0.9) !important;
  display: block !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  max-width: 720px !important;
}

body[data-route="customize"] .customize-settings-head .style-order-note {
  display: none !important;
}

body[data-route="customize"] .customize-outcome-grid {
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body[data-route="customize"] .customize-outcome-card {
  align-items: center !important;
  gap: 12px !important;
  min-height: 74px !important;
  padding: 14px 16px !important;
}

body[data-route="customize"] .customize-outcome-card span,
body[data-route="customize"] .customize-outcome-card strong {
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

body[data-route="customize"] .customize-control-deck {
  align-items: start !important;
  display: grid !important;
  gap: clamp(14px, 1.7vw, 20px) !important;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.56fr) minmax(300px, 0.96fr) !important;
  min-height: 0 !important;
  overflow: visible !important;
}

body[data-route="customize"] .customize-settings-form {
  display: grid !important;
  gap: clamp(14px, 1.6vw, 18px) !important;
  grid-template-columns: repeat(2, minmax(240px, 1fr)) !important;
  min-height: 0 !important;
  overflow: visible !important;
}

body[data-route="customize"] .settings-module,
body[data-route="customize"] .customize-price-module,
body[data-route="customize"] .publication-settings-module {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.035)) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 12px !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 16px !important;
}

body[data-route="customize"] .settings-module-head {
  align-items: center !important;
  display: flex !important;
  gap: 12px !important;
  justify-content: space-between !important;
  margin: 0 !important;
  min-height: 0 !important;
}

body[data-route="customize"] .settings-color-module {
  align-content: start !important;
  grid-template-columns: minmax(210px, 0.82fr) minmax(220px, 1fr) !important;
}

body[data-route="customize"] .settings-color-module .color-palette,
body[data-route="customize"] .settings-template-module .style-template-list,
body[data-route="customize"] .settings-ai-module .ai-palette-list,
body[data-route="customize"] .settings-ai-module .ai-palette-empty {
  max-height: none !important;
  min-height: 0 !important;
  overflow: visible !important;
}

body[data-route="customize"] .color-palette {
  gap: 10px !important;
}

body[data-route="customize"] .customize-price-module {
  align-content: start !important;
}

body[data-route="customize"] .base-price-strip {
  border-radius: 8px !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  overflow: visible !important;
  padding: 9px 10px !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

body[data-route="customize"] .active-addon-list {
  display: grid !important;
  gap: 8px !important;
}

body[data-route="customize"] .active-addon-row {
  grid-template-columns: minmax(0, 1fr) auto 32px !important;
  height: auto !important;
  min-height: 42px !important;
  overflow: visible !important;
  padding: 7px 8px 7px 12px !important;
}

body[data-route="customize"] .active-addon-row span {
  font-size: 12px !important;
  line-height: 1.25 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

body[data-route="customize"] .active-addon-row strong {
  font-size: 12px !important;
  line-height: 1.2 !important;
}

body[data-route="customize"] .active-addon-row .remove-addon-button {
  font-size: 18px !important;
  height: 32px !important;
  min-height: 32px !important;
  width: 32px !important;
}

body[data-route="customize"] .publication-settings-module {
  align-content: start !important;
}

body[data-route="customize"] .publication-settings-module .publication-preview-field {
  padding: 12px !important;
}

body[data-route="customize"] .publication-settings-module .publication-description-field p {
  display: block !important;
  line-height: 1.45 !important;
  max-height: none !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
}

body[data-route="customize"] .publication-empty-note {
  color: rgba(203, 213, 225, 0.86);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

body[data-route="customize"] .customize-settings-card > .upload-status {
  min-height: 48px !important;
  padding: 13px 14px !important;
}

body[data-route="customize"] .workflow-shell > .page-actions {
  margin-top: 26px !important;
  min-height: 76px !important;
  padding: 12px 0 max(14px, env(safe-area-inset-bottom)) !important;
  position: sticky !important;
}

@media (max-width: 1180px) {
  body[data-route="customize"] .customize-control-deck {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body[data-route="customize"] .customize-settings-form {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 780px) {
  body[data-route="customize"] .template-full-card .compact-live-head,
  body[data-route="customize"] .customize-settings-head {
    display: grid !important;
  }

  body[data-route="customize"] .template-full-card .video-live-preview {
    height: auto !important;
    min-height: 230px !important;
  }

  body[data-route="customize"] .customize-outcome-grid,
  body[data-route="customize"] .customize-settings-form,
  body[data-route="customize"] .settings-color-module {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
/* Customize page: keep the full-width template visible without turning it into a giant panel */
body[data-route="customize"] .template-full-card .video-live-preview {
  aspect-ratio: auto !important;
  height: clamp(300px, 28vw, 420px) !important;
  min-height: 300px !important;
}
/* Customize price: make the total explain itself */
body[data-route="customize"] .customize-price-module {
  gap: 14px !important;
  min-width: 0 !important;
}

body[data-route="customize"] .base-price-strip.price-breakdown-list {
  background: rgba(255, 255, 255, 0.045) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  display: grid !important;
  gap: 7px !important;
  padding: 10px !important;
}

body[data-route="customize"] .price-breakdown-line {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

body[data-route="customize"] .price-breakdown-line span {
  color: rgba(226, 232, 240, 0.88);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  min-width: 0;
  overflow: visible;
  white-space: normal;
}

body[data-route="customize"] .price-breakdown-line strong {
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

body[data-route="customize"] .price-breakdown-line.free-line strong {
  color: #55f0b1;
}

body[data-route="customize"] .active-addon-list {
  align-content: start !important;
  display: grid !important;
  gap: 8px !important;
  min-height: 0 !important;
}

body[data-route="customize"] .active-addon-title {
  color: rgba(255, 211, 105, 0.96);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

body[data-route="customize"] .active-addon-list p {
  color: rgba(203, 213, 225, 0.82) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}

body[data-route="customize"] .active-addon-row {
  background: linear-gradient(135deg, rgba(255, 211, 105, 0.13), rgba(255, 211, 105, 0.055)) !important;
  border-color: rgba(255, 211, 105, 0.28) !important;
  grid-template-columns: minmax(0, 1fr) auto 32px !important;
  height: auto !important;
  min-height: 44px !important;
  overflow: visible !important;
  padding: 8px 8px 8px 12px !important;
}

body[data-route="customize"] .active-addon-row span {
  color: rgba(255, 246, 224, 0.96) !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

body[data-route="customize"] .active-addon-row strong {
  color: #ffd369 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
}

body[data-route="customize"] .active-addon-row .remove-addon-button {
  height: 32px !important;
  min-height: 32px !important;
  width: 32px !important;
}

/* Details page premium pass */
body[data-route="details"] .details-premium-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 390px);
  gap: 24px;
  min-height: 0;
  scrollbar-gutter: auto !important;
  scrollbar-width: none !important;
}

body[data-route="details"] .details-premium-layout::-webkit-scrollbar,
body[data-route="details"] .details-insight-card::-webkit-scrollbar {
  height: 0;
  width: 0;
}

body[data-route="details"] .details-form-card,
body[data-route="details"] .details-insight-card {
  border-color: rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(22px) saturate(135%);
}

body[data-route="details"] .details-form-card {
  display: grid;
  gap: clamp(16px, 2vh, 24px);
  padding: clamp(22px, 3vw, 34px);
  overflow: visible !important;
  scrollbar-gutter: auto !important;
  scrollbar-width: none !important;
}

body[data-route="details"] .details-card-head {
  max-width: 760px;
}

body[data-route="details"] .details-step-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 12px;
  padding: 0 12px;
  border: 1px solid rgba(85, 240, 177, 0.26);
  border-radius: 999px;
  background: rgba(85, 240, 177, 0.1);
  color: #55f0b1;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

body[data-route="details"] .details-card-head h2,
body[data-route="details"] .details-signal-block h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.05;
}

body[data-route="details"] .details-card-head p {
  max-width: 640px;
  margin: 10px 0 0;
  color: rgba(203, 213, 225, 0.78);
  font-size: 15px;
  line-height: 1.5;
}

body[data-route="details"] .details-form-grid {
  gap: clamp(14px, 1.8vh, 20px);
}

body[data-route="details"] .field span {
  color: rgba(248, 250, 252, 0.94);
  font-size: 13px;
  font-weight: 900;
}

body[data-route="details"] .field input,
body[data-route="details"] .field select,
body[data-route="details"] .field textarea {
  min-height: 54px;
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(3, 10, 18, 0.74);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-route="details"] .field input::placeholder {
  color: rgba(203, 213, 225, 0.44);
}

body[data-route="details"] .field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(248, 250, 252, 0.9) 50%),
    linear-gradient(135deg, rgba(248, 250, 252, 0.9) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  padding-right: 42px;
}

body[data-route="details"] .field input:focus,
body[data-route="details"] .field select:focus {
  border-color: rgba(85, 240, 177, 0.62);
  box-shadow: 0 0 0 3px rgba(85, 240, 177, 0.13);
}

body[data-route="details"] .genre-other-field {
  grid-column: 1 / -1;
}

body[data-route="details"] .details-helper-strip,
body[data-route="details"] .details-note-card,
body[data-route="details"] .details-use-list article,
body[data-route="details"] .details-preview-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

body[data-route="details"] .details-helper-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 14px;
}

body[data-route="details"] .details-helper-strip strong,
body[data-route="details"] .details-note-card strong,
body[data-route="details"] .details-use-list strong {
  color: #ffffff;
  font-weight: 950;
}

body[data-route="details"] .details-helper-strip span,
body[data-route="details"] .details-note-card span,
body[data-route="details"] .details-use-list span {
  color: rgba(203, 213, 225, 0.78);
  font-size: 13px;
  line-height: 1.35;
}

body[data-route="details"] .details-insight-card {
  align-content: start;
  display: grid;
  gap: 10px;
  min-height: 0;
  padding: 20px;
  overflow: hidden !important;
  scrollbar-gutter: auto !important;
  scrollbar-width: none !important;
}

body[data-route="details"] .details-preview-card {
  min-height: 128px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 20px;
  background:
    radial-gradient(circle at 24% 18%, rgba(85, 240, 177, 0.38), transparent 32%),
    linear-gradient(145deg, rgba(109, 94, 247, 0.2), rgba(3, 10, 18, 0.72));
}

body[data-route="details"] .details-preview-card span {
  color: #55f0b1;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

body[data-route="details"] .details-preview-card strong {
  color: #ffffff;
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.08;
}

body[data-route="details"] .details-preview-card em,
body[data-route="details"] .details-preview-card small {
  color: rgba(248, 250, 252, 0.76);
  font-style: normal;
  font-weight: 850;
}

body[data-route="details"] .details-signal-block {
  display: grid;
  gap: 12px;
}

body[data-route="details"] .details-signal-block h2 {
  font-size: 22px;
}

body[data-route="details"] .details-signal-block .pill-row {
  gap: 8px;
}

body[data-route="details"] .details-use-list {
  display: grid;
  gap: 7px;
}

body[data-route="details"] .details-use-list article {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 86px minmax(0, 1fr);
  min-height: 0;
  padding: 8px 10px;
}

body[data-route="details"] .details-use-list strong {
  font-size: 14px;
}

body[data-route="details"] .details-use-list span {
  font-size: 12px;
  line-height: 1.25;
}

body[data-route="details"] .details-note-card {
  display: grid;
  gap: 6px;
  padding: 11px 12px;
  border-color: rgba(255, 211, 105, 0.25);
  background: rgba(255, 211, 105, 0.08);
}

body[data-route="details"] .details-insight-card .upload-status {
  margin: 0;
}

@media (min-width: 900px) {
  body[data-route="details"] .details-premium-layout {
    overflow: hidden !important;
    padding: 1px !important;
  }

  body[data-route="details"] .details-note-card {
    display: none;
  }
}

@media (max-width: 899px) {
  body[data-route="details"] .details-premium-layout {
    grid-template-columns: 1fr;
    overflow: visible !important;
  }

  body[data-route="details"] .details-form-card,
  body[data-route="details"] .details-insight-card {
    overflow: visible;
    padding: 18px;
  }

  body[data-route="details"] .details-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Marketing landing and example proof pages */
body[data-route="landing"],
body[data-route="exemple"] {
  background:
    radial-gradient(circle at 15% 10%, rgba(109, 94, 247, 0.16), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(76, 217, 235, 0.14), transparent 36%),
    linear-gradient(120deg, #080914 0%, #0a1018 46%, #071b1d 100%);
  color: #eef4ff;
}

body[data-route="landing"] .topbar,
body[data-route="exemple"] .topbar {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: rgba(7, 9, 18, 0.82);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

body[data-route="landing"] .brand,
body[data-route="exemple"] .brand,
body[data-route="landing"] .topbar-nav a,
body[data-route="exemple"] .topbar-nav a {
  color: #f8fafc;
}

body[data-route="landing"] .topbar-subtitle,
body[data-route="exemple"] .topbar-subtitle {
  color: rgba(203, 213, 225, 0.72);
}

.pill-green {
  border: 1px solid rgba(85, 240, 177, 0.22);
  background: rgba(85, 240, 177, 0.1);
  color: #7fffd3;
}

.marketing-landing {
  padding: clamp(32px, 4vw, 68px) 0 88px;
}

body[data-route="landing"] .landing-shell,
body[data-route="exemple"] .content-shell {
  width: min(1320px, calc(100% - 64px));
}

.marketing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 0.82fr);
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
  min-height: min(760px, calc(100vh - 112px));
}

.marketing-hero-copy {
  max-width: 760px;
}

.landing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #55f0b1;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.marketing-hero h1,
.landing-section-copy h2,
.example-hero-proof h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.marketing-hero-copy p,
.landing-section-copy p,
.example-hero-proof p {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(203, 213, 225, 0.84);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.6;
}

.landing-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.landing-trust-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(226, 232, 240, 0.9);
  font-size: 13px;
  font-weight: 800;
}

.hero-product-card,
.landing-flow-card,
.landing-proof-grid,
.landing-before-after article,
.landing-visibility,
.landing-template-showcase,
.landing-pricing,
.landing-faq article,
.example-hero-proof,
.example-stage,
.example-analysis-grid article,
.example-proof-timeline article {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px) saturate(135%);
}

.hero-product-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
}

.hero-product-top,
.hero-score-strip,
.landing-price-card span,
.example-score-card span,
.example-strategy-card span,
.example-proof-timeline span {
  display: flex;
  justify-content: space-between;
  color: rgba(203, 213, 225, 0.78);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-product-card .video-hero {
  height: clamp(250px, 30vw, 338px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(109, 94, 247, 0.22), transparent 48%),
    #0b1320;
}

.hero-product-card .video-inner {
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(109, 94, 247, 0.14) 1px, transparent 1px),
    linear-gradient(180deg, rgba(85, 240, 177, 0.08), transparent 62%),
    #10172a;
  background-size: 34px 100%, 100% 100%, 100% 100%;
}

.hero-product-card .video-title {
  color: #55f0b1;
  font-size: clamp(24px, 2.2vw, 32px);
}

.hero-product-card .audio-bars span,
.landing-template-grid .audio-bars span {
  background: linear-gradient(180deg, #ffd369, #55f0b1 48%, #58d7ff);
}

.hero-publication-preview {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(85, 240, 177, 0.24);
  border-radius: 8px;
  background: rgba(4, 23, 24, 0.72);
}

.hero-publication-preview > span {
  color: #55f0b1;
  font-size: 12px;
  font-weight: 900;
}

.hero-publication-preview strong {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.35;
}

.hero-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-score-strip {
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(85, 240, 177, 0.16), rgba(88, 215, 255, 0.08));
}

.hero-score-strip strong {
  color: #55f0b1;
  font-size: 24px;
}

.landing-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.landing-flow-card {
  min-height: 148px;
  padding: 18px;
}

.landing-flow-card span {
  color: #58d7ff;
  font-size: 13px;
  font-weight: 950;
}

.landing-flow-card strong,
.landing-proof-cards strong,
.landing-before-after h3,
.visibility-board strong,
.landing-template-grid strong,
.landing-faq strong,
.example-proof-timeline strong {
  display: block;
  color: #ffffff;
  font-size: 19px;
  line-height: 1.25;
}

.landing-flow-card p,
.landing-proof-cards span,
.landing-before-after li,
.visibility-board p,
.landing-template-grid p,
.landing-faq p,
.example-proof-timeline strong {
  color: rgba(203, 213, 225, 0.78);
}

.landing-proof-grid,
.landing-visibility,
.landing-template-showcase,
.landing-pricing {
  margin-top: 28px;
  padding: clamp(24px, 3.2vw, 42px);
}

.landing-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
}

.landing-section-copy h2 {
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.06;
}

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

.landing-proof-cards article {
  min-height: 124px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.landing-proof-cards span,
.landing-template-grid p,
.landing-faq p {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
}

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

.landing-before-after article {
  padding: 28px;
}

.landing-before-after .after {
  border-color: rgba(85, 240, 177, 0.26);
  background: linear-gradient(145deg, rgba(85, 240, 177, 0.12), rgba(255, 255, 255, 0.045));
}

.landing-before-after ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.landing-before-after li {
  padding-left: 18px;
  position: relative;
}

.landing-before-after li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #55f0b1;
}

.landing-visibility {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.visibility-board {
  display: grid;
  gap: 14px;
}

.visibility-board article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.052);
}

.visibility-board article.selected {
  border-color: rgba(109, 94, 247, 0.74);
  background: linear-gradient(135deg, rgba(109, 94, 247, 0.24), rgba(85, 240, 177, 0.06));
}

.landing-template-showcase {
  display: grid;
  gap: 24px;
}

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

.landing-template-grid article {
  min-height: 248px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.template-mini-visual {
  height: 112px;
  margin-bottom: 14px;
  padding: 20px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 52% 34%, rgba(85, 240, 177, 0.22), transparent 34%),
    #08111d;
}

.landing-template-grid article > span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 211, 105, 0.45);
  border-radius: 999px;
  background: rgba(255, 211, 105, 0.13);
  color: #ffd369;
  font-size: 12px;
  font-weight: 950;
}

.landing-pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  align-items: center;
}

.landing-price-card {
  padding: 24px;
  border: 1px solid rgba(85, 240, 177, 0.28);
  border-radius: 8px;
  background: rgba(4, 23, 24, 0.7);
}

.landing-price-card strong {
  display: block;
  margin: 8px 0;
  color: #ffffff;
  font-size: 48px;
  line-height: 1;
}

.landing-price-card p {
  margin: 0 0 20px;
  color: rgba(203, 213, 225, 0.82);
  line-height: 1.5;
}

.landing-faq {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.landing-faq article {
  padding: 18px;
}

.example-proof-shell {
  padding: clamp(28px, 4vw, 64px) 0 88px;
}

.example-hero-proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 32px;
  align-items: center;
  padding: clamp(24px, 3.4vw, 44px);
}

.example-hero-proof h1 {
  font-size: clamp(38px, 4.4vw, 62px);
}

.example-proof-timeline {
  display: grid;
  gap: 12px;
}

.example-proof-timeline article {
  padding: 16px;
  box-shadow: none;
}

.example-proof-timeline strong {
  margin-top: 6px;
  color: #ffffff;
}

.example-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 22px;
  margin-top: 26px;
  padding: 24px;
}

.example-video-panel .landing-eyebrow {
  margin-bottom: 14px;
}

.example-video-panel .video-example {
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 22% 20%, rgba(109, 94, 247, 0.26), transparent 30%),
    #09101b;
}

.example-video-panel .video-inner {
  border-radius: 8px;
}

.example-publish-panel {
  border-radius: 8px;
  background: rgba(4, 23, 24, 0.62);
}

.example-publish-panel h2,
.example-outcomes h2 {
  color: #ffffff;
}

.example-publish-panel .readonly-box {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(248, 250, 252, 0.94);
}

.example-analysis-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.example-analysis-grid article {
  min-height: 168px;
  padding: 22px;
}

.example-score-card strong {
  display: block;
  color: #55f0b1;
  font-size: 72px;
  line-height: 0.9;
}

.example-analysis-grid p {
  margin: 12px 0 0;
  color: rgba(203, 213, 225, 0.78);
  line-height: 1.45;
}

.example-analysis-grid .selected {
  border-color: rgba(109, 94, 247, 0.7);
  background: linear-gradient(135deg, rgba(109, 94, 247, 0.24), rgba(255, 255, 255, 0.045));
}

.example-outcomes {
  margin-top: 24px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
}

.example-outcomes .outcome-grid article {
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.example-outcomes .outcome-grid strong {
  color: #ffffff;
}

.example-outcomes .outcome-grid span {
  color: rgba(203, 213, 225, 0.78);
}

.example-final-actions {
  justify-content: flex-end;
  margin-bottom: 0;
}

@media (max-width: 1120px) {
  .marketing-hero,
  .landing-proof-grid,
  .landing-visibility,
  .landing-pricing,
  .example-hero-proof,
  .example-stage {
    grid-template-columns: 1fr;
  }

  .landing-flow,
  .landing-template-grid,
  .landing-faq,
  .example-analysis-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body[data-route="landing"] .topbar,
  body[data-route="exemple"] .topbar {
    padding-inline: 18px;
  }

  body[data-route="landing"] .landing-shell,
  body[data-route="exemple"] .content-shell {
    width: calc(100% - 32px);
  }

  .marketing-landing,
  .example-proof-shell {
    padding-top: 24px;
  }

  .marketing-hero h1,
  .example-hero-proof h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .landing-flow,
  .landing-proof-cards,
  .landing-before-after,
  .landing-template-grid,
  .landing-faq,
  .example-analysis-grid {
    grid-template-columns: 1fr;
  }

  .landing-price-card strong {
    font-size: 40px;
  }

  .example-video-panel .video-example {
    min-height: 330px;
    padding: 24px;
  }

  .example-video-panel .video-example .video-inner {
    min-height: 270px;
    padding: 28px 24px;
  }
}

/* Step 3 visual page: stable Template-style layout */
body[data-route="cover"] .cover-layout {
  align-items: stretch !important;
}

body[data-route="cover"] .cover-work-panel .hidden,
body[data-route="cover"] .cover-ai-panel.hidden,
body[data-route="cover"] .cover-simple-panel.hidden,
body[data-route="cover"] .cover-studio-panel.hidden {
  display: none !important;
}

body[data-route="cover"] .cover-preview-summary {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-route="cover"] .cover-preview-summary span {
  align-items: center;
  background: rgba(85, 240, 177, 0.1);
  border: 1px solid rgba(85, 240, 177, 0.24);
  border-radius: 10px;
  color: rgba(229, 255, 245, 0.92);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  justify-content: center;
  min-height: 36px;
  padding: 0 10px;
}

body[data-route="cover"] .cover-preview-column .cover-info-message {
  font-size: 13px !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  min-height: 44px !important;
  padding: 12px 14px !important;
}

@media (min-width: 900px) {
  body[data-route="cover"] .cover-layout {
    display: grid !important;
    gap: 28px !important;
    grid-template-columns: minmax(0, 1fr) 340px !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 0 0 8px !important;
  }

  body[data-route="cover"] .cover-work-panel {
    align-content: start !important;
    align-self: stretch !important;
    display: grid !important;
    gap: 16px !important;
    grid-auto-rows: max-content !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    height: 100% !important;
    justify-self: stretch !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 26px !important;
    scrollbar-gutter: auto !important;
    width: 100% !important;
  }

  body[data-route="cover"] .cover-work-panel::-webkit-scrollbar {
    display: none !important;
  }

  body[data-route="cover"] .cover-work-panel h2 {
    font-size: 26px !important;
    grid-column: 1 / -1 !important;
    line-height: 1.05 !important;
    margin: 0 !important;
  }

  body[data-route="cover"] .cover-work-panel > .option-row {
    align-content: center !important;
    border-radius: 10px !important;
    min-height: 66px !important;
    padding: 12px 44px 12px 16px !important;
  }

  body[data-route="cover"] .cover-work-panel > .option-row strong {
    font-size: 13px !important;
    line-height: 1.12 !important;
  }

  body[data-route="cover"] .cover-work-panel > .option-row span {
    font-size: 11px !important;
    line-height: 1.25 !important;
  }

  body[data-route="cover"] .cover-work-panel .option-free-badge {
    right: 12px !important;
    top: 12px !important;
  }

  body[data-route="cover"] .cover-ai-panel,
  body[data-route="cover"] .cover-simple-panel,
  body[data-route="cover"] .cover-studio-panel {
    align-content: start !important;
    display: grid !important;
    gap: 12px !important;
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    scrollbar-gutter: auto !important;
  }

  body[data-route="cover"] .cover-ai-head {
    align-items: end !important;
    display: grid !important;
    gap: 18px !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  body[data-route="cover"] .cover-ai-head strong {
    font-size: 14px !important;
    line-height: 1.15 !important;
  }

  body[data-route="cover"] .cover-ai-head span {
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  body[data-route="cover"] .cover-ai-head .btn {
    min-height: 44px !important;
    min-width: 190px !important;
    padding: 0 18px !important;
  }

  body[data-route="cover"] .cover-choice-grid {
    align-items: start !important;
    display: grid !important;
    gap: 14px 24px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body[data-route="cover"] .cover-choice {
    border-radius: 12px !important;
    gap: 5px !important;
    min-height: 0 !important;
    padding: 7px !important;
  }

  body[data-route="cover"] .cover-choice img {
    aspect-ratio: 16 / 9 !important;
    border-radius: 8px !important;
    height: clamp(92px, 12.2svh, 132px) !important;
    object-fit: cover !important;
    width: 100% !important;
  }

  body[data-route="cover"] .cover-choice span {
    font-size: 12px !important;
    line-height: 1.15 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    padding: 0 2px 1px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body[data-route="cover"] .cover-choice.selected::after {
    right: 10px !important;
    top: 10px !important;
  }

  body[data-route="cover"] .cover-ai-empty {
    align-items: center !important;
    border-radius: 12px !important;
    display: grid !important;
    min-height: 210px !important;
    padding: 22px !important;
    text-align: center !important;
  }

  body[data-route="cover"] .cover-ai-limit {
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  body[data-route="cover"] .simple-cover-grid {
    display: grid !important;
    gap: 14px 18px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body[data-route="cover"] .simple-cover-choice {
    border-radius: 12px !important;
    gap: 7px !important;
    min-height: 0 !important;
    padding: 8px !important;
  }

  body[data-route="cover"] .simple-cover-preview {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    min-height: 106px !important;
  }

  body[data-route="cover"] .simple-palette-panel {
    gap: 10px !important;
    padding-top: 12px !important;
  }

  body[data-route="cover"] .simple-palette-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }

  body[data-route="cover"] .cover-preview-column {
    align-self: start !important;
    display: grid !important;
    gap: 14px !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 22px !important;
    width: 100% !important;
  }

  body[data-route="cover"] .cover-preview-head {
    display: grid !important;
    gap: 6px !important;
  }

  body[data-route="cover"] .cover-preview-head span {
    color: rgba(216, 226, 241, 0.74) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
  }

  body[data-route="cover"] .cover-preview-head strong {
    color: #ffffff !important;
    font-size: 20px !important;
    line-height: 1.1 !important;
    overflow-wrap: anywhere !important;
  }

  body[data-route="cover"] .cover-preview-column .cover-card {
    aspect-ratio: 1 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    max-height: none !important;
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
  }

  body[data-route="cover"] .cover-preview-column .cover-art {
    aspect-ratio: 1 !important;
    height: auto !important;
    min-height: 0 !important;
    width: 100% !important;
  }
}

@media (min-width: 900px) and (max-height: 840px) {
  body[data-route="cover"] .cover-layout {
    gap: 22px !important;
    grid-template-columns: minmax(0, 1fr) 310px !important;
  }

  body[data-route="cover"] .cover-work-panel {
    gap: 11px !important;
    padding: 18px !important;
  }

  body[data-route="cover"] .cover-work-panel h2 {
    font-size: 24px !important;
  }

  body[data-route="cover"] .cover-work-panel > .option-row {
    min-height: 56px !important;
    padding: 9px 40px 9px 13px !important;
  }

  body[data-route="cover"] .cover-ai-head {
    gap: 14px !important;
  }

  body[data-route="cover"] .cover-ai-head .btn {
    min-height: 38px !important;
    min-width: 172px !important;
  }

  body[data-route="cover"] .cover-choice-grid {
    gap: 10px 18px !important;
  }

  body[data-route="cover"] .cover-choice img {
    height: clamp(74px, 10.6svh, 96px) !important;
  }

  body[data-route="cover"] .cover-preview-column {
    gap: 10px !important;
    padding: 18px !important;
  }

  body[data-route="cover"] .cover-preview-head strong {
    font-size: 17px !important;
  }

  body[data-route="cover"] .simple-cover-preview {
    min-height: 84px !important;
  }

  body[data-route="cover"] .simple-palette-grid {
    gap: 7px !important;
  }
}

@media (max-width: 899px) {
  body[data-route="cover"] .cover-layout {
    display: grid !important;
    gap: 18px !important;
    grid-template-columns: 1fr !important;
    height: auto !important;
    overflow: visible !important;
  }

  body[data-route="cover"] .cover-work-panel,
  body[data-route="cover"] .cover-preview-column {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body[data-route="cover"] .cover-work-panel {
    grid-template-columns: 1fr !important;
    padding: 18px !important;
  }

  body[data-route="cover"] .cover-choice-grid,
  body[data-route="cover"] .simple-cover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body[data-route="cover"] .cover-choice img {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
  }

body[data-route="cover"] .cover-preview-column {
    padding: 18px !important;
  }
}

/* Step 4 template page: clearer cards and purchase summary */
body[data-route="style"] .template-choice-card {
  position: relative;
}

body[data-route="style"] .template-choice-preview {
  display: block;
  margin: 0;
  min-width: 0;
}

body[data-route="style"] .template-price-badge,
body[data-route="style"] .template-summary-price {
  letter-spacing: 0;
  white-space: nowrap;
}

body[data-route="style"] .template-summary-card h2,
body[data-route="style"] .template-summary-card p {
  margin: 0;
}

body[data-route="style"] .template-summary-top {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}

body[data-route="style"] .template-summary-top h2 {
  color: #ffffff;
  font-size: 28px;
  line-height: 1.05;
  margin: 7px 0 8px;
}

body[data-route="style"] .template-summary-top p,
body[data-route="style"] .template-next-note {
  color: rgba(203, 213, 225, 0.82);
  font-size: 13px;
  line-height: 1.45;
}

body[data-route="style"] .template-benefit-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-route="style"] .template-benefit-grid span {
  align-items: center;
  background: rgba(85, 240, 177, 0.08);
  border: 1px solid rgba(85, 240, 177, 0.2);
  border-radius: 10px;
  color: rgba(229, 255, 245, 0.9);
  display: inline-flex;
  font-size: 11px;
  font-weight: 850;
  justify-content: center;
  min-height: 36px;
  padding: 0 8px;
  text-align: center;
}

body[data-route="style"] .template-detail-list .template-detail-main {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 11px 12px;
}

body[data-route="style"] .template-price-stack {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 8px;
  padding-top: 12px;
}

body[data-route="style"] .template-price-stack > div {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

body[data-route="style"] .template-price-stack span {
  color: rgba(203, 213, 225, 0.8);
  font-size: 12px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-route="style"] .template-price-stack strong {
  color: #ffffff;
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}

body[data-route="style"] .template-price-stack .paid-row {
  background: rgba(246, 183, 60, 0.1);
  border: 1px solid rgba(246, 183, 60, 0.24);
  border-radius: 10px;
  grid-template-columns: minmax(0, 1fr) auto 28px;
  padding: 8px 8px 8px 10px;
}

body[data-route="style"] .template-total-row {
  background: rgba(246, 183, 60, 0.12);
  border: 1px solid rgba(246, 183, 60, 0.28);
  border-radius: 10px;
  padding: 12px;
}

body[data-route="style"] .template-total-row strong {
  color: #ffdf8f;
  font-size: 17px;
}

body[data-route="style"] .order-breakdown-row {
  gap: 10px;
}

body[data-route="style"] .order-breakdown-row.paid-row {
  background: rgba(246, 183, 60, 0.08);
  border: 1px solid rgba(246, 183, 60, 0.18);
  border-radius: 10px;
  padding: 10px;
}

@media (min-width: 900px) {
  body[data-route="style"] .template-layout {
    align-items: stretch !important;
    display: grid !important;
    gap: 28px !important;
    grid-template-columns: minmax(0, 1fr) 360px !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 0 0 8px !important;
  }

  body[data-route="style"] .style-options-column {
    align-content: start !important;
    display: grid !important;
    gap: 16px !important;
    height: 100% !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding-right: 0 !important;
    scrollbar-color: rgba(85, 230, 255, 0.42) transparent !important;
    scrollbar-gutter: stable !important;
    scrollbar-width: thin !important;
  }

  body[data-route="style"] .template-filter-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 0 !important;
  }

  body[data-route="style"] .template-filter {
    border-radius: 999px !important;
    min-height: 40px !important;
    padding-inline: 16px !important;
  }

  body[data-route="style"] .template-grid {
    display: grid !important;
    gap: 16px 18px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    overflow: visible !important;
  }

  body[data-route="style"] .template-choice-card {
    align-items: center !important;
    border-radius: 12px !important;
    display: grid !important;
    gap: 16px !important;
    grid-template-columns: 132px minmax(0, 1fr) !important;
    min-height: 154px !important;
    padding: 14px 56px 14px 14px !important;
  }

  body[data-route="style"] .template-choice-card .template-price-badge {
    right: 14px !important;
    top: 14px !important;
  }

  body[data-route="style"] .template-choice-card .style-preview {
    height: 126px !important;
    width: 126px !important;
  }

  body[data-route="style"] .style-card-copy {
    align-content: center !important;
    display: grid !important;
    gap: 7px !important;
    min-width: 0 !important;
  }

  body[data-route="style"] .style-card-copy > strong {
    color: #ffffff !important;
    font-size: 17px !important;
    line-height: 1.1 !important;
  }

  body[data-route="style"] .style-card-copy > small {
    color: rgba(203, 213, 225, 0.8) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    margin: 0 !important;
  }

  body[data-route="style"] .template-value-prop {
    color: rgba(203, 213, 225, 0.66) !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }

  body[data-route="style"] .selected-template-card {
    align-content: start !important;
    align-self: start !important;
    border-radius: 12px !important;
    display: grid !important;
    gap: 11px !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 20px !important;
    position: static !important;
  }

  body[data-route="style"] .selected-template-preview .style-preview {
    height: 124px !important;
    width: 100% !important;
  }

  body[data-route="style"] .template-summary-top h2 {
    font-size: 24px !important;
  }

  body[data-route="style"] .template-benefit-grid {
    gap: 6px !important;
  }

  body[data-route="style"] .template-benefit-grid span {
    min-height: 30px !important;
  }

  body[data-route="style"] .template-detail-list {
    gap: 7px !important;
    padding-top: 10px !important;
  }

  body[data-route="style"] .template-price-stack {
    gap: 7px !important;
    padding-top: 9px !important;
  }

  body[data-route="style"] .template-detail-list .template-detail-main,
  body[data-route="style"] .template-total-row,
  body[data-route="style"] .order-breakdown-row.paid-row {
    padding: 8px 10px !important;
  }

  body[data-route="style"] .template-next-note {
    display: none !important;
  }

  body[data-route="style"] .selected-template-card > .upload-status {
    min-height: 38px !important;
    padding: 9px 11px !important;
  }
}

@media (min-width: 900px) and (max-height: 840px) {
  body[data-route="style"] .template-layout {
    gap: 22px !important;
    grid-template-columns: minmax(0, 1fr) 330px !important;
  }

  body[data-route="style"] .style-options-column {
    gap: 12px !important;
  }

  body[data-route="style"] .template-filter {
    min-height: 36px !important;
  }

  body[data-route="style"] .template-grid {
    gap: 12px 14px !important;
  }

  body[data-route="style"] .template-choice-card {
    gap: 12px !important;
    grid-template-columns: 108px minmax(0, 1fr) !important;
    min-height: 128px !important;
    padding: 11px 50px 11px 11px !important;
  }

  body[data-route="style"] .template-choice-card .style-preview {
    height: 104px !important;
    width: 104px !important;
  }

  body[data-route="style"] .style-card-copy {
    gap: 5px !important;
  }

  body[data-route="style"] .style-card-copy > strong {
    font-size: 15px !important;
  }

  body[data-route="style"] .style-card-copy > small,
  body[data-route="style"] .template-value-prop {
    font-size: 10.5px !important;
    line-height: 1.22 !important;
  }

  body[data-route="style"] .selected-template-card {
    gap: 10px !important;
    padding: 18px !important;
  }

  body[data-route="style"] .template-summary-top h2 {
    font-size: 22px !important;
  }

  body[data-route="style"] .selected-template-preview .style-preview {
    height: 145px !important;
  }

  body[data-route="style"] .template-benefit-grid span {
    font-size: 10px !important;
    min-height: 30px !important;
  }
}

@media (max-width: 899px) {
  body[data-route="style"] {
    overflow-x: hidden !important;
  }

  body[data-route="style"] .workflow-shell {
    width: calc(100% - 28px) !important;
    max-width: none !important;
    overflow-x: hidden !important;
  }

  body[data-route="style"] .workflow-shell > .page-intro,
  body[data-route="style"] .workflow-shell > .page-intro h1,
  body[data-route="style"] .workflow-shell > .page-intro p {
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body[data-route="style"] .workflow-shell > .page-intro p:not(.kicker) {
    max-width: min(100%, 330px) !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }

  body[data-route="style"] .workflow-shell > .page-intro h1 {
    font-size: clamp(27px, 7.6vw, 32px) !important;
    line-height: 1.08 !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  body[data-route="style"] .template-layout {
    display: grid !important;
    gap: 18px !important;
    grid-template-columns: 1fr !important;
    height: auto !important;
    overflow: visible !important;
  }

  body[data-route="style"] .style-options-column,
  body[data-route="style"] .selected-template-card {
    height: auto !important;
    max-height: none !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  body[data-route="style"] .template-grid {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  body[data-route="style"] .template-filter-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    overflow-x: visible !important;
    padding-bottom: 4px !important;
    scrollbar-width: none !important;
  }

  body[data-route="style"] .template-filter-bar::-webkit-scrollbar {
    display: none !important;
  }

  body[data-route="style"] .template-filter {
    flex: 0 0 auto !important;
    min-height: 38px !important;
  }

  body[data-route="style"] .template-choice-card {
    grid-template-columns: 88px minmax(0, 1fr) !important;
    min-height: 118px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 12px 12px !important;
    width: 100% !important;
  }

  body[data-route="style"] .template-choice-card .style-preview {
    height: 82px !important;
    width: 82px !important;
  }

  body[data-route="style"] .template-choice-card .template-price-badge {
    font-size: 9px !important;
    min-height: 22px !important;
    padding-inline: 7px !important;
    right: 10px !important;
    top: 10px !important;
  }

  body[data-route="style"] .style-card-copy {
    min-width: 0 !important;
    padding-right: 58px !important;
  }

  body[data-route="style"] .style-card-copy > strong,
  body[data-route="style"] .style-card-copy > small,
  body[data-route="style"] .template-value-prop {
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }
}

/* Final pass: steps 5, 6 and 7 */
body[data-route="customize"],
body[data-route="seo"],
body[data-route="preview"],
body[data-route="payment"] {
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body[data-route="customize"] .workflow-shell,
body[data-route="seo"] .workflow-shell,
body[data-route="preview"] .workflow-shell,
body[data-route="payment"] .payment-shell {
  height: auto !important;
  min-height: calc(100svh - var(--app-topbar-height)) !important;
  overflow: visible !important;
  padding-bottom: 110px !important;
  width: min(1360px, calc(100% - var(--workflow-side-gutter))) !important;
}

body[data-route="customize"] .customize-scroll-layout {
  display: grid !important;
  gap: 20px !important;
  grid-template-columns: minmax(0, 1fr) !important;
  overflow: visible !important;
}

body[data-route="customize"] .template-full-card {
  min-height: 0 !important;
  padding: clamp(20px, 2.4vw, 30px) !important;
}

body[data-route="customize"] .template-full-card .video-live-preview,
body[data-route="preview"] .final-preview-card .video-live-preview {
  aspect-ratio: 16 / 7 !important;
  height: clamp(300px, 30vw, 430px) !important;
  min-height: 300px !important;
}

body[data-route="customize"] .customize-settings-card {
  gap: 16px !important;
  padding: clamp(18px, 2.2vw, 26px) !important;
}

body[data-route="customize"] .customize-settings-head {
  align-items: end !important;
}

body[data-route="customize"] .customize-outcome-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body[data-route="customize"] .customize-control-deck {
  align-items: stretch !important;
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: minmax(270px, 0.9fr) minmax(0, 1.55fr) minmax(290px, 0.95fr) !important;
}

body[data-route="customize"] .customize-settings-form {
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
}

body[data-route="customize"] .settings-color-module {
  grid-template-columns: minmax(0, 1fr) !important;
}

body[data-route="customize"] .settings-ai-module,
body[data-route="customize"] .settings-template-module,
body[data-route="customize"] .publication-settings-module,
body[data-route="customize"] .customize-price-module {
  min-height: 188px !important;
}

body[data-route="customize"] .customize-price-module .settings-module-head strong,
body[data-route="payment"] .order-card-head > strong,
body[data-route="preview"] .final-order-head > strong {
  color: #ffd369 !important;
  font-size: clamp(22px, 2vw, 30px) !important;
  font-weight: 950 !important;
}

body[data-route="customize"] .page-actions,
body[data-route="seo"] .page-actions,
body[data-route="preview"] .page-actions,
body[data-route="payment"] .payment-fixed-actions {
  align-items: center !important;
  background: linear-gradient(180deg, rgba(3, 7, 13, 0), rgba(3, 7, 13, 0.94) 34%, rgba(3, 7, 13, 0.98)) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  bottom: 0 !important;
  display: flex !important;
  justify-content: space-between !important;
  left: auto !important;
  margin: 26px 0 0 !important;
  padding: 18px 0 max(18px, env(safe-area-inset-bottom)) !important;
  position: sticky !important;
  transform: none !important;
  width: 100% !important;
  z-index: 30 !important;
}

body[data-route="preview"] .page-actions .inline-actions,
body[data-route="payment"] .payment-fixed-actions .inline-actions {
  display: flex !important;
  gap: 12px !important;
}

body[data-route="payment"] .payment-fixed-actions {
  justify-content: flex-end !important;
}

/* Studio connection entry points */
.app-topnav .studio-login-link {
  color: rgba(85, 240, 177, 0.95) !important;
  font-weight: 900;
}

.guest-pill {
  border-color: rgba(85, 240, 177, 0.28) !important;
  color: #55f0b1 !important;
}

.studio-pill {
  border-color: rgba(143, 107, 255, 0.42) !important;
  color: #ffffff !important;
}

.guest-flow-banner {
  align-items: center;
  background: linear-gradient(135deg, rgba(85, 240, 177, 0.11), rgba(53, 216, 255, 0.06));
  border: 1px solid rgba(85, 240, 177, 0.24);
  border-radius: 8px;
  display: grid;
  gap: 10px 16px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin-bottom: 18px;
  padding: 13px 16px;
}

.guest-flow-banner strong {
  color: #55f0b1;
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.guest-flow-banner span {
  color: rgba(226, 232, 240, 0.86);
  font-size: 13px;
  line-height: 1.35;
}

.guest-flow-banner a {
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.studio-flow-banner {
  background: linear-gradient(135deg, rgba(143, 107, 255, 0.13), rgba(85, 240, 177, 0.06));
  border-color: rgba(143, 107, 255, 0.36);
}

.studio-login-shell .auth-card {
  display: grid;
  gap: 14px;
}

.studio-login-card .field {
  margin: 0;
}

.login-guest-note {
  margin: 4px 0;
}

@media (max-width: 760px) {
  .guest-flow-banner {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
  }
}

body[data-route="seo"] .seo-choice-layout {
  align-items: stretch !important;
  gap: 22px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body[data-route="seo"] .seo-choice-card,
body[data-route="seo"] .seo-editor,
body[data-route="seo"] .score-card,
body[data-route="preview"] .final-preview-card,
body[data-route="preview"] .final-publication-card,
body[data-route="preview"] .final-order-card,
body[data-route="payment"] .payment-card,
body[data-route="payment"] .order-card {
  background: linear-gradient(135deg, rgba(32, 36, 50, 0.9), rgba(18, 45, 53, 0.82)) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 24px 80px rgba(0, 0, 0, 0.2) !important;
}

body[data-route="seo"] .seo-choice-card {
  min-height: 330px !important;
}

body[data-route="seo"] .visibility-layout {
  align-items: start !important;
  display: grid !important;
  gap: 22px !important;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 390px) !important;
  max-height: none !important;
  overflow: visible !important;
}

body[data-route="seo"] .seo-editor,
body[data-route="seo"] .score-card {
  max-height: none !important;
  overflow: visible !important;
  padding: clamp(20px, 2.2vw, 28px) !important;
}

body[data-route="seo"] .seo-editor textarea {
  min-height: 158px !important;
}

body[data-route="seo"] .analysis-block,
body[data-route="seo"] .strategy-option,
body[data-route="seo"] .opportunity-row,
body[data-route="seo"] .competitor-row,
body[data-route="preview"] .final-meta-grid,
body[data-route="preview"] .delivery-choice-grid article,
body[data-route="payment"] .payment-note {
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
}

body[data-route="preview"] .publication-final-layout {
  align-items: stretch !important;
  display: grid !important;
  gap: 22px !important;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 390px) !important;
  overflow: visible !important;
}

body[data-route="preview"] .final-preview-card,
body[data-route="preview"] .final-publication-card,
body[data-route="preview"] .final-order-card {
  padding: clamp(20px, 2.3vw, 28px) !important;
}

body[data-route="preview"] .final-publication-card {
  align-content: start !important;
  display: grid !important;
  gap: 16px !important;
}

body[data-route="preview"] .final-publication-card h2,
body[data-route="preview"] .final-order-card h2,
body[data-route="payment"] .payment-card h2,
body[data-route="payment"] .order-card h2 {
  color: #ffffff !important;
  margin: 0 !important;
}

body[data-route="preview"] .final-publication-card p {
  color: rgba(203, 213, 225, 0.86) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

body[data-route="preview"] .final-meta-grid {
  display: grid !important;
  gap: 9px 14px !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  padding: 14px !important;
}

body[data-route="preview"] .final-meta-grid span,
body[data-route="preview"] .final-order-head p,
body[data-route="preview"] .delivery-choice-grid span,
body[data-route="payment"] .payment-hero p,
body[data-route="payment"] .order-card p,
body[data-route="payment"] .payment-note span,
body[data-route="payment"] .order-card small {
  color: rgba(203, 213, 225, 0.82) !important;
}

body[data-route="preview"] .final-order-card {
  display: grid !important;
  gap: 18px !important;
  margin-top: 18px !important;
}

body[data-route="preview"] .final-order-head,
body[data-route="payment"] .order-card-head,
body[data-route="payment"] .payment-hero {
  align-items: center !important;
  display: flex !important;
  gap: 18px !important;
  justify-content: space-between !important;
}

body[data-route="preview"] .delivery-choice-grid {
  display: grid !important;
  gap: 14px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body[data-route="preview"] .delivery-choice-grid article {
  display: grid !important;
  gap: 7px !important;
  padding: 15px !important;
}

body[data-route="payment"] .pricing-grid,
body[data-route="payment"] .terms-line {
  display: none !important;
}

body[data-route="payment"] .payment-shell {
  display: grid !important;
  gap: 22px !important;
  grid-template-rows: auto minmax(0, 1fr) auto !important;
  padding-top: clamp(22px, 4vh, 44px) !important;
}

body[data-route="payment"] .payment-hero {
  background: linear-gradient(135deg, rgba(32, 36, 50, 0.7), rgba(18, 45, 53, 0.45)) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  padding: clamp(18px, 2.2vw, 28px) !important;
}

body[data-route="payment"] .payment-hero h1 {
  color: #ffffff !important;
  font-size: clamp(34px, 4vw, 54px) !important;
  line-height: 1.02 !important;
  margin: 6px 0 10px !important;
}

body[data-route="payment"] .guest-status {
  border-radius: 999px !important;
  color: #55f0b1 !important;
  margin: 0 !important;
  padding: 10px 14px !important;
}

body[data-route="payment"] .final-payment-layout {
  align-items: start !important;
  display: grid !important;
  gap: 22px !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr) !important;
  overflow: visible !important;
}

body[data-route="payment"] .payment-card,
body[data-route="payment"] .order-card {
  max-height: none !important;
  overflow: visible !important;
  padding: clamp(22px, 2.5vw, 32px) !important;
}

body[data-route="payment"] .payment-card {
  display: grid !important;
  gap: 16px !important;
}

body[data-route="payment"] .payment-note {
  margin: 0 !important;
  padding: 15px !important;
}

body[data-route="payment"] .order-card {
  display: grid !important;
  gap: 15px !important;
}

body[data-route="payment"] .order-card > hr {
  border-color: rgba(255, 255, 255, 0.1) !important;
  margin: 2px 0 !important;
}

.order-breakdown-list {
  display: grid !important;
  gap: 8px !important;
}

.order-breakdown-row {
  align-items: center !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  min-height: 44px !important;
  padding: 10px 12px !important;
}

.order-breakdown-row:not(.paid-row) {
  grid-template-columns: minmax(0, 1fr) auto !important;
}

.order-breakdown-row span {
  color: rgba(226, 232, 240, 0.9) !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  overflow-wrap: anywhere !important;
}

.order-breakdown-row strong {
  color: #ffffff !important;
  font-size: 13px !important;
  white-space: nowrap !important;
}

.order-breakdown-row.paid-row {
  background: rgba(255, 211, 105, 0.1) !important;
  border-color: rgba(255, 211, 105, 0.27) !important;
}

.order-breakdown-row.paid-row strong {
  color: #ffd369 !important;
}

.remove-addon-button {
  align-items: center !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  cursor: pointer !important;
  display: inline-flex !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  height: 30px !important;
  justify-content: center !important;
  line-height: 1 !important;
  min-height: 30px !important;
  padding: 0 !important;
  width: 30px !important;
}

.remove-addon-button:hover,
.remove-addon-button:focus-visible {
  background: rgba(255, 111, 141, 0.16) !important;
  border-color: rgba(255, 111, 141, 0.58) !important;
}

@media (max-width: 1180px) {
  body[data-route="customize"] .customize-control-deck,
  body[data-route="preview"] .publication-final-layout,
  body[data-route="payment"] .final-payment-layout,
  body[data-route="seo"] .visibility-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body[data-route="customize"] .customize-settings-form {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  body[data-route="customize"] .workflow-shell,
  body[data-route="seo"] .workflow-shell,
  body[data-route="preview"] .workflow-shell,
  body[data-route="payment"] .payment-shell {
    width: calc(100% - 28px) !important;
  }

  body[data-route="customize"] .template-full-card .video-live-preview,
  body[data-route="preview"] .final-preview-card .video-live-preview {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    min-height: 230px !important;
  }

  body[data-route="customize"] .customize-outcome-grid,
  body[data-route="customize"] .customize-settings-form,
  body[data-route="seo"] .seo-choice-layout,
  body[data-route="preview"] .delivery-choice-grid,
  body[data-route="payment"] .payment-hero {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body[data-route="preview"] .final-order-head,
  body[data-route="payment"] .order-card-head {
    align-items: start !important;
    display: grid !important;
  }

  body[data-route="customize"] .page-actions,
  body[data-route="seo"] .page-actions,
  body[data-route="preview"] .page-actions,
  body[data-route="payment"] .payment-fixed-actions {
    width: calc(100vw - 28px) !important;
  }
}

/* Final sizing correction after visual QA */
body[data-route="customize"] .template-full-card .video-live-preview,
body[data-route="preview"] .final-preview-card .video-live-preview {
  aspect-ratio: 16 / 6.2 !important;
  height: clamp(230px, 22vw, 320px) !important;
  min-height: 230px !important;
}

body[data-route="customize"] .template-full-card .live-title-block strong,
body[data-route="preview"] .final-preview-card .live-title-block strong {
  font-size: clamp(28px, 3.5cqw, 52px) !important;
  line-height: 1.02 !important;
}

body[data-route="customize"] .template-full-card {
  padding-bottom: clamp(24px, 2.8vw, 36px) !important;
}

body[data-route="customize"] .customize-settings-card,
body[data-route="seo"] .seo-editor,
body[data-route="preview"] .final-order-card {
  margin-bottom: 90px !important;
}

body[data-route="seo"] .seo-editor textarea {
  min-height: 124px !important;
}

body[data-route="seo"] .seo-choice-card {
  min-height: 300px !important;
}

body[data-route="seo"] .strategy-list {
  max-height: none !important;
  overflow: visible !important;
}
