@import url('https://fonts.googleapis.com/css2?family=Carlito:wght@400;700&display=swap');

/* ── CHECKLIST EM DUPLA ── Ambiente Isolado ────────────────────── */

.checklist-wrapper {
  display: flex;
  height: 100%;
  width: 100%;
  background: #f0f7f4;
  font-family: 'Carlito', Calibri, Arial, sans-serif;
  overflow: hidden;
}
.checklist-wrapper-fullscreen {
  position: fixed !important;
  top: 0 !important; left: 0 !important;
  right: 0 !important; bottom: 0 !important;
  z-index: 20000 !important;
  height: 100vh !important;
  width: 100vw !important;
  background: #f0f7f4 !important;
  backdrop-filter: none !important;
}
.checklist-wrapper * { box-sizing: border-box; }

/* Sobrescrever cor roxa do ipados.css, manter padding/border-radius */
#view-checklist-dupla .checklist-sidebar-item {
  background: transparent !important;
  color: rgba(255,255,255,0.75) !important;
  font-weight: 400 !important;
  border: none !important;
}
#view-checklist-dupla .checklist-sidebar-item:hover {
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
}
#view-checklist-dupla .checklist-sidebar-item.active {
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
  font-weight: 600 !important;
}
#view-checklist-dupla .checklist-btn-primary { background: #1a5c3a !important; color: #fff !important; border-radius: 12px !important; padding: 14px 32px !important; font-weight: 600 !important; }
#view-checklist-dupla .checklist-btn-secondary { background: #e5e7eb !important; color: #374151 !important; border-radius: 12px !important; padding: 14px 32px !important; font-weight: 600 !important; }
#view-checklist-dupla .checklist-btn-danger { background: #ef4444 !important; color: #fff !important; border-radius: 12px !important; padding: 14px 32px !important; font-weight: 600 !important; }
#view-checklist-dupla .checklist-btn-outline { background: transparent !important; border: 2px solid #1a5c3a !important; color: #1a5c3a !important; border-radius: 12px !important; padding: 14px 32px !important; font-weight: 600 !important; }
#view-checklist-dupla .checklist-btn-sm { padding: 8px 16px !important; font-size: 0.85rem !important; border-radius: 8px !important; }
#view-checklist-dupla .checklist-btn-convidar { background: #1a5c3a !important; color: #fff !important; border-radius: 8px !important; padding: 8px 20px !important; font-weight: 600 !important; cursor: pointer !important; }
#view-checklist-dupla .checklist-online-refresh { background: #1a5c3a !important; color: #fff !important; border-radius: 8px !important; padding: 8px 16px !important; font-weight: 600 !important; cursor: pointer !important; font-size: 0.85rem !important; }
#view-checklist-dupla .checklist-online-refresh:hover { background: #15472d !important; }
#view-checklist-dupla .checklist-btn-primary:hover { background: #15472d !important; transform: translateY(-1px) !important; }
#view-checklist-dupla .checklist-btn-secondary:hover { background: #d1d5db !important; }
#view-checklist-dupla .checklist-btn-danger:hover { background: #dc2626 !important; }
#view-checklist-dupla .checklist-btn-outline:hover { background: #1a5c3a !important; color: #fff !important; }
#view-checklist-dupla .checklist-btn-convidar:hover { background: #15472d !important; }
#view-checklist-dupla .checklist-estudar-card { background: #fff !important; border: 1.5px solid #e5e7eb !important; border-radius: 14px !important; padding: 24px !important; cursor: pointer !important; }
#view-checklist-dupla .checklist-estudar-card:hover { border-color: #1a5c3a !important; transform: translateY(-2px) !important; box-shadow: 0 4px 16px rgba(26,92,58,0.08) !important; }
#view-checklist-dupla .media-btn { background: #fff !important; border: 1px solid #e5e7eb !important; border-radius: 8px !important; padding: 8px !important; cursor: pointer !important; font-size: 1.1rem !important; color: #374151 !important; }
#view-checklist-dupla .media-btn:hover { background: #f3f4f6 !important; }
#view-checklist-dupla .checklist-lobby-copiar { background: #fff !important; border: 1.5px solid #e5e7eb !important; color: #374151 !important; border-radius: 8px !important; padding: 8px 16px !important; }
#view-checklist-dupla .checklist-lobby-copiar:hover { border-color: #1a5c3a !important; color: #1a5c3a !important; background: #f0fdf4 !important; }
#view-checklist-dupla .checklist-lobby-send-btn { background: #1a5c3a !important; color: #fff !important; border: none !important; border-radius: 8px !important; padding: 8px 12px !important; }
#view-checklist-dupla .checklist-lobby-send-btn:hover { background: #15472d !important; }
#view-checklist-dupla .checklist-lobby-action-btn { background: #fff !important; border: 1.5px solid #e5e7eb !important; border-radius: 14px !important; color: #1e1b2e !important; font-weight: inherit !important; }
#view-checklist-dupla .checklist-lobby-action-btn:hover { border-color: #1a5c3a !important; }
#view-checklist-dupla .checklist-lobby-action-primary { background: #1a5c3a !important; border-color: #1a5c3a !important; }
#view-checklist-dupla .checklist-lobby-action-primary .checklist-lobby-action-label { color: #fff !important; }
#view-checklist-dupla .checklist-lobby-action-primary .checklist-lobby-action-desc { color: rgba(255,255,255,0.7) !important; }
#view-checklist-dupla .checklist-lobby-action-primary svg { stroke: #fff !important; }
#view-checklist-dupla .checklist-lobby-action-primary:hover { background: #15472d !important; border-color: #15472d !important; }
#view-checklist-dupla .checklist-lobby-action-danger { border-color: #fecaca !important; background: #fef2f2 !important; }
#view-checklist-dupla .checklist-lobby-action-danger .checklist-lobby-action-label { color: #dc2626 !important; }
#view-checklist-dupla .checklist-lobby-action-danger svg { stroke: #dc2626 !important; }
#view-checklist-dupla .checklist-lobby-action-danger:hover { border-color: #fca5a5 !important; background: #fee2e2 !important; }
#view-checklist-dupla .checklist-lobby-action-btn:disabled { opacity: 0.5 !important; cursor: not-allowed !important; }
#view-checklist-dupla .checklist-sidebar-sair { background: transparent !important; }

/* Sidebar */
.checklist-sidebar {
  width: 240px; min-width: 240px;
  background: #1a5c3a;
  display: flex; flex-direction: column;
  padding: 20px 12px; color: #fff;
  height: 100%; overflow-y: auto; overflow-x: hidden;
  flex-shrink: 0;
}
.checklist-sidebar-logo {
  padding: 0 8px 20px; font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.05em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
  line-height: 1.3;
}
.checklist-sidebar-logo svg { flex-shrink: 0; opacity: 0.8; }
.checklist-sidebar-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 14px; cursor: pointer;
  color: rgba(255,255,255,0.75); font-size: 0.9rem;
  transition: all 0.15s; border: none; background: none;
  width: 100%; text-align: left; border-radius: 10px;
  margin-bottom: 2px;
}
.checklist-sidebar-item:hover { background: rgba(255,255,255,0.1); color: #fff; }
.checklist-sidebar-item.active { background: rgba(255,255,255,0.15); color: #fff; font-weight: 600; }
.checklist-sidebar-icon { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; opacity: 0.7; }
.checklist-sidebar-item.active .checklist-sidebar-icon { opacity: 1; }
.checklist-sidebar-item-text { display: flex; flex-direction: column; gap: 3px; }
.checklist-sidebar-item-text strong { font-size: 0.9rem; font-weight: 600; display: block; }
.checklist-sidebar-item-text small { font-size: 0.75rem; opacity: 0.6; font-weight: 400; display: block; line-height: 1.3; }
.checklist-sidebar-dicas {
  background: rgba(255,255,255,0.08); border-radius: 10px;
  padding: 14px; margin-top: 8px;
}
.checklist-sidebar-dicas-title { font-size: 0.78rem; font-weight: 600; margin-bottom: 8px; opacity: 0.9; }
.checklist-sidebar-dicas ul { list-style: none; padding: 0; margin: 0; }
.checklist-sidebar-dicas li { font-size: 0.72rem; opacity: 0.65; line-height: 1.5; padding-left: 12px; position: relative; margin-bottom: 4px; }
.checklist-sidebar-dicas li::before { content: '•'; position: absolute; left: 0; }
.checklist-sidebar-sair { color: rgba(255,255,255,0.4) !important; font-size: 0.82rem; margin-top: 8px; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 14px; border-radius: 0 !important; }

/* Main content area */
.checklist-content {
  flex: 1; display: flex; flex-direction: column;
  overflow: hidden; position: relative;
}
.checklist-content > [id^="checklist-view-"]:not(.checklist-hidden) {
  flex: 1; display: flex; min-height: 0;
}

/* ── ESTUDAR ── */
.checklist-estudar {
  display: flex; flex-direction: column;
  height: 100%; padding: 32px 40px; text-align: left;
  overflow-y: auto;
}
.checklist-estudar-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 28px;
}
.checklist-estudar-header-text h1 { font-size: 1.8rem; color: #1a5c3a; margin: 0 0 4px; font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; }
.checklist-estudar-header-text p.sub { color: #6b7280; margin: 0; font-size: 0.95rem; }
.checklist-estudar-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 36px; }
.checklist-estudar-card {
  display: flex; align-items: center; gap: 16px;
  padding: 24px; background: #fff; border: 1.5px solid #e5e7eb;
  border-radius: 14px; cursor: pointer;
  transition: all 0.2s; text-align: left; width: 100%;
  font-family: inherit;
  min-height: 112px;
}
.checklist-estudar-card:hover { border-color: #1a5c3a; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(26,92,58,0.08); }
.checklist-estudar-card-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: #e8f5e9; color: #1a5c3a;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 300; flex-shrink: 0;
}
.checklist-estudar-card-info { flex: 1; min-width: 0; display: block; }
.checklist-estudar-card-info strong { display: block; font-size: 0.9rem; font-weight: 800; color: #0b1324; letter-spacing: 0; margin-bottom: 4px; line-height: 1.2; }
.checklist-estudar-card-info span { display: block; font-size: 0.82rem; color: #374151; line-height: 1.4; max-width: 34rem; }
.checklist-estudar-card-arrow { font-size: 1.5rem; color: #9ca3af; flex-shrink: 0; }

#view-checklist-dupla .checklist-estudar-card {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  color: #0b1324 !important;
  overflow: visible !important;
}
#view-checklist-dupla .checklist-estudar-card-info {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
#view-checklist-dupla .checklist-estudar-card-info strong,
#view-checklist-dupla .checklist-estudar-card-info span {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  white-space: normal !important;
}
#view-checklist-dupla .checklist-estudar-card-info strong {
  color: #0b1324 !important;
}
#view-checklist-dupla .checklist-estudar-card-info span {
  color: #374151 !important;
}

/* Online section */
.checklist-online-section { width: 100%; max-height: 280px; display: flex; flex-direction: column; }
.checklist-online-section #checklist-online-list { overflow-y: auto; flex: 1; }
.checklist-online-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.checklist-online-header-left { display: flex; align-items: center; gap: 6px; color: #1a5c3a; }
.checklist-online-header-left h3 { font-size: 0.78rem; font-weight: 700; color: #1a5c3a; margin: 0; letter-spacing: 0.03em; text-transform: uppercase; }
.checklist-online-header-left svg { opacity: 0.6; }
.checklist-online-refresh { display: flex; align-items: center; gap: 6px; background: none; border: none; color: #6b7280; font-size: 0.82rem; cursor: pointer; padding: 6px 10px; border-radius: 8px; transition: all 0.15s; }
.checklist-online-refresh:hover { background: rgba(26,92,58,0.06); color: #1a5c3a; }
.checklist-online-divider { height: 1px; background: #e5e7eb; margin-bottom: 8px; }

/* Online students */
.checklist-online { width: 100%; }
.checklist-online h3 { font-size: 1rem; color: #1e1b2e; margin: 0 0 12px; text-align: left; }
.checklist-online-item {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 12px; background: #fff; border-radius: 10px;
  margin-bottom: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f0; width: fit-content;
}
.checklist-online-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: #1a5c3a; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem; flex-shrink: 0;
}
.checklist-online-info { text-align: left; width: 135px; }
.checklist-online-name { font-weight: 600; font-size: 0.85rem; color: #1e1b2e; }
.checklist-online-status { font-size: 0.72rem; color: #10b981; display: flex; align-items: center; gap: 4px; margin-top: 1px; }
.checklist-online-status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #10b981; display: inline-block; }
.checklist-online-sub { font-size: 0.7rem; color: #9ca3af; margin-top: 1px; }
.checklist-btn-convidar { padding: 6px 16px; border-radius: 8px; border: none; background: #1a5c3a; color: #fff; font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: all 0.15s; flex-shrink: 0; margin-left: 12px; }
.checklist-btn-convidar:hover { background: #15472d; }

/* ── BUTTONS (global) ── */
.checklist-btn {
  padding: 14px 32px; border-radius: 12px; border: none;
  font-size: 1rem; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  transition: all 0.15s; font-family: inherit;
}
.checklist-btn-primary { background: #1a5c3a; color: #fff; }
.checklist-btn-primary:hover { background: #15472d; transform: translateY(-1px); }
.checklist-btn-secondary { background: #e5e7eb; color: #374151; }
.checklist-btn-secondary:hover { background: #d1d5db; }
.checklist-btn-outline { background: transparent; border: 2px solid #1a5c3a; color: #1a5c3a; }
.checklist-btn-outline:hover { background: #1a5c3a; color: #fff; }
.checklist-btn-danger { background: #ef4444; color: #fff; }
.checklist-btn-danger:hover { background: #dc2626; }
.checklist-btn-sm { padding: 8px 16px; font-size: 0.85rem; border-radius: 8px; }

/* ── ESTAÇÕES ── */
.checklist-estacoes { padding: 32px 40px; overflow-y: auto; height: 100%; }
.checklist-estacoes-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; }
.checklist-estacoes-header h1 { font-size: 1.8rem; color: #1a5c3a; margin: 0 0 4px; font-weight: 800; letter-spacing: -0.02em; }
.checklist-estacoes-header p.sub { color: #6b7280; margin: 0; font-size: 0.95rem; }

.checklist-areas { display: flex; flex-direction: column; gap: 28px; }

#view-checklist-dupla .checklist-area-header {
  background: #fff !important;
  color: #1e1b2e !important;
  border: none !important;
  border-bottom: 2px solid #e5e7eb !important;
  border-radius: 0 !important;
  padding: 12px 16px !important;
  font-weight: inherit !important;
}
#view-checklist-dupla .checklist-area-header:hover { background: #f9fafb !important; }
#view-checklist-dupla .checklist-area-count {
  background: #f3f4f6 !important;
  color: #6b7280 !important;
}
#view-checklist-dupla .checklist-area-chevron { color: #9ca3af !important; }
.checklist-area-header {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; cursor: pointer; text-align: left;
  transition: background 0.15s; font-family: inherit;
}
.checklist-area-title { display: flex; align-items: center; gap: 10px; }
.checklist-area-icon { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; }
.checklist-area-title h2 { font-size: 1.1rem; color: #1e1b2e; margin: 0; font-weight: 700; }
.checklist-area-right { display: flex; align-items: center; gap: 8px; }
.checklist-area-count {
  font-size: 0.75rem; font-weight: 600; color: #6b7280;
  background: #f3f4f6; padding: 2px 8px; border-radius: 10px;
}
.checklist-area-chevron { transition: transform 0.2s; flex-shrink: 0; color: #9ca3af; }
.checklist-area-chevron.expanded { transform: rotate(180deg); }

.checklist-area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px; margin-top: 12px;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.2s ease;
  max-height: 2000px; opacity: 1;
}
.checklist-area-grid-collapsed {
  max-height: 0; opacity: 0; margin-top: 0; pointer-events: none;
}
.checklist-estacao-card {
  background: #fff; border-radius: 12px; padding: 18px;
  cursor: pointer; border: 1.5px solid #e5e7eb;
  transition: all 0.15s; text-align: left;
  display: flex; flex-direction: column; gap: 6px;
}
.checklist-estacao-card:hover { border-color: #1a5c3a; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(26,92,58,0.08); }
.checklist-estacao-card h3 { font-size: 0.92rem; color: #1e1b2e; margin: 0; font-weight: 600; }
.checklist-estacao-card p { font-size: 0.78rem; color: #6b7280; margin: 0; }
.checklist-estacao-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 600;
  color: #1a5c3a; background: rgba(26,92,58,0.08);
  padding: 3px 8px; border-radius: 6px; margin-top: 4px;
  width: fit-content;
}
.checklist-area-em-breve {
  color: #9ca3af; font-size: 0.88rem; font-style: italic;
  margin: 12px 0 0; padding: 0;
}

/* ── MODAL ESTAÇÃO ── */
.checklist-modal-overlay {
  position: fixed; inset: 0; z-index: 30000;
  background: rgba(0,0,0,0.18); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
}
.checklist-modal-box {
  background: #fff; border-radius: 16px;
  padding: 32px; max-width: 440px; width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.checklist-modal-estacoes { max-width: 90vw; width: 90vw; max-height: 88vh; height: 88vh; display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.checklist-modal-estacoes-header { display: flex; align-items: flex-start; justify-content: space-between; padding: 28px 28px 0; }
.checklist-modal-estacoes-header h2 { margin: 0 0 4px; font-size: 1.3rem; color: #1a5c3a; font-weight: 800; }
.checklist-modal-estacoes-header p.sub { color: #6b7280; margin: 0; font-size: 0.9rem; }
.checklist-modal-close { background: none; border: none; cursor: pointer; color: #9ca3af; padding: 4px; border-radius: 6px; transition: all 0.15s; }
.checklist-modal-close:hover { background: #f3f4f6; color: #374151; }
.checklist-modal-estacoes-list { flex: 1; overflow-y: auto; padding: 16px 28px 24px; }
.checklist-modal-area { margin-bottom: 4px; }
.checklist-modal-area-header {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 10px 12px; background: #f9fafb; border: none;
  border-radius: 8px; cursor: pointer; font-size: 0.85rem; font-weight: 600;
  color: #1e1b2e; transition: background 0.15s; font-family: inherit; text-align: left;
}
.checklist-modal-area-header:hover { background: #f3f4f6; }
.checklist-modal-area-header svg { color: #9ca3af; transition: transform 0.2s; flex-shrink: 0; }
.checklist-modal-area-items { display: none; padding: 6px 0; }
.checklist-modal-area-items.checklist-modal-area-open { display: block; }
.checklist-modal-area-items .checklist-estacao-card { margin-bottom: 4px; }
.checklist-modal-area-items .checklist-estacao-card h3 { font-size: 0.85rem; margin: 0; }
.checklist-modal-area-items .checklist-estacao-card p { font-size: 0.75rem; margin: 0; }
.checklist-modal-area-items .checklist-estacao-card .checklist-estacao-tag { font-size: 0.65rem; padding: 2px 6px; margin-top: 0; }
.checklist-modal-estacao-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 8px; cursor: pointer;
  transition: background 0.15s; border: 1px solid transparent;
  width: fit-content;
}
.checklist-modal-estacao-row:hover { background: #f0fdf4; border-color: #d1fae5; }
.checklist-modal-estacao-row-info { display: flex; align-items: center; gap: 8px; }
.checklist-modal-estacao-row-nome { font-size: 0.88rem; font-weight: 600; color: #1e1b2e; }
.checklist-modal-estacao-row-meta { font-size: 0.75rem; color: #6b7280; }
#view-checklist-dupla .checklist-modal-area-header { background: #f9fafb !important; border-radius: 8px !important; border: none !important; padding: 10px 12px !important; color: #1e1b2e !important; font-weight: 600 !important; }
#view-checklist-dupla .checklist-modal-area-header:hover { background: #f3f4f6 !important; }
#view-checklist-dupla .checklist-modal-close { background: none !important; border: none !important; color: #9ca3af !important; }
#view-checklist-dupla .checklist-modal-close:hover { background: #f3f4f6 !important; color: #374151 !important; }
.checklist-modal-box h2 { margin: 0 0 4px; font-size: 1.3rem; color: #1e1b2e; }
.checklist-modal-box p.sub { color: #6b7280; margin: 0 0 20px; font-size: 0.9rem; }
.checklist-modal-info { margin-bottom: 20px; }
.checklist-modal-info-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.9rem; border-bottom: 1px solid #f3f4f6; }
.checklist-modal-info-label { color: #6b7280; }
.checklist-modal-info-value { font-weight: 600; color: #1e1b2e; }
.checklist-modal-actions { display: flex; gap: 10px; justify-content: flex-end; }
.checklist-modal-actions .checklist-btn { padding: 10px 24px; font-size: 0.9rem; }

/* ── LOBBY ── */
.checklist-lobby { display: flex; flex: 1; height: 100%; gap: 0; overflow: hidden; }
.checklist-lobby-main { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 40px; overflow-y: auto; }
.checklist-lobby-status { display: inline-flex; align-items: center; gap: 6px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 20px; padding: 6px 14px; font-size: 0.8rem; font-weight: 500; color: #166534; margin-bottom: 28px; }
.checklist-lobby-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.checklist-lobby-label { font-size: 0.85rem; color: #6b7280; margin-bottom: 12px; }
.checklist-lobby-code-box { background: #fff; color: #1a5c3a; border: 2px solid #d1fae5; padding: 20px 48px; border-radius: 14px; font-size: 2.4rem; font-weight: 800; letter-spacing: 8px; font-family: monospace; margin-bottom: 12px; }
.checklist-lobby-copiar { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1.5px solid #e5e7eb; border-radius: 8px; padding: 8px 16px; font-size: 0.85rem; color: #374151; cursor: pointer; font-weight: 500; transition: all 0.15s; font-family: inherit; margin-bottom: 20px; }
.checklist-lobby-copiar:hover { border-color: #1a5c3a; color: #1a5c3a; background: #f0fdf4; }
.checklist-lobby-participants { margin: 0 0 12px; width: 100%; max-width: 500px; }
.checklist-lobby-participant { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #f9fafb; border-radius: 12px; margin-bottom: 6px; border: 1px solid #f3f4f6; }
.checklist-lobby-participant-avatar { width: 40px; height: 40px; border-radius: 50%; background: #1a5c3a; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }
.checklist-lobby-participant-info { flex: 1; text-align: left; }
.checklist-lobby-participant-name { font-weight: 600; font-size: 0.9rem; color: #1e1b2e; }
.checklist-lobby-participant-role { font-size: 0.78rem; color: #1a5c3a; }
.checklist-lobby-waiting { display: flex; align-items: center; gap: 8px; color: #9ca3af; font-size: 0.85rem; padding: 12px; margin-bottom: 20px; }
.checklist-lobby-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: 100%; max-width: 600px; margin-bottom: 24px; }
.checklist-lobby-action-btn { display: flex; flex-direction: column; align-items: center; gap: 8px; background: #fff; border: 1.5px solid #e5e7eb; border-radius: 14px; padding: 20px 12px; cursor: pointer; transition: all 0.15s; font-family: inherit; text-align: center; }
.checklist-lobby-action-btn:hover { border-color: #1a5c3a; transform: translateY(-1px); }
.checklist-lobby-action-label { font-size: 0.85rem; font-weight: 600; color: #1e1b2e; }
.checklist-lobby-action-desc { font-size: 0.72rem; color: #6b7280; line-height: 1.3; }
.checklist-lobby-action-primary { background: #1a5c3a; border-color: #1a5c3a; }
.checklist-lobby-action-primary .checklist-lobby-action-label { color: #fff; }
.checklist-lobby-action-primary .checklist-lobby-action-desc { color: rgba(255,255,255,0.7); }
.checklist-lobby-action-primary svg { stroke: #fff; }
.checklist-lobby-action-primary:hover { background: #15472d; border-color: #15472d; }
.checklist-lobby-action-danger { border-color: #fecaca; background: #fef2f2; }
.checklist-lobby-action-danger .checklist-lobby-action-label { color: #dc2626; }
.checklist-lobby-action-danger svg { stroke: #dc2626; }
.checklist-lobby-action-danger:hover { border-color: #fca5a5; background: #fee2e2; }
.checklist-lobby-action-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.checklist-lobby-action-btn:disabled:hover { transform: none; }
.checklist-lobby-info-bar { display: flex; gap: 0; width: 100%; max-width: 600px; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.checklist-lobby-info-item { flex: 1; display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.checklist-lobby-info-item:not(:last-child) { border-right: 1px solid #e5e7eb; }
.checklist-lobby-info-label { font-size: 0.72rem; color: #6b7280; font-weight: 500; }
.checklist-lobby-info-value { font-size: 0.82rem; color: #1e1b2e; font-weight: 600; }
.checklist-lobby-side { width: 220px; min-width: 220px; background: #fff; border-left: 1px solid #e5e7eb; padding: 16px; display: flex; flex-direction: column; overflow: hidden; }
.checklist-lobby-side-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.checklist-lobby-side-header h3 { font-size: 0.9rem; color: #1e1b2e; margin: 0; font-weight: 700; }
.checklist-lobby-side-count { font-size: 0.75rem; font-weight: 600; color: #6b7280; background: #f3f4f6; padding: 2px 8px; border-radius: 8px; }
.checklist-lobby-video-grid { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.checklist-lobby-video-slot .video-area { background: #1e1b2e; border-radius: 8px; height: 100px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.3); font-size: 0.72rem; position: relative; overflow: hidden; }
.checklist-lobby-video-slot .video-area video { width: 100%; height: 100%; object-fit: cover; }
.checklist-lobby-chat { flex: 1; display: flex; flex-direction: column; overflow: hidden; margin-top: 12px; }
.checklist-lobby-chat h4 { font-size: 0.85rem; color: #1e1b2e; margin: 0 0 8px; font-weight: 600; }
.checklist-lobby-chat-msgs { flex: 1; overflow-y: auto; margin-bottom: 8px; display: flex; flex-direction: column; gap: 6px; }
.checklist-lobby-chat-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1; color: #9ca3af; text-align: center; gap: 4px; }
.checklist-lobby-chat-empty p { margin: 0; font-size: 0.8rem; }
.checklist-lobby-chat-msg { padding: 6px 10px; border-radius: 8px; font-size: 0.82rem; line-height: 1.4; max-width: 90%; }
.checklist-lobby-chat-msg.me { background: #1a5c3a; color: #fff; align-self: flex-end; }
.checklist-lobby-chat-msg.other { background: #f3f4f6; color: #1e1b2e; align-self: flex-start; }
.checklist-lobby-chat-input-row { display: flex; gap: 6px; align-items: stretch; }
.checklist-lobby-chat-input-row input { flex: 1; padding: 8px 12px; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 0.85rem; outline: none; min-width: 0; }
.checklist-lobby-send-btn { background: #1a5c3a; color: #fff; border: none; border-radius: 8px; padding: 8px 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s; }
.checklist-lobby-send-btn:hover { background: #15472d; }
.checklist-btn-enviar { padding: 8px 14px; background: #1a5c3a; color: #fff; border: none; border-radius: 8px; cursor: pointer; display: inline-flex; min-width: 60px; width: auto; flex-shrink: 0; justify-content: center; align-items: center; font-size: 0.85rem; user-select: none; }

/* ── TELA MÉDICO ── */
.checklist-medico {
  display: flex; flex: 1; min-height: 0; overflow: hidden;
  background: #f8f7f1;
}
.checklist-medico-documento {
  flex: 0 0 82%;
  max-width: 85%;
  overflow-y: auto;
  background: #fbfaf5;
  border-right: 1px solid #d9ded8;
}
.checklist-medico-logo {
  display: flex; align-items: baseline; justify-content: center; gap: 0;
  padding: 14px 16px 10px;
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1;
}
.checklist-medico-logo svg { display: none; }
.checklist-medico-logo span {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 0;
}
.checklist-medico-logo-praxis { color: #050918 !important; }
.checklist-medico-logo-med { color: #00613b !important; }
.checklist-medico-bar {
  height: 12px;
  background: #00683e;
  margin: 0 18px;
}
.checklist-medico-paper {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 14px 6% 18px;
  font-family: Arial, 'Inter', sans-serif;
  color: #0f1117;
}
.checklist-medico-station-badge {
  display: flex; align-items: center; justify-content: center; gap: 0;
  margin: 0 auto 20px;
}
.checklist-medico-station-num {
  background: #00613b; color: #fff; font-size: 1.15rem; font-weight: 900;
  padding: 11px 22px; border-radius: 0; letter-spacing: 0.02em;
  min-width: 170px; text-align: center;
}
.checklist-medico-station-area {
  background: #a9d1bf;
  color: #005333;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  padding: 10px 42px 11px;
  text-transform: uppercase;
  min-width: 360px;
  text-align: center;
}
.checklist-medico-section-header {
  background: #00613b; color: #fff; font-size: 1.1rem; font-weight: 900;
  padding: 9px 14px; border-radius: 0; letter-spacing: 0;
  margin: 0 0 26px; text-transform: uppercase;
}
.checklist-medico-fieldset {
  border: 1.5px solid #00613b; border-radius: 4px; padding: 26px 30px 18px;
  margin: 0 0 24px;
  background: #fbfaf5;
}
.checklist-medico-fieldset legend {
  font-size: 0.98rem; font-weight: 900; color: #064f35;
  background: #dbeee6;
  border: 1px solid #99c9b7;
  border-radius: 4px;
  padding: 7px 16px;
  letter-spacing: 0; text-transform: uppercase;
}
.checklist-medico-fieldset-body {
  font-size: 1.05rem; line-height: 1.55; color: #0f1117;
}
.checklist-medico-fieldset-body ul { padding-left: 20px; margin: 10px 0 0; }
.checklist-medico-fieldset-body li { font-size: 1.02rem; line-height: 1.45; margin-bottom: 4px; padding-left: 3px; }
.checklist-medico-fieldset-body li::marker { color: #48a789; font-size: 1.15em; }
.checklist-medico-warning {
  font-weight: 900; color: #7b3b0b; background: #fffaf0;
  padding: 10px 22px; border-radius: 4px; border: 1.5px solid #f0a12a;
  font-size: 1rem; line-height: 1.35; text-transform: uppercase;
  letter-spacing: 0;
}

/* Médico sidebar */
.checklist-medico-impresso {
  margin-top: 28px;
}
.checklist-medico-impresso-separator {
  height: 12px;
  background: #00683e;
  margin: 0 0 24px;
}
.checklist-medico-impresso .checklist-medico-section-header {
  margin-bottom: 24px;
}
.checklist-medico-impresso-fieldset {
  margin-bottom: 0;
}
.checklist-medico-impresso-body {
  font-size: 1rem;
  line-height: 1.55;
}
.checklist-medico-impresso-title {
  color: #064f35;
  font-size: 1.05rem;
  font-weight: 900;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.checklist-medico-impresso-text,
.checklist-medico-impresso-info {
  color: #0f1117;
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 8px;
}
.checklist-medico-impresso-info {
  margin-bottom: 4px;
}
.checklist-medico-impresso-divider {
  border: 0;
  border-top: 1px solid #99c9b7;
  margin: 12px 0;
}
.checklist-medico-impresso-obs {
  color: #425466;
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.45;
  margin: 6px 0;
}
.checklist-medico-impresso-exame {
  display: grid;
  grid-template-columns: minmax(150px, 1.4fr) minmax(90px, 0.8fr) minmax(180px, 1.6fr);
  align-items: baseline;
  gap: 12px;
  padding: 4px 0;
  color: #0f1117;
  font-size: 0.98rem;
  line-height: 1.35;
}
.checklist-medico-impresso-exame-label {
  font-weight: 700;
}
.checklist-medico-impresso-exame-value {
  font-weight: 900;
}
.checklist-medico-impresso-exame-ref {
  color: #425466;
  font-size: 0.9rem;
}

.checklist-medico-sidebar {
  flex: 0 0 18%;
  min-width: 230px;
  max-width: 280px;
  background: #fff; border-left: 1px solid #d9ded8;
  padding: 28px 22px 22px; display: flex; flex-direction: column; gap: 14px;
  font-family: 'Inter', Arial, sans-serif;
}
.checklist-medico-sidebar h4 {
  font-size: 0.95rem; color: #064f35; text-transform: uppercase;
  letter-spacing: 0; margin: 0 0 4px; font-weight: 900;
}
.checklist-medico-sidebar .participant-item {
  display: flex; align-items: center; gap: 14px; font-size: 0.92rem; padding: 5px 0 12px;
  color: #111827;
}
.checklist-medico-sidebar .participant-item span:first-child {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  background: #00613b !important;
  font-size: 0.95rem !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}
.checklist-medico-sidebar .participant-item span:nth-child(2) {
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}
.checklist-medico-sidebar .participant-item span:last-child {
  color: #12b76a !important;
  font-size: 1rem !important;
}
.checklist-medico-sidebar #medico-participantes {
  margin-bottom: 30px;
}
.checklist-medico-sidebar h4:nth-of-type(2) {
  margin-top: 2px;
}
.checklist-medico-sidebar .video-area {
  background: #111425; border-radius: 8px;
  aspect-ratio: 16 / 10.8;
  height: auto; min-height: 120px;
  display: flex; align-items: center;
  justify-content: center; color: #fff;
  font-size: 0.95rem; position: relative; overflow: hidden;
}
.checklist-medico-sidebar .video-area video {
  width: 100%; height: 100%; object-fit: cover;
}
.checklist-medico-sidebar .video-label {
  position: absolute; bottom: 4px; left: 6px;
  font-size: 0.65rem; color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.5); padding: 1px 6px; border-radius: 4px;
}
.checklist-medico-sidebar .media-controls {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  justify-content: center;
  padding: 22px 2px 26px;
  border-bottom: 1px solid #d9ded8;
}
.checklist-medico-sidebar .media-btn {
  width: 100%; height: 40px; border-radius: 8px;
  border: 1px solid #e5e7eb; background: #fff;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; font-size: 1rem;
  transition: all 0.15s;
}
.checklist-medico-sidebar .media-btn:hover { background: #f3f4f6; }
.checklist-medico-sidebar .media-btn.off { background: #ef4444; color: #fff; border-color: #ef4444; }
.checklist-medico-sidebar .media-btn.danger { color: #ef4444; }
.checklist-medico-sidebar .media-btn.danger:hover { background: #ef4444; color: #fff; }

/* ── TELA ATOR ── */
.checklist-ator {
  display: flex; flex: 1; min-height: 0; overflow: hidden;
  background: #f8f7f1;
}
.checklist-ator-col {
  display: flex; flex-direction: column; overflow: hidden; min-height: 0;
}
.checklist-ator-col-participantes {
  flex: 0 0 18%;
  min-width: 230px;
  max-width: 280px;
  background: #fff; border-right: 1px solid #d9ded8;
  padding: 28px 22px 22px; gap: 14px;
  overflow-y: auto;
  font-family: 'Inter', Arial, sans-serif;
}
.checklist-ator-col-participantes h4 {
  font-size: 0.95rem; color: #064f35; text-transform: uppercase;
  letter-spacing: 0; margin: 0 0 4px; font-weight: 900;
}
.checklist-ator-col-participantes #ator-participantes {
  margin-bottom: 30px;
}
.checklist-ator-col-participantes #ator-participantes > div {
  gap: 14px !important;
  font-size: 0.92rem !important;
  padding: 5px 0 12px !important;
  color: #111827;
}
.checklist-ator-col-participantes #ator-participantes span:first-child {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  background: #00613b !important;
  font-size: 0.95rem !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}
.checklist-ator-col-participantes .video-area {
  background: #111425; border-radius: 8px;
  aspect-ratio: 16 / 10.8;
  height: auto; min-height: 120px;
  display: flex; align-items: center;
  justify-content: center; color: #fff;
  font-size: 0.95rem; position: relative; overflow: hidden;
}
.checklist-ator-col-participantes .video-area video {
  width: 100%; height: 100%; object-fit: cover;
}
.checklist-ator-col-participantes .media-controls {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  justify-content: center;
  padding: 22px 2px 18px;
  border-bottom: 1px solid #d9ded8;
}
.checklist-ator-col-participantes .media-btn {
  width: 100%; height: 40px; border-radius: 8px;
  border: 1px solid #e5e7eb; background: #fff;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; font-size: 0;
  color: #111827;
  transition: all 0.15s;
}
.checklist-ator-col-participantes .media-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}
#view-checklist-dupla .checklist-ator-col-participantes .media-btn {
  font-size: 0 !important;
  padding: 0 !important;
  color: #111827 !important;
}
.checklist-ator-col-participantes .media-btn:hover { background: #f3f4f6; }
.checklist-ator-col-participantes .media-btn.off { background: #ef4444; color: #fff; border-color: #ef4444; }
.checklist-ator-col-participantes > div[style*="border-top"] {
  margin-top: 0 !important;
  padding-top: 18px !important;
  border-top: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
.checklist-ator-col-participantes > div[style*="border-top"] .checklist-btn {
  width: 100% !important;
}
#view-checklist-dupla .checklist-ator-col-participantes .checklist-ator-impressos-btn {
  background: #fff !important;
  border: 1.5px solid #00613b !important;
  color: #064f35 !important;
  border-radius: 6px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  padding: 10px 12px !important;
}
#view-checklist-dupla .checklist-ator-col-participantes .checklist-ator-impressos-btn:hover {
  background: #e5f3ee !important;
}
#view-checklist-dupla .checklist-ator-col-participantes .checklist-ator-encerrar-btn {
  border-radius: 6px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  padding: 10px 12px !important;
}
.checklist-ator-col-paciente {
  flex: 1; overflow: hidden; padding: 24px 22px;
  background: #fbfaf5;
  display: flex; justify-content: center; align-items: stretch;
  overflow-anchor: none;
}
.checklist-ator-paciente-shell {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.checklist-highlight-panel {
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid #d9ded8;
  border-radius: 6px;
  background: #fbfaf5;
}
.checklist-highlight-panel-title {
  color: #064f35;
  font-size: 0.68rem;
  font-weight: 900;
  margin-bottom: 6px;
  text-transform: uppercase;
}
#view-checklist-dupla .checklist-highlight-enable,
#view-checklist-dupla .checklist-highlight-clear,
#view-checklist-dupla .checklist-highlight-swatch {
  width: 100% !important;
  border-radius: 4px !important;
  border: 1px solid #99c9b7 !important;
  background: #fff !important;
  color: #064f35 !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  padding: 5px 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  cursor: pointer !important;
}
#view-checklist-dupla .checklist-highlight-enable.active {
  background: #e5f3ee !important;
  border-color: #00613b !important;
}
.checklist-highlight-colors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 6px 0;
}
#view-checklist-dupla .checklist-highlight-swatch span {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,0.18);
  background: var(--swatch);
  flex: 0 0 auto;
}
#view-checklist-dupla .checklist-highlight-swatch.active {
  border-color: #00613b !important;
  box-shadow: inset 0 0 0 1px #00613b;
}
#view-checklist-dupla .checklist-highlight-clear {
  color: #7b3b0b !important;
  border-color: #f0a12a !important;
  background: #fffaf0 !important;
  justify-content: center !important;
  text-transform: uppercase;
}
.checklist-ator-col-avaliacao {
  flex: 0 0 28%;
  min-width: 360px;
  max-width: 440px;
  overflow-y: auto; padding: 24px 22px;
  background: #fff; border-left: 1px solid #d9ded8;
}

/* Paciente paper (ator) */
.checklist-ator-paper {
  max-width: none; width: 100%;
  background: #fbfaf5;
  box-shadow: none;
  height: 100%;
  overflow-y: auto;
  padding: 0 6% 24px;
  font-family: Arial, Helvetica, sans-serif;
  color: #0f1117;
  overscroll-behavior: contain;
  overflow-anchor: none;
}
.checklist-highlight-mode {
  cursor: crosshair;
}
.checklist-highlighted-text {
  border-radius: 2px;
  padding: 0 2px;
}
.checklist-ator-logo {
  display: flex; align-items: baseline; justify-content: center; gap: 0;
  padding: 0 16px 10px;
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1;
}
.checklist-ator-logo span {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: 0;
}
.checklist-ator-pre {
  font-family: inherit;
  margin: 0;
  white-space: pre-wrap;
}
.checklist-roteiro-ator {
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 18px;
}
.checklist-roteiro-abertura {
  border: 1.5px solid #00613b;
  border-radius: 4px;
  background: #fbfaf5;
  padding: 18px 22px;
  margin-bottom: 18px;
}
.checklist-roteiro-abertura span {
  display: block;
  color: #064f35;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.checklist-roteiro-abertura p {
  margin: 0;
  color: #0f1117;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
}
.checklist-roteiro-bloco {
  border: 1.5px solid #00613b;
  border-radius: 4px;
  padding: 18px 22px;
  margin: 0 0 18px;
  background: #fbfaf5;
}
.checklist-roteiro-bloco h4 {
  color: #064f35;
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.checklist-roteiro-falas {
  margin: 0;
  padding-left: 19px;
}
.checklist-roteiro-falas li {
  color: #0f1117;
  font-size: 0.98rem;
  line-height: 1.5;
  margin-bottom: 6px;
}
.checklist-roteiro-qa-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checklist-roteiro-qa {
  display: grid;
  grid-template-columns: minmax(150px, 32%) 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid #99c9b7;
  border-radius: 4px;
  padding: 9px 11px;
  background: #fbfaf5;
}
.checklist-roteiro-pergunta {
  color: #064f35;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.3;
}
.checklist-roteiro-resposta {
  color: #0f1117;
  font-size: 0.96rem;
  line-height: 1.45;
}
.checklist-ator-impresso-view {
  max-width: 720px;
}
.checklist-ator-impresso-conteudo {
  max-height: min(68vh, 620px);
  overflow-y: auto;
  padding: 18px 22px;
  background: #fbfaf5;
  color: #0f1117;
  font-family: Arial, Helvetica, sans-serif;
  border-bottom: 1px solid #99c9b7;
}
.checklist-ator-paper h2 {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: #6b7280; margin: 0 0 4px;
}
.checklist-ator-paper h1 {
  font-size: 1.2rem; font-weight: 700; margin: 0 0 12px;
  border-bottom: 2px solid #1e1b2e; padding-bottom: 6px;
}
.checklist-ator-paper .section-title {
  font-size: 0.9rem; font-weight: 700; margin: 16px 0 6px;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.checklist-ator-paper .section-body {
  font-size: 0.85rem; line-height: 1.6; margin: 0 0 10px;
}
.checklist-ator-paper ul { padding-left: 18px; margin: 6px 0; }
.checklist-ator-paper li { font-size: 0.85rem; line-height: 1.5; margin-bottom: 3px; }

/* Evaluation (ator) */
.checklist-avaliacao-header {
  margin: 0 0 18px;
}
.checklist-avaliacao-titulo {
  background: #00613b;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  margin: 0;
  padding: 10px 14px;
  border-bottom: 0;
  text-transform: uppercase;
}
.checklist-avaliacao-timer {
  font-size: 0.9rem; font-weight: 700; color: #dc2626; float: right;
}
.checklist-sidebar-timer {
  margin-top: 20px; text-align: center;
}
.checklist-sidebar-timer-label {
  color: #064f35;
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.checklist-sidebar-timer .checklist-timer-display {
  display: inline-block !important;
  background: #00613b !important;
  border: 0 !important;
  padding: 10px 28px !important;
  border-radius: 18px !important;
  font-size: 1.6rem !important;
  font-weight: 900 !important;
  font-family: 'Inter', sans-serif !important;
  color: #fff !important;
  font-variant-numeric: tabular-nums;
  min-width: 118px;
  line-height: 1.2;
}
.checklist-item-bloco {
  margin-bottom: 14px; padding: 14px;
  background: #fbfaf5; border-radius: 4px;
  border: 1.5px solid #00613b;
}
.checklist-item-header {
  display: grid; grid-template-columns: auto 1fr auto; gap: 8px;
  align-items: baseline;
  margin-bottom: 8px;
}
.checklist-item-numero { font-weight: 900; font-size: 0.78rem; color: #064f35; text-transform: uppercase; }
.checklist-item-nome { font-weight: 700; font-size: 0.88rem; color: #0f1117; line-height: 1.3; }
.checklist-item-pontos { font-size: 0.75rem; color: #425466; white-space: nowrap; }
.checklist-item-classificacao {
  display: inline-block;
  font-size: 0.72rem; font-weight: 800; padding: 3px 8px; border-radius: 4px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.checklist-item-classificacao.adequado { background: #d1fae5; color: #065f46; }
.checklist-item-classificacao.parcial { background: #fef3c7; color: #92400e; }
.checklist-item-classificacao.inadequado { background: #fee2e2; color: #991b1b; }
.checklist-item-obs {
  border-left: 3px solid #f0a12a;
  background: #fffaf0;
  color: #7b3b0b;
  font-size: 0.78rem;
  line-height: 1.35;
  padding: 8px 10px;
  margin: 4px 0 10px;
}
.checklist-subitens { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.checklist-subitem {
  display: flex; align-items: flex-start; gap: 8px; font-size: 0.84rem; cursor: pointer;
  color: #0f1117;
  line-height: 1.35;
}
.checklist-subitem input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: #00613b; cursor: pointer;
  margin-top: 1px;
  flex: 0 0 auto;
}
.checklist-ator-actions {
  margin-top: 16px; display: flex; gap: 8px;
}

/* ── REVISÃO ── */
.checklist-revisao-item {
  background: #fff; border-radius: 10px; padding: 14px 16px;
  margin-bottom: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.checklist-revisao-item h3 { font-size: 0.88rem; color: #1e1b2e; margin: 0 0 6px; }
.checklist-revisao-sub {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; padding: 2px 0; cursor: pointer;
}
.checklist-revisao-obs { margin-top: 16px; }
.checklist-revisao-obs textarea {
  width: 100%; padding: 10px; border: 1px solid #e5e7eb;
  border-radius: 8px; font-size: 0.85rem; resize: vertical;
  min-height: 60px; font-family: inherit;
}
.checklist-revisao-actions { display: flex; gap: 10px; margin-top: 16px; justify-content: center; }

/* ── RESULTADO ── */
.checklist-resultado {
  padding: 0; overflow-y: visible; height: auto;
  max-width: 720px; margin: 0 auto; text-align: center;
}
.checklist-resultado h1 { font-size: 1.4rem; color: #1e1b2e; margin: 0 0 20px; }
.checklist-resultado-nota {
  background: #fff; border-radius: 16px; padding: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06); margin-bottom: 24px;
}
.checklist-resultado-nota-value {
  font-size: 3rem; font-weight: 800; color: #1a5c3a;
  line-height: 1;
}
.checklist-resultado-nota-max { font-size: 1.2rem; color: #6b7280; }
.checklist-resultado-aproveitamento {
  font-size: 1rem; color: #10b981; font-weight: 600; margin-top: 4px;
}
.checklist-resultado-resumo {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-bottom: 24px;
}
.checklist-resultado-resumo-item {
  background: #fff; border-radius: 10px; padding: 12px 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.checklist-resultado-resumo-num { font-size: 1.4rem; font-weight: 700; }
.checklist-resultado-resumo-label { font-size: 0.72rem; color: #6b7280; margin-top: 2px; }
.checklist-resultado-resumo-item.adequado .checklist-resultado-resumo-num { color: #10b981; }
.checklist-resultado-resumo-item.parcial .checklist-resultado-resumo-num { color: #f59e0b; }
.checklist-resultado-resumo-item.inadequado .checklist-resultado-resumo-num { color: #ef4444; }
.checklist-resultado-resumo-item.nao-realizado .checklist-resultado-resumo-num { color: #9ca3af; }

.checklist-grafico-dominios { margin-bottom: 24px; }
.checklist-grafico-dominios h3 { font-size: 0.95rem; color: #1e1b2e; margin: 0 0 12px; text-align: left; }
.checklist-grafico-barra {
  display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
}
.checklist-grafico-barra-label { width: 100px; font-size: 0.8rem; color: #374151; text-align: right; }
.checklist-grafico-barra-track { flex: 1; height: 20px; background: #f3f4f6; border-radius: 10px; overflow: hidden; }
.checklist-grafico-barra-fill { height: 100%; border-radius: 10px; transition: width 0.5s; }
.checklist-grafico-barra-pct { width: 40px; font-size: 0.78rem; font-weight: 600; color: #374151; }

.checklist-resultado-interpretacao {
  display: flex; gap: 16px; margin-bottom: 24px; text-align: left;
}
.checklist-interp-card {
  flex: 1; background: #fff; border-radius: 10px; padding: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.checklist-interp-card .icon { font-size: 1.3rem; margin-bottom: 4px; }
.checklist-interp-card .label { font-size: 0.72rem; color: #6b7280; text-transform: uppercase; letter-spacing: 0.04em; }
.checklist-interp-card .value { font-size: 0.9rem; font-weight: 600; color: #1e1b2e; }

.checklist-feedback {
  background: #f3f0ff; border-radius: 10px; padding: 16px;
  margin-bottom: 24px; text-align: left;
}
.checklist-feedback h3 { font-size: 0.9rem; color: #1a5c3a; margin: 0 0 6px; }
.checklist-feedback p { font-size: 0.85rem; color: #1e1b2e; line-height: 1.5; margin: 0; }

/* Revisão e resultado no mesmo padrão visual das folhas */
.checklist-revisao-main {
  flex: 1;
  overflow-y: auto;
  background: #fbfaf5;
  padding: 24px 36px 32px;
}
.checklist-revisao-paper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 4% 28px;
  background: #fbfaf5;
}
.checklist-review-logo {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  margin: 0 0 18px;
  color: #050817;
}
.checklist-review-logo strong { color: #00613b; }
.checklist-review-logo span { color: #050817; }
.checklist-review-subtitle {
  color: #0f1117;
  font-size: 0.92rem;
  line-height: 1.4;
  margin: 0 0 18px;
}
.checklist-revisao-item {
  background: #fbfaf5;
  border: 1.5px solid #00613b;
  border-radius: 4px;
  padding: 18px 22px 16px;
  margin: 24px 0 0;
  box-shadow: none;
}
.checklist-revisao-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}
.checklist-revisao-item h3 {
  font-size: 0.92rem;
  color: #0f1117;
  margin: 2px 0 0;
  line-height: 1.25;
}
.checklist-revisao-item-numero {
  display: inline-flex;
  align-items: center;
  background: #d8ece4;
  color: #064f35;
  border: 1px solid #8cc0ad;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}
.checklist-revisao-pontos {
  color: #064f35;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.checklist-revisao-sub {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.84rem;
  line-height: 1.35;
  color: #0f1117;
  padding: 4px 0;
  cursor: pointer;
}
.checklist-revisao-sub input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #00613b;
  margin-top: 1px;
  flex: 0 0 auto;
}
.checklist-revisao-sub input[type="checkbox"]:disabled {
  opacity: 0.5;
  accent-color: #9ca3af;
  cursor: not-allowed;
}
.checklist-revisao-sub input[type="checkbox"]:disabled + span {
  opacity: 0.6;
}
.checklist-revisao-obs textarea {
  border: 1px solid #99c9b7;
  border-radius: 4px;
}
.checklist-revisao-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}
.checklist-resultado {
  padding: 0 4% 28px;
  overflow-y: visible;
  height: auto;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}
.checklist-resultado-nota {
  background: #fbfaf5;
  border: 1.5px solid #00613b;
  border-radius: 4px;
  padding: 22px 24px;
  box-shadow: none;
  margin: 24px 0 18px;
  text-align: center;
}
.checklist-resultado-resumo {
  margin-bottom: 18px;
}
.checklist-resultado-resumo-item {
  background: #fbfaf5;
  border: 1px solid #99c9b7;
  border-radius: 4px;
  box-shadow: none;
  text-align: center;
}
.checklist-grafico-dominios {
  border: 1.5px solid #00613b;
  border-radius: 4px;
  padding: 16px 18px;
  margin-bottom: 18px;
  background: #fbfaf5;
}
.checklist-grafico-dominios h3 {
  background: #d8ece4;
  border: 1px solid #8cc0ad;
  border-radius: 4px;
  color: #064f35;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 900;
  margin: -30px 0 12px;
  padding: 6px 12px;
  text-align: left;
  text-transform: uppercase;
}
.checklist-grafico-barra-track {
  height: 18px;
  background: #ecf4f0;
  border-radius: 3px;
}
.checklist-grafico-barra-fill {
  border-radius: 0;
}
.checklist-resultado-interpretacao {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.checklist-interp-card {
  background: #fbfaf5;
  border: 1px solid #99c9b7;
  border-radius: 4px;
  box-shadow: none;
}
.checklist-interp-card .icon { display: none; }
.checklist-interp-card .label {
  color: #064f35;
  font-weight: 900;
  letter-spacing: 0;
}
.checklist-feedback {
  background: #fbfaf5;
  border: 1.5px solid #00613b;
  border-radius: 4px;
  margin-bottom: 18px;
}
.checklist-feedback h3 {
  text-transform: uppercase;
}
.checklist-resultado-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── MODAL IMPRESSOS ── */
.checklist-impressos-modal-box {
  background: #fbfaf5; border-radius: 6px;
  padding: 0; max-width: 520px; width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  border: 1.5px solid #00613b;
  overflow: hidden;
}
.checklist-impressos-modal-header {
  background: #00613b;
  color: #fff;
  padding: 16px 20px;
}
.checklist-impressos-modal-box h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
}
.checklist-impressos-modal-box p {
  margin: 6px 0 0;
  color: rgba(255,255,255,0.82);
  font-size: 0.86rem;
  line-height: 1.35;
}
.checklist-impresso-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px 18px; background: #fbfaf5; border-radius: 0;
  border-bottom: 1px solid #99c9b7;
  margin-bottom: 0;
}
.checklist-impresso-item .nome {
  font-weight: 900; font-size: 0.92rem; color: #064f35;
  text-transform: uppercase;
}
.checklist-impresso-item .status {
  font-size: 0.78rem;
  font-weight: 900;
  color: #064f35;
  text-transform: uppercase;
}
.checklist-impresso-item .status .checklist-btn {
  border-radius: 6px !important;
  padding: 8px 16px !important;
  text-transform: uppercase;
}
.checklist-impressos-modal-actions {
  padding: 14px 18px 18px;
  text-align: right;
}
.checklist-confirm-modal-box {
  background: #fbfaf5;
  border: 1.5px solid #00613b;
  border-radius: 6px;
  padding: 0;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  overflow: hidden;
}
.checklist-confirm-title {
  background: #00613b;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  padding: 14px 18px;
  text-transform: uppercase;
}
.checklist-confirm-modal-box p {
  margin: 0;
  padding: 18px;
  color: #0f1117;
  font-size: 0.94rem;
  line-height: 1.45;
}
.checklist-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 18px 18px;
}

/* ── MODAL CHAT ── */
.checklist-chat-modal-box {
  background: #fff; border-radius: 12px;
  padding: 0; max-width: 360px; width: 90%; height: 420px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  display: flex; flex-direction: column; overflow: hidden;
}
.checklist-chat-modal-header {
  background: #1a5c3a; padding: 10px 14px;
  display: flex; justify-content: space-between; align-items: center; flex-shrink: 0;
}
.checklist-chat-modal-header h2 { margin: 0; font-size: 0.88rem; color: #fff; font-weight: 700; }
.checklist-chat-modal-close {
  background: rgba(255,255,255,0.18); border: none; width: 24px; height: 24px;
  border-radius: 50%; cursor: pointer; color: #fff; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center; transition: background 0.15s; line-height: 1; padding: 0;
}
.checklist-chat-modal-close:hover { background: rgba(255,255,255,0.35); }
.checklist-chat-modal-msgs {
  flex: 1; overflow-y: auto; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 4px; background: #f9fafb; min-height: 0;
}
.checklist-chat-modal-msgs::-webkit-scrollbar { width: 4px; }
.checklist-chat-modal-msgs::-webkit-scrollbar-track { background: transparent; }
.checklist-chat-modal-msgs::-webkit-scrollbar-thumb { background: #c5c9d0; border-radius: 4px; }
.checklist-chat-modal-input {
  padding: 8px 12px; border-top: 1px solid #e5e7eb;
  display: flex; gap: 6px; background: #fff; flex-shrink: 0;
}
.checklist-chat-modal-input input {
  flex: 1; min-width: 0; padding: 7px 10px; border: 1px solid #d1d5db;
  border-radius: 8px; font-size: 0.82rem; outline: none; transition: border-color 0.15s;
}
.checklist-chat-modal-input input:focus { border-color: #1a5c3a; }
.checklist-chat-modal-input button {
  padding: 7px 14px; background: #1a5c3a; color: #fff;
  border: none; border-radius: 8px; cursor: pointer;
  font-weight: 600; font-size: 0.82rem; transition: background 0.15s; white-space: nowrap; flex-shrink: 0;
}
.checklist-chat-modal-input button:hover { background: #147046; }
.checklist-chat-msg {
  padding: 6px 10px; border-radius: 10px; font-size: 0.82rem; line-height: 1.4;
  max-width: 80%; word-wrap: break-word;
}
.checklist-chat-msg .msg-author { font-weight: 700; font-size: 0.7rem; display: block; margin-bottom: 1px; }
.checklist-chat-msg .msg-time { font-size: 0.6rem; opacity: 0.5; display: block; text-align: right; margin-top: 2px; }
.checklist-chat-msg.me { background: #dcfce7; color: #1a5c3a; align-self: flex-end; }
.checklist-chat-msg.other { background: #e9eaed; color: #1e1b2e; align-self: flex-start; }
.checklist-chat-msg.other .msg-author { color: #1a5c3a; }
.checklist-chat-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; color: #9ca3af; font-size: 0.82rem; gap: 4px;
}
.media-btn { position: relative; }
.checklist-chat-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: #ef4444; color: #fff;
  font-size: 0.6rem; font-weight: 700; line-height: 16px; text-align: center;
  display: none; pointer-events: none;
}
.checklist-chat-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; color: #9ca3af; font-size: 0.9rem; gap: 8px;
}
#view-checklist-dupla #lobby-timer-edit-btn {
  background: #00613b !important; color: #fff !important; border: none !important;
  border-radius: 4px !important; padding: 4px 8px !important; cursor: pointer !important;
}
#view-checklist-dupla #lobby-timer-edit-btn:hover {
  background: #00613b !important; opacity: 0.85;
}

/* Visibilidade */
.checklist-hidden { display: none !important; }

/* Scrollbar personalizada */
.checklist-content ::-webkit-scrollbar { width: 6px; }
.checklist-content ::-webkit-scrollbar-track { background: transparent; }
.checklist-content ::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
.checklist-content ::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

/* ── FORÇAR MODO CLARO DENTRO DO CHECKLIST ── */
.checklist-wrapper,
.checklist-wrapper * {
  color-scheme: light !important;
}
body.dark-mode .checklist-wrapper {
  background: #f0f7f4 !important;
  color: #1e1b2e !important;
}
body.checklist-fullscreen-active {
  background: #f0f7f4 !important;
}
body.checklist-fullscreen-active .ipados-dock-wrapper,
body.checklist-fullscreen-active .ipados-status-bar {
  display: none !important;
}
#view-checklist-dupla.view.active {
  animation: none !important;
  opacity: 1 !important;
  background: #f0f7f4 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
#view-checklist-dupla.view.active::before {
  display: none !important;
}
body.dark-mode .checklist-wrapper h1,
body.dark-mode .checklist-wrapper h2,
body.dark-mode .checklist-wrapper h3,
body.dark-mode .checklist-wrapper h4,
body.dark-mode .checklist-wrapper p,
body.dark-mode .checklist-wrapper span,
body.dark-mode .checklist-wrapper li,
body.dark-mode .checklist-wrapper strong,
body.dark-mode .checklist-wrapper td,
body.dark-mode .checklist-wrapper th,
body.dark-mode .checklist-wrapper label,
body.dark-mode .checklist-wrapper div {
  color: inherit !important;
}
body.dark-mode .checklist-wrapper .checklist-sidebar {
  background: #1a5c3a !important;
  color: #fff !important;
}
body.dark-mode .checklist-wrapper .checklist-medico-paper,
body.dark-mode .checklist-wrapper .checklist-ator-paper {
  background: #fefcf5 !important;
  color: #1e1b2e !important;
}
body.dark-mode .checklist-wrapper .checklist-lobby-side,
body.dark-mode .checklist-wrapper .checklist-medico-sidebar,
body.dark-mode .checklist-wrapper .checklist-ator-col-participantes,
body.dark-mode .checklist-wrapper .checklist-ator-col-avaliacao,
body.dark-mode .checklist-wrapper .checklist-avaliacao-item,
body.dark-mode .checklist-wrapper .checklist-revisao-item,
body.dark-mode .checklist-wrapper .checklist-modal-box,
body.dark-mode .checklist-wrapper .checklist-resultado-nota,
body.dark-mode .checklist-wrapper .checklist-interp-card {
  background: #fff !important;
  color: #1e1b2e !important;
  border-color: #e5e7eb !important;
}
body.dark-mode .checklist-wrapper .checklist-ator-col-paciente {
  background: #f0f7f4 !important;
}
body.dark-mode .checklist-wrapper input,
body.dark-mode .checklist-wrapper textarea,
body.dark-mode .checklist-wrapper select {
  background: #fff !important;
  color: #1e1b2e !important;
  border-color: #e5e7eb !important;
}
body.dark-mode .checklist-wrapper .checklist-medico-sidebar h4,
body.dark-mode .checklist-wrapper .checklist-ator-col-participantes h4 {
  color: #6b7280 !important;
}
body.dark-mode .checklist-wrapper .section-title {
  color: #1e1b2e !important;
}
body.dark-mode .checklist-wrapper .section-body {
  color: #374151 !important;
}
body.dark-mode .checklist-wrapper .checklist-medico-fieldset { border-color: #22c55e !important; }
body.dark-mode .checklist-wrapper .checklist-medico-fieldset legend { color: #22c55e !important; }
body.dark-mode .checklist-wrapper .checklist-medico-section-header { background: #166534 !important; }
body.dark-mode .checklist-wrapper .checklist-medico-station-num { background: #166534 !important; }
body.dark-mode .checklist-wrapper .checklist-medico-station-area { color: #22c55e !important; }
body.dark-mode .checklist-wrapper .checklist-medico-bar { background: #166534 !important; }
body.dark-mode .checklist-wrapper .checklist-medico,
body.dark-mode .checklist-wrapper .checklist-medico-documento,
body.dark-mode .checklist-wrapper .checklist-medico-fieldset {
  background: #fbfaf5 !important;
  color: #0f1117 !important;
}
body.dark-mode .checklist-wrapper .checklist-medico-logo-praxis { color: #050918 !important; }
body.dark-mode .checklist-wrapper .checklist-medico-logo-med { color: #00613b !important; }
body.dark-mode .checklist-wrapper .checklist-medico-bar { background: #00683e !important; }
body.dark-mode .checklist-wrapper .checklist-medico-station-num { background: #00613b !important; color: #fff !important; }
body.dark-mode .checklist-wrapper .checklist-medico-station-area { background: #a9d1bf !important; color: #005333 !important; }
body.dark-mode .checklist-wrapper .checklist-medico-section-header { background: #00613b !important; color: #fff !important; }
body.dark-mode .checklist-wrapper .checklist-medico-fieldset { border-color: #00613b !important; }
body.dark-mode .checklist-wrapper .checklist-medico-fieldset legend {
  background: #dbeee6 !important;
  border-color: #99c9b7 !important;
  color: #064f35 !important;
}
body.dark-mode .checklist-wrapper .checklist-medico-fieldset-body,
body.dark-mode .checklist-wrapper .checklist-medico-fieldset-body div,
body.dark-mode .checklist-wrapper .checklist-medico-fieldset-body span,
body.dark-mode .checklist-wrapper .checklist-medico-fieldset-body li,
body.dark-mode .checklist-wrapper .checklist-medico-fieldset-body strong {
  color: #0f1117 !important;
}
body.dark-mode .checklist-wrapper .checklist-medico-warning {
  background: #fffaf0 !important;
  border-color: #f0a12a !important;
  color: #7b3b0b !important;
}
body.dark-mode .checklist-wrapper .checklist-medico-sidebar h4,
body.dark-mode .checklist-wrapper .checklist-sidebar-timer-label {
  color: #064f35 !important;
}
body.dark-mode .checklist-wrapper .checklist-sidebar-timer .checklist-timer-display {
  background: #00613b !important;
  color: #fff !important;
}
body.dark-mode .checklist-wrapper .checklist-lobby-code-box {
  background: #1a5c3a !important; color: #fff !important; border-color: #1a5c3a !important;
}
body.dark-mode .checklist-wrapper .checklist-lobby-action-btn { background: #fff !important; border-color: #e5e7eb !important; }
body.dark-mode .checklist-wrapper .checklist-lobby-action-label { color: #1e1b2e !important; }
body.dark-mode .checklist-wrapper .checklist-lobby-action-desc { color: #6b7280 !important; }
body.dark-mode .checklist-wrapper .checklist-lobby-action-primary { background: #1a5c3a !important; border-color: #1a5c3a !important; }
body.dark-mode .checklist-wrapper .checklist-lobby-action-primary .checklist-lobby-action-label { color: #fff !important; }
body.dark-mode .checklist-wrapper .checklist-lobby-action-primary .checklist-lobby-action-desc { color: rgba(255,255,255,0.7) !important; }
body.dark-mode .checklist-wrapper .checklist-lobby-info-bar { background: #f9fafb !important; border-color: #e5e7eb !important; }
body.dark-mode .checklist-wrapper .checklist-lobby-copiar { background: #fff !important; border-color: #e5e7eb !important; color: #374151 !important; }
body.dark-mode .checklist-wrapper .checklist-sidebar-timer .checklist-timer-display {
  background: linear-gradient(135deg, rgba(22,101,52,0.3), rgba(22,101,52,0.2)) !important;
  border-color: rgba(34,197,94,0.25) !important;
  color: #fca5a5 !important;
}
body.dark-mode .checklist-wrapper .checklist-impressos-modal-box,
body.dark-mode .checklist-wrapper .checklist-impresso-item,
body.dark-mode .checklist-wrapper .checklist-confirm-modal-box,
body.dark-mode .checklist-wrapper .impresso-notif {
  background: #fbfaf5 !important;
  color: #1e1b2e !important;
  border-color: #00613b !important;
}
body.dark-mode .checklist-wrapper .checklist-impressos-modal-header,
body.dark-mode .checklist-wrapper .checklist-confirm-title {
  background: #00613b !important;
  color: #fff !important;
}
body.dark-mode .checklist-wrapper .checklist-impresso-item .nome,
body.dark-mode .checklist-wrapper .checklist-impresso-item .status {
  color: #064f35 !important;
}
body.dark-mode .checklist-wrapper .impresso-notif {
  background: #fef3c7 !important;
  border-color: #f59e0b !important;
}
body.dark-mode .checklist-wrapper .checklist-sidebar-item {
  color: rgba(255,255,255,0.7) !important;
}
body.dark-mode .checklist-wrapper .checklist-sidebar-item.active {
  color: #fff !important;
  background: rgba(255,255,255,0.12) !important;
}
body.dark-mode .checklist-wrapper .checklist-sidebar-logo {
  color: #fff !important;
  border-color: rgba(255,255,255,0.12) !important;
}
body.dark-mode .checklist-wrapper .checklist-sidebar-logo svg {
  opacity: 0.8 !important;
}
body.dark-mode .checklist-wrapper .checklist-sidebar-dicas {
  background: rgba(255,255,255,0.08) !important;
}
body.dark-mode .checklist-wrapper .checklist-btn-primary {
  background: #1a5c3a !important;
  color: #fff !important;
}
body.dark-mode .checklist-wrapper .checklist-btn-primary:hover {
  background: #15472d !important;
}
body.dark-mode .checklist-wrapper .checklist-btn-secondary {
  background: #e5e7eb !important;
  color: #374151 !important;
}
body.dark-mode .checklist-wrapper .checklist-btn-danger {
  background: #ef4444 !important;
  color: #fff !important;
}
body.dark-mode .checklist-wrapper .checklist-btn-outline {
  background: transparent !important;
  border-color: #1a5c3a !important;
  color: #1a5c3a !important;
}
body.dark-mode .checklist-wrapper .checklist-estudar-card {
  background: #fff !important;
  border-color: #e5e7eb !important;
}
body.dark-mode .checklist-wrapper .checklist-estudar-card:hover {
  border-color: #1a5c3a !important;
}
body.dark-mode .checklist-wrapper .checklist-estudar-card-info strong {
  color: #0b1324 !important;
}
body.dark-mode .checklist-wrapper .checklist-estudar-card-info span {
  color: #374151 !important;
}
body.dark-mode .checklist-wrapper .checklist-online-item {
  background: #fff !important;
  border-color: #f0f0f0 !important;
}
body.dark-mode .checklist-wrapper .checklist-btn-convidar {
  background: #1a5c3a !important;
  color: #fff !important;
}
body.dark-mode .checklist-wrapper .checklist-estacoes-header h1 { color: #22c55e !important; }
body.dark-mode .checklist-wrapper .checklist-estacao-card { background: #fff !important; border-color: #e5e7eb !important; }
body.dark-mode .checklist-wrapper .checklist-estacao-card h3 { color: #1e1b2e !important; }
body.dark-mode .checklist-wrapper .checklist-estacao-tag { background: rgba(26,92,58,0.12) !important; color: #1a5c3a !important; }
body.dark-mode .checklist-wrapper .checklist-area-header { border-color: #e5e7eb !important; }

body.dark-mode .checklist-wrapper .checklist-medico-logo-praxis { color: #050918 !important; }
body.dark-mode .checklist-wrapper .checklist-medico-logo-med { color: #00613b !important; }
body.dark-mode .checklist-wrapper .checklist-medico-logo { background: #fbfaf5 !important; }
body.dark-mode .checklist-wrapper .checklist-sidebar-timer .checklist-timer-display {
  background: #00613b !important;
  border: 0 !important;
  color: #fff !important;
}
body.dark-mode .checklist-wrapper .checklist-ator,
body.dark-mode .checklist-wrapper .checklist-ator-col-paciente,
body.dark-mode .checklist-wrapper .checklist-ator-paper,
body.dark-mode .checklist-wrapper .checklist-item-bloco {
  background: #fbfaf5 !important;
  color: #0f1117 !important;
}
body.dark-mode .checklist-wrapper .checklist-ator-col-participantes,
body.dark-mode .checklist-wrapper .checklist-ator-col-avaliacao {
  background: #fff !important;
  color: #0f1117 !important;
  border-color: #d9ded8 !important;
}
body.dark-mode .checklist-wrapper .checklist-ator-col-participantes h4,
body.dark-mode .checklist-wrapper .checklist-item-numero,
body.dark-mode .checklist-wrapper .checklist-ator-paper .checklist-medico-fieldset legend {
  color: #064f35 !important;
}
body.dark-mode .checklist-wrapper .checklist-item-nome,
body.dark-mode .checklist-wrapper .checklist-subitem,
body.dark-mode .checklist-wrapper .checklist-ator-pre {
  color: #0f1117 !important;
}
body.dark-mode .checklist-wrapper .checklist-avaliacao-titulo {
  background: #00613b !important;
  color: #fff !important;
}
body.dark-mode .checklist-wrapper .checklist-medico-impresso-separator,
body.dark-mode .checklist-wrapper .checklist-medico-impresso .checklist-medico-section-header {
  background: #00613b !important;
  color: #fff !important;
}
body.dark-mode .checklist-wrapper .checklist-medico-impresso-title {
  color: #064f35 !important;
}
body.dark-mode .checklist-wrapper .checklist-medico-impresso-text,
body.dark-mode .checklist-wrapper .checklist-medico-impresso-info,
body.dark-mode .checklist-wrapper .checklist-medico-impresso-exame,
body.dark-mode .checklist-wrapper .checklist-medico-impresso-exame-label,
body.dark-mode .checklist-wrapper .checklist-medico-impresso-exame-value {
  color: #0f1117 !important;
}
body.dark-mode .checklist-wrapper .checklist-medico-impresso-obs,
body.dark-mode .checklist-wrapper .checklist-medico-impresso-exame-ref {
  color: #425466 !important;
}

/* ═══ NOTIFICAÇÕES DROPDOWN — ESTILO IOS ═══════════════════════════ */

.notif-dropdown-ios {
  position: fixed;
  width: 340px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.6);
  padding: 0;
  overflow: hidden;
  z-index: 99999;
}

.notif-dropdown-header {
  padding: 14px 18px 10px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #1c1c1e;
  letter-spacing: -0.01em;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
}

.notif-dropdown-list {
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

.notif-dropdown-list::-webkit-scrollbar {
  width: 5px;
}

.notif-dropdown-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 10px;
}

.notif-dropdown-empty {
  padding: 36px 16px;
  text-align: center;
  color: #8e8e93;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ── Item de notificação (convite) ── */
.convite-notificacao-item {
  padding: 14px 18px;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
  transition: background 0.15s ease;
}

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

.convite-notificacao-item:hover {
  background: rgba(0, 0, 0, 0.03);
}

.convite-msg {
  font-size: 0.88rem;
  color: #1c1c1e;
  line-height: 1.45;
  margin-bottom: 10px;
}

.convite-msg strong {
  font-weight: 700;
  color: #000;
}

.convite-acoes {
  display: flex;
  gap: 8px;
}

.convite-btn {
  flex: 1;
  padding: 8px 0;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.18s ease;
  border: none;
  letter-spacing: -0.01em;
}

.convite-btn.aceitar {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.convite-btn.aceitar:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
  transform: translateY(-1px);
}

.convite-btn.recusar {
  background: rgba(0, 0, 0, 0.05);
  color: #636366;
}

.convite-btn.recusar:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #1c1c1e;
}

/* ── Dark mode ── */
body.dark-mode .notif-dropdown-ios {
  background: rgba(30, 30, 40, 0.78);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.08);
}

body.dark-mode .notif-dropdown-header {
  color: #f5f5f7;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .notif-dropdown-empty {
  color: #636366;
}

body.dark-mode .convite-notificacao-item {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .convite-notificacao-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

body.dark-mode .convite-msg {
  color: #f5f5f7;
}

body.dark-mode .convite-msg strong {
  color: #fff;
}

body.dark-mode .convite-btn.recusar {
  background: rgba(255, 255, 255, 0.08);
  color: #a1a1a6;
}

body.dark-mode .convite-btn.recusar:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #f5f5f7;
}

/* ═══ iOS NOTIFICATION CARD (convite) ═══════════════════════════ */

.ios-notif-card {
  width: 320px;
  max-width: 90vw;
  background: #fff !important;
  border-radius: 16px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  animation: iosNotifIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  color: #1c1c1e !important;
}

@keyframes iosNotifIn {
  from { transform: translateY(12px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.ios-notif-app-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px 14px 0;
  flex-shrink: 0;
}

.ios-notif-content {
  padding: 10px 14px 14px;
}

.ios-notif-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1c1c1e !important;
  line-height: 1.35;
  margin-bottom: 2px;
}

.ios-notif-subtitle {
  font-size: 0.82rem;
  font-weight: 400;
  color: #8e8e93 !important;
  line-height: 1.3;
}

.ios-notif-actions {
  display: flex;
  border-top: 0.5px solid rgba(0, 0, 0, 0.08) !important;
}

.ios-notif-btn {
  flex: 1;
  padding: 12px 0;
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease;
  font-family: inherit;
  color: #007aff !important;
}

/* ── Dark mode (card always white like iOS) ── */
body.dark-mode .ios-notif-card {
  background: #fff !important;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.25),
    0 2px 8px rgba(0, 0, 0, 0.12);
}

body.dark-mode .ios-notif-title {
  color: #1c1c1e !important;
}

body.dark-mode .ios-notif-subtitle {
  color: #8e8e93 !important;
}

body.dark-mode .ios-notif-actions {
  border-top-color: rgba(0, 0, 0, 0.08) !important;
}

body.dark-mode .ios-notif-btn {
  color: #007aff !important;
}

body.dark-mode .ios-notif-btn:active {
  background: rgba(0, 0, 0, 0.04);
}

body.dark-mode .ios-notif-divider {
  background: rgba(0, 0, 0, 0.08) !important;
}
