/* Shared MESC Labs identity. Page navigation and product content stay page-specific. */
.mesc-brand.mesc-brand {
  display: inline-flex; align-items: center; align-self: center; justify-content: flex-start;
  flex: 0 0 auto; gap: 13px; width: fit-content; max-width: 100%; min-height: 50px;
  margin: 0; padding: 0; border: 0; border-radius: 4px; background: transparent;
  color: #edf5fa; text-align: left; text-decoration: none; text-transform: none;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.25; letter-spacing: normal; box-shadow: none; transform: none;
}
.mesc-brand.mesc-brand img { display: block; flex: 0 0 50px; width: 50px; height: 50px; margin: 0; object-fit: contain; }
.mesc-brand.mesc-brand > span { display: block; max-width: none; margin: 0; padding: 0; }
.mesc-brand.mesc-brand strong { display: block; margin: 0; color: #edf5fa; font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: .01em; }
.mesc-brand.mesc-brand small { display: block; margin: 5px 0 0; color: #afc6d3; font-size: 10px; font-weight: 500; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }
.mesc-brand.mesc-brand:hover { color: #fff; text-decoration: none; }
.mesc-brand.mesc-brand:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.mesc-brand.mesc-brand:focus-visible { outline: 3px solid #87d9ed; outline-offset: 6px; }
.mesc-brand.mesc-brand--footer { align-self: start; }
.mesc-simple-header, .mesc-simple-footer { width: 100%; padding: 22px max(24px, calc((100% - 1180px) / 2)); color: #edf5fa; background: #061c2b; }
.mesc-simple-footer { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: auto; padding-block: 36px; }
.mesc-simple-footer > a:not(.mesc-brand) { color: #d7e8ef; font: 600 14px/1.5 ui-sans-serif, sans-serif; text-underline-offset: 4px; }
.demo-file-notice { max-width: 760px; margin: 64px auto; padding: 40px; color: #10283a; background: #fff; border: 1px solid #d8e4eb; border-radius: 20px; font: 17px/1.6 ui-sans-serif, sans-serif; }
.demo-file-notice h1 { font-size: 32px; line-height: 1.15; }
.demo-file-notice a { display: inline-block; padding: 10px 0; color: #0868b8; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.demo-file-notice[hidden], #demo-app[hidden] { display: none !important; }
.demo-product-bar .mesc-brand { margin-right: auto; }
.demo-product-bar { position: fixed; inset: 0 0 auto; z-index: 1035; min-height: 82px; }
body.dvp-demo, body.vaad-demo { padding-top: 82px; }
/* The legacy VAAD toolbar contains only a second logo, replaced by the shared header. */
body.vaad-demo dashboard > .navbar-fixed-top { display: none; }
.demo-context { margin-right: auto; }
body.dvp-demo dashboard > .navbar-fixed-top { top: 82px; }
@media (min-width: 901px) {
  .dvp-demo .navbar-default.sidebar, .vaad-demo .navbar-default.sidebar { top: 82px !important; height: calc(100vh - 82px) !important; }
}
@media (max-width: 980px) {
  .footer-top > .mesc-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .mesc-brand.mesc-brand { gap: 11px; min-height: 46px; }
  .mesc-brand.mesc-brand img { width: 46px; height: 46px; flex-basis: 46px; }
  header .mesc-brand.mesc-brand small { display: none; }
  .demo-file-notice { margin: 32px 16px; padding: 26px; }
}
