/* Student identity and the vector mark traced from the owner's sketch. */
.side .logo{gap:12px;flex-shrink:0;letter-spacing:3px}
.brand-mark{width:37px;height:34px;display:block;flex-shrink:0}
.profile-trigger{display:flex;align-items:center;gap:9px;border:0;background:transparent;color:#17171b;cursor:pointer;font:inherit;padding:6px;flex-shrink:0;min-height:44px}
.profile-avatar{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #17171b55;border-radius:50%;font-size:14px;font-weight:600}
.profile-trigger-name{max-width:112px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}
.side{gap:24px}
.profile-card{margin:0 0 24px;padding:24px;border:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--panel)}
.profile-card h2{font-size:22px;font-weight:500;margin:5px 0 8px;overflow-wrap:anywhere}
.profile-eyebrow{font:10px Consolas,monospace;letter-spacing:1.5px;text-transform:uppercase;color:var(--text3)}
.profile-card p{color:var(--text2);font-size:13px;line-height:1.7;margin:4px 0;overflow-wrap:anywhere}
.profile-card .btn{flex-shrink:0}
.profile-dialog{width:min(540px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;margin:auto;padding:28px;border:1px solid var(--border);border-radius:16px;background:var(--panel);color:var(--text);color-scheme:dark}
.profile-dialog::backdrop{background:#000b;backdrop-filter:blur(4px)}
.profile-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.profile-dialog h2{font-weight:500;font-size:25px;margin:0}
.profile-dialog .brand-mark{filter:invert(1);width:42px;height:38px}
.profile-dialog p{font-size:13px;line-height:1.7;color:var(--text2)}
.profile-dialog label{display:flex;flex-direction:column;gap:8px;margin:22px 0 6px;font-size:14px}
.profile-dialog input{font:inherit;color:var(--text);width:100%;min-width:0;padding:12px;border:1px solid var(--border);border-radius:7px;background:var(--bg)}
.profile-dialog input:focus{outline:2px solid var(--blue);outline-offset:2px}
.profile-dialog input[aria-invalid=true]{border-color:var(--red)}
.profile-id-hint{font-size:12px!important;margin:6px 0}
.profile-id-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:14px 0;margin:12px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.profile-id-details dt{font-size:11px;color:var(--text3);margin-bottom:5px}
.profile-id-details dd{margin:0;font-size:19px;line-height:1.4}
.profile-grade{font-size:12px!important;margin:6px 0 18px}
.profile-dialog footer{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}
.profile-dialog [hidden]{display:none!important}
.profile-message{font-size:13px;line-height:1.7;color:var(--text2)}
.profile-message:empty{display:none}
.profile-error{color:var(--red)!important}
.profile-dialog .profile-privacy{padding:12px 14px;border-radius:8px;background:var(--bg);margin-top:22px}
@media(max-width:1150px){.profile-trigger-name{display:none}.side{gap:18px}.side .logo{gap:9px;letter-spacing:2px}.brand-mark{width:30px;height:28px}}
@media(min-width:761px) and (max-width:900px){.side{padding-inline:16px;gap:12px}.side .logo{font-size:18px}.nav-item{font-size:13px;padding-inline:6px}.side .brand-mark{width:26px;height:24px}}
@media(max-width:760px){.side{justify-content:space-between}.profile-trigger-name{display:block;max-width:108px}.profile-card{padding:18px;align-items:flex-start;flex-direction:column;gap:14px}.profile-dialog{padding:22px}.profile-dialog h2{font-size:22px}}
