#logo { 
  position:fixed;
  bottom:0px;
  right:0px;
  padding:25px;
  z-index: -1;
}

canvas {
  height:100%;
}

#waveforms .active { 
  background:#ff0;
}

#wrapper { 
  display:flex;
  height:100vh;
}

#wrapper nav  {
  display:flex;
  flex-direction:column;
  width:200px;
  min-width:200px;
  overflow-y:scroll;
  font-size: smaller;
}

#content-wrapper { 
  width:100%;
  height:100%;
}

#content { 
  width:100%;
  overflow-y:scroll;
  height:calc(100vh - 5em); 
}

#audios { 
  flex-shrink:2;
  flex-direction:column;
  overflow-y:scroll;
  overflow-x:clip;
  font-size:small;
  padding-top:1em;
}

#waveforms { 
  display:flex;
  flex-direction: column;
  overflow-y:scroll;
  height: 100vh;
}

#waveforms wave {
  height:128px !important;
}

#waveforms .waveform:not(.active) wave wave { 
  /* prevent cursor on non-active waveforms */
  display:none !important;
}

#waveforms.showSpectrograms wave {
  height:64px !important;
}

#waveforms .spectrogram { 
  display:none;
}

#waveforms marker {
  /* lift labels above waveform */
  z-index:3;
}

#waveforms .spec-labels { 
  position:absolute !important;
}

#waveforms.showSpectrograms .spectrogram{
  display:unset;
}

.renditionName { 
  cursor: pointer;
}

.renditionName:hover { 
  text-decoration:underline;
}

ul { 
  list-style-type: none;
  padding-left:0px;
  margin-left:0px;
}

label { 
  color:gray;
  font-size:smaller;
  cursor:pointer;
}

label.ready { 
  color:green;
}

label.loading { 
  color:black;
}


details { 
  cursor:pointer;
}

.listSelectors { 
  font-size: smaller;
  text-decoration:underline;
}

.listSelectors .all { 
  padding-right:1em;
}

.listSelectors .none{ 
  padding-left:1em;
}

.waveform {
  margin-bottom: .2em;
  border: 1px solid black;
  border-top:0px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

.spectrogram{
  border-top:1px solid black;
  border-left:1px solid black;
  border-right:1px solid black;
  border-top-left-radius:5px;
  border-top-right-radius:5px;
}

#waveforms:not(.showSpectrograms) .waveform { 
  border-top: 1px solid black;
  border-radius: 5px;
}

wave marker:not(marker:first-child) div:first-child {  
  opacity:1 !important;
  background-color:red !important;
}

.timerValueContainer { 
  display: flex;
  justify-content: center;
}
.timerValueContainer span { 
  position:relative;
  top:2em;
  font-size:small;
}


#solidPanel { 
  display: flex;
}

#maoExtracts { 
  display:flex;
  overflow-x: scroll;
}

.maoExtract { 
  border: 1px solid black;
  border-radius:5px;
  margin-left:.5em;
  max-width: 150px;
  min-width: 150px;
  padding:.5em;  
}

.maoExtract-label {
  max-height:2em;
}

.extractTools { 
  display:flex;
  flex-direction:row;
  justify-content:space-between;
  font-family: monospace;
}

#fetchExternal { 
  min-width:120px;
}

#splash {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ef 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, 'Liberation Sans', sans-serif;
  color: #2d3748;
  letter-spacing: 0.01em;
}

#splash #logo {
  margin-bottom: 2em;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.08));
}

#splash p {
  max-width: 600px;
  background: rgba(255,255,255,0.85);
  border-radius: 12px;
  padding: 1.5em 2em;
  margin: 1em 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  font-size: 1.15em;
  line-height: 1.6;
}

#splash a {
  color: #2563eb;
  text-decoration: none;
  border-bottom: 1px dotted #2563eb;
  transition: color 0.2s, border-bottom 0.2s;
}

#splash a:hover {
  color: #1e40af;
  border-bottom: 1px solid #1e40af;
}

#splash em {
  font-style: italic;
  color: #7c3aed;
  font-weight: 600;
}
