/* NodoPin Web — tarjeta premium en paridad visual con la tarjeta Android. */
#contactsTab .np-card-section{padding:clamp(18px,2.7vw,29px)!important;overflow:hidden;isolation:isolate;border-radius:25px;border:1px solid rgba(125,196,218,.20);background:linear-gradient(145deg,rgba(27,53,72,.94),rgba(15,29,45,.96))}
.np-card-section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:24px}.np-card-section-heading h3{font-size:clamp(23px,2.4vw,29px)!important;line-height:1.16;letter-spacing:-.04em;margin:4px 0 9px!important}.np-card-section-heading .help{max-width:650px;line-height:1.6}.np-card-section-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:13px;color:#b8f7fc;background:rgba(86,203,231,.1);border:1px solid rgba(124,211,235,.15)}
#contactsTab .np-card-layout{display:grid!important;grid-template-columns:minmax(0,348px) minmax(220px,1fr)!important;gap:clamp(20px,4vw,44px)!important;align-items:center!important}
#contactsTab .np-card-portrait{box-sizing:border-box;position:relative;isolation:isolate;display:flex;flex-direction:column;width:100%;max-width:348px;min-height:455px;margin:0 auto;overflow:hidden;border-radius:27px;border:1px solid rgba(151,217,236,.31);background:radial-gradient(ellipse 110% 60% at 80% 0%,#1f5973 0%,transparent 69%),linear-gradient(159deg,#142d48 0%,#0c1c30 69%,#09182a 100%);padding:clamp(19px,2vw,25px)!important;box-shadow:0 20px 55px rgba(0,0,0,.25),inset 0 1px rgba(255,255,255,.075);color:#f6fbff!important;overflow-wrap:normal!important}
.np-card-portrait::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.45;pointer-events:none;background:linear-gradient(125deg,transparent 24%,rgba(95,212,235,.06) 25%,transparent 27%),radial-gradient(circle at 10% 100%,rgba(37,156,201,.25),transparent 47%)}
.np-card-glow{position:absolute;right:-100px;top:-100px;height:240px;width:240px;border-radius:50%;background:#3babbc;filter:blur(95px);opacity:.17;pointer-events:none}
#contactsTab .np-card-brand{display:flex;align-items:center;gap:12px;margin:0 0 15px!important;min-height:44px}.np-card-brand img{width:43px!important;height:43px!important;max-width:43px;object-fit:contain;flex:none}.np-card-brand strong{color:#fff;font-size:22px!important;line-height:1.1;font-weight:800;letter-spacing:-.055em}.np-card-brand strong span{color:#82e5f4}.np-card-brand small{display:block;color:#a3c5d8!important;font-size:8px!important;letter-spacing:.17em;white-space:nowrap;margin-top:3px}.np-card-decoration{margin-left:auto;font-size:22px;line-height:1;color:#7de2f2;opacity:.65}
.np-card-tagline{margin:0 0 20px!important;color:#a8cee0;font-size:9px;letter-spacing:.13em;font-weight:700;line-height:1.4}
.np-card-identity{display:grid;grid-template-columns:61px minmax(0,1fr);align-items:center;gap:13px;margin:0 0 20px;min-width:0}.np-card-avatar{display:grid;place-items:center;width:61px;height:61px;overflow:hidden;flex:none;border-radius:50%;border:2px solid rgba(150,225,241,.7);box-shadow:0 0 0 4px rgba(69,160,192,.09);background:linear-gradient(145deg,#2b6c87,#163955);font-size:23px;font-weight:800;color:#fff}.np-card-avatar img{width:100%;height:100%;object-fit:cover;display:block}.np-card-name-wrap{display:flex;flex-direction:column;min-width:0;gap:3px}.np-card-caption{font-size:8px;font-weight:800;color:#7dd8ee;letter-spacing:.18em}.np-card-name-wrap strong{font-size:clamp(19px,2.5vw,23px);letter-spacing:-.035em;line-height:1.15;overflow-wrap:anywhere;max-height:2.35em;overflow:hidden}.np-card-subtitle{font-size:10px;color:#abc5d5}
.np-card-qr-area{display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0;margin:0 auto 17px;width:100%}.np-card-scan-label{font-size:9px;letter-spacing:.12em;font-weight:750;color:#a8dbec;text-align:center}
#contactsTab .np-card-qr{display:grid;place-items:center;box-sizing:border-box;background:#fff!important;border-radius:19px!important;padding:13px!important;margin:0!important;aspect-ratio:1!important;width:min(100%,218px)!important;box-shadow:0 8px 26px rgba(0,0,0,.2)}.np-card-qr svg{width:100%!important;height:100%!important;max-width:100%;display:block!important}
.np-card-pin-band{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:57px;margin-top:auto;padding:8px 16px;border-radius:14px;border:1px solid rgba(129,203,231,.22);background:rgba(49,120,164,.19)}.np-card-pin-band span{font-size:9px;letter-spacing:.15em;color:#a5d3e9;font-weight:750}.np-card-pin-band .cardPin{margin:0!important;font-weight:850!important;line-height:1.1;font-size:clamp(21px,3vw,26px)!important;letter-spacing:.12em;color:#edfaff!important;text-align:center}
.np-card-bottom{display:flex;justify-content:center;align-items:center;gap:9px;margin-top:13px;font-size:9px;color:#9eb9c9}.np-card-bottom span:nth-child(2){color:#69d9c9;font-size:9px}
#contactsTab .np-card-actions{display:flex!important;flex-direction:column;align-items:stretch;gap:12px;min-width:0;max-width:430px}.np-card-actions h4{font-size:20px!important;font-weight:780;letter-spacing:-.035em;color:#f4fafc;margin:0 0 8px!important}.np-card-actions .help{line-height:1.55}.np-card-actions>button{width:100%!important;min-height:45px;border-radius:12px;display:flex;justify-content:center;align-items:center;gap:8px;text-align:center;font-weight:700}.np-card-actions>button.primary{background:linear-gradient(115deg,#21a6c2,#14769d);border-color:#45c4d9;color:#fff}.np-card-actions label{font-size:11px;color:#a9c8d7;font-weight:700;margin-top:6px}.np-card-actions input#cardLink{width:100%;box-sizing:border-box;min-width:0;padding:12px 13px;border-radius:11px;font-size:12px}
.np-card-nfc-details{margin-top:8px;border-top:1px solid rgba(132,207,234,.15);padding-top:13px}.np-card-nfc-details summary{cursor:pointer;color:#a9d6e6;font-size:12px;font-weight:650;line-height:1.6}.np-card-nfc-details summary:focus-visible{outline:2px solid #8be6ec;outline-offset:3px}.np-card-nfc-controls{display:grid;gap:10px;margin-top:14px}.np-card-nfc-controls button{min-height:40px;border-radius:11px}.np-card-action-status{min-height:18px!important;margin:4px 0 0!important;font-size:11px}
/* The contact's dialog receives the same restrained design language. */
#contactCardDialog{border-radius:22px;border-color:rgba(142,222,238,.25);box-shadow:0 25px 80px #000b}#contactCardDialog .contactDialogInner{padding:clamp(20px,4vw,28px)}#contactCardDialog .contactDialogTop{gap:16px;padding-bottom:17px;border-bottom:1px solid rgba(138,212,238,.16)}#contactCardDialog .contactDialogTop .avatar{height:62px;min-width:62px;width:62px;border:2px solid rgba(141,224,239,.5)}#contactCardDialog h3{letter-spacing:-.04em;overflow-wrap:anywhere}#contactCardDialog code{overflow-wrap:anywhere;color:#83e3f1}
@media(min-width:1400px){#contactsTab .np-card-layout{grid-template-columns:348px minmax(0,420px)!important}}
@media(max-width:860px){#contactsTab .np-card-layout{grid-template-columns:minmax(0,1fr)!important;justify-items:center!important}.np-card-actions{width:min(100%,380px)!important;max-width:380px!important}.np-card-section-heading{width:100%}}
@media(max-width:560px){#contactsTab .np-card-section{padding:16px!important;border-radius:18px}#contactsTab .np-card-portrait{max-width:340px;min-height:450px;border-radius:22px;padding:18px!important}.np-card-section-heading{margin-bottom:17px}.np-card-section-icon{display:none}.np-card-identity{gap:10px}.np-card-qr{width:min(100%,212px)!important}}
@media(prefers-reduced-motion:reduce){#contactsTab .np-card-portrait{transition:none!important}}
