/* ChartPulse site header, one for every page (10 Nov 2026). Built by sitehead.js, which replaces whatever
   header markup the page shipped with. Everything is scoped to .cph so no page stylesheet is needed. */
#siteNav:not(.cph-nav){visibility:hidden}
.cph{--h-bg:#07080A;--h-line:rgba(255,255,255,.08);--h-ink:#EDEDEF;--h-dim:#9B9CA6;--h-mute:#6C6D78;--h-panel:#0E0F13;--h-acc:#F4B740;--h-live:#22AB94;
  position:sticky;top:0;z-index:60;box-sizing:border-box;height:64px;display:flex;align-items:center;gap:8px;padding:0 24px;margin:0;
  background:rgba(7,8,10,.86);-webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%);
  border-bottom:1px solid var(--h-line);box-shadow:none;color:var(--h-ink);
  font:500 14px/1 "IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:0}
.cph::after,.cph::before{content:none!important}
.cph *,.cph *::before,.cph *::after{box-sizing:border-box}
.cph a{color:inherit;text-decoration:none}
.cph a,.cph button{min-height:0}
.cph :focus-visible{outline:2px solid var(--h-acc);outline-offset:2px;border-radius:8px}

.cph .cph-logo{display:inline-flex;align-items:center;gap:10px;margin-right:18px;flex:none;font-weight:600;font-size:17px;letter-spacing:-.01em;color:var(--h-ink)}
.cph .cph-logo svg{width:28px;height:28px;filter:none}
.cph .cph-logo b{font-weight:600;color:var(--h-acc)}

.cph-nav{display:flex;align-items:center;gap:2px;min-width:0;flex:none}
.cph .cph-nav>a,.cph .cph-dd>button{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border:0;border-radius:8px;background:none;color:var(--h-dim);
  font:inherit;cursor:pointer;white-space:nowrap;transition:color .15s,background .15s}
.cph-nav>a:hover,.cph-dd>button:hover,.cph-dd.open>button{color:var(--h-ink);background:rgba(255,255,255,.05)}
.cph-nav>a.on,.cph-dd.on>button{color:var(--h-ink)}
.cph-nav>a.on{box-shadow:inset 0 -2px 0 var(--h-acc);border-radius:8px 8px 0 0}
.cph-dd{position:relative}
.cph-dd>button svg{width:10px;height:10px;opacity:.7;transition:transform .18s}
.cph-dd.open>button svg{transform:rotate(180deg)}
.cph-panel{position:absolute;top:calc(100% + 10px);left:-8px;display:none;gap:4px 28px;padding:14px;min-width:300px;background:var(--h-panel);
  border:1px solid rgba(255,255,255,.1);border-radius:14px;box-shadow:0 24px 60px -12px rgba(0,0,0,.75),0 2px 0 rgba(255,255,255,.03) inset}
.cph-dd.open .cph-panel{display:grid}
.cph-panel.two{grid-template-columns:1fr 1fr;min-width:600px}
.cph-dd:nth-last-child(-n+3) .cph-panel{left:auto;right:-8px}
.cph-col{display:flex;flex-direction:column;gap:2px;min-width:0}
.cph-col>p{margin:2px 10px 8px;font-size:12px;font-weight:500;color:var(--h-mute)}
.cph .cph-panel a{display:block!important;padding:9px 10px;border-radius:9px;line-height:1.3;min-height:0!important}
.cph-panel a:hover{background:rgba(255,255,255,.05)}
.cph-panel a.on{background:rgba(244,183,64,.08)}
.cph-panel a b{display:block;font-weight:500;font-size:14px;color:var(--h-ink)}
.cph-panel a span{display:block;margin-top:3px;font-size:12.5px;font-weight:400;color:var(--h-dim)}

.cph-right{margin-left:auto;display:flex;align-items:center;gap:10px;flex:none}
.cph-search{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 10px 0 12px;border:1px solid var(--h-line);border-radius:9px;background:rgba(255,255,255,.03);
  color:var(--h-dim);font:inherit;font-weight:400;cursor:pointer;transition:border-color .15s,color .15s}
.cph-search:hover{border-color:rgba(255,255,255,.18);color:var(--h-ink)}
.cph-search svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.cph-search kbd{margin-left:14px;padding:2px 6px;border:1px solid var(--h-line);border-radius:5px;font:500 11px/1.3 ui-monospace,"IBM Plex Mono",monospace;color:var(--h-mute);background:none}
.cph-live{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 4px;color:var(--h-dim);font-size:13px;font-weight:400;font-variant-numeric:tabular-nums;white-space:nowrap}
.cph-live b{font-weight:600;color:var(--h-ink)}
.cph-live .ldot{width:7px;height:7px;border-radius:50%;background:var(--h-live);box-shadow:0 0 0 3px rgba(34,171,148,.18)}
.cph-live .ldot.off{background:var(--h-mute);box-shadow:none}
.cph-live.hide{display:none}
.cph-clock{display:none}
.cph-cta{display:inline-flex;align-items:center;height:36px;padding:0 16px;border-radius:9px;background:var(--h-acc);color:#14110A!important;font-weight:600;white-space:nowrap;transition:filter .15s}
.cph-cta:hover{filter:brightness(1.08)}
.cph-burger{display:none;width:38px;height:38px;border:1px solid var(--h-line);border-radius:9px;background:none;color:var(--h-ink);cursor:pointer;align-items:center;justify-content:center}
.cph-burger svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}

@media (max-width:1900px){.cph .cph-nav>a,.cph .cph-dd>button{padding:0 8px;font-size:13.5px}.cph .cph-logo{margin-right:10px}.cph:not(.fold) .cph-search span,.cph:not(.fold) .cph-search kbd{display:none}.cph:not(.fold) .cph-search{padding:0 10px}}
@media (max-width:1640px){.cph:not(.fold) .cph-nav>a,.cph:not(.fold) .cph-dd>button{padding:0 6px;font-size:13px;gap:4px}.cph:not(.fold) .cph-logo{margin-right:6px}.cph:not(.fold){padding:0 18px}}
@media (max-width:1080px){.cph-search span,.cph-search kbd{display:none}.cph-search{padding:0 10px}.cph{padding:0 16px}}
/* Folded header (menu button): set by sitehead.js whenever the full menu does not fit, on any screen width. */
.cph.fold .cph-burger{display:inline-flex}
.cph.fold .cph-live{display:none}
.cph.fold .cph-nav{position:absolute;top:100%;left:0;right:0;bottom:auto;height:calc(100vh - 64px);height:calc(100dvh - 64px);display:none;flex-direction:column;align-items:stretch;gap:0;padding:10px 14px 28px;overflow-y:auto;background:var(--h-bg);border-top:1px solid var(--h-line)}
.cph.fold.menu .cph-nav{display:flex}
.cph.fold .cph-nav>a,.cph.fold .cph-dd>button{height:48px;width:100%;justify-content:space-between;font-size:16px;color:var(--h-ink);border-radius:10px}
.cph.fold .cph-nav>a.on{box-shadow:inset 2px 0 0 var(--h-acc);border-radius:0 10px 10px 0}
.cph.fold .cph-panel,.cph.fold .cph-panel.two{position:static;display:none;grid-template-columns:1fr;min-width:0;margin:0 0 6px;padding:4px 0 4px 8px;border:0;border-radius:0;box-shadow:none;background:none}
.cph.fold .cph-col>p{margin:10px 10px 4px}
.cph.fold .cph-right{gap:8px}
.cph.fold .cph-nav>*{flex:none}
.cph.fold .cph-panel a{padding:11px 10px}
.cph.fold .cph-panel .cph-col+.cph-col{margin-top:4px}
.cph.fold .cph-dd.open .cph-panel{display:grid}
@media (max-width:420px){.cph-cta{padding:0 12px}.cph .cph-logo{margin-right:6px}}
@media (prefers-reduced-motion:reduce){.cph *{transition:none!important}}

@media (max-width:560px){.cph{padding:0 12px;gap:6px}.cph .cph-logo{font-size:16px;gap:8px}.cph-search{width:38px;padding:0;justify-content:center}.cph-search span,.cph-search kbd{display:none}.cph-cta{padding:0 12px;font-size:13.5px}}
@media (max-width:380px){.cph-search{display:none}}
/* Floating buttons (Telegram, Ask ChartPulse): out of the way of the scanner's bottom bar on phones, hidden while the menu is open. */
@media (max-width:900px){body:has(.rail) .cptg-btn{bottom:78px!important}body:has(.rail) .cptg-pan{bottom:132px!important}body:has(.rail) #cp-launch{bottom:78px!important}}
@media (max-width:560px){#cp-launch{padding:0 12px!important;height:42px!important;font-size:13px!important}.cptg-btn{padding:9px 11px!important}}
html:has(.cph.menu) .cptg-btn,html:has(.cph.menu) .cptg-pan,html:has(.cph.menu) #cp-launch{display:none!important}
