/* Account screens use the admin's dimensions, typography and form treatment. */
.campus-auth-shell{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:30px 20px;background:radial-gradient(ellipse at 50% 25%,#f2e6f9,transparent 60%),var(--bg,#ecedef)}
.campus-auth-card{width:100%;max-width:420px;background:#fff;border-radius:28px;box-shadow:var(--surface-depth-raised,0 18px 60px #50376608);padding:37px}
.campus-auth-logo{width:133px;display:block;margin-bottom:35px}
.campus-auth-eyebrow{font-size:9px;letter-spacing:.14em;font-weight:650;color:#a38caf;margin:0 0 9px}
.campus-auth-card h1{margin:0;font-size:29px;font-weight:650;line-height:1.2;letter-spacing:-.05em;color:#493853}
.campus-auth-intro{font-size:13px;line-height:1.7;color:#796684;margin:9px 0 27px}
.campus-auth-card form>.campus-button.primary,.campus-auth-card>.campus-button.primary{width:100%;margin-top:9px}
.campus-auth-note{font-size:10px;text-align:center;color:#83708e;margin:25px 0 0}
.campus-auth-field{display:flex;flex-direction:column;gap:8px;margin-bottom:19px;min-width:0}
.campus-auth-field>label{font-size:12px;font-weight:550;color:#6d5c79}
.campus-auth-field input{width:100%;min-width:0;max-width:100%;height:45px;min-height:45px;background:#fdfbfe;border:1px solid #e8dfef;border-radius:11px;padding:12px 13px;color:#51465c;font-size:13px;line-height:1.45;transition:border-color .15s}
.campus-auth-field input::placeholder{color:#897592}
.campus-auth-field input:focus{outline:none;border-color:var(--purple);box-shadow:inset 0 0 0 1px var(--purple);background:#fff}
.campus-auth-help{font-size:10px;line-height:1.6;color:#796684;margin:0 0 12px}
.campus-auth-password{position:relative;min-width:0;max-width:100%}
.campus-auth-password input{padding-right:47px}
.campus-auth-password .campus-icon-button{position:absolute;right:7px;top:6px;width:33px;height:33px;border:0;background:transparent;color:#947fa0}
.campus-auth-error{font-size:12px;line-height:1.6;color:#b15b66;background:#fff1f3;padding:10px 12px;border-radius:9px;margin:0 0 18px}
.campus-auth-error:empty{display:none}
.campus-auth-loading{display:block;color:#796684;font-size:13px}
.campus-auth-switch{display:flex;width:100%;margin-top:10px}
.campus-auth-photo{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:14px 18px;margin:0 0 22px}
.campus-auth-photo .campus-auth-avatar-large{width:76px;height:76px;font-size:24px;background:var(--campus-accent,#be00fd);color:#fff}
.campus-avatar{overflow:hidden}
.campus-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.campus-avatar:has(img),.campus-profile .campus-avatar:has(img),.campus-auth-photo .campus-auth-avatar-large:has(img){background:transparent}
.campus-auth-photo .campus-auth-avatar-large{overflow:hidden}
.campus-auth-photo-details{min-width:0}
.campus-auth-photo-details h3{margin:0 0 3px;font-size:14px;font-weight:650;color:#4c4057}
.campus-auth-photo-details h3 span{font-size:10px;font-weight:400;color:#796684}
.campus-auth-photo-details p{margin:0 0 12px;color:#796684;font-size:11px;line-height:1.5}
.campus-auth-photo-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.campus-auth-photo-actions .campus-button{padding:7px 11px;min-height:34px;font-size:11px;border-radius:10px}
.campus-auth-photo-actions .campus-button.quiet{padding-inline:8px}
.campus-auth-photo-status{grid-column:1/-1;color:#796684;font-size:12px;line-height:1.6;margin:0}
.campus-auth-photo-status:empty{display:none}
.campus-auth-photo-save{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;padding-top:2px}
.campus-auth-photo-save .campus-button{min-height:39px;font-size:12px}
.campus-auth-name-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:0 10px;margin:0 0 22px}
.campus-auth-name-form .campus-auth-field{margin-bottom:0}
.campus-auth-name-form>.campus-button{min-height:44px;padding-inline:15px;border-radius:11px;font-size:12px}
.campus-auth-name-form>.campus-auth-error{grid-column:1/-1;margin:12px 0 0}
.campus-auth-email{padding:15px;background:#f8f4fb;border-radius:12px;display:flex;flex-direction:column;gap:3px;margin:22px 0;font-size:13px;overflow-wrap:anywhere}
.campus-auth-email span{font-size:10px;color:#83708e}
.campus-auth-account-actions{display:flex;flex-direction:column;gap:10px}
.campus-auth-account-actions .campus-button{justify-content:flex-start;border-radius:12px;width:100%;font-size:12px}
.campus-auth-account>.campus-auth-error{margin-top:18px;margin-bottom:0}
button.campus-profile{cursor:pointer}
/* Match the admin account control on desktop and mobile. */
.campus-profile{border-color:#f0eaf4}
.campus-profile:hover{background:#ecdaf5}
.campus-profile:focus-visible{outline:3px solid #be00fd60;outline-offset:3px}
.campus-profile .campus-avatar{width:33px;height:33px;font-size:12px}
.campus-profile strong{line-height:normal;overflow:hidden;text-overflow:ellipsis}
.campus-profile small{line-height:normal;margin-top:1px;color:#81708d}
.campus-profile>.icon{width:16px;height:16px;flex:none;color:#a598ae}
@media(max-width:760px){
 .campus-auth-shell{padding:20px}
 .campus-auth-card{padding:29px;border-radius:24px}
 .campus-auth-logo{width:126px}
 .campus-auth-card h1{font-size:27px}
 .campus-auth-intro{font-size:12px}
 .campus-auth-field input{font-size:16px;padding:11px 12px;height:48px;min-height:48px}
 .campus-auth-password input{padding-right:47px}
 .campus-auth-password .campus-icon-button{top:7px}
 .campus-auth-help{font-size:11px}
 .campus-auth-photo{grid-template-columns:64px minmax(0,1fr);gap:12px 14px}
 .campus-auth-photo .campus-auth-avatar-large{width:64px;height:64px;font-size:21px}
 .campus-auth-photo-actions .campus-button{min-height:38px;padding:8px 10px}
 .campus-auth-photo-details p{font-size:10px}
 .campus-auth-name-form>.campus-button{min-height:46px;padding-inline:12px}
 /* The mobile account button is an invisible hit area around the round portrait.
    Do not paint the shared rectangular button shape behind it in either theme. */
 #campus-app .campus-profile,#campus-app .campus-profile:hover{background:transparent;border-color:transparent;box-shadow:none}
 .campus-profile>.icon{display:none}
}
