    :root {
      --app-bg: #0d0d0e;
      --app-bg-gradient: radial-gradient(circle at 50% 0%, #1a1a1c 0%, #0d0d0e 100%);
      
      --card-bg: #161617;
      --card-elevated: #1e1e20;
      --card-border: #2a2a2d;
      --card-border-subtle: #232326;
      
      --text-white: #f8fafc;
      --text-main: #e2ecf8;
      --text-sec: #8aa3be;
      --text-muted: #57708c;
      
      --accent-blue: #29a9ff;
      --accent-cyan: #36d9e8;
      --accent-mint: #10b981;
      --sev-crit: #ef4444;
      --sev-high: #f97316;
      --sev-med: #3b82f6;
      --sev-yellow: #f59e0b;
      --status-blocked: #10b981;
      --status-investigating: #f97316;
      --status-prevented: #3b82f6;

      --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      --font-mono: 'JetBrains Mono', monospace;
      --ui-font-weight: 400;
      --ui-font-weight-title: 600;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    
    html, body {
      width: 100%;
      height: 100%;
      max-height: 100vh;
      background: var(--app-bg-gradient);
      background-color: var(--app-bg);
      font-family: var(--font-sans);
      font-weight: var(--ui-font-weight, 400);
      color: var(--text-white);
      margin: 0;
      padding: 0;
      overflow: hidden; /* No page scroll */
    }

    button, input, select, textarea, optgroup {
      font-family: inherit;
      font-weight: inherit;
    }

    /* Interactive Font Weight Scaling */
    body, p, span, div, td, th, input, button, select {
      font-weight: var(--ui-font-weight, 400);
    }
    .card-title-dark span:first-child, .section-title, .top-header-title {
      font-weight: var(--ui-font-weight-title, 600);
    }
    i.fa, i.fas, i.fa-solid {
      font-weight: 900 !important;
    }

    .mono { font-family: 'JetBrains Mono', monospace; }

    /* Custom Scrollbar */
    ::-webkit-scrollbar { width: 4px; height: 4px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 4px; }

    /* Fullscreen Application Container */
    .dashboard-container {
      width: 100vw;
      height: 100vh;
      max-height: 100vh;
      overflow: hidden;
      padding: 10px 18px 8px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      position: relative;
      box-sizing: border-box;
    }

    /* Top Navigation Bar */
    .top-header {
      height: 38px;
      flex: 0 0 auto;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      gap: 24px;
    }

    .brand-logo-area {
      justify-self: start;
      display: flex;
      align-items: center;
      gap: 10px;
      user-select: none;
    }

    .citrine-brand-logo {
      height: 32px;
      width: auto;
      object-fit: contain;
      display: block;
      filter: drop-shadow(0 2px 10px rgba(245, 158, 11, 0.25));
    }

    .search-box-wrap {
      justify-self: center;
      width: 495px;
      max-width: 100%;
      position: relative;
      cursor: pointer;
    }
    .search-box-wrap:hover .search-input {
      border-color: var(--accent-blue);
      background: var(--card-bg);
    }

    .search-input {
      width: 100%;
      height: 38px;
      background: var(--card-elevated);
      border: 1px solid var(--card-border);
      border-radius: 8px;
      padding: 0 76px 0 38px;
      font-size: 12px;
      color: #ffffff;
      outline: none;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .search-input::placeholder {
      color: var(--text-muted);
    }
    .search-input:focus {
      background: var(--card-bg);
      border-color: var(--accent-blue);
      box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
    }
    .search-icon-pos {
      position: absolute;
      left: 13px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
      pointer-events: none;
    }
    .search-kbd-badge {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      display: inline-flex;
      align-items: center;
      gap: 3px;
      pointer-events: none;
    }
    .search-kbd-badge kbd {
      font-family: var(--font-mono);
      font-size: 9.5px;
      padding: 2px 5px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 4px;
      color: #94a3b8;
    }

    /* ========================================================
       COMMAND PALETTE / SEARCH SPOTLIGHT (CLOUDFLARE DASH STYLE)
       ======================================================== */
    .cmd-palette-backdrop {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(3, 8, 16, 0.76);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      z-index: 99999;
      display: none;
      align-items: flex-start;
      justify-content: center;
      padding-top: 10vh;
      opacity: 0;
      transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .cmd-palette-backdrop.open {
      display: flex;
      opacity: 1;
    }

    .cmd-palette-modal {
      width: 680px;
      max-width: 92vw;
      background: #121213;
      border: 1px solid rgba(59, 130, 246, 0.3);
      border-radius: 12px;
      box-shadow: 0 25px 65px -12px rgba(0, 0, 0, 0.9), 0 0 35px rgba(56, 189, 248, 0.14);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      transform: scale(0.97) translateY(-6px);
      transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .cmd-palette-backdrop.open .cmd-palette-modal {
      transform: scale(1) translateY(0);
    }

    .cmd-palette-header {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px 18px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      background: #18181a;
    }
    .cmd-search-icon {
      width: 18px;
      height: 18px;
      color: var(--accent-blue);
      flex-shrink: 0;
    }
    .cmd-search-input {
      flex: 1;
      background: transparent;
      border: none;
      outline: none;
      font-size: 15px;
      color: #ffffff;
      font-family: inherit;
    }
    .cmd-search-input::placeholder {
      color: #475569;
    }
    .cmd-esc-btn {
      font-family: var(--font-mono);
      font-size: 11px;
      padding: 3px 8px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 5px;
      color: #94a3b8;
      cursor: pointer;
      transition: all 0.15s;
    }
    .cmd-esc-btn:hover {
      background: rgba(255, 255, 255, 0.12);
      color: #ffffff;
    }

    .cmd-palette-body {
      max-height: 440px;
      overflow-y: auto;
      padding: 10px 12px 14px;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    .cmd-palette-body::-webkit-scrollbar {
      width: 5px;
    }
    .cmd-palette-body::-webkit-scrollbar-track {
      background: rgba(0, 0, 0, 0.1);
    }
    .cmd-palette-body::-webkit-scrollbar-thumb {
      background: #2a2a2d;
      border-radius: 4px;
    }

    .cmd-section-label {
      font-size: 11px;
      font-weight: 600;
      color: #64748b;
      letter-spacing: 0.04em;
      padding: 10px 10px 4px;
      text-transform: capitalize;
    }

    .cmd-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 9px 12px;
      border-radius: 8px;
      cursor: pointer;
      border: 1px solid transparent;
      transition: background 0.15s, color 0.15s;
      user-select: none;
    }
    .cmd-item:hover, .cmd-item.active {
      background: rgba(41, 169, 255, 0.14);
      border-color: rgba(41, 169, 255, 0.35);
    }
    .cmd-item-icon {
      width: 16px;
      height: 16px;
      color: #94a3b8;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .cmd-item.active .cmd-item-icon {
      color: var(--accent-blue);
    }
    .cmd-item-content {
      flex: 1;
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      color: #cbd5e1;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .cmd-item.active .cmd-item-content {
      color: #ffffff;
    }
    .cmd-crumb-sep {
      color: #475569;
      font-size: 11px;
    }
    .cmd-crumb-target {
      color: #f1f5f9;
      font-weight: 500;
    }

