/* ALBA · Diseño consolidado | 14-11-2026
   Procedencia (en orden CSS): alba-fase5b.css.
   Mantener el orden de los bloques para preservar la cascada.
*/


/* ===== ORIGEN: alba-fase5b.css ===== */
/* ALBA · Fase 5B · Identidad Dashboard Premium en el resto de secciones
   Scope: Temario, Psicotécnicos, Progreso y recursos informativos.
   No modifica lógica, preguntas, gráficos dinámicos ni juegos. */
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso){
 --alba-5b-ink:#f6f8ff;
 --alba-5b-muted:#cdd9e9;
 --alba-5b-cyan:#91dfe5;
 --alba-5b-gold:#ffdc99;
 --alba-5b-border:rgba(154,179,226,.34);
 --alba-5b-purple:#222143;
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-topbar{
 display:flex;justify-content:space-between;align-items:center;gap:15px;
 min-width:0;min-height:66px;margin:0 0 22px;padding:5px 2px 19px;
 border-bottom:1px solid rgba(157,183,222,.22);
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-brand{
 display:flex;align-items:center;gap:11px;min-width:0;text-decoration:none;color:white;
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-brand img{
 width:43px;height:43px;object-fit:contain;padding:4px;border-radius:13px;
 border:1px solid rgba(228,202,155,.35);background:linear-gradient(145deg,#34496b,#242047);
 filter:drop-shadow(0 4px 8px rgba(0,0,0,.24));
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-brand span{display:grid;min-width:0;gap:3px}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-brand strong{
 font-size:15px;letter-spacing:.2em;color:#fff;font-weight:850;
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-brand small{
 font-size:11px;color:#c7d5e8;letter-spacing:.04em;line-height:1.3;
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-top-links{display:flex;align-items:center;gap:9px}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-top-links a{
 display:inline-flex;align-items:center;justify-content:center;min-height:43px;
 border-radius:11px;padding:10px 14px;color:#ecf4ff;font-size:12px;font-weight:750;
 text-decoration:none;background:linear-gradient(135deg,#24425f,#222c52);
 border:1px solid #94b4d65c;
 transition:transform .18s,border-color .18s,background .18s;
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-top-links .alba-v5b-mini-link{
 background:linear-gradient(135deg,#45365d,#2b2b58);border-color:#b7a4e16c;
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-top-links a:hover{
 transform:translateY(-2px);border-color:#bde7f8;
}
/* Hero común, equivalente al panel principal de la Fase 5 */
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-hero-v2{
 position:relative!important;isolation:isolate;overflow:hidden!important;
 display:grid!important;grid-template-columns:minmax(0,1.16fr) minmax(0,.84fr)!important;
 min-height:336px!important;gap:12px!important;align-items:center!important;
 padding:47px 34px 32px!important;margin:0 0 27px!important;
 border-radius:25px!important;border:1px solid rgba(144,169,222,.44)!important;
 background:radial-gradient(ellipse at 90% 32%,rgba(66,146,193,.23),transparent 54%),linear-gradient(115deg,#211d40 2%,#17213d 62%,#122d4b 100%)!important;
 box-shadow:0 22px 46px rgba(0,6,24,.32),inset 0 1px rgba(255,255,255,.1)!important;
}
#contenido .alba-hero-v2{background:radial-gradient(ellipse at 88% 20%,rgba(52,141,187,.27),transparent 54%),linear-gradient(112deg,#152744,#1d2142 60%,#164263 100%)!important}
#alba-v5b-psico .alba-hero-v2{background:radial-gradient(ellipse at 88% 20%,rgba(117,81,186,.28),transparent 55%),linear-gradient(112deg,#201d48,#192144 65%,#163e58 100%)!important}
#alba-v5b-progreso .alba-hero-v2{background:radial-gradient(ellipse at 88% 20%,rgba(67,166,176,.25),transparent 54%),linear-gradient(112deg,#17233f,#1c2242 65%,#153b4f 100%)!important}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-hero-v2:before{
 content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
 background:linear-gradient(135deg,rgba(255,255,255,.075),transparent 42%)!important;
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-hero-v2:after{
 content:"";position:absolute;top:-250px;right:-110px;width:430px;height:430px;
 border:1px solid rgba(173,219,255,.2);border-radius:50%;pointer-events:none;z-index:0;
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-hero-v2 .alba-hero-copy{
 position:relative!important;z-index:2!important;grid-column:1!important;grid-row:1!important;
 min-width:0!important;align-self:center!important;
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-hero-v2 .alba-hero-copy :is(.tm-eyebrow,.ps-kicker,.report-kicker){
 color:#9ce0e4!important;letter-spacing:.15em!important;font-size:10px!important;font-weight:850!important;
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-hero-v2 .alba-hero-copy :is(h1,[data-alba-view-title]){
 color:#fff!important;font-size:clamp(36px,4vw,55px)!important;line-height:1.12!important;
 font-weight:820!important;letter-spacing:-.045em!important;max-width:760px;
 margin:12px 0 15px!important;
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-hero-v2 .alba-hero-copy :is(h1,[data-alba-view-title]) span{
 color:#ffdc99!important;
}
#contenido .alba-hero-v2 .tm-hero-copy .tm-lead{
 color:#ffdc99!important;font-size:22px!important;margin:8px 0 10px!important;
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-hero-v2 .alba-hero-copy>p:not(.tm-eyebrow):not(.tm-lead){
 color:#d5def1!important;font-size:14px!important;line-height:1.67!important;font-weight:450!important;
 margin:0!important;max-width:600px!important;
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-hero-v2 .alba-hero-scene{
 position:relative!important;inset:auto!important;grid-row:1!important;grid-column:2!important;
 display:grid!important;place-items:center!important;width:100%!important;min-width:0!important;
 min-height:235px!important;align-self:center!important;justify-self:center!important;perspective:750px;
 isolation:isolate;pointer-events:none;
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-hero-v2 .alba-hero-scene:before{
 content:"";position:absolute;z-index:0;inset:22% 8% 12%;border-radius:22px;
 transform:rotateX(60deg) rotateZ(-22deg);
 background:linear-gradient(135deg,rgba(131,204,245,.18),rgba(179,123,241,.03));
 border:1px solid rgba(176,214,250,.3);box-shadow:0 28px 32px rgba(0,5,25,.5);
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-hero-v2 .alba-hero-scene:after{
 content:"";position:absolute;z-index:0;inset:15% 5%;background:radial-gradient(ellipse,#438bbb41,transparent 67%);
 border:1px solid rgba(145,199,243,.16);border-radius:50%;transform:rotate(-15deg);
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-hero-v2 .alba-hero-scene img{
 position:relative!important;z-index:1!important;display:block!important;
 width:106%!important;max-width:405px!important;max-height:265px!important;min-height:0!important;
 height:auto!important;object-fit:contain!important;visibility:visible!important;opacity:1!important;
 transform:rotate(-3deg)!important;filter:drop-shadow(0 18px 24px rgba(0,7,24,.6)) saturate(1.16)!important;
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-floating-label{
 position:absolute;z-index:3;top:12%;right:2%;display:inline-flex;white-space:nowrap;
 align-items:center;justify-content:center;min-height:32px;border-radius:10px;
 padding:8px 11px;background:linear-gradient(135deg,#36587b,#303c67);
 box-shadow:0 8px 22px rgba(0,4,20,.5);border:1px solid rgba(155,229,244,.6);
 font:800 10px/1.25 system-ui,sans-serif;color:#f6f9ff;letter-spacing:.08em;transform:rotate(7deg);
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-hero-actions{
 display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:9px!important;
 margin:20px 0 15px!important;position:relative!important;z-index:3!important;
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-hero-actions a{
 display:inline-flex;align-items:center;justify-content:center;gap:8px;
 min-height:44px;padding:10px 15px;border:1px solid rgba(193,207,232,.58);
 border-radius:11px;font-size:12px;font-weight:800;line-height:1.3;text-decoration:none;
 transition:transform .2s,border-color .2s;
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-hero-primary{
 color:#122034!important;background:linear-gradient(135deg,#ffe4a7,#eac16d);
 border-color:#ffe8b4!important;box-shadow:0 7px 18px rgba(222,182,92,.2);
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-hero-secondary{
 color:#eef5ff!important;background:rgba(16,39,69,.58);
}
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-hero-actions a:hover{
 transform:translateY(-2px);border-color:#ffe7b2!important;
}
#contenido .tm-hero .tm-meta,
#alba-v5b-psico .ps-banner .ps-banner-pills{
 display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:10px 0 0!important;
}
#contenido .tm-hero .tm-meta span,
#alba-v5b-psico .ps-banner .ps-banner-pills span{
 background:rgba(91,135,181,.21)!important;border:1px solid rgba(139,188,232,.32)!important;
 border-radius:9px!important;padding:7px 10px!important;color:#d5edfb!important;
 font-size:10px!important;font-weight:700!important;line-height:1.45!important;
}
#alba-v5b-progreso .report-intro .report-backup{
 grid-row:2!important;grid-column:1/-1!important;position:relative!important;
 margin:7px 0 0!important;padding-top:17px!important;
 border-top:1px solid rgba(163,195,229,.21)!important;
 display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:9px!important;
}
#alba-v5b-progreso .report-intro .report-backup .report-btn{
 min-height:43px!important;border-radius:10px!important;
}
#alba-v5b-progreso .report-intro .report-inline-return{
 position:absolute!important;top:15px!important;right:16px!important;z-index:5!important;
 width:auto!important;grid-area:auto!important;
}
#alba-v5b-psico .ps-banner .ps-return-hero{
 position:absolute!important;top:17px!important;right:16px!important;z-index:5!important;
}
/* Temario: barra de búsqueda y tarjetas tipo dashboard */
#contenido .tm-tools{
 position:relative;margin:0 0 24px!important;padding:22px 25px!important;
 border-radius:20px;border:1px solid rgba(155,188,236,.31);
 background:linear-gradient(140deg,#1b2645,#15283f);
 box-shadow:0 13px 31px rgba(0,8,22,.2);
}
#contenido .tm-tools h2{color:#fff!important;font-weight:800!important;letter-spacing:-.025em}
#contenido .tm-tools label{color:#91dfe5!important;font-weight:750!important}
#contenido .tm-tools input{
 width:100%!important;max-width:650px!important;min-height:51px!important;
 border:1px solid rgba(145,209,235,.55)!important;border-radius:12px!important;
 color:#f8fbff!important;background:linear-gradient(120deg,#12354c,#192c4c)!important;
 box-shadow:inset 0 1px rgba(255,255,255,.05)!important;font-size:16px!important;
}
#contenido .tm-tools input::placeholder{color:#b6cde2!important;opacity:1}
#contenido .tm-list{gap:17px!important;scroll-margin-top:90px}
#contenido .tm-card{
 position:relative!important;isolation:isolate;overflow:hidden!important;
 border:1px solid rgba(130,160,213,.36)!important;border-radius:19px!important;
 background:radial-gradient(ellipse at 98% 0%,rgba(75,110,181,.2),transparent 50%),linear-gradient(143deg,#1a2949,#12253d)!important;
 box-shadow:0 13px 27px rgba(0,8,25,.27),inset 0 1px rgba(255,255,255,.08)!important;
 transition:transform .22s,border-color .22s,box-shadow .22s;
}
#contenido .tm-card:after{
 content:"";position:absolute;top:0;right:0;width:118px;height:86px;z-index:-1;
 pointer-events:none;background:radial-gradient(circle at 100% 0%,rgba(236,193,117,.13),transparent 73%);
}
#contenido .tm-card .tm-number{color:#aee6e8!important}
#contenido .tm-card h2{color:#ffe0a0!important}
#contenido .tm-card p{color:#c8d8eb!important}
#contenido .tm-card .tm-button{border-radius:11px!important;min-height:45px!important}
#contenido .tm-card .tm-actions{gap:9px!important}
#contenido .tm-card .tm-status{color:#b8f3e2!important}
#contenido .tm-note{color:#bcd0e1!important;border-color:rgba(152,197,224,.22)!important}
/* Psicotécnicos: cubos, sombras y acentos por especialidad */
#alba-v5b-psico .ps-section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:17px;margin:30px 0 21px}
#alba-v5b-psico .ps-section-title h2{color:#fff!important;letter-spacing:-.03em!important}
#alba-v5b-psico .ps-section-title p{color:#c7d6e9!important}
#alba-v5b-psico .ps-menu-grid{gap:17px!important;scroll-margin-top:90px}
#alba-v5b-psico .ps-menu-card{
 position:relative;isolation:isolate;overflow:hidden;
 --v5b-accent:#9bdde7;
 border-radius:20px!important;border:1px solid rgba(135,169,222,.35)!important;
 border-top:1px solid rgba(135,169,222,.35)!important;
 padding:23px!important;
 background:radial-gradient(ellipse at 95% 0%,rgba(111,79,183,.22),transparent 60%),linear-gradient(135deg,#262548,#152b46)!important;
 box-shadow:0 12px 27px rgba(1,9,28,.27),inset 0 1px rgba(255,255,255,.08)!important;
 transition:transform .24s,border-color .24s,box-shadow .24s!important;
}
#alba-v5b-psico .ps-menu-card:nth-child(3n+2){--v5b-accent:#f6cf91}
#alba-v5b-psico .ps-menu-card:nth-child(3n){--v5b-accent:#c7adfc}
#alba-v5b-psico .ps-menu-card:after{
 content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;
 background:linear-gradient(145deg,rgba(255,255,255,.07),transparent 34%);
}
#alba-v5b-psico .ps-menu-card .ps-area-icon{
 display:grid!important;place-items:center!important;position:relative;
 width:61px!important;height:61px!important;border-radius:15px!important;
 font-size:26px!important;font-weight:850!important;
 color:var(--v5b-accent)!important;
 border:1px solid rgba(190,219,255,.3)!important;
 background:linear-gradient(142deg,#3d5682,#222743)!important;
 box-shadow:7px 8px 0 rgba(7,15,38,.65),9px 12px 22px rgba(0,4,19,.28),inset 0 1px rgba(255,255,255,.22)!important;
 transform:perspective(380px) rotateY(-9deg) rotateX(6deg);
}
#alba-v5b-psico .ps-menu-card .ps-area-title{color:#fff!important;font-size:19px!important}
#alba-v5b-psico .ps-menu-card .ps-area-number{color:#9bdde7!important;font-weight:850!important}
#alba-v5b-psico .ps-menu-card .ps-area-detail{color:#c8d7eb!important;font-size:13px!important}
#alba-v5b-psico .ps-menu-card .ps-area-pill{
 background:rgba(32,73,104,.4)!important;border-color:rgba(154,221,233,.32)!important;
 color:#d3f5f6!important;
}
/* Progreso: analítica con paneles azul-violeta en lugar de una cuadrícula heterogénea */
#alba-v5b-progreso .report-kpis{gap:15px!important;margin-bottom:20px!important}
#alba-v5b-progreso .report-kpis .kpi{
 border-radius:19px!important;border:1px solid rgba(154,183,227,.37)!important;
 background:linear-gradient(142deg,#1b335b,#1b2645)!important;
 box-shadow:0 13px 27px rgba(0,7,25,.26),inset 0 1px rgba(255,255,255,.11)!important;
}
#alba-v5b-progreso .report-kpis .kpi:nth-child(2){background:linear-gradient(143deg,#1a5264,#1d314e)!important}
#alba-v5b-progreso .report-kpis .kpi:nth-child(3){background:linear-gradient(143deg,#30315e,#202446)!important}
#alba-v5b-progreso .report-kpis .kpi:nth-child(4){background:linear-gradient(143deg,#45385e,#28304d)!important}
#alba-v5b-progreso .report-kpis .kpi :is(strong,small){color:#f4f8ff!important}
#alba-v5b-progreso .report-kpis .kpi .kpi-sub{color:#d2dfeb!important}
#alba-v5b-progreso .report-card{
 border-radius:21px!important;border:1px solid rgba(141,176,225,.34)!important;
 background:radial-gradient(ellipse at 95% 0%,rgba(64,130,171,.16),transparent 65%),linear-gradient(140deg,#1b2849,#142945)!important;
 box-shadow:0 12px 29px rgba(0,8,24,.3),inset 0 1px rgba(255,255,255,.07)!important;
}
#alba-v5b-progreso .report-card h2{color:#fff!important}
#alba-v5b-progreso .report-card .card-overline{color:#94dfe3!important}
#alba-v5b-progreso .report-card .chart-subtitle{color:#c4d5ea!important}
#alba-v5b-progreso .donut-card{background:linear-gradient(145deg,#20254a,#14364e)!important}
#alba-v5b-progreso .trend-card{background:linear-gradient(145deg,#172e51,#1e2747)!important}
#alba-v5b-progreso .priority-card{background:linear-gradient(145deg,#212a52,#182a49)!important}
#alba-v5b-progreso .coverage-card{background:linear-gradient(145deg,#154153,#1b294c)!important}
#alba-v5b-progreso .mobile-progress-menu a{
 border:1px solid rgba(167,207,233,.34)!important;border-radius:12px!important;
 background:linear-gradient(145deg,#27365b,#1c2b48)!important;color:#fff!important;
}
/* Bibliografía, entrevista y requisitos: paleta compartida sin alterar contenido */
body.seo-body .seo-hero,body.ps-page .req-hero{
 background:radial-gradient(ellipse at 94% 24%,rgba(113,83,182,.23),transparent 56%),linear-gradient(116deg,#201f41,#152844 66%,#16405b)!important;
 border:1px solid rgba(155,183,226,.47)!important;border-radius:23px!important;
 box-shadow:0 22px 41px rgba(0,7,28,.27)!important;
}
body.seo-body .seo-hero :is(h1,[data-alba-view-title]),body.ps-page .req-hero :is(h1,[data-alba-view-title]){color:#ffdc99!important}
body.seo-body .seo-section,body.ps-page .req-card{
 border:1px solid rgba(153,188,228,.3)!important;border-radius:19px!important;
 background:linear-gradient(140deg,#1d2a48,#132942)!important;
 box-shadow:0 11px 26px rgba(1,9,29,.21)!important;
}
body.seo-body .seo-section h2,body.ps-page .req-card h2{color:#ffe0a4!important}
body.seo-body .seo-section p,body.ps-page .req-card p{color:#d0ddec!important}
@media(hover:hover) and (pointer:fine){
 #contenido .tm-card:hover,#alba-v5b-psico .ps-menu-card:hover{
  transform:translateY(-5px)!important;border-color:rgba(255,222,155,.7)!important;
  box-shadow:0 19px 36px rgba(1,6,23,.35)!important;
 }
}
@media(max-width:1100px){
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-hero-v2{
  grid-template-columns:minmax(0,1fr)!important;
  gap:12px!important;padding:62px 28px 26px!important;
 }
 #contenido .alba-hero-v2{padding-top:30px!important}
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-hero-v2 .alba-hero-scene{
  grid-column:1!important;grid-row:2!important;min-height:170px!important;
  max-width:540px!important;margin:0 auto!important;
 }
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-hero-v2 .alba-hero-scene img{
  max-height:210px!important;max-width:390px!important;
 }
}
@media(max-width:800px){
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-topbar{
  margin-top:8px!important;margin-bottom:17px!important;
 }
}
@media(max-width:620px){
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-topbar{
  min-height:58px;margin-top:6px!important;padding:5px 0 13px;
 }
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-brand{gap:7px}
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-brand img{
  width:38px;height:38px;
 }
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-brand strong{font-size:12px}
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-brand small{font-size:9px;max-width:125px}
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-top-links{gap:6px}
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-top-links a{
  padding:7px 10px;min-height:39px;font-size:10px;
 }
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-top-links .alba-v5b-home-link{display:none}
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-hero-v2{
  padding:66px 19px 22px!important;border-radius:19px!important;min-height:0!important;
  gap:6px!important;
 }
 #contenido .alba-hero-v2{padding-top:27px!important}
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-hero-v2 .alba-hero-copy :is(h1,[data-alba-view-title]){
  font-size:clamp(34px,8.8vw,47px)!important;margin:11px 0 13px!important;
 }
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-hero-v2 .alba-hero-copy>p:not(.tm-eyebrow):not(.tm-lead){
  font-size:13px!important;line-height:1.64!important;
 }
 #contenido .alba-hero-v2 .tm-hero-copy .tm-lead{font-size:19px!important}
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-hero-actions{gap:8px!important;margin-top:17px!important}
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-hero-actions a{
  min-height:42px;font-size:11px;padding:9px 12px;
 }
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-hero-v2 .alba-hero-scene{
  grid-column:1!important;grid-row:2!important;min-height:130px!important;max-width:100%!important;
 }
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-hero-v2 .alba-hero-scene img{
  width:100%!important;max-height:165px!important;max-width:290px!important;
 }
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-floating-label{
  top:6%;right:4%;font-size:8px;min-height:25px;padding:6px 9px;
 }
 #contenido .tm-tools{padding:18px!important}
 #contenido .tm-list{grid-template-columns:minmax(0,1fr)!important;gap:13px!important}
 #contenido .tm-card{padding:20px!important}
 #alba-v5b-psico .ps-menu-grid{grid-template-columns:minmax(0,1fr)!important;gap:13px!important}
 #alba-v5b-psico .ps-menu-card{min-height:0!important;padding:19px!important}
 #alba-v5b-psico .ps-menu-card .ps-area-icon{width:53px!important;height:53px!important;font-size:24px!important}
 #alba-v5b-progreso .report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 #alba-v5b-progreso .report-kpis .kpi{min-width:0!important;border-radius:16px!important}
 #alba-v5b-progreso .report-card{border-radius:18px!important}
}
@media(max-width:370px){
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-brand small{max-width:91px}
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-hero-actions a{
  font-size:10px;padding:8px 10px;
 }
}
@media(prefers-reduced-motion:reduce){
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .tm-card,
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .ps-menu-card,
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-hero-actions a,
 :is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-v5b-top-links a{
  transition:none!important;transform:none!important;
 }
}

/* Corrección 5B: máscara heredada de la antigua cabecera ocultaba
   ilustraciones grandes en el renderizado de escritorio. */
:is(#contenido,#alba-v5b-psico,#alba-v5b-progreso) .alba-hero-v2 .alba-hero-scene img{
 mask-image:none!important;-webkit-mask-image:none!important;
}
#contenido #tm-search{scroll-margin-top:95px}

/* En móvil la ilustración y las acciones de copia deben ir en filas separadas. */
@media(max-width:1100px){
 #alba-v5b-progreso .report-intro .report-backup{
  grid-column:1!important;grid-row:3!important;
  margin:8px 0 0!important;padding-top:16px!important;
 }
}

/* Compatibilidad de pintura en navegadores móviles con GPU modesta:
   el filtro y la rotación juntos podían ocultar la ilustración de Progreso. */
@media(max-width:620px){
 #alba-v5b-progreso .alba-hero-v2 .alba-hero-scene img{
  filter:none!important;transform:none!important;
 }
}

/* =============================================================
   ALBA | Precisión global · anillo holográfico 3D (17/11/2026)
   Anillo SVG de dos capas; datos reales desde progress-dashboard.js.
   Solo afecta a Mi progreso; sin bibliotecas externas.
   ============================================================= */
#alba-v5b-progreso .donut-card{
  container:alba-donut / inline-size;
  position:relative;
  isolation:isolate;
  min-height:450px;
  padding:23px 25px 26px;
  border:1px solid rgba(107,167,211,.48)!important;
  border-radius:23px!important;
  background:
    radial-gradient(ellipse at 30% 70%,rgba(22,124,177,.21),transparent 49%),
    radial-gradient(ellipse at 93% 4%,rgba(91,62,157,.16),transparent 47%),
    linear-gradient(145deg,#1c2549 0%,#102644 53%,#10354e 100%)!important;
  box-shadow:inset 0 1px rgba(220,246,255,.12),
    0 18px 40px rgba(0,10,31,.18)!important;
  overflow:hidden;
}
#alba-v5b-progreso .donut-card::before{
  content:"";
  pointer-events:none;
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(130deg,rgba(255,255,255,.085),transparent 42%);
  opacity:.6;
}
#alba-v5b-progreso .donut-card .report-card-header{
  position:relative;
  z-index:2;
  margin:0!important;
}
#alba-v5b-progreso .donut-card .report-card-header h2{
  font-size:clamp(21px,2vw,27px)!important;
  font-weight:850;
  color:#fff!important;
  letter-spacing:-.025em;
}
#alba-v5b-progreso .donut-card .card-overline{
  color:#8cddf5!important;
  letter-spacing:.13em!important;
}
#alba-v5b-progreso .donut-card .card-tag{
  padding:7px 14px!important;
  border-radius:999px!important;
  font-weight:900!important;
  font-size:16px!important;
  background:linear-gradient(135deg,#ffedae,#efc267)!important;
  box-shadow:0 4px 14px rgba(233,180,91,.24);
}
#alba-v5b-progreso .donut-wrap--3d{
  position:relative;
  z-index:1;
  display:grid!important;
  grid-template-columns:minmax(260px,1.35fr) minmax(180px,.9fr)!important;
  align-items:center!important;
  justify-items:stretch;
  gap:14px!important;
  min-height:330px!important;
  margin-top:5px;
}
#alba-v5b-progreso .donut-orbital-stage{
  position:relative;
  isolation:isolate;
  display:grid;
  place-items:center;
  min-width:0;
  width:100%;
  min-height:330px;
  aspect-ratio:1;
}
#alba-v5b-progreso .donut-orbital-stage::before{
  content:"";
  position:absolute;
  width:min(98%,325px);
  aspect-ratio:1;
  border-radius:50%;
  pointer-events:none;
  background:radial-gradient(circle,rgba(30,163,198,.18) 18%,rgba(44,107,186,.10) 39%,transparent 70%);
  filter:blur(7px);
}
#alba-v5b-progreso .donut-orbit-ring{
  position:absolute;
  pointer-events:none;
  width:min(95%,315px);
  aspect-ratio:1;
  border-radius:50%;
  border:1px solid rgba(125,204,246,.25);
  box-shadow:0 0 20px rgba(66,162,219,.11),inset 0 0 23px rgba(43,144,213,.10);
}
#alba-v5b-progreso .donut-orbit-ring::before,
#alba-v5b-progreso .donut-orbit-ring::after{
  content:"";
  position:absolute;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#6fe0f2;
  box-shadow:0 0 10px rgba(111,224,242,.85),0 0 20px rgba(111,224,242,.32);
}
#alba-v5b-progreso .donut-orbit-ring::before{top:11%;left:12%}
#alba-v5b-progreso .donut-orbit-ring::after{right:7%;bottom:14%;width:5px;height:5px;background:#ffd58c}
#alba-v5b-progreso .report-donut--3d{
  position:relative;
  z-index:2;
  display:block;
  width:min(100%,320px)!important;
  height:auto!important;
  max-width:320px!important;
  overflow:visible;
  filter:drop-shadow(0 16px 11px rgba(0,8,26,.42));
}
#alba-v5b-progreso .report-donut--3d #donutLabel{
  fill:#fff!important;
  font-size:33px!important;
  font-weight:900!important;
  letter-spacing:-1px;
  paint-order:stroke;
}
#alba-v5b-progreso .report-donut--3d text:not(#donutLabel){
  fill:#c4eafb!important;
  font-size:9px!important;
}
#alba-v5b-progreso .report-donut--3d .donut-ring-face circle{
  stroke-linejoin:round;
}
#alba-v5b-progreso .report-donut--3d.is-ready:not(.no-motion) .donut-ring-face circle,
#alba-v5b-progreso .report-donut--3d.is-ready:not(.no-motion) .donut-ring-depth circle{
  transition:stroke-dasharray 1.5s cubic-bezier(.16,.8,.3,1),
    stroke-dashoffset 1.5s cubic-bezier(.16,.8,.3,1);
}
#alba-v5b-progreso .donut-info--3d{
  position:relative;
  z-index:2;
  display:flex!important;
  flex-direction:column;
  justify-content:center;
  align-items:stretch;
  gap:10px;
  min-width:0;
  padding:10px 0 12px;
  font-size:14px!important;
  color:#ecf7ff!important;
}
#alba-v5b-progreso .donut-info--3d .donut-info-kicker{
  color:#f3d39c!important;
  font-size:10px!important;
  font-weight:850!important;
  letter-spacing:.11em;
  line-height:1.5;
}
#alba-v5b-progreso .donut-info--3d #donutSubtitle{
  margin:0 0 3px!important;
  font-size:13px!important;
  line-height:1.55!important;
  font-weight:650;
  color:#e4f2fb!important;
}
#alba-v5b-progreso .donut-info--3d .donut-info-row{
  display:grid!important;
  grid-template-columns:11px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  margin:0!important;
  min-height:43px;
  padding:9px 11px;
  border:1px solid rgba(123,182,215,.26);
  border-radius:11px;
  background:linear-gradient(124deg,rgba(26,64,104,.55),rgba(15,38,73,.50));
  box-shadow:inset 0 1px rgba(255,255,255,.045);
  font-size:13px!important;
  font-weight:730;
}
#alba-v5b-progreso .donut-info--3d .donut-info-row strong{
  color:#fff!important;
  font-size:17px!important;
  font-weight:850;
  font-variant-numeric:tabular-nums;
}
#alba-v5b-progreso .donut-info--3d .legend-dot{
  margin:0!important;
  width:9px;
  height:9px;
  box-shadow:0 0 9px currentColor;
}
#alba-v5b-progreso .donut-info--3d .donut-info-footnote{
  margin-top:3px;
  font-size:11px;
  line-height:1.5;
  color:#b8cfe4;
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  #alba-v5b-progreso .donut-orbit-ring{
    animation:albaDonutOrbit 26s linear infinite;
  }
  @keyframes albaDonutOrbit{
    from{transform:rotate(0deg)}
    to{transform:rotate(360deg)}
  }
  #alba-v5b-progreso .donut-card:hover .report-donut--3d{
    filter:drop-shadow(0 17px 14px rgba(1,11,36,.55)) drop-shadow(0 0 11px rgba(61,201,224,.15));
  }
}
@container alba-donut (max-width:550px){
  #alba-v5b-progreso .donut-wrap--3d{
    grid-template-columns:minmax(0,1fr)!important;
    gap:3px!important;
  }
  #alba-v5b-progreso .donut-orbital-stage{
    width:min(100%,310px);
    min-height:0;
    margin:0 auto;
  }
  #alba-v5b-progreso .report-donut--3d{
    max-width:290px!important;
  }
  #alba-v5b-progreso .donut-info--3d{
    width:100%;
    padding:8px 3px 6px;
    gap:8px;
  }
  #alba-v5b-progreso .donut-info--3d .donut-info-row{min-height:40px}
}
@media(max-width:520px){
  #alba-v5b-progreso .donut-card{padding:19px 16px 22px!important}
  #alba-v5b-progreso .donut-card .report-card-header h2{font-size:21px!important}
  #alba-v5b-progreso .donut-orbital-stage{width:min(100%,285px)!important}
  #alba-v5b-progreso .report-donut--3d{max-width:270px!important}
}
@media(prefers-reduced-motion:reduce){
  #alba-v5b-progreso .donut-orbit-ring{animation:none!important}
  #alba-v5b-progreso .report-donut--3d .donut-ring-face circle,
  #alba-v5b-progreso .report-donut--3d .donut-ring-depth circle{
    transition:none!important;
  }
}

/* La precisión ocupa toda la fila: anillo amplio en ordenador
   y leyenda en paralelo. La evolución se sitúa debajo sin huecos. */
#alba-v5b-progreso .report-charts{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:18px!important;
}
#alba-v5b-progreso .report-charts > .donut-card,
#alba-v5b-progreso .report-charts > .trend-card{
  grid-column:1 / -1!important;
  min-width:0;
}
#alba-v5b-progreso .donut-card{
  min-height:435px;
  padding:23px 30px 26px!important;
}
#alba-v5b-progreso .donut-wrap--3d{
  grid-template-columns:minmax(310px,1.05fr) minmax(240px,.95fr)!important;
  max-width:840px;
  width:100%;
  margin:5px auto 0;
  column-gap:27px!important;
}
#alba-v5b-progreso .donut-orbital-stage{
  min-height:345px;
  max-height:365px;
}
#alba-v5b-progreso .report-donut--3d{
  max-width:330px!important;
  width:min(100%,330px)!important;
}
#alba-v5b-progreso .donut-orbit-ring{width:min(95%,340px)}
#alba-v5b-progreso .report-donut--3d .donut-ring-face circle,
#alba-v5b-progreso .report-donut--3d .donut-ring-depth circle{
  transition:none!important;
}
@media(max-width:850px){
 #alba-v5b-progreso .donut-wrap--3d{
   grid-template-columns:minmax(280px,1fr) minmax(185px,.9fr)!important;
   gap:16px!important;
 }
}
@media(max-width:620px){
 #alba-v5b-progreso .donut-card{padding:19px 16px 22px!important}
 #alba-v5b-progreso .donut-wrap--3d{
   grid-template-columns:minmax(0,1fr)!important;
   gap:2px!important;
 }
 #alba-v5b-progreso .donut-orbital-stage{
   width:min(100%,310px)!important;
   min-height:0!important;
   max-height:none!important;
   margin:0 auto;
 }
 #alba-v5b-progreso .report-donut--3d{
   width:min(100%,290px)!important;
   max-width:290px!important;
 }
 #alba-v5b-progreso .donut-info--3d{
   padding:8px 0 6px!important;
   width:100%;
 }
}
@media(max-width:350px){
 #alba-v5b-progreso .report-donut--3d{
   max-width:270px!important;
 }
}
