[x-cloak] { display: none !important; }
    #map {
      height: calc(100vh - 225px);
      min-height: 620px;
      width: 100%;
      border-radius: 0.75rem;
      z-index: 10;
      position: relative;
    }
    @media (max-width: 640px) {
      #map {
        height: calc(100vh - 270px) !important;
        min-height: 440px !important;
      }
    }

    /* FiberGrid Fullscreen GIS Map Edge-to-Edge */
    .fibergrid-map-fullscreen-active {
      position: fixed !important;
      inset: 0 !important;
      width: 100vw !important;
      height: 100vh !important;
      z-index: 99999 !important;
      background: #020617 !important;
      padding: 0.65rem 0.85rem !important;
      margin: 0 !important;
      display: flex !important;
      flex-direction: column !important;
      box-sizing: border-box !important;
      gap: 0.5rem !important;
      overflow: hidden !important;
    }

    .fibergrid-map-fullscreen-active > div:first-child {
      background: rgba(15, 23, 42, 0.92) !important;
      backdrop-filter: blur(12px) !important;
      padding: 0.45rem 0.85rem !important;
      border-radius: 0.75rem !important;
      border: 1px solid rgba(51, 65, 85, 0.8) !important;
      box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important;
      flex-shrink: 0 !important;
      z-index: 20 !important;
    }

    .fibergrid-map-fullscreen-active > div:first-child h2 {
      color: #f8fafc !important;
      font-size: 0.95rem !important;
    }

    .fibergrid-map-fullscreen-active > div:first-child p {
      color: #94a3b8 !important;
    }

    .fibergrid-map-fullscreen-active .map-card-wrapper {
      flex: 1 1 0% !important;
      min-height: 0 !important;
      height: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      border-radius: 0.75rem !important;
      overflow: hidden !important;
      display: flex !important;
      flex-direction: column !important;
      border: 1px solid rgba(30, 41, 59, 0.9) !important;
      background: #020617 !important;
    }

    .fibergrid-map-fullscreen-active #map {
      flex: 1 1 0% !important;
      height: 100% !important;
      min-height: 100% !important;
      border-radius: 0.75rem !important;
    }

    .fibergrid-map-fullscreen-active .map-legend-bar {
      flex-shrink: 0 !important;
      background: rgba(15, 23, 42, 0.92) !important;
      backdrop-filter: blur(12px) !important;
      border: 1px solid rgba(51, 65, 85, 0.8) !important;
      padding: 0.35rem 0.85rem !important;
      border-radius: 0.75rem !important;
      z-index: 20 !important;
    }

    /* Google Maps Clean Presentation: Eliminate dev watermarks, modals, and gray overlays */
    .gm-err-container,
    .gm-err-content,
    #map .gm-err-container,
    #map .gm-err-content,
    #map .gm-err-autocomplete,
    #map div[style*="rgba(0, 0, 0, 0.3)"],
    #map div[style*="rgba(0, 0, 0, 0.4)"],
    #map div[style*="rgba(0, 0, 0, 0.5)"],
    #map div[style*="rgba(0, 0, 0, 0.6)"],
    #map div[style*="z-index: 1000001"],
    #map div[style*="z-index: 1000000"],
    #map .dismissButton {
      display: none !important;
      opacity: 0 !important;
      pointer-events: none !important;
      visibility: hidden !important;
    }
    #map .gm-style > div:first-child {
      filter: none !important;
    }
    #map div[style*="filter: grayscale"],
    #map div[style*="filter: blur"] {
      filter: none !important;
    }
    #map div[style*="opacity: 0.5"],
    #map div[style*="opacity: 0.6"],
    #map div[style*="opacity: 0.7"] {
      opacity: 1 !important;
    }

    /* Carrier-Grade Static Status (Zero Pulse Policy) */
    .live-pulse { opacity: 1; }

    .waypoint-handle {
      background: #f59e0b;
      border: 2px solid #ffffff;
      border-radius: 50%;
      box-shadow: 0 0 12px rgba(245, 158, 11, 0.9);
      cursor: grab;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 8px;
      font-weight: 900;
      color: #0f172a;
      transition: transform 0.1s ease;
    }
    .waypoint-handle:hover {
      transform: scale(1.25);
      background: #fbbf24;
      box-shadow: 0 0 16px rgba(251, 191, 36, 1);
    }

    .custom-scrollbar::-webkit-scrollbar { width: 5px; height: 5px; }
    .custom-scrollbar::-webkit-scrollbar-track { background: #f1f5f9; }
    .custom-scrollbar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
    .custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

    .scrollbar-none::-webkit-scrollbar, .no-scrollbar::-webkit-scrollbar {
      display: none !important;
      width: 0 !important;
      height: 0 !important;
    }
    .scrollbar-none, .no-scrollbar {
      -ms-overflow-style: none !important;
      scrollbar-width: none !important;
    }

    /* --- THEME LAYER: Light / Dark dual mode (Linear Telco) --- */
    html { color-scheme: light; }
    html.dark { color-scheme: dark; background: #020617 !important; color: #e2e8f0; }
    html:not(.dark) { background: #eef2f7; }
    html:not(.dark) body { background: #eef2f7; }
    html.dark body, html.dark body.bg-slate-50 { background: transparent !important; color: #e2e8f0; }
    html.dark body::before {
      content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
      background:
        radial-gradient(640px 640px at -4% -6%, rgba(8,145,178,.22), transparent 70%),
        radial-gradient(640px 640px at 104% 50%, rgba(37,99,235,.16), transparent 70%),
        radial-gradient(640px 640px at 25% 108%, rgba(99,102,241,.16), transparent 70%),
        linear-gradient(135deg, #020617 0%, #0b1220 55%, rgba(8,51,68,.45) 100%);
    }
    html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
      transition: background-color .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease !important;
    }
    html.dark ::placeholder { color: #64748b !important; opacity: 1; }
    html.dark input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]), html.dark select, html.dark textarea { background-color: #0b1424; color: #f1f5f9; }
    html.dark select option, html.dark select optgroup { background: #0f172a; color: #e2e8f0; }
    html.dark .custom-scrollbar::-webkit-scrollbar-track { background: #0b1220; }
    html.dark .custom-scrollbar::-webkit-scrollbar-thumb { background: #334155; }
    html.dark .custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #475569; }
    html.dark ::selection { background: rgba(6,182,212,.45); color: #fff; }
    html.dark .shadow-2xs, html.dark .shadow-sm, html.dark .shadow-xs { box-shadow: 0 1px 2px rgba(0,0,0,.45); }
    html.dark .shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,.75); }
    html.dark #map { box-shadow: 0 0 0 1px #263449; }

    /* ---- Light mode: stronger card / text contrast ---- */
    html:not(.dark) .border-slate-200 { border-color: #d6deea; }
    html:not(.dark) .border-slate-200\/90, html:not(.dark) .border-slate-200\/80 { border-color: #d6deea; }
    html:not(.dark) .bg-white .text-slate-400, html:not(.dark) .bg-slate-50 .text-slate-400,
    html:not(.dark) .bg-white.text-slate-400 { color: #64748b; }
    html:not(.dark) .text-slate-500 { color: #55657b; }
    html:not(.dark) .bg-white { box-shadow: 0 0 0 0 transparent; }

    html.dark .bg-gradient-to-br.from-indigo-50\/70 {
      background-image: linear-gradient(to bottom right, rgba(15,23,42,0.95), rgba(15,23,42,0.8), rgba(8,47,73,0.4)) !important;
      border-color: #1e293b !important;
    }
    html.dark .bg-white { background-color: #0f172a; }
    html.dark .bg-white\/95 { background-color: rgba(15,23,42,.95); }
    html.dark .bg-white\/90 { background-color: rgba(15,23,42,.9); }
    html.dark .bg-white\/80 { background-color: rgba(15,23,42,.8); }
    html.dark .bg-slate-50 { background-color: #0b1424; }
    html.dark .bg-slate-50\/50 { background-color: rgba(11,20,36,0.5); }
    html.dark .bg-slate-50\/60 { background-color: rgba(11,20,36,0.6); }
    html.dark .bg-slate-50\/70 { background-color: rgba(11,20,36,0.7); }
    html.dark .bg-slate-50\/80 { background-color: rgba(11,20,36,0.8); }
    html.dark .bg-slate-50\/85 { background-color: rgba(11,20,36,0.85); }
    html.dark .bg-slate-50\/90 { background-color: rgba(11,20,36,0.9); }
    html.dark .bg-slate-50\/95 { background-color: rgba(11,20,36,0.95); }
    html.dark .bg-slate-100 { background-color: #1a2437; }
    html.dark .bg-slate-200 { background-color: #2b3a52; }
    html.dark .bg-slate-300 { background-color: #3b4b66; }
    html.dark .bg-slate-800 { background-color: #1e293b; }
    html.dark .bg-slate-900 { background-color: #060d1c; }
    html.dark .hover\:bg-white:hover { background-color: #162033; }
    html.dark .hover\:bg-slate-50:hover { background-color: #131d31; }
    html.dark .hover\:bg-slate-100:hover { background-color: #1f2b42; }
    html.dark .hover\:bg-slate-200:hover { background-color: #2b3a52; }
    html.dark .hover\:bg-slate-200\/80:hover { background-color: rgba(43,58,82,.8); }
    html.dark .text-slate-900 { color: #f8fafc; }
    html.dark .text-slate-950 { color: #f8fafc; }
    html.dark .text-slate-800 { color: #f1f5f9; }
    html.dark .text-slate-700 { color: #e2e8f0; }
    html.dark .text-slate-600 { color: #cbd5e1; }
    html.dark .text-slate-500 { color: #94a3b8; }
    html.dark .text-slate-400 { color: #7b8aa3; }
    html.dark .hover\:text-slate-900:hover, html.dark .hover\:text-slate-800:hover { color: #ffffff; }
    html.dark .hover\:text-slate-700:hover { color: #f1f5f9; }
    html.dark .border-slate-100 { border-color: #1a2437; }
    html.dark .divide-slate-100 > :not([hidden]) ~ :not([hidden]) { border-color: #1a2437; }
    html.dark .border-slate-200 { border-color: #26354d; }
    html.dark .divide-slate-200 > :not([hidden]) ~ :not([hidden]) { border-color: #26354d; }
    html.dark .border-slate-300 { border-color: #334862; }
    html.dark .divide-slate-300 > :not([hidden]) ~ :not([hidden]) { border-color: #334862; }
    html.dark .border-slate-200\/90 { border-color: #26354d; }
    html.dark .border-slate-300\/90 { border-color: #334862; }
    html.dark .divide-slate-200\/90 > :not([hidden]) ~ :not([hidden]) { border-color: #26354d; }
    html.dark .border-slate-200\/80 { border-color: #26354d; }
    html.dark .border-slate-300\/80 { border-color: #334862; }
    html.dark .divide-slate-200\/80 > :not([hidden]) ~ :not([hidden]) { border-color: #26354d; }
    html.dark .border-slate-200\/60 { border-color: #26354d; }
    html.dark .border-slate-300\/60 { border-color: #334862; }
    html.dark .divide-slate-200\/60 > :not([hidden]) ~ :not([hidden]) { border-color: #26354d; }
    html.dark .border-white { border-color: #26354d; }
    html.dark .hover\:border-sky-300:hover { border-color: rgba(14,165,233,.55); }
    html.dark .bg-sky-50 { background-color: rgba(14,165,233,.11); }
    html.dark .bg-sky-100 { background-color: rgba(14,165,233,.18); }
    html.dark .hover\:bg-sky-50:hover { background-color: rgba(14,165,233,.18); }
    html.dark .hover\:bg-sky-100:hover { background-color: rgba(14,165,233,.26); }
    html.dark .bg-sky-950\/70 { background-color: rgba(14,165,233,.12); }
    html.dark .text-sky-600, html.dark .text-sky-700 { color: #38bdf8; }
    html.dark .text-sky-800, html.dark .text-sky-900 { color: #7dd3fc; }
    html.dark .hover\:text-sky-600:hover, html.dark .hover\:text-sky-700:hover { color: #7dd3fc; }
    html.dark .border-sky-100, html.dark .border-sky-200 { border-color: rgba(14,165,233,.28); }
    html.dark .border-sky-300 { border-color: rgba(14,165,233,.42); }
    html.dark .hover\:border-sky-300:hover { border-color: rgba(14,165,233,.6); }
    html.dark .bg-blue-50 { background-color: rgba(59,130,246,.11); }
    html.dark .bg-blue-100 { background-color: rgba(59,130,246,.18); }
    html.dark .hover\:bg-blue-50:hover { background-color: rgba(59,130,246,.18); }
    html.dark .hover\:bg-blue-100:hover { background-color: rgba(59,130,246,.26); }
    html.dark .bg-blue-950\/70 { background-color: rgba(59,130,246,.12); }
    html.dark .text-blue-600, html.dark .text-blue-700 { color: #60a5fa; }
    html.dark .text-blue-800, html.dark .text-blue-900 { color: #93c5fd; }
    html.dark .hover\:text-blue-600:hover, html.dark .hover\:text-blue-700:hover { color: #93c5fd; }
    html.dark .border-blue-100, html.dark .border-blue-200 { border-color: rgba(59,130,246,.28); }
    html.dark .border-blue-300 { border-color: rgba(59,130,246,.42); }
    html.dark .hover\:border-blue-300:hover { border-color: rgba(59,130,246,.6); }
    html.dark .bg-indigo-50 { background-color: rgba(99,102,241,.11); }
    html.dark .bg-indigo-100 { background-color: rgba(99,102,241,.18); }
    html.dark .hover\:bg-indigo-50:hover { background-color: rgba(99,102,241,.18); }
    html.dark .hover\:bg-indigo-100:hover { background-color: rgba(99,102,241,.26); }
    html.dark .bg-indigo-950\/70 { background-color: rgba(99,102,241,.12); }
    html.dark .text-indigo-600, html.dark .text-indigo-700 { color: #818cf8; }
    html.dark .text-indigo-800, html.dark .text-indigo-900 { color: #a5b4fc; }
    html.dark .hover\:text-indigo-600:hover, html.dark .hover\:text-indigo-700:hover { color: #a5b4fc; }
    html.dark .border-indigo-100, html.dark .border-indigo-200 { border-color: rgba(99,102,241,.28); }
    html.dark .border-indigo-300 { border-color: rgba(99,102,241,.42); }
    html.dark .hover\:border-indigo-300:hover { border-color: rgba(99,102,241,.6); }
    html.dark .bg-purple-50 { background-color: rgba(168,85,247,.11); }
    html.dark .bg-purple-100 { background-color: rgba(168,85,247,.18); }
    html.dark .hover\:bg-purple-50:hover { background-color: rgba(168,85,247,.18); }
    html.dark .hover\:bg-purple-100:hover { background-color: rgba(168,85,247,.26); }
    html.dark .bg-purple-950\/70 { background-color: rgba(168,85,247,.12); }
    html.dark .text-purple-600, html.dark .text-purple-700 { color: #c084fc; }
    html.dark .text-purple-800, html.dark .text-purple-900 { color: #d8b4fe; }
    html.dark .hover\:text-purple-600:hover, html.dark .hover\:text-purple-700:hover { color: #d8b4fe; }
    html.dark .border-purple-100, html.dark .border-purple-200 { border-color: rgba(168,85,247,.28); }
    html.dark .border-purple-300 { border-color: rgba(168,85,247,.42); }
    html.dark .hover\:border-purple-300:hover { border-color: rgba(168,85,247,.6); }
    html.dark .bg-violet-50 { background-color: rgba(139,92,246,.11); }
    html.dark .bg-violet-100 { background-color: rgba(139,92,246,.18); }
    html.dark .hover\:bg-violet-50:hover { background-color: rgba(139,92,246,.18); }
    html.dark .hover\:bg-violet-100:hover { background-color: rgba(139,92,246,.26); }
    html.dark .bg-violet-950\/70 { background-color: rgba(139,92,246,.12); }
    html.dark .text-violet-600, html.dark .text-violet-700 { color: #a78bfa; }
    html.dark .text-violet-800, html.dark .text-violet-900 { color: #c4b5fd; }
    html.dark .hover\:text-violet-600:hover, html.dark .hover\:text-violet-700:hover { color: #c4b5fd; }
    html.dark .border-violet-100, html.dark .border-violet-200 { border-color: rgba(139,92,246,.28); }
    html.dark .border-violet-300 { border-color: rgba(139,92,246,.42); }
    html.dark .hover\:border-violet-300:hover { border-color: rgba(139,92,246,.6); }
    html.dark .bg-cyan-50 { background-color: rgba(6,182,212,.11); }
    html.dark .bg-cyan-100 { background-color: rgba(6,182,212,.18); }
    html.dark .hover\:bg-cyan-50:hover { background-color: rgba(6,182,212,.18); }
    html.dark .hover\:bg-cyan-100:hover { background-color: rgba(6,182,212,.26); }
    html.dark .bg-cyan-950\/70 { background-color: rgba(6,182,212,.12); }
    html.dark .text-cyan-600, html.dark .text-cyan-700 { color: #22d3ee; }
    html.dark .text-cyan-800, html.dark .text-cyan-900 { color: #67e8f9; }
    html.dark .hover\:text-cyan-600:hover, html.dark .hover\:text-cyan-700:hover { color: #67e8f9; }
    html.dark .border-cyan-100, html.dark .border-cyan-200 { border-color: rgba(6,182,212,.28); }
    html.dark .border-cyan-300 { border-color: rgba(6,182,212,.42); }
    html.dark .hover\:border-cyan-300:hover { border-color: rgba(6,182,212,.6); }
    html.dark .bg-teal-50 { background-color: rgba(20,184,166,.11); }
    html.dark .bg-teal-100 { background-color: rgba(20,184,166,.18); }
    html.dark .hover\:bg-teal-50:hover { background-color: rgba(20,184,166,.18); }
    html.dark .hover\:bg-teal-100:hover { background-color: rgba(20,184,166,.26); }
    html.dark .bg-teal-950\/70 { background-color: rgba(20,184,166,.12); }
    html.dark .text-teal-600, html.dark .text-teal-700 { color: #2dd4bf; }
    html.dark .text-teal-800, html.dark .text-teal-900 { color: #5eead4; }
    html.dark .hover\:text-teal-600:hover, html.dark .hover\:text-teal-700:hover { color: #5eead4; }
    html.dark .border-teal-100, html.dark .border-teal-200 { border-color: rgba(20,184,166,.28); }
    html.dark .border-teal-300 { border-color: rgba(20,184,166,.42); }
    html.dark .hover\:border-teal-300:hover { border-color: rgba(20,184,166,.6); }
