/* Remix Studio presentation layer. Shared engines and input IDs are retained. */
/* Lighting follows the reference: a cyan horizon, etched glass and clear ink. */
.remix-studio-page {
  --lab-accent: #79ded4;
  --lab-canvas: #071d20;
  --lab-surface: #0d292d;
  --lab-raised: #143438;
  --lab-ink: #f2f8f6;
  --lab-muted: #a1bfbb;
  --lab-line: #b2ded41c;
  --lab-radius: 22px;
  --rs-primary: #79ded4;
  --rs-primary-hover: #9be9e1;
  --rs-primary-focus: #79ded4;
  --rs-ink: #f2f8f6;
  --rs-ink-subtle: #a1bfbb;
  --rs-ink-tertiary: #a1bfbb;
  --rs-hairline: #b2ded41c;
  --rs-surface-1: #0d292d;
  --rs-surface-2: #102e32;
  --accent: #79ded4;
  background:
    radial-gradient(ellipse 680px 500px at 22% 15%, #2d9c8f14, transparent 75%),
    radial-gradient(ellipse 520px 360px at 88% 5%, #2b898914, transparent 70%),
    #071d20;
  color: var(--lab-ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
}
.remix-studio-page::before,
.remix-studio-page .cursor-glow,
.remix-studio-page .scroll-progress {
  display: none;
}
.remix-studio-page [hidden] {
  display: none !important;
}
.remix-studio-page .site-header {
  height: 64px;
  top: 16px;
  width: min(1400px, calc(100% - 40px));
  background: #0b2427e6;
  border: 1px solid var(--lab-line);
  border-radius: 18px;
  backdrop-filter: blur(8px);
  box-shadow: none;
}
.remix-studio-page .desktop-nav {
  gap: 22px;
}
.remix-studio-page .desktop-nav a {
  font-size: 13px;
  color: #a8c4bf;
}
.remix-studio-page .desktop-nav a[href*="remix-studio"] {
  color: #effbf6;
}
.remix-studio-page .header-actions {
  gap: 4px;
}
.remix-studio-page .header-actions > .button {
  display: none;
}
.remix-studio-page .header-actions .lab-hub-button {
  background: none;
  border: 0;
  color: #d4e6e1;
  padding: 10px;
  min-height: 44px;
}
.remix-studio-page .brand-mark {
  box-shadow: none;
}
.remix-studio-page .brand {
  font-size: 16px;
}
.remix-studio-page .brand-mark img {
  width: 36px;
  height: 36px;
}
.remix-studio-page .menu-toggle {
  background: transparent;
  color: #d4e6e1;
  border: 1px solid var(--lab-line);
  border-radius: 10px;
  min-width: 44px;
  min-height: 44px;
}
.remix-studio-page .mobile-panel {
  background: #0b2528f5;
  border-color: var(--lab-line);
  color: #f2f8f6;
}
.remix-studio-page .mobile-panel a {
  color: #d3e6df;
}
.remix-studio-page .remix-main {
  max-width: 1440px;
  width: 100%;
  margin: auto;
  padding: 112px 40px 72px;
}
.studio-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--lab-muted);
  font-size: 11px;
  letter-spacing: 0.07em;
  margin-bottom: 18px;
}
.studio-breadcrumb span:last-child {
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.studio-breadcrumb i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #acc8c0;
  box-shadow: none;
}
.remix-studio-page .remix-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 26px;
}
.remix-studio-page .remix-hero h1 {
  font:
    550 clamp(30px, 3vw, 42px) / 1.15 Inter,
    system-ui,
    sans-serif;
  letter-spacing: -0.045em;
  margin: 6px 0 10px;
}
.remix-studio-page .remix-hero p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 650px;
  color: var(--lab-muted);
  margin: 0;
}
.remix-studio-page .remix-eyebrow {
  color: #92b5b0;
  font:
    550 10px/1.5 Inter,
    system-ui,
    sans-serif;
  letter-spacing: 0.12em;
}
.studio-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.studio-modes {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--lab-line);
  border-radius: 12px;
  background: #0a2427;
  flex-shrink: 0;
  margin: 0;
  align-self: center;
}
.studio-modes button {
  padding: 9px 14px;
  min-height: 44px;
  border-radius: 9px;
  color: #acc5c0;
  background: none;
  border: 0;
  font-size: 12px;
  cursor: pointer;
}
.studio-modes button[aria-pressed="true"] {
  background: #214744;
  color: #eefbf6;
  box-shadow: none;
}
.remix-studio-page .remix-panel {
  background: linear-gradient(135deg, #163b3c70, #0c282cdf);
  border: 1px solid var(--lab-line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: none;
  backdrop-filter: blur(6px);
  scroll-margin-top: 108px;
  min-width: 0;
}
.remix-studio-page .remix-panel h2 {
  font:
    550 20px/1.35 Inter,
    system-ui,
    sans-serif;
  letter-spacing: -0.025em;
  margin: 6px 0 0;
}
.remix-studio-page h3 {
  font:
    550 15px/1.4 Inter,
    system-ui,
    sans-serif;
  color: #dfede7;
  margin: 0;
}
.remix-studio-page .remix-panel p {
  color: var(--lab-muted);
  font-size: 13px;
  line-height: 1.7;
}
.remix-studio-page .remix-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.remix-studio-page .remix-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 28px;
}
.remix-studio-page .remix-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.remix-studio-page .remix-side {
  position: sticky;
  top: 104px;
  align-self: start;
  gap: 0;
}
.ui-render-aside #remixRenderPanel {
  max-height: calc(100dvh - 128px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #46746a #0d292d;
  padding: 24px;
}
.remix-studio-page .studio-project-disclosure {
  padding: 12px 18px;
  border-radius: 14px;
  background: #0a2326a8;
  margin-bottom: 22px;
  backdrop-filter: none;
}
.studio-project-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  gap: 12px;
  color: #d3e8df;
  font-size: 13px;
  cursor: pointer;
}
.studio-project-disclosure summary span:last-child {
  font-size: 11px;
  color: #95b7ae;
}
.studio-project-disclosure[open] .lab-project-bar {
  margin: 16px 0 4px;
  padding-top: 18px;
  border-top: 1px solid var(--lab-line);
}
.remix-studio-page .lab-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 28px;
  padding: 0;
  background: transparent;
  border: 0;
}
.remix-studio-page .lab-steps a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 0;
  border: 0;
  border-radius: 0;
  min-height: 64px;
  background: none;
  color: #97b7b0;
  text-decoration: none;
}
.lab-steps a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 29px;
  width: 24px;
  height: 1px;
  background: #a0ccc129;
}
.remix-studio-page .lab-steps b {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 34px;
  border: 1px solid #85b8ac35;
  border-radius: 50%;
  background: #0d292d;
  color: #97b7b0;
  font-size: 12px;
  font-weight: 550;
}
.lab-steps a > span {
  display: grid;
  gap: 2px;
}
.lab-steps strong {
  font-size: 13px;
  font-weight: 550;
  color: #b2ccc3;
}
.lab-steps small {
  font-size: 11px;
  color: #91b1a9;
  line-height: 1.5;
}
.lab-steps .ui-step-status {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.lab-steps a[data-state="current"] b {
  border-color: #79ded4;
  background: #79ded41a;
  color: #b5f1e7;
  box-shadow: 0 0 14px #79ded410;
}
.lab-steps a[data-state="current"] strong {
  color: #edfaf4;
}
.lab-steps a[data-state="complete"] b {
  border-color: #5f988a;
  color: #c2e4d7;
}
.lab-steps a:hover strong {
  color: #effbf6;
}
.remix-studio-page .studio-timeline {
  margin: 0;
  padding: 28px;
}
.studio-timeline .remix-panel-head {
  align-items: start;
  margin-bottom: 24px;
}
.remix-studio-page #remixWaveTitle {
  font-size: 23px;
  line-height: 1.4;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.current-source-panel {
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  margin-top: 10px;
}
.current-source-panel #remixCurrentMeta {
  font-size: 12px;
  margin: 0;
  color: #9ebcb4;
}
.source-card-copy {
  display: block;
}
.studio-wave-shell {
  position: relative;
  min-height: 208px;
  padding: 16px 12px;
  background: #071e22a3;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
}
.studio-wave-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: #99bbb2;
  font-size: 13px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 89px,
    #94cbb010 89px 90px
  );
}
#studioWave {
  min-height: 176px;
}
#studioWave::part(region) {
  border: 1px solid #79ded478;
  border-radius: 3px;
}
#studioWave::part(region-handle) {
  border-color: #8ce5d7;
  min-width: 7px;
}
.studio-transport {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 22px;
}
.studio-transport button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 14px;
  background: #153c3b;
  border: 1px solid #b2ded41c;
  border-radius: 10px;
  color: #d4e9df;
  font-size: 12px;
  cursor: pointer;
}
.studio-transport button svg {
  width: 16px;
  height: 16px;
}
.studio-transport output {
  font:
    12px ui-monospace,
    monospace;
  color: #bddbd0;
  min-width: 110px;
}
.studio-transport label {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: end;
  font-size: 12px;
}
.studio-transport input {
  width: 100px;
}
.studio-loop-fields {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 14px;
  margin: 16px 0;
}
.studio-loop-fields .lab-check {
  margin: 0 !important;
  min-height: 44px;
  align-items: center;
}
.studio-wave-source {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
}
.studio-wave-source b {
  color: #c4e4d7;
  font-weight: 550;
}
.remix-studio-page audio {
  width: 100%;
  height: 42px;
  max-width: 100%;
  margin: 16px 0 0;
  color-scheme: dark;
}
.remix-studio-page #remixPlayLabel {
  font-size: 12px;
  margin: 16px 0 0;
}
.remix-studio-page .remix-button,
.remix-studio-page .remix-tab {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid #add4c626;
  border-radius: 10px;
  background: #123336;
  color: #dbeee5;
  font:
    500 12px/1.4 Inter,
    system-ui,
    sans-serif;
  box-shadow: none;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.remix-studio-page .remix-button.primary {
  background: #7bddd1;
  border-color: #7bddd1;
  color: #082829;
  font-weight: 650;
  box-shadow: 0 0 16px #75dfd212;
}
.remix-studio-page .remix-button.primary:hover:not(:disabled) {
  background: #9ae9df;
  color: #082829;
  border-color: #9ae9df;
}
.remix-studio-page .remix-button:hover:not(:disabled),
.remix-studio-page .remix-tab:hover:not(:disabled) {
  background: #1a4141;
  border-color: #98cfc047;
}
.remix-studio-page button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.remix-studio-page :focus-visible {
  outline: 2px solid #93ece0;
  outline-offset: 3px;
}
.remix-studio-page .remix-button svg {
  width: 16px;
  height: 16px;
}
.remix-studio-page label {
  font-size: 12px;
  color: #a9c8bd;
  line-height: 1.6;
  gap: 8px;
  min-width: 0;
}
.remix-studio-page input:not([type="range"]):not([type="checkbox"]),
.remix-studio-page select,
.remix-studio-page textarea {
  background: #071f23a3;
  border: 1px solid #b2ded426;
  border-radius: 10px;
  min-height: 44px;
  padding: 10px 12px;
  font:
    13px/1.5 Inter,
    system-ui,
    sans-serif;
  color: #e7f5ee;
  width: 100%;
  min-width: 0;
}
.remix-studio-page input::placeholder,
.remix-studio-page textarea::placeholder {
  color: #89a9a2;
}
.remix-studio-page input[type="range"] {
  accent-color: #88dfd1;
  min-height: 44px;
}
.remix-studio-page input[type="checkbox"] {
  accent-color: #7bddd1;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}
.remix-studio-page .lab-check {
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 12px;
  color: #aac6bb;
  line-height: 1.7;
  margin: 16px 0;
}
.remix-studio-page .lab-check input {
  margin-top: 3px;
}
.ui-control-disclosure {
  border: 0;
  border-top: 1px solid var(--lab-line);
  padding: 0;
  margin-top: 22px;
  background: none;
}
.ui-control-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 0;
  color: #c2ded1;
  font-size: 12px;
  cursor: pointer;
}
.ui-control-disclosure > summary::after {
  content: "+";
  font-size: 17px;
  font-weight: 400;
  color: #83afa0;
}
.ui-control-disclosure[open] > summary::after {
  content: "−";
}
.ui-control-disclosure[open] > summary {
  margin-bottom: 8px;
}
.ui-control-disclosure > summary::-webkit-details-marker {
  display: none;
}
.ui-control-disclosure .remix-eyebrow {
  display: none;
}
.ui-ab-disclosure > p {
  font-size: 12px !important;
}
.remix-studio-page .remix-compare-card {
  padding: 14px 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}
.remix-compare-card strong {
  font-size: 13px;
  font-weight: 500;
  color: #d4e9dd;
}
.remix-compare-card .remix-waveform {
  grid-column: 1/-1;
}
.remix-studio-page .remix-waveform {
  background: #071e22;
  border: 0;
  border-radius: 8px;
  gap: 2px;
  box-shadow: none;
}
.remix-studio-page .remix-waveform.small {
  height: 48px;
  padding: 8px;
}
.remix-studio-page .remix-waveform span {
  background: #568e85;
  border-radius: 1px;
  box-shadow: none;
}
.remix-studio-page .remix-source-tabs {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}
.remix-studio-page .remix-tab.is-active {
  border-color: #65ae9e;
  background: #184340;
  color: #e2f7ee;
}
.remix-library-panel,
.remix-upload-panel {
  padding: 0;
  background: none;
  border: 0;
}
.remix-studio-page .remix-filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  min-width: 0;
  width: 100%;
  align-items: start;
}
.remix-studio-page .remix-filter-grid > label {
  grid-column: auto;
  min-width: 0;
}
.remix-studio-page .remix-filter-grid input {
  padding-left: 38px;
}
.ui-filter-disclosure summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--lab-line);
  border-radius: 10px;
  font-size: 12px;
  cursor: pointer;
  color: #b4d2c7;
}
.ui-filter-disclosure[open] {
  min-width: 160px;
}
.ui-filter-disclosure select {
  margin-top: 8px;
}
.remix-library-panel .remix-panel-head {
  display: block;
  margin: 0;
}
.remix-library-panel h3 {
  margin-bottom: 16px;
}
.remix-studio-page #remixLibraryCount {
  font-size: 11px;
  margin: 16px 0 8px;
}
.remix-studio-page .remix-track-list {
  max-height: 232px;
  scrollbar-width: thin;
  scrollbar-color: #46746a #0d292d;
  padding-right: 6px;
  gap: 0;
}
.remix-studio-page .remix-track {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--lab-line);
  border-radius: 0;
  padding: 14px 0;
  gap: 16px;
  margin: 0;
}
.remix-studio-page .remix-track.is-selected {
  background: #76d8c909;
  border-radius: 10px;
  padding: 14px 10px;
  box-shadow: inset 2px 0 #74cdb9;
}
.remix-track strong {
  font-size: 13px;
  font-weight: 500;
}
.remix-studio-page .remix-track p {
  margin: 5px 0;
  font-size: 12px;
}
.remix-track small {
  font-size: 11px;
  color: #8db2a5;
}
.remix-track-actions button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--lab-line);
  border-radius: 8px;
  background: #173b3a;
  color: #c6e5d8;
  font-size: 12px;
}
.remix-studio-page .remix-dropzone {
  min-height: 160px;
  padding: 24px;
  gap: 12px;
  border: 1px dashed #72a89960;
  border-radius: 14px;
  background: #10312f6b;
  cursor: pointer;
}
.remix-dropzone > svg {
  width: 30px;
  height: 30px;
  color: #9dd2c0;
}
.remix-dropzone span {
  font-size: 12px;
  text-align: center;
}
.remix-dropzone.is-dragging {
  border-color: #79ded4;
  background: #1c4843;
}
.remix-studio-page .remix-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0;
}
.remix-studio-page .remix-metrics > div {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.remix-metrics span {
  font-size: 11px;
  color: #8fb4a7;
  line-height: 1.6;
}
.remix-studio-page .remix-metrics strong {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  color: #e1f2e8;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.remix-studio-page .remix-suggestions {
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  color: #8faeaa;
  font-size: 12px;
  line-height: 1.7;
}
.remix-studio-page #remixSourceMetrics {
  font-size: 12px;
}
.lab-corrections summary {
  font-size: 12px;
  color: #b8d7c6;
  min-height: 44px;
}
.remix-studio-page .preset-toolbar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0;
  align-items: end;
}
.preset-toolbar p {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px !important;
  margin: 0;
}
.preset-toolbar label {
  min-width: 0;
}
.remix-studio-page .remix-preset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-height: 270px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #46746a #0d292d;
  padding: 3px;
}
.remix-studio-page .remix-preset-grid button {
  position: relative;
  min-height: 76px;
  padding: 14px;
  border: 1px solid #98c8b81c;
  border-radius: 12px;
  background: #12333570;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  box-shadow: none;
}
.remix-studio-page .remix-preset-grid button.is-selected {
  border-color: #72d1bd;
  background: #6ecfbb10;
  box-shadow: 0 0 15px #79ded40a;
}
.remix-studio-page .remix-preset-grid button.is-selected::after {
  content: "✓";
  position: absolute;
  right: 9px;
  top: 8px;
  font-size: 12px;
  color: #a6ecdc;
}
.remix-preset-grid button strong {
  font-size: 12px;
  font-weight: 550;
  color: #e7f6ed;
  margin: 0;
  padding-right: 8px;
  line-height: 1.5;
}
.remix-preset-grid button span {
  font-size: 10px;
  letter-spacing: 0.03em;
  color: #8eb3a7;
  background: none;
  padding: 0;
  width: auto;
}
.preset-selected-detail {
  margin: 20px 0;
  padding: 0;
  border: 0;
  background: none;
}
.preset-selected-detail strong {
  font-size: 14px;
  color: #e2f2e7;
  font-weight: 500;
}
.preset-selected-detail p {
  margin: 6px 0 0 !important;
  font-size: 12px !important;
}
.remix-studio-page .remix-intensity {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.remix-intensity .remix-eyebrow {
  margin-right: 8px;
}
.remix-studio-page .remix-intensity button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--lab-line);
  border-radius: 9px;
  background: #143536;
  color: #aac9bb;
  font-size: 12px;
}
.remix-studio-page .remix-intensity button.is-active {
  border-color: #70b8a4;
  background: #234b40;
  color: #eaf8ed;
}
.preset-amount {
  display: grid !important;
  grid-template-columns: auto minmax(100px, 1fr) auto;
  align-items: center;
  gap: 16px !important;
  margin-top: 20px;
}
.preset-amount input {
  width: 100%;
  min-width: 0;
}
.space-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  border: 0;
}
.space-controls input {
  width: 100%;
  min-width: 0;
}
.space-controls output {
  font:
    12px ui-monospace,
    monospace;
  color: #b2d8c1;
}
.space-controls p {
  grid-column: 1/-1;
  font-size: 11px !important;
  margin: 0;
}
.single-edits {
  margin-top: 26px;
  border-top: 1px solid var(--lab-line);
  padding-top: 24px;
}
.single-edits .remix-panel-head {
  margin-bottom: 18px;
}
.single-edits .edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0;
}
.single-edits .edit-actions {
  margin-top: 16px;
  gap: 12px;
}
.ui-edit-advanced .edit-grid {
  margin-bottom: 16px;
}
.ui-signal-settings {
  margin-top: 22px;
  border-top: 1px solid var(--lab-line);
  padding-top: 20px;
}
.ui-signal-settings .remix-panel-head {
  margin-bottom: 0;
}
.ui-signal-settings .remix-advanced {
  margin-top: 18px;
}
.ui-console-format {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #a3c6b6;
  font-size: 11px;
  margin: 18px 0 14px;
}
.remix-studio-page #remixRenderPanel > p {
  font-size: 12px;
}
.remix-studio-page .remix-job {
  padding: 20px 0;
  margin: 22px 0;
  background: none;
  border: 0;
  border-top: 1px solid var(--lab-line);
  border-bottom: 1px solid var(--lab-line);
  border-radius: 0;
  box-shadow: none;
}
.remix-job > div > span {
  font-size: 11px;
  color: #96b3aa;
}
.remix-job strong {
  font-size: 13px;
  font-weight: 500;
  color: #d3ebda;
  line-height: 1.5;
}
.remix-studio-page .remix-job em {
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: #dff6e6;
}
.remix-studio-page .remix-progress {
  height: 4px;
  border: 0;
  border-radius: 6px;
  background: #4b7b6e36;
}
.remix-studio-page .remix-progress span {
  background: #79ded4;
  box-shadow: none;
  border-radius: 6px;
}
.remix-studio-page .remix-action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.remix-studio-page #remixGenerate {
  min-height: 48px;
}
.ui-output-details {
  margin-top: 24px;
}
.ui-output-details #studioReport {
  width: 100%;
  margin: 4px 0 10px;
}
.ui-output-details p {
  font-size: 11px !important;
}
.ui-output-details label {
  margin-top: 16px;
}
.remix-studio-page #remixPersistence {
  font-size: 11px;
  line-height: 1.7;
}
.mashup-panel {
  margin-bottom: 24px;
}
.mix-lane {
  background: #0c282b7d;
  border-color: var(--lab-line);
  border-radius: 18px;
}
.mix-lane header b {
  background: #244b43;
  color: #d0f2df;
}
.mix-lane header small {
  color: #a2c5b4;
}
.mix-timeline {
  border: 0;
  background: repeating-linear-gradient(
    90deg,
    #071f23 0 calc(12.5% - 1px),
    #84b7a11c 12.5%
  );
  border-radius: 10px;
}
.mix-clip {
  border-color: #75b9a2;
  background: #529c821c;
}
.mix-clip span {
  background: #84bba6;
}
.mix-overview-label b,
.mix-overview-label small {
  color: #bddecd;
}
.mix-overview-label button {
  background: #163c37;
  border-color: var(--lab-line);
  color: #adcebc;
}
.mix-overview-label button[aria-pressed="true"] {
  background: #7bddd1;
  color: #0d2a25;
}
.mix-lane-details summary {
  color: #b4d1c2;
}
.mix-lane-details summary:focus-visible {
  outline-color: #79ded4;
}
.mix-empty,
.mix-axis {
  color: #92b8a9;
}
.mix-export {
  border-color: var(--lab-line);
}
.studio-technical-note {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--lab-line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 11px;
  line-height: 1.7;
  color: #87aa9e;
}
.studio-technical-note a {
  color: #aacabd;
  text-decoration: underline;
}
.remix-studio-page .lab-bottom-nav {
  background: #092528f2;
  border-top-color: var(--lab-line);
  backdrop-filter: blur(8px);
}
.remix-studio-page .lab-bottom-nav a {
  color: #9bb9ad;
}
.remix-studio-page .lab-bottom-nav a[aria-current="page"] {
  color: #a3e6d6;
}
@media (max-width: 1200px) {
  .remix-studio-page .remix-main {
    padding-left: 28px;
    padding-right: 28px;
  }
  .remix-studio-page .remix-workspace {
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: 22px;
  }
  .remix-studio-page .remix-panel {
    padding: 24px;
  }
  .remix-studio-page .remix-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .remix-studio-page .remix-preset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lab-steps a:not(:last-child)::after {
    display: none;
  }
}
@media (max-width: 900px) {
  .remix-studio-page .remix-main {
    padding: 104px 22px 104px;
  }
  .remix-studio-page .remix-hero {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }
  .studio-modes {
    align-self: start;
  }
  .remix-studio-page .remix-workspace {
    grid-template-columns: 1fr;
  }
  .remix-studio-page .remix-side {
    position: static;
  }
  .ui-render-aside #remixRenderPanel {
    max-height: none;
    overflow: visible;
  }
  .remix-studio-page .lab-steps a {
    padding-right: 8px;
    gap: 8px;
  }
  .lab-steps small {
    display: none;
  }
  .remix-studio-page .remix-metrics {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .studio-technical-note {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 600px) {
  .remix-studio-page .site-header {
    width: calc(100% - 24px);
    top: 12px;
    height: 60px;
  }
  .remix-studio-page .brand {
    font-size: 14px;
  }
  .remix-studio-page .brand-mark img {
    width: 30px;
    height: 30px;
  }
  .remix-studio-page .header-actions .lab-hub-button {
    font-size: 11px;
    padding: 8px;
  }
  .remix-studio-page .remix-main {
    padding: 96px 16px 106px;
  }
  .remix-studio-page .remix-hero h1 {
    font-size: 32px;
  }
  .studio-hero-actions {
    margin-top: 16px;
  }
  .studio-breadcrumb {
    font-size: 10px;
  }
  .studio-modes {
    width: 100%;
  }
  .studio-modes button {
    flex: 1;
  }
  .studio-project-disclosure summary {
    flex-direction: column;
    align-items: start;
    gap: 4px;
    justify-content: center;
  }
  .remix-studio-page .lab-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 24px;
  }
  .remix-studio-page .lab-steps a {
    flex-direction: column;
    align-items: start;
    padding: 8px 4px;
    gap: 8px;
  }
  .lab-steps strong {
    font-size: 10px;
    white-space: nowrap;
  }
  .remix-studio-page .lab-steps b {
    flex-basis: 30px;
    height: 30px;
    width: 30px;
    font-size: 11px;
  }
  .remix-studio-page .remix-panel,
  .remix-studio-page .studio-timeline {
    padding: 20px;
    border-radius: 20px;
  }
  .remix-studio-page .remix-panel h2 {
    font-size: 19px;
  }
  .remix-studio-page #remixWaveTitle {
    font-size: 20px;
  }
  .studio-wave-shell {
    min-height: 200px;
    padding: 12px 6px;
  }
  .studio-timeline .remix-panel-head {
    flex-wrap: wrap;
    gap: 14px;
  }
  .studio-transport {
    gap: 8px;
  }
  .studio-transport label {
    justify-content: start;
    flex: 1 1 100%;
  }
  .studio-transport input {
    flex: 1;
    max-width: 140px;
  }
  .studio-transport button {
    padding: 9px 12px;
  }
  .studio-loop-fields {
    grid-template-columns: 1fr 1fr;
  }
  .studio-loop-fields .lab-check {
    grid-column: 1/-1;
  }
  .remix-studio-page .remix-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
  }
  .remix-studio-page .remix-filter-grid {
    grid-template-columns: 1fr;
  }
  .ui-filter-disclosure[open] {
    min-width: 0;
  }
  .remix-studio-page .preset-toolbar {
    grid-template-columns: 1fr;
  }
  .preset-toolbar p {
    font-size: 10px !important;
  }
  .remix-studio-page .remix-preset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .remix-studio-page .remix-preset-grid button {
    min-height: 74px;
    padding: 12px;
  }
  .preset-amount {
    font-size: 11px !important;
    gap: 10px !important;
  }
  .remix-intensity .remix-eyebrow {
    flex: 1 1 100%;
  }
  .space-controls {
    grid-template-columns: 1fr;
  }
  .single-edits .edit-grid {
    grid-template-columns: 1fr 1fr;
  }
  .single-edits .remix-panel-head {
    flex-wrap: wrap;
  }
  .ui-render-aside #remixRenderPanel {
    padding: 24px;
  }
  .ui-ab-disclosure .remix-compare-card {
    grid-template-columns: 1fr auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .remix-studio-page * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .remix-studio-page .remix-panel,
  .remix-studio-page .site-header {
    background: #0d292d;
    backdrop-filter: none;
  }
}

.remix-studio-page .remix-advanced label {
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
}
.remix-studio-page .remix-advanced label input {
  grid-column: 1/-1;
  grid-row: 2;
  margin: 0;
}
.remix-studio-page .remix-advanced output {
  font:
    12px ui-monospace,
    monospace;
  color: #b9d5cd;
}
.remix-studio-page .remix-advanced {
  gap: 20px;
}
.remix-studio-page .remix-job em {
  background: none;
  border: 0;
  border-radius: 0;
  min-width: 0;
  width: auto;
  height: auto;
  padding: 0;
}
.remix-studio-page .remix-preset-grid button span {
  background: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  display: block;
}
.remix-studio-page .remix-hero {
  padding: 0;
  min-height: 0;
}
.remix-studio-page .space-controls label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
}
.remix-studio-page .space-controls input {
  grid-column: 1/-1;
  grid-row: 2;
}
.remix-studio-page {
  --lab-line: #a6eee333;
  --lab-muted: #b4d5d1;
  --lab-ink: #f5fffd;
  background:
    radial-gradient(ellipse 800px 660px at 35% 32%, #3cdcd129, transparent 72%),
    radial-gradient(ellipse 600px 460px at 88% 8%, #39d1c923, transparent 75%),
    #062126;
}
.remix-studio-page .remix-main {
  position: relative;
  isolation: isolate;
}
.remix-studio-page .remix-main::before {
  box-sizing: border-box;
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  top: 740px;
  left: -2%;
  width: 78%;
  height: 660px;
  border-radius: 50%;
  border: 2px solid #c3fff5b0;
  box-shadow:
    0 -3px 9px #d3fff58c,
    0 -10px 50px #52e8d770,
    inset 0 10px 40px #53e1d755;
  background: radial-gradient(ellipse at 50% 0, #54e1d523, transparent 65%);
  mask-image: linear-gradient(#000, transparent 52%);
}
.remix-studio-page .remix-panel {
  background: linear-gradient(145deg, #24585b99, #0c333ade);
  border-color: #b7f8ed38;
  box-shadow:
    inset 0 1px 0 #ecfffc21,
    0 12px 42px #00161924;
}
.remix-studio-page .studio-timeline {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: #c2fff25c;
  background:
    radial-gradient(ellipse 620px 300px at 50% 18%, #42d9d030, transparent 90%),
    linear-gradient(145deg, #174b51ce, #0a3038ee);
  box-shadow:
    inset 0 1px 0 #ebfff84d,
    0 0 44px #4cded312;
}
.studio-timeline::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(#b8fff148 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(#0008, transparent 50%);
}
.remix-studio-page .studio-wave-shell {
  background:
    radial-gradient(ellipse at 50% 110%, #41cfc43a, transparent 65%), #06242bc9;
  box-shadow: inset 0 -1px 0 #bdffef3a;
}
.remix-studio-page .site-header {
  background: #0a2b31ed;
  border-color: #b4f3e537;
  box-shadow: inset 0 1px 0 #d4fff521;
}
.remix-studio-page .studio-project-disclosure {
  background: #103339a6;
}
.remix-studio-page .remix-button.primary {
  background: #a8f5e9;
  color: #052e32;
  border-color: #d2fff6;
  box-shadow:
    0 0 22px #7feee72a,
    inset 0 1px 0 #fff9;
}
.remix-studio-page .lab-steps a[data-state="current"] b {
  background: #d2fff4;
  color: #06343a;
  border-color: #e5fff9;
  box-shadow: 0 0 22px #72eee459;
}
.remix-studio-page .remix-preset-grid button.is-selected {
  background: linear-gradient(135deg, #78e8d52c, #2e89821a);
  border-color: #bdffef;
  box-shadow:
    inset 0 1px 0 #dcfff42e,
    0 0 18px #6fe7d71c;
}
.remix-studio-page .discovery-hint {
  margin: 12px 0;
  font-size: 12px;
}
.discovery-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 24px;
}
.discovery-chips button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #b7f8ed38;
  border-radius: 24px;
  background: #153d43;
  color: #def5ed;
  font:
    12px Inter,
    sans-serif;
  cursor: pointer;
}
.discovery-chips button:hover {
  border-color: #bbffed;
  background: #235752;
}
.discovery-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.discovery-heading span {
  font-size: 11px;
  color: #b4d5d1;
}
.remix-studio-page .discovery-recommendations {
  border-top: 1px solid var(--lab-line);
  padding: 22px 0;
  margin: 0;
}
.remix-studio-page .discovery-recommendations > p {
  font-size: 12px;
  margin: 10px 0 16px;
}
#discoveryRecommendationList {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
#discoveryRecommendationList article {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #b7f8ed21;
  min-width: 0;
}
#discoveryRecommendationList article > div {
  min-width: 0;
}
#discoveryRecommendationList strong {
  color: #f1fff8;
  font-size: 13px;
  display: block;
  overflow-wrap: anywhere;
}
.remix-studio-page #discoveryRecommendationList p {
  font-size: 12px;
  margin: 4px 0;
}
#discoveryRecommendationList small {
  font-size: 11px;
  color: #b8e9d9;
  line-height: 1.5;
  display: block;
}
#discoveryRecommendationList button {
  flex-shrink: 0;
}
.discovery-results-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--lab-line);
}
.discovery-results-toolbar label {
  display: grid;
  gap: 6px;
  min-width: 170px;
}
.discovery-more {
  margin: 20px 0 4px;
  width: 100%;
}
@media (max-width: 600px) {
  .remix-studio-page .remix-main::before {
    top: 490px;
    left: 0;
    width: 100%;
    height: 460px;
  }
  #discoveryRecommendationList {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .discovery-heading {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }
  .discovery-results-toolbar label {
    min-width: 0;
    width: 100%;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .remix-studio-page .remix-panel,
  .remix-studio-page .studio-timeline {
    background: #10363b;
  }
}
