/* Personal workbench: scoped to My, without changing shared account behavior. */
#myPage .my-page-shell.my-dashboard{display:block;width:min(100%,900px);max-width:900px;margin:0 auto;padding:0 0 28px;color:var(--rp-text);}
#myPage .my-dashboard-profile{position:relative;isolation:isolate;display:flex;align-items:flex-end;min-height:290px;padding:32px;box-sizing:border-box;overflow:hidden;border-radius:24px;background:var(--rp-surface);border:0;box-shadow:none;}
#myPage .my-dashboard-profile.has-background{color:white;}
#myPage .my-dashboard-profile.has-background::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(0,0,0,.08) 20%,rgba(0,0,0,.62) 100%);pointer-events:none;}
#myPage .my-dashboard-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;}
#myPage .my-dashboard-profile:not(.has-background) .my-dashboard-cover{display:none;}
#myPage .my-dashboard-profile a{color:inherit!important;}
#myPage .my-dashboard-identity{display:flex;align-items:center;gap:22px;min-width:0;width:100%;padding-top:46px;}
#myPage .my-dashboard-avatar{display:block;flex:0 0 88px;width:88px;height:88px;color:inherit;}
#myPage .my-dashboard-avatar .avatar-frame-wrapper{width:100%;height:100%;}
#myPage .my-dashboard-avatar .profile-avatar{display:block;width:88px;height:88px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.8);box-shadow:none;transform:none!important;}
#myPage .my-dashboard-copy{min-width:0;}
#myPage .my-dashboard-name-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px;}
#myPage .my-dashboard-name{font-size:30px;font-weight:650;letter-spacing:-.7px;line-height:1.25;color:inherit;text-decoration:none;overflow-wrap:anywhere;}
#myPage .my-dashboard-role{font-size:12px;line-height:1.5;padding:3px 9px;border-radius:8px;background:var(--rp-surface-2);color:var(--rp-text-2);}
#myPage .has-background .my-dashboard-role{background:rgba(0,0,0,.24);color:rgba(255,255,255,.95);}
#myPage .my-dashboard-city,#myPage .my-dashboard-bio{margin:9px 0 0;font-size:14px;line-height:1.65;color:var(--rp-text-2);overflow-wrap:anywhere;white-space:pre-line;}
#myPage .has-background .my-dashboard-city,#myPage .has-background .my-dashboard-bio{color:rgba(255,255,255,.92);}
#myPage .my-dashboard-edit{position:absolute;top:16px;right:16px;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:0;background:transparent;color:inherit;text-decoration:none;box-shadow:none;}
#myPage .my-dashboard-edit svg{width:20px;height:20px;}
#myPage .my-dashboard-edit:hover{background:rgba(128,128,128,.15);}
#myPage .has-background .my-dashboard-edit{background:rgba(0,0,0,.13);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);}
#myPage .has-background .my-dashboard-edit:hover{background:rgba(0,0,0,.25);}
#myPage .my-dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:25px 0 27px;margin:0 0 8px;}
#myPage .my-dashboard-stats>a,#myPage .my-dashboard-stats>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px 4px;min-width:0;border-radius:16px;color:inherit;text-decoration:none;}
#myPage .my-dashboard-stats>a:hover{background:var(--rp-surface-2);}
#myPage .my-dashboard-stats strong{font-size:28px;font-weight:600;line-height:1.2;letter-spacing:-.8px;font-variant-numeric:tabular-nums;}
#myPage .my-dashboard-stats span{font-size:13px;color:var(--rp-text-2);}
#myPage .my-dashboard-stats-error{font-size:13px;color:var(--rp-text-2);margin:0 0 24px;text-align:center;}
#myPage .my-dashboard-section{margin:0 0 28px;}
#myPage .my-dashboard-heading{font-size:13px;font-weight:500;line-height:1.5;color:var(--rp-text-2);margin:0 0 10px;padding:0 18px;}
#myPage .my-dashboard-list{display:flex;flex-direction:column;padding:6px;background:var(--rp-surface);border-radius:20px;gap:0;}
#myPage .my-dashboard .my-dashboard-row{display:flex;align-items:center;gap:16px;width:100%;min-height:64px;box-sizing:border-box;padding:17px 18px;margin:0;border:0!important;border-radius:14px;background:transparent!important;color:var(--rp-text);font:inherit;text-align:left;box-shadow:none!important;transform:none!important;cursor:pointer;transition:background-color 150ms ease;}
#myPage .my-dashboard .my-dashboard-row:hover,#myPage .my-dashboard .my-dashboard-row:focus-visible{background:var(--rp-surface-2)!important;}
#myPage .my-dashboard .my-dashboard-row::before,#myPage .my-dashboard .my-dashboard-row::after{display:none!important;}
#myPage .my-dashboard-row>svg{flex:0 0 23px;width:23px;height:23px;fill:none;stroke:#007aff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
#myPage .my-dashboard-row .menu-title{font-size:15px;font-weight:500;line-height:1.5;flex:1;color:inherit;}
#myPage .my-dashboard-chevron{display:block;width:7px;height:7px;flex:0 0 7px;border-right:1.5px solid var(--rp-text-2);border-top:1.5px solid var(--rp-text-2);transform:rotate(45deg);margin-right:4px;opacity:.65;}
#myPage .my-dashboard-unread{min-width:20px;height:20px;box-sizing:border-box;border-radius:10px;padding:0 6px;font-size:11px;line-height:20px;text-align:center;background:var(--rp-surface-2);color:var(--rp-text-2);}
#myPage .my-dashboard-management>.my-dashboard-row{background:var(--rp-surface)!important;border-radius:18px;}
#myPage .my-dashboard-footer{padding:0 0 4px;text-align:center;}
#myPage .my-dashboard-logout{min-height:44px;padding:10px 18px;border:0;border-radius:12px;background:transparent;color:var(--rp-text-2);font:inherit;font-size:14px;box-shadow:none;cursor:pointer;}
#myPage .my-dashboard-logout:hover{background:var(--rp-surface-2);color:var(--rp-text);}
#myPage .my-dashboard :is(a,button):focus-visible{outline:2px solid #007aff;outline-offset:3px;}
@media(max-width:600px){
 #myPage .my-dashboard-profile{min-height:270px;padding:22px;border-radius:22px;}
 #myPage .my-dashboard-identity{align-items:flex-start;gap:16px;}
 #myPage .my-dashboard-avatar{flex-basis:68px;width:68px;height:68px;}
 #myPage .my-dashboard-avatar .profile-avatar{width:68px;height:68px;}
 #myPage .my-dashboard-name{font-size:24px;letter-spacing:-.5px;}
 #myPage .my-dashboard-role{font-size:11px;}
 #myPage .my-dashboard-stats{padding:18px 0 23px;gap:0;}
 #myPage .my-dashboard-stats strong{font-size:24px;letter-spacing:-.6px;}
 #myPage .my-dashboard-stats span{font-size:12px;}
 #myPage .my-dashboard .my-dashboard-row{padding:16px 14px;min-height:62px;gap:14px;}
}
/* Page fades are owned by page-motion.js; do not replay a second entry animation. */
@media(prefers-reduced-motion:reduce){#myPage .my-dashboard *{transition:none!important;animation:none!important;}}
