@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* Both ends of reading-page navigation, including Back to Trainer, opt in. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-group(root) { animation: none; }

/* One header stylesheet for the Lab, Guides, Glossary and guide articles. */
.site-header-bar {
  box-sizing: border-box;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  height: 78px;
  padding: 0 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #2a2d33;
  background: #131519;
  color: #e4e6e8;
  font-family:
    'DM Sans',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  line-height: 1;
}
.site-header-bar * {
  box-sizing: border-box;
}
.site-header-bar a {
  text-decoration: none;
}
.site-header-bar button {
  cursor: pointer;
  font-family: inherit;
  background: none;
  border: 0;
  margin: 0;
}
.site-header-bar a:focus-visible,
.site-header-bar button:focus-visible {
  outline: 2px solid #c4dfa0;
  outline-offset: 3px;
}
.site-header-bar .shell-brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  color: #e4e6e8;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.8px;
  white-space: nowrap;
}
.shell-brand-light {
  font-weight: 450;
}
.shell-brand small {
  display: block;
  margin-top: 5px;
  color: #929b85;
  font:
    9px 'IBM Plex Mono',
    monospace;
  letter-spacing: 1.6px;
}
.shell-mark {
  width: 37px;
  height: 37px;
  display: grid;
  grid-template-columns: repeat(3, 11px);
  grid-template-rows: repeat(3, 11px);
  gap: 2px;
  flex-shrink: 0;
}
.shell-mark i {
  background: #c4dfa0;
}
.shell-mark i:nth-child(1) {
  grid-column: 2;
}
.shell-mark i:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}
.shell-mark i:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}
.shell-mark i:nth-child(4) {
  grid-column: 2;
  grid-row: 3;
  background: #8fbe62;
}
.shell-nav {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.site-header-bar .shell-nav > * {
  padding: 10px 12px;
  border-bottom: 2px solid transparent;
  color: #8a909b;
  font-size: 13px;
  line-height: 20px;
  font-weight: 550;
  white-space: nowrap;
}
.site-header-bar .shell-nav > :hover {
  color: #e4e6e8;
}
.site-header-bar .shell-nav > [aria-current='page'] {
  color: #c4dfa0;
  border-bottom-color: #c4dfa0;
}
.shell-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.site-header-bar .shell-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 158px;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid #343d43;
  border-radius: 5px;
  background: #191f20;
  color: #c4cdd1;
  font-size: 11px;
  line-height: 16px;
  font-weight: 500;
  white-space: nowrap;
}
.site-header-bar .shell-switch:hover {
  border-color: #708660;
  color: #d5eabb;
}
.shell-return-mark {
  flex-shrink: 0;
  margin-block: -2px;
}
.site-header-bar .shell-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #8a909b;
}
.site-header-bar .shell-icon:hover {
  background: #262b32;
  border-color: #353b44;
}
.site-header-bar .shell-coffee {
  margin-right: -8px;
}
@media (max-width: 1120px) {
  .site-header-bar {
    padding-inline: 20px;
    gap: 12px;
  }
  .site-header-bar .shell-brand {
    font-size: 21px;
    gap: 7px;
  }
  .shell-brand small {
    font-size: 7px;
    letter-spacing: 1.3px;
  }
  .shell-mark {
    transform: scale(0.85);
    width: 32px;
  }
  .shell-nav {
    gap: 2px;
  }
  .site-header-bar .shell-nav > * {
    padding-inline: 7px;
    font-size: 12px;
  }
}
@media (max-width: 940px) {
  .site-header-bar {
    height: auto;
    min-height: 104px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 18px 0;
  }
  .shell-nav {
    order: 3;
    flex-basis: 100%;
  }
}
@media (max-width: 520px) {
  .site-header-bar {
    padding-inline: 16px;
  }
  .site-header-bar .shell-brand {
    font-size: 17px;
  }
  .shell-brand small {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .shell-mark {
    display: none;
  }
  .shell-actions {
    gap: 4px;
  }
  .site-header-bar .shell-switch {
    width: auto;
    padding: 6px;
    font-size: 10px;
    gap: 4px;
  }
  .site-header-bar .shell-icon {
    width: 26px;
  }
  .site-header-bar .shell-coffee {
    margin-right: 0;
  }
}

/* The same footer component and rules on every public page. */
.site-footer {
  box-sizing: border-box;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  min-height: 48px;
  padding: 14px 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  border-top: 1px solid #292d33;
  background: #131519;
  color: #747d87;
  font:
    9px/1.6 'IBM Plex Mono',
    monospace;
  letter-spacing: 0.5px;
}
.site-footer-signature {
  white-space: nowrap;
}
.site-footer-signature i {
  margin: 0 8px;
  font-style: normal;
  color: #454e59;
}
.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}
.site-footer .site-footer-links > * {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 4px 0;
  border: 0;
  background: none;
  color: #a1aab3;
  font:
    10px/1.6 'IBM Plex Mono',
    monospace;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
}
.site-footer .site-footer-links > :hover {
  color: #c4dfa0;
}
.site-footer .site-footer-links > .site-footer-support {
  color: #ffdd00;
  font-weight: 700;
}
.site-footer .site-footer-links > :focus-visible {
  outline: 2px solid #c4dfa0;
  outline-offset: 4px;
}
@media (max-width: 940px) {
  .site-footer {
    padding-inline: 18px;
  }
}
