/* Fiber cable + Mbps animated background (shared on all pages) */
.net-bg{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.net-bg svg{width:100%;height:100%;display:block}
.nb-cable{fill:none;stroke:#2a67b8;stroke-width:3.2;opacity:.75;stroke-linecap:round}
.nb-cable.c2,.nb-cable.c4{stroke:#1a7d9e}
.nb-flow{will-change:stroke-dashoffset;fill:none;stroke:#a5f3fc;stroke-width:4;stroke-linecap:round;stroke-dasharray:140 1500;stroke-dashoffset:1640;animation:nbFlow 3.2s linear infinite}
.nb-flow.c2{stroke:#86efac;animation-duration:4s}
.nb-flow.c3{stroke:#c4b5fd;animation-duration:3.6s}
.nb-flow.c4{animation-duration:4.6s}
.nb-flow.c5{stroke:#7dd3fc;animation-duration:2.8s}
@keyframes nbFlow{to{stroke-dashoffset:0}}
.nb-nodes circle{fill:#0b2a4d;stroke:#38bdf8;stroke-width:3;transform-box:fill-box;transform-origin:center;animation:nbNode 1.8s ease-in-out infinite;}
.nb-nodes circle:nth-child(2n){animation-delay:.9s;stroke:#4ade80;}
@keyframes nbNode{0%,100%{transform:scale(1)}50%{transform:scale(1.8)}}
.net-bg em{position:absolute;font:700 14px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-style:normal;color:#a5f3fc;
  padding:7px 12px;border-radius:20px;background:rgba(8,30,58,.75);border:1px solid rgba(56,189,248,.55);
  box-shadow:0 0 18px rgba(34,211,238,.25);
  opacity:0;animation:nbTag 6s ease-in-out infinite;white-space:nowrap}
.net-bg em:nth-of-type(2n){color:#bbf7d0;border-color:rgba(74,222,128,.55);box-shadow:0 0 18px rgba(74,222,128,.22);}
.net-bg em span{display:inline-block;min-width:2.2ch;text-align:right}
.net-bg em.nb-tick span{animation:nbTick .4s ease-out}
@keyframes nbTick{0%{transform:translateY(-4px);opacity:.3}100%{transform:none;opacity:1}}
@keyframes nbTag{0%{opacity:0;transform:translateY(14px) scale(.95)}10%,80%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-14px)}}
/* Dashboard: quieter so content stays readable */
.net-app{opacity:.35}
.net-app em{display:none}
.net-app .nb-flow,.net-app .nb-nodes circle{animation:none}
.net-app .nb-flow{display:none}
@media (max-width:640px){.net-bg em{font-size:12px}.net-bg em:nth-of-type(n+5){display:none}}
@media (prefers-reduced-motion:reduce){.nb-flow,.nb-nodes circle,.net-bg em{animation:none}.nb-flow{display:none}.net-bg em{opacity:.8}}
.app-shell{position:relative;z-index:1}
