.evidence-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.evidence-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #f9fafb;
}

.evidence-item__meta {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.evidence-item__note {
  font-size: var(--font-size-sm);
}

.timeline-segments {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  min-height: 40px;
}

.timeline-segment {
  flex: 0 0 auto;
  border-radius: var(--radius-md);
  padding: 0.2rem 0.4rem;
  font-size: var(--font-size-xs);
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  cursor: pointer;
  white-space: nowrap;
}

.timeline-segment--secondary {
  background: linear-gradient(135deg, #6366f1, #22d3ee);
}

.waveform-detail {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.waveform-detail__canvas {
  border-radius: var(--radius-md);
  border: 1px solid rgba(30, 64, 175, 0.7);
  background: radial-gradient(circle at top left, #111827, #020617);
}

.timeline-key {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  font-size: var(--font-size-xs);
}

.upload-zone {
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(37, 99, 235, 0.25);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
  background: radial-gradient(circle at top left, #ffffff, #eff6ff);
}

.upload-zone--dragover {
  border-color: var(--color-primary);
  background: radial-gradient(circle at top left, #ffffff, #dbeafe);
}

.upload-zone__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.upload-zone__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.4);
}

.upload-zone__icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.upload-zone__title {
  font-weight: 500;
}

.upload-zone__subtitle {
  max-width: 32rem;
}

.upload-zone__button {
  margin-top: 0.25rem;
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-height: 16rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.file-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.file-item__thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #e5e7eb;
  flex-shrink: 0;
}

.file-item__meta {
  flex: 1;
}

.file-item__title-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-xs);
  align-items: baseline;
}

.file-item__name {
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.file-item__info {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.file-item__actions {
  margin-top: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.progress-bar {
  margin-top: 0.3rem;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.progress-bar__value {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: width 160ms ease-out;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--font-size-xs);
}

.switch__label {
  color: var(--color-text-muted);
}

.switch input[type="checkbox"] {
  appearance: none;
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: #e5e7eb;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.switch input[type="checkbox"]::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.4);
  top: 2px;
  left: 2px;
  transition: transform var(--transition-fast);
}

.switch input[type="checkbox"]:checked {
  background: var(--color-primary);
}

.switch input[type="checkbox"]:checked::after {
  transform: translateX(14px);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  background: #111827;
  color: #ffffff;
  padding: 0.5rem 0.9rem;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.6);
  opacity: 0;
  pointer-events: none;
}

.toast--visible {
  opacity: 1;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq__item dt {
  font-weight: 600;
}

.faq__item dd {
  margin-left: 0;
}
