/* Barra inferior de la estudiante y migas (auditoría de navegación 2026-09-16) */
.student-tabbar { display: none; }
@media (max-width: 767px) {
  body.has-student-tabbar { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .student-tabbar { position: fixed; inset: auto 0 0 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); border-top: 1px solid rgba(0, 0, 0, .08); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .student-tabbar a, .student-tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; border: 0; border-radius: 14px; background: transparent; color: #34303f; font: inherit; font-size: .78rem; font-weight: 700; text-decoration: none; cursor: pointer; }
  .student-tabbar a span, .student-tabbar button span { font-size: 1.3rem; line-height: 1; }
  .student-tabbar a[aria-current="page"] { background: #f2edff; color: #4b2fc7; }
  .student-tabbar a:focus-visible, .student-tabbar button:focus-visible { outline: 3px solid #6d4aff; outline-offset: -3px; }
}
@media (prefers-reduced-transparency: reduce) { .student-tabbar { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }
.crumb-sep { color: #6b6880; padding: 0 .15rem; }
/* Salida visible para la estudiante en cursos y Praxis cuando no se muestra la barra inferior */
.student-exit { display: inline-flex; align-items: center; min-height: 44px; margin-left: .6rem; padding: .55rem 1rem; border: 0; border-radius: 999px; background: #f2edff; color: #4b2fc7; font: inherit; font-size: .92rem; font-weight: 750; white-space: nowrap; cursor: pointer; }
.student-exit:hover { background: #e6dcff; }
.student-exit:focus-visible { outline: 3px solid #6d4aff; outline-offset: 3px; }
@media (max-width: 767px) { body.has-student-tabbar .student-exit { display: none; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Tamaño mínimo legible para etiquetas pequeñas en toda la plataforma (auditoría UX) */
body .eyebrow, body .kicker, body .status-chip, body small, body .field-hint, body summary { font-size: max(.875rem, 1em * 0) ; }
body .eyebrow, body .kicker, body .status-chip, body .field-hint { font-size: .875rem; }
body small { font-size: .875rem; }
.learning-preferences input[type=range] { min-height: 44px; }
/* Selector de idioma de la interfaz (nombres completos) */
.lang-menu { position: relative; margin-left: .35rem; }
.lang-menu > summary { list-style: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem; border: 1px solid rgba(0,0,0,.14); border-radius: 999px; background: #fff; color: #34303f; font-weight: 800; font-size: .875rem; cursor: pointer; white-space: nowrap; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary:focus-visible { outline: 3px solid #6d4aff; outline-offset: 3px; }
.lang-menu-panel { position: absolute; right: 0; top: calc(100% + .4rem); z-index: 60; min-width: 240px; padding: .6rem; border-radius: 16px; background: #fff; border: 1px solid rgba(0,0,0,.1); box-shadow: 0 14px 40px rgba(30, 20, 60, .18); }
.lang-menu-title { margin: .2rem .4rem .5rem; font-size: .875rem; font-weight: 800; color: #6b6880; }
.lang-menu-panel button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: .55rem .7rem; border: 0; border-radius: 12px; background: transparent; color: #1d1d23; font: inherit; font-size: 1rem; text-align: left; cursor: pointer; }
.lang-menu-panel button:hover { background: #f2edff; }
.lang-menu-panel button[aria-pressed="true"] { background: #f2edff; color: #4b2fc7; font-weight: 800; }
.lang-menu-panel button[aria-pressed="true"]::after { content: "✓"; }
.lang-menu-note { margin: .5rem .4rem .2rem; font-size: .875rem; color: #6b6880; }
.content-lang { display: inline-flex; align-items: center; padding: .2rem .55rem; border-radius: 999px; background: #fff3cd; color: #5d4300; font-size: .875rem; font-weight: 700; }
/* Logo limpio (rediseño 18 de septiembre de 2026): sin pastilla, sin sombra; el tamaño lo fija milah-ui.css. */
.account-brand { white-space: nowrap; flex-shrink: 0; max-width: none; }
