/* Speakers DB page overrides */
.list .item.active{
  border-color: rgba(122,162,255,.6);
  background: rgba(122,162,255,.12);
}
.speaker-name{font-weight:700}
.speaker-sub{font-size:12px; color:var(--muted)}
.detail-actions{display:flex; gap:8px; flex-wrap:wrap; margin-top:6px}
.form .full{grid-column:1 / -1}
.badge.small{font-size:11px; padding:2px 6px}
.grow{flex:1 1 240px; min-width:220px}
#speakers-list{max-height:65vh; overflow:auto}

.file-link{display:inline-block; margin-top:6px; font-size:12px; color:var(--accent); text-decoration:none}
.file-link:hover{text-decoration:underline}

.stammdaten-import{margin-bottom:14px; padding:10px 12px; border:1px solid rgba(255,255,255,.08); border-radius:10px; background:rgba(0,0,0,.12)}
.stammdaten-import summary{cursor:pointer; color:var(--muted); font-size:12px}
.stammdaten-import textarea{width:100%}

.samples-box{grid-column:1 / -1; border:1px solid rgba(255,255,255,.08); border-radius:10px; padding:10px 12px; background:rgba(0,0,0,.12)}
.samples-head{display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-bottom:8px}
.samples-title{font-weight:700}
.samples-actions{display:flex; gap:8px; flex-wrap:wrap}
.samples-list{display:flex; flex-direction:column; gap:8px}
.sample-item{display:grid; grid-template-columns:minmax(140px,1fr) minmax(180px,260px) auto; gap:8px; align-items:center; padding:6px 8px; border:1px solid rgba(255,255,255,.08); border-radius:8px; background:rgba(0,0,0,.16)}
.sample-name{font-size:12px; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.sample-item audio{width:100%; max-width:260px}

/* UI refresh 2026-02 */
.stammdaten-import{
  border:1px solid rgba(120,160,220,.25);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}
.samples-box{
  border:1px solid rgba(120,160,220,.25);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}
.sample-item{
  border:1px solid rgba(120,160,220,.25);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}
.list .item.active{
  border-color:rgba(95,163,255,.65);
  background:rgba(95,163,255,.14);
}



.inline-actions{margin:4px 0 10px; align-items:center; gap:8px}

.readonly-total input{
  background:rgba(120,160,220,.14);
  border:1px solid rgba(120,160,220,.35);
  font-weight:700;
}
.totals-note{
  margin-top:-2px;
  margin-bottom:2px;
}

.stammdaten-file-actions{display:flex; gap:8px; flex-wrap:wrap; margin-top:6px}
.stammdaten-file-actions .btn{min-width:120px}
.stammdaten-file-meta{margin-top:6px}



.stammdaten-file-field{display:flex; flex-direction:column; gap:6px; font-size:12px; color:#f2f7ff; font-weight:600}
.stammdaten-file-title{font-size:12px; color:#f2f7ff; font-weight:700}


/* Selection visibility + pane consistency */
.split{align-items:stretch}
.split > div{display:flex; flex-direction:column; min-width:0}
#speakers-list{flex:1 1 auto; min-height:56vh}
.list .item.active{
  border-color: rgba(196,224,255,.95) !important;
  background: linear-gradient(180deg, rgba(164,210,255,.34), rgba(128,182,255,.22)) !important;
  box-shadow: 0 0 0 2px rgba(184,220,255,.45), inset 0 1px 0 rgba(255,255,255,.5);
}
.list .item.active .speaker-name,
.list .item.active .speaker-sub{color:#fff}


.stammdaten-viewer{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(8,16,34,.72);
  backdrop-filter:blur(2px);
}
.stammdaten-viewer.is-open{display:flex}
.stammdaten-viewer-box{
  width:min(1100px,94vw);
  height:min(86vh,860px);
  border:1px solid rgba(171,199,255,.45);
  border-radius:14px;
  background:linear-gradient(180deg, rgba(19,34,66,.98), rgba(10,20,44,.98));
  box-shadow:0 22px 48px rgba(0,0,0,.45);
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.stammdaten-viewer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border-bottom:1px solid rgba(171,199,255,.28);
}
.stammdaten-viewer-title{
  color:#f3f7ff;
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.stammdaten-viewer-content{
  flex:1 1 auto;
  min-height:0;
  display:flex;
  align-items:stretch;
  justify-content:stretch;
}
.stammdaten-viewer-frame,
.stammdaten-viewer-embed{
  width:100%;
  height:100%;
  flex:1 1 auto;
  min-height:0;
  border:0;
  background:#0d1731;
  display:block;
}
