/* Left menu on the static SEO pages: the same menu as the landing page's LpRail
   (src/components/landing/LandingPage.tsx). Desktop only (>=1024px), like the LP. */
.cdna-rail { display: none; }
@media (min-width: 1024px) {
  body { padding-inline-start: 238px; }
  .appbar, #cdna-appbar { inset-inline-start: 238px !important; }
  /* One menu on desktop: the rail carries brand + Log in, so the page's own top bar goes. */
  header:has(> .hdr-login), .ct-top { display: none !important; }
  .cdna-rail {
    position: fixed; top: 0; bottom: 0; inset-inline-start: 0; z-index: 90; width: 238px; box-sizing: border-box;
    overflow-y: auto; display: flex; flex-direction: column; gap: 3px; padding: 22px 16px 18px;
    background: #06080d; border-inline-end: 1px solid rgba(148,163,184,0.10); color: #f3f5f8;
    font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; line-height: 1.3; text-align: start;
  }
  .cdna-rail * { box-sizing: border-box; }
  .cdna-rail a { text-decoration: none; }
  .cr-brand { display: flex; align-items: center; gap: 12px; padding: 0 6px 22px; }
  .cr-brand img { height: 28px; width: auto; display: block; flex-shrink: 0; }
  .cr-word { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; color: #f3f5f8; }
  .cr-word b { color: #4ade80; font-weight: 800; }
  .cr-item { display: flex; align-items: center; gap: 11px; width: 100%; padding: 7px 10px; border-radius: 11px; color: #94a3b8; font-size: 13.5px; font-weight: 600; }
  .cr-item span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cr-item svg { flex-shrink: 0; }
  .cr-item:hover, .cr-sub:hover { background: rgba(255,255,255,0.04); }
  .cr-item.on { background: rgba(74,222,128,0.12); color: #f3f5f8; font-weight: 800; }
  .cr-sub { position: relative; display: block; padding: 5px 10px; padding-inline-start: 37px; border-radius: 11px; font-size: 13px; color: #94a3b8; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cr-sub::before { content: ''; position: absolute; inset-inline-start: 17px; top: 0; bottom: 0; width: 1px; background: rgba(148,163,184,0.2); }
  .cr-sec { font-size: 10px; font-weight: 900; letter-spacing: 1.6px; color: #64748b; padding: 12px 10px 4px; }
  .cr-fill { flex: 1; min-height: 16px; }
  .cr-app { margin-bottom: 10px; padding: 0 2px; }
  .cr-app-t { font-size: 10px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: #64748b; margin-bottom: 7px; }
  .cr-badge { display: flex; align-items: center; justify-content: center; gap: 7px; height: 36px; margin-top: 6px; background: #000; border: 1px solid #a6a6a6; border-radius: 6px; padding: 0 10px; white-space: nowrap; font-family: -apple-system, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif; }
  .cr-app-t + .cr-badge { margin-top: 0; }
  .cr-badge span { display: flex; flex-direction: column; line-height: 1.15; color: #fff; }
  .cr-badge i { font-style: normal; font-size: 8px; font-weight: 500; letter-spacing: 0.2px; }
  .cr-badge i.up { text-transform: uppercase; letter-spacing: 0.5px; }
  .cr-badge b { font-size: 15px; font-weight: 600; margin-top: 1px; }
  .cr-acct { display: flex; align-items: center; gap: 10px; width: 100%; background: rgba(148,163,184,0.07); border-radius: 12px; padding: 9px 10px; color: #f3f5f8; }
  .cr-acct:hover { background: rgba(255,255,255,0.06); }
  .cr-av { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: rgba(148,163,184,0.14); display: flex; align-items: center; justify-content: center; }
  .cr-at { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .cr-at b { font-size: 12.5px; font-weight: 800; }
  .cr-at i { font-style: normal; font-size: 10.5px; font-weight: 600; color: #64748b; }
}

/* App hub menu (Yuval 2026-11-16: same menu on every page) */
@media (min-width: 1024px) {
  .cr-hl { cursor: default; }
  .cr-hl:hover { background: none; }
  .cr-hl svg:last-child { transform: rotate(90deg); }
  .cr-tools > summary { list-style: none; cursor: pointer; }
  .cr-tools > summary::-webkit-details-marker { display: none; }
  .cr-tools > summary svg:last-child { transition: transform .15s; }
  .cr-tools[open] > summary svg:last-child { transform: rotate(90deg); }
  .cr-tools .cr-sub { margin-top: 2px; }
}
