/* Student layout only; the other role layouts keep their existing navigation. */
.student-welcome { padding: 18px; }
.student-welcome h1 { margin: 0 0 7px; font-size: clamp(21px, 3vw, 27px); line-height: 1.3; }
.student-welcome p { font-size: 14px; line-height: 1.5; }
.student-welcome-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 12px; font-size: 12px; color: #dfe9f8; }
.student-welcome-meta .xp-balance { font-size: 14px; color: #fff; white-space: nowrap; }
.student-shortcuts { display: flex; gap: 10px; margin: 12px 0; }
.student-shortcut { min-width: 0; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 10px 14px; font-size: 13px; font-weight: 700; color: #344054; }
.student-wheel-link { background: #fff8e9; border-color: #eddaa9; color: #875618; }
.wheel-available { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #178348; }
.student-wisdom { gap: 10px; margin-bottom: 10px; }
.student-wisdom .v125x-wisdom { padding: 14px; }
.student-wisdom .v125x-wisdom h2 { font-size: 19px; line-height: 1.3; margin: 8px 0; }
.student-wisdom .v125x-wisdom p { font-size: 13px; line-height: 1.45; margin: 6px 0; }
.wisdom-example summary, .companion-more summary, .wheel-streak-details summary { cursor: pointer; min-height: 44px; align-content: center; font-size: 12px; font-weight: 700; color: #315efb; }
.wisdom-example p { padding-top: 4px; border-top: 1px solid #e8edf3; }
.student-wisdom-dialog { display: grid; gap: 12px; }
.student-wisdom-dialog h2 { font-size: 21px; }
.student-notification-shortcut { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 8px; padding: 0 4px; font-size: 12px; color: #667085; }
.student-notification-shortcut .companion-link { min-height: 44px; }
.student-companion.student-companion-compact { margin: 8px 0 14px; padding: 14px !important; }
.student-companion-compact .companion-weather b, .student-companion-compact .companion-birthday b { font-size: 14px; }
.student-companion-compact .companion-weather p, .student-companion-compact .companion-birthday p { font-size: 12px; margin: 4px 0; line-height: 1.4; color: #607086; }
.student-companion-compact .companion-weather small { font-size: 10px; color: #718096; }
.student-companion-compact .companion-weather a { color: inherit; }
.student-companion-compact .companion-icon { font-size: 24px; flex-basis: 30px; }
.companion-more { border-top: 1px solid #e8edf3; margin-top: 10px; }
.companion-more .companion-chat { padding-top: 12px; margin-top: 10px; }
.student-menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.student-menu-grid .btn { min-height: 66px; display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px; }
.student-menu-grid .btn > span:first-child { flex: 0 0 25px; font-size: 22px; }
.student-menu-grid .selected { background: #eef3ff; color: #315efb; border-color: #bdceff; }
.wheel-daily-status { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 0; font-size: 13px; }
.wheel-daily-status .xp-balance { font-size: 16px; }
.student-wheel-result { padding: 20px 0; text-align: center; }
.student-wheel-result h3 { margin: 12px 0; }
.student-wheel-result p { line-height: 1.5; font-size: 14px; color: #667085; }
.student-shortcut:focus-visible, .student-menu-grid .btn:focus-visible, .student-mobile-nav button:focus-visible, details summary:focus-visible { outline: 3px solid #315efb; outline-offset: 3px; }
@media (max-width: 900px) {
  .student-view .main { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .student-view .top { align-items: center; gap: 8px; margin-bottom: 12px; }
  .student-view .title h1 { font-size: 21px; }
  .student-view .title p { font-size: 11px; line-height: 1.4; }
  .student-view .top-actions { gap: 7px; }
  .student-view .student-chip { padding: 4px 7px; font-size: 12px; max-width: 180px; gap: 5px; }
  .student-view .student-chip .avatar { width: 30px; height: 30px; flex-basis: 30px; font-size: 20px; }
  .student-mobile-nav { flex-wrap: nowrap; padding: 4px 4px calc(4px + env(safe-area-inset-bottom, 0px)); }
  .student-mobile-nav button { flex: 1 1 20%; width: 20%; height: 54px; gap: 4px; font-size: 11px; padding: 4px 2px; }
  .student-mobile-nav button > span:first-child { font-size: 20px; line-height: 22px; }
  .student-mobile-nav button > span:last-child { line-height: 14px; }
}
@media (max-width: 520px) {
  .student-welcome { padding: 15px; border-radius: 16px; }
  .student-welcome h1 { font-size: 21px; }
  .student-welcome p { font-size: 13px; line-height: 1.45; }
  .student-welcome-meta { margin-top: 10px; font-size: 11px; }
  .student-shortcuts { gap: 8px; margin: 10px 0; }
  .student-shortcut { flex: 1 1 0; padding: 9px 7px; font-size: 12px; }
  .student-wisdom { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .student-wisdom .v125x-wisdom { padding: 11px; border-radius: 14px; }
  .student-wisdom .v125x-wisdom-label { font-size: 9px; letter-spacing: 0; }
  .student-wisdom .v125x-wisdom h2 { font-size: 16px; margin: 7px 0; }
  .student-wisdom .v125x-wisdom p { font-size: 12px; }
  .student-notification-shortcut { font-size: 11px; }
  .student-notification-shortcut .companion-link { font-size: 11px; }
  .student-menu-grid .btn { font-size: 12px; gap: 7px; }
}
