/* V171: correcciones localizadas. No altera el login. */
:root{--academy-sidebar-width:240px!important}
html body #mainSidebar.sidebar{background:linear-gradient(165deg,#07183d 0%,#091f54 62%,#102b72 100%)!important;border-right:1px solid #3154a6!important}
html body #mainSidebar .nav button{color:#f7faff!important;background:rgba(255,255,255,.065)!important;border:1px solid rgba(175,200,255,.17)!important}
html body #mainSidebar .nav button:hover{background:linear-gradient(100deg,#1269e8,#6245de)!important;border-color:#9fbaff!important}
html body #mainSidebar .nav button.active{background:linear-gradient(100deg,#087cff,#5039df)!important;border-color:#a7c8ff!important;box-shadow:0 4px 14px rgba(0,0,0,.13)!important}
html body #mainSidebar .nav button span:last-child{white-space:normal!important;overflow:visible!important;overflow-wrap:normal!important;font-size:13px!important;line-height:1.25!important}
html body #mainSidebar .sidebar-credit{background:#fff!important;border:1px solid #92b5ff!important;border-radius:12px!important;color:#113c83!important}
html body #mainSidebar .sidebar-credit :is(span,strong){color:#113c83!important}
html body .app>.main>.topbar{background:linear-gradient(105deg,#0b245c 0%,#173e8c 75%,#332c90 100%)!important;border-bottom:1px solid #5374c2!important}
html body .app>.main>.topbar .academy-topbar-title,html body .app>.main>.topbar .academy-topbar-title span{color:white!important}
html body .academy-user-chip:not([hidden]),html body .academy-logout{background:#fff!important;border:1px solid #a5c4ff!important;color:#133e87!important}
html body .academy-user-chip :is(strong,small,span),html body .academy-logout,html body .academy-logout span{color:#133e87!important}
/* The same 64px disc and 32px vector in all four buttons, including mobile. */
html body #inicio.home-page .home-action-grid .home-action{grid-template-columns:64px minmax(0,1fr) 16px!important;min-height:112px!important;gap:12px!important;padding:12px!important;align-items:center!important}
html body #inicio.home-page .home-action-grid .home-action>.home-action-icon{display:grid!important;place-items:center!important;flex:0 0 64px!important;width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important;max-width:64px!important;max-height:64px!important;aspect-ratio:1!important;border-radius:50%!important;overflow:hidden!important;box-sizing:border-box!important;padding:0!important}
html body #inicio.home-page .home-action-grid .home-action>.home-action-icon svg{display:block!important;flex:none!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;max-width:32px!important;max-height:32px!important;fill:none!important;stroke:#fff!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important}
html body #inicio.home-page .home-action-grid .home-action>.home-action-icon svg *{fill:none!important;stroke:#fff!important;opacity:1!important}
html body #inicio.home-page .home-action-grid .home-action>.home-action-icon.cert-icon{background:#ff922f!important}
/* Banner image remains separate from editable text. Safe top inset and line wrapping. */
html body #inicio.home-page .home-left-column>.home-landscape-card{position:relative!important;min-height:192px!important;height:clamp(192px,17vw,232px)!important;overflow:hidden!important;background:#d9eafa!important;isolation:isolate!important}
html body #inicio.home-page .home-left-column>.home-landscape-card::before{content:""!important;position:absolute!important;inset:0!important;display:block!important;background-image:url('../assets/banner-ollie-oppo-v169.png')!important;background-repeat:no-repeat!important;background-position:center center!important;background-size:cover!important;opacity:1!important;z-index:-2!important}
html body #inicio.home-page .home-left-column>.home-landscape-card::after{content:""!important;position:absolute!important;inset:0!important;background:linear-gradient(90deg,rgba(229,242,255,.55),rgba(229,242,255,.16) 50%,transparent 72%)!important;z-index:-1!important;pointer-events:none!important}
html body #inicio.home-page .home-left-column>.home-landscape-card .home-landscape-copy{position:absolute!important;top:0!important;left:0!important;display:flex!important;visibility:visible!important;align-items:flex-start!important;justify-content:flex-start!important;width:65%!important;max-width:65%!important;height:auto!important;min-height:0!important;margin:0!important;padding:26px 24px 12px!important;box-sizing:border-box!important;z-index:3!important;text-align:left!important;transform:none!important}
html body #inicio.home-page .home-left-column>.home-landscape-card .home-landscape-copy strong{display:block!important;font-family:inherit!important;font-size:clamp(19px,1.75vw,26px)!important;line-height:1.27!important;letter-spacing:-.025em!important;font-weight:600!important;color:#113a7c!important;margin:0!important;max-height:none!important;overflow:visible!important;text-shadow:none!important}
@media(max-width:760px){html body #inicio.home-page .home-action-grid .home-action{grid-template-columns:64px minmax(0,1fr) 16px!important;min-height:108px!important}html body #inicio.home-page .home-left-column>.home-landscape-card{height:195px!important;min-height:195px!important}html body #inicio.home-page .home-left-column>.home-landscape-card .home-landscape-copy{padding:20px 16px!important;max-width:68%!important;width:68%!important}html body #inicio.home-page .home-left-column>.home-landscape-card .home-landscape-copy strong{font-size:clamp(17px,4vw,22px)!important}}
@media(max-width:420px){html body #inicio.home-page .home-action-grid .home-action{grid-template-columns:64px minmax(0,1fr)!important;gap:9px!important}html body #inicio.home-page .home-left-column>.home-landscape-card .home-landscape-copy{padding:16px 12px!important;width:71%!important;max-width:71%!important}html body #inicio.home-page .home-left-column>.home-landscape-card .home-landscape-copy strong{font-size:16px!important;line-height:1.3!important}}
