/* ===== MEETINGS / TELECONFERENCE PAGE ===== */
.meetings-page {
  padding-top: calc(var(--nav-height) + 20px);
  min-height: 100vh;
  background: var(--gradient-page);
}

.meetings-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 24px 32px 60px;
}

/* In the video room (pre-join + in-call) the navbar is hidden for a focused,
   full-screen consultation. `in-room` is toggled on <body> by openSession /
   leaveSession, so the navbar returns the moment the user leaves the call. */
body.in-room .navbar { display: none !important; }
body.in-room.meetings-page { padding-top: 20px; }

.meetings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.meetings-header__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
}

/* Create Session Form */
.create-meeting-form {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(30,58,138,0.15);
  margin-bottom: 24px;
  display: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.create-meeting-form.active { display: block; }

.form-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 18px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.create-meeting-form input,
.create-meeting-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--font-body);
  margin-bottom: 14px;
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.create-meeting-form input:focus,
.create-meeting-form select:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(30,58,138,0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 6px;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 4px;
}

/* Session Cards */
.meeting-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 24px;
  border: 1.5px solid rgba(30,58,138,0.1);
  margin-bottom: 14px;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
  animation: fadeInUp 0.4s ease-out both;
}

.meeting-card:nth-child(1) { animation-delay: 0.05s; }
.meeting-card:nth-child(2) { animation-delay: 0.1s; }
.meeting-card:nth-child(3) { animation-delay: 0.15s; }

.meeting-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
  border-color: rgba(30,58,138,0.25);
}

.meeting-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}

.meeting-card__title {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
}

.meeting-card__details {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: rgba(30,58,138,0.06);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-body);
}

.detail-chip svg { width: 14px; height: 14px; fill: var(--green-primary); }

.detail-chip--rec {
  background: rgba(229,62,62,0.08);
  color: #e53e3e;
}

.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e53e3e;
  animation: recPulse 1.5s ease-in-out infinite;
}

@keyframes recPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.meeting-status {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meeting-status--scheduled { background: #EEF1FA; color: #15306E; }
.meeting-status--active { background: #dcfce7; color: #0B6E3B; }
.meeting-status--ended { background: #f3f4f6; color: #6b7280; }
.meeting-status--cancelled { background: #fef2f2; color: #991b1b; }

.meeting-card__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Tabs */
.meetings-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.tab-btn {
  padding: 8px 20px;
  border: 1.5px solid rgba(30,58,138,0.2);
  border-radius: 50px;
  background: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-body);
}

.tab-btn:hover { border-color: var(--green-primary); }
.tab-btn.active { background: var(--green-primary); color: #fff; border-color: var(--green-primary); }

/* ===== SESSION DETAIL VIEW ===== */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1.5px solid rgba(30,58,138,0.2);
  border-radius: 10px;
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  margin-bottom: 20px;
  transition: all 0.25s;
}

.back-btn:hover { border-color: var(--green-primary); color: var(--green-primary); background: rgba(30,58,138,0.04); }
.back-btn svg { width: 16px; height: 16px; }

/* Meeting header (title + subtitle + status) */
.video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.video-header__meta { min-width: 0; }

.video-header__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--text-dark);
  line-height: 1.15;
}

.video-header__sub {
  font-size: 13px;
  color: var(--text-body);
  margin-top: 3px;
}

/* Stage = video area (+ optional right drawer) */
.session-stage {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

/* Video Container */
.video-container {
  flex: 1 1 auto;
  min-width: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 16px;
  border: 1.5px solid rgba(30,58,138,0.1);
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

/* The dark "card" that holds the toolbar + video grid + self chip */
.video-stage {
  position: relative;
  background: #0a1422;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ===== IN-CALL TOP TOOLBAR ===== */
.meeting-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  background: linear-gradient(120deg, var(--royal-deep), var(--royal));
  border-bottom: 2px solid var(--gold);
  flex-wrap: wrap;
}

.meeting-toolbar__status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mt-timer {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 12px;
  border-radius: 10px;
}
.mt-timer svg { width: 16px; height: 16px; opacity: 0.9; }

/* Recording indicator beside the timestamp */
.mt-rec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(229,62,62,0.18);
  border: 1px solid rgba(255,120,120,0.55);
  color: #ffd9d9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 5px 11px;
  border-radius: 999px;
}
.mt-rec__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5252;
  box-shadow: 0 0 0 0 rgba(255,82,82,0.6);
  animation: recPulse 1.4s infinite;
}

.meeting-toolbar__controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.mt-sep {
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.2);
  margin: 0 4px;
}

.mt-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 58px;
  padding: 7px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}
.mt-btn:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.3); }
.mt-btn:active { transform: scale(0.96); }
.mt-btn__icon { display: inline-flex; }
.mt-btn__icon svg { width: 20px; height: 20px; }
.mt-btn__label { line-height: 1; white-space: nowrap; }

/* Notification badge (chat unread / waiting-room count) — top-right corner */
.mt-btn__badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e53e3e;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px var(--royal-deep, #15306e);
  pointer-events: none;
}

/* Active drawer state → gold accent */
.mt-btn.active {
  background: var(--gold);
  border-color: var(--gold-deep);
  color: #fff;
  box-shadow: 0 2px 10px rgba(192,146,46,0.4);
}

/* Camera / mic muted state → red */
.mt-btn--off {
  background: rgba(229,62,62,0.22);
  border-color: rgba(255,120,120,0.5);
  color: #ffd9d9;
}
.mt-btn--off:hover { background: rgba(229,62,62,0.32); }

/* Leave button → solid red */
.mt-btn--leave {
  background: #e53e3e;
  border-color: #e53e3e;
}
.mt-btn--leave:hover { background: #c53030; border-color: #c53030; }

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: 10px;
  height: 68vh;
  max-height: 68vh;
  background: transparent;
  padding: 12px;
  overflow: hidden;            /* never scroll — tiles always fit */
  transition: height 0.3s ease;
}

/* In a live call the grid maximizes the available meeting area */
.video-grid.in-call {
  height: 72vh;
  max-height: 72vh;
}

/* Self indicator (bottom-left of the stage) */
.video-self {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10,20,34,0.78);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.video-self__icon { display: inline-flex; }
.video-self__icon svg { width: 15px; height: 15px; }
.video-self--muted { color: #ffd9d9; }
.video-self--muted .video-self__icon svg { color: #ff6b6b; }

/* ── Discord / Google Meet / Teams style adaptive layouts ──
   Tiles fill their cell completely; the grid recalculates by participant count. */

/* 1 participant — one large video */
.video-grid[data-count="1"] {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

/* 2 participants — two columns */
.video-grid[data-count="2"] {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
}

/* 3 participants — 2 on top, 1 centred below (4-col scaffold) */
.video-grid[data-count="3"] {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
.video-grid[data-count="3"] .video-participant:nth-child(1) { grid-area: 1 / 1 / 2 / 3; }
.video-grid[data-count="3"] .video-participant:nth-child(2) { grid-area: 1 / 3 / 2 / 5; }
.video-grid[data-count="3"] .video-participant:nth-child(3) { grid-area: 2 / 2 / 3 / 4; }

/* 4 participants — 2×2 grid */
.video-grid[data-count="4"] {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

/* 5 participants — Discord style: 3 on top, 2 centred below (6-col scaffold) */
.video-grid[data-count="5"] {
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
.video-grid[data-count="5"] .video-participant:nth-child(1) { grid-area: 1 / 1 / 2 / 3; }
.video-grid[data-count="5"] .video-participant:nth-child(2) { grid-area: 1 / 3 / 2 / 5; }
.video-grid[data-count="5"] .video-participant:nth-child(3) { grid-area: 1 / 5 / 2 / 7; }
.video-grid[data-count="5"] .video-participant:nth-child(4) { grid-area: 2 / 2 / 3 / 4; }
.video-grid[data-count="5"] .video-participant:nth-child(5) { grid-area: 2 / 4 / 3 / 6; }

/* 6+ participants — 3 columns, auto rows (graceful fallback) */
.video-grid[data-count="6"] {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.video-placeholder {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  text-align: center;
  padding: 60px 20px;
}

.video-placeholder svg { width: 64px; height: 64px; fill: rgba(255,255,255,0.15); margin-bottom: 16px; }
.video-placeholder p { font-size: 14px; line-height: 1.6; max-width: 300px; }
.video-placeholder strong { color: rgba(255,255,255,0.5); }

/* Participant video tiles — fully occupy their assigned cell, no distortion */
.video-participant {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #1B2230;
  transition: all 0.3s ease;
}

.video-participant .video-track,
.video-participant .video-track video {
  width: 100%;
  height: 100%;
}

.video-participant video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-participant__name {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 2;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.video-participant--local { border: 2px solid var(--green-primary); }

/* ===== RIGHT-SIDE MEETING DRAWER ===== */
.meeting-drawer {
  flex: 0 0 360px;
  width: 360px;
  align-self: stretch;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1.5px solid rgba(30,58,138,0.1);
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: drawerIn 0.25s ease;
}

.session-stage.drawer-open .meeting-drawer { display: flex; }

@keyframes drawerIn {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Each panel inside the drawer — JS toggles the active one to display:flex */
.drawer-panel {
  display: none;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1.5px solid rgba(30,58,138,0.08);
  flex: 0 0 auto;
}

.drawer-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--text-dark);
  line-height: 1.1;
}
.drawer-title svg { width: 18px; height: 18px; color: var(--green-primary); }

.drawer-close {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 8px;
  background: rgba(30,58,138,0.06);
  color: var(--text-body);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.drawer-close:hover { background: rgba(30,58,138,0.12); color: var(--text-dark); }
.drawer-close svg { width: 16px; height: 16px; }

.drawer-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 18px 18px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}

/* Chat body: no self-scroll — the message list scrolls, input stays pinned */
.drawer-body--chat {
  gap: 12px;
  overflow: hidden;
}

/* People search */
.people-search { position: relative; flex: 0 0 auto; }
.people-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #8A93A4;
  pointer-events: none;
}
.people-search input {
  width: 100%;
  padding: 10px 12px 10px 36px;
  border: 1.5px solid #E6EAF1;
  border-radius: 10px;
  font-size: 13px;
  font-family: var(--font-body);
  background: #faf8f3;
  color: var(--text-dark);
}
.people-search input::placeholder { color: #8A93A4; }
.people-search input:focus { outline: none; border-color: var(--green-primary); background: #fff; }

/* People sections */
.people-section { display: flex; flex-direction: column; }
.people-section__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #8A93A4;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Host controls inside the Session info panel */
.host-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1.5px solid rgba(30,58,138,0.08);
}
.drawer-subhead {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-body);
  margin-bottom: 4px;
}
.drawer-subhead svg { width: 14px; height: 14px; color: var(--green-primary); }

/* Chat inside drawer: messages grow & scroll, input row pinned at bottom */
.drawer-body--chat .chat-messages {
  flex: 1 1 auto;
  max-height: none;
  min-height: 0;
  margin-bottom: 0;
}
.drawer-body--chat .chat-input-row { flex: 0 0 auto; }

/* Logs inside drawer can use full height */
.drawer-body .logs-list { max-height: none; }

/* Video Controls */
.video-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 0;
}

.ctrl-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(30,58,138,0.1);
  border: 1.5px solid rgba(30,58,138,0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  color: var(--green-primary);
}

.ctrl-btn svg { width: 22px; height: 22px; fill: currentColor; }
.ctrl-btn:hover { background: rgba(30,58,138,0.2); transform: scale(1.08); }

.ctrl-btn--muted {
  background: rgba(229,62,62,0.1);
  border-color: rgba(229,62,62,0.3);
  color: #e53e3e;
}

.ctrl-btn--danger {
  background: rgba(229,62,62,0.1);
  border-color: rgba(229,62,62,0.3);
  color: #e53e3e;
}

.ctrl-btn--danger:hover {
  background: #e53e3e;
  color: #fff;
}

/* Session Actions (pre-join) */
.session-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 0;
}

.btn-join {
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--green-primary), #15306E);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(30,58,138,0.35);
}

.btn-join:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(30,58,138,0.45); }
.btn-join:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-end {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: rgba(229,62,62,0.1);
  color: #e53e3e;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  border: 1.5px solid rgba(229,62,62,0.2);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-end:hover { background: #e53e3e; color: #fff; }

/* Recording Banner */
.recording-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #92400e;
  margin-top: 12px;
  animation: fadeInUp 0.3s ease;
}

.recording-banner--active {
  background: #fef2f2;
  border-color: #feb2b2;
  color: #991b1b;
}

.recording-banner__indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f59e0b;
  animation: recPulse 1.5s infinite;
  flex-shrink: 0;
}

.recording-banner--active .recording-banner__indicator { background: #e53e3e; }

.btn-consent {
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.25s;
  border: none;
}

.btn-consent--yes { background: var(--green-primary); color: #fff; }
.btn-consent--yes:hover { background: var(--green-dark); }
.btn-consent--no { background: #f3f4f6; color: #6b7280; border: 1px solid #e2e8f0; }
.btn-consent--no:hover { background: #e2e8f0; }

/* ===== SESSION SIDEBAR ===== */
.session-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.sidebar-panel {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border-radius: 14px;
  padding: 18px;
  border: 1.5px solid rgba(30,58,138,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.sidebar-panel__title {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(30,58,138,0.08);
}

.sidebar-panel__title svg { width: 16px; height: 16px; fill: var(--green-primary); }

/* Session Info */
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.info-row:last-child { border-bottom: none; }

.info-label { font-size: 12px; color: var(--text-body); font-weight: 500; }
.info-val { font-size: 12px; color: var(--text-dark); font-weight: 600; }

/* Participants */
.participant-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 500;
}

.participant-item--you { color: var(--green-primary); font-weight: 600; }

/* Profile-styled avatar — matches the profile card (profile.css .sidebar__avatar):
   light gradient circle, navy ring, navy initial. Kept consistent across
   Teleconference / Payment Verification / Community. */
.participant-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F0FAEC, #EEF1FA);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #1E3A8A;
  border: 2px solid rgba(30, 58, 138, 0.25);
  flex-shrink: 0;
}

.participant-placeholder {
  padding: 12px 0;
  font-size: 13px;
  color: #8A93A4;
  text-align: center;
}

/* Controls List */
.controls-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(30,58,138,0.06);
  border: 1.5px solid rgba(30,58,138,0.15);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--green-primary);
  cursor: pointer;
  transition: all 0.25s;
  width: 100%;
}

.control-btn:hover { background: rgba(30,58,138,0.12); border-color: var(--green-primary); }
.control-btn svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

.control-btn--danger {
  background: rgba(229,62,62,0.06);
  border-color: rgba(229,62,62,0.15);
  color: #e53e3e;
}

.control-btn--danger:hover {
  background: rgba(229,62,62,0.12);
  border-color: #e53e3e;
}

.control-btn--warning {
  background: rgba(237,137,54,0.06);
  border-color: rgba(237,137,54,0.15);
  color: #dd6b20;
}

.control-btn--warning:hover {
  background: rgba(237,137,54,0.12);
  border-color: #dd6b20;
}

.control-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Session Logs */
.logs-list {
  max-height: 300px;
  overflow-y: auto;
}

.log-item {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.log-item:last-child { border-bottom: none; }

.log-item__event {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: capitalize;
  margin-bottom: 2px;
}

.log-item__detail {
  font-size: 11px;
  color: var(--text-body);
  line-height: 1.4;
}

.log-item__time {
  font-size: 10px;
  color: #8A93A4;
  margin-top: 2px;
}

.log-empty {
  padding: 16px 0;
  font-size: 13px;
  color: #8A93A4;
  text-align: center;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-body);
}

.empty-state svg { width: 56px; height: 56px; fill: #E6EAF1; margin-bottom: 14px; }
.empty-state__title { font-weight: 700; font-size: 16px; color: var(--text-dark); margin-bottom: 6px; }
.empty-state__text { font-size: 13px; }

/* ===== BUTTONS ===== */
.btn-create {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--green-primary), #15306E);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 3px 14px rgba(30,58,138,0.3);
}

.btn-create:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(30,58,138,0.4); }
.btn-create svg { width: 16px; height: 16px; }

.btn-sm {
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.25s;
  border: 1.5px solid transparent;
}

.btn-sm--primary {
  background: var(--green-primary);
  color: #fff;
  border-color: var(--green-primary);
}

.btn-sm--primary:hover { background: var(--green-dark); }

.btn-sm--danger {
  background: rgba(229,62,62,0.08);
  color: #e53e3e;
  border-color: rgba(229,62,62,0.2);
}

.btn-sm--danger:hover { background: #e53e3e; color: #fff; }

.btn-modal {
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.25s;
  border: none;
}

.btn-modal--cancel {
  background: #f3f4f6;
  color: var(--text-body);
  border: 1px solid #e2e8f0;
}

.btn-modal--cancel:hover { background: #e2e8f0; }

.btn-modal--primary {
  background: linear-gradient(135deg, var(--green-primary), #15306E);
  color: #fff;
  box-shadow: 0 3px 12px rgba(30,58,138,0.3);
  display: inline-flex;
  align-items: center;
}

.btn-modal--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(30,58,138,0.4);
}

/* ===== TOAST ===== */
.flag-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #1B2230;
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
}

.flag-toast.show { transform: translateY(0); opacity: 1; }
.flag-toast svg { width: 18px; height: 18px; fill: var(--green-primary); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  /* Drawer overlays the stage instead of taking a column */
  .session-stage { position: relative; }
  .meeting-drawer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 92%);
    flex: none;
    z-index: 20;
  }
}

@media (max-width: 640px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
  /* Full-width drawer on phones */
  .meeting-drawer { width: 100%; }
  .meeting-card__details {
    flex-direction: column;
    gap: 6px;
  }
  /* Compact toolbar buttons so they wrap gracefully */
  .meeting-toolbar { flex-wrap: wrap; gap: 8px; }
  .mt-btn { padding: 7px 8px; }
  .mt-btn__label { font-size: 10px; }
}

/* ===== CONSENT TOGGLE ===== */
.consent-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-body);
}

.consent-toggle input[type="checkbox"] {
  accent-color: var(--green-primary);
  width: 16px;
  height: 16px;
}

/* ============================================ */
/* TELECONFERENCE — staff picker, waiting room,  */
/* meeting password, and modal dialogs           */
/* ============================================ */

/* Staff picker (dropdown + Add, with chosen list) */
.staff-picker-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.staff-picker-row select { flex: 1; }
.btn-add-staff {
  flex: 0 0 auto;
  background: var(--green-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 18px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-add-staff:hover { background: var(--green-dark, #15306E); }

.selected-staff-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.staff-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30,58,138,0.06);
  border: 1px solid #DCE3F5;
  border-radius: 999px;
  padding: 6px 8px 6px 14px;
  font-size: 12.5px;
  color: var(--green-primary);
  font-weight: 600;
}
.staff-chip__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: rgba(30,58,138,0.12);
  color: var(--green-primary);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.staff-chip__remove:hover { background: #e53e3e; color: #fff; }

/* Meeting password row in session info */
.info-row--password { align-items: center; }
.info-val--password {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--green-primary);
  background: rgba(30,58,138,0.07);
  padding: 2px 10px;
  border-radius: 6px;
}
.info-password-hint {
  margin: 8px 0 0;
  font-size: 11px;
  color: #a0aec0;
}

/* Waiting room */
.waiting-count-badge {
  display: inline-block;
  min-width: 20px;
  padding: 1px 7px;
  margin-left: 6px;
  border-radius: 999px;
  background: #e53e3e;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.waiting-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #eef1f6;
}
.waiting-item:last-child { border-bottom: none; }
.waiting-item__info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.waiting-item__actions { display: flex; gap: 6px; }
.btn-admit, .btn-deny {
  border: none;
  border-radius: 7px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.btn-admit { background: var(--green-primary); color: #fff; }
.btn-admit:hover { opacity: 0.88; }
.btn-deny { background: #f3f4f6; color: #6b7280; border: 1px solid #e2e8f0; }
.btn-deny:hover { background: #e2e8f0; }

/* Modal dialogs (join password + recording consent) */
.tc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.tc-modal {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.tc-modal__title {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark, #1a202c);
}
.tc-modal__text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
  color: #4a5568;
}
.tc-modal__note {
  background: rgba(30,58,138,0.05);
  border: 1px solid #DCE3F5;
  border-left: 3px solid var(--green-primary);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #4a5568;
}
.tc-modal__input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1.5px solid #E6EAF1;
  border-radius: 10px;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'SFMono-Regular', Consolas, monospace;
  margin: 6px 0 4px;
}
.tc-modal__input:focus {
  outline: none;
  border-color: var(--green-primary);
}
.tc-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

/* ============================================ */
/* CHAT + PARTICIPANT ROLE LABELS                */
/* ============================================ */

/* Participant roster with role labels */
.participant-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}
.participant-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.participant-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark, #1a202c);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.participant-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0B6E3B;
  box-shadow: 0 0 0 3px rgba(11,110,59,0.15);
  flex: 0 0 auto;
}

/* Role badges (used in participants list and waiting room) */
.role-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  width: fit-content;
}
.role-badge--host   { background: rgba(30,58,138,0.12);  color: #1E3A8A; }
.role-badge--client { background: rgba(192,146,46,0.16); color: #946C12; }
.role-badge--staff  { background: rgba(11,110,59,0.12);  color: #0B6E3B; }

/* Chat panel */
#chat-panel { display: flex; flex-direction: column; }
.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 280px;
  min-height: 120px;
  overflow-y: auto;
  padding: 4px 2px;
  margin-bottom: 10px;
}
.chat-empty {
  color: #a0aec0;
  font-size: 13px;
  text-align: center;
  padding: 24px 0;
}
.chat-msg {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #f3f5f9;
  border-radius: 10px;
  padding: 8px 12px;
  max-width: 90%;
  align-self: flex-start;
}
.chat-msg--mine {
  background: rgba(30,58,138,0.08);
  align-self: flex-end;
}
.chat-msg__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.chat-msg__author {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-primary);
}
.chat-msg__time {
  font-size: 10px;
  color: #a0aec0;
  flex: 0 0 auto;
}
.chat-msg__body {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-dark, #1a202c);
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.chat-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.chat-input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1.5px solid #E6EAF1;
  border-radius: 10px;
  font-size: 13px;
  font-family: var(--font-body);
}
.chat-input:focus { outline: none; border-color: var(--green-primary); }
.chat-send-btn {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: var(--green-primary);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.chat-send-btn:hover { background: var(--green-dark, #15306E); }
.chat-send-btn svg { fill: #fff; }

/* ============================================ */
/* MS TEAMS-STYLE MEETING NAV RAIL               */
/* (only visible while in a meeting)             */
/* ============================================ */
.teams-rail {
  position: fixed;
  top: var(--nav-height, 64px);
  left: 0;
  bottom: 0;
  width: 76px;
  background: #2b2b3d;
  display: none;                /* shown via body.meeting-mode */
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  z-index: 80;
  box-shadow: 2px 0 12px rgba(0,0,0,0.18);
}
.teams-rail__items {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  width: 100%;
}
.teams-rail__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  text-decoration: none;
  color: #c7c7d9;
  position: relative;
  transition: background 0.15s ease, color 0.15s ease;
}
.teams-rail__item:hover { background: rgba(255,255,255,0.06); color: #fff; }
.teams-rail__item.active { color: #fff; }
.teams-rail__item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #7b83eb;          /* Teams accent purple */
}
.teams-rail__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.teams-rail__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.teams-rail__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1.1;
  text-align: center;
}

/* Shift the meeting content right so the rail never overlaps it */
body.meeting-mode .teams-rail { display: flex; }
body.meeting-mode .meetings-container { margin-left: 76px; }

@media (max-width: 600px) {
  .teams-rail { width: 60px; }
  .teams-rail__label { font-size: 9px; }
  body.meeting-mode .meetings-container { margin-left: 60px; }
}

/* ============================================================
   Teleconference People tab — media icons, remove, invited
   ============================================================ */

/* Camera + mic state icons (replaces the old green "online" dot) */
.participant-media { display: inline-flex; gap: 6px; flex: 0 0 auto; }
.pm-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 7px;
}
.pm-icon svg { width: 14px; height: 14px; }
.pm-icon.pm-on  { background: rgba(11,110,59,0.12); color: #0B6E3B; }   /* open  */
.pm-icon.pm-off { background: rgba(197,48,48,0.10); color: #C53030; }   /* closed */

/* Host "remove from meeting" control */
.participant-remove {
  flex: 0 0 auto; width: 28px; height: 28px;
  border: none; border-radius: 8px; cursor: pointer;
  background: rgba(197,48,48,0.10); color: #C53030;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.18s ease, color 0.18s ease;
}
.participant-remove:hover { background: #C53030; color: #fff; }
.participant-remove svg { width: 15px; height: 15px; }

/* Invited (not yet joined) section */
.participant-item--invited { opacity: 0.9; }
.participant-avatar--muted { filter: grayscale(0.35); opacity: 0.82; }
.participant-invited-tag {
  flex: 0 0 auto;
  font-size: 10px; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase;
  color: var(--gold-deep, #8A6A18);
  background: var(--gold-wash, #FBF5E7);
  border: 1px solid #EAD9AE;
  padding: 3px 8px; border-radius: 20px;
}

/* Local tile shows a subtle dim while the camera is off */
.video-participant--camoff .video-track { background: #0a1422; }

/* ===== Camera-off avatar placeholder =====
   Shows the participant's initial on a dark disc instead of a black screen. */
.video-participant__avatar {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: #0a1422;
  z-index: 1;
}
.video-participant--camoff .video-participant__avatar { display: flex; }
.video-participant__avatar span {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F0FAEC, #EEF1FA);
  color: #1E3A8A;
  border: 3px solid rgba(30, 58, 138, 0.25);
  font-size: 38px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
}
@media (max-width: 640px) {
  .video-participant__avatar span { width: 60px; height: 60px; font-size: 26px; }
}

/* ===== Active-speaker (voice activity) indicator =====
   A green ring appears on the speaker's tile and People-panel card in real time. */
.video-participant--speaking::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid #22c55e;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(34,197,94,0.55);
  pointer-events: none;
  z-index: 3;
}
.participant-item--speaking {
  border-radius: 10px;
}
.participant-item--speaking .participant-avatar {
  box-shadow: 0 0 0 2px #22c55e;
}

/* ============================================================
   Session logs — own scrollbar, sized to the video container.
   The drawer already stretches to the stage height, so the logs
   list fills it and scrolls internally.
   ============================================================ */
#logs-drawer .drawer-body { overflow: hidden; padding-bottom: 14px; }
#logs-drawer .logs-list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(30,58,138,0.35) rgba(30,58,138,0.06);
}
#logs-drawer .logs-list::-webkit-scrollbar { width: 8px; }
#logs-drawer .logs-list::-webkit-scrollbar-track {
  background: rgba(30,58,138,0.06); border-radius: 8px;
}
#logs-drawer .logs-list::-webkit-scrollbar-thumb {
  background: rgba(30,58,138,0.30); border-radius: 8px;
}
#logs-drawer .logs-list::-webkit-scrollbar-thumb:hover {
  background: rgba(30,58,138,0.50);
}

/* ============================================================
   EMOJI SECURE SESSION INDICATOR (teleconference header)
   ============================================================ */
.video-header__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.secure-indicator {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 122, 76, 0.10);
  border: 1px solid rgba(16, 122, 76, 0.30);
  color: #0a5c31;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  white-space: nowrap;
}
.secure-indicator:focus-visible {
  box-shadow: 0 0 0 3px rgba(16, 122, 76, 0.25);
}
.secure-indicator__lock { fill: #0a5c31; flex: 0 0 auto; }
.secure-indicator__label { letter-spacing: .01em; }
.secure-indicator__emojis {
  font-size: 16px;
  line-height: 1;
  letter-spacing: 2px;
  /* keep emojis colourful even though the pill text is green */
  filter: none;
}

/* Tooltip — hidden until hover/focus */
.secure-indicator__tooltip {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 300px;
  max-width: 78vw;
  background: #14342a;
  color: #eaf3ee;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 16px 40px rgba(16, 24, 40, .28);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  z-index: 50;
}
.secure-indicator__tooltip::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 18px;
  width: 12px;
  height: 12px;
  background: #14342a;
  transform: rotate(45deg);
}
.secure-indicator__tooltip strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.secure-indicator__tooltip ul { margin: 0; padding-left: 16px; }
.secure-indicator__tooltip li { margin-bottom: 5px; }
.secure-indicator:hover .secure-indicator__tooltip,
.secure-indicator:focus-visible .secure-indicator__tooltip,
.secure-indicator:focus-within .secure-indicator__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .18s ease, transform .18s ease;
}

@media (max-width: 560px) {
  .secure-indicator__label { display: none; }     /* save space on phones */
  .secure-indicator__tooltip { right: auto; left: 0; }
  .secure-indicator__tooltip::before { right: auto; left: 18px; }
}

/* ══════════════════════════════════════════════════════════════════════
   CLIENT TELECONFERENCE DASHBOARD
   A warm, calming, scheduling-centered client experience (#client-dashboard-view).
   Self-contained .cd-* namespace so it never collides with the staff/in-call UI.
   ══════════════════════════════════════════════════════════════════════ */
:root {
  --cd-navy: #1E3A8A;
  --cd-green: #1f9d6b;
  --cd-ink: #1B2230;
  --cd-muted: #6b7280;
  --cd-line: #eef1f6;
  /* Soft blue-grey page bg — deep enough that the white cards visibly float
     with consistent gutters between every container. */
  --cd-bg: #e9edf4;
}
body.cd-client-mode .meetings-page { background: var(--cd-bg); }
/* Roomy but not stretched: fills wide screens yet stays centered with balanced
   gutters on ultra-wide monitors so cards never look sparse. */
body.cd-client-mode .meetings-container { padding: 28px 32px 64px; }
#client-dashboard-view {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
  animation: cd-fade .5s ease both;
}
@keyframes cd-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.cd-card {
  background: #fff;
  border: 1px solid #e4e8f0;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(27,34,48,0.07);
  transition: transform .25s ease, box-shadow .25s ease;
  margin-bottom: 20px;
}

/* Hero */
.cd-hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 36px 40px;
  /* Extra breathing room below the hero, on top of the grid gap, so it reads as
     a distinct banner separated from the KPI cards. */
  margin-bottom: 20px;
  background: linear-gradient(135deg, #eef3ff 0%, #e9f7f1 100%);
  border: 1px solid #e3e9f5;
}
.cd-hero__content { position: relative; z-index: 2; }
.cd-hero__greeting {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--cd-ink);
  margin: 0 0 8px;
}
.cd-hero__sub { font-size: 15px; color: #44506a; margin: 0; max-width: 720px; line-height: 1.6; }
.cd-hero__sub strong { color: var(--cd-navy); }
.cd-wave { display: inline-block; animation: cd-wave 2.4s ease-in-out infinite; transform-origin: 70% 70%; }
@keyframes cd-wave { 0%,60%,100% { transform: rotate(0); } 15% { transform: rotate(14deg); } 30% { transform: rotate(-8deg); } 45% { transform: rotate(12deg); } }
.cd-hero__blob { position: absolute; border-radius: 50%; filter: blur(6px); opacity: .5; z-index: 1; }
.cd-hero__blob--1 { width: 180px; height: 180px; background: radial-gradient(circle at 30% 30%, #c7f0df, transparent 70%); top: -40px; right: 60px; animation: cd-float 9s ease-in-out infinite; }
.cd-hero__blob--2 { width: 230px; height: 230px; background: radial-gradient(circle at 30% 30%, #cdd9ff, transparent 70%); bottom: -90px; right: -40px; animation: cd-float 11s ease-in-out infinite reverse; }
@keyframes cd-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* KPI cards */
.cd-kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cd-kpi { display: flex; align-items: center; gap: 16px; padding: 22px 24px; }
.cd-kpi:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(27,34,48,0.09); }
.cd-kpi__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.cd-kpi__icon svg { width: 24px; height: 24px; }
.cd-kpi__label { font-size: 12.5px; color: var(--cd-muted); font-weight: 600; }
.cd-kpi__value { font-size: 28px; font-weight: 800; color: var(--cd-ink); line-height: 1.1; font-family: var(--font-display); }
.cd-kpi__sub { font-size: 11.5px; color: #9aa3b2; margin-top: 2px; }
.kpi--green  .cd-kpi__icon { background: #e6f7f0; color: var(--cd-green); }
.kpi--blue   .cd-kpi__icon { background: #e9f0ff; color: var(--cd-navy); }
.kpi--violet .cd-kpi__icon { background: #f0ebff; color: #6d4ad6; }
.kpi--amber  .cd-kpi__icon { background: #fff3e3; color: #d8881f; }

/* Main two-column grid — columns stretch to equal height so the taller side
   never leaves dead space beside a short one. */
.cd-main-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 24px; align-items: stretch; }
/* min-height:0 lets the column shrink below its content so Recent Meetings can
   scroll inside instead of forcing the whole page taller. */
.cd-col { display: flex; flex-direction: column; gap: 24px; min-height: 0; }
/* On the left, Recent Meetings fills the leftover height, then scrolls. */
.cd-col--left .cd-sched { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
.cd-card__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 10px; }
.cd-card__head h3 { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 700; color: var(--cd-ink); margin: 0; }
.cd-card__head h3 svg { width: 18px; height: 18px; color: var(--cd-navy); }

/* Upcoming meeting card */
.cd-upcoming { padding: 24px; }
.cd-upcoming__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cd-upcoming__eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--cd-navy); }
.cd-upcoming__eyebrow svg { width: 16px; height: 16px; }
.cd-upcoming__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cd-upcoming__meta { min-width: 240px; flex: 1; }
.cd-upcoming__title { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--cd-ink); margin: 0 0 6px; }
.cd-upcoming__with { display: flex; align-items: center; gap: 7px; font-size: 14px; color: #4a5568; margin: 0 0 12px; }
.cd-upcoming__with svg { width: 15px; height: 15px; color: var(--cd-green); }
.cd-upcoming__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.cd-upcoming__facts span { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: #44506a; font-weight: 500; }
.cd-upcoming__facts svg { width: 15px; height: 15px; color: var(--cd-navy); }
.cd-upcoming__cta { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 12px; min-width: 200px; }
.cd-upcoming__secure { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding: 13px 16px; background: #ecfaf3; border: 1px solid #d4f0e3; border-radius: 12px; font-size: 12.5px; color: #1d7a55; }
.cd-upcoming__secure svg { width: 16px; height: 16px; flex-shrink: 0; }
.cd-upcoming--empty { text-align: center; padding: 48px 24px; display: flex; flex-direction: column; align-items: center; }
.cd-upcoming__emptyart { width: 66px; height: 66px; border-radius: 50%; background: #eef3ff; color: var(--cd-navy); display: grid; place-items: center; margin: 0 auto 14px; }
.cd-upcoming__emptyart svg { width: 30px; height: 30px; }
.cd-upcoming__emptytitle { font-family: var(--font-display); font-size: 20px; margin: 0 0 6px; color: var(--cd-ink); }
.cd-upcoming__emptytext { font-size: 14px; color: var(--cd-muted); max-width: 360px; margin: 0 auto 18px; line-height: 1.6; }
.cd-upcoming__livebadge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: #fdecea; color: #b42318; font-size: 11.5px; font-weight: 700; letter-spacing: .2px; }

/* Countdown */
.cd-countdown { text-align: center; }
.cd-countdown__label { font-size: 11.5px; color: var(--cd-muted); font-weight: 600; margin-bottom: 4px; }
.cd-countdown__clock { display: flex; justify-content: center; gap: 8px; }
.cd-cd__seg { display: grid; justify-items: center; min-width: 46px; padding: 6px 4px; background: #f4f7fc; border: 1px solid var(--cd-line); border-radius: 10px; }
.cd-cd__seg b { font-size: 19px; font-weight: 800; color: var(--cd-navy); font-variant-numeric: tabular-nums; }
.cd-cd__seg i { font-style: normal; font-size: 10px; color: #9aa3b2; text-transform: uppercase; letter-spacing: .5px; }
.cd-countdown__live, .cd-countdown__soon { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--cd-green); font-size: 14px; }
.cd-livedot { width: 9px; height: 9px; border-radius: 50%; background: #e53e3e; box-shadow: 0 0 0 0 rgba(229,62,62,.6); animation: cd-pulse 1.6s infinite; }
@keyframes cd-pulse { 0% { box-shadow: 0 0 0 0 rgba(229,62,62,.5); } 70% { box-shadow: 0 0 0 8px rgba(229,62,62,0); } 100% { box-shadow: 0 0 0 0 rgba(229,62,62,0); } }

/* Buttons */
.cd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; border-radius: 12px; font-size: 14px; font-weight: 700; cursor: pointer; padding: 12px 18px; text-decoration: none; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.cd-btn svg { width: 17px; height: 17px; }
.cd-btn--join { background: linear-gradient(135deg, var(--cd-navy), #15306e); color: #fff; box-shadow: 0 8px 20px rgba(30,58,138,.28); }
.cd-btn--join:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(30,58,138,.36); }
.cd-btn--joinsm { background: var(--cd-navy); color: #fff; padding: 8px 14px; font-size: 12.5px; }
.cd-btn--joinsm:hover { background: #15306e; }
.cd-btn--wait { background: #f1f3f7; color: #9aa3b2; cursor: not-allowed; }
.cd-btn--primary { background: linear-gradient(135deg, var(--cd-green), #169a64); color: #fff; box-shadow: 0 8px 20px rgba(31,157,107,.25); }
.cd-btn--primary:hover { transform: translateY(-2px); }
.cd-btn--ghost { background: #fff; color: var(--cd-navy); border: 1.5px solid #d6e0f5; }
.cd-btn--ghost:hover { background: #f3f7ff; }

/* Badges */
.cd-badge { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .2px; }
.cd-badge--confirmed { background: #e6f7f0; color: #1d7a55; }
.cd-badge--scheduled { background: #e9f0ff; color: var(--cd-navy); }
.cd-badge--pending   { background: #fff3e3; color: #b8791b; }
.cd-badge--completed { background: #eef0f3; color: #51607a; }
.cd-badge--muted     { background: #f3f4f6; color: #98a1b0; }

/* Recent Meetings timeline */
.cd-sched__list {
  padding: 8px 12px 16px;
  display: grid;
  gap: 6px;
  flex: 1 1 auto;
  align-content: start;
  min-height: 0;
  max-height: 62vh;          /* safety cap so the page never grows unbounded */
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #d0d7e4 transparent;
}
.cd-sched__list::-webkit-scrollbar { width: 8px; }
.cd-sched__list::-webkit-scrollbar-track { background: transparent; }
.cd-sched__list::-webkit-scrollbar-thumb { background: #d0d7e4; border-radius: 8px; border: 2px solid #fff; }
.cd-sched__list::-webkit-scrollbar-thumb:hover { background: #b7c0d2; }
.cd-sched__item { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; transition: background .2s ease; }
.cd-sched__item:hover { background: #f7f9fc; }
.cd-sched__date { width: 56px; flex-shrink: 0; display: grid; justify-items: center; padding: 8px 0; background: #f4f7fc; border: 1px solid var(--cd-line); border-radius: 12px; }
.cd-sched__mon { font-size: 10.5px; font-weight: 700; color: var(--cd-navy); letter-spacing: .5px; }
.cd-sched__day { font-size: 20px; font-weight: 800; color: var(--cd-ink); line-height: 1.1; }
.cd-sched__dow { font-size: 10px; color: #9aa3b2; }
.cd-sched__info { flex: 1; min-width: 0; }
.cd-sched__title { font-size: 14.5px; font-weight: 700; color: var(--cd-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cd-sched__with { font-size: 12.5px; color: var(--cd-muted); }
.cd-sched__time { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #56607a; margin-top: 3px; }
.cd-sched__time svg { width: 13px; height: 13px; }
.cd-sched__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.cd-sched__empty { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 30px 22px; min-height: 180px; text-align: center; }
.cd-sched__emptyart { width: 60px; height: 60px; border-radius: 50%; background: #eef3ff; color: var(--cd-navy); display: grid; place-items: center; }
.cd-sched__emptyart svg { width: 27px; height: 27px; }
.cd-sched__emptytitle { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--cd-ink); }
.cd-sched__emptytext { font-size: 13px; color: var(--cd-muted); max-width: 320px; line-height: 1.6; margin: 0 0 6px; }
.cd-sched__viewall { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px; border-top: 1px solid var(--cd-line); color: var(--cd-navy); font-size: 13.5px; font-weight: 700; text-decoration: none; transition: background .18s ease; }
.cd-sched__viewall svg { width: 16px; height: 16px; transition: transform .2s ease; }
.cd-sched__viewall:hover { background: #f7f9fc; }
.cd-sched__viewall:hover svg { transform: translateX(3px); }

/* Quick actions */
.cd-quick { padding-bottom: 14px; }
.cd-quick__item { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 24px; background: none; border: none; border-top: 1px solid var(--cd-line); cursor: pointer; text-decoration: none; transition: background .18s ease; font: inherit; }
.cd-quick__item:first-of-type { border-top: none; }
.cd-quick__item:hover { background: #f7f9fc; }
.cd-quick__item--busy { opacity: .6; pointer-events: none; }
.cd-quick__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.cd-quick__ic svg { width: 19px; height: 19px; }
.cd-quick__ic--green { background: #e6f7f0; color: var(--cd-green); }
.cd-quick__ic--blue { background: #e9f0ff; color: var(--cd-navy); }
.cd-quick__ic--violet { background: #f0ebff; color: #6d4ad6; }
.cd-quick__txt { flex: 1; display: grid; }
.cd-quick__txt strong { font-size: 14px; color: var(--cd-ink); font-weight: 700; }
.cd-quick__txt small { font-size: 12px; color: var(--cd-muted); }
.cd-quick__chev { width: 17px; height: 17px; color: #c2cad8; transition: transform .2s ease; }
.cd-quick__item:hover .cd-quick__chev { transform: translateX(3px); }

/* Meeting prep panel */
.cd-prep { padding-bottom: 18px; }
.cd-prep__item { display: flex; align-items: flex-start; gap: 13px; padding: 12px 24px; }
.cd-prep__ic { width: 36px; height: 36px; border-radius: 10px; background: #eef3ff; color: var(--cd-navy); display: grid; place-items: center; flex-shrink: 0; }
.cd-prep__ic svg { width: 17px; height: 17px; }
.cd-prep__t { font-size: 13.5px; font-weight: 700; color: var(--cd-ink); }
.cd-prep__d { font-size: 12px; color: var(--cd-muted); line-height: 1.5; }

/* Assistance panel */
.cd-assist { padding: 28px 24px; text-align: center; background: linear-gradient(135deg, #eef3ff, #e9f7f1); border: 1px solid #e3e9f5; }
.cd-assist__icon { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--cd-navy); display: grid; place-items: center; margin: 0 auto 12px; box-shadow: 0 6px 16px rgba(30,58,138,.12); }
.cd-assist__icon svg { width: 24px; height: 24px; }
.cd-assist__title { font-family: var(--font-display); font-size: 18px; margin: 0 0 6px; color: var(--cd-ink); }
.cd-assist__text { font-size: 13px; color: #4a5568; margin: 0 0 16px; line-height: 1.6; }

/* Staff header toolbar (search · filter · schedule) */
.cd-hero__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; position: relative; z-index: 2; }
.cd-hero__row .cd-hero__content { flex: 1 1 300px; }
.cd-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cd-search { display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid #dbe2ef; border-radius: 12px; padding: 0 14px; height: 44px; min-width: 240px; box-shadow: 0 2px 8px rgba(27,34,48,.04); }
.cd-search svg { width: 17px; height: 17px; color: #9aa3b2; flex-shrink: 0; }
.cd-search input { border: none; outline: none; background: none; font: inherit; font-size: 14px; color: var(--cd-ink); width: 100%; }
.cd-filter { height: 44px; border: 1px solid #dbe2ef; border-radius: 12px; background-color: #fff; padding: 0 36px 0 14px; font: inherit; font-size: 14px; color: var(--cd-ink); cursor: pointer;
  appearance: none; -webkit-appearance: none; box-shadow: 0 2px 8px rgba(27,34,48,.04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.cd-toolbar__cta { height: 44px; }

/* Small "End" button used on host meeting rows */
.cd-btn--endsm { background: #fdecea; color: #b42318; padding: 8px 14px; font-size: 12.5px; }
.cd-btn--endsm:hover { background: #fbd9d4; }

/* Schedule-a-Meeting modal (staff) */
.cd-modal-overlay { position: fixed; inset: 0; background: rgba(20,28,45,.5); backdrop-filter: blur(2px); display: flex; align-items: center; justify-content: center; z-index: 2000; padding: 20px; animation: cd-fade .2s ease both; }
.cd-modal { background: #fff; border-radius: 20px; width: 100%; max-width: 580px; max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.cd-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--cd-line); }
.cd-modal__title { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--cd-ink); margin: 0; }
.cd-modal__title svg { width: 20px; height: 20px; color: var(--cd-navy); }
.cd-modal__close { background: #f3f5f9; border: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; color: #6b7280; transition: background .15s ease; }
.cd-modal__close:hover { background: #e7ebf2; }
.cd-modal__close svg { width: 18px; height: 18px; }
.cd-modal__body { padding: 22px 24px; overflow-y: auto; }
.cd-modal__body > input[type=text] { width: 100%; height: 46px; border: 1px solid #dbe2ef; border-radius: 10px; padding: 0 14px; font: inherit; font-size: 14px; color: var(--cd-ink); background: #fff; margin-bottom: 18px; }
.cd-modal__body select { width: 100%; height: 46px; border: 1px solid #dbe2ef; border-radius: 10px; padding: 0 12px; font: inherit; font-size: 14px; color: var(--cd-ink); background: #fff; }
.cd-modal__body input:focus, .cd-modal__body select:focus { outline: none; border-color: var(--cd-navy); box-shadow: 0 0 0 3px rgba(30,58,138,.12); }
.cd-modal__body label { display: block; font-size: 13px; font-weight: 600; color: var(--cd-ink); margin-bottom: 6px; }
.cd-modal__foot { display: flex; justify-content: flex-end; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--cd-line); background: #fbfcfe; }

/* Toolbar responsiveness */
@media (max-width: 1100px) {
  .cd-toolbar { width: 100%; }
  .cd-search { flex: 1 1 220px; min-width: 0; }
}
@media (max-width: 600px) {
  .cd-toolbar { flex-direction: column; align-items: stretch; }
  .cd-search, .cd-filter, .cd-toolbar__cta { width: 100%; }
}

/* Skeleton loaders */
.cd-skeleton-block { position: relative; overflow: hidden; background: #eef1f6; border-radius: 18px; }
.cd-skeleton-block::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent); animation: cd-shimmer 1.4s infinite; }
@keyframes cd-shimmer { 100% { transform: translateX(100%); } }

/* Responsive */
/* Tablet / small laptop — stack the two columns, keep KPIs 2-up. */
@media (max-width: 1024px) {
  body.cd-client-mode .meetings-container { padding: 24px 24px 56px; }
  .cd-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .cd-main-grid { grid-template-columns: 1fr; }
  #client-dashboard-view { gap: 22px; }
  .cd-col { gap: 22px; }
}
/* Large phone — tighten the hero and let the meeting row stack cleanly. */
@media (max-width: 680px) {
  body.cd-client-mode .meetings-container { padding: 20px 18px 48px; }
  .cd-hero { padding: 28px 24px; }
  .cd-upcoming__row { flex-direction: column; align-items: stretch; gap: 16px; }
  .cd-upcoming__cta { min-width: 0; }
  .cd-upcoming__cta .cd-btn--join { width: 100%; }
}
/* Small phone — single-column KPIs, no horizontal crowding. */
@media (max-width: 480px) {
  body.cd-client-mode .meetings-container { padding: 16px 14px 40px; }
  .cd-kpi-row { grid-template-columns: 1fr; gap: 14px; }
  #client-dashboard-view { gap: 18px; }
  .cd-col { gap: 18px; }
  .cd-hero { padding: 24px 20px; }
  .cd-card__head { padding: 18px 18px 8px; }
  .cd-upcoming { padding: 20px 18px; }
  .cd-quick__item, .cd-prep__item { padding-left: 18px; padding-right: 18px; }
  .cd-sched__list { padding-left: 8px; padding-right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .cd-wave, .cd-hero__blob, .cd-livedot, .cd-skeleton-block::after { animation: none !important; }
  .cd-card, .cd-btn, .cd-quick__chev { transition: none !important; }
}
