/* Numerish topbar professional network dropdown — R1, 2026-11-19.
   Scoped to shared header; no replacement of mega menus or site templates. */
.ns-topbar .ns-prof-network-top,
.ns-topbar .ns-prof-network-top *{box-sizing:border-box}
.ns-topbar .ns-prof-network-top{position:relative;order:0;flex:0 0 auto;z-index:120}
.ns-topbar .ns-prof-network-trigger{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:40px;padding:8px 12px;border:1px solid rgba(255,255,255,.33);
  border-radius:10px;background:#1e3a54;color:#fff;
  font:800 11px/1.3 'Asap',system-ui,-apple-system,'Segoe UI',sans-serif;
  letter-spacing:.015em;white-space:nowrap;cursor:pointer;
  transition:background-color .16s,border-color .16s,box-shadow .16s;
}
.ns-topbar .ns-prof-network-trigger:hover,
.ns-topbar .ns-prof-network-trigger[aria-expanded="true"]{
 background:#304e67;border-color:rgba(255,255,255,.6);
 box-shadow:0 2px 9px rgba(0,0,0,.12);
}
.ns-topbar .ns-prof-network-trigger:focus-visible,
.ns-topbar .ns-prof-network-menu a:focus-visible{
 outline:3px solid #ff69ac!important;outline-offset:3px;
}
.ns-topbar .ns-prof-network-trigger svg{width:14px;height:14px;flex:0 0 auto;stroke:currentColor;stroke-width:2;fill:none;transition:transform .16s}
.ns-topbar .ns-prof-network-trigger[aria-expanded="true"] svg{transform:rotate(180deg)}
.ns-topbar .ns-prof-network-trigger-short{display:none}
.ns-topbar .ns-prof-network-menu[hidden]{display:none!important}
.ns-topbar .ns-prof-network-menu{
 position:absolute;right:0;top:calc(100% + 9px);
 z-index:150;display:grid;gap:7px;
 width:min(366px,calc(100vw - 26px));
 padding:13px;background:#fff;border:1px solid #dce5ed;
 box-shadow:0 22px 56px rgba(8,27,46,.28);
 border-radius:15px;color:#172e47;text-align:left;
}
.ns-topbar .ns-prof-network-menu:before{
 content:"";position:absolute;top:-6px;right:22px;width:11px;height:11px;
 transform:rotate(45deg);background:#fff;
 border-left:1px solid #dce5ed;border-top:1px solid #dce5ed;
}
.ns-topbar .ns-prof-network-heading{padding:2px 3px 7px;border-bottom:1px solid #e4ebf2;display:grid;gap:3px}
.ns-topbar .ns-prof-network-heading b{font-size:10px;font-weight:900;color:#ab004f;letter-spacing:.11em}
.ns-topbar .ns-prof-network-heading small{font-size:11px;color:#60738a;line-height:1.4}
.ns-topbar .ns-prof-network-menu a{
 display:flex!important;align-items:center;justify-content:space-between;gap:13px;
 width:100%;min-width:0;min-height:54px;padding:11px 12px;
 border:1px solid #e0e7ee;border-radius:10px;
 color:#24415c!important;background:#f8fafc!important;
 font-size:12px;font-weight:850;line-height:1.4;
 text-decoration:none!important;white-space:normal;overflow-wrap:anywhere;
}
.ns-topbar .ns-prof-network-menu a span:first-child{flex:1 1 auto;min-width:0}
.ns-topbar .ns-prof-network-menu a span:last-child{color:#bb0051;flex:0 0 auto;font-size:18px}
.ns-topbar .ns-prof-network-menu a:hover{border-color:#e6a1c3;background:#fff0f7!important;color:#a5004e!important}
.ns-topbar .ns-prof-network-menu a.ns-prof-network-menu-join{
 color:#fff!important;background:#e50061!important;border-color:#e50061;
}
.ns-topbar .ns-prof-network-menu a.ns-prof-network-menu-join span:last-child{color:#fff}
.ns-topbar .ns-prof-network-menu a.ns-prof-network-menu-join:hover{color:#fff!important;background:#b80050!important;border-color:#b80050}
@media(min-width:901px){
 .ns-topbar .ns-topbar-row>span{flex:1 1 0;min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .ns-topbar .ns-topbar-tools{flex:0 0 auto;max-width:100%}
}
@media(max-width:900px){
 .ns-topbar .ns-prof-network-menu{left:0;right:auto}
 .ns-topbar .ns-prof-network-menu:before{right:auto;left:24px}
 .ns-topbar .ns-topbar-tools{width:100%!important;min-width:0;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px}
 .ns-topbar .ns-topbar-cta{width:100%;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:7px;order:1}
 .ns-topbar .ns-topbar-cta .ns-topbar-demo{order:1}
 .ns-topbar .ns-topbar-cta .ns-topbar-search{order:2}
 .ns-topbar .ns-prefbar{order:2;width:100%;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
}
@media(max-width:680px){
 .ns-topbar .ns-prof-network-trigger-long{display:none}
 .ns-topbar .ns-prof-network-trigger-short{display:inline}
 .ns-topbar .ns-prof-network-trigger{padding:8px 10px;min-height:44px}
 .ns-topbar .ns-prof-network-menu{left:0;right:auto;top:calc(100% + 8px);width:min(350px,calc(100vw - 24px))}
 .ns-topbar .ns-prof-network-menu:before{right:auto;left:24px}
 .ns-topbar .ns-topbar-cta{gap:6px}
}
@media(max-width:390px){
 .ns-topbar .ns-prof-network-trigger{font-size:10.5px;padding-inline:9px;gap:5px}
 .ns-topbar .ns-prefbar{gap:5px}
 .ns-topbar .ns-prof-network-menu{width:min(350px,calc(100vw - 24px))}
}
html[data-theme="dark"] .ns-topbar .ns-prof-network-menu{background:#14283d;border-color:#365470;color:#eff7ff}
html[data-theme="dark"] .ns-topbar .ns-prof-network-menu:before{background:#14283d;border-color:#365470}
html[data-theme="dark"] .ns-topbar .ns-prof-network-heading{border-color:#3b5169}
html[data-theme="dark"] .ns-topbar .ns-prof-network-heading b{color:#ff99c8}
html[data-theme="dark"] .ns-topbar .ns-prof-network-heading small{color:#b5c9dc}
html[data-theme="dark"] .ns-topbar .ns-prof-network-menu a:not(.ns-prof-network-menu-join){
 background:#1e3852!important;border-color:#3e5a75;color:#e6f2fc!important;
}
html[data-theme="dark"] .ns-topbar .ns-prof-network-menu a:not(.ns-prof-network-menu-join):hover{
 background:#304b66!important;border-color:#ff85ba;color:#fff!important;
}
@media(prefers-reduced-motion:reduce){
 .ns-topbar .ns-prof-network-top *{transition:none!important}
}