.student-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(ellipse at 6% 10%, rgba(151,202,138,.2), transparent 35%), radial-gradient(ellipse at 96% 88%, rgba(172,215,135,.18), transparent 34%), #f0f5ef; color: #183a2e; }
.student-shell { width: min(520px,100%); overflow: hidden; border: 1px solid #dce8dc; border-radius: 22px; background: #fff; box-shadow: 0 24px 68px rgba(17,65,39,.13); }
.student-brand { display: flex; align-items: center; gap: 13px; padding: 17px 23px; background: linear-gradient(120deg,#0d4c32,#0b3626); color: #fff; }
.student-brand>a { display: grid; width: 47px; height: 47px; flex: 0 0 47px; place-items: center; }
.student-brand img { display: block; width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 0 1px rgba(238,255,235,.72)) drop-shadow(0 3px 7px rgba(0,0,0,.2)); }
.student-brand strong,.student-brand span { display: block; }
.student-brand strong { font: 800 13px Manrope,sans-serif; letter-spacing: 1.25px; }
.student-brand span { margin-top: 5px; color: #c6dccb; font-size: 8px; font-weight: 700; letter-spacing: 1.4px; }
.student-card { padding: 27px 30px 28px; }
.student-eyebrow { color: #64816c; font-size: 9px; font-weight: 800; letter-spacing: 1.55px; }
.student-card h1 { margin: 9px 0 7px; color: #183a2e; font: 700 clamp(25px,5vw,31px)/1.15 Manrope,sans-serif; letter-spacing: -1.1px; }
.student-intro { margin: 0; color: #738278; font-size: 11px; line-height: 1.65; }
.student-form { display: grid; gap: 14px; margin-top: 22px; }
.student-form label { display: grid; gap: 7px; color: #3b5645; font-size: 10px; font-weight: 700; }
.student-form input { width: 100%; min-height: 45px; border-color: #d9e5da; border-radius: 8px; font-size: 12px; }
.student-form input:focus { border-color: #5c9a72; box-shadow: 0 0 0 4px rgba(103,163,122,.13); }
.student-form .button { width: 100%; min-height: 46px; margin-top: 2px; }
.student-form-note { margin: -4px 0 0; color: #7e8b82; font-size: 9px; line-height: 1.55; }
.student-auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 20px; padding-top: 15px; border-top: 1px solid #e8eee8; }
.student-auth-links a { color: #176b3c; font-size: 10px; font-weight: 700; text-decoration: none; }
.student-auth-links a:hover { text-decoration: underline; }
.student-notice,.student-error { margin-bottom: 15px; padding: 10px 12px; border: 1px solid #d9e9d9; border-radius: 8px; background: #f1f8f0; color: #29653e; font-size: 10px; line-height: 1.5; }
.student-error { border-color: #f0d3c9; background: #fff5f1; color: #894a37; }
.student-footer { padding: 0 18px 18px; color: #89968c; font-size: 9px; text-align: center; letter-spacing: .3px; }
.student-home-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.student-home-head h1 { overflow-wrap: anywhere; }
.student-logout { padding: 7px 9px; border: 1px solid #e0e9e0; border-radius: 7px; background: #fff; color: #64756a; font-size: 9px; font-weight: 700; cursor: pointer; }
.student-logout:hover { border-color: #bfd5c1; color: #1b6d3c; }
.student-qr-panel { margin-top: 21px; padding: 19px 18px 16px; border: 1px solid #e0eae0; border-radius: 15px; background: linear-gradient(150deg,#f6faf5,#fff); text-align: center; }
.student-qr-title { margin: 0 0 13px; color: #35533e; font-size: 11px; font-weight: 700; }
.student-qr-frame { display: grid; width: min(260px,100%); aspect-ratio: 1; margin: 0 auto; place-items: center; border: 1px solid #e2ebe2; border-radius: 13px; background: #fff; box-shadow: 0 8px 24px rgba(25,75,40,.07); }
.student-qr-frame img { display: block; width: 88%; height: 88%; }
.student-qr-placeholder { padding: 16px; color: var(--muted); font-size: 13px; }
.student-qr-timer { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 14px; color: #708176; font-size: 10px; }
.student-qr-timer strong { color: #186b3c; font: 800 13px Manrope,sans-serif; font-variant-numeric: tabular-nums; }
.student-qr-note { max-width: 340px; margin: 9px auto 15px; color: #7a897e; font-size: 9px; line-height: 1.55; }
.student-qr-panel>.button { width: 100%; min-height: 43px; }
.student-qr-panel>.button:disabled { opacity: .65; cursor: wait; }
.student-qr-status { min-height: 13px; margin: 8px 0 0; color: #75857b; font-size: 9px; }
@media (max-width: 520px) {
  .student-page { padding: 11px; }
  .student-shell { border-radius: 17px; }
  .student-brand { gap: 10px; padding: 14px 17px; }
  .student-brand>a,.student-brand img { width: 42px; height: 42px; flex-basis: 42px; }
  .student-card { padding: 22px 19px 23px; }
  .student-qr-panel { padding: 15px 12px 12px; }
  .student-home-head { gap: 7px; }
}

.student-page { background:radial-gradient(ellipse at 6% 10%,rgba(8,169,135,.14),transparent 35%),radial-gradient(ellipse at 96% 88%,rgba(243,165,28,.12),transparent 34%),#f3f7fc;color:#172f50; }
.student-brand { background:linear-gradient(120deg,#0b3472,#082953); }
.student-brand img { width:90px;height:60px;object-fit:contain;padding:3px;border-radius:7px;background:transparent;filter:none; }
.student-auth-links a,.student-qr-timer strong { color:#0b3472; }
.student-form input:focus { border-color:#08a987;box-shadow:0 0 0 4px rgba(8,169,135,.15); }
@media(max-width:600px) { .student-brand img { width:74px;height:50px; } }
