/* ═══════════════════════════════════════════════════════════════════════
   TestoCapital · Tema visual v125 ("obsidiana y luz")
   Capa de estilo: no cambia lógica. Acento por nivel de membresía.
   ═══════════════════════════════════════════════════════════════════════ */
:root{
  --tc-bg:#05070D;--tc-panel:rgba(14,20,34,.72);--tc-line:rgba(148,180,255,.12);
  --tc-text:#EAF0FA;--tc-muted:#9AA7BD;--tc-dim:#7A879E;
  --tc-up:#3DDC97;--tc-down:#FF7A7A;--tc-live:#FF5A5A;
  --tc-accent:#5CB8FF;--tc-accent-rgb:92,184,255;--tc-accent-bg:rgba(92,184,255,.12);--tc-accent-line:rgba(92,184,255,.28);
  --tc-on-accent:#04101F;--tc-glow:rgba(47,123,255,.20);--tc-glow2:rgba(47,123,255,0);
  --tc-fd:'Unbounded','Arial Black',system-ui,sans-serif;
  --tc-fm:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
}
:root[data-tier=prime]{
  --tc-accent:#E6BE6A;--tc-accent-rgb:230,190,106;--tc-accent-bg:rgba(230,190,106,.12);--tc-accent-line:rgba(230,190,106,.34);
  --tc-on-accent:#1A1204;--tc-glow:rgba(230,190,106,.15);--tc-glow2:rgba(230,190,106,0);
}
:root[data-tier=max]{
  --tc-accent:#EADFC2;--tc-accent-rgb:234,223,194;--tc-accent-bg:rgba(234,223,194,.11);--tc-accent-line:rgba(234,223,194,.32);
  --tc-on-accent:#15120A;--tc-glow:rgba(47,123,255,.20);--tc-glow2:rgba(230,190,106,.12);
}

/* ── Fondo con halo y rejilla fina ── */
html,body{background:var(--tc-bg)!important}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(ellipse 900px 520px at 85% -120px,var(--tc-glow),transparent 70%),
    radial-gradient(ellipse 700px 420px at 10% 110%,var(--tc-glow2),transparent 70%),
    linear-gradient(rgba(148,180,255,.035) 1px,transparent 1px) 0 0/64px 64px,
    linear-gradient(90deg,rgba(148,180,255,.035) 1px,transparent 1px) 0 0/64px 64px;
}
#root>div{background:transparent!important}
::selection{background:rgba(var(--tc-accent-rgb),.35)}
::-webkit-scrollbar-thumb{background:rgba(var(--tc-accent-rgb),.22)!important}
:focus-visible{outline:2px solid var(--tc-accent);outline-offset:2px}

/* ── Estructura ── */
.tc-sidebar{background:#070A12!important;border-right:1px solid rgba(148,180,255,.09)!important}
.tc-mhead{background:#05070D!important;border-bottom-color:rgba(148,180,255,.1)!important}
.tc-overlay{background:rgba(2,4,9,.6)!important}

/* ── Tipografía ── */
.tc-main h1,[id^="tc-"] h1{font-family:var(--tc-fd)!important;font-weight:500!important;letter-spacing:-.025em!important;line-height:1.15!important}
.tc-wordmark{font-family:var(--tc-fd);font-weight:500;font-size:15px;letter-spacing:-.01em;color:var(--tc-text);white-space:nowrap}
.tc-wordmark b{font-weight:500;color:#5CB8FF}
.tc-wordmark[data-tier=prime] b{color:#E6BE6A}
.tc-wordmark[data-tier=max] b{background:linear-gradient(90deg,#F2E6C8,#E6BE6A 45%,#8FCBFF);-webkit-background-clip:text;background-clip:text;color:transparent}
img[alt="TC"]{box-shadow:0 0 0 1px rgba(var(--tc-accent-rgb),.28),0 0 24px -6px rgba(var(--tc-accent-rgb),.75)}

/* ── Inicio ── */
.tc-home{padding-bottom:8px}
.tc-hero{position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:30px 32px;margin-bottom:16px;border-radius:26px;border:1px solid rgba(var(--tc-accent-rgb),.2);
  background:radial-gradient(ellipse 520px 280px at 92% -10%,rgba(var(--tc-accent-rgb),.16),transparent 70%),linear-gradient(180deg,rgba(18,26,44,.8),rgba(12,18,31,.72));box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 30px 60px -40px rgba(0,0,0,.9)}
.tc-hero::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(rgba(148,180,255,.05) 1px,transparent 1px) 0 0/32px 32px,linear-gradient(90deg,rgba(148,180,255,.05) 1px,transparent 1px) 0 0/32px 32px;-webkit-mask-image:radial-gradient(ellipse at 90% 0%,#000,transparent 60%);mask-image:radial-gradient(ellipse at 90% 0%,#000,transparent 60%)}
.tc-hero>*{position:relative;z-index:1}
.tc-hero-l{display:flex;flex-direction:column;gap:8px;min-width:0}
.tc-date{font-family:var(--tc-fm);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--tc-dim)}
.tc-main h1.tc-hello{font-size:34px!important;color:#F4F7FC;margin:0}
.tc-hello span{color:var(--tc-accent)}
.tc-hero-sub{font-size:15px;color:var(--tc-muted)}
.tc-tier{display:flex;align-items:center;gap:14px;padding:10px 16px 10px 10px;border-radius:18px;border:1px solid var(--tc-accent-line);background:rgba(var(--tc-accent-rgb),.07);color:var(--tc-text);font-family:inherit;cursor:pointer;text-align:left;transition:background .2s,transform .2s}
.tc-tier:hover{background:rgba(var(--tc-accent-rgb),.12);transform:translateY(-1px)}
.tc-tier-t{display:flex;flex-direction:column;gap:2px}
.tc-tier-t small{font-family:var(--tc-fm);font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--tc-dim)}
.tc-tier-t b{font-size:16px;font-weight:600;color:var(--tc-accent)}
.tc-tier[data-tier=max] .tc-tier-t b{background:linear-gradient(90deg,#F2E6C8,#E6BE6A 45%,#8FCBFF);-webkit-background-clip:text;background-clip:text;color:transparent}
.tc-upsell{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:14px 16px 14px 18px;border-radius:18px;border:1px dashed rgba(230,190,106,.45);background:rgba(230,190,106,.06)}
.tc-upsell-t{display:flex;flex-direction:column;gap:3px}
.tc-upsell-k{display:inline-flex;align-items:center;gap:6px;font-family:var(--tc-fm);font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:#E6BE6A}
.tc-upsell-t b{font-size:15px;color:var(--tc-text)}
.tc-upsell-t small{font-size:12.5px;color:var(--tc-dim)}

.tc-mk{display:flex;gap:10px;margin-bottom:16px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.tc-mk::-webkit-scrollbar{display:none}
.tc-mk-i{flex:1 0 150px;display:flex;flex-direction:column;gap:3px;padding:13px 16px;border-radius:16px;background:var(--tc-panel);border:1px solid var(--tc-line);color:var(--tc-text);font-family:inherit;text-align:left;cursor:pointer;transition:border-color .2s}
.tc-mk-i:hover{border-color:rgba(var(--tc-accent-rgb),.35)}
.tc-mk-l{font-size:12px;color:var(--tc-dim)}
.tc-mk-v{font-family:var(--tc-fm);font-size:17px;font-weight:500;letter-spacing:-.01em}
.tc-mk-c{font-family:var(--tc-fm);font-size:12.5px}
.tc-mk-c.up{color:var(--tc-up)}.tc-mk-c.dn{color:var(--tc-down)}
.tc-mk-sk .tc-mk-i{height:76px;cursor:default;background:linear-gradient(90deg,rgba(255,255,255,.02),rgba(255,255,255,.06),rgba(255,255,255,.02)) 0 0/200% 100%;animation:tcShim 1.4s linear infinite}
@keyframes tcShim{to{background-position:-200% 0}}

.tc-row{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:34px}
.tc-feed{flex:2 1 460px;padding:20px 22px!important;display:flex;flex-direction:column;min-width:0}
.tc-card-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.tc-card-h h2{font-size:16px;font-weight:600;color:var(--tc-text)}
.tc-link{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 4px;background:none;border:0;color:var(--tc-accent);font-family:inherit;font-size:13.5px;font-weight:600;cursor:pointer}
.tc-feed-i{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;width:calc(100% + 20px);margin:0 -10px;padding:11px 10px;border:0;border-top:1px solid rgba(148,180,255,.07);border-radius:12px;background:none;color:var(--tc-text);font-family:inherit;text-align:left;cursor:pointer;transition:background .15s}
.tc-feed-i:first-of-type{border-top:0}
.tc-feed-i:hover{background:rgba(255,255,255,.035)}
.tc-feed-ic{width:38px;height:38px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:var(--tc-accent-bg);color:var(--tc-accent)}
.tc-feed-t{display:flex;flex-direction:column;gap:3px;min-width:0}
.tc-feed-t b{font-size:14px;font-weight:600;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tc-feed-t small{font-size:12px;color:var(--tc-dim)}
.tc-chip{font-family:var(--tc-fm);font-size:10px;letter-spacing:.1em;text-transform:uppercase;padding:3px 8px;border-radius:6px;border:1px solid currentColor;white-space:nowrap}
.tc-feed-sk i{display:block;height:48px;margin-top:10px;border-radius:12px;background:linear-gradient(90deg,rgba(255,255,255,.02),rgba(255,255,255,.06),rgba(255,255,255,.02)) 0 0/200% 100%;animation:tcShim 1.4s linear infinite}
.tc-empty{color:var(--tc-dim);font-size:14px;padding:12px 0}
.tc-live{flex:1 1 280px;padding:24px!important;display:flex;flex-direction:column;gap:10px;position:relative;overflow:hidden}
.tc-live.on{border-color:rgba(255,90,90,.4)!important;background:radial-gradient(ellipse 320px 200px at 90% 0%,rgba(255,90,90,.18),transparent 70%),var(--tc-panel)!important}
.tc-live-k{display:inline-flex;align-items:center;gap:8px;font-family:var(--tc-fm);font-size:11px;letter-spacing:.14em;color:var(--tc-dim)}
.tc-live-k i{width:8px;height:8px;border-radius:50%;background:#56617A}
.tc-live.on .tc-live-k{color:#FF8A8A}
.tc-live.on .tc-live-k i{background:var(--tc-live);box-shadow:0 0 12px var(--tc-live);animation:tcPulse 1.6s ease-in-out infinite}
.tc-live h3{font-size:18px;font-weight:600;color:var(--tc-text);line-height:1.3}
.tc-live p{font-size:14px;color:var(--tc-muted);line-height:1.5}
.tc-live button{margin-top:auto;align-self:flex-start}
.tc-live.on button{--tc-accent:#FF5A5A;--tc-on-accent:#1A0404}
.tc-sec-t{font-family:var(--tc-fm);font-size:12px!important;font-weight:500!important;letter-spacing:.16em;text-transform:uppercase;color:var(--tc-dim)!important;margin:0 0 14px!important}

/* Accesos rápidos: rejilla uniforme (tarjetas React e inyectadas) */
.quick-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))!important;gap:12px!important}
.quick-grid>*{position:relative;padding:18px!important;border-radius:18px!important;background:var(--tc-panel)!important;border:1px solid var(--tc-line)!important;transition:transform .2s,border-color .2s,box-shadow .2s!important;min-width:0}
.quick-grid>*:hover{transform:translateY(-2px);border-color:rgba(var(--tc-accent-rgb),.38)!important;box-shadow:0 18px 40px -26px rgba(var(--tc-accent-rgb),.7)}
.quick-grid>* p{line-height:1.45}
.quick-grid>[data-k=noticias]{order:1}.quick-grid>[data-k=mercados]{order:2}#tc-home-directo{order:3}#tc-cartera-card{order:4}
#tc-home-datos{order:5}#tc-home-analisis{order:6}#tc-home-empresas{order:7}.quick-grid>[data-k=formacion]{order:8}#tc-home-academia{order:9}
.quick-grid>[data-k=calendario]{order:10}.quick-grid>[data-k=herramientas]{order:11}.quick-grid>[data-k=servicios]{order:12}#tc-home-productos{order:13}
#tc-home-inmob{order:14}.quick-grid>[data-k=mensajes]{order:15}#tc-socios-card{order:16}

#tc-home-directo{position:relative}
#tc-hd-live{position:absolute;top:12px;right:12px;font-size:9.5px!important;letter-spacing:.06em;padding:3px 7px!important;border-radius:7px!important;background:#FF5A5A!important;color:#1A0404!important}

/* ── Barra inferior (móvil y tablet) ── */
.tc-tabbar{display:none}
@media (max-width:1023px){
  .tc-tabbar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));height:64px;padding:0 4px;z-index:550;border-radius:22px;
    background:rgba(12,17,29,.97);border:1px solid rgba(148,180,255,.14);box-shadow:0 20px 44px -12px rgba(0,0,0,.9)}
  .tc-tab{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:56px;font-size:10.5px;font-weight:600;color:#8794AB;text-decoration:none;background:none;border:0;font-family:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
  .tc-tab.on{color:var(--tc-accent)}
  .tc-tab.on::before{content:"";position:absolute;top:5px;width:34px;height:30px;border-radius:12px;background:var(--tc-accent-bg);z-index:-1}
  .tc-tab-i{position:relative;display:flex}
  .tc-tab-live{position:absolute;top:-2px;right:-5px;width:8px;height:8px;border-radius:50%;background:var(--tc-live);box-shadow:0 0 0 2px #0C111D,0 0 10px var(--tc-live);animation:tcPulse 1.6s ease-in-out infinite}
  .tc-main{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
  .tc-sidebar.open{z-index:570!important}
  .tc-overlay.open{z-index:565!important}
  #tc-cartera-main{padding-bottom:calc(110px + env(safe-area-inset-bottom))!important}
  [id^="tc-"][id$="-inner"]{padding-bottom:calc(110px + env(safe-area-inset-bottom))!important}
  #tc-afab{bottom:calc(92px + env(safe-area-inset-bottom))!important}
  #tc-toast{bottom:calc(96px + env(safe-area-inset-bottom))!important}
  body>[style*="z-index: 9999"][style*="bottom: 20px"]{bottom:calc(92px + env(safe-area-inset-bottom))!important}
}
@media (max-width:700px){
  .tc-main-in{padding:20px 16px!important}
  .tc-hero{padding:22px 20px;border-radius:22px;align-items:stretch}
  .tc-main h1.tc-hello{font-size:26px!important}
  .tc-tier,.tc-upsell{width:100%}
  .tc-upsell .tc-upsell-t{flex:1 1 180px}
  .tc-mk-i{flex:0 0 136px}
  .tc-feed,.tc-live{flex-basis:100%}
  .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .quick-grid>*{padding:14px!important}
  .quick-grid>* p{display:none}
  .quick-grid>*>div:first-child{margin-bottom:0!important}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ── Enlaces añadidos al menú lateral: mismo estado activo que el resto ── */
.tc-sidebar a[id^="tc-"][id$="-nav"]:not([data-on]){background:transparent!important;border-color:transparent!important;color:rgba(220,230,250,.62)!important}
.tc-sidebar a[id^="tc-"][id$="-nav"]:not([data-on])>svg:not(:first-child){display:none}
.tc-sidebar a[id^="tc-"][id$="-nav"][data-on]{background:var(--tc-accent-bg)!important;border:1px solid var(--tc-accent-line)!important;color:var(--tc-accent)!important}
.tc-sidebar a#tc-directos-nav:has(.tc-live-dot){color:#FF7A7A!important}
.tc-live-dot{background:#FF5A5A!important;box-shadow:0 0 10px #FF5A5A}

/* ── Secciones añadidas dentro del área principal: mismo margen que el resto ── */
.tc-main>[id^="tc-"][id$="-inner"]{box-sizing:border-box;max-width:1300px;margin:0 auto;padding:36px 32px 48px}
@media (max-width:1023px){.tc-main>[id^="tc-"][id$="-inner"]{padding:24px 16px 110px!important}}

/* v129 · deep-links de notificaciones */
#tc-dl-toast{position:fixed;left:50%;bottom:calc(92px + env(safe-area-inset-bottom,0px));transform:translate(-50%,16px);z-index:9000;max-width:min(92vw,420px);padding:12px 16px;border-radius:12px;background:#111A2B;border:1px solid rgba(148,180,255,.22);color:#EAF0FA;font-size:13px;line-height:1.45;text-align:center;box-shadow:0 18px 40px -18px rgba(0,0,0,.8);opacity:0;pointer-events:none;transition:opacity .25s ease,transform .25s ease}
#tc-dl-toast.on{opacity:1;transform:translate(-50%,0)}
@media(min-width:1024px){#tc-dl-toast{bottom:28px}}
.tc-dl-hl{outline:2px solid var(--tc-accent,#5CB8FF)!important;outline-offset:3px;animation:tcDlPulse 1s ease-in-out 3}
@keyframes tcDlPulse{0%,100%{box-shadow:0 0 0 0 rgba(92,184,255,0)}50%{box-shadow:0 0 0 8px rgba(92,184,255,.18)}}
@media(prefers-reduced-motion:reduce){.tc-dl-hl{animation:none}}

.tc-ico{display:inline-block;width:1.05em;height:1.05em;vertical-align:-.17em;background:currentColor;flex-shrink:0;-webkit-mask:var(--i) center/contain no-repeat;mask:var(--i) center/contain no-repeat}
.tc-ico[data-i=live]{-webkit-mask:none;mask:none;background:#FF5A5A;border-radius:50%;width:.62em;height:.62em;vertical-align:.06em;box-shadow:0 0 10px #FF5A5A;animation:tcPulse 1.6s ease-in-out infinite}
@keyframes tcPulse{50%{opacity:.4}}
.tc-ico[data-i=bell]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16V11a6 6 0 0 1 12 0v5l1.5 2h-15zM10 20a2 2 0 0 0 4 0'/%3E%3C/svg%3E")}
.tc-ico[data-i=phone]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2h8a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zM11 18h2'/%3E%3C/svg%3E")}
.tc-ico[data-i=globe]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0M3 12h18M12 3c2.5 2.7 3.8 5.7 3.8 9s-1.3 6.3-3.8 9c-2.5-2.7-3.8-5.7-3.8-9S9.5 5.7 12 3'/%3E%3C/svg%3E")}
.tc-ico[data-i=lock]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 11h12a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1zM8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E")}
.tc-ico[data-i=coins]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0M14.5 9.5c-.5-1-1.5-1.5-2.5-1.5-1.4 0-2.5.8-2.5 2s1.1 1.7 2.5 2 2.5.8 2.5 2-1.1 2-2.5 2c-1 0-2-.5-2.5-1.5M12 6.5V8M12 16v1.5'/%3E%3C/svg%3E")}
.tc-ico[data-i=clip]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5l-8.6 8.6a5 5 0 0 1-7.1-7.1l8.6-8.6a3.3 3.3 0 0 1 4.7 4.7l-8.6 8.6a1.7 1.7 0 0 1-2.4-2.4l8-8'/%3E%3C/svg%3E")}
.tc-ico[data-i=loader]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v3M12 18v3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M3 12h3M18 12h3M4.9 19.1L7 17M17 7l2.1-2.1'/%3E%3C/svg%3E")}
.tc-ico[data-i=xcircle]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0M9 9l6 6M15 9l-6 6'/%3E%3C/svg%3E")}
.tc-ico[data-i=news]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h13v14H6a2 2 0 0 1-2-2zM17 9h3v8a2 2 0 0 1-2 2M8 9h5M8 13h5'/%3E%3C/svg%3E")}
.tc-ico[data-i=grad]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9l10-5 10 5-10 5zM6 11v5c3 2 9 2 12 0v-5M22 9v6'/%3E%3C/svg%3E")}
.tc-ico[data-i=card]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1zM2 10h20M6 15h4'/%3E%3C/svg%3E")}
.tc-ico[data-i=chart]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E")}
.tc-ico[data-i=settings]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 12a3 3 0 1 0 6 0a3 3 0 1 0-6 0M12 2v3M12 19v3M4.2 4.2l2.1 2.1M17.7 17.7l2.1 2.1M2 12h3M19 12h3M4.2 19.8l2.1-2.1M17.7 6.3l2.1-2.1'/%3E%3C/svg%3E")}
.tc-ico[data-i=pin]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11zM9.5 10a2.5 2.5 0 1 0 5 0a2.5 2.5 0 1 0-5 0'/%3E%3C/svg%3E")}
.tc-ico[data-i=clock]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0M12 7v5l3 2'/%3E%3C/svg%3E")}
.tc-ico[data-i=mail]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zM3 7l9 6 9-6'/%3E%3C/svg%3E")}
.tc-ico[data-i=refresh]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 0 0-14.6-4.5L4 8M4 3v5h5M4 13a8 8 0 0 0 14.6 4.5L20 16M20 21v-5h-5'/%3E%3C/svg%3E")}
.tc-ico[data-i=calendar]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 5h14a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2zM3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E")}
.tc-ico[data-i=checkc]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0M8 12.5l3 3 5-6'/%3E%3C/svg%3E")}
.tc-ico[data-i=gift]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h18v4H3zM5 12v9h14v-9M12 8v13M12 8S10.5 3 8 4s0 4 4 4M12 8s1.5-5 4-4 0 4-4 4'/%3E%3C/svg%3E")}
.tc-ico[data-i=copy]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 9h10a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V10a1 1 0 0 1 1-1zM5 15H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1'/%3E%3C/svg%3E")}
.tc-ico[data-i=up]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 8-8M15 7h6v6'/%3E%3C/svg%3E")}
.tc-ico[data-i=down]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7l6 6 4-4 8 8M15 17h6v-6'/%3E%3C/svg%3E")}
.tc-ico[data-i=sun]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 12a4 4 0 1 0 8 0a4 4 0 1 0-8 0M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E")}
.tc-ico[data-i=moon]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.5A8 8 0 0 1 9.5 4a8 8 0 1 0 10.5 10.5z'/%3E%3C/svg%3E")}
.tc-ico[data-i=target]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0M7 12a5 5 0 1 0 10 0a5 5 0 1 0-10 0M11 12a1 1 0 1 0 2 0a1 1 0 1 0-2 0'/%3E%3C/svg%3E")}
.tc-ico[data-i=box]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7l9-4 9 4v10l-9 4-9-4zM3 7l9 4 9-4M12 11v10'/%3E%3C/svg%3E")}
.tc-ico[data-i=crown]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l4.5 4L12 5l4.5 7L21 8l-2 11H5zM5 19h14'/%3E%3C/svg%3E")}
.tc-ico[data-i=eye]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12zM9 12a3 3 0 1 0 6 0a3 3 0 1 0-6 0'/%3E%3C/svg%3E")}
.tc-ico[data-i=trash]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M10 11v6M14 11v6M6 7l1 13a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1l1-13M9 7V4h6v3'/%3E%3C/svg%3E")}
.tc-ico[data-i=edit]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9a2.8 2.8 0 0 0-4-4L4 16zM13.5 6.5l4 4'/%3E%3C/svg%3E")}
.tc-ico[data-i=users]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 8a3.5 3.5 0 1 0 7 0a3.5 3.5 0 1 0-7 0M2.5 20a6.5 6.5 0 0 1 13 0M16 4.5a3.5 3.5 0 0 1 0 7M18 14a5.5 5.5 0 0 1 3.5 6'/%3E%3C/svg%3E")}
.tc-ico[data-i=file]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h8l5 5v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zM14 2v5h5M8 13h8M8 17h6'/%3E%3C/svg%3E")}
.tc-ico[data-i=download]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5M4 19h16'/%3E%3C/svg%3E")}
.tc-ico[data-i=video]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h12a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1zM16 10l6-3v10l-6-3'/%3E%3C/svg%3E")}
.tc-ico[data-i=camera]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h3l2-3h6l2 3h3a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1zM8.5 13a3.5 3.5 0 1 0 7 0a3.5 3.5 0 1 0-7 0'/%3E%3C/svg%3E")}
.tc-ico[data-i=monitor]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h18a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1zM8 21h8M12 17v4'/%3E%3C/svg%3E")}
.tc-ico[data-i=stop]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6h12v12H6z'/%3E%3C/svg%3E")}
.tc-ico[data-i=msg]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E")}
.tc-ico[data-i=broadcast]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 12a2 2 0 1 0 4 0a2 2 0 1 0-4 0M8.5 8.5a5 5 0 0 0 0 7M15.5 8.5a5 5 0 0 1 0 7M5.6 5.6a9 9 0 0 0 0 12.8M18.4 5.6a9 9 0 0 1 0 12.8'/%3E%3C/svg%3E")}
.tc-ico[data-i=sparkles]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8zM19 16l.8 2.2L22 19l-2.2.8L19 22l-.8-2.2L16 19l2.2-.8z'/%3E%3C/svg%3E")}
.tc-ico[data-i=bolt]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E")}
.tc-ico[data-i=mega]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10v4h3l7 5V5L6 10zM16 8.5a4 4 0 0 1 0 7M18.5 6a7.5 7.5 0 0 1 0 12'/%3E%3C/svg%3E")}
.tc-ico[data-i=building]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16M16 9h2a2 2 0 0 1 2 2v10M2 21h20M8 7h4M8 11h4M8 15h4'/%3E%3C/svg%3E")}
.tc-ico[data-i=bank]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10l9-6 9 6M5 10v8M9.5 10v8M14.5 10v8M19 10v8M3 21h18'/%3E%3C/svg%3E")}
.tc-ico[data-i=book]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A2.5 2.5 0 0 1 6.5 3H20v15H6.5A2.5 2.5 0 0 0 4 20.5zM4 20.5A2.5 2.5 0 0 0 6.5 21H20'/%3E%3C/svg%3E")}
.tc-ico[data-i=tool]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4l-2.5 2.5-2.5-2.5z'/%3E%3C/svg%3E")}
.tc-ico[data-i=alert]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l10 18H2zM12 10v5M12 18h.01'/%3E%3C/svg%3E")}
.tc-ico[data-i=minus]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E")}

/* v132 · Menú lateral agrupado (Mercados · Aprender · Servicios · Mi cuenta).
   Solo cambia el orden visual con "order": los enlaces no se mueven ni se modifican. */
.tc-sidebar>nav>*{order:90}
.tc-sidebar>nav>a[href="#/"]{order:1}
.tc-sidebar>nav>.tc-nav-h[data-g="mercados"]{order:10}
.tc-sidebar>nav>a[href="#/noticias"]{order:11}
.tc-sidebar>nav>a[href="#/mercados"]{order:12}
.tc-sidebar>nav>a[href="#/calendario-economico"]{order:13}
.tc-sidebar>nav>a[href="#/datos"]{order:14}
.tc-sidebar>nav>a[href="#/empresas"]{order:15}
.tc-sidebar>nav>a[href="#/analisis-tecnico"]{order:16}
.tc-sidebar>nav>a[href="#/inmobiliaria"]{order:17}
.tc-sidebar>nav>.tc-nav-h[data-g="aprender"]{order:20}
.tc-sidebar>nav>a[href="#/formacion"]{order:21}
.tc-sidebar>nav>a[href="#/herramientas"]{order:22}
.tc-sidebar>nav>a[href="#/directos"]{order:23}
.tc-sidebar>nav>a[href="#/academia"]{order:24}
.tc-sidebar>nav>.tc-nav-h[data-g="servicios"]{order:30}
.tc-sidebar>nav>a[href="#/servicios"]{order:31}
.tc-sidebar>nav>a[href="#/productos"]{order:32}
.tc-sidebar>nav>a[href="#/socios"]{order:33}
.tc-sidebar>nav>.tc-nav-h[data-g="cuenta"]{order:40}
.tc-sidebar>nav>a[href="#/cartera"]{order:41}
.tc-sidebar>nav>a[href="#/mensajes"]{order:42}
.tc-sidebar>nav>a[href="#/notificaciones"]{order:43}
.tc-sidebar>nav>a[href="#/perfil"]{order:44}
.tc-nav-h{margin:16px 0 4px;padding:0 14px;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:10.5px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:#8794AB;line-height:1.4;pointer-events:none;user-select:none}
/* v132 · los iconos añadidos por push-helper (20 px) igualan a los de React (17 px):
   así todos los textos del menú quedan alineados dentro de cada grupo */
.tc-sidebar>nav>a>svg:first-child{width:17px!important;height:17px!important;flex-shrink:0}
