.student-photo{object-fit:cover}.student-portrait{width:120px;height:145px;border-radius:16px;object-fit:contain;background:#edf2fa;color:#547293;display:inline-flex;align-items:center;justify-content:center;font-size:48px;border:1px solid #dbe3ef}.student-portrait-wrap{margin:20px auto 12px}.student-profile-layout{display:grid;grid-template-columns:minmax(280px,420px) minmax(0,1fr);gap:24px;align-items:start}.student-profile-layout .student-card{width:100%;margin:0;padding:28px}.photo-preview{width:110px;height:130px;object-fit:contain;border:1px solid var(--line);border-radius:12px;margin-top:10px}.form-grid input[type=file]{height:auto;min-height:46px;padding:10px;white-space:normal}.external-card-row{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.external-card-row code{display:block;direction:ltr;text-align:left;word-break:break-all;padding-top:8px}.student-profile-tools .form-grid{grid-template-columns:1fr}.student-profile-tools{min-width:0}
html[data-theme=dark] .student-portrait{background:#293a59;color:#d0ddf4;border-color:#3a4a63}
@media(max-width:800px){.student-profile-layout{grid-template-columns:1fr}.student-profile-layout .student-card{max-width:440px;margin:auto}}
