/* JoyJoy account width v494
   Aligns secondary account pages with the Bot Management workspace.
   Deliberately excludes public pages, bot-specific dashboards and admin console. */

@media (min-width: 1081px) {
  body[data-account-page="profile"] .account-page-primary,
  body[data-account-page="promocode"] .account-page-primary,
  body[data-account-page="subscriptions"] .account-page-primary,
  body[data-account-page="security"] .account-page-primary {
    width: 100%;
    max-width: 1340px;
    margin-inline: auto;
  }

  body[data-account-page="profile"] .github-content,
  body[data-account-page="promocode"] .github-content,
  body[data-account-page="subscriptions"] .github-content,
  body[data-account-page="security"] .github-content {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 1080px) {
  body[data-account-page="profile"] .account-page-primary,
  body[data-account-page="promocode"] .account-page-primary,
  body[data-account-page="subscriptions"] .account-page-primary,
  body[data-account-page="security"] .account-page-primary {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }
}
