* {
  box-sizing: border-box;
}

@font-face {
  font-family: "OpenDyslexic";
  src:
    url("/assets/fonts/opendyslexic/opendyslexic-latin-400-normal.woff2") format("woff2"),
    url("/assets/fonts/opendyslexic/opendyslexic-latin-400-normal.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "OpenDyslexic";
  src:
    url("/assets/fonts/opendyslexic/opendyslexic-latin-400-italic.woff2") format("woff2"),
    url("/assets/fonts/opendyslexic/opendyslexic-latin-400-italic.woff") format("woff");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "OpenDyslexic";
  src:
    url("/assets/fonts/opendyslexic/opendyslexic-latin-700-normal.woff2") format("woff2"),
    url("/assets/fonts/opendyslexic/opendyslexic-latin-700-normal.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "OpenDyslexic";
  src:
    url("/assets/fonts/opendyslexic/opendyslexic-latin-700-italic.woff2") format("woff2"),
    url("/assets/fonts/opendyslexic/opendyslexic-latin-700-italic.woff") format("woff");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --a11y-font-scale: 1;
  --a11y-nav-font-size: 12px;
  --a11y-nav-line-height: 20px;
  --a11y-brand-title-size: 28px;
  --a11y-mobile-nav-font-size: 13px;
  --a11y-mobile-brand-title-size: 22px;
  --a11y-carousel-link-size: 115%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #494949;
  font: 76%/170% Verdana, sans-serif;
  background:
    linear-gradient(90deg, rgba(214, 235, 246, 0.92), rgba(242, 249, 253, 0.96) 32%, rgba(242, 249, 253, 0.96) 68%, rgba(214, 235, 246, 0.92)),
    #eaf6fb;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: normal;
}

h1 {
  font-size: 170%;
}

h2 {
  font-size: 160%;
  line-height: 130%;
}

h3 {
  font-size: 140%;
}

h4 {
  font-size: 130%;
}

h5 {
  font-size: 120%;
}

h6 {
  font-size: 110%;
}

p {
  margin: 0.6em 0 1.2em;
  padding: 0;
}

a {
  color: #027ac6;
  text-decoration: none;
}

a:hover {
  color: #0062a0;
  text-decoration: underline;
}

.top-shell {
  position: relative;
  z-index: 0;
  color: white;
  min-height: 158px;
  border-top: 0;
  background:
    linear-gradient(180deg,
      #248bc1 0,
      #2b94c8 34px,
      #349fd1 82px,
      #3ca9d9 122px,
      #43addf 158px,
      #eaf6fb 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 rgba(59, 146, 194, 0.42);
}

.top-shell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  z-index: 2;
  pointer-events: none;
  background: #eaf6fb;
  box-shadow:
    0 -18px 20px -4px rgba(0, 43, 86, 0.72),
    0 -9px 10px -2px rgba(0, 69, 112, 0.78),
    0 -3px 4px rgba(3, 98, 151, 0.68),
    0 -1px 0 rgba(255, 255, 255, 0.72);
}

.top-nav {
  width: min(1480px, calc(100vw - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 22px;
  min-height: 34px;
  align-items: center;
  font-family: Verdana, sans-serif;
  font-size: var(--a11y-nav-font-size);
  font-weight: 400;
  line-height: var(--a11y-nav-line-height);
}

.top-nav a {
  position: relative;
  display: block;
  margin: 0;
  padding: 0.75em 0 0;
  color: #eaf7ff;
  line-height: var(--a11y-nav-line-height);
  white-space: nowrap;
}

.top-nav a::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 20px;
  height: 18px;
  transform: translateX(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='18' viewBox='0 0 20 18'%3E%3Cdefs%3E%3ClinearGradient id='inner' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='.48' stop-color='%23ecf8ff'/%3E%3Cstop offset='1' stop-color='%23b6e1f3'/%3E%3C/linearGradient%3E%3Cfilter id='s' x='-35%25' y='-15%25' width='170%25' height='150%25'%3E%3CfeDropShadow dx='0' dy='1.4' stdDeviation='1.1' flood-color='%23005c95' flood-opacity='.58'/%3E%3C/filter%3E%3C/defs%3E%3Cpath filter='url(%23s)' fill='%237ebce0' d='M.7 0h18.6L10 17.4z'/%3E%3Cpath fill='url(%23inner)' stroke='%23e8f8ff' stroke-width='.85' d='M3.1 1.2h13.8L10 14.5z'/%3E%3C/svg%3E");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.accessibility-control {
  flex: 0 0 28px;
  position: relative;
  display: block;
  margin: 0 -14px 0 4px;
}

.accessibility-control--mobile {
  display: none;
}

.accessibility-toggle,
.theme-toggle {
  flex-shrink: 0;
  min-width: 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(232, 248, 255, 0.7);
  background: rgba(18, 121, 174, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 1px 3px rgba(0, 65, 108, 0.28);
  cursor: pointer;
}

.theme-toggle {
  margin: 0 0 0 4px;
}

.accessibility-toggle:hover,
.accessibility-toggle:focus-visible,
.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: rgba(8, 101, 154, 0.7);
}

.accessibility-toggle__icon,
.theme-toggle__icon {
  width: 16px;
  height: 16px;
  display: block;
  background-color: #f4fbff;
}

.accessibility-toggle__icon {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='M9 3.3a1.65 1.65 0 1 0 0-3.3 1.65 1.65 0 0 0 0 3.3zm7.2.9H1.8v2h4.6v3.1l-2 8.7h2.2l1.3-5.6h2.2l1.3 5.6h2.2l-2-8.7V6.2h4.6v-2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='M9 3.3a1.65 1.65 0 1 0 0-3.3 1.65 1.65 0 0 0 0 3.3zm7.2.9H1.8v2h4.6v3.1l-2 8.7h2.2l1.3-5.6h2.2l1.3 5.6h2.2l-2-8.7V6.2h4.6v-2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.theme-toggle__icon {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M10.7 13.7A6.2 6.2 0 0 1 8.2 1.8 5.2 5.2 0 1 0 14 9.6a6.2 6.2 0 0 1-3.3 4.1z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M10.7 13.7A6.2 6.2 0 0 1 8.2 1.8 5.2 5.2 0 1 0 14 9.6a6.2 6.2 0 0 1-3.3 4.1z'/%3E%3C/svg%3E") center / contain no-repeat;
}

html[data-theme="dark"] .theme-toggle__icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.2a4.8 4.8 0 1 1 0 9.6 4.8 4.8 0 0 1 0-9.6zm0-3 1 2H7l1-2zm0 13.6 1 2H7l1-2zM15.8 8l-2 1V7l2 1zM2.2 8l-2 1V7l2 1zm11.3-5.5-.7 2-1.4-1.4 2.1-.6zM4.6 12.9l-2.1.6.7-2 1.4 1.4zm8.9.6-2.1-.6 1.4-1.4.7 2zM4.6 3.1 3.2 4.5l-.7-2 2.1.6z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.2a4.8 4.8 0 1 1 0 9.6 4.8 4.8 0 0 1 0-9.6zm0-3 1 2H7l1-2zm0 13.6 1 2H7l1-2zM15.8 8l-2 1V7l2 1zM2.2 8l-2 1V7l2 1zm11.3-5.5-.7 2-1.4-1.4 2.1-.6zM4.6 12.9l-2.1.6.7-2 1.4 1.4zm8.9.6-2.1-.6 1.4-1.4.7 2zM4.6 3.1 3.2 4.5l-.7-2 2.1.6z'/%3E%3C/svg%3E");
}

.accessibility-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  width: 260px;
  padding: 10px;
  color: #334;
  line-height: 1.35;
  background:
    linear-gradient(180deg, rgba(250, 254, 255, 0.98), rgba(232, 246, 253, 0.98)),
    #eef8fd;
  border: 1px solid rgba(141, 194, 224, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 8px 18px rgba(0, 54, 94, 0.28);
}

.accessibility-control.is-open .accessibility-menu,
.accessibility-menu--portal {
  position: fixed;
  z-index: 10000;
}

.accessibility-menu[hidden] {
  display: none;
}

.accessibility-menu__section-title {
  margin: 0 0 5px;
  padding: 3px 8px;
  color: #4b5b66;
  font-weight: 700;
}

.accessibility-menu__separator {
  height: 1px;
  margin: 7px 4px;
  background: rgba(119, 174, 205, 0.52);
}

.accessibility-menu__item {
  width: 100%;
  min-height: 32px;
  display: grid;
  grid-template-columns: 18px 18px 1fr;
  gap: 8px;
  align-items: center;
  padding: 5px 8px;
  border: 0;
  color: #25536d;
  font: inherit;
  line-height: 1.3;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.accessibility-menu__item--button {
  grid-template-columns: 18px 1fr;
}

.accessibility-menu__item:hover,
.accessibility-menu__item:focus-visible {
  color: #004d83;
  background: rgba(190, 224, 242, 0.72);
}

.accessibility-menu__item:disabled {
  color: #8a9aa3;
  cursor: default;
  opacity: 0.68;
}

.accessibility-menu__check,
.accessibility-menu__icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  background-color: currentColor;
}

.accessibility-menu__check {
  border: 1px solid currentColor;
  background-color: transparent;
}

.accessibility-menu__item[aria-checked="true"] .accessibility-menu__check {
  background-color: currentColor;
  -webkit-mask: none;
  mask: none;
  box-shadow: inset 0 0 0 3px #eff9fd;
}

.accessibility-menu__icon--decrease {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M1 13h3l.9-2.7h4.2L10 13h3L8.6 1H5.4L1 13zm4.6-4.8L7 4.1l1.4 4.1H5.6zm5.8-1.7h4v2h-4v-2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M1 13h3l.9-2.7h4.2L10 13h3L8.6 1H5.4L1 13zm4.6-4.8L7 4.1l1.4 4.1H5.6zm5.8-1.7h4v2h-4v-2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.accessibility-menu__icon--increase {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M1 13h3l.9-2.7h4.2L10 13h3L8.6 1H5.4L1 13zm4.6-4.8L7 4.1l1.4 4.1H5.6zm6.8-2.7h2v2h2v2h-2v2h-2v-2h-2v-2h2v-2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M1 13h3l.9-2.7h4.2L10 13h3L8.6 1H5.4L1 13zm4.6-4.8L7 4.1l1.4 4.1H5.6zm6.8-2.7h2v2h2v2h-2v2h-2v-2h-2v-2h2v-2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.accessibility-menu__icon--reset {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M8 2a6 6 0 1 1-5.3 3.2H.6V3h5v2.2H4.5A4 4 0 1 0 8 4V2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M8 2a6 6 0 1 1-5.3 3.2H.6V3h5v2.2H4.5A4 4 0 1 0 8 4V2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.accessibility-menu__icon--contrast {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a7 7 0 1 0 0 14V1zm0 2.2v9.6a4.8 4.8 0 0 1 0-9.6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a7 7 0 1 0 0 14V1zm0 2.2v9.6a4.8 4.8 0 0 1 0-9.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.accessibility-menu__icon--invert {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M8 0S3 5.1 3 9a5 5 0 0 0 10 0c0-3.9-5-9-5-9zm0 13a3 3 0 0 1 0-6v6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M8 0S3 5.1 3 9a5 5 0 0 0 10 0c0-3.9-5-9-5-9zm0 13a3 3 0 0 1 0-6v6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.accessibility-menu__icon--motion {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M1 4h8a3 3 0 1 1-2.1 5.1l1.4-1.4A1 1 0 1 0 9 6H1V4zm0 6h4v2H1v-2zm0-3h6v2H1V7zm12.6 5.1L15 13.5 13.5 15l-1.4-1.4L10.7 15l-1.4-1.5 1.4-1.4-1.4-1.4 1.4-1.4 1.4 1.4 1.4-1.4 1.5 1.4-1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M1 4h8a3 3 0 1 1-2.1 5.1l1.4-1.4A1 1 0 1 0 9 6H1V4zm0 6h4v2H1v-2zm0-3h6v2H1V7zm12.6 5.1L15 13.5 13.5 15l-1.4-1.4L10.7 15l-1.4-1.5 1.4-1.4-1.4-1.4 1.4-1.4 1.4 1.4 1.4-1.4 1.5 1.4-1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.accessibility-menu__icon--dyslexic {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M2 2h5a4 4 0 0 1 0 8H5v4H2V2zm3 5h2a1 1 0 1 0 0-2H5v2zm6.3-4.7 2.4 1.4-2 3.5 3.8 1v2.6l-3.8 1 2 3.5-2.4 1.4-2-3.5-2.8 2.8-1.8-1.8L7.5 11l-3.8-1V7.4l3.8-1-2.8-2.8 1.8-1.8 2.8 2.8 2-3.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M2 2h5a4 4 0 0 1 0 8H5v4H2V2zm3 5h2a1 1 0 1 0 0-2H5v2zm6.3-4.7 2.4 1.4-2 3.5 3.8 1v2.6l-3.8 1 2 3.5-2.4 1.4-2-3.5-2.8 2.8-1.8-1.8L7.5 11l-3.8-1V7.4l3.8-1-2.8-2.8 1.8-1.8 2.8 2.8 2-3.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.brand {
  width: min(1480px, calc(100vw - 40px));
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  gap: 28px;
  color: white;
  text-decoration: none;
}

.brand:link,
.brand:visited,
.brand:hover,
.brand:active,
.brand:focus {
  color: white;
  text-decoration: none;
}

.logo-mark {
  width: 58px;
  height: 82px;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

.site-title {
  color: white;
  font-family: Helvetica, Arial, sans-serif;
  font-size: var(--a11y-brand-title-size);
  font-weight: bold;
  line-height: 1.15;
  text-shadow: #1659ac 0 1px 3px;
  text-decoration: none;
}

.brand:hover .site-title,
.brand:active .site-title,
.brand:focus .site-title {
  color: white;
  text-decoration: none;
}

.page-grid {
  width: min(1480px, calc(100vw - 40px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: clamp(195px, 15vw, 270px) minmax(0, 1fr) clamp(195px, 15vw, 310px);
  gap: 28px;
  align-items: start;
}

.content-shell {
  position: relative;
  z-index: 1;
  margin-top: -72px;
  min-width: 0;
  min-height: 820px;
  padding: 60px 42px 42px;
  background: rgba(255, 255, 255, 0.84);
  border: 0;
  box-shadow:
    -1px -1px 0 rgba(226, 247, 255, 0.8),
    0 0 7px rgba(30, 104, 182, 0.55);
}

.content-shell::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 1px;
  background: rgba(231, 249, 255, 0.92);
  pointer-events: none;
}

.content-shell::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: calc(100% + 2px);
  height: 1px;
  z-index: -1;
  pointer-events: none;
  box-shadow:
    0 -12px 14px -5px rgba(0, 43, 86, 0.42),
    0 -6px 8px -3px rgba(0, 69, 112, 0.48),
    0 -2px 3px rgba(3, 98, 151, 0.36),
    -10px 12px 12px -6px rgba(0, 43, 86, 0.34),
    -5px 7px 7px -4px rgba(0, 69, 112, 0.38),
    10px 12px 12px -6px rgba(0, 43, 86, 0.34),
    5px 7px 7px -4px rgba(0, 69, 112, 0.38);
}

.sidebar h2 {
  margin: 32px 0 14px;
  color: #555;
}

.side-list {
  margin: 0;
  padding: 0 0 0 22px;
  list-style: circle;
}

.side-list li {
  margin: 7px 0;
}

.tree-list,
.tree-list ul {
  list-style: circle;
}

.tree-list ul {
  margin: 4px 0 0;
  padding-left: 22px;
}

/* Collapse before menu-tree.js initializes, retaining the full tree in HTML. */
.tree-list li:not(.is-expanded):not([data-menu-expanded="1"]) > ul,
.tree-list ul[hidden] {
  display: none;
}

.tree-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.vocabulary-node > .tree-row {
  cursor: pointer;
}

.has-children > .tree-row > a {
  cursor: pointer;
}

/* Match the JS button's footprint before it exists, including its icon. */
.tree-list li:has(> ul) > .tree-row:not(:has(> .tree-toggle))::before {
  content: "";
}

.tree-toggle,
.tree-list li:has(> ul) > .tree-row:not(:has(> .tree-toggle))::before {
  display: block;
  align-self: center;
  line-height: 0;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  margin: 0 2px 0 -18px;
  padding: 0;
  border: 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c8c8c8' stroke='%23f8f8f8' stroke-width='.8' d='M3.2 2.1l5.9 3.9-5.9 3.9z'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 11px 11px;
  cursor: pointer;
}

.tree-toggle[aria-expanded="true"],
.tree-list li[data-menu-expanded="1"] > .tree-row:not(:has(> .tree-toggle))::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c8c8c8' stroke='%23f8f8f8' stroke-width='.8' d='M2.1 3.2l3.9 5.9 3.9-5.9z'/%3E%3C/svg%3E");
}

.vocabulary-node > .tree-row > span {
  color: #555;
  font-style: italic;
  font-weight: 700;
}

.has-children > .tree-row > a {
  font-style: italic;
}

.green {
  color: #00c978;
}

.search input {
  width: 180px;
  height: 28px;
  display: block;
  margin-bottom: 4px;
}

.search-form-main {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin: 18px 0 28px;
}

.search-form-main input {
  width: min(100%, 420px);
  height: 30px;
}

.search-result {
  padding: 22px 0;
  border-top: 1px solid #d8e6ee;
}

.search-result h2 {
  margin: 0 0 4px;
  color: #0585d4;
  font-size: 160%;
  line-height: 130%;
}

.search-result p {
  margin: 0.7em 0 0;
}

.breadcrumb {
  min-height: 60px;
  margin: -60px -42px 36px;
  padding: 0 50px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  color: #4d91c9;
  font-size: 0.96em;
  line-height: 1.4;
  background: linear-gradient(90deg, rgba(212, 239, 252, 0.9), rgba(232, 246, 254, 0.72));
  border-bottom: 1px solid rgba(202, 225, 238, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.breadcrumb a,
.breadcrumb span {
  display: inline;
}

.breadcrumb a {
  color: #4d91c9;
}

.breadcrumb a + span::before,
.breadcrumb span + a::before,
.breadcrumb span + span::before,
.breadcrumb a + a::before {
  content: ">";
  margin: 0 7px;
  color: #6ba8d6;
}

.archive-page > h1 {
  margin: 0 0 18px;
}

.archive-year {
  margin: 0 0 28px;
}

.archive-year h2 {
  margin: 0 0 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #d8e6ee;
}

.archive-year h2 span,
.archive-months span {
  color: #888;
  font-size: 0.78em;
  font-weight: normal;
}

.archive-months {
  margin: 0;
  padding-left: 22px;
  columns: 2;
}

.archive-months li {
  break-inside: avoid;
  margin: 4px 0;
}

.article-card {
  padding: 34px 0 26px;
  margin: 0;
  border-top: 1px solid #d8e6ee;
  background: transparent;
}

.article-card--sticky {
  padding: 18px 20px;
  margin: 0 0 28px;
  border: 1px solid #dbe4ff;
  background: rgba(255, 255, 255, 0.75);
}

.article-card--sticky + .article-card:not(.article-card--sticky) {
  border-top: 0;
}

.homepage-custom-block {
  padding: 18px 20px;
  margin: 0 0 28px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
}

.homepage-custom-block h2 {
  margin: 0 0 8px;
  color: #0585d4;
  font-size: 160%;
  line-height: 130%;
}

.homepage-custom-block .body {
  color: #494949;
  max-width: 100%;
  overflow: hidden;
}

.homepage-custom-block .body p {
  margin: 0.6em 0 1.2em;
}

.homepage-custom-block img,
.homepage-custom-block iframe,
.homepage-custom-block video,
.homepage-custom-block table {
  max-width: 100%;
}

.homepage-custom-block img {
  height: auto;
}

.homepage-custom-block #autoplay_wrapper {
  position: relative;
  box-sizing: border-box;
  min-height: 220px;
  padding-block-end: 1.7em;
  padding-block-end: 1lh;
}

.homepage-custom-block #slidercontrol {
  position: absolute;
  inset: auto 0 0;
}

.homepage-custom-block #slidercontrol:not([aria-label]) {
  visibility: hidden;
}

.homepage-custom-block .autoplay {
  --carousel-image-size: 150px;
  --carousel-tile-width: 170px;
  display: flex;
}

.homepage-custom-block .autoplay:not(.tns-slider) {
  overflow: hidden;
}

.homepage-custom-block .autoplay > .item {
  box-sizing: border-box;
  flex: 0 0 var(--carousel-tile-width);
  width: var(--carousel-tile-width);
  padding-inline: calc((var(--carousel-tile-width) - var(--carousel-image-size)) / 2);
  vertical-align: top;
}

.homepage-custom-block .autoplay > .item a {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  text-decoration: none;
}

.homepage-custom-block .autoplay > .item img {
  grid-area: 1 / 1;
  width: var(--carousel-image-size);
  height: var(--carousel-image-size);
  margin: 0 auto 8px;
  object-fit: contain;
}

.homepage-custom-block .autoplay > .item h2 {
  grid-area: 2 / 1;
  font-size: calc(160% * var(--a11y-font-scale));
  overflow-wrap: anywhere;
}

  to {
    background-position: -120% 0;
  }
}

.homepage-custom-block #autoplay_wrapper,
.homepage-custom-block .tns-outer,
.homepage-custom-block .tns-ovh,
.homepage-custom-block .tns-inner,
.homepage-custom-block .tns-slider,
.homepage-custom-block .autoplay {
  max-width: 100%;
  min-width: 0;
}

.homepage-custom-block #autoplay_wrapper,
.homepage-custom-block .tns-outer,
.homepage-custom-block .tns-ovh {
  overflow: hidden;
}

.homepage-custom-block .tns-item,
.homepage-custom-block .item {
  min-width: 0;
}

.homepage-custom-block .tns-item.tns-slide-keep-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none;
}

.article-card h2 {
  margin: 0 0 8px;
  color: #0585d4;
}

.article-card h2 {
  margin-bottom: 4px;
  font-size: 160%;
  line-height: 130%;
}

.meta,
.terms {
  color: #888;
  font-size: 0.92em;
}

.article-card .meta {
  margin-bottom: 14px;
  color: #888;
}

.teaser-text {
  margin: 0.6em 0;
  color: #494949;
}

.terms {
  margin: 0 0 14px;
}

.teaser-links {
  margin: 0;
  padding-left: 0;
  text-align: left;
}

.teaser-links ul {
  margin: 0;
  padding: 0;
}

.teaser-links li {
  display: inline;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 1em;
  background-image: none;
}

.archive-range {
  margin: 0 0 1.4em;
  color: #777;
  font-size: 0.95em;
}

.archive-range span {
  color: #555;
  margin-left: 0.35em;
}

.taxonomy-slice-nav {
  border-top: 1px solid #cfe3ef;
  display: grid;
  gap: 1em;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 2em;
  padding-top: 1em;
}

.taxonomy-slice-nav a {
  font-weight: 700;
}

.taxonomy-slice-nav .slice-older {
  justify-self: end;
  text-align: right;
}

.article-full {
  color: #4f4f4f;
}

.article-header {
  margin: -4px -42px 36px;
  padding: 0 22px 12px;
  border-bottom: 1px solid #d8e1e7;
}

.article-full h1 {
  margin: 0 0 8px;
  color: #494949;
  font-size: 160%;
  line-height: 130%;
}

.article-meta {
  margin: 0 0 14px;
  color: #898989;
  font-size: 0.92em;
}

.body {
  color: #494949;
}

.article-full .body p {
  margin: 0.6em 0 1.2em;
}

.article-terms {
  margin: 18px 0 0;
}

.attachments {
  margin-top: 28px;
  padding: 0;
  border: 0;
  background: transparent;
}

.attachment-table {
  width: 100%;
  border-collapse: collapse;
  color: #222;
}

.attachment-table th {
  padding: 0 8px 8px;
  border-bottom: 2px solid #c9e6f6;
  color: #333;
  font-weight: 700;
  text-align: left;
}

.attachment-table th:last-child,
.attachment-table td:last-child {
  width: 130px;
  text-align: left;
  white-space: nowrap;
}

.attachment-table td {
  padding: 7px 8px;
  border-bottom: 1px solid #cbdfea;
  vertical-align: middle;
}

.attachment-table tbody tr:nth-child(odd) {
  background: rgba(218, 238, 249, 0.72);
}

.attachment-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.48);
}

.attachment-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #0071c5;
}

.file-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: inline-block;
}

.muted {
  color: #777;
}

.mobile-menu-toggle,
.mobile-menu-panel,
.mobile-menu-backdrop {
  display: none;
}

@media (max-width: 1100px) {
  .top-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px 22px;
  }

  .top-nav a {
    margin: 0;
  }

  .top-nav a::before {
    display: none;
  }

  .page-grid {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .sidebar {
    padding-top: 0;
  }

  .content-shell {
    order: -1;
    margin-top: 0;
    padding: 60px 24px 24px;
  }

  .breadcrumb {
    min-height: 48px;
    margin: -24px -24px 28px;
    padding: 8px 24px;
  }

  .article-header {
    margin: -4px -24px 30px;
    padding: 0 18px 12px;
  }
}

@media (max-width: 760px) {
  /* Match the drawer layout before deferred JS moves these existing nodes. */
  html[data-preferences-ready] .top-shell > .top-nav,
  html[data-preferences-ready] .page-grid > .sidebar {
    display: none;
  }

  .top-shell {
    min-height: 126px;
  }

  .accessibility-control--desktop {
    display: none;
  }

  .accessibility-control--mobile {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 36;
    display: block;
    margin: 0;
  }

  .accessibility-control--mobile .accessibility-menu {
    position: absolute;
    right: 0;
    width: min(86vw, 280px);
  }

  .mobile-menu-ready .mobile-menu-toggle {
    position: absolute;
    top: 10px;
    left: 12px;
    z-index: 35;
    width: 38px;
    height: 34px;
    display: grid;
    place-content: center;
    gap: 4px;
    padding: 0;
    border: 1px solid rgba(232, 248, 255, 0.72);
    background: rgba(20, 125, 178, 0.72);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.24),
      0 2px 6px rgba(0, 75, 118, 0.32);
    cursor: pointer;
  }

  .mobile-menu-ready .mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    display: block;
    background: #f3fbff;
    box-shadow: 0 1px 1px rgba(0, 62, 102, 0.45);
  }

  .mobile-menu-ready .mobile-menu-panel {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 32;
    width: min(86vw, 340px);
    display: block;
    overflow-y: auto;
    padding: 58px 20px 28px;
    background:
      linear-gradient(180deg, rgba(224, 244, 253, 0.98), rgba(246, 252, 255, 0.98)),
      #eaf6fb;
    box-shadow: 5px 0 18px rgba(0, 48, 84, 0.34);
    transform: translateX(-105%);
    transition: transform 160ms ease-out;
  }

  .mobile-menu-open .mobile-menu-panel {
    transform: translateX(0);
  }

  .mobile-menu-ready .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 31;
    display: block;
    border: 0;
    background: rgba(0, 42, 75, 0.28);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease-out;
  }

  .mobile-menu-open .mobile-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu-open {
    overflow: hidden;
  }

  .brand {
    width: calc(100vw - 88px);
    margin: 10px 18px 0 70px;
    gap: 14px;
  }

  .logo-mark {
    width: 44px;
    height: 62px;
  }

  .site-title {
    font-size: var(--a11y-mobile-brand-title-size);
    line-height: 1.1;
  }

  .mobile-menu-panel .top-nav {
    width: auto;
    min-height: 0;
    display: block;
    margin: 0 0 22px;
    padding: 0 0 16px;
    border-bottom: 1px solid #c8deea;
    font-size: var(--a11y-mobile-nav-font-size);
    line-height: var(--a11y-nav-line-height);
  }

  .mobile-menu-panel .theme-toggle {
    display: inline-grid;
    margin: 4px 0 12px;
    vertical-align: top;
  }

  .mobile-menu-panel .accessibility-menu {
    position: static;
    width: min(100%, 260px);
    margin-top: 8px;
  }

  .mobile-menu-panel .top-nav a {
    display: block;
    padding: 6px 0;
    color: #027ac6;
    white-space: normal;
  }

  .mobile-menu-panel .top-nav a::before {
    display: none;
  }

  .mobile-menu-panel .sidebar {
    padding: 0;
  }

  .mobile-menu-panel .sidebar h2 {
    margin: 18px 0 8px;
    font-size: 140%;
  }

  .mobile-menu-panel .side-list {
    padding-left: 20px;
  }

  .page-grid {
    width: calc(100vw - 24px);
    margin-top: 12px;
    gap: 0;
  }

  .content-shell {
    margin-top: -46px;
    padding: 18px;
    min-height: 640px;
  }

  .article-header {
    margin: -4px -18px 24px;
    padding: 0 14px 10px;
  }

  .archive-months {
    columns: 1;
  }
}

:root[data-theme="light"] {
  color-scheme: light;
}

:root[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="dark"] body {
  color: #d7e6ee;
  background:
    linear-gradient(90deg, rgba(15, 43, 58, 0.96), rgba(12, 24, 34, 0.98) 32%, rgba(12, 24, 34, 0.98) 68%, rgba(15, 43, 58, 0.96)),
    #0c1822;
}

html[data-theme="dark"] a {
  color: #65c9ff;
}

html[data-theme="dark"] a:hover {
  color: #a5e2ff;
}

html[data-theme="dark"] .top-shell {
  background:
    linear-gradient(180deg,
      #071722 0,
      #0a1f2d 34px,
      #0e2b3d 82px,
      #12394d 122px,
      #173f54 158px,
      #0c1822 100%);
  box-shadow:
    inset 0 1px 0 rgba(151, 205, 231, 0.18),
    inset 0 -1px 0 rgba(56, 110, 139, 0.58);
}

html[data-theme="dark"] .top-shell::after {
  background: #0c1822;
  box-shadow:
    0 -18px 20px -4px rgba(0, 17, 31, 0.84),
    0 -9px 10px -2px rgba(0, 35, 60, 0.82),
    0 -3px 4px rgba(2, 71, 111, 0.74),
    0 -1px 0 rgba(168, 229, 255, 0.38);
}

html[data-theme="dark"] .top-nav a {
  color: #cfeaf8;
  text-shadow: 0 1px 2px rgba(0, 8, 14, 0.72);
}

html[data-theme="dark"] .top-nav a:hover,
html[data-theme="dark"] .top-nav a:focus-visible {
  color: #ffffff;
}

html[data-theme="dark"] .brand,
html[data-theme="dark"] .brand:link,
html[data-theme="dark"] .brand:visited,
html[data-theme="dark"] .brand:hover,
html[data-theme="dark"] .brand:active,
html[data-theme="dark"] .brand:focus {
  color: #eefaff;
}

html[data-theme="dark"] .site-title,
html[data-theme="dark"] .brand:hover .site-title,
html[data-theme="dark"] .brand:active .site-title,
html[data-theme="dark"] .brand:focus .site-title {
  color: #eefaff;
  text-shadow:
    0 2px 3px rgba(0, 6, 12, 0.85),
    0 0 12px rgba(93, 177, 220, 0.24);
}

html[data-theme="dark"] .content-shell {
  background: rgba(12, 22, 31, 0.9);
  box-shadow:
    -1px -1px 0 rgba(92, 172, 211, 0.26),
    0 0 7px rgba(37, 149, 210, 0.42);
}

html[data-theme="dark"] .content-shell::before {
  background: rgba(96, 179, 218, 0.42);
}

html[data-theme="dark"] .content-shell::after {
  box-shadow:
    0 -12px 14px -5px rgba(0, 16, 30, 0.64),
    0 -6px 8px -3px rgba(0, 34, 58, 0.68),
    0 -2px 3px rgba(4, 80, 124, 0.48),
    -10px 12px 12px -6px rgba(0, 16, 30, 0.48),
    -5px 7px 7px -4px rgba(0, 34, 58, 0.52),
    10px 12px 12px -6px rgba(0, 16, 30, 0.48),
    5px 7px 7px -4px rgba(0, 34, 58, 0.52);
}

html[data-theme="dark"] .sidebar h2,
html[data-theme="dark"] .vocabulary-node > .tree-row > span,
html[data-theme="dark"] .article-full h1,
html[data-theme="dark"] .body,
html[data-theme="dark"] .teaser-text,
html[data-theme="dark"] .homepage-custom-block .body,
html[data-theme="dark"] .article-full {
  color: #d7e6ee;
}

html[data-theme="dark"] .meta,
html[data-theme="dark"] .terms,
html[data-theme="dark"] .article-meta,
html[data-theme="dark"] .breadcrumb,
html[data-theme="dark"] .muted,
html[data-theme="dark"] .archive-year h2 span,
html[data-theme="dark"] .archive-months span {
  color: #9fb3c0;
}

html[data-theme="dark"] .breadcrumb {
  background: linear-gradient(90deg, rgba(22, 57, 78, 0.92), rgba(27, 49, 64, 0.76));
  border-bottom-color: rgba(70, 112, 137, 0.72);
  box-shadow: inset 0 1px 0 rgba(143, 195, 226, 0.16);
}

html[data-theme="dark"] .breadcrumb a {
  color: #8ac6ed;
}

html[data-theme="dark"] .breadcrumb a + span::before,
html[data-theme="dark"] .breadcrumb span + a::before,
html[data-theme="dark"] .breadcrumb span + span::before,
html[data-theme="dark"] .breadcrumb a + a::before {
  color: #8197a5;
}

html[data-theme="dark"] .article-card,
html[data-theme="dark"] .search-result,
html[data-theme="dark"] .archive-year h2 {
  border-top-color: #27485c;
}

html[data-theme="dark"] .article-header {
  border-bottom-color: #27485c;
}

html[data-theme="dark"] .article-card--sticky,
html[data-theme="dark"] .homepage-custom-block {
  border-color: #284f6a;
  background: rgba(17, 35, 48, 0.72);
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  color: #d7e6ee;
  border: 1px solid #335b72;
  background: #0c1822;
}

html[data-theme="dark"] button {
  color: #e5f5fb;
}

html[data-theme="dark"] .attachment-table {
  color: #d7e6ee;
}

html[data-theme="dark"] .attachment-table th {
  color: #e4f2f8;
  border-bottom-color: #326783;
}

html[data-theme="dark"] .attachment-table td {
  border-bottom-color: #26485d;
}

html[data-theme="dark"] .attachment-table tbody tr:nth-child(odd) {
  background: rgba(29, 61, 79, 0.82);
}

html[data-theme="dark"] .attachment-table tbody tr:nth-child(even) {
  background: rgba(18, 37, 50, 0.7);
}

html[data-theme="dark"] .mobile-menu-ready .mobile-menu-panel {
  background:
    linear-gradient(180deg, rgba(18, 42, 57, 0.98), rgba(11, 24, 34, 0.98)),
    #0c1822;
  box-shadow: 5px 0 18px rgba(0, 8, 15, 0.62);
}

html[data-theme="dark"] .mobile-menu-panel .top-nav {
  border-bottom-color: #284c60;
}

html[data-theme="dark"] .mobile-menu-ready .mobile-menu-backdrop {
  background: rgba(0, 10, 18, 0.56);
}

html[data-theme="dark"] .accessibility-menu {
  color: #d7e6ee;
  background:
    linear-gradient(180deg, rgba(25, 53, 70, 0.98), rgba(13, 28, 39, 0.98)),
    #0e1c27;
  border-color: rgba(70, 138, 174, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 18px rgba(0, 8, 15, 0.62);
}

html[data-theme="dark"] .accessibility-menu__section-title {
  color: #b9d3e0;
}

html[data-theme="dark"] .accessibility-menu__separator {
  background: rgba(83, 148, 181, 0.5);
}

html[data-theme="dark"] .accessibility-menu__item {
  color: #bfe8ff;
}

html[data-theme="dark"] .accessibility-menu__item:hover,
html[data-theme="dark"] .accessibility-menu__item:focus-visible {
  color: #ffffff;
  background: rgba(50, 117, 153, 0.52);
}

html[data-theme="dark"] .accessibility-menu__item:disabled {
  color: #748b98;
}

html[data-a11y-dyslexic] body,
html[data-a11y-dyslexic] h1,
html[data-a11y-dyslexic] h2,
html[data-a11y-dyslexic] h3,
html[data-a11y-dyslexic] h4,
html[data-a11y-dyslexic] h5,
html[data-a11y-dyslexic] h6,
html[data-a11y-dyslexic] .top-nav,
html[data-a11y-dyslexic] .site-title,
html[data-a11y-dyslexic] button,
html[data-a11y-dyslexic] input,
html[data-a11y-dyslexic] select,
html[data-a11y-dyslexic] textarea {
  font-family: "OpenDyslexic", "Comic Sans MS", "Trebuchet MS", Verdana, sans-serif;
  letter-spacing: 0.035em;
  word-spacing: 0.08em;
}

html[data-a11y-dyslexic] p,
html[data-a11y-dyslexic] li,
html[data-a11y-dyslexic] .article-full .body,
html[data-a11y-dyslexic] .teaser-text,
html[data-a11y-dyslexic] .article-card .body {
  line-height: 1.9;
}

html[data-a11y-dyslexic] .homepage-custom-block .autoplay,
html[data-a11y-dyslexic] .homepage-custom-block .autoplay *,
html[data-a11y-dyslexic] .homepage-custom-block .tns-outer,
html[data-a11y-dyslexic] .homepage-custom-block .tns-outer *,
html[data-a11y-dyslexic] .homepage-custom-block #autoplay_wrapper,
html[data-a11y-dyslexic] .homepage-custom-block #autoplay_wrapper * {
  letter-spacing: 0;
  word-spacing: normal;
}

html[data-a11y-invert] {
  filter: invert(1) hue-rotate(180deg);
}

html[data-a11y-invert] img,
html[data-a11y-invert] video,
html[data-a11y-invert] iframe,
html[data-a11y-invert] .logo-mark,
html[data-a11y-invert] .file-icon {
  filter: invert(1) hue-rotate(180deg);
}

html[data-a11y-contrast] body {
  color: #fff;
  background: #000;
}

html[data-a11y-contrast] a {
  color: #ffff00;
  text-decoration: underline;
}

html[data-a11y-contrast] a:hover {
  color: #00ffff;
}

html[data-a11y-contrast] .top-shell,
html[data-a11y-contrast] .top-shell::after,
html[data-a11y-contrast] .content-shell,
html[data-a11y-contrast] .article-card--sticky,
html[data-a11y-contrast] .homepage-custom-block,
html[data-a11y-contrast] .mobile-menu-ready .mobile-menu-panel,
html[data-a11y-contrast] .accessibility-menu {
  color: #fff;
  background: #000;
  box-shadow: none;
}

html[data-a11y-contrast] .content-shell,
html[data-a11y-contrast] .article-card,
html[data-a11y-contrast] .article-card--sticky,
html[data-a11y-contrast] .homepage-custom-block,
html[data-a11y-contrast] .article-header,
html[data-a11y-contrast] .attachment-table th,
html[data-a11y-contrast] .attachment-table td,
html[data-a11y-contrast] .accessibility-menu {
  border-color: #fff;
}

html[data-a11y-contrast] .sidebar h2,
html[data-a11y-contrast] .vocabulary-node > .tree-row > span,
html[data-a11y-contrast] .article-full h1,
html[data-a11y-contrast] .body,
html[data-a11y-contrast] .teaser-text,
html[data-a11y-contrast] .homepage-custom-block .body,
html[data-a11y-contrast] .article-full,
html[data-a11y-contrast] .meta,
html[data-a11y-contrast] .terms,
html[data-a11y-contrast] .article-meta,
html[data-a11y-contrast] .breadcrumb,
html[data-a11y-contrast] .muted,
html[data-a11y-contrast] .accessibility-menu__section-title,
html[data-a11y-contrast] .accessibility-menu__item {
  color: #fff;
}

html[data-a11y-contrast] .attachment-table tbody tr:nth-child(odd),
html[data-a11y-contrast] .attachment-table tbody tr:nth-child(even),
html[data-a11y-contrast] .accessibility-menu__item:hover,
html[data-a11y-contrast] .accessibility-menu__item:focus-visible {
  background: #111;
}

html[data-a11y-contrast] input,
html[data-a11y-contrast] select,
html[data-a11y-contrast] textarea,
html[data-a11y-contrast] button {
  color: #fff;
  border-color: #fff;
  background: #000;
}

html[data-a11y-contrast] .top-nav a,
html[data-a11y-contrast] .brand,
html[data-a11y-contrast] .site-title {
  color: #fff;
}

html[data-a11y-reduce-motion] *,
html[data-a11y-reduce-motion] *::before,
html[data-a11y-reduce-motion] *::after {
  scroll-behavior: auto !important;
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) body {
    color: #d7e6ee;
    background:
      linear-gradient(90deg, rgba(15, 43, 58, 0.96), rgba(12, 24, 34, 0.98) 32%, rgba(12, 24, 34, 0.98) 68%, rgba(15, 43, 58, 0.96)),
      #0c1822;
  }

  html:not([data-theme]) a {
    color: #65c9ff;
  }

  html:not([data-theme]) a:hover {
    color: #a5e2ff;
  }

  html:not([data-theme]) .top-shell {
    background:
      linear-gradient(180deg,
        #071722 0,
        #0a1f2d 34px,
        #0e2b3d 82px,
        #12394d 122px,
        #173f54 158px,
        #0c1822 100%);
    box-shadow:
      inset 0 1px 0 rgba(151, 205, 231, 0.18),
      inset 0 -1px 0 rgba(56, 110, 139, 0.58);
  }

  html:not([data-theme]) .top-shell::after {
    background: #0c1822;
    box-shadow:
      0 -18px 20px -4px rgba(0, 17, 31, 0.84),
      0 -9px 10px -2px rgba(0, 35, 60, 0.82),
      0 -3px 4px rgba(2, 71, 111, 0.74),
      0 -1px 0 rgba(168, 229, 255, 0.38);
  }

  html:not([data-theme]) .top-nav a {
    color: #cfeaf8;
    text-shadow: 0 1px 2px rgba(0, 8, 14, 0.72);
  }

  html:not([data-theme]) .top-nav a:hover,
  html:not([data-theme]) .top-nav a:focus-visible {
    color: #ffffff;
  }

  html:not([data-theme]) .brand,
  html:not([data-theme]) .brand:link,
  html:not([data-theme]) .brand:visited,
  html:not([data-theme]) .brand:hover,
  html:not([data-theme]) .brand:active,
  html:not([data-theme]) .brand:focus {
    color: #eefaff;
  }

  html:not([data-theme]) .site-title,
  html:not([data-theme]) .brand:hover .site-title,
  html:not([data-theme]) .brand:active .site-title,
  html:not([data-theme]) .brand:focus .site-title {
    color: #eefaff;
    text-shadow:
      0 2px 3px rgba(0, 6, 12, 0.85),
      0 0 12px rgba(93, 177, 220, 0.24);
  }

  html:not([data-theme]) .content-shell {
    background: rgba(12, 22, 31, 0.9);
    box-shadow:
      -1px -1px 0 rgba(92, 172, 211, 0.26),
      0 0 7px rgba(37, 149, 210, 0.42);
  }

  html:not([data-theme]) .content-shell::before {
    background: rgba(96, 179, 218, 0.42);
  }

  html:not([data-theme]) .content-shell::after {
    box-shadow:
      0 -12px 14px -5px rgba(0, 16, 30, 0.64),
      0 -6px 8px -3px rgba(0, 34, 58, 0.68),
      0 -2px 3px rgba(4, 80, 124, 0.48),
      -10px 12px 12px -6px rgba(0, 16, 30, 0.48),
      -5px 7px 7px -4px rgba(0, 34, 58, 0.52),
      10px 12px 12px -6px rgba(0, 16, 30, 0.48),
      5px 7px 7px -4px rgba(0, 34, 58, 0.52);
  }

  html:not([data-theme]) .sidebar h2,
  html:not([data-theme]) .vocabulary-node > .tree-row > span,
  html:not([data-theme]) .article-full h1,
  html:not([data-theme]) .body,
  html:not([data-theme]) .teaser-text,
  html:not([data-theme]) .homepage-custom-block .body,
  html:not([data-theme]) .article-full {
    color: #d7e6ee;
  }

  html:not([data-theme]) .meta,
  html:not([data-theme]) .terms,
  html:not([data-theme]) .article-meta,
  html:not([data-theme]) .breadcrumb,
  html:not([data-theme]) .muted,
  html:not([data-theme]) .archive-year h2 span,
  html:not([data-theme]) .archive-months span {
    color: #9fb3c0;
  }

  html:not([data-theme]) .breadcrumb a + span::before,
  html:not([data-theme]) .breadcrumb span + a::before,
  html:not([data-theme]) .breadcrumb span + span::before,
  html:not([data-theme]) .breadcrumb a + a::before {
    color: #8197a5;
  }

  html:not([data-theme]) .article-card,
  html:not([data-theme]) .search-result,
  html:not([data-theme]) .archive-year h2 {
    border-top-color: #27485c;
  }

  html:not([data-theme]) .article-header {
    border-bottom-color: #27485c;
  }

  html:not([data-theme]) .article-card--sticky,
  html:not([data-theme]) .homepage-custom-block {
    border-color: #284f6a;
    background: rgba(17, 35, 48, 0.72);
  }

  html:not([data-theme]) input,
  html:not([data-theme]) select,
  html:not([data-theme]) textarea {
    color: #d7e6ee;
    border: 1px solid #335b72;
    background: #0c1822;
  }

  html:not([data-theme]) button {
    color: #e5f5fb;
  }

  html:not([data-theme]) .attachment-table {
    color: #d7e6ee;
  }

  html:not([data-theme]) .attachment-table th {
    color: #e4f2f8;
    border-bottom-color: #326783;
  }

  html:not([data-theme]) .attachment-table td {
    border-bottom-color: #26485d;
  }

  html:not([data-theme]) .attachment-table tbody tr:nth-child(odd) {
    background: rgba(29, 61, 79, 0.82);
  }

  html:not([data-theme]) .attachment-table tbody tr:nth-child(even) {
    background: rgba(18, 37, 50, 0.7);
  }

  html:not([data-theme]) .mobile-menu-ready .mobile-menu-panel {
    background:
      linear-gradient(180deg, rgba(18, 42, 57, 0.98), rgba(11, 24, 34, 0.98)),
      #0c1822;
    box-shadow: 5px 0 18px rgba(0, 8, 15, 0.62);
  }

  html:not([data-theme]) .mobile-menu-panel .top-nav {
    border-bottom-color: #284c60;
  }

  html:not([data-theme]) .mobile-menu-ready .mobile-menu-backdrop {
    background: rgba(0, 10, 18, 0.56);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu-panel,
  .mobile-menu-backdrop {
    transition: none;
  }
}

.block-context-enabled { position: relative; }
.block-context-enabled:has(> .block-context-menu[open]) { z-index: 30; }
.block-context-menu { --context-panel: #fff; --context-border: #ccc; --context-text: #444; --context-muted: #999; --context-hover: #eee; --context-active: #111; position: absolute; right: 0; top: 0; z-index: 20; font: 13px/1.5 Arial, sans-serif; text-align: left; }
.block-context-menu summary { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 2px; width: 43px; height: 28px; margin-left: auto; padding: 3px; border: 1px solid transparent; border-radius: 4px 4px 0 0; color: var(--context-muted); background: transparent; cursor: pointer; list-style: none; opacity: 0; }
.block-context-menu summary::-webkit-details-marker { display: none; }
.block-context-gear { width: 19px; height: 19px; flex: none; }
.block-context-arrow { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid currentColor; }
.block-context-enabled:hover .block-context-menu summary,
.block-context-menu:focus-within summary { opacity: 1; }
.block-context-menu summary:hover,
.block-context-menu summary:focus-visible,
.block-context-menu[open] summary { opacity: 1; background: var(--context-panel); border-color: var(--context-border); color: var(--context-text); }
.block-context-menu[open] summary { border-bottom-color: var(--context-panel); }
.block-context-links { position: absolute; top: 27px; right: 0; min-width: 150px; max-width: calc(100vw - 24px); margin: 0; padding: 6px 0; list-style: none; background: var(--context-panel); border: 1px solid var(--context-border); border-radius: 4px 0 4px 4px; box-shadow: 0 2px 3px rgba(0,0,0,.08); }
.block-context-links li { margin: 0; padding: 0; list-style: none; }
.block-context-links a:any-link { display: block; padding: 2px 9px; color: var(--context-text); font-weight: normal; text-decoration: none; white-space: nowrap; }
.block-context-links a:any-link:is(:hover, :focus-visible) { color: var(--context-active); background: var(--context-hover); text-decoration: none; }
.block-context-menu summary:focus-visible { outline: 2px solid #0075b5; outline-offset: 2px; }
html[data-theme="dark"] .block-context-menu { --context-panel: #1b2a34; --context-border: #60717c; --context-text: #d8e4eb; --context-muted: #a3afb7; --context-hover: #314653; --context-active: #fff; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .block-context-menu { --context-panel: #1b2a34; --context-border: #60717c; --context-text: #d8e4eb; --context-muted: #a3afb7; --context-hover: #314653; --context-active: #fff; }
}
html[data-a11y-contrast] .block-context-menu { --context-panel: #000; --context-border: #fff; --context-text: #ff0; --context-muted: #ff0; --context-hover: #333; --context-active: #ff0; }
@media (hover: none) { .block-context-menu summary { opacity: 1; } }

.search-form-main input { min-width: 0; max-width: 100%; flex: 1 1 180px; }
.search-form-main label { display: flex; align-items: center; gap: 6px; }
.search-form-main select { max-width: 100%; }
.search-page h1, .search-result { overflow-wrap: anywhere; }
.search-result mark { color: #243500; background: #e4edab; }
html[data-theme="dark"] .search-result mark { color: #fff3c4; background: #665315; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .search-result mark { color: #fff3c4; background: #665315; }
}

/* Recent content history, in the Garland frame. */
.recent-posts-list li { margin-bottom:.5rem; overflow-wrap:anywhere; }
.recent-posts-block [aria-busy="true"] { min-height:180px; }
.navigator-block [hidden] { display:none; }
.tracker-heading { display:flex; align-items:baseline; flex-wrap:wrap; gap:1rem 2rem; margin-bottom:1.5rem; }
.tracker-heading h1 { margin:0; font-size:1.5em; font-weight:400; }
.tracker-tabs { display:flex; flex-wrap:wrap; gap:.35rem; }
.tracker-tabs a { padding:.25rem .85rem; }
.tracker-tabs a[aria-current="page"] { background:linear-gradient(#add5ea,#8bbfda); color:#163b50; font-weight:bold; }
.table-scroll { overflow-x: auto; }
.tracker-table { width:100%; border-collapse:collapse; line-height:1.65; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.tracker-table th,.tracker-table td { padding:.4rem .5rem; text-align:left; border-bottom:1px solid #cce3f1; vertical-align:middle; overflow-wrap:anywhere; }
.tracker-table th { color:#527e98; border-bottom-width:3px; }
.tracker-column-compact { width: 13%; }
.tracker-column-title { width: 60%; }
.tracker-column-date { width: 14%; }
.tracker-table :where(tbody) tr:nth-child(odd) { background:#ecf5fa; }
html[data-theme="dark"] .tracker-table :where(tbody) tr:nth-child(odd) { background:#223745; }
html[data-theme="dark"] .tracker-table th { color:#acd0e5; }
html[data-theme="dark"] .tracker-table th,html[data-theme="dark"] .tracker-table td { border-color:#3d5869; }
html[data-theme="dark"] .tracker-tabs a[aria-current="page"] { background:#375b72; color:#fff; }
@media(prefers-color-scheme:dark) {
  html:not([data-theme]) .tracker-table :where(tbody) tr:nth-child(odd) { background:#223745; }
  html:not([data-theme]) .tracker-table th { color:#acd0e5; }
  html:not([data-theme]) .tracker-table th,html:not([data-theme]) .tracker-table td { border-color:#3d5869; }
  html:not([data-theme]) .tracker-tabs a[aria-current="page"] { background:#375b72; color:#fff; }
}
@media(max-width:650px) { .tracker-table { min-width:540px; } .tracker-heading { gap:.75rem; } .tracker-tabs a { padding:.25rem .5rem; } }

.article-full .article-header { display: flex; align-items: baseline; gap: .5em; }
.article-header .article-print-button {
  margin-inline-start: auto;
  padding: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.article-print-button img { width: 16px; height: auto; }
.article-print-source { display: none; }

@media print {
  html:has(.content-shell > .article-full) {
    color-scheme: light;
    filter: none !important;
  }
  body:has(.content-shell > .article-full) {
    margin: 1em;
    font: 11pt sans-serif;
  }
  body:has(.content-shell > .article-full),
  body:has(.content-shell > .article-full) * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
  }
  body:has(.content-shell > .article-full) > :not(.page-grid),
  .page-grid:has(.article-full) > .sidebar,
  .content-shell:has(> .article-full) > :not(.article-full),
  .article-full .article-print-button,
  .article-full .block-context-menu { display: none !important; }
  .page-grid:has(.article-full), .content-shell:has(> .article-full) {
    display: block; width: auto; max-width: none; margin: 0; padding: 0; border: 0;
  }
  .article-full::before {
    content: "Inspectoratul Școlar Județean Covasna";
    display: block; padding-bottom: .5em; border-bottom: 1px solid #999;
  }
  .article-full .article-meta, .article-print-source { font-size: 9pt; }
  .article-print-source { display: block; border-top: 1px solid #999; overflow-wrap: anywhere; }
  .article-full .body img { max-width: 100%; height: auto; }
  .article-full .attachment-table tr { break-inside: avoid; }
}

.article-read-label {
  margin-inline-start: .4em;
  color: light-dark(#a12222, #ffa5a5);
  font-size: .8em;
  font-weight: normal;
  font-style: italic;
}

.tracker-page > form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5em .8em;
  margin-block-end: .85rem;
}

.search button {
  --button-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='6.5'/%3E%3Cpath d='m15 15 6 6'/%3E%3C/svg%3E");
}

.tracker-page > form button {
  --button-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 12 4 4L17 5M11 15l2 2 9-10'/%3E%3C/svg%3E");
}

:where(.search, .tracker-page > form) button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45em;
  min-height: 2.1rem;
  padding: .28em .8em;
  border: 1px solid light-dark(#86aabe, #56788c);
  border-radius: .35rem;
  background: linear-gradient(light-dark(#f8fcff, #304a5a), light-dark(#dfedf5, #243c4b));
  color: light-dark(#204c65, #e3f2fa);
  font: inherit;
  cursor: pointer;
}

:where(.search, .tracker-page > form) button::before {
  content: "";
  flex: none;
  width: 1.1em;
  height: 1.1em;
  background-color: currentColor;
  mask: var(--button-icon) center / contain no-repeat;
  forced-color-adjust: none;
}

:where(.search, .tracker-page > form) button:hover {
  background: light-dark(#d8eaf5, #365569);
  border-color: currentColor;
}

:where(.search, .tracker-page > form) button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.article-header .article-updates-button {
  margin-inline-start: auto;
  padding: .25em;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.article-header .article-updates-button + .article-print-button { margin-inline-start: 0; }
.article-header:has(.article-updates-button) { flex-wrap: wrap; }
.article-full.block-context-enabled > .article-header:has(.article-updates-button) {
  margin-inline-end: 0;
  padding-inline-end: 3.5rem;
}
.article-updates-dialog {
  box-sizing: border-box;
  width: min(46rem, 94vw);
  max-height: 80vh;
  padding: 1rem;
  border: 1px solid currentColor;
  border-radius: .4rem;
  color: CanvasText;
  background: Canvas;
}
.article-updates-dialog::backdrop { background: rgb(0 0 0 / 55%); }
.article-updates-dialog form { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.article-updates-dialog h2 { margin: 0; color: inherit; }
.article-diff { width: 100%; border-collapse: separate; border-spacing: 0; font: .875rem/1.5 monospace; }
.article-diff th { position: sticky; inset-block-start: 0; background: Canvas; color: CanvasText; text-align: start; }
.article-diff :is(th, td) { padding: .25em .5em; vertical-align: top; }
.article-diff td:first-child { width: 1%; white-space: nowrap; }
.article-diff td:last-child { white-space: pre-wrap; overflow-wrap: anywhere; }
.change-added { background: #def3e3; color: #154921; }
.change-removed { background: #ffe2e0; color: #76251f; }
html[data-theme="dark"] .article-updates-dialog { color-scheme: dark; }
html[data-theme="dark"] .change-added { background: #193e29; color: #c1f3ce; }
html[data-theme="dark"] .change-removed { background: #4e272a; color: #ffd2d2; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .article-updates-dialog { color-scheme: dark; }
  html:not([data-theme]) .change-added { background: #193e29; color: #c1f3ce; }
  html:not([data-theme]) .change-removed { background: #4e272a; color: #ffd2d2; }
}
@media print {
  .article-updates-dialog, .article-header .article-updates-button { display: none; }
}
