.rack-gabinete{width:100%;height:100%;background:linear-gradient(180deg,#111827,#0b1120);border-radius:6px;box-shadow:0 0 0 3px #374151,0 10px 25px #0000008c;display:flex;flex-direction:column;overflow:hidden}.rack-selecionado{box-shadow:0 0 0 3px #3b82f6,0 10px 25px #0000008c}.rack-topo{height:34px;flex:0 0 34px;display:flex;align-items:center;gap:8px;padding:0 12px;background:linear-gradient(180deg,#2d3748,#1f2937);border-bottom:2px solid #111827;color:#e2e8f0;font-size:13px;font-weight:700;cursor:grab}.rack-nome{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rack-badge{font-size:10px;color:#cbd5e1;background:#0f172a;border:1px solid #475569;border-radius:10px;padding:1px 7px}.rack-corpo{display:flex;flex:0 0 auto}.rack-trilho{width:30px;background:linear-gradient(90deg,#4b5563,#6b7280 45%,#4b5563)}.rack-trilho-u{display:flex;flex-direction:column;align-items:center;justify-content:space-around;border-bottom:1px solid rgba(0,0,0,.25);box-sizing:border-box}.rack-furo{width:5px;height:5px;background:#111827;border-radius:1px}.rack-numero{font-size:8px;line-height:8px;color:#e5e7eb;font-family:Consolas,monospace}.rack-vao{flex:1;background:repeating-linear-gradient(90deg,#0b1120 0,#0b1120 6px,#0d1424 6px,#0d1424 7px)}.rack-vao-u{border-bottom:1px dashed rgba(148,163,184,.08);box-sizing:border-box}.rack-base{flex:1;min-height:14px;background:linear-gradient(180deg,#1f2937,#111827);display:flex;justify-content:space-between;padding:0 30px}.rack-base span{width:22px;height:6px;margin-top:4px;background:#374151;border-radius:0 0 4px 4px}.rack-equip{width:100%;height:100%;display:flex;box-sizing:border-box;background:linear-gradient(180deg,#3a4556,#2a3240 45%,#232a36);border:1px solid #1a202c;border-radius:2px;box-shadow:inset 0 1px #ffffff1f,0 1px 2px #0009;color:#e2e8f0;cursor:grab;overflow:hidden}.rack-equip.eq-offline{box-shadow:inset 0 0 0 1px #ef44448c,0 1px 2px #0009}.rack-equip-selecionado{outline:2px solid #3b82f6;outline-offset:-1px}.rack-orelha{width:12px;flex:0 0 12px;background:linear-gradient(90deg,#4b5563,#374151);display:flex;flex-direction:column;justify-content:space-around;align-items:center}.rack-orelha i{width:5px;height:5px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#d1d5db,#6b7280)}.rack-equip-frente{flex:1;display:flex;align-items:center;gap:8px;padding:0 6px;min-width:0}.rack-equip-id{width:118px;flex:0 0 118px;display:flex;align-items:center;gap:6px;min-width:0;position:relative}.rack-equip-textos{min-width:0;line-height:1.1}.rack-equip-nome{font-size:10.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rack-equip-ip{font-size:8.5px;color:#94a3b8;white-space:nowrap;overflow:hidden;display:flex;gap:4px;align-items:center;min-width:0}.rack-equip-ip-texto{overflow:hidden;text-overflow:ellipsis;min-width:0}.rack-equip-ping{color:#34d399;display:inline-flex;align-items:center;gap:1px;flex:0 0 auto}.rack-equip-sino{color:#64748b;flex:0 0 auto}.rack-equip-face{flex:1;height:100%;display:flex;align-items:center;justify-content:flex-end;min-width:0;padding:3px 0;box-sizing:border-box;overflow:hidden}.led-status{width:7px;height:7px;border-radius:50%;flex:0 0 7px;background:#475569}.led-status.eq-online{background:#22c55e;box-shadow:0 0 6px #22c55e}.led-status.eq-offline{background:#ef4444;box-shadow:0 0 6px #ef4444;animation:pisca-vermelho 1s infinite}.led-status.eq-passivo{background:#64748b}@keyframes pisca-vermelho{50%{opacity:.35}}.face-portas{display:flex;align-items:center;gap:6px;min-width:0;flex:0 1 auto}.face-portas-grade{display:grid;gap:2px 1px;min-width:0}.porta-rj45{width:100%;height:7px;background:#0b0f17;border:1px solid #4b5563;border-top-width:2px;box-sizing:border-box;position:relative}.porta-sfp{width:12px;height:9px;background:#0b0f17;border:1px solid #9ca3af;box-sizing:border-box;position:relative;display:inline-block}.face-sfp{display:grid;gap:2px 2px;flex:0 0 auto}.led-porta{position:absolute;top:-3px;left:1px;width:3px;height:2px;background:#1f2937}.led-porta.on{background:#22c55e;animation:pisca-porta 1.6s steps(2) infinite}@keyframes pisca-porta{50%{background:#f59e0b}}.face-rotulo{font-size:6px;color:#9ca3af;letter-spacing:.5px;border:1px solid #4b5563;padding:1px 2px}.face-baias{display:grid;gap:1px 2px;width:100%;max-width:210px;height:100%}.baia{background:linear-gradient(180deg,#1f2937,#111827);border:1px solid #4b5563;border-radius:1px;position:relative;min-height:5px}.baia-grande{background:repeating-linear-gradient(90deg,#1f2937 0,#1f2937 3px,#111827 3px,#111827 4px)}.led-baia{position:absolute;right:2px;top:50%;transform:translateY(-50%);width:3px;height:3px;border-radius:50%;background:#334155}.led-baia.on{background:#3b82f6;animation:pisca-disco 2s infinite}@keyframes pisca-disco{30%{background:#93c5fd}60%{background:#1d4ed8}}.face-linha{display:flex;align-items:center;gap:8px;height:100%;width:100%;justify-content:flex-end}.face-lcd{background:#0c2a1b;color:#4ade80;font-family:Consolas,monospace;font-size:8px;padding:2px 5px;border:1px solid #14532d;border-radius:2px;white-space:nowrap;text-shadow:0 0 4px #22c55e}.face-lcd-grande{font-size:9px;padding:4px 8px}.eq-offline .face-lcd{background:#2a0c0c;color:#f87171;border-color:#7f1d1d;text-shadow:0 0 4px #ef4444}.face-ventilacao{flex:1;max-width:160px;height:70%;background:radial-gradient(circle,#0b0f17 1.2px,transparent 1.6px) 0 0 / 5px 5px;opacity:.9}.face-escova{width:100%;height:55%;border-radius:2px;background:repeating-linear-gradient(90deg,#111827 0,#111827 1px,#1f2937 1px,#1f2937 3px);border:1px solid #0b0f17}.botao-power{width:9px;height:9px;border-radius:50%;border:1px solid #9ca3af;flex:0 0 9px}.botao-power.on{border-color:#3b82f6;box-shadow:0 0 5px #3b82f6}.netmap-readonly .rack-equip,.netmap-readonly .rack-topo{cursor:default}.porta-rj45.em-uso,.porta-sfp.em-uso{border-color:#60a5fa;background:#172554}.react-flow__handle.handle-porta{opacity:1;z-index:2;cursor:crosshair}.porta-rj45:hover,.porta-sfp:hover{outline:1px solid #fbbf24;z-index:3}.netmap-readonly .react-flow__handle.handle-porta{pointer-events:none!important}.netmap-readonly .porta-rj45:hover,.netmap-readonly .porta-sfp:hover{outline:none}.rack-equip.eq-inalcancavel{box-shadow:inset 0 0 0 1px #f59e0b8c,0 1px 2px #0009}.led-status.eq-inalcancavel{background:#f59e0b;box-shadow:0 0 6px #f59e0b}.eq-inalcancavel .face-lcd{background:#2a1d06;color:#fbbf24;border-color:#78350f}.rack-equip-manutencao{color:#38bdf8}.porta-rj45.sem-link,.porta-sfp.sem-link{opacity:.55}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background-color:#1e1e1e;color:#fff}.spin{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.custom-node{padding:15px;border-radius:8px;background-color:#1e293b;border:2px solid #334155;color:#fff;display:flex;align-items:center;gap:10px;box-shadow:0 4px 6px #0000004d;position:relative;width:100%;height:100%;overflow:hidden}.status-dot{width:12px;height:12px;border-radius:50%;position:absolute;top:10px;right:10px}.status-visual{background-color:#64748b}.status-online{background-color:#10b981;animation:pulse-green 2s infinite}@keyframes pulse-green{0%{box-shadow:0 0 #10b981b3}70%{box-shadow:0 0 0 6px #10b98100}to{box-shadow:0 0 #10b98100}}.status-offline{background-color:#ef4444;animation:pulse-red 1s infinite}@keyframes pulse-red{0%{box-shadow:0 0 #ef4444b3}70%{box-shadow:0 0 0 6px #ef444400}to{box-shadow:0 0 #ef444400}}.react-flow__handle{width:12px;height:12px;background-color:#3b82f6;border:2px solid #1e293b;z-index:10}.netmap-readonly .react-flow__handle{opacity:0!important;pointer-events:none!important}.netmap-readonly .react-flow__edge,.netmap-readonly .react-flow__node{cursor:default!important}.node-sem-alerta{position:absolute;top:8px;right:28px;color:#64748b;display:flex}.react-flow__node.no-esmaecido{opacity:.35;transition:opacity .15s}.react-flow__node.no-destaque>*{animation:pisca-destaque .65s ease-in-out 4}@keyframes pisca-destaque{50%{box-shadow:0 0 0 4px #fbbf24,0 0 22px #fbbf24}}.status-inalcancavel{background-color:#f59e0b;box-shadow:0 0 0 2px #f59e0b40}.node-manutencao{color:#38bdf8}.metrica-no{display:flex;align-items:center;gap:2px;color:#cbd5e1}.custom-node.no-atalho{border-style:dashed;border-color:#6366f1;cursor:pointer}.custom-node.no-atalho.atalho-alerta{border-color:#ef4444;box-shadow:0 0 0 2px #ef444440}.react-flow{direction:ltr}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;cursor:-webkit-grab;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;-webkit-animation:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__connectionline{z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:-webkit-grab;cursor:grab}.react-flow__node.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:-webkit-grab;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background:#1a192b;border:1px solid white;border-radius:100%}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:-4px;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:#ffffff80;padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@-webkit-keyframes dashdraw{0%{stroke-dashoffset:10}}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:#0059dc14;border:1px dotted rgba(0,89,220,.8)}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{border:none;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:5px}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__minimap svg{display:block}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:#3367d9;transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:#3367d9;border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}
