/* #1024: student navigation is task-first; auth/data authority remains server-side. */
.student-shell .student-security-overview,.student-shell .student-attendance-overview{margin-top:14px}
.student-shell .student-security-overview-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.student-shell .student-security-overview-header h2{margin:0!important}
.student-shell .student-security-overview-header span{font-size:24px}
.student-shell .student-security-overview-status{display:grid;gap:6px;padding:11px 13px;margin:14px 0;border-radius:11px;background:var(--linea-card-surface-strong);color:var(--linea-text-secondary);font-size:13px}
.student-shell .student-security-overview>.btn,.student-shell .student-attendance-overview>.btn{min-height:46px;width:100%;white-space:normal}
.student-shell .student-security-back{margin:0 0 15px;padding:9px 12px;min-height:42px;border-radius:11px;border:1px solid var(--linea-control-border);background:var(--linea-control-surface);color:var(--linea-text-primary);font:inherit;font-size:13px;cursor:pointer}
.student-shell .student-security-back:focus-visible{outline:2px solid var(--linea-aurora-cyan);outline-offset:2px}
.student-shell .student-security-head{margin-bottom:18px}
.student-shell .student-security-head p{max-width:650px}
.student-shell .student-security-panel{margin:0 0 12px;padding:0!important;overflow:hidden;scroll-margin-top:18px;scroll-margin-bottom:125px}
.student-shell .student-security-panel>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;padding:17px 18px;min-height:62px}
.student-shell .student-security-panel>summary::-webkit-details-marker{display:none}
.student-shell .student-security-panel>summary>span:first-child{display:grid;gap:5px;min-width:0}
.student-shell .student-security-panel>summary strong{font-size:17px;color:var(--linea-text-primary)}
.student-shell .student-security-panel>summary small{font-size:12px;line-height:1.5;color:var(--linea-text-secondary)}
.student-shell .student-security-panel .student-security-panel-chevron{font-size:22px;color:var(--linea-text-secondary);flex:none;transition:transform .18s ease}
.student-shell .student-security-panel[open] .student-security-panel-chevron{transform:rotate(180deg)}
.student-shell .student-security-panel[open]{border-color:var(--linea-card-border-hover)!important}
.student-shell .student-security-panel>summary:focus-visible{outline:2px solid var(--linea-aurora-cyan);outline-offset:-3px}
.student-shell .student-security-panel-content{border-top:1px solid var(--linea-card-border);padding:15px 18px 20px}
.student-shell .student-security-panel-content>.student-profile-card{padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
.student-shell .student-security-panel-content>.student-profile-card>h2{display:none}
.student-shell .student-security-panel-content .student-passkey-list{margin:9px 0 14px}
.student-shell .student-security-panel-content form{margin-top:8px}
.student-shell .student-security-panel-content input[type="password"],.student-shell .student-security-panel-content input[type="text"]{min-height:47px}
.student-shell .student-security-panel-content .btn.primary{min-height:46px}
.student-shell .student-security-panel-content .student-device-row{overflow-wrap:anywhere}
.student-shell .student-security-panel-content textarea{max-width:100%}
@media(max-width:850px){
  /* The fixed three-item nav must never cover the last action or the keyboard. */
  .student-shell .student-main{padding-bottom:calc(132px + env(safe-area-inset-bottom,0px))!important}
  .student-shell .student-security-panel>summary{padding:15px 14px}
  .student-shell .student-security-panel-content{padding:13px 14px 19px}
  .student-shell .student-security-panel>summary strong{font-size:16px}
  .student-shell .student-security-panel>summary small{font-size:12px}
  .student-shell .student-security-panel-content .btn.primary{width:100%;white-space:normal}
}
@media(max-width:850px){
  body.student-cabinet-body.student-dock-input-active .student-nav{visibility:hidden;pointer-events:none}
  .student-shell .student-security-panel-content :is(input,textarea,select,button){scroll-margin-block:24px 132px}
}
.student-shell .student-security-context-link{margin:0 0 10px;min-height:44px;white-space:normal}
/* Passive status notices have no controls and must never intercept form taps. */
body.student-cabinet-body .student-feedback{pointer-events:none}
@media(max-width:850px){
  body.student-cabinet-body .student-feedback{bottom:calc(96px + env(safe-area-inset-bottom,0px))}
}
