/* NodoPin · 2026-11-04 · SOLO PRESENTACION. No toca NLDR1, mensajes o transporte. */
/* Perfil: permitir el nombre COMPLETO incluso con distintivo oficial a su lado. */
#workspace .sidebar .profile{align-items:start!important;min-width:0!important;gap:8px!important}
#workspace .sidebar .profile>div:nth-child(2){min-width:0!important;overflow:visible!important}
#workspace .sidebar .profile #npProfileNameLine,
#workspace .sidebar .profile .np-profile-name-line{
  display:flex!important;align-items:flex-start!important;gap:4px!important;
  min-width:0!important;width:100%!important;max-width:100%!important;flex-wrap:nowrap!important;
}
#workspace .sidebar .profile #npProfileNameLine #selfDisplayName,
#workspace .sidebar .profile .np-profile-name-line #selfDisplayName{
  display:block!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;
  max-width:none!important;white-space:normal!important;overflow:visible!important;
  text-overflow:clip!important;overflow-wrap:break-word!important;word-break:normal!important;
  line-height:1.22!important;font-size:clamp(12px,.82vw,14px)!important;
}
#workspace .sidebar .profile #npVerifiedSelfProfile{
  display:inline-flex!important;flex:0 0 18px!important;align-items:flex-start!important;
  justify-content:center!important;margin-top:1px!important;position:relative!important;
}
#workspace .sidebar .profile #npProfileBadgeCaption{
  display:block!important;white-space:normal!important;overflow:visible!important;
  text-overflow:clip!important;overflow-wrap:break-word!important;
  max-width:100%!important;line-height:1.25!important;
}
#workspace .sidebar .profile #copyPin{flex:0 0 40px!important;min-width:38px!important;margin:0!important}
@media(max-width:800px){#workspace .sidebar .profile #npProfileNameLine #selfDisplayName{font-size:13px!important}}
/* Cabecera: recuperar las reglas nativas de NodoPin, sin reordenar su altura ni sus controles. */
/* Emoji y NOD son herramientas DIFERENTES: jamás ocupar celdas de 34px con texto largo. */
#chatsTab #chatActive{min-width:0!important;min-height:0!important}
#chatsTab #chatActive #messages{flex:1 1 0!important;min-height:0!important}
#chatsTab #chatActive #emojiTray{
  width:100%!important;max-width:100%!important;min-width:0!important;
  box-sizing:border-box!important;flex:0 0 auto!important;
  display:grid!important;grid-template-columns:repeat(auto-fill,minmax(36px,1fr))!important;
  align-content:start!important;gap:5px!important;max-height:min(210px,30dvh)!important;
  padding:9px!important;overflow-x:hidden!important;overflow-y:auto!important;
  border-radius:14px!important;
}
#chatsTab #chatActive #emojiTray[hidden]{display:none!important}
#chatsTab #chatActive #emojiTray #npEmojiNodTools{
  grid-column:1/-1!important;grid-row:auto!important;min-width:0!important;
  width:100%!important;display:flex!important;gap:7px!important;
  flex-wrap:wrap!important;align-items:center!important;padding:4px 2px 9px!important;
  box-sizing:border-box!important;border-bottom:1px solid rgba(75,130,150,.22)!important;
}
#chatsTab #chatActive #emojiTray #npEmojiNodTools .npnod-hint{
  flex:1 1 170px!important;width:auto!important;min-width:90px!important;
  font-size:11px!important;line-height:1.35!important;white-space:normal!important;
  overflow-wrap:break-word!important;word-break:normal!important;max-width:none!important;
  color:inherit!important;opacity:.85!important;
}
#chatsTab #chatActive #emojiTray #npEmojiNodTools .npnod-sound,
#chatsTab #chatActive #emojiTray #npEmojiNodTools .npnod-tray{
  flex:0 1 auto!important;width:auto!important;min-width:0!important;max-width:100%!important;
  height:auto!important;min-height:36px!important;padding:7px 10px!important;
  font-family:inherit!important;font-size:12px!important;font-weight:700!important;
  line-height:1.25!important;white-space:normal!important;overflow-wrap:normal!important;
  text-align:center!important;border-radius:9px!important;
}
#chatsTab #chatActive #emojiTray>button:not(.npnod-tray):not(.npnod-sound){
  display:grid!important;place-items:center!important;min-width:0!important;
  height:36px!important;min-height:36px!important;width:100%!important;
  margin:0!important;padding:0!important;font-size:22px!important;line-height:1!important;
  overflow:hidden!important;
}
#chatsTab #chatActive .composer{flex:0 0 auto!important;min-width:0!important;max-width:100%!important}
#chatsTab #chatActive .chatHint{flex:0 0 auto!important}
html[data-np-theme="light"] #emojiTray #npEmojiNodTools .npnod-sound,
html[data-np-theme="light"] #emojiTray #npEmojiNodTools .npnod-tray{background:#e4f2fa!important;color:#17445c!important;border:1px solid #c1dbe9!important}
html[data-np-theme="dark"] #emojiTray #npEmojiNodTools .npnod-sound,
html[data-np-theme="dark"] #emojiTray #npEmojiNodTools .npnod-tray{background:#294a60!important;color:#f1faff!important;border:1px solid #476e84!important}
@media(max-width:600px){
 #chatsTab #chatActive #emojiTray{grid-template-columns:repeat(auto-fill,minmax(35px,1fr))!important;max-height:180px!important}
 #chatsTab #chatActive #emojiTray #npEmojiNodTools{gap:6px!important}
 #chatsTab #chatActive #emojiTray #npEmojiNodTools .npnod-hint{flex:1 1 100%!important}
}
/* El asistente incorpora el MISMO bloqueo local que Ajustes: no duplica credenciales. */
#welcomeGuide #npWizardLockStep{min-width:0!important}
#welcomeGuide #npWizardLockStep .np-wizard-lock-fields{
 display:grid!important;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;
 gap:8px!important;max-width:100%!important;margin:9px 0!important;
}
#welcomeGuide #npWizardLockStep label{display:block!important;min-width:0!important;font-size:12px!important;line-height:1.5!important}
#welcomeGuide #npWizardLockStep input,
#welcomeGuide #npWizardLockStep select{
 display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
 box-sizing:border-box!important;margin:4px 0!important;min-height:42px!important;
 padding:9px 11px!important;border-radius:10px!important;
}
#welcomeGuide #npWizardLockStep .np-wizard-lock-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;margin:8px 0!important}
#welcomeGuide #npWizardLockStep button{min-height:40px!important;cursor:pointer}
#welcomeGuide #npWizardLockStep #npWizardLockStatus{font-size:12px!important;line-height:1.45!important;min-height:16px!important;overflow-wrap:anywhere!important}
#welcomeGuide #npWizardLockStep [hidden]{display:none!important}
