.site-header .brand{gap:10px}.site-header .brand .header-logo{width:48px;height:48px;object-fit:contain;border:0;background:transparent;box-shadow:none;flex:none}.site-header .header-wordmark{font-family:var(--font-display);font-size:20px;font-weight:800;letter-spacing:.3px;line-height:1;white-space:nowrap}.header-wordmark .midi{color:#f2a93b}.header-wordmark .worx{color:#fff}.site-header .nav-right{gap:16px}.header-profile-wrap{position:relative;margin-left:8px}.header-profile-button{width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--text);display:grid;place-items:center;cursor:pointer}.header-profile-button svg{width:19px;height:19px}.header-profile-button.is-signed-in{border-color:var(--amber)}.header-profile-menu{position:absolute;right:0;top:52px;width:240px;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:0 15px 40px #0009;z-index:30;display:grid;gap:4px}.header-profile-menu strong{padding:8px;font-size:12px;overflow-wrap:anywhere}.header-profile-menu a{padding:9px;font-size:13px;border-radius:6px}.header-profile-menu a:hover{background:var(--surface-2);color:var(--amber)}.account-dialog{width:min(440px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:28px;border:1px solid var(--line);border-radius:16px;background:#191c20;color:var(--text);box-shadow:0 30px 90px #000b}.account-dialog::backdrop{background:#080b0fd9;backdrop-filter:blur(3px)}.account-dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;font-size:11px;letter-spacing:1px;color:var(--amber);text-transform:uppercase}.account-dialog-top button{border:1px solid var(--line);border-radius:6px;background:transparent;color:var(--text);font-size:22px;width:34px;height:34px;cursor:pointer}.account-dialog h2{font-size:29px}.account-dialog-intro{font-size:13px;color:var(--muted);margin:12px 0 20px}.account-dialog .support-form{margin:0 0 18px;gap:16px;display:grid}.account-dialog .support-form label{font-size:13px;display:grid;gap:6px}.account-dialog .support-form input{width:100%;background:#101215;border:1px solid var(--line);padding:11px 12px;border-radius:7px;color:var(--text)}.account-dialog>a,.account-service-status{font-size:12px;color:var(--muted)}.account-dialog .captcha-notice{font-size:10px;line-height:1.6}.header-profile-menu[hidden]{display:none}@media(max-width:650px){.site-header .brand .header-logo{width:40px;height:40px}.site-header .header-wordmark{font-size:16px}.site-header .brand{gap:7px}.header-profile-wrap{margin-left:0}.site-header .nav-right{gap:10px}.account-dialog{padding:22px}}

/* Explicit centering survives the global margin reset. */
.account-dialog{position:fixed;inset:0;margin:auto;overflow:auto;box-sizing:border-box;max-height:calc(100dvh - 32px)}

.header-profile-wrap{display:flex;align-items:center;gap:10px;flex:none}.header-profile-wrap [data-profile-greeting]{font-size:13px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-profile-button img{width:100%;height:100%;object-fit:cover;border-radius:50%}.header-profile-menu button{padding:9px;text-align:left;font:inherit;font-size:13px;background:transparent;border:0;color:inherit;cursor:pointer}.header-profile-menu button:hover{background:#262c33}.topbar .header-profile-wrap{margin-left:auto}.anonymous-profile-bar{display:flex;justify-content:flex-end;padding:18px 28px}.anonymous-profile-bar[hidden]{display:none}.account-dialog{--text:#ecebe7;--muted:#a9afb7;--line:#343a42;--surface:#191c20}.account-dialog .btn{padding:11px;border:1px solid #66502d;border-radius:7px;background:#f2a93b;color:#211500;font-weight:650;cursor:pointer}@media(max-width:650px){.header-profile-wrap [data-profile-greeting]{max-width:90px;font-size:12px}.anonymous-profile-bar{padding:14px 16px}}

.header-profile-button{background:#191c20;color:#ecebe7;border-color:#343a42}.header-profile-menu{background:#191c20;color:#ecebe7;border-color:#343a42}.header-profile-button svg[hidden]{display:none}

body.has-fixed-site-header{padding-top:var(--mwx-header-height,78px)}.has-fixed-site-header .site-header{position:fixed;inset:0 0 auto;z-index:70;background:#0f1012f2;backdrop-filter:blur(14px)}html{scroll-padding-top:calc(var(--mwx-header-height,72px) + 20px)}

/* Shared profile menu appearance across public and dashboard pages. */
.header-profile-menu a,.header-profile-menu button{display:block;width:100%;box-sizing:border-box;margin:0;padding:9px;border:0;border-radius:6px;background:transparent;color:#ecebe7;font-family:inherit;font-size:13px;font-weight:400;line-height:1.5;text-align:left;text-decoration:none;box-shadow:none;min-height:0;cursor:pointer}.header-profile-menu button:hover:not(:disabled),.header-profile-menu a:hover{background:#262c33;color:#f2a93b;border-color:transparent}.header-profile-menu a:focus-visible,.header-profile-menu button:focus-visible{outline:2px solid #f2a93b;outline-offset:2px}

/* Profile tools stay at the same viewport edge on every page. */
.site-header .nav-right{position:absolute;top:50%;right:32px;transform:translateY(-50%);margin-left:0}.site-header .wrap.nav{padding-right:calc(var(--mwx-profile-tools-width,230px) + 64px)}.site-header .nav-right .header-profile-wrap{order:2;margin-left:0}.site-header .nav-right .menu-btn{order:1}.header-profile-wrap .header-profile-greeting{display:block;width:auto;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit;font:inherit;font-size:13px;font-weight:400;line-height:1.5;text-align:left;cursor:pointer}.header-profile-wrap .header-profile-greeting:hover:not(:disabled){background:transparent;border-color:transparent;color:#f2a93b}.topbar{padding-right:32px}.anonymous-profile-bar{padding-right:32px}@media(max-width:650px){.site-header .nav-right{right:16px}.site-header .wrap.nav{padding-right:calc(var(--mwx-profile-tools-width,170px) + 32px)}.topbar,.anonymous-profile-bar{padding-right:16px}.header-profile-wrap .header-profile-greeting{font-size:12px}}@media(max-width:400px){.site-header .brand .header-logo{width:32px;height:32px}.site-header .header-wordmark{font-size:14px}.site-header .header-profile-wrap [data-profile-greeting]{max-width:45px}.site-header .nav-right{gap:8px}.site-header .header-profile-wrap{gap:7px}}
