/* ============================================================
   meetings.css — Meetings Dashboard
   ============================================================ */

.meetings-page {
  background: #f9fafb;
  min-height: 100vh;
  padding: 72px 24px 32px; /* 72px = header height + spacing */
}

/* ============================================================
   Day group
   ============================================================ */

.day-group {
  margin-bottom: 24px;
}

.day-label {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

/* (Old meeting-card styles removed — replaced by meeting-card-v2) */

/* (Old all-good card removed — replaced by meeting-card-v2.status-green) */

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #1f2937;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.1s ease;
}

.btn:hover {
  background: #f9fafb;
}

.btn.primary {
  background: #C41230;
  border-color: #C41230;
  color: #fff;
}

.btn.primary:hover {
  background: #a50f28;
  border-color: #a50f28;
}

.btn.dismiss {
  background: transparent;
  border-color: transparent;
  color: #9ca3af;
  font-size: 11px;
}

.btn.dismiss:hover {
  color: #6b7280;
  background: transparent;
}

/* (Old note-input-area, note-input-actions, note-input-hint removed) */

/* ============================================================
   Past notes
   ============================================================ */

.past-notes {
  margin-top: 12px;
  border-top: 1px solid #f3f4f6;
  padding-top: 10px;
}

.past-notes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  cursor: pointer;
}

.past-notes-title {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.past-note {
  padding: 6px 0;
  font-size: 12px;
  line-height: 1.5;
  border-bottom: 1px solid #f9fafb;
}

.past-note-meta {
  color: #9ca3af;
}

.past-note-author {
  font-weight: 500;
  color: #1f2937;
}

.past-note-preview {
  color: #6b7280;
  font-style: italic;
}

.past-notes-more {
  font-size: 11px;
  color: #C41230;
  font-weight: 500;
  margin-top: 6px;
  cursor: pointer;
}

/* (Old note-status, btn-note-add, note-quick-add removed) */

/* ============================================================
   Modal
   ============================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-frame {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.modal-close {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: #f3f4f6;
  color: #374151;
}

.modal-body {
  padding: 16px 20px;
}

.modal-section {
  margin-bottom: 16px;
}

.modal-section-label {
  font-size: 10px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.form-row {
  margin-bottom: 10px;
}

.form-label {
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 4px;
  display: block;
}

.form-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  color: #111827;
  box-sizing: border-box;
  background: #fff;
}

.form-input:focus {
  outline: none;
  border-color: #111827;
  box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.08);
}

.form-hint {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 3px;
}

.form-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
}

.form-select:focus {
  outline: none;
  border-color: #111827;
  box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.08);
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.modal-footer {
  padding: 12px 20px;
  border-top: 1px solid #f3f4f6;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
}

/* ============================================================
   Refresh button
   ============================================================ */

.refresh-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-size: 20px;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.refresh-btn:hover {
  background: #f3f4f6;
}

/* ============================================================
   Team report (old styles removed, v2 versions below)
   ============================================================ */

/* team-total still used by renderTeamReport footer */
.team-total {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  margin-top: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

/* ============================================================
   Loading / empty states
   ============================================================ */

.loading {
  text-align: center;
  padding: 40px;
  color: #9ca3af;
  font-size: 14px;
}

.empty-state {
  text-align: center;
  padding: 40px;
  color: #9ca3af;
}

/* ============================================================
   Create Deal Modal
   ============================================================ */

.modal-context {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 20px;
  font-size: 13px;
}
.owner-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.owner-chip {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #111827;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.owner-remove {
  cursor: pointer;
  color: #9ca3af;
  font-size: 14px;
  line-height: 1;
}
.owner-remove:hover {
  color: #ef4444;
}
.owner-add {
  flex: 1;
  min-width: 140px;
}

/* ============================================================
   Modal Buttons
   ============================================================ */
.btn-action {
  background: #111827;
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  font-family: inherit;
}
.btn-action:hover { background: #1f2937; }
.btn-action:disabled { opacity: 0.5; cursor: not-allowed; }
.skip-link { color: #6b7280; font-size: 12px; text-decoration: none; cursor: pointer; font-weight: 500; }
.skip-link:hover { color: #374151; }
.skeleton-card {
  background: #fff;
  margin: 6px 10px;
  border-radius: 10px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
}
.modal-context-v2 { background: #f9fafb; border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; font-size: 13px; }
.modal-section-label-v2 { font-size: 10px; font-weight: 700; text-transform: uppercase; color: #9ca3af; letter-spacing: 0.5px; margin-bottom: 6px; }
.modal-footer-v2 { display: flex; justify-content: flex-end; gap: 12px; align-items: center; padding: 12px 20px; border-top: 1px solid #f3f4f6; }
/* ============================================================
   Filtered meetings
   ============================================================ */

/* ============================================================
   Meeting Prep
   ============================================================ */
/* ============================================================
   V3 Card Enhancements
   ============================================================ */

/* ===== V3 Two-Column Layout ===== */
.meetings-content-v3 {
  display: flex;
  gap: 32px;
  padding: 24px 48px;
  max-width: 1440px;
  margin: 0 auto;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.upcoming-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.needs-action-column {
  width: 380px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Match the Upcoming column's tab bar height so cards align horizontally */
.needs-action-column .column-header {
  padding-bottom: 34px;
}

.column-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2px;
}

.column-header-left {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.column-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.column-badge {
  font-size: 13px;
  font-weight: 600;
  color: #C41230;
}

.column-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.column-date {
  font-size: 12px;
  color: #9ca3af;
}

/* ===== V3 Meeting Card ===== */
.meeting-card-v3 {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
}

.meeting-card-v3:last-child {
  margin-bottom: 0;
}

.meeting-card-v3.hero {
  border-left: 3px solid #e5e7eb;
}

.card-v3-header {
  padding: 14px 20px 0;
}

.card-v3-time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.card-v3-countdown {
  font-size: 11px;
  font-weight: 700;
  color: #C41230;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-v3-time {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}

.zoom-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eff6ff;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid #bfdbfe;
  font-size: 11px;
  color: #1e40af;
  font-weight: 600;
  text-decoration: none;
}

.zoom-chip::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2D8CFF;
}

.card-v3-main {
  padding: 0 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.card-v3-company {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.3px;
}

.card-v3-compact .card-v3-company {
  font-size: 17px;
}

.card-v3-subtitle {
  font-size: 13px;
  color: #6b7280;
  margin-top: 3px;
}

.card-v3-compact .card-v3-subtitle {
  font-size: 12px;
  margin-top: 2px;
}

/* ===== V3 Side Strip Button ===== */
.card-side-strip {
  width: 48px;
  background: #111827;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.15s;
}

.card-side-strip:hover {
  background: #1f2937;
}

.card-side-strip-label {
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
}

/* Card top row: header content + side strip */
.card-v3-top {
  display: flex;
}

.card-v3-top > .card-v3-content {
  flex: 1;
  min-width: 0;
}

/* ===== V3 Action Buttons ===== */
.btn-action-v3 {
  background: #111827;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-action-v3:hover {
  background: #1f2937;
}

.btn-action-v3.compact {
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 8px;
  gap: 6px;
}

.btn-action-v3.small {
  font-size: 11px;
  padding: 7px 14px;
  border-radius: 8px;
  gap: 5px;
}

.btn-action-v3 svg {
  width: 15px;
  height: 15px;
}

.btn-action-v3.compact svg,
.btn-action-v3.small svg {
  width: 12px;
  height: 12px;
}

/* ===== V3 Segmented Status Bar ===== */
.status-bar-v3 {
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  width: fit-content;
}

.status-bar-v3 .status-segment {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  border-right: 1px solid #e5e7eb;
  text-decoration: none;
}

.status-bar-v3 .status-segment:last-child {
  border-right: none;
}

.status-bar-v3 .status-segment.ok {
  color: #16a34a;
}

.status-bar-v3 .status-segment.missing {
  color: #ef4444;
}

.status-bar-v3 .status-segment svg {
  width: 12px;
  height: 12px;
}

.status-bar-v3.small .status-segment {
  padding: 5px 12px;
  font-size: 11px;
}

.status-bar-v3.small .status-segment svg {
  width: 11px;
  height: 11px;
}

/* ===== V3 Team Avatars ===== */
.team-avatars-v3 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 0;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 10px;
  color: #fff;
  border: 2px solid #fff;
  position: relative;
}

.avatar-circle + .avatar-circle {
  margin-left: -8px;
}

.avatar-circle.lead {
  border-width: 2.5px;
  box-shadow: 0 0 0 2px #C41230;
  z-index: 3;
}

.avatar-circle.small {
  width: 22px;
  height: 22px;
  font-size: 8px;
}

.avatar-circle.small.lead {
  border-width: 1.5px;
  box-shadow: 0 0 0 1.5px #C41230;
}

.team-names {
  font-size: 12px;
  color: #6b7280;
}

/* ===== V3 Quick Prep ===== */
.prep-section-v3 {
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 16px 20px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.prep-left { flex: 1; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.prep-right { flex: 1; display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.prep-context {
  font-size: 13px;
  color: #374151;
  line-height: 1.55;
}

.metric-cards {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.metric-card {
  flex: 1 1 0;
  min-width: 0;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  padding: 8px 12px;
}

.metric-card-label {
  font-size: 10px;
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-card-value {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-top: 2px;
}

.metric-card-sub {
  font-size: 10px;
  color: #9ca3af;
  margin-top: 1px;
}

.metric-card-sub.positive { color: #16a34a; font-weight: 600; }

.people-cards {
  display: flex;
  gap: 12px;
}

.person-card {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.person-card .avatar-circle {
  width: 36px;
  height: 36px;
  font-size: 12px;
  flex-shrink: 0;
  border: none;
}

.person-card-name { font-size: 14px; font-weight: 600; color: #111827; }
.person-card-title { font-size: 12px; color: #6b7280; }

.prep-section-label {
  font-size: 10px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.prep-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.prep-card-row {
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  border-bottom: 1px solid #f3f4f6;
  gap: 12px;
}

.prep-card-row span:last-child {
  white-space: nowrap;
  flex-shrink: 0;
}

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

.prep-card-body {
  padding: 10px 12px;
  font-size: 13px;
  color: #374151;
  line-height: 1.5;
}

/* ===== V3 Bottom Action Bar ===== */
.card-v3-footer {
  border-top: 1px solid #e5e7eb;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
}

.footer-link {
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-link.primary {
  color: #C41230;
  font-weight: 600;
}

.footer-link svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* ===== V3 Prep Toggle (collapsed cards) ===== */
.prep-toggle-row {
  border-top: 1px solid #f3f4f6;
  margin-top: 6px;
  padding-top: 6px;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 22px;
}

.prep-toggle-link {
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  text-decoration: none;
}

.prep-toggle-link svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.prep-toggle-link.preread {
  color: #C41230;
  font-weight: 600;
}

.prep-toggle-link.disabled {
  color: #d1d5db;
  cursor: default;
}

/* ===== V3 Filtered Toggle ===== */
.filtered-toggle {
  font-size: 12px;
  color: #6b7280;
  cursor: pointer;
  white-space: nowrap;
}

.filtered-toggle:hover {
  color: #374151;
}

/* ===== V3 Skip ===== */
.skip-link-v3 {
  font-size: 11px;
  color: #9ca3af;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  margin-left: auto;
}

.skip-link-v3 svg {
  width: 13px;
  height: 13px;
}

/* ===== V3 Show More ===== */
.show-more-v3 {
  padding: 12px;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  cursor: pointer;
  border-top: 1px solid #f3f4f6;
}

.show-more-v3:hover { color: #374151; }

/* Responsive: stack columns on mobile */

/* V3 Phase 2: Auto-collapsed completed card */
.meeting-card-collapsed {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  border-left: 3px solid #22c55e;
  margin-bottom: 6px;
  font-size: 12px;
  color: #6b7280;
  cursor: pointer;
  transition: background 0.1s;
}
.meeting-card-collapsed:hover {
  background: #fafafa;
}
.collapsed-check {
  color: #22c55e;
  font-weight: 600;
  font-size: 12px;
}
.collapsed-company {
  color: #374151;
  font-weight: 500;
  flex: 1;
}
.collapsed-meta {
  color: #9ca3af;
  font-size: 11px;
}
.collapsed-expand {
  color: #d1d5db;
  font-size: 11px;
  cursor: pointer;
  text-decoration: none;
}
.collapsed-expand:hover {
  color: #6b7280;
}

/* ===== Ask Atlas Chat Panel ===== */
.atlas-chat-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.atlas-chat-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.atlas-chat-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 480px;
  max-width: 100vw;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  z-index: 1101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.atlas-chat-panel.open {
  transform: translateX(0);
}

.atlas-chat-panel.fullscreen {
  width: 100vw !important;
  max-width: 100vw !important;
  box-shadow: none;
}

.atlas-chat-resize-handle {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  cursor: ew-resize;
  z-index: 2;
}

.atlas-chat-resize-handle:hover {
  background: rgba(196, 18, 48, 0.08);
}

.atlas-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.atlas-chat-header-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
}

.atlas-chat-header-title svg {
  width: 16px;
  height: 16px;
  color: #C41230;
}

.atlas-chat-header-sub {
  font-size: 12px;
  color: #6b7280;
  font-weight: 400;
  margin-top: 2px;
}

.atlas-chat-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.atlas-chat-minimize,
.atlas-chat-expand,
.atlas-chat-close {
  background: none;
  border: none;
  font-size: 18px;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
}

.atlas-chat-minimize:hover,
.atlas-chat-expand:hover,
.atlas-chat-close:hover {
  background: #f3f4f6;
  color: #374151;
}

/* ===== Pill Tray (minimized conversations) ===== */
.atlas-chat-pill-tray {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 1102;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.atlas-chat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: box-shadow 0.15s;
}

.atlas-chat-pill:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.atlas-chat-pill.active {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.atlas-chat-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9ca3af;
  flex-shrink: 0;
}

.atlas-chat-pill-dot.green {
  background: #22c55e;
}

.atlas-chat-pill-name {
  font-size: 13px;
  font-weight: 600;
}

.atlas-chat-pill.active .atlas-chat-pill-name {
  color: #fff;
}

.atlas-chat-pill-close {
  font-size: 14px;
  color: #d1d5db;
  line-height: 1;
  margin-left: 4px;
}

.atlas-chat-pill.active .atlas-chat-pill-close {
  color: #6b7280;
}

.atlas-chat-pill-close:hover {
  color: #ef4444;
}

.atlas-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.atlas-chat-msg {
  max-width: 100%;
  line-height: 1.55;
  font-size: 13px;
}

.atlas-chat-msg.user {
  background: #f3f4f6;
  border-radius: 12px 12px 2px 12px;
  padding: 10px 14px;
  color: #111827;
  align-self: flex-end;
  max-width: 85%;
}

.atlas-chat-msg.assistant {
  color: #374151;
}

.atlas-chat-msg.assistant p {
  margin: 0 0 8px 0;
}

.atlas-chat-msg.assistant p:last-child {
  margin-bottom: 0;
}

.atlas-chat-msg.assistant strong {
  font-weight: 600;
  color: #111827;
}

.atlas-chat-msg.assistant ul,
.atlas-chat-msg.assistant ol {
  margin: 4px 0 8px 0;
  padding-left: 20px;
}

.atlas-chat-msg.assistant li {
  margin-bottom: 4px;
}

.atlas-chat-msg.assistant code {
  background: #f3f4f6;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 12px;
}

.atlas-chat-msg.assistant a {
  color: #C41230;
  text-decoration: none;
}

.atlas-chat-msg.assistant a:hover {
  text-decoration: underline;
}

.atlas-chat-msg.system {
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
  font-style: italic;
}

.atlas-chat-typing {
  display: inline-flex;
  gap: 4px;
  padding: 8px 0;
}

.atlas-chat-typing span {
  width: 6px;
  height: 6px;
  background: #d1d5db;
  border-radius: 50%;
  animation: atlas-bounce 1.2s infinite;
}

.atlas-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.atlas-chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes atlas-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

.atlas-chat-input-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px 20px 16px;
  border-top: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.atlas-chat-input {
  flex: 1;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-family: inherit;
  resize: none;
  outline: none;
  max-height: 120px;
  line-height: 1.4;
}

.atlas-chat-input:focus {
  border-color: #C41230;
  box-shadow: 0 0 0 2px rgba(196, 18, 48, 0.1);
}

.atlas-chat-send {
  background: #C41230;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.atlas-chat-send:hover {
  background: #a30f28;
}

.atlas-chat-send:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: default;
}

.atlas-chat-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 20px;
  color: #9ca3af;
  font-size: 13px;
}

/* Responsive: mobile card stacking */

/* ── All External Meetings: Tabs, Type Badges, Filter Chips ── */

/* Tab bar */
.meetings-tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #e5e7eb;
  margin-top: 0;
}

.meetings-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px 10px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #9ca3af;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.meetings-tab:first-child { padding-left: 0; }

.meetings-tab.active {
  font-weight: 600;
  color: #111827;
  border-bottom-color: #111827;
}

.meetings-tab .tab-count {
  font-size: 11px;
  color: #9ca3af;
  background: #f3f4f6;
  padding: 1px 6px;
  border-radius: 4px;
}

.meetings-tab.active .tab-count { color: #6b7280; }

.meetings-tab-spacer { flex: 1; }

.meetings-preferences-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0 10px;
  font-size: 12px;
  color: #9ca3af;
  cursor: pointer;
}

.meetings-preferences-link:hover { color: #6b7280; }

/* Filter chips */
.meetings-filter-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
  overflow-x: auto;
  flex-wrap: nowrap;
}

.meetings-filter-chip {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
  background: #fff;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}

.meetings-filter-chip.active {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

.meetings-filter-chip:hover:not(.active) { background: #f9fafb; }

/* Type badges */
.meeting-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.meeting-type-badge.type-deal { background: #f0fdf4; border: 1px solid #bbf7d0; color: #16a34a; }
.meeting-type-badge.type-portfolio { background: #eff6ff; border: 1px solid #93c5fd; color: #2563eb; }
.meeting-type-badge.type-vc { background: #f5f3ff; border: 1px solid #ddd6fe; color: #7c3aed; }
.meeting-type-badge.type-lp { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.meeting-type-badge.type-board { background: #fffbeb; border: 1px solid #fde68a; color: #d97706; }
.meeting-type-badge.type-expert_call { background: #ecfdf5; border: 1px solid #a7f3d0; color: #059669; }
.meeting-type-badge.type-catch_up { background: #f3f4f6; border: 1px solid #e5e7eb; color: #6b7280; }
.meeting-type-badge.type-internal { background: #fef3c7; border: 1px solid #fde68a; color: #b45309; }
.meeting-type-badge.type-social { background: #fafafa; border: 1px solid #e5e7eb; color: #a3a3a3; }
.meeting-type-badge.type-large_group { background: #fafafa; border: 1px solid #e5e7eb; color: #a3a3a3; }
.meeting-type-badge.type-personal_domain { background: #fafafa; border: 1px solid #e5e7eb; color: #a3a3a3; }

.meeting-change-type {
  font-size: 11px;
  color: #9ca3af;
  cursor: pointer;
  margin-left: 6px;
}

.meeting-change-type:hover { color: #6b7280; }

.meeting-type-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Suggested prompt chips */
.suggested-prompt-chip {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s;
}

.suggested-prompt-chip:hover { opacity: 0.8; }

.suggested-prompt-chip.color-portfolio { background: #eff6ff; border: 1px solid #dbeafe; color: #2563eb; }
.suggested-prompt-chip.color-vc { background: #f5f3ff; border: 1px solid #ede9fe; color: #7c3aed; }
.suggested-prompt-chip.color-lp { background: #eff6ff; border: 1px solid #dbeafe; color: #1e40af; }
.suggested-prompt-chip.color-board { background: #fffbeb; border: 1px solid #fef3c7; color: #d97706; }
.suggested-prompt-chip.color-expert_call { background: #ecfdf5; border: 1px solid #d1fae5; color: #059669; }
.suggested-prompt-chip.color-catch_up { background: #f3f4f6; border: 1px solid #e5e7eb; color: #6b7280; }

/* Reclassification popup */
.reclassify-popup {
  position: absolute;
  z-index: 100;
  width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.reclassify-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #f3f4f6;
}

.reclassify-popup-header h3 {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.reclassify-popup-close {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #9ca3af;
  border: none; background: none;
}

.reclassify-popup-close:hover { background: #f3f4f6; }

.reclassify-popup-options { padding: 8px; }

.reclassify-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.reclassify-option:hover { background: #f9fafb; }

.reclassify-option.selected { background: var(--type-bg, #f9fafb); }

.reclassify-radio {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.reclassify-option.selected .reclassify-radio {
  border-color: var(--type-color, #111827);
}

.reclassify-radio-inner {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: none;
}

.reclassify-option.selected .reclassify-radio-inner {
  display: block;
  background: var(--type-color, #111827);
}

.reclassify-option-label {
  font-size: 13px;
  font-weight: 500;
  color: #111827;
}

.reclassify-option.selected .reclassify-option-label { font-weight: 600; }

.reclassify-current-label {
  font-size: 11px;
  color: #9ca3af;
}

.reclassify-domain-prompt {
  padding: 12px 16px;
  border-top: 1px solid #f3f4f6;
}

.reclassify-domain-prompt-inner {
  padding: 10px 12px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.reclassify-domain-prompt-text {
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  margin: 0 0 4px;
}

.reclassify-domain-prompt-subtext {
  font-size: 11px;
  color: #9ca3af;
  margin: 0 0 8px;
}

.reclassify-domain-buttons {
  display: flex;
  gap: 8px;
}

.reclassify-domain-btn-primary {
  padding: 6px 16px;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.reclassify-domain-btn-secondary {
  padding: 6px 16px;
  border-radius: 8px;
  background: #fff;
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid #e5e7eb;
  cursor: pointer;
}

/* Metric card (for board prep) */
.metric-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  min-width: 80px;
}

.prep-section-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  margin-top: 12px;
}

.prep-section-label:first-child { margin-top: 0; }

/* ── Preferences Panel ── */

.preferences-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1099;
  opacity: 0;
  transition: opacity 0.2s;
}

.preferences-overlay.visible { opacity: 1; }

.preferences-panel {
  position: fixed;
  top: 0;
  right: -480px;
  width: 480px;
  height: 100vh;
  background: #fff;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transition: right 0.25s ease;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
}

.preferences-panel.open { right: 0; }

.preferences-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f3f4f6;
}

.preferences-panel-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.preferences-panel-body {
  flex: 1;
  overflow-y: auto;
}

.preferences-section {
  padding: 16px 20px;
  border-bottom: 1px solid #f3f4f6;
}

.preferences-section-title {
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  margin: 0 0 2px;
}

.preferences-section-subtitle {
  font-size: 11px;
  color: #9ca3af;
  margin: 0 0 10px;
}

.preferences-segmented {
  display: flex;
  gap: 8px;
}

.preferences-segmented-btn {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  background: #fff;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}

.preferences-segmented-btn.active {
  font-weight: 600;
  color: #fff;
  background: #111827;
  border-color: #111827;
}

.preferences-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid #f3f4f6;
}

.preferences-toggle-row:first-of-type { border-top: none; }

.preferences-toggle-label {
  font-size: 13px;
  font-weight: 500;
  color: #111827;
}

.preferences-toggle-desc {
  font-size: 11px;
  color: #9ca3af;
  margin: 2px 0 0;
}

.preferences-toggle-static {
  font-size: 11px;
  font-weight: 500;
  color: #9ca3af;
}

.toggle-switch {
  width: 36px;
  height: 20px;
  border-radius: 10px;
  background: #e5e7eb;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}

.toggle-switch.on { background: #111827; }

.toggle-switch-knob {
  width: 16px;
  height: 16px;
  border-radius: 8px;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.2s;
}

.toggle-switch.on .toggle-switch-knob { left: 18px; }

.preferences-info {
  padding: 16px 20px;
}

.preferences-info-label {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.preferences-info-text {
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.5;
  margin-top: 6px;
}

@media (max-width: 640px) {
  .preferences-panel {
    width: 100%;
    right: -100%;
  }

  .reclassify-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    width: 100%;
    border-radius: 12px 12px 0 0;
    max-height: 80vh;
    overflow-y: auto;
  }

  .meetings-filter-chips {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* === Mobile Meetings Layout === */
@media (max-width: 767px) {
  /* Remove all desktop padding */
  body.atlas-mobile .meetings-page {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Single column — stack upcoming + needs action */
  body.atlas-mobile .meetings-content-v3 {
    flex-direction: column;
    padding: 0 !important;
    gap: 0;
    max-width: 100% !important;
  }

  body.atlas-mobile .upcoming-column,
  body.atlas-mobile .needs-action-column {
    width: 100%;
    max-width: 100%;
    flex: none;
    padding: 0 !important;
  }

  /* Hide desktop column headers — mobile-shell injects its own header */
  body.atlas-mobile .upcoming-column > .column-header {
    display: none;
  }

  /* Mobile header should NOT get card styling */
  body.atlas-mobile .mobile-header {
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
  }

  /* Tab bar — segmented control style on mobile */
  body.atlas-mobile .meetings-tab-bar {
    padding: 8px 16px 12px;
    background: #e5e7eb;
    border-radius: 8px;
    margin: 0 16px 8px;
    border-bottom: none;
    gap: 3px;
  }

  body.atlas-mobile .meetings-tab {
    flex: 1;
    justify-content: center;
    padding: 7px 8px;
    border-radius: 6px;
    border-bottom: none;
    font-size: 12px;
  }

  body.atlas-mobile .meetings-tab.active {
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
    border-bottom-color: transparent;
  }

  body.atlas-mobile .meetings-tab:first-child {
    padding-left: 8px;
  }

  /* Hide tab count badges on mobile — too cramped */
  body.atlas-mobile .meetings-tab .tab-count {
    display: none;
  }

  /* Hide Inferred Deals tab on mobile — just Deals + All External */
  body.atlas-mobile .meetings-tab#tab-inferred-deals {
    display: none;
  }

  /* Hide preferences link in tab bar — gear icon is in the header now */
  body.atlas-mobile .meetings-preferences-link,
  body.atlas-mobile .meetings-tab-spacer {
    display: none;
  }

  /* Filter chips — horizontal scroll */
  body.atlas-mobile .meetings-filter-chips {
    padding: 0 16px 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }

  /* Limit visible meetings on mobile */
  body.atlas-mobile .meeting-card-v3:nth-child(n+3) {
    display: none;
  }

  body.atlas-mobile .meeting-card-v3:nth-child(n+3).show-all {
    display: flex;
  }

  /* Show more link (injected by JS) */
  body.atlas-mobile .mobile-meetings-show-more {
    text-align: center;
    padding: 10px var(--mobile-gutter);
  }

  body.atlas-mobile .mobile-meetings-show-more a {
    font-family: var(--mobile-font);
    font-size: 12px;
    font-weight: 600;
    color: var(--mobile-brand);
    cursor: pointer;
  }

  /* Cards — full width with margin */
  body.atlas-mobile .meeting-card-v3 {
    margin: 0 var(--mobile-gutter) 8px;
    border-radius: var(--mobile-radius-card);
  }

  /* Card footer */
  body.atlas-mobile .card-v3-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid var(--mobile-border);
    background: var(--mobile-bg-muted);
  }

  /* Side strip — keep but narrow */
  body.atlas-mobile .card-side-strip {
    width: 40px;
  }

  body.atlas-mobile .card-side-strip-label {
    font-size: 8px;
    letter-spacing: 1.2px;
  }

  /* Needs action section */
  body.atlas-mobile .needs-action-column {
    padding-top: 16px;
  }

  /* Needs action — show max 1 card, rest hidden */
  body.atlas-mobile .needs-action-column .meeting-card-v3:nth-child(n+2) {
    display: none;
  }

  /* Preferences gear icon */
  body.atlas-mobile .meetings-prefs-gear {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid var(--mobile-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

/* ── Inferred Deals Tab ─────────────────────────────────────── */

.inferred-deal-row {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: box-shadow 0.15s, border-color 0.15s;
}

.inferred-deal-row:hover {
  border-color: #d1d5db;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.inferred-deal-info {
  flex: 1;
  min-width: 0;
}

.inferred-deal-company {
  font-weight: 600;
  font-size: 15px;
  color: #111827;
  line-height: 1.3;
}

.inferred-deal-domain {
  font-weight: 400;
  color: #9ca3af;
  font-size: 12px;
  margin-left: 6px;
}

.inferred-deal-meta {
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.inferred-deal-meeting {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inferred-deal-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.inferred-deal-btn {
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  line-height: 1;
}

.inferred-deal-btn.approve {
  background: #059669;
  color: #fff;
}

.inferred-deal-btn.approve:hover {
  background: #047857;
}

.inferred-deal-btn.edit {
  background: #f3f4f6;
  color: #374151;
}

.inferred-deal-btn.edit:hover {
  background: #e5e7eb;
}

.inferred-deal-btn.skip {
  background: transparent;
  color: #9ca3af;
}

.inferred-deal-btn.skip:hover {
  color: #6b7280;
  background: #f9fafb;
}

.inferred-deal-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Ask Atlas panel — full screen on mobile, no wrapper chrome */
body.atlas-mobile .atlas-chat-panel {
  width: 100vw !important;
  max-width: 100vw !important;
  box-shadow: none;
  top: 0;
  bottom: 0;
}

/* Slim Ask Atlas header on mobile — just title + close */
body.atlas-mobile .atlas-chat-panel .atlas-chat-header {
  padding: 10px 16px !important;
  min-height: 44px !important;
}

body.atlas-mobile .atlas-chat-panel .atlas-chat-header-sub,
body.atlas-mobile .atlas-chat-panel .atlas-chat-minimize,
body.atlas-mobile .atlas-chat-panel .atlas-chat-expand {
  display: none !important;
}

body.atlas-mobile .atlas-chat-panel .atlas-chat-header-title {
  font-size: 14px !important;
}

body.atlas-mobile .atlas-chat-panel .atlas-chat-close {
  font-size: 24px !important;
  padding: 4px 8px !important;
}

/* Iframe fills remaining space */
body.atlas-mobile .atlas-chat-panel .atlas-chat-iframe {
  flex: 1 !important;
}

/* Hide resize handle on mobile */
body.atlas-mobile .atlas-chat-resize-handle {
  display: none;
}

/* Hide bottom nav when Ask Atlas is open */
body.atlas-mobile .atlas-chat-panel.open ~ .mobile-bottom-nav {
  display: none;
}

/* Mobile prep layout — single column */
body.atlas-mobile .prep-section-v3 {
  flex-direction: column !important;
  gap: 12px;
}

body.atlas-mobile .prep-section-v3 .prep-left,
body.atlas-mobile .prep-section-v3 .prep-right {
  width: 100% !important;
  max-width: 100% !important;
}

body.atlas-mobile .metric-cards {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 6px !important;
}

body.atlas-mobile .metric-card {
  padding: 8px !important;
  text-align: center;
}

body.atlas-mobile .metric-card-label {
  font-size: 9px !important;
}

body.atlas-mobile .metric-card-value {
  font-size: 14px !important;
}

body.atlas-mobile .people-cards {
  flex-direction: column !important;
  gap: 6px !important;
}

body.atlas-mobile .person-card {
  width: 100% !important;
}

body.atlas-mobile .prep-context {
  font-size: 13px;
  line-height: 1.5;
}

/* Mobile prep toggle row — card footer style */
body.atlas-mobile .prep-toggle-row {
  border-top: 1px solid #e5e7eb;
  margin-top: 8px;
  padding: 10px 0 0;
  height: auto;
  gap: 12px;
}

body.atlas-mobile .prep-toggle-link {
  font-size: 11px;
}

/* Zoom chip in prep row */
body.atlas-mobile .zoom-chip {
  font-size: 10px;
  padding: 3px 8px;
}

/* Mobile show-more links (injected by mobile-meetings.js) */
body.atlas-mobile .mobile-show-more {
  text-align: center;
  padding: 12px 16px;
}

body.atlas-mobile .mobile-show-more a {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #C41230;
  cursor: pointer;
}
