.voice-memo-panel {
  border-top: 1px solid var(--border, #444);
  margin-top: 12px;
  padding-top: 10px;
  min-width: 0;
  color: var(--text);
}
.voice-memo-panel[hidden], .voice-memo-panel [hidden] { display: none !important; }
.voice-memo-panel h4 { margin: 0 0 6px; font-size: 13px; }
.voice-memo-status { margin: 4px 0; font-size: 11px; color: var(--text-muted); line-height: 1.5; }
.voice-memo-transcript {
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  user-select: text;
  max-height: 220px;
  overflow-y: auto;
}
.voice-memo-transcript:empty { display: none; }
.voice-memo-panel audio { display: block; width: 100%; margin: 8px 0; height: 36px; }
.voice-memo-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

.voice-memo-grid-badge {
  position: absolute;
  right: 4px;
  bottom: 24px;
  z-index: 4;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--fs-white);
  background: rgb(var(--fs-slate-900-rgb) / .85);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}
