/* IngSoft V80.99.4 · Corrección visual rigurosa de prepublicación
   Objetivo: eliminar recortes, elementos superpuestos, contrastes ilegibles,
   hero/páginas desplazadas y fallas visuales detectadas en Observatorio,
   Publicaciones, Datos, Citar y Contacto. */
:root{
  --v8099-header-h:72px;
  --v8099-max:1440px;
  --v8099-gutter:clamp(42px,6vw,96px);
  --v8099-dark:#020916;
  --v8099-panel:#06152a;
  --v8099-panel-soft:#0b2746;
  --v8099-light:#f5faff;
  --v8099-ink:#071832;
  --v8099-ink2:#1e3b5c;
  --v8099-cyan:#22d3ff;
  --v8099-sky:#8bd4ff;
  --v8099-red:#e41e2b;
}
html{scroll-padding-top:calc(var(--v8099-header-h) + 24px)!important;}
body.v8099-worldclass{padding-top:var(--v8099-header-h)!important;background:var(--v8099-dark)!important;overflow-x:hidden!important;}
body.v8099-worldclass .v8099-global-header{height:var(--v8099-header-h)!important;min-height:var(--v8099-header-h)!important;max-height:var(--v8099-header-h)!important;position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:2147483000!important;background:#020916!important;border-bottom:1px solid rgba(139,212,255,.22)!important;box-shadow:0 14px 35px rgba(0,0,0,.45)!important;overflow:visible!important;}
body.v8099-worldclass .v8099-site-header,
body.v8099-worldclass .v8099-global-header .site-header{height:var(--v8099-header-h)!important;min-height:var(--v8099-header-h)!important;max-height:var(--v8099-header-h)!important;background:transparent!important;margin:0!important;padding:0!important;}
body.v8099-worldclass .v8099-header-inner{height:var(--v8099-header-h)!important;display:grid!important;grid-template-columns:clamp(150px,13vw,210px) minmax(470px,1fr) auto!important;align-items:center!important;gap:clamp(.75rem,1.4vw,1.8rem)!important;width:min(calc(100% - 48px),1510px)!important;margin-inline:auto!important;padding:0!important;}
body.v8099-worldclass .v8099-brand{display:flex!important;align-items:center!important;height:var(--v8099-header-h)!important;}
body.v8099-worldclass .v8099-brand img{display:block!important;width:clamp(150px,12vw,205px)!important;max-height:55px!important;object-fit:contain!important;}
body.v8099-worldclass .v8099-main-nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:clamp(.48rem,.85vw,1rem)!important;flex-wrap:nowrap!important;white-space:nowrap!important;overflow:visible!important;height:var(--v8099-header-h)!important;}
body.v8099-worldclass .v8099-main-nav a{font-size:clamp(.76rem,.8vw,.9rem)!important;font-weight:900!important;color:#fff!important;-webkit-text-fill-color:#fff!important;line-height:1!important;text-decoration:none!important;padding:.35rem .08rem!important;}
body.v8099-worldclass .v8099-langbar{height:40px!important;display:inline-flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:.18rem!important;white-space:nowrap!important;justify-self:end!important;padding:.14rem .2rem!important;border-radius:999px!important;background:#071832!important;border:1px solid rgba(139,212,255,.35)!important;}
body.v8099-worldclass .v8099-langbar button,
body.v8099-worldclass .v8099-langbar select,
body.v8099-worldclass .v8099-ai{height:32px!important;min-height:32px!important;max-height:32px!important;font-size:.68rem!important;line-height:1!important;font-weight:950!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;}
body.v8099-worldclass .v8099-langbar button{min-width:31px!important;border:0!important;background:transparent!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-radius:999px!important;padding:0 .42rem!important;}
body.v8099-worldclass .v8099-langbar button[aria-pressed="true"]{background:linear-gradient(135deg,#0b73d9,#22d3ff)!important;}
body.v8099-worldclass .v8099-langbar select{width:70px!important;max-width:70px!important;background:#071832!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid rgba(139,212,255,.35)!important;border-radius:999px!important;padding:0 .26rem!important;}
body.v8099-worldclass .v8099-ai{color:#fff0f2!important;-webkit-text-fill-color:#fff0f2!important;border:1px solid rgba(228,30,43,.56)!important;background:rgba(228,30,43,.18)!important;border-radius:999px!important;padding:0 .5rem!important;}
/* Espacio lateral estético global */
body.v8099-worldclass .wide,
body.v8099-worldclass .container,
body.v8099-worldclass .v91-wrap{width:min(calc(100% - (2 * var(--v8099-gutter))),var(--v8099-max))!important;max-width:var(--v8099-max)!important;margin-inline:auto!important;padding-left:0!important;padding-right:0!important;}
body.v8099-worldclass main>section{padding-left:0!important;padding-right:0!important;}
/* Reglas base de contraste: secciones claras y oscuras */
body.v8099-worldclass .section-light{background:linear-gradient(180deg,#f5faff 0%,#eef6fc 100%)!important;color:var(--v8099-ink)!important;-webkit-text-fill-color:initial!important;}
body.v8099-worldclass .section-light :is(h1,h2,h3,h4,h5,h6,b,strong,label,th){color:var(--v8099-ink)!important;-webkit-text-fill-color:var(--v8099-ink)!important;text-shadow:none!important;}
body.v8099-worldclass .section-light :is(p,li,span,td,small,em){color:var(--v8099-ink2)!important;-webkit-text-fill-color:var(--v8099-ink2)!important;text-shadow:none!important;}
body.v8099-worldclass .section-light a:not(.btn):not(.tag){color:#006db2!important;-webkit-text-fill-color:#006db2!important;font-weight:900!important;}
body.v8099-worldclass .section-dark,
body.v8099-worldclass .hero,
body.v8099-worldclass .v91-hero{background:linear-gradient(180deg,#020916,#06152a)!important;color:#f7fbff!important;}
body.v8099-worldclass .section-dark :is(h1,h2,h3,h4,h5,h6,b,strong,label),
body.v8099-worldclass .hero :is(h1,h2,h3,h4,h5,h6,b,strong,label),
body.v8099-worldclass .v91-hero :is(h1,h2,h3,h4,h5,h6,b,strong,label){color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.55)!important;}
body.v8099-worldclass .section-dark :is(p,li,span,td,small,em),
body.v8099-worldclass .hero :is(p,li,span,td,small,em),
body.v8099-worldclass .v91-hero :is(p,li,span,td,small,em){color:#dceeff!important;-webkit-text-fill-color:#dceeff!important;}
/* Etiquetas de título legibles en cualquier fondo */
body.v8099-worldclass .eyebrow,
body.v8099-worldclass .eyebrow-inline,
body.v8099-worldclass .v91-eyebrow{display:inline-flex!important;align-items:center!important;gap:.65rem!important;min-height:30px!important;border-radius:999px!important;padding:.28rem 1rem!important;background:#fff!important;border:2px solid #63b8ee!important;color:#06152a!important;-webkit-text-fill-color:#06152a!important;font-size:.76rem!important;line-height:1!important;font-weight:1000!important;letter-spacing:.13em!important;text-transform:uppercase!important;text-shadow:none!important;box-shadow:0 8px 24px rgba(7,24,50,.10)!important;}
body.v8099-worldclass .eyebrow::before,
body.v8099-worldclass .eyebrow-inline::before,
body.v8099-worldclass .v91-eyebrow::before{content:""!important;width:30px!important;height:3px!important;border-radius:4px!important;background:var(--v8099-red)!important;display:inline-block!important;flex:0 0 30px!important;}
/* Páginas principales: primera sección sin forzar layouts rotos */
body.page-publicaciones .v8099-first-screen,
body.page-contacto .v8099-first-screen,
body.page-citar .v8099-first-screen,
body.page-datasets .v8099-first-screen{min-height:auto!important;display:block!important;align-items:initial!important;padding-top:clamp(2rem,4vw,3.6rem)!important;padding-bottom:clamp(2rem,4vw,3.6rem)!important;}
body.page-observatorio .observatorio-hero.v8099-first-screen{min-height:auto!important;display:block!important;padding-top:clamp(2.3rem,4vw,3.4rem)!important;padding-bottom:clamp(2rem,3.2vw,3rem)!important;}
/* Observatorio: dashboard sin recortes ni superposición */
body.page-observatorio #dashboard{background:#f5faff!important;color:#071832!important;}
body.page-observatorio #dashboard .section-head{display:grid!important;grid-template-columns:minmax(360px,.9fr) minmax(0,1.1fr)!important;align-items:end!important;gap:2rem!important;margin-bottom:2rem!important;}
body.page-observatorio #dashboard .section-head h2{font-size:clamp(2rem,3.2vw,3.2rem)!important;line-height:1.02!important;letter-spacing:-.04em!important;max-width:720px!important;}
body.page-observatorio #dashboard .section-head p{font-size:1.03rem!important;line-height:1.5!important;max-width:760px!important;color:#1e3b5c!important;-webkit-text-fill-color:#1e3b5c!important;}
body.page-observatorio .dashboard-controls--sticky{position:static!important;top:auto!important;z-index:1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:.8rem!important;flex-wrap:wrap!important;margin-bottom:1.25rem!important;padding:.85rem!important;border-radius:26px!important;background:#fff!important;border:1px solid rgba(31,142,214,.22)!important;box-shadow:0 14px 34px rgba(6,21,42,.10)!important;}
body.page-observatorio .dataset-tabs,
body.page-observatorio .dashboard-actions{display:flex!important;align-items:center!important;gap:.55rem!important;flex-wrap:wrap!important;}
body.page-observatorio .dataset-tab,
body.page-observatorio .dashboard-actions .btn{min-height:42px!important;border-radius:999px!important;padding:.6rem .95rem!important;font-weight:900!important;white-space:nowrap!important;line-height:1!important;}
body.page-observatorio .dataset-tab{background:#fff!important;color:#06152a!important;-webkit-text-fill-color:#06152a!important;border:1px solid #9dcced!important;}
body.page-observatorio .dataset-tab.active,
body.page-observatorio .dataset-tab[aria-selected="true"]{background:#0b73d9!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
body.page-observatorio .dashboard-actions .btn{background:#dce9f4!important;color:#071832!important;-webkit-text-fill-color:#071832!important;border:1px solid #9dcced!important;}
body.page-observatorio .observatory-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(330px,390px)!important;gap:1.75rem!important;align-items:start!important;overflow:visible!important;}
body.page-observatorio .observatory-main-panel{background:#06152a!important;border:1px solid rgba(139,212,255,.30)!important;color:#f7fbff!important;-webkit-text-fill-color:initial!important;border-radius:28px!important;padding:1.35rem!important;overflow:visible!important;}
body.page-observatorio .observatory-main-panel *{color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important;}
body.page-observatorio .observatory-panel-head{display:grid!important;grid-template-columns:1fr!important;gap:.85rem!important;margin-bottom:.9rem!important;}
body.page-observatorio .badge-row{display:flex!important;flex-wrap:wrap!important;gap:.45rem!important;}
body.page-observatorio .data-badge{background:#eaf6ff!important;color:#06152a!important;-webkit-text-fill-color:#06152a!important;border:1px solid #9dcced!important;border-radius:999px!important;font-weight:900!important;padding:.42rem .7rem!important;}
body.page-observatorio .chart-description{color:#dceeff!important;-webkit-text-fill-color:#dceeff!important;margin:.8rem 0 1.1rem!important;}
body.page-observatorio #observatoryChart,
body.page-observatorio .plotly-shell{height:860px!important;min-height:860px!important;max-height:none!important;overflow:visible!important;contain:none!important;border-radius:24px!important;background:#031122!important;padding:0!important;margin:0 0 1.35rem!important;}
body.page-observatorio #observatoryChart .js-plotly-plot,
body.page-observatorio #observatoryChart .plot-container,
body.page-observatorio #observatoryChart .svg-container,
body.page-observatorio #observatoryChart .main-svg{overflow:visible!important;max-width:100%!important;}
body.page-observatorio .modebar,
body.page-observatorio .modebar-container{display:none!important;visibility:hidden!important;pointer-events:none!important;}
body.page-observatorio .chart-footnotes,
body.page-observatorio .source-box,
body.page-observatorio .source-live-panel{margin-top:1.4rem!important;}
body.page-observatorio .source-box,
body.page-observatorio .source-live-panel{background:#f8fcff!important;color:#071832!important;-webkit-text-fill-color:#071832!important;border:1px solid #bfdcf1!important;border-radius:22px!important;padding:1.1rem 1.25rem!important;overflow:visible!important;}
body.page-observatorio .source-box *,
body.page-observatorio .source-live-panel *{color:#071832!important;-webkit-text-fill-color:#071832!important;text-shadow:none!important;}
body.page-observatorio .source-box a,
body.page-observatorio .source-live-panel a,
body.page-observatorio #sourceTrace a{display:block!important;width:100%!important;text-align:left!important;color:#006db2!important;-webkit-text-fill-color:#006db2!important;overflow-wrap:anywhere!important;word-break:break-word!important;line-height:1.35!important;}
body.page-observatorio .observatory-side-panel{background:transparent!important;border:0!important;padding:0!important;display:grid!important;gap:1rem!important;}
body.page-observatorio .observatory-side-panel .mini-panel,
body.page-observatorio .observatory-side-panel .panel{background:#06152a!important;color:#f7fbff!important;-webkit-text-fill-color:initial!important;border:1px solid rgba(139,212,255,.30)!important;border-radius:22px!important;padding:1rem!important;overflow:visible!important;}
body.page-observatorio .observatory-side-panel .mini-panel *{color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important;text-shadow:none!important;}
body.page-observatorio .summary-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.65rem!important;}
body.page-observatorio .summary-item{background:#f8fcff!important;border:1px solid #c5def1!important;border-radius:14px!important;padding:.9rem!important;}
body.page-observatorio .summary-item *{color:#071832!important;-webkit-text-fill-color:#071832!important;}
body.page-observatorio #variableList .fact{display:grid!important;grid-template-columns:minmax(140px,.36fr) minmax(0,1fr)!important;gap:1rem!important;border-bottom:1px solid rgba(255,255,255,.28)!important;padding:.72rem 0!important;}
body.page-observatorio #variableList .fact b{color:#fff!important;-webkit-text-fill-color:#fff!important;}
body.page-observatorio #variableList .fact span,
body.page-observatorio #variableList .fact strong{color:#dceeff!important;-webkit-text-fill-color:#dceeff!important;}
body.page-observatorio #metodologia .split{display:grid!important;grid-template-columns:1.1fr .9fr!important;gap:1.6rem!important;align-items:start!important;}
body.page-observatorio #metodologia .panel{background:#fff!important;color:#071832!important;border:1px solid #c5def1!important;border-radius:28px!important;padding:1.25rem!important;overflow:visible!important;}
body.page-observatorio #metodologia .panel *{color:#071832!important;-webkit-text-fill-color:#071832!important;}
body.page-observatorio #metodologia .eyebrow{color:#06152a!important;-webkit-text-fill-color:#06152a!important;}
body.page-observatorio #metodologia .quote-box,
body.page-observatorio #metodologia .source-box{background:#f8fcff!important;border:1px solid #bfdcf1!important;color:#071832!important;-webkit-text-fill-color:#071832!important;}
body.page-observatorio #metodologia .quote-box *{color:#071832!important;-webkit-text-fill-color:#071832!important;}
/* Publicaciones: sin desplazamiento lateral, sin tarjetas solo a la derecha */
body.page-publicaciones .section-light{background:#f5faff!important;}
body.page-publicaciones .section-head{display:grid!important;grid-template-columns:minmax(300px,.55fr) minmax(0,1fr)!important;gap:2rem!important;align-items:end!important;margin-bottom:1.45rem!important;}
body.page-publicaciones .section-head h2{font-size:clamp(2.05rem,3.6vw,3.5rem)!important;line-height:1.02!important;max-width:620px!important;}
body.page-publicaciones .section-head p{max-width:780px!important;color:#1e3b5c!important;-webkit-text-fill-color:#1e3b5c!important;font-size:1.02rem!important;line-height:1.5!important;}
body.page-publicaciones .notice-panel{background:#fff!important;border:1px solid #c5def1!important;border-radius:24px!important;padding:1rem 1.25rem!important;margin-bottom:1.35rem!important;}
body.page-publicaciones .notice-panel *{color:#071832!important;-webkit-text-fill-color:#071832!important;}
body.page-publicaciones .publication-list{display:grid!important;grid-template-columns:1fr!important;gap:1rem!important;width:min(calc(100% - (2 * var(--v8099-gutter))),var(--v8099-max))!important;margin-inline:auto!important;}
body.page-publicaciones .publication{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:1rem!important;width:100%!important;margin:0!important;background:#fff!important;color:#071832!important;-webkit-text-fill-color:initial!important;border:1px solid #c5def1!important;border-radius:24px!important;padding:1.05rem 1.2rem!important;box-shadow:0 12px 30px rgba(6,21,42,.06)!important;}
body.page-publicaciones .publication *{color:#071832!important;-webkit-text-fill-color:#071832!important;text-shadow:none!important;}
body.page-publicaciones .publication h3{font-size:1.15rem!important;line-height:1.18!important;margin:0 0 .35rem!important;}
body.page-publicaciones .publication p{font-size:.98rem!important;line-height:1.38!important;margin:0!important;color:#1e3b5c!important;-webkit-text-fill-color:#1e3b5c!important;}
body.page-publicaciones .publication .tag,
body.page-publicaciones .publication a.tag{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:100px!important;min-height:52px!important;border-radius:999px!important;background:#e9f5ff!important;color:#006db2!important;-webkit-text-fill-color:#006db2!important;font-weight:1000!important;text-align:center!important;text-decoration:none!important;}
body.page-publicaciones .feature-band,
body.page-publicaciones #v93PublicationLabDoi .wide{background:#06152a!important;border:1px solid rgba(139,212,255,.30)!important;border-radius:26px!important;padding:1.3rem!important;color:#fff!important;-webkit-text-fill-color:initial!important;}
body.page-publicaciones .feature-band *,
body.page-publicaciones #v93PublicationLabDoi .wide *{color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important;}
body.page-publicaciones #v93PublicationLabDoi a{color:#22d3ff!important;-webkit-text-fill-color:#22d3ff!important;}
/* Datos / datasets: hero proporcionado, sin pantalla fea ni bloques vacíos */
body.page-datasets .dataset-hub-hero{background:linear-gradient(180deg,#020916,#06152a)!important;}
body.page-datasets .dataset-hub-hero .hero-grid{display:grid!important;grid-template-columns:minmax(340px,.9fr) minmax(360px,.8fr)!important;gap:2rem!important;align-items:center!important;min-height:calc(100svh - var(--v8099-header-h) - 40px)!important;}
body.page-datasets .dataset-hub-hero h1{font-size:clamp(2.5rem,5vw,5rem)!important;line-height:.98!important;letter-spacing:-.055em!important;max-width:620px!important;}
body.page-datasets .dataset-hub-hero p{font-size:1.02rem!important;line-height:1.48!important;max-width:620px!important;color:#dceeff!important;-webkit-text-fill-color:#dceeff!important;}
body.page-datasets .dataset-hub-hero img{max-width:100%!important;border-radius:24px!important;box-shadow:0 24px 70px rgba(0,0,0,.42)!important;}
body.page-datasets .dataset-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;gap:1rem!important;}
body.page-datasets .dataset-card{background:#fff!important;border:1px solid #c5def1!important;border-radius:22px!important;padding:1.2rem!important;color:#071832!important;-webkit-text-fill-color:initial!important;}
body.page-datasets .dataset-card *{color:#071832!important;-webkit-text-fill-color:#071832!important;}
body.page-datasets .dataset-card code{display:block!important;background:#06152a!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-radius:10px!important;padding:.55rem!important;overflow-wrap:anywhere!important;}
/* Citar: generador, DOI y tarjetas legibles */
body.page-citar .hero.v8099-first-screen{min-height:auto!important;padding-top:clamp(2.2rem,4vw,3.6rem)!important;padding-bottom:clamp(2.2rem,4vw,3.6rem)!important;}
body.page-citar #generador-citas .container:nth-child(2),
body.page-citar .citation-generator{background:#06152a!important;border:1px solid rgba(139,212,255,.30)!important;border-radius:28px!important;padding:1.25rem!important;color:#f7fbff!important;-webkit-text-fill-color:initial!important;overflow:visible!important;}
body.page-citar #generador-citas .container:nth-child(2) *{color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important;}
body.page-citar #generador-citas label{color:#fff!important;-webkit-text-fill-color:#fff!important;font-weight:900!important;}
body.page-citar #generador-citas select{background:#f8fcff!important;color:#071832!important;-webkit-text-fill-color:#071832!important;border:1px solid #9dcced!important;border-radius:0!important;min-height:44px!important;padding:.45rem .75rem!important;}
body.page-citar #citation-output,
body.page-citar .citation-output{display:block!important;background:#f8fcff!important;color:#071832!important;-webkit-text-fill-color:#071832!important;border:1px solid #bfdcf1!important;border-radius:18px!important;padding:1.1rem 1.25rem!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;line-height:1.55!important;max-width:100%!important;}
body.page-citar #citation-output *{color:#071832!important;-webkit-text-fill-color:#071832!important;}
body.page-citar .citation-format-buttons,
body.page-citar .format-row{display:flex!important;flex-wrap:wrap!important;gap:.35rem!important;margin-top:.6rem!important;}
body.page-citar .card,
body.page-citar .doi-card,
body.page-citar .v93-doi-panel,
body.page-citar #v93LabCitation .wide{background:#06152a!important;color:#f7fbff!important;-webkit-text-fill-color:initial!important;border:1px solid rgba(139,212,255,.30)!important;border-radius:26px!important;padding:1.25rem!important;overflow:visible!important;}
body.page-citar .card *,
body.page-citar .doi-card *,
body.page-citar .v93-doi-panel *,
body.page-citar #v93LabCitation .wide *{color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important;text-shadow:none!important;}
body.page-citar .quote-box,
body.page-citar .v93-citation-box{background:#f8fcff!important;color:#071832!important;-webkit-text-fill-color:initial!important;border:1px solid #bfdcf1!important;border-radius:18px!important;padding:1rem 1.25rem!important;}
body.page-citar .quote-box *,
body.page-citar .v93-citation-box *{color:#071832!important;-webkit-text-fill-color:#071832!important;}
body.page-citar #matriz-doi .data-table-panel{background:#fff!important;color:#071832!important;border:1px solid #c5def1!important;border-radius:22px!important;overflow:auto!important;}
body.page-citar #matriz-doi table{width:100%!important;border-collapse:collapse!important;}
body.page-citar #matriz-doi th{background:#06152a!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
body.page-citar #matriz-doi td{background:#fff!important;color:#071832!important;-webkit-text-fill-color:#071832!important;}
/* Contacto: panel claro legible y formulario oscuro legible */
body.page-contacto .contact-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:2rem!important;align-items:stretch!important;}
body.page-contacto .contact-grid>.panel{background:#fff!important;color:#071832!important;-webkit-text-fill-color:initial!important;border:1px solid #c5def1!important;border-radius:28px!important;padding:1.25rem!important;min-height:520px!important;}
body.page-contacto .contact-grid>.panel *{color:#071832!important;-webkit-text-fill-color:#071832!important;text-shadow:none!important;}
body.page-contacto .contact-grid>.panel h2{font-size:clamp(2rem,3vw,3rem)!important;line-height:1.02!important;margin:.65rem 0 .4rem!important;}
body.page-contacto .contact-grid .fact{display:grid!important;grid-template-columns:170px minmax(0,1fr)!important;gap:1rem!important;border-bottom:1px solid #d5e7f4!important;padding:.85rem 0!important;}
body.page-contacto .contact-grid .fact a{color:#006db2!important;-webkit-text-fill-color:#006db2!important;font-weight:900!important;}
body.page-contacto .contact-card{background:#06152a!important;color:#f7fbff!important;-webkit-text-fill-color:initial!important;border:1px solid rgba(139,212,255,.30)!important;border-radius:28px!important;padding:1.25rem!important;min-height:520px!important;}
body.page-contacto .contact-card *:not(input):not(textarea):not(button){color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important;text-shadow:none!important;}
body.page-contacto .contact-card h3{font-size:1.35rem!important;margin:0 0 .85rem!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
body.page-contacto .contact-card p{color:#dceeff!important;-webkit-text-fill-color:#dceeff!important;}
body.page-contacto .field{margin-bottom:1rem!important;}
body.page-contacto .field label{display:block!important;margin-bottom:.35rem!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-weight:900!important;}
body.page-contacto .contact-card input,
body.page-contacto .contact-card textarea{width:100%!important;background:#f8fcff!important;color:#071832!important;-webkit-text-fill-color:#071832!important;border:2px solid #9dcced!important;border-radius:18px!important;min-height:48px!important;padding:.75rem .9rem!important;}
body.page-contacto .contact-card textarea{min-height:130px!important;}
body.page-contacto .contact-card .btn{width:100%!important;min-height:54px!important;color:#071832!important;-webkit-text-fill-color:#071832!important;font-weight:1000!important;}
/* Laboratorio/home: evitar palabras verticales */
body.page-home .v91-feature>.copy,
body.page-laboratorio .v91-feature>.copy{width:min(48%,520px)!important;min-width:360px!important;}
body.page-home .v91-feature h2,
body.page-laboratorio .v91-feature h2{font-size:clamp(2.1rem,3.4vw,4.2rem)!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;}
body.page-home .v8099-hero-media,
body.page-laboratorio .v8099-hero-media{inset:0 0 0 34%!important;}
/* Accesibilidad flotante sin tapar textos importantes */
body.v8099-worldclass .aq-accessibility-widget,
body.v8099-worldclass #accessibilityPanel,
body.v8099-worldclass .accessibility-widget{z-index:2147482500!important;}
@media(max-width:1180px){
  :root{--v8099-gutter:clamp(24px,4vw,58px);}
  body.v8099-worldclass .v8099-header-inner{grid-template-columns:clamp(135px,13vw,185px) minmax(360px,1fr) auto!important;gap:.65rem!important;}
  body.v8099-worldclass .v8099-main-nav a{font-size:.72rem!important;}
  body.page-observatorio .observatory-layout,
  body.page-contacto .contact-grid,
  body.page-observatorio #metodologia .split{grid-template-columns:1fr!important;}
  body.page-publicaciones .section-head,
  body.page-observatorio #dashboard .section-head,
  body.page-datasets .dataset-hub-hero .hero-grid{grid-template-columns:1fr!important;}
}
@media(max-width:760px){
  :root{--v8099-header-h:126px;--v8099-gutter:18px;}
  body.v8099-worldclass .v8099-header-inner{grid-template-columns:1fr!important;grid-template-rows:44px 38px 38px!important;gap:0!important;height:var(--v8099-header-h)!important;}
  body.v8099-worldclass .v8099-brand{justify-content:center!important;height:44px!important;}
  body.v8099-worldclass .v8099-brand img{max-height:38px!important;}
  body.v8099-worldclass .v8099-main-nav{height:38px!important;justify-content:flex-start!important;overflow-x:auto!important;}
  body.v8099-worldclass .v8099-langbar{justify-self:center!important;max-width:100%!important;overflow-x:auto!important;}
  body.page-observatorio #observatoryChart,body.page-observatorio .plotly-shell{height:680px!important;min-height:680px!important;}
  body.page-observatorio #obsLocationPanel .obs-location-buttons{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.page-observatorio #obsLocationPanel .obs-location-custom{grid-template-columns:1fr!important;}
  body.page-contacto .contact-grid .fact{grid-template-columns:1fr!important;}
  body.page-publicaciones .publication{grid-template-columns:1fr!important;}
}
