/* ==========================================================================
   AURA-MEET — GENEVA GRADUATE INSTITUTE (IHEID) DESIGN SYSTEM
   Institut de hautes études internationales et du développement (Genève)
   Charte graphique officielle : Rouge IHEID #E20020, Typographie Montserrat
   Authentification Google Workspace (@graduateinstitute.ch) & Souveraineté
   ========================================================================== */

:root {
  /* Official IHEID Signature Sceau (Swiss Governance & Trust) */
  --iheid-red: #e20020;
  --iheid-red-hover: #c00018;
  --iheid-red-subtle: rgba(226, 0, 32, 0.1);
  --iheid-red-border: rgba(226, 0, 32, 0.35);

  /* Fathom Signature Electric Cyan & Sky Blue Palette */
  --fathom-cyan: #00c4ff;
  --fathom-cyan-hover: #38bdf8;
  --fathom-cyan-subtle: rgba(0, 196, 255, 0.12);
  --fathom-cyan-glow: 0 0 20px rgba(0, 196, 255, 0.28);
  --border-cyan-subtle: rgba(56, 189, 248, 0.18);

  --primary: #00c4ff;
  --primary-hover: #38bdf8;
  --primary-subtle: rgba(0, 196, 255, 0.12);

  /* Fathom Pitch Black & Cosmic Starfield Theme */
  --bg-app: #000000;
  --bg-header: rgba(0, 0, 0, 0.88);
  --bg-sidebar: #000000;
  --bg-card: rgba(14, 14, 18, 0.88);
  --bg-card-solid: #0d0d12;
  --bg-card-subtle: #14141a;
  --bg-card-hover: #1c1c24;
  --bg-input: #08080b;
  --bg-input-focus: #111116;

  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(0, 196, 255, 0.38);
  --border-focus: #00c4ff;

  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Accent Colors (Fathom Neon Badges) */
  --accent-emerald: #10b981;
  --accent-emerald-bg: rgba(16, 185, 129, 0.14);
  --accent-amber: #f59e0b;
  --accent-amber-bg: rgba(245, 158, 11, 0.14);
  --accent-purple: #8b5cf6;
  --accent-purple-bg: rgba(139, 92, 246, 0.14);
  --accent-teal: #06b6d4;
  --accent-teal-bg: rgba(6, 182, 212, 0.14);
  --accent-blue: #3b82f6;
  --accent-blue-bg: rgba(59, 130, 246, 0.14);
  --accent-coral: #ef4444;
  --accent-coral-bg: rgba(239, 68, 68, 0.14);

  /* Geometry & Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.5);
  --shadow-card: 0 12px 32px -4px rgba(0, 0, 0, 0.8), 0 2px 8px -2px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 24px rgba(0, 196, 255, 0.25);

  --sidebar-width: 275px;
  --topbar-height: 58px;
}

[data-theme="light"] {
  --bg-app: #f4f6fa;
  --bg-sidebar: #ffffff;
  --bg-card: #ffffff;
  --bg-card-solid: #ffffff;
  --bg-card-subtle: #f8fafc;
  --bg-card-hover: #f1f5f9;
  --bg-input: #ffffff;
  --bg-input-focus: #ffffff;

  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-focus: #00c4ff;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;

  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-subtle: #e0f2fe;

  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08);
  --shadow-card: 0 4px 12px 0 rgba(0, 0, 0, 0.06);
}

/* Base Reset & Typography (Air-Gapped Sovereign Native Font Stack) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #000000;
  background-image: 
    radial-gradient(1px 1px at 25px 35px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 75px 120px, rgba(255,255,255,0.7), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 140px 60px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 220px 180px, #38bdf8, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 310px 90px, rgba(255,255,255,0.8), rgba(0,0,0,0)),
    radial-gradient(2px 2px at 420px 220px, #00c4ff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 530px 110px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 640px 270px, rgba(255,255,255,0.6), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 780px 80px, #38bdf8, rgba(0,0,0,0)),
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(0, 196, 255, 0.09), transparent 75%);
  background-repeat: repeat;
  background-size: 550px 550px, 450px 450px, 350px 350px, 500px 500px, 400px 400px, 600px 600px, 480px 480px, 520px 520px, 620px 620px, 100% 100%;
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 14px;
  line-height: 1.5;
}

/* Fathom Electric Cyan Beam Top Ribbon */
.iheid-top-ribbon {
  height: 2px;
  background: linear-gradient(90deg, #00c4ff 0%, #38bdf8 40%, #0284c7 80%, #00c4ff 100%);
  background-size: 200% 100%;
  animation: cyanBeam 6s ease infinite;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 0 12px rgba(0, 196, 255, 0.6);
}

@keyframes cyanBeam {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Full Width App Layout (Top Nav Fathom Architecture) */
.app-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  padding-top: 2px;
}

/* ==========================================================================
   FATHOM GLOBAL TOP BAR & SOUVERAIN ANNOUNCEMENT
   ========================================================================== */
.fathom-top-announcement {
  background: #09090d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  color: #94a3b8;
  padding: 0.45rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 100;
}

.fathom-announcement-content {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  justify-content: center;
  flex-wrap: wrap;
}

.fathom-announcement-badge {
  background: rgba(0, 196, 255, 0.15);
  color: #00c4ff;
  border: 1px solid rgba(0, 196, 255, 0.35);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.fathom-announcement-link {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.fathom-announcement-link:hover {
  color: #00c4ff;
}

/* ==========================================================================
   FATHOM NAVIGATION BAR (Top Horizontal Nav Header)
   ========================================================================== */
.fathom-navbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.6rem 1.5rem;
  width: 100%;
}

.fathom-nav-container {
  max-width: 1560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.fathom-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.fathom-logo-text {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-transform: uppercase;
}

.fathom-logo-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fathom-nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  background: rgba(18, 18, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.35rem;
  border-radius: var(--radius-pill);
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.fathom-nav-links::-webkit-scrollbar {
  display: none;
}

.fathom-nav-links .nav-item {
  background: transparent;
  color: #94a3b8;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.45rem;
  font-size: 0.71rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: auto;
}

.fathom-nav-links .nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transform: none;
}

.fathom-nav-links .nav-item.active {
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.fathom-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.fathom-persona-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(18, 18, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.fathom-persona-select {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.fathom-persona-select option {
  background: #0e0e12;
  color: #ffffff;
}

.persona-role-badge-mini {
  font-size: 0.62rem;
  font-weight: 800;
  background: rgba(0, 196, 255, 0.15);
  color: #00c4ff;
  border: 1px solid rgba(0, 196, 255, 0.35);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-pill);
}

.btn-fathom-cta-nav {
  background: transparent;
  color: #00c4ff;
  border: 1.5px solid #00c4ff;
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.15rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-fathom-cta-nav:hover {
  background: #00c4ff;
  color: #000000;
  box-shadow: 0 0 20px rgba(0, 196, 255, 0.5);
  transform: translateY(-1px);
}

/* ==========================================================================
   STUDIO ÉPURÉ & INSTINCTIF (Moins d'encadrés, ergonomie fluide Fathom)
   ========================================================================== */

/* En-tête de Séance Épurée (Uniquement sur l'onglet Séance) */
.studio-header-clean {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.studio-header-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.studio-title-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.studio-title-text {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
}

.studio-subtitle-text {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

.studio-badges-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.studio-header-actions {
  flex-shrink: 0;
}

/* Ruban des Accélérateurs (1-Clic) */
.studio-ribbon-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(14, 18, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.ribbon-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: #00c4ff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.studio-pills-toggles {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.studio-toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.studio-toggle-chip input[type="checkbox"] {
  width: 14px;
  height: 14px;
  cursor: pointer;
  accent-color: #00c4ff;
  margin: 0;
}

.studio-toggle-chip:has(input:checked) {
  background: rgba(0, 196, 255, 0.12);
  border-color: rgba(0, 196, 255, 0.45);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 196, 255, 0.2);
}

.studio-toggle-chip:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* 3 Colonnes Studio : Surfaces Dépolies Sans Encadrés Lourds */
.studio-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr 1.15fr;
  gap: 1.35rem;
  align-items: start;
}

.studio-col {
  background: rgba(12, 16, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ==========================================================================
   COLONNE 1 : ACTION MICRO & CAPTURE
   ========================================================================== */
.studio-action-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-record-hero {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: #00c4ff;
  color: #000000;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 0 20px rgba(0, 196, 255, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-record-hero:hover {
  background: #38bdf8;
  box-shadow: 0 0 30px rgba(0, 196, 255, 0.65);
  transform: translateY(-1px);
}

.studio-waveform-canvas {
  width: 100%;
  height: 48px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.studio-live-rec-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.75rem;
  background: rgba(226, 0, 32, 0.12);
  border: 1px solid rgba(226, 0, 32, 0.35);
  border-radius: 8px;
}

.rec-pulse-box {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.red-pulse {
  background: #e20020;
}

.rec-label {
  font-weight: 800;
  font-size: 0.72rem;
  color: #ff6b81;
  letter-spacing: 0.04em;
}

.rec-timer-box {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.rec-timer-txt {
  font-size: 0.68rem;
  color: #94a3b8;
}

.rec-timer-val {
  font-family: monospace;
  font-weight: 800;
  font-size: 0.82rem;
  color: #ffffff;
}

.studio-live-bookmarks {
  padding: 0.6rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.bookmarks-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #cbd5e1;
}

.bookmarks-shortcuts {
  font-size: 0.62rem;
  color: #64748b;
  font-weight: 500;
}

.bookmarks-buttons-row {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.btn-bookmark-chip {
  font-size: 0.68rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.15s ease;
}

.tag-decision { border-color: rgba(59, 130, 246, 0.4); color: #60a5fa; }
.tag-action { border-color: rgba(16, 185, 129, 0.4); color: #34d399; }
.tag-litige { border-color: rgba(239, 68, 68, 0.4); color: #f87171; }
.tag-important { border-color: rgba(245, 158, 11, 0.4); color: #fbbf24; }

.bookmarks-stream-box {
  max-height: 70px;
  overflow-y: auto;
  font-size: 0.65rem;
  font-family: monospace;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* Dropzone & Démos */
.studio-drop-section {
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1.15rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  transition: all 0.2s ease;
}

.studio-drop-section:hover {
  border-color: rgba(0, 196, 255, 0.4);
  background: rgba(0, 196, 255, 0.02);
}

.drop-text-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.drop-icon { font-size: 1.5rem; }
.drop-title { font-weight: 700; font-size: 0.82rem; color: #ffffff; }
.drop-subtitle { font-size: 0.7rem; color: #64748b; }

.btn-browse-file {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-browse-file:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.sample-pills-strip {
  width: 100%;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 0.65rem;
  margin-top: 0.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.sample-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sample-chips-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.sample-chip {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
}

.chip-townhall {
  background: rgba(0, 196, 255, 0.12);
  border: 1px solid rgba(0, 196, 255, 0.35);
  color: #38bdf8;
}

.chip-townhall:hover {
  background: rgba(0, 196, 255, 0.25);
  border-color: #00c4ff;
}

.chip-fm {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #7dd3fc;
}

.chip-fm:hover {
  background: rgba(56, 189, 248, 0.2);
}

.chip-iheid {
  background: rgba(226, 0, 32, 0.12);
  border: 1px solid rgba(226, 0, 32, 0.35);
  color: #ff6b81;
}

.chip-iheid:hover {
  background: rgba(226, 0, 32, 0.22);
}

.chip-download {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
}

.chip-download:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.vtt-connectors-row {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  flex-wrap: wrap;
}

.vtt-chip-btn {
  font-size: 0.68rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.vtt-chip-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Paramètres de Séance */
.studio-settings-flow {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.85rem;
}

.flow-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flow-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.flow-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 0.25rem;
  display: block;
}

.settings-lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.studio-select-input, .studio-text-input, .studio-textarea-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.75rem;
  padding: 0.4rem 0.65rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.studio-select-input option {
  background: #0e121d;
  color: #ffffff;
}

.studio-select-input:focus, .studio-text-input:focus, .studio-textarea-input:focus {
  border-color: #00c4ff;
  box-shadow: 0 0 10px rgba(0, 196, 255, 0.25);
}

.flow-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hybrid-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge-mini-cyan {
  font-size: 0.6rem;
  font-weight: 800;
  background: rgba(0, 196, 255, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(0, 196, 255, 0.3);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-pill);
}

.deliv-checkboxes-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.deliv-check-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: #cbd5e1;
  cursor: pointer;
}

.deliv-check-chip input[type="checkbox"] {
  accent-color: #00c4ff;
  cursor: pointer;
}

.donoharm-compact-box {
  padding: 0.65rem 0.75rem;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: 8px;
}

.donoharm-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  cursor: pointer;
}

.donoharm-txt {
  font-size: 0.75rem;
  font-weight: 700;
  color: #2dd4bf;
}

.badge-mini-teal {
  font-size: 0.6rem;
  font-weight: 800;
  background: rgba(45, 212, 191, 0.15);
  color: #2dd4bf;
  border: 1px solid rgba(45, 212, 191, 0.35);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   COLONNE 2 : SYNTHÈSE DÉCISIONNELLE & LIVRABLES OFFICE
   ========================================================================== */
.synthesis-section {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1.15rem;
}

.synthesis-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.section-title-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.sec-icon { font-size: 0.95rem; }
.sec-title {
  font-size: 0.825rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.badge-mini-auto {
  font-size: 0.6rem;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-pill);
  margin-left: auto;
}

.badge-mini-prisme {
  font-size: 0.6rem;
  font-weight: 800;
  background: rgba(226, 0, 32, 0.15);
  color: #ff6b81;
  border: 1px solid rgba(226, 0, 32, 0.35);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-pill);
  margin-left: auto;
}

.badge-mini-neutral {
  font-size: 0.6rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-pill);
  margin-left: auto;
}

.exports-buttons-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.exports-empty-txt {
  font-size: 0.74rem;
  color: #64748b;
  font-style: italic;
}

.synthesis-body-text {
  font-size: 0.825rem;
  line-height: 1.6;
  color: #e2e8f0;
  background: rgba(0, 0, 0, 0.25);
  border-left: 3px solid #00c4ff;
  border-radius: 0 8px 8px 0;
  padding: 0.85rem 1rem;
  min-height: 85px;
}

.synthesis-decisions-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: #cbd5e1;
}

.synthesis-decisions-list li {
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.45;
}

.synthesis-decisions-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #38bdf8;
  font-size: 0.75rem;
}

.synthesis-decisions-list .empty-item::before {
  content: "•";
  color: #64748b;
}

.synthesis-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.synthesis-actions-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.74rem;
}

.synthesis-actions-table th {
  background: rgba(0, 0, 0, 0.35);
  color: #94a3b8;
  padding: 0.45rem 0.65rem;
  font-weight: 700;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.synthesis-actions-table td {
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
}

.table-empty-cell {
  text-align: center;
  color: #64748b;
  padding: 1rem !important;
}

/* ==========================================================================
   COLONNE 3 : TRANSCRIPTION & DIARISATION
   ========================================================================== */
.transcript-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.transcript-title-box {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.badge-mini-ready {
  font-size: 0.6rem;
  font-weight: 800;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-pill);
}

.transcript-search-pill {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  color: #ffffff;
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  outline: none;
  max-width: 150px;
  transition: all 0.2s ease;
}

.transcript-search-pill:focus {
  border-color: #00c4ff;
  max-width: 190px;
}

.studio-audio-player-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.audio-player-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
}

.audio-player-title {
  font-weight: 700;
  color: #ffffff;
}

.audio-player-file {
  font-family: monospace;
  color: #64748b;
  font-size: 0.68rem;
}

.studio-audio-tag {
  width: 100%;
  height: 32px;
  outline: none;
}

.studio-transcript-body {
  max-height: 580px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-right: 0.35rem;
}

.transcript-placeholder {
  color: #64748b;
  font-size: 0.8rem;
  text-align: center;
  padding: 3rem 1rem;
}

/* ==========================================================================
   FOOTER INSTITUTIONNEL SUISSE (En bas de page)
   ========================================================================== */
.fathom-footer {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.95);
  padding: 3rem 2rem;
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 20;
}

.fathom-footer .fathom-social-proof-bar {
  max-width: 1200px;
  margin: 0 auto;
  border-top: none;
  padding-top: 0;
  justify-content: center;
}

.fathom-footer-legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  color: #64748b;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-dot {
  color: #475569;
}


/* ==========================================================================
   FATHOM WORKSPACE & MAIN VIEWPORT
   ========================================================================== */
.fathom-workspace {
  max-width: 1550px;
  margin: 0 auto;
  padding: 2rem 2rem 5rem 2rem;
  width: 100%;
}

.sidebar {
  display: none !important;
}

.main-viewport {
  width: 100%;
  min-height: auto;
  overflow: visible;
  height: auto;
}

.topbar {
  display: none !important;
}

/* ==========================================================================
   SIDEBAR (Legacy / Fallback styles)
   ========================================================================== */
.sidebar {
  width: var(--sidebar-width);
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-subtle);
  display: none !important;
  flex-direction: column;
  flex-shrink: 0;
  height: calc(100vh - 3px);
  position: sticky;
  top: 3px;
  z-index: 50;
  overflow-y: auto;
}

/* Sidebar Header & IHEID Logo Branding */
.sidebar-header {
  padding: 1.25rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-shield {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 196, 255, 0.2) 0%, rgba(14, 22, 38, 0.95) 100%);
  border: 1px solid var(--fathom-cyan);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(0, 196, 255, 0.35);
}

.brand-text h1 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 40%, #00c4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-text p {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.2;
  margin-top: 0.1rem;
}

/* Persona Switcher Card inside Sidebar */
.sidebar-persona-card {
  padding: 0.95rem 1rem;
  margin: 0.85rem;
  background-color: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  box-shadow: var(--shadow-card);
}

.persona-info-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.persona-avatar {
  font-size: 1.4rem;
  line-height: 1;
}

.persona-details {
  flex: 1;
  min-width: 0;
}

.persona-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.persona-email {
  font-size: 0.68rem;
  color: var(--fathom-cyan);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: monospace;
}

.persona-title {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.persona-role-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--fathom-cyan-subtle) !important;
  color: var(--fathom-cyan) !important;
  border: 1px solid rgba(0, 196, 255, 0.35);
  box-shadow: 0 0 10px rgba(0, 196, 255, 0.12);
}

.persona-select-wrapper {
  margin-top: 0.25rem;
}

.persona-select {
  width: 100%;
  padding: 0.35rem 0.5rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.persona-select:focus {
  border-color: var(--iheid-red);
}

/* Sidebar Navigation Sections */
.sidebar-nav {
  padding: 0.5rem 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.nav-section-title {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding: 0 0.5rem;
  margin-bottom: 0.35rem;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 0.825rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  width: 100%;
  text-align: left;
  transition: all 0.2s ease;
}

.nav-item-content {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-item:hover:not(.locked) {
  background-color: var(--bg-card-hover);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.06);
  transform: translateX(2px);
}

.nav-item.active {
  background: linear-gradient(90deg, rgba(0, 196, 255, 0.16) 0%, rgba(0, 196, 255, 0.04) 100%);
  color: var(--fathom-cyan);
  font-weight: 700;
  border: 1px solid rgba(0, 196, 255, 0.35);
  box-shadow: 0 0 14px rgba(0, 196, 255, 0.12);
}

/* Locked items (RBAC restrictions) - En production, les modules non autorisés sont strictement masqués */
.nav-item.locked {
  display: none !important;
}

.nav-section {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: opacity 0.2s ease;
}

/* Chips interactifs de suggestions pour l'assistant */
.chat-chips-container {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.btn-chat-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-chat-chip:hover {
  background: var(--primary-subtle);
  color: var(--iheid-red);
  border-color: var(--iheid-red-border);
  transform: translateY(-1px);
}

.nav-lock-badge {
  font-size: 0.65rem;
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card-subtle);
  color: var(--text-dim);
  border: 1px solid var(--border-subtle);
}

/* Sidebar Footer (Air Gap & IHEID Domain) */
.sidebar-footer {
  padding: 0.85rem 1.15rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.airgap-status-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.footer-compliance-tags {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-dim);
}

.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  padding: 0.2rem 0.45rem;
  cursor: pointer;
  font-size: 0.8rem;
}

.theme-toggle-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
}

/* ==========================================================================
   MAIN VIEWPORT (Header Topbar + Content)
   ========================================================================== */
.main-viewport {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: calc(100vh - 4px);
  overflow-y: auto;
}

/* Topbar */
.topbar {
  height: var(--topbar-height);
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 40;
  flex-shrink: 0;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.campus-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-card-subtle);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.campus-badge strong {
  color: var(--fathom-cyan);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.clearance-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
}

/* User Session Status in Topbar */
.user-session-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card-subtle);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.725rem;
}

.user-session-email {
  font-family: monospace;
  font-weight: 600;
  color: var(--fathom-cyan);
}

.btn-logout {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.65rem;
  font-size: 0.68rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-logout:hover {
  background: var(--iheid-red-subtle);
  color: var(--iheid-red);
  border-color: var(--iheid-red-border);
}

/* Main Viewport Content */
.content-area {
  padding: 1.5rem;
  flex: 1;
}

/* ==========================================================================
   CARDS, PANELS & GRIDS (FATHOM GLASSMORPHISM & OBSIDIAN SURFACES)
   ========================================================================== */
.card {
  background-color: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card), 0 0 20px rgba(0, 196, 255, 0.08);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Badges (Fathom Pill Silhouette & Neon Glow) */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}

.badge-sovereign {
  background: var(--fathom-cyan-subtle);
  color: var(--fathom-cyan);
  border: 1px solid rgba(0, 196, 255, 0.35);
  box-shadow: 0 0 10px rgba(0, 196, 255, 0.15);
}

.badge-iheid {
  background: var(--iheid-red-subtle);
  color: var(--iheid-red);
  border: 1px solid var(--iheid-red-border);
}

.badge-low {
  background: var(--accent-emerald-bg);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-medium {
  background: var(--accent-blue-bg);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-high {
  background: var(--accent-coral-bg);
  color: var(--accent-coral);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-purple {
  background: var(--accent-purple-bg);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-teal {
  background: var(--accent-teal-bg);
  color: var(--accent-teal);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-important {
  background: var(--accent-amber-bg);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Buttons (Fathom Pill Buttons & Vibrant Interactions) */
.btn-primary {
  background: linear-gradient(135deg, #00c4ff 0%, #0092db 100%);
  color: #070a13;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(0, 196, 255, 0.32);
  transition: all 0.2s ease;
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #38bdf8 0%, #00b4d8 100%);
  box-shadow: 0 6px 20px rgba(0, 196, 255, 0.48);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-secondary {
  background-color: var(--bg-card-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-secondary:hover:not(:disabled) {
  background-color: var(--bg-card-hover);
  border-color: var(--border-strong);
  color: var(--fathom-cyan);
  transform: translateY(-1px);
}

.btn-pill {
  border-radius: var(--radius-pill) !important;
}

.btn-danger {
  background-color: var(--accent-coral-bg);
  color: var(--accent-coral);
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

.btn-danger:hover:not(:disabled) {
  background-color: rgba(239, 68, 68, 0.22);
  border-color: var(--accent-coral);
  transform: translateY(-1px);
}

/* Inputs & Forms */
.input-text {
  width: 100%;
  padding: 0.55rem 0.85rem;
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.825rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-text:focus {
  border-color: var(--fathom-cyan);
  box-shadow: 0 0 0 2px rgba(0, 196, 255, 0.18);
}

/* Tables */
.table-container {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.8rem;
}

th {
  background-color: var(--bg-card-subtle);
  color: var(--text-muted);
  font-weight: 700;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

td {
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
}

tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background-color: var(--bg-card-subtle);
}

/* Dual Transcript Stream (Fathom Verbatim Style) */
.transcript-dual-view {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 0.4rem;
}

.segment-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.segment-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

.segment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.segment-speaker {
  font-weight: 700;
  color: var(--fathom-cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.segment-timecode {
  font-family: monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.12rem 0.45rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.segment-timecode:hover {
  background: var(--fathom-cyan-subtle);
  color: var(--fathom-cyan);
  border-color: rgba(0, 196, 255, 0.4);
}

.segment-original {
  font-size: 0.825rem;
  color: var(--text-main);
  line-height: 1.45;
}

.segment-translated {
  font-size: 0.825rem;
  color: var(--accent-emerald);
  border-top: 1px dashed var(--border-subtle);
  padding-top: 0.35rem;
  line-height: 1.45;
}

/* Tab Management */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ==========================================================================
   FATHOM HERO MEETING BANNER & VISUAL ARCHITECTURE
   ========================================================================== */
.fathom-hero-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.35rem;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-card);
  gap: 1rem;
  flex-wrap: wrap;
}

.fathom-hero-left {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.fathom-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fathom-meeting-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.fathom-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 196, 255, 0.12);
  border: 1px solid rgba(0, 196, 255, 0.35);
  color: var(--fathom-cyan);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.fathom-meta-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.fathom-hero-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

/* Studio 3-Pane Layout (Fathom Workspace) */
.studio-grid, .studio-3col {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr 1.15fr;
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 1400px) {
  .studio-grid, .studio-3col {
    grid-template-columns: 1fr 1fr;
  }
  .studio-grid > div:nth-child(3), .studio-3col > div:nth-child(3) {
    grid-column: span 2;
  }
}

@media (max-width: 960px) {
  .studio-grid, .studio-3col {
    grid-template-columns: 1fr;
  }
  .studio-grid > div:nth-child(3), .studio-3col > div:nth-child(3) {
    grid-column: span 1;
  }
}

/* Floating Recording Dock */
.floating-recording-dock {
  position: sticky;
  bottom: 1.25rem;
  z-index: 100;
  background: rgba(14, 22, 38, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 196, 255, 0.18);
}

/* Fathom Signature Audio Dropzone */
.audio-recorder-box {
  background-color: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px dashed rgba(56, 189, 248, 0.28);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.audio-recorder-box:hover {
  border-color: var(--fathom-cyan);
  background-color: rgba(14, 22, 38, 0.95);
  box-shadow: 0 0 25px rgba(0, 196, 255, 0.16);
  transform: translateY(-1px);
}

/* Audio Waveform Canvas */
#waveform-canvas {
  width: 100%;
  height: 60px;
  background-color: var(--bg-input);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-md);
  display: block;
  margin-bottom: 0.75rem;
}

/* Fathom Signature Glowing Record Button */
.btn-record-fathom {
  background: linear-gradient(135deg, #00c4ff 0%, #0099e6 100%) !important;
  color: #070a13 !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  padding: 0.75rem 1.75rem !important;
  font-size: 0.9rem !important;
  border-radius: var(--radius-pill) !important;
  box-shadow: 0 4px 20px rgba(0, 196, 255, 0.38) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
}

.btn-record-fathom:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 28px rgba(0, 196, 255, 0.55) !important;
  background: linear-gradient(135deg, #38bdf8 0%, #00b4d8 100%) !important;
}

.btn-record-fathom.recording {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.6) !important;
  animation: pulseRecording 1.5s infinite !important;
}

@keyframes pulseRecording {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Fathom 1-Click Toggle Switchboard Pills */
.toggle-pill-card {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.6rem 0.95rem !important;
  background: rgba(19, 31, 54, 0.7) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-pill) !important;
  cursor: pointer !important;
  user-select: none !important;
  transition: all 0.25s ease !important;
}

.toggle-pill-card:hover {
  background: rgba(24, 40, 70, 0.9) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  box-shadow: 0 0 14px rgba(0, 196, 255, 0.12) !important;
  transform: translateY(-1px) !important;
}

.toggle-pill-card:has(input:checked) {
  border-color: rgba(0, 196, 255, 0.45) !important;
  background: rgba(0, 196, 255, 0.08) !important;
  box-shadow: 0 0 16px rgba(0, 196, 255, 0.15) !important;
}

/* Marqueurs 1-clic direct */
.btn-bookmark-tag {
  border-radius: var(--radius-pill) !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
  backdrop-filter: blur(8px) !important;
}

.btn-bookmark-tag:hover {
  transform: translateY(-1px) !important;
  filter: brightness(1.2) !important;
}

/* IT Console Dashboard Metric Cards */
.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.metric-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.metric-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.metric-data h4 {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.metric-data .metric-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.15rem;
}

.metric-data .metric-sub {
  font-size: 0.68rem;
  color: var(--text-dim);
}

/* Restricted banner for locked features */
.restricted-banner {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  margin: 1rem 0;
}

.restricted-banner-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.restricted-banner h3 {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.restricted-banner p {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* ==========================================================================
   AUTHENTIFICATION GOOGLE WORKSPACE IHEID (LOGIN MODAL & OVERLAY)
   ========================================================================== */
.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 14, 22, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
}

.login-overlay.active {
  display: flex;
}

.login-modal {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.login-modal-header {
  padding: 1.75rem 1.5rem 1.25rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-card-subtle);
}

.login-iheid-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--iheid-red);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.login-modal-header h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.login-modal-header p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.login-modal-body {
  padding: 1.5rem;
}

.google-auth-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #ffffff;
  color: #3c4043;
  border: 1px solid #dadce0;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.15);
}

.google-auth-btn:hover {
  background: #f8f9fa;
  border-color: #c6c9ce;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.25);
}

.google-icon {
  width: 18px;
  height: 18px;
}

.domain-enforcement-pill {
  margin-top: 1rem;
  padding: 0.6rem 0.85rem;
  background: var(--iheid-red-subtle);
  border: 1px solid var(--iheid-red-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--iheid-red);
  font-weight: 600;
}

.login-divider {
  display: flex;
  align-items: center;
  margin: 1.25rem 0;
  color: var(--text-dim);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.login-divider::before, .login-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--border-subtle);
}

.login-divider span {
  padding: 0 0.75rem;
}

/* Quick test personas grid */
.quick-test-accounts {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.btn-test-account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.75rem;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
}

.btn-test-account:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
}

.btn-test-account-invalid {
  border-color: rgba(226, 0, 32, 0.4);
  background: rgba(226, 0, 32, 0.05);
  color: var(--iheid-red);
}

.btn-test-account-invalid:hover {
  background: rgba(226, 0, 32, 0.1);
}

.login-error-alert {
  padding: 0.75rem;
  background: rgba(226, 0, 32, 0.15);
  border: 1px solid var(--iheid-red);
  border-radius: var(--radius-sm);
  color: var(--iheid-red);
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 1rem;
  display: none;
  animation: modalFadeIn 0.2s ease;
}

/* ==========================================================================
   MODAL VISIONNEUSE PDF OFFICIELLE (A4 HAUTE FIDÉLITÉ)
   ========================================================================== */
.pdf-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 14, 22, 0.88);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2500;
  padding: 1.5rem;
}

.pdf-modal-overlay.active {
  display: flex;
}

.pdf-modal-container {
  width: 100%;
  max-width: 1100px;
  height: 92vh;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalFadeIn 0.2s ease-out;
}

.pdf-modal-header {
  padding: 1rem 1.5rem;
  background: var(--bg-card-subtle);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.pdf-header-left h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.2rem;
  line-height: 1.3;
}

.pdf-badge-iheid {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--iheid-red);
  background: var(--iheid-red-subtle);
  border: 1px solid var(--iheid-red-border);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pdf-conf-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #0d9488;
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

.pdf-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-pdf-action {
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
}

.btn-pdf-action:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  color: var(--primary);
}

.btn-pdf-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-pdf-close:hover {
  background: rgba(226, 0, 32, 0.1);
  border-color: var(--iheid-red);
  color: var(--iheid-red);
}

.pdf-modal-body {
  flex: 1;
  position: relative;
  background: #2d3748;
  display: flex;
  flex-direction: column;
}

.pdf-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #ffffff;
}

.pdf-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  z-index: 5;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(226, 0, 32, 0.2);
  border-top-color: var(--iheid-red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   SYSTÈME DE NOTIFICATIONS TOAST INTERACTIVES (MASTER PROMPT)
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 3000;
  pointer-events: none;
}

.toast {
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.82rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  pointer-events: auto;
  animation: toastSlideIn 0.25s ease-out forwards;
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: 380px;
}

.toast-success {
  border-left: 4px solid var(--accent-emerald);
}

.toast-error {
  border-left: 4px solid var(--iheid-red);
}

.toast-info {
  border-left: 4px solid var(--primary);
}

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   MICRO-INTERACTIONS & EFFETS VIVANTS (MASTER PROMPT)
   ========================================================================== */
.card {
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  border-color: var(--border-strong);
}

.btn-primary:active, .btn-secondary:active, .btn-danger:active {
  transform: scale(0.98);
}

.pulse-beacon {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--iheid-red);
  box-shadow: 0 0 0 rgba(226, 0, 32, 0.6);
  animation: pulseBeacon 1.5s infinite;
}

@keyframes pulseBeacon {
  0% { box-shadow: 0 0 0 0 rgba(226, 0, 32, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(226, 0, 32, 0); }
  100% { box-shadow: 0 0 0 0 rgba(226, 0, 32, 0); }
}

/* ==========================================================================
   OPTIMISATION MOBILE & TABLETTE (SMARTPHONES iOS & ANDROID)
   ========================================================================== */
@media (max-width: 768px) {
  .app-layout {
    flex-direction: column;
    padding-top: 0;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: static;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem 1rem;
  }

  .sidebar-header {
    padding: 0.5rem 0;
  }

  .sidebar-nav {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 0.4rem;
    padding: 0.5rem 0;
    scrollbar-width: none;
  }
  .sidebar-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-item {
    flex-shrink: 0;
    padding: 0.45rem 0.75rem;
    font-size: 0.75rem;
    white-space: nowrap;
    border-radius: var(--radius-sm);
  }

  .main-content {
    padding: 1rem 0.75rem 2rem 0.75rem;
  }

  .main-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .studio-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .login-modal {
    max-width: 95% !important;
    padding: 1.25rem 1rem;
  }

  .pdf-modal-container {
    width: 98%;
    height: 94vh;
  }

  .pdf-header-actions {
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .btn-primary, .btn-secondary, .btn-danger {
    min-height: 38px;
    touch-action: manipulation;
  }
}


