/* Presentation for the shared React shell in retained releases. */
:root {
  --dt-masthead-height: 4.5rem;
  --dt-masthead-gutter: clamp(1.25rem, 3.2vw, 2.75rem);
  --dt-masthead-canvas: #f2f8fc;
  --dt-masthead-ink: #101d38;
  --dt-masthead-rule: #d5e0ed;
  --dt-masthead-action: #0b5fff;
  --dt-masthead-action-hover: #0a4fe0;
  --site-header-offset: calc(var(--dt-masthead-height) + 2px);
}

html body header[data-site-navigation] {
  position: fixed;
  top: 0 !important;
  inset-inline: 0 !important;
  width: 100% !important;
  max-width: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--dt-masthead-canvas) !important;
  color: var(--dt-masthead-ink);
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html body header[data-site-navigation] > nav {
  position: relative;
  max-inline-size: 85rem !important;
  min-height: var(--dt-masthead-height) !important;
  height: var(--dt-masthead-height) !important;
  padding-inline: var(--dt-masthead-gutter) !important;
}

html body header[data-site-navigation] > nav::after {
  content: "";
  position: absolute;
  inset: auto var(--dt-masthead-gutter) 0;
  border-block-end: 1px solid var(--dt-masthead-rule);
  pointer-events: none;
}

header[data-site-navigation] > nav > a img,
.dt-mobile-drawer .dt-drawer-bar > a img {
  inline-size: 7rem !important;
  block-size: auto;
}

header[data-site-navigation] > nav > div :is(a, button)[aria-current] {
  text-decoration: none;
}

header[data-site-navigation] > nav a[href*="/signup"] {
  min-block-size: 2.6rem;
  padding-block: .65rem !important;
  padding-inline: 1rem !important;
  border-radius: 999px !important;
  background: var(--dt-masthead-action) !important;
  box-shadow: none !important;
}

header[data-site-navigation] > nav a[href*="/signup"]:hover {
  background: var(--dt-masthead-action-hover) !important;
}

.dt-site-footer .footer-brand-row > div:first-child > p + p {
  display: none;
}

@media (max-width: 47.5em) {
  :root { --dt-masthead-height: 4.125rem; }
}

@media (max-width: 69.999em) {
  header[data-site-navigation] > nav > button[aria-haspopup="dialog"] {
    display: grid;
    place-items: center;
    inline-size: 2.75rem;
    block-size: 2.75rem;
    border: 1px solid var(--dt-masthead-rule);
    border-radius: 50%;
  }
}

dialog.dt-mobile-drawer {
  inset: 0 0 auto;
  inline-size: 100%;
  max-inline-size: none;
  margin: 0;
}

.dt-mobile-drawer .dt-drawer-bar {
  height: var(--dt-masthead-height);
  padding-inline: var(--dt-masthead-gutter);
}

.dt-mobile-drawer .dt-drawer-panel {
  height: calc(100vh - var(--dt-masthead-height));
  height: calc(100dvh - var(--dt-masthead-height));
}

@media (forced-colors: active) {
  html body header[data-site-navigation] > nav::after,
  header[data-site-navigation] > nav > button[aria-haspopup="dialog"] {
    border-color: ButtonText;
  }
}
