:root {
  --bijux-ink: #1e2852;
  --bijux-muted: #5f6d8d;
  --bijux-border: rgba(49, 46, 129, 0.16);
  --bijux-panel: rgba(79, 70, 229, 0.05);
  --bijux-panel-strong: rgba(79, 70, 229, 0.08);
  --bijux-card-shadow: 0 18px 42px rgba(30, 41, 89, 0.09);
  --bijux-map-shadow: 0 22px 54px rgba(30, 41, 89, 0.14);
  --bijux-surface-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0));
  --bijux-shell-width: 84rem;
  --bijux-shell-width-wide: 92rem;
  --bijux-shell-width-ultra: 102rem;
  --bijux-ribbon-bg: #2b2f6e;
  --bijux-ribbon-bg-strong: #4338ca;
  --bijux-ribbon-fade: rgba(43, 47, 110, 0);
}

[data-md-color-scheme="default"] {
  --md-default-bg-color: #f5f7fd;
  --md-default-bg-color--light: #fbfcff;
  --md-default-fg-color: var(--bijux-ink);
  --md-primary-fg-color: #4338ca;
  --md-accent-fg-color: #4f46e5;
  --md-typeset-a-color: #3730a3;
  --bijux-hub-bg: rgba(24, 28, 64, 0.96);
  --bijux-hub-border: rgba(255, 255, 255, 0.12);
  --bijux-hub-link: rgba(255, 255, 255, 0.76);
  --bijux-hub-link-active-bg: rgba(255, 255, 255, 0.14);
  --bijux-detail-bg: rgba(255, 255, 255, 0.94);
  --bijux-detail-border: rgba(63, 81, 181, 0.12);
  --bijux-detail-link: #31406f;
  --bijux-detail-link-active-bg: rgba(79, 70, 229, 0.12);
}

[data-md-color-scheme="slate"] {
  --bijux-ink: #e8ecff;
  --bijux-muted: #b6bfdc;
  --bijux-border: rgba(129, 140, 248, 0.2);
  --bijux-panel: rgba(99, 102, 241, 0.12);
  --bijux-panel-strong: rgba(99, 102, 241, 0.18);
  --bijux-card-shadow: 0 24px 48px rgba(2, 6, 23, 0.38);
  --bijux-map-shadow: 0 28px 58px rgba(2, 6, 23, 0.5);
  --bijux-surface-gradient: linear-gradient(180deg, rgba(30, 41, 59, 0.42), rgba(15, 23, 42, 0));
  --md-default-bg-color: #0b1120;
  --md-default-bg-color--light: #111827;
  --md-default-fg-color: #e8ecff;
  --md-default-fg-color--light: #cdd5f3;
  --md-default-fg-color--lighter: #9ea9d0;
  --md-primary-fg-color: #4338ca;
  --md-primary-fg-color--light: #6366f1;
  --md-accent-fg-color: #a5b4fc;
  --md-typeset-a-color: #a5b4fc;
  --bijux-hub-bg: rgba(8, 11, 29, 0.98);
  --bijux-hub-border: rgba(129, 140, 248, 0.16);
  --bijux-hub-link: rgba(229, 231, 255, 0.82);
  --bijux-hub-link-active-bg: rgba(129, 140, 248, 0.16);
  --bijux-detail-bg: rgba(15, 23, 42, 0.96);
  --bijux-detail-border: rgba(129, 140, 248, 0.18);
  --bijux-detail-link: #c7d2fe;
  --bijux-detail-link-active-bg: rgba(99, 102, 241, 0.18);
  --bijux-ribbon-bg: #151a43;
  --bijux-ribbon-bg-strong: #312e81;
  --bijux-ribbon-fade: rgba(21, 26, 67, 0);
}

body,
input,
button {
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  letter-spacing: -0.02em;
}

.md-typeset h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 700;
}

.md-typeset p,
.md-typeset li {
  line-height: 1.75;
  color: var(--bijux-ink);
}

.md-typeset code {
  border-radius: 0.35rem;
}

.md-typeset pre > code {
  border-radius: 0.75rem;
}

.md-typeset .admonition,
.md-typeset details {
  border-radius: 0.75rem;
}

.md-typeset table:not([class]) {
  border: 1px solid var(--bijux-border);
}

.md-typeset blockquote {
  border-left: 0.2rem solid #4f46e5;
  background: var(--bijux-panel);
  padding: 0.1rem 0.8rem;
}

.md-typeset hr {
  border-bottom: 1px solid var(--bijux-border);
}

.md-typeset .mermaid {
  background: var(--bijux-panel-strong);
  border: 1px solid var(--bijux-border);
  border-radius: 0.9rem;
  padding: 1rem;
  overflow-x: auto;
  text-align: center;
}

.md-typeset .mermaid svg {
  display: block;
  margin: 0 auto;
  height: auto;
  max-width: 100%;
}

.bijux-map-frame {
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.09), rgba(99, 102, 241, 0.05));
  border: 1px solid var(--bijux-border);
  border-radius: 1.2rem;
  box-shadow: var(--bijux-map-shadow);
  overflow: hidden;
  margin: 1.5rem 0 2rem;
}

.bijux-map-frame iframe {
  display: block;
  width: 100%;
  min-height: 78vh;
  border: 0;
  background: #fff;
}

.bijux-map-mobile-note {
  display: none;
  margin: 1rem 0 1.5rem;
}

.bijux-panel-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 1.75rem 0;
}

.bijux-panel {
  background: var(--bijux-surface-gradient), var(--bijux-panel);
  border: 1px solid var(--bijux-border);
  border-radius: 1rem;
  box-shadow: var(--bijux-card-shadow);
  min-height: 100%;
  padding: 1rem 1.1rem;
}

.bijux-panel h3 {
  margin-top: 0;
}

.bijux-callout {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(99, 102, 241, 0.06));
  border: 1px solid var(--bijux-border);
  border-radius: 1rem;
  box-shadow: var(--bijux-card-shadow);
  padding: 1rem 1.1rem;
  margin: 1rem 0 1.5rem;
}

.bijux-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

.md-typeset .md-button {
  border-radius: 999px;
  font-weight: 700;
  min-height: 2.6rem;
  padding-inline: 1.15rem;
}

.md-typeset .md-button--primary {
  background: linear-gradient(135deg, #3949ab, #4f46e5);
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(63, 81, 181, 0.22);
}

.bijux-site-tabs,
.bijux-detail-tabs {
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--bijux-hub-border);
}

.bijux-hub-strip {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  position: relative;
  scrollbar-width: none;
}

.bijux-hub-strip::-webkit-scrollbar {
  display: none;
}

.bijux-hub-strip::before,
.bijux-hub-strip::after {
  content: "";
  inset-block: 0;
  pointer-events: none;
  position: absolute;
  width: 1.15rem;
  z-index: 1;
}

.bijux-hub-strip::before {
  background: linear-gradient(90deg, var(--bijux-hub-bg), rgba(30, 40, 82, 0));
  inset-inline-start: 0;
}

.bijux-hub-strip::after {
  background: linear-gradient(270deg, var(--bijux-hub-bg), rgba(30, 40, 82, 0));
  inset-inline-end: 0;
}

.bijux-header-tools {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 0.5rem;
  margin-inline-start: auto;
}

.bijux-header-tools > * {
  margin: 0;
}

.bijux-header-tools .md-header__button,
.bijux-header-tools .md-header__option {
  border-radius: 999px;
}

.bijux-header-tools .md-search {
  padding: 0;
}

.bijux-header-tools .md-search__inner {
  width: clamp(8.75rem, 12vw, 10.75rem);
}

.bijux-header-tools .md-header__source {
  flex: 0 0 auto;
  width: auto;
}

.bijux-header-tools .md-search__form,
.bijux-header-tools .md-source {
  border-radius: 0.95rem;
  max-width: none;
  width: auto;
}

.bijux-site-tabs {
  background: linear-gradient(90deg, var(--bijux-ribbon-bg), var(--bijux-ribbon-bg-strong));
}

.bijux-detail-tabs {
  background: var(--bijux-detail-bg);
  border-color: var(--bijux-detail-border);
  box-shadow: inset 0 -1px 0 var(--bijux-detail-border);
}

.bijux-tabs__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem 0.55rem;
  list-style: none;
  margin: 0;
  padding-inline: 0.1rem;
  padding: 0.55rem 0;
  overflow-x: auto;
  scroll-padding-inline: 1.25rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  white-space: nowrap;
}

.bijux-tabs__list::-webkit-scrollbar {
  display: none;
}

.bijux-tabs__item {
  margin: 0;
  flex: 0 0 auto;
  scroll-snap-align: center;
}

.bijux-tabs__link {
  display: block;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--bijux-hub-link);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 0.45rem 0.85rem;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.bijux-tabs__link--hub {
  font-size: 0.7rem;
  padding: 0.4rem 0.72rem;
}

.bijux-tabs__list--hub {
  gap: 0.32rem 0.42rem;
}

.bijux-header-tools .md-source {
  min-width: 0;
}

.bijux-header-tools .md-source__repository {
  font-size: 0.72rem;
  line-height: 1.1;
}

.bijux-hub-strip .bijux-tabs__link:hover,
.bijux-hub-strip .bijux-tabs__item--active .bijux-tabs__link {
  background: var(--bijux-hub-link-active-bg);
  border-color: var(--bijux-hub-border);
  color: #fff;
}

.bijux-tabs__link--site {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.76rem;
  padding: 0.42rem 0.78rem;
}

.bijux-site-tabs .bijux-tabs__link:hover,
.bijux-site-tabs .bijux-tabs__item--active .bijux-tabs__link {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.bijux-tabs__link--detail {
  color: var(--bijux-detail-link);
  font-size: 0.74rem;
  padding: 0.4rem 0.72rem;
}

.bijux-tabs__list--site {
  gap: 0.32rem 0.42rem;
}

.bijux-tabs__list--detail {
  gap: 0.28rem 0.38rem;
}

.bijux-detail-tabs .bijux-tabs__link:hover,
.bijux-detail-tabs .bijux-tabs__item--active .bijux-tabs__link {
  background: var(--bijux-detail-link-active-bg);
  border-color: var(--bijux-detail-border);
  color: var(--bijux-ink);
}

.bijux-site-tabs .md-grid,
.bijux-detail-tabs .md-grid {
  position: relative;
}

.bijux-site-tabs .md-grid::before,
.bijux-site-tabs .md-grid::after,
.bijux-detail-tabs .md-grid::before,
.bijux-detail-tabs .md-grid::after {
  content: "";
  inset-block: 0;
  pointer-events: none;
  position: absolute;
  width: 1.5rem;
  z-index: 1;
}

.bijux-site-tabs .md-grid::before,
.bijux-detail-tabs .md-grid::before {
  inset-inline-start: 0;
}

.bijux-site-tabs .md-grid::after,
.bijux-detail-tabs .md-grid::after {
  inset-inline-end: 0;
}

.bijux-site-tabs .md-grid::before {
  background: linear-gradient(90deg, var(--bijux-ribbon-bg), var(--bijux-ribbon-fade));
}

.bijux-site-tabs .md-grid::after {
  background: linear-gradient(270deg, var(--bijux-ribbon-bg-strong), var(--bijux-ribbon-fade));
}

.bijux-detail-tabs .md-grid::before {
  background: linear-gradient(90deg, var(--bijux-detail-bg), rgba(255, 255, 255, 0));
}

.bijux-detail-tabs .md-grid::after {
  background: linear-gradient(270deg, var(--bijux-detail-bg), rgba(255, 255, 255, 0));
}

.md-sidebar--primary .md-nav {
  padding-right: 0.2rem;
}

.bijux-nav__title {
  align-items: center;
  gap: 0.75rem;
}

.bijux-nav__title-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bijux-nav__site-name {
  font-weight: 700;
}

.bijux-nav__section-name {
  color: var(--bijux-muted);
  font-size: 0.7rem;
  letter-spacing: 0.01em;
}

.md-sidebar--primary .bijux-nav--mobile {
  display: none;
}

.bijux-nav--mobile > .md-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 0.6rem;
}

.bijux-nav--mobile > .md-nav__list > .md-nav__item {
  margin: 0;
}

.bijux-nav--mobile > .md-nav__list > .md-nav__item > .md-nav__link,
.bijux-nav--mobile > .md-nav__list > .md-nav__item > .md-nav__container > .md-nav__link {
  background: var(--bijux-panel);
  border: 1px solid var(--bijux-border);
  border-radius: 0.95rem;
  box-shadow: 0 10px 24px rgba(30, 41, 89, 0.08);
  font-weight: 700;
  padding-block: 0.45rem;
  padding-inline: 0.8rem;
}

.bijux-nav--mobile > .md-nav__list > .md-nav__item > .md-nav {
  border-inline-start: 1px solid var(--bijux-border);
  margin-inline-start: 0.65rem;
  margin-top: 0.35rem;
  padding-inline-start: 0.7rem;
}

.bijux-nav--mobile > .md-nav__list > .md-nav__item > .md-nav .md-nav__title {
  color: var(--bijux-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.bijux-nav--mobile > .md-nav__list > .md-nav__item > .md-nav .md-nav__link {
  border-radius: 0.75rem;
}

.bijux-nav--mobile .md-nav__link,
.bijux-nav--mobile .md-nav__container > .md-nav__link,
.bijux-nav--mobile .md-nav__title {
  min-height: 2.85rem;
  padding-block: 0.62rem;
}

.bijux-nav--mobile .md-nav__link .md-ellipsis,
.bijux-nav--mobile .md-nav__title {
  line-height: 1.35;
}

.bijux-nav--mobile .md-nav__icon::after {
  inset: -0.3rem;
}

.md-sidebar--primary [data-bijux-nav-empty="true"] {
  display: none;
}

.md-sidebar--primary:has(.bijux-nav--scoped[data-bijux-nav-empty="true"]) {
  display: none;
}

.md-sidebar--primary .md-nav__title {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.md-sidebar--primary .md-nav__link,
.md-sidebar--primary .md-nav__container > .md-nav__link {
  border-radius: 0.75rem;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.md-sidebar--primary .md-nav__link:hover,
.md-sidebar--primary .md-nav__container > .md-nav__link:hover {
  background: rgba(79, 70, 229, 0.08);
}

.md-sidebar--primary .md-nav__item--active > .md-nav__container > .md-nav__link,
.md-sidebar--primary .md-nav__link--active {
  background: rgba(79, 70, 229, 0.12);
  color: var(--bijux-ink);
  font-weight: 700;
}

.md-tabs__list {
  flex-wrap: nowrap;
}

@media screen and (min-width: 76.25em) {
  .md-grid {
    max-width: min(calc(100vw - 3rem), var(--bijux-shell-width));
  }

  .md-header__title {
    display: none;
  }
}

@media screen and (min-width: 90em) {
  :root {
    --bijux-shell-width: var(--bijux-shell-width-wide);
  }
}

@media screen and (min-width: 110em) {
  :root {
    --bijux-shell-width: var(--bijux-shell-width-ultra);
  }
}

@media screen and (max-width: 100em) {
  .bijux-header-tools .md-source__repository,
  .bijux-header-tools .md-source__facts {
    display: none;
  }

  .bijux-header-tools .md-source {
    padding-inline: 0.8rem;
  }
}

@media screen and (max-width: 60em) {
  .bijux-header-tools {
    gap: 0.35rem;
  }

  .bijux-header-tools .md-search__inner {
    width: min(11.5rem, 46vw);
  }

  .bijux-map-frame iframe {
    min-height: 64vh;
  }
}

@media screen and (max-width: 76.2344em) {
  .bijux-hub-strip,
  .bijux-site-tabs,
  .bijux-detail-tabs {
    display: none;
  }

  .bijux-nav--mobile .md-nav__source {
    display: none;
  }

  .md-sidebar--primary .bijux-nav--mobile {
    display: block;
  }

  .md-sidebar--primary .bijux-nav--scoped {
    display: none;
  }

  .md-sidebar--primary:has(.bijux-nav--mobile) {
    display: block;
  }

  .md-sidebar--primary .bijux-nav--mobile[data-bijux-nav-empty="true"] {
    display: block;
  }
}

@media screen and (max-width: 44.9375em) {
  .bijux-header-tools .md-source {
    display: none;
  }

  .md-content__inner > .md-content__button {
    background: var(--bijux-panel);
    border: 1px solid var(--bijux-border);
    border-radius: 999px;
    float: none;
    margin: 0 0.4rem 0.7rem 0;
    padding: 0.35rem;
  }

  .md-content__inner > h1 {
    clear: both;
  }

  .bijux-header-tools .md-search__inner {
    width: min(10.5rem, calc(100vw - 9rem));
  }

  .bijux-quicklinks {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: 1fr;
  }

  .bijux-panel-grid,
  .bijux-media-grid {
    gap: 0.9rem;
    grid-template-columns: 1fr;
    margin: 1.25rem 0;
  }

  .bijux-panel,
  .bijux-callout {
    border-radius: 0.9rem;
    box-shadow: 0 12px 26px rgba(30, 41, 89, 0.08);
    padding: 0.95rem 1rem;
  }

  .md-typeset pre,
  .md-typeset .mermaid,
  .md-typeset table:not([class]) {
    -webkit-overflow-scrolling: touch;
  }

  .md-typeset pre > code {
    font-size: 0.78rem;
  }

  .md-typeset table:not([class]) {
    display: block;
    font-size: 0.82rem;
    overflow-x: auto;
    white-space: nowrap;
  }

  .md-typeset .mermaid {
    padding: 0.75rem;
  }

  .md-typeset .mermaid svg {
    max-width: none;
    min-width: 24rem;
  }

  .md-typeset .md-button {
    justify-content: center;
    width: 100%;
  }

  .bijux-map-frame iframe {
    min-height: 58vh;
  }

  .bijux-map-mobile-note {
    display: block;
  }

  .bijux-map-frame {
    display: none;
  }

}

.bijux-media-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 1.5rem 0;
}

.bijux-media-card {
  margin: 0;
  background: var(--bijux-surface-gradient), var(--bijux-panel);
  border: 1px solid var(--bijux-border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--bijux-map-shadow);
}

.bijux-media-card img,
.bijux-media-card video {
  display: block;
  width: 100%;
  background: #0f172a;
}

.bijux-media-card figcaption {
  padding: 0.9rem 1rem 1rem;
  color: var(--bijux-muted);
  font-size: 0.95rem;
}
