.vulpus-account-menu{position:relative;flex:0 0 auto;max-width:100%;margin-left:auto}.vulpus-account-menu .user-chip{margin:0;max-width:100%;display:inline-flex;gap:8px}.vulpus-account-chevron{font-size:16px;line-height:1;color:inherit;pointer-events:none}.vulpus-account-dropdown{position:absolute;right:0;top:calc(100% + 10px);width:264px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 120px);overflow-y:auto;background:var(--panel,#fff);color:var(--text,#172b49);border:1px solid var(--border,#dce5f2);border-radius:14px;padding:7px;box-shadow:0 12px 36px #102d5326;z-index:80}.vulpus-account-dropdown[hidden]{display:none!important}.vulpus-account-menu-item{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:11px 12px;border:0;border-radius:8px;background:transparent;text-align:left;color:inherit;font:inherit;font-size:14px;line-height:1.4;cursor:pointer;white-space:normal}.vulpus-account-menu-item:hover{background:var(--panel-soft,#eef4fd)}.vulpus-account-menu-item:focus-visible,.vulpus-account-dialog-close:focus-visible{outline:3px solid #598ad2;outline-offset:0}.vulpus-account-menu-item.is-danger{color:#ae2b37;border-top:1px solid var(--border,#dce5f2);border-radius:0 0 8px 8px;margin-top:5px}.vulpus-account-menu-item.is-google{border:1px solid #747775;border-radius:7px;font-family:GoogleSans,Arial,sans-serif;font-weight:500;background:#fff;color:#1f1f1f;margin-bottom:5px}.vulpus-account-menu-item.is-google img{flex:0 0 20px}.vulpus-account-menu-status,[data-google-direct-status]{font-size:13px;line-height:1.5;color:var(--muted,#526781);padding:8px 10px;margin:4px 0;overflow-wrap:anywhere}.vulpus-account-dialog{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--border,#dce5f2);border-radius:18px;background:var(--panel,#fff);color:var(--text,#172b49);box-shadow:0 20px 70px #102d5340;overflow:auto}.vulpus-account-dialog::backdrop{background:#10244073}.vulpus-account-dialog-open{overflow:hidden}.vulpus-account-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px 12px;position:sticky;top:0;background:var(--panel,#fff);z-index:1;border-bottom:1px solid var(--border,#e1e8f2)}.vulpus-account-dialog-head h2{font-size:21px;line-height:1.3;margin:0}.vulpus-account-dialog-close{min-width:44px;height:44px;font-size:28px;border:0;background:transparent;color:inherit;border-radius:8px;cursor:pointer}.vulpus-account-dialog-content{padding:0 22px 22px}.vulpus-account-dialog-content .auth-card{box-shadow:none;border:0;border-radius:0;padding:16px 0;margin:0;min-height:0;width:100%}.vulpus-account-dialog-content .auth-grid{display:grid;grid-template-columns:1fr;gap:14px}.vulpus-account-dialog-content .auth-actions{display:flex;flex-wrap:wrap;gap:8px}.vulpus-account-dialog-content input{max-width:100%;box-sizing:border-box}.vulpus-account-dialog-content .auth-card>h3,.vulpus-account-dialog-content .auth-card>.auth-badge{display:none}.vulpus-account-dialog-content .auth-card>p.muted{font-size:14px}.vulpus-account-dialog-content .vulpus-auth-purpose{min-width:0}.vulpus-account-dialog-content [data-vulpus-google-entry-block]{margin-top:0}@media(max-width:560px){.vulpus-account-menu{margin-left:0}.vulpus-account-menu .user-chip{min-height:44px}.vulpus-account-dropdown{position:fixed;right:12px;top:var(--vulpus-topbar-bottom,116px);width:280px;max-width:calc(100vw - 24px);max-height:calc(100dvh - var(--vulpus-topbar-bottom,116px) - 12px)}.vulpus-account-dialog-head{padding:12px 16px 8px}.vulpus-account-dialog-content{padding:0 16px 16px}.vulpus-account-dialog{max-height:calc(100dvh - 20px)}}

.vulpus-account-dialog-content .auth-session-note{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:10px;padding:12px;margin-top:20px;border:1px solid var(--border,#dce5f2);border-radius:12px;background:var(--panel-soft,#f8fafc);color:var(--muted,#526781)}.vulpus-account-dialog-content .auth-session-note svg{width:18px;height:18px;margin-top:2px}.vulpus-account-dialog-content .auth-session-note p{margin:0;font-size:12px;line-height:1.65}.vulpus-account-dialog-content .auth-card>.hero-badge{display:none}.vulpus-account-dialog-content .auth-field input{font-size:16px}
.vulpus-account-menu-note{font-size:12px;line-height:1.45;color:var(--muted,#526781);padding:10px 12px 4px;margin:0;border-top:1px solid var(--border,#dce5f2)}
#examScreen .vulpus-account-menu{margin:0;align-self:center}
#examScreen .reader-account-chip{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 11px;border:1px solid var(--border,#dce5f2);border-radius:10px;background:var(--panel,#fff);color:var(--text,#172b49);font-size:13px;line-height:1.3;font-weight:600;white-space:nowrap;cursor:pointer}
#examScreen .reader-account-chip .user-chip__icon,#examScreen .reader-account-chip svg{display:block;width:20px;height:20px;flex:0 0 20px}
#examScreen header.topbar:has([data-account-menu-trigger][aria-expanded=true]){z-index:65}
#examScreen .vulpus-account-menu-item{text-decoration:none;box-sizing:border-box}
@media(max-width:760px){#examScreen header.reader-compact-header .topbar-left{padding-right:46px}#examScreen header.reader-compact-header .vulpus-account-menu{grid-column:4;grid-row:1;justify-self:end;align-self:start}#examScreen .reader-account-chip{width:44px;min-width:44px;padding:10px}#examScreen .reader-account-label{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}#examScreen .reader-account-chip .vulpus-account-chevron{display:none}}

/* Compact account control: natural width, readable label and a proper touch target. */
@media(max-width:760px){
  html body .main>header.topbar{grid-template-columns:minmax(0,1fr) auto auto!important}
  html body .main>header.topbar .vulpus-account-menu>.user-chip{
    justify-self:end;align-self:center;justify-content:center;width:auto;min-width:44px;
    min-height:44px;padding:9px 10px;gap:7px;border-radius:12px;box-sizing:border-box;
    font-size:13px!important;line-height:1.25;white-space:nowrap;box-shadow:none
  }
  html body .main>header.topbar .user-chip>.user-chip__icon{
    display:grid!important;place-items:center;flex:0 0 19px;width:19px;height:20px
  }
  html body .main>header.topbar .user-chip>.user-chip__icon svg{display:block;width:19px;height:20px}
  html body .main>header.topbar .user-chip>span:not(.user-chip__icon):not(.vulpus-account-chevron){
    flex:0 1 auto;max-width:112px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.25
  }
  html body .main>header.topbar .user-chip>.vulpus-account-chevron{flex:0 0 10px;width:10px;font-size:14px;line-height:1;overflow:visible}
  html body .main>header.topbar .vulpus-account-menu>.language-switcher{align-self:center}
  html body .main>header.topbar .language-switcher__button{width:44px;min-width:44px;height:44px;min-height:44px;padding:0;font-size:13px}
  .vulpus-account-dropdown{box-sizing:border-box;overscroll-behavior:contain}
  #examScreen .reader-account-chip{border-radius:12px;box-sizing:border-box;padding:10px;box-shadow:none}
}
@media(max-width:360px){
  html body .main>header.topbar .vulpus-account-menu>.user-chip{width:52px;gap:5px;padding:9px 8px}
  html body .main>header.topbar .user-chip>span:not(.user-chip__icon):not(.vulpus-account-chevron){
    position:absolute!important;width:1px;height:1px;max-width:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap
  }
}

/* Give Menu, account and languages their own bounded header columns. */
@media(min-width:761px){
  html body .main>header.topbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;height:auto!important}
  html body .main>header.topbar>.topbar-left-area{min-width:0;max-width:100%}
  html body .main>header.topbar>.topbar-left-area>div:last-child{min-width:0;overflow-wrap:anywhere}
  html body .main>header.topbar>.vulpus-account-menu{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;max-width:100%;margin-left:0}
  html body .main>header.topbar .vulpus-account-menu>.language-switcher{flex:0 0 auto;margin:0}
}
@media(max-width:760px){
  html body .main>header.topbar{grid-template-columns:max-content minmax(44px,1fr) max-content!important}
  html body .main>header.topbar .vulpus-account-menu>.user-chip{min-width:44px;max-width:100%;overflow:hidden}
  html body .main>header.topbar .user-chip>span:not(.user-chip__icon):not(.vulpus-account-chevron){flex:1 1 auto;min-width:0}
}
@media(max-width:560px){
  .vulpus-account-dropdown{width:min(280px,calc(100% - 24px));max-width:calc(100% - 24px)}
}
