/* Suno controls use the same workspace and Audio tokens as the composer. */
.app-shell[data-workflow="audio"] { --suno-control-height: 34px; --suno-field-height: 44px; }

.suno-audio-source audio,
.suno-audio-timestamps audio,
.suno-audio-video {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.suno-audio-source-fields {
  min-width: 0;
}

.suno-audio-interval {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.suno-audio-check,
.suno-audio-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.suno-audio-check {
  min-height: var(--suno-field-height, 44px);
  flex-wrap: nowrap;
}

.suno-audio-check input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--workflow-accent-audio);
}

.suno-audio-check small,
.suno-audio-result .suno-audio-source span {
  display: block;
}

.suno-audio-source-fields input[type="file"] {
  width: 100%;
  max-width: 100%;
}

.suno-audio-stem {
  border-bottom: 1px solid var(--workspace-line);
}

.suno-audio-stem summary {
  min-height: var(--suno-field-height, 44px);
  padding: 8px 0;
  align-content: center;
  cursor: pointer;
}

.suno-audio-stem summary small {
  margin-inline-start: 8px;
  color: var(--workspace-muted);
}

.suno-audio-stem-group h4 {
  margin: 8px 0 2px;
}

.suno-audio-art {
  margin: 0;
}

.suno-audio-art img {
  display: block;
  width: min(360px, 100%);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--workspace-bg-soft);
  border-radius: 12px;
}

.suno-audio-words {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}

.suno-audio-words button {
  min-height: var(--suno-control-height, 34px);
  min-width: var(--suno-control-height, 34px);
  overflow-wrap: anywhere;
}

.suno-audio-words .is-current {
  color: var(--workspace-accent-text);
  border-color: var(--workspace-accent-line);
  background: var(--workspace-accent-soft);
}

@media (max-width: 360px) {
  .suno-audio-interval { grid-template-columns: minmax(0, 1fr); }
}

.app-shell .workspace > .suno-audio-toolbar[hidden],
.suno-audio-toolbar [hidden],
#sunoAudioSettings [hidden],
#sunoAudioSettings[hidden],
.suno-audio-result [hidden] {
  display: none !important;
}

.app-shell[data-workflow="audio"] .workspace > .suno-audio-toolbar:not([hidden]) {
  --workflow-indicator-accent: var(--workflow-accent-audio);
  --tab-accent: var(--workflow-accent-audio);
  --suno-task-hit-size: 2rem;
  --suno-task-arrow-size: 2rem;
  position: absolute;
  --suno-toolbar-inline-size: calc(var(--workspace-content-area-width, 100%) - 24px);
  inset: var(--suno-toolbar-top, 66px) auto auto var(--workspace-content-axis-x, 50%);
  transform: translateX(-50%);
  z-index: 10;
  width: max-content;
  max-width: var(--suno-toolbar-inline-size);
  height: auto;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 3px 4px;
}

@media (min-width: 768px) and (max-width: 920px) {
  .app-shell[data-workflow="audio"] .workspace > .suno-audio-toolbar:not([hidden]) {
    --suno-toolbar-inline-size: calc(var(--workspace-content-area-width, 100%) - 64px);
  }
}

.app-shell[data-workflow="audio"] .workspace > .suno-audio-toolbar[data-overflowing]:not([hidden]) {
  grid-template-columns: var(--suno-task-arrow-size) minmax(0, 1fr) var(--suno-task-arrow-size);
}

.app-shell[data-workflow="audio"] .workspace:has(> .suno-audio-toolbar:not([hidden])) .sent-thread {
  top: var(--suno-toolbar-bottom, 106px);
  --sent-thread-top-safe: 10px;
}

.suno-audio-task-scroll {
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border-radius: 999px;
}

.suno-audio-task-scroll::-webkit-scrollbar { display: none; }

.suno-audio-task-row {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: max-content;
}

.app-shell .suno-audio-toolbar .workflow-switcher-tab {
  flex: 0 0 auto;
  flex-direction: row;
  justify-content: center;
  min-height: var(--suno-task-hit-size);
  height: auto;
  padding: 2px 11px;
  font-size: .8125rem;
  line-height: 1.2;
  white-space: nowrap;
  border: 0;
  border-radius: 999px;
}

.app-shell .suno-audio-toolbar .workflow-switcher-tab:focus-visible {
  box-shadow: inset 0 0 0 1.5px hsl(190 15% 75% / .44);
}

.suno-audio-toolbar .workflow-switcher-tab[aria-current="true"],
.suno-audio-toolbar .workflow-switcher-tab[aria-expanded="true"] {
  color: var(--workspace-text);
}

.app-shell .suno-audio-toolbar .workflow-switcher-indicator {
  display: block;
  inset-block: 0;
}

.app-shell .suno-audio-toolbar .suno-audio-scroll-button {
  width: var(--suno-task-arrow-size);
  padding: 0;
}

.app-shell .suno-audio-toolbar .suno-audio-scroll-button svg {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  stroke: currentColor;
}

.suno-audio-toolbar .suno-audio-scroll-button[aria-disabled="true"],
.suno-audio-toolbar .workflow-switcher-tab[aria-disabled="true"] {
  opacity: .45;
}

.app-shell[data-workflow="audio"] #composerModelPopover .suno-model-families {
  display: grid;
  gap: 8px;
}

.suno-audio-music-version {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.suno-audio-result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.suno-audio-result-actions .quiet-button,
#sunoAudioSettings button {
  white-space: normal;
  overflow-wrap: anywhere;
}
.suno-audio-result-actions .quiet-button { min-height: var(--suno-control-height, 44px); }
#sunoAudioSettings button { min-height: var(--suno-control-height); }

#sunoAudioSettings {
  min-width: 0;
  border-top: 1px solid var(--settings-border-mid);
  padding-top: 12px;
}

#sunoAudioTitle {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.suno-audio-body { min-width: 0; overflow-wrap: anywhere; }
.suno-audio-header,
[data-suno-panel-navigation],
.suno-audio-helper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.suno-audio-header { justify-content: space-between; gap: 8px 12px; margin-bottom: 10px; }
[data-suno-panel-navigation]:empty { display: none; }
.suno-audio-lead { color: var(--settings-text-muted, var(--workspace-muted)); }
.suno-audio-operation-title { margin: 8px 0 4px; font-size: .94rem; }
#sunoAudioSettings audio { width: 100%; min-width: 0; }
#sunoAudioSettings .suno-audio-settings { margin-top: 4px; padding: 0; }
#sunoAudioSettings .quiet-button {
  max-width: 100%;
  min-height: var(--suno-control-height);
  padding-block: 3px;
  text-align: start;
}
#sunoAudioSettings .suno-audio-check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--suno-control-height);
  color: var(--workspace-text);
}
#sunoAudioSettings .suno-audio-check > span { color: inherit; }
#sunoAudioSettings :is(.suno-audio-check, .suno-audio-interval label, .suno-audio-step) > span,
.app-shell #sunoAudioSettings .suno-audio-tool > span {
  display: block;
}
.app-shell #modelPicker .model-family-versions[hidden] { display: none !important; }
.app-shell #modelPicker .model-family-version[hidden] { display: none !important; }
.app-shell #modelPicker [data-music-task="false"] .model-family-chevron,
.app-shell #modelPicker [data-music-task="false"] .model-family-copy > span { display: none; }
.suno-audio-tool[aria-disabled="true"] { cursor: default; }
#sunoAudioSettings [data-suno-open="catalog"] { color: var(--workspace-muted); }
#sunoAudioSettings [aria-invalid="true"] { border-color: var(--error, #ed9282); }
#sunoAudioSettings [role="alert"] { color: #ffb4a6; }

.suno-audio-body p { margin: 0 0 12px; }
.suno-audio-body > :last-child { margin-bottom: 0; }

.suno-audio-group h3 {
  margin: 12px 0 4px;
  font-size: .82rem;
  color: var(--workspace-muted, #b3b9bc);
}
.suno-audio-group ul { list-style: none; padding: 0; margin: 0; }
.suno-audio-group li + li { border-top: 1px solid var(--workspace-line, #303639); }
.suno-audio-tool {
  display: grid;
  width: 100%;
  gap: 4px;
  align-items: start;
  padding: 9px 6px;
  color: inherit;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.suno-audio-tool:hover,
.suno-audio-tool:focus-visible { background: var(--workspace-bg-soft, #202528); }
.suno-audio-tool > span,
.suno-audio-tool small {
  display: block;
  color: var(--workspace-muted, #b3b9bc);
  margin-top: 4px;
}
.suno-audio-process-actions ul { display: grid; gap: 6px; }
.suno-audio-process-actions li + li { border-top: 0; }
.suno-audio-process-actions .suno-audio-tool {
  border: 1px solid var(--workspace-line);
  padding-inline: 10px;
}

#sunoAudioSettings .audio-text-field,
.suno-audio-result .audio-text-field {
  display: grid;
  min-width: 0;
  margin: 0 0 8px;
}

#sunoAudioSettings .audio-text-field > span,
.suno-audio-result .audio-text-field > span { justify-content: space-between; }
#sunoAudioSettings .audio-text-field > small { color: var(--workspace-muted, #b3b9bc); }
#sunoAudioSettings .audio-text-field input,
#sunoAudioSettings .audio-text-field select,
.suno-audio-result select,
.suno-audio-result textarea {
  max-width: 100%;
  min-width: 0;
  min-height: var(--suno-field-height, 44px);
}
#sunoAudioSettings textarea,
.suno-audio-result textarea { resize: vertical; max-width: 100%; }
.suno-audio-settings { gap: 8px; }
.suno-audio-weights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.suno-audio-details { margin-bottom: 8px; }
.suno-audio-details summary { min-height: var(--suno-field-height, 44px); align-content: center; cursor: pointer; }
.suno-audio-state,
.suno-audio-source {
  padding: 10px 12px;
  background: var(--workspace-bg-soft, #1b2023);
  border: 1px solid var(--workspace-line, #303639);
  border-radius: 10px;
}
.suno-audio-source { display: grid; gap: 4px; margin-bottom: 10px; }
.suno-audio-source span,
.suno-audio-source small,
.suno-audio-result-head > span { color: var(--workspace-muted, #b3b9bc); }

.app-shell #generationForm.suno-composer-active {
  --suno-prompt-inset: 0px;
}

.app-shell #generationForm.suno-composer-active #promptInput,
#sunoAudioPromptHeader {
  padding-inline: var(--suno-prompt-inset, 0px);
}

#sunoAudioPromptHeader:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 10px;
}

#sunoAudioPromptHeader label { color: var(--workspace-text); font-size: .9rem; font-weight: 600; }
#sunoAudioHelperHint:not([hidden]) {
  margin: 0;
  padding-inline: var(--suno-prompt-inset);
  color: var(--workspace-muted);
  font-size: .85rem;
}
.suno-audio-assistant { display: grid; gap: 5px; }
.suno-audio-assistant small { color: var(--workspace-muted); }
.suno-audio-section { border-top: 1px solid var(--settings-border-mid); padding-top: 10px; }
.suno-audio-section h3 { margin: 0 0 6px; font-size: .9rem; }
.suno-audio-section .suno-audio-range + .suno-audio-range { margin-top: 8px; }
.suno-audio-range { display: grid; gap: 2px; }
.suno-audio-range-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.suno-audio-range-head label { flex: 1 1 auto; }
.suno-audio-range output { color: var(--workspace-text); font-variant-numeric: tabular-nums; }
.suno-audio-range input { width: 100%; min-width: 0; margin: 0; accent-color: var(--workflow-accent-audio); }
.suno-audio-range [aria-pressed="true"] {
  border-color: var(--settings-accent-border);
  background: var(--settings-accent-soft);
}
.suno-audio-range-limits { display: flex; justify-content: space-between; color: var(--workspace-muted); }
.suno-audio-range input:focus-visible {
  outline: 2px solid var(--settings-accent-border);
  outline-offset: 2px;
}

#sunoAudioComposerSources:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
  gap: 8px;
  margin: 0 0 8px;
}

#sunoAudioComposerSources .suno-audio-source-fields {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 6px 10px;
  border: 1px solid var(--workspace-line);
  border-radius: 12px;
  overflow-wrap: anywhere;
}

#sunoAudioComposerSources .suno-audio-source { padding: 0; border: 0; background: transparent; margin: 0; }
#sunoAudioComposerSources .suno-audio-source-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
}
#sunoAudioComposerSources .suno-audio-source-heading > * { min-width: 0; }
#sunoAudioComposerSources .quiet-button {
  min-height: var(--suno-control-height);
  min-width: var(--suno-control-height);
  white-space: normal;
}
#sunoAudioComposerSources small { color: var(--workspace-muted); }
#sunoAudioComposerSources .suno-audio-source-action { color: var(--workspace-accent-text); }
#sunoAudioComposerSources select {
  width: 100%;
  min-width: 0;
  min-height: var(--suno-field-height, 44px);
  padding-inline: 8px;
  border: 1px solid var(--workspace-line);
  border-radius: 8px;
  background: var(--workspace-bg-soft);
  color: var(--workspace-text);
  font: inherit;
}
#sunoAudioComposerSources [role="alert"] { color: #ffb4a6; margin: 0; }

.suno-audio-result {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}
.suno-audio-result-head { display: grid; gap: 4px; margin-bottom: 8px; }
.suno-audio-result-actions { margin: 6px 0 12px; }
[data-suno-track-actions] { display: contents; }
.suno-audio-track-menu { min-width: 0; max-width: 100%; }
.suno-audio-track-menu[open] { flex-basis: 100%; }
.suno-audio-track-menu > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--suno-control-height, 44px);
  min-height: var(--suno-control-height, 44px);
  list-style: none;
  cursor: pointer;
}
.suno-audio-track-menu > summary::-webkit-details-marker { display: none; }
.suno-audio-track-menu-content {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 6px;
}
.suno-audio-result .assistant-audio-result { min-width: 0; }
.suno-audio-result audio { max-width: 100%; min-width: 0; }
.suno-audio-cover { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; }
#sunoAudioComposerSummary:not([hidden]) {
  width: fit-content;
  max-width: 100%;
  min-height: var(--suno-control-height, 34px);
  padding: 4px 12px;
  margin-bottom: 4px;
  color: var(--workspace-text);
  border: 1px solid var(--workspace-line);
  border-radius: 12px;
  background: var(--workspace-bg-soft, #282d2f);
  font: inherit;
  font-size: .875rem;
  line-height: 1.3;
  text-align: start;
  white-space: normal;
  overflow-wrap: anywhere;
}

#sunoAudioComposerSummary:not([hidden])::after {
  content: " ›";
  color: var(--workspace-accent-text);
}
#sunoAudioTrackType .audio-setting-group {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 6px;
}
#sunoAudioTrackType .audio-setting-group legend {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
#sunoAudioTrackType .audio-choice-grid button {
  min-height: var(--suno-control-height);
  color: var(--workspace-text);
  white-space: normal;
}

.app-shell #generationForm.suno-composer-active .send-button:has(#sunoAudioSubmitLabel:not([hidden])) {
  width: auto;
  height: auto;
  min-height: var(--suno-control-height);
  min-width: 0;
  max-width: 100%;
  gap: 1px;
  padding: 3px 12px;
  font: inherit;
  font-size: .85rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

#sunoAudioSubmitLabel:not([hidden]) ~ svg { display: none; }
.app-shell #generationForm.suno-composer-active #submitButton:not(:disabled) #sunoAudioSubmitLabel {
  color: #25160e;
}
.app-shell .suno-composer-active [hidden],
.app-shell :is(#sunoAudioToolbar, #submitButton, #sunoAudioComposerSummary, #sunoAudioSettings,
    #sunoAudioSettingsClose, #sunoAudioSubmitLabel)[hidden] { display: none !important; }

.app-shell .workspace > #settingsPanel.is-suno-sheet:not(.hidden) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  transform: none !important;
  opacity: 1;
  pointer-events: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-block: 62px 16px;
}

#sunoAudioSettingsClose:not([hidden]) {
  display: inline-flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1;
  justify-self: end;
  min-height: var(--suno-control-height, 34px);
  min-width: var(--suno-control-height, 34px);
  padding: 4px 12px;
  color: var(--workspace-text);
  border: 1px solid var(--workspace-line);
  border-radius: 12px;
  background: var(--workspace-bg, #232729);
}

@media (min-width: 768px) and (max-width: 1180px) {
  .app-shell .workspace > #settingsPanel.is-suno-sheet:not(.hidden) {
    position: fixed;
    inset: 12px 12px auto auto;
    z-index: 56;
    width: min(420px, calc(100vw - 24px));
    max-height: calc(100dvh - 24px);
    background: var(--workspace-bg, #232729);
    border-radius: 16px;
  }
}

@media (pointer: coarse), (max-width: 767px) {
  .app-shell[data-workflow="audio"] .workspace > .suno-audio-toolbar:not([hidden]) {
    --suno-task-hit-size: max(44px, 2rem);
    --suno-task-arrow-size: 44px;
  }
  .app-shell[data-workflow="audio"] #composerModelPopover .model-family-version {
    min-height: 44px;
  }
}

@media (max-width: 767px), (max-height: 500px) and (pointer: coarse) and (max-width: 1024px) {
  .app-shell[data-workflow="audio"] { --suno-control-height: 44px; --suno-field-height: 44px; }
  .app-shell #generationForm.suno-composer-active {
    --suno-prompt-inset: 6px;
  }
  .app-shell #generationForm.suno-composer-active #submitButton::before { inset-block: 4px; }
  .suno-audio-range input { min-height: 28px; }
  .app-shell:has(.suno-composer-active) #aidkaMobileButton:not([hidden]) {
    top: max(env(safe-area-inset-top, 0px), calc((var(--mobile-header-height, 56px) - 44px) / 2));
    left: auto;
    right: max(8px, env(safe-area-inset-right, 0px));
    width: 44px;
    height: 44px;
  }
  .app-shell:has(.suno-composer-active) #aidkaMobileButton .aidka-character {
    width: 40px !important;
    height: 40px !important;
  }
  .app-shell:has(.suno-composer-active) #aidkaMobileButton .aidka-invitation { left: auto; right: 52px; }
  .app-shell:has(.suno-composer-active) #aidkaMobileButton .aidka-invitation-tail {
    left: auto;
    right: -17px;
    transform: rotate(-90deg);
  }
  .app-shell:has(.suno-composer-active):has(#aidkaMobileButton:not([hidden])) .workspace > .workspace-header {
    padding-inline-end: max(60px, calc(52px + env(safe-area-inset-right, 0px)));
  }
  .app-shell[data-workflow="audio"] .workspace > .suno-audio-toolbar:not([hidden]) {
    inset-block-start: var(--suno-toolbar-top, calc(var(--mobile-header-height) + 8px));
    --suno-toolbar-inline-size: calc(100% - max(12px, env(safe-area-inset-left)) - max(12px, env(safe-area-inset-right)));
    background:
      radial-gradient(80% 140% at 50% 0%, hsl(190 20% 92% / .08), transparent 58%),
      var(--liquid-glass-bg);
    border: 1px solid var(--liquid-glass-border);
    border-radius: 999px;
  }
  .app-shell[data-workflow="audio"].mobile-keyboard-open .workspace .sent-thread {
    top: var(--mobile-header-height);
  }
  .app-shell[data-workflow="audio"].mobile-keyboard-open .workspace > .suno-audio-toolbar:not([hidden]) {
    display: none !important;
  }
}

@media (max-width: 767px), (max-height: 500px) and (pointer: coarse) and (max-width: 1024px) {
  .app-shell .workspace > #settingsPanel.is-suno-sheet:not(.hidden) {
    position: fixed;
    inset: calc(var(--mobile-viewport-top, 0px) + 12px) max(12px, env(safe-area-inset-right))
      auto max(12px, env(safe-area-inset-left));
    z-index: 56;
    width: auto;
    max-height: calc(var(--mobile-viewport-height, 100dvh) - 24px - env(safe-area-inset-bottom));
    background: var(--workspace-bg, #232729);
    border-radius: 16px;
  }
  #sunoAudioSettings :is(input, textarea, select) { font-size: max(16px, 1em); }
  #sunoAudioSettings .quiet-button { min-height: 44px; }
  .app-shell #generationForm.suno-composer-active .prompt-action-row {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 4px;
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: var(--workspace-bg, #232729);
    border-radius: 12px;
  }
  .app-shell #generationForm.suno-composer-active .composer-main-actions {
    display: flex;
    flex: 0 1 auto;
    flex-wrap: wrap;
    max-width: 100%;
  }
  .app-shell #generationForm.suno-composer-active #submitButton {
    flex: 0 0 auto;
    margin-inline-start: auto;
    overflow-wrap: normal;
  }
  .app-shell #generationForm.suno-composer-active #composerSettingsWrap { display: none; }
  .app-shell:not(.mobile-keyboard-open) .workspace > .composer-wrap:has(> .suno-composer-active) {
    max-height: max(120px, calc(var(--mobile-viewport-height, 100dvh) - var(--suno-toolbar-bottom, 116px)
      - var(--mobile-composer-bottom, 64px) - var(--suno-history-space, 8px)));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .app-shell .suno-audio-result .assistant-audio-result { width: 100%; }
  .app-shell .suno-audio-result audio { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 767px) and (min-height: 500px) and (max-height: 640px) {
  .composer-wrap:has(> .suno-composer-active #sunoAudioComposerSources:not([hidden])) {
    --suno-history-space: 52px;
  }
}

@media (max-width: 360px) {
  .suno-audio-weights { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) and (max-height: 500px) {
  .app-shell[data-workflow="audio"] .workspace:has(> .suno-audio-toolbar:not([hidden])) #promptInput {
    min-height: 0;
    max-height: 1.6em;
    overflow-y: auto;
  }

}

/* Composer row: model/settings chips, attach and mic share the button height. */
.app-shell #generationForm.suno-composer-active .composer-chip-button {
  min-height: var(--suno-control-height);
  opacity: 1;
  color: var(--workspace-muted, #b3b9bc);
}
.app-shell #generationForm.suno-composer-active :is(#attachButton, #voiceMicButton) {
  min-width: var(--suno-control-height);
  min-height: var(--suno-control-height);
}

/* Range labels follow the same small uppercase label style as the other fields. */
.suno-audio-range-head label {
  color: var(--workspace-muted, #b3b9bc);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}
/* "Авто" is on: the slider position is not in use, so it reads as inactive. */
.suno-audio-range:has(.suno-audio-range-head [aria-pressed="true"]) > input[type="range"] { opacity: .45; }

/* Desktop: Suno results use the width of their content, not the fixed 368px of image results.
   Keeps track actions on one row. Mobile keeps its own sizing from mobile.css. */
@media (min-width: 768px) {
  .app-shell[data-workflow="audio"] .sent-message.from-assistant.has-result:has(> .suno-audio-result) {
    width: min(520px, 100%);
    max-width: min(520px, 100%);
  }
}
