[data-bio-demo-open] { touch-action: manipulation; }
html:has(.bioDemoDialog[open]) { overflow: hidden; }
.bioListenSheet.bioDemoDialog, #bio-demo-share { font-family: var(--demo-form-font, inherit); }
.bioListenSheet.bioDemoDialog {
  background:
    radial-gradient(ellipse at 12% 0%, #9380cd38 0%, transparent 57%),
    radial-gradient(ellipse at 100% 6%, #c8af7c26 0%, transparent 51%),
    var(--bio-bg);
  color: var(--bio-text);
  color-scheme: normal;
}
.bioListenSheet.bioDemoDialog[data-demo-form-colors] {
  background: var(--bio-bg);
  border-color: color-mix(in srgb, currentColor 16%, transparent);
}
.bioDemoDialog .bioListenGrip > span,
.bioDemoDialog .bioListenClose { background: color-mix(in srgb, currentColor 13%, transparent); }
.bioDemoDialog .bioListenClose { color: inherit; font-family: inherit; }
.bioDemoDialog .bioListenClose:hover { background: color-mix(in srgb, currentColor 23%, transparent); }
.bioDemoDialog .bioListenContent { flex: 1; min-height: 0; min-width: 0; overflow-x: hidden; scroll-padding-block: 12px; }
.bioListenSheet.bioDemoDialog[data-keyboard] {
  inset-block: var(--demo-viewport-top) auto;
  margin-block: 0;
  /* iOS can draw its form navigation bar over the visible viewport. */
  --demo-keyboard-clearance: 56px;
  height: max(0px, calc(var(--demo-viewport-height) - var(--demo-keyboard-clearance)));
  max-height: none;
}
/* Keep the Bio out of the keyboard's translucent area, including in iOS webviews. */
.bioShell:has(.bioDemoDialog[open][data-keyboard]) { visibility: hidden; }
.bioListenSheet.bioDemoDialog[open][data-keyboard] { visibility: visible; }
.bioListenSheet.bioDemoDialog[data-keyboard]::backdrop {
  background: var(--bio-bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  animation: none;
}
.bioDemoDialog .bioListenContent:has([data-demo-wizard]),
.bioDemoDialog #bio-demo-body:has([data-demo-wizard]),
.bioDemoForm[data-demo-wizard],
.bioDemoForm[data-demo-wizard] .demoFormCard,
.bioDemoForm[data-demo-wizard] form {
  display: flex; flex: 1; flex-direction: column; min-height: 0;
}
.bioDemoDialog .bioListenContent:has([data-demo-wizard]) { overflow: hidden; padding-bottom: 0; }
.bioDemoSlideScroll {
  display: flex; flex: 1; flex-direction: column; min-height: 0;
  overflow-y: auto; overscroll-behavior: contain;
  margin-inline: -5px; padding: 5px 5px 0;
}
.bioDemoSlideScroll > .grid { flex: none; align-content: start; padding-bottom: 14px; }
.bioDemoForm[data-demo-wizard] [data-demo-slide-hidden],
.bioDemoForm[data-demo-wizard] [data-demo-step="submit"] > .demoActions { display: none !important; }
.bioDemoSlideNav {
  display: flex; flex: none; justify-content: space-between; gap: 10px; margin-top: auto;
  padding-block: 10px max(14px, env(safe-area-inset-bottom));
}
.bioDemoSlideNav button:last-of-type:not([hidden]),
.bioDemoSlideNav button:nth-child(2) { margin-inline-start: auto; }
.bioDemoDialog[data-keyboard] .bioDemoSlideScroll {
  padding-block-end: clamp(28px, calc(var(--demo-viewport-height) - 260px), 240px);
}
.bioDemoDialog .bioListenGrip { min-height: 74px; }
.bioDemoHeaderActions {
  position: absolute; inset-block-start: 22px; inset-inline-end: 14px;
  display: flex; align-items: center; gap: 10px;
}
.bioDemoHeaderActions .bioListenClose { position: static; width: 44px; height: 44px; }
.bioDemoHeaderActions .bioShareButton {
  box-sizing: border-box; min-width: 44px; height: 44px;
  justify-content: center; white-space: nowrap;
}
.bioDemoHeaderActions .bioShareButton:hover { background: color-mix(in srgb, currentColor 16%, transparent); }
@media (max-width: 350px) {
  .bioDemoHeaderActions .bioShareButton { width: 44px; padding: 0; }
  .bioDemoShareLabel { display: none; }
}
.bioDemoDialog:has(.bioDemoSuccess) .bioDemoHeaderActions .bioShareButton { display: none; }
.bioDemoHeading { margin-bottom: 20px; }
.bioDemoHeading h2 { margin: 0; }
.bioDemoForm {
  --demo-surface: color-mix(in srgb, var(--bio-bg) 88%, var(--bio-text));
  --demo-edge: color-mix(in srgb, var(--bio-text) 23%, transparent);
  color: var(--bio-text);
  text-align: start;
  min-width: 0;
  overflow-wrap: anywhere;
}
.bioDemoForm [hidden] { display: none !important; }
.bioDemoForm .grid,
.bioDemoForm .demoTrackSet,
.bioDemoForm [data-demo-tracks],
.bioDemoForm label,
.bioDemoForm .aiDetails { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; min-width: 0; }
.bioDemoForm .grid,
.bioDemoForm [data-demo-tracks] { gap: 18px; }
.bioDemoForm fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.bioDemoForm legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.bioDemoForm .fieldTitle { font-size: .9rem; font-weight: 600; }
.bioDemoForm small { font-size: .82rem; line-height: 1.4; }
.bioDemoForm :where(input:not([type=checkbox],[type=radio],[type=file])):is(ci-spec.ci-spec,*),.bioDemoForm :where(select):is(ci-spec.ci-spec,*),.bioDemoForm :where(textarea):is(ci-spec.ci-spec,*) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--demo-edge);
  background: var(--demo-field-bg, var(--demo-surface));
  color: var(--demo-field-ink, inherit);
  font: inherit;
  font-size: max(16px, 1em);
}
.bioDemoForm :where(input:not([type=checkbox],[type=radio],[type=file])):is(ci-spec.ci-spec,*),.bioDemoForm :where(select):is(ci-spec.ci-spec,*) { border-radius: 999px; }
.bioDemoForm textarea { border-radius: 14px; line-height: 1.45; resize: vertical; }
.bioDemoForm :where(.aiDisclosure):is(.ci-spec,*) input,.bioDemoForm :where(.demoRepresentativeChoice):is(.ci-spec,*) input { font-family: inherit; }
.bioDemoForm .demoFormatSelect { display: block; position: relative; }
.bioDemoForm select { appearance: none; padding-inline-end: 36px; }
.bioDemoForm option { background: var(--demo-field-bg, var(--bio-bg)); color: var(--demo-field-ink, var(--bio-text)); }
.bioDemoForm .demoFormatChevron {
  position: absolute; inset-inline-end: 15px; top: 50%;
  transform: translateY(-50%); width: 16px; fill: none;
  stroke: currentColor; stroke-width: 1.5; pointer-events: none;
}
.bioDemoForm button {
  border: 1px solid transparent; border-radius: 999px; padding: 10px 15px;
  background: var(--demo-action-bg, var(--bio-text)); color: var(--demo-action-ink, var(--bio-bg)); font: inherit; font-weight: 500; cursor: pointer;
}
.bioDemoForm button.secondary {
  background: var(--demo-surface); border-color: var(--demo-edge); color: inherit; font-size: .85rem;
}
.bioDemoForm button[aria-pressed="true"] { background: var(--demo-action-bg, var(--bio-text)); color: var(--demo-action-ink, var(--bio-bg)); }
.bioDemoForm button:disabled { opacity: .55; cursor: default; }
.bioDemoForm button:not(:disabled):hover { box-shadow: inset 0 0 0 2px var(--demo-edge); }
.bioDemoForm :where(input):is(ci-spec,*):focus-visible,.bioDemoForm :where(textarea):is(ci-spec,*):focus-visible,.bioDemoForm :where(select):is(ci-spec,*):focus-visible,.bioDemoForm :where(button):is(ci-spec,*):focus-visible { outline: 2px solid var(--bio-text); outline-offset: 2px; }
.bioDemoForm .trap,
.bioDemoForm .demoFileInput { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
.bioDemoForm .demoFilePicker {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 44px;
  padding: 6px; border: 1px solid var(--demo-edge); border-radius: 18px;
}
.bioDemoForm .demoFileName { flex: 1 1 100px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bioDemoForm :where(.demoAudioFormat):is(.ci-spec,*),.bioDemoForm :where(.demoReviewAudioFormat):is(.ci-spec,*),.bioDemoForm :where(.demoReviewProfileStatus):is(.ci-spec,*),.bioDemoForm :where(.demoArtistProfileStatus):is(.ci-spec,*) {
  display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 3px 8px;
  background: var(--demo-surface); color: inherit; font-size: .8rem;
}
.bioDemoForm .demoReviewProfileStatus.demoArtistProfileStatus {
  background: #d6efdf;
  color: #24563a;
}
.bioDemoForm :where(.spotifyMatchActions):is(.ci-spec,*),.bioDemoForm :where(.demoGenrePills):is(.ci-spec,*),.bioDemoForm :where(.demoTrackControls):is(.ci-spec,*),.bioDemoForm :where(.demoReviewAudio):is(.ci-spec,*),.bioDemoForm :where(.aiChoiceRow):is(.ci-spec,*),.bioDemoForm :where(.aiUses):is(.ci-spec,*) {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 8px;
}
.bioDemoForm :where(.aiChoiceRow label):is(ci-spec.ci-spec,*),.bioDemoForm :where(.aiUses label):is(ci-spec.ci-spec,*),.bioDemoForm :where(.demoRepresentativeChoice):is(ci-spec.ci-spec,*) {
  display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer;
}
.bioDemoForm .demoRepresentativeChoice { margin-top: 12px; }
.bioDemoForm :where(.demoRepresentativeChoice input):is(ci-spec.ci-spec,*),.bioDemoForm :where(.aiChoiceRow input):is(ci-spec.ci-spec,*),.bioDemoForm :where(.aiUses input):is(ci-spec.ci-spec,*) {
  box-sizing: border-box; width: 16px; height: 16px; flex: 0 0 16px; margin: 0; padding: 0;
  cursor: pointer;
}
.bioDemoForm .demoRepresentativeChoice input { accent-color: var(--demo-action-bg, var(--bio-text)); }
.bioDemoForm :where(.spotifyMatch):is(.ci-spec,*),.bioDemoForm :where(.aiDisclosure):is(.ci-spec,*) {
  padding: 12px; border: 1px solid var(--demo-edge); border-radius: min(18px, var(--bio-radius, 18px));
}
.bioDemoForm .demoArtistRow {
  display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 8px;
  padding: 10px 0; border-bottom: 1px solid var(--demo-edge);
}
.bioDemoForm .demoArtistRow .spotifyMatchActions,
.bioDemoForm .demoArtistResults { grid-column: 2 / -1; margin: 0; }
.bioDemoForm .demoArtistResults .demoArtistSearchHint { margin: 8px 3px 4px; font-size: .85rem; }
.bioDemoForm .demoArtistResults button { display: inline-flex; align-items: center; gap: 5px; margin: 3px; }
.bioDemoForm .demoArtistAvatar {
  display: grid; width: 32px; height: 32px; place-items: center;
  overflow: hidden; border-radius: 50%; background: var(--demo-surface);
}
.bioDemoForm .demoArtistAvatar img { width: 100%; height: 100%; object-fit: cover; }
.bioDemoForm .demoArtistResults img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.bioDemoForm .demoNextStep { opacity: .55; filter: blur(.65px); pointer-events: none; }
.bioDemoForm .demoNextStep i { display: block; margin-top: 6px; height: 44px; border-radius: 999px; background: var(--demo-surface); }
.bioDemoBranding {
  display: flex; flex: none; align-items: center; gap: 10px;
  margin-bottom: 14px; font-size: .9rem; font-weight: 500;
}
.bioDemoBranding p { margin: 0; line-height: 1.3; }
.bioDemoBranding .labelLogo { flex: none; }
.bioDemoBranding img { display: block; width: 36px; height: 36px; object-fit: contain; border-radius: 8px; }
.bioDemoDialog[data-keyboard] .bioDemoBranding { display: none; }
.bioDemoToolbar {
  display: flex; flex: none; align-items: center; gap: 10px;
  margin-bottom: 14px; min-width: 0;
}
.bioDemoToolbar .bioDemoBranding { flex: 1 1 auto; min-width: 0; margin: 0; }
.bioDemoDialog[data-keyboard] .bioDemoToolbar { display: none; }
.bioDemoToolbar .demoReturningShortcut {
  display: inline-flex; flex: none; align-items: center; min-height: 38px;
  padding: 6px 12px; border: 1px solid var(--demo-edge); border-radius: 999px;
  color: inherit; font-size: .8125rem; font-weight: 500; line-height: 1.3;
  text-decoration: none; white-space: nowrap;
}
.bioDemoToolbar .demoReturningShortcut:hover { background: var(--demo-surface); }
.bioDemoToolbar .demoReturningShortcut:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.bioDemoForm .demoCompletion { margin-bottom: 18px; }
.bioDemoForm .demoCompletionLabel { text-align: end; margin-top: 4px; font-size: .8rem; }
.bioDemoForm :where(.demoCompletionTrack):is(.ci-spec,*),.bioDemoForm :where(.audioProgressTrack):is(.ci-spec,*) {
  height: 5px; border-radius: 999px; background: var(--demo-edge); overflow: hidden;
}
.bioDemoForm :where(.demoCompletionTrack):is(.ci-spec,*) span,.bioDemoForm :where(.audioProgressTrack):is(.ci-spec,*) span {
  display: block; width: 0; height: 100%; background: var(--demo-progress, var(--bio-text));
}
.bioDemoForm .demoReview {
  box-sizing: border-box; width: min(560px, calc(100% - 24px)); max-height: 90dvh; overflow: auto;
  border: 1px solid var(--demo-edge); border-radius: var(--bio-radius, 20px);
  background: var(--bio-bg); color: var(--bio-text); padding: clamp(14px, 4vw, 26px);
  text-align: start; font: inherit;
}
.bioDemoForm .demoReview::backdrop { background: rgb(0 0 0 / .55); backdrop-filter: blur(6px); }
.bioDemoForm :where(.demoReviewHead):is(.ci-spec,*),.bioDemoForm :where(.demoReviewRow):is(.ci-spec,*),.bioDemoForm :where(.audioProgressMeta):is(.ci-spec,*) {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap;
}
.bioDemoForm .demoReviewRow { margin: 14px 0; }
.bioDemoForm .demoReviewProfiles { list-style: none; padding: 0; }
.bioDemoForm .demoReviewProfiles li {
  display: grid; align-items: center; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 8px;
  padding: 7px 0; overflow-wrap: anywhere;
}
.bioDemoForm .demoReviewIdentity span { display: block; font-size: .85rem; }
.bioDemoForm .demoEmailField { grid-column: 1 / -1; }
.bioDemoForm .demoEmailUse {
  margin: 8px 0 0;
  color: color-mix(in srgb, currentColor 80%, transparent);
  font-size: .85rem;
  font-weight: 400;
  line-height: 1.5;
}
.bioDemoForm .demoEmailUse > a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.bioDemoForm .demoActions { display: flex; justify-content: end; margin-top: 15px; }
.bioDemoForm h3 { margin: 0; }
@media (max-width: 480px) {
  .bioDemoForm .demoArtistRow { grid-template-columns: 32px minmax(0, 1fr); }
  .bioDemoForm .demoArtistSubmitter { grid-column: 2; justify-self: start; max-width: 100%; }
  .bioDemoForm .demoReviewProfiles li { grid-template-columns: 32px minmax(0, 1fr); }
  .bioDemoForm .demoReviewProfileStatus { grid-column: 2; justify-self: start; }
}
.bioDemoForm .demoArtistSubmitterCheck { margin-inline-start: .45em; }
.bioDemoForm button[aria-pressed="false"] .demoArtistSubmitterCheck,
.bioDemoForm .demoArtistResults:empty,
.bioDemoForm [data-demo-artist-feedback]:empty,
.bioDemoForm [data-demo-audio-feedback]:not(:has(:not([hidden]))) { display: none; }

.bioDemoSlideNav button:nth-child(2) {
  transition: opacity .2s ease, transform .18s ease;
}
.bioDemoSlideNav button:nth-child(2):enabled:active { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .bioDemoSlideNav button:nth-child(2) { transition: none; }
  .bioDemoSlideNav button:nth-child(2):enabled:active { transform: none; }
}

.bioDemoDialog .bioListenContent:has(.bioDemoSuccess) > .bioDemoHeading { display: none; }
.bioDemoSuccess {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(28px, 8vw, 48px) 12px;
  text-align: center;
}
.bioDemoSuccess .labelLogo { margin-bottom: 8px; }
.bioDemoSuccess .labelLogo img {
  display: block;
  max-width: min(180px, 100%);
  max-height: 68px;
  object-fit: contain;
  border-radius: 16px;
}
.bioDemoSuccessMark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bio-text);
  color: var(--bio-bg);
}
.bioDemoSuccessMark svg { width: 26px; height: 26px; }
.bioDemoSuccess p { margin: 0; }
.bioDemoSuccess .bioDemoSuccessEyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.bioDemoSuccess h3 { font-size: clamp(28px, 7vw, 40px); line-height: 1.1; }
.bioDemoSuccessMessage {
  max-width: 34ch;
  line-height: 1.5;
  color: color-mix(in srgb, var(--bio-text) 78%, var(--bio-bg));
}
@media (prefers-reduced-motion: no-preference) {
  .bioDemoSuccess { animation: bio-demo-success-in .42s ease-out both; }
  .bioDemoSuccessMark path {
    stroke-dasharray: 1;
    animation: bio-demo-check-in .42s .16s ease-out both;
  }
}
@keyframes bio-demo-success-in {
  from { opacity: 0; transform: translateY(8px); }
}
@keyframes bio-demo-check-in {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

.bioDemoDialog .bioDemoForm[hidden] { display: none !important; }
.bioDemoLoading {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.bioDemoLoading > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: bioDemoLoadingPulse 1s ease-in-out infinite;
}
.bioDemoLoading > i:nth-child(2) { animation-delay: .14s; }
.bioDemoLoading > i:nth-child(3) { animation-delay: .28s; }
@keyframes bioDemoLoadingPulse {
  0%, 70%, 100% { opacity: .25; transform: translateY(0); }
  35% { opacity: 1; transform: translateY(-5px); }
}
@media (prefers-reduced-motion: reduce) {
  .bioDemoLoading > i { animation: none; opacity: .7; }
}
