/* Centro de notificaciones (campana) · index.html y supervisor.html */
.nt-host { position: relative; display: inline-flex; font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif; }
.nt-btn {
  position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #e2e8f0; background: #fff;
  color: #475569; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 16px;
}
.nt-btn:hover { background: #f8fafc; color: #0f172a; }
.nt-btn-activo { color: #dc2626; border-color: #fecaca; }
.nt-badge {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: #dc2626; color: #fff; font-size: 10.5px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}
.nt-panel {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 3000; width: 360px; max-width: calc(100vw - 24px);
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; box-shadow: 0 16px 40px rgba(15, 23, 42, .16); overflow: hidden;
  text-align: left;
}
.nt-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #f1f5f9; font-size: 14px; color: #0f172a; }
.nt-link { background: none; border: none; color: #dc2626; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; padding: 0; }
.nt-lista { max-height: min(420px, 60vh); overflow-y: auto; }
.nt-item {
  width: 100%; display: flex; gap: 10px; align-items: flex-start; text-align: left; background: #fff; border: none;
  border-bottom: 1px solid #f8fafc; padding: 11px 14px; cursor: pointer; font-family: inherit; color: #0f172a;
}
.nt-item:hover { background: #f8fafc; }
.nt-nueva { background: #fffafa; }
.nt-ico { flex: 0 0 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.nt-azul { background: #eff6ff; color: #1d4ed8; }
.nt-verde { background: #ecfdf5; color: #047857; }
.nt-ambar { background: #fffbeb; color: #b45309; }
.nt-rojo { background: #fef2f2; color: #b91c1c; }
.nt-gris { background: #f1f5f9; color: #475569; }
.nt-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nt-txt strong { font-size: 13px; }
.nt-txt span { font-size: 12.5px; color: #475569; line-height: 1.4; }
.nt-txt small { font-size: 11px; color: #94a3b8; }
.nt-punto { flex: 0 0 8px; height: 8px; border-radius: 50%; background: #dc2626; margin-top: 6px; }
.nt-vacio { padding: 26px 14px; text-align: center; color: #94a3b8; font-size: 13px; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.nt-vacio i { font-size: 20px; }
.nt-pie { border-top: 1px solid #f1f5f9; padding: 8px 14px; text-align: center; }
.nt-pie:has(.nt-link[hidden]) { display: none; }
.nt-link-gris { color: #64748b; }
.nt-link[hidden] { display: none; }

/* App del colaborador: botón flotante arriba a la derecha */
.nt-host-app { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 10px); right: 12px; z-index: 1200; }
.nt-host-app .nt-btn { width: 40px; height: 40px; box-shadow: 0 4px 14px rgba(15, 23, 42, .12); }
@media (max-width: 600px) {
  .nt-host-app .nt-panel { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 58px); right: 12px; left: 12px; width: auto; max-width: none; }
}
.nt-badge[hidden], .nt-panel[hidden], .nt-host-app[hidden] { display: none !important; }
/* Con la campana activa, el contenido de la app deja una franja libre arriba */
body.nt-app-activa .main-content { padding-top: 58px; }
