:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #667085;
  --line: #e4e8ef;
  --soft: #f6f8fb;
  --panel: #ffffff;
  --teal: #0a8f82;
  --teal-dark: #08786f;
  --coral: #e75d4f;
  --gold: #d89413;
  --violet: #5b5bd6;
  --green: #2f9b5f;
  --shadow: 0 22px 60px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, #f7f9fc 0%, #eef3f8 42%, #e9eef5 100%);
  color: var(--ink);
  font-family:
    "SF Pro Display", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(170px, 0.9fr) auto auto auto;
  gap: 12px;
  align-items: center;
  padding: 0 28px;
  border-bottom: 1px solid rgba(216, 222, 232, 0.72);
  background: rgba(250, 251, 253, 0.9);
  backdrop-filter: blur(24px) saturate(1.2);
}

.nav-brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

.brand-mark.small {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.nav-links {
  display: inline-flex;
  justify-content: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(216, 222, 232, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.nav-links a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  color: #475467;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 800;
}

.nav-links a:hover {
  background: #f1f4f8;
  color: var(--ink);
}

.nav-links a.is-active {
  background: #17202a;
  color: #fff;
}

.nav-cta {
  justify-self: end;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 999px;
  padding: 0 15px;
  background: #17202a;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.nav-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.language-select {
  width: auto;
  min-width: 96px;
  height: 36px;
  border-radius: 999px;
  padding: 0 30px 0 12px;
  background-color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 800;
}

.nav-login {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(216, 222, 232, 0.82);
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.82);
  color: #344054;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 900;
}

.nav-login:hover,
.nav-login.is-active {
  background: #17202a;
  color: #fff;
}

.home-page {
  background: #f8fafc;
}

.hero-section {
  min-height: 74svh;
  display: grid;
  align-items: end;
  padding: 96px 28px 58px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7, 10, 14, 0.32), rgba(7, 10, 14, 0.78)),
    url("https://images.unsplash.com/photo-1565793298595-6a879b1d9492?auto=format&fit=crop&w=1800&q=82")
      center / cover;
}

.hero-content {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.hero-kicker {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 860px;
  margin: 0;
  font-size: 5.25rem;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.8;
}

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

.hero-primary,
.hero-secondary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 900;
  text-decoration: none;
}

.hero-primary {
  border: 0;
  background: #ffffff;
  color: #17202a;
}

.hero-secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(16px);
}

.home-section {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 78px 28px;
}

.page-hero {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 88px 28px 48px;
}

.compact-hero {
  min-height: 430px;
  display: grid;
  align-items: end;
}

.compact-hero h1 {
  max-width: 930px;
  margin: 0;
  font-size: 4.1rem;
  line-height: 1.06;
}

.compact-hero p:not(.hero-kicker) {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.78;
}

.hero-kicker.dark {
  color: var(--teal-dark);
}

.home-section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.home-section-head h2 {
  max-width: 820px;
  margin: 0;
  font-size: 2.15rem;
  line-height: 1.18;
}

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

.process-grid article,
.showcase-stack article,
.deploy-grid article {
  border: 1px solid rgba(216, 222, 232, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 45px rgba(23, 32, 42, 0.06);
}

.process-grid article {
  min-height: 230px;
  display: grid;
  align-content: space-between;
  padding: 20px;
}

.process-grid span {
  color: var(--teal-dark);
  font-weight: 900;
}

.process-grid h3,
.showcase-stack h3,
.deploy-grid strong {
  margin: 0;
  font-size: 1.03rem;
}

.process-grid p,
.showcase-stack p,
.deploy-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 16px;
  align-items: stretch;
}

.showcase-large {
  min-height: 520px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(216, 222, 232, 0.82);
  background:
    linear-gradient(180deg, rgba(23, 32, 42, 0.04), rgba(23, 32, 42, 0.72)),
    var(--image) center / cover;
  color: #fff;
}

.showcase-large div {
  padding: 28px;
}

.showcase-large span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  font-weight: 900;
}

.showcase-large h3 {
  max-width: 660px;
  margin: 12px 0 0;
  font-size: 2.2rem;
  line-height: 1.16;
}

.showcase-stack {
  display: grid;
  gap: 14px;
}

.showcase-stack article {
  padding: 20px;
}

.showcase-stack i {
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  color: var(--teal-dark);
}

.deploy-section {
  padding-top: 30px;
}

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

.deploy-grid article {
  padding: 22px;
}

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

.finished-card {
  min-height: 360px;
  display: grid;
  align-content: end;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(216, 222, 232, 0.82);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.02), rgba(17, 24, 39, 0.72)),
    var(--image) center / cover;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 22px 60px rgba(17, 24, 39, 0.1);
}

.finished-card i {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  padding: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
}

.finished-card span,
.film-card span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 900;
}

.finished-card h3 {
  margin: 8px 0 0;
  font-size: 1.35rem;
}

.partner-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.partner-overview div {
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(216, 222, 232, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 249, 252, 0.76)),
    radial-gradient(circle at top right, rgba(62, 113, 255, 0.12), transparent 34%);
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.05);
}

.partner-overview strong {
  display: block;
  color: #111827;
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: 0;
}

.partner-overview span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.client-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(216, 222, 232, 0.82);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 249, 252, 0.74)),
    repeating-linear-gradient(90deg, rgba(17, 24, 39, 0.03) 0 1px, transparent 1px 78px);
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.07);
}

.client-logo-card {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(230, 235, 244, 0.86);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.client-logo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(62, 113, 255, 0.28);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.08);
}

.logo-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.14);
}

.client-logo-card strong {
  display: block;
  color: #182230;
  font-size: 0.98rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.client-logo-card small {
  display: block;
  margin-top: 6px;
  color: #667085;
  font-size: 0.76rem;
  font-weight: 800;
}

.logo-nova {
  background: linear-gradient(135deg, #1f2a44, #4c7dff);
}

.logo-hegu {
  background: linear-gradient(135deg, #1f7a4d, #9bd36a);
}

.logo-zhongqi {
  background: linear-gradient(135deg, #25314f, #7c8da7);
}

.logo-bluemed {
  background: linear-gradient(135deg, #0b6cb8, #46c4ff);
}

.logo-starpark {
  background: linear-gradient(135deg, #33236b, #8c7bff);
}

.logo-future {
  background: linear-gradient(135deg, #0f766e, #3dd6c6);
}

.logo-yuanjing {
  background: linear-gradient(135deg, #1f2937, #34d399);
}

.logo-matrix {
  background: linear-gradient(135deg, #111827, #a78bfa);
}

.logo-huaxin {
  background: linear-gradient(135deg, #1d4ed8, #7dd3fc);
}

.logo-qingye {
  background: linear-gradient(135deg, #166534, #84cc16);
}

.logo-summit {
  background: linear-gradient(135deg, #4338ca, #60a5fa);
}

.logo-aurora {
  background: linear-gradient(135deg, #be123c, #fb7185);
}

.home-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.large-link {
  min-height: 46px;
  text-decoration: none;
}

.library-page,
.launch-page,
.account-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 0%, rgba(15, 159, 143, 0.08), transparent 32%),
    linear-gradient(180deg, #fbfcfe 0%, #eef3f8 100%);
}

.case-section,
.launch-summary {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 22px 28px 56px;
}

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

.case-card {
  display: grid;
  grid-template-rows: 210px auto;
  overflow: hidden;
  border: 1px solid rgba(216, 222, 232, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 46px rgba(23, 32, 42, 0.06);
}

.case-card > div:last-child {
  padding: 18px;
}

.case-image {
  background:
    linear-gradient(180deg, rgba(23, 32, 42, 0), rgba(23, 32, 42, 0.2)),
    var(--image) center / cover;
}

.case-card span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.case-card h3 {
  margin: 8px 0 0;
  font-size: 1.2rem;
}

.case-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.case-card a {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.case-card a:hover {
  color: var(--teal-dark);
}

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

.film-card {
  min-height: 330px;
  display: grid;
  align-content: end;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(216, 222, 232, 0.82);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.02), rgba(17, 24, 39, 0.72)),
    var(--image) center / cover;
  color: #fff;
  box-shadow: 0 22px 60px rgba(17, 24, 39, 0.1);
}

.large-film {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 676px;
}

.film-card h3 {
  margin: 8px 0 0;
  font-size: 1.26rem;
}

.large-film h3 {
  font-size: 2rem;
}

.film-card p {
  max-width: 560px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.play-button {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
}

.play-button i {
  width: 20px;
  height: 20px;
}

.account-shell {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 78px 28px;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
}

.login-panel,
.project-center {
  border: 1px solid rgba(216, 222, 232, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 60px rgba(17, 24, 39, 0.08);
}

.login-panel {
  padding: 26px;
}

.login-panel h1 {
  margin: 0;
  font-size: 2.5rem;
  line-height: 1.12;
}

.login-panel p:not(.hero-kicker) {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.login-form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.login-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.project-center {
  padding: 22px;
}

.project-center-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.project-center-head h2 {
  margin: 4px 0 0;
  font-size: 1.45rem;
}

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

.project-summary-grid article {
  display: grid;
  gap: 6px;
  border-radius: 8px;
  background: #f7f9fc;
  padding: 14px;
}

.project-summary-grid strong {
  font-size: 1.8rem;
}

.project-summary-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.project-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.project-list article {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.project-list strong,
.project-list span {
  display: block;
}

.project-list span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
}

.project-list a {
  color: var(--teal-dark);
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

.soft-card {
  grid-template-rows: auto;
  min-height: 390px;
  align-content: center;
  background: linear-gradient(180deg, #ffffff, #f5f8fb);
}

.soft-card i {
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  color: var(--teal-dark);
}

.launch-stack {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 28px 56px;
  display: grid;
  gap: 16px;
}

.launch-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border: 1px solid rgba(216, 222, 232, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 46px rgba(23, 32, 42, 0.06);
  padding: 24px;
}

.launch-number {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #17202a;
  color: #fff;
  font-weight: 900;
}

.launch-card h2,
.launch-summary h2 {
  margin: 0;
  font-size: 1.4rem;
}

.launch-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.launch-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #475467;
  line-height: 1.8;
}

.studio-shell {
  scroll-margin-top: 72px;
  border-top: 1px solid rgba(216, 222, 232, 0.9);
  background:
    linear-gradient(180deg, #f6f8fb 0%, #eef3f8 100%);
}

.topbar {
  position: sticky;
  top: 64px;
  z-index: 10;
  min-height: 84px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(360px, 1.6fr) auto;
  gap: 20px;
  align-items: center;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px) saturate(1.2);
}

.brand-block {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  background: linear-gradient(145deg, #111827, #283241);
  color: #ffffff;
  font-weight: 800;
}

.brand-block strong,
.brand-block span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-block strong {
  font-size: 1.02rem;
}

.brand-block span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.84rem;
}

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

.model-strip label,
.settings-panel label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

select,
input {
  height: 40px;
  padding: 0 12px;
}

textarea {
  min-height: 88px;
  resize: vertical;
  padding: 12px;
  line-height: 1.7;
}

select:focus,
input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 159, 143, 0.14);
}

.project-actions,
.button-row,
.timeline-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.icon-button,
.primary-button,
.secondary-button {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.icon-button {
  width: 40px;
  padding: 0;
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.primary-button {
  padding: 0 16px;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
}

.primary-button:hover {
  background: var(--teal-dark);
}

.secondary-button {
  padding: 0 14px;
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.secondary-button:hover,
.icon-button:hover {
  border-color: #b8c2d3;
  background: #f8fafc;
}

.full-width {
  width: 100%;
}

[data-lucide] {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
  flex: 0 0 auto;
}

.workspace {
  flex: 1;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  width: min(1540px, 100%);
  margin: 0 auto;
  padding: 24px;
}

.side-panel {
  align-self: start;
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.project-card,
.progress-box,
.settings-panel,
.export-box {
  border: 1px solid rgba(228, 232, 239, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.05);
}

.project-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.project-card label,
.field-block {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.status-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.status-line strong {
  color: var(--ink);
  text-align: right;
  overflow-wrap: anywhere;
}

.step-nav {
  display: grid;
  gap: 8px;
}

.step-link {
  width: 100%;
  height: 46px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #475467;
  font-weight: 700;
  text-align: left;
}

.step-link:hover {
  background: rgba(255, 255, 255, 0.72);
}

.step-link.is-active {
  border-color: rgba(8, 120, 111, 0.22);
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal-dark);
  box-shadow: 0 12px 28px rgba(8, 120, 111, 0.08);
}

.progress-box {
  padding: 14px;
  display: grid;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--muted);
}

.progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #e8edf4;
  overflow: hidden;
}

#progressFill {
  height: 100%;
  width: 16.666%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--coral));
}

#progressText {
  color: var(--ink);
}

.main-stage {
  min-width: 0;
  padding-bottom: 48px;
}

.step-view {
  display: none;
}

.step-view.is-active {
  display: block;
}

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

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

.mini-stat {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  background: #fff;
  color: #475467;
  font-size: 0.8rem;
  font-weight: 800;
}

.section-head h1 {
  margin: 2px 0 0;
  font-size: 1.68rem;
  line-height: 1.22;
}

.section-note {
  max-width: 640px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.62;
  font-size: 0.9rem;
}

.eyebrow {
  margin: 0;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.filter-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.filter-tabs button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  padding: 0 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

.filter-tabs button.is-active {
  background: #17202a;
  color: #fff;
}

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

.template-card,
.framework-card,
.script-card,
.asset-card,
.music-card {
  border: 1px solid rgba(228, 232, 239, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.05);
}

.template-card {
  display: grid;
  grid-template-rows: 164px auto;
  min-height: 352px;
  text-align: left;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.template-card:hover,
.template-card.is-selected {
  transform: translateY(-3px);
  border-color: rgba(8, 120, 111, 0.48);
  box-shadow: var(--shadow);
}

.template-image {
  position: relative;
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.42)),
    var(--image) center / cover;
}

.template-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
}

.template-body {
  padding: 15px;
  display: grid;
  gap: 12px;
}

.template-body h2 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.32;
}

.template-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.88rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 0 9px;
  background: #eef6f5;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 800;
}

.pill.alt {
  background: #fff4e0;
  color: #9b5f00;
}

.copy-layout,
.asset-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 18px;
  align-items: start;
}

.form-stack {
  display: grid;
  gap: 14px;
}

.upload-zone {
  min-height: 78px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 16px;
  border: 1px dashed #aeb8c8;
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
  overflow: hidden;
}

.upload-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-zone.compact {
  min-height: 46px;
  width: min(420px, 100%);
  display: flex;
  justify-content: center;
  padding: 0 14px;
  background: #fff;
}

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

.framework-card {
  min-height: 156px;
  padding: 15px;
  display: grid;
  gap: 10px;
  text-align: left;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.framework-type {
  justify-self: start;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef6f5;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 900;
}

.framework-card.is-selected {
  border-color: rgba(231, 93, 79, 0.68);
  box-shadow: 0 12px 30px rgba(231, 93, 79, 0.11);
}

.framework-card h2 {
  margin: 0;
  font-size: 1rem;
}

.framework-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.86rem;
}

.framework-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.framework-steps span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #f1f4f8;
  color: #475467;
  font-size: 0.73rem;
  font-weight: 800;
}

.button-row {
  margin-top: 18px;
}

.script-list {
  display: grid;
  gap: 14px;
}

.script-card {
  display: grid;
  gap: 14px;
  padding: 15px;
  align-items: start;
}

.script-section {
  overflow: visible;
}

.script-section-head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.script-section-head h2 {
  margin: 6px 0 0;
  font-size: 1.08rem;
}

.scene-number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #17202a;
  color: #fff;
  font-weight: 900;
}

.script-fields {
  display: grid;
  gap: 10px;
}

.script-fields input {
  font-weight: 800;
}

.line-stack {
  display: grid;
  gap: 10px;
}

.script-line-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 142px;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid #e3e8f0;
  border-radius: 8px;
  background: #fbfcfe;
}

.line-index {
  min-height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef6f5;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.line-fields {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) minmax(220px, 1fr) minmax(220px, 1fr);
  gap: 10px;
}

.line-fields label,
.line-controls label,
.asset-body label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.line-controls {
  display: grid;
  grid-template-columns: 1fr 62px;
  gap: 8px;
}

.line-controls .icon-button {
  width: 100%;
}

.danger {
  color: #b42318;
}

.duration-box {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: auto;
  box-shadow: 0 10px 28px rgba(23, 32, 42, 0.05);
}

table {
  width: 100%;
  min-width: 1580px;
  border-collapse: collapse;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
  line-height: 1.5;
}

th {
  position: sticky;
  top: 0;
  background: #f8fafc;
  color: #475467;
  font-size: 0.78rem;
  text-transform: uppercase;
}

td {
  color: #344054;
  font-size: 0.87rem;
}

td textarea {
  min-height: 88px;
  margin-top: 8px;
  font-size: 0.82rem;
}

td select,
td input {
  min-width: 120px;
}

.table-tag {
  display: inline-flex;
  margin-top: 6px;
  min-height: 22px;
  align-items: center;
  border-radius: 999px;
  padding: 0 7px;
  background: #f1f4f8;
  color: #475467;
  font-size: 0.72rem;
  font-weight: 800;
}

.shot-thumb {
  width: 130px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(23, 32, 42, 0), rgba(23, 32, 42, 0.5)),
    var(--image) center / cover;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.toggle-check {
  width: 22px;
  height: 22px;
  accent-color: var(--teal);
}

.mini-check {
  display: grid;
  grid-template-columns: 18px auto;
  gap: 4px;
  align-items: center;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.mini-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
}

.muted-text {
  color: var(--muted);
  font-size: 0.82rem;
}

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

.asset-previews {
  min-height: 360px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.asset-card {
  min-height: 224px;
  display: grid;
  grid-template-rows: 136px auto;
}

.detailed-asset {
  grid-template-rows: 160px auto;
}

.asset-image {
  position: relative;
  background:
    linear-gradient(180deg, rgba(23, 32, 42, 0.05), rgba(23, 32, 42, 0.48)),
    var(--image) center / cover;
}

.asset-image span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.73rem;
  font-weight: 900;
}

.asset-body {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.asset-title-row,
.music-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.asset-title-row select {
  width: 82px;
  min-width: 82px;
}

.asset-body strong {
  overflow-wrap: anywhere;
}

.asset-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.84rem;
}

.addon-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  gap: 8px;
}

.prompt-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 6px;
}

.prompt-chip-row button {
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #f7f9fc;
  color: #475467;
  min-height: 26px;
  padding: 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
}

.asset-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.compact-button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.8rem;
}

.settings-panel {
  display: grid;
  gap: 14px;
  padding: 15px;
}

.panel-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.panel-title strong {
  font-size: 0.96rem;
}

.panel-title span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: right;
}

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

.voice-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.voice-card.is-selected {
  border-color: rgba(15, 159, 143, 0.52);
  box-shadow: 0 10px 24px rgba(15, 159, 143, 0.08);
}

.voice-card.is-playing,
.music-card.is-playing {
  border-color: rgba(91, 91, 214, 0.55);
}

.voice-card button:not(.icon-button) {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

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

.voice-card strong {
  margin-bottom: 3px;
}

.voice-card span,
.music-card small {
  color: var(--muted);
  font-size: 0.78rem;
}

.audio-meter {
  height: 58px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.audio-meter span {
  width: 14px;
  border-radius: 999px 999px 4px 4px;
  background: var(--teal);
  opacity: 0.36;
  animation: none;
}

.audio-meter span:nth-child(1) {
  height: 18px;
}

.audio-meter span:nth-child(2) {
  height: 31px;
}

.audio-meter span:nth-child(3) {
  height: 42px;
}

.audio-meter span:nth-child(4) {
  height: 28px;
}

.audio-meter span:nth-child(5) {
  height: 22px;
}

.audio-meter.is-playing span {
  opacity: 1;
  animation: pulse 840ms ease-in-out infinite alternate;
}

.audio-meter.is-playing span:nth-child(2) {
  animation-delay: 90ms;
}

.audio-meter.is-playing span:nth-child(3) {
  animation-delay: 180ms;
}

.audio-meter.is-playing span:nth-child(4) {
  animation-delay: 270ms;
}

.audio-meter.is-playing span:nth-child(5) {
  animation-delay: 360ms;
}

@keyframes pulse {
  to {
    transform: scaleY(0.45);
  }
}

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

.music-card {
  padding: 12px;
  display: grid;
  gap: 9px;
}

.music-card.is-selected {
  border-color: rgba(216, 148, 19, 0.65);
  box-shadow: 0 10px 26px rgba(216, 148, 19, 0.12);
}

.music-card button {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

.music-card strong {
  display: block;
  margin-bottom: 4px;
}

.music-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.wave-row {
  height: 32px;
  display: grid;
  grid-template-columns: repeat(18, 1fr);
  align-items: end;
  gap: 3px;
}

.wave-row i {
  display: block;
  border-radius: 999px 999px 4px 4px;
  background: #d89413;
}

.bridge-status {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

.bridge-status b {
  font-size: 0.84rem;
}

.bridge-status span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--coral);
}

.bridge-status.is-connected span {
  background: var(--green);
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.timeline-lane {
  min-width: 860px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.lane-label {
  border-radius: 8px;
  display: grid;
  place-items: center;
  padding: 8px;
  background: #17202a;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  text-align: center;
}

.lane-track {
  min-height: 58px;
  display: flex;
  gap: 6px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.clip {
  min-width: 94px;
  flex: 1 0 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 6px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  text-align: center;
  overflow-wrap: anywhere;
}

.clip.ai {
  background: var(--violet);
}

.clip.real {
  background: var(--green);
}

.clip.voice {
  background: var(--teal);
}

.clip.music {
  background: var(--gold);
}

.clip.sfx {
  background: var(--coral);
}

.export-box {
  margin-top: 16px;
  padding: 16px;
}

.export-box p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.export-link {
  margin-top: 12px;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 8px;
  background: #17202a;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.empty-state {
  min-height: 220px;
  display: grid;
  place-items: center;
  border: 1px dashed #b8c2d3;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--muted);
  text-align: center;
  padding: 22px;
}

@media (max-width: 1180px) {
  .site-nav {
    grid-template-columns: minmax(160px, 1fr) auto auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
  }

  .nav-actions {
    justify-self: end;
  }

  .hero-content h1 {
    font-size: 4.2rem;
  }

  .process-grid,
  .deploy-grid,
  .case-grid,
  .film-grid,
  .finished-grid,
  .project-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .large-film {
    grid-column: span 2;
  }

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

  .showcase-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .compact-hero h1 {
    font-size: 3.25rem;
  }

  .topbar {
    grid-template-columns: 1fr;
    top: 104px;
  }

  .project-actions {
    justify-content: flex-start;
  }

  .workspace {
    grid-template-columns: 220px minmax(0, 1fr);
    padding: 18px;
  }

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

  .copy-layout,
  .asset-layout {
    grid-template-columns: 1fr;
  }

  .settings-panel {
    max-width: none;
  }

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

  .script-line-card {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .line-controls {
    grid-column: 2;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-nav {
    position: static;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 12px 14px;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: auto;
    width: 100%;
    overflow-x: auto;
  }

  .nav-actions {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: space-between;
  }

  .language-select {
    flex: 1;
  }

  .nav-links a {
    flex: 1 0 auto;
    justify-content: center;
  }

  .nav-cta {
    min-height: 36px;
    padding: 0 12px;
  }

  .hero-section {
    min-height: 68svh;
    padding: 68px 18px 42px;
  }

  .hero-content h1 {
    font-size: 3.15rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .home-section {
    padding: 54px 18px;
  }

  .home-section-head h2,
  .showcase-large h3 {
    font-size: 1.72rem;
  }

  .process-grid,
  .deploy-grid,
  .showcase-stack,
  .case-grid,
  .film-grid,
  .finished-grid,
  .partner-overview,
  .client-wall,
  .project-summary-grid,
  .account-shell {
    grid-template-columns: 1fr;
  }

  .large-film {
    grid-column: auto;
    min-height: 390px;
  }

  .page-hero {
    padding: 56px 18px 34px;
  }

  .compact-hero {
    min-height: 340px;
  }

  .compact-hero h1 {
    font-size: 2.42rem;
  }

  .case-section,
  .launch-summary,
  .launch-stack,
  .account-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .launch-card {
    grid-template-columns: 1fr;
  }

  .showcase-large {
    min-height: 390px;
  }

  .topbar {
    position: static;
    padding: 14px;
  }

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

  .workspace {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 14px;
  }

  .side-panel {
    position: static;
  }

  .step-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .step-link {
    justify-content: center;
    padding: 0 8px;
  }

  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-tabs {
    overflow-x: auto;
    width: 100%;
  }

  .filter-tabs button {
    flex: 1 0 auto;
  }

  .template-grid,
  .framework-grid,
  .asset-previews {
    grid-template-columns: 1fr;
  }

  .script-card {
    grid-template-columns: 1fr;
  }

  .script-section-head,
  .script-line-card {
    grid-template-columns: 1fr;
  }

  .line-controls {
    grid-column: auto;
  }

  .duration-box {
    max-width: 180px;
  }
}

@media (max-width: 520px) {
  .nav-brand strong {
    display: none;
  }

  .nav-cta {
    font-size: 0.86rem;
  }

  .hero-content h1 {
    font-size: 2.42rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-primary,
  .hero-secondary {
    width: 100%;
  }

  .process-grid article {
    min-height: 190px;
  }

  .case-card {
    grid-template-rows: 180px auto;
  }

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

  .finished-card {
    min-height: 270px;
  }

  .partner-overview div {
    min-height: 82px;
    padding: 16px;
  }

  .client-wall {
    padding: 10px;
  }

  .client-logo-card {
    min-height: 86px;
    padding: 14px;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 12px;
  }

  .project-list article {
    align-items: flex-start;
    flex-direction: column;
  }

  .soft-card {
    min-height: 270px;
  }

  .project-actions {
    width: 100%;
  }

  .project-actions .primary-button {
    flex: 1;
  }

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

  .step-link {
    font-size: 0.88rem;
  }

  .section-head h1 {
    font-size: 1.3rem;
  }

  .template-card {
    grid-template-rows: 148px auto;
  }

  .timeline-lane {
    min-width: 720px;
  }
}
