/* Full browser application. Shared controls and base styles live in shared.css. */
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #5c67db;
  color: #fff;
  font-weight: 600;
}
.icon-button {
  width: 44px;
  height: 44px;
  padding: 10px;
  display: grid;
  place-items: center;
  background: transparent;
}
h1,
h2 {
  margin: 0;
}
h1 {
  font-size: 23px;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 16px;
}
a {
  text-decoration: none;
}
kbd {
  font:
    11px ui-monospace,
    monospace;
  background: #20232a;
  padding: 2px 5px;
  border-radius: 4px;
  color: var(--muted);
}
input[type="range"] {
  accent-color: #a6aeff;
  height: 44px;
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 208px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  padding: 0 12px;
}
.brand {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  letter-spacing: -0.7px;
  color: var(--text);
  font-weight: 750;
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #5865cf;
  border-radius: 10px;
}
.brand small,
.workspace,
.nav-label,
.sidebar-bottom {
  display: none;
}
.sidebar nav {
  margin-top: 16px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  width: 100%;
  margin-bottom: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
}
.nav-item.selected {
  background: #3c4058;
  color: #fff;
}
.nav-count {
  margin-left: auto;
  font-size: 11px;
}
.app-shell {
  margin-left: 208px;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0 24px;
  gap: 12px;
  background: #222429;
  border-bottom: 1px solid #383b44;
  position: sticky;
  top: 0;
  z-index: 25;
}
.topbar-brand {
  font-size: 14px;
  font-weight: 650;
  color: var(--muted);
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.source-choice select {
  max-width: 240px;
  font-size: 12px;
}
.app-shell > main {
  padding: 24px 24px 140px;
  max-width: 1800px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.page-heading p,
.mobile-heading,
.library-foot,
.keyboard-tip,
.arrange-hint,
.output-note {
  display: none;
}
.studio-layout,
.library {
  min-width: 0;
}
.library-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
#viewTitle span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 8px;
}
.view-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.view-controls label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}
.view-controls select {
  font-size: 12px;
  padding: 6px;
}
.view-controls button {
  font-size: 11px;
  background: transparent;
}
.clear-mix:disabled {
  display: none;
}
.search-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--deep);
  padding: 0 12px;
  border-radius: 7px;
  min-width: 0;
  flex: 1;
  color: var(--muted);
}
.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: none;
}
.search kbd {
  font-size: 11px;
}
.sort-label select {
  max-width: 130px;
  font-size: 12px;
}
.filters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 20px;
  padding: 3px 0 6px;
  scrollbar-width: thin;
}
.filter {
  font-size: 12px;
  background: #22252d;
  white-space: nowrap;
}
.filter.selected {
  background: #444d7a;
  color: #f1f2ff;
}
.pads {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.pad {
  position: relative;
  min-width: 0;
  border-radius: 10px;
  background: #33363f;
  border: 1px solid #434854;
  overflow: hidden;
}
.pad:hover {
  border-color: #747fa8;
}
.pad.is-playing {
  border-color: #b3beff;
  background: #444e73;
}
.pad.is-muted .pad-play {
  opacity: 0.5;
}
.pad-play {
  width: 100%;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 12px;
  background: transparent;
  border-radius: 0;
  touch-action: pan-y;
}
.pad-play:hover:not(:disabled) {
  background: #41485a;
}
.mini-pad .pad-play {
  aspect-ratio: 1;
  position: relative;
  padding: 0;
  min-height: 0;
}
.mini-pad .pad-play > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sound-symbol {
  font-size: 32px;
  color: var(--pad-color, #a6aeff);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.mini-pad .sound-symbol {
  margin-bottom: 20px;
}
.mini-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 12px 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  background: linear-gradient(transparent, #191c26 45%);
  text-align: left;
  overflow-wrap: anywhere;
  line-height: 1.3;
  pointer-events: none;
}
.mini-shortcut,
.mini-pad .pad-status {
  display: none;
}
.favorite,
.pad-settings {
  width: 44px;
  height: 44px;
  min-height: 44px;
  min-width: 44px;
  padding: 10px;
  background: transparent;
}
.favorite[aria-pressed="true"] {
  color: #ffd486;
}
.favorite[aria-pressed="true"] svg {
  fill: #ffd486;
}
.mini-pad > .favorite {
  position: absolute;
  top: 4px;
  right: 4px;
  border-radius: 50%;
  background: #1d202ad9;
}
.mini-pad > .pad-settings {
  position: absolute;
  top: 4px;
  left: 4px;
  background: #1d202ad9;
}
.pad-name {
  font-size: 14px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.pad-category {
  font-size: 11px;
  color: var(--muted);
}
.card-actions {
  display: flex;
  align-items: center;
  padding: 6px;
}
.card-actions .pad-status {
  font-size: 10px;
  color: var(--muted);
}
.manage-thumb {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 5px;
}
.play-label {
  display: none;
}
.sound-options {
  border-top: 1px solid #454954;
}
.sound-options summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 12px;
  list-style: none;
  color: var(--muted);
}
.sound-options summary > span {
  margin-left: auto;
}
.option-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  padding: 14px;
  background: #292d37;
}
.option-content label {
  font-size: 12px;
}
.option-content output {
  float: right;
}
.channel-switches {
  display: flex;
  align-items: center;
  gap: 6px;
}
.channel-switches button {
  flex: 1;
  font-size: 11px;
  padding: 8px;
}
.channel-switches button[aria-pressed="true"] {
  background: #545fa3;
}
.arrange-tools {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  padding: 0 8px 8px;
}
.arrange-tools button {
  padding: 8px;
  min-width: 44px;
}
.drag-handle {
  margin-right: auto;
  cursor: grab;
}
.is-dragging {
  opacity: 0.4;
}
.drop-target {
  border-color: #b5c1ff;
  box-shadow: 0 -3px 0 #a6b5ff;
}
.empty {
  padding: 55px 12px;
  text-align: center;
  color: var(--muted);
}
.empty svg {
  display: block;
  margin: 0 auto 12px;
}
.empty strong {
  display: block;
}
.empty p {
  margin: 12px 0;
  font-size: 12px;
}
body[data-size="small"] .pads {
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}
body[data-size="large"] .pads {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
body[data-mode="manage"] #pads {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body[data-mode="manage"] .pad {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "play actions" "arrange arrange" "options options";
}
body[data-mode="manage"] .pad-play {
  grid-area: play;
  min-height: 80px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 12px;
  text-align: left;
  justify-items: start;
}
body[data-mode="manage"] .sound-symbol {
  grid-row: 1/3;
}
body[data-mode="manage"] .card-actions {
  grid-area: actions;
}
body[data-mode="manage"] .arrange-tools {
  grid-area: arrange;
}
body[data-mode="manage"] .sound-options {
  grid-area: options;
}
body:not([data-mode="board"]) #boardSizeControl,
body:not([data-mode="manage"]) #resetOrder {
  display: none;
}
body[data-mode="lab"] .page-heading,
body[data-mode="lab"] #workArea {
  display: none;
}
.mixer {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 232px;
  right: 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 10px 12px;
  background: #1b1d24f5;
  border: 1px solid #4b4e5c;
  border-radius: 12px;
  z-index: 30;
  box-shadow: 0 8px 30px #0004;
}
.mixer-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mixer-heading > button {
  display: flex;
  gap: 8px;
  align-items: center;
  background: transparent;
  font-size: 12px;
  padding: 8px;
}
.mixer-heading .local-output {
  font-size: 10px;
  color: var(--muted);
}
.mixer-chevron {
  margin-left: auto;
}
.mixer-details {
  display: none;
  grid-column: 1/-1;
  grid-row: 2;
  max-height: 40dvh;
  overflow-y: auto;
  padding: 10px;
}
.mixer-open .mixer-details {
  display: block;
}
.master {
  margin-bottom: 16px;
}
.section-line {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.master-control {
  display: flex;
  gap: 10px;
  align-items: center;
}
.playing-heading {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}
.active-tracks {
  display: grid;
  gap: 8px;
}
.track {
  padding: 8px 12px;
  background: #303643;
  border-radius: 8px;
}
.track-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.track-title strong {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.track-title button {
  margin-left: auto;
}
.track-progress {
  height: 2px;
  background: #20242c;
  margin: 8px 0;
}
.track-progress span {
  display: block;
  height: 2px;
  background: #b1bdff;
}
.track-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}
.mixer-empty strong {
  font-size: 12px;
  color: var(--muted);
}
.mixer-empty p,
.mixer-empty .idle-wave {
  display: none;
}
.stop-area {
  display: flex;
  align-items: center;
}
.stop-all {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #97404f;
  color: white;
  min-height: 48px;
  font-size: 13px;
  font-weight: 650;
}
.stop-all kbd {
  display: none;
}
.view-switcher {
  position: fixed;
  right: 20px;
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 100;
}
.view-switcher > button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #58617e;
  background: #292d3b;
  padding: 12px;
}
.mode-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: min(264px, calc(100vw - 24px));
  padding: 8px;
  background: #222631;
  border: 1px solid #646f8d;
  border-radius: 10px;
  box-shadow: 0 10px 35px #0007;
}
.mode-menu-label {
  display: none;
}
.mode-menu > button {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  text-align: left;
  font-size: 13px;
  margin: 3px 0;
  background: transparent;
  min-height: 60px;
}
.mode-menu small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}
.mode-menu > button[aria-checked="true"] {
  background: #444f7b;
}
.mode-check {
  margin-left: auto;
  visibility: hidden;
}
.mode-menu > button[aria-checked="true"] .mode-check {
  visibility: visible;
}
.view-switcher.in-modal {
  position: absolute;
  top: 18px;
  right: 66px;
  bottom: auto;
  z-index: 120;
}
.in-modal .mode-menu {
  top: calc(100% + 8px);
  bottom: auto;
}
.has-switcher .dialog-heading > div,
.has-switcher .lab-brand {
  max-width: calc(100% - 100px);
}
.toast {
  position: fixed;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 16px;
  border: 1px solid #717eaa;
  border-radius: 9px;
  background: #252b3a;
  max-width: 90vw;
  z-index: 150;
  font-size: 12px;
}
dialog {
  border: 1px solid #535969;
  border-radius: 12px;
  background: #292d37;
  color: var(--text);
  padding: 24px;
  width: min(540px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
}
dialog::backdrop {
  background: #101117c9;
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.dialog-heading h2 {
  font-size: 19px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.8px;
  color: var(--muted);
  margin-bottom: 6px;
}
.thumbnail-upload:focus-within {
  outline: 3px solid #b5bdff;
  outline-offset: 3px;
}
.upload-note {
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0;
  line-height: 1.6;
}
.lab-resume,
.lab-settings-launch {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  font-size: 12px;
  text-align: left;
}
.danger {
  background: #74323e;
  margin-top: 12px;
}
.sound-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.thumbnail-preview {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border-radius: 10px;
  background: #222734;
  color: #c1cbff;
  font-size: 32px;
  overflow: hidden;
  flex-shrink: 0;
}
.thumbnail-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbnail-upload {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #454f75;
  border-radius: 7px;
  padding: 12px;
  min-height: 44px;
  font-size: 12px;
  overflow: hidden;
  cursor: pointer;
}
.thumbnail-upload input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}
.sound-identity p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
}
.remove-thumbnail {
  font-size: 12px;
  background: transparent;
}
.sound-detail-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12px;
}
.sound-detail-field input,
.sound-detail-field select {
  width: 100%;
}
.save-sound-details {
  width: 100%;
  margin: 4px 0 12px;
}
#soundDetailsStatus,
#uploadStatus {
  font-size: 12px;
  color: #d2d9f1;
  margin: 12px 0;
}
.edit-label {
  display: block;
  font-size: 12px;
}
.edit-label output {
  float: right;
}
.lab-landing {
  padding: 12px 0;
}
.lab-landing-heading {
  margin-bottom: 28px;
}
.lab-landing-heading h1 {
  margin-bottom: 12px;
}
.lab-landing-heading > p {
  font-size: 13px;
  color: var(--muted);
}
.lab-landing-icon,
.lab-landing-note {
  display: none;
}
.lab-landing-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.lab-source-library h2 {
  font-size: 14px;
  margin-bottom: 16px;
}
#labSourceList {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
#labSourceList > button {
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  min-width: 0;
  padding: 12px;
}
#labSourceList strong {
  display: block;
  font-size: 12px;
  overflow-wrap: anywhere;
}
#labSourceList small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.source-symbol {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 7px;
  background: #293044;
}
.source-symbol img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body[data-source="shared"] .sidebar {
  display: none;
}
body[data-source="shared"] .app-shell {
  margin-left: 0;
}
body[data-source="shared"] .app-shell > main {
  padding: 0;
}
body[data-source="shared"] .page-heading,
body[data-source="shared"] #workArea {
  display: none;
}
body[data-source="shared"] #labLanding {
  padding: 24px;
}
.has-shared-stop > .shared-stopbar {
  left: 16px;
  right: 16px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 140;
}
.has-shared-stop .lab-footer {
  padding-bottom: 110px;
}
.lab-header h2 {
  font-size: 20px;
}
.lab-header .lab-kicker,
.lab-pro,
.lab-effect-help,
.lab-source-note {
  display: none;
}
.lab-local-note {
  font-size: 11px;
}
.lab-advanced summary {
  min-height: 48px;
}
.lab-save-panel #labTarget {
  font-size: 13px;
}
@media (max-width: 760px) {
  .sidebar {
    position: static;
    width: auto;
    flex-direction: row;
    padding: 6px 12px;
    align-items: center;
    gap: 12px;
  }
  .brand {
    height: 44px;
    font-size: 16px;
  }
  .brand-icon {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 3px;
    margin: 0 0 0 auto;
  }
  .nav-item {
    width: 44px;
    padding: 10px;
    margin: 0;
  }
  .nav-item .nav-text,
  .nav-item .nav-count {
    display: none;
  }
  .app-shell {
    margin: 0;
  }
  .topbar {
    padding: 8px 12px;
    height: 62px;
    gap: 8px;
  }
  .topbar-brand {
    display: none;
  }
  .topbar-actions {
    justify-content: space-between;
    width: 100%;
  }
  .source-choice {
    flex: 1;
  }
  .source-choice select {
    width: 100%;
    max-width: 260px;
    font-size: 12px;
  }
  .app-shell > main {
    padding: 18px 12px 150px;
  }
  .page-heading h1 {
    font-size: 19px;
  }
  .page-heading .primary {
    font-size: 12px;
    padding: 10px;
  }
  .page-heading .primary > svg {
    display: none;
  }
  .library-title {
    align-items: flex-start;
  }
  .view-controls label {
    font-size: 0;
  }
  .view-controls select {
    font-size: 12px;
  }
  #viewTitle span {
    display: block;
    margin: 4px 0 0;
  }
  .search-row {
    gap: 8px;
  }
  .search {
    padding: 0 10px;
  }
  .search input {
    font-size: 13px;
    padding: 8px;
  }
  .search kbd {
    display: none;
  }
  .sort-label select {
    font-size: 11px;
    max-width: 100px;
    padding: 8px;
  }
  .filters {
    gap: 5px;
    margin-bottom: 16px;
  }
  .filter {
    font-size: 11px;
    padding: 8px 11px;
  }
  .pads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  body[data-size="small"] .pads {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  body[data-size="large"] .pads {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  .mixer {
    left: 12px;
    right: 82px;
    bottom: max(12px, env(safe-area-inset-bottom));
    padding: 8px;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .mixer-heading {
    gap: 4px;
  }
  .mixer-heading > button {
    font-size: 11px;
    min-height: 32px;
    padding: 4px;
    flex: 1;
  }
  .mixer-heading .local-output {
    font-size: 9px;
  }
  .mixer-heading svg {
    width: 16px;
  }
  .stop-area {
    grid-row: 2;
  }
  .stop-all {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    font-size: 12px;
  }
  .mixer-details {
    grid-row: 3;
    padding: 12px 4px;
  }
  .view-switcher {
    right: 16px;
    bottom: max(24px, env(safe-area-inset-bottom));
  }
  body[data-mode="manage"] .pad-play {
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 8px;
    padding: 8px;
  }
  body[data-mode="manage"] .sound-symbol {
    width: 30px;
    height: 30px;
    font-size: 25px;
  }
  body[data-mode="manage"] .pad-name {
    font-size: 12px;
  }
  body[data-mode="manage"] .pad-category {
    font-size: 10px;
  }
  .card-actions {
    padding: 2px;
    flex-wrap: wrap;
    justify-content: end;
    max-width: 96px;
  }
  .card-actions .pad-status,
  .card-actions .manage-thumb {
    display: none;
  }
  .option-content {
    display: block;
  }
  .thumbnail-preview {
    width: 70px;
    height: 70px;
  }
  .sound-identity {
    gap: 12px;
  }
  .thumbnail-upload {
    padding: 10px;
    font-size: 11px;
  }
  .sound-identity p {
    font-size: 9px;
  }
  .sound-detail-field input,
  .sound-detail-field select {
    font-size: 16px;
  }
  dialog {
    padding: 18px;
  }
  .dialog-heading h2 {
    font-size: 17px;
  }
  .lab-landing-actions {
    gap: 8px;
  }
  .lab-landing-actions button {
    font-size: 12px;
  }
  #labSourceList {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  #labSourceList > button {
    padding: 8px;
    gap: 8px;
  }
  .source-symbol {
    width: 30px;
    height: 30px;
  }
  #labSourceList strong {
    font-size: 11px;
  }
  #labSourceList small {
    font-size: 9px;
  }
  .has-shared-stop > .shared-stopbar {
    left: 12px;
    right: 12px;
    flex-direction: column;
  }
  .has-shared-stop .lab-footer {
    padding-bottom: 130px;
  }
}
.lab-file-row #labDiscard {
  font-size: 11px;
  flex-shrink: 0;
  background: transparent;
  color: #c5cbda;
  max-width: 115px;
}
.lab-file-row {
  min-width: 0;
}
.shared-mixer {
  margin: 0 0 16px;
  border-bottom: 1px solid #41444e;
  color: var(--muted);
  font-size: 12px;
}
.shared-mixer > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.shared-mixer > summary::before {
  content: "▸";
  margin-right: 10px;
}
.shared-mixer[open] > summary::before {
  content: "▾";
}
.shared-mixer-content {
  padding: 8px 12px 16px;
  background: #22252d;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  border-radius: 8px;
}
.shared-mixer-content > label {
  display: flex;
  align-items: center;
  gap: 16px;
}
.shared-mixer-content [data-voices] {
  width: 100%;
}
.shared-voice {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 10px 0;
}
.shared-voice strong {
  flex: 1;
  font-size: 12px;
}
.shared-voice label {
  font-size: 11px;
}
.shared-voice input {
  width: 120px;
}
.shared-voice button {
  font-size: 11px;
}
.shared-channel {
  border: 1px solid #4b5268;
  border-radius: 8px;
  margin: 24px 0 0;
  padding: 14px;
}
.shared-channel legend {
  font-size: 12px;
}
.shared-channel > label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
}
.shared-channel > label input {
  min-width: 0;
}
.shared-channel > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.shared-channel button {
  font-size: 12px;
}
.shared-channel button[aria-pressed="true"] {
  background: #535fa4;
}
@media (max-width: 760px) {
  .shared-voice {
    flex-wrap: wrap;
    gap: 8px;
  }
  .shared-mixer-content > label {
    width: 100%;
  }
}
@media (max-width: 760px) {
  #clipLab button:not(.lab-handle) {
    min-height: 44px;
    min-width: 44px;
  }
}
.sound-symbol {
  font-family: "DejaVu Sans", sans-serif;
}
.lab-save-target {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  padding: 8px 24px;
  background: #24262d;
  border-bottom: 1px solid #41444e;
  font-size: 12px;
  color: #c1c7d5;
}
.lab-save-target select {
  font-size: 12px;
  min-height: 44px;
  padding: 8px;
  max-width: 240px;
  flex: 1;
}
@media (max-width: 760px) {
  .lab-save-target {
    padding: 6px 14px;
    font-size: 11px;
  }
  .lab-save-target select {
    font-size: 12px;
    max-width: 230px;
  }
}
.mode-menu .remote-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-top: 1px solid #414957;
  margin-top: 8px;
  color: #c1caff;
  font-size: 12px;
}
