.student-profile-chip{display:flex;align-items:center;gap:10px;margin:20px 0 0;padding:12px;border-radius:17px;background:linear-gradient(130deg,#ffffffeb,#f0e3fc);border:1px solid #fff!important;box-shadow:0 3px 12px #8356a112;min-width:0}.profile-chip-name{font-size:.95rem;overflow-wrap:anywhere;min-width:0}.profile-avatar,.profile-header-avatar{display:grid!important;place-items:center;border-radius:50%;width:42px;height:42px;overflow:hidden;background:linear-gradient(145deg,#fff,#d9b9ef)!important;color:#713899;font-weight:600;flex-shrink:0;border:2px solid #fff;box-shadow:0 3px 10px #71489320}.profile-avatar img,.profile-header-avatar img,.account-avatar img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}.profile-header-avatar:before,.profile-header-avatar:after{display:none!important}.profile-header-avatar{position:relative!important;inset:auto!important;transform:none!important;font-size:1.05rem}.profile-editor{display:grid;grid-template-columns:minmax(210px,.7fr) minmax(0,1.3fr);gap:36px;max-width:930px;margin-inline:auto}.profile-preview{display:flex;flex-direction:column;align-items:center;text-align:center;padding:30px 20px;border-radius:22px;background:linear-gradient(150deg,#f1e1fcbb,#dcf2ffb3);border:1px solid #fff;align-self:start}.profile-large{width:150px;height:150px;font-size:3rem;border:5px solid #fff;box-shadow:0 7px 25px #8b63ae25}.profile-preview h2{font-size:1.35rem;overflow-wrap:anywhere;max-width:100%;margin:20px 0 8px;color:#62398a}.profile-preview span{color:#74479b}.profile-preview small{margin-top:20px;line-height:1.7;color:#635b76;font-size:.9rem}.profile-fields{display:flex;flex-direction:column;gap:15px;min-width:0}.profile-fields label{display:flex;flex-direction:column;gap:8px;font-weight:600}.profile-fields small{font-size:.875rem;color:#6f677c;line-height:1.65}.profile-fields input[readonly]{background:#f2edf7;color:#736981}.profile-save{margin-top:10px}.profile-status{color:#18705b;font-size:.95rem}.profile-account-link{margin:0 0 16px;padding:13px 17px;border:1px solid #e5d4f3;border-radius:15px;background:#f6edff}.profile-account-link:empty{display:none}.account-avatar{overflow:hidden}.account-copy strong{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side nav a[data-nav=profile] svg{background:linear-gradient(145deg,#fff,#d1e7ff);color:#3777b1}
@media(max-width:680px){.profile-editor{grid-template-columns:minmax(0,1fr);gap:22px;padding:20px}.profile-preview{padding:22px}.profile-large{width:112px;height:112px}.profile-preview small{max-width:320px}.profile-fields .actions{flex-wrap:wrap}.profile-save .btn{flex:1}.student-profile-chip{margin:12px 0}.profile-header-avatar{width:36px;height:36px}}

#school-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
/* Shared account editor */
.profile-editor{grid-template-columns:minmax(180px,.65fr) minmax(0,1.5fr);gap:26px;padding:26px;border:1px solid #fff;border-radius:28px;background:linear-gradient(145deg,#ffffffed,#f7f4ffb8);box-shadow:0 14px 40px #64609b10;backdrop-filter:blur(18px);max-width:1100px;color:#454462}.profile-editor *{box-sizing:border-box}.profile-fields{gap:18px}.profile-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}.profile-editor label{font-size:.9rem;line-height:1.6}.profile-editor input:not([type=checkbox]):not([type=range]):not([type=file]){width:100%;min-width:0;border:1px solid #dddced;border-radius:14px;padding:13px 14px;background:#ffffffc9;font:inherit;color:#38334f;min-height:48px}.profile-editor input[readonly]{background:#edeef68c!important;color:#68667d!important}.profile-editor :focus-visible{outline:3px solid #9c83dc;outline-offset:3px}.profile-preview{position:relative;padding:25px 18px;background:radial-gradient(ellipse at top right,#d2edffa8,transparent 60%),linear-gradient(150deg,#f1e2ff,#f9faff);border-radius:24px;gap:10px}.profile-kicker{font-size:.7rem;letter-spacing:.18em;font-weight:700}.profile-photo-wrap{position:relative;margin-top:14px}.profile-pencil{position:absolute;right:-3px;bottom:3px;display:grid;place-items:center;width:44px;height:44px;border:3px solid white;border-radius:50%;color:#fff;background:linear-gradient(145deg,#a084e0,#6750b2);box-shadow:0 4px 12px #7460a740;cursor:pointer}.profile-pencil svg{width:22px;height:22px}.profile-pencil:hover{transform:translateY(-2px)}.profile-preview h2{margin:10px 0 0;font-size:1.2rem}.profile-preview small{margin:0;font-size:.76rem}.profile-text-button{background:none;border:0;padding:7px 5px;font:inherit;font-size:.85rem;color:#77608f;cursor:pointer;text-decoration:underline;text-underline-offset:4px}.profile-privacy{font-size:.78rem!important;line-height:1.7;color:#716b84;margin:10px 0 0}.profile-section-title{display:flex;align-items:center;gap:12px;margin-bottom:2px}.profile-section-title>span{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#fff,#ddcff9);color:#8060b0;border:1px solid white;box-shadow:0 3px 10px #795aa51c;font-size:.85rem}.profile-section-title h3{margin:0;font-size:1.1rem}.profile-section-title p{margin:4px 0 0;font-size:.8rem;color:#817991}.profile-verified{display:inline-flex;font-size:.68rem;color:#288269;background:#e2f5ed;padding:1px 7px;border-radius:20px;font-weight:500}.profile-preferences{padding:15px 17px;border-radius:17px;background:#f6f4fc;border:1px solid #e9e2f6}.profile-preferences summary{font-size:.9rem;cursor:pointer;font-weight:600}.profile-preferences summary span{float:right;font-size:.72rem;color:#88779e}.profile-preferences p{font-size:.8rem;line-height:1.65;color:#756e86}.profile-toggle{display:flex!important;flex-direction:row!important;justify-content:space-between;align-items:center;padding:10px 0;gap:15px;border-bottom:1px solid #e8e1f0;font-weight:500!important}.profile-toggle:last-child{border:0}.profile-toggle input{width:20px;height:20px;accent-color:#8361bd;flex-shrink:0}.profile-editor .btn{border:1px solid transparent;border-radius:24px;padding:12px 18px;font:inherit;font-size:.85rem;font-weight:600;background:linear-gradient(130deg,#9070c9,#7154ae);color:white;cursor:pointer;min-height:44px}.profile-editor .btn.secondary{background:#fff;color:#76618f;border-color:#e3d8f0}.profile-editor button:disabled{opacity:.45;cursor:default}.profile-save{display:flex;gap:10px;flex-wrap:wrap;margin:0}.profile-status{margin:0;min-height:1.5em;font-size:.85rem}.profile-crop{padding:18px;background:white;border:1px solid #ddd1f0;border-radius:20px}.profile-crop[hidden]{display:none!important}.profile-crop h3{margin:0 0 8px;font-size:1rem}.profile-crop p{font-size:.8rem;color:#7b6f8b}.profile-crop-view{position:relative;max-width:240px;aspect-ratio:1;margin:18px auto;overflow:hidden;border-radius:14px}.profile-crop canvas{display:block;width:100%;height:100%}.profile-crop-view>span{position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 50px #35284b80,inset 0 0 0 2px white;pointer-events:none}.profile-crop input[type=range]{width:100%;accent-color:#8968bd}.profile-crop .actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.account-menu-student{background:linear-gradient(145deg,#fff,#ddd2ff)!important}.account-menu-student svg{width:35px;height:35px;filter:drop-shadow(0 3px 2px #8b76b744)}.account-menu-courses{background:linear-gradient(145deg,#fff,#fff0cc)!important}.account-main:has(#account-profile-editor){min-width:0}.account-dialog .profile-editor{padding:22px;gap:20px;grid-template-columns:minmax(155px,.6fr) minmax(0,1.4fr)}.account-dialog .profile-large{width:120px;height:120px}.account-dialog .profile-field-grid{grid-template-columns:minmax(0,1fr)}
@media(max-width:800px){.profile-field-grid{grid-template-columns:minmax(0,1fr)}.account-dialog .profile-editor{grid-template-columns:minmax(0,1fr)}.account-dialog .profile-preview{padding:20px}.profile-privacy{max-width:360px}}
@media(max-width:680px){.profile-editor{grid-template-columns:minmax(0,1fr);padding:18px;gap:22px}.profile-preview{padding:22px 18px}.profile-save .btn{flex:auto}.profile-pencil{width:42px;height:42px}}
@media(min-width:1050px){#modal.account-dialog:has(#account-profile-editor){width:min(1200px,calc(100% - 48px));max-width:1200px}.account-dialog .profile-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.profile-pencil:hover{transform:none}}
/* One name, clear sections, compact account summary. */
body .profile-v113.profile-editor{display:grid!important;grid-template-columns:1fr!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;max-width:1100px;gap:22px!important;backdrop-filter:none}
body .profile-v113 .profile-preview{display:flex!important;flex-direction:row;align-items:center;text-align:left!important;gap:23px;padding:25px!important;margin:0!important;border:1px solid #fff!important;background:linear-gradient(120deg,#fdfcff,#e7eafa)!important;box-shadow:0 8px 24px #79628c0c!important}
.profile-v113 .profile-summary{flex:1;min-width:0}.profile-v113 .profile-photo-wrap{margin:0;flex-shrink:0}.profile-v113 .profile-large{width:108px;height:108px;font-size:2.5rem}.profile-v113 .profile-summary h2{margin:5px 0 10px;font-size:24px!important;font-weight:500!important;color:#554275!important}.profile-account-badges{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;color:#5d5672}.profile-account-badges>span{padding:6px 12px;background:#fffc;border-radius:12px}.profile-account-badges .profile-account-state{background:#dff2e9;color:#256f59}.profile-v113 .profile-privacy{margin:10px 0 0;max-width:450px}.profile-photo-actions{display:grid;gap:7px;max-width:160px;text-align:center}.profile-v113 .profile-fields{padding:25px!important;border-radius:24px;border:1px solid #fff!important;background:linear-gradient(125deg,#fff,#e6f0ff)!important;box-shadow:0 8px 24px #547ca10c!important}.profile-v113 .profile-section-title{margin:0!important}.profile-v113 .profile-section-title h3{font-size:20px;font-weight:500!important;color:#3d6798!important}.profile-v113 .profile-section-title>span{width:48px;height:48px;flex-shrink:0;border-radius:16px;background:linear-gradient(140deg,#fff,#c7e0fb);color:#4975a7;box-shadow:0 4px 0 #9cbad030,0 7px 13px #7996ba20}.profile-v113 .profile-section-title svg{width:32px;height:32px}.profile-v113 .profile-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.profile-v113 label{font-weight:500!important;font-size:15px}.profile-v113 .profile-notices{padding:25px;border-radius:24px;border:1px solid #fff;background:linear-gradient(125deg,#fff,#fff0e0)}.profile-v113 .profile-notices h3{color:#a66b38!important}.profile-v113 .profile-notices .profile-section-title>span{background:linear-gradient(140deg,#fff,#ffdec0);color:#b27a48}.profile-v113 .profile-preferences{padding:0;background:none;border:0}.profile-v113 .profile-preferences p{margin:14px 0;max-width:800px}.profile-v113 .profile-toggle{border-color:#efdbca}.profile-v113 .profile-toggle input{appearance:none;position:relative;width:42px;height:25px;border:1px solid #c9c5ce;border-radius:20px;background:#dedce4;cursor:pointer;transition:background .15s}.profile-v113 .profile-toggle input:before{content:'';position:absolute;width:19px;height:19px;top:2px;left:2px;border-radius:50%;background:#fff;box-shadow:0 2px 4px #0002;transition:transform .15s}.profile-v113 .profile-toggle input:checked{background:#c3834f;border-color:#bd7b45}.profile-v113 .profile-toggle input:checked:before{transform:translateX(17px)}.profile-save-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:0 3px}.profile-v113 .profile-save-bar p{margin:0}#profile-security-root{max-width:1100px;margin:auto}.profile-v113 .profile-photo-actions small{font-size:12px}.profile-v113 .profile-kicker{font-size:11px;font-weight:500}
@media(max-width:680px){body .profile-v113 .profile-preview{flex-wrap:wrap;padding:20px!important;gap:16px}.profile-v113 .profile-large{width:85px;height:85px}.profile-v113 .profile-summary h2{font-size:21px!important}.profile-v113 .profile-photo-actions{display:flex;max-width:none;flex-basis:100%;align-items:center;gap:14px;text-align:left}.profile-v113 .profile-field-grid{grid-template-columns:1fr!important}.profile-v113 .profile-summary{flex-basis:calc(100% - 110px)}.profile-v113 .profile-fields,.profile-v113 .profile-notices{padding:20px!important}.profile-save-bar{display:block}.profile-save-bar p{margin-top:10px!important}}
@media(prefers-reduced-motion:reduce){.profile-v113 .profile-toggle input,.profile-v113 .profile-toggle input:before{transition:none}}
body .profile-v113 .profile-preferences{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}body .profile-v113 .profile-notices{background:linear-gradient(125deg,#fff,#fff0e0)!important}

/* Photo controls stay beside the photo, without an empty action column. */
body .profile-v113 .profile-photo-wrap{padding-bottom:31px;position:relative;width:140px;text-align:center}body .profile-v113 .profile-photo-wrap .profile-large{margin:auto}body .profile-v113 .profile-pencil{bottom:32px;right:0;width:36px;height:36px}.profile-remove-icon{position:absolute;bottom:32px;left:0;width:34px;height:34px;padding:7px;border-radius:50%;border:1px solid #f3c6cf;background:#fff4f6;color:#b84a64;cursor:pointer;box-shadow:0 3px 8px #a44c6615}.profile-remove-icon svg{width:18px;height:18px}.profile-remove-icon:disabled{opacity:.4;cursor:default}.profile-photo-hint{position:absolute;bottom:0;left:0;right:0;font-size:10px!important;line-height:1.4!important;color:#6c6d80!important;margin:0!important}.profile-remove-icon:focus-visible{outline:3px solid #7264bd;outline-offset:3px}@media(max-width:680px){body .profile-v113 .profile-photo-wrap{width:112px}.profile-v113 .profile-summary{flex-basis:calc(100% - 140px)}}

/* Focused profile leaves retain the existing validated form and photo workflow. */
.ss-photo-view .profile-field-grid,.ss-photo-view .profile-notices,.ss-photo-view .profile-fields>.profile-section-title,.ss-photo-view .profile-fields>small{display:none!important}
.ss-photo-view .profile-fields:not(:has(.profile-crop:not([hidden]))){display:none}
.ss-card-view .za-id-full{width:min(100%,620px);margin:24px auto}
.ss-announcement{display:flex;align-items:center;justify-content:space-between;gap:18px}.ss-announcement h2{font-size:18px}
@media(max-width:600px){.ss-announcement{align-items:stretch;flex-direction:column}}
