.student-space{padding-top:42px;padding-bottom:20px}.student-card{max-width:520px;margin:auto;background:#fff;border:1px solid var(--line);border-radius:24px;padding:clamp(22px,5vw,40px);box-shadow:var(--shadow)}.student-card h2{margin:12px 0}.student-card form:not([hidden]){display:grid;gap:12px}.student-card label{font-weight:700;font-size:.9rem;margin-top:5px}.student-card input,.student-card select{width:100%;min-height:48px;border:1px solid #cbd6e9;border-radius:12px;padding:12px;background:#f8faff;color:#202747}.student-code-row{display:flex;gap:8px}.student-code-row button,#student-retry{border:0;border-radius:12px;padding:10px;background:#e8effa;color:#234a85;font-weight:700}.student-card .btn{margin-top:12px;width:100%;justify-content:center}.student-identity,.student-coming{padding:18px;background:#eef4ff;border-radius:14px;margin:16px 0}.student-back{display:block;margin-top:20px;color:#315ca0;font-weight:700}.student-card [hidden]{display:none!important}#student-status{font-size:.9rem;color:#52647e}#student-status.error{color:#a52235}.student-card :focus-visible{outline:3px solid #3978db;outline-offset:2px}

/* Compact sign-in integrated in the welcome banner. */
.hero-with-login .hero-copy{padding-right:clamp(20px,3vw,38px)}
.home-student.student-card{width:100%;max-width:490px;margin:0;padding:16px 18px;border-radius:19px;background:#fff;color:#202747;border:1px solid #dce4f3;box-shadow:0 8px 24px #1829540c;box-sizing:border-box}
.home-student-heading{display:flex;align-items:center;gap:12px}.home-student-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#e9e9ff;color:#6550b8;flex-shrink:0}.home-student-icon svg{width:24px;height:24px}.home-student-kicker{font-size:10px;font-weight:800;letter-spacing:.12em;color:#6550b8}.home-student h2{font-size:1.3rem;line-height:1.15;margin:3px 0;color:#202747}.hero-copy .home-student p{font-size:.8rem;margin:8px 0 12px;color:#52647e}.home-student form:not([hidden]){grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:6px 10px;align-items:center}.home-student label{font-size:.72rem;margin:0;grid-column:1/-1}.home-student input,.home-student select{font:inherit;font-size:.83rem;min-height:36px;padding:7px 9px;border-radius:9px;grid-column:1/-1;min-width:0}.home-student .student-code-row{grid-column:1/-1;min-width:0}.home-student .student-code-row button,.home-student #student-logout{font-size:.75rem;white-space:nowrap;border:0;border-radius:9px;padding:8px;background:#e8effa;color:#234a85;font-weight:700}.hero-copy .home-student .btn{grid-column:1/-1;width:100%;margin:5px 0 0;justify-content:center;padding:9px 14px;background:#24386d;color:#fff}.home-student #student-status:empty{display:none}.home-student .student-identity{font-size:.9rem;padding:10px;margin:8px 0}.home-student #student-logout{margin-top:8px}.home-student #student-form:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}.home-student label[for=student-class]{grid-column:1;grid-row:1}.home-student label[for=student-name]{grid-column:2;grid-row:1}.home-student #student-class{grid-column:1;grid-row:2}.home-student #student-name{grid-column:2;grid-row:2}.home-student label[for=student-code]{grid-row:3}.home-student .student-code-row{grid-row:4}.home-student .btn[type=submit]{grid-row:5}@media(max-width:480px){.home-student #student-form:not([hidden]){display:flex;flex-direction:column;align-items:stretch}.home-student.student-card{padding:14px}.hero-with-login .hero-copy{padding:20px}}

.hero-with-login .home-student{margin-top:18px}

/* V223 — consistent controls and a quieter, integrated access card. */
.student-card input,.student-card select{box-sizing:border-box;display:block;min-width:0;font:inherit;line-height:1.25;transition:border-color .18s,box-shadow .18s,background .18s}
.student-card select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236554b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:34px}
.student-card input:focus,.student-card select:focus{border-color:#8e80d8;box-shadow:0 0 0 3px #7860cc18;background-color:#fff;outline:none}
.student-card .student-code-row{position:relative;display:block}.student-card .student-code-row input{padding-right:52px}.student-card #student-show{position:absolute;right:5px;top:50%;transform:translateY(-50%);width:36px;height:36px;padding:0;display:grid;place-items:center;background:transparent;color:#6550b8;cursor:pointer}.student-card #student-show:hover{background:#ebe8fa}.student-card #student-show svg{width:20px;height:20px}.student-eye-slash{display:none}#student-show[aria-pressed=true] .student-eye-slash{display:block}
.home-student.student-card{padding:19px 22px 21px;border-radius:22px;border-color:#e0e4f0;box-shadow:0 8px 28px #1829540b;max-width:490px}.home-student-heading{gap:13px}.home-student-icon{width:44px;height:44px;background:#eeebfc}.home-student h2{font-size:1.4rem}.hero-copy .home-student p{margin:10px 0 15px;font-size:.84rem;line-height:1.45}.home-student #student-form:not([hidden]){grid-template-columns:minmax(0,1fr) minmax(0,1.45fr);gap:7px 12px;align-items:stretch}.home-student label{font-size:.76rem;line-height:1.3}.home-student label[for=student-code]{margin-top:4px}.home-student input,.home-student select{height:42px;min-height:42px;font-size:.85rem;padding:10px 12px;border-radius:10px;background-color:#f8f9fd;border-color:#d6dced}.home-student select{padding-right:32px}.hero-copy .home-student .btn{min-height:43px;margin-top:7px;border-radius:11px;transition:background .18s,box-shadow .18s}.hero-copy .home-student .btn:hover{background:#344b86;box-shadow:0 4px 12px #24386d22}.hero-copy .home-student .btn:disabled{opacity:.65;cursor:wait}
@media(max-width:480px){.home-student.student-card{padding:16px}.home-student #student-form:not([hidden]){display:flex;flex-direction:column;gap:7px}.home-student label:not(:first-child){margin-top:4px}}
