/* Match the approved Website Packages header from its top edge to the lower rule.
   The existing header, chapter bar and mobile reading animation share --console-top. */
html:root { --ux-header-face: 76px; --console-top: 85px; }
@media (max-width: 720px) {
  html:root { --ux-header-face: 64px; --console-top: calc(73px + env(safe-area-inset-top, 0px)); }
}
body #stickyheaders.console-header {
  box-sizing: border-box;
  height: var(--console-top);
  padding-block: 0;
  border-block: 1px solid #dce2e7;
}
body #stickyheaders .console-header__face {
  box-sizing: border-box;
  height: var(--ux-header-face);
  min-height: var(--ux-header-face);
  padding-block: 0;
}
body #stickyheaders .console-header__underlay {
  box-sizing: border-box;
  height: 2px;
  min-height: 0;
  margin-block: 0 5px;
  padding-block: 0;
}
body #stickyheaders .console-header__underlay > span {
  box-sizing: border-box;
  height: 1px;
  border: 0;
  border-top: 1px solid #d7dfe5;
  box-shadow: none;
}
@media (max-width: 720px) {
  body #stickyheaders.console-header { padding-top: env(safe-area-inset-top, 0px); }
}
