:root{--user-header-h:65px}@media (min-width:768px){:root{--user-header-h:73px}}@media (min-width:1440px){:root{--user-header-h:77px}}.user-header{z-index:2000;color:#fff;background:#282462;border-bottom:1px solid #ffffff14;position:sticky;top:0}.user-header-container{max-width:calc(1280px + 2*clamp(16px,4vw,40px));height:calc(var(--user-header-h) - 1px);justify-content:space-between;align-items:center;gap:24px;margin:0 auto;padding:0 clamp(16px,4vw,40px);display:flex;position:relative}.header-left{flex-shrink:0;align-items:center;display:flex}.header-left img{width:96px;height:auto;display:block}.header-center{display:none}.header-right{align-items:center;gap:12px;display:flex}.login-button{color:#282462;cursor:pointer;background:#fff;border:none;border-radius:10px;justify-content:center;align-items:center;height:40px;padding:0 20px;font-size:15px;font-weight:700;transition:transform .16s,background-color .18s,box-shadow .18s;display:none}.login-button:hover{background:#f1f2fb;transform:translateY(-1px);box-shadow:0 8px 18px -10px #00000080}.login-button:active{transform:scale(.97)}.mobile-login{border-radius:12px;width:100%;height:48px;margin-top:12px;font-size:16px;display:flex}.hamburger{cursor:pointer;background:#ffffff14;border:1px solid #ffffff24;border-radius:10px;place-items:center;width:42px;height:42px;padding:0;display:inline-grid}.hamburger img{width:20px;height:auto}.mobile-menu{top:var(--user-header-h);width:100%;max-height:calc(100dvh - var(--user-header-h));height:calc(100dvh - var(--user-header-h));z-index:999;background:#282462;border-top:1px solid #ffffff14;flex-direction:column;gap:0;padding:8px clamp(16px,4vw,40px) 32px;animation:.2s ease-out mobile-menu-in;display:flex;position:fixed;left:0;overflow-y:auto}@keyframes mobile-menu-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.mobile-menu>a:not([href=\/login]){color:#fff;border-bottom:1px solid #ffffff1a;justify-content:space-between;align-items:center;padding:16px 0;font-size:20px;font-weight:600;text-decoration:none;display:flex}.mobile-menu>a:not([href=\/login]):after{content:"→";opacity:.5;font-weight:400}.mobile-menu a{color:#fff}.header-center a{color:#ffffffd1;border-radius:999px;align-items:center;height:38px;padding:0 14px;font-size:15px;font-weight:500;text-decoration:none;transition:background-color .18s,color .18s;display:inline-flex;position:relative}.header-center a:hover{color:#fff;background:#ffffff14}.header-center a.active-link{color:#fff;background:#ffffff1f;font-weight:700}.header-center a.active-link:after{content:"";background:#f4b617;border-radius:50%;width:4px;height:4px;margin-left:-2px;position:absolute;bottom:-6px;left:50%}.header-center a:focus-visible{outline-offset:2px;outline:3px solid #f4b617}.profile-avatar-btn:focus-visible{outline-offset:2px;outline:3px solid #f4b617}.login-button:focus-visible{outline-offset:2px;outline:3px solid #f4b617}.hamburger:focus-visible{outline-offset:2px;outline:3px solid #f4b617}.profile-wrapper{display:none;position:relative}.profile-avatar-btn{cursor:pointer;background:#ffffff1f;border:1.5px solid #ffffff40;border-radius:999px;outline:none;align-items:center;gap:6px;padding:4px 10px 4px 4px;transition:background .2s,border-color .2s,box-shadow .2s;display:flex}.profile-avatar-btn:hover,.profile-avatar-btn--open{background:#ffffff38;border-color:#ffffff80;box-shadow:0 0 0 3px #ffffff1a}.profile-avatar-initial{color:#282462;letter-spacing:.02em;width:30px;height:30px;box-shadow:none;background:#f4b617;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:13px;font-weight:700;display:flex}.profile-chevron{color:#fffc;transition:transform .25s}.profile-chevron--open{transform:rotate(180deg)}.profile-dropdown{--pd-ink:#15142e;--pd-ink-2:#46465e;--pd-muted:#77788c;--pd-line:#eceef3;--pd-hover:#f4f5f9;--pd-brand:#282462;--pd-brand-soft:#efeff8;--pd-danger:#d4363b;transform-origin:100% 0;z-index:3000;width:272px;color:var(--pd-ink);background:#fff;border:1px solid #15142e14;border-radius:14px;padding:6px;animation:.18s cubic-bezier(.2,.7,.2,1) dropdown-appear;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 18px 40px -16px #15142e59,0 2px 6px #15142e0f}@keyframes dropdown-appear{0%{opacity:0;transform:scale(.97)translateY(-4px)}to{opacity:1;transform:scale(1)translateY(0)}}.pd-account{align-items:center;gap:10px;padding:10px 10px 12px;display:flex}.pd-avatar{width:38px;height:38px;color:var(--pd-brand);background:#f4b617;border-radius:50%;flex:none;place-items:center;font-size:15px;font-weight:700;display:grid}.pd-account-text{flex:1;min-width:0}.pd-name,.pd-meta{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.pd-name{color:var(--pd-ink);font-size:14px;font-weight:700;line-height:1.3}.pd-meta{color:var(--pd-muted);margin-top:1px;font-size:12px}.pd-role{background:var(--pd-brand-soft);color:var(--pd-brand);letter-spacing:.06em;text-transform:uppercase;border-radius:999px;flex:none;align-self:flex-start;margin-top:2px;padding:3px 8px;font-size:10px;font-weight:700}.pd-group{border-top:1px solid var(--pd-line);padding:6px 0}.pd-group:last-child{padding-bottom:0}.pd-label{letter-spacing:.08em;text-transform:uppercase;color:var(--pd-muted);margin:0;padding:6px 10px 4px;font-size:10px;font-weight:700}.profile-dropdown-item{width:100%;font:inherit;color:var(--pd-ink-2);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;align-items:center;gap:10px;padding:9px 10px;font-size:13.5px;font-weight:500;line-height:1.25;text-decoration:none;transition:background-color .15s,color .15s;display:flex;position:relative}.profile-dropdown-item svg{color:var(--pd-muted);flex:none;transition:color .15s,transform .15s}.profile-dropdown-item:hover{background:var(--pd-hover);color:var(--pd-ink)}.profile-dropdown-item:hover svg{color:var(--pd-brand);transform:translate(1px)}.profile-dropdown-item:active{background:#ebecf3}.profile-dropdown-item:focus-visible{outline:2px solid var(--pd-brand);outline-offset:-2px}.profile-dropdown-item.is-current{background:var(--pd-brand-soft);color:var(--pd-brand);font-weight:700}.profile-dropdown-item.is-current svg{color:var(--pd-brand)}.profile-dropdown-item.is-current:after{content:"";background:#f4b617;border-radius:50%;width:6px;height:6px;margin-left:auto}.profile-dropdown-item--danger:hover{color:var(--pd-danger);background:#fdf0f0}.profile-dropdown-item--danger:hover svg{color:var(--pd-danger)}.profile-dropdown-item:disabled{opacity:.6;cursor:not-allowed}.mobile-profile-section{flex-direction:column;margin-top:8px;display:flex}.mobile-profile-banner{border-bottom:1px solid #ffffff1a;align-items:center;gap:12px;padding:14px 0;display:flex}.mobile-profile-avatar{color:#282462;background:#f4b617;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:15px;font-weight:700;display:flex}.mobile-profile-text{flex-direction:column;min-width:0;display:flex}.mobile-profile-name{color:#fff;white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:600;overflow:hidden}.mobile-profile-role{color:#ffffff8c;letter-spacing:.08em;text-transform:uppercase;margin-top:2px;font-size:11px;font-weight:700}.mobile-group{border-top:1px solid #ffffff1a;flex-direction:column;gap:2px;padding:10px 0;display:flex}.mobile-group:first-child{border-top:0}.mobile-group-label{color:#ffffff73;letter-spacing:.08em;text-transform:uppercase;margin:0 0 4px;font-size:11px;font-weight:700}.mobile-profile-link,.mobile-profile-logout{box-sizing:content-box;width:100%;min-height:44px;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:10px;align-items:center;gap:12px;margin:0 -12px;padding:0 12px;font-size:15px;font-weight:500;text-decoration:none;transition:background-color .15s,color .15s;display:flex}.mobile-profile-link{color:#ffffffd1!important}.mobile-profile-link svg,.mobile-profile-logout svg{opacity:.75;flex:none}.mobile-profile-link:hover,.mobile-profile-logout:hover{background:#ffffff12;color:#fff!important}.mobile-profile-link.is-current{background:#ffffff1f;font-weight:700;color:#fff!important}.mobile-profile-link.is-current svg{opacity:1}.mobile-profile-link.is-current:after{content:"";background:#f4b617;border-radius:50%;width:6px;height:6px;margin-left:auto}.mobile-profile-logout{color:#ffffffd1}.mobile-profile-logout--danger{color:#ff8a8a}.mobile-profile-logout--danger:hover{color:#ffb3b3!important}.mobile-profile-logout:disabled{opacity:.6;cursor:not-allowed}:is(.mobile-profile-link:focus-visible,.mobile-profile-logout:focus-visible){outline-offset:-2px;outline:2px solid #f4b617}@media (min-width:768px){.profile-wrapper{display:block}.header-left img{width:108px}.header-center{white-space:nowrap;align-items:center;gap:2px;display:flex}.header-center a{padding:0 10px;font-size:14px}.login-button{display:inline-flex}.hamburger,.mobile-menu,.mobile-login{display:none}.profile-avatar-initial{width:32px;height:32px;font-size:14px}}@media (min-width:1100px){.header-center{gap:4px;position:absolute;left:50%;transform:translate(-50%)}.header-center a{padding:0 14px;font-size:15px}}@media (min-width:1440px){.header-left img{width:120px}.profile-avatar-initial{width:36px;height:36px;font-size:15px}}@media (prefers-reduced-motion:reduce){.mobile-menu{animation:none}.login-button,.header-center a{transition:none}.profile-dropdown{animation:none}.profile-dropdown-item svg{transition:none;transform:none!important}}
