/* NodoPin Web · Solo retoques visuales quirúrgicos, posteriores a los estilos existentes. */

/* 1. Numeración perfectamente centrada del asistente, independientemente del tema. */
#welcomeGuide .stepNumber {
  box-sizing:border-box!important;
  display:grid!important;
  place-items:center!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 31px!important;
  width:31px!important;min-width:31px!important;max-width:31px!important;
  height:31px!important;min-height:31px!important;
  padding:0!important;margin:0!important;
  text-align:center!important;text-indent:0!important;
  line-height:1!important;vertical-align:middle!important;
}

/* 2. Se retira el texto rutinario de inventario NLDR1, SIN borrar el nodo
      que usa la aplicación. Alertas y errores de seguridad siguen visibles. */
#drPanel #drStatus.npv-routine-only {display:none!important}

/* 3. Seguridad: paleta viva y con contraste real, nunca una franja gris. */
html[data-np-theme="light"] #drPanel .np-security-summary {
  background:linear-gradient(108deg,#d8f5fc 0%,#b8e9f1 100%)!important;
  border:1px solid #72c8d8!important;
  color:#12455d!important;
  box-shadow:0 8px 24px rgba(16,102,132,.11)!important;
}
html[data-np-theme="light"] #drPanel .np-security-icon {background:#a4e3f0!important}
html[data-np-theme="light"] #drPanel .np-security-summary strong {color:#113c55!important}
html[data-np-theme="light"] #drPanel .np-security-summary p {color:#315c70!important}
html[data-np-theme="light"] #drPanel .np-security-summary .np-inline-status {color:#00617c!important}
html[data-np-theme="light"] #drPanel .np-details {
  background:#f1fbff!important;border:1px solid #b1dbe8!important;
  box-shadow:0 3px 14px rgba(27,103,137,.05)!important;
}
html[data-np-theme="light"] #drPanel .np-details>summary {color:#124b67!important}
html[data-np-theme="light"] #drPanel .np-details>summary::before {color:#0089a8!important}
html[data-np-theme="light"] #drPanel .np-details[open]>div {color:#254d62!important}
html[data-np-theme="light"] #drPanel .np-details .panel {background:#fff!important;color:#214960!important}
html[data-np-theme="light"] #drPanel #drStatus:not(.npv-routine-only) {
  background:#e4f8ff!important;border:1px solid #82c8dd!important;color:#174e67!important;
}

html[data-np-theme="dark"] #drPanel .np-security-summary {
  background:linear-gradient(112deg,#164b61 0%,#103349 100%)!important;
  border:1px solid #408fa7!important;color:#effbff!important;
  box-shadow:0 8px 25px rgba(0,0,0,.17)!important;
}
html[data-np-theme="dark"] #drPanel .np-security-icon {background:#1e6079!important}
html[data-np-theme="dark"] #drPanel .np-security-summary strong {color:#f2fcff!important}
html[data-np-theme="dark"] #drPanel .np-security-summary p {color:#c9e5f0!important}
html[data-np-theme="dark"] #drPanel .np-security-summary .np-inline-status {color:#91f0df!important}
html[data-np-theme="dark"] #drPanel .np-details {background:#183b4e!important;border:1px solid #3c718a!important}
html[data-np-theme="dark"] #drPanel .np-details>summary {color:#eaf8ff!important}
html[data-np-theme="dark"] #drPanel .np-details>summary::before {color:#81e8f0!important}
html[data-np-theme="dark"] #drPanel #drStatus:not(.npv-routine-only) {
  background:#21445a!important;border:1px solid #477f99!important;color:#e2f4ff!important;
}

/* 4. Insignia y título SOLO después de confirmar el PIN propio con el Worker. */
.npv-my-official {
  display:inline-flex;align-items:center;gap:6px;max-width:100%;min-width:0;
  font-size:11px;font-weight:760;line-height:1.3;vertical-align:middle;
}
.npv-my-official-icon {width:18px;height:18px;object-fit:contain;flex:none;display:block}
.npv-my-official-title {min-width:0;overflow-wrap:anywhere}
#npVerifiedSelfProfile {margin:3px 0 5px;color:#70e1ea}
html[data-np-theme="light"] #npVerifiedSelfProfile {color:#075c78!important}
html[data-np-theme="dark"] #npVerifiedSelfProfile {color:#9beef4!important}
#npVerifiedSelfCard {margin:3px 0 3px;color:#b1f4f9;font-size:10px;letter-spacing:.01em}
html[data-np-theme="light"] #npVerifiedSelfCard {color:#08728d!important}
html[data-np-theme="dark"] #npVerifiedSelfCard {color:#b8f4f9!important}
#npVerifiedSelfCard .npv-my-official-icon {width:19px;height:19px}
#contactsTab .np-card-name-wrap {min-width:0}
#workspace .sidebar .profile {min-width:0}
#workspace .sidebar .profile>div:nth-child(2) {min-width:0}
@media(max-width:720px){
  #npVerifiedSelfProfile{font-size:10px}
  #npVerifiedSelfCard{font-size:10px}
  #welcomeGuide .stepNumber {flex-basis:31px!important}
}
