#app[hidden], .website-auth-gate[hidden], .website-account-banner[hidden], .website-account-menu[hidden], .website-auth-gate [hidden] { display: none !important; }
/* Website account controls share one row with the complete application menu.
   Size each group to its contents so a shrinking menu cannot paint underneath
   the controls. On narrow windows the row scrolls instead of hiding or wrapping. */
.topbar-main {
  align-self: stretch;
  gap: 10px;
  padding: 0 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: auto;
}
.topbar-main::-webkit-scrollbar { height: 3px; }
.topbar-main::-webkit-scrollbar-thumb { background: var(--theme-border, #51565b); }
.topbar-main::-webkit-scrollbar-track { background: transparent; }
.topbar-main .brand { min-width: 0; flex: 0 0 auto; gap: 6px; }
.topbar-main .cad-menu { flex: 0 0 auto; gap: 6px; }
.topbar-main .cad-menu span { display: inline-flex; flex: 0 0 auto; }
.topbar-main .switchers { flex: 0 0 auto; flex-wrap: nowrap; gap: 4px; }
.topbar-main .switchers > * { flex: 0 0 auto; }
.topbar-main .switchers select { max-width: none; }
.topbar-main .switchers select:not(#versionSelect):not(#themeSelect) { display: block; }
.topbar-main .website-account-menu { margin-left: 2px; }
.website-auth-gate { box-sizing: border-box; width: min(500px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: auto; border: 1px solid #afc2c8; border-radius: 12px; box-shadow: 0 16px 70px #001c3045; color: #112c3a; background: #f8fbfc; font: 14px/1.55 "Segoe UI", "Microsoft YaHei", sans-serif; }
.website-auth-gate:not([open]) { display: none; }
.website-auth-gate::backdrop { background: #001d3785; }
.website-auth-gate.is-terms { width: min(760px, calc(100vw - 32px)); }
.website-auth-panel { padding: 28px; }
.website-auth-content { width: 100%; }
.website-auth-content h2 { color: #13394a; font-size: 24px; font-weight: 650; margin: 0; }
.website-auth-subtitle { color: #5c747e; margin: 12px 0 22px; }
.website-auth-edition { color: #006985; font-size: 12px; font-weight: 650; margin: 0 0 8px; }
.website-auth-content form { width: 100%; }
.website-auth-gate button.website-auth-close { flex-shrink: 0; margin-left: 12px; padding: 4px 10px; border: 1px solid transparent; color: #1b4c60 !important; background: transparent !important; font-size: 25px; line-height: 1.2; }
.website-auth-gate button.website-auth-close:hover,
.website-auth-gate button.website-auth-close:focus-visible { color: #123848 !important; background: #e1edf1 !important; border-color: #9ab5c0; }
.website-auth-gate button.website-auth-close:focus-visible { outline: 2px solid #006d8c; outline-offset: 2px; }
.website-auth-content label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 9px; }
.website-auth-content input:not([type="checkbox"]) { display: block; box-sizing: border-box; width: 100%; height: 46px; margin-top: 8px; border: 1px solid #c4d0d4; background: #fff; color: #153341; border-radius: 5px; padding: 10px 12px; font: inherit; outline: none; }
.website-auth-content input:focus-visible { border-color: #006d8c; box-shadow: 0 0 0 3px #006d8c1b; }
.website-auth-hint { color: #607681; font-size: 11px; margin: 7px 0 20px; }
.website-auth-gate button, .website-account-logout button, .website-account-banner button { cursor: pointer; font: 600 13px/1.3 "Segoe UI", "Microsoft YaHei", sans-serif; border-radius: 5px; padding: 12px 16px; border: 1px solid #b8cbd2; color: #1b4c60; background: #fff; }
.website-auth-gate button:disabled { cursor: default; opacity: .5; }
.website-auth-gate .website-auth-primary, .website-account-logout .website-auth-primary { border-color: #006f8b; background: #006f8b; color: #fff; }
.website-auth-gate button:focus-visible, .website-account-banner button:focus-visible { outline: 3px solid #9ec9d2; outline-offset: 3px; }
.website-auth-content form > button { width: 100%; margin-top: 17px; height: 47px; }
.website-auth-message { margin: 0 0 16px; color: #315969; font-size: 13px; overflow-wrap: anywhere; }
.website-auth-message:empty { display: none; }
.website-auth-message.is-error { color: #a82f30; border-left: 3px solid #bd4949; padding: 9px 12px; background: #fff0ef; }
.website-auth-switch { margin: 25px 0 0; color: #657b83; font-size: 13px; }
.website-auth-switch button, .website-auth-return { border: 0 !important; padding: 2px 0 !important; background: transparent !important; color: #006985 !important; }
.website-auth-return { display: block; margin-top: 24px; text-decoration: underline; }
.website-auth-document { white-space: pre-wrap; max-height: 44vh; min-height: 180px; overflow: auto; border: 1px solid #c7d3d7; background: #fff; border-radius: 6px; padding: 22px; color: #263d48; font: 13px/1.65 Georgia, "Times New Roman", serif; overflow-wrap: anywhere; }
.website-auth-content .website-auth-agree { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; font-size: 13px; font-weight: 500; }
.website-auth-agree input { margin: 4px 0 0; width: 17px; height: 17px; accent-color: #006f8b; }
.website-auth-agree small { color: #617c86; font-size: 11px; }
.website-auth-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.website-account-menu { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-left: 8px; }
.website-edition-label { padding: 3px 8px; border: 1px solid currentColor; border-radius: 4px; font-size: 11px; font-weight: 600; white-space: nowrap; opacity: .9; }
.website-edition-link { color: inherit; font-size: 11px; text-underline-offset: 3px; white-space: nowrap; }
.website-profile-edition-link { display: inline-block; margin: 0 0 18px; color: #006985; font-weight: 600; text-underline-offset: 3px; }
.account-feature-locked > a { display: inline-block; color: inherit; margin-top: 4px; text-underline-offset: 3px; }
.website-account-banner { position: fixed; z-index: 18000; bottom: 22px; right: 22px; box-sizing: border-box; max-width: min(580px, calc(100vw - 44px)); padding: 20px; border: 1px solid #82a9b5; border-radius: 8px; box-shadow: 0 10px 40px #001c3030; background: #f6fbfc; color: #143d4e; font: 13px/1.5 "Segoe UI", "Microsoft YaHei", sans-serif; }
.website-account-banner p { margin: 6px 0 16px; }
.website-account-logout { max-width: 530px; border: 1px solid #afc2c8; border-radius: 10px; padding: 28px; background: #fff; color: #143747; }
.website-account-logout::backdrop { background: #001d37aa; }
.website-account-logout h2 { margin: 0 0 16px; }
.website-account-management { box-sizing: border-box; width: min(540px, calc(100vw - 36px)); max-height: calc(100vh - 40px); overflow: auto; padding: 28px; color: #143747; background: #f8fbfc; border: 1px solid #afc2c8; border-radius: 12px; font: 14px/1.6 "Segoe UI", "Microsoft YaHei", sans-serif; }
.website-account-management::backdrop { background: #001d37aa; }
.website-account-heading { display: flex; justify-content: space-between; align-items: center; }
.website-account-heading h2 { margin: 0; font-size: 23px; }
.website-account-management button { cursor: pointer; font: inherit; padding: 9px 14px; color: #1b4c60; background: #fff; border: 1px solid #b8cbd2; border-radius: 6px; }
.website-account-management button:disabled { opacity: .5; cursor: default; }
.website-account-management .website-auth-primary { background: #006f8b; color: #fff; border-color: #006f8b; }
.website-account-management input { box-sizing: border-box; display: block; width: 100%; margin-top: 8px; padding: 11px; border: 1px solid #b8cbd2; border-radius: 6px; background: #fff; color: #143747; font: inherit; }
.website-account-management form { padding: 20px; margin: 18px 0; border: 1px solid #cbdde3; background: #eef5f7; border-radius: 8px; }
.website-account-management [hidden] { display: none !important; }
.website-account-tier { display: inline-block; margin: 0; padding: 5px 12px; border-radius: 20px; color: #006079; background: #dceef2; font-weight: 600; }
.website-account-management .website-auth-message { margin-top: 18px; }
@media (max-width: 560px) { .website-auth-panel { padding: 22px 20px; } .website-auth-content h2 { font-size: 21px; } .website-auth-document { max-height: 42vh; padding: 16px; } }
