/* Commercial command-center layer. Existing product behavior stays in the feature modules. */
body.studio-redesign {
  --cc-bg: #141414;
  --cc-bg-soft: #171717;
  --cc-panel: #1d1d1d;
  --cc-panel-raised: #242424;
  --cc-panel-hover: #2b2b2b;
  --cc-line: var(--ff-line-strong);
  --cc-line-strong: var(--ff-line-strong);
  --cc-text: #f2f2f2;
  --cc-muted: var(--ff-muted);
  --cc-faint: var(--ff-muted);
  --cc-red: #c34231;
  --cc-red-strong: #db523d;
  --cc-gold: #c7a25f;
  --cc-teal: #43b4a1;
  --cc-amber: #d99a38;
  --cc-danger: #e05d55;
  --cc-sidebar: #161616;
  --cc-sidebar-2: #191919;
  --mythic-bg: var(--cc-bg);
  --mythic-bg-soft: var(--cc-bg-soft);
  --mythic-panel: var(--cc-panel);
  --mythic-panel-2: var(--cc-panel-raised);
  --mythic-panel-3: var(--cc-panel-hover);
  --mythic-line: var(--cc-line);
  --mythic-line-strong: var(--cc-line-strong);
  --mythic-ink: var(--cc-text);
  --mythic-muted: var(--cc-muted);
  --mythic-faint: var(--cc-faint);
  --mythic-gold: var(--cc-gold);
  --mythic-gold-bright: #ddbd7b;
  --mythic-red: var(--cc-red);
  --mythic-red-bright: var(--cc-red-strong);
  --mythic-jade: var(--cc-teal);
  --mythic-shadow: 0 18px 48px color-mix(in srgb, var(--ff-shadow-ink) 24%, transparent);
  --ws-bg: var(--cc-bg);
  --ws-panel: var(--cc-panel);
  --ws-panel-2: var(--cc-panel-raised);
  --ws-panel-3: var(--cc-panel-hover);
  --ws-line: var(--cc-line);
  --ws-line-strong: var(--cc-line-strong);
  --ws-ink: var(--cc-text);
  --ws-muted: var(--cc-muted);
  --ws-faint: var(--cc-faint);
  --ws-accent: var(--cc-red);
  --ws-accent-strong: var(--cc-red-strong);
  --ws-accent-ink: #fff9ef;
  --ws-success: var(--cc-teal);
  --ws-warning: var(--cc-amber);
  --ws-danger: var(--cc-danger);
  --sq-bg: var(--cc-bg);
  --sq-panel: var(--cc-panel);
  --sq-panel-soft: var(--cc-panel-raised);
  --sq-ink: var(--cc-text);
  --sq-muted: var(--cc-muted);
  --sq-line: var(--cc-line);
  --sq-accent: var(--cc-red);
  --sq-accent-ink: #fff9ef;
  color-scheme: dark;
  background: var(--cc-bg);
}

:root[data-theme="light"] body.studio-redesign {
  --cc-bg: var(--ff-subtle);
  --cc-bg-soft: var(--ff-subtle);
  --cc-panel: var(--ff-surface);
  --cc-panel-raised: var(--ff-surface);
  --cc-panel-hover: var(--ff-subtle);
  --cc-line: var(--ff-line);
  --cc-line-strong: var(--ff-line);
  --cc-text: var(--ff-ink);
  --cc-muted: var(--ff-muted);
  --cc-faint: var(--ff-muted);
  --cc-red: #b9382a;
  --cc-red-strong: #cc4534;
  --cc-gold: #87692f;
  --cc-teal: #247e72;
  --cc-amber: #9a670f;
  --cc-danger: #bc403b;
  --mythic-gold-bright: #9c7837;
  --ws-accent-ink: #ffffff;
  --sq-accent-ink: #ffffff;
  color-scheme: light;
}

body.studio-redesign,
body.studio-redesign button,
body.studio-redesign input,
body.studio-redesign textarea,
body.studio-redesign select {
  font-family: var(--ff-font, system-ui, sans-serif);
  font-size: 14px;
  letter-spacing: 0;
}

body.studio-redesign :is(h1, h2, h3, h4, p) {
  letter-spacing: 0;
}

body.studio-redesign :is(.copy-factory-head h1, .copy-factory-head h2, .radar-header h2, .editing-header h2, .section-head h2) {
  font-family: var(--ff-font, system-ui, sans-serif);
  font-weight: 720;
}

body.studio-redesign :is(button, a, input, textarea, select, [contenteditable="true"]):focus-visible {
  outline: 2px solid var(--cc-gold);
  outline-offset: 2px;
}

body.studio-redesign button {
  touch-action: manipulation;
}

/* Authentication */
body.studio-redesign .login {
  background: #080b0c;
}

body.studio-redesign .login-bg {
  inset: 0;
  background-color: var(--ff-subtle);
  background-image: none;
  filter: none;
}

body.studio-redesign .login-bg::before {
  inset: 0;
  background: rgba(4, 6, 6, .42);
  transform: none;
}

body.studio-redesign .login-card {
  width: min(430px, calc(100vw - 40px));
  padding: 34px;
  border: 1px solid var(--ff-line-strong);
  border-radius: 6px;
  color: #f2f0e9;
  background: rgba(10, 14, 15, .94);
  box-shadow: 0 24px 80px color-mix(in srgb, var(--ff-shadow-ink) 42%, transparent);
}

body.studio-redesign .login-card :is(input, button) {
  border-radius: 4px;
}

/* Two-rail application shell */
:root[data-theme="dark"] body.studio-redesign .sidebar {
  background: var(--cc-sidebar);
  border-color: var(--cc-line);
}

body.studio-redesign .app {
  min-height: 100vh;
  padding-left: 354px;
  color: var(--cc-text);
  background: var(--cc-bg);
  transition: padding-left .22s ease;
}

body.studio-redesign .app.sidebar-collapsed {
  padding-left: 72px;
}

body.studio-redesign .sidebar,
:root[data-theme="light"] body.studio-redesign .sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 70;
  width: 108px;
  padding: 16px 9px 10px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--ff-line-strong);
  color: var(--ff-muted);
  background: var(--cc-sidebar);
  box-shadow: none;
}

body.studio-redesign .sidebar.collapsed,
body.studio-redesign .sidebar.collapsed:hover {
  width: 72px;
  padding-inline: 7px;
}

body.studio-redesign .sidebar:not(.collapsed):hover,
body.studio-redesign .sidebar.menu-locked {
  width: 108px;
  box-shadow: none;
}

body.studio-redesign .brand {
  position: relative;
  height: 58px;
  margin: 0 0 12px;
  display: flex;
  justify-content: center;
}

body.studio-redesign .brand .logo-line {
  width: 100%;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 7px;
}

body.studio-redesign .logo.mythic-logo {
  width: 31px;
  height: 31px;
  clip-path: none;
  border: 1px solid #695631;
  border-radius: 3px;
  color: #e2c783;
  background: #111719;
  font-family: var(--ff-font, system-ui, sans-serif);
  font-size: 10px;
}

body.studio-redesign .logo.mythic-logo::after {
  display: none;
}

body.studio-redesign .brand-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

body.studio-redesign .brand-copy strong {
  color: #dfc27b;
  font-family: var(--ff-font, system-ui, sans-serif);
  font-size: 18px;
  line-height: 1.05;
}

body.studio-redesign .brand-copy small {
  overflow: hidden;
  color: var(--ff-muted);
  font-size: 7px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.studio-redesign .sidebar-toggle {
  position: fixed;
  top: 17px;
  left: 322px;
  z-index: 75;
  width: 28px;
  height: 28px;
  border: 1px solid var(--ff-line-strong);
  border-radius: 4px;
  color: var(--ff-muted);
  background: #111719;
  transition: left .22s ease, color .2s ease, border-color .2s ease;
}

body.studio-redesign .app.sidebar-collapsed .sidebar-toggle {
  left: 38px;
}

body.studio-redesign .sidebar-toggle:hover {
  border-color: var(--ff-line-strong);
  color: #dec07a;
}

body.studio-redesign .nav {
  min-height: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  overflow-y: auto;
  scrollbar-width: none;
}

body.studio-redesign .nav::-webkit-scrollbar {
  display: none;
}

body.studio-redesign .nav-group-label {
  margin: 8px 8px 2px;
  color: var(--ff-muted);
  font-size: 10px;
  font-weight: 700;
}

body.studio-redesign .nav button {
  position: relative;
  min-height: 50px;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--ff-muted);
  background: transparent;
  font-size: 11px;
  line-height: 1.2;
}

body.studio-redesign .nav button svg {
  width: 19px;
  height: 19px;
}

body.studio-redesign .nav button:hover {
  color: var(--ff-muted);
  background: #151b1d;
}

body.studio-redesign .nav button.active {
  border-color: var(--ff-line-strong);
  color: var(--ff-muted);
  background: #1b2021;
  box-shadow: inset 2px 0 0 var(--cc-red);
}

body.studio-redesign .nav button.active::before {
  display: none;
}

body.studio-redesign .nav button.active svg {
  color: #d8b76c;
}

body.studio-redesign .sidebar-settings {
  position: static;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--ff-line-strong);
  background: transparent;
}

body.studio-redesign .sidebar-settings .settings-main {
  width: 100%;
  min-height: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--ff-muted);
  font-size: 11px;
}

body.studio-redesign .sidebar-settings .settings-main:hover {
  color: var(--ff-muted);
  background: #151b1d;
}

body.studio-redesign .settings-panel,
:root[data-theme="light"] body.studio-redesign .settings-panel {
  left: 86px;
  bottom: 12px;
  width: 224px;
  border: 1px solid var(--ff-line-strong);
  border-radius: 5px;
  color: var(--ff-muted);
  background: #141a1c;
  box-shadow: 0 22px 64px color-mix(in srgb, var(--ff-shadow-ink) 42%, transparent);
}

body.studio-redesign .project-sidebar {
  position: fixed;
  inset: 0 auto 0 108px;
  z-index: 60;
  width: 246px;
  padding: 16px 12px 12px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--ff-line-strong);
  color: var(--ff-muted);
  background: var(--cc-sidebar-2);
  transition: transform .22s ease, opacity .22s ease;
}

body.studio-redesign .app.sidebar-collapsed .project-sidebar {
  pointer-events: none;
  opacity: 0;
  transform: translateX(-18px);
}

body.studio-redesign .project-sidebar-head {
  height: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

body.studio-redesign .project-sidebar-head > div {
  display: grid;
  gap: 2px;
}

body.studio-redesign .project-sidebar-head strong {
  color: var(--ff-muted);
  font-size: 14px;
}

body.studio-redesign .project-sidebar-head span {
  color: var(--ff-muted);
  font-size: 10px;
}

body.studio-redesign .project-view-toggle {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ff-line-strong);
  border-radius: 4px;
  color: var(--ff-muted);
  background: #12181a;
}

body.studio-redesign .project-view-toggle svg {
  width: 15px;
  height: 15px;
}

body.studio-redesign .project-sidebar .sidebar-new {
  width: 100%;
  min-height: 42px;
  margin: 10px 0 18px;
  border: 1px solid #a53629;
  border-radius: 4px;
  color: #fff9f2;
  background: var(--cc-red);
  box-shadow: none;
}

body.studio-redesign .project-sidebar .sidebar-new:hover {
  color: #ffffff;
  background: var(--cc-red-strong);
}

body.studio-redesign .project-sidebar .history-head {
  min-height: 28px;
  margin: 0;
  padding: 0 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ff-muted);
}

body.studio-redesign .project-sidebar .history-head > span {
  font-size: 11px;
  font-weight: 700;
}

body.studio-redesign .project-sidebar .history-head button,
body.studio-redesign .workspace-section-head button {
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--cc-muted);
  background: transparent;
  font-size: 11px;
}

body.studio-redesign .project-sidebar .history-head button:hover,
body.studio-redesign .workspace-section-head button:hover {
  color: var(--cc-gold);
}

body.studio-redesign .project-sidebar .history-head svg,
body.studio-redesign .workspace-section-head button svg {
  width: 13px;
  height: 13px;
}

body.studio-redesign .project-sidebar .history {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
}

body.studio-redesign .project-sidebar .history-dream,
body.studio-redesign .project-sidebar .history-new {
  display: none;
}

body.studio-redesign .project-sidebar .history-card {
  min-height: 64px;
  margin: 4px 0;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--ff-muted);
}

body.studio-redesign .project-sidebar .history-card:hover,
body.studio-redesign .project-sidebar .history-card.active {
  border-color: #655438;
  background: #181f21;
}

body.studio-redesign .project-sidebar .history-main {
  padding: 7px;
}

body.studio-redesign .project-sidebar .history-thumb {
  width: 46px;
  height: 46px;
  border-radius: 3px;
}

body.studio-redesign .project-sidebar .history-copy b {
  color: var(--ff-muted);
  font-size: 12px;
}

body.studio-redesign .project-sidebar .history-copy small {
  color: var(--ff-muted);
  font-size: 10px;
}

body.studio-redesign .preview-project-history {
  display: none;
  min-height: 0;
  flex: 1;
  overflow-y: auto;
}

body.studio-redesign.commercial-preview-history #historyList {
  display: none;
}

body.studio-redesign.commercial-preview-history .preview-project-history {
  display: grid;
  align-content: start;
  gap: 5px;
}

body.studio-redesign .preview-project-history > button {
  min-height: 67px;
  padding: 7px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--ff-muted);
  text-align: left;
  background: transparent;
}

body.studio-redesign .preview-project-history > button:first-child,
body.studio-redesign .preview-project-history > button:hover {
  border-color: #665538;
  background: #182022;
}

body.studio-redesign .preview-project-history img {
  width: 48px;
  height: 48px;
  border-radius: 3px;
  object-fit: cover;
}

body.studio-redesign .preview-project-history span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

body.studio-redesign .preview-project-history b,
body.studio-redesign .preview-project-history small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.studio-redesign .preview-project-history b {
  color: var(--ff-muted);
  font-size: 12px;
}

body.studio-redesign .preview-project-history small {
  color: var(--ff-muted);
  font-size: 10px;
}

body.studio-redesign .preview-project-history small i {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--cc-teal);
}

body.studio-redesign .project-sidebar-all {
  min-height: 38px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--ff-line-strong);
  border-radius: 4px;
  color: var(--ff-muted);
  background: #121719;
  font-size: 11px;
}

body.studio-redesign .project-sidebar-all:hover {
  border-color: var(--ff-line-strong);
  color: #e2c37d;
}

body.studio-redesign .project-sidebar-all svg {
  width: 14px;
  height: 14px;
}

/* Top command bar */
body.studio-redesign .main {
  min-width: 0;
  background: var(--cc-bg);
}

body.studio-redesign .topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid var(--cc-line);
  color: var(--cc-text);
  background: rgba(11, 15, 17, .96);
  backdrop-filter: blur(14px);
}

:root[data-theme="light"] body.studio-redesign .topbar {
  background: color-mix(in srgb, var(--ff-surface) 96%, transparent);
}

body.studio-redesign .topbar-context {
  gap: 9px;
}

body.studio-redesign .topbar-context .crumb {
  color: var(--cc-text);
  font-family: var(--ff-font, system-ui, sans-serif);
  font-size: 14px;
  font-weight: 720;
}

body.studio-redesign .topbar-context > span {
  padding-left: 9px;
  border-left: 1px solid var(--cc-line);
  color: var(--cc-muted);
  font-size: 12px;
}

body.studio-redesign .top-right {
  gap: 9px;
}

body.studio-redesign .system-state {
  margin-right: 5px;
  color: var(--cc-muted);
  font-size: 12px;
}

body.studio-redesign .system-state i {
  background: var(--cc-teal);
}

body.studio-redesign .topbar-tool {
  min-width: 36px;
  height: 36px;
  border: 1px solid var(--cc-line);
  border-radius: 4px;
  color: var(--cc-muted);
  background: var(--cc-panel);
}

body.studio-redesign .topbar-tool:hover {
  border-color: var(--cc-line-strong);
  color: var(--cc-text);
  background: var(--cc-panel-hover);
}

body.studio-redesign .topbar-tool.task-inbox {
  width: auto;
  min-width: 132px;
  padding: 0 34px 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

body.studio-redesign .topbar-tool.task-inbox > span {
  color: var(--cc-text);
  font-size: 12px;
  font-weight: 650;
}

body.studio-redesign .topbar-tool b {
  top: -6px;
  right: 7px;
  min-width: 18px;
  height: 18px;
  border-color: var(--cc-bg);
  color: #fff8ef;
  background: var(--cc-red);
}

body.studio-redesign .topbar-user {
  min-width: 90px;
  padding: 0 2px 0 8px;
  text-align: right;
}

body.studio-redesign .topbar-user strong {
  color: var(--cc-text);
  font-size: 12px;
}

body.studio-redesign .topbar-user span {
  color: var(--cc-gold);
  font-size: 10px;
}

body.studio-redesign .avatar {
  width: 36px;
  height: 36px;
  border: 1px solid #7a6339;
  border-radius: 50%;
  color: #e5c47e;
  background: #171d1f;
}

/* Command center home */
body.studio-redesign .page-create {
  min-height: calc(100vh - 64px);
  color: var(--cc-text);
  background: var(--cc-bg);
}

:root[data-theme="light"] body.studio-redesign .page-create {
  color: var(--cc-text);
  background: var(--cc-bg);
}

body.studio-redesign .page-create:not(.task-mode) {
  overflow: visible;
}

body.studio-redesign .page-create:not(.task-mode) .hero-bg {
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  display: block;
  height: 166px;
  min-height: 0;
  overflow: hidden;
  opacity: 1;
  background: #080b0c;
}

body.studio-redesign .page-create:not(.task-mode) .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  background: rgba(4, 7, 8, .36);
}

body.studio-redesign .page-create:not(.task-mode) .mythic-scene,
body.studio-redesign .page-create:not(.task-mode) .mythic-character,
body.studio-redesign .page-create:not(.task-mode) .mythic-fur-layer,
body.studio-redesign .page-create:not(.task-mode) .mythic-depth-glow {
  inset: -42% -1% -64%;
  background-position: 74% 34%;
  background-size: cover;
}

body.studio-redesign .page-create:not(.task-mode) .mythic-scene {
  filter: brightness(.82) contrast(1.08) saturate(.88);
}

body.studio-redesign .page-create:not(.task-mode) .mythic-character-wrap {
  inset: -42% -1% -64%;
}

body.studio-redesign .page-create:not(.task-mode) .mythic-cloud {
  height: 34px;
  filter: blur(14px);
}

body.studio-redesign .page-create:not(.task-mode) .mythic-ribbon {
  opacity: .58;
}

body.studio-redesign .page-create:not(.task-mode) .mythic-particles {
  opacity: .5;
}

body.studio-redesign .page-create:not(.task-mode) .studio-shell {
  position: relative;
  z-index: 4;
  width: calc(100% - 40px);
  max-width: none;
  margin: 0 auto;
  padding: 0 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  grid-template-areas:
    "banner banner"
    "prime tasks"
    "continue insight"
    "legacy legacy";
  align-items: start;
  column-gap: 14px;
  row-gap: 14px;
}

body.studio-redesign .page-create:not(.task-mode) .home-operations-head {
  grid-area: banner;
  height: 166px;
  margin: 0;
  padding: 26px 28px;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid rgba(215, 188, 126, .24);
}

body.studio-redesign .page-create:not(.task-mode) .home-operations-copy {
  max-width: 540px;
}

body.studio-redesign .page-create:not(.task-mode) .workspace-eyebrow {
  margin-bottom: 8px;
  color: #d4ad61;
  font-size: 10px;
}

body.studio-redesign .page-create:not(.task-mode) .home-operations-head h1 {
  margin: 0;
  color: #f1ede3;
  font-family: var(--ff-font, system-ui, sans-serif);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.08;
}

body.studio-redesign .page-create:not(.task-mode) .home-operations-head p {
  margin: 7px 0 0;
  color: var(--ff-muted);
  font-size: 13px;
}

body.studio-redesign .page-create:not(.task-mode) .home-prime {
  grid-area: prime;
  min-width: 0;
  margin-top: 4px;
  display: block;
}

body.studio-redesign .page-create:not(.task-mode) .command-deck {
  width: 100%;
  min-height: 350px;
  padding: 0;
  display: block;
  border: 1px solid var(--cc-line);
  border-radius: 5px;
  color: var(--cc-text);
  background: var(--cc-panel);
  box-shadow: none;
  overflow: hidden;
}

body.studio-redesign .page-create:not(.task-mode) .command-deck .hero-title {
  padding: 20px 22px 14px;
  display: block;
}

body.studio-redesign .page-create:not(.task-mode) .command-deck .hero-kicker {
  display: none;
}

body.studio-redesign .page-create:not(.task-mode) .command-deck .hero-title h2 {
  margin: 0;
  color: var(--cc-text);
  font-family: var(--ff-font, system-ui, sans-serif);
  font-size: 23px;
  font-weight: 720;
  line-height: 1.25;
}

:root[data-theme="light"] body.studio-redesign .page-create:not(.task-mode) .command-deck .hero-title h2 {
  color: var(--cc-text);
}

body.studio-redesign .page-create:not(.task-mode) .command-deck .hero-title p {
  margin: 6px 0 0;
  color: var(--cc-muted);
  font-size: 12px;
  line-height: 1.5;
}

:root[data-theme="light"] body.studio-redesign .page-create:not(.task-mode) .command-deck .hero-title p {
  color: var(--cc-muted);
}

body.studio-redesign .page-create:not(.task-mode) .command-deck #userName {
  color: var(--cc-gold);
}

body.studio-redesign .page-create:not(.task-mode) .home-flow-switch {
  min-height: 44px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--cc-line);
  border-bottom: 1px solid var(--cc-line);
  background: var(--cc-panel-raised);
}

body.studio-redesign .page-create:not(.task-mode) .home-flow-switch button {
  min-height: 44px;
  border-right: 1px solid var(--cc-line);
  border-radius: 0;
  color: var(--cc-muted);
  background: transparent;
  font-size: 12px;
}

body.studio-redesign .page-create:not(.task-mode) .home-flow-switch button:last-child {
  border-right: 0;
}

body.studio-redesign .page-create:not(.task-mode) .home-flow-switch button.active {
  color: #fff8f0;
  background: var(--cc-red);
  box-shadow: none;
}

body.studio-redesign .page-create:not(.task-mode) .home-flow-switch button svg {
  width: 16px;
  height: 16px;
}

body.studio-redesign .page-create:not(.task-mode) .command-deck .composer {
  min-height: 240px;
  padding: 0;
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 0;
  background: var(--cc-panel);
  box-shadow: none;
}

body.studio-redesign .page-create:not(.task-mode) .command-deck .composer:focus-within {
  border-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(199, 162, 95, .5);
}

body.studio-redesign .page-create:not(.task-mode) .command-deck .prompt-editor {
  min-height: 134px;
  padding: 18px 20px;
  color: var(--cc-text);
  font-size: 14px;
  line-height: 1.65;
}

body.studio-redesign .page-create:not(.task-mode) .command-deck .prompt-editor:empty::before {
  color: var(--cc-faint);
}

body.studio-redesign .page-create:not(.task-mode) .command-deck .reference-preview:not(.hidden) {
  margin: 0 20px 10px;
}

body.studio-redesign .page-create:not(.task-mode) .command-deck .composer-tools {
  min-height: 63px;
  margin: auto 0 0;
  padding: 0;
  display: block;
  border-top: 1px solid var(--cc-line);
  background: var(--cc-bg-soft);
}

body.studio-redesign .page-create:not(.task-mode) .composer-options,
body.studio-redesign .page-create:not(.task-mode) .composer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

body.studio-redesign .page-create:not(.task-mode) .composer-options {
  padding: 10px 14px 8px;
}

body.studio-redesign .page-create:not(.task-mode) .composer-actions {
  min-height: 58px;
  padding: 8px 10px 8px 14px;
  justify-content: space-between;
  border-top: 1px solid var(--cc-line);
}

body.studio-redesign .page-create:not(.task-mode) .command-deck .composer :is(.round, .chip) {
  min-height: 34px;
  border: 1px solid var(--cc-line);
  border-radius: 4px;
  color: var(--cc-muted);
  background: var(--cc-panel);
  box-shadow: none;
  font-size: 11px;
}

body.studio-redesign .page-create:not(.task-mode) .command-deck .composer :is(.round, .chip):hover {
  border-color: var(--cc-line-strong);
  color: var(--cc-text);
  background: var(--cc-panel-hover);
}

body.studio-redesign .page-create:not(.task-mode) .command-deck .composer .round {
  width: 34px;
  min-width: 34px;
  padding: 0;
}

body.studio-redesign .page-create:not(.task-mode) .command-deck .composer .chip {
  padding: 0 9px;
}

body.studio-redesign .page-create:not(.task-mode) .reference-mode-chip.active {
  border-color: var(--ff-line-strong);
  color: var(--cc-gold);
  background: #1b1c18;
}

:root[data-theme="light"] body.studio-redesign .page-create:not(.task-mode) .reference-mode-chip.active {
  background: #f3eee2;
}

body.studio-redesign .page-create:not(.task-mode) .credit-cost {
  margin-left: 0;
  color: var(--cc-gold);
  font-size: 12px;
}

body.studio-redesign .page-create:not(.task-mode) .arrow-send[data-stable-hit-target] {
  position: relative;
  inset: auto;
  width: 158px;
  min-width: 158px;
  height: 42px;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #a9382b;
  border-radius: 4px;
  color: #fffaf3;
  background: var(--cc-red);
  box-shadow: none;
  transform: none;
}

body.studio-redesign .page-create:not(.task-mode) .arrow-send[data-stable-hit-target]:hover {
  background: var(--cc-red-strong);
  transform: translateY(-1px);
}

body.studio-redesign .page-create:not(.task-mode) .arrow-send svg {
  width: 16px;
  height: 16px;
}

body.studio-redesign .page-create:not(.task-mode) .send-label {
  display: inline;
  font-size: 13px;
  font-weight: 700;
}

body.studio-redesign .page-create:not(.task-mode) .home-metrics {
  width: 100%;
  min-width: 0;
  min-height: 86px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 0;
  border-bottom: 1px solid var(--cc-line);
  border-radius: 0;
  color: var(--cc-text);
  background: var(--cc-panel);
  overflow: hidden;
}

body.studio-redesign .page-create:not(.task-mode) .home-metrics > div {
  min-height: 84px;
  padding: 15px;
  display: grid;
  align-content: center;
  gap: 5px;
  border-left: 1px solid var(--cc-line);
}

body.studio-redesign .page-create:not(.task-mode) .home-metrics > div:first-child {
  border-left: 0;
}

body.studio-redesign .page-create:not(.task-mode) .home-metrics span {
  color: var(--cc-muted);
  font-size: 10px;
}

body.studio-redesign .page-create:not(.task-mode) .home-metrics b {
  color: var(--cc-text);
  font-size: 24px;
  line-height: 1;
}

body.studio-redesign .home-task-zone,
body.studio-redesign .home-continue-zone,
body.studio-redesign .home-insight-zone {
  border: 1px solid var(--cc-line);
  border-radius: 5px;
  color: var(--cc-text);
  background: var(--cc-panel);
  box-shadow: none;
  overflow: hidden;
}

body.studio-redesign .page-create:not(.task-mode) .home-task-zone {
  grid-area: tasks;
  min-height: 296px;
  margin-top: 0;
  padding: 0;
  border-radius: 5px;
  display: block;
}

body.studio-redesign .home-continue-zone {
  grid-area: continue;
  min-width: 0;
}

body.studio-redesign .home-insight-zone {
  grid-area: insight;
}

body.studio-redesign .workspace-section-head {
  min-height: 53px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--cc-line);
}

body.studio-redesign .workspace-section-head > div {
  min-width: 0;
}

body.studio-redesign .workspace-section-head > div > span {
  display: none;
}

body.studio-redesign .workspace-section-head h2 {
  margin: 0;
  color: var(--cc-text);
  font-family: var(--ff-font, system-ui, sans-serif);
  font-size: 15px;
  font-weight: 720;
}

body.studio-redesign .home-task-zone .video-task-feed {
  display: none;
}

body.studio-redesign .home-queue-list {
  display: grid;
}

body.studio-redesign .home-queue-row {
  min-height: 62px;
  padding: 8px 12px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 70px 62px 14px;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--cc-line);
  color: var(--cc-text);
  text-align: left;
  background: transparent;
}

body.studio-redesign .home-queue-row:last-child {
  border-bottom: 0;
}

body.studio-redesign .home-queue-row:hover {
  background: var(--cc-panel-hover);
}

body.studio-redesign .home-queue-row > img {
  width: 44px;
  height: 44px;
  border-radius: 3px;
  object-fit: cover;
}

body.studio-redesign .queue-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

body.studio-redesign .queue-copy b,
body.studio-redesign .queue-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.studio-redesign .queue-copy b {
  color: var(--cc-text);
  font-size: 11px;
  font-style: normal;
}

body.studio-redesign .queue-copy small {
  color: var(--cc-muted);
  font-size: 9px;
}

body.studio-redesign .queue-progress,
body.studio-redesign .project-progress {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

body.studio-redesign .queue-progress > i,
body.studio-redesign .project-progress > i {
  height: 4px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  border-radius: 2px;
  background: #293033;
}

:root[data-theme="light"] body.studio-redesign .queue-progress > i,
:root[data-theme="light"] body.studio-redesign .project-progress > i {
  background: var(--ff-subtle);
}

body.studio-redesign .queue-progress > i > b,
body.studio-redesign .project-progress > i > b {
  height: 100%;
  display: block;
  border-radius: 2px;
  background: var(--cc-teal);
}

body.studio-redesign .queue-progress small,
body.studio-redesign .project-progress small {
  color: var(--cc-muted);
  font-size: 9px;
}

body.studio-redesign .queue-status {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--cc-muted);
  font-size: 10px;
  font-style: normal;
  white-space: nowrap;
}

body.studio-redesign .queue-status.running,
body.studio-redesign .queue-status.done {
  color: var(--cc-teal);
}

body.studio-redesign .queue-status.queued,
body.studio-redesign .queue-status.review {
  color: var(--cc-amber);
}

body.studio-redesign .queue-status.failed {
  color: var(--cc-danger);
}

body.studio-redesign .queue-open,
body.studio-redesign .project-open {
  width: 14px;
  height: 14px;
  color: var(--cc-faint);
}

body.studio-redesign .home-continue-list {
  min-width: 0;
}

body.studio-redesign .continue-table-head,
body.studio-redesign .home-project-row {
  display: grid;
  grid-template-columns: minmax(180px, 2fr) minmax(70px, .8fr) minmax(66px, .72fr) minmax(90px, 1fr) minmax(76px, .78fr) 20px;
  align-items: center;
  gap: 10px;
}

body.studio-redesign .continue-table-head {
  min-height: 32px;
  padding: 0 13px;
  border-bottom: 1px solid var(--cc-line);
  color: var(--cc-faint);
  background: var(--cc-bg-soft);
  font-size: 9px;
}

body.studio-redesign .home-project-row {
  width: 100%;
  min-height: 59px;
  padding: 7px 13px;
  border-bottom: 1px solid var(--cc-line);
  color: var(--cc-muted);
  text-align: left;
  background: transparent;
  font-size: 10px;
}

body.studio-redesign .home-project-row:last-child {
  border-bottom: 0;
}

body.studio-redesign .home-project-row:hover {
  color: var(--cc-text);
  background: var(--cc-panel-hover);
}

body.studio-redesign .project-name {
  min-width: 0;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

body.studio-redesign .project-name img {
  width: 40px;
  height: 40px;
  border-radius: 3px;
  object-fit: cover;
}

body.studio-redesign .project-name b {
  overflow: hidden;
  color: var(--cc-text);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.studio-redesign .home-insight-content {
  min-height: 155px;
  padding: 17px;
  display: grid;
  align-content: start;
  gap: 7px;
  background-image: url("./assets/dashboard/ceiling-light-project-bright-v2.webp");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 42% auto;
}

body.studio-redesign .home-insight-content > span {
  max-width: 58%;
  color: var(--cc-muted);
  font-size: 10px;
}

body.studio-redesign .home-insight-content > strong {
  max-width: 58%;
  color: var(--cc-gold);
  font-size: 15px;
}

body.studio-redesign .home-insight-content > p {
  max-width: 55%;
  margin: 0;
  color: var(--cc-muted);
  font-size: 10px;
  line-height: 1.55;
}

body.studio-redesign .home-insight-content > button {
  width: max-content;
  min-height: 32px;
  margin-top: 5px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #8f3328;
  border-radius: 4px;
  color: #fff8ef;
  background: var(--cc-red);
  font-size: 10px;
}

body.studio-redesign .home-insight-content > button:hover {
  background: var(--cc-red-strong);
}

body.studio-redesign .home-insight-content > button svg {
  width: 13px;
  height: 13px;
}

body.studio-redesign .commercial-empty {
  min-height: 126px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--cc-muted);
  text-align: left;
}

body.studio-redesign .commercial-empty > svg {
  width: 24px;
  height: 24px;
  color: var(--cc-gold);
}

body.studio-redesign .commercial-empty > div {
  display: grid;
  gap: 4px;
}

body.studio-redesign .commercial-empty b {
  color: var(--cc-text);
  font-size: 12px;
}

body.studio-redesign .commercial-empty span {
  color: var(--cc-muted);
  font-size: 10px;
}

body.studio-redesign .commercial-empty button {
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid var(--cc-line-strong);
  border-radius: 4px;
  color: var(--cc-text);
  background: var(--cc-panel-raised);
}

body.studio-redesign .page-create:not(.task-mode) > .hero-content > .project-strip {
  grid-area: legacy;
  display: none;
}

/* Existing video-task detail mode remains a focused conversation workspace. */
body.studio-redesign .page-create.task-mode .hero-bg,
body.studio-redesign .page-create.task-mode .home-operations-head,
body.studio-redesign .page-create.task-mode .home-metrics,
body.studio-redesign .page-create.task-mode .home-continue-zone,
body.studio-redesign .page-create.task-mode .home-insight-zone,
body.studio-redesign .page-create.task-mode .home-queue-list,
body.studio-redesign .page-create.task-mode .home-task-zone > .workspace-section-head {
  display: none;
}

body.studio-redesign .page-create.task-mode .studio-shell {
  width: min(980px, calc(100% - 40px));
  padding-top: 24px;
}

body.studio-redesign .page-create.task-mode .home-task-zone {
  border: 0;
  background: transparent;
}

body.studio-redesign .page-create.task-mode .home-task-zone .video-task-feed {
  display: grid;
}

/* Shared commercial treatment for feature pages. */
body.studio-redesign .page:not(.page-create) {
  color: var(--cc-text);
  background: var(--cc-bg);
}

body.studio-redesign :is(.radar-shell, .copy-factory-page, .editing-shell, #page-assets, #page-admin) {
  color: var(--cc-text);
}

body.studio-redesign :is(.radar-shell, .copy-factory-shell, .editing-shell) {
  width: min(1380px, calc(100% - 48px));
}

body.studio-redesign :is(.radar-header h2, .copy-factory-head h1, .copy-factory-head h2, .editing-header h2, #page-assets .section-head h2, #page-admin .section-head h2) {
  color: var(--cc-text);
  font-size: 30px;
  line-height: 1.2;
}

body.studio-redesign :is(.radar-header p, .copy-factory-head p, .editing-header p, #page-assets .section-head p, #page-admin .section-head p) {
  color: var(--cc-muted);
  font-size: 13px;
}

body.studio-redesign :is(.radar-eyebrow, .copy-eyebrow, .editing-eyebrow) {
  color: var(--cc-gold);
  font-family: var(--ff-font, system-ui, sans-serif);
  font-size: 10px;
  letter-spacing: 0;
}

body.studio-redesign :is(.copy-mode-switch, .segmented-choice, .copy-progress, .radar-tabs, .editing-runtime) {
  border-radius: 5px;
}

body.studio-redesign :is(.copy-stage, .copy-model-panel, .copy-result-card, .copy-empty, .radar-summary, .radar-filter-panel, .radar-candidate-list, .radar-detail, .radar-import-panel, .radar-library-panel, .editing-source-section, .editing-settings-section, .editing-batches-section, .asset-group, .panel, .empty-card) {
  border-color: var(--cc-line);
  border-radius: 5px;
  color: var(--cc-text);
  background: var(--cc-panel);
  box-shadow: none;
}

body.studio-redesign :is(input, textarea, select) {
  border-color: var(--cc-line);
  border-radius: 4px;
  color: var(--cc-text);
  background: var(--cc-panel-raised);
}

body.studio-redesign :is(input, textarea)::placeholder {
  color: var(--cc-faint);
}

body.studio-redesign :is(input, textarea, select):focus {
  border-color: var(--cc-gold);
  box-shadow: 0 0 0 3px rgba(199, 162, 95, .12);
}

body.studio-redesign :is(.primary, .editing-primary, .radar-primary, .copy-primary) {
  border-radius: 4px;
  color: #fff9f1;
  background: var(--cc-red);
  box-shadow: none;
}

body.studio-redesign :is(.primary, .editing-primary, .radar-primary, .copy-primary):hover {
  background: var(--cc-red-strong);
}

body.studio-redesign :is(.ghost, .editing-secondary, .radar-secondary) {
  border-color: var(--cc-line);
  border-radius: 4px;
  color: var(--cc-text);
  background: var(--cc-panel-raised);
}

body.studio-redesign #page-assets,
body.studio-redesign #page-admin {
  width: min(1380px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

body.studio-redesign #page-assets .section-head,
body.studio-redesign #page-admin .section-head {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--cc-line);
}

/* Light theme stays readable while the brand rails remain dark. */
:root[data-theme="light"] body.studio-redesign .project-sidebar,
:root[data-theme="light"] body.studio-redesign .sidebar {
  color: var(--ff-muted);
  background: #0b0f11;
}

:root[data-theme="light"] body.studio-redesign .page-create:not(.task-mode) .home-operations-head h1 {
  color: #f1ede3;
}

:root[data-theme="light"] body.studio-redesign .page-create:not(.task-mode) .home-operations-head {
  background: rgba(5, 8, 9, .54);
}

:root[data-theme="light"] body.studio-redesign .page-create:not(.task-mode) .home-operations-head p {
  color: var(--ff-muted);
}

:root[data-theme="light"] body.studio-redesign select option {
  color: var(--ff-ink);
  background: var(--ff-surface);
}

@media (max-width: 1320px) {
  body.studio-redesign .app {
    padding-left: 108px;
  }

  body.studio-redesign .project-sidebar {
    display: none;
  }

  body.studio-redesign .sidebar-toggle {
    left: 76px;
  }

  body.studio-redesign .page-create:not(.task-mode) .studio-shell {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
}

@media (max-width: 1080px) {
  body.studio-redesign .page-create:not(.task-mode) .studio-shell {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    grid-template-areas:
      "banner"
      "prime"
      "tasks"
      "continue"
      "insight"
      "legacy";
  }

  body.studio-redesign .page-create:not(.task-mode) .home-task-zone {
    margin-top: 0;
  }

  body.studio-redesign .home-insight-content {
    background-size: 30% auto;
  }
}

@media (max-width: 820px) {
  body.studio-redesign .app,
  body.studio-redesign .app.sidebar-collapsed {
    padding-left: 0;
    padding-bottom: 68px;
  }

  body.studio-redesign .project-sidebar {
    display: none;
  }

  body.studio-redesign .sidebar,
  body.studio-redesign .sidebar.collapsed,
  body.studio-redesign .sidebar.collapsed:hover,
  body.studio-redesign .sidebar:not(.collapsed):hover {
    position: fixed;
    inset: auto 0 0;
    z-index: 100;
    width: 100%;
    height: 64px;
    padding: 5px 7px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 4px;
    border-top: 1px solid var(--ff-line-strong);
    border-right: 0;
    background: var(--cc-sidebar);
  }

  body.studio-redesign .sidebar .brand,
  body.studio-redesign .sidebar .nav-group-label,
  body.studio-redesign .sidebar-toggle {
    display: none;
  }

  body.studio-redesign .sidebar .nav {
    height: 54px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 2px;
    overflow: visible;
  }

  body.studio-redesign .sidebar .nav button {
    min-width: 0;
    flex: 1;
    min-height: 54px;
    padding: 4px 2px;
    gap: 3px;
    border: 0;
    border-radius: 4px;
    font-size: 9px;
  }

  body.studio-redesign .sidebar .nav button.active {
    box-shadow: inset 0 2px 0 var(--cc-red);
  }

  body.studio-redesign .sidebar .nav button svg {
    width: 18px;
    height: 18px;
  }

  body.studio-redesign .sidebar .sidebar-settings {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
  }

  body.studio-redesign .sidebar-settings .settings-main {
    height: 54px;
    min-height: 54px;
    padding: 4px;
  }

  body.studio-redesign .sidebar-settings .settings-main span { display: none; }

  body.studio-redesign .topbar {
    height: 56px;
    padding: 0 12px;
  }

  body.studio-redesign .topbar-context > span,
  body.studio-redesign .system-state,
  body.studio-redesign .task-inbox > span,
  body.studio-redesign .topbar-user,
  body.studio-redesign .credit-pill {
    display: none;
  }

  body.studio-redesign .topbar-tool.task-inbox {
    min-width: 36px;
    width: 36px;
    padding: 0;
    justify-content: center;
  }

  body.studio-redesign .page-create {
    min-height: calc(100vh - 120px);
  }

  body.studio-redesign .page-create:not(.task-mode) .hero-bg,
  body.studio-redesign .page-create:not(.task-mode) .home-operations-head {
    height: 142px;
  }

  body.studio-redesign .page-create:not(.task-mode) .home-operations-head {
    padding: 20px;
  }

  body.studio-redesign .page-create:not(.task-mode) .home-operations-head h1 {
    font-size: 30px;
  }

  body.studio-redesign .page-create:not(.task-mode) .studio-shell {
    width: calc(100% - 24px);
    row-gap: 12px;
  }

  body.studio-redesign .page-create:not(.task-mode) .command-deck {
    min-height: 370px;
  }

  body.studio-redesign .page-create:not(.task-mode) .command-deck .composer-tools {
    min-height: 0;
  }

  body.studio-redesign .page-create:not(.task-mode) .composer-options {
    align-content: flex-start;
  }

  body.studio-redesign .page-create:not(.task-mode) .command-deck .composer .chip[data-menu="modelMenu"] {
    flex: 1 1 220px;
  }

  body.studio-redesign .page-create:not(.task-mode) .credit-cost {
    margin-left: 0;
  }

  body.studio-redesign .page-create:not(.task-mode) .arrow-send[data-stable-hit-target] {
    margin-left: auto;
  }

  body.studio-redesign .continue-table-head {
    display: none;
  }

  body.studio-redesign .home-project-row {
    grid-template-columns: minmax(0, 1fr) auto 18px;
    gap: 8px;
  }

  body.studio-redesign .home-project-row > :nth-child(2),
  body.studio-redesign .home-project-row > :nth-child(4),
  body.studio-redesign .home-project-row > :nth-child(5) {
    display: none;
  }

  body.studio-redesign :is(.radar-shell, .copy-factory-shell, .editing-shell),
  body.studio-redesign #page-assets,
  body.studio-redesign #page-admin {
    width: calc(100% - 24px);
  }
}

@media (max-width: 560px) {
  body.studio-redesign .top-right {
    gap: 5px;
  }

  body.studio-redesign .avatar {
    width: 34px;
    height: 34px;
  }

  body.studio-redesign .page-create:not(.task-mode) .mythic-scene,
  body.studio-redesign .page-create:not(.task-mode) .mythic-character,
  body.studio-redesign .page-create:not(.task-mode) .mythic-fur-layer,
  body.studio-redesign .page-create:not(.task-mode) .mythic-depth-glow {
    background-position: 72% 34%;
  }

  body.studio-redesign .page-create:not(.task-mode) .home-operations-copy {
    max-width: 75%;
  }

  body.studio-redesign .page-create:not(.task-mode) .home-operations-head h1 {
    font-size: 27px;
  }

  body.studio-redesign .page-create:not(.task-mode) .home-operations-head p {
    max-width: 260px;
    font-size: 11px;
  }

  body.studio-redesign .page-create:not(.task-mode) .command-deck .hero-title {
    padding: 17px 16px 12px;
  }

  body.studio-redesign .page-create:not(.task-mode) .command-deck .hero-title h2 {
    font-size: 20px;
  }

  body.studio-redesign .page-create:not(.task-mode) .home-flow-switch button {
    padding: 0 6px;
    font-size: 11px;
  }

  body.studio-redesign .page-create:not(.task-mode) .command-deck .prompt-editor {
    min-height: 122px;
    padding: 15px 16px;
  }

  body.studio-redesign .page-create:not(.task-mode) .command-deck .composer .chip {
    max-width: calc(50vw - 24px);
  }

  body.studio-redesign .page-create:not(.task-mode) .command-deck .composer .chip span:not(.menu-arrow) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.studio-redesign .page-create:not(.task-mode) .arrow-send[data-stable-hit-target] {
    width: 48px;
    min-width: 48px;
  }

  body.studio-redesign .page-create:not(.task-mode) .send-label {
    display: none;
  }

  body.studio-redesign .page-create:not(.task-mode) .home-metrics > div {
    min-height: 72px;
    padding: 11px;
  }

  body.studio-redesign .page-create:not(.task-mode) .home-metrics b {
    font-size: 20px;
  }

  body.studio-redesign .home-queue-row {
    grid-template-columns: 42px minmax(0, 1fr) auto 14px;
    padding-inline: 10px;
  }

  body.studio-redesign .home-queue-row > img {
    width: 42px;
    height: 42px;
  }

  body.studio-redesign .home-queue-row .queue-progress {
    display: none;
  }

  body.studio-redesign .home-insight-content {
    min-height: 168px;
    background-position: 115% center;
    background-size: 54% auto;
  }

  body.studio-redesign .home-insight-content > :is(span, strong, p) {
    max-width: 62%;
  }
}

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