/* InversoresHoy v6: navegación accesible, contraste, modo claro/oscuro y responsive */
html{color-scheme:light;overflow-x:clip}body{min-width:0;overflow-wrap:break-word}
img,iframe,svg,video{max-width:100%}img{height:auto}
:focus-visible{outline:3px solid #e3b65f;outline-offset:3px}
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.topbar{background:rgba(11,28,48,.97)!important;border-bottom:1px solid #2b4561!important;color:#f2f6ff}
.topbar .inner{position:relative;gap:14px;flex-wrap:nowrap!important;min-width:0}
.topbar .ih-logo{min-width:0;flex-shrink:1}
.topbar .menu{min-width:0;gap:clamp(9px,1.4vw,19px);flex-wrap:nowrap}
.topbar .menu a{color:#f2f5fc;font-size:13px;white-space:nowrap}
.topbar .menu a:hover,.topbar .menu a:focus-visible{color:#f1bf69}
.ih-header-actions{display:flex;align-items:center;gap:7px;flex:none;margin-left:auto}
.ih-theme-toggle,.ih-menu-toggle{display:none;align-items:center;justify-content:center;gap:7px;background:#233b55;color:#fff;border:1px solid #516784;border-radius:10px;padding:8px 11px;min-height:44px;min-width:44px;font-weight:750;font-size:12px;white-space:nowrap}
.ih-js .ih-theme-toggle{display:inline-flex}.ih-theme-toggle:hover,.ih-menu-toggle:hover{background:#38516c}
.ih-theme-glyph,.ih-hamburger{font-size:18px;line-height:1}
.ih-risk-banner{background:#fef8ed;color:#523719;border-bottom:1px solid #e9cf98}
.ih-risk-inner{display:flex;align-items:flex-start;gap:13px;padding-top:13px;padding-bottom:13px}
.ih-risk-inner p{margin:0;font-size:13px;line-height:1.55}
.ih-risk-inner strong{color:#6a3908}.ih-risk-inner a{font-weight:760;color:#714210;text-decoration:underline;text-underline-offset:2px}
.ih-risk-icon{border:1px solid #a56817;background:#f5d698;border-radius:50%;display:grid;place-items:center;width:22px;height:22px;line-height:1;font-weight:850;flex:none;margin-top:1px}
.ih-risk-page{max-width:900px;padding-top:65px;padding-bottom:75px}.ih-risk-page h1{font-size:clamp(32px,4.3vw,52px);margin-bottom:18px}.ih-risk-page h2{margin-top:30px;font-size:23px}.ih-risk-page p,.ih-risk-page li{line-height:1.8}
html[data-theme="dark"]{color-scheme:dark;--ink:#edf3fb;--deep:#0b192a;--mid:#d7e2f1;--muted:#b8c8d9;--line:#32485f;--paper:#0b1726;--white:#16283c;--mint:#83e4d0;--aqua:#163d40;--gold:#f1bf69;--shadow:0 16px 42px rgba(0,0,0,.3)}
html[data-theme="dark"] body{background:var(--paper);color:var(--ink)}
html[data-theme="dark"] .metric,html[data-theme="dark"] .card:not(.dark),html[data-theme="dark"] .outline-card,html[data-theme="dark"] .microcard,html[data-theme="dark"] .table-scroll,html[data-theme="dark"] .flow .step,html[data-theme="dark"] .widget-area,html[data-theme="dark"] .accordion details,html[data-theme="dark"] .ih-article-card,html[data-theme="dark"] .ih-message,html[data-theme="dark"] .ih-admin .panel{background:#16283c!important;border-color:#344b62!important;color:#e9f0fa}
html[data-theme="dark"] .soft{background:#102238}
html[data-theme="dark"] .card.highlight{background:#153731!important}
html[data-theme="dark"] .card p,html[data-theme="dark"] .metric span,html[data-theme="dark"] .ih-article-card p{color:#b6c8da}
html[data-theme="dark"] .ih-article-card h2 a,html[data-theme="dark"] .ih-content h2,html[data-theme="dark"] .ih-content h3,html[data-theme="dark"] .ih-content,html[data-theme="dark"] .link-item{color:#edf3fa}
html[data-theme="dark"] .ih-byline,html[data-theme="dark"] .ih-post-cover figcaption{color:#acbed2;border-color:#395067}
html[data-theme="dark"] .ih-sources,html[data-theme="dark"] .ih-sources a{color:#a9d8fa;border-color:#395067}
html[data-theme="dark"] .btn.alt,html[data-theme="dark"] .jump a,html[data-theme="dark"] .tab{color:#dfeafa;background:#1d334a;border-color:#3c5268}
html[data-theme="dark"] .quote,html[data-theme="dark"] .note.green,html[data-theme="dark"] .calc-results>div{background:#17352f;color:#d8efe8}
html[data-theme="dark"] .note,html[data-theme="dark"] .legal{background:#342b26;color:#f4dfbf;border-color:#a6813b}
html[data-theme="dark"] .note strong,html[data-theme="dark"] .legal strong{color:#f3d29f}
html[data-theme="dark"] th{background:#243b50;color:#d4e1ed}html[data-theme="dark"] td{border-color:#39516a}
html[data-theme="dark"] .kpi,html[data-theme="dark"] .card.dark,html[data-theme="dark"] .ih-newsletter-band{background:#0b192b}
html[data-theme="dark"] .field input,html[data-theme="dark"] .field select,html[data-theme="dark"] .ih-admin input:not([type=checkbox]),html[data-theme="dark"] .ih-admin textarea,html[data-theme="dark"] .ih-admin select{background:#102238;color:#f1f4fc;border-color:#56718b}
html[data-theme="dark"] .ih-editor-image{background:#1e324a;border-color:#395067}
html[data-theme="dark"] .ih-risk-banner{background:#362c1d;color:#ffe9bb;border-color:#806440}html[data-theme="dark"] .ih-risk-banner strong{color:#f8da90}html[data-theme="dark"] .ih-risk-banner a{color:#f7d393}
html[data-theme="dark"] .calc-results b{color:#9ce3d0}
html[data-theme="dark"] .footer{background:#071321}
html[data-theme="dark"] .tag,html[data-theme="dark"] .pill{background:#183c39;color:#a3ead6}
@media(max-width:1180px){
  .ih-js .ih-menu-toggle{display:inline-flex}
  .ih-js .topbar .menu{position:absolute;display:none!important;top:100%;left:12px;right:12px;z-index:120;max-height:calc(100dvh - 112px);overflow-y:auto;box-shadow:0 20px 34px rgba(0,0,0,.35);background:#10243b;border:1px solid #48607b;border-radius:0 0 16px 16px;padding:14px;flex-direction:column;align-items:stretch;gap:4px}
  .ih-js .topbar .menu.ih-nav-open{display:flex!important}
  .ih-js .topbar .menu.ih-nav-open a{display:block!important;padding:11px 13px;font-size:15px;border-radius:8px;min-height:44px}
  .ih-js .topbar .menu.ih-nav-open a:hover{background:#29425b}
  .ih-js .topbar .inner{min-height:75px}
  .topbar .ih-logo img{width:220px!important;height:56px!important}
  .ih-theme-toggle .ih-theme-text{display:none}
  .ih-menu-label{display:none}
  html:not(.ih-js) .topbar .inner{flex-wrap:wrap!important}
  html:not(.ih-js) .topbar .menu{width:100%;flex-wrap:wrap}
  html:not(.ih-js) .topbar .menu a{display:inline-block!important}
}
@media(max-width:768px){
  .hero-inner{grid-template-columns:1fr!important;gap:28px}
  .hero{padding:48px 0}
  .stats-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid,.grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid.two{grid-template-columns:1fr}
  .timeline{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shell{padding-left:24px;padding-right:24px}
  .ih-newsletter-band{padding:24px}
  .ih-admin .rowtwo{grid-template-columns:1fr}
  .ih-admin{overflow-x:auto}
  .ih-admin table{min-width:590px}
  .widget-area{overflow:hidden}
  .tradingview-widget-container, .tradingview-widget-container__widget{max-width:100%;min-width:0}
}
@media(max-width:620px){
  .shell{padding-left:16px!important;padding-right:16px!important}
  .topbar .inner{gap:6px;min-height:68px!important}
  .topbar .ih-logo img{width:155px!important;height:46px!important}
  .ih-header-actions{gap:5px}
  .ih-theme-toggle,.ih-menu-toggle{padding:8px;min-width:42px;min-height:44px}
  .hero{padding:39px 0}.hero h1{font-size:clamp(32px,9vw,43px)}
  .hero-visual{padding:18px}.bars{gap:6px}
  .stats-strip,.grid,.grid.two,.grid.four,.timeline{grid-template-columns:1fr}
  .ih-risk-inner{padding-top:11px;padding-bottom:11px;gap:9px}.ih-risk-inner p{font-size:12px;line-height:1.55}
  .ih-popup{width:100%;max-height:min(85vh,85dvh);padding:22px 18px!important}
  .ih-popup-backdrop{align-items:center;padding:12px}
  .ih-popup h2{font-size:1.5rem}
  .ih-article-grid{grid-template-columns:1fr}
  .ih-newsletter-band{margin-top:30px;padding:22px}
  .ih-sub-form input:not([type=checkbox]){font-size:16px!important}
  .table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .widget-area[style*="height:510px"]{height:455px!important}
  .widget-area[style*="height:460px"]{height:425px!important}
  .widget-area[style*="height:520px"]{height:425px!important}
  .widget-area[style*="min-height:380px"]{min-height:340px!important}
  .tradingview-widget-container[style*="455px"]{height:390px!important}
  .tradingview-widget-container[style*="406px"]{height:360px!important}
  .tradingview-widget-container[style*="470px"]{height:360px!important}
  .ih-risk-page{padding-top:35px;padding-bottom:48px}
}
@media(max-width:350px){.topbar .ih-logo img{width:134px!important}.topbar .inner{gap:3px}.ih-header-actions{gap:3px}}
@supports(padding:max(0px)){.ih-popup-backdrop{padding-bottom:max(12px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
