/* AraucanIA — portada observatorio. No altera las fórmulas ni las fuentes. */
:root{--obs-cyan:#00d6ef;--obs-line:#19425a}
.main-nav a{color:inherit;text-decoration:none;padding:12px 16px;border-radius:8px;white-space:nowrap}.main-nav a.active{background:#163759;color:#8fefff}
.portal-hero{min-height:370px;overflow:hidden}.hero-copy h1{font-size:clamp(36px,4.1vw,72px);line-height:1.06;letter-spacing:-.035em}.hero-copy>p{font-size:clamp(18px,1.4vw,23px);line-height:1.6;max-width:680px}.hero-visual{isolation:isolate}.hero-territory{filter:drop-shadow(0 0 12px #00b6ec66)}
.scan-field{position:absolute;inset:17% 4% 4%;pointer-events:none;overflow:hidden;z-index:2;border-radius:48%;mask-image:radial-gradient(ellipse,#000 48%,transparent 73%)}
.scan-orbit{position:absolute;inset:12% 7%;border:1px solid #00c5ff55;border-radius:50%;transform:rotate(-18deg);box-shadow:0 0 28px #00bfff15,inset 0 0 30px #00bfff15}
.scan-beam{position:absolute;top:0;left:0;width:100%;height:28%;background:linear-gradient(transparent,#00c8ed18,#00eaff60);border-bottom:2px solid #acffff;box-shadow:0 8px 20px #00dfff80;animation:territory-scan 6s linear infinite}
@keyframes territory-scan{from{transform:translateY(-120%)}to{transform:translateY(430%)}}
.scan-toggle{position:absolute;right:20px;bottom:5px;z-index:3;background:#061624b8;color:#afcadb;border:1px solid #20425a;border-radius:20px;padding:7px 12px;font-size:13px}
.spotlight{padding:28px 0 34px;border-bottom:1px solid var(--obs-line);margin-bottom:28px}.spotlight-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.spotlight h2{font-size:clamp(25px,2.5vw,36px);margin:8px 0}.spot-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.spot-card{min-width:0;padding:26px 22px;border:1px solid #137097;border-radius:16px;background:linear-gradient(145deg,#102b40,#061625);box-shadow:inset 0 1px 16px #00bde909,0 6px 22px #0003;animation:card-enter .5s ease both}.spot-card h3{font-size:clamp(21px,1.65vw,28px);line-height:1.25;margin:0 0 10px;min-height:2.5em}.spot-role{font-size:17px;color:#aec8d9;line-height:1.5;min-height:3em;margin:0 0 22px}
.measurement-modules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.measurement-module{padding:15px 5px;text-align:center;border:1px solid;border-radius:9px;min-width:0;background:#06131e}.measurement-module span{display:block;font-size:14px;font-weight:600}.measurement-module strong{display:block;font-size:clamp(22px,2vw,32px);margin-top:8px;font-variant-numeric:tabular-nums}.measurement-module.a{color:#41efab;border-color:#137256;box-shadow:inset 0 0 18px #00d78f0c}.measurement-module.d{color:#ff637a;border-color:#873344;box-shadow:inset 0 0 18px #ff34550c}.measurement-module.n{color:#aec8e4;border-color:#3c5870}.spot-card .adn-track{height:13px;margin-top:20px;border-radius:5px;overflow:hidden;display:flex}.measurement-empty{color:#b1c0cf;font-size:16px;margin:18px 0 0}.slider-controls button{min-width:44px;min-height:44px}.spotlight .slider-controls{display:flex;gap:8px}
@keyframes card-enter{from{opacity:.3;transform:translateY(8px)}to{opacity:1;transform:none}}
#home-view .dashboard{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:26px;align-items:start}.right-stack{display:block!important}.panel{border-radius:16px}.panel h2{font-size:25px;line-height:1.25}.map-panel{padding:24px!important}.map-canvas{height:460px!important;min-height:0!important}.regional-summary{margin:18px 0;padding:16px 0}.regional-summary h3{font-size:19px}.regional-summary dl{gap:14px}.regional-summary dt{font-size:14px}.regional-summary dd{font-size:30px}.adn-key{font-size:15px;gap:8px}.panel-documents{margin:12px 0!important;padding:12px 0!important}.panel-documents h3{display:none}.report-actions{flex-wrap:wrap;gap:10px}#regional-report{font-size:16px;padding:12px 18px;border-color:#00c3e5;background:#053c51;color:#dcffff}#commune-select{font-size:17px;min-height:46px}.map-panel .wide-button{display:block;text-align:center;text-decoration:none;margin-top:16px}.map-panel .fine{font-size:13px;line-height:1.6}
.publications-panel{padding:24px}.publication-cards{gap:18px}.publication-card{min-width:0}.publication-card h3,.publication-card .publication-title{font-size:18px;line-height:1.5}.publication-card p{font-size:15px}.publication-art{height:180px}.publications-panel .fine{font-size:13px}.finance-panel{margin:28px 0;padding:24px}.finance-cards{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px}.financial{padding:20px}.financial-name{font-size:16px}.financial>strong{font-size:30px}.financial-date,.financial .source-link{font-size:13px}.news-panel{padding:24px}.news-cards{gap:20px}.news-card h3{font-size:19px;line-height:1.45}
#authorities-view{max-width:1500px;margin:32px auto}.directory-heading h1{font-size:clamp(32px,4vw,50px);margin:12px 0}.directory-heading p{font-size:19px}.directory-heading label{display:block;margin:24px 0 8px}.directory-heading input{width:100%;padding:15px;font-size:18px;background:#0c2133;color:white;border:1px solid #34516b;border-radius:10px;margin-bottom:24px}#authorities-view .measurement-panel{height:auto!important;min-height:0;max-height:none}#authorities-view .authority-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;overflow:visible;max-height:none!important}#authorities-view .authority-row{padding:24px;border:1px solid #24445a;border-radius:12px;align-items:start}#authorities-view .person-name{font-size:23px;text-align:left}#authorities-view .person-territory{font-size:17px}#authorities-view .person-party{font-size:15px}#authorities-view .adn-values{font-size:19px;margin-top:20px}#authorities-view .adn-track{height:18px}#authorities-view .fine{font-size:14px}#authorities-view .role-tabs{flex-wrap:wrap;overflow:visible}#authorities-view .role-tabs button{font-size:16px;padding:12px 18px}#authority-list .authority-status{grid-column:1/-1}#authorities-view [hidden]{display:none!important}
body.motion-paused .scan-beam{animation-play-state:paused}body.motion-paused .spot-card{animation:none}.hidden,[hidden]{display:none!important}
@media(max-width:1149px){.spot-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.main-nav{flex-wrap:wrap}#home-view .dashboard{grid-template-columns:1fr 1fr}.publication-cards{grid-template-columns:1fr!important}.spot-card h3{font-size:25px}}
@media(max-width:800px){#home-view .dashboard{grid-template-columns:1fr}#authorities-view .authority-list{grid-template-columns:1fr}.finance-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.portal-hero{min-height:400px}.hero-copy{position:relative;z-index:4}.hero-visual{opacity:.65}.publication-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.spotlight-heading{align-items:start}}
@media(max-width:699px){.spot-cards{grid-template-columns:1fr}.spotlight-heading{flex-direction:column}.spot-card h3{min-height:0;font-size:26px}.spot-role{min-height:0}.spot-card{padding:24px 18px}.measurement-module span{font-size:13px}.measurement-module strong{font-size:27px}.publication-cards{grid-template-columns:1fr!important}.panel h2{font-size:24px}.main-nav a{font-size:14px;padding:8px}.map-canvas{height:390px!important}.regional-summary dt{font-size:13px}.regional-summary dd{font-size:25px}.scan-toggle{font-size:12px}.financial{padding:14px}.financial>strong{font-size:25px}.hero-copy h1{font-size:39px}.hero-copy>p{font-size:18px}}
@media(prefers-reduced-motion:reduce){.scan-beam,.spot-card{animation:none!important}.scan-beam{opacity:.15}*{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:699px){.main-nav{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:6px!important;overflow:visible!important}.main-nav>*{flex:0 1 auto!important;width:auto!important;min-width:0!important;font-size:14px!important;padding:10px 12px!important}.site-header{height:auto!important}.scan-toggle{bottom:42px;right:12px}.measurement-module span{overflow-wrap:anywhere}#authorities-view .authority-row{display:block}#authorities-view .avatar-button{float:right;margin-left:12px}#authorities-view .person-info{width:100%}}

#home-view .dashboard>.right-stack{grid-column:auto!important;grid-row:auto!important;min-width:0}#home-view .dashboard>.map-panel{grid-column:auto!important;grid-row:auto!important}
.spot-card{position:relative;border-color:#00cde0;animation:card-enter .45s ease both,border-breathe 3.5s ease-in-out infinite;box-shadow:0 0 12px #00d9ff24,inset 0 0 14px #00d9ff0d}.spot-card:nth-child(2){animation-delay:0s,.7s}.spot-card:nth-child(3){animation-delay:0s,1.4s}
@keyframes border-breathe{0%,100%{border-color:#136f86;box-shadow:0 0 8px #00d9ff15,inset 0 0 12px #00d9ff08}50%{border-color:#68f5ff;box-shadow:0 0 22px #00d9ff50,inset 0 0 20px #00d9ff18}}
.scan-beam{border-bottom-width:3px;box-shadow:0 4px 24px #00efff,0 12px 45px #00dfff80;background:linear-gradient(transparent,#00d9ff30,#00eeff90)}
#home-view .dashboard{align-items:stretch}.right-stack .publications-panel{height:100%;display:flex;flex-direction:column;box-sizing:border-box}.publication-cards{display:grid!important;grid-template-columns:1fr!important;gap:18px;flex:1;align-content:start}.publication-cards .publication{display:grid!important;grid-template-columns:minmax(140px,38%) minmax(0,1fr);min-height:255px;height:auto!important;min-width:0}.publication-cards .publication-art{height:100%!important;min-height:255px}.publication-cards .publication-art img{height:100%;object-fit:cover}.publication-cards .publication-body{padding:18px;min-width:0}.publication-cards .publication h3{font-size:19px;line-height:1.45;display:block!important;overflow:visible!important;-webkit-line-clamp:unset!important;margin:12px 0}.publication-cards .publication-author{font-size:18px;line-height:1.4}.publication-cards .fine,.publication-cards .source-link{font-size:14px;line-height:1.5}.publications-panel .slider-footer{margin-top:20px}.map-panel .regional-summary{margin-top:4px}.map-panel .map-canvas{height:370px!important}.map-panel .panel-documents{padding:6px 0!important}.panel,.financial{transition:border-color .25s,box-shadow .25s}.financial:hover{border-color:#00cce7;box-shadow:0 0 18px #00cce71a}body.motion-paused .spot-card{animation:none}
@media(max-width:1100px){.publication-cards .publication{grid-template-columns:1fr}.publication-cards .publication-art{height:170px!important;min-height:0}.publication-cards .publication h3{font-size:18px}}
@media(max-width:800px){.right-stack .publications-panel{height:auto}.publication-cards .publication{grid-template-columns:minmax(120px,35%) minmax(0,1fr)}.publication-cards .publication-art{height:100%!important}}
@media(max-width:480px){.publication-cards .publication{grid-template-columns:1fr}.publication-cards .publication-art{height:185px!important}.spot-card{animation-duration:.45s,4.5s}}
@media(prefers-reduced-motion:reduce){.spot-card,.scan-beam{animation:none!important}.panel,.financial{transition:none!important}}
.spot-identity{display:flex;align-items:center;gap:18px;margin-bottom:20px}.spot-identity>.avatar{width:76px;height:76px;min-width:76px;border:2px solid #31d9eb;box-shadow:0 0 18px #00cce72b}.spot-identity>.avatar img{width:100%;height:100%;object-fit:cover}.spot-identity h3{min-height:0;margin:0 0 8px}.spot-identity .spot-role{min-height:0;margin:0}.spot-identity>div{min-width:0}@media(max-width:699px){.spot-identity{gap:14px}.spot-identity>.avatar{width:64px;height:64px;min-width:64px}.spot-identity h3{font-size:23px}}
.spot-identity>.avatar{border-radius:50%;overflow:hidden;background:radial-gradient(circle at 30% 20%,#2a6582,#071727);box-shadow:0 0 0 5px #00d7e70c,0 0 22px #00d7e73b}.unified-adn{position:relative;display:flex;height:28px!important;border-radius:14px!important;overflow:hidden;margin:20px 0 14px!important;background:#243747}.unified-adn i{height:100%;animation:bar-reveal .7s ease both}.unified-adn:not(.unavailable):after{content:'';position:absolute;inset:0;width:25%;background:linear-gradient(90deg,transparent,#fff6,transparent);animation:bar-sheen 4s linear infinite}.unified-adn.unavailable{background:#273849;border:1px dashed #587085}.adn-legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.adn-legend span{display:block;font-size:14px}.adn-legend strong{display:block;font-size:26px;margin-top:6px}.adn-legend .a{color:#3ee7a8}.adn-legend .d{color:#ff5d78}.adn-legend .n{color:#b4c9e0}.unified-adn .a{background:#09cb88}.unified-adn .d{background:#ff355c}.unified-adn .n{background:#8ba7c5}@keyframes bar-sheen{from{transform:translateX(-120%)}to{transform:translateX(520%)}}@keyframes bar-reveal{from{opacity:.2}to{opacity:1}}
#home-view .map-panel .map-canvas{height:560px!important;max-height:none;overflow:hidden}.map-canvas>svg{width:100%!important;height:100%!important;max-height:none!important}.map-canvas:after{content:'';position:absolute;left:0;top:0;width:100%;height:22%;border-bottom:2px solid #78f7ff;background:linear-gradient(transparent,#00ccee20);box-shadow:0 5px 20px #00ccee60;pointer-events:none;opacity:0}.map-canvas:hover:after,.map-canvas:focus-within:after{opacity:1;animation:territory-scan 4s linear infinite}.commune-path{transition:fill .2s,filter .2s,stroke .2s}.commune-path:hover,.commune-path:focus{fill:#078caa!important;stroke:#beffff!important;filter:drop-shadow(0 0 3px #00efff)}.map-tooltip{z-index:8;max-width:280px;font-size:15px;line-height:1.5;pointer-events:none}.map-tooltip span,.map-tooltip small{display:block}#commune-insight{margin-top:22px;border-top:1px solid #2a465b;padding-top:18px}#commune-insight h3{font-size:24px}#commune-insight p{font-size:16px;line-height:1.5}.commune-people{display:grid;gap:10px;max-height:330px;overflow:auto;margin-top:20px}.commune-person{display:flex;align-items:center;gap:12px;text-align:left;background:#0b2538;border:1px solid #24516b;border-radius:10px;padding:12px;color:#e5edf8;font-size:16px}.commune-person small{display:block;font-size:14px;color:#a4c4d8;margin-top:4px}
.news-card,.news-art{position:relative;overflow:hidden}.news-art:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,transparent 25%,#52eaff35 48%,#b2ffffaa 50%,transparent 54%);transform:translateX(-120%);animation:news-scan 7s ease-in-out infinite}.news-card:nth-child(2) .news-art:after{animation-delay:1s}.news-card:nth-child(3) .news-art:after{animation-delay:2s}.news-card:nth-child(4) .news-art:after{animation-delay:3s}@keyframes news-scan{0%,30%{transform:translateX(-120%)}75%,100%{transform:translateX(120%)}}.news-card:hover{border-color:#20cbe0;box-shadow:0 0 20px #00cce72b}
body.motion-paused .unified-adn:after,body.motion-paused .unified-adn i,body.motion-paused .map-canvas:after,body.motion-paused .news-art:after{animation-play-state:paused!important}
@media(max-width:699px){#home-view .map-panel .map-canvas{height:460px!important}.adn-legend strong{font-size:24px}.adn-legend span{font-size:13px}.map-tooltip{max-width:240px}}
@media(prefers-reduced-motion:reduce){.unified-adn i,.unified-adn:after,.map-canvas:after,.news-art:after{animation:none!important}.news-art:after,.map-canvas:after{display:none}}

/* Controles del carrusel: símbolos destacados */
.slider-controls button{font-weight:900;font-size:22px;line-height:1}

/* Pulido editorial: jerarquía, ritmo y contraste sin cambiar los datos. */
:root{--obs-line:#294255;--obs-ink:#edf4fb;--obs-muted:#a8bdce}
body{color:var(--obs-ink);-webkit-font-smoothing:antialiased}
.site-header{border-bottom:1px solid #ffffff12;box-shadow:0 8px 32px #00000016}
.main-nav button,.main-nav a{font-weight:600;letter-spacing:.01em}
.main-nav button:hover,.main-nav a:hover{background:#163147}
.hero-copy h1{max-width:850px;text-wrap:balance;letter-spacing:-.045em;line-height:1.08}
.hero-copy>p{max-width:580px;color:#b8cddd;font-size:20px;line-height:1.55}
.eyebrow{font-size:11px!important;font-weight:700;letter-spacing:.16em!important;color:#91b1c8}
.spotlight{padding-top:36px;padding-bottom:36px;margin-bottom:32px}
.spotlight-heading{margin-bottom:24px}.spotlight h2{font-size:clamp(26px,2.4vw,34px);letter-spacing:-.025em;font-weight:700}
.spot-card{padding:28px;border-radius:14px;background:linear-gradient(135deg,#132c40 0%,#0b1c2c 70%);animation-duration:.45s,6s}
.spot-identity{min-height:96px;gap:18px;margin-bottom:24px}
.spot-identity h3{font-size:clamp(22px,1.6vw,27px);line-height:1.2;letter-spacing:-.025em;text-wrap:balance}
.spot-identity .spot-role{font-size:15px;line-height:1.45;color:#aec2d2}
.spot-identity>.avatar{border-color:#77d5e2;box-shadow:0 0 0 5px #6de4ef0a,0 5px 20px #0004}
.spot-card .unified-adn{height:18px!important;border-radius:5px!important;margin-top:24px!important}
.adn-legend{gap:8px}.adn-legend span{font-size:13px;font-weight:500;line-height:1.4}.adn-legend strong{font-size:27px;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.measurement-empty{font-size:13px;color:#a7bccb;margin-top:18px;padding-top:14px;border-top:1px solid #ffffff0d}
.unified-adn.unavailable{background:#182e3e;border-color:#3c5363}
.slider-controls{align-items:center}.slider-controls button{border-radius:10px;border-color:#344d61;background:#102235;color:#e9f7ff;transition:background .2s,border-color .2s,transform .2s}
.slider-controls button:hover:not(:disabled){background:#204459;border-color:#63cbdc;transform:translateY(-1px)}
.slider-controls button:disabled{opacity:.35}.slider-controls button[aria-pressed=true]{color:#59dfed;border-color:#59dfed}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #6ae7f2;outline-offset:4px}
#home-view .panel{background:linear-gradient(160deg,#101f30,#0c1827);border-color:#273d50;box-shadow:0 10px 28px #00000014;border-radius:14px}
#home-view .panel-heading{padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid #ffffff0c;gap:16px;align-items:center}
#home-view .panel h2{font-size:25px;font-weight:700;letter-spacing:-.025em;margin-top:7px;text-wrap:balance}
.regional-summary dt{font-size:12px;color:#9fb6c8;line-height:1.5}.regional-summary dd{font-size:32px;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.regional-summary dl>div+div{border-left:1px solid #ffffff10;padding-left:16px}
#commune-select{background:#0a1928;border-color:#304c62;border-radius:9px;font-size:16px}
.map-panel .adn-key{font-size:12px;color:#b2c4d2;padding-bottom:10px}.map-panel .select-label{font-size:13px;color:#b2c4d2}
#regional-report{background:#15384a;border-color:#377489;border-radius:9px;font-size:14px;font-weight:600}
.map-panel .map-canvas{background:radial-gradient(ellipse at center,#15415b30,transparent 70%)}
.publication-cards{gap:20px}.publication-cards .publication{border-radius:11px;border:1px solid #2b4255;background:#101f30;overflow:hidden;min-height:240px}
.publication-cards .publication-body{padding:22px}.publication-cards .publication h3{font-size:18px;line-height:1.5;letter-spacing:-.015em;margin:14px 0;text-wrap:pretty}
.publication-cards .publication-author{font-size:16px;font-weight:650}.publication-cards .fine{font-size:12px;color:#9db5c8;line-height:1.65}
.publication-cards .source-link{display:inline-block;margin-top:8px;font-size:13px;color:#83d8e6;text-underline-offset:4px}
.publications-panel .slider-footer{padding-top:18px;border-top:1px solid #ffffff0c;gap:18px}.slider-footer>.fine{max-width:75%;line-height:1.6;font-size:12px}
.live-badge{box-shadow:none!important;border-color:#547486!important;background:#162e3e!important;color:#d8edf5!important;font-size:11px;letter-spacing:.02em}
.finance-panel,.news-panel{margin-top:32px!important}.financial{background:#102234;border-color:#2b4356;border-radius:10px;padding:22px}
.financial-name{font-size:14px;color:#bed0de}.financial>strong{font-size:32px;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.news-card{border-radius:11px;background:#102234;border-color:#2b4356}.news-body{padding:20px}.news-card h3{font-size:18px;line-height:1.45;letter-spacing:-.015em;text-wrap:pretty}
.news-source{font-size:11px!important;letter-spacing:.055em;font-weight:700}.news-card .fine{font-size:12px;color:#a7bccd}.news-summary{font-size:14px;line-height:1.6;color:#b0c3d2}
.news-art:after{opacity:.5}.scan-beam{opacity:.7}.methodology-strip{margin-top:32px;border-radius:12px}
#authorities-view .authority-row{background:#102234;border-color:#2b4356}#authorities-view .person-name{letter-spacing:-.025em}
@media(max-width:1149px){.spot-card{padding:24px}.spot-identity{min-height:100px}}
@media(max-width:699px){.hero-copy>p{font-size:18px}.spotlight{padding-top:24px}.spotlight-heading{flex-direction:row;align-items:center;gap:12px}.spotlight-heading h2{font-size:25px}.spotlight-heading .eyebrow{font-size:9px!important}.spotlight .slider-controls{gap:4px}.spotlight .slider-controls button{min-width:38px;min-height:44px;padding:6px}.spot-identity{min-height:80px}.spot-card{padding:22px}.spot-identity h3{font-size:24px}.adn-legend strong{font-size:25px}.regional-summary dl>div+div{padding-left:10px}.publication-cards .publication-body{padding:18px}.slider-footer>.fine{max-width:65%}}
@media(max-width:380px){.spotlight-heading{flex-wrap:wrap}.spotlight-heading h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){.slider-controls button{transition:none}.slider-controls button:hover:not(:disabled){transform:none}}

/* Columna completa de actividad pública: cuatro noticias por tanda. */
#home-view .dashboard{align-items:stretch}
.right-stack .publications-panel{height:100%;min-height:0}
.publication-cards{grid-auto-rows:minmax(190px,1fr);align-content:stretch;gap:14px;flex:1}
.publication-cards .publication{grid-template-columns:minmax(120px,30%) minmax(0,1fr);min-height:190px}
.publication-cards .publication-art{min-height:190px;height:100%!important}
.publication-cards .publication-body{padding:16px 18px}
.publication-cards .publication h3{font-size:17px;line-height:1.4;margin:10px 0}
.publication-cards .publication-author{font-size:15px}
.publication-cards .publication-body>.fine{font-size:12px;line-height:1.5;margin:6px 0}
.publication-art{position:relative;overflow:hidden}
.publication-art:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,transparent 25%,#52eaff25 48%,#b2ffff70 50%,transparent 54%);animation:news-scan 9s ease-in-out infinite}
.publication:nth-child(2) .publication-art:after{animation-delay:2s}.publication:nth-child(3) .publication-art:after{animation-delay:4s}.publication:nth-child(4) .publication-art:after{animation-delay:6s}
body.motion-paused .publication-art:after{animation-play-state:paused}
@media(max-width:1100px) and (min-width:801px){.publication-cards .publication{grid-template-columns:1fr}.publication-cards .publication-art{height:150px!important;min-height:150px}}
@media(max-width:800px){.right-stack .publications-panel{height:auto}.publication-cards{grid-auto-rows:auto}}
@media(max-width:480px){.publication-cards .publication{grid-template-columns:1fr}.publication-cards .publication-art{height:180px!important;min-height:180px}}
@media(prefers-reduced-motion:reduce){.publication-art:after{animation:none;display:none}}

/* Estado activo y gráficos financieros con movimiento controlado. */
.financial .spark{overflow:visible;isolation:isolate}
.financial .spark polyline{stroke-linecap:round;stroke-linejoin:round;animation:finance-glow 3.8s ease-in-out infinite}
.financial:nth-child(2n) .spark polyline{animation-delay:1s}
@keyframes finance-glow{0%,100%{filter:drop-shadow(0 0 1px #ffffff30);opacity:.85}50%{filter:drop-shadow(0 0 4px #72e7ef99);opacity:1}}
#authorities-view .role-tabs button[aria-selected="true"]{color:#f3ffff!important;background:linear-gradient(130deg,#12536b,#173957)!important;border:1px solid #69e2ef!important;font-weight:750;box-shadow:0 0 0 1px #65e5ee24,0 0 18px #00d9ef48;animation:selected-role-glow 3s ease-in-out infinite}
@keyframes selected-role-glow{0%,100%{box-shadow:0 0 0 1px #65e5ee24,0 0 10px #00d9ef24}50%{box-shadow:0 0 0 1px #65e5ee55,0 0 22px #00d9ef60}}
body.motion-paused .financial .spark polyline,body.motion-paused #authorities-view .role-tabs button{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.financial .spark polyline,#authorities-view .role-tabs button[aria-selected="true"]{animation:none!important}}

/* Full-width hero and consistently aligned circular carousel controls. */
body{overflow-x:clip}
#contenido>.portal-hero{box-sizing:border-box;width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);border-radius:0;padding-left:clamp(24px,4vw,80px);padding-right:clamp(24px,4vw,80px);background-size:cover;background-position:center}
.slider-controls,.spotlight .slider-controls{display:flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0}
.slider-controls button,.spotlight .slider-controls button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;margin:0;border-radius:50%;font-family:Arial,sans-serif;font-size:22px;font-weight:900;line-height:1;vertical-align:middle;background:linear-gradient(145deg,#183147,#0d2032);border:1px solid #38576d;box-shadow:inset 0 1px 0 #ffffff0c}
.slider-controls button:focus-visible{outline:2px solid #48d9ef;outline-offset:3px}
.slider-controls button:hover:not(:disabled){box-shadow:0 0 15px #00cce72a;transform:none}
@media(max-width:699px){#contenido>.portal-hero{padding-left:20px;padding-right:20px}.slider-controls,.spotlight .slider-controls{gap:6px}}

/* Segmented authority carousel control; vector icons, no position counter. */
.spotlight .slider-controls{gap:0;overflow:hidden;border:1px solid #20b5e9;border-radius:999px;background:linear-gradient(180deg,#09273e,#061725);box-shadow:inset 0 1px 0 #ffffff12,0 0 14px #00aeef12}
.spotlight .slider-controls button{border:0;border-radius:0;background:transparent;box-shadow:none;height:50px;min-height:50px;width:56px;flex-basis:56px;color:#edf8ff}
.spotlight .slider-controls button+button{border-left:1px solid #355367}
.spotlight .slider-controls #spot-pause{width:146px;flex-basis:146px;gap:10px;font-size:16px;font-weight:700}
.spotlight .slider-controls svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.spotlight .slider-controls button:hover:not(:disabled){background:#13374c;box-shadow:none}
.spotlight .slider-controls button:focus-visible{outline-offset:-4px;border-radius:8px}
@media(max-width:699px){.spotlight-heading{flex-wrap:wrap}.spotlight .slider-controls button{width:46px;flex-basis:46px;height:46px;min-height:46px}.spotlight .slider-controls #spot-pause{width:126px;flex-basis:126px;font-size:15px}}

/* PDF downloads: luminous vector arrow and hover scan. */
.panel-documents .report-actions{display:grid;grid-template-columns:1fr;gap:12px}
.report-actions .small-button{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;gap:16px;width:100%;box-sizing:border-box;min-height:92px;padding:18px 20px;text-align:left;white-space:normal;border:1px solid #28658a;border-radius:18px;background:linear-gradient(115deg,#103a55,#09243d);color:#f4fbff;transition:border-color .25s,box-shadow .25s,background .25s}
.report-actions .pdf-document{width:40px;height:48px;flex:none}
.report-actions .pdf-download{width:24px;height:30px;flex:none;fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 4px #36daff)}
.report-actions .pdf-copy{display:grid;gap:6px;min-width:0}.report-actions .pdf-copy strong{font-size:clamp(15px,1.2vw,20px);font-weight:800;line-height:1.25;text-transform:uppercase}.report-actions .pdf-copy small{font-size:14px;line-height:1.4;color:#a3d5e8}
.report-actions .small-button:after{content:"";position:absolute;inset:-40% auto -40% -60%;width:35%;background:linear-gradient(90deg,transparent,#8af7ff55,transparent);transform:skewX(-18deg);pointer-events:none;z-index:-1}
.report-actions .small-button:hover:not(:disabled),.report-actions .small-button:focus-visible{border-color:#00ecff;background:linear-gradient(110deg,#0586af,#005ac0);box-shadow:inset 0 0 0 1px #00e9ff,0 0 20px #00d5ff55;outline:none}
.report-actions .small-button:hover:not(:disabled):after,.report-actions .small-button:focus-visible:after{animation:pdf-scan 1.7s linear infinite}
.report-actions .small-button:hover:not(:disabled) .pdf-download{filter:drop-shadow(0 0 7px #8cfbff);animation:pdf-arrow 1.2s ease-in-out infinite}
.report-actions .small-button:disabled{opacity:.45;cursor:not-allowed;filter:saturate(.4)}
@keyframes pdf-scan{to{left:140%}}@keyframes pdf-arrow{50%{transform:translateY(3px)}}
@media(max-width:420px){.report-actions .small-button{gap:10px;padding:14px}.report-actions .pdf-document{width:32px}.report-actions .pdf-copy small{font-size:12px}}
@media(prefers-reduced-motion:reduce){.report-actions .small-button,.report-actions .small-button:after,.report-actions .pdf-download{animation:none!important;transition:none!important}}

/* The headline link covers the full card; explicit source links remain usable. */
.publication,.news-card{position:relative;isolation:isolate;transition:border-color .22s,box-shadow .22s,background .22s}
.publication h3 a:after,.news-card h3 a:after{content:"";position:absolute;inset:0;z-index:3;border-radius:inherit;cursor:pointer}
.publication:has(h3 a):hover,.publication:focus-within,.news-card:has(h3 a):hover,.news-card:focus-within{border-color:#23dcf4!important;box-shadow:0 0 0 1px #23dcf440,0 0 24px #00c8ff30,inset 0 0 24px #00b9ef0a;background-color:#102b40}
.publication h3 a:focus-visible,.news-card h3 a:focus-visible{outline:none}
.publication:has(h3 a:focus-visible),.news-card:has(h3 a:focus-visible){outline:2px solid #8bf5ff;outline-offset:4px}
.publication-body>.source-link{position:relative;z-index:4}
@media(prefers-reduced-motion:reduce){.publication,.news-card{transition:none}}
/* Keep the full-card link anchored to the article, not the title. */
.publication-body,.news-body,.publication h3,.news-card h3,.publication h3 a,.news-card h3 a{position:static}
.news-card h3{overflow:visible}
