/* NodoPin Premium · capa independiente de apariencia, sin cambios de identidad/cifrado. */
:root{color-scheme:dark}
html[data-np-theme="light"]{
  color-scheme:light;
  --np-ink:#193349;--np-mute:#536d7d;--np-sea:#156785;
  --np-line:rgba(40,91,119,.21);--np-stroke:rgba(40,91,119,.20);
  --np-surface-1:#ffffff;--np-surface-2:#f2f7fb;--np-surface-3:#e5f1f7;
  --np-glow:rgba(24,131,162,.10);--np-elev:0 18px 45px rgba(22,60,88,.12);
  color:#183247!important;background:#f7f9fc!important;
}
html[data-np-theme="light"] body{color:#183247!important;background:linear-gradient(140deg,#f9fcff,#eaf2f8)!important}
html[data-np-theme="light"] :is(.top,.sidebar,.mainPanel,.workspace,.conversation,.people,.chatsLayout,.chatHead,.composer,.footer,.settingsPanel){color:#183247!important;background-color:#fff!important;border-color:#d4e2ea!important}
html[data-np-theme="light"] :is(.top,.sidebar,.chatHead,.footer){background:rgba(255,255,255,.97)!important;border-color:#d4e2ea!important}
html[data-np-theme="light"] :is(.panel,.profile,.contactRow,.requestRow,.peopleItem,.modal,.dialog,.card,.chatCard,.np-experience-panel,.npsos-panel,.npsos-warning){background:#fff!important;color:#183247!important;border-color:#cedce5!important;box-shadow:0 9px 30px rgba(37,79,105,.06)!important}
html[data-np-theme="light"] :is(.quiet,.icon-btn,.nav button,.nav button.active,.peopleItem.active,.chip,.tag){color:#23485e!important;background:#eaf3f9!important;border-color:#c5d8e5!important}
html[data-np-theme="light"] :is(.quiet:hover,.icon-btn:hover,.nav button:hover,.peopleItem:hover){background:#dcecf5!important}
html[data-np-theme="light"] :is(input,textarea,select){background:#fff!important;color:#16384d!important;border-color:#b9cfdd!important}
html[data-np-theme="light"] :is(p,small,.help,.subtle,.npsos-muted,.npsos-foot,.npsos-heading p,.npsos-panel label,.npsos-panel .npsos-section-title p,.chatHead span,.peopleItem span,.npsos-recipient small){color:#526b7b!important}
html[data-np-theme="light"] :is(h1,h2,h3,h4,strong,.npsos-section-title h3,.npsos-recipient strong,.peopleItem strong,.npsos-chat-top strong){color:#193449!important}
html[data-np-theme="light"] :is(a,.overline){color:#116c89!important}
html[data-np-theme="light"] .bubble{background:#e8f2f8!important;color:#193449!important}
html[data-np-theme="light"] .bubble.mine{background:#d1edf2!important;color:#163c50!important}
html[data-np-theme="light"] .bubble small{color:#536c7c!important}
html[data-np-theme="light"] .npsos-recipient{background:#f6fafc!important;border-color:#dae6ed!important}
html[data-np-theme="light"] .npsos-recipient:hover{background:#eaf4fa!important}
html[data-np-theme="light"] .npsos-check{background:#f2f7fa!important;color:#23465b!important}
html[data-np-theme="light"] .npsos-result-ok{color:#176044!important;background:#e5f5ed!important}
html[data-np-theme="light"] .npsos-result-fail{color:#913e3a!important;background:#fff0ed!important}
html[data-np-theme="light"] .npsos-nav-button.active{background:#ffece9!important}
html[data-np-theme="light"] #notice{background:#e4f4fa!important;color:#123e52!important}
html[data-np-theme="light"] :is(.primary,.npsos-primary){color:#0b2b38!important}
/* Paneles nuevos */
.np-experience-panel{min-width:0}
.np-choice-group{display:flex;flex-wrap:wrap;gap:8px;border:0;margin:8px 0 12px;padding:0}
.np-choice-group legend{font-size:12px;font-weight:750;margin-bottom:8px;color:inherit}
.np-experience-panel .np-choice-group label{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:9px 13px;margin:0;background:rgba(96,159,187,.09);border:1px solid var(--np-line,#33546b);border-radius:13px;cursor:pointer;color:inherit}
.np-experience-panel .np-choice-group input{display:inline-block!important;width:17px!important;height:17px!important;margin:0!important;accent-color:#147a94}
.np-connection-item{border:1px solid var(--np-line,#33546b);border-radius:13px;padding:14px;margin:12px 0}
.np-connection-item strong{display:block;font-size:14px;margin-bottom:8px}
.np-connection-item p{margin:6px 0 12px}
.np-limitation{display:inline-flex;font-size:11px;border-radius:20px;padding:7px 10px;background:rgba(129,145,160,.13);color:inherit}
/* Favoritos SOS · estrella y filtros, nomenclatura Android */
.npsos-recipient-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 10px}
.npsos-recipient-filters button,.npsos-level-chips button{cursor:pointer;min-height:42px;padding:8px 13px;border-radius:12px;border:1px solid var(--np-line,#385368);background:rgba(90,151,178,.09);color:inherit;font-size:12px;font-weight:700}
.npsos-recipient-filters button.active,.npsos-level-chips button.active{background:rgba(105,205,218,.19);border-color:#5bbdcb}
.npsos-recipient-main{display:flex;gap:10px;align-items:center;min-width:0;flex:1!important;margin:0!important;cursor:pointer}
.npsos-recipient-main span{display:flex;flex-direction:column;min-width:0;gap:4px}
.npsos-star{flex:none!important;width:44px;min-width:44px;height:44px;border:0;border-radius:12px;background:transparent!important;color:#90a7b8!important;font-size:27px!important;line-height:1}
.npsos-star[aria-pressed="true"]{color:#e5a11c!important}
.npsos-star:hover{background:rgba(230,170,40,.09)!important}
.npsos-level-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:9px 0 14px}
.npsos-panel select[hidden]{display:none!important}
@media(max-width:380px){.npsos-level-chips{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.np-experience-panel *{scroll-behavior:auto!important}}

/* Centro DR, tarjetas y paneles Premium: extender el tema claro a todas las vistas. */
html[data-np-theme="light"] .npdr-page{--dr-ink:#193b51;--dr-muted:#536f7e;--dr-line:rgba(39,93,123,.21);--dr-mint:#087c78;--dr-blue:#126b91;--dr-amber:#9c6e16;color:#193b51!important}
html[data-np-theme="light"] :is(.npdr-main,.npdr-stat,.npdr-tabs,.npdr-feed,.npdr-agenda-header,.npdr-update,.npdr-placeholder,.npdr-controls,.npdr-panel,.npdr-card,.npdr-agenda-card){background:#fff!important;color:#193b51!important;border-color:#d0dfe8!important}
html[data-np-theme="light"] .npdr-hero{background:linear-gradient(115deg,#edf8fd,#e5ecfb)!important;border-color:#c5dae8!important}
html[data-np-theme="light"] :is(.npdr-hero h3,.npdr-kicker,.npdr-hero p,.npdr-hero-mark,.npdr-stat>span,.npdr-stat strong,.npdr-subtitle){color:#234b63!important}
html[data-np-theme="light"] .npdr-tab{background:#eff5f9!important;color:#25465a!important}
html[data-np-theme="light"] .npdr-tab.active{background:#d7ebf4!important;color:#155d7b!important}
html[data-np-theme="light"] :is(.npdr-refresh,.npdr-chips button,.npdr-tab,.npdr-filter,.npdr-controls button){color:#23516b!important;border-color:#b9d4e2!important}
html[data-np-theme="light"] :is(.npdr-radar-item,.npdr-agenda-item,.npdr-event,.npdr-entry){color:#173b51!important;background:#f5f9fc!important;border-color:#d2e1eb!important}
html[data-np-theme="light"] :is(.npsos-chat-card,.npsos-bubble,.npsos-chat-top,.npsos-older){color:#21445a!important}
html[data-np-theme="light"] :is(.npsos-chat-card p,.npsos-chat-top strong){color:#22445a!important}
html[data-np-theme="light"] :is(.npsos-recipient-filters button,.npsos-level-chips button,.np-connection-item,.np-choice-group label){color:#244860!important;background:#f0f7fb!important;border-color:#cedfea!important}
html[data-np-theme="light"] :is(.npsos-recipient-filters button.active,.npsos-level-chips button.active){background:#d7edf5!important;border-color:#7eb8ca!important}

/* Refinamiento: contrastes verificables de los componentes Premium en tema claro. */
html[data-np-theme="light"] :is(.npdr-chips button,.npdr-controls button,.npdr-tab,.npdr-refresh){color:#163e55!important;background:#e4f1f7!important;border-color:#86b5c9!important;opacity:1!important}
html[data-np-theme="light"] :is(.npdr-chips button.active,.npdr-controls button.active,.npdr-tab.active){color:#073a50!important;background:#bfe7f3!important;border-color:#458eae!important}
html[data-np-theme="light"] :is(.npdr-feed-empty,.npdr-guidance,.npdr-footer,.npdr-card-meta,.npdr-card-tag,.npdr-pill,.npdr-update){color:#32566b!important}
html[data-np-theme="light"] :is(.npdr-feed-empty,.npdr-guidance){background:#edf5f9!important;border-color:#bed8e4!important}
html[data-np-theme="light"] .np-card-portrait :is(.np-card-brand strong,#npCardName,.cardPin){color:#f0fbff!important;text-shadow:0 1px 2px #0b2239!important}
html[data-np-theme="light"] .np-card-portrait .np-card-brand strong span{color:#79e7ed!important}
html[data-np-theme="light"] .np-card-portrait :is(.np-card-caption,.np-card-tagline,.np-card-subtitle,.np-card-scan-label){color:#b5e4f6!important}
/* Refinamiento: componentes Premium consistentemente oscuros, sin cambiar contenido o cifrado. */
html[data-np-theme="dark"]{color-scheme:dark;--np-ink:#e6f4fc;--np-mute:#abc5d4;--np-line:rgba(151,199,223,.25);--np-surface-1:#122333;--np-surface-2:#182d3e;--np-surface-3:#234055;background:#0b1723;color:#eaf6fc}
html[data-np-theme="dark"] body{background:#0b1723!important;color:#eaf6fc!important}
html[data-np-theme="dark"] :is(.np-experience-panel,.np-connection-item,.np-choice-group label){background:#182d3e!important;border-color:#406072!important;color:#eff8fc!important}
html[data-np-theme="dark"] :is(.npdr-main,.npdr-stat,.npdr-tabs,.npdr-feed,.npdr-card,.npdr-agenda-header,.npdr-update,.npdr-panel,.npdr-agenda-card){background:#142737!important;border-color:#345469!important;color:#e8f5fb!important}
html[data-np-theme="dark"] .npdr-hero{background:linear-gradient(115deg,#173549,#203954)!important;border-color:#3e647b!important}
html[data-np-theme="dark"] :is(.npdr-hero h3,.npdr-hero p,.npdr-stat strong,.npdr-card h4,.npdr-card-tag,.npdr-pill){color:#e9f6fd!important}
html[data-np-theme="dark"] :is(.npdr-chips button,.npdr-tab,.npdr-refresh){color:#e1f5fa!important;background:#213c51!important;border-color:#52778c!important}
html[data-np-theme="dark"] :is(.npdr-chips button.active,.npdr-tab.active){color:#ffffff!important;background:#22617c!important;border-color:#63c6d7!important}
html[data-np-theme="dark"] :is(.npdr-feed-empty,.npdr-guidance){background:#1d3546!important;color:#d5eaf6!important;border-color:#416779!important}
html[data-np-theme="dark"] :is(.npdr-card-meta,.npdr-subtitle,.npdr-footer,.npdr-update,.npdr-stat>span){color:#aacbda!important}
/* Estado de diagnóstico: no muestra dispositivos seleccionados como conectados. */
#npThemeState,#npBleStatus{font-weight:650;line-height:1.5;overflow-wrap:anywhere}
.np-experience-panel .np-choice-group label:has(input:checked){border-color:#52c9d7!important;box-shadow:inset 0 0 0 1px #52c9d7}

/* V3: Tema global consistente. Selector visible y panel de chat realmente claro/oscuro. */
.np-quick-theme{white-space:nowrap;font-size:12px;font-weight:700;min-width:82px}
html[data-np-theme="light"] :is(.chatsLayout,.people,.conversation,.messages){background:#edf5fa!important;color:#17384e!important;border-color:#bfd7e6!important}
html[data-np-theme="light"] .people{background:#e2edf5!important}
html[data-np-theme="light"] .chatHead{background:#fff!important;color:#193c51!important;border-color:#c4d9e5!important}
html[data-np-theme="light"] .composer{background:#f4f9fc!important;border-color:#b8d5e5!important}
html[data-np-theme="light"] .chatHint{background:#fff!important;color:#537183!important}
html[data-np-theme="light"] .bubble{background:#fff!important;color:#173a4f!important;border:1px solid #c8dce8!important;box-shadow:0 3px 12px rgba(25,72,103,.06)!important}
html[data-np-theme="light"] .bubble.mine{background:#d5eff5!important;color:#153c51!important;border-color:#9fd1df!important}
html[data-np-theme="light"] :is(.bubble small,.chatHead small,.contactHeadButton small){color:#527588!important}
html[data-np-theme="light"] .chatHead :is(h3,strong,span){color:#193c51!important}
html[data-np-theme="light"] .contactHeadButton:hover{background:#e9f4f9!important}
html[data-np-theme="light"] .peopleItem.active{background:#fff!important;color:#20455a!important}
html[data-np-theme="light"] :is(.peopleItem strong,.peopleItem span){color:#295267!important}
html[data-np-theme="light"] .np-quick-theme{background:#eaf4fa!important;color:#17475f!important;border-color:#8bbfd2!important}
html[data-np-theme="dark"] :is(.top,.sidebar,.mainPanel,.footer){background:#0f1e2a!important;color:#e8f5fb!important;border-color:#335164!important}
html[data-np-theme="dark"] .profile{background:#172b3c!important;color:#eef9fd!important;border-color:#416174!important}
html[data-np-theme="dark"] :is(.chatsLayout,.people,.conversation,.messages){background:#0b1c2b!important;color:#e6f4fc!important;border-color:#36556a!important}
html[data-np-theme="dark"] .people{background:#132b3d!important}
html[data-np-theme="dark"] .chatHead{background:#19354a!important;color:#ecf8fe!important;border-color:#406078!important}
html[data-np-theme="dark"] .composer{background:#10293a!important;border-color:#3a6072!important}
html[data-np-theme="dark"] .chatHint{background:#0e2130!important;color:#b1cbda!important}
html[data-np-theme="dark"] .bubble{background:#223c53!important;color:#f2faff!important;border-color:#44647a!important}
html[data-np-theme="dark"] .bubble.mine{background:#16465c!important;color:#f4fcff!important;border-color:#377c99!important}
html[data-np-theme="dark"] :is(.bubble small,.contactHeadButton small){color:#bdd5e0!important}
html[data-np-theme="dark"] .nav button.active{background:#24485e!important;color:#f8ffff!important}
html[data-np-theme="dark"] .np-quick-theme{background:#193a51!important;color:#e5f6ff!important;border-color:#4c7b95!important}
@media(max-width:720px){.np-quick-theme{font-size:10px!important;min-width:0;padding:8px!important}}

@media(max-width:720px){
 html[data-np-theme="light"] .nav{background:rgba(249,253,255,.97)!important;border-color:#bad5e3!important}
 html[data-np-theme="light"] .nav button{color:#28536a!important}
 html[data-np-theme="light"] .nav button.active{background:#d9eef6!important;color:#12506a!important}
}

/* V4: Red is a first-level section immediately below SOS. */
.npred-nav-button{position:relative}
.npred-nav-button .navIcon{color:#58c8dc}
.npred-nav-button.active{border-color:rgba(86,211,222,.64)!important;box-shadow:inset 3px 0 #54d5e0}
.npred-page{max-width:1160px;margin-inline:auto}
.npred-heading{align-items:center}
.npred-heading .help{max-width:620px;margin:10px 0 0;line-height:1.5}
.npred-icon{display:grid;place-items:center;flex:none;width:55px;height:55px;border-radius:17px;background:rgba(83,195,210,.1);color:#2498ad;border:1px solid rgba(69,175,194,.25);font-size:32px}
.npred-page #npConnectivityPanel{margin:0 0 14px}
.npred-page .np-connection-item{padding:18px 20px;border-radius:16px;margin-block:14px}
.npred-page .np-connection-item strong{font-size:15px}
.npred-page .npred-picker-note{padding:10px 13px;border-left:3px solid #38adbd;border-radius:7px;background:rgba(88,193,211,.08);line-height:1.55}
.npred-disclaimer{font-size:12px;line-height:1.6;padding:12px 14px;border:1px solid rgba(92,173,194,.22);border-radius:12px}
html[data-np-theme="light"] .npred-disclaimer{background:#eff8fb;color:#35596b}
html[data-np-theme="dark"] .npred-disclaimer{background:#173043;color:#d0e9f3}
html[data-np-theme="light"] .npred-page #npConnectivityPanel{background:#fff!important;border-color:#c9deea!important}
html[data-np-theme="dark"] .npred-page #npConnectivityPanel{background:#132a3a!important;border-color:#3c6177!important}
/* Chat: Android-compatible bubble geometry, but readable in Light mode. */
html[data-np-theme="light"] #messages .bubble.np4-android:not(.mine){--np4-fill:#ffffff;--np4-outline:#c2d9e7;color:#203f53!important;box-shadow:0 4px 11px rgba(22,65,91,.08)!important}
html[data-np-theme="light"] #messages .bubble.np4-android.mine{--np4-fill:#d7eff5;--np4-outline:#abd4e0;color:#173d50!important;box-shadow:0 4px 11px rgba(22,65,91,.08)!important}
html[data-np-theme="light"] #messages .bubble.np4-android :is(.np4-message-time,.np4-delivery-status){color:#4b6b7e!important}
html[data-np-theme="light"] #messages .bubble.np4-android .np4-sender-name{color:#096b75!important}
html[data-np-theme="light"] #messages .bubble.np4-android.mine .np4-sender-name{color:#1770a0!important}
html[data-np-theme="light"] #messages .bubble.np4-android .npmsg-menu-toggle{background:#e4f1f6!important;color:#315b74!important}
html[data-np-theme="light"] #messages .bubble.np4-android .npmsg-reply-quote{background:#e7f1f7!important;color:#214860!important}
html[data-np-theme="light"] #chatMeta{color:#53738a!important}
html[data-np-theme="dark"] #chatMeta{color:#b3d2e2!important}
#messages .bubble.np4-android>.npmsg-body{overflow-wrap:anywhere}
#messages .bubble.np4-android .np3-audio-player{border-radius:13px}
/* One-handed mobile: keep all seven primary sections visible. No hidden horizontal menu. */
@media(max-width:720px){
  .nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(52px,auto))!important;gap:3px!important;overflow:visible!important;padding:5px 5px calc(7px + env(safe-area-inset-bottom,0px))!important}
  .nav button{min-width:0!important;width:100%!important;min-height:50px!important;max-width:100%!important;flex:initial!important;white-space:normal!important;overflow-wrap:normal!important;text-align:center!important;justify-content:center!important;flex-direction:column!important;gap:2px!important;padding:4px 2px!important;font-size:10px!important;line-height:1.18!important}
  .nav button .navIcon{display:grid!important;place-items:center!important;min-width:0!important;margin:0!important;font-size:19px!important;line-height:1!important}
  .nav button .navIcon svg{width:19px!important;height:19px!important}
  .workspace{padding-bottom:calc(131px + env(safe-area-inset-bottom,0px))!important}
  .workspace.mobile-chat-open .chatsLayout{height:calc(100dvh - 72px - 129px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important}
  .npred-page .np-connection-item{padding:15px 13px}
  .npred-heading .help{font-size:12px}
  .npred-icon{width:44px;height:44px}
  .npred-page{scroll-margin-top:14px}
}


/* NodoPin Web UX V5 · Refuerzo visual quirurgico (sin cambios de JS ni cifrado).
   Los modales se montan bajo <body>: deben seguir data-np-theme del elemento html.
   El dialogo de bienvenida tenía fondo oscuro fijo, aunque el modo claro
   forzaba textos oscuros -> contraste ilegible. */

/* Asistente de configuracion: fondo + texto coordinados en tema claro. */
html[data-np-theme="light"] dialog#welcomeGuide.welcomeDialog {
  background:linear-gradient(153deg,#ffffff 0%,#f2f9fd 62%,#e9f3fa 100%)!important;
  color:#173449!important;
  border:1px solid #a7ccdd!important;
  box-shadow:0 28px 85px rgba(23,55,81,.24)!important;
  color-scheme:light;
  --np-line:#c8dae5;
  --np-ink:#173449;
  --np-mute:#45677c;
}
html[data-np-theme="light"] #welcomeGuide :is(h2,h3,.welcomeStepContent h3) {color:#11394e!important;text-shadow:none!important}
html[data-np-theme="light"] #welcomeGuide :is(p,.welcomeLead,.welcomeStepContent p,.welcomeFoot,.microStatus){color:#45677c!important}
html[data-np-theme="light"] #welcomeGuide .overline{color:#0f647e!important}
html[data-np-theme="light"] #welcomeGuide .welcomeStep{border-color:#cadde8!important}
html[data-np-theme="light"] #welcomeGuide .stepNumber{
  background:#d9edf6!important;color:#145b7b!important;border-color:#8cbcd1!important;
}
html[data-np-theme="light"] #welcomeGuide :is(.textAction,#welcomeOpenPhoto,#welcomeOpenSecurity,#welcomeOpenBackups){
  appearance:none;color:#086c86!important;background:transparent!important;border:0!important;
  font-weight:750!important;text-decoration:underline;text-underline-offset:3px;
}
html[data-np-theme="light"] #welcomeGuide :is(.quiet,.icon-btn){
  color:#173f58!important;background:#e5f3fa!important;border:1px solid #9cc6d8!important;
  opacity:1!important;
}
html[data-np-theme="light"] #welcomeGuide :is(input,textarea){
  background:#ffffff!important;color:#17384e!important;border-color:#9bbfd0!important;
}
html[data-np-theme="light"] #welcomeGuide .welcomeFinish{
  background:linear-gradient(100deg,#acd4ff,#7ce0e8)!important;color:#0a3445!important;
}

/* El tema oscuro vuelve a su propia paleta, sin texto casi negro. */
html[data-np-theme="dark"] dialog#welcomeGuide.welcomeDialog{
  background:linear-gradient(155deg,#193449 0%,#101f2e 100%)!important;
  color:#ebf7fd!important;border:1px solid #45677e!important;color-scheme:dark;
  --np-line:#3a586a;--np-ink:#eaf7fd;--np-mute:#b9d4e1;
}
html[data-np-theme="dark"] #welcomeGuide :is(h2,h3,.welcomeStepContent h3){color:#eef9ff!important}
html[data-np-theme="dark"] #welcomeGuide :is(p,.welcomeLead,.welcomeStepContent p,.welcomeFoot,.microStatus){color:#c2d8e5!important}
html[data-np-theme="dark"] #welcomeGuide .overline{color:#86dce9!important}
html[data-np-theme="dark"] #welcomeGuide .welcomeStep{border-color:#3a5b70!important}
html[data-np-theme="dark"] #welcomeGuide .stepNumber{background:#254b63!important;color:#e3fbff!important;border-color:#5f9bb4!important}
html[data-np-theme="dark"] #welcomeGuide :is(.textAction,#welcomeOpenPhoto,#welcomeOpenSecurity,#welcomeOpenBackups){
  appearance:none;color:#9ce9f4!important;background:transparent!important;border:0!important;text-decoration:underline;text-underline-offset:3px;
}
html[data-np-theme="dark"] #welcomeGuide :is(.quiet,.icon-btn){background:#274457!important;color:#eaf8ff!important;border:1px solid #557c96!important;opacity:1!important}
html[data-np-theme="dark"] #welcomeGuide :is(input,textarea){background:#0c2030!important;color:#eefaff!important;border:1px solid #5c7e94!important}
html[data-np-theme="dark"] #welcomeGuide .welcomeFinish{color:#0a3445!important}
#welcomeGuide :is(button,input):focus-visible{outline:3px solid #36bdd0!important;outline-offset:3px}

/* Boton Seguridad: se distingue como accion disponible, sin cambiar su listener. */
html[data-np-theme="light"] .chatHead button#verifyKeyBtn:not(:disabled){
  background:#d6eef9!important;color:#0e5374!important;border:1px solid #64a8c9!important;
  opacity:1!important;box-shadow:0 2px 6px rgba(34,93,125,.1)!important;font-weight:750!important;
}
html[data-np-theme="light"] .chatHead button#verifyKeyBtn:not(:disabled):hover{background:#c5e5f3!important;border-color:#2a85a9!important}
html[data-np-theme="dark"] .chatHead button#verifyKeyBtn:not(:disabled){
  background:#254f65!important;color:#e1faff!important;border:1px solid #5ab7d5!important;
  opacity:1!important;font-weight:750!important;
}
html[data-np-theme="dark"] .chatHead button#verifyKeyBtn:not(:disabled):hover{background:#30667e!important}
/* Si seguridad esta realmente deshabilitada, mantener indicacion correcta. */
.chatHead button#verifyKeyBtn:disabled{opacity:.52!important;cursor:not-allowed!important}

/* Tarjeta de contacto: variante CLARA real conservando QR, foto y logo originales. */
html[data-np-theme="light"] .np-card-portrait.cardPreview{
  background:radial-gradient(circle at 86% 8%,rgba(70,174,203,.19),transparent 44%),
             linear-gradient(148deg,#ffffff 3%,#eaf5fb 54%,#dceef6 100%)!important;
  border:1px solid #8ebed1!important;color:#173c54!important;
  box-shadow:0 16px 40px rgba(16,72,100,.12)!important;
  color-scheme:light;
}
html[data-np-theme="light"] .np-card-portrait .np-card-glow{opacity:.15!important;pointer-events:none}
html[data-np-theme="light"] .np-card-portrait :is(.np-card-brand strong,#npCardName,.cardPin){
  color:#143f59!important;text-shadow:none!important;
}
html[data-np-theme="light"] .np-card-portrait .np-card-brand strong span{color:#058fad!important;text-shadow:none!important}
html[data-np-theme="light"] .np-card-portrait :is(.np-card-caption,.np-card-tagline,.np-card-subtitle,.np-card-scan-label,.np-card-brand small,.np-card-bottom){
  color:#396a7f!important;text-shadow:none!important;
}
html[data-np-theme="light"] .np-card-portrait :is(.np-card-decoration,.np-card-bottom span){color:#267a95!important}
html[data-np-theme="light"] .np-card-portrait .np-card-pin-band{
  background:#d1eaf4!important;border:1px solid #a5cddc!important;box-shadow:none!important;
}
html[data-np-theme="light"] .np-card-portrait .np-card-pin-band span{color:#386b80!important}
html[data-np-theme="light"] .np-card-portrait .np-card-qr{
  background:#fff!important;border:1px solid #b4d0dc!important;box-shadow:0 5px 12px rgba(25,75,108,.08)!important;
}
/* La exportacion PNG utiliza la tarjeta visible; mantener oscuro en modo oscuro. */
html[data-np-theme="dark"] .np-card-portrait :is(.np-card-brand strong,#npCardName,.cardPin){color:#effbff!important}
html[data-np-theme="dark"] .np-card-portrait :is(.np-card-caption,.np-card-tagline,.np-card-subtitle,.np-card-scan-label){color:#c5e5f2!important}

/* Barra lateral: iconos identificables, sin neones ni opacidad baja. */
html[data-np-theme="light"] #workspace .sidebar .nav button .navIcon{
  color:#217eaa!important;opacity:1!important;filter:none!important;
}
html[data-np-theme="dark"] #workspace .sidebar .nav button .navIcon{
  color:#85d5ea!important;opacity:1!important;filter:none!important;
}
html[data-np-theme="light"] #workspace .sidebar .nav button.active .navIcon{color:#075b7f!important}
html[data-np-theme="dark"] #workspace .sidebar .nav button.active .navIcon{color:#b1f4ff!important}
#workspace .sidebar .nav button .navIcon svg{stroke:currentColor!important;opacity:1!important;stroke-width:2.15!important}

/* Otros textos secundarios cuya baja saturacion persistia. */
html[data-np-theme="light"] .np-card-nfc-details summary{color:#176c8d!important;font-weight:700!important}
html[data-np-theme="dark"] .np-card-nfc-details summary{color:#b2e9fa!important;font-weight:700!important}
@media(max-width:720px){
  #welcomeGuide .welcomeBody{padding:18px!important}
  #welcomeGuide .welcomeStep{gap:11px}
  .chatHead button#verifyKeyBtn{min-height:38px!important}
}
