/* voicetx.css — 📝 Walkie-talkie transcripts (VOICE-TX-20261023).
   Scoped under #voiceTxOverlay plus two tiny global helpers (the staff
   notice chip and the one-line captions by the Talk buttons). Same
   chambers/brass language as keys.css. No backdrop-filter anywhere
   (the app-wide rule from the Oct 12 scroll fix). */

#voiceTxOverlay {
  --vtx-brass: #c9a53f;
  --vtx-brass-hi: #e8cd7a;
  --vtx-line: #453d2e;
  --vtx-ivory: #f4efe1;
  --vtx-muted: #ada189;
  --vtx-panel: #211d16;
  --vtx-panel2: #2a251c;
  --vtx-amber: #e8a33d;
}
#voiceTxOverlay .vtx-box {
  background: linear-gradient(165deg, #26211a 0%, #1b1813 55%, #14120e 100%);
  color: var(--vtx-ivory);
  border: 1px solid var(--vtx-line);
  border-radius: 14px;
  width: 720px;
  max-width: 94vw;
  max-height: 92dvh;
  overflow-y: auto;
  padding: 18px;
}
#voiceTxOverlay .vtx-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
}
#voiceTxOverlay .vtx-nameplate {
  color: var(--vtx-brass); letter-spacing: .18em; font-size: 11px; font-weight: 700;
}
#voiceTxOverlay .vtx-subtitle { font-size: 20px; font-weight: 700; margin-top: 2px; }
#voiceTxOverlay .vtx-note {
  color: var(--vtx-muted); font-size: 13px; margin: 8px 0 12px; line-height: 1.45;
}
#voiceTxOverlay .vtx-tabs { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
#voiceTxOverlay .vtx-tab {
  background: var(--vtx-panel2); color: var(--vtx-ivory);
  border: 1px solid var(--vtx-line); border-radius: 999px;
  padding: 8px 14px; font-size: 14px; cursor: pointer; min-height: 40px;
}
#voiceTxOverlay .vtx-tab.is-active { border-color: var(--vtx-brass); color: var(--vtx-brass-hi); }
#voiceTxOverlay .vtx-day {
  color: var(--vtx-brass); font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin: 16px 0 8px; padding-bottom: 4px; border-bottom: 1px solid var(--vtx-line);
}
#voiceTxOverlay .vtx-row {
  background: var(--vtx-panel); border: 1px solid var(--vtx-line);
  border-radius: 10px; padding: 10px 12px; margin-bottom: 8px;
}
#voiceTxOverlay .vtx-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 14px; }
#voiceTxOverlay .vtx-when { color: var(--vtx-muted); }
#voiceTxOverlay .vtx-badge {
  margin-left: auto; font-size: 12px; color: var(--vtx-brass-hi);
  border: 1px solid var(--vtx-line); border-radius: 999px; padding: 2px 9px;
  background: var(--vtx-panel2); white-space: nowrap;
}
#voiceTxOverlay .vtx-text { margin-top: 6px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
#voiceTxOverlay .vtx-text-warn { color: var(--vtx-amber); font-size: 14px; }
#voiceTxOverlay .vtx-empty { color: var(--vtx-muted); padding: 22px 0; text-align: center; }
#voiceTxOverlay .vtx-actions { display: flex; gap: 8px; margin-top: 6px; }

/* Staff notice chip (shown once per page load when a talk burst starts) */
.vtx-notice-chip {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 4000; max-width: min(92vw, 560px);
  background: #26211a; color: #f4efe1; border: 1px solid #c9a53f;
  border-radius: 10px; padding: 12px 16px; font-size: 14px; line-height: 1.45;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); text-align: center;
}
/* One-line captions beside the Talk button / in the test-drive panel */
.vtx-caption {
  font-size: 11px; color: var(--muted, #ada189); line-height: 1.35;
  margin-top: 4px; max-width: 260px;
}
