/* V80.99.5 — Corrección focalizada solicitada por Celso: contraste real, observatorio sin elementos superpuestos, gráfica completa y selector geográfico sin cortes. */
:root{--v8099-5-ink:#071832;--v8099-5-ink2:#102848;--v8099-5-paper:#f7fbff;--v8099-5-dark:#06152a;--v8099-5-card:#0b2744;--v8099-5-cyan:#22d3ff;--v8099-5-line:#9dcced;--v8099-5-gutter:clamp(32px,5vw,96px);}
html,body{overflow-x:hidden!important;}
body.v8099-worldclass main{overflow-x:hidden!important;}
body.v8099-worldclass .container,body.v8099-worldclass .wide{box-sizing:border-box!important;max-width:min(1440px,calc(100vw - var(--v8099-5-gutter)))!important;margin-left:auto!important;margin-right:auto!important;}
body.v8099-worldclass .section-light{background:#f3f8fc!important;color:var(--v8099-5-ink)!important;-webkit-text-fill-color:initial!important;}
body.v8099-worldclass .section-light :where(h1,h2,h3,h4,h5,h6,p,li,span,small,strong,label,td,th){color:var(--v8099-5-ink)!important;-webkit-text-fill-color:var(--v8099-5-ink)!important;text-shadow:none!important;}
body.v8099-worldclass .section-dark,body.v8099-worldclass .panel-dark{background:var(--v8099-5-dark)!important;color:#f7fbff!important;-webkit-text-fill-color:initial!important;}
body.v8099-worldclass .section-dark :where(h1,h2,h3,h4,h5,h6,p,li,span,small,strong,label,td,th){color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important;text-shadow:none!important;}
body.v8099-worldclass a{overflow-wrap:anywhere!important;}
/* Píldoras de título: siempre legibles, sin texto blanco sobre blanco */
body.v8099-worldclass .eyebrow,body.v8099-worldclass .v91-eyebrow,body.v8099-worldclass .v92-eyebrow,body.v8099-worldclass .eyebrow-inline{display:inline-flex!important;align-items:center!important;gap:.45rem!important;background:#f8fcff!important;color:#071832!important;-webkit-text-fill-color:#071832!important;border:2px solid #66bfea!important;border-radius:999px!important;padding:.45rem .95rem!important;font-weight:1000!important;letter-spacing:.14em!important;line-height:1.1!important;text-shadow:none!important;box-shadow:0 10px 24px rgba(0,0,0,.10)!important;}
body.v8099-worldclass .eyebrow::before,body.v8099-worldclass .v91-eyebrow::before,body.v8099-worldclass .v92-eyebrow::before,body.v8099-worldclass .eyebrow-inline::before{content:"";display:inline-block;width:28px;height:3px;background:#ff233d;border-radius:999px;flex:0 0 auto;}
/* CONTACTO — texto claro en tarjeta oscura y campos claros legibles */
body.page-contacto .contact-card{background:#06152a!important;color:#f7fbff!important;-webkit-text-fill-color:initial!important;border:1px solid rgba(139,212,255,.42)!important;box-shadow:0 24px 60px rgba(0,0,0,.26)!important;}
body.page-contacto .contact-card :where(h1,h2,h3,h4,p,span,small,strong,label,legend){color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important;opacity:1!important;text-shadow:none!important;filter:none!important;}
body.page-contacto .contact-card p{color:#dceeff!important;-webkit-text-fill-color:#dceeff!important;}
body.page-contacto .contact-card label{display:block!important;margin:.7rem 0 .38rem!important;font-weight:1000!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;}
body.page-contacto .contact-card input,body.page-contacto .contact-card textarea{background:#f8fcff!important;color:#071832!important;-webkit-text-fill-color:#071832!important;border:2px solid #9bdfff!important;border-radius:20px!important;box-shadow:inset 0 0 0 1px rgba(34,211,255,.22)!important;}
body.page-contacto .contact-card input::placeholder,body.page-contacto .contact-card textarea::placeholder{color:#627894!important;-webkit-text-fill-color:#627894!important;opacity:1!important;}
body.page-contacto .contact-card .btn,body.page-contacto .contact-card button{color:#06152a!important;-webkit-text-fill-color:#06152a!important;background:linear-gradient(90deg,#1494ef,#27d4f2)!important;border:0!important;}
/* OBSERVATORIO — contención limpia, sin cortes laterales */
body.page-observatorio .observatorio-grid,body.page-observatorio .observatory-grid{display:grid!important;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important;gap:clamp(1.4rem,3vw,2.4rem)!important;align-items:center!important;overflow:visible!important;}
body.page-observatorio .v96-observatory-right,body.page-observatorio .obs-location-panel{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;overflow:hidden!important;}
body.page-observatorio .obs-location-buttons{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:.72rem!important;}
body.page-observatorio .obs-location-buttons button{min-width:0!important;width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important;}
body.page-observatorio .obs-location-buttons button.is-active,body.page-observatorio .obs-location-buttons button[aria-pressed="true"]{background:linear-gradient(90deg,#1494ef,#27d4f2)!important;color:#06152a!important;-webkit-text-fill-color:#06152a!important;}
body.page-observatorio .obs-location-custom{display:grid!important;grid-template-columns:minmax(170px,1fr) auto auto minmax(82px,.34fr) minmax(82px,.34fr) auto!important;gap:.65rem!important;align-items:center!important;min-width:0!important;max-width:100%!important;}
body.page-observatorio .obs-location-custom input{min-width:0!important;width:100%!important;background:#f8fcff!important;color:#071832!important;-webkit-text-fill-color:#071832!important;border:1px solid #9dcced!important;border-radius:14px!important;}
body.page-observatorio .obs-location-custom button{white-space:nowrap!important;min-width:0!important;color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important;}
/* OBSERVATORIO — dashboard: evitar elementos flotantes sobre gráfica */
body.page-observatorio .dashboard-controls{position:relative!important;top:auto!important;z-index:5!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:.8rem!important;max-width:min(1440px,calc(100vw - var(--v8099-5-gutter)))!important;overflow:visible!important;}
body.page-observatorio .dataset-switch{display:flex!important;flex-wrap:wrap!important;gap:.55rem!important;min-width:0!important;max-width:100%!important;}
body.page-observatorio .dataset-tab{background:#f8fcff!important;color:#071832!important;-webkit-text-fill-color:#071832!important;border:1px solid #9dcced!important;box-shadow:none!important;}
body.page-observatorio .dataset-tab.is-active,body.page-observatorio .dataset-tab[aria-selected="true"]{background:#0a4d80!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#23c6ff!important;}
body.page-observatorio .dashboard-actions{display:flex!important;flex-wrap:wrap!important;gap:.65rem!important;}
body.page-observatorio .dashboard-actions .btn{background:#0a4d80!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid rgba(139,212,255,.42)!important;opacity:1!important;}
body.page-observatorio .observatory-layout{display:grid!important;grid-template-columns:minmax(0,1.7fr) minmax(300px,.82fr)!important;gap:1.6rem!important;align-items:start!important;max-width:min(1440px,calc(100vw - var(--v8099-5-gutter)))!important;overflow:visible!important;}
body.page-observatorio .observatory-main-panel,body.page-observatorio .observatory-side-panel,body.page-observatorio .mini-panel{min-width:0!important;overflow:visible!important;box-sizing:border-box!important;}
body.page-observatorio .observatory-main-panel{background:#06152a!important;color:#f7fbff!important;-webkit-text-fill-color:initial!important;}
body.page-observatorio .observatory-main-panel :where(h1,h2,h3,h4,p,span,small,strong,label){color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important;opacity:1!important;text-shadow:none!important;}
body.page-observatorio .chart-description{color:#dceeff!important;-webkit-text-fill-color:#dceeff!important;}
body.page-observatorio .plotly-shell{height:clamp(520px,58vh,620px)!important;min-height:520px!important;max-height:620px!important;overflow:hidden!important;border-radius:22px!important;background:#06152a!important;margin-top:1rem!important;margin-bottom:1.25rem!important;}
body.page-observatorio .plotly-shell .js-plotly-plot,body.page-observatorio .plotly-shell .plot-container,body.page-observatorio .plotly-shell .svg-container,body.page-observatorio .plotly-shell .main-svg{height:100%!important;max-height:620px!important;overflow:hidden!important;}
body.page-observatorio .modebar,body.page-observatorio .modebar-container,body.page-observatorio .modebar-group{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}
body.page-observatorio .chart-footnotes{background:#f8fcff!important;color:#071832!important;-webkit-text-fill-color:initial!important;border:1px solid #c5def1!important;border-radius:18px!important;text-align:left!important;padding:1rem 1.2rem!important;margin-top:1rem!important;overflow-wrap:anywhere!important;line-height:1.4!important;}
body.page-observatorio .chart-footnotes *{color:#071832!important;-webkit-text-fill-color:#071832!important;text-align:left!important;}
body.page-observatorio .chart-footnotes a{color:#006db2!important;-webkit-text-fill-color:#006db2!important;font-weight:900!important;display:inline!important;overflow-wrap:anywhere!important;word-break:break-word!important;}
/* OBSERVATORIO — panel lateral legible: blanco=texto oscuro, oscuro=texto claro */
body.page-observatorio .summary-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.8rem!important;}
body.page-observatorio .summary-item{background:#f8fcff!important;border:1px solid #c5def1!important;border-radius:18px!important;padding:1rem!important;color:#071832!important;-webkit-text-fill-color:initial!important;min-width:0!important;}
body.page-observatorio .summary-item :where(span,strong,small,b){color:#071832!important;-webkit-text-fill-color:#071832!important;opacity:1!important;text-shadow:none!important;}
body.page-observatorio .summary-item strong{display:block!important;font-size:1.45rem!important;margin:.25rem 0!important;}
body.page-observatorio .fact-list .fact{display:grid!important;grid-template-columns:minmax(95px,.48fr) minmax(0,1fr)!important;gap:.8rem!important;background:#06152a!important;color:#f7fbff!important;-webkit-text-fill-color:initial!important;border-bottom:1px solid rgba(220,238,255,.35)!important;padding:.75rem 0!important;}
body.page-observatorio .fact-list .fact *{color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important;opacity:1!important;text-shadow:none!important;}
body.page-observatorio .source-live-panel{background:#06152a!important;color:#f7fbff!important;-webkit-text-fill-color:initial!important;}
body.page-observatorio .source-live-panel *{color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important;opacity:1!important;text-shadow:none!important;}
body.page-observatorio .source-live-panel a,body.page-observatorio #sourceTrace a{color:#74dcff!important;-webkit-text-fill-color:#74dcff!important;font-weight:900!important;display:block!important;overflow-wrap:anywhere!important;word-break:break-word!important;text-align:left!important;}
/* OBSERVATORIO — metodología visible sin títulos ocultos */
body.page-observatorio #metodologia .panel,body.page-observatorio #metodologia .card{background:#f8fcff!important;color:#071832!important;-webkit-text-fill-color:initial!important;border:1px solid #c5def1!important;}
body.page-observatorio #metodologia .panel :where(h1,h2,h3,h4,p,li,span,small,strong,b,td,th){color:#071832!important;-webkit-text-fill-color:#071832!important;opacity:1!important;text-shadow:none!important;}
body.page-observatorio #metodologia .quote-box,body.page-observatorio #metodologia .citation-box{background:#f8fcff!important;color:#071832!important;-webkit-text-fill-color:#071832!important;}
/* OBSERVATORIO — consulta multiagente: select y chips no blancos sobre blanco */
body.page-observatorio .scientific-assistant,body.page-observatorio .agent-output-panel{background:#06152a!important;color:#f7fbff!important;-webkit-text-fill-color:initial!important;}
body.page-observatorio .scientific-assistant :where(h1,h2,h3,h4,p,label,span,strong,small),body.page-observatorio .agent-output-panel :where(h1,h2,h3,h4,p,label,span,strong,small){color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important;opacity:1!important;}
body.page-observatorio .scientific-assistant select,body.page-observatorio .scientific-assistant textarea{background:#f8fcff!important;color:#071832!important;-webkit-text-fill-color:#071832!important;border:1px solid #9dcced!important;}
body.page-observatorio .question-chip{background:#f8fcff!important;color:#071832!important;-webkit-text-fill-color:#071832!important;border:1px solid #9dcced!important;opacity:1!important;}
body.page-observatorio .agent-report>*{background:#102b49!important;color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important;border:1px solid rgba(139,212,255,.30)!important;}
@media(max-width:1180px){body.page-observatorio .observatorio-grid,body.page-observatorio .observatory-grid,body.page-observatorio .observatory-layout{grid-template-columns:1fr!important;}body.page-observatorio .obs-location-buttons{grid-template-columns:repeat(2,minmax(0,1fr))!important;}body.page-observatorio .obs-location-custom{grid-template-columns:1fr 1fr!important;}body.page-observatorio .summary-grid{grid-template-columns:1fr 1fr!important;}}
@media(max-width:720px){:root{--v8099-5-gutter:28px;}body.page-observatorio .obs-location-buttons,body.page-observatorio .obs-location-custom,body.page-observatorio .summary-grid{grid-template-columns:1fr!important;}body.page-observatorio .plotly-shell{height:520px!important;max-height:520px!important;}body.page-contacto .contact-grid{grid-template-columns:1fr!important;}}


/* IngSoft V84.28 — opciones visibles en selectores del Observatorio */
body.page-observatorio .scientific-assistant select{
  color-scheme:light !important;
  background:#F8FCFF !important;
  color:#071832 !important;
  -webkit-text-fill-color:#071832 !important;
  border:1.5px solid #9DCCED !important;
}
body.page-observatorio .scientific-assistant select option,
body.page-observatorio .scientific-assistant select optgroup{
  background:#FFFFFF !important;
  color:#071832 !important;
  -webkit-text-fill-color:#071832 !important;
  opacity:1 !important;
  text-shadow:none !important;
}
body.page-observatorio .scientific-assistant select option:checked,
body.page-observatorio .scientific-assistant select option[selected]{
  background:#D9F1FF !important;
  color:#071832 !important;
  -webkit-text-fill-color:#071832 !important;
}
