/* Typography from legadoacademy.com.br: native Helvetica Neue stack. */
:root{--legado-font:"Helvetica Neue",Helvetica,Arial,sans-serif}
:root:root:root:root body,:root:root:root:root body *, :root:root:root:root body input,:root:root:root:root body button,:root:root:root:root body select,:root:root:root:root body textarea{font-family:var(--legado-font)!important}
:root:root:root:root body{font-weight:300;-webkit-font-smoothing:antialiased}
:root:root:root:root body h1,:root:root:root:root body h2,:root:root:root:root body h3,:root:root:root:root body h4,:root:root:root:root body .ll-work h2,:root:root:root:root body .ll-work h3,:root:root:root:root body .card h3,:root:root:root:root body .intro h2,:root:root:root:root body .dialog-head h2{font-family:var(--legado-font)!important;font-weight:300!important}
:root:root:root:root body .legado-sidebar .shared-nav,:root:root:root:root body .hub-official-subtitle,:root:root:root:root body .hub-label{font-family:var(--legado-font)!important}
:root:root:root:root body strong,:root:root:root:root body b{font-weight:600}
/* Day mode: contrast follows the card surface, not the page background. */
:root[data-theme=light]{--ink:#202822;--muted:#4e5d53}
:root[data-theme=light] .pass-card,:root[data-theme=light] .pass-card :is(h2,h3,p,small,.case-name,.case-place,.access-pill),:root[data-theme=light] .learning-board .learning-promo :is(h2,p,small),:root[data-theme=light] .social-tile:has(img) :is(h3,p,small,button,a){color:#f8faf6!important}
:root[data-theme=light] .pass-card :is(h2,h3,.case-name){text-shadow:0 2px 12px #0009}
:root[data-theme=light] .learning-stat :is(small,p,button),:root[data-theme=light] .learning-sub,:root[data-theme=light] .resume-card :is(small,span),:root[data-theme=light] .update-row small,:root[data-theme=light] .updates-tabs button,:root[data-theme=light] .learning-history li,:root[data-theme=light] .learning-empty,:root[data-theme=light] .community-heading p,:root[data-theme=light] .social-tile:not(:has(img)) :is(p,small,button,a){color:#45554a!important}
:root[data-theme=light] .social-tile:not(:has(img)) :is(button,a),:root[data-theme=light] .updates-tabs button{border-color:#63756a66!important}
:root[data-theme=light] .learning-stat strong,:root[data-theme=light] .resume-card h3,:root[data-theme=light] .update-row h3{color:#202822!important}
/* Reading hierarchy: keep the Academy family, strengthen small text and controls. */
:root:root:root:root body :is(.shared-navigation,.shared-topbar,.pass-intro,.card-body,.carousel-library,#case-reading,.carousel-reader){font-weight:400}
:root:root:root:root body :is(.card h3,.carousel-card h3,#case-reading h3){font-weight:500!important}
:root:root:root:root body :is(.card-body p,#case-reading p){font-size:15px;line-height:1.65}
