/* One presentation contract for the website and the knowledge base. The service publishes
   this same stylesheet through its fixed brand route. Light is the no-script fallback. */
.brand-logo { display: inline-grid; align-items: center; max-width: 100%; flex: none; line-height: 0; }
.brand-logo > img { display: none; grid-area: 1 / 1; width: 100%; height: auto; }
.brand-logo > .brand-logo__light { display: block; }
.brand-logo--header { width: 186px; }
.brand-logo--footer { width: 190px; }
.brand-logo--compact { width: 150px; }
.brand-logo--app-icon { width: 23px; }
html[data-theme="dark"] .brand-logo > img,
html[data-theme="contrast"] .brand-logo > img { display: none; }
html[data-theme="dark"] .brand-logo > .brand-logo__dark,
html[data-theme="contrast"] .brand-logo > .brand-logo__contrast { display: block; }
@media (max-width: 900px) {
  .brand-logo--header { width: 164px; }
}
@media (max-width: 380px) {
  .brand-logo--header { width: 147px; }
}
/* Keep the supplied colour artwork on its fixed light canvas with either system palette. */
@media (forced-colors: active) {
  .brand-logo { background: var(--brand-preview-light); forced-color-adjust: none; }
  html .brand-logo > .brand-logo__dark, html[data-theme] .brand-logo > .brand-logo__dark,
  html .brand-logo > .brand-logo__contrast, html[data-theme] .brand-logo > .brand-logo__contrast { display: none; }
  html .brand-logo > .brand-logo__light, html[data-theme] .brand-logo > .brand-logo__light { display: block; }
}
