:root:has(.student-profile:not(.student-profile-in-header)){--profile-content-clearance:max(4.5rem, calc(env(safe-area-inset-left) + 64px));scroll-padding-bottom:max(5.5rem, calc(env(safe-area-inset-bottom) + 64px))}@media (width<=36rem) and (height<=35rem){:root:has(.student-profile:not(.student-profile-in-header)) .account-main .account-card{padding-inline-start:max(1.25rem, calc(var(--profile-content-clearance) - var(--gutter)))}}@media (width<=26rem){:root:has(.student-profile:not(.student-profile-in-header)) .preview-diagnostic .preview-actions{margin-inline-start:max(0px, calc(var(--profile-content-clearance) - var(--preview-edge)))}}.student-profile{--profile-edge:22px;--profile-left:max(var(--profile-edge), calc(env(safe-area-inset-left) + 8px));--profile-right:max(var(--profile-edge), calc(env(safe-area-inset-right) + 8px));--profile-bottom:max(var(--profile-edge), calc(env(safe-area-inset-bottom) + 8px));--profile-size:48px;--profile-gap:.65rem;z-index:25;left:var(--profile-left);bottom:var(--profile-bottom);position:fixed}@media (width<=36rem){.student-profile{--profile-edge:16px}}.student-profile-trigger{cursor:pointer;border-radius:50%;display:grid}.student-profile-avatar{width:36px;height:36px;color:var(--color-accent);background:#202f46;border:1px solid #627b9e;border-radius:50%;place-items:center;font-weight:800;display:grid}.student-profile-trigger .student-profile-avatar{width:var(--profile-size);height:var(--profile-size);font-size:1.125rem;box-shadow:0 3px 12px #05091280}.student-profile-trigger:hover .student-profile-avatar,.student-profile-trigger[aria-expanded=true] .student-profile-avatar{background:#293c58;border-color:#9db9e2}.student-profile-trigger:active .student-profile-avatar{background:#172335}.student-profile-panel{inset:auto auto calc(var(--profile-bottom) + var(--profile-size) + var(--profile-gap)) var(--profile-left);width:min(16rem, calc(100vw - var(--profile-left) - var(--profile-right)));max-height:calc(100vh - var(--profile-bottom) - var(--profile-size) - var(--profile-gap) - 5.5rem);max-height:calc(100dvh - var(--profile-bottom) - var(--profile-size) - var(--profile-gap) - max(5.5rem, env(safe-area-inset-top)));overscroll-behavior:contain;color:var(--color-ink);background:#141e2e;border:1px solid #435874;border-radius:.8rem;margin:0;padding:.4rem;position:fixed;overflow-y:auto;box-shadow:0 8px 24px #05091280}.student-profile-header{border-bottom:1px solid var(--color-line);color:var(--color-muted);grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.7rem;margin-bottom:.25rem;padding:.6rem .65rem .75rem;font-size:.8rem;display:grid}.student-profile-name{color:var(--color-ink);overflow-wrap:anywhere;font-size:.9375rem;font-weight:750}.student-profile nav :is(a,button){text-align:left;border-radius:.4rem;align-items:center;width:100%;min-height:44px;padding:.45rem .7rem;font-size:.9375rem;font-weight:650;display:flex}.student-profile nav form{border-top:1px solid var(--color-line);margin-top:.25rem;padding-top:.25rem}.student-profile :is(a,button):hover{background:#26344a}.student-profile a[aria-current=page]{color:var(--color-accent)}.student-profile button{cursor:pointer}.student-profile :is(a,button):focus-visible{outline-offset:-3px}.student-profile-in-header{--profile-size:44px;flex:none;position:static}.student-profile-in-header .student-profile-panel{inset:calc(var(--study-header-height) + .25rem) max(.75rem, env(safe-area-inset-right)) auto auto;max-height:calc(100dvh - var(--study-header-height) - 1rem);border-color:var(--color-line);background:var(--color-panel);box-shadow:0 8px 24px var(--study-overlay)}.student-profile-in-header .student-profile-avatar{color:var(--color-accent);border-color:var(--study-control-line);background:var(--color-raised);box-shadow:none}.student-profile-in-header :is(a,button):hover{background:var(--color-raised)}.student-profile-in-header .student-profile-trigger:is(:hover,:active,[aria-expanded=true]) .student-profile-avatar{background:var(--color-raised);border-color:var(--color-accent)}
