/* EMWave v1.4.5a — Source Dock V2 Player Module
   Owns transport title, action row, file label and source status. */

body.source-dock-v2-player:not(.help-page) .source-dock .source-player-module{
  grid-column:1;
  display:grid;
  grid-template-columns:1fr;
  gap:6px;
  min-width:0;
  padding-top:2px;
  border-top:1px solid rgba(79,91,110,.36);
}

body.source-dock-v2-player.source-mode-manual:not(.help-page) .source-dock .source-player-module{
  display:none;
}

body.source-dock-v2-player:not(.help-page) .source-dock .source-transport-title{
  min-width:0;
  color:var(--color-text-status-label);
  font-size:9px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

body.source-dock-v2-player:not(.help-page) .source-dock .source-actions{
  display:grid;
  grid-template-columns:1fr;
  grid-auto-rows:26px;
  gap:6px;
  min-width:0;
}

body.source-dock-v2-player:not(.help-page) .source-dock .source-action-button,
body.source-dock-v2-player:not(.help-page) .source-dock .source-file-label{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  height:26px;
  min-height:26px;
  margin:0;
  padding:0 8px;
  border:1px solid var(--color-border-strong);
  border-radius:1px;
  background:#171c24;
  color:var(--color-text-ui);
  font-family:"Roboto Mono","Consolas",monospace;
  font-size:9px;
  font-weight:700;
  letter-spacing:.045em;
  line-height:1;
  text-align:center;
  text-transform:uppercase;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  cursor:pointer;
}

body.source-dock-v2-player:not(.help-page) .source-dock .source-file-label:not(.is-visible){
  display:none;
}

body.source-dock-v2-player:not(.help-page) .source-dock .source-grab-status{
  min-width:0;
  min-height:20px;
  line-height:1.35;
  color:var(--color-text-muted);
  white-space:normal;
}


body.source-dock-v2-player[data-signal-source="live-audio"]:not(.help-page) .source-dock .source-player-module,
body.source-dock-v2-player[data-signal-source="microphone"]:not(.help-page) .source-dock .source-player-module,
body.source-dock-v2-player.source-mode-live-audio:not(.help-page) .source-dock .source-player-module,
body.source-dock-v2-player.source-mode-microphone:not(.help-page) .source-dock .source-player-module,
body.source-dock-v2-player.source-mode-file:not(.help-page) .source-dock .source-player-module,
body.source-dock-v2-player.source-mode-hybrid:not(.help-page) .source-dock .source-player-module{
  display:grid;
}

body.source-dock-v2-player.source-mode-file:not(.help-page) .source-dock .source-actions,
body.source-dock-v2-player.source-mode-hybrid:not(.help-page) .source-dock .source-actions{
  grid-template-columns:1fr 1fr;
}

body.source-dock-v2-player.source-mode-file:not(.help-page) .source-dock .source-action-button{
  display:none;
}

body.source-dock-v2-player.source-mode-file:not(.help-page) .source-dock .source-file-label.is-visible,
body.source-dock-v2-player.source-mode-hybrid:not(.help-page) .source-dock .source-file-label.is-visible{
  display:flex;
}

body.source-dock-v2-player[data-signal-source="live-audio"]:not(.help-page) .source-dock .source-file-label,
body.source-dock-v2-player[data-signal-source="microphone"]:not(.help-page) .source-dock .source-file-label,
body.source-dock-v2-player.source-mode-live-audio:not(.help-page) .source-dock .source-file-label,
body.source-dock-v2-player.source-mode-microphone:not(.help-page) .source-dock .source-file-label{
  display:none;
}
