.ate-ui-language {
  min-height: 36px;
  max-width: 112px;
  padding: 4px 8px;
  border: 1px solid #ffffff55;
  border-radius: 7px;
  background: #ffffff15;
  color: #fff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.ate-ui-language option { background: #fff; color: #26364d; }
.ate-ui-language:focus-visible { outline: 2px solid #b9ccff; outline-offset: 2px; }
.site-header .ate-ui-language, .admin .ate-ui-language { margin-inline-start: 12px; flex-shrink: 0; }
.errorpage-header .ate-ui-language { margin-inline: auto 24px; }
.body--light .layout-userprofile,
.body--light :is(.oauth-consent,.unsubscribe) { background: #f4f6fa; color: #26364d; }
.body--light .layout-userprofile::before,
.body--light .layout-userprofile::after { display: none; }
.body--light .layout-userprofile-inner { border: 1px solid #e0e6ef; border-radius: 12px; background: #fff; }
.body--light :is(.oauth-consent-card,.unsubscribe-card) {
  border: 1px solid #e0e6ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 32px #17346a08;
}
.body--light :is(.layout-inbox,.layout-profile) .actions-bar {
  background: #f7f8fa;
  background-image: none;
  color: #26364d;
}
.body--light :is(.layout-inbox,.layout-profile) .actions-bar :is(.w-icon,iconify-icon) { color: #012596; }
.body--light .page-version-source-actions { background: #f4f6fa; color: #26364d; border-color: #e0e6ef; }
.body--light .asset-preview-frame[data-v-3cdbff59] { background-color: #f4f6fa; }
.body--light :is(.editor-blog,.editor-feedback,.editor-redirect) { background: #f4f6fa; }
@media (max-width: 600px) {
  .site-header .ate-ui-language, .admin .ate-ui-language { margin-inline-start: 6px; max-width: 92px; }
  .errorpage-header .ate-ui-language { margin-inline-end: 12px; }
  .errorpage-logo { width: 124px; }
  .errorpage-logo img { max-width: 100%; }
  .errorpage-brand { padding-inline: 12px; }
}

/* Shells that can open directly without loading a document theme. */
.body--light .w-page-container:is(.layout-inbox,.layout-search,.layout-tags,.layout-profile) {
  background: #f4f6fa;
  color: #26364d;
}
.body--light .w-page-container:is(.layout-inbox,.layout-search,.layout-tags,.layout-profile)::before,
.body--light .w-page-container:is(.layout-inbox,.layout-search,.layout-tags,.layout-profile)::after {
  display: none;
}
.body--light .layout-inbox .inbox-tab[data-v-fa7e8be5] {
  --inbox-tab-bg: #f7f8fa;
  color: #26364d;
  align-self: center;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  margin: 0;
  padding: 0 8px;
}
.body--light .layout-inbox .inbox-tab[data-v-fa7e8be5]::before,
.body--light .layout-inbox .inbox-tab[data-v-fa7e8be5]::after { display: none; }
.body--light .layout-inbox .inbox-tab[data-v-fa7e8be5] .w-btn { color: #012596; }
.body--light .layout-inbox .w-section-header { background: #fff; background-image: none; }
.body--light :is(.fileman,.glossary,.page-history) .card-header {
  background: #012596;
  background-image: none;
  color: #fff;
}
.body--light :is(.fileman-left,.fileman-right,.glossary-sidebar,.glossary-sidebar-tools) {
  background: #f7f8fa;
  background-image: none;
}

.ate-menu-toggle svg.ate-sidebar-home {
  display: block;
  width: 20px;
  height: 20px;
  color: #fff;
}
.w-layout .w-page-container:is(.layout-inbox,.layout-search,.layout-tags,.layout-profile) {
  padding: 20px 24px 0;
  gap: 16px;
  min-width: 0;
}
.w-layout .w-page-container.layout-inbox { padding-bottom: 24px; }
.w-layout .w-page-container > .ate-section-heading {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 16px;
  min-height: 36px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}
.ate-section-heading a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 11px;
  border: 1px solid #dee5f0;
  border-radius: 7px;
  background: #fff;
  color: #012596;
  text-decoration: none;
  font-size: 13px;
}
.ate-section-heading a:hover { background: #edf2ff; }
.ate-section-heading a:focus-visible { outline: 2px solid #537ee2; outline-offset: 2px; }
.ate-section-heading strong { color: #26364d; font-size: 19px; font-weight: 650; }
.w-layout .w-page-container > :is(.layout-inbox-card,.layout-search-card,.layout-tags-card,.layout-profile-card) {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1440px;
  min-width: 0;
  min-height: 0;
  margin: 0 auto;
  border: 1px solid #e0e6ef;
  border-radius: 10px;
  box-shadow: 0 3px 12px #17346a0c;
}
.body--light .w-page-container :is(.layout-inbox-sd,.layout-profile-sd,.layout-tags-sd,.layout-search-sd,.layout-tags-toolbar,.layout-tags-match) {
  background: #f7f8fa;
  background-image: none;
  border-color: #e0e6ef;
}
.ate-section-heading ~ :is(.layout-tags-card,.layout-search-card) :is(.layout-tags-back,.layout-search-back) { display: none; }
.body--light .w-page-container:is(.layout-tags,.layout-search,.layout-profile,.layout-inbox) > .w-footer {
  background: #f4f6fa;
  color: #52627a;
}
.body--light .layout-inbox .inbox-tab[data-v-fa7e8be5] :is(.w-btn,a,.w-icon,iconify-icon) {
  color: #012596 !important;
}
.body--light .site-header .searchpanel,
.body--light .w-dialog .card-header :is(.glossary-search,.fileman-search) {
  background: #fff;
  background-image: none;
  color: #26364d;
  border: 1px solid #e0e6ef;
}
.body--light .w-dialog .card-header :is(.glossary-search,.fileman-search) input,
.body--light .w-dialog .card-header :is(.glossary-search,.fileman-search) input::placeholder {
  color: #52627a;
}
.body--light .site-header .searchpanel-tip code { color: #012596; background: #eaf0fb; }
@media (max-width: 899.98px) {
  .w-layout .w-page-container:is(.layout-inbox,.layout-search,.layout-tags,.layout-profile) { padding: 14px 12px 0; gap: 12px; }
  .w-layout .w-page-container.layout-inbox { padding-bottom: 16px; }
  .w-layout .w-page-container > .ate-section-heading { gap: 10px; }
  .ate-section-heading strong { font-size: 16px; }
}
.body--light .w-page-container:is(.layout-tags,.layout-search,.layout-profile,.layout-inbox) > .w-footer > .site-footer {
  background: transparent;
  color: #52627a;
}

/* Reserve a fixed space for the chevron across browsers. */
.ate-ui-language {
  appearance: none;
  padding-inline: 10px 28px;
  background-image:
    linear-gradient(45deg, transparent 41%, currentColor 42% 57%, transparent 58%),
    linear-gradient(-45deg, transparent 41%, currentColor 42% 57%, transparent 58%);
  background-size: 5px 5px;
  background-position: right 16px center, right 11px center;
  background-repeat: no-repeat;
}

.ate-ui-language:dir(rtl) {
  background-position: left 11px center, left 16px center;
}

@media (forced-colors: active) {
  .ate-ui-language {
    appearance: auto;
    padding-inline-end: 8px;
    background-image: none;
  }
}
