    :root {
      color-scheme: dark;
      --bg: #0b0f16;
      --panel: #151b26;
      --panel-2: #111622;
      --line: #253044;
      --muted: #91a1ba;
      --text: #d8e1f2;
      --accent: #5cc7ff;
      --accent-2: #3aa4ff;
      --ok: #58d68d;
      --warn: #f3c969;
      --danger: #f16f6f;
    }
    
    * {
      box-sizing: border-box;
    }
    
    body {
      margin: 0;
      min-height: 100vh;
      background: radial-gradient(circle at 20% 10%, rgba(92, 199, 255, 0.12), transparent 40%),
        radial-gradient(circle at 80% 0%, rgba(58, 164, 255, 0.2), transparent 45%),
        linear-gradient(180deg, #0a0f17 0%, #0b0f16 50%, #0a0d14 100%);
      color: var(--text);
      font-family: "Rajdhani", "Segoe UI", sans-serif;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    /* Banner - compact, pinned */
    .banner {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      padding: 7px 24px;
      background: rgba(11, 15, 22, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(92, 199, 255, 0.12);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .banner-title {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      font-size: 11px;
      letter-spacing: 0.6px;
      text-transform: uppercase;
      color: var(--muted);
      opacity: 0.7;
      pointer-events: none;
      white-space: nowrap;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.3px;
      text-decoration: none;
      color: var(--text);
    }

    .brand-mark {
      width: 18px;
      height: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .brand-mark svg {
      width: 100%;
      height: 100%;
    }

    .brand-text span {
      color: var(--accent);
    }

    /* Menu Toggle */
    .menu-toggle {
      position: relative;
      z-index: 1001;
      width: 24px;
      height: 24px;
      background: transparent;
      border: 1px solid transparent;
      border-radius: 6px;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 3px;
      transition: all 0.2s ease;
      opacity: 0.6;
    }
    
    .menu-toggle:hover {
      background: rgba(92, 199, 255, 0.05);
      border-color: rgba(92, 199, 255, 0.15);
      opacity: 0.9;
    }
    
    .menu-toggle span {
      display: block;
      width: 10px;
      height: 1px;
      background: var(--muted);
      border-radius: 2px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .menu-toggle:hover span {
      background: var(--accent);
    }
    
    .menu-toggle.active span:nth-child(1) {
      transform: rotate(45deg) translate(4px, 4px);
      background: var(--accent);
    }
    
    .menu-toggle.active span:nth-child(2) {
      opacity: 0;
      transform: translateX(-10px);
    }
    
    .menu-toggle.active span:nth-child(3) {
      transform: rotate(-45deg) translate(4px, -4px);
      background: var(--accent);
    }

    /* Slide-out Menu Panel */
    .menu-panel {
      position: fixed;
      top: 0;
      right: -280px;
      width: 260px;
      height: 100vh;
      background: linear-gradient(180deg, rgba(21, 27, 38, 0.92) 0%, rgba(11, 15, 22, 0.96) 100%);
      border-left: 1px solid var(--line);
      z-index: 1000;
      padding: 70px 18px 32px;
      transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      overflow-y: auto;
    }
    
    .menu-panel.open {
      right: 0;
      box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }
    
    .menu-overlay {
      position: fixed;
      inset: 0;
      background: rgba(4, 6, 10, 0.4);
      opacity: 0;
      visibility: hidden;
      transition: all 0.35s ease;
      z-index: 999;
    }
    
    .menu-overlay.visible {
      opacity: 1;
      visibility: visible;
    }

    /* Menu Content */
    .menu-section {
      margin-bottom: 24px;
    }
    
    .menu-section-title {
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      color: var(--muted);
      margin: 0 0 12px 0;
      opacity: 0.7;
    }
    
    .menu-link {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 14px;
      margin: 0 -14px;
      color: var(--text);
      text-decoration: none;
      font-size: 15px;
      font-weight: 500;
      border-radius: 8px;
      transition: all 0.2s ease;
      border: 1px solid transparent;
    }

    .menu-link.compact {
      padding: 8px 10px;
      font-size: 13px;
    }

    .menu-link.signin {
      border: 1px solid rgba(92, 199, 255, 0.2);
      background: rgba(92, 199, 255, 0.08);
      color: var(--accent);
    }
    
    .menu-link:hover {
      background: rgba(92, 199, 255, 0.08);
      border-color: rgba(92, 199, 255, 0.15);
      color: #fff;
    }
    
    .menu-link svg {
      width: 20px;
      height: 20px;
      color: var(--muted);
      transition: color 0.2s ease;
    }
    
    .menu-link:hover svg {
      color: var(--accent);
    }
    
    .menu-divider {
      height: 1px;
      background: var(--line);
      margin: 20px 0;
    }

    /* User Section in Menu */
    .menu-user {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px;
      margin: 0 -14px 20px;
      background: var(--panel-2);
      border-radius: 10px;
      border: 1px solid var(--line);
    }
    
    .menu-user-avatar {
      width: 40px;
      height: 40px;
      border-radius: 8px;
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 16px;
      color: var(--bg);
    }
    
    .menu-user-info {
      flex: 1;
    }
    
    .menu-user-name {
      font-weight: 600;
      font-size: 14px;
      color: #fff;
      margin: 0 0 2px 0;
    }
    
    .menu-user-role {
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: var(--muted);
    }
    
    .menu-user-role.admin {
      color: var(--accent);
    }

    /* Main Content */
    .wrap {
      max-width: 1100px;
      margin: 0 auto;
      padding: 80px 48px 120px;
    }

    .hero-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
      gap: 48px;
      align-items: start;
    }

    .hero-column {
      display: flex;
      flex-direction: column;
      gap: 32px;
    }
    
    .hero-image {
      display: block;
      margin: 0;
      margin-top: -25px;
      max-width: 360px;
      width: 100%;
      height: auto;
      filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
    }
    
    .content {
      font-size: 14px;
      letter-spacing: 0.02em;
    }
    
    .content p {
      margin: 0 0 20px 0;
      color: var(--text);
      opacity: 0.9;
    }
    
    .content p:last-child {
      margin-bottom: 0;
    }

    /* Info Panel - matches HBlink card style */
    .info-panel {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 10px;
      padding: 24px;
      margin-top: 40px;
    }

    .highlight-panel {
      margin-top: 0;
      min-height: 220px;
    }

    .highlight-placeholder {
      color: var(--muted);
      font-size: 14px;
    }
    
    .info-panel-title {
      font-size: 13px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--accent);
      margin: 0 0 16px 0;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    
    .info-panel-title::before {
      content: "";
      width: 3px;
      height: 14px;
      background: var(--accent);
      border-radius: 2px;
    }
    
    .info-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 8px;
    }
    
    .info-list li {
      font-size: 14px;
      color: var(--muted);
      padding-left: 16px;
      position: relative;
    }
    
    .info-list li::before {
      content: "—";
      position: absolute;
      left: 0;
      color: var(--line);
    }

    /* Footer */
    .site-footer {
      padding: 12px 24px;
      font-size: 11px;
      color: var(--muted);
      letter-spacing: 0.5px;
      opacity: 0.5;
    }

    .site-footer-content {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .page-footer {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(11, 15, 22, 0.92);
      border-top: 1px solid rgba(92, 199, 255, 0.12);
      z-index: 90;
    }

    .site-footer-left {
      display: grid;
      gap: 0;
      font-size: 11px;
      letter-spacing: 0.3px;
    }

    .site-footer-left div {
      line-height: 1.1;
    }

    .site-footer-left a {
      color: inherit;
      text-decoration: none;
    }

    .site-footer-left a:hover {
      text-decoration: underline;
    }

    .site-footer-center {
      flex: 1;
      text-align: center;
      font-size: 11px;
      letter-spacing: 0.5px;
    }

    .app-frame {
      width: 100%;
      height: calc(100vh - 140px);
      border: 0;
      background: #0b0f16;
      border-radius: 12px;
      box-shadow: 0 18px 32px rgba(4, 8, 14, 0.45);
    }

    .app-mode .wrap {
      max-width: none;
      width: 100%;
      padding: 72px 30px 5px;
      height: calc(100vh - 72px);
      overflow: hidden;
    }

    .app-mode .app-frame {
      border-radius: 0;
      box-shadow: none;
      height: 100%;
    }

    .app-mode {
      overflow: hidden;
      height: 100vh;
    }

    .gps-map-card {
      height: calc(100% - 15px);
      margin: 15px auto 0;
      width: min(1200px, 100%);
      background: rgba(15, 24, 38, 0.92);
      border: 1px solid rgba(92, 199, 255, 0.2);
      border-radius: 14px;
      padding: 18px 20px 20px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      box-shadow: 0 20px 35px rgba(4, 8, 14, 0.45);
    }

    .gps-map-title {
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 2px;
      color: var(--muted);
    }

    .gps-map-body {
      flex: 1;
      border: 1px solid rgba(92, 199, 255, 0.2);
      border-radius: 12px;
      min-height: 500px;
      width: 100%;
    }
    
    #gpsMap {
      width: 100%;
      height: 100%;
      border-radius: 12px;
    }

    .gps-radio-marker { background: none; border: none; }
    .gps-radio-icon { display: block; line-height: 0; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5)); }
    .gps-radio-icon svg { display: block; }
    .leaflet-tooltip.gps-marker-tooltip {
      white-space: nowrap;
      font-size: 11px;
      padding: 4px 8px;
      background: rgba(21, 27, 38, 0.95);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(92, 199, 255, 0.2);
      border-radius: 4px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
      color: var(--text);
      font-family: "Rajdhani", "Segoe UI", sans-serif;
      font-weight: 500;
      pointer-events: none;
      max-width: none;
    }
    .leaflet-tooltip.gps-marker-tooltip .gps-tooltip-name {
      color: var(--accent);
      font-weight: 600;
      margin-right: 6px;
    }
    .leaflet-tooltip.gps-marker-tooltip .gps-tooltip-id {
      color: var(--muted);
      margin-right: 6px;
    }
    .leaflet-tooltip.gps-marker-tooltip .gps-tooltip-coords {
      color: var(--muted);
      font-size: 10px;
    }
    .leaflet-tooltip.gps-marker-tooltip::before {
      border-top-color: rgba(92, 199, 255, 0.2);
    }

    .modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(3, 6, 12, 0.6);
      backdrop-filter: blur(6px);
      opacity: 0;
      visibility: hidden;
      transition: all 0.2s ease;
      z-index: 1200;
    }

    .modal-backdrop.active {
      opacity: 1;
      visibility: visible;
    }

    .signin-modal {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0.98);
      width: min(360px, 90vw);
      background: rgba(15, 26, 44, 0.96);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 14px;
      padding: 22px;
      opacity: 0;
      visibility: hidden;
      transition: all 0.2s ease;
      z-index: 1300;
      box-shadow: 0 28px 60px rgba(4, 8, 14, 0.6);
    }

    .signin-modal.active {
      opacity: 1;
      visibility: visible;
      transform: translate(-50%, -50%) scale(1);
    }

    .signin-title {
      margin: 0 0 6px 0;
      font-size: 18px;
      color: #e9eef5;
    }

    .signin-subtitle {
      margin: 0 0 16px 0;
      font-size: 12px;
      color: var(--muted);
    }

    .signin-group {
      margin-bottom: 12px;
    }

    .signin-label {
      display: block;
      font-size: 12px;
      color: #e9eef5;
      margin-bottom: 6px;
    }

    .signin-input {
      width: 100%;
      padding: 10px 12px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      color: #e9eef5;
      font-size: 14px;
    }

    .signin-password-row {
      position: relative;
    }

    .signin-toggle {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      background: transparent;
      border: none;
      color: var(--muted);
      font-size: 12px;
      cursor: pointer;
      padding: 4px 6px;
    }

    .signin-toggle:hover {
      color: var(--text);
    }

    .signin-actions {
      display: flex;
      gap: 10px;
      margin-top: 16px;
    }

    .signin-btn {
      flex: 1;
      padding: 10px 12px;
      border-radius: 8px;
      border: none;
      cursor: pointer;
      font-weight: 600;
      background: linear-gradient(135deg, #2563eb, #1d4ed8);
      color: #fff;
    }

    .signin-cancel {
      background: rgba(255, 255, 255, 0.08);
      color: var(--text);
    }

    .signin-error {
      margin-top: 10px;
      font-size: 12px;
      color: #fca5a5;
      min-height: 16px;
    }

    .logout-modal {
      width: min(420px, 92vw);
    }

    .logout-meta-row {
      font-size: 13px;
      color: var(--text);
      margin: 6px 0;
    }

    .logout-meta-row strong {
      color: var(--muted);
      margin-right: 6px;
    }

    .welcome-panel {
      margin: 24px 0 10px;
      padding: 18px 20px;
      border-radius: 14px;
      background: rgba(15, 22, 34, 0.7);
      border: 1px solid rgba(92, 199, 255, 0.18);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    }

    .welcome-title {
      font-size: 20px;
      margin: 0 0 6px 0;
      color: var(--text);
    }

    .welcome-subtitle {
      margin: 0 0 14px 0;
      color: var(--muted);
      font-size: 14px;
    }

    .welcome-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .welcome-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 14px;
      border-radius: 999px;
      border: 1px solid rgba(92, 199, 255, 0.3);
      color: var(--text);
      text-decoration: none;
      font-size: 13px;
      transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    }

    .welcome-btn.primary {
      border-color: transparent;
      background: linear-gradient(120deg, rgba(92, 199, 255, 0.4), rgba(58, 164, 255, 0.2));
    }

    .welcome-btn:hover {
      border-color: var(--accent);
      color: var(--accent);
    }

    /* Responsive */
    @media (max-width: 768px) {
      .banner {
        padding: 6px 12px;
      }
      
      .brand {
        font-size: 13px;
        gap: 6px;
      }
      
      .brand-mark {
        width: 16px;
        height: 16px;
      }
      
      .menu-toggle {
        width: 20px;
        height: 20px;
      }
      
      .menu-toggle span {
        width: 8px;
      }

      .app-mode .wrap {
        padding: 64px 0 0;
        height: calc(100vh - 64px);
      }
      
      .menu-panel {
        width: 220px;
        right: -240px;
        padding: 60px 14px 24px;
      }
      
      .wrap {
        padding: 70px 20px 80px;
      }

      .hero-layout {
        grid-template-columns: 1fr;
        gap: 36px;
      }

      .hero-column {
        gap: 24px;
      }
      
      .hero-image {
        max-width: 300px;
        margin: 0 auto;
      }
      
      .content {
        font-size: 13px;
      }
      
      .info-panel {
        padding: 20px;
      }

      .highlight-panel {
        min-height: 160px;
      }

      .app-frame {
        height: calc(100vh - 160px);
      }

      .site-footer {
        padding: 10px 16px;
      }

      .site-footer-content {
        flex-direction: column;
        text-align: center;
        gap: 6px;
      }

      .site-footer-left {
        text-align: center;
      }
    }
  </style>
