.profile-menu{position:relative;flex-shrink:0;color:#142d3c;font-family:inherit}
.profile-button{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid #cbd9df;border-radius:24px;background:#fff;color:inherit;font:inherit;cursor:pointer}
.profile-button svg{width:22px;height:22px}
.profile-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:110;width:min(280px,calc(100vw - 32px));padding:18px;background:#fff;border:1px solid #ccd9df;border-radius:16px;box-shadow:0 12px 36px #09203530;text-align:left}
.profile-panel[hidden]{display:none}
.profile-panel p{font-size:13px;line-height:1.6;margin:8px 0 14px;color:#526773}
.profile-panel button,.profile-panel a{display:block;box-sizing:border-box;width:100%;padding:12px;text-align:left;color:#142d3c;background:#f1f6f8;border:0;border-radius:8px;font:inherit;font-size:14px;text-decoration:none;cursor:pointer;margin-top:8px}
.profile-panel [hidden]{display:none}
.profile-button:focus-visible,.profile-panel button:focus-visible,.profile-panel a:focus-visible{outline:3px solid #3296c8;outline-offset:3px}
.smart .profile-button{background:#ffffff0c;color:#e5edf2;border-color:#ffffff30;font-size:12px;padding:6px 9px}
.smart .profile-panel{color:#142d3c}
@media(max-width:600px){.profile-button{font-size:12px;padding:6px 9px}.profile-button svg{width:18px;height:18px}}

.blueprint .profile-button{color:#f4e7d7;background:#ffffff0c;border:1px solid #ffffff65;padding:8px 12px}
.blueprint .profile-panel button{background:#f1f6f8;color:#142d3c;padding:12px}
