/* Profile actions: full-width touch rows, shared by all themes. */
#overlay .profile-menu-modal{width:min(100%,440px);padding:22px;box-sizing:border-box}
.profile-menu-person{display:flex;gap:12px;align-items:center;min-width:0}
.profile-menu-person>div{min-width:0}.profile-menu-person h2{font-size:19px;margin:0 0 5px;line-height:1.3}.profile-menu-person p{margin:0;font-size:12px;overflow-wrap:anywhere;color:var(--muted)}
.profile-menu-person .avatar{flex:0 0 52px;width:52px;height:52px}
.profile-menu-goal{font-size:13px;line-height:1.5;margin:18px 0 22px;color:var(--muted)}
.profile-menu-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:9px}
#overlay .profile-menu-item{display:flex;align-items:center;gap:12px;width:100%;min-width:0;min-height:68px;padding:13px 14px;border:1px solid var(--line);border-radius:16px;background:var(--design-soft,var(--panel));color:var(--text);text-align:left;white-space:normal;word-break:normal;overflow-wrap:normal;box-shadow:none}
.profile-menu-copy{flex:1;min-width:0}.profile-menu-copy strong{display:block;font-size:14px;line-height:1.4;font-weight:650}.profile-menu-copy small{display:block;font-size:11px;line-height:1.5;font-weight:400;margin-top:3px;color:var(--muted)}
.profile-menu-icon{width:36px;height:36px;flex:0 0 36px;border-radius:11px;background:var(--design-accent-soft,#c5f77912);color:var(--lime);display:grid;place-items:center}
.profile-menu-icon svg{width:20px;height:20px;stroke-width:1.7}.profile-menu-item>.profile-menu-chevron{width:17px;height:17px;flex:0 0 17px;stroke-width:1.7;color:var(--muted)}
#overlay .profile-menu-item.profile-menu-primary{background:var(--lime);color:var(--design-primary-text,#172017);border-color:transparent}
.profile-menu-primary .profile-menu-icon{background:#0000000d;color:inherit}.profile-menu-primary .profile-menu-copy small,.profile-menu-primary>.profile-menu-chevron{color:inherit;opacity:.78}
#overlay .profile-menu-logout{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:20px;min-height:48px;width:100%;border-radius:14px;border:1px solid var(--line);background:transparent;color:var(--danger);font-size:13px}
.profile-menu-logout svg{width:18px;height:18px;stroke-width:1.7}
.topbar>.row{gap:8px;flex-shrink:0}.topbar :is(.theme-switch,.bell,button.avatar){width:44px;height:44px;min-height:44px;flex:0 0 44px;padding:10px;display:grid;place-items:center;border:1px solid var(--line);background:var(--design-soft,var(--panel));border-radius:14px}
.topbar button.avatar{border-radius:50%;font-size:13px;padding:0}.topbar .bell svg{width:21px;height:21px;stroke-width:1.7}.topbar .badge{top:-3px;right:-3px;min-width:17px;line-height:17px;padding:0 4px;font-size:10px}
.profile-menu-modal button:focus-visible{outline:2px solid var(--lime);outline-offset:3px}.profile-menu-modal button:active{transform:scale(.985)}
@media(max-width:380px){#overlay .profile-menu-modal{padding:18px}.topbar{padding-left:12px;padding-right:12px}.topbar>.row{gap:6px}.topbar .mobile-brand{font-size:17px;gap:6px}.topbar .mobile-brand img{width:24px;height:24px}}
@media(prefers-reduced-motion:reduce){.profile-menu-modal button{transition:none}.profile-menu-modal button:active{transform:none}}
