/* styles.css — Zyvo shared stylesheet (Phase A.1 extraction)
   Combines what were previously two separate inline <style> blocks in
   index.html / index_de.html (general app CSS + landing-page CSS), in the
   same relative order they appeared in the original source, so the cascade
   behaves identically to before. See index_de.html's <head> for the one
   remaining DE-only rule (.zy-footer-legal) that intentionally stays out
   of this shared file. Does NOT include the print-popup CSS embedded as a
   string inside a document.write() template literal in the main script —
   that CSS is for a separate, self-contained popup window and can't
   reference this stylesheet. */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
[data-theme="dark"]{
  --bg:#06080d;--bg2:#0a0d16;
  --s1:rgba(255,255,255,0.03);--s2:rgba(255,255,255,0.055);--s3:rgba(255,255,255,0.09);
  --l1:rgba(255,255,255,0.07);--l2:rgba(255,255,255,0.11);--l3:rgba(255,255,255,0.18);
  --t1:#f0f2f7;--t2:#9ba3b8;--t3:#828a9f;--t4:#707996;--card:#0d111c;
}
[data-theme="light"]{
  --bg:#f4f6fb;--bg2:#ffffff;
  --s1:rgba(0,0,0,0.025);--s2:rgba(0,0,0,0.05);--s3:rgba(0,0,0,0.08);
  --l1:rgba(0,0,0,0.07);--l2:rgba(0,0,0,0.11);--l3:rgba(0,0,0,0.18);
  --t1:#0d1117;--t2:#4a5568;--t3:#5c6779;--t4:#63707d;--card:#ffffff;
}
:root{
  --up:#30d158;--dn:#ff453a;--gold:#ffd60a;--blue:#0a84ff;--ind:#5e5ce6;--cyan:#32ade6;
  --ac:var(--blue2);
  --blue2:#409cff;--warn:#ff9f0a;--ind2:#7d7aff;--live:#34d399;--err2:#ff6961;
  --sb:228px;--r:12px;--r2:8px;
  --f:'Geist',-apple-system,BlinkMacSystemFont,sans-serif;--fm:'Geist Mono','SF Mono',monospace;
}
/* Accessibility: a clear, consistent focus ring for keyboard navigation only
   (:focus-visible excludes mouse clicks, so the ring never nags mouse users).
   Applies app-wide to every interactive element in both themes. */
:focus-visible{outline:2px solid var(--blue)!important;outline-offset:2px!important;border-radius:4px}
.skip-link{position:absolute;left:8px;top:-48px;z-index:2000;background:var(--blue);color:#fff;padding:9px 16px;border-radius:8px;font-size:.82rem;font-weight:600;text-decoration:none;transition:top .16s}
.skip-link:focus{top:8px}
a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,[role="button"]:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--blue)!important;outline-offset:2px!important}
/* Respect users who prefer reduced motion — disable non-essential animations. */
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
/* Semantic colors recalibrated for white/light backgrounds (the dark-theme values fail
   WCAG badly on white: green 2.02:1, gold 1.41:1). Same hue family, darker. MUST come
   after the :root block above — equal specificity means last-in-document wins. */
[data-theme="light"]{
  --up:#15803d;--dn:#c42828;--gold:#856200;--blue:#0066d6;
  --blue2:#006bdf;--warn:#a06100;--ind2:#5955ff;--live:#1b7e5a;--err2:#df0b00;
}
/* Hardcoded-hex text colors that don't flow through the variables above — retargeted
   for light theme readability. Backgrounds (translucent tints) are fine as-is. */
[data-theme="light"] .kpi-tag,
[data-theme="light"] .tag-stock,
[data-theme="light"] .tag-investor,
[data-theme="light"] .ccy-btn.active,
[data-theme="light"] .ob-step.ob-active .ob-step-num,
[data-theme="light"] .ob-cta,
[data-theme="light"] .sb-nudge-lbl,
[data-theme="light"] .sb-nudge-btn,
[data-theme="light"] .ds-sec-badge,
[data-theme="light"] .nav-item.active .nav-hint,
[data-theme="light"] .toast.info{color:var(--blue)}
[data-theme="light"] .tag-crypto{color:var(--gold)}
[data-theme="light"] .btc-sym{color:var(--gold)}
[data-theme="light"] .sb-nudge-text{color:var(--t3)}
[data-theme="light"] .ob-subtitle{color:var(--t2)}
[data-theme="light"] .ob-step-label{color:var(--t2)}
html{font-size:14px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
body{font-family:var(--f);background:var(--bg);color:var(--t1);display:flex;height:100vh;height:100dvh;overflow:hidden;transition:background .2s,color .2s}
.main::before{content:'';position:fixed;top:0;left:var(--sb);right:0;height:60vh;background:radial-gradient(ellipse 80% 40% at 60% -10%,rgba(10,132,255,0.055) 0%,transparent 70%);pointer-events:none;z-index:0}
::-webkit-scrollbar{width:5px;height:5px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:var(--l2);border-radius:99px}
.sb{width:var(--sb);flex-shrink:0;background:var(--bg2);border-right:1px solid var(--l1);
  position:fixed;top:0;left:0;bottom:0;display:flex;flex-direction:column;z-index:200;overflow-y:auto}
.sb-logo{display:flex;align-items:center;gap:10px;padding:18px 14px 14px;border-bottom:1px solid var(--l1)}
.logo-mark{width:30px;height:30px;background:linear-gradient(135deg,var(--blue),var(--ind));border-radius:8px;
  display:flex;align-items:center;justify-content:center;font-size:14px;flex-shrink:0;box-shadow:0 4px 12px rgba(10,132,255,.3)}
.sb-zy-mark{width:30px;height:30px;background:linear-gradient(135deg,#1a2140,#151b2d);border-radius:8px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(212,175,55,.35);flex-shrink:0}
.sb-zy-mark svg{width:18px;height:18px}
.logo-name{font-size:.88rem;font-weight:700;letter-spacing:-.03em}
.logo-ver{font-size:.56rem;font-family:var(--fm);color:var(--t4);letter-spacing:.06em}
.sb-sec{padding:14px 14px 4px;font-size:.56rem;font-family:var(--fm);color:var(--t4);text-transform:uppercase;letter-spacing:.1em}
.nav{padding:0 6px 6px}
.nav-item{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:var(--r2);
  cursor:pointer;font-size:.8rem;font-weight:500;color:var(--t3);transition:all .14s;user-select:none;margin-bottom:1px;position:relative}
@media(min-width:769px){
  /* Slightly larger nav text on desktop, where there's no density pressure
     like on mobile — .8rem reads a bit cramped for primary navigation. */
  .nav-item{font-size:.85rem}
  /* Same reasoning for the app's most-read content: table data (the actual
     numbers people are here to look at), card titles (act as mini-headings
     but read almost as small as body text), and button labels. */
  .tbl{font-size:.8rem}
  .ct{font-size:.84rem}
  .btn{font-size:.79rem}
}
.nav-item:hover{color:var(--t2);background:var(--s1)}
.nav-item.active{color:var(--t1);background:rgba(10,132,255,.08);border-right:none}
.nav-item.active::before{content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:20px;border-radius:0 3px 3px 0;background:linear-gradient(180deg,#0a84ff,#5e5ce6);box-shadow:0 0 8px rgba(10,132,255,.5)}
.nav-ic{font-size:1.05rem;width:18px;text-align:center;flex-shrink:0}
.btc-ticker{display:flex;align-items:center;justify-content:space-between;padding:8px 14px;border-top:1px solid var(--l1);flex-shrink:0}
.btc-left{display:flex;align-items:center;gap:6px}
.btc-sym{font-family:var(--fm);font-size:.68rem;font-weight:600;color:var(--gold)}
.btc-price{font-family:var(--fm);font-size:.8rem;font-weight:600;color:var(--t1);transition:color .4s}
.btc-chg{font-family:var(--fm);font-size:.6rem}
.btc-dot{width:5px;height:5px;border-radius:50%;background:var(--up);box-shadow:0 0 5px rgba(48,209,88,.7);animation:pulse 1.5s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.3}}
@keyframes zyFlashUp{0%{background:rgba(48,209,88,.20)}100%{background:transparent}}
@keyframes zyFlashDown{0%{background:rgba(255,69,58,.20)}100%{background:transparent}}
.zy-flash-up{animation:zyFlashUp 1s ease-out;border-radius:6px}
.zy-flash-down{animation:zyFlashDown 1s ease-out;border-radius:6px}
#upgrade-bar.upgrade-bar-urgent{background:linear-gradient(90deg,rgba(255,159,10,.18),rgba(255,69,58,.10))!important;border-bottom-color:rgba(255,159,10,.4)!important}
@keyframes zySkel{0%{background-position:-180px 0}100%{background-position:180px 0}}
.skel{color:transparent!important;border-radius:6px;background:linear-gradient(90deg,rgba(128,128,128,.10) 25%,rgba(128,128,128,.22) 50%,rgba(128,128,128,.10) 75%);background-size:360px 100%;animation:zySkel 1.1s linear infinite;user-select:none;pointer-events:none}
.skel *{visibility:hidden}
.ds-grip{cursor:grab;color:var(--t3);font-size:.95rem;margin-right:9px;user-select:none;opacity:.45;transition:opacity .15s;line-height:1}
.ds-grip:hover{opacity:1}
.ds-grip:active{cursor:grabbing}
.ds-section.ds-dragging{opacity:.45}
.ds-section.ds-drop-target{outline:2px dashed var(--blue);outline-offset:3px;border-radius:10px}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
.sb-inv{padding:8px 12px;border-top:1px solid var(--l1)}
.sb-lbl{font-size:.56rem;font-family:var(--fm);color:var(--t4);text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px;padding-left:2px}
.sb-sel{width:100%;background:var(--s2);color:var(--t1);border:1px solid var(--l2);border-radius:var(--r2);
  padding:6px 24px 6px 8px;font-family:var(--f);font-size:.78rem;font-weight:500;cursor:pointer;outline:none;appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235a6278' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 7px center;transition:border-color .14s}
.sb-sel:focus{border-color:var(--blue)}
.sb-sel option{background:var(--bg2)}
.sb-ccy{padding:8px 12px;border-top:1px solid var(--l1)}
.ccy-btns{display:flex;gap:3px;margin-top:4px}
.ccy-btn{flex:1;padding:5px 0;border-radius:6px;font-family:var(--fm);font-size:.68rem;font-weight:600;
  cursor:pointer;border:1px solid var(--l2);background:var(--s1);color:var(--t3);transition:all .14s;text-align:center}
.ccy-btn:hover{background:var(--s2);color:var(--t2)}
.ccy-btn.active{background:rgba(10,132,255,.15);border-color:rgba(10,132,255,.35);color:var(--blue2)}
.fx-strip{display:flex;flex-direction:column;gap:3px;margin-top:6px}
.fx-row{display:flex;justify-content:space-between;align-items:center;font-size:.6rem}
.fx-pair{font-family:var(--fm);color:var(--t4)}
.fx-rate{font-family:var(--fm);color:var(--t2);font-weight:500}
.fx-dot{width:5px;height:5px;border-radius:50%;flex-shrink:0}
.fx-dot.live{background:var(--up);box-shadow:0 0 4px rgba(48,209,88,.5);animation:pulse 2s infinite}
.fx-dot.stale{background:var(--warn);box-shadow:0 0 4px rgba(255,159,10,.5)}

.main{margin-left:var(--sb);flex:1;display:flex;flex-direction:column;height:100vh;height:100dvh;width:calc(100vw - var(--sb));overflow:hidden}
.topbar{display:flex;align-items:center;justify-content:space-between;padding:0 24px;height:52px;
  border-bottom:1px solid rgba(255,255,255,0.06);background:rgba(6,8,13,.85);position:fixed;top:0;left:var(--sb);right:0;z-index:100;
  backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px);flex-shrink:0;
  box-shadow:0 1px 0 rgba(255,255,255,0.04),0 4px 24px rgba(0,0,0,.3)}
[data-theme="light"] .topbar{background:rgba(244,246,251,.92);border-bottom-color:var(--l2)}
[data-theme="light"] .card,[data-theme="light"] .stat{
  background:var(--card);border-color:var(--l2);
  box-shadow:0 1px 2px rgba(16,24,40,.04),0 1px 3px rgba(16,24,40,.06);
}
[data-theme="light"] .card:hover{border-color:var(--l3);box-shadow:0 2px 8px rgba(16,24,40,.08)}
.tb-left{display:flex;align-items:center;gap:12px}
.tb-title{font-size:.86rem;font-weight:600;letter-spacing:-.01em}
.tb-div{width:1px;height:14px;background:var(--l2)}
.tb-crumb{font-size:.7rem;color:var(--t3);font-family:var(--fm)}
.tb-right{display:flex;gap:6px;align-items:center}
.search-wrap{position:relative;display:flex;align-items:center}
.search-inp{background:var(--s2);border:1px solid var(--l2);border-radius:var(--r2);color:var(--t1);
  font-family:var(--f);font-size:.76rem;padding:5px 10px 5px 28px;outline:none;width:160px;transition:all .18s}
.search-inp:focus{border-color:var(--blue);width:200px;box-shadow:0 0 0 3px rgba(10,132,255,.1)}
.search-inp::placeholder{color:var(--t4)}
.search-ic{position:absolute;left:8px;font-size:.8rem;color:var(--t4);pointer-events:none}
#searchResults{position:absolute;top:calc(100% + 6px);left:0;right:0;background:var(--card);
  border:1px solid var(--l2);border-radius:var(--r2);box-shadow:0 8px 24px rgba(0,0,0,.4);
  z-index:300;max-height:220px;overflow-y:auto;display:none}
.sr-item{padding:8px 12px;cursor:pointer;font-size:.76rem;border-bottom:1px solid var(--l1);transition:background .1s}
.sr-item:last-child{border-bottom:none}
.sr-item:hover{background:var(--s2)}
.sr-sym{font-family:var(--fm);font-weight:600;color:var(--t1)}
.sr-meta{font-size:.64rem;color:var(--t3);font-family:var(--fm);margin-top:1px}
.theme-btn{background:var(--s2);border:1px solid var(--l2);border-radius:var(--r2);color:var(--t2);font-size:.8rem;padding:5px 8px;cursor:pointer;transition:all .14s}
/* Notification bell + panel — sits in the same topbar icon row as
   .theme-btn, styled to match. Panel follows the same absolute-dropdown
   pattern as #searchResults (same z-index tier). */
.alerts-wrap{position:relative}
.alerts-badge{position:absolute;top:-4px;right:-4px;min-width:15px;height:15px;padding:0 3px;
  border-radius:999px;background:var(--dn);color:#fff;font-size:.55rem;font-weight:700;
  line-height:15px;text-align:center;font-family:var(--fm);display:flex;align-items:center;justify-content:center}
.alerts-panel{position:absolute;top:calc(100% + 8px);right:0;width:320px;max-height:380px;
  overflow-y:auto;background:var(--card);border:1px solid var(--l2);border-radius:var(--r2);
  box-shadow:0 8px 24px rgba(0,0,0,.4);z-index:300}
.alerts-panel-hd{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;
  border-bottom:1px solid var(--l1);font-size:.78rem;font-weight:700;color:var(--t1)}
.alerts-panel-close{background:none;border:none;color:var(--t3);font-size:1rem;cursor:pointer;line-height:1;padding:2px 4px}
.alerts-panel-close:hover{color:var(--t1)}
.alerts-panel-body{padding:6px}
.alerts-empty{padding:24px 12px;text-align:center;color:var(--t4);font-size:.74rem}
.alert-item{display:flex;gap:8px;padding:9px 8px;border-radius:var(--r2);margin-bottom:2px}
.alert-item:hover{background:var(--s2)}
.alert-item.unread{background:rgba(10,132,255,.06)}
.alert-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;margin-top:5px}
.alert-dot.critical{background:var(--dn)}
.alert-dot.warning{background:var(--warn)}
.alert-dot.info{background:var(--blue2)}
.alert-item-title{font-size:.76rem;font-weight:700;color:var(--t1);margin-bottom:2px}
.alert-item-body{font-size:.7rem;color:var(--t3);line-height:1.4}
.alert-item-dismiss{background:none;border:none;color:var(--t4);font-size:.85rem;cursor:pointer;
  flex-shrink:0;padding:2px 4px;align-self:flex-start}
.alert-item-dismiss:hover{color:var(--dn)}
.alerts-panel-gear{background:none;border:none;color:var(--t3);font-size:.85rem;cursor:pointer;
  line-height:1;padding:2px 5px;border-radius:var(--r2)}
.alerts-panel-gear:hover{color:var(--t1);background:var(--s2)}
.alerts-prefs{padding:10px 12px}
.alerts-prefs-row{display:flex;align-items:center;gap:8px;padding:7px 2px;font-size:.76rem;
  color:var(--t2);cursor:pointer}
.alerts-prefs-row input[type="checkbox"]{width:15px;height:15px;flex-shrink:0;accent-color:var(--blue)}
.alerts-prefs-thresholds{margin-top:8px;padding-top:10px;border-top:1px solid var(--l1);
  display:flex;flex-direction:column;gap:8px}
.alerts-prefs-num{display:flex;align-items:center;justify-content:space-between;gap:10px;
  font-size:.74rem;color:var(--t3)}
.alerts-prefs-num input[type="number"]{width:56px;background:var(--s2);border:1px solid var(--l2);
  border-radius:var(--r2);color:var(--t1);font-family:var(--fm);font-size:.74rem;padding:4px 6px;
  text-align:right}
.alerts-prefs-err{margin-top:8px;font-size:.68rem;color:var(--dn)}
.theme-btn:hover{background:var(--s3);color:var(--t1)}
/* Language selector — sized to sit level with .theme-btn in the topbar.
   flex-shrink:0 keeps it from collapsing inside the horizontally
   scrollable .tb-right on mobile (see the max-width:768px block). */
.lang-sel{background:var(--s2);border:1px solid var(--l2);border-radius:var(--r2);color:var(--t2);
  font-family:var(--fm);font-size:.66rem;font-weight:600;letter-spacing:.04em;padding:5px 6px;
  cursor:pointer;outline:none;appearance:none;flex-shrink:0;transition:all .14s}
.lang-sel:hover{background:var(--s3);color:var(--t1)}
.lang-sel:focus{border-color:var(--blue)}
.lang-sel option{background:var(--bg2);color:var(--t1)}
.btn{display:inline-flex;align-items:center;gap:5px;padding:6px 12px;border-radius:var(--r2);
  font-family:var(--f);font-size:.74rem;font-weight:600;cursor:pointer;border:none;transition:all .14s;white-space:nowrap}
.btn-p{background:linear-gradient(135deg,#0a84ff,#5e5ce6);color:#fff;box-shadow:0 2px 14px rgba(10,132,255,.35)}
.btn-p:hover{background:linear-gradient(135deg,#2090ff,#706ee8);box-shadow:0 4px 20px rgba(10,132,255,.45)}
.btn-g{background:var(--s2);color:var(--t2);border:1px solid var(--l2)}
.btn-g:hover{background:var(--s3);color:var(--t1)}
.btn-d{background:rgba(255,69,58,.08);color:var(--dn);border:1px solid rgba(255,69,58,.16)}
.btn-d:hover{background:rgba(255,69,58,.18)}
.btn-xs{padding:4px 8px;font-size:.68rem}.fs.btn-xs{font-size:.68rem}
.btn-sm{padding:5px 10px;font-size:.73rem}
.kb{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;
  background:var(--s3);border:1px solid var(--l2);border-radius:3px;font-size:.6rem;font-family:var(--fm);color:var(--t3);flex-shrink:0}
.page{padding:0;flex:1;min-height:0;height:100%;overflow:hidden;position:relative}
.view{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;visibility:hidden;overflow-y:scroll;padding:24px 28px 56px;box-sizing:border-box;pointer-events:none}
.view.active{visibility:visible;pointer-events:auto}
.g2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.g2>.card{min-width:0}
.g3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;align-items:start}
.g4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.gm{display:grid;grid-template-columns:2fr 1fr;gap:18px}
.gp{display:grid;grid-template-columns:1fr 300px;gap:18px}
.gap{margin-bottom:12px}
.view .gap{min-height:0}
.card{background:rgba(255,255,255,0.028);border:1px solid rgba(255,255,255,0.07);border-radius:var(--r);overflow:hidden;transition:border-color .2s,box-shadow .2s;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.card:hover{border-color:rgba(255,255,255,0.13);box-shadow:0 4px 24px rgba(0,0,0,.25)}
.cp{padding:18px}
.cw{position:relative;width:100%;overflow:hidden}
.ch{display:flex;align-items:center;justify-content:space-between;padding:11px 14px 9px;border-bottom:1px solid var(--l1)}
.tx-controls-wrap{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.tx-action-row{display:flex;gap:6px;flex-wrap:wrap}
.ct{font-size:.78rem;font-weight:600;letter-spacing:-.01em}
.cs{font-size:.64rem;color:var(--t3);font-family:var(--fm);margin-top:1px}
.stat{background:rgba(255,255,255,0.028);border:1px solid rgba(255,255,255,0.07);border-radius:var(--r);padding:16px;
  position:relative;overflow:hidden;transition:border-color .2s,box-shadow .2s;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.stat:hover{border-color:rgba(10,132,255,.25);box-shadow:0 4px 20px rgba(10,132,255,.08)}
.stat-acc{position:absolute;top:0;left:0;right:0;height:2px}
.stat-lbl{font-size:.6rem;font-family:var(--fm);color:var(--t3);text-transform:uppercase;letter-spacing:.07em;margin-bottom:8px;display:flex;align-items:center;justify-content:space-between}
.stat-val{font-size:1.72rem;font-weight:800;letter-spacing:-.05em;font-family:var(--fm);margin-bottom:4px;line-height:1}
.stat-val-sym{font-size:1.3rem;font-weight:700;letter-spacing:-.01em}
.stat-kpi-hero{grid-column:auto}
@media(max-width:1100px){ .stat-kpi-hero{grid-column:1 / -1} .stat-kpi-hero .stat-val{font-size:2.15rem} }
@media(max-width:640px){ .stat-kpi-hero .stat-val{font-size:1.9rem} }
.stat-d{font-size:.66rem;font-family:var(--fm)}
.up{color:var(--up)}.dn{color:var(--dn)}.mu{color:var(--t3)}
.cw{position:relative;width:100%;overflow:hidden}
.cw canvas{display:block!important;width:100%!important;max-height:100%!important}
.h130{height:130px;min-height:130px}.h150{height:150px;min-height:150px}.h160{height:160px;min-height:160px}
.h180{height:180px;min-height:180px}.h200{height:200px;min-height:200px}.h220{height:220px;min-height:220px}
.tbl{width:100%;border-collapse:collapse;font-size:.74rem}
.tbl thead th{padding:7px 12px;font-size:.58rem;font-family:var(--fm);text-transform:uppercase;
  letter-spacing:.06em;color:var(--t3);background:var(--s1);border-bottom:1px solid var(--l1);text-align:left;white-space:nowrap;font-weight:500}
.tbl thead th.r{text-align:right}
.th-sort{cursor:pointer;user-select:none}
.th-sort:hover{color:var(--t1)}
.th-arrow{display:inline-block;width:8px;margin-left:2px;font-size:.6rem;opacity:.7}
.tbl tbody tr{border-bottom:1px solid var(--l1);transition:background .1s}
.tbl tbody tr:last-child{border-bottom:none}
.tbl tbody tr:hover{background:var(--s2)}
.tbl td{padding:8px 12px;vertical-align:middle}
.tbl td.r{text-align:right;font-family:var(--fm)}
.tbl td.mono{font-family:var(--fm)}
.tag{display:inline-flex;align-items:center;padding:3px 8px;border-radius:20px;font-size:.58rem;font-weight:600;font-family:var(--fm);text-transform:uppercase;letter-spacing:.05em}
.tag-buy{background:rgba(48,209,88,.1);color:var(--up);border:1px solid rgba(48,209,88,.16)}
.tag-sell{background:rgba(255,69,58,.1);color:var(--dn);border:1px solid rgba(255,69,58,.16)}
.tag-stock{background:rgba(10,132,255,.1);color:var(--blue2);border:1px solid rgba(10,132,255,.16)}
.tag-crypto{background:rgba(255,214,10,.1);color:var(--gold);border:1px solid rgba(255,214,10,.14)}
.tag-admin{background:rgba(94,92,230,.1);color:var(--ind2);border:1px solid rgba(94,92,230,.18)}
.tag-investor{background:rgba(10,132,255,.07);color:var(--blue2);border:1px solid rgba(10,132,255,.13)}
.pws{font-size:.54rem;font-family:var(--fm);padding:1px 5px;border-radius:3px;background:rgba(48,209,88,.15);color:var(--live);border:1px solid rgba(48,209,88,.3);margin-left:3px;vertical-align:middle;animation:pulse 2s infinite}
.plive{font-size:.54rem;font-family:var(--fm);padding:1px 5px;border-radius:3px;background:rgba(48,209,88,.1);color:var(--up);border:1px solid rgba(48,209,88,.18);margin-left:3px;vertical-align:middle;animation:pulse 2s infinite}
.pcache{font-size:.54rem;font-family:var(--fm);padding:1px 5px;border-radius:3px;background:rgba(255,214,10,.08);color:var(--gold);border:1px solid rgba(255,214,10,.16);margin-left:3px;vertical-align:middle}
.pmanual{font-size:.54rem;font-family:var(--fm);padding:1px 5px;border-radius:3px;background:rgba(94,92,230,.1);color:var(--ind2);border:1px solid rgba(94,92,230,.2);margin-left:3px;vertical-align:middle}
.pstatic{font-size:.54rem;font-family:var(--fm);padding:1px 5px;border-radius:3px;background:var(--s3);color:var(--t3);border:1px solid var(--l2);margin-left:3px;vertical-align:middle}
.perr{font-size:.54rem;font-family:var(--fm);padding:1px 5px;border-radius:3px;background:rgba(255,69,58,.08);color:var(--err2);border:1px solid rgba(255,69,58,.2);margin-left:3px;vertical-align:middle}
.px-cell{display:inline-flex;align-items:center;gap:3px;cursor:pointer;border-radius:4px;padding:2px 4px;transition:background .12s}
.px-cell:hover{background:rgba(10,132,255,.1)}
.px-cell:hover .px-ic{opacity:1}
.px-ic{opacity:.35;font-size:.66rem;color:var(--blue);transition:opacity .12s}
.px-inp{background:rgba(10,132,255,.08);border:1px solid var(--blue);border-radius:4px;color:var(--t1);font-family:var(--fm);font-size:.76rem;padding:3px 6px;outline:none;width:86px;text-align:right}
.abar{height:4px;border-radius:99px;background:var(--l1);overflow:hidden;margin:3px 0}
.afill{height:100%;border-radius:99px;transition:none}
.arow{display:flex;justify-content:space-between;font-size:.62rem;font-family:var(--fm);color:var(--t3)}
.fbar-wrap{display:flex;flex-direction:column;gap:14px;padding:6px 0}
.fbar-row{display:flex;align-items:center;gap:9px}
.fbar-lbl{width:52px;text-align:right;font-family:var(--fm);color:var(--t3);flex-shrink:0;font-size:.68rem}
.fbar-track{flex:1;height:9px;border-radius:99px;background:var(--l1);overflow:hidden}
.fbar-fill{height:100%;border-radius:99px;background:linear-gradient(90deg,var(--blue),var(--ind))}
.fbar-val{width:56px;font-family:var(--fm);color:var(--t2);font-size:.68rem;text-align:right}
.sr{display:flex;justify-content:space-between;align-items:center;padding:7px 0;font-size:.74rem}
.sr+.sr{border-top:1px solid var(--l1)}
.sr-l{color:var(--t3)}.sr-v{font-family:var(--fm);font-weight:500}
.inv-card{background:var(--s1);border:1px solid var(--l1);border-radius:var(--r);padding:14px;transition:border-color .16s,transform .16s}
.inv-card:hover{border-color:var(--l2)}
.inv-av{width:38px;height:38px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem;font-family:var(--fm);margin-bottom:9px}
.inv-name{font-size:.84rem;font-weight:600;margin-bottom:2px}
.inv-email{font-size:.65rem;color:var(--t3);font-family:var(--fm);margin-bottom:6px}
.inv-sg{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px;padding-top:8px;border-top:1px solid var(--l1)}
.inv-sl{font-size:.58rem;color:var(--t3);font-family:var(--fm);text-transform:uppercase;letter-spacing:.05em}
.inv-sv{font-size:.78rem;font-weight:600;font-family:var(--fm);margin-top:1px}
.inv-acts{display:flex;gap:5px;margin-top:10px}
.hmap{display:grid;grid-template-columns:repeat(12,1fr);gap:3px;margin-top:6px}
.hm-c{aspect-ratio:1;border-radius:3px;cursor:default;transition:opacity .12s}
.hm-c:hover{opacity:.72}
.hm-lbls{display:flex;justify-content:space-between;margin-top:5px}
.hm-lbl{font-size:.56rem;font-family:var(--fm);color:var(--t4)}
.overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(6px);z-index:1000;align-items:center;justify-content:center;padding:20px}
.overlay.open{display:flex}
.modal{background:var(--card);border:1px solid var(--l2);border-radius:16px;box-shadow:0 24px 80px rgba(0,0,0,.6);width:100%;max-width:540px;max-height:92vh;max-height:92dvh;overflow-y:auto;-webkit-overflow-scrolling:touch;animation:mi .2s ease}
.modal-lg{max-width:660px}
@keyframes mi{from{opacity:0;transform:scale(.96) translateY(8px)}to{opacity:1;transform:scale(1) translateY(0)}}
.mh{display:flex;align-items:center;justify-content:space-between;padding:15px 17px 12px;border-bottom:1px solid var(--l1)}
.mt{font-size:.84rem;font-weight:600;letter-spacing:-.01em}
.mx{width:24px;height:24px;border-radius:5px;background:var(--s2);border:none;color:var(--t3);font-size:.78rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .12s}
.mx:hover{background:var(--s3);color:var(--t1)}
.mb{padding:15px 17px}
.mf{padding:11px 17px;border-top:1px solid var(--l1);display:flex;justify-content:flex-end;gap:7px}
.fg{display:flex;flex-direction:column;gap:4px}
.fgg{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.fg.full{grid-column:1/-1}
.fl{font-size:.58rem;font-family:var(--fm);color:var(--t3);text-transform:uppercase;letter-spacing:.07em}
.fi,.fs,.ft{background:var(--s2);border:1px solid var(--l2);border-radius:var(--r2);color:var(--t1);font-family:var(--f);font-size:.78rem;padding:7px 10px;outline:none;width:100%;transition:border-color .14s,box-shadow .14s}
.fi:focus,.fs:focus,.ft:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(10,132,255,.1)}
.fs option{background:var(--card)}
.ft{resize:vertical;min-height:60px;line-height:1.5}
.fi::placeholder{color:var(--t4)}
.csv-drop{border:1.5px dashed var(--l2);border-radius:var(--r);padding:24px 20px;text-align:center;transition:all .16s;cursor:pointer;background:var(--s1);margin-bottom:11px}
.csv-drop:hover,.csv-drop.over{border-color:var(--blue);background:rgba(10,132,255,.05)}
.csv-icon{font-size:1.5rem;margin-bottom:5px;opacity:.38}
.csv-text{font-size:.8rem;color:var(--t2);margin-bottom:2px}
.csv-browse{color:var(--blue);cursor:pointer;text-decoration:underline;font-weight:500}
.csv-hint{font-size:.64rem;color:var(--t4);font-family:var(--fm)}
.csv-fmt{background:var(--s1);border:1px solid var(--l1);border-radius:var(--r2);padding:10px 12px}
.csv-fmt-t{font-size:.58rem;font-family:var(--fm);color:var(--t3);text-transform:uppercase;letter-spacing:.07em;margin-bottom:7px}
.csv-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.csv-col{background:var(--s2);border-radius:5px;padding:5px 7px}
.csv-cn{font-family:var(--fm);font-size:.66rem;color:var(--t1);font-weight:600}
.csv-ce{font-family:var(--fm);font-size:.58rem;color:var(--t4)}
.csv-row-ok td:first-child{border-left:2px solid var(--up)}
.csv-row-warn td:first-child{border-left:2px solid var(--warn)}
.csv-row-warn td{background:rgba(255,159,10,.05)}
.csv-row-err td:first-child{border-left:2px solid var(--dn)}
.csv-row-err td{background:rgba(255,69,58,.03)}
.csv-err{color:var(--dn);font-family:var(--fm);font-size:.6rem}
.price-row{display:flex;align-items:center;gap:9px;padding:8px 0;border-bottom:1px solid var(--l1)}
.price-sym{font-family:var(--fm);font-weight:600;font-size:.8rem;width:54px;flex-shrink:0}
.price-src{width:58px;flex-shrink:0}
.price-ts{font-size:.6rem;font-family:var(--fm);color:var(--t4);flex:1}
.price-fi{width:100px;background:var(--s2);border:1px solid var(--l2);border-radius:6px;color:var(--t1);font-family:var(--fm);font-size:.78rem;padding:5px 8px;outline:none;transition:border-color .14s;text-align:right}
.price-fi:focus{border-color:var(--blue)}
.price-clr{background:none;border:none;color:var(--t4);font-size:.78rem;cursor:pointer;padding:3px 5px;border-radius:4px;transition:all .12s;flex-shrink:0}
.price-clr:hover{background:rgba(255,69,58,.1);color:var(--dn)}
.toast-wrap{position:fixed;bottom:18px;right:18px;z-index:9999;display:flex;flex-direction:column;gap:6px;pointer-events:none}
.toast{background:var(--card);border:1px solid var(--l2);border-radius:var(--r2);padding:8px 13px;font-size:.74rem;font-family:var(--fm);box-shadow:0 8px 28px rgba(0,0,0,.5);animation:ti .2s ease;pointer-events:all;max-width:280px}
.toast.ok{border-color:rgba(48,209,88,.28);color:var(--up)}
.toast.err{border-color:rgba(255,69,58,.28);color:var(--dn)}
.toast.info{border-color:rgba(10,132,255,.28);color:var(--blue2)}
.toast.warn{border-color:rgba(255,159,10,.28);color:var(--warn)}
@keyframes ti{from{opacity:0;transform:translateX(10px)}to{opacity:1;transform:translateX(0)}}
.mono{font-family:var(--fm)}.tup{color:var(--up)}.tdn{color:var(--dn)}.tm{color:var(--t3)}.td{color:var(--t4)}
.empty{text-align:center;padding:32px 16px;color:var(--t4)}
.empty-i{font-size:1.6rem;margin-bottom:7px;opacity:.3}
.empty p{font-size:.74rem}
@keyframes spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}
/* Neutral loading state shown ONLY while an existing stored session is being
   validated on load. Prevents two failure modes at once: showing the landing
   page to an already-logged-in user (the flash), and showing nothing at all
   if getSession() is slow or never resolves (blank screen). */
#auth-loading{position:fixed;inset:0;z-index:1500;display:none;
  align-items:center;justify-content:center;background:var(--bg)}
#auth-loading .al-spin{width:34px;height:34px;border-radius:50%;
  border:3px solid rgba(128,128,128,.22);border-top-color:var(--blue);
  animation:spin .8s linear infinite}
.sb-burger{display:none;background:var(--s2);border:1px solid var(--l2);border-radius:var(--r2);color:var(--t1);font-size:.9rem;width:30px;height:30px;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}
.sb-scrim{display:none;position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:190;opacity:0;transition:opacity .22s ease}
.sb-scrim.show{display:block;opacity:1}
@media(max-width:1200px){.g4{grid-template-columns:1fr 1fr}.gm,.gp{grid-template-columns:1fr}}
@media(max-width:768px){
  :root{--sb:0px}
  /* .alerts-panel is a normal-flow descendant of .tb-right via .alerts-wrap.
     The .tb-right rule just below gives it overflow-x:auto for horizontal
     icon scrolling on narrow screens — per spec that makes overflow-y
     compute to auto too, turning .tb-right into a clipping container. The
     panel's position:absolute layout (anchored to .alerts-wrap, opening
     well below .tb-right's own topbar-height box) was being clipped to
     zero visible area there, even though the JS opens it correctly and the
     badge/aria state all update as expected. position:fixed escapes that
     clipping by anchoring to the viewport instead — 52px matches .topbar's
     fixed height. Desktop is unaffected: this only applies inside this
     media query. */
  .alerts-panel{position:fixed;top:52px;left:12px;right:12px;width:auto}
  .sb{transform:translateX(-100%);transition:transform .28s cubic-bezier(.4,0,.2,1);width:250px;max-width:82vw;box-shadow:0 0 0 rgba(0,0,0,0)}
  .sb.open{transform:translateX(0);box-shadow:24px 0 60px rgba(0,0,0,.45)}
  .main{margin-left:0}
  .page{padding:12px}
  .ob-bar{margin:8px 12px 0}
  .view{padding-bottom:calc(84px + env(safe-area-inset-bottom, 0px)) !important}
  .g3{grid-template-columns:1fr}
  .fgg{grid-template-columns:1fr}
  .sb-burger{display:inline-flex}
  .topbar{padding:0 12px;gap:8px}
  .tb-crumb,.topbar-section-pill{display:none!important}
  .tb-left{gap:8px;min-width:0}
  .tb-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:34vw}
  .tb-right{flex-shrink:0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;max-width:64vw;padding-bottom:1px}
  .tb-right.has-overflow{mask-image:linear-gradient(90deg,#000 calc(100% - 20px),transparent 100%);-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 20px),transparent 100%)}
  .tb-right::-webkit-scrollbar{display:none}
  .tb-right .btn-label{display:none}
  #upgrade-bar{flex-wrap:nowrap!important;padding:6px 12px!important;gap:8px!important}
  #upgrade-bar .ub-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:.68rem!important}
  #upgrade-bar .upgrade-cta{flex-shrink:0;padding:6px 10px!important;font-size:.68rem!important;white-space:nowrap}
  #upgrade-bar .ub-cta-extra{display:none}
  .tx-controls-wrap .tx-act-extra{display:none}
  .tb-right .btn{width:36px;height:36px;min-height:36px;padding:0;justify-content:center;gap:0;flex-shrink:0}
  .tx-controls-wrap{display:grid!important;grid-template-columns:1fr 1fr;gap:6px;width:100%}
  .tx-controls-wrap>select,.tx-controls-wrap>.btn{width:100%!important;min-width:0;box-sizing:border-box}
  .tx-controls-wrap>select:not([style*="padding"]){padding:8px 7px!important}
  .tx-controls-wrap>.btn{justify-content:center;white-space:normal;text-align:center;line-height:1.2}
  #btnDelSym.tx-controls-wrap-full{grid-column:1/-1}
  .search-wrap{display:none}
  .btn .kb{display:none}
  .stat-val{font-size:1.4rem}
  .kpi-grid{gap:10px}
  .btn{padding:9px 14px;min-height:40px}
  .btn-sm{min-height:36px}
  .btn-xs{min-height:32px}
  .nav-item{padding:11px 10px;min-height:44px}
  .theme-btn{width:36px;height:36px;flex-shrink:0}
}
@media(max-width:480px){
  .g2{grid-template-columns:1fr}
  .cp{padding:14px}
  .stat{padding:13px}
}

/* ═══ Pro Lock Overlays ═══ */
.pro-lock-wrap{position:relative;overflow:hidden}
.pro-lock-overlay{position:absolute;inset:0;background:rgba(8,10,15,.88);backdrop-filter:blur(4px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;z-index:50;text-align:center;padding:20px;border-radius:var(--r)}
.pro-lock-overlay .lock-ic{font-size:1.6rem}
.pro-lock-overlay p{margin:0;color:var(--t2);font-size:.76rem;max-width:220px;line-height:1.55}



:root{--lc:#0a84ff;--lc2:#5e5ce6;--lg:linear-gradient(135deg,#0a84ff,#5e5ce6)}
#landing-page{font-family:var(--f);background:#06080d;color:#f0f2f7;overflow-x:hidden}
#landing-page *{box-sizing:border-box}
.zy-topbar{position:sticky;top:0;z-index:200;background:rgba(6,8,13,.88);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border-bottom:1px solid rgba(255,255,255,.06)}
.zy-topbar .inner{height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.zy-brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:-.03em;font-size:.9rem;color:#fff;text-decoration:none}
[data-theme="light"] .zy-brand{color:#0d1117}
.zy-mark{width:34px;height:34px;border-radius:10px;background:var(--lg);display:grid;place-items:center;box-shadow:0 2px 12px rgba(10,132,255,.4)}
.zy-mark svg{width:20px;height:20px}
.zy-nav-badge{font-size:.55rem;font-family:var(--fm);font-weight:600;color:#0a84ff;background:rgba(10,132,255,.12);padding:2px 8px;border-radius:10px;text-transform:uppercase;letter-spacing:.08em;border:1px solid rgba(10,132,255,.2)}
[data-theme="light"] .zy-nav-badge{color:#0064d2}
.zy-btn{border:0;border-radius:10px;padding:9px 20px;font-weight:600;cursor:pointer;transition:.2s;font-size:.82rem;line-height:1;font-family:var(--f)}
.zy-btn.primary{background:var(--lg);color:#fff;box-shadow:0 2px 14px rgba(10,132,255,.35)}
.zy-btn.primary:hover{filter:brightness(1.12);transform:translateY(-1px);box-shadow:0 4px 20px rgba(10,132,255,.5)}
.zy-btn.ghost{background:rgba(255,255,255,.05);color:var(--t1);border:1px solid rgba(255,255,255,.1)}
.zy-btn.ghost:hover{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.18)}
.zy-container{width:min(1180px,calc(100% - 40px));margin:0 auto}
.zy-hero{padding:64px 0 44px}
.zy-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
@media(max-width:860px){.zy-hero-grid{grid-template-columns:1fr}.zy-hero{padding:48px 0 32px}}
.zy-eyebrow{display:inline-flex;align-items:center;gap:7px;padding:7px 15px;border-radius:999px;background:rgba(10,132,255,.1);color:#60a5fa;font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-family:var(--f);border:1px solid rgba(10,132,255,.2);margin-bottom:20px}
[data-theme="light"] .zy-eyebrow{color:#0064d2;background:rgba(10,132,255,.08);border-color:rgba(10,132,255,.25)}
.zy-eyebrow-dot{width:6px;height:6px;border-radius:50%;background:#0a84ff;animation:eyePulse 3s ease-in-out infinite;flex-shrink:0}
@keyframes eyePulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.75;transform:scale(.92)}}
.zy-hero h1{margin:0 0 16px;font-size:clamp(32px,4.5vw,56px);font-weight:800;line-height:1.05;letter-spacing:-.05em;color:#f0f2f7}
.zy-hero h1 em{font-style:normal;background:var(--lg);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
[data-theme="light"] .zy-hero h1 em{background:linear-gradient(135deg,#006ddb,#5e5ce6);-webkit-background-clip:text;background-clip:text}
.zy-hero p{margin:0 0 24px;color:#9ba3b8;font-size:1.14rem;line-height:1.68;max-width:54ch}
.zy-hero-cta{display:flex;gap:24px;flex-wrap:wrap;align-items:center;margin-bottom:16px}
.zy-btn.hero-primary{padding:15px 28px;font-size:.96rem;border-radius:12px;background:var(--lg);color:#fff;box-shadow:0 4px 22px rgba(10,132,255,.42)}
.zy-btn.hero-primary:hover{transform:translateY(-2px);box-shadow:0 8px 32px rgba(10,132,255,.55)}
.zy-hero-link{display:inline-flex;align-items:center;color:#9ba3b8;font-size:.9rem;font-weight:600;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(155,163,184,.4);transition:color .2s,text-decoration-color .2s;cursor:pointer}
.zy-hero-link:hover{color:#f0f2f7;text-decoration-color:rgba(240,242,247,.5)}
[data-theme="light"] .zy-hero-link{color:#5c6779}
[data-theme="light"] .zy-hero-link:hover{color:#0d1117}
.zy-nocredit{font-size:.82rem;color:#707a94;display:flex;align-items:center;gap:8px;margin-bottom:24px}
[data-theme="light"] .zy-nocredit{color:#6b758f}
.zy-trust-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.zy-trust-item{display:flex;align-items:center;gap:5px;font-size:.82rem;color:#9ba3b8;font-weight:500}
.zy-check-icon{stroke:var(--up);flex-shrink:0}
[data-theme="light"] .zy-trust-item{color:#697493}
.zy-metrics{display:flex;gap:16px;flex-wrap:wrap;margin-top:24px}
@media(max-width:520px){.zy-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px}.zy-metric{min-width:0}}
.zy-metric{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07);border-radius:12px;padding:15px 20px;min-width:100px}
.zy-metric strong{display:block;font-size:1.7rem;font-weight:800;letter-spacing:-.03em;font-family:var(--fm)}
.zy-metric span{color:var(--t3);font-size:.78rem;margin-top:3px;display:block}
.zy-panel{background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.08);border-radius:20px;box-shadow:0 28px 72px rgba(0,0,0,.6),0 0 0 1px rgba(10,132,255,.07),inset 0 1px 0 rgba(255,255,255,.05)}
.zy-preview{padding:0;overflow:hidden;border-radius:20px}
.zy-panel-bar{display:flex;align-items:center;gap:6px;padding:11px 16px;background:rgba(255,255,255,.04);border-bottom:1px solid rgba(255,255,255,.06)}
.zy-mockup-light{display:none}
[data-theme="light"] .zy-mockup-dark{display:none}
[data-theme="light"] .zy-mockup-light{display:block}
.zy-panel-dot{width:9px;height:9px;border-radius:50%}
.zy-panel-url{margin-left:8px;font-size:.6rem;color:#5a6278;font-family:var(--fm)}
.zy-glow{position:absolute;inset:-60px;background:radial-gradient(ellipse at 50% 50%,rgba(10,132,255,.18),transparent 70%);pointer-events:none;z-index:-1;border-radius:50%}
.zy-panel-wrap{position:relative}
.zy-divider{height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.07),transparent)}
.zy-section{padding:48px 0}
.zy-section-lbl{text-align:center;font-size:.65rem;font-weight:700;font-family:var(--fm);letter-spacing:.12em;text-transform:uppercase;color:#0a84ff;margin-bottom:12px}
[data-theme="light"] .zy-section-lbl{color:#0064d2}
.zy-section h2{text-align:center;font-size:1.85rem;font-weight:800;color:#f0f2f7;letter-spacing:-.04em;margin-bottom:8px}
.zy-lead{text-align:center;font-size:1.07rem;color:#9ba3b8;margin-bottom:32px;line-height:1.65}
.zy-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media(max-width:720px){.zy-steps{grid-template-columns:1fr}}
.zy-step{padding:22px;border-radius:14px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.07);backdrop-filter:blur(10px);transition:border-color .2s,box-shadow .2s}
.zy-step:hover{border-color:rgba(10,132,255,.25);box-shadow:0 4px 24px rgba(10,132,255,.08)}
.zy-step-num{width:32px;height:32px;border-radius:9px;background:rgba(10,132,255,.1);border:1px solid rgba(10,132,255,.22);display:flex;align-items:center;justify-content:center;font-size:.76rem;font-weight:700;font-family:var(--fm);color:#0a84ff;margin-bottom:12px}
[data-theme="light"] .zy-step-num{color:#0064d2}
.zy-step h3{font-size:1rem;font-weight:700;color:#f0f2f7;margin-bottom:6px}
.zy-step p{font-size:.96rem;color:#9ba3b8;line-height:1.6;margin:0}
.zy-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
@media(max-width:720px){.zy-cards{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.zy-cards{grid-template-columns:1fr}}
.zy-card{padding:20px;border-radius:12px;background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.06);transition:border-color .2s}
.zy-card:hover{border-color:rgba(10,132,255,.2)}
.zy-card-icon{font-size:1.4rem;margin-bottom:10px}
.zy-card h3{font-size:1rem;font-weight:700;color:#f0f2f7;margin-bottom:6px}
.zy-card p{font-size:.96rem;color:#9ba3b8;line-height:1.55;margin:0}
.zy-broker-grid{display:grid;grid-template-columns:repeat(4,1fr);column-gap:36px;row-gap:18px;margin-top:32px;justify-items:center}
.zy-broker-chip{font-family:Georgia,'Times New Roman',serif;font-size:.98rem;font-weight:600;color:#c8cde0;letter-spacing:0}
.zy-broker-chip.zy-broker-more{color:#60a5fa;font-weight:700}
[data-theme="light"] .zy-broker-chip{color:#3d4658}
[data-theme="light"] .zy-broker-chip.zy-broker-more{color:#0066d6}
@media(max-width:760px){.zy-broker-grid{grid-template-columns:repeat(2,1fr);column-gap:24px}}
.zy-pricing-grid{display:grid;grid-template-columns:1fr;max-width:400px;margin:0 auto}
.zy-billing-toggle{display:inline-flex;align-items:center;gap:2px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:99px;padding:3px;margin:0 auto 32px;position:relative}
.zy-bt-opt{appearance:none;border:none;background:transparent;color:#9ba3b8;font-family:var(--f);font-size:.78rem;font-weight:600;padding:8px 18px;border-radius:99px;cursor:pointer;transition:color .2s ease,background .2s ease;display:flex;align-items:center;gap:7px}
.zy-bt-opt.active{background:linear-gradient(135deg,#0a84ff,#5e5ce6);color:#fff}
.zy-bt-save{font-size:.62rem;font-weight:700;background:rgba(48,209,88,.16);color:#30d158;padding:2px 7px;border-radius:20px;letter-spacing:.02em}
[data-theme="light"] .zy-bt-save{color:#15803d}
.zy-bt-opt.active .zy-bt-save{background:rgba(255,255,255,.22);color:#fff}
.zy-billing-wrap{text-align:center}
.zy-plan-annual-note{font-size:.72rem;color:#30d158;font-weight:600;margin-top:-10px;margin-bottom:14px}
[data-theme="light"] .zy-plan-annual-note{color:#15803d}
.zy-trial-note{font-size:.68rem;color:#6b7490;text-align:center;margin-top:12px}
[data-theme="light"] .zy-trial-note{color:#697493}
.zy-compare-wrap{max-width:520px;margin:40px auto 0}
.zy-compare-lbl{text-align:center;font-size:.72rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#6b7490;margin-bottom:14px}
[data-theme="light"] .zy-compare-lbl{color:#697493}
.zy-compare-table{background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.08);border-radius:14px;overflow:hidden}
.zy-compare-row{display:grid;grid-template-columns:1fr 90px 90px;align-items:center;padding:11px 16px;font-size:.76rem;color:#c8cde0;border-top:1px solid rgba(255,255,255,.06)}
.zy-compare-row:first-child{border-top:none}
.zy-compare-row>div:not(:first-child){text-align:center}
.zy-compare-head{font-weight:700;color:#f0f2f7;font-size:.72rem;padding-top:14px;padding-bottom:14px}
.zy-compare-col-zyvo{color:var(--blue2);font-weight:700}
.zy-compare-note{text-align:center;font-size:.64rem;color:#4a5268;margin-top:10px}
[data-theme="light"] .zy-compare-table{background:#fff;border-color:var(--l2);box-shadow:0 1px 3px rgba(16,24,40,.04)}
[data-theme="light"] .zy-compare-row{color:#0d1117;border-top-color:var(--l1)}
[data-theme="light"] .zy-compare-head{color:#0d1117}
[data-theme="light"] .zy-billing-toggle{background:rgba(10,132,255,.06);border-color:rgba(10,132,255,.15)}
[data-theme="light"] .zy-bt-opt{color:#5c6779}
#trial-expired-screen{position:fixed;inset:0;z-index:2000;background:#06080d;display:flex;align-items:center;justify-content:center;padding:20px}
.te-card{max-width:420px;width:100%;text-align:center;background:var(--card,#0d111c);border:1px solid rgba(255,255,255,.08);border-radius:20px;padding:36px 30px}
.te-ico{font-size:2.4rem;margin-bottom:14px}
.te-card h2{font-size:1.3rem;font-weight:800;color:#f0f2f7;margin:0 0 10px}
.te-card p{font-size:.82rem;color:#9ba3b8;line-height:1.6;margin:0 0 24px}
.te-actions{display:flex;flex-direction:column;gap:10px}
.te-logout{margin-top:18px;background:none;border:none;color:#6b7490;font-size:.74rem;cursor:pointer;text-decoration:underline}
@media(max-width:600px){.zy-pricing-grid{grid-template-columns:1fr}}
.zy-price{padding:28px;border-radius:16px;background:rgba(255,255,255,.028);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(12px);position:relative}
.zy-price.featured{border-color:rgba(10,132,255,.35);background:rgba(10,132,255,.05);box-shadow:0 0 44px rgba(10,132,255,.1)}
.zy-pbadge{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:var(--lg);color:#fff;font-size:.6rem;font-weight:700;padding:4px 14px;border-radius:20px;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;box-shadow:0 2px 10px rgba(10,132,255,.3)}
.ptag{display:inline-block;font-size:.76rem;font-weight:700;color:#f0f2f7;margin-bottom:12px;text-transform:uppercase;letter-spacing:.04em}
.ptag.pro{color:#60a5fa}
.zy-inline-pro-badge{font-size:.62rem;background:rgba(10,132,255,.12);color:#60a5fa;padding:1px 7px;border-radius:8px;font-weight:600;vertical-align:middle}
[data-theme="light"] .ptag{color:#0d1117}
[data-theme="light"] .ptag.pro{color:#0064d2}
[data-theme="light"] .zy-inline-pro-badge{color:#0064d2}
.pamt{font-size:2.4rem;font-weight:800;letter-spacing:-.05em;font-family:var(--fm);color:#f0f2f7;line-height:1}
[data-theme="light"] .pamt{color:#0d1117}
.zy-plan-per{font-size:.78rem;color:#9ba3b8;margin-top:2px;margin-bottom:16px}
[data-theme="light"] .zy-plan-per{color:#697493}
.zy-price hr{border:none;height:1px;background:rgba(255,255,255,.07);margin:18px 0}
.zy-price ul{list-style:none;padding:0;margin:0 0 22px;display:flex;flex-direction:column;gap:9px}
.zy-price ul li{display:flex;align-items:flex-start;gap:7px;font-size:.93rem;color:#c8cde0}
.zy-price ul li::before{content:"✓";color:#30d158;font-weight:700;flex-shrink:0;margin-top:1px}
[data-theme="light"] .zy-price ul li{color:#4a5268}
[data-theme="light"] .zy-price ul li::before{color:#15803d}
.zy-price ul li.na{color:#5a6278}
.zy-price ul li.na::before{content:"–";color:#363d52}
.zy-price .zy-btn{width:100%;justify-content:center;display:flex;padding:13px;font-size:.86rem;border-radius:10px}
.zy-price .zy-btn.pro{background:var(--lg);color:#fff;box-shadow:0 4px 16px rgba(10,132,255,.35)}
.zy-price .zy-btn.pro:hover{box-shadow:0 6px 24px rgba(10,132,255,.5);transform:translateY(-1px)}
.zy-sec-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
@media(max-width:720px){.zy-sec-grid{grid-template-columns:1fr 1fr}}
.zy-sec-card{padding:18px;border-radius:12px;background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.06);text-align:center}
.zy-sec-icon{font-size:1.4rem;margin-bottom:8px}
.zy-sec-card h4{font-size:1rem;font-weight:700;color:#f0f2f7;margin-bottom:5px}
.zy-sec-card p{font-size:.93rem;color:#9ba3b8;line-height:1.5;margin:0}
.zy-about{max-width:720px;margin:0 auto;text-align:center;padding:0}
.zy-about p{font-size:.92rem;color:#9ba3b8;line-height:1.78;margin-bottom:18px}
[data-theme="light"] .zy-about p{color:#4a5268}
.zy-about em{font-style:italic;color:#c8cde0}
.zy-about-sig{font-size:.78rem;color:#5a6278;font-style:italic}
.zy-final-cta{text-align:center;padding:64px 0;max-width:660px;margin:0 auto}
.zy-final-cta h2{font-size:1.9rem;font-weight:800;color:#f0f2f7;letter-spacing:-.04em;margin-bottom:14px}
.zy-final-cta p{font-size:.92rem;color:#9ba3b8;margin-bottom:30px;line-height:1.65}
.zy-footer{padding:24px 0;border-top:1px solid rgba(255,255,255,.06)}
.zy-footer-inner{display:flex;align-items:center;justify-content:space-between;font-size:.86rem;color:#5a6278;flex-wrap:wrap;gap:12px}
.zy-footer-links{display:flex;flex-wrap:wrap;gap:10px 20px;justify-content:flex-end}
.zy-footer-links a{color:#5a6278;text-decoration:none;transition:color .14s}
.zy-footer-links a:hover{color:#9ba3b8}
[data-theme="light"] #landing-page{background:#f4f6fb;color:#0c1024}
[data-theme="light"] .zy-topbar{background:rgba(244,246,251,.9)}
[data-theme="light"] .zy-hero h1,[data-theme="light"] .zy-section h2,[data-theme="light"] .zy-final-cta h2{color:#0c1024}
[data-theme="light"] .zy-hero p,[data-theme="light"] .zy-lead{color:#4a5268}
[data-theme="light"] .zy-step,[data-theme="light"] .zy-card,[data-theme="light"] .zy-price,[data-theme="light"] .zy-sec-card,[data-theme="light"] .zy-metric{background:rgba(0,0,0,.02);border-color:rgba(0,0,0,.08)}
[data-theme="light"] .zy-panel{background:#fff;border-color:rgba(0,0,0,.1)}
[data-theme="light"] .zy-footer{border-top-color:rgba(0,0,0,.08)}
/* --- light-mode fixes: card internals that were left on dark values --- */
[data-theme="light"] .zy-step h3,[data-theme="light"] .zy-card h3,[data-theme="light"] .zy-sec-card h4{color:#0c1024}
[data-theme="light"] .zy-step p,[data-theme="light"] .zy-card p,[data-theme="light"] .zy-sec-card p{color:#4a5268}
[data-theme="light"] .zy-about em{color:#0c1024}
[data-theme="light"] .zy-final-cta p{color:#4a5268}


/* ═══════════════════════════════════
   ONBOARDING SYSTEM
   ═══════════════════════════════════ */

/* ── Onboarding Bar ── */
.ob-bar{background:rgba(10,132,255,.06);border:1px solid rgba(10,132,255,.15);
  border-radius:14px;padding:13px 18px 10px;margin:10px 24px 0;flex-shrink:0;
  overflow:hidden;max-height:600px}
.ob-bar.ob-done{opacity:0;max-height:0!important;padding:0!important;margin:0!important;
  border-width:0!important;pointer-events:none;
  transition:opacity .4s,max-height .45s ease,padding .4s,margin .4s,border .4s}
.ob-top{display:flex;align-items:flex-start;justify-content:space-between;
  margin-bottom:9px;gap:12px}
.ob-title{font-size:.8rem;font-weight:700;color:#f0f2f7;margin-bottom:2px}
.ob-subtitle{font-size:.7rem;color:#9ba3b8;line-height:1.4}
.ob-dismiss{font-size:.65rem;color:#7881a3;cursor:pointer;padding:3px 8px;
  border-radius:7px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);
  transition:color .14s,background .14s;white-space:nowrap;flex-shrink:0;margin-top:1px}
.ob-dismiss:hover{color:#9ba3b8;background:rgba(255,255,255,.08)}
.ob-steps{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}
/* Collapsed one-line summary — mobile only. Desktop always shows the full bar. */
.ob-mini{display:none;align-items:center;gap:8px;cursor:pointer;user-select:none}
.ob-mini-txt{flex:1;font-size:.74rem;font-weight:600;color:#f0f2f7;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
[data-theme="light"] .ob-mini-txt{color:var(--t1)}
/* Compact 3-dot step indicator — mobile only, mirrors the 3-step concept
   without needing the full cards visible. Updated in Ob.render(). */
.ob-dots{display:none;align-items:center;gap:4px;flex-shrink:0}
.ob-dot{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.2);
  transition:background .2s,transform .2s}
.ob-dot.ob-dot-active{background:var(--blue);transform:scale(1.35)}
[data-theme="light"] .ob-dot{background:rgba(0,0,0,.16)}
.ob-mini-chev{font-size:.7rem;color:#7881a3;flex-shrink:0;transition:transform .2s}
.ob-bar.ob-expanded .ob-mini-chev{transform:rotate(180deg)}
@media(max-width:700px){.ob-steps{grid-template-columns:1fr}
  /* Collapsed by default on a phone: a single compact line instead of full
     step cards, which previously filled a large share of the screen and
     buried the dashboard. Tapping the line expands to show only the
     currently active step (see .ob-step:not(.ob-active) below) — the other
     two steps stay represented by the dot indicator instead of full cards. */
  .ob-mini{display:flex;min-height:28px;padding:2px 0}
  .ob-dots{display:flex}
  .ob-bar{padding:9px 12px;margin:8px 12px 0}
  .ob-bar:not(.ob-expanded) .ob-top,
  .ob-bar:not(.ob-expanded) .ob-steps,
  .ob-bar:not(.ob-expanded) .ob-progress{display:none}
  .ob-bar.ob-expanded{padding:9px 12px 9px}
  .ob-bar.ob-expanded .ob-mini{margin-bottom:8px}
  .ob-top{margin-bottom:8px}
  .ob-subtitle{display:none}
  .ob-steps{gap:6px}
  /* Only the active step card renders on mobile — steps 2/3 stay
     completely out of the layout (not just visually trimmed) until they
     become active, which is what keeps mobile height bounded. */
  .ob-step:not(.ob-active){display:none}
  .ob-step{padding:9px 11px;gap:8px;align-items:flex-start}
  .ob-step-ico{width:24px;height:24px;font-size:.72rem}
  .ob-progress{margin-top:8px}
}
.ob-step{display:flex;align-items:flex-start;gap:9px;padding:10px 12px;
  border-radius:11px;border:1px solid rgba(255,255,255,.06);
  background:rgba(255,255,255,.018);cursor:pointer;
  transition:border-color .2s,background .2s,opacity .2s}
.ob-step.ob-active{border-color:rgba(10,132,255,.32);background:rgba(10,132,255,.07)}
.ob-step.ob-active:hover{background:rgba(10,132,255,.11)}
.ob-step.ob-complete{border-color:rgba(48,209,88,.22);background:rgba(48,209,88,.04);opacity:.7}
.ob-step.ob-pending{opacity:.5;cursor:default}
.ob-step-ico{width:26px;height:26px;border-radius:8px;display:flex;align-items:center;
  justify-content:center;font-size:.76rem;flex-shrink:0;
  background:rgba(255,255,255,.04);transition:background .2s}
.ob-step.ob-active .ob-step-ico{background:rgba(10,132,255,.14)}
.ob-step.ob-complete .ob-step-ico{background:rgba(48,209,88,.12)}
.ob-step-body{flex:1;min-width:0}
.ob-step-num{font-size:.56rem;font-weight:700;font-family:var(--fm);
  text-transform:uppercase;letter-spacing:.06em;color:#7881a3;margin-bottom:2px}
.ob-step.ob-active .ob-step-num{color:var(--blue2)}
.ob-step.ob-complete .ob-step-num{color:var(--up)}
.ob-step-label{font-size:.78rem;font-weight:700;color:#9ba3b8;margin-bottom:2px}
.ob-step.ob-active .ob-step-label{color:#f0f2f7}
.ob-step.ob-complete .ob-step-label{color:#c8cde0}
.ob-step-desc{font-size:.68rem;color:#7881a3;line-height:1.4}
[data-theme="light"] .ob-dismiss,[data-theme="light"] .ob-step-num,[data-theme="light"] .ob-step-desc{color:#5a6378}
.ob-step.ob-active .ob-step-desc{color:#9ba3b8}
.ob-cta{display:inline-flex;align-items:center;gap:4px;margin-top:5px;
  font-size:.7rem;font-weight:600;color:#0a84ff;cursor:pointer;
  padding-bottom:1px;border-bottom:1px solid rgba(10,132,255,.3);
  transition:color .14s}
.ob-cta:hover{color:var(--blue2)}
.ob-progress{height:3px;background:rgba(255,255,255,.05);border-radius:2px;margin-top:10px}
.ob-progress-fill{height:100%;border-radius:2px;
  background:linear-gradient(90deg,#0a84ff,#5e5ce6);
  transition:width .5s cubic-bezier(.4,0,.2,1)}

/* ── Sample-data banner ── */
.sd-banner{border:1px solid rgba(94,92,230,.32);background:rgba(94,92,230,.07);
  margin-bottom:16px;padding:10px 14px}
.sd-banner-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sd-banner-txt{font-weight:700;font-size:.82rem;color:var(--t1);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:600px){
  .sd-banner{padding:9px 12px}
  .sd-banner-row{flex-wrap:wrap;gap:8px}
  .sd-banner-txt{flex:1 1 100%;white-space:normal}
  .sd-banner-row .btn{margin-left:auto}
}

/* ── Improved Empty States ── */
.es-wrap{display:flex;flex-direction:column;align-items:center;
  justify-content:center;padding:48px 24px;text-align:center}
.es-icon{font-size:2rem;margin-bottom:12px;opacity:.4}
.es-title{font-size:.9rem;font-weight:700;color:#f0f2f7;margin-bottom:7px}
.es-body{font-size:.76rem;color:#9ba3b8;line-height:1.65;max-width:42ch;margin-bottom:18px}
.es-action{display:inline-flex;align-items:center;gap:6px;padding:10px 20px;
  border-radius:10px;background:linear-gradient(135deg,#0a84ff,#5e5ce6);
  color:#fff;font-size:.78rem;font-weight:600;cursor:pointer;border:none;
  font-family:var(--f);transition:.2s;box-shadow:0 2px 14px rgba(10,132,255,.32)}
.es-action:hover{transform:translateY(-1px);box-shadow:0 4px 20px rgba(10,132,255,.48)}
.es-action-ghost{display:inline-flex;align-items:center;gap:6px;padding:9px 18px;
  border-radius:10px;background:rgba(255,255,255,.05);color:#9ba3b8;
  font-size:.78rem;font-weight:500;cursor:pointer;
  border:1px solid rgba(255,255,255,.1);font-family:var(--f);transition:.2s}
.es-action-ghost:hover{background:rgba(255,255,255,.09);color:#f0f2f7}

/* ── View Guide Banners ── */
.view-guide{display:flex;align-items:flex-start;gap:11px;
  background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.06);
  border-left:3px solid #0a84ff;border-radius:0 9px 9px 0;
  padding:11px 16px;margin-bottom:18px;
  font-size:.74rem;color:#9ba3b8;line-height:1.55}
.view-guide strong{color:#f0f2f7;display:block;margin-bottom:3px;font-size:.76rem;font-weight:700}
.view-guide-icon{font-size:1rem;flex-shrink:0;margin-top:2px;opacity:.7}

/* ── Sidebar Nudge ── */
.sb-nudge{background:rgba(10,132,255,.07);border:1px solid rgba(10,132,255,.18);
  border-radius:10px;padding:12px 14px;margin:10px 0;
  display:none;animation:nudgeFade .3s ease}
@keyframes nudgeFade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.sb-nudge.sb-nudge-visible{display:block}
.sb-nudge-lbl{font-size:.58rem;font-weight:700;font-family:var(--fm);
  color:var(--blue2);text-transform:uppercase;letter-spacing:.07em;margin-bottom:5px}
.sb-nudge-text{font-size:.7rem;color:#9ba3b8;line-height:1.45;margin-bottom:9px}
.sb-nudge-btn{width:100%;padding:7px;border-radius:7px;
  background:rgba(10,132,255,.16);color:var(--blue2);border:none;
  font-size:.7rem;font-weight:600;cursor:pointer;font-family:var(--f);transition:.2s}
.sb-nudge-btn:hover{background:rgba(10,132,255,.28)}

/* ── Light mode ── */
[data-theme="light"] .ob-bar{background:rgba(10,132,255,.05);border-color:rgba(10,132,255,.18)}
[data-theme="light"] .ob-step{background:rgba(0,0,0,.02);border-color:rgba(0,0,0,.08)}
[data-theme="light"] .ob-step.ob-active{background:rgba(10,132,255,.07)}
[data-theme="light"] .ob-title{color:#0c1024}
[data-theme="light"] .ob-step-label{color:#4a5268}
[data-theme="light"] .ob-step.ob-active .ob-step-label{color:#0c1024}
[data-theme="light"] .ob-step.ob-complete .ob-step-label{color:#3d4459}
[data-theme="light"] .ob-step.ob-active .ob-step-desc{color:#5a6378}
[data-theme="light"] .view-guide{background:rgba(0,0,0,.02);border-color:rgba(0,0,0,.08)}
[data-theme="light"] .view-guide strong{color:#0c1024}
[data-theme="light"] .es-title{color:#0c1024}
[data-theme="light"] .es-body{color:#4a5268}
[data-theme="light"] .es-action-ghost{background:rgba(0,0,0,.04);color:var(--t2);border-color:rgba(0,0,0,.12)}
[data-theme="light"] .es-action-ghost:hover{background:rgba(0,0,0,.07);color:var(--t1)}
[data-theme="light"] .te-card h2{color:var(--t1)}
[data-theme="light"] .te-card p{color:var(--t2)}
[data-theme="light"] .te-logout{color:var(--t3)}
[data-theme="light"] .sb-nudge{background:rgba(10,132,255,.06);border-color:rgba(10,132,255,.2)}


/* Nav label + hint (single definition — see consolidated block below, was duplicated) */
.nav-label-wrap{display:flex;flex-direction:column;gap:1px;line-height:1}


/* ── Grouped Navigation (Section 3) ── */
.nav-group { margin: 3px 0; }
.nav-group-hdr {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 5px 10px;
  border: none; background: transparent;
  color: var(--t3); cursor: pointer;
  font-size: .63rem; font-weight: 700; font-family: var(--fm);
  text-transform: uppercase; letter-spacing: .07em;
  border-radius: var(--r1);
  transition: color .15s, background .15s;
  margin-top: 4px; margin-bottom: 1px;
}
.nav-group-hdr:hover { color: var(--t2); background: var(--s2); }
.nav-group.ng-active .nav-group-hdr { color: var(--ac); }
.nav-group-ico { font-size: .75rem; opacity: .55; flex-shrink: 0; width: 14px; text-align: center; }
.nav-group.ng-active .nav-group-ico { opacity: 1; }
.nav-group-lbl { flex: 1; text-align: left; }
.nav-group-chevron {
  font-size: .55rem; opacity: .45; flex-shrink: 0;
  display: inline-block; line-height: 1;
  transition: transform .22s cubic-bezier(.4,0,.2,1);
}
.nav-group.ng-collapsed .nav-group-chevron { transform: rotate(-90deg); }
.nav-group-body {
  overflow: hidden;
  max-height: 200px;
  transition: max-height .28s cubic-bezier(.4,0,.2,1), opacity .22s ease;
  opacity: 1;
}
.nav-group.ng-collapsed .nav-group-body { max-height: 0 !important; opacity: 0; }
.nav-child {
  margin-left: 10px !important;
  padding-left: 10px !important;
  border-left: 1px solid var(--l1);
  border-radius: 0 var(--r1) var(--r1) 0 !important;
  font-size: .76rem !important;
}
.nav-child:last-child { margin-bottom: 3px; }
.nav-group.ng-active { background: rgba(10,132,255,.04); border-radius: var(--r1); }
.nav-divider { height: 1px; background: var(--l1); margin: 8px 2px; opacity: .7; }
/* Topbar section pill */
.topbar-section-pill {
  display: none; align-items: center; gap: 5px;
  font-size: .63rem; font-weight: 600; font-family: var(--fm);
  color: var(--t3); letter-spacing: .04em;
  padding: 2px 8px; border-radius: 99px;
  background: var(--s2); border: 1px solid var(--l1);
  margin-left: 4px; white-space: nowrap; overflow: hidden;
  max-width: 140px; flex-shrink: 0;
}
.topbar-section-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ac); flex-shrink: 0; }
.topbar-section-name { color: var(--t2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Cluster bar on dashboard */
.cluster-bar {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 10px;
  margin-bottom: 18px;
}
@media(max-width:680px){ .cluster-bar { grid-template-columns: 1fr; } }
.cluster-tile {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px;
  background: var(--card); border: 1px solid var(--l1);
  border-radius: var(--r2); cursor: pointer;
  font-family: var(--f); text-align: left;
  transition: border-color .18s, background .18s, transform .18s, box-shadow .18s;
}
.cluster-tile:hover {
  border-color: rgba(10,132,255,.35);
  background: rgba(10,132,255,.05);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(10,132,255,.12);
}
.cluster-tile:active { transform: translateY(0); }
.cluster-tile-ico {
  font-size: 1.15rem; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--s2); display: grid; place-items: center;
  transition: background .18s;
}
.cluster-tile:hover .cluster-tile-ico { background: rgba(10,132,255,.12); }
.cluster-tile-body { flex: 1; min-width: 0; }
.cluster-tile-lbl { display: block; font-size: .78rem; font-weight: 700; color: var(--t1); margin-bottom: 2px; }
.cluster-tile-sub { display: block; font-size: .64rem; color: var(--t3); font-family: var(--fm); }
.cluster-tile-arr { font-size: .78rem; color: var(--t4); flex-shrink: 0; transition: transform .18s, color .18s; }
.cluster-tile:hover .cluster-tile-arr { transform: translateX(3px); color: var(--ac); }
[data-theme="light"] .cluster-tile:hover { background: rgba(10,132,255,.04); }
[data-theme="light"] .nav-group.ng-active { background: rgba(10,132,255,.05); }
[data-theme="light"] .nav-child { border-left-color: rgba(0,0,0,.1); }
/* nav-label-wrap already from v3; re-confirm */
.nav-label-wrap { display: flex; flex-direction: column; gap: 1px; line-height: 1; }
.nav-hint { font-size: .57rem; color: var(--t4); font-family: var(--fm); letter-spacing: .03em; transition: color .2s; }
.nav-item:hover .nav-hint { color: var(--t3); }
.nav-item.active .nav-hint { color: var(--blue2); opacity: .7; }


/* ═══════════════════════════════════
   DASHBOARD SECTIONS (Section 4)
   ═══════════════════════════════════ */

/* ── 6-column KPI grid ── */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
@media(max-width:1100px){ .kpi-grid { grid-template-columns: repeat(3,1fr); } }
@media(max-width:640px){  .kpi-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:400px){  .kpi-grid { grid-template-columns: repeat(2,1fr); gap:8px; } .stat-val{font-size:1.4rem} .stat-kpi{padding:12px} }

/* ── KPI stat card (larger emphasis) ── */
.stat-kpi {
  border: 1px solid rgba(10,132,255,.1);
}
.stat-kpi .stat-val {
  font-size: 1.38rem !important;
  letter-spacing: -.03em;
}

/* ── KPI inline badge ── */
.kpi-tag {
  display: inline-flex; align-items: center;
  padding: 1px 6px; border-radius: 4px;
  font-size: .55rem; font-weight: 700; font-family: var(--fm);
  letter-spacing: .05em; text-transform: uppercase;
  background: rgba(10,132,255,.12); color: var(--blue2);
  vertical-align: middle; margin-left: 4px;
}

/* ── 2-column grid ── */
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media(max-width:640px){ .g2 { grid-template-columns: 1fr; } }

/* ── Dashboard section wrapper ── */
.ds-section {
  margin-bottom: 6px;
}

/* ── Section header ── */
.ds-sec-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 2px 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--l1);
}
.ds-sec-title {
  display: flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; font-family: var(--fm);
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--t2);
}
.ds-sec-ico {
  font-size: .65rem; opacity: .55;
  width: 18px; text-align: center;
}
.ds-sec-badge {
  font-size: .58rem; font-weight: 700; font-family: var(--fm);
  text-transform: uppercase; letter-spacing: .06em;
  padding: 2px 8px; border-radius: 99px;
  background: linear-gradient(135deg, rgba(10,132,255,.15), rgba(94,92,230,.15));
  color: var(--blue2); border: 1px solid rgba(10,132,255,.2);
}

/* ── Collapse button ── */
.ds-collapse-btn {
  width: 26px; height: 26px; border-radius: 7px;
  border: 1px solid var(--l1); background: var(--s2);
  color: var(--t3); font-size: .65rem; cursor: pointer;
  display: grid; place-items: center;
  transition: background .15s, color .15s, transform .22s cubic-bezier(.4,0,.2,1);
}
.ds-collapse-btn:hover { background: var(--l1); color: var(--t1); }
.ds-collapse-btn.collapsed { transform: rotate(-90deg); }

/* ── Collapsible section body ── */
.ds-sec-body {
  overflow: hidden;
  max-height: 2000px;
  transition: max-height .35s cubic-bezier(.4,0,.2,1), opacity .28s ease;
  opacity: 1;
}
.ds-sec-body.ds-collapsed {
  max-height: 0 !important;
  opacity: 0;
}

/* ── Section A: no collapse button (always visible) ── */
#ds-a .ds-sec-hdr { border-bottom-color: rgba(10,132,255,.2); }
#ds-a .ds-sec-title { color: var(--t1); }

[data-theme="light"] .kpi-tag { background: rgba(10,132,255,.1); }

/* ── Dashboard Guide ("Understanding your dashboard") ── */
#ds-guide .ds-sec-hdr { border-bottom-color: rgba(94,92,230,.18); }
#ds-guide .ds-sec-title .ds-sec-ico { color: #5e5ce6; }
.guide-intro {
  font-size: .8rem; color: var(--t2); line-height: 1.65; max-width: 720px;
  margin: 0 0 20px;
}
.guide-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media(max-width:1100px){ .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:640px){ .guide-grid { grid-template-columns: 1fr; } }
.guide-card {
  background: var(--card); border: 1px solid var(--l1); border-radius: var(--r2);
  padding: 18px 18px 6px; position: relative; overflow: hidden;
}
.guide-card::before{
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background: var(--guide-accent, linear-gradient(90deg,#0a84ff,#5e5ce6));
}
.guide-card-head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
}
.guide-card-ico { font-size: .95rem; line-height: 1; }
.guide-card-title {
  font-size: .74rem; font-weight: 700; letter-spacing: .02em; color: var(--t1);
}
.guide-row { padding: 11px 0; border-top: 1px solid var(--l1); }
.guide-row:first-of-type { border-top: none; }
.guide-term {
  display: flex; align-items: center; gap: 6px; margin-bottom: 3px;
  font-size: .72rem; font-weight: 700; color: var(--t1);
}
.guide-term .kpi-tag { margin-left: 0 }
.guide-desc {
  font-size: .72rem; color: var(--t3); line-height: 1.55; margin: 0;
}
[data-theme="light"] .guide-card { box-shadow: 0 1px 3px rgba(16,24,40,.04); }
[data-theme="light"] .ds-sec-badge { background: rgba(10,132,255,.08); }

.guide-term.clickable{cursor:pointer;transition:color .14s}
.guide-term.clickable:hover{color:var(--blue)}
.guide-term.clickable::after{content:'→';margin-left:auto;font-size:.68rem;color:var(--t4);opacity:0;transition:opacity .14s}
.guide-term.clickable:hover::after{opacity:1}

#guideDetailBackdrop{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:9995;opacity:0;pointer-events:none;transition:opacity .22s}
#guideDetailBackdrop.open{opacity:1;pointer-events:all}
#guideDetailPanel{position:fixed;top:0;right:0;bottom:0;width:440px;max-width:92vw;background:var(--card);border-left:1px solid var(--l1);z-index:9996;
  transform:translateX(100%);transition:transform .28s cubic-bezier(.4,0,.2,1);overflow-y:auto;box-shadow:-16px 0 48px rgba(0,0,0,.35)}
#guideDetailPanel.open{transform:translateX(0)}
.gd-header{padding:20px 22px;border-bottom:1px solid var(--l1);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:var(--card);z-index:1}
.gd-title{font-size:1.05rem;font-weight:800;color:var(--t1);letter-spacing:-.01em}
.gd-close{width:30px;height:30px;border-radius:8px;border:1px solid var(--l1);background:var(--s1);color:var(--t2);cursor:pointer;font-size:.9rem;display:flex;align-items:center;justify-content:center}
.gd-close:hover{background:var(--s2);color:var(--t1)}
.gd-body{padding:22px}
.gd-body p{font-size:.86rem;color:var(--t2);line-height:1.7;margin:0 0 16px}
.gd-body strong{color:var(--t1)}
.gd-section-lbl{font-size:.66rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--t4);margin:24px 0 10px}
.gd-section-lbl:first-child{margin-top:0}
.gd-example{background:var(--s1);border:1px solid var(--l1);border-radius:10px;padding:14px 16px;font-size:.8rem;color:var(--t2);line-height:1.7}
.gd-example .mono{font-family:var(--fm);color:var(--t1)}
.gd-chart-wrap{background:var(--s1);border:1px solid var(--l1);border-radius:10px;padding:14px;margin-top:4px}

