/* Voice notes: the recorder and the Voice notes section on a record. Tokens only. */
.vn-modal { display: grid; gap: 10px; min-width: min(460px, 86vw); }
.vn-modal h2 { margin: 0; }
.vn-modal label { margin: 6px 0 0; }
.vn-body { display: grid; gap: 12px; margin-top: 8px; }
.vn-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.vn-big { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; padding: 14px 22px; min-height: 52px; }
.vn-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--danger); flex: none; }
.vn-dot.is-on { animation: vn-pulse 1.2s var(--ease) infinite; }
@keyframes vn-pulse { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .vn-dot.is-on { animation: none; } }
.vn-live { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.vn-timer { margin-left: auto; font-size: 22px; }
.vn-audio { width: 100%; height: 40px; }
.vn-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 14px; }
.vn-item { display: grid; gap: 8px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.vn-head strong { font-weight: 500; }
.vn-text { white-space: pre-wrap; font-size: 15px; line-height: 1.55; }
.vn-tools { display: flex; gap: 6px; flex-wrap: wrap; }
.vn-error { color: var(--danger); }
.vn-pending { color: var(--warn); }
.vn-add { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.cap-q-voice { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
@media (max-width: 640px) {
  .vn-modal { min-width: 0; }
  .vn-add { width: 100%; justify-content: center; }
  .vn-big { width: 100%; justify-content: center; }
}
.vl { max-width: 880px; margin: 0 auto; }
.vl-head { display: grid; gap: 10px; margin-bottom: 20px; }
.vl-head h1 { margin: 0; }
.vl-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.vl-filters input { flex: 1 1 260px; }
.vl-export, .vn-export { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.vn-export { margin-bottom: 10px; }
.vl-list { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 12px; }
.vl-item { display: grid; gap: 4px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.vl-title { font-weight: 500; }
.vl-snip { margin: 4px 0; white-space: pre-wrap; line-height: 1.5; }
.vn-hist { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 10px; }
.vn-history summary { cursor: pointer; }
@media (max-width: 640px) { .vl-filters select, .vl-filters input { flex: 1 1 100%; } }
