    .brand-link { background: linear-gradient(135deg, #1e3c72, #2a5298); }
    .brand-link .brand-text { font-weight: 600; letter-spacing: 0.5px; }
    .nav-sidebar .nav-item .nav-link.active { background: linear-gradient(135deg, #1e3c72, #2a5298); }
    .card-primary.card-outline { border-top: 3px solid #1e3c72; }
    .btn-primary { background: linear-gradient(135deg, #1e3c72, #2a5298); border: none; }
    .btn-primary:hover { background: linear-gradient(135deg, #152a52, #1e3c72); }
    .content-wrapper { background: #f4f6f9; }
    
    /* Network Map Styles */
    #network-container { width: 100%; height: calc(100vh - 180px); min-height: 500px; background: #fff; border-radius: 8px; position: relative; overflow: hidden; }
    #network-svg { width: 100%; height: 100%; cursor: grab; overflow: visible; }
    #network-svg:active { cursor: grabbing; }
    
    .node circle { stroke-width: 2.5px; cursor: pointer; transition: all 0.2s; }
    .node circle:hover { stroke-width: 4px; filter: drop-shadow(0 0 6px rgba(30,60,114,0.5)); }
    .node .node-label { font-size: 12px; font-family: 'Source Sans Pro', sans-serif; pointer-events: none; }
    .node .node-icon { font-family: 'Font Awesome 6 Free', 'FontAwesome', 'Font Awesome 5 Free'; font-weight: 900; font-size: 13px; pointer-events: none; dominant-baseline: central; text-anchor: middle; }
    
    .link { fill: none; stroke-opacity: 0.6; stroke-width: 2px; }
    .link.active { stroke-opacity: 1; stroke-width: 3px; }
    
    /* Status colors */
    .status-online { color: #28a745; }
    .status-offline { color: #dc3545; }
    .status-warning { color: #ffc107; }
    .status-unknown { color: #6c757d; }
    
    /* Legend */
    .map-legend { position: absolute; top: 15px; left: 15px; background: rgba(255,255,255,0.95); padding: 12px 15px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); z-index: 10; }
    .map-legend h6 { margin-bottom: 10px; font-size: 13px; font-weight: 600; }
    .legend-item { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 12px; }
    .legend-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid; }
    
    /* Detail panel */
    #detail-panel { position: absolute; top: 15px; right: 15px; width: 340px; background: rgba(255,255,255,0.98); border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.15); z-index: 10; display: none; max-height: calc(100% - 30px); overflow-y: auto; }
    #detail-panel .panel-header { padding: 15px; background: linear-gradient(135deg, #1e3c72, #2a5298); color: white; border-radius: 8px 8px 0 0; }
    #detail-panel .panel-body { padding: 15px; word-break: break-word; }
    #detail-panel .detail-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; padding: 8px 0; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
    #detail-panel .detail-label { color: #6c757d; white-space: nowrap; flex-shrink: 0; padding-top: 1px; }
    #detail-panel .detail-value { font-weight: 700; color: #222; text-align: right; word-break: break-all; font-size: 14px; }
    #detail-panel .detail-row:last-child { border-bottom: none; }
    
    /* Leaflet Map */
    #map-container { width: 100%; height: calc(100vh - 180px); min-height: 500px; border-radius: 8px; display: none; position: relative; }

    /* Custom Pin Markers */
    .map-pin-wrap { position: relative; width: 32px; height: 42px; display: flex; flex-direction: column; align-items: center; }
    .map-pin-head {
      width: 30px; height: 30px; border-radius: 50% 50% 50% 0;
      transform: rotate(-45deg);
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 2px 6px rgba(0,0,0,0.3);
      position: relative; z-index: 2;
    }
    .map-pin-head.pin-online { background: #28a745; }
    .map-pin-head.pin-offline { background: #dc3545; }
    .map-pin-head.pin-olt { background: #ff9800; }
    .map-pin-icon { transform: rotate(45deg); color: #fff; font-size: 12px; }
    .map-pin-tip {
      width: 0; height: 0;
      border-left: 5px solid transparent; border-right: 5px solid transparent;
      border-top: 7px solid #fff;
      position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
      filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
      z-index: 1;
    }

    /* Permanent Labels */
    .map-label {
      background: rgba(255,255,255,0.92);
      padding: 2px 8px;
      border-radius: 12px;
      font-size: 11px;
      font-weight: 700;
      color: #333;
      box-shadow: 0 1px 4px rgba(0,0,0,0.15);
      white-space: nowrap;
      text-align: center;
      border: 1px solid rgba(0,0,0,0.08);
    }

    /* Sidebar */
    #map-sidebar {
      position: absolute; left: 10px; top: 10px; width: 220px;
      background: rgba(255,255,255,0.96);
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.12);
      z-index: 1000;
      max-height: calc(100% - 80px);
      overflow-y: auto;
      padding: 12px;
    }
    #map-sidebar h6 { font-size: 12px; font-weight: 700; color: #1e3c72; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
    .map-sidebar-group { margin-bottom: 12px; }
    .map-sidebar-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; cursor: pointer; transition: background 0.15s; font-size: 12px; }
    .map-sidebar-item:hover { background: #f0f4ff; }
    .map-sidebar-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
    .map-sidebar-name { font-weight: 600; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .map-sidebar-type { color: #888; font-size: 10px; margin-left: auto; flex-shrink: 0; }

    /* Info Panel */
    #map-info-panel {
      position: absolute; right: 10px; bottom: 30px;
      background: rgba(255,255,255,0.96);
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.12);
      z-index: 1000;
      padding: 10px 14px;
      min-width: 160px;
    }
    #map-info-panel h6 { font-size: 11px; font-weight: 700; color: #1e3c72; margin-bottom: 6px; }
    .map-info-row { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 3px; }
    .map-info-row span:first-child { color: #666; }
    .map-info-row span:last-child { font-weight: 700; }

    /* Popup Enhancements */
    .leaflet-popup-content-wrapper { border-radius: 10px; padding: 0; overflow: hidden; }
    .leaflet-popup-content { margin: 0; font-size: 13px; width: 260px !important; }
    .popup-header { padding: 10px 14px; color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }
    .popup-header.header-online { background: #28a745; }
    .popup-header.header-offline { background: #dc3545; }
    .popup-header.header-olt { background: #ff9800; }
    .popup-body { padding: 12px 14px; }
    .popup-row { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 6px; }
    .popup-row .popup-label { color: #6c757d; }
    .popup-row .popup-value { font-weight: 700; color: #222; text-align: right; max-width: 140px; word-break: break-word; }
    .popup-footer { padding: 10px 14px; border-top: 1px solid #eee; text-align: center; }
    .popup-footer .btn-detail { display: inline-block; padding: 5px 16px; background: linear-gradient(135deg, #1e3c72, #2a5298); color: #fff; border-radius: 6px; text-decoration: none; font-size: 12px; font-weight: 600; cursor: pointer; border: none; }
    .popup-footer .btn-detail:hover { background: linear-gradient(135deg, #152a52, #1e3c72); }

    /* Connection lines */
    .connection-line { stroke: #ff9800; stroke-dasharray: 8, 8; stroke-width: 2; opacity: 0.8; }
    
    /* Link status styles */
    .link-status-normal { color: #28a745; }
    .link-status-broken { color: #dc3545; }
    .link-status-unknown { color: #6c757d; }
    
    /* Link panel in sidebar */
    #map-link-panel { margin-top: 12px; border-top: 1px solid #eee; padding-top: 10px; }
    #map-link-panel h6 { font-size: 11px; font-weight: 700; color: #1e3c72; margin-bottom: 8px; text-transform: uppercase; }
    .link-status-item { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 5px; font-size: 11px; margin-bottom: 4px; background: #f8f9fa; }
    .link-status-item:hover { background: #e9ecef; }
    .link-status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
    .link-status-dot.online { background: #28a745; box-shadow: 0 0 4px #28a745; }
    .link-status-dot.offline { background: #dc3545; }
    .link-status-dot.warning { background: #ffc107; }
    .link-status-name { font-weight: 600; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
    .link-status-text { font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 8px; }
    .link-status-text.normal { background: #d4edda; color: #155724; }
    .link-status-text.broken { background: #f8d7da; color: #721c24; }
    .link-status-text.warning { background: #fff3cd; color: #856404; }
    
    /* Connection tooltip */
    .connection-tooltip { background: rgba(0,0,0,0.85); color: #fff; padding: 8px 12px; border-radius: 6px; font-size: 12px; line-height: 1.5; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
    .connection-tooltip .tooltip-row { display: flex; justify-content: space-between; gap: 12px; }
    .connection-tooltip .tooltip-label { color: #aaa; }
    .connection-tooltip .tooltip-value { font-weight: 600; }
    .connection-tooltip .tooltip-value.online { color: #4ade80; }
    .connection-tooltip .tooltip-value.offline { color: #f87171; }
    
    /* Tabs */
    .network-tabs { display: flex; gap: 4px; padding: 8px 15px 0; background: #fff; border-bottom: 1px solid #dee2e6; }
    .network-tabs .tab-btn { padding: 8px 18px; border: none; background: transparent; color: #6c757d; font-weight: 600; font-size: 14px; cursor: pointer; border-bottom: 3px solid transparent; transition: all 0.2s; }
    .network-tabs .tab-btn:hover { color: #1e3c72; }
    .network-tabs .tab-btn.active { color: #1e3c72; border-bottom-color: #1e3c72; }
    
    /* Stats cards */
    .stats-row { margin-bottom: 20px; }
    .stat-card { background: white; border-radius: 8px; padding: 15px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); display: flex; align-items: center; gap: 12px; }
    .stat-icon { width: 45px; height: 45px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
    .stat-info h4 { margin: 0; font-size: 22px; font-weight: 700; }
    .stat-info small { color: #6c757d; font-size: 12px; }
    
    /* Controls */
    .map-controls { position: absolute; bottom: 15px; left: 15px; display: flex; gap: 8px; z-index: 10; }
    .map-controls button { width: 36px; height: 36px; border-radius: 6px; border: none; background: white; box-shadow: 0 2px 8px rgba(0,0,0,0.1); cursor: pointer; font-size: 14px; color: #555; transition: all 0.2s; }
    .map-controls button:hover { background: #1e3c72; color: white; }
    
    /* Zoom/Pan hint */
    .map-hint { position: absolute; bottom: 15px; right: 15px; background: rgba(255,255,255,0.9); padding: 6px 12px; border-radius: 20px; font-size: 11px; color: #6c757d; z-index: 10; }
    
    /* Modern Network Map UI */
    .network-map-card {
      border: none;
      border-radius: 16px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.08);
      overflow: hidden;
    }
    .network-map-card > .card-header {
      background: linear-gradient(135deg, #1e3c72, #2a5298);
      color: white;
      border-bottom: none;
      padding: 15px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .network-map-card > .card-header .card-title {
      font-weight: 600;
      font-size: 1.1rem;
    }
    .network-map-card > .card-header .btn {
      border-radius: 8px;
      font-weight: 600;
      background: rgba(255,255,255,0.15);
      color: white;
      border: 1px solid rgba(255,255,255,0.25);
    }
    .network-map-card > .card-header .btn:hover {
      background: rgba(255,255,255,0.25);
    }

    /* Modern Tabs */
    .network-tabs {
      background: #f8f9fa;
      padding: 12px 20px;
      border-bottom: 1px solid #e9ecef;
      gap: 10px;
    }
    .network-tabs .tab-btn {
      padding: 8px 20px;
      border-radius: 10px;
      border: none;
      background: white;
      color: #6c757d;
      font-weight: 600;
      font-size: 0.9rem;
      box-shadow: 0 2px 6px rgba(0,0,0,0.04);
      transition: all 0.2s;
    }
    .network-tabs .tab-btn:hover {
      transform: translateY(-1px);
      color: #495057;
    }
    .network-tabs .tab-btn.active {
      background: linear-gradient(135deg, #1e3c72, #2a5298);
      color: white;
      box-shadow: 0 4px 12px rgba(30,60,114,0.3);
    }

    /* Modern Toolbar */
    #map-toolbar {
      background: #fff !important;
      border-bottom: 1px solid #e9ecef !important;
      padding: 10px 16px !important;
      gap: 8px !important;
      min-height: auto !important;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
    }
    #map-toolbar .btn {
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.8rem;
      padding: 6px 12px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.05);
      transition: all 0.2s;
    }
    #map-toolbar .btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    #map-toolbar .btn-add { background: linear-gradient(135deg,#3b82f6,#2563eb); color:#fff; border:none; }
    #map-toolbar .btn-add-server { background: linear-gradient(135deg,#1e3c72,#2a5298); color:#fff; border:none; }
    #map-toolbar .btn-add-odc { background: linear-gradient(135deg,#8e24aa,#6a1b9a); color:#fff; border:none; }
    #map-toolbar .btn-add-odp { background: linear-gradient(135deg,#ff9800,#f57c00); color:#fff; border:none; }
    #map-toolbar .btn-add-ont { background: linear-gradient(135deg,#10b981,#059669); color:#fff; border:none; }
    #map-toolbar .btn-add-fiber { background: linear-gradient(135deg,#6f42c1,#5a32a3); color:#fff; border:none; }
    #map-toolbar .btn-fiber {
      background: linear-gradient(135deg, #6f42c1, #5a32a3);
      color: white;
      border: none;
    }
    #map-toolbar .btn-export-geojson {
      background: linear-gradient(135deg, #28a745, #1e7e34);
      color: white;
      border: none;
    }
    #map-toolbar .btn-export-kmz {
      background: linear-gradient(135deg, #20c997, #17a2b8);
      color: white;
      border: none;
    }
    #map-toolbar .toolbar-group { display:flex; gap:6px; align-items:center; flex-wrap:wrap; }
    #map-toolbar .toolbar-divider { width:1px; height:24px; background:#e9ecef; margin:0 4px; }
    #map-toolbar .search-box {
      flex: 1;
      min-width: 220px;
      max-width: 420px;
      display: flex;
      gap: 6px;
      margin-left: auto;
    }
    #map-toolbar .search-box .form-control {
      border-radius: 8px;
      border: 1px solid #e0e0e0;
    }
    /* Toolbar dropdown */
    .toolbar-dropdown { position:relative; }
    .toolbar-dropdown-menu {
      display:none; position:absolute; top:calc(100% + 6px); left:0; z-index:2000;
      background:#fff; border:1px solid #e9ecef; border-radius:10px; box-shadow:0 10px 30px rgba(0,0,0,0.15);
      min-width:180px; padding:6px; flex-direction:column; gap:4px;
    }
    .toolbar-dropdown.open .toolbar-dropdown-menu { display:flex; }
    .toolbar-dropdown-menu .dropdown-item {
      border-radius:6px; padding:8px 10px; font-size:0.8rem; font-weight:500;
      display:flex; align-items:center; gap:8px; cursor:pointer; color:#333; text-decoration:none;
    }
    .toolbar-dropdown-menu .dropdown-item:hover { background:#f8f9fa; }
    .toolbar-dropdown-menu .dropdown-item i { width:18px; text-align:center; }
    #fiber-draw-panel, #fiber-edit-panel { display:none; }
    #fiber-draw-panel.show, #fiber-edit-panel.show { display:flex; }
    .fiber-draw-cursor { cursor:crosshair !important; }
    .fiber-node-snap { box-shadow:0 0 0 4px rgba(111,66,193,0.4) !important; }
    .fiber-waypoint-marker { background:#6f42c1;border:2px solid #fff;border-radius:50%;width:12px;height:12px;box-shadow:0 2px 5px rgba(0,0,0,0.3); }
    .fiber-drop-line {
      animation: fiberFlow 5s linear infinite;
    }
    .fiber-drop-line.paused {
      animation-play-state: paused;
    }
    @keyframes fiberFlow {
      to { stroke-dashoffset: -28; }
    }

    /* Modern Sidebar */
    #map-sidebar {
      left: 15px;
      top: 15px;
      width: 260px;
      background: white;
      border-radius: 16px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
      padding: 0;
      max-height: calc(100% - 30px);
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    #map-sidebar .sidebar-header {
      background: linear-gradient(135deg, #1e3c72, #2a5298);
      color: white;
      padding: 14px 16px;
      font-weight: 700;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    #map-sidebar .sidebar-body {
      padding: 12px;
      overflow-y: auto;
      flex: 1;
    }
    #map-sidebar h6 {
      font-size: 0.7rem;
      font-weight: 700;
      color: #6c757d;
      margin-bottom: 8px;
      text-transform: uppercase;
      letter-spacing: 0.6px;
    }
    .map-sidebar-group {
      margin-bottom: 14px;
    }
    .map-sidebar-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 10px;
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.2s;
      font-size: 0.82rem;
      margin-bottom: 4px;
    }
    .map-sidebar-item:hover {
      background: #f0f4ff;
      transform: translateX(2px);
    }
    .map-sidebar-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      flex-shrink: 0;
      box-shadow: 0 0 0 2px rgba(255,255,255,0.8), 0 1px 3px rgba(0,0,0,0.2);
    }
    .map-sidebar-name {
      font-weight: 600;
      color: #333;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      flex: 1;
    }
    .map-sidebar-type {
      font-size: 0.65rem;
      font-weight: 700;
      text-transform: uppercase;
      padding: 3px 8px;
      border-radius: 20px;
      flex-shrink: 0;
    }
    .map-sidebar-type.online {
      background: #d4edda;
      color: #155724;
    }
    .map-sidebar-type.offline {
      background: #f8d7da;
      color: #721c24;
    }
    .map-sidebar-type.unknown {
      background: #e2e3e5;
      color: #6c757d;
    }

    /* Link Panel */
    #map-link-panel {
      margin-top: 0;
      border-top: 1px solid #e9ecef;
      padding-top: 12px;
    }
    .link-status-item {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 7px 10px;
      border-radius: 8px;
      font-size: 0.75rem;
      margin-bottom: 5px;
      background: #f8f9fa;
      transition: all 0.2s;
    }
    .link-status-item:hover {
      background: #f0f4ff;
    }
    .link-status-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      flex-shrink: 0;
    }
    .link-status-dot.online {
      background: #28a745;
      box-shadow: 0 0 6px rgba(40,167,69,0.5);
    }
    .link-status-dot.offline {
      background: #dc3545;
    }
    .link-status-dot.warning {
      background: #ffc107;
    }
    .link-status-name {
      font-weight: 600;
      color: #333;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      flex: 1;
    }
    .link-status-text {
      font-size: 0.65rem;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 20px;
      text-transform: uppercase;
    }

    /* Modern Info Panel */
    #map-info-panel {
      right: 15px;
      bottom: 25px;
      background: white;
      border-radius: 16px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
      padding: 0;
      min-width: 180px;
      overflow: hidden;
    }
    #map-info-panel .info-header {
      background: linear-gradient(135deg, #1e3c72, #2a5298);
      color: white;
      padding: 12px 16px;
      font-weight: 700;
      font-size: 0.85rem;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    #map-info-panel .info-body {
      padding: 12px 16px;
    }
    #map-info-panel h6 {
      font-size: 0.75rem;
      font-weight: 700;
      color: #6c757d;
      margin-bottom: 10px;
    }
    .map-info-row {
      display: flex;
      justify-content: space-between;
      font-size: 0.82rem;
      margin-bottom: 6px;
      align-items: center;
    }
    .map-info-row span:first-child {
      color: #6c757d;
    }
    .map-info-row span:last-child {
      font-weight: 700;
    }

    /* Modern Legend */
    .map-legend {
      top: 15px;
      left: 290px;
      background: white;
      padding: 12px 16px;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    .map-legend h6 {
      font-size: 0.8rem;
      font-weight: 700;
      color: #1e3c72;
      margin-bottom: 10px;
    }
    .legend-item {
      gap: 10px;
      margin-bottom: 7px;
      font-size: 0.78rem;
    }
    .legend-dot {
      width: 10px;
      height: 10px;
    }

    /* Modern Detail Panel */
    #detail-panel {
      top: 15px;
      right: 15px;
      width: 360px;
      background: white;
      border-radius: 16px;
      box-shadow: 0 8px 30px rgba(0,0,0,0.15);
      max-height: calc(100% - 30px);
      overflow: hidden;
    }
    #detail-panel .panel-header {
      padding: 16px 18px;
      background: linear-gradient(135deg, #1e3c72, #2a5298);
      position: relative;
    }
    #detail-panel .panel-header h5 {
      font-size: 1rem;
      font-weight: 600;
    }
    #detail-panel .panel-body {
      padding: 18px;
    }
    #detail-panel .detail-row {
      padding: 10px 0;
      font-size: 0.85rem;
    }
    #detail-panel .detail-label {
      font-size: 0.75rem;
      color: #6c757d;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.3px;
    }
    #detail-panel .detail-value {
      font-size: 0.95rem;
    }

    /* Context Menu */
    .map-context-menu {
      border-radius: 12px;
      box-shadow: 0 8px 30px rgba(0,0,0,0.15);
      border: none;
      overflow: hidden;
    }
    .map-context-menu-header {
      background: #f8f9fa;
      color: #1e3c72;
      padding: 10px 16px;
    }
    .map-context-menu-item {
      padding: 10px 16px;
      font-size: 0.85rem;
    }

    /* Loading overlay */
    #map-loading { position: absolute; inset: 0; background: rgba(255,255,255,0.9); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 20; border-radius: 8px; }
    


    /* Flow animation on green lines */
    @keyframes flowDash {
      to { stroke-dashoffset: -40; }
    }
    .link-flow-normal {
      animation: flowDash 0.8s linear infinite;
    }
    
    /* ONT Markers */
    .ont-marker-wrap {
      position: relative;
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .ont-marker-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      border: 2px solid #fff;
      box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    }
    .ont-online { background: #28a745; }
    .ont-offline { background: #dc3545; }
    .ont-label {
      background: rgba(255,255,255,0.9);
      padding: 1px 6px;
      border-radius: 10px;
      font-size: 9px;
      font-weight: 600;
      white-space: nowrap;
      box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    }
    
    /* Toast notification for broken links */
    .network-toast {
      position: absolute;
      top: 15px;
      right: 15px;
      z-index: 2000;
      max-width: 320px;
    }
    .network-toast-item {
      background: #fff;
      border-radius: 8px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.15);
      padding: 12px 15px;
      margin-bottom: 10px;
      border-left: 4px solid #dc3545;
      animation: slideInToast 0.3s ease;
    }
    .network-toast-item.warning { border-left-color: #ffc107; }
    .network-toast-item.success { border-left-color: #28a745; }
    @keyframes slideInToast {
      from { transform: translateX(100%); opacity: 0; }
      to { transform: translateX(0); opacity: 1; }
    }
    .toast-title { font-weight: 700; font-size: 13px; margin-bottom: 4px; color: #333; }
    .toast-body { font-size: 12px; color: #666; }
    .toast-close { float: right; background: none; border: none; color: #999; cursor: pointer; font-size: 14px; }
    
    /* Sidebar Filter Controls */
    .sidebar-filter {
      padding: 12px;
      border-bottom: 1px solid #e9ecef;
      background: #f8f9fa;
    }
    .sidebar-search {
      position: relative;
      margin-bottom: 10px;
    }
    .sidebar-search input {
      width: 100%;
      padding: 8px 12px 8px 32px;
      border: 1px solid #e0e0e0;
      border-radius: 10px;
      font-size: 0.82rem;
      font-family: inherit;
      transition: all 0.2s;
    }
    .sidebar-search input:focus {
      outline: none;
      border-color: #1e3c72;
      box-shadow: 0 0 0 3px rgba(30,60,114,0.08);
    }
    .sidebar-search i {
      position: absolute;
      left: 11px;
      top: 50%;
      transform: translateY(-50%);
      color: #adb5bd;
      font-size: 0.8rem;
    }
    .sidebar-filter-row {
      display: flex;
      gap: 8px;
    }
    .sidebar-filter-row select {
      flex: 1;
      padding: 7px 10px;
      border: 1px solid #e0e0e0;
      border-radius: 8px;
      font-size: 0.78rem;
      font-family: inherit;
      background: white;
      color: #495057;
      cursor: pointer;
    }
    .sidebar-filter-row select:focus {
      outline: none;
      border-color: #1e3c72;
    }
    .filter-status-group {
      display: flex;
      gap: 4px;
      margin-top: 8px;
    }
    .filter-status-btn {
      flex: 1;
      padding: 5px 8px;
      border: 1px solid #e0e0e0;
      background: white;
      border-radius: 8px;
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      cursor: pointer;
      transition: all 0.2s;
      color: #6c757d;
    }
    .filter-status-btn:hover {
      background: #f0f4ff;
    }
    .filter-status-btn.active {
      background: #1e3c72;
      color: white;
      border-color: #1e3c72;
    }
    .sidebar-empty {
      text-align: center;
      padding: 20px 10px;
      color: #adb5bd;
      font-size: 0.82rem;
    }
    .sidebar-empty i {
      font-size: 1.5rem;
      margin-bottom: 8px;
      display: block;
    }
    .sidebar-count {
      font-size: 0.7rem;
      color: #6c757d;
      margin-top: 2px;
      font-weight: 600;
    }

    /* Context Menu */
    .map-context-menu {
      position: fixed;
      background: #fff;
      border-radius: 8px;
      box-shadow: 0 4px 16px rgba(0,0,0,0.15);
      padding: 6px 0;
      min-width: 180px;
      z-index: 9999;
      font-size: 13px;
      display: none;
      border: 1px solid #e0e0e0;
    }
    .map-context-menu.show { display: block; }
    .map-context-menu-header {
      padding: 8px 14px;
      font-weight: 700;
      color: #1e3c72;
      border-bottom: 1px solid #eee;
      font-size: 12px;
      text-transform: uppercase;
    }
    .map-context-menu-item {
      padding: 8px 14px;
      cursor: pointer;
      transition: background 0.15s;
      display: flex;
      align-items: center;
      gap: 8px;
      color: #333;
    }
    .map-context-menu-item:hover { background: #f0f4ff; }
    .map-context-menu-item i { width: 16px; text-align: center; color: #1e3c72; }
    .map-context-menu-divider {
      height: 1px;
      background: #eee;
      margin: 4px 0;
    }
    
    /* Modal Form */
    .nm-modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.45);
      z-index: 10000;
      display: none;
      align-items: center;
      justify-content: center;
    }
    .nm-modal-overlay.show { display: flex; }
    .nm-modal {
      background: #fff;
      border-radius: 10px;
      width: 480px;
      max-width: 94vw;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    }
    .nm-modal-header {
      padding: 16px 20px;
      border-bottom: 1px solid #eee;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .nm-modal-header h5 { margin: 0; font-size: 16px; font-weight: 700; color: #1e3c72; }
    .nm-modal-body { padding: 16px 20px; }
    .nm-modal-footer {
      padding: 12px 20px 16px;
      display: flex;
      justify-content: flex-end;
      gap: 8px;
      border-top: 1px solid #eee;
    }
    .nm-form-group { margin-bottom: 12px; }
    .nm-form-group label { display: block; font-size: 12px; font-weight: 600; color: #555; margin-bottom: 4px; }
    .nm-form-group input, .nm-form-group select, .nm-form-group textarea {
      width: 100%;
      padding: 7px 10px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 13px;
      font-family: inherit;
    }
    .nm-form-row { display: flex; gap: 10px; }
    .nm-form-row .nm-form-group { flex: 1; }
    .nm-form-group input:focus, .nm-form-group select:focus, .nm-form-group textarea:focus {
      outline: none;
      border-color: #1e3c72;
    }
    
    /* ONT Detail Popup - Modern */
    .ont-detail-popup { font-family: 'Source Sans Pro', sans-serif; min-width: 300px; max-width: 340px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
    .ont-detail-header {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      padding: 14px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: #fff;
    }
    .ont-detail-header-left { display: flex; align-items: center; gap: 10px; }
    .ont-detail-header .ont-icon { width: 36px; height: 36px; background: rgba(255,255,255,0.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
    .ont-detail-header .ont-title { font-weight: 700; font-size: 14px; line-height: 1.2; }
    .ont-detail-header .ont-status { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; background: rgba(255,255,255,0.25); padding: 3px 10px; border-radius: 20px; margin-top: 4px; }
    .ont-status.online { background: rgba(76,175,80,0.3) !important; }
    .ont-status.offline { background: rgba(244,67,54,0.3) !important; }
    .ont-detail-close { background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
    .ont-detail-close:hover { background: rgba(255,255,255,0.2); }
    .ont-detail-body { padding: 14px 16px; }
    .ont-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
    .ont-d-item { display: flex; align-items: flex-start; gap: 8px; }
    .ont-d-item i { font-size: 14px; color: #667eea; margin-top: 2px; width: 16px; text-align: center; }
    .ont-d-item-text { display: flex; flex-direction: column; }
    .ont-d-item-label { font-size: 11px; color: #888; line-height: 1; }
    .ont-d-item-val { font-size: 13px; font-weight: 600; color: #333; margin-top: 2px; }
    .ont-detail-divider { height: 1px; background: #f0f0f0; margin: 12px 0; }
    .ont-detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
    .ont-detail-actions button { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border: none; border-radius: 10px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
    .ont-btn-reboot { background: #ffebee; color: #e53935; }
    .ont-btn-reboot:hover { background: #ffcdd2; }
    .ont-btn-ping { background: #e3f2fd; color: #1976d2; }
    .ont-btn-ping:hover { background: #bbdefb; }
    .ont-traffic-mini { background: #f1f8e9; border-radius: 12px; padding: 12px; margin-bottom: 14px; }
    .ont-traffic-label { font-size: 11px; font-weight: 600; color: #558b2f; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
    .ont-traffic-legend { display: flex; gap: 12px; font-size: 10px; margin-bottom: 6px; }
    .ont-traffic-legend span { display: flex; align-items: center; gap: 4px; }
    .ont-traffic-legend .rx-dot { width: 8px; height: 8px; border-radius: 50%; background: #66bb6a; }
    .ont-traffic-legend .tx-dot { width: 8px; height: 8px; border-radius: 50%; background: #42a5f5; }
    .ont-traffic-chart { height: 50px; }
    .ont-traffic-chart svg { width: 100%; height: 100%; }
    .ont-unmap-btn { width: 100%; padding: 10px; border: 1px solid #e53935; color: #e53935; background: #fff; border-radius: 10px; font-size: 12px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 12px; }
    .ont-unmap-btn:hover { background: #ffebee; }
    .ont-detail-footer { text-align: center; font-size: 11px; color: #888; }
    .ont-detail-footer .status-ok { color: #43a047; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 4px; margin-bottom: 6px; }
    .ont-detail-footer .meta { display: flex; justify-content: space-between; font-size: 10px; color: #aaa; margin-top: 6px; }

    /* Modern ONT Dashboard Popup (inside modal) */
    .ont-dashboard-popup { font-family: 'Inter', system-ui, -apple-system, sans-serif; background: #f8fafc; display: flex; flex-direction: column; min-height: 0; }
    .ont-popup-tabs { display: flex; background: #fff; border-bottom: 1px solid #e2e8f0; }
    .ont-popup-tab { flex: 1; background: none; border: none; padding: 10px 4px; font-size: 11px; font-weight: 600; color: #64748b; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 5px; border-bottom: 2px solid transparent; transition: all .15s; }
    .ont-popup-tab:hover { color: #3b82f6; }
    .ont-popup-tab.active { color: #3b82f6; border-bottom-color: #3b82f6; }
    .ont-popup-body { padding: 12px 14px; flex: 1; min-height: 0; }
    .ont-popup-section-title { font-size: 11px; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: .03em; margin: 14px 0 8px; }
    .ont-popup-section-title:first-child { margin-top: 0; }
    .ont-popup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .ont-popup-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 8px; }
    .ont-popup-card-label { font-size: 10px; color: #64748b; margin-bottom: 2px; }
    .ont-popup-card-value { font-size: 12px; font-weight: 700; color: #0f172a; word-break: break-word; }
    .ont-popup-list { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 8px 10px; font-size: 12px; color: #334155; line-height: 1.6; }
    .ont-popup-list a { color: #3b82f6; text-decoration: none; }
    .ont-popup-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px; border-top: 1px solid #e2e8f0; background: #fff; flex-shrink: 0; }
    .ont-popup-actions button { flex: 1; min-width: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 7px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; cursor: pointer; border: none; }
    .ont-popup-actions .btn-refresh { background: #fff; color: #475569; border: 1px solid #e2e8f0; }
    .ont-popup-actions .btn-ping { background: #10b981; color: #fff; }
    .ont-popup-actions .btn-copy { background: #fff; color: #475569; border: 1px solid #e2e8f0; }
    .ont-popup-actions .btn-edit { background: #3b82f6; color: #fff; }
    .ont-popup-actions .btn-reboot { background: #f59e0b; color: #fff; }
    .ont-popup-actions .btn-delete { background: #ef4444; color: #fff; }
    .ont-popup-actions .btn-disconnect { background: #f97316; color: #fff; }
    .ont-popup-actions .btn-reconnect { background: #10b981; color: #fff; }
    .ont-popup-actions .btn-disconnect:hover { background: #ea580c; }
    .ont-popup-actions .btn-reconnect:hover { background: #059669; }
    .ont-popup-actions .btn-refresh:hover, .ont-popup-actions .btn-copy:hover { background: #f1f5f9; }
    .ont-popup-actions .btn-ping:hover { background: #059669; }
    .ont-popup-actions .btn-edit:hover { background: #2563eb; }
    .ont-popup-actions .btn-reboot:hover { background: #d97706; }
    .ont-popup-actions .btn-delete:hover { background: #dc2626; }
    .ont-popup-actions button i { font-size: 11px; }

    /* Edit ONT Swal form */
    .swal-edit-form { text-align: left; font-family: 'Inter', system-ui, -apple-system, sans-serif; }
    .swal-edit-section { font-size: 12px; font-weight: 700; color: #1e293b; margin: 16px 0 10px; border-bottom: 1px solid #e2e8f0; padding-bottom: 4px; }
    .swal-edit-section:first-child { margin-top: 0; }
    .swal-edit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
    .swal-edit-field { display: flex; flex-direction: column; }
    .swal-edit-field.full { grid-column: 1 / -1; }
    .swal-edit-label { font-size: 11px; font-weight: 600; color: #475569; margin-bottom: 4px; }
    .swal-edit-form .swal2-input,
    .swal-edit-form .swal2-textarea,
    .swal-edit-form select { margin: 0 !important; width: 100% !important; box-sizing: border-box; font-size: 13px; }
    .swal-edit-form .swal2-textarea { min-height: 60px; }
    .swal-edit-form #swal-sn-search { margin-bottom: 6px !important; }
    .swal-edit-form #swal-sn { height: 130px; padding: 4px; }
    .swal-edit-form #swal-sn-count { font-size: 11px; color: #64748b; text-align: right; margin-top: 4px; }

    /* List View */
    #list-view-panel { background:#fff; min-height:500px; padding:16px; }
    .list-view-header { display:flex; gap:12px; margin-bottom:16px; flex-wrap:wrap; align-items:center; }
    .list-view-search { position:relative; flex:1; min-width:220px; }
    .list-view-search i { position:absolute; left:12px; top:50%; transform:translateY(-50%); color:#888; }
    .list-view-search input { width:100%; padding:8px 12px 8px 36px; border:1px solid #ddd; border-radius:8px; font-size:13px; }
    .list-view-filter { padding:8px 12px; border:1px solid #ddd; border-radius:8px; font-size:13px; min-width:140px; }
    .list-view-table { width:100%; border-collapse:collapse; font-size:13px; }
    .list-view-table th { background:#f8f9fa; padding:12px; text-align:left; font-weight:700; color:#495057; border-bottom:2px solid #dee2e6; white-space:nowrap; }
    .list-view-table td { padding:12px; border-bottom:1px solid #eef2f7; vertical-align:top; }
    .list-view-table tr:hover { background:#f8fafc; }
    .list-type-badge { display:inline-block; padding:4px 10px; border-radius:12px; font-size:11px; font-weight:700; color:#fff; text-transform:uppercase; }
    .list-type-odc { background:#8e24aa; }
    .list-type-odp { background:#ff9800; }
    .list-type-ont { background:#10b981; }
    .list-type-olt { background:#6c757d; }
    .list-type-server { background:#1e3c72; }
    .list-status { display:inline-block; padding:3px 10px; border-radius:12px; font-size:12px; font-weight:600; }
    .list-status-online, .list-status-active { background:#d1fae5; color:#065f46; }
    .list-status-offline { background:#fee2e2; color:#991b1b; }
    .list-status-unknown { background:#f3f4f6; color:#4b5563; }
    .list-progress-wrap { display:flex; align-items:center; gap:8px; min-width:140px; }
    .list-progress { flex:1; height:8px; background:#e9ecef; border-radius:4px; overflow:hidden; }
    .list-progress-bar { width:100%; height:100%; border:none; background:#e9ecef; border-radius:4px; -webkit-appearance:none; appearance:none; }
    .list-progress-bar::-webkit-progress-bar { background:#e9ecef; border-radius:4px; }
    .list-progress-bar::-webkit-progress-value { background:#22c55e; border-radius:4px; transition:width 0.3s; }
    .list-progress-bar::-moz-progress-bar { background:#22c55e; border-radius:4px; }
    .list-progress-bar.full::-webkit-progress-value { background:#ef4444; }
    .list-progress-bar.full::-moz-progress-bar { background:#ef4444; }
    .list-progress-bar.warn::-webkit-progress-value { background:#f59e0b; }
    .list-progress-bar.warn::-moz-progress-bar { background:#f59e0b; }
    .list-progress-text { font-size:11px; color:#6c757d; white-space:nowrap; }
    .list-customers { font-size:12px; color:#495057; max-width:320px; line-height:1.4; }
    .list-empty { text-align:center; padding:40px 20px; color:#888; }
    /* Map Picker Overlay */
    .nm-map-picker-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 11000; display: none; align-items: center; justify-content: center; }
    .nm-map-picker-overlay.show { display: flex; }
    .nm-map-picker { background: #fff; border-radius: 10px; width: 90vw; max-width: 900px; height: 80vh; max-height: 700px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.25); }
    .nm-map-picker-header { padding: 12px 16px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; background: #1e3a5f; color: #fff; }
    .nm-map-picker-header h5 { margin: 0; font-size: 16px; }
    .nm-map-picker-body { flex: 1; position: relative; min-height: 0; }
    #nm-map-picker-container { width: 100%; height: 100%; }
    .nm-map-picker-toolbar { padding: 10px 16px; border-top: 1px solid #eee; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; background: #f8f9fa; }
    .nm-map-picker-coords { margin-left: auto; font-size: 12px; color: #555; font-weight: 500; }
  

/* === CSP Refactor: class replacements for former inline styles === */

.text-primary-dark { color: #1e3c72; }
.cursor-pointer { cursor: pointer; }

.stat-icon-server { background: #e3f2fd; color: #1e3c72; }
.stat-icon-olt    { background: #e8f5e9; color: #28a745; }
.stat-icon-pon    { background: #fff3e0; color: #ff9800; }
.stat-icon-ont    { background: #fce4ec; color: #e91e63; }

.toolbar-icon-server { color: #1e3c72; }
.toolbar-icon-odc    { color: #8e24aa; }
.toolbar-icon-odp    { color: #ff9800; }
.toolbar-icon-ont    { color: #10b981; }
.toolbar-icon-fiber  { color: #6f42c1; }

.legend-dot-core    { border-color: #1e3c72; background: #e3f2fd; }
.legend-dot-online  { border-color: #28a745; background: #e8f5e9; }
.legend-dot-offline { border-color: #dc3545; background: #ffebee; }
.legend-dot-olt     { border-color: #ff9800; background: #fff3e0; }
.legend-dot-ont     { border-color: #9c27b0; background: #f3e5f5; }

.detail-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.list-info-text {
  font-size: 13px;
  color: #495057;
  font-weight: 600;
}

/* ONT detail modal */
.ont-detail-modal-overlay { z-index: 1050; }
.ont-detail-modal {
  width: 460px;
  max-width: 94vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.ont-detail-header {
  flex-shrink: 0;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
  border-bottom: none;
}
.ont-detail-title { color: #fff; }
.ont-detail-body {
  overflow-y: auto;
  flex: 1;
  padding: 0;
  background: #f8fafc;
}
.ont-detail-close-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

/* Map picker modal */
.map-picker-close {
  background: none;
  border: none;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}
.map-picker-search {
  flex: 1;
  min-width: 140px;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 13px;
}

/* Fiber draw/edit bottom panels */
.fiber-bottom-panel {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  padding: 12px 18px;
  gap: 12px;
  align-items: center;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 13px;
}
.fiber-panel-hint {
  font-weight: 600;
  color: #333;
}
.fiber-panel-icon {
  color: #6f42c1;
  margin-right: 6px;
}
.fiber-edit-distance {
  font-size: 12px;
  color: #555;
  background: #f0f0f0;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
}

/* Fiber tooltip (moved from dynamic <style>) */
.fiber-tooltip {
  background: rgba(0,0,0,0.8);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.fiber-tooltip:before { border-top-color: rgba(0,0,0,0.8); }

/* Generic hidden utility for JS toggles */
.hidden { display: none !important; }

.nm-modal-close-btn {
  background: none;
  border: none;
  font-size: 18px;
  color: #999;
  cursor: pointer;
}

/* ODP port panel (replaces dynamic inline styles) */
.odp-port-cell {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
}
.odp-port-cell.empty { background: #f9fafb; border-color: #e5e7eb; color: #9ca3af; }
.odp-port-cell.online { background: #22c55e; border-color: #16a34a; color: #fff; }
.odp-port-cell.offline { background: #ef4444; border-color: #dc2626; color: #fff; }
