    html,
    body {
      font-family: "Inter", sans-serif;
      margin: 0;
      padding: 0;
      height: 100%;
      width: 100%;
      overflow: hidden; /* Prevents scrollbars on the embed itself */
    }

    /* ========================================================= */
    /* DASHBOARD & DIRECTORY HUB STYLES (Full-Bleed Spatial Mode)*/
    /* ========================================================= */
    html.dashboard-mode,
    body.dashboard-mode {
      background-color: #060b13;
      color: #f8fafc;
      overflow: hidden !important;
      height: 100vh;
      width: 100vw;
      font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    }

    #directory-container {
      display: none;
      height: 100vh;
      max-height: 100vh;
      overflow: hidden;
      background-color: #060b13;
      background-image: 
        radial-gradient(ellipse 90% 60% at 50% -10%, rgba(30, 58, 138, 0.35), transparent 70%),
        radial-gradient(circle 600px at 85% 60%, rgba(14, 165, 233, 0.08), transparent 70%);
      background-attachment: fixed;
      flex-direction: column;
    }

    html.dashboard-mode #map-container {
      display: none !important;
    }
    html.dashboard-mode #directory-container {
      display: flex !important;
    }
    html:not(.dashboard-mode) #directory-container {
      display: none !important;
    }

    /* Edge-to-Edge Full-Bleed Navbar */
    .dir-navbar {
      width: 100%;
      background-color: #0b1322;
      border-bottom: 1px solid #1e293b;
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }

    .dir-navbar-inner {
      width: 100%;
      padding: 12px 28px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-sizing: border-box;
    }

    .dir-nav-left {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .dir-logo-container {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      background: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
      overflow: hidden;
      padding: 3px;
      box-sizing: border-box;
    }

    .dir-logo-img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .dir-brand-title {
      font-size: 1.15rem;
      font-weight: 700;
      color: #f8fafc;
      letter-spacing: -0.02em;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .dir-brand-badge {
      font-size: 0.72rem;
      font-weight: 600;
      color: #60a5fa;
      background-color: rgba(37, 99, 235, 0.15);
      border: 1px solid rgba(59, 130, 246, 0.3);
      padding: 3px 8px;
      border-radius: 4px;
      letter-spacing: 0.02em;
      text-transform: uppercase;
    }

    .dir-nav-right {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .dir-nav-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.84rem;
      font-weight: 600;
      padding: 8px 15px;
      border-radius: 6px;
      text-decoration: none;
      transition: all 0.15s ease;
      cursor: pointer;
      background-color: #1e293b;
      border: 1px solid #334155;
      color: #f8fafc;
    }

    .dir-nav-btn:hover {
      background-color: #2e3e56;
      border-color: #475569;
    }

    .dir-nav-btn-text-short {
      display: none;
    }

    .dir-nav-btn-disabled {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.84rem;
      font-weight: 600;
      padding: 8px 15px;
      border-radius: 6px;
      text-decoration: none;
      background-color: rgba(15, 23, 42, 0.6);
      border: 1px solid #1e293b;
      color: #64748b;
      cursor: not-allowed;
      opacity: 0.75;
    }

    /* Conversion Banners Anchored to Bottom */
    .dir-banners-grid {
      display: none !important;
    }

    /* Footer */
    .dir-footer-clean {
      width: 100%;
      padding: 8px 24px;
      border-top: 1px solid #1e293b;
      text-align: center;
      font-size: 0.76rem;
      color: #64748b;
      background-color: #060b13;
      margin-top: auto;
      box-sizing: border-box;
      flex-shrink: 0;
    }

    .dir-footer-clean a {
      color: #94a3b8;
      text-decoration: none;
    }

    .dir-footer-clean a:hover {
      color: #f8fafc;
      text-decoration: underline;
    }

    /* Floating Tooltip */
    .dir-map-tooltip {
      position: absolute;
      background-color: rgba(11, 19, 34, 0.95);
      backdrop-filter: blur(8px);
      border: 1px solid #334155;
      border-radius: 6px;
      padding: 6px 10px;
      font-size: 0.78rem;
      color: #f8fafc;
      pointer-events: none;
      z-index: 40;
      display: none;
      transform: translate(12px, -50%);
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
      white-space: nowrap;
    }

    .dir-map-tooltip strong {
      display: block;
      color: #f8fafc;
      font-size: 0.82rem;
    }

    .dir-map-tooltip .tip-sub {
      color: #60a5fa;
      font-size: 0.7rem;
      margin-top: 2px;
    }

    @media (max-width: 900px) {
      html.dashboard-mode,
      body.dashboard-mode {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        height: auto !important;
        min-height: 100% !important;
        touch-action: pan-y !important;
        -webkit-overflow-scrolling: touch !important;
      }
      #directory-container {
        height: auto !important;
        min-height: 100vh !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        touch-action: pan-y !important;
        display: flex !important;
        flex-direction: column !important;
      }
      .dir-navbar-inner {
        padding: 10px 14px;
        gap: 8px;
      }
      .dir-brand-title {
        font-size: 1.0rem;
        gap: 6px;
      }
      .dir-brand-badge {
        display: none !important;
      }
      .dir-nav-btn {
        padding: 6px 11px !important;
        font-size: 0.78rem !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
      }
      .dir-nav-btn-text-full {
        display: none !important;
      }
      .dir-nav-btn-text-short {
        display: inline !important;
      }
      .dir-footer-clean {
        padding: 12px 14px;
        font-size: 0.72rem;
        line-height: 1.5;
      }
    }

    @media (max-width: 540px) {
      .dir-navbar-inner {
        padding: 8px 12px;
      }
      .dir-brand-title {
        font-size: 0.95rem;
      }
      .dir-nav-btn {
        padding: 5px 9px !important;
        font-size: 0.74rem !important;
      }
    }



    /* Top Map Loading Progress Bar */
    #map-loading-bar {
      position: absolute;
      top: 0;
      left: 0;
      height: 3px;
      width: 0%;
      background: linear-gradient(90deg, #2563eb, #60a5fa, #93c5fd);
      z-index: 9999;
      opacity: 0;
      transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
      pointer-events: none;
      box-shadow: 0 0 10px rgba(59, 130, 246, 0.7);
    }
    #map-loading-bar.active {
      opacity: 1;
    }

    /* Watermark / Logo */
    #watermark-container {
      background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent white background */
      padding: 4px 8px; /* Slightly adjust padding for text */
      margin: 10px; /* Spacing from the corner */
      border-radius: 3px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.2);
      font-size: 10px;
      color: #333;
      cursor: default; /* Indicate it's not clickable */
    }

