/* Voz – Modern Stylesheet */
:root {
  /* Brand */
  --primary:         #6366f1;
  --primary-dark:    #4f46e5;
  --primary-light:   #e0e7ff;
  --accent-record:   #f43f5e;
  --accent-record-glow: rgba(244, 63, 94, 0.4);
  --success:         #10b981;
  --danger:          #ef4444;
  --warning:         #f59e0b;

  /* Surfaces */
  --bg-app:          #f5f4fe;
  --bg-card:         #ffffff;
  --bg-input:        #f9f9ff;
  --bg-chip:         #ede9fe;
  --bg-chip-active:  #6366f1;
  --bg-nav:          rgba(255, 255, 255, 0.98);

  /* Text */
  --text-primary:    #1e1b4b;
  --text-secondary:  #6b7280;
  --text-muted:      #9ca3af;
  --text-on-primary: #ffffff;

  /* Borders */
  --border:          #e5e7eb;
  --border-focus:    #6366f1;

  /* Shadows */
  --shadow-sm:   0 1px 2px rgba(0,0,0,.05);
  --shadow-card: 0 2px 8px rgba(99,102,241,.08), 0 1px 3px rgba(0,0,0,.06);
  --shadow-card-hover: 0 8px 24px rgba(99,102,241,.16), 0 2px 6px rgba(0,0,0,.08);
  --shadow-nav:  0 -1px 0 rgba(0,0,0,.06), 0 -4px 20px rgba(0,0,0,.06);
  --shadow-fab:  0 6px 20px rgba(99,102,241,.4);
  --shadow-fab-record: 0 6px 24px rgba(244,63,94,.5);

  /* Radius */
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-primary);
  background: var(--bg-app);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; }
input  { font-family: inherit; }

/* ─── Layout ─────────────────────────────────────────── */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 600px;
  margin: 0 auto;
}

/* ─── Header ─────────────────────────────────────────── */
.app-header {
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -.3px;
}

.logo-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: .85rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(99,102,241,.35);
}

.language-toggle {
  background: var(--bg-chip);
  color: var(--primary);
  border: none;
  border-radius: var(--r-full);
  padding: 6px 14px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .5px;
  transition: background .2s var(--ease), transform .1s;
}
.language-toggle:hover { background: var(--primary-light); }
.language-toggle:active { transform: scale(.96); }

/* ─── Main ───────────────────────────────────────────── */
.app-main {
  flex: 1;
  padding: 20px 16px;
  overflow-y: auto;
  padding-bottom: 90px; /* room for nav */
}

.view { display: none; }
.view.active { display: block; }

/* ─── Bottom Nav ─────────────────────────────────────── */
.app-nav {
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-nav);
  padding: 6px 8px 8px;
  display: flex;
  justify-content: space-around;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  max-width: 600px;
  margin: 0 auto;
}

.nav-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 20px;
  color: var(--text-muted);
  border-radius: var(--r-md);
  transition: color .2s var(--ease), background .2s var(--ease);
  min-width: 56px;
}
.nav-button:hover { background: var(--bg-chip); color: var(--primary); }
.nav-button.active { color: var(--primary); }
.nav-button.active .nav-icon { transform: scale(1.15); }

.nav-icon {
  font-size: 1.35rem;
  transition: transform .2s var(--ease);
  display: block;
}
.nav-label { font-size: .68rem; font-weight: 600; letter-spacing: .2px; }

/* ─── Home / Voice ───────────────────────────────────── */
.voice-capture-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 12px;
}

.mic-button {
  width: 128px;
  height: 128px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-size: 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: var(--shadow-fab);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  position: relative;
  overflow: hidden;
}
.mic-button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background .2s;
}
.mic-button:hover  { transform: scale(1.06); box-shadow: var(--shadow-fab-record); }
.mic-button:active { transform: scale(.97); }

.mic-button .nav-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .3px;
  color: rgba(255,255,255,.85);
}

.mic-button.listening {
  background: linear-gradient(135deg, var(--accent-record), #e11d48);
  box-shadow: var(--shadow-fab-record);
  animation: mic-pulse 1.8s ease-in-out infinite;
}

@keyframes mic-pulse {
  0%,100% { box-shadow: 0 6px 24px var(--accent-record-glow); }
  50%      { box-shadow: 0 6px 32px var(--accent-record-glow), 0 0 0 16px rgba(244,63,94,.12); }
}

.transcription-display {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  min-height: 100px;
  font-size: 1.05rem;
  line-height: 1.6;
  box-shadow: var(--shadow-card);
}
.transcription-placeholder { color: var(--text-muted); font-style: italic; }
.transcription-text        { color: var(--text-primary); }

/* Text fallback */
.text-input-fallback {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--shadow-card);
}
.text-input-fallback .input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}
.text-input-fallback .text-input {
  flex: 1;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: .95rem;
  background: var(--bg-input);
  color: var(--text-primary);
  transition: border-color .2s;
}
.text-input-fallback .text-input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}
.text-input-fallback .input-hint {
  font-size: .75rem;
  color: var(--text-muted);
  text-align: center;
}

/* Parsed result card */
.parsed-result-card {
  background: var(--bg-card);
  border: 1.5px solid var(--primary-light);
  border-radius: var(--r-lg);
  padding: 20px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-card);
}
.parsed-result-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  letter-spacing: -.2px;
}
.parsed-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.parsed-field:last-of-type { border-bottom: none; }
.field-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.field-value { font-size: .95rem; color: var(--text-primary); text-align: right; }

.action-buttons { display: flex; gap: 10px; margin-top: 16px; }

/* Recent notes */
.recent-notes-section { width: 100%; max-width: 440px; }
.recent-notes-section h3 {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 12px;
}

.recent-note {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: box-shadow .2s var(--ease), transform .15s var(--ease);
}
.recent-note:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-1px); }
.recent-note-title   { font-weight: 600; font-size: .95rem; margin-bottom: 3px; }
.recent-note-preview { font-size: .82rem; color: var(--text-secondary); margin-bottom: 4px; }
.recent-note-date    { font-size: .75rem; color: var(--text-muted); }

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  padding: 11px 20px;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 600;
  transition: all .18s var(--ease);
  flex: 1;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; box-shadow: 0 2px 8px rgba(99,102,241,.3); }
.btn-primary:hover { box-shadow: 0 4px 14px rgba(99,102,241,.45); }
.btn-secondary { background: var(--bg-chip); color: var(--primary); }
.btn-secondary:hover { background: var(--primary-light); }
.btn-icon {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  font-size: 1.1rem;
  transition: background .15s;
}
.btn-icon:hover { background: var(--bg-chip); }

/* ─── Notes View ─────────────────────────────────────── */
.notes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.notes-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.3px;
}

.search-container { flex: 1; max-width: 280px; }
.search-input {
  width: 100%;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  font-size: .9rem;
  background: var(--bg-card);
  color: var(--text-primary);
  transition: border-color .2s, box-shadow .2s;
}
.search-input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(99,102,241,.1);
}

.filter-chips {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.filter-chip {
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all .18s var(--ease);
}
.filter-chip:hover { border-color: var(--primary); color: var(--primary); }
.filter-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(99,102,241,.3);
}

.notes-list { display: flex; flex-direction: column; gap: 12px; }

.note-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
  cursor: pointer;
  transition: box-shadow .2s var(--ease), transform .15s var(--ease), border-color .2s;
}
.note-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); border-color: var(--primary-light); }
.note-card.done { opacity: .6; }

.note-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}
.note-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
  letter-spacing: -.1px;
}
.note-type-container { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.note-type {
  padding: 3px 10px;
  background: var(--bg-chip);
  border-radius: var(--r-full);
  font-size: .72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .4px;
}
.note-body {
  font-size: .88rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.note-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.note-dates { display: flex; gap: 14px; }
.note-date, .note-due {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  color: var(--text-muted);
}
.note-actions { display: flex; gap: 4px; }

.note-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag {
  font-size: .72rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: var(--r-full);
}

.priority-badge {
  padding: 2px 8px;
  border-radius: var(--r-full);
  font-size: .7rem;
  font-weight: 700;
}
.priority-high   { background: #fee2e2; color: #dc2626; }
.priority-normal { background: var(--primary-light); color: var(--primary); }
.priority-low    { background: #f0fdf4; color: #16a34a; }

/* ─── Tasks View ─────────────────────────────────────── */
.task-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .task-board { grid-template-columns: repeat(3, 1fr); }
}

.task-column {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
}
.column-header {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
}

.task-card {
  background: var(--bg-app);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: box-shadow .2s var(--ease), transform .15s;
}
.task-card:hover { box-shadow: var(--shadow-card); transform: translateY(-1px); }
.task-card.done  { opacity: .55; }
.task-card.done .task-title { text-decoration: line-through; color: var(--text-muted); }

.task-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 6px; }
.task-title  { font-size: .9rem; font-weight: 600; flex: 1; }
.task-due    { font-size: .75rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.task-tags   { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }

.empty-column {
  text-align: center;
  padding: 24px 12px;
  color: var(--text-muted);
}
.empty-column-icon    { font-size: 1.8rem; margin-bottom: 6px; }
.empty-column-message { font-size: .82rem; }

/* ─── Settings ───────────────────────────────────────── */
.settings-container { max-width: 560px; margin: 0 auto; }

.settings-section {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 16px;
}
.settings-section h3 {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 14px;
}
.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}
.setting-item:last-child { border-bottom: none; }
.setting-label { font-size: .9rem; font-weight: 500; color: var(--text-primary); }
.setting-value { font-size: .88rem; color: var(--text-secondary); }

.setting-value.connected    { color: var(--success);  font-weight: 700; }
.setting-value.disconnected { color: var(--danger);   font-weight: 700; }
.setting-value.supported    { color: var(--success);  font-weight: 700; }
.setting-value.not-supported{ color: var(--warning);  font-weight: 700; }
.setting-value.error        { color: var(--danger);   font-weight: 700; }

.telegram-instructions {
  margin-top: 14px;
  padding: 14px;
  background: var(--primary-light);
  border-radius: var(--r-md);
  border-left: 4px solid var(--primary);
}
.telegram-instructions p     { font-size: .88rem; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.telegram-instructions ol    { padding-left: 18px; }
.telegram-instructions li    { font-size: .85rem; margin-bottom: 4px; color: var(--text-secondary); }

/* ─── Toast ──────────────────────────────────────────── */
.toast-container {
  position: fixed;
  top: 20px;
  right: 16px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 320px;
}
.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: toast-in .25s var(--ease);
}
@keyframes toast-in {
  from { transform: translateX(110%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
.toast.fade-out { opacity: 0; transform: translateX(110%); transition: all .25s var(--ease); }
.toast-success { border-left: 4px solid var(--success); }
.toast-error   { border-left: 4px solid var(--danger); }
.toast-warning { border-left: 4px solid var(--warning); }
.toast-icon    { font-size: 1.2rem; flex-shrink: 0; }
.toast-message { font-size: .88rem; color: var(--text-primary); flex: 1; }
.toast-close   { color: var(--text-muted); font-size: 1.1rem; padding: 2px 4px; border-radius: 4px; transition: background .15s; }
.toast-close:hover { background: var(--bg-chip); }

/* ─── Empty States ───────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}
.empty-state-icon    { font-size: 3rem; margin-bottom: 14px; opacity: .7; }
.empty-state-title   { font-size: 1.05rem; font-weight: 700; color: var(--text-secondary); margin-bottom: 6px; }
.empty-state-message { font-size: .88rem; margin-bottom: 20px; }

/* ─── Loading ────────────────────────────────────────── */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px;
  color: var(--text-muted);
}
.loading-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 14px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Notes count ────────────────────────────────────── */
.notes-count {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 480px) {
  .app-main { padding: 16px 12px; }
  .notes-header { flex-direction: column; align-items: stretch; }
  .search-container { max-width: 100%; }
  .action-buttons { flex-direction: column; }
  .mic-button { width: 112px; height: 112px; }
}

/* ─── Danger button ──────────────────────────────────── */
.btn-danger {
  background: #fee2e2;
  color: var(--danger);
}
.btn-danger:hover { background: #fecaca; }

/* ─── Task card extras ───────────────────────────────── */
.task-body {
  font-size: .82rem;
  color: var(--text-secondary);
  margin: 6px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.task-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.task-type   { font-size: 1rem; flex-shrink: 0; }
.task-relative { color: var(--text-muted); font-size: .72rem; }
.task-actions  { margin-left: auto; }

/* ─── Quick actions menu ─────────────────────────────── */
.quick-actions-menu {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
  padding: 6px;
  min-width: 160px;
  z-index: 500;
}
.quick-action {
  display: block;
  width: 100%;
  padding: 10px 14px;
  text-align: left;
  font-size: .88rem;
  font-weight: 500;
  border-radius: var(--r-sm);
  color: var(--text-primary);
  transition: background .15s;
}
.quick-action:hover { background: var(--bg-chip); }

/* ─── Note detail modal ──────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 27, 75, 0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 0 0;
  animation: fade-in .2s var(--ease);
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: var(--bg-card);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 24px 20px 32px;
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  animation: slide-up .25s var(--ease);
}
@keyframes slide-up {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.modal-note-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -.3px;
  flex: 1;
}
.modal-close {
  font-size: 1.4rem;
  color: var(--text-muted);
  line-height: 1;
  padding: 2px 6px;
  border-radius: var(--r-sm);
  transition: background .15s;
  flex-shrink: 0;
}
.modal-close:hover { background: var(--bg-chip); color: var(--text-primary); }

.modal-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.modal-body {
  margin-bottom: 14px;
}
.modal-note-body {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  white-space: pre-wrap;
}

.modal-info {
  background: var(--bg-app);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin-bottom: 20px;
}
.modal-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.modal-info-row:last-child { border-bottom: none; }
.modal-info-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
}
.modal-info-value { font-size: .88rem; color: var(--text-secondary); }

.modal-actions {
  display: flex;
  gap: 10px;
}
.modal-actions .btn { flex: 1; }

/* ─── Voice HTTP warning ─────────────────────────────── */
.voice-http-warning {
  color: var(--warning) !important;
  font-style: normal;
  font-size: .88rem;
  line-height: 1.5;
}

/* ─── Utility ────────────────────────────────────────── */
.hidden { display: none !important; }
