.test-reference .test-actions{justify-content:center;margin-top:1.4rem!important}.test-reference .test-actions .primary{background:linear-gradient(135deg,#ffd63d,#ffbc00);color:#0a286a;box-shadow:0 6px 0 #e3a300}.test-reference .test-actions .primary:hover{background:linear-gradient(135deg,#ffe16b,#ffca19)}

/* Tipografía más liviana durante el test. */
body:has(.test-reference) .brand{font-family:"Segoe UI",Arial,sans-serif;font-weight:600;letter-spacing:-.025em}
body:has(.test-reference) .student-profile{font-weight:600}
body:has(.test-reference) .student-logout{font-weight:500}
body:has(.test-reference) .test-nav a{font-weight:600}
body:has(.test-reference) .friendly-greeting>p:first-child{color:#4d6092;font-family:"Segoe UI",Arial,sans-serif;font-size:clamp(1.55rem,2.4vw,2rem);font-weight:600;line-height:1.15}
body:has(.test-reference) .student-name{color:#3515c8;font:inherit;font-weight:700;letter-spacing:-.035em}
body:has(.test-reference) .greeting-message{max-width:760px;margin:.7rem auto 0!important;line-height:1.5}

/* Cabecera liviana en la pantalla de resultados. */
body:has(.results-fun) .header .brand{font-family:"Segoe UI",Arial,sans-serif;font-size:1.15rem;font-weight:600;letter-spacing:-.02em}
body:has(.results-fun) .header .student-profile{font-family:"Segoe UI",Arial,sans-serif;font-weight:600}
body:has(.results-fun) .header .student-logout{font-family:"Segoe UI",Arial,sans-serif;font-weight:500}
