* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  font-family: 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(139, 92, 246, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(94, 234, 212, 0.14), transparent 22%),
    linear-gradient(180deg, #07070a 0%, #0d0d12 55%, #09090d 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.app-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.ambient {
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
}
.ambient-a { top: 80px; right: -60px; width: 280px; height: 280px; background: rgba(139, 92, 246, 0.18); }
.ambient-b { top: 320px; left: -70px; width: 240px; height: 240px; background: rgba(94, 234, 212, 0.10); }
.topbar, .main-frame { width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-5);
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(10, 10, 14, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark {
  width: 14px; height: 14px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.7);
}
.topnav { display: inline-flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,0.03); }
.topnav-link { padding: 10px 14px; border-radius: 999px; color: var(--text-soft); }
.topnav-link.is-active, .topnav-link:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.topbar-actions { display: inline-flex; align-items: center; gap: 12px; }
.status-pill, .hero-badge, .chip, .mini-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text-soft); font-size: 0.92rem;
}
.status-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--success); box-shadow: 0 0 12px rgba(52,211,153,.8); }
.ghost-button, .tab-button, .secondary-button, .primary-button {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  color: var(--text);
}
.primary-button {
  background: linear-gradient(135deg, #9b6bff 0%, #7c4dff 55%, #6943ff 100%);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 18px 40px rgba(92, 59, 255, 0.32);
}
.secondary-button:hover, .ghost-button:hover, .tab-button:hover { background: rgba(255,255,255,0.06); }
.main-frame { padding: var(--space-7) 0 var(--space-8); }
.hero-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-5);
  margin: 0 0 var(--space-6);
}
.eyebrow { margin: 0 0 12px; color: var(--brand-2); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem; font-weight: 700; }
h1 { margin: 0; font-size: clamp(2.4rem, 4vw, 4.6rem); line-height: 0.96; letter-spacing: -0.05em; }
.hero-copy { max-width: 760px; margin: 16px 0 0; color: var(--text-soft); font-size: 1.06rem; line-height: 1.7; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.grid {
  display: grid; gap: var(--space-5);
}
.grid-two { grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr); align-items: start; }
.panel {
  position: relative;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(20,20,29,0.96) 0%, rgba(13,13,20,0.96) 100%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent 32%);
  pointer-events: none;
}
.panel-inner { padding: 28px; }
.section-stack { display: grid; gap: 18px; }
.section-label { margin: 0 0 8px; color: var(--text-muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; }
.section-title { margin: 0 0 8px; font-size: 1.15rem; letter-spacing: -0.03em; }
.muted { color: var(--text-soft); }
.voice-row, .summary-list, .stats-row, .card-grid { display: grid; gap: 16px; }
.voice-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.surface {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-soft);
}
.surface.is-strong { background: rgba(255,255,255,0.05); border-color: var(--border-strong); }
.surface-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.surface-title { margin: 0; font-size: 1rem; }
.inline-actions, .chip-row, .tab-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { color: var(--text); background: rgba(139,92,246,0.14); border-color: rgba(139,92,246,0.28); }
.chip.is-soft { background: rgba(255,255,255,0.04); border-color: var(--border); }
.upload-box {
  min-height: 180px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px dashed rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.05));
}
.tab-button.is-active { background: rgba(139,92,246,0.16); border-color: rgba(139,92,246,0.26); }
.range-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.range-value { min-width: 56px; text-align: center; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); }
.slider { width: 100%; accent-color: var(--brand); }
.summary-card { position: sticky; top: 110px; }
.summary-list { margin-top: 20px; }
.summary-item { display: flex; justify-content: space-between; gap: 12px; color: var(--text-soft); }
.summary-item strong { color: var(--text); }
.list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.list li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); }
.mini-title { margin: 0 0 6px; font-size: 0.96rem; }
.kicker { color: var(--text-muted); font-size: 0.88rem; }
.link-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.toggle-button { width: 48px; height: 30px; border-radius: 999px; background: rgba(139,92,246,0.3); position: relative; border: 1px solid rgba(139,92,246,0.35); }
.toggle-button::after { content: ''; position: absolute; top: 3px; left: 21px; width: 22px; height: 22px; border-radius: 999px; background: white; }
.collapsible { margin-top: 14px; display: grid; gap: 12px; }
.footer-note { margin-top: 16px; color: var(--text-muted); font-size: 0.9rem; }
.route-recent-jobs .recent-jobs-layout {
  display: grid;
  gap: 12px;
}

.route-recent-jobs .recent-jobs-layout--single {
  grid-template-columns: 1fr;
}

.route-recent-jobs .recent-jobs-main {
  display: grid;
  gap: 12px;
}

.route-recent-jobs .recent-jobs-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  overflow: hidden;
}

.route-recent-jobs .recent-jobs-summary .summary-item {
  min-width: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.route-recent-jobs .recent-jobs-summary .summary-item span {
  display: block;
  color: rgba(230, 236, 245, 0.52);
  font-size: 0.82rem;
  line-height: 1.45;
}

.route-recent-jobs .recent-jobs-summary .summary-item strong {
  display: block;
  margin-top: 6px;
  color: #f5f7fa;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: 0;
}

.route-recent-jobs .recent-batch-card .panel-inner,
.route-recent-jobs .recent-jobs-empty {
  display: grid;
  gap: 18px;
}

.route-run.route-recent-jobs .recent-batch-card {
  padding: 12px;
}

.route-run.route-recent-jobs .recent-batch-card > div {
  display: grid;
  gap: 10px;
}

.route-run.route-recent-jobs .section-label {
  margin: 0 0 6px;
  color: rgba(230, 236, 245, 0.46);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.route-run.route-recent-jobs .section-title {
  margin: 0;
  color: #f5f7fa;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.route-run.route-recent-jobs .muted {
  color: rgba(230, 236, 245, 0.58);
}

.route-recent-jobs .recent-batch-head,
.route-recent-jobs .recent-jobs-empty-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.route-recent-jobs .recent-batch-copy {
  min-width: 0;
}

.route-recent-jobs .recent-batch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 5px 0 0;
  color: rgba(230, 236, 245, 0.58);
  font-size: 0.84rem;
  line-height: 1.35;
}

.route-recent-jobs .recent-batch-actions,
.route-recent-jobs .recent-job-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.route-recent-jobs .recent-batch-actions .run-secondary-button {
  width: auto;
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.82rem;
}

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

.route-recent-jobs .recent-job-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.15fr) minmax(170px, 0.85fr) minmax(34px, 0.2fr) minmax(330px, 1.55fr);
  gap: 12px;
  align-items: center;
  padding: 6px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.026);
}

.route-recent-jobs .recent-job-row.is-complete {
  border-color: rgba(52, 211, 153, 0.2);
}

.route-recent-jobs .recent-job-row.is-failed {
  border-color: rgba(248, 113, 113, 0.24);
  grid-template-columns: minmax(190px, 1.15fr) minmax(170px, 0.85fr) minmax(210px, 1fr) minmax(120px, 0.45fr);
}

.route-recent-jobs .recent-job-audio,
.route-recent-jobs .recent-job-model-block,
.route-recent-jobs .recent-job-state,
.route-recent-jobs .recent-job-actions {
  min-width: 0;
}

.route-recent-jobs .recent-job-audio,
.route-recent-jobs .recent-job-model-block,
.route-recent-jobs .recent-job-state {
  display: grid;
  gap: 2px;
}

.route-recent-jobs .recent-job-audio h2,
.route-recent-jobs .recent-job-model-block strong,
.route-recent-jobs .recent-job-state strong {
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  color: #f5f7fa;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.route-recent-jobs .recent-job-audio p,
.route-recent-jobs .recent-job-model-block span,
.route-recent-jobs .recent-job-state span {
  margin: 0;
  overflow: hidden;
  color: rgba(230, 236, 245, 0.52);
  font-size: 0.78rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-recent-jobs .recent-job-audio p {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.route-recent-jobs .recent-job-complete {
  display: flex;
  justify-content: center;
}

.route-recent-jobs .recent-job-complete span {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.34);
}

.route-recent-jobs .recent-job-complete span::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 5px;
  width: 6px;
  height: 12px;
  border: solid #8df2c6;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.route-recent-jobs .recent-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-recent-jobs .recent-status-pill.is-complete {
  border-color: rgba(52, 211, 153, 0.22);
  background: rgba(52, 211, 153, 0.12);
  color: #c7ffe3;
}

.route-recent-jobs .recent-status-pill.is-pending {
  border-color: rgba(125, 211, 252, 0.22);
  background: rgba(125, 211, 252, 0.12);
  color: #d8f1ff;
}

.route-recent-jobs .recent-status-pill.is-failed {
  border-color: rgba(251, 113, 133, 0.24);
  background: rgba(251, 113, 133, 0.12);
  color: #ffd8df;
}

.route-recent-jobs .recent-job-actions {
  justify-content: flex-end;
  gap: 7px;
}

.route-recent-jobs .recent-job-actions audio {
  width: min(280px, 100%);
  min-width: 180px;
  height: 32px;
}

.route-recent-jobs .recent-job-actions .run-secondary-button {
  width: auto;
  min-height: 32px;
  padding: 0 11px;
  font-size: 0.82rem;
}

@media (max-width: 720px) {
  .route-recent-jobs .recent-batch-head,
  .route-recent-jobs .recent-jobs-empty-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .route-recent-jobs .recent-batch-actions,
  .route-recent-jobs .recent-batch-actions .run-secondary-button {
    width: 100%;
  }

  .route-recent-jobs .recent-job-row,
  .route-recent-jobs .recent-job-row.is-failed {
    grid-template-columns: 1fr;
  }

  .route-recent-jobs .recent-job-complete {
    justify-content: flex-start;
  }

  .route-recent-jobs .recent-job-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .route-recent-jobs .recent-job-actions audio,
  .route-recent-jobs .recent-job-actions .run-secondary-button {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
}

.auth-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.route-auth {
  min-height: 100vh;
}
.auth-page {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 1240px);
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 42px;
  padding: 40px 0;
}
.auth-poster {
  display: grid;
  gap: 20px;
}
.auth-brand {
  margin-bottom: 12px;
}
.auth-card-shell {
  display: flex;
  justify-content: flex-end;
}
.auth-card {
  width: min(100%, 520px);
}
.eav-auth-root {
  display: grid;
  gap: 16px;
}
.eav-auth-copy {
  display: grid;
  gap: 6px;
}
.eav-auth-title {
  margin: 0;
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}
.eav-auth-subtitle,
.eav-auth-modal-heading p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}
.eav-auth-error {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(251, 113, 133, 0.24);
  background: rgba(251, 113, 133, 0.1);
  color: #ffd9df;
  font-size: 0.9rem;
}
.eav-auth-error.is-success {
  border-color: rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.1);
  color: #c8f7df;
}
.eav-auth-google {
  display: grid;
  gap: 10px;
}
.eav-auth-root[data-auth-mode="modal"] .eav-auth-google {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}
.eav-auth-google-button {
  width: 100%;
}
.eav-auth-google-button > div {
  width: 100% !important;
}
.eav-auth-separator {
  position: relative;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eav-auth-separator::before {
  content: '';
  position: absolute;
  inset: 50% 0 auto;
  border-top: 1px solid var(--border);
}
.eav-auth-separator span {
  position: relative;
  display: inline-block;
  padding: 0 12px;
  background: rgba(16, 16, 22, 0.96);
}
.eav-auth-form {
  display: grid;
  gap: 12px;
}
.eav-auth-field {
  display: grid;
  gap: 7px;
}
.eav-auth-field span {
  color: var(--text-soft);
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}
.eav-auth-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
}
.eav-auth-field input:focus {
  outline: none;
  border-color: rgba(94, 234, 212, 0.4);
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.08);
}
.eav-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.eav-auth-link {
  color: var(--brand-2);
  font-size: 0.88rem;
}
.eav-auth-captcha {
  margin-top: 2px;
}
.eav-auth-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.eav-auth-submit,
.eav-auth-dismiss {
  min-height: 46px;
}
.eav-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
}
.eav-auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 5, 8, 0.08), rgba(4, 5, 8, 0.26)),
    rgba(4, 5, 8, 0.14);
  backdrop-filter: blur(2px) saturate(1.04);
}
.eav-auth-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), 440px);
  max-height: calc(100svh - 32px);
  margin: min(8vh, 64px) auto 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(34, 37, 43, 0.96) 0%, rgba(12, 13, 17, 0.97) 100%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(94, 234, 212, 0.04) inset;
  overflow: hidden;
}
.eav-auth-modal-body {
  display: grid;
  gap: 14px;
  padding: 22px;
  max-height: calc(100svh - 32px);
  overflow: auto;
}
.eav-auth-modal-heading {
  display: grid;
  gap: 6px;
  padding-right: 42px;
}
.eav-auth-modal-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3.2vw, 1.7rem);
  letter-spacing: 0;
  line-height: 1.05;
}
.eav-auth-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1;
}
.eav-auth-root[data-auth-mode="modal"] {
  gap: 12px;
}
.eav-auth-root[data-auth-mode="modal"] .eav-auth-google {
  gap: 8px;
}
.eav-auth-root[data-auth-mode="modal"] .eav-auth-separator {
  font-size: 0.76rem;
}
.eav-auth-root[data-auth-mode="modal"] .eav-auth-form {
  gap: 9px;
}
.eav-auth-root[data-auth-mode="modal"] .eav-auth-row {
  margin-top: -2px;
}
.eav-auth-root[data-auth-mode="modal"] .eav-auth-actions {
  margin-top: 4px;
}
.eav-auth-root[data-auth-mode="modal"] .eav-auth-submit,
.eav-auth-root[data-auth-mode="modal"] .eav-auth-dismiss {
  min-height: 44px;
}
.eav-auth-root[data-auth-mode="modal"] .eav-auth-dismiss {
  min-width: 92px;
}
.eav-auth-root[data-auth-mode="modal"] .primary-button,
.eav-auth-root[data-auth-mode="modal"] .ghost-button {
  border-radius: 14px;
}
.eav-auth-root[data-auth-mode="modal"] .eav-auth-error {
  margin-top: -2px;
}
.auth-modal-open {
  overflow: hidden;
}

.route-auth-fast {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  background: #08090d;
  color: #f8fafc;
}

.route-auth-fast::before,
.route-auth-fast::after {
  content: "";
  position: fixed;
  pointer-events: none;
}

.route-auth-fast::before {
  inset: -30px;
  z-index: 0;
  background-image:
    linear-gradient(180deg, rgba(5, 6, 10, 0.42), rgba(5, 6, 10, 0.66)),
    url("/assets/media/auth/run-preview.png");
  background-position: center;
  background-size: cover;
  filter: blur(10px) saturate(1.06) brightness(1.08);
  opacity: 0.84;
  transform: scale(1.04);
}

.route-auth-fast::after {
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 34%, rgba(124, 77, 255, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(8, 9, 13, 0.06), rgba(8, 9, 13, 0.48));
}

.route-auth-fast .auth-fast-page {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 42px 20px;
}

.route-auth-fast .auth-fast-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.route-auth-fast .auth-fast-logo img {
  display: block;
  width: 174px;
  max-width: 58vw;
  height: auto;
}

.route-auth-fast .auth-fast-card {
  width: min(100%, 430px);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #14141d;
  box-shadow: 0 26px 84px rgba(0, 0, 0, 0.34);
}

.route-auth-fast .eav-auth-root {
  gap: 14px;
}

.route-auth-fast .eav-auth-copy {
  text-align: center;
}

.route-auth-fast .eav-auth-title {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.55rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.route-auth-fast .eav-auth-subtitle {
  color: #aeb5c2;
}

.route-auth-fast .eav-auth-google {
  min-height: 44px;
}

.route-auth-fast .eav-auth-form {
  gap: 11px;
}

.route-auth-fast .eav-auth-field {
  gap: 6px;
}

.route-auth-fast .eav-auth-field span {
  color: #b9c0ce;
  font-size: 0.84rem;
}

.route-auth-fast .eav-auth-field input {
  min-height: 46px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.route-auth-fast .eav-auth-actions {
  margin-top: 4px;
}

.route-auth-fast .eav-auth-actions .primary-button,
.route-auth-fast .eav-auth-actions .ghost-button {
  width: 100%;
  min-height: 46px;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
}

.route-auth-fast .auth-reset-send-row {
  margin-top: -2px;
}

.route-auth-fast .eav-auth-row {
  justify-content: center;
  gap: 18px;
  margin-top: 2px;
}

.route-auth-fast .eav-auth-link {
  color: #a99bff;
  font-weight: 600;
}

.route-auth-fast .eav-auth-separator span {
  background: #14141d;
}

@media (max-width: 1080px) {
  .grid-two, .voice-row, .card-grid { grid-template-columns: 1fr; }
  .hero-row, .topbar { flex-direction: column; align-items: stretch; }
  .topbar-actions, .topnav { justify-content: space-between; }
  .summary-card { position: static; }
  .auth-page { grid-template-columns: 1fr; gap: 28px; width: min(calc(100% - 28px), 1240px); }
  .auth-card-shell { justify-content: stretch; }
}
@media (max-width: 720px) {
  .topbar, .main-frame { width: min(calc(100% - 24px), var(--max-width)); }
  .panel-inner { padding: 22px; }
  h1 { font-size: 2.4rem; }
  .auth-page { width: min(calc(100% - 24px), 1240px); padding: 24px 0 40px; }
  .auth-poster { gap: 14px; }
  .eav-auth-row,
  .eav-auth-actions { align-items: stretch; }
  .eav-auth-actions > * { flex: 1 1 auto; justify-content: center; }
  .eav-auth-modal-dialog { width: min(calc(100% - 24px), 440px); max-height: calc(100svh - 120px); margin-top: 16px; border-radius: 18px; }
  .eav-auth-modal-body { gap: 12px; max-height: calc(100svh - 120px); padding: 18px; }
  .eav-auth-modal-heading { padding-right: 42px; }
  .route-auth-fast .auth-fast-page {
    justify-content: flex-start;
    gap: 24px;
    padding: 34px 18px 42px;
  }
  .route-auth-fast .auth-fast-logo img {
    width: 156px;
  }
  .route-auth-fast .auth-fast-card {
    width: 100%;
    padding: 24px;
  }
  .route-auth-fast .eav-auth-title {
    font-size: 2.15rem;
  }
}

body.route-cutover {
  background: #050506;
}
.route-run.route-cutover .run-main-inner {
  display: block;
  max-width: 1180px;
}
.route-run.route-cutover .run-main-inner > * + * {
  margin-top: 16px;
}
.route-cutover .cutover-hero,
.route-cutover .cutover-grid,
.route-cutover .cutover-stack {
  display: grid;
  gap: 14px;
}
.route-cutover .cutover-hero {
  grid-template-columns: 1fr;
  align-items: start;
  margin-bottom: 20px;
}
.route-cutover .cutover-hero h1 {
  margin: 0;
  color: #f5f7fa;
  max-width: 100%;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: 0;
}
.route-cutover .cutover-hero p {
  max-width: 860px;
  margin: 12px 0 0;
  color: rgba(230, 236, 245, 0.62);
  line-height: 1.55;
}
.route-cutover .cutover-hero-actions,
.route-cutover .cutover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.route-cutover .cutover-actions > .run-primary-button,
.route-cutover .cutover-actions > .run-secondary-button {
  width: auto;
}
.route-cutover .cutover-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.route-cutover .cutover-grid.is-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.route-cutover .cutover-grid.is-single {
  grid-template-columns: minmax(0, 1fr);
}
.route-cutover .cutover-card,
.route-cutover .cutover-panel,
.route-cutover .cutover-form-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(22, 24, 31, 0.92), rgba(12, 13, 18, 0.94));
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.28);
}
.route-cutover .cutover-doc {
  max-width: 920px;
  padding: 28px;
}
.route-cutover .cutover-doc > * + * {
  margin-top: 18px;
}
.route-cutover .cutover-doc .doc-meta {
  margin: 0;
  color: rgba(230, 236, 245, 0.46);
  font-size: 0.9rem;
}
.route-cutover .cutover-doc h2 {
  margin: 0;
  padding-top: 8px;
  color: #f5f7fa;
  font-size: 1rem;
  letter-spacing: 0;
}
.route-cutover .cutover-doc p,
.route-cutover .cutover-doc li {
  margin: 0;
  color: rgba(230, 236, 245, 0.68);
  line-height: 1.7;
}
.route-cutover .cutover-doc ul {
  margin: 0;
  padding-left: 20px;
}
.route-cutover .pricing-toggle-row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
}
.route-cutover .pricing-toggle-row button {
  min-width: 112px;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(230,236,245,0.66);
  font-weight: 750;
}
.route-cutover .pricing-toggle-row button.is-active {
  background: rgba(94, 234, 212, 0.14);
  color: #f5f7fa;
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.18);
}
.route-cutover .cutover-help-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.route-cutover .cutover-help-card .cutover-actions {
  justify-content: flex-end;
  min-width: 280px;
}
.route-cutover .cutover-card {
  display: grid;
  gap: 16px;
  padding: 22px;
}
.route-cutover .cutover-card.is-featured {
  border-color: rgba(139, 92, 246, 0.34);
  box-shadow: 0 28px 110px rgba(92, 59, 255, 0.16);
}
.route-cutover .cutover-card-head,
.route-cutover .cutover-row,
.route-cutover .cutover-split-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}
.route-cutover .cutover-card h2,
.route-cutover .cutover-card h3,
.route-cutover .cutover-panel h2,
.route-cutover .cutover-form-card h2 {
  margin: 0;
  color: #f5f7fa;
  font-size: 1.08rem;
  letter-spacing: 0;
}
.route-cutover .cutover-muted,
.route-cutover .cutover-card p,
.route-cutover .cutover-form-note {
  margin: 0;
  color: rgba(230, 236, 245, 0.58);
  line-height: 1.5;
}
.route-cutover .cutover-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #f5f7fa;
}
.route-cutover .cutover-price strong {
  font-size: 2.55rem;
  line-height: 1;
  letter-spacing: 0;
}
.route-cutover .cutover-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.route-cutover .cutover-list li {
  display: flex;
  gap: 9px;
  color: rgba(230, 236, 245, 0.72);
  line-height: 1.42;
}
.route-cutover .cutover-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 999px;
  background: #5eead4;
  box-shadow: 0 0 14px rgba(94, 234, 212, 0.5);
}
.route-cutover .cutover-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(230, 236, 245, 0.68);
  font-size: 0.76rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.route-cutover .cutover-pill.is-good {
  border-color: rgba(52, 211, 153, 0.22);
  background: rgba(52, 211, 153, 0.12);
  color: #bcf7d8;
}
.route-cutover .cutover-panel {
  padding: 22px;
}
.route-cutover .cutover-meter {
  display: grid;
  gap: 8px;
}
.route-cutover .cutover-meter-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}
.route-cutover .cutover-meter-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5eead4, #8b5cf6);
}
.route-cutover .cutover-alert {
  padding: 13px 15px;
  border-radius: 16px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  background: rgba(125, 211, 252, 0.1);
  color: #d8f1ff;
}
.route-cutover .cutover-alert.is-danger {
  border-color: rgba(251, 113, 133, 0.25);
  background: rgba(251, 113, 133, 0.1);
  color: #ffd8df;
}
.route-cutover .cutover-alert.is-success {
  border-color: rgba(52, 211, 153, 0.25);
  background: rgba(52, 211, 153, 0.1);
  color: #ccffe6;
}
.route-cutover .cutover-form-card {
  display: grid;
  gap: 16px;
  padding: 22px;
}
.route-cutover .cutover-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.route-cutover .cutover-form-grid .is-full {
  grid-column: 1 / -1;
}
.route-cutover .cutover-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.route-cutover .cutover-field {
  display: grid;
  gap: 7px;
}
.route-cutover .cutover-field span,
.route-cutover .cutover-label {
  color: rgba(230, 236, 245, 0.72);
  font-size: 0.86rem;
  font-weight: 650;
}
.route-cutover input,
.route-cutover textarea,
.route-cutover select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: #f5f7fa;
}
.route-cutover textarea {
  min-height: 110px;
  padding-top: 12px;
  resize: vertical;
}
.route-cutover input:focus,
.route-cutover textarea:focus,
.route-cutover select:focus {
  outline: 0;
  border-color: rgba(94, 234, 212, 0.42);
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.08);
}
.route-cutover .cutover-table {
  display: grid;
  gap: 8px;
}
.route-cutover .cutover-model-row {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(180px, 0.8fr) minmax(260px, 1.2fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
}
.route-cutover .cutover-inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.route-cutover .cutover-inline-form input {
  width: 180px;
  min-height: 36px;
}
.route-cutover .cutover-progress {
  display: grid;
  gap: 8px;
}
.route-cutover .cutover-progress-bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
}
.route-cutover .cutover-progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #8b5cf6, #5eead4);
}
@media (max-width: 1080px) {
  .route-cutover .cutover-hero,
  .route-cutover .cutover-grid,
  .route-cutover .cutover-grid.is-three,
  .route-cutover .cutover-form-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .route-cutover .cutover-card-head,
  .route-cutover .cutover-row,
  .route-cutover .cutover-split-row {
    flex-direction: column;
  }
  .route-cutover .cutover-model-row {
    grid-template-columns: 1fr;
  }
  .route-cutover .cutover-help-card {
    align-items: stretch;
    flex-direction: column;
  }
  .route-cutover .pricing-toggle-row,
  .route-cutover .pricing-toggle-row button {
    width: 100%;
  }
  .route-cutover .cutover-inline-form,
  .route-cutover .cutover-inline-form input,
  .route-cutover .cutover-actions > *,
  .route-cutover .cutover-hero-actions > * {
    width: 100%;
    justify-content: center;
  }
}

body.route-run {
  margin: 0;
  min-height: 100vh;
  background: #050506;
  color: #f5f7fb;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.route-run,
.route-run * {
  box-sizing: border-box;
  scrollbar-color: rgba(106, 115, 128, 0.72) #090b0f;
}

.route-run ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.route-run ::-webkit-scrollbar-track {
  background: #090b0f;
}

.route-run ::-webkit-scrollbar-thumb {
  background: rgba(106, 115, 128, 0.72);
  border: 2px solid #090b0f;
  border-radius: 999px;
}

.route-run ::-webkit-scrollbar-thumb:hover {
  background: rgba(138, 148, 163, 0.82);
}

.route-run a,
.route-run button,
.route-run input,
.route-run textarea {
  font: inherit;
}

.route-run [hidden] {
  display: none !important;
}

.route-run a {
  color: inherit;
  text-decoration: none;
}

.route-run button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.route-run svg {
  display: block;
}

.route-run .run-app-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(20, 220, 229, 0.08), transparent 22%),
    linear-gradient(180deg, #050506 0%, #040405 100%);
}

.route-run .run-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: 296px;
  display: flex;
  flex-direction: column;
  background: rgba(3, 4, 5, 0.96);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.route-run .run-sidebar-brand {
  padding: 11px 11px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.route-run .run-brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
}

.route-run .run-brand-mark,
.route-run .run-account-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #11d9e7;
  background: rgba(17, 217, 231, 0.1);
  box-shadow: inset 0 0 0 1px rgba(17, 217, 231, 0.08);
}

.route-run .run-brand-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  object-fit: contain;
}

.route-run .run-account-avatar,
.route-run .run-account-avatar svg {
  pointer-events: none;
}

.route-run .run-brand-link strong,
.route-run .run-account-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.route-run .run-brand-link span span,
.route-run .run-account-card span span {
  display: block;
  margin-top: 3px;
  color: #9b9fad;
  font-size: 0.82rem;
}

.route-run .run-sidebar-nav,
.route-run .run-sidebar-bottom {
  padding: 9px;
}

.route-run .run-sidebar-nav {
  flex: 1 1 auto;
  overflow-y: auto;
}

.route-run .run-nav-group + .run-nav-group {
  margin-top: 2px;
}

.route-run .run-nav-heading {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px 4px;
  color: #8f938f;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.route-run .run-nav-items {
  display: grid;
  gap: 2px;
}

.route-run .run-nav-group.is-collapsed .run-nav-items {
  display: none;
}

.route-run .run-nav-chevron {
  width: 18px;
  height: 18px;
  color: #848896;
  transition: transform 160ms ease, color 160ms ease;
}

.route-run .run-nav-group.is-collapsed .run-nav-chevron,
.route-run .run-nav-heading[aria-expanded="false"] .run-nav-chevron {
  transform: rotate(-90deg);
  color: #6e7380;
}

.route-run .run-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 39px;
  padding: 7px 10px;
  border-radius: 14px;
  color: #b7bac6;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.route-run .run-nav-link:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #f5f7fb;
}

.route-run .run-nav-link.is-active {
  background: #0d0f14;
  color: #ffffff;
}

.route-run .run-nav-link.is-active .run-nav-icon {
  color: #10d7e4;
}

.route-run .run-nav-link.is-highlight {
  background: rgba(4, 46, 49, 0.72);
  color: #10d7e4;
}

.route-run .run-nav-icon,
.route-run .run-button-icon,
.route-run .run-inline-icon,
.route-run .run-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.route-run .run-plan-pill,
.route-run .run-mini-badge,
.route-run .run-soon-pill,
.route-run .run-badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  border-radius: 999px;
}

.route-run .run-plan-pill {
  margin-left: auto;
  padding: 5px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #10d7e4;
  background: rgba(16, 215, 228, 0.14);
}

.route-run .run-sidebar-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.route-run .run-sidebar-bottom > .run-nav-link + .run-nav-link {
  margin-top: 2px;
}

.route-run .run-account-shell,
.route-run .run-mobile-account-shell {
  position: relative;
}

.route-run .run-account-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  width: 100%;
  padding: 9px 11px;
  border: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(10, 11, 15, 0.68);
  text-align: left;
  cursor: pointer;
}

.route-run .run-account-shell.is-open .run-account-card,
.route-run .run-mobile-account-shell.is-open .run-mobile-account-button {
  border-color: rgba(16, 215, 228, 0.28);
  background: #11151c;
}

.route-run .run-account-avatar {
  border-radius: 999px;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.06);
  color: #7e838f;
  box-shadow: none;
}

.route-run .run-account-menu {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 4px);
  z-index: 35;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(11, 13, 16, 0.98);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32);
}

.route-run .run-account-menu-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 4px 12px;
}

.route-run .run-account-menu-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.route-run .run-account-menu-copy strong {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.route-run .run-account-menu-copy span {
  margin-top: 4px;
  color: #9298a6;
  font-size: 0.82rem;
}

.route-run .run-account-menu-links {
  display: grid;
  gap: 4px;
}

.route-run .run-account-menu-link {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  color: #d4d9e1;
  transition: background-color 160ms ease, color 160ms ease;
}

.route-run .run-account-menu-link:hover,
.route-run .run-account-menu-link:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.route-run .run-account-menu-link.is-signout {
  margin-top: 12px;
  color: #f1b1b1;
}

.route-run .run-account-menu-link.is-signout::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.route-run .run-mobile-bar,
.route-run .run-mobile-drawer,
.route-run .run-mobile-overlay {
  display: none;
}

.route-run .run-mobile-bar {
  position: sticky;
  top: 0;
  z-index: 28;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 6, 8, 0.94);
  backdrop-filter: blur(18px);
}

.route-run .run-mobile-brand {
  flex: 1 1 auto;
  min-width: 0;
}

.route-run .run-mobile-brand .run-brand-mark,
.route-run .run-mobile-account-button .run-account-avatar {
  width: 40px;
  height: 40px;
}

.route-run .run-mobile-brand .run-brand-logo {
  width: 40px;
  height: 40px;
}

.route-run .run-mobile-icon-button,
.route-run .run-mobile-account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #0d1015;
  color: #f5f7fb;
}

.route-run .run-mobile-account-button {
  padding: 0;
  border: 0;
  background: transparent;
}

.route-run .run-mobile-account-button .run-account-avatar {
  width: 44px;
  height: 44px;
}

.route-run .run-mobile-account-shell .run-account-menu {
  position: fixed;
  top: 66px;
  right: 16px;
  left: auto;
  bottom: auto;
  width: min(280px, calc(100vw - 32px));
}

.route-run .run-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.58);
}

.route-run .run-mobile-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 32;
  width: min(320px, calc(100vw - 52px));
  flex-direction: column;
  background: rgba(4, 6, 8, 0.99);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 24px 0 44px rgba(0, 0, 0, 0.34);
}

.route-run .run-mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 16px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.route-run .run-mobile-drawer-nav,
.route-run .run-mobile-drawer-bottom {
  padding: 16px 14px;
}

.route-run .run-mobile-drawer-nav {
  flex: 1 1 auto;
  overflow-y: auto;
}

.route-run .run-mobile-drawer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.route-run .run-main {
  margin-left: 296px;
  min-height: 100vh;
}

.route-run .run-main-inner {
  width: 100%;
  max-width: 1520px;
  min-width: 0;
  margin: 0 auto;
  padding: 20px 40px 44px;
  box-sizing: border-box;
}

@media (min-width: 1180px) {
  .route-run .run-main-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  .route-run .run-steps-card,
  .route-run .run-ready-card {
    grid-column: 1 / -1;
  }

  .route-run .run-main-inner > .run-card + .run-card,
  .route-run .run-main-inner > .run-card + .run-recent {
    margin-top: 0;
  }
}

.route-run .run-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.route-run .run-page-header h1,
.route-run .run-section-head h2,
.route-run .run-recent-head h2,
.route-run .run-ready-card h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.route-run .run-page-header p,
.route-run .run-section-head p,
.route-run .run-recent-head p,
.route-run .run-ready-card p,
.route-run .run-modal-head p {
  margin: 14px 0 0;
  color: #959aa7;
  font-size: 0.95rem;
  line-height: 1.55;
}

.route-run .run-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.route-run .run-action-button,
.route-run .run-link-button,
.route-run .run-primary-button,
.route-run .run-secondary-button,
.route-run .run-icon-button,
.route-run .run-add-variant {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.route-run .run-action-button,
.route-run .run-secondary-button,
.route-run .run-add-variant {
  background: #0d0f14;
}

.route-run .run-link-button {
  padding-inline: 8px;
  color: #f3f5f8;
}

.route-run .run-primary-button {
  background: #10d7e4;
  color: #031114;
  font-weight: 600;
  border-color: rgba(16, 215, 228, 0.4);
}

.route-run .run-primary-button:hover,
.route-run .run-action-button:hover,
.route-run .run-secondary-button:hover,
.route-run .run-add-variant:hover,
.route-run .run-icon-button:hover {
  border-color: rgba(16, 215, 228, 0.28);
}

.route-run .run-card,
.route-run .run-job-card,
.route-run .run-modal-dialog {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(9, 10, 13, 0.96);
}

.route-run .run-card {
  padding: 22px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.route-run .run-card + .run-card,
.route-run .run-card + .run-recent {
  margin-top: 16px;
}

.route-run .run-steps-card {
  display: flex;
  align-items: center;
  min-height: 82px;
  padding-block: 14px;
  overflow: hidden;
}

.route-run .run-steps-scroller {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.route-run .run-steps-scroller::-webkit-scrollbar {
  display: none;
}

.route-run .run-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  min-width: 760px;
}

.route-run .run-step {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.route-run .run-step-marker {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: #656b79;
  background: #101218;
  font-size: 1.1rem;
  font-weight: 700;
}

.route-run .run-step.is-current .run-step-marker {
  border-color: #10d7e4;
  color: #10d7e4;
  background: rgba(16, 215, 228, 0.08);
}

.route-run .run-step.is-complete .run-step-marker {
  border-color: #10d7e4;
  color: #061214;
  background: #10d7e4;
}

.route-run .run-step-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.route-run .run-step-copy strong {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.route-run .run-step-copy span:last-child {
  margin-top: 2px;
  color: #959aa7;
  font-size: 0.78rem;
  white-space: nowrap;
}

.route-run .run-step-divider {
  flex: 0 0 54px;
  height: 1px;
  margin: 0 20px;
  background: rgba(255, 255, 255, 0.1);
}

.route-run .run-step-divider.is-complete {
  background: rgba(16, 215, 228, 0.8);
}

.route-run .run-section-head,
.route-run .run-recent-head,
.route-run .run-selected-voice-top,
.route-run .run-audio-file-top,
.route-run .run-pitch-head,
.route-run .run-tool-card,
.route-run .run-ready-card,
.route-run .run-collapse-toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.route-run .run-section-head h2,
.route-run .run-recent-head h2,
.route-run .run-ready-card h2 {
  font-size: 1.1rem;
  line-height: 1.2;
}

.route-run .run-section-head > div:first-child {
  flex: 1 1 auto;
  min-width: 180px;
}

.route-run .run-section-head-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.route-run .run-chip-grid,
.route-run .run-selected-voices-list,
.route-run .run-tool-list,
.route-run .run-job-list {
  margin-top: 16px;
}

.route-run .run-brand-mark svg,
.route-run .run-account-avatar svg,
.route-run .run-nav-icon svg,
.route-run .run-nav-chevron svg,
.route-run .run-button-icon svg,
.route-run .run-inline-icon svg,
.route-run .run-chevron svg,
.route-run .run-search > span svg,
.route-run .run-empty-icon svg,
.route-run .run-library-icon svg,
.route-run .run-tool-icon svg,
.route-run .run-audio-file-icon svg,
.route-run .run-modal-check svg,
.route-run .run-step-marker svg {
  width: 100%;
  height: 100%;
}

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

.route-run .run-voice-chip,
.route-run .run-modal-voice-card,
.route-run .run-library-item,
.route-run .run-selected-voice-card,
.route-run .run-audio-file-card,
.route-run .run-tool-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(10, 11, 15, 0.9);
}

.route-run .run-voice-chip,
.route-run .run-library-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
}

.route-run .run-voice-chip-avatar,
.route-run .run-library-icon,
.route-run .run-tool-icon,
.route-run .run-audio-file-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: #f5f7fb;
  font-size: 1.25rem;
  font-weight: 700;
}

.route-run .run-tool-icon,
.route-run .run-audio-file-icon {
  color: #9196a1;
}

.route-run .run-tool-icon.is-upgrade,
.route-run .run-audio-file-icon {
  background: rgba(4, 46, 49, 0.78);
  color: #10d7e4;
}

.route-run .run-voice-chip-copy,
.route-run .run-modal-voice-copy,
.route-run .run-library-copy,
.route-run .run-tool-copy,
.route-run .run-upgrade-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
  gap: 6px;
  align-items: flex-start;
  text-align: left;
}

.route-run .run-collapse-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
  gap: 6px;
  align-items: flex-start;
  text-align: left;
}

.route-run .run-voice-chip-copy strong,
.route-run .run-library-copy strong,
.route-run .run-tool-copy h3,
.route-run .run-upgrade-copy h3,
.route-run .run-selected-voice-title strong,
.route-run .run-job-copy strong {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.route-run .run-voice-chip-copy span:last-child,
.route-run .run-library-copy span:last-child,
.route-run .run-tool-copy p,
.route-run .run-upgrade-copy p,
.route-run .run-selected-voice-title span span,
.route-run .run-job-meta,
.route-run .run-job-pitch,
.route-run .run-collapse-copy span:last-child,
.route-run .run-disabled-grid span {
  margin-top: 4px;
  color: #9499a5;
  font-size: 0.9rem;
}

.route-run .run-tool-copy h3,
.route-run .run-tool-copy p,
.route-run .run-upgrade-copy h3,
.route-run .run-upgrade-copy p,
.route-run .run-collapse-copy span:last-child {
  margin: 0;
}

.route-run .run-chip-remove {
  margin-left: auto;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #d8dbe3;
  background: rgba(255, 255, 255, 0.03);
}

.route-run .run-empty-state {
  margin-top: 16px;
  min-height: 174px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 22px;
}

.route-run .run-empty-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #6f7481;
  background: rgba(255, 255, 255, 0.04);
}

.route-run .run-empty-state h3 {
  margin: 14px 0 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.route-run .run-empty-state p {
  width: min(100%, 560px);
  margin: 8px 0 0;
  color: #9499a5;
  line-height: 1.45;
}

.route-run .run-defaults-panel {
  width: 100%;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.route-run .run-defaults-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  text-align: left;
}

.route-run .run-defaults-head strong {
  font-size: 0.86rem;
  letter-spacing: -0.02em;
}

.route-run .run-defaults-head span {
  color: #858c99;
  font-size: 0.78rem;
}

.route-run .run-default-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.route-run .run-default-button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: #f2f5f8;
  text-align: left;
}

.route-run .run-default-button:hover {
  border-color: rgba(16, 215, 228, 0.28);
  background: rgba(16, 215, 228, 0.06);
}

.route-run .run-default-button .run-voice-chip-avatar,
.route-run .run-default-button .run-audio-file-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 0.92rem;
}

.route-run .run-default-button > span:last-child {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.route-run .run-default-button strong,
.route-run .run-default-button small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-run .run-default-button strong {
  font-size: 0.86rem;
  font-weight: 700;
}

.route-run .run-default-button small {
  color: #8f96a2;
  font-size: 0.75rem;
}

.route-run .run-audio-defaults {
  margin-top: 12px;
}

.route-run .run-badge-pill {
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(4, 46, 49, 0.72);
  color: #10d7e4;
}

.route-run .run-badge-pill.is-accent {
  padding-inline: 12px;
}

.route-run .run-selected-voices-list {
  display: grid;
  gap: 16px;
}

.route-run .run-selected-voices-shell {
  overflow: hidden;
}

.route-run .run-selected-voices-shell.is-embedded {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.route-run .run-selected-voices-panel {
  padding: 0;
}

.route-run .run-selected-voice-card {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.route-run .run-pitch-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.route-run .run-icon-button {
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  line-height: 1;
}

.route-run .run-small-icon-button {
  width: 28px;
  height: 28px;
  min-height: 28px;
  font-size: 1rem;
}

.route-run .run-selected-voice-body {
  padding: 14px 14px 12px;
}

.route-run .run-pitch-row + .run-pitch-row {
  margin-top: 14px;
}

.route-run .run-pitch-head {
  align-items: center;
}

.route-run .run-pitch-title {
  display: flex;
  flex: 1 1 220px;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.route-run .run-pitch-head strong {
  overflow: hidden;
  font-size: 0.92rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-run .run-pitch-title span {
  color: #8f94a0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-run .run-pitch-readout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 5px 8px 5px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.route-run .run-pitch-readout > span {
  color: #8f94a0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-run .run-pitch-number {
  width: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f3f5f8;
  text-align: right;
  font-size: 0.92rem;
  font-weight: 700;
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
}

.route-run .run-pitch-number::-webkit-outer-spin-button,
.route-run .run-pitch-number::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.route-run .run-pitch-add-button {
  color: #10d7e4;
  font-size: 1.05rem;
  font-weight: 700;
}

.route-run .run-slider-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  color: #8f94a0;
  font-size: 0.82rem;
}

.route-run .run-slider {
  width: 100%;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #10d7e4 0%, #10d7e4 var(--range-fill, 50%), rgba(255, 255, 255, 0.03) var(--range-fill, 50%), rgba(255, 255, 255, 0.03) 100%);
}

.route-run .run-slider::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #f9fbfd;
  box-shadow: 0 0 0 3px rgba(16, 215, 228, 0.16);
}

.route-run .run-dropzone {
  margin-top: 16px;
  min-height: 152px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  border: 2px dashed rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 20px;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.route-run .run-dropzone.is-dragging,
.route-run .run-dropzone:hover {
  border-color: rgba(16, 215, 228, 0.4);
  background: rgba(16, 215, 228, 0.03);
}

.route-run .run-dropzone strong {
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.route-run .run-dropzone span,
.route-run .run-dropzone small {
  color: #9499a5;
}

.route-run .run-hidden-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.route-run .run-audio-panel {
  margin-top: 16px;
}

.route-run .run-audio-list {
  display: grid;
  gap: 12px;
}

.route-run .run-audio-file-card {
  padding: 16px 18px;
}

.route-run .run-audio-file-copy {
  display: flex;
  gap: 18px;
  min-width: 0;
}

.route-run .run-audio-file-tools {
  display: inline-flex;
  align-items: flex-start;
}

.route-run .run-audio-file-copy > span:last-child {
  display: flex;
  flex-direction: column;
}

.route-run .run-audio-preview-button,
.route-run .run-library-preview {
  border: 0;
  cursor: pointer;
}

.route-run .run-audio-preview-button {
  padding: 0;
}

.route-run .run-audio-preview-button svg,
.route-run .run-library-preview svg {
  width: 20px;
  height: 20px;
}

.route-run .run-audio-preview-button.is-active,
.route-run .run-library-preview.is-active {
  color: #f6fbfc;
  border-color: rgba(16, 215, 228, 0.3);
  background: rgba(16, 215, 228, 0.14);
}

.route-run .run-file-waveform,
.route-run .run-wave-strip {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 2px;
  width: 100%;
  overflow: hidden;
}

.route-run .run-file-waveform {
  height: 88px;
  margin-top: 18px;
  padding: 18px 14px;
  border-radius: 18px;
  background: rgba(11, 16, 16, 0.7);
}

.route-run .run-file-waveform.is-active span {
  background: rgba(16, 215, 228, 0.88);
}

.route-run .run-file-waveform span,
.route-run .run-wave-strip span {
  display: block;
  width: 2px;
  min-width: 2px;
  flex: 0 0 2px;
  border-radius: 999px;
  background: rgba(16, 215, 228, 0.65);
}

.route-run .run-audio-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.route-run .run-secondary-button {
  width: 100%;
  justify-content: center;
}

.route-run .run-secondary-button.is-disabled,
.route-run .run-convert-button.is-disabled {
  opacity: 0.38;
}

.route-run .run-soon-pill,
.route-run .run-mini-badge {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #9aa0ac;
  font-size: 0.72rem;
  font-weight: 700;
}

.route-run .run-mini-badge {
  color: #10d7e4;
  background: rgba(16, 215, 228, 0.12);
}

.route-run .run-tool-list {
  display: grid;
  gap: 14px;
}

.route-run .run-tool-card {
  align-items: flex-start;
  padding: 18px 20px;
}

.route-run .run-tool-title-row,
.route-run .run-collapse-copy .run-tool-title-row,
.route-run .run-job-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.route-run .run-switch {
  position: relative;
  width: 50px;
  height: 30px;
  flex: 0 0 auto;
  align-self: center;
}

.route-run .run-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.route-run .run-switch span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.route-run .run-switch span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #f7f9fb;
  transition: transform 160ms ease;
}

.route-run .run-switch input:checked + span {
  background: rgba(16, 215, 228, 0.4);
}

.route-run .run-switch input:checked + span::after {
  transform: translateX(20px);
}

.route-run .run-switch.is-disabled {
  opacity: 0.72;
}

.route-run .run-upgrade-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 18px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(16, 215, 228, 0.24);
  background: rgba(4, 27, 29, 0.78);
}

.route-run .run-upgrade-copy .run-primary-button {
  align-self: flex-start;
  margin-top: 16px;
}

.route-run .run-collapse-card {
  padding: 0;
  overflow: hidden;
}

.route-run .run-collapse-toggle {
  width: 100%;
  align-items: center;
  padding: 18px 20px;
  text-align: left;
}

.route-run .run-collapse-copy strong {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.route-run .run-collapse-body {
  padding: 0 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.56;
}

.route-run .run-disabled-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.route-run .run-disabled-grid strong {
  display: block;
  font-size: 0.95rem;
}

.route-run .run-ready-card {
  align-items: center;
  padding-top: 24px;
  padding-bottom: 24px;
  border-color: rgba(16, 215, 228, 0.24);
  background: rgba(4, 27, 29, 0.78);
}

.route-run .run-convert-button {
  min-width: 188px;
}

.route-run .run-convert-button.is-loading {
  opacity: 0.78;
}

.route-run .run-submit-feedback {
  color: #ffb4b4;
}

.route-run .run-submit-feedback .run-submit-offer-link {
  display: inline-flex;
  margin-left: 10px;
  color: #9ff5fb;
  font-weight: 700;
  text-decoration: none;
}

.route-run .run-convert-shell {
  position: relative;
  display: inline-flex;
}

.route-run .run-convert-shell.is-disabled::after {
  content: attr(data-disabled-reason);
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: max-content;
  max-width: min(320px, 72vw);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 12, 16, 0.98);
  color: #d8dee8;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: left;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease;
}

.route-run .run-convert-shell.is-disabled:hover::after,
.route-run .run-convert-shell.is-disabled:focus-visible::after,
.route-run .run-convert-shell.is-disabled:focus-within::after {
  opacity: 1;
}

.route-run.route-run-status .run-main-inner {
  display: block;
}

.route-run.route-run-status .run-status-hero {
  display: block;
  margin-bottom: 14px;
}

.route-run.route-run-status .run-status-kicker {
  margin: 0 0 10px;
  color: #18d7e5;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.route-run.route-run-status .run-status-hero h1 {
  margin: 0;
  color: #f5f7fa;
  font-size: clamp(1.75rem, 2.2vw, 2.35rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: 0;
}

.route-run.route-run-status .run-status-hero p {
  max-width: 680px;
  margin: 8px 0 0;
  color: rgba(230, 236, 245, 0.68);
  line-height: 1.45;
}

.route-run.route-run-status .run-status-top {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}

.route-run.route-run-status .run-status-top > .run-card,
.route-run.route-run-status .run-status-job-list > .run-card {
  margin-top: 0;
}

.route-run.route-run-status .run-status-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  overflow: hidden;
}

.route-run.route-run-status .run-status-metric {
  min-width: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.route-run.route-run-status .run-status-metric span,
.route-run.route-run-status .run-status-progress-row span {
  display: block;
  color: rgba(230, 236, 245, 0.52);
  font-size: 0.82rem;
  line-height: 1.45;
}

.route-run.route-run-status .run-status-metric strong {
  display: block;
  margin-top: 6px;
  color: #f5f7fa;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: 0;
}

.route-run.route-run-status .run-status-stage-card {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 12px 14px;
}

.route-run.route-run-status .run-status-live-pill,
.route-run.route-run-status .run-status-pill,
.route-run.route-run-status .run-status-job-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(24, 215, 229, 0.1);
  color: #9ff5fb;
  font-size: 0.78rem;
  font-weight: 700;
}

.route-run.route-run-status .run-status-live-pill.is-finished,
.route-run.route-run-status .run-status-pill.is-complete {
  background: rgba(52, 211, 153, 0.12);
  color: #8df2c6;
}

.route-run.route-run-status .run-status-pill.is-failed {
  background: rgba(248, 113, 113, 0.12);
  color: #ffb4b4;
}

.route-run.route-run-status .run-status-batch-bar,
.route-run.route-run-status .run-status-progress {
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.route-run.route-run-status .run-status-batch-bar {
  margin-top: 0;
}

.route-run.route-run-status .run-status-batch-bar span,
.route-run.route-run-status .run-status-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #18d7e5;
  transition: width 240ms ease;
}

.route-run.route-run-status .run-status-progress.is-active span {
  position: relative;
  min-width: 18px;
  overflow: hidden;
  background: linear-gradient(90deg, #18d7e5 0%, #65f0c2 100%);
}

.route-run.route-run-status .run-status-progress.is-active span::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 60%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  animation: runStatusProgressSweep 1.2s linear infinite;
}

@keyframes runStatusProgressSweep {
  from {
    transform: translateX(-115%);
  }

  to {
    transform: translateX(210%);
  }
}

.route-run.route-run-status .run-status-loop-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.route-run.route-run-status .run-status-loop-actions[hidden] {
  display: none;
}

.route-run.route-run-status .run-status-loop-actions .run-secondary-button {
  width: auto;
  flex: 1 1 190px;
  min-height: 34px;
  padding: 0 12px;
}

.route-run.route-run-status .run-status-job-list {
  display: grid;
  gap: 8px;
  margin-top: 0;
}

.route-run.route-run-status .run-status-offer-slot {
  display: block;
  margin-top: 12px;
}

.route-run.route-run-status .run-status-offer-slot[hidden] {
  display: none;
}

.route-run.route-run-status .run-status-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  border-color: rgba(16, 215, 228, 0.26);
  background:
    linear-gradient(135deg, rgba(16, 215, 228, 0.14), rgba(124, 77, 255, 0.1)),
    rgba(8, 10, 14, 0.96);
}

.route-run.route-run-status .run-status-offer-main {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.route-run.route-run-status .run-status-offer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(16, 215, 228, 0.14);
  color: #9ff5fb;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.route-run.route-run-status .run-status-offer h2 {
  margin: 0;
  color: #f5f7fa;
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.route-run.route-run-status .run-status-offer p {
  margin: 5px 0 0;
  color: rgba(230, 236, 245, 0.66);
  font-size: 0.9rem;
  line-height: 1.4;
}

.route-run.route-run-status .run-status-offer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.route-run.route-run-status .run-status-offer-actions > span {
  color: rgba(230, 236, 245, 0.72);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.route-run.route-run-status .run-status-offer .run-primary-button {
  min-height: 40px;
  padding-inline: 15px;
  border-radius: 10px;
}

.route-run.route-run-status .run-status-job {
  display: grid;
  gap: 7px;
  padding: 6px 12px;
}

.route-run.route-run-status .run-status-job.is-complete {
  border-color: rgba(52, 211, 153, 0.2);
}

.route-run.route-run-status .run-status-job.is-complete .run-status-job-main {
  grid-template-columns: minmax(220px, 1.25fr) minmax(180px, 0.85fr) 34px minmax(380px, 1.7fr);
}

.route-run.route-run-status .run-status-job.is-failed {
  border-color: rgba(248, 113, 113, 0.24);
}

.route-run.route-run-status .run-status-job-main {
  display: grid;
  grid-template-columns: minmax(180px, 1.15fr) minmax(155px, 0.75fr) minmax(205px, 1.25fr) minmax(135px, 0.65fr) minmax(255px, 1.2fr);
  gap: 12px;
  align-items: center;
}

.route-run.route-run-status .run-status-job-audio,
.route-run.route-run-status .run-status-job-model,
.route-run.route-run-status .run-status-job-stage,
.route-run.route-run-status .run-status-job-complete,
.route-run.route-run-status .run-status-job-actions,
.route-run.route-run-status .run-status-progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.route-run.route-run-status .run-status-job-audio {
  gap: 9px;
}

.route-run.route-run-status .run-status-job-audio > div,
.route-run.route-run-status .run-status-job-stage,
.route-run.route-run-status .run-status-job-model {
  min-width: 0;
}

.route-run.route-run-status .run-status-job-audio h2 {
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: #f5f7fa;
  font-size: 0.92rem;
  line-height: 1.2;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-run.route-run-status .run-status-job-audio p,
.route-run.route-run-status .run-status-job-model span,
.route-run.route-run-status .run-status-job-stage span {
  margin: 3px 0 0;
  overflow: hidden;
  color: rgba(230, 236, 245, 0.52);
  font-size: 0.78rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-run.route-run-status .run-status-job-model,
.route-run.route-run-status .run-status-job-stage {
  display: grid;
  gap: 2px;
}

.route-run.route-run-status .run-status-job-model strong,
.route-run.route-run-status .run-status-job-stage strong {
  overflow: hidden;
  color: #f5f7fa;
  font-size: 0.88rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-run.route-run-status .run-status-job-complete {
  justify-content: center;
}

.route-run.route-run-status .run-status-job-complete span {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.34);
}

.route-run.route-run-status .run-status-job-complete span::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 5px;
  width: 6px;
  height: 12px;
  border: solid #8df2c6;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.route-run.route-run-status .run-status-progress-row strong {
  display: block;
  margin-bottom: 5px;
  color: #f5f7fa;
  font-size: 0.95rem;
}

.route-run.route-run-status .run-status-progress-row b {
  color: #f5f7fa;
  font-size: 0.88rem;
}

.route-run.route-run-status .run-status-job-progress {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.route-run.route-run-status .run-status-progress-row {
  justify-content: space-between;
  gap: 10px;
}

.route-run.route-run-status .run-status-job-actions {
  justify-content: flex-end;
  gap: 7px;
}

.route-run.route-run-status .run-status-job-actions audio {
  width: min(280px, 100%);
  min-width: 180px;
  height: 32px;
}

.route-run.route-run-status .run-status-job-actions .run-secondary-button {
  width: auto;
  min-height: 32px;
  padding: 0 11px;
  font-size: 0.82rem;
}

.route-run.route-run-status .run-status-job-actions .run-secondary-button.is-quiet {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.route-run.route-run-status .run-status-error {
  margin: 0;
  color: #ffb4b4;
  font-size: 0.9rem;
  line-height: 1.45;
}

.route-run.route-run-status .run-status-empty {
  display: grid;
  justify-items: start;
  gap: 12px;
  max-width: 640px;
}

.route-run.route-run-status .run-status-empty h2,
.route-run.route-run-status .run-status-empty p {
  margin: 0;
}

.route-run.route-run-status .run-status-empty h2 {
  color: #f5f7fa;
  font-size: 1.5rem;
  letter-spacing: 0;
}

.route-run.route-run-status .run-status-empty p {
  color: rgba(230, 236, 245, 0.64);
}

.route-run.route-library-page .run-main-inner,
.route-run.route-run-recent .run-main-inner {
  display: block;
}

.route-run .run-library-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 16px;
}

.route-run .run-status-kicker {
  margin: 0 0 10px;
  color: #18d7e5;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.route-run .run-library-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #f5f7fa;
  font-size: clamp(1.8rem, 2.5vw, 2.7rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: 0;
}

.route-run .run-library-hero p:not(.run-status-kicker) {
  max-width: 760px;
  margin: 8px 0 0;
  color: rgba(230, 236, 245, 0.66);
  line-height: 1.5;
}

.route-run .run-library-hero .run-primary-button {
  flex: 0 0 auto;
}

.route-run .run-library-workspace {
  display: grid;
  gap: 14px;
}

.route-run .run-library-toolbar,
.route-run .run-library-selected-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.route-run .run-library-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.route-run .run-library-tab {
  min-height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: rgba(230, 236, 245, 0.64);
  font-weight: 700;
}

.route-run .run-library-tab.is-active {
  background: rgba(24, 215, 229, 0.12);
  color: #9ff5fb;
}

.route-run .run-library-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: min(420px, 100%);
  flex: 1 1 300px;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(230, 236, 245, 0.54);
}

.route-run .run-library-search svg {
  width: 18px;
  height: 18px;
}

.route-run .run-library-search input,
.route-run .run-library-sort,
.route-run .run-import-page-input textarea {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f5f7fa;
}

.route-run .run-library-search input::placeholder,
.route-run .run-import-page-input textarea::placeholder {
  color: rgba(230, 236, 245, 0.42);
}

.route-run .run-library-sort {
  width: auto;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #0d0f14;
}

.route-run .run-library-selected-bar {
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(24, 215, 229, 0.18);
  background: rgba(24, 215, 229, 0.06);
}

.route-run .run-library-selected-bar > span {
  color: #d9fbff;
  font-weight: 700;
}

.route-run .run-library-selected-bar > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.route-run .run-library-selected-bar .run-primary-button,
.route-run .run-library-selected-bar .run-secondary-button {
  min-height: 36px;
  padding: 0 13px;
}

.route-run .run-library-feedback,
.route-run .run-library-empty {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(230, 236, 245, 0.68);
}

.route-run .run-model-grid > .run-library-empty {
  grid-column: 1 / -1;
}

.route-run .run-library-feedback.is-danger {
  border-color: rgba(248, 113, 113, 0.24);
  background: rgba(248, 113, 113, 0.1);
  color: #ffb4b4;
}

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

.route-run .run-model-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  min-width: 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.026);
}

.route-run .run-model-card.is-selected {
  border-color: rgba(24, 215, 229, 0.34);
  background: rgba(24, 215, 229, 0.055);
}

.route-run .run-model-card-main,
.route-run .run-audio-library-copy {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.route-run .run-model-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 12px;
  color: #041114;
  font-weight: 800;
  background: #18d7e5;
}

.route-run .run-model-card-main > div,
.route-run .run-audio-library-copy > div {
  min-width: 0;
}

.route-run .run-model-card h2,
.route-run .run-audio-library-row h2 {
  margin: 0;
  overflow: hidden;
  color: #f5f7fa;
  font-size: 0.98rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-run .run-model-card p,
.route-run .run-audio-library-row p,
.route-run .run-library-note {
  margin: 4px 0 0;
  overflow: hidden;
  color: rgba(230, 236, 245, 0.52);
  font-size: 0.82rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-run .run-model-card-meta,
.route-run .run-model-card-actions,
.route-run .run-audio-library-actions,
.route-run .run-import-page-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.route-run .run-model-card-meta {
  min-height: 22px;
  color: rgba(230, 236, 245, 0.46);
  font-size: 0.78rem;
}

.route-run .run-model-warning {
  align-items: center;
  border: 1px solid rgba(251, 191, 36, 0.34);
  border-radius: 999px;
  color: #fbbf24;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  gap: 5px;
  line-height: 1;
  max-width: 100%;
  padding: 4px 7px;
  vertical-align: middle;
  white-space: nowrap;
}

.route-run .run-model-warning svg {
  display: block;
  height: 13px;
  width: 13px;
}

.route-run .run-voice-chip-copy strong .run-model-warning,
.route-run .run-default-button strong .run-model-warning {
  margin-left: 6px;
}

.route-run .run-model-card-actions {
  margin-top: auto;
}

.route-run .run-sample-controls {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.route-run .run-sample-icon-button,
.route-run .run-sample-pitch-trigger {
  min-height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: #cfd5df;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.route-run .run-sample-icon-button {
  width: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.route-run .run-sample-icon-button span:first-child svg {
  width: 15px;
  height: 15px;
}

.route-run .run-sample-icon-button span:last-child svg {
  width: 14px;
  height: 14px;
}

.route-run .run-sample-icon-button:hover,
.route-run .run-sample-pitch-trigger:hover,
.route-run .run-sample-icon-button.is-active,
.route-run .run-sample-pitch-menu.is-open .run-sample-pitch-trigger {
  border-color: rgba(24, 215, 229, 0.3);
  background: rgba(24, 215, 229, 0.08);
  color: #f6fbfc;
}

.route-run .run-sample-pitch-menu {
  position: relative;
}

.route-run .run-sample-pitch-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

.route-run .run-sample-pitch-trigger svg {
  width: 15px;
  height: 15px;
}

.route-run .run-sample-pitch-list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  width: 170px;
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 10, 14, 0.98);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.4);
}

.route-run .run-sample-pitch-list button {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 9px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #d4dae4;
  cursor: pointer;
  font-size: 0.8rem;
  text-align: left;
}

.route-run .run-sample-pitch-list button span:last-child {
  color: rgba(230, 236, 245, 0.45);
  font-size: 0.72rem;
  text-transform: capitalize;
}

.route-run .run-sample-pitch-list button:hover,
.route-run .run-sample-pitch-list button.is-active {
  background: rgba(24, 215, 229, 0.09);
  color: #f6fbfc;
}

.route-run .run-model-card-actions .run-primary-button,
.route-run .run-model-card-actions .run-secondary-button,
.route-run .run-audio-library-actions .run-secondary-button,
.route-run .run-import-page-actions .run-primary-button,
.route-run .run-import-page-actions .run-secondary-button {
  width: auto;
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.84rem;
}

.route-run .run-model-url {
  overflow: hidden;
  color: rgba(230, 236, 245, 0.42);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-run .run-audio-library-list {
  display: grid;
  gap: 8px;
}

.route-run .run-audio-library-row {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(240px, 0.8fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.026);
}

.route-run .run-audio-library-row.is-selected {
  border-color: rgba(24, 215, 229, 0.34);
  background: rgba(24, 215, 229, 0.055);
}

.route-run .run-audio-library-row audio {
  width: 100%;
  height: 34px;
}

.route-run .run-secondary-button.is-danger {
  color: #ffb4b4;
}

.route-run .run-library-load-row {
  display: flex;
  justify-content: center;
}

.route-run .run-import-page-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 14px;
  align-items: start;
}

.route-run .run-import-page-input {
  display: grid;
  gap: 12px;
}

.route-run .run-import-page-input label {
  color: #f5f7fa;
  font-weight: 700;
}

.route-run .run-import-page-input textarea {
  resize: vertical;
  min-height: 190px;
  padding: 13px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  line-height: 1.45;
}

.route-run .run-import-page-list {
  display: grid;
  gap: 12px;
}

.route-run .run-model-grid.is-import-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.route-run .run-recent {
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.route-run .run-recent-head {
  margin-bottom: 22px;
}

.route-run .run-recent-head > span {
  color: #969ba8;
  font-size: 0.95rem;
}

.route-run .run-job-list {
  display: grid;
  gap: 18px;
}

.route-run .run-job-card {
  padding: 20px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.route-run .run-job-top {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.route-run .run-job-play {
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: #7f8591;
}

.route-run .run-job-play svg {
  width: 26px;
  height: 26px;
}

.route-run .run-job-copy {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.route-run .run-job-model {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #d9dde4;
  font-size: 0.78rem;
}

.route-run .run-job-pitch {
  margin-top: 0;
}

.route-run .run-job-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  min-width: 0;
}

.route-run .run-job-title-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.route-run .run-job-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.route-run .run-job-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a7abb8;
}

.route-run .run-job-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #10d7e4;
}

.route-run .run-wave-strip {
  height: 56px;
  margin-top: 18px;
  padding-inline: 10px;
  max-width: 100%;
  overflow: hidden;
}

.route-run .run-wave-strip span {
  background: rgba(16, 215, 228, 0.45);
}

.route-run .run-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.route-run .run-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 3, 0.76);
  backdrop-filter: blur(6px);
}

.route-run .run-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 980px);
  max-height: calc(100vh - 56px);
  margin: 28px auto;
  padding: 22px;
  overflow: auto;
}

.route-run .run-library-dialog {
  width: min(100% - 32px, 620px);
}

.route-run .run-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.route-run .run-modal-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.route-run .run-search {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 0 16px;
  min-height: 52px;
  border-radius: 16px;
  background: #0d0f14;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.route-run .run-search > span,
.route-run .run-modal-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.route-run .run-search input {
  width: 100%;
  color: inherit;
  background: transparent;
  border: 0;
  outline: none;
}

.route-run .run-modal-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.route-run .run-modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.route-run .run-modal-sort {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: #98a0ad;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: auto;
}

.route-run .run-modal-sort select {
  min-width: 180px;
  min-height: 44px;
  padding: 0 40px 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d0f14;
  color: #d6dbe4;
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #7f8795 50%),
    linear-gradient(135deg, #7f8795 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  outline: none;
}

.route-run .run-modal-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d0f14;
  color: #aab0bc;
}

.route-run .run-modal-tabs button.is-active,
.route-run .run-modal-voice-card.is-selected {
  border-color: rgba(16, 215, 228, 0.3);
  background: rgba(16, 215, 228, 0.06);
  color: #f6fbfc;
}

.route-run .run-modal-content {
  margin-top: 20px;
}

.route-run .run-modal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.route-run .run-modal-voice-card {
  position: relative;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.route-run .run-modal-voice-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.route-run .run-modal-voice-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}

.route-run .run-modal-voice-copy strong {
  line-height: 1.28;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.route-run .run-modal-voice-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.route-run .run-modal-voice-copy > span {
  overflow-wrap: anywhere;
}

.route-run .run-modal-voice-subline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.route-run .run-modal-voice-source {
  color: #d0d5de;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
}

.route-run .run-modal-voice-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.route-run .run-voice-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #a7aebb;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.route-run .run-voice-meta .run-button-icon {
  width: 14px;
  height: 14px;
  color: #c8ced8;
}

.route-run .run-voice-usage {
  gap: 8px;
  padding-inline: 9px 10px;
}

.route-run .run-usage-bars {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 4px;
}

.route-run .run-usage-bar {
  width: 12px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.route-run .run-usage-bar.is-active {
  background: linear-gradient(90deg, rgba(16, 215, 228, 0.54), rgba(16, 215, 228, 0.95));
  box-shadow: 0 0 10px rgba(16, 215, 228, 0.18);
}

.route-run .run-modal-voice-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.route-run .run-favorite-button {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #8f95a2;
  transition: color 120ms ease, border-color 120ms ease, background-color 120ms ease;
}

.route-run .run-favorite-button .run-button-icon {
  width: 16px;
  height: 16px;
}

.route-run .run-favorite-button:hover {
  border-color: rgba(255, 107, 129, 0.3);
  color: #ff8ca0;
}

.route-run .run-favorite-button.is-active {
  border-color: rgba(255, 107, 129, 0.34);
  background: rgba(255, 107, 129, 0.08);
  color: #ff6b81;
}

.route-run .run-modal-select-button,
.route-run .run-sample-button,
.route-run .run-sample-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #cfd5df;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.route-run .run-modal-select-button:hover,
.route-run .run-sample-button:hover {
  border-color: rgba(16, 215, 228, 0.28);
}

.route-run .run-modal-select-button.is-selected,
.route-run .run-sample-button.is-active {
  border-color: rgba(16, 215, 228, 0.3);
  background: rgba(16, 215, 228, 0.08);
  color: #f6fbfc;
}

.route-run .run-sample-pill {
  color: #8f95a2;
}

.route-run .run-modal-feedback,
.route-run .run-import-panel {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 13, 17, 0.8);
}

.route-run .run-modal-feedback p {
  margin: 0;
  color: #99a0ad;
}

.route-run .run-modal-inline-feedback {
  margin-top: 12px;
  padding: 12px 2px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.route-run .run-modal-inline-feedback p {
  margin: 0;
  color: #99a0ad;
  font-size: 0.84rem;
}

.route-run .run-modal-inline-feedback.is-quiet p {
  color: #737b88;
}

.route-run .run-import-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.route-run .run-import-copy {
  display: grid;
  gap: 4px;
}

.route-run .run-import-copy strong {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.route-run .run-import-copy span,
.route-run .run-import-feedback {
  color: #98a0ad;
  font-size: 0.9rem;
}

.route-run .run-import-textarea {
  width: 100%;
  min-height: 116px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d0f14;
  color: inherit;
  resize: vertical;
  outline: none;
}

.route-run .run-import-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.route-run .run-modal-check {
  position: absolute;
  inset: 12px 12px auto auto;
  width: 20px;
  height: 20px;
  color: #10d7e4;
}

.route-run .run-library-list {
  display: grid;
  gap: 12px;
}

.route-run .run-library-content {
  margin-top: 20px;
  max-height: min(58vh, 620px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
}

.route-run .run-library-item {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  text-align: left;
}

.route-run .run-library-item.is-selected {
  border-color: rgba(16, 215, 228, 0.3);
  background: rgba(16, 215, 228, 0.06);
  box-shadow: inset 0 0 0 1px rgba(16, 215, 228, 0.14);
}

.route-run .run-library-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.route-run .run-library-preview {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(4, 46, 49, 0.78);
  color: #10d7e4;
}

.route-run .run-library-preview:disabled {
  opacity: 0.42;
  cursor: default;
}

.route-run .run-library-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: max-content;
  flex: 0 0 auto;
}

.route-run .run-library-copy {
  min-width: 0;
}

.route-run .run-library-copy strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-run .run-library-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  flex-wrap: nowrap;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.route-run .run-library-meta .run-mini-badge {
  flex: 0 0 auto;
}

.route-run .run-library-action {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(16, 215, 228, 0.18);
  background: rgba(16, 215, 228, 0.08);
  color: #10d7e4;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-run .run-library-action.is-static:disabled {
  opacity: 1;
  cursor: default;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: #cfd5de;
}

.route-run .run-library-footer-bar {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(8, 12, 18, 0.96);
  backdrop-filter: blur(12px);
}

.route-run .run-library-footer-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.route-run .run-library-footer-copy strong {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.route-run .run-library-footer-copy span {
  color: #9198a4;
  font-size: 0.82rem;
}

.route-run .run-library-apply-button {
  width: auto;
  min-width: 190px;
  flex: 0 0 auto;
}

.route-run .run-record-dialog {
  width: min(100% - 32px, 760px);
}

.route-run .run-record-head {
  margin-bottom: 16px;
}

.route-run .run-record-stage {
  display: grid;
}

.route-run .run-record-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 10, 14, 0.92);
}

.route-run .run-record-panel.is-idle {
  justify-items: center;
  text-align: center;
  padding: 32px 24px;
}

.route-run .run-record-start {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(16, 215, 228, 0.24);
  background: radial-gradient(circle at top, rgba(16, 215, 228, 0.18), rgba(4, 17, 20, 0.96));
  color: #10d7e4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 40px rgba(0, 0, 0, 0.26);
}

.route-run .run-record-start svg {
  width: 28px;
  height: 28px;
}

.route-run .run-record-copy {
  display: grid;
  gap: 8px;
}

.route-run .run-record-copy strong,
.route-run .run-record-status-row strong {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.route-run .run-record-copy p,
.route-run .run-record-footnote span,
.route-run .run-record-feedback p,
.route-run .run-record-name-field span,
.route-run .run-record-marks {
  margin: 0;
  color: #98a0ad;
}

.route-run .run-record-footnote {
  padding-top: 4px;
}

.route-run .run-record-status-row,
.route-run .run-record-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.route-run .run-record-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(16, 215, 228, 0.1);
  color: #10d7e4;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-run .run-record-status.is-paused {
  background: rgba(255, 255, 255, 0.08);
  color: #c7ced9;
}

.route-run .run-record-wave-shell {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.route-run .run-record-waveform {
  display: grid;
  grid-template-columns: repeat(var(--wave-count, 160), minmax(0, 1fr));
  align-items: end;
  gap: 1px;
  min-height: 118px;
  padding: 14px 12px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(12, 16, 18, 0.92), rgba(6, 10, 12, 0.96));
}

.route-run .run-record-waveform.is-live {
  min-height: 112px;
}

.route-run .run-record-wave-bar {
  display: block;
  width: 100%;
  min-width: 0;
  border-radius: 999px;
  background: rgba(16, 215, 228, 0.72);
  transition: background-color 120ms ease, opacity 120ms ease;
}

.route-run .run-record-wave-bar.is-active {
  box-shadow: 0 0 12px rgba(16, 215, 228, 0.16);
}

.route-run .run-record-wave-bar.is-live {
  background: rgba(16, 215, 228, 0.56);
}

.route-run .run-record-wave-mask,
.route-run .run-record-selection {
  position: absolute;
  top: 0;
  bottom: 0;
  pointer-events: none;
}

.route-run .run-record-wave-mask {
  background: rgba(3, 5, 8, 0.58);
  backdrop-filter: blur(2px);
}

.route-run .run-record-wave-mask.is-left {
  left: 0;
}

.route-run .run-record-wave-mask.is-right {
  right: 0;
}

.route-run .run-record-selection {
  border: 1px solid rgba(16, 215, 228, 0.46);
  background: linear-gradient(180deg, rgba(16, 215, 228, 0.06), rgba(16, 215, 228, 0.12));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.route-run .run-record-playhead {
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 2px;
  margin-left: -1px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.9), rgba(16, 215, 228, 0.9));
  box-shadow: 0 0 0 1px rgba(6, 10, 12, 0.8), 0 0 18px rgba(16, 215, 228, 0.24);
  pointer-events: none;
  z-index: 2;
}

.route-run .run-record-handle {
  position: absolute;
  top: 12px;
  bottom: 12px;
  width: 16px;
  margin-left: -8px;
  border-radius: 999px;
  border: 1px solid rgba(16, 215, 228, 0.42);
  background: rgba(5, 24, 27, 0.94);
  box-shadow: 0 0 0 2px rgba(5, 8, 12, 0.7);
  cursor: ew-resize;
  touch-action: none;
}

.route-run .run-record-handle::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 4px;
  height: 34px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: rgba(16, 215, 228, 0.86);
}

.route-run .run-record-marks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.84rem;
}

.route-run .run-record-feedback {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.route-run .run-record-feedback.is-error {
  border: 1px solid rgba(255, 107, 129, 0.18);
  background: rgba(54, 15, 23, 0.42);
}

.route-run .run-record-name-field {
  display: grid;
  gap: 6px;
  min-width: min(100%, 260px);
  flex: 1 1 240px;
}

.route-run .run-record-panel.is-editor .run-record-actions {
  align-items: flex-end;
}

.route-run .run-record-stop-time {
  display: inline-flex;
  align-items: center;
  min-width: 3.3ch;
  font-variant-numeric: tabular-nums;
}

.route-run .run-record-name-field input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d0f14;
  color: #dfe4ec;
  outline: none;
}

.route-run .run-record-name-field input:focus {
  border-color: rgba(16, 215, 228, 0.42);
  box-shadow: 0 0 0 3px rgba(16, 215, 228, 0.12);
}

.run-modal-open,
.run-shell-locked {
  overflow: hidden;
}

@media (max-width: 1280px) {
  .route-run .run-step-divider {
    flex-basis: 40px;
    margin-inline: 14px;
  }
}

@media (max-width: 1080px) {
  .route-run .run-sidebar {
    display: none;
  }

  .route-run .run-mobile-bar,
  .route-run .run-mobile-drawer,
  .route-run .run-mobile-overlay {
    display: flex;
  }

  .route-run .run-main {
    margin-left: 0;
  }

  .route-run .run-app-shell {
    display: block;
  }

  .route-run .run-sidebar-brand {
    padding: 0;
    border-bottom: 0;
  }

  .route-run .run-sidebar-nav,
  .route-run .run-sidebar-bottom {
    display: none;
  }

  .route-run .run-main-inner {
    padding: 18px 18px 42px;
  }

  .route-run .run-mobile-brand span {
    min-width: 0;
  }

  .route-run .run-mobile-brand strong {
    font-size: 1rem;
  }
}

@media (max-width: 900px) {
  .route-run .run-main-inner {
    padding: 18px 18px 40px;
  }

  .route-run .run-section-head,
  .route-run .run-recent-head,
  .route-run .run-ready-card,
  .route-run .run-collapse-toggle,
  .route-run .run-tool-card {
    flex-direction: column;
    align-items: stretch;
  }

  .route-run .run-steps-card {
    min-height: 108px;
    padding: 18px 20px;
  }

  .route-run .run-chip-grid,
  .route-run .run-audio-actions,
  .route-run .run-default-list {
    grid-template-columns: 1fr;
  }

  .route-run .run-section-head-actions {
    width: 100%;
    justify-content: stretch;
  }

  .route-run .run-section-head-actions > .run-primary-button,
  .route-run .run-section-head-actions > .run-secondary-button {
    flex: 1 1 0;
  }

  .route-run .run-modal-voice-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .route-run .run-modal-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .route-run .run-modal-sort {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  .route-run .run-modal-sort select {
    min-width: 0;
    width: min(220px, 100%);
  }

  .route-run .run-modal-voice-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .route-run .run-modal-voice-main {
    width: 100%;
  }

  .route-run .run-library-item {
    grid-template-columns: 1fr;
  }

  .route-run .run-library-footer-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .route-run .run-record-status-row,
  .route-run .run-record-actions,
  .route-run .run-record-marks {
    align-items: stretch;
    flex-direction: column;
  }

  .route-run .run-library-meta {
    flex-wrap: wrap;
    white-space: normal;
  }

  .route-run .run-library-actions,
  .route-run .run-library-action,
  .route-run .run-library-apply-button {
    width: 100%;
  }

  .route-run.route-run-status .run-status-top,
  .route-run.route-run-status .run-status-job-main {
    grid-template-columns: 1fr;
  }

  .route-run.route-run-status .run-status-loop-actions,
  .route-run.route-run-status .run-status-loop-actions .run-secondary-button {
    width: 100%;
  }

  .route-run.route-run-status .run-status-offer,
  .route-run.route-run-status .run-status-offer-main,
  .route-run.route-run-status .run-status-offer-actions {
    display: grid;
    justify-items: stretch;
  }

  .route-run.route-run-status .run-status-offer-actions .run-primary-button {
    width: 100%;
  }

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

  .route-run.route-run-status .run-status-job-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .route-run.route-run-status .run-status-job.is-complete .run-status-job-main {
    grid-template-columns: minmax(0, 1fr) 34px;
  }

  .route-run.route-run-status .run-status-job-audio,
  .route-run.route-run-status .run-status-job-progress,
  .route-run.route-run-status .run-status-job-actions {
    grid-column: 1 / -1;
  }

  .route-run.route-run-status .run-status-job.is-complete .run-status-job-audio {
    grid-column: 1;
  }

  .route-run.route-run-status .run-status-job.is-complete .run-status-job-complete {
    grid-column: 2;
    grid-row: 1;
  }

  .route-run.route-run-status .run-status-job.is-complete .run-status-job-model,
  .route-run.route-run-status .run-status-job.is-complete .run-status-job-actions {
    grid-column: 1 / -1;
  }

  .route-run.route-run-status .run-status-job-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    justify-content: stretch;
    gap: 8px;
  }

  .route-run.route-run-status .run-status-job-actions audio {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }

  .route-run.route-run-status .run-status-job-actions .run-status-pill {
    grid-column: 1 / -1;
  }

  .route-run .run-library-hero,
  .route-run .run-library-toolbar,
  .route-run .run-library-selected-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .route-run .run-library-hero .run-primary-button,
  .route-run .run-library-search,
  .route-run .run-library-sort,
  .route-run .run-library-selected-bar > div,
  .route-run .run-library-selected-bar .run-primary-button,
  .route-run .run-library-selected-bar .run-secondary-button {
    width: 100%;
  }

  .route-run .run-library-search {
    flex: none;
  }

  .route-run .run-model-grid,
  .route-run .run-model-grid.is-import-grid,
  .route-run .run-import-page-grid {
    grid-template-columns: 1fr;
  }

  .route-run .run-audio-library-row {
    grid-template-columns: 1fr;
  }

  .route-run .run-audio-library-actions,
  .route-run .run-import-page-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-run .run-audio-library-actions .run-secondary-button,
  .route-run .run-import-page-actions .run-primary-button,
  .route-run .run-import-page-actions .run-secondary-button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .route-run .run-card,
  .route-run .run-modal-dialog,
  .route-run .run-job-card {
    padding: 18px;
    border-radius: 18px;
  }

  .route-run .run-mobile-bar {
    padding: 12px 14px;
  }

  .route-run .run-empty-state,
  .route-run .run-dropzone {
    min-height: 188px;
    padding: 24px;
  }

  .route-run .run-defaults-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .route-run .run-job-top,
  .route-run .run-selected-voice-top {
    align-items: flex-start;
  }

  .route-run .run-job-title-row,
  .route-run .run-job-meta {
    gap: 8px;
  }

  .route-run .run-job-play {
    width: 56px;
    height: 56px;
  }

  .route-run .run-job-model {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .route-run .run-mobile-account-shell .run-account-menu {
    right: 14px;
    width: min(280px, calc(100vw - 28px));
  }

  .route-run .run-steps-card {
    min-height: 104px;
  }

  .route-run .run-steps {
    min-width: 620px;
  }

  .route-run .run-step {
    gap: 12px;
  }

  .route-run .run-step-marker {
    width: 46px;
    height: 46px;
    font-size: 1rem;
  }

  .route-run .run-step-copy strong {
    font-size: 0.92rem;
  }

  .route-run .run-step-copy span:last-child {
    display: none;
  }

  .route-run .run-step-divider {
    flex-basis: 24px;
    margin-inline: 10px;
  }

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

  .route-run.route-run-status .run-status-metric {
    padding: 14px;
  }

  .route-run .run-library-tabs,
  .route-run .run-model-card-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .route-run .run-library-tab,
  .route-run .run-model-card-actions .run-primary-button,
  .route-run .run-model-card-actions .run-secondary-button {
    width: 100%;
  }

  .route-run .run-sample-controls {
    width: 100%;
    display: grid;
    grid-template-columns: 48px 48px minmax(0, 1fr);
  }

  .route-run .run-sample-pitch-trigger {
    width: 100%;
    justify-content: center;
  }

  .route-run .run-sample-pitch-list {
    right: 0;
    left: auto;
    width: min(220px, 78vw);
  }
}

.route-run.route-pricing-v2 .run-main-inner {
  display: block;
  max-width: 1032px;
  padding-top: 24px;
}

.route-pricing-v2 .pricing-page {
  max-width: 100%;
}

.route-pricing-v2 .pricing-page-header {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

.route-pricing-v2 .pricing-page-header h1 {
  margin: 0;
  color: #f7f9fc;
  font-size: clamp(2.25rem, 3.7vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 700;
}

.route-pricing-v2 .pricing-page-header p {
  max-width: 720px;
  margin: 10px auto 0;
  color: rgba(230, 236, 245, 0.64);
  font-size: 0.96rem;
  line-height: 1.5;
}

.route-pricing-v2 .pricing-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.route-pricing-v2 .pricing-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(230, 236, 245, 0.52);
  font-size: 0.875rem;
  font-weight: 500;
}

.route-pricing-v2 .pricing-toggle-label.is-active {
  color: #f7f9fc;
  font-weight: 600;
}

.route-pricing-v2 .pricing-toggle-label span {
  padding: 2px 8px;
  border-radius: 999px;
  background: #00b894;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.route-pricing-v2 .pricing-toggle-switch {
  position: relative;
  width: 50px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.route-pricing-v2 .pricing-toggle-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #f7f9fc;
  transition: transform 180ms ease;
}

.route-pricing-v2 .pricing-toggle-switch.yearly {
  border-color: rgba(16, 215, 228, 0.42);
  background: rgba(16, 215, 228, 0.24);
}

.route-pricing-v2 .pricing-toggle-switch.yearly::after {
  transform: translateX(22px);
}

.route-pricing-v2 .pricing-alert {
  max-width: 760px;
  margin: -18px auto 28px;
  padding: 13px 15px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 16px;
  background: rgba(125, 211, 252, 0.1);
  color: #d8f1ff;
  text-align: center;
}

.route-pricing-v2 .pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.route-pricing-v2 .plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 458px;
  padding: 20px 24px;
  border: 1px solid #2a2a32;
  border-radius: 12px;
  background: #131316;
  box-shadow: none;
}

.route-pricing-v2 .plan-card.plan-current {
  border-color: rgba(52, 211, 153, 0.42);
}

.route-pricing-v2 .plan-card.plan-featured {
  border-color: rgba(108, 92, 231, 0.58);
}

.route-pricing-v2 .plan-popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 12px;
  border-radius: 999px;
  background: #6c5ce7;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.route-pricing-v2 .plan-current-badge {
  width: fit-content;
  margin-bottom: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
}

.route-pricing-v2 .plan-current-badge {
  background: rgba(52, 211, 153, 0.14);
  color: #a7f3d0;
}

.route-pricing-v2 .plan-header {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.route-pricing-v2 .plan-name {
  margin: 0;
  color: #f7f9fc;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 700;
}

.route-pricing-v2 .plan-summary {
  min-height: 0;
  margin: 4px 0 0;
  color: rgba(230, 236, 245, 0.58);
  font-size: 0.875rem;
  line-height: 1.5;
}

.route-pricing-v2 .plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #f7f9fc;
  margin-bottom: 2px;
}

.route-pricing-v2 .plan-price .amount {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.05;
}

.route-pricing-v2 .plan-price .period {
  color: rgba(230, 236, 245, 0.68);
  font-size: 0.875rem;
  font-weight: 400;
}

.route-pricing-v2 .plan-billing-note {
  margin: -6px 0 0;
  color: rgba(230, 236, 245, 0.46);
  font-size: 0.75rem;
  line-height: 1.4;
}

.route-pricing-v2 .plan-features {
  display: grid;
  gap: 9px;
  margin-bottom: 16px;
}

.route-pricing-v2 .plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(230, 236, 245, 0.78);
  font-size: 0.84rem;
  line-height: 1.42;
}

.route-pricing-v2 .plan-feature-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: #10d7e4;
}

.route-pricing-v2 .plan-feature-icon svg {
  width: 16px;
  height: 16px;
}

.route-pricing-v2 .plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-top: auto;
  border-radius: 8px;
  background: #6c5ce7;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform 160ms ease, background-color 160ms ease;
}

.route-pricing-v2 .plan-cta:hover {
  transform: translateY(-1px);
  background: #7c6ff0;
}

.route-pricing-v2 .plan-cta-trust {
  margin: 8px 0 0;
  color: rgba(230, 236, 245, 0.46);
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: center;
}

.route-pricing-v2 .pricing-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 840px;
  margin: 22px auto 0;
  padding: 0 2px;
}

.route-pricing-v2 .pricing-help h2 {
  margin: 0;
  color: #f7f9fc;
  font-size: 1rem;
  letter-spacing: 0;
}

.route-pricing-v2 .pricing-help p {
  margin: 5px 0 0;
  color: rgba(230, 236, 245, 0.52);
  font-size: 0.9rem;
  line-height: 1.5;
}

.route-pricing-v2 .pricing-help-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.route-pricing-v2 .pricing-help-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: #f7f9fc;
  font-size: 0.9rem;
}

.route-run.route-billing-v2 .run-main-inner {
  display: block;
  max-width: 1032px;
  padding-top: 32px;
}

.route-billing-v2 .billing-page {
  max-width: 100%;
}

.route-billing-v2 .billing-page-header {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

.route-billing-v2 .billing-page-header h1 {
  margin: 0;
  color: #f7f9fc;
  font-size: clamp(2.25rem, 3.7vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 700;
}

.route-billing-v2 .billing-page-header p {
  max-width: 720px;
  margin: 10px auto 0;
  color: rgba(230, 236, 245, 0.64);
  font-size: 0.96rem;
  line-height: 1.5;
}

.route-billing-v2 .billing-alert {
  max-width: 960px;
  margin: -10px auto 20px;
  padding: 13px 15px;
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  color: #fde68a;
  font-size: 0.9rem;
  text-align: center;
}

.route-billing-v2 .billing-alert.is-danger {
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(248, 113, 113, 0.1);
  color: #fecaca;
}

.route-billing-v2 .billing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.route-billing-v2 .billing-plan-card,
.route-billing-v2 .billing-side-panel {
  border: 1px solid #2a2a32;
  border-radius: 12px;
  background: #131316;
  box-shadow: none;
}

.route-billing-v2 .billing-plan-card {
  display: flex;
  min-height: 356px;
  flex-direction: column;
  padding: 24px;
  border-color: rgba(108, 92, 231, 0.52);
}

.route-billing-v2 .billing-side {
  display: grid;
  gap: 16px;
}

.route-billing-v2 .billing-side-panel {
  padding: 22px;
}

.route-billing-v2 .billing-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.route-billing-v2 .billing-card-head h2,
.route-billing-v2 .billing-side-panel h2 {
  margin: 0;
  color: #f7f9fc;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: 0;
  font-weight: 700;
}

.route-billing-v2 .billing-card-head p,
.route-billing-v2 .billing-side-panel p {
  margin: 5px 0 0;
  color: rgba(230, 236, 245, 0.56);
  font-size: 0.88rem;
  line-height: 1.5;
}

.route-billing-v2 .billing-status {
  display: inline-flex;
  min-height: 24px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  color: rgba(230, 236, 245, 0.72);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.route-billing-v2 .billing-status.is-good {
  background: rgba(52, 211, 153, 0.14);
  color: #a7f3d0;
}

.route-billing-v2 .billing-plan-name {
  margin-top: 24px;
  color: #f7f9fc;
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.route-billing-v2 .billing-detail-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.route-billing-v2 .billing-detail-list div {
  display: grid;
  grid-template-columns: minmax(120px, 0.55fr) minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.route-billing-v2 .billing-detail-list dt {
  color: rgba(230, 236, 245, 0.46);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

.route-billing-v2 .billing-detail-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: rgba(230, 236, 245, 0.82);
  font-size: 0.88rem;
  line-height: 1.45;
}

.route-billing-v2 .billing-detail-list.is-compact {
  margin-top: 16px;
}

.route-billing-v2 .billing-detail-list.is-compact div {
  grid-template-columns: 1fr;
  gap: 4px;
}

.route-billing-v2 .billing-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.route-billing-v2 .billing-primary-button,
.route-billing-v2 .billing-secondary-button,
.route-billing-v2 .billing-help-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.route-billing-v2 .billing-primary-button {
  border: 0;
  background: #6c5ce7;
  color: #fff;
}

.route-billing-v2 .billing-primary-button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #7c6ff0;
}

.route-billing-v2 .billing-primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.route-billing-v2 .billing-secondary-button,
.route-billing-v2 .billing-help-actions a {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.02);
  color: #f7f9fc;
}

.route-billing-v2 .billing-secondary-button:hover,
.route-billing-v2 .billing-help-actions a:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.route-billing-v2 .billing-help-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.route-thank-you-v2 {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, rgba(124, 77, 255, 0.26), transparent 38%),
    radial-gradient(circle at 18% 18%, rgba(34, 211, 238, 0.12), transparent 24%),
    linear-gradient(180deg, #08090d 0%, #101018 48%, #090a0f 100%);
  color: #f8fafc;
}

.route-thank-you-v2 .thank-you-fireworks {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.route-thank-you-v2 .thank-you-confetti {
  position: fixed;
  inset: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.route-thank-you-v2 .thank-you-page {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 48px 20px;
}

.route-thank-you-v2 .thank-you-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  animation: thank-you-rise 460ms ease forwards;
}

.route-thank-you-v2 .thank-you-logo img {
  width: 174px;
  max-width: 58vw;
  height: auto;
  display: block;
}

.route-thank-you-v2 .thank-you-card {
  display: grid;
  width: min(100%, 650px);
  justify-items: center;
  gap: 18px;
  padding: 54px 56px 46px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #14141d;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  text-align: center;
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  animation: thank-you-card-in 620ms cubic-bezier(.2, .8, .2, 1) 110ms forwards;
}

.route-thank-you-v2 .thank-you-mark {
  display: inline-grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 50%;
  background: #23b26d;
  color: #fff;
  box-shadow: 0 18px 52px rgba(35, 178, 109, 0.32);
}

.route-thank-you-v2 .thank-you-mark svg {
  width: 34px;
  height: 34px;
}

.route-thank-you-v2 .thank-you-card h1 {
  margin: 4px 0 0;
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 800;
}

.route-thank-you-v2 .thank-you-copy {
  max-width: 520px;
  margin: 0;
  color: #aeb5c2;
  font-size: 1.08rem;
  line-height: 1.65;
}

.route-thank-you-v2 .thank-you-receipt {
  margin: -2px 0 0;
  color: #8e96a5;
  font-size: 0.94rem;
  line-height: 1.5;
}

.route-thank-you-v2 .thank-you-receipt strong {
  color: #e7ebf2;
  font-weight: 600;
}

.route-thank-you-v2 .thank-you-note,
.route-thank-you-v2 .thank-you-alert {
  display: grid;
  width: 100%;
  max-width: 470px;
  gap: 5px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(35, 178, 109, 0.11);
  color: #c8f7df;
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: left;
}

.route-thank-you-v2 .thank-you-note strong,
.route-thank-you-v2 .thank-you-alert strong {
  color: #f7fff9;
  font-size: 0.92rem;
  font-weight: 700;
}

.route-thank-you-v2 .thank-you-alert.is-danger {
  background: rgba(248, 113, 113, 0.13);
  color: #fecaca;
}

.route-thank-you-v2 .thank-you-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.route-thank-you-v2 .thank-you-primary-button,
.route-thank-you-v2 .thank-you-secondary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.route-thank-you-v2 .thank-you-primary-button {
  border: 1px solid rgba(124, 77, 255, 0.72);
  background: #7c4dff;
  color: #fff;
  box-shadow: 0 16px 36px rgba(124, 77, 255, 0.28);
}

.route-thank-you-v2 .thank-you-primary-button:hover {
  transform: translateY(-1px);
  background: #8b5cf6;
}

.route-thank-you-v2 .thank-you-secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  color: #eef2f7;
}

.route-thank-you-v2 .thank-you-secondary-button:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.route-thank-you-v2 .thank-you-help {
  color: #8e96a5;
  font-size: 0.94rem;
  line-height: 1.55;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  animation: thank-you-rise 460ms ease 260ms forwards;
}

.route-thank-you-v2 .thank-you-help p {
  margin: 0 0 7px;
}

.route-thank-you-v2 .thank-you-help p:last-child {
  margin-bottom: 0;
}

.route-thank-you-v2 .thank-you-help a {
  color: #9f8cff;
  font-weight: 600;
  text-decoration: none;
}

.route-thank-you-v2 .thank-you-help a:hover {
  color: #bdb2ff;
}

@keyframes thank-you-card-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes thank-you-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.route-run.route-usage-v2 .run-main-inner {
  display: block;
  max-width: 1032px;
  padding-top: 32px;
}

.route-usage-v2 .usage-page {
  max-width: 100%;
}

.route-usage-v2 .usage-page-header {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

.route-usage-v2 .usage-page-header h1 {
  margin: 0;
  color: #f7f9fc;
  font-size: clamp(2.25rem, 3.7vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 700;
}

.route-usage-v2 .usage-page-header p {
  max-width: 720px;
  margin: 10px auto 0;
  color: rgba(230, 236, 245, 0.64);
  font-size: 0.96rem;
  line-height: 1.5;
}

.route-usage-v2 .usage-alert {
  max-width: 960px;
  margin: -10px auto 20px;
  padding: 13px 15px;
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  color: #fde68a;
  font-size: 0.9rem;
  text-align: center;
}

.route-usage-v2 .usage-alert.is-danger {
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(248, 113, 113, 0.1);
  color: #fecaca;
}

.route-usage-v2 .usage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.route-usage-v2 .usage-plan-card,
.route-usage-v2 .usage-side-panel {
  border: 1px solid #2a2a32;
  border-radius: 12px;
  background: #131316;
  box-shadow: none;
}

.route-usage-v2 .usage-plan-card {
  display: flex;
  min-height: 356px;
  flex-direction: column;
  padding: 24px;
  border-color: rgba(108, 92, 231, 0.52);
}

.route-usage-v2 .usage-side {
  display: grid;
  gap: 16px;
}

.route-usage-v2 .usage-side-panel {
  padding: 22px;
}

.route-usage-v2 .usage-card-head,
.route-usage-v2 .usage-side-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.route-usage-v2 .usage-card-head h2,
.route-usage-v2 .usage-side-panel h2 {
  margin: 0;
  color: #f7f9fc;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: 0;
  font-weight: 700;
}

.route-usage-v2 .usage-card-head p,
.route-usage-v2 .usage-side-panel p {
  margin: 5px 0 0;
  color: rgba(230, 236, 245, 0.56);
  font-size: 0.88rem;
  line-height: 1.5;
}

.route-usage-v2 .usage-status {
  display: inline-flex;
  min-height: 24px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  color: rgba(230, 236, 245, 0.72);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.route-usage-v2 .usage-status.is-good {
  background: rgba(52, 211, 153, 0.14);
  color: #a7f3d0;
}

.route-usage-v2 .usage-plan-name {
  margin-top: 24px;
  color: #f7f9fc;
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.route-usage-v2 .usage-detail-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.route-usage-v2 .usage-detail-list div {
  display: grid;
  grid-template-columns: minmax(120px, 0.55fr) minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.route-usage-v2 .usage-detail-list dt {
  color: rgba(230, 236, 245, 0.46);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

.route-usage-v2 .usage-detail-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: rgba(230, 236, 245, 0.82);
  font-size: 0.88rem;
  line-height: 1.45;
}

.route-usage-v2 .usage-meter-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.route-usage-v2 .usage-meter {
  display: grid;
  gap: 8px;
}

.route-usage-v2 .usage-meter-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: rgba(230, 236, 245, 0.52);
  font-size: 0.8rem;
  line-height: 1.4;
}

.route-usage-v2 .usage-meter-head strong {
  color: rgba(230, 236, 245, 0.84);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.route-usage-v2 .usage-meter-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.route-usage-v2 .usage-meter-bar {
  height: 100%;
  border-radius: inherit;
  background: #10d7e4;
}

.route-usage-v2 .usage-meter p {
  margin: 0;
  color: rgba(230, 236, 245, 0.46);
  font-size: 0.76rem;
  line-height: 1.4;
}

.route-usage-v2 .usage-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.route-usage-v2 .usage-primary-button,
.route-usage-v2 .usage-secondary-button,
.route-usage-v2 .usage-help-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.route-usage-v2 .usage-primary-button {
  border: 0;
  background: #6c5ce7;
  color: #fff;
}

.route-usage-v2 .usage-primary-button:hover {
  transform: translateY(-1px);
  background: #7c6ff0;
}

.route-usage-v2 .usage-secondary-button,
.route-usage-v2 .usage-help-actions a {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.02);
  color: #f7f9fc;
}

.route-usage-v2 .usage-secondary-button:hover,
.route-usage-v2 .usage-help-actions a:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.route-usage-v2 .usage-pass-balance {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 20px;
  color: #f7f9fc;
}

.route-usage-v2 .usage-pass-balance strong {
  font-size: 2.1rem;
  line-height: 1;
}

.route-usage-v2 .usage-pass-balance span {
  color: rgba(230, 236, 245, 0.56);
  font-size: 0.88rem;
}

.route-usage-v2 .usage-help-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.route-run.route-private-models-v2 .run-main-inner {
  display: block;
  max-width: 1032px;
  padding-top: 32px;
}

.route-private-models-v2 .private-models-page {
  max-width: 100%;
}

.route-private-models-v2 .private-models-page-header {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.route-private-models-v2 .private-models-page-header h1 {
  margin: 0;
  color: #f7f9fc;
  font-size: clamp(2.25rem, 3.7vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 700;
}

.route-private-models-v2 .private-models-page-header p {
  max-width: 760px;
  margin: 10px auto 0;
  color: rgba(230, 236, 245, 0.64);
  font-size: 0.96rem;
  line-height: 1.5;
}

.route-private-models-v2 .private-models-alert {
  max-width: 960px;
  margin: -10px auto 20px;
  padding: 13px 15px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 12px;
  background: rgba(125, 211, 252, 0.1);
  color: #d8f1ff;
  font-size: 0.9rem;
  text-align: center;
}

.route-private-models-v2 .private-models-alert.is-success {
  border-color: rgba(52, 211, 153, 0.26);
  background: rgba(52, 211, 153, 0.1);
  color: #a7f3d0;
}

.route-private-models-v2 .private-models-alert.is-danger {
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(248, 113, 113, 0.1);
  color: #fecaca;
}

.route-private-models-v2 .private-models-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: stretch;
  max-width: 960px;
  margin: 0 auto;
}

.route-private-models-v2 .private-models-grid.is-single {
  grid-template-columns: minmax(0, 620px);
  justify-content: center;
}

.route-private-models-v2 .private-models-upload-card,
.route-private-models-v2 .private-models-plan-card,
.route-private-models-v2 .private-models-side-panel,
.route-private-models-v2 .private-models-library {
  border: 1px solid #2a2a32;
  border-radius: 12px;
  background: #131316;
  box-shadow: none;
}

.route-private-models-v2 .private-models-upload-card,
.route-private-models-v2 .private-models-plan-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 22px 24px;
  border-color: rgba(108, 92, 231, 0.52);
}

.route-private-models-v2 .private-models-side {
  display: block;
  height: 100%;
}

.route-private-models-v2 .private-models-side-panel,
.route-private-models-v2 .private-models-library {
  padding: 22px;
}

.route-private-models-v2 .private-models-side-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.route-private-models-v2 .private-models-card-head,
.route-private-models-v2 .private-models-library-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.route-private-models-v2 .private-models-card-head h2,
.route-private-models-v2 .private-models-side-panel h2,
.route-private-models-v2 .private-models-library-head h2 {
  margin: 0;
  color: #f7f9fc;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: 0;
  font-weight: 700;
}

.route-private-models-v2 .private-models-card-head p,
.route-private-models-v2 .private-models-side-panel p,
.route-private-models-v2 .private-models-library-head p {
  margin: 5px 0 0;
  color: rgba(230, 236, 245, 0.56);
  font-size: 0.88rem;
  line-height: 1.5;
}

.route-private-models-v2 .private-models-status {
  display: inline-flex;
  min-height: 24px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  color: rgba(230, 236, 245, 0.72);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.route-private-models-v2 .private-models-status.is-good {
  background: rgba(52, 211, 153, 0.14);
  color: #a7f3d0;
}

.route-private-models-v2 .private-models-plan-name {
  margin-top: 24px;
  color: #f7f9fc;
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.route-private-models-v2 .private-models-detail-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.route-private-models-v2 .private-models-detail-list div {
  display: grid;
  grid-template-columns: minmax(120px, 0.55fr) minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.route-private-models-v2 .private-models-detail-list dt {
  color: rgba(230, 236, 245, 0.46);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

.route-private-models-v2 .private-models-detail-list dd {
  min-width: 0;
  margin: 0;
  color: rgba(230, 236, 245, 0.82);
  font-size: 0.88rem;
  line-height: 1.45;
}

.route-private-models-v2 .private-models-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.route-private-models-v2 .private-models-field {
  display: grid;
  gap: 7px;
}

.route-private-models-v2 .private-models-field span {
  color: rgba(230, 236, 245, 0.58);
  font-size: 0.78rem;
  font-weight: 600;
}

.route-private-models-v2 .private-models-field input {
  min-height: 40px;
  width: 100%;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: #f7f9fc;
  font-size: 0.9rem;
}

.route-private-models-v2 .private-models-field input[type="file"] {
  padding: 8px 12px;
}

.route-private-models-v2 .private-models-field small {
  color: rgba(230, 236, 245, 0.46);
  font-size: 0.76rem;
  line-height: 1.4;
}

.route-private-models-v2 .private-models-field small span {
  color: #fecaca;
  font-size: inherit;
}

.route-private-models-v2 .private-models-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.route-private-models-v2 .private-models-actions {
  margin-top: 4px;
  padding-top: 6px;
}

.route-private-models-v2 .private-models-primary-button,
.route-private-models-v2 .private-models-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.route-private-models-v2 .private-models-primary-button {
  border: 0;
  background: #6c5ce7;
  color: #fff;
}

.route-private-models-v2 .private-models-primary-button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #7c6ff0;
}

.route-private-models-v2 .private-models-primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.54;
}

.route-private-models-v2 .private-models-secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.02);
  color: #f7f9fc;
}

.route-private-models-v2 .private-models-secondary-button:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.route-private-models-v2 .private-models-progress {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.route-private-models-v2 .private-models-progress[hidden] {
  display: none;
}

.route-private-models-v2 .private-models-progress-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.route-private-models-v2 .private-models-progress-head strong,
.route-private-models-v2 .private-models-progress-head span {
  color: rgba(230, 236, 245, 0.84);
  font-size: 0.8rem;
  font-weight: 600;
}

.route-private-models-v2 .private-models-progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.route-private-models-v2 .private-models-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #10d7e4;
}

.route-private-models-v2 .private-models-progress-track span.is-busy {
  background: linear-gradient(90deg, #10d7e4, #6c5ce7);
}

.route-private-models-v2 .private-models-progress-track span.is-danger {
  background: #f87171;
}

.route-private-models-v2 .private-models-progress p {
  margin: 0;
  color: rgba(230, 236, 245, 0.46);
  font-size: 0.76rem;
  line-height: 1.4;
}

.route-private-models-v2 .private-models-progress p.is-success {
  color: #a7f3d0;
}

.route-private-models-v2 .private-models-progress p.is-warning {
  color: #fde68a;
}

.route-private-models-v2 .private-models-progress p.is-danger {
  color: #fecaca;
}

.route-private-models-v2 .private-models-library {
  max-width: 960px;
  margin: 18px auto 0;
}

.route-private-models-v2 .private-models-list {
  display: grid;
  gap: 0;
  margin-top: 14px;
}

.route-private-models-v2 .private-models-selected-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(16, 215, 228, 0.18);
  border-radius: 12px;
  background: rgba(16, 215, 228, 0.06);
}

.route-private-models-v2 .private-models-selected-bar[hidden] {
  display: none;
}

.route-private-models-v2 .private-models-selected-bar span {
  color: #f7f9fc;
  font-size: 0.84rem;
  font-weight: 700;
}

.route-private-models-v2 .private-models-selected-bar div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.route-private-models-v2 .private-model-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(186px, auto) auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.route-private-models-v2 .private-model-row,
.route-private-models-v2 .private-model-row-main,
.route-private-models-v2 .private-model-samples,
.route-private-models-v2 .private-model-row-actions,
.route-private-models-v2 .private-model-row-actions form {
  min-width: 0;
}

.route-private-models-v2 .private-model-row-main h3 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #f7f9fc;
  font-size: 0.94rem;
  letter-spacing: 0;
}

.route-private-models-v2 .private-model-row-main p {
  margin: 3px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(230, 236, 245, 0.46);
  font-size: 0.75rem;
  line-height: 1.4;
}

.route-private-models-v2 .private-model-samples {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.route-private-models-v2 .private-model-sample-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.route-private-models-v2 .private-model-sample-buttons {
  display: inline-flex;
  gap: 6px;
}

.route-private-models-v2 .private-model-sample-button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.025);
  color: #d7dce5;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.route-private-models-v2 .private-model-sample-button:hover,
.route-private-models-v2 .private-model-sample-button.is-active {
  border-color: rgba(16, 215, 228, 0.28);
  background: rgba(16, 215, 228, 0.08);
  color: #f7f9fc;
  transform: translateY(-1px);
}

.route-private-models-v2 .private-model-sample-icon {
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.route-private-models-v2 .private-model-sample-icon svg {
  width: 15px;
  height: 15px;
}

.route-private-models-v2 .private-model-sample-pitch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.route-private-models-v2 .private-model-sample-pitch span {
  color: rgba(230, 236, 245, 0.46);
  font-size: 0.72rem;
  font-weight: 600;
}

.route-private-models-v2 .private-model-sample-pitch select {
  min-height: 34px;
  width: 68px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: #18181c;
  color: #f7f9fc;
  font-size: 0.82rem;
  font-weight: 600;
}

.route-private-models-v2 .private-model-no-sample {
  color: rgba(230, 236, 245, 0.42);
  font-size: 0.78rem;
  font-weight: 600;
}

.route-private-models-v2 .private-model-row-actions,
.route-private-models-v2 .private-model-rename-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.route-private-models-v2 .private-model-row-actions .private-models-primary-button,
.route-private-models-v2 .private-model-row-actions .private-models-secondary-button {
  min-height: 34px;
  padding: 0 12px;
}

.route-private-models-v2 .private-model-select-button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: #d7dce5;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.route-private-models-v2 .private-model-select-button:hover,
.route-private-models-v2 .private-model-select-button.is-selected {
  border-color: rgba(16, 215, 228, 0.28);
  background: rgba(16, 215, 228, 0.08);
  color: #f7f9fc;
  transform: translateY(-1px);
}

.route-private-models-v2 .private-model-select-button svg {
  width: 16px;
  height: 16px;
}

.private-model-rename-open {
  overflow: hidden;
}

.private-model-rename-modal[hidden] {
  display: none;
}

.private-model-rename-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.private-model-rename-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
}

.private-model-rename-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: #131316;
  color: #f7f9fc;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

.private-model-rename-dialog h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.private-model-rename-dialog p {
  margin: 6px 0 0;
  color: rgba(230, 236, 245, 0.56);
  font-size: 0.88rem;
  line-height: 1.5;
}

.private-model-rename-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #d7dce5;
  font-size: 1.3rem;
  line-height: 1;
}

.private-model-rename-modal-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.private-model-rename-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.route-private-models-v2 .private-models-empty {
  margin-top: 20px;
  padding: 24px 0 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.route-private-models-v2 .private-models-empty h3 {
  margin: 0;
  color: #f7f9fc;
  font-size: 1rem;
  letter-spacing: 0;
}

.route-private-models-v2 .private-models-empty p {
  margin: 6px 0 0;
  color: rgba(230, 236, 245, 0.52);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 1080px) {
  .route-pricing-v2 .pricing-grid {
    grid-template-columns: 1fr;
  }

  .route-pricing-v2 .plan-card {
    min-height: 0;
  }

  .route-billing-v2 .billing-grid {
    grid-template-columns: 1fr;
  }

  .route-billing-v2 .billing-plan-card {
    min-height: 0;
  }

  .route-usage-v2 .usage-grid {
    grid-template-columns: 1fr;
  }

  .route-usage-v2 .usage-plan-card {
    min-height: 0;
  }

  .route-private-models-v2 .private-models-grid {
    grid-template-columns: 1fr;
  }

  .route-private-models-v2 .private-models-upload-card,
  .route-private-models-v2 .private-models-plan-card {
    min-height: 0;
  }

  .route-private-models-v2 .private-model-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .route-private-models-v2 .private-model-samples {
    justify-content: flex-start;
  }

  .route-private-models-v2 .private-model-row-actions {
    flex-wrap: wrap;
  }

  .route-private-models-v2 .private-models-selected-bar {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .route-run.route-pricing-v2 .run-main-inner,
  .route-run.route-billing-v2 .run-main-inner,
  .route-run.route-usage-v2 .run-main-inner,
  .route-run.route-thank-you-v2 .run-main-inner,
  .route-run.route-private-models-v2 .run-main-inner {
    padding: 22px 18px 36px;
  }

  .route-thank-you-v2 .thank-you-hero {
    justify-items: start;
    text-align: left;
  }

  .route-thank-you-v2 .thank-you-hero h1 {
    font-size: 2.35rem;
  }

  .route-thank-you-v2 .thank-you-panel,
  .route-thank-you-v2 .thank-you-help {
    padding: 24px;
  }

  .route-thank-you-v2 .thank-you-details div,
  .route-thank-you-v2 .thank-you-actions,
  .route-thank-you-v2 .thank-you-help-actions {
    grid-template-columns: 1fr;
  }

  .route-thank-you-v2 .thank-you-details div {
    gap: 4px;
  }

  .route-pricing-v2 .pricing-page-header,
  .route-billing-v2 .billing-page-header,
  .route-usage-v2 .usage-page-header,
  .route-private-models-v2 .private-models-page-header {
    margin-bottom: 30px;
    text-align: left;
  }

  .route-pricing-v2 .pricing-page-header h1,
  .route-billing-v2 .billing-page-header h1,
  .route-usage-v2 .usage-page-header h1,
  .route-private-models-v2 .private-models-page-header h1 {
    font-size: 2.35rem;
  }

  .route-pricing-v2 .pricing-page-header p,
  .route-billing-v2 .billing-page-header p,
  .route-usage-v2 .usage-page-header p,
  .route-private-models-v2 .private-models-page-header p {
    margin-left: 0;
    margin-right: 0;
  }

  .route-pricing-v2 .pricing-toggle {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .route-pricing-v2 .pricing-toggle-label span {
    display: none;
  }

  .route-pricing-v2 .plan-card {
    padding: 24px;
  }

  .route-pricing-v2 .plan-summary {
    min-height: 0;
  }

  .route-pricing-v2 .pricing-help {
    align-items: stretch;
    flex-direction: column;
  }

  .route-pricing-v2 .pricing-help-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .route-billing-v2 .billing-plan-card,
  .route-billing-v2 .billing-side-panel {
    padding: 24px;
  }

  .route-billing-v2 .billing-card-head,
  .route-billing-v2 .billing-actions,
  .route-billing-v2 .billing-help-actions {
    grid-template-columns: 1fr;
  }

  .route-billing-v2 .billing-card-head {
    display: grid;
  }

  .route-billing-v2 .billing-plan-name {
    font-size: 2.6rem;
  }

  .route-billing-v2 .billing-detail-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .route-usage-v2 .usage-plan-card,
  .route-usage-v2 .usage-side-panel {
    padding: 24px;
  }

  .route-usage-v2 .usage-card-head,
  .route-usage-v2 .usage-side-head,
  .route-usage-v2 .usage-actions,
  .route-usage-v2 .usage-help-actions {
    grid-template-columns: 1fr;
  }

  .route-usage-v2 .usage-card-head,
  .route-usage-v2 .usage-side-head {
    display: grid;
  }

  .route-usage-v2 .usage-plan-name {
    font-size: 2.6rem;
  }

  .route-usage-v2 .usage-detail-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .route-usage-v2 .usage-meter-head {
    display: grid;
    gap: 2px;
  }

  .route-private-models-v2 .private-models-upload-card,
  .route-private-models-v2 .private-models-plan-card,
  .route-private-models-v2 .private-models-side-panel,
  .route-private-models-v2 .private-models-library {
    padding: 24px;
  }

  .route-private-models-v2 .private-models-card-head,
  .route-private-models-v2 .private-models-library-head,
  .route-private-models-v2 .private-models-actions {
    grid-template-columns: 1fr;
  }

  .route-private-models-v2 .private-models-card-head,
  .route-private-models-v2 .private-models-library-head {
    display: grid;
  }

  .route-private-models-v2 .private-models-plan-name {
    font-size: 2.6rem;
  }

  .route-private-models-v2 .private-models-detail-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .route-private-models-v2 .private-model-row-actions {
    display: grid;
    grid-template-columns: 34px repeat(3, minmax(0, 1fr));
  }

  .route-private-models-v2 .private-model-rename-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .route-private-models-v2 .private-models-selected-bar div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .route-private-models-v2 .private-model-sample-controls {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .route-private-models-v2 .private-model-row-actions .private-models-primary-button,
  .route-private-models-v2 .private-model-row-actions .private-models-secondary-button {
    width: 100%;
    padding-inline: 8px;
  }

  .private-model-rename-dialog {
    padding: 22px;
  }

  .private-model-rename-actions {
    grid-template-columns: 1fr;
  }
}
