.studio-shell-page {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  background:
    linear-gradient(90deg, rgba(10,12,18,0.98), rgba(7,8,13,0.94)),
    #07080d;
}

/* Final Studio surface pass: quieter product UI after responsive rules. */
.studio-shell-page {
  grid-template-columns: 238px minmax(0, 1fr);
  background:
    radial-gradient(circle at 72% -10%, rgba(92,246,200,0.07), transparent 34%),
    linear-gradient(180deg, #090a0f 0%, #08090d 100%);
}

.studio-shell-page::before { opacity: 0.1; }

.studio-sidebar {
  gap: 18px;
  padding: 20px 14px;
  background: rgba(8,9,14,0.98);
  border-right-color: rgba(255,255,255,0.075);
}

.logo-mark,
.avatar-mark,
.glyph {
  background:
    radial-gradient(circle at 28% 20%, rgba(255,255,255,0.55), transparent 20%),
    linear-gradient(135deg, #6d5dfc, #44d7b6);
  box-shadow: 0 10px 24px rgba(68,215,182,0.12);
}

.studio-brand strong,
.account-chip strong { font-size: 14px; }

.studio-brand small,
.account-chip small,
.kicker,
.micro-label {
  color: rgba(188,181,213,0.68);
  letter-spacing: 0.14em;
}

.studio-nav { gap: 3px; }

.studio-nav a {
  min-height: 40px;
  border-radius: 10px;
  color: rgba(232,226,246,0.72);
  font-size: 12px;
}

.studio-nav a:hover,
.studio-nav a.is-active {
  color: #fff;
  border-color: rgba(255,255,255,0.11);
  background: rgba(255,255,255,0.07);
}

.credit-pill {
  border-color: rgba(92,246,200,0.16);
  border-radius: 14px;
  background: rgba(92,246,200,0.055);
}

.credit-pill strong {
  font-size: 28px;
  letter-spacing: -0.045em;
}

.studio-main {
  width: min(1240px, 100%);
  gap: 14px;
  padding-top: 22px;
}

.studio-topbar { min-height: 48px; }

.studio-topbar h1 {
  font-size: clamp(27px, 2.2vw, 38px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-transform: none;
}

.topbar-actions { gap: 8px; }

.icon-btn,
.mini-link,
.status-chip,
.status-pill,
.account-chip {
  min-height: 34px;
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.045);
  box-shadow: none;
}

.btn {
  min-height: 40px;
  box-shadow: none;
}

.btn.primary {
  border-color: rgba(139,92,246,0.55);
  background: #7c4df1;
  box-shadow: none;
}

.app-card,
.composer-shell,
.studio-panel,
.metric-card,
.project-tile,
.asset-row,
.job-line,
.plan-card,
.settings-card {
  border-color: rgba(255,255,255,0.085);
  background: rgba(18,20,28,0.78);
  box-shadow: none;
}

.studio-shell-page .studio-panel,
.settings-card {
  padding: 18px;
  border-radius: 16px;
}

.composer-shell,
.render-panel,
.metric-card,
.studio-metrics article,
.project-tile,
.plan-card,
.settings-card,
.asset-row,
.job-row,
.credit-option {
  border-radius: 14px;
}

.composer-head h2,
.studio-panel h2,
.settings-card h2,
.project-tile h2,
.render-calculator h2 {
  margin-top: 3px;
  font-size: clamp(20px, 1.6vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy,
.project-summary {
  min-height: 150px;
  padding: 22px;
  border-radius: 16px;
  border-color: rgba(255,255,255,0.085);
  background: rgba(18,20,28,0.78);
}

.hero-copy h2,
.project-summary h2 {
  max-width: 820px;
  font-size: clamp(30px, 3.15vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-copy p,
.project-summary p {
  max-width: 690px;
  font-size: 13px;
}

.launch-checklist,
.render-calculator,
.credit-meter,
.enterprise-strip {
  border-radius: 16px;
  border-color: rgba(92,246,200,0.13);
  background: rgba(14,32,29,0.48);
}

.check-item,
.task-step,
.pipeline-stack div,
.table-card,
.provider-card,
.job-row,
.data-table div,
.spec-card,
.calc-grid div,
.credit-option,
.settings-row,
.project-list article {
  border-color: rgba(255,255,255,0.075);
  background: rgba(255,255,255,0.032);
}

.check-item i,
.drop-zone b,
.provider-card b {
  color: #07100d;
  background: #5cf6c8;
}

.task-step b,
.project-icon,
.type-icon,
.job-thumb {
  border-radius: 12px;
  background: rgba(124,77,241,0.18);
}

.input-slot {
  min-height: 132px;
  border-radius: 14px;
  background: rgba(255,255,255,0.032);
}

.input-slot.wide { min-height: 96px; }

.prompt-box textarea,
.field-row input,
.select-row select {
  border-radius: 12px;
  background: rgba(5,6,10,0.72);
}

.studio-metrics,
.metric-grid,
.settings-grid,
.billing-grid { gap: 9px; }

.metric-card,
.studio-metrics article {
  min-height: 84px;
  padding: 13px;
}

.metric-card strong,
.studio-metrics strong { font-size: 26px; }

.project-board,
.plan-grid { gap: 10px; }

.project-tile,
.plan-card {
  min-height: 176px;
  padding: 15px;
}

.project-tile h2,
.plan-card h3 {
  font-size: 23px;
  line-height: 1.03;
}

.plan-price { font-size: 34px; }

.studio-shell-page .plans-panel { padding: 24px; }
.studio-shell-page .plans-panel .panel-head { padding-bottom: 13px; }
.studio-shell-page .plans-panel .plan-card { min-height: 236px; }

.asset-map { min-height: 210px; }

.drop-zone {
  min-height: 244px;
  border-radius: 16px;
  background: rgba(18,20,28,0.78);
}

.settings-shell { grid-template-columns: 210px minmax(0, 1fr); }
.settings-nav-card { border-radius: 16px; }
.setting-section { grid-template-columns: 190px minmax(0, 1fr); }

@media (max-width: 1120px) {
  .studio-shell-page { grid-template-columns: 1fr; }
  .studio-sidebar {
    position: relative;
    height: auto;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
  .credit-pill { grid-column: 1 / -1; }
  .composer-shell,
  .workspace-hero,
  .studio-workbench,
  .projects-command,
  .asset-workbench,
  .queue-command,
  .project-board,
  .plan-grid,
  .settings-layout,
  .settings-shell,
  .billing-layout,
  .billing-hero,
  .asset-kpi-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .studio-main { padding: 14px 12px 34px; }
  .studio-sidebar { grid-template-columns: 1fr; }
  .studio-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
  }
  .studio-nav a {
    min-width: 0;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0 5px;
    font-size: 11px;
  }
  .studio-nav a span { display: none; }
  .studio-topbar,
  .panel-head,
  .composer-head,
  .page-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .topbar-actions,
  .slot-grid,
  .studio-metrics,
  .metric-grid,
  .settings-grid,
  .billing-grid,
  .provider-board,
  .output-spec,
  .calc-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-copy,
  .project-summary {
    min-height: auto;
    padding: 18px;
  }
  .hero-copy h2,
  .project-summary h2 {
    font-size: clamp(29px, 10vw, 42px);
  }
  .account-chip,
  .icon-btn {
    width: 100%;
    border-radius: 14px;
  }
  .project-list article,
  .job-line,
  .asset-row,
  .job-row,
  .check-item,
  .pipeline-stack div {
    grid-template-columns: 42px minmax(0, 1fr);
  }
  .project-list b,
  .job-line b,
  .asset-row b,
  .job-row em,
  .check-item span,
  .pipeline-stack span {
    grid-column: 2;
    text-align: left;
  }
  .data-table div,
  .enterprise-strip,
  .setting-section {
    grid-template-columns: 1fr;
  }
}

/* End-of-file corrections: keep the Studio pages tool-sized, not landing-sized. */
.hero-copy,
.project-summary {
  align-content: start;
  min-height: 126px;
}

.hero-copy h2,
.project-summary h2 {
  font-size: clamp(27px, 2.55vw, 40px);
}

.workspace-hero {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.projects-command {
  grid-template-columns: minmax(0, 1fr) 320px;
}

@media (max-width: 1120px) {
  .workspace-hero,
  .projects-command {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero-copy h2,
  .project-summary h2 {
    font-size: clamp(27px, 8.2vw, 34px);
  }
}

/* Tool-first density tuning. */
.hero-copy,
.project-summary {
  align-content: start;
  min-height: 126px;
}

.hero-copy h2,
.project-summary h2 {
  font-size: clamp(27px, 2.55vw, 40px);
}

.workspace-hero {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.projects-command {
  grid-template-columns: minmax(0, 1fr) 320px;
}

@media (max-width: 1120px) {
  .workspace-hero,
  .projects-command {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero-copy h2,
  .project-summary h2 {
    font-size: clamp(27px, 8.2vw, 34px);
  }
}

/* Final Studio surface pass: quieter product UI after responsive rules. */
.studio-shell-page {
  grid-template-columns: 238px minmax(0, 1fr);
  background:
    radial-gradient(circle at 72% -10%, rgba(92,246,200,0.07), transparent 34%),
    linear-gradient(180deg, #090a0f 0%, #08090d 100%);
}

.studio-shell-page::before { opacity: 0.1; }

.studio-sidebar {
  gap: 18px;
  padding: 20px 14px;
  background: rgba(8,9,14,0.98);
  border-right-color: rgba(255,255,255,0.075);
}

.logo-mark,
.avatar-mark,
.glyph {
  background:
    radial-gradient(circle at 28% 20%, rgba(255,255,255,0.55), transparent 20%),
    linear-gradient(135deg, #6d5dfc, #44d7b6);
  box-shadow: 0 10px 24px rgba(68,215,182,0.12);
}

.studio-brand strong,
.account-chip strong { font-size: 14px; }

.studio-brand small,
.account-chip small,
.kicker,
.micro-label {
  color: rgba(188,181,213,0.68);
  letter-spacing: 0.14em;
}

.studio-nav { gap: 3px; }

.studio-nav a {
  min-height: 40px;
  border-radius: 10px;
  color: rgba(232,226,246,0.72);
  font-size: 12px;
}

.studio-nav a:hover,
.studio-nav a.is-active {
  color: #fff;
  border-color: rgba(255,255,255,0.11);
  background: rgba(255,255,255,0.07);
}

.credit-pill {
  border-color: rgba(92,246,200,0.16);
  border-radius: 14px;
  background: rgba(92,246,200,0.055);
}

.credit-pill strong {
  font-size: 28px;
  letter-spacing: -0.045em;
}

.studio-main {
  width: min(1240px, 100%);
  gap: 14px;
  padding-top: 22px;
}

.studio-topbar { min-height: 48px; }

.studio-topbar h1 {
  font-size: clamp(27px, 2.2vw, 38px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-transform: none;
}

.topbar-actions { gap: 8px; }

.icon-btn,
.mini-link,
.status-chip,
.status-pill,
.account-chip {
  min-height: 34px;
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.045);
  box-shadow: none;
}

.btn {
  min-height: 40px;
  box-shadow: none;
}

.btn.primary {
  border-color: rgba(139,92,246,0.55);
  background: #7c4df1;
  box-shadow: none;
}

.app-card,
.composer-shell,
.studio-panel,
.metric-card,
.project-tile,
.asset-row,
.job-line,
.plan-card,
.settings-card {
  border-color: rgba(255,255,255,0.085);
  background: rgba(18,20,28,0.78);
  box-shadow: none;
}

.studio-shell-page .studio-panel,
.settings-card {
  padding: 18px;
  border-radius: 16px;
}

.composer-shell,
.render-panel,
.metric-card,
.studio-metrics article,
.project-tile,
.plan-card,
.settings-card,
.asset-row,
.job-row,
.credit-option {
  border-radius: 14px;
}

.composer-head h2,
.studio-panel h2,
.settings-card h2,
.project-tile h2,
.render-calculator h2 {
  margin-top: 3px;
  font-size: clamp(20px, 1.6vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy,
.project-summary {
  min-height: 150px;
  padding: 22px;
  border-radius: 16px;
  border-color: rgba(255,255,255,0.085);
  background: rgba(18,20,28,0.78);
}

.hero-copy h2,
.project-summary h2 {
  max-width: 820px;
  font-size: clamp(30px, 3.15vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-copy p,
.project-summary p {
  max-width: 690px;
  font-size: 13px;
}

.launch-checklist,
.render-calculator,
.credit-meter,
.enterprise-strip {
  border-radius: 16px;
  border-color: rgba(92,246,200,0.13);
  background: rgba(14,32,29,0.48);
}

.check-item,
.task-step,
.pipeline-stack div,
.table-card,
.provider-card,
.job-row,
.data-table div,
.spec-card,
.calc-grid div,
.credit-option,
.settings-row,
.project-list article {
  border-color: rgba(255,255,255,0.075);
  background: rgba(255,255,255,0.032);
}

.check-item i,
.drop-zone b,
.provider-card b {
  color: #07100d;
  background: #5cf6c8;
}

.task-step b,
.project-icon,
.type-icon,
.job-thumb {
  border-radius: 12px;
  background: rgba(124,77,241,0.18);
}

.input-slot {
  min-height: 132px;
  border-radius: 14px;
  background: rgba(255,255,255,0.032);
}

.input-slot.wide { min-height: 96px; }

.prompt-box textarea,
.field-row input,
.select-row select {
  border-radius: 12px;
  background: rgba(5,6,10,0.72);
}

.studio-metrics,
.metric-grid,
.settings-grid,
.billing-grid { gap: 9px; }

.metric-card,
.studio-metrics article {
  min-height: 84px;
  padding: 13px;
}

.metric-card strong,
.studio-metrics strong { font-size: 26px; }

.project-board,
.plan-grid { gap: 10px; }

.project-tile,
.plan-card {
  min-height: 176px;
  padding: 15px;
}

.project-tile h2,
.plan-card h3 {
  font-size: 23px;
  line-height: 1.03;
}

.plan-price { font-size: 34px; }

.studio-shell-page .plans-panel { padding: 24px; }
.studio-shell-page .plans-panel .panel-head { padding-bottom: 13px; }
.studio-shell-page .plans-panel .plan-card { min-height: 236px; }

.asset-map { min-height: 210px; }

.drop-zone {
  min-height: 244px;
  border-radius: 16px;
  background: rgba(18,20,28,0.78);
}

.settings-shell { grid-template-columns: 210px minmax(0, 1fr); }
.settings-nav-card { border-radius: 16px; }
.setting-section { grid-template-columns: 190px minmax(0, 1fr); }

@media (max-width: 1120px) {
  .studio-shell-page { grid-template-columns: 1fr; }
  .studio-sidebar {
    position: relative;
    height: auto;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
  .credit-pill { grid-column: 1 / -1; }
  .composer-shell,
  .workspace-hero,
  .studio-workbench,
  .projects-command,
  .asset-workbench,
  .queue-command,
  .project-board,
  .plan-grid,
  .settings-layout,
  .settings-shell,
  .billing-layout,
  .billing-hero,
  .asset-kpi-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .studio-main { padding: 14px 12px 34px; }
  .studio-sidebar { grid-template-columns: 1fr; }
  .studio-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
  }
  .studio-nav a {
    min-width: 0;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0 5px;
    font-size: 11px;
  }
  .studio-nav a span { display: none; }
  .studio-topbar,
  .panel-head,
  .composer-head,
  .page-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .topbar-actions,
  .slot-grid,
  .studio-metrics,
  .metric-grid,
  .settings-grid,
  .billing-grid,
  .provider-board,
  .output-spec,
  .calc-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-copy,
  .project-summary {
    min-height: auto;
    padding: 18px;
  }
  .hero-copy h2,
  .project-summary h2 {
    font-size: clamp(29px, 10vw, 42px);
  }
  .account-chip,
  .icon-btn {
    width: 100%;
    border-radius: 14px;
  }
  .project-list article,
  .job-line,
  .asset-row,
  .job-row,
  .check-item,
  .pipeline-stack div {
    grid-template-columns: 42px minmax(0, 1fr);
  }
  .project-list b,
  .job-line b,
  .asset-row b,
  .job-row em,
  .check-item span,
  .pipeline-stack span {
    grid-column: 2;
    text-align: left;
  }
  .data-table div,
  .enterprise-strip,
  .setting-section {
    grid-template-columns: 1fr;
  }
}

/* Studio product skin v2: calmer SaaS workspace, less promo-card noise. */
.studio-shell-page {
  grid-template-columns: 238px minmax(0, 1fr);
  background:
    radial-gradient(circle at 72% -10%, rgba(92,246,200,0.07), transparent 34%),
    linear-gradient(180deg, #090a0f 0%, #08090d 100%);
}

.studio-shell-page::before {
  opacity: 0.1;
}

.studio-sidebar {
  gap: 18px;
  padding: 20px 14px;
  background: rgba(8,9,14,0.98);
  border-right-color: rgba(255,255,255,0.075);
}

.logo-mark,
.avatar-mark,
.glyph {
  background:
    radial-gradient(circle at 28% 20%, rgba(255,255,255,0.55), transparent 20%),
    linear-gradient(135deg, #6d5dfc, #44d7b6);
  box-shadow: 0 10px 24px rgba(68,215,182,0.12);
}

.studio-brand strong,
.account-chip strong {
  font-size: 14px;
}

.studio-brand small,
.account-chip small,
.kicker,
.micro-label {
  color: rgba(188,181,213,0.68);
  letter-spacing: 0.14em;
}

.studio-nav {
  gap: 3px;
}

.studio-nav a {
  min-height: 40px;
  border-radius: 10px;
  color: rgba(232,226,246,0.72);
  font-size: 12px;
}

.studio-nav a:hover,
.studio-nav a.is-active {
  color: #fff;
  border-color: rgba(255,255,255,0.11);
  background: rgba(255,255,255,0.07);
}

.credit-pill {
  border-color: rgba(92,246,200,0.16);
  border-radius: 14px;
  background: rgba(92,246,200,0.055);
}

.credit-pill strong {
  font-size: 28px;
  letter-spacing: -0.045em;
}

.studio-main {
  width: min(1240px, 100%);
  gap: 14px;
  padding-top: 22px;
}

.studio-topbar {
  min-height: 48px;
}

.studio-topbar h1 {
  font-size: clamp(27px, 2.2vw, 38px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-transform: none;
}

.topbar-actions {
  gap: 8px;
}

.icon-btn,
.mini-link,
.status-chip,
.status-pill,
.account-chip {
  min-height: 34px;
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.045);
  box-shadow: none;
}

.btn {
  min-height: 40px;
  box-shadow: none;
}

.btn.primary {
  border-color: rgba(139,92,246,0.55);
  background: #7c4df1;
  box-shadow: none;
}

.app-card,
.composer-shell,
.studio-panel,
.metric-card,
.project-tile,
.asset-row,
.job-line,
.plan-card,
.settings-card {
  border-color: rgba(255,255,255,0.085);
  background: rgba(18,20,28,0.78);
  box-shadow: none;
}

.studio-shell-page .studio-panel,
.settings-card {
  padding: 18px;
  border-radius: 16px;
}

.composer-shell,
.render-panel,
.metric-card,
.studio-metrics article,
.project-tile,
.plan-card,
.settings-card,
.asset-row,
.job-row,
.credit-option {
  border-radius: 14px;
}

.composer-head h2,
.studio-panel h2,
.settings-card h2,
.project-tile h2,
.render-calculator h2 {
  margin-top: 3px;
  font-size: clamp(20px, 1.6vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy,
.project-summary {
  min-height: 150px;
  padding: 22px;
  border-radius: 16px;
  border-color: rgba(255,255,255,0.085);
  background: rgba(18,20,28,0.78);
}

.hero-copy h2,
.project-summary h2 {
  max-width: 820px;
  font-size: clamp(30px, 3.15vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-copy p,
.project-summary p {
  max-width: 690px;
  font-size: 13px;
}

.launch-checklist,
.render-calculator,
.credit-meter,
.enterprise-strip {
  border-radius: 16px;
  border-color: rgba(92,246,200,0.13);
  background: rgba(14,32,29,0.48);
}

.check-item,
.task-step,
.pipeline-stack div,
.table-card,
.provider-card,
.job-row,
.data-table div,
.spec-card,
.calc-grid div,
.credit-option,
.settings-row,
.project-list article {
  border-color: rgba(255,255,255,0.075);
  background: rgba(255,255,255,0.032);
}

.check-item i,
.drop-zone b,
.provider-card b {
  color: #07100d;
  background: #5cf6c8;
}

.task-step b,
.project-icon,
.type-icon,
.job-thumb {
  border-radius: 12px;
  background: rgba(124,77,241,0.18);
}

.input-slot {
  min-height: 132px;
  border-radius: 14px;
  background: rgba(255,255,255,0.032);
}

.input-slot.wide {
  min-height: 96px;
}

.prompt-box textarea,
.field-row input,
.select-row select {
  border-radius: 12px;
  background: rgba(5,6,10,0.72);
}

.studio-metrics,
.metric-grid,
.settings-grid,
.billing-grid {
  gap: 9px;
}

.metric-card,
.studio-metrics article {
  min-height: 84px;
  padding: 13px;
}

.metric-card strong,
.studio-metrics strong {
  font-size: 26px;
}

.project-board,
.plan-grid {
  gap: 10px;
}

.project-tile,
.plan-card {
  min-height: 176px;
  padding: 15px;
}

.project-tile h2,
.plan-card h3 {
  font-size: 23px;
  line-height: 1.03;
}

.plan-price {
  font-size: 34px;
}

.studio-shell-page .plans-panel {
  padding: 24px;
}

.studio-shell-page .plans-panel .panel-head {
  padding-bottom: 13px;
}

.studio-shell-page .plans-panel .plan-card {
  min-height: 236px;
}

.asset-map {
  min-height: 210px;
}

.drop-zone {
  min-height: 244px;
  border-radius: 16px;
  background: rgba(18,20,28,0.78);
}

.settings-shell {
  grid-template-columns: 210px minmax(0, 1fr);
}

.settings-nav-card {
  border-radius: 16px;
}

.setting-section {
  grid-template-columns: 190px minmax(0, 1fr);
}

.studio-shell-page::before {
  opacity: 0.22;
}

.studio-shell-page :where(section) {
  padding: 0;
  border: 0;
}

.studio-sidebar {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  padding: 18px 12px;
  border-right: 1px solid rgba(255,255,255,0.1);
  background: rgba(6,7,11,0.94);
}

.studio-brand,
.account-chip {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
}

.logo-mark,
.avatar-mark,
.glyph {
  display: grid;
  place-items: center;
  flex: none;
  color: #fff;
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,0.42), transparent 22%),
    linear-gradient(135deg, #8b5cf6, #5cf6c8);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 14px 30px rgba(139,92,246,0.24);
}

.logo-mark,
.avatar-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 900;
}

.avatar-mark {
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,0.28), transparent 22%),
    linear-gradient(135deg, #1f2937, #8b5cf6);
  font-size: 12px;
}

.studio-brand span,
.account-chip span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.studio-brand strong,
.account-chip strong {
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  line-height: 1.1;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-brand small,
.account-chip small,
.kicker,
.micro-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.studio-nav {
  display: grid;
  align-content: start;
  gap: 5px;
}

.studio-nav a {
  min-height: 42px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.studio-nav a span {
  color: rgba(255,255,255,0.32);
  font-family: var(--mono);
  font-size: 10px;
}

.studio-nav a:hover,
.studio-nav a.is-active {
  color: #fff;
  border-color: rgba(167,139,250,0.28);
  background: rgba(139,92,246,0.14);
}

.credit-pill {
  display: grid;
  gap: 7px;
  padding: 13px;
  border: 1px solid rgba(92,246,200,0.18);
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(92,246,200,0.1), rgba(255,255,255,0.035));
}

.credit-pill span,
.metric-card span,
.cost-card span,
.ledger span,
.field-row label,
.setting-block > span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.credit-pill strong {
  color: #fff;
  font-size: 32px;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.credit-pill a {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.studio-main {
  min-width: 0;
  width: min(1380px, 100%);
  margin: 0 auto;
  padding: 20px clamp(14px, 2.7vw, 34px) 44px;
  display: grid;
  gap: 18px;
}

.studio-topbar,
.panel-head,
.page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.studio-topbar h1 {
  margin: 3px 0 0;
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.icon-btn,
.mini-link,
.status-chip,
.status-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,0.055);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.account-chip {
  max-width: min(320px, 100%);
  padding: 7px 12px 7px 7px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.055);
}

.app-card,
.composer-shell,
.studio-panel,
.metric-card,
.project-tile,
.asset-row,
.job-line,
.plan-card,
.settings-card {
  border: 1px solid rgba(255,255,255,0.11);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.065), rgba(255,255,255,0.024)),
    rgba(12,14,22,0.86);
  box-shadow: 0 18px 54px rgba(0,0,0,0.2);
}

.composer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  padding: 14px;
  border-radius: 20px;
}

.composer-main,
.render-panel,
.settings-card,
.studio-panel {
  display: grid;
  gap: 14px;
}

.composer-head,
.split-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.composer-head h2,
.studio-panel h2,
.settings-card h2,
.project-tile h2,
.render-calculator h2 {
  margin: 4px 0 0;
  color: #fff;
  font-family: var(--sans);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.composer-head h2 {
  font-size: clamp(30px, 3vw, 48px);
}

.studio-panel h2,
.settings-card h2,
.render-calculator h2 {
  font-size: clamp(23px, 2.2vw, 34px);
}

.slot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.input-slot {
  min-height: 160px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 15px;
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 16px;
  color: #fff;
  text-align: left;
  background:
    radial-gradient(circle at 92% 10%, rgba(92,246,200,0.12), transparent 34%),
    rgba(255,255,255,0.035);
  cursor: pointer;
}

.input-slot.wide {
  grid-column: 1 / -1;
  min-height: 110px;
}

.glyph {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 18px;
}

.input-slot strong,
.project-tile strong,
.asset-row strong,
.job-line strong,
.plan-card strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.15;
}

.input-slot small,
.project-tile p,
.support-copy,
.asset-row small,
.job-line small,
.plan-card p,
.settings-card p {
  color: var(--soft);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 800;
}

.prompt-box {
  display: grid;
  gap: 8px;
}

.prompt-box textarea,
.field-row input,
.select-row select {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 14px;
  color: #fff;
  background: rgba(7,8,13,0.72);
  font: 800 14px/1.45 var(--sans);
  outline: none;
}

.prompt-box textarea {
  min-height: 108px;
  padding: 13px;
  resize: vertical;
}

.render-panel {
  align-content: start;
  padding: 13px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 17px;
  background: rgba(7,8,13,0.52);
}

.setting-group {
  display: grid;
  gap: 8px;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 13px;
  background: rgba(255,255,255,0.045);
}

.segmented-control button {
  min-height: 36px;
  border: 0;
  border-radius: 9px;
  color: var(--soft);
  background: transparent;
  font: 900 12px var(--sans);
}

.segmented-control button.is-active {
  color: #fff;
  background: rgba(139,92,246,0.34);
}

.cost-card {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(92,246,200,0.2);
  border-radius: 15px;
  background: rgba(92,246,200,0.06);
}

.cost-card strong {
  color: #fff;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.055em;
}

.studio-metrics,
.metric-grid,
.settings-grid,
.billing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.metric-card,
.studio-metrics article {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 14px;
  border-radius: 15px;
}

.metric-card strong,
.studio-metrics strong {
  color: #fff;
  font-size: 30px;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.metric-card small,
.studio-metrics small {
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
}

.studio-shell-page .studio-panel,
.settings-card {
  padding: clamp(18px, 1.8vw, 24px);
  border-radius: 20px;
}

.panel-head {
  min-width: 0;
}

.panel-head h2 {
  margin-top: 7px;
}

.project-list,
.table-list,
.queue-page-list,
.settings-list,
.ledger,
.asset-list {
  display: grid;
  gap: 9px;
}

.project-list article,
.job-line,
.asset-row,
.ledger div,
.settings-row {
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 11px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 13px;
  background: rgba(255,255,255,0.035);
}

.project-list article,
.job-line,
.asset-row {
  grid-template-columns: 44px minmax(0, 1fr) auto;
}

.project-icon,
.type-icon,
.job-thumb {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #fff;
  background: rgba(139,92,246,0.22);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.type-icon.motion {
  background: rgba(92,246,200,0.16);
}

.type-icon.output {
  background: rgba(244,114,182,0.16);
}

.thumb-gradient-a {
  background: linear-gradient(135deg, #8b5cf6, #5cf6c8);
}

.thumb-gradient-b {
  background: linear-gradient(135deg, #f472b6, #8b5cf6);
}

.thumb-gradient-c {
  background: linear-gradient(135deg, #1b2a38, #5cf6c8);
}

.project-list b,
.job-line b,
.asset-row b,
.ledger em {
  color: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.page-toolbar {
  padding: 0;
  border: 0;
}

.search-box {
  flex: 1;
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 15px;
  color: var(--muted);
  background: rgba(255,255,255,0.045);
  font-size: 13px;
  font-weight: 900;
}

.filter-tabs,
.billing-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-tabs button,
.billing-switch button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255,255,255,0.045);
  font: 900 12px var(--sans);
}

.filter-tabs button.is-active,
.billing-switch button.is-active {
  color: #fff;
  background: rgba(139,92,246,0.28);
}

.project-board,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.project-tile,
.plan-card {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  border-radius: 17px;
}

.project-tile.featured-project,
.plan-card.featured {
  border-color: rgba(92,246,200,0.2);
  background:
    radial-gradient(circle at 100% 0%, rgba(92,246,200,0.12), transparent 36%),
    rgba(255,255,255,0.045);
}

.project-tile h2,
.plan-card h3 {
  margin: 0;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.055em;
}

.plan-price {
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.plan-price span {
  color: var(--soft);
  font-size: 14px;
  letter-spacing: 0;
}

.plan-card p em {
  display: block;
  margin-bottom: 4px;
  color: rgba(255,255,255,0.55);
  font-style: normal;
}

.plan-card .btn {
  width: 100%;
  margin-top: auto;
}

.ledger div {
  grid-template-columns: 82px minmax(0, 1fr) auto;
}

.asset-kpi-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 12px;
}

.asset-map {
  min-height: 260px;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.asset-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 38px 38px;
}

.node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 24px;
  color: #fff;
  background: rgba(139,92,246,0.18);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.node.one { left: 12%; top: 20%; }
.node.two { left: 48%; top: 42%; background: rgba(92,246,200,0.14); }
.node.three { right: 10%; top: 18%; background: rgba(244,114,182,0.14); }
.node.four { right: 22%; bottom: 12%; }

.progress-line {
  height: 8px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
}

.progress-line i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--violet-2));
}

.field-row,
.select-row,
.toggle-row,
.settings-row {
  display: grid;
  gap: 7px;
}

.select-row > span,
.toggle-row > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.field-row input,
.select-row select {
  min-height: 42px;
  padding: 0 12px;
}

.toggle-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.toggle-row input {
  appearance: none;
  position: relative;
  width: 50px;
  height: 28px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
}

.toggle-row input::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.72);
}

.toggle-row input:checked {
  border-color: rgba(92,246,200,0.36);
  background: rgba(92,246,200,0.18);
}

.toggle-row input:checked::after {
  transform: translateX(22px);
  background: var(--green);
}

.settings-layout,
.billing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.7fr);
  gap: 14px;
}

.billing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 12px;
}

.credit-meter {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 150px;
  padding: 14px;
  border: 1px solid rgba(92,246,200,0.2);
  border-radius: 16px;
  background: rgba(92,246,200,0.06);
}

.credit-meter strong {
  color: #fff;
  font-size: 44px;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.meter-track {
  height: 10px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(0,0,0,0.25);
}

.meter-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--violet-2));
}

.workspace-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 14px;
  align-items: stretch;
}

.hero-copy {
  min-height: 188px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 24px;
  background:
    radial-gradient(circle at 94% 12%, rgba(92,246,200,0.14), transparent 28%),
    radial-gradient(circle at 14% 0%, rgba(139,92,246,0.2), transparent 30%),
    rgba(12,14,22,0.82);
}

.hero-copy h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4vw, 64px);
  line-height: 0.93;
  letter-spacing: -0.065em;
}

.hero-copy p {
  max-width: 660px;
  margin: 0;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 900;
}

.launch-checklist {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(92,246,200,0.18);
  border-radius: 22px;
  background: rgba(92,246,200,0.06);
}

.check-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(0,0,0,0.18);
}

.check-item > div,
.asset-row > div,
.job-line > div,
.job-row > div,
.project-list article > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.check-item i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #05070c;
  background: var(--green);
  font-style: normal;
  font-weight: 900;
}

.check-item strong {
  color: #fff;
  font-size: 13px;
}

.check-item small,
.table-card small,
.provider-card small,
.job-row small,
.setting-section small,
.drop-zone small {
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
}

.check-item span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.task-rail {
  display: grid;
  gap: 10px;
}

.task-step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  background: rgba(255,255,255,0.035);
  text-align: left;
}

.task-step b {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  color: #fff;
  background: rgba(139,92,246,0.22);
  font-family: var(--mono);
  font-size: 13px;
}

.task-step strong,
.table-card strong,
.provider-card strong,
.setting-section strong,
.drop-zone strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
}

.task-step p,
.task-step small,
.project-summary p,
.render-calculator p,
.enterprise-strip p {
  margin: 0;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 800;
}

.task-step small {
  display: block;
  margin-top: 5px;
}

.studio-workbench {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: 14px;
}

.prompt-panel {
  display: grid;
  gap: 12px;
}

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

.spec-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  background: rgba(255,255,255,0.035);
}

.spec-card span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.spec-card strong {
  color: #fff;
  font-size: 14px;
}

.projects-command {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 14px;
}

.project-summary {
  display: grid;
  align-content: space-between;
  gap: 16px;
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 18%, rgba(139,92,246,0.22), transparent 34%),
    rgba(12,14,22,0.88);
}

.project-summary h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.5vw, 58px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.pipeline-stack {
  display: grid;
  gap: 8px;
}

.pipeline-stack div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.045);
}

.pipeline-stack b {
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
}

.pipeline-stack strong {
  color: #fff;
  font-size: 13px;
}

.pipeline-stack span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.table-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  background: rgba(255,255,255,0.035);
}

.data-table {
  display: grid;
  gap: 7px;
}

.data-table div {
  display: grid;
  grid-template-columns: minmax(160px, 1.2fr) repeat(3, minmax(80px, 0.7fr));
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.075);
}

.data-table span,
.data-table b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.data-table span {
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
}

.data-table b {
  color: #fff;
  font-size: 12px;
}

.asset-workbench {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 14px;
}

.drop-zone {
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px dashed rgba(92,246,200,0.28);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 25%, rgba(92,246,200,0.12), transparent 32%),
    rgba(255,255,255,0.035);
  text-align: center;
}

.drop-zone div {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.drop-zone b {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  color: #07100d;
  background: var(--green);
  font-size: 28px;
}

.asset-inspector {
  display: grid;
  gap: 10px;
}

.asset-inspector .asset-map {
  min-height: 190px;
}

.asset-row.is-selected {
  border-color: rgba(92,246,200,0.24);
  background: rgba(92,246,200,0.055);
}

.queue-command {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.75fr);
  gap: 14px;
}

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

.provider-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  background: rgba(255,255,255,0.035);
}

.provider-card b {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: #06110e;
  background: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.provider-card.warn b {
  color: #fff;
  background: rgba(244,114,182,0.32);
}

.job-console {
  display: grid;
  gap: 10px;
}

.job-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 96px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 15px;
  background: rgba(255,255,255,0.035);
}

.job-row b {
  color: #fff;
  font-size: 13px;
}

.job-row em {
  color: var(--green);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  text-align: right;
}

.studio-shell-page .render-calculator {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(92,246,200,0.2);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(92,246,200,0.13), transparent 34%),
    rgba(92,246,200,0.05);
}

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

.calc-grid div {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.18);
}

.calc-grid span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.calc-grid strong {
  color: #fff;
  font-size: 20px;
}

.studio-shell-page .plans-panel {
  padding: clamp(34px, 3vw, 42px) clamp(22px, 2.2vw, 30px) clamp(22px, 2.2vw, 30px);
}

.studio-shell-page .plans-panel .panel-head {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.studio-shell-page .plans-panel .plan-grid {
  margin-top: 2px;
}

.studio-shell-page .plans-panel .plan-card {
  min-height: 278px;
  padding: 18px;
}

.plan-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.plan-save {
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.enterprise-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(92,246,200,0.18);
  border-radius: 20px;
  background:
    radial-gradient(circle at 94% 16%, rgba(92,246,200,0.12), transparent 32%),
    rgba(255,255,255,0.04);
}

.enterprise-strip h2 {
  margin: 6px 0 8px;
  color: #fff;
  font-size: clamp(26px, 2.6vw, 42px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.settings-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 14px;
}

.settings-nav-card {
  position: sticky;
  top: 20px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 18px;
}

.settings-nav-card a {
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.settings-nav-card a.is-active,
.settings-nav-card a:hover {
  color: #fff;
  background: rgba(139,92,246,0.16);
}

.settings-matrix {
  display: grid;
  gap: 14px;
}

.setting-section {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.setting-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.setting-section > div:first-child {
  display: grid;
  align-content: start;
  gap: 6px;
}

.setting-controls {
  display: grid;
  gap: 10px;
}

@media (max-width: 1120px) {
  .studio-shell-page {
    grid-template-columns: 1fr;
  }

  .studio-sidebar {
    position: relative;
    height: auto;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    padding: 14px;
  }

  .studio-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
  }

  .studio-nav a {
    min-width: fit-content;
  }

  .credit-pill {
    grid-column: 1 / -1;
  }

  .composer-shell,
  .workspace-hero,
  .studio-workbench,
  .projects-command,
  .asset-workbench,
  .queue-command,
  .project-board,
  .plan-grid,
  .settings-layout,
  .settings-shell,
  .billing-layout,
  .billing-hero,
  .asset-kpi-grid {
    grid-template-columns: 1fr;
  }

  .provider-board,
  .output-spec,
  .calc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .settings-nav-card {
    position: static;
    display: flex;
    overflow-x: auto;
  }
}

@media (max-width: 760px) {
  .studio-main {
    padding: 14px 12px 34px;
  }

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

  .studio-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
  }

  .studio-nav a {
    min-width: 0;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0 5px;
    font-size: 11px;
  }

  .studio-nav a span {
    display: none;
  }

  .studio-topbar,
  .panel-head,
  .composer-head,
  .page-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-actions,
  .slot-grid,
  .studio-metrics,
  .metric-grid,
  .settings-grid,
  .billing-grid,
  .provider-board,
  .output-spec,
  .calc-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .project-summary {
    min-height: auto;
    padding: 18px;
  }

  .hero-copy h2,
  .project-summary h2 {
    font-size: clamp(32px, 12vw, 48px);
  }

  .account-chip,
  .icon-btn {
    width: 100%;
    border-radius: 15px;
  }

  .input-slot.wide {
    grid-column: auto;
  }

  .project-list article,
  .job-line,
  .asset-row,
  .job-row,
  .check-item,
  .pipeline-stack div {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .project-list b,
  .job-line b,
  .asset-row b,
  .job-row em,
  .check-item span,
  .pipeline-stack span {
    grid-column: 2;
    text-align: left;
  }

  .data-table div {
    grid-template-columns: 1fr;
  }

  .enterprise-strip,
  .setting-section {
    grid-template-columns: 1fr;
  }
}
