.profile-shortcut{display:flex;align-items:center;gap:9px;color:var(--navy-deep);text-decoration:none;min-width:0}
.profile-shortcut img{width:36px;height:36px;border-radius:50%;object-fit:cover;border:1px solid #dce3df}
.profile-shortcut small{display:block;font-size:.7rem;color:var(--muted)}
.dashboard-opening{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:32px;align-items:center;margin-bottom:28px}
.dashboard-opening .dashboard-welcome{margin:0;min-width:0}
.dashboard-opening .dashboard-welcome h1{font-size:clamp(2rem,4vw,3.5rem)}
.academic-leaders{min-width:0;padding:20px;border:1px solid #dce3df;border-radius:18px;background:#fafbf8}
.leaders-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}
.leaders-heading h2{font-size:1.05rem;margin:0;color:var(--navy-deep)}
.leaders-heading>span{font-size:.72rem;color:var(--muted)}
.leaders-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.leader-card{text-align:center;border:1px solid #e0e5e1;border-top:3px solid #adb8bf;border-radius:12px;padding:13px 8px;background:#fff;min-width:0}
.leader-card.rank-1{border-top-color:#b18a40;background:#fffdf7}.leader-card.rank-3{border-top-color:#ad8e76}
.leader-rank{display:block;font-size:.75rem;color:#495d65;font-weight:700;margin-bottom:12px}
.leader-portrait{display:block;width:68px;height:68px;border-radius:50%;object-fit:cover;margin:0 auto 10px;border:2px solid #e8ece6}
.rank-1 .leader-portrait{border-color:#d8c7a0}
.leader-card h3{font-size:.86rem;line-height:1.7;margin:0;overflow-wrap:anywhere;color:var(--navy-deep)}
.leader-me{font-size:.63rem;display:inline-block;padding:0 5px;margin-inline-start:4px;border-radius:4px;background:#e9f1ed;color:#245b46}
.leader-score{font-size:1.5rem;font-weight:750;line-height:1.5;color:#173d39;margin:8px 0 0;font-variant-numeric:tabular-nums}
.leader-score span{display:block;font-size:.64rem;font-weight:400;color:var(--muted)}
.leader-exams{font-size:.65rem;color:#66716d;margin:6px 0 0}
.leaders-method{font-size:.72rem;margin-top:12px;color:#52645e;line-height:1.8}
.leaders-method summary{cursor:pointer;width:fit-content}.leaders-method p{margin:8px 0 0}
.leaders-empty{grid-column:1/-1;border:1px dashed #d3ddd5;border-radius:10px;padding:22px;text-align:center;color:#536961}
.leaders-empty h3{font-size:1rem;margin:0 0 8px}.leaders-empty p,.leaders-pending{font-size:.75rem;margin:0;line-height:1.8}.leaders-pending{margin-top:10px;color:var(--muted)}
.profile-page{max-width:1050px;margin:auto}.profile-heading{margin:26px 0}.profile-heading h1{font-size:2.1rem;margin:0 0 8px}
.profile-layout{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:24px;align-items:start}
.profile-preview{text-align:center;padding:28px 20px;overflow-wrap:anywhere}.profile-preview>img{width:144px;height:144px;border-radius:50%;object-fit:cover;border:4px solid #e9eee7}
.profile-preview h2{font-size:1.2rem;margin:16px 0 8px}.profile-preview p{font-size:.86rem;line-height:1.8}.profile-security-note{border-top:1px solid #e0e6e1;padding-top:18px;color:var(--muted)}
.profile-form{padding:28px}.profile-form fieldset{border:0;border-bottom:1px solid #e4e9e3;margin:0 0 24px;padding:0 0 22px;min-width:0}
.profile-form legend{font-weight:700;color:var(--navy-deep);margin-bottom:8px}.profile-form legend .muted{font-size:.75rem;font-weight:400}
.profile-form .muted{font-size:.8rem;line-height:1.9}
.avatar-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}
.avatar-option{position:relative;cursor:pointer;min-width:0;margin:0!important}
.avatar-option>input{position:absolute;width:1px;height:1px;opacity:0;margin:0;padding:0}
.avatar-option>span{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 6px;border:2px solid #e2e8e1;border-radius:12px;background:#fafbf9}
.avatar-option img{width:60px;height:60px;border-radius:50%}.avatar-option b{font-size:.8rem}
.avatar-option input:checked+span{border-color:#376f5d;background:#eef5ee}.avatar-option input:focus-visible+span{outline:3px solid #b18a40;outline-offset:3px}
.profile-check{display:flex;align-items:flex-start;gap:12px;font-size:.87rem;line-height:1.8;margin-top:14px}
.profile-check input{width:18px;height:18px;flex:0 0 18px;margin:5px 0 0;accent-color:#376f5d}
.profile-check small{display:block;font-size:.73rem;color:var(--muted);font-weight:400}
.profile-form input[type=file]{max-width:100%;font-size:.85rem;padding:12px;background:#f6f8f4}
.profile-save{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.profile-save .muted{flex:1;min-width:150px}
@media(max-width:1000px){.dashboard-opening{grid-template-columns:1fr;gap:22px}.academic-leaders{max-width:700px;width:100%}.profile-layout{grid-template-columns:1fr}.profile-preview{display:block}.profile-preview>img{width:100px;height:100px}}
@media(max-width:480px){.academic-leaders{padding:14px 10px}.leaders-grid{gap:6px}.leader-card{padding:12px 5px}.leader-portrait{width:54px;height:54px}.leader-card h3{font-size:.75rem}.leader-score{font-size:1.24rem}.leader-rank{font-size:.68rem}.leader-exams{font-size:.6rem}.profile-form{padding:20px 16px}.profile-shortcut small{font-size:.65rem}.profile-heading h1{font-size:1.8rem}}
