/* JD Library v45: compact account box with exactly one visible role indicator. */
#jd-workspace .jd-page-approved-banner{position:relative;}
#jd-workspace .jd-auth-widget{
  position:absolute;z-index:4;right:17px;bottom:18px;max-width:min(540px,63%);
  display:flex;align-items:center;justify-content:flex-end;gap:9px 14px;
  flex-wrap:wrap;padding:9px 12px;color:#fff;background:rgba(3,43,92,.87);
  border:1px solid rgba(255,255,255,.3);border-radius:8px;
  font:600 13px/1.4 Arial,Helvetica,sans-serif;
}
#jd-workspace .jd-auth-identity{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#jd-workspace .jd-auth-role,
#jd-workspace .jd-auth-role-select{box-sizing:border-box;border-radius:6px;font:700 12px/1.4 Arial,Helvetica,sans-serif;white-space:nowrap;}
#jd-workspace .jd-auth-role{padding:6px 10px;}
#jd-workspace .jd-auth-role-select{width:auto;max-width:175px;min-width:126px;height:32px;padding:4px 6px;cursor:pointer;}
#jd-workspace .jd-auth-guest{color:#253f50;background:#e5ecf1;border:1px solid #b4c6d3;}
#jd-workspace .jd-auth-viewer{color:#0b4b7a;background:#e2effc;border:1px solid #a1c9ec;}
#jd-workspace .jd-auth-administrator{color:#125e2f;background:#dbf3e3;border:1px solid #9bdbb0;}
#jd-workspace .jd-auth-link,#jd-workspace .jd-auth-button{color:#fff;text-decoration:underline;font-weight:700;white-space:nowrap;}
#jd-workspace .jd-auth-button{border:0;background:transparent;cursor:pointer;font:inherit;padding:4px;}
#jd-workspace .jd-auth-link:hover,#jd-workspace .jd-auth-button:hover{color:#d7ebff;}
#jd-workspace .jd-auth-note{flex:1 1 100%;font-size:11px;text-align:right;color:#e1e8ef;font-weight:400;}
#jd-workspace .jd-auth-widget [hidden]{display:none!important;}
@media(max-width:1100px){
 #jd-workspace .jd-auth-widget{position:relative;inset:auto;max-width:none;justify-content:flex-start;
 margin:-2px 0 8px;background:#083e77;border-radius:0;box-shadow:none;}
 #jd-workspace .jd-auth-identity{max-width:55vw;}
 #jd-workspace .jd-auth-note{text-align:left;}
}
