/* Student access v1.31.0: isolated mobile-first onboarding and authentication. */
.student-access {
  margin:0; background:#f7f5ef; color:#071523; font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  -webkit-text-size-adjust:100%; min-height:100vh; min-height:100svh;
}
.student-access *, .student-access *::before, .student-access *::after { box-sizing:border-box; }
.student-access [hidden] { display:none!important; }
.student-access a { color:#071523; text-decoration:none; }
.student-access button, .student-access input { font:inherit; }
.student-access h1 { font:700 clamp(30px,8vw,38px)/1.13 Georgia,'Times New Roman',serif; letter-spacing:-.035em; margin:0 0 18px; overflow-wrap:break-word; }
.student-access p { color:#465c73; margin:0; }
.student-access a:focus-visible, .student-access button:focus-visible, .student-access input:focus-visible { outline:3px solid #c8941a; outline-offset:4px; }
.student-access-top { display:flex; align-items:center; justify-content:space-between; min-height:44px; gap:12px; margin-bottom:24px; }
.student-access-language { margin-left:auto; display:flex; gap:2px; padding:2px; background:#ebeae5; border-radius:24px; }
.student-access-language a { display:grid; place-items:center; min-width:48px; min-height:40px; padding:8px 12px; border-radius:22px; font-size:14px; font-weight:700; }
.student-access-language [aria-current] { background:linear-gradient(#dfb34c,#bc8b1d); color:#071523; box-shadow:inset 0 1px 0 #fff8,0 2px 4px #07152312; }
.student-access-logo { display:block; width:112px; height:112px; object-fit:contain; border-radius:24px; box-shadow:0 5px 10px #07152313; }
.student-access-text-action { font-weight:700; }
.student-access .student-access-text-action { color:#071523; text-decoration:none; display:inline-block; padding:8px 2px; }
.student-access-button {
  display:flex; align-items:center; justify-content:center; width:100%; min-height:52px; padding:14px 18px;
  border:1px solid #071523; border-radius:14px; background:linear-gradient(#24425c,#071523); box-shadow:inset 0 1px 0 #ffffff55,0 2px 0 #07152320,0 5px 10px #07152312;
  font:650 16px/1.35 system-ui,-apple-system,sans-serif; text-align:center; cursor:pointer; transition:box-shadow .16s,transform .16s;
}
.student-access a.student-access-button, .student-access button.student-access-button { color:#fff; text-decoration:none; }
.student-access-button:active { transform:translateY(1px); box-shadow:inset 0 2px 4px #0003; }
.student-access-button:disabled { opacity:.7; cursor:wait; }
.student-access-button[aria-busy=true]::before { content:''; width:14px; height:14px; margin-right:10px; border:2px solid #ffffff60; border-top-color:#fff; border-radius:50%; animation:access-spin .8s linear infinite; }
.student-access-actions>p, .student-access-account-switch { font-size:14px; text-align:center; margin-top:10px; line-height:1.5; }
.student-access-secondary { display:block!important; text-align:center; margin-top:10px; min-height:44px; }
.student-access-onboarding { max-width:480px; margin:0 auto; }
.student-access-welcome {
  display:flex; flex-direction:column; padding:calc(20px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom));
  min-height:100vh; min-height:100svh;
}
.student-access-welcome-copy { margin:auto 0; text-align:center; padding:56px 0 64px; }
.student-access-welcome-copy .student-access-logo { margin:0 auto 36px; }
.student-access-welcome-copy h1 { max-width:360px; margin:0 auto 20px; font-size:clamp(34px,9vw,42px); }
.student-access-welcome-copy p { max-width:330px; margin:0 auto; font-size:18px; line-height:1.55; }
.student-access-discover { min-height:100vh; min-height:100svh; display:flex; flex-direction:column; }
.student-access-photo { position:relative; flex:none; height:clamp(260px,42svh,410px); background:#eae7df; }
.student-access-photo img { display:block; width:100%; height:100%; object-fit:cover; object-position:50% 45%; }
.student-access-photo-back { position:absolute; left:18px; top:calc(16px + env(safe-area-inset-top)); display:flex; align-items:center; gap:8px; min-height:44px; padding:8px 14px; color:#071523; border:1px solid #fff8; border-radius:22px; background:#f7f5efed; cursor:pointer; font-size:14px; }
.student-access-photo-back span, .student-access-back span { font:28px/1 system-ui; }
.student-access-discover-sheet { position:relative; margin-top:-24px; z-index:1; flex:1; display:flex; flex-direction:column; padding:28px 24px calc(24px + env(safe-area-inset-bottom)); border-radius:28px 28px 0 0; background:#f7f5ef; }
.student-access-benefits { list-style:none; margin:8px 0 24px; padding:0; display:grid; gap:18px; }
.student-access-benefits li { display:flex; align-items:center; gap:16px; font-size:16px; color:#31475c; }
.student-access-benefits svg { width:44px; height:44px; padding:10px; flex-shrink:0; fill:none; stroke:#85600f; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; background:#f4ead2; border-radius:50%; }
.student-access-discover-sheet .student-access-actions { margin-top:auto; }
.student-access-discover.is-entering .student-access-discover-sheet { animation:access-enter .2s ease-out; }
.student-access-form-screen { width:100%; max-width:480px; margin:0 auto; padding:calc(20px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom)); min-height:100vh; min-height:100svh; display:flex; flex-direction:column; }
.student-access-back { display:flex; align-items:center; gap:8px; min-height:44px; font-size:14px; }
.student-access-form-content { width:100%; min-width:0; }
.student-access-intro { margin:0 0 28px!important; font-size:16px; line-height:1.5; }
.student-access-form { display:flex; flex-direction:column; gap:10px; margin:0; }
.student-access-form>label { font-size:14px; font-weight:600; margin-top:8px; }
.student-access-form input:not([type=hidden]):not([type=checkbox]) { display:block; width:100%; min-width:0; min-height:48px; font-size:16px; padding:12px 14px; color:#071523; background:#fbfaf7; border:1px solid #d4d5d3; border-radius:10px; box-shadow:inset 0 1px 2px #07152305; }
.student-access-password { position:relative; }
.student-access-form .student-access-password input { padding-right:56px; }
.student-access-password button { position:absolute; top:2px; right:3px; width:44px; height:44px; background:transparent; border:0; border-radius:8px; cursor:pointer; color:#071523; }
.student-access-password svg { width:21px; height:21px; display:block; margin:auto; }
.student-access-password [aria-pressed=true]::after { content:''; position:absolute; width:24px; height:2px; top:21px; left:10px; transform:rotate(-40deg); background:#071523; }
.student-access-form>small { font-size:12px; color:#536374; }
.student-access-consent { display:flex; gap:12px; align-items:flex-start; margin:8px 0 4px; }
.student-access-consent input { flex-shrink:0; width:20px; height:20px; margin:10px 0 0; accent-color:#071523; }
.student-access-consent label { font-size:14px; line-height:1.55; min-width:0; }
.student-access-consent .student-access-text-action { padding:0; }
.student-access-form>.student-access-button { margin-top:10px; }
.student-access-account-switch { margin-top:16px; }
.student-access-signin .student-access-form-content { margin:auto 0; padding:40px 0; }
.student-access-signin .student-access-logo { margin:0 auto 36px; }
.student-access-signin h1, .student-access-signin .student-access-intro { text-align:center; }
.student-access-signin .student-access-form { margin-top:36px; }
.student-access-alert, .student-access-note { border:1px solid #d7b1a8; border-radius:10px; padding:14px; margin:0 0 20px; color:#743223; background:#fbf1ed; font-size:14px; overflow-wrap:anywhere; }
.student-access-note { color:#31475c; background:#efeee7; border-color:#d8d6cd; }
.student-access-received .student-access-form-content { margin:auto 0; padding:32px 0 12px; }
.student-access-success { display:block; width:48px; height:48px; margin:0 auto 36px; color:#a77a12; }
.student-access-success path { stroke-dasharray:40; stroke-dashoffset:0; animation:access-check .45s ease-out; }
.student-access-received h1, .student-access-received .student-access-intro { text-align:center; }
.student-access-status { list-style:none; margin:36px 0; padding:0; display:grid; gap:28px; }
.student-access-status li { display:flex; gap:16px; }
.student-access-status li>span { flex-shrink:0; display:grid; place-items:center; width:28px; height:28px; border-radius:50%; }
.student-access-status-done { background:linear-gradient(#dbb350,#bc8b22); color:#fff; font-size:16px; }
.student-access-status-pending { border:2px solid #adafae; background:transparent; }
.student-access-status strong { font:700 19px/1.3 Georgia,serif; }
.student-access-status p { font-size:14px; margin-top:5px; }
.student-access-noscript { text-align:center; padding:16px 24px; color:#536374; font-size:13px; }
@keyframes access-enter { from { opacity:.5; transform:translateY(8px); } to { opacity:1; transform:none; } }
@keyframes access-check { from { stroke-dashoffset:40; } to { stroke-dashoffset:0; } }
@keyframes access-spin { to { transform:rotate(360deg); } }
@media(min-width:768px) {
 .student-access-form-screen { max-width:560px; padding-inline:40px; }
 .student-access-onboarding { max-width:640px; }
 .student-access-welcome-copy { padding-block:72px; }
 .student-access-welcome .student-access-actions { max-width:440px; width:100%; margin-inline:auto; }
 .student-access-discover-sheet { padding-inline:40px; }
 .student-access-photo { height:clamp(320px,42svh,460px); }
}
@media(max-width:360px) {
 .student-access-welcome, .student-access-form-screen, .student-access-discover-sheet { padding-left:20px; padding-right:20px; }
 .student-access-top { gap:8px; }
 .student-access-language a { min-width:44px; padding-inline:9px; }
 .student-access h1 { font-size:30px; }
}
@media(max-height:680px) {
 .student-access-welcome-copy { padding:24px 0 32px; }
 .student-access-welcome-copy .student-access-logo, .student-access-signin .student-access-logo { width:88px; height:88px; border-radius:20px; margin-bottom:24px; }
 .student-access-top { margin-bottom:16px; }
 .student-access-signin .student-access-form-content { padding:16px 0; }
 .student-access-received .student-access-form-content { padding-top:16px; }
}
@media(prefers-reduced-motion:reduce) {
 .student-access *, .student-access *::before, .student-access *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}

