/* Beautified MKDocs extra.css
   Improvements:
   - Cleaner color scale / variables
   - Refined header, sidebar, search
   - Better typography and spacing
   - Enhanced code blocks, tables, admonitions
   - Improved accessibility and mobile behavior
*/

/* ---------- Theme Variables ---------- */
:root{
  --md-hue: 225deg;

  /* Text hierarchy */
  --text-1: #000000;
  --text-2: rgba(0, 0, 0, 0.88);
  --text-3: rgba(0, 0, 0, 0.62);
  --text-4: rgba(0, 0, 0, 0.55);
  --text-5: rgba(0, 0, 0, 0.38);
  --text-6: rgba(0, 0, 0, 0.28);

  /* Primary / Accent */
  --primary-500: hsl(224,76%,48%);
  --primary-400: hsl(231,44%,56%);
  --primary-600: hsl(231,48%,38%);
  --accent-soft: hsla(231,99%,66%,0.08);

  /* Neutral */
  --bg-100: #ffffff;
  --bg-200: #F7F6F3;
  --code-inline-bg: #F1EEE8;
  --fg-900: var(--text-2);
  --muted-600: var(--text-3);
  --stroke: rgba(0, 0, 0, 0.08);

  /* Code */
  --code-bg: #F7F6F3;
  --code-fg: var(--text-2);
  --md-default-fg-color: var(--text-2);
  --md-default-fg-color--light: var(--text-3);
  --md-default-fg-color--lighter: var(--text-4);
  --md-default-fg-color--lightest: var(--text-5);
  --md-typeset-color: var(--text-2);
  --md-typeset-a-color: var(--text-2);
  --md-warning-fg-color: var(--text-2);
  --md-code-fg-color: var(--text-2);
  --md-code-hl-color: rgba(0, 0, 0, 0.06);
  --md-code-hl-number-color: #8a5a3b;
  --md-code-hl-special-color: #7a4d92;
  --md-code-hl-function-color: #5d63b6;
  --md-code-hl-constant-color: #8a5a3b;
  --md-code-hl-keyword-color: #2f5f8f;
  --md-code-hl-string-color: #446b43;
  --md-code-hl-name-color: var(--text-2);
  --md-code-hl-operator-color: var(--text-3);
  --md-code-hl-punctuation-color: var(--text-3);
  --md-code-hl-comment-color: var(--text-5);
  --md-code-hl-generic-color: var(--text-4);
  --md-code-hl-variable-color: var(--text-2);

  /* Shadows */
  --shadow-sm: 0 4px 10px rgba(16,24,40,0.05);
  --shadow-md: 0 8px 20px rgba(16,24,40,0.08);
}

/* Global font */
:root > * {
  font-family: Inter, "PingFang SC", system-ui, -apple-system, "Segoe UI",
  Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
}

html,
body{
  overscroll-behavior: none;
  scrollbar-gutter: stable;
}

body{
  background: var(--bg-100);
  color: var(--text-2);
}

html{
  font-size: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce){
  html{
    scroll-behavior: auto;
  }
}

/* ---------- Header ---------- */
.md-header{
  background: var(--bg-100);
  border-bottom: none;
}
.md-header__inner{
  height: var(--u-56);
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  padding-inline: var(--u-24) !important;
  padding-top: 0;
}
.md-header__button.md-logo{
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.md-header__button.md-logo img{
  width: auto;
  max-width: 100%;
  height: var(--u-28);
  object-fit: contain;
}
.md-header__topic:first-child{
  font-weight: 600;
}

.md-header--shadow{
  box-shadow: none;
  border-bottom: none;
}

/* Search */
.md-search{
  padding-top: 0;
  padding-bottom: 0;
  margin-left: auto;
  flex: 0 0 auto;
}
.md-search__inner{
  width: var(--u-256);
}
.md-search__form{
  width: var(--u-256);
  height: var(--u-32);
  display: flex;
  align-items: center;
  gap: var(--u-8);
  overflow: hidden;
  padding: 0 var(--u-12);
  border: 1px solid var(--stroke);
  border-radius: 0;
  background: var(--bg-100) !important;
  box-shadow: none;
}
.md-search__input{
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  height: var(--u-32);
  margin: 0;
  padding: 0 0 0 var(--u-24);
  border: 0;
  background: transparent;
  color: var(--text-2);
  font-size: var(--u-14);
  line-height: var(--u-32);
  text-align: left;
}
input.md-search__input,
[data-md-component="search-query"]{
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  padding: 0 0 0 var(--u-24) !important;
  margin: 0 !important;
  text-align: left !important;
}
.md-search__input::placeholder{
  color: var(--text-5);
}
input.md-search__input::placeholder,
[data-md-component="search-query"]::placeholder{
  text-align: left !important;
  color: var(--text-5) !important;
}
.md-search__input + .md-search__icon{
  order: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: var(--u-16);
  height: var(--u-16);
  margin-right: 0;
  flex: 0 0 var(--u-16);
  color: var(--text-4);
  line-height: 0;
}
.md-search__input + .md-search__icon svg{
  width: var(--u-16);
  height: var(--u-16);
  fill: currentColor;
}
.md-search__input + .md-search__icon svg:last-child{
  display: none;
}
.md-search__form:focus-within{
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.04);
}

@media screen and (min-width: 60em){
  .md-search{
    display: block !important;
  }
  .md-search__inner{
    display: block;
  }
  .md-header__button[for="__search"]{
    display: none !important;
  }
}

/* ---------- Layout ---------- */
.md-grid{
  max-width: var(--layout-max-width);   /* ← 页面整体宽度 */
  margin: 0 auto;
}
.md-main__inner{
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.md-sidebar--primary{ border-right: none; }
.md-content{
  flex: 1 1 0;
  min-width: 0;
}

.md-content > nav.md-path{
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--docs-reading-max-width, 52.5rem);
  padding-left: 0;
  padding-top: var(--u-32);
  padding-bottom: 0;
  font-size: var(--u-14);
  line-height: var(--u-24);
  display: block;
}

.md-content > nav.md-path .md-path__list{
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
}

.md-content > nav.md-path .md-path__item{
  display: flex;
  align-items: center;
}

.md-content > nav.md-path .md-path__link{
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-3);
  font-size: var(--u-14);
  line-height: var(--u-24);
  font-weight: 400;
  text-decoration: none;
  box-shadow: none;
  transition: color 180ms ease;
}

.md-content > nav.md-path .md-path__link:hover,
.md-content > nav.md-path .md-path__link:focus-visible{
  color: var(--text-1);
}

.md-footer{ display: none; }

/* ---------- Typography ---------- */
.md-typeset{
  --docs-reading-max-width: 52.5rem;
  max-width: none;       /* ← 使用剩余宽度 */
  margin: 0;             /* 内容铺满正文区域 */
  line-height: var(--u-24);
  font-size: var(--u-16);
  letter-spacing: 0;
  color: var(--text-2);
}

.md-typeset p{
  margin: 0;
  line-height: var(--u-24);
  font-size: var(--u-16);
  color: var(--text-2);
}

.md-typeset h1 + p{
  font-size: var(--u-16);
  line-height: var(--u-24);
  color: var(--text-3);
  margin-top: 0;
  margin-bottom: var(--u-24);
}

.md-typeset p + p,
.md-typeset ul + p,
.md-typeset ol + p,
.md-typeset blockquote + p,
.md-typeset table + p,
.md-typeset .highlight + p,
.md-typeset p + ul,
.md-typeset p + ol,
.md-typeset p + blockquote,
.md-typeset p + table,
.md-typeset p + .highlight{
  margin-top: var(--u-24);
}

.md-typeset > :where(h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote, dl, details){
  width: 100%;
  max-width: var(--docs-reading-max-width);
  margin-inline: auto;
}

.md-typeset > :where(.admonition, .highlight, .highlighttable, .md-typeset__table, figure, pre, table:not([class])){
  width: 100%;
  max-width: var(--docs-reading-max-width);
  margin-inline: auto;
}

.md-typeset h1{
  font-size: var(--u-30);
  line-height: var(--u-36);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 var(--u-16);
  color: var(--text-1);
}
.md-typeset h2{
  font-size: var(--u-24);
  line-height: var(--u-32);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: var(--u-40) 0 var(--u-14);
  padding-top: 0;
  padding-bottom: 0;
  border-top: none;
  border-bottom: none;
  color: var(--text-2);
}
.md-typeset h3{
  font-size: var(--u-20);
  line-height: var(--u-28);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: var(--u-24) 0 var(--u-10);
  color: var(--text-2);
}
.md-typeset h4{
  font-size: var(--u-16);
  line-height: var(--u-24);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: var(--u-20) 0 var(--u-8);
  color: var(--text-2);
}
.md-typeset h5{
  font-size: var(--u-16);
  line-height: var(--u-24);
  font-weight: 500;
  letter-spacing: 0;
  margin: var(--u-16) 0 var(--u-8);
  color: var(--text-3);
}
.md-typeset h6{
  font-size: var(--u-14);
  line-height: var(--u-20);
  font-weight: 500;
  letter-spacing: 0;
  margin: var(--u-14) 0 var(--u-8);
  color: var(--text-3);
}

.md-content{
  padding: 0 var(--u-16) var(--u-40);
}
.md-content__inner{
  width: 100%;
  max-width: var(--docs-reading-max-width);
  margin: 0 auto !important;
  padding-top: var(--u-16) !important;
  padding-bottom: var(--u-40) !important;
}
.md-content__inner a{
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: var(--u-2);
  text-decoration-color: rgba(0, 0, 0, 0.35);
}

.md-content__inner a:hover,
.md-content__inner a:focus-visible{
  font-weight: 500;
  color: var(--text-1);
  text-decoration-color: rgba(0, 0, 0, 0.35);
}

@media (min-width: 76.25em){
  .md-grid{
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }
  .md-main__inner{
    display: grid;
    grid-template-columns: var(--u-288) minmax(0, 1fr) var(--u-288);
    column-gap: 0 !important;
    row-gap: 0 !important;
    align-items: start;
    margin: 0;
    padding: 0;
  }
  .md-sidebar--primary,
  .md-sidebar--secondary{
    width: var(--u-288) !important;
    min-width: var(--u-288) !important;
    max-width: var(--u-288) !important;
    flex: 0 0 var(--u-288) !important;
    align-self: flex-start;
    position: sticky;
    top: var(--u-56);
    height: calc(100vh - var(--u-56));
    max-height: calc(100vh - var(--u-56));
    padding-top: 0;
    padding-bottom: 0;
    z-index: 3;
  }
  .md-sidebar--primary{
    grid-column: 1;
  }
  .md-content{
    grid-column: 2;
    min-width: 0;
    width: auto;
  }
  .md-sidebar--secondary{
    grid-column: 3;
  }
  .md-sidebar--primary .md-sidebar__scrollwrap,
  .md-sidebar--secondary .md-sidebar__scrollwrap{
    width: 100%;
    max-width: 100%;
    position: relative;
    inset: auto;
    max-height: 100%;
    height: 100%;
    overflow: auto;
  }
  .md-sidebar--primary .md-sidebar__scrollwrap::before,
  .md-sidebar--secondary .md-sidebar__scrollwrap::before,
  .md-sidebar--primary .md-sidebar__scrollwrap::after,
  .md-sidebar--secondary .md-sidebar__scrollwrap::after{
    content: none;
    display: none;
  }
  .md-sidebar--primary .md-sidebar__scrollwrap{
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .md-sidebar--primary .md-sidebar__scrollwrap::-webkit-scrollbar{
    width: 0;
    height: 0;
    display: none;
  }
  .md-sidebar__inner{
    height: 100%;
    position: relative;
  }
}

/* Figures */
.md-typeset figure{
  margin: 1.25em 0;
  text-align: center;
}
.md-typeset figure img{
  border: 1px solid var(--stroke);
  border-width: 1px;
  border-radius: var(--u-8);
}
.md-typeset figcaption{
  color: var(--text-4);
  font-size: var(--u-14);
  font-weight: 400;
  margin-top: .5em;
}

/* Lists */
.md-typeset ul,
.md-typeset ol{
  margin: 0;
  margin-left: 0;
  padding-left: var(--u-20);
  line-height: var(--u-24);
  list-style-position: outside;
}

.md-typeset ul{
  list-style: disc;
}

.md-typeset ol{
  list-style: decimal;
}

.md-typeset li::marker{
  color: #FF7C00;
}

.md-typeset li{
  margin: 0;
  margin-left: 0;
  line-height: var(--u-24);
}

.md-typeset strong,
.md-typeset b{
  font-weight: 500;
}

.md-typeset code,
.md-typeset pre,
.md-typeset kbd{
  font-weight: 400;
}
.md-typeset li + li{
  margin-top: var(--u-8);
}
.md-typeset li > p{
  margin-bottom: var(--u-8);
}

.md-typeset li > ul,
.md-typeset li > ol{
  margin-top: var(--u-12);
}

.md-typeset ul ul,
.md-typeset ol ol,
.md-typeset ul ol,
.md-typeset ol ul{
  margin: var(--u-12) 0 0;
  margin-left: 0;
  padding-left: var(--u-20);
}

/* Blockquote */
[dir=ltr] .md-typeset blockquote{
  border-left: 2px solid #FF7C00;
  background: transparent;
  padding: 0 0 0 var(--u-24);
  margin: var(--u-24) 0;
  border-radius: 0;
  font-style: italic;
  color: var(--text-3);
  line-height: var(--u-24);
  font-size: var(--u-16);
}

[dir=rtl] .md-typeset blockquote{
  border-right: 2px solid #FF7C00;
  background: transparent;
  padding: 0 var(--u-24) 0 0;
  margin: var(--u-24) 0;
  border-radius: 0;
  font-style: italic;
  color: var(--text-3);
  line-height: var(--u-24);
  font-size: var(--u-16);
}

.md-typeset blockquote > :is(p, ul, ol, dl, li){
  color: var(--text-3) !important;
}

.md-typeset blockquote > :first-child{
  margin-top: 0;
}

.md-typeset blockquote > :last-child{
  margin-bottom: 0;
}

.md-typeset > :where(h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote, dl, details){
  margin-inline: auto;
}

/* ---------- Code ---------- */
.md-typeset :not(pre) > code{
  padding: .15em .4em;
  border-radius: var(--u-6);
  background: var(--code-inline-bg);
  font-size: var(--u-14);
  font-weight: 400;
  color: var(--text-2);
}

.md-typeset .highlight,
.md-typeset .highlight > pre,
.md-typeset .highlight > pre > code,
.md-typeset .highlighttable,
.md-typeset .highlighttable table,
.md-typeset .highlighttable pre,
.md-typeset .highlighttable code,
.md-typeset .highlighttable td,
.md-typeset .highlighttable th,
.md-typeset .highlighttable tbody,
.md-typeset .highlighttable tr,
.md-typeset pre,
.md-typeset pre > code{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.md-typeset .highlight,
.md-typeset .highlight *,
.md-typeset .highlighttable,
.md-typeset .highlighttable *,
.md-typeset pre,
.md-typeset pre *{
  border-color: transparent !important;
}

.md-typeset .highlight{
  margin: var(--u-24) 0;
  background: var(--code-bg) !important;
  border-radius: var(--u-12);
  overflow: hidden;
  width: 100%;
  max-width: var(--docs-reading-max-width);
  margin-inline: auto;
}

.md-typeset .highlight > pre{
  margin: 0;
  position: relative;
  border-radius: var(--u-12);
  background: var(--code-bg) !important;
  overflow: hidden;
  appearance: none;
}

.md-typeset .highlighttable{
  border-radius: var(--u-12);
  background: var(--code-bg) !important;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  width: 100%;
  max-width: var(--docs-reading-max-width);
  margin-inline: auto;
}

.md-typeset pre{
  position: relative;
  background: var(--code-bg) !important;
}

.md-typeset pre > code{
  display: block;
  padding: 16px;
  border-radius: 0;
  line-height: var(--u-24);
  font-size: var(--u-14);
  overflow: auto;
  background: var(--code-bg) !important;
}
.md-typeset pre::-webkit-scrollbar{ height: var(--u-10); }
.md-typeset pre::-webkit-scrollbar-thumb{
  border-radius: var(--u-8);
  background: rgba(34,34,34,0.12);
}

.md-typeset pre:after{
  content: "↔";
  position: absolute;
  right: .6em;
  bottom: .45em;
  font-size: var(--u-11);
  opacity: .28;
}

.md-typeset .language-text.highlight,
.md-typeset .language-text.highlight > pre,
.md-typeset .language-text.highlight > pre > code,
.md-typeset .language-text.highlight span[id^="__span-"],
.md-typeset .language-text.highlight a[id^="__codelineno-"]{
  background: var(--code-bg) !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.md-typeset .language-text.highlight span[id^="__span-"]{
  display: block;
}

.md-typeset .language-text.highlight a[id^="__codelineno-"]{
  color: transparent !important;
}

/* Line numbers */
.highlighttable{
  border-radius: var(--u-12);
}
.highlighttable td.linenos{
  background: var(--code-bg) !important;
  color: var(--text-5);
  padding-right: .6em;
  user-select: none;
  font-size: var(--u-14);
  line-height: var(--u-24);
}

.highlighttable .linenodiv,
.highlighttable .code{
  background: var(--code-bg) !important;
}

.md-typeset .md-clipboard{
  color: var(--text-6) !important;
}

.md-typeset .md-clipboard:hover,
.md-typeset .md-clipboard:focus-visible{
  color: var(--text-5) !important;
  background: transparent !important;
}

.md-typeset .md-code__button:hover,
.md-typeset .md-code__button:focus-visible,
.md-typeset .md-code__button.focus-visible{
  color: var(--text-1) !important;
}

[data-md-component="top"],
.md-top{
  z-index: 6 !important;
}

/* ---------- Tables ---------- */
.md-typeset__scrollwrap{
  display: block;
  width: 100%;
  max-width: var(--docs-reading-max-width);
  margin: 0 auto !important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.md-typeset__table{
  margin: var(--u-24) auto !important;
  width: 100%;
  max-width: var(--docs-reading-max-width);
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  height: auto;
  border: 0;
  border-radius: 0;
  background: var(--bg-100);
}

.md-typeset__table > table{
  display: table;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  table-layout: fixed;
  border: 0;
}

.md-typeset > table:not([class]),
.md-typeset table:not([class]){
  display: table !important;
  border-collapse: collapse;
  width: 100%;
  min-width: 100%;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  border: 1px solid var(--stroke);
  border-width: 1px;
  background: transparent;
  font-size: var(--u-14);
  line-height: var(--u-24);
  margin: 0;
  max-width: 100%;
  table-layout: fixed;
}
.md-typeset__table > table:has(> thead > tr > th:nth-child(2)):not(:has(> thead > tr > th:nth-child(3))),
.md-typeset > table:not([class]):has(> thead > tr > th:nth-child(2)):not(:has(> thead > tr > th:nth-child(3))),
.md-typeset table:not([class]):has(> thead > tr > th:nth-child(2)):not(:has(> thead > tr > th:nth-child(3))){
  width: max-content;
  min-width: 100%;
  table-layout: auto;
}
.md-typeset__table > table:has(> thead > tr > th:nth-child(3)):not(:has(> thead > tr > th:nth-child(4))),
.md-typeset > table:not([class]):has(> thead > tr > th:nth-child(3)):not(:has(> thead > tr > th:nth-child(4))),
.md-typeset table:not([class]):has(> thead > tr > th:nth-child(3)):not(:has(> thead > tr > th:nth-child(4))){
  width: max-content;
  min-width: 100%;
  table-layout: auto;
}
.md-typeset__table > table:has(> thead > tr > th:nth-child(2)):not(:has(> thead > tr > th:nth-child(3))) > thead > tr > th:nth-child(1),
.md-typeset__table > table:has(> thead > tr > th:nth-child(2)):not(:has(> thead > tr > th:nth-child(3))) > tbody > tr > td:nth-child(1),
.md-typeset > table:not([class]):has(> thead > tr > th:nth-child(2)):not(:has(> thead > tr > th:nth-child(3))) > thead > tr > th:nth-child(1),
.md-typeset > table:not([class]):has(> thead > tr > th:nth-child(2)):not(:has(> thead > tr > th:nth-child(3))) > tbody > tr > td:nth-child(1),
.md-typeset table:not([class]):has(> thead > tr > th:nth-child(2)):not(:has(> thead > tr > th:nth-child(3))) > thead > tr > th:nth-child(1),
.md-typeset table:not([class]):has(> thead > tr > th:nth-child(2)):not(:has(> thead > tr > th:nth-child(3))) > tbody > tr > td:nth-child(1){
  width: max-content !important;
  min-width: max-content !important;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}
.md-typeset__table > table:has(> thead > tr > th:nth-child(2)):not(:has(> thead > tr > th:nth-child(3))) > thead > tr > th:nth-child(2),
.md-typeset__table > table:has(> thead > tr > th:nth-child(2)):not(:has(> thead > tr > th:nth-child(3))) > tbody > tr > td:nth-child(2),
.md-typeset > table:not([class]):has(> thead > tr > th:nth-child(2)):not(:has(> thead > tr > th:nth-child(3))) > thead > tr > th:nth-child(2),
.md-typeset > table:not([class]):has(> thead > tr > th:nth-child(2)):not(:has(> thead > tr > th:nth-child(3))) > tbody > tr > td:nth-child(2),
.md-typeset table:not([class]):has(> thead > tr > th:nth-child(2)):not(:has(> thead > tr > th:nth-child(3))) > thead > tr > th:nth-child(2),
.md-typeset table:not([class]):has(> thead > tr > th:nth-child(2)):not(:has(> thead > tr > th:nth-child(3))) > tbody > tr > td:nth-child(2){
  width: auto !important;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.md-typeset__table > table:has(> thead > tr > th:nth-child(3)):not(:has(> thead > tr > th:nth-child(4))) > thead > tr > th:nth-child(1),
.md-typeset__table > table:has(> thead > tr > th:nth-child(3)):not(:has(> thead > tr > th:nth-child(4))) > tbody > tr > td:nth-child(1),
.md-typeset > table:not([class]):has(> thead > tr > th:nth-child(3)):not(:has(> thead > tr > th:nth-child(4))) > thead > tr > th:nth-child(1),
.md-typeset > table:not([class]):has(> thead > tr > th:nth-child(3)):not(:has(> thead > tr > th:nth-child(4))) > tbody > tr > td:nth-child(1),
.md-typeset table:not([class]):has(> thead > tr > th:nth-child(3)):not(:has(> thead > tr > th:nth-child(4))) > thead > tr > th:nth-child(1),
.md-typeset table:not([class]):has(> thead > tr > th:nth-child(3)):not(:has(> thead > tr > th:nth-child(4))) > tbody > tr > td:nth-child(1){
  width: max-content !important;
  min-width: max-content !important;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}
.md-typeset__table > table:has(> thead > tr > th:nth-child(3)):not(:has(> thead > tr > th:nth-child(4))) > thead > tr > th:nth-child(2),
.md-typeset__table > table:has(> thead > tr > th:nth-child(3)):not(:has(> thead > tr > th:nth-child(4))) > tbody > tr > td:nth-child(2),
.md-typeset > table:not([class]):has(> thead > tr > th:nth-child(3)):not(:has(> thead > tr > th:nth-child(4))) > thead > tr > th:nth-child(2),
.md-typeset > table:not([class]):has(> thead > tr > th:nth-child(3)):not(:has(> thead > tr > th:nth-child(4))) > tbody > tr > td:nth-child(2),
.md-typeset table:not([class]):has(> thead > tr > th:nth-child(3)):not(:has(> thead > tr > th:nth-child(4))) > thead > tr > th:nth-child(2),
.md-typeset table:not([class]):has(> thead > tr > th:nth-child(3)):not(:has(> thead > tr > th:nth-child(4))) > tbody > tr > td:nth-child(2){
  width: auto !important;
  min-width: 28%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.md-typeset__table > table:has(> thead > tr > th:nth-child(3)):not(:has(> thead > tr > th:nth-child(4))) > thead > tr > th:nth-child(3),
.md-typeset__table > table:has(> thead > tr > th:nth-child(3)):not(:has(> thead > tr > th:nth-child(4))) > tbody > tr > td:nth-child(3),
.md-typeset > table:not([class]):has(> thead > tr > th:nth-child(3)):not(:has(> thead > tr > th:nth-child(4))) > thead > tr > th:nth-child(3),
.md-typeset > table:not([class]):has(> thead > tr > th:nth-child(3)):not(:has(> thead > tr > th:nth-child(4))) > tbody > tr > td:nth-child(3),
.md-typeset table:not([class]):has(> thead > tr > th:nth-child(3)):not(:has(> thead > tr > th:nth-child(4))) > thead > tr > th:nth-child(3),
.md-typeset table:not([class]):has(> thead > tr > th:nth-child(3)):not(:has(> thead > tr > th:nth-child(4))) > tbody > tr > td:nth-child(3){
  width: auto !important;
  min-width: 40%;
}
.md-typeset__table > table th,
.md-typeset__table > table td,
.md-typeset > table:not([class]) th,
.md-typeset > table:not([class]) td,
.md-typeset table:not([class]) th,
.md-typeset table:not([class]) td{
  min-width: var(--u-96);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.md-typeset > table:not([class]) thead th,
.md-typeset table:not([class]) thead th{
  background: transparent;
  font-weight: 500;
  border-bottom: 1px solid var(--stroke);
  border-bottom-width: 1px;
  color: var(--text-2);
  font-size: var(--u-14);
  line-height: var(--u-24);
}
.md-typeset > table:not([class]) th,
.md-typeset > table:not([class]) td,
.md-typeset table:not([class]) th,
.md-typeset table:not([class]) td{
  border-bottom: 1px solid var(--stroke);
  border-right: 1px solid var(--stroke);
  border-bottom-width: 1px;
  border-right-width: 1px;
  padding: var(--u-16) var(--u-16);
  vertical-align: middle;
  font-size: var(--u-14);
  line-height: var(--u-24);
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  color: var(--text-2);
}
.md-typeset > table:not([class]) th:last-child,
.md-typeset > table:not([class]) td:last-child,
.md-typeset table:not([class]) th:last-child,
.md-typeset table:not([class]) td:last-child{ border-right: none; }
.md-typeset > table:not([class]) tbody tr:last-child td,
.md-typeset table:not([class]) tbody tr:last-child td{
  border-bottom: 0;
}
.md-typeset > table:not([class]) tbody tr,
.md-typeset table:not([class]) tbody tr{
  background: transparent;
}
.md-typeset > table:not([class]) tbody tr:hover,
.md-typeset > table:not([class]) tbody tr:hover > td,
.md-typeset > table:not([class]) tbody tr:hover > th,
.md-typeset table:not([class]) tbody tr:hover,
.md-typeset table:not([class]) tbody tr:hover > td,
.md-typeset table:not([class]) tbody tr:hover > th{
  background: transparent !important;
}

/* ---------- Admonition ---------- */
.md-typeset .admonition,
.md-typeset details{
  --admonition-accent: var(--primary-400);
  --admonition-marker: var(--admonition-accent);
  --admonition-bg: #f7fbff;
  border-radius: 0 !important;
  box-shadow: none;
  border: 0;
  border-left: var(--u-4) solid var(--admonition-marker);
  background: var(--admonition-bg);
  padding: var(--u-16) var(--u-18);
  width: 100%;
  max-width: var(--docs-reading-max-width);
  margin: 1.25em auto;
}
.md-typeset .admonition-title,
.md-typeset summary{
  display: flex;
  align-items: center;
  gap: var(--u-8);
  margin: 0 0 var(--u-10) !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-weight: 600;
  font-size: var(--u-16);
  line-height: var(--u-24);
  color: var(--text-1);
}
.md-typeset .admonition-title::before,
.md-typeset summary::before{
  position: static !important;
  width: var(--u-16);
  height: var(--u-16);
  margin: 0 !important;
  flex: 0 0 var(--u-16);
  background-color: var(--admonition-marker) !important;
}
.md-typeset .admonition > :last-child,
.md-typeset details > :last-child{
  margin-bottom: 0 !important;
}
.md-typeset .admonition > :not(.admonition-title),
.md-typeset details > :not(summary){
  color: var(--text-2);
}
.md-typeset .admonition > p,
.md-typeset details > p{
  margin-top: 0;
}
.md-typeset .admonition.note,
.md-typeset details.note{
  --admonition-accent: #4d87db;
  --admonition-marker: #4d87db;
  --admonition-bg: #eef5ff;
}
.md-typeset .admonition.abstract,
.md-typeset details.abstract{
  --admonition-accent: #1ba6f9;
  --admonition-marker: #1ba6f9;
  --admonition-bg: #edf8ff;
}
.md-typeset .admonition.info,
.md-typeset details.info{
  --admonition-accent: #00a9c7;
  --admonition-marker: #00a9c7;
  --admonition-bg: #ebfbfe;
}
.md-typeset .admonition.tip,
.md-typeset details.tip{
  --admonition-accent: #2fb463;
  --admonition-marker: #2fb463;
  --admonition-bg: #eefbf2;
}
.md-typeset .admonition.success,
.md-typeset details.success{
  --admonition-accent: #14ae5c;
  --admonition-marker: #14ae5c;
  --admonition-bg: #edf9f1;
}
.md-typeset .admonition.question,
.md-typeset details.question{
  --admonition-accent: #69b80f;
  --admonition-marker: #69b80f;
  --admonition-bg: #f5faea;
}
.md-typeset .admonition.warning,
.md-typeset details.warning{
  --admonition-accent: #f4b000;
  --admonition-marker: #f4b000;
  --admonition-bg: #fff8e7;
}
.md-typeset .admonition.failure,
.md-typeset details.failure{
  --admonition-accent: #ef5350;
  --admonition-marker: #ef5350;
  --admonition-bg: #fff1f1;
}
.md-typeset .admonition.danger,
.md-typeset details.danger{
  --admonition-accent: #f43f5e;
  --admonition-marker: #f43f5e;
  --admonition-bg: #fff1f4;
}
.md-typeset .admonition.bug,
.md-typeset details.bug{
  --admonition-accent: #f97316;
  --admonition-marker: #f97316;
  --admonition-bg: #fff4ec;
}
.md-typeset .admonition.example,
.md-typeset details.example{
  --admonition-accent: #7c4dff;
  --admonition-marker: #7c4dff;
  --admonition-bg: #f4f0ff;
}
.md-typeset .admonition.quote,
.md-typeset details.quote{
  --admonition-accent: #8b95a7;
  --admonition-marker: #8b95a7;
  --admonition-bg: #f5f7fa;
}

.md-typeset > img,
.md-typeset > a > img,
.md-typeset p > img,
.md-typeset p > a > img,
.md-typeset li > p > img,
.md-typeset li > p > a > img,
.md-typeset blockquote img,
.md-typeset details img,
.md-typeset .admonition img{
  display: block;
  width: 100%;
  max-width: min(100%, var(--docs-reading-max-width));
  margin-inline: auto;
  height: auto;
  box-sizing: border-box;
  border: 1px solid var(--stroke);
  border-width: 1px;
  border-radius: var(--u-8);
}
.md-typeset td img,
.md-typeset td a > img,
.md-typeset th img,
.md-typeset th a > img{
  display: block;
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
  border: 1px solid var(--stroke);
  border-width: 1px;
  border-radius: var(--u-8);
}

/* ---------- Navigation ---------- */
.md-nav__title{
  color: var(--text-3);
  font-size: var(--u-14);
  line-height: var(--u-24);
  font-weight: 400;
  letter-spacing: 0;
  height: auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: var(--u-24);
  padding-top: 0;
  padding-right: var(--u-12);
}

.md-sidebar--primary .md-nav__title{
  height: auto;
  padding-top: var(--u-32);
  padding-bottom: 0;
}

.md-sidebar--primary .md-nav--primary > .md-nav__list,
.md-sidebar--primary .md-nav--primary .md-nav__list{
  display: flex;
  flex-direction: column;
  gap: var(--u-4);
  padding-left: var(--u-16);
  padding-right: 0;
  padding-top: var(--u-8);
  padding-bottom: var(--u-8);
  margin: 0;
  height: auto;
}

.md-sidebar--primary .md-sidebar__inner{
  padding-right: var(--u-64);
}

.md-nav--primary .md-nav__link{
  display: flex;
  padding-top: var(--u-8);
  padding-bottom: var(--u-8);
  padding-left: var(--u-8);
  padding-right: var(--u-8);
  gap: var(--u-8);
  margin: 0 !important;
  height: auto;
  width: 100%;
  box-sizing: border-box;
  justify-content: flex-start;
  align-items: center;
  cursor: pointer;
  font-size: var(--u-14);
  line-height: var(--u-24);
  letter-spacing: 0;
  color: var(--text-2);
  border-radius: var(--u-8);
}

.md-sidebar--primary .md-nav--primary .md-nav__item > .md-nav > .md-nav__list{
  padding-top: var(--u-4);
  padding-bottom: var(--u-4);
  padding-left: var(--u-12);
  padding-right: 0;
  height: auto;
}

.md-nav__link{
  margin: 0 !important;
  padding: var(--u-4) var(--u-8);
  border-radius: var(--u-8);
}

.md-sidebar--primary .md-nav--primary > .md-nav__list,
.md-sidebar--primary .md-nav--primary > .md-nav__list *{
  cursor: pointer !important;
}

.md-nav--primary .md-nav__link::before{
  display: none;
}

.md-nav--primary .md-nav__link .md-ellipsis{
  font-size: var(--u-14);
  line-height: var(--u-24);
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  align-self: auto;
  height: auto;
  flex: 0 1 auto;
  width: auto;
  letter-spacing: 0;
}

.md-nav--primary .md-nav__link .md-nav__icon{
  width: var(--u-12);
  height: var(--u-12);
  font-size: 0;
  cursor: pointer;
}
.md-nav--primary .md-nav__link .md-nav__icon:after{
  background-color: currentColor;
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.md-nav--secondary .md-nav__title{
  height: auto;
  padding: var(--u-32) var(--u-12) 0;
  margin-bottom: var(--u-8);
  font-size: var(--u-14);
  line-height: var(--u-24);
}

.md-nav--secondary > .md-nav__list{
  padding-left: var(--u-12) !important;
  margin-left: 0;
  padding-top: var(--u-8);
  padding-bottom: var(--u-8);
  height: auto;
}

.md-sidebar--secondary .md-sidebar__inner{
  padding-left: 0;
  padding-right: var(--u-64);
}

.md-nav--secondary > .md-nav__list > .md-nav__item{
  margin-left: 0;
  padding-left: 0;
}
.md-nav--secondary .md-nav__link .md-ellipsis{
  font-size: var(--u-14);
  line-height: var(--u-24);
  color: var(--text-3);
  font-weight: 400;
  opacity: 0.84;
  transition: color 240ms cubic-bezier(0.22, 1, 0.36, 1), opacity 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.md-nav--secondary .md-nav__link{
  display: flex;
  align-items: flex-start;
  gap: var(--u-8);
  background: transparent !important;
  border-radius: 0;
  margin-top: 0 !important;
  margin-bottom: var(--u-8) !important;
  padding: 0 !important;
  height: auto;
  min-height: 0;
  font-size: var(--u-14);
  line-height: var(--u-24);
  letter-spacing: 0;
}

.md-nav--secondary .md-nav__link:hover,
.md-nav--secondary .md-nav__link:focus-visible{
  background: transparent !important;
}

.md-nav--secondary .md-nav__link:hover .md-ellipsis,
.md-nav--secondary .md-nav__link:focus-visible .md-ellipsis{
  color: var(--text-1);
  opacity: 1;
}

.md-nav--secondary .md-nav__link[aria-current] .md-ellipsis,
.md-nav--secondary .md-nav__link--active .md-ellipsis,
.md-nav--secondary .md-nav__item--active > .md-nav__link .md-ellipsis{
  color: var(--text-1);
  font-weight: 600;
  opacity: 1;
}

.md-nav--secondary .md-nav__link[aria-current],
.md-nav--secondary .md-nav__link--active,
.md-nav--secondary .md-nav__item--active > .md-nav__link{
  transform: none;
  color: var(--text-1) !important;
  font-weight: 600;
}

.md-nav--secondary .md-nav__item{
  margin: 0;
}

.md-nav--secondary .md-nav__item > .md-nav{
  margin-top: 0;
}

.md-nav--secondary .md-nav__item > .md-nav > .md-nav__list{
  padding-left: var(--u-12);
  padding-top: 0;
  padding-bottom: var(--u-8);
}

.md-nav--secondary .md-nav__item > .md-nav .md-nav__link{
  margin-bottom: var(--u-8) !important;
}

.md-nav--secondary .md-nav__item--nested > .md-nav__link{
  margin-bottom: 0 !important;
}
.md-nav--secondary .md-nav__item:has(> .md-nav > .md-nav__list .md-nav__link--active) > .md-nav__link,
.md-nav--secondary .md-nav__item:has(> .md-nav > .md-nav__list .md-nav__link[aria-current]) > .md-nav__link,
.md-nav--secondary .md-nav__item:has(> .md-nav > .md-nav__list .md-nav__link--active) > .md-nav__link .md-ellipsis,
.md-nav--secondary .md-nav__item:has(> .md-nav > .md-nav__list .md-nav__link[aria-current]) > .md-nav__link .md-ellipsis{
  color: var(--text-3) !important;
  font-weight: 400 !important;
  opacity: 0.92 !important;
}

.md-nav--secondary .md-nav__item:has(> .md-nav > .md-nav__list .md-nav__link--active):has(> .md-nav__link--active) > .md-nav__link,
.md-nav--secondary .md-nav__item:has(> .md-nav > .md-nav__list .md-nav__link[aria-current]):has(> .md-nav__link[aria-current]) > .md-nav__link,
.md-nav--secondary .md-nav__item:has(> .md-nav > .md-nav__list .md-nav__link--active):has(> .md-nav__link--active) > .md-nav__link .md-ellipsis,
.md-nav--secondary .md-nav__item:has(> .md-nav > .md-nav__list .md-nav__link[aria-current]):has(> .md-nav__link[aria-current]) > .md-nav__link .md-ellipsis{
  color: var(--text-1) !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}


.md-nav--primary .md-nav__link[aria-current="page"],
.md-nav--primary .md-nav__link--active{
  background: var(--bg-200);
  color: var(--text-1) !important;
}

.md-nav--primary .md-nav__link[aria-current="page"] .md-ellipsis,
.md-nav--primary .md-nav__link--active .md-ellipsis,
.md-nav--primary .md-nav__item--nested > .md-nav__link[aria-current="page"],
.md-nav--primary .md-nav__item--nested > .md-nav__link--active,
.md-nav--primary .md-nav__item--nested > .md-nav__toggle:checked + .md-nav__link{
  font-weight: 500;
}

.md-nav--primary .md-nav__link{
  transition:
    background-color 260ms cubic-bezier(0.22, 1, 0.36, 1),
    color 260ms cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer !important;
}

.md-nav--primary .md-nav__item,
.md-nav--primary .md-nav__item > .md-nav,
.md-nav--primary .md-nav__list{
  cursor: pointer !important;
}

.md-nav--primary .md-nav__link[aria-current="page"],
.md-nav--primary .md-nav__link--active,
.md-nav--primary .md-nav__link[aria-current="page"] *,
.md-nav--primary .md-nav__link--active *{
  cursor: pointer !important;
}

.md-nav--primary .md-nav__item--nested > .md-nav__link[aria-current="page"],
.md-nav--primary .md-nav__item--nested > .md-nav__link--active,
.md-nav--primary .md-nav__item--nested > .md-nav__toggle:checked + .md-nav__link{
  background: transparent;
  color: var(--text-1) !important;
}

.md-nav--primary .md-nav__item--nested > .md-nav__toggle:checked + .md-nav__link:hover,
.md-nav--primary .md-nav__item--nested > .md-nav__toggle:checked + .md-nav__link:focus-visible{
  background: var(--bg-200);
}

.md-nav--primary .md-nav__link:hover .md-ellipsis,
.md-nav--primary .md-nav__link:focus-visible .md-ellipsis,
.md-nav--primary .md-nav__link:hover .md-nav__icon,
.md-nav--primary .md-nav__link:focus-visible .md-nav__icon{
  cursor: pointer;
}

.md-nav__link:focus-visible,
.md-nav__link:hover{
  background: var(--bg-200);
  color: inherit !important;
}

.md-nav--primary .md-nav__link:hover,
.md-nav--primary .md-nav__link:focus-visible{
  background: var(--bg-200);
}

/* Links */
.md-typeset a{
  color: var(--text-2);
  text-underline-offset: var(--u-3);
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(0, 0, 0, 0.22);
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.md-typeset a:hover,
.md-typeset a:focus-visible{
  color: var(--text-1);
  text-decoration-color: rgba(0, 0, 0, 0.5);
}
.md-typeset a:focus-visible{
  outline: 3px solid rgba(0, 0, 0, 0.08);
  outline-offset: var(--u-2);
  border-radius: var(--u-6);
}

/* Back to top */
[data-md-component="top"],
[data-md-component="top"]:hover,
[data-md-component="top"]:focus,
[data-md-component="top"]:focus-visible,
[data-md-component="top"]:active,
.md-top,
.md-top:hover,
.md-top:focus,
.md-top:focus-visible,
.md-top:active{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--u-8) !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid var(--stroke) !important;
  color: var(--text-2) !important;
  font-size: var(--u-14) !important;
  line-height: var(--u-24) !important;
  box-shadow: 0 6px 18px rgba(15,23,42,0.08) !important;
  transition:
    opacity 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease !important;
  will-change: opacity;
}

.md-top{
  transform: translateX(-50%) !important;
}
[dir="rtl"] .md-top{
  transform: translateX(50%) !important;
}
.md-top[hidden]{
  display: block !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateX(-50%) !important;
}
[dir="rtl"] .md-top[hidden]{
  transform: translateX(50%) !important;
}

[data-md-component="top"]:hover,
[data-md-component="top"]:focus,
[data-md-component="top"]:focus-visible,
[data-md-component="top"]:active,
.md-top:hover,
.md-top:focus,
.md-top:focus-visible,
.md-top:active{
  background-color: #f7f6f3 !important;
  background-image: none !important;
  color: var(--text-1) !important;
}

[data-md-component="top"] svg,
[data-md-component="top"] .md-ellipsis,
[data-md-component="top"] .md-icon,
[data-md-component="top"] svg path,
.md-top svg,
.md-top .md-ellipsis,
.md-top .md-icon,
.md-top svg path{
  color: inherit !important;
  fill: currentColor !important;
}

[data-md-component="top"] svg,
.md-top svg{
  display: block !important;
  flex: 0 0 auto !important;
}

[data-md-component="top"] .md-ellipsis,
.md-top .md-ellipsis{
  font-size: var(--u-14) !important;
  line-height: var(--u-24) !important;
}

/* ---------- Dark Mode ---------- */
[data-md-color-scheme="slate"]{
  --text-1: hsl(0,0%,100%);
  --text-2: hsla(0,0%,100%,0.88);
  --text-3: hsla(0,0%,100%,0.72);
  --text-4: hsla(0,0%,100%,0.55);
  --text-5: hsla(0,0%,100%,0.38);
  --text-6: hsla(0,0%,100%,0.28);
  --bg-100: hsl(222,18%,11%);
  --bg-200: hsl(222,18%,14%);
  --code-inline-bg: hsl(222,18%,16%);
  --fg-900: var(--text-2);
  --muted-600: var(--text-3);
  --stroke: rgba(255,255,255,0.08);
  --code-bg: hsl(222,18%,9%);
  --md-default-fg-color: var(--text-2);
  --md-default-fg-color--light: var(--text-3);
  --md-default-fg-color--lighter: var(--text-4);
  --md-default-fg-color--lightest: var(--text-5);
  --md-typeset-color: var(--text-2);
  --md-typeset-a-color: var(--text-2);
  --md-warning-fg-color: var(--text-2);
  --md-code-fg-color: var(--text-2);
  --md-code-hl-color: hsla(0,0%,100%,0.06);
  --md-code-hl-number-color: hsl(30, 55%, 72%);
  --md-code-hl-special-color: hsl(280, 48%, 72%);
  --md-code-hl-function-color: hsl(225, 58%, 74%);
  --md-code-hl-constant-color: hsl(30, 55%, 72%);
  --md-code-hl-keyword-color: hsl(210, 60%, 72%);
  --md-code-hl-string-color: hsl(130, 32%, 72%);
  --md-code-hl-name-color: var(--text-2);
  --md-code-hl-operator-color: var(--text-3);
  --md-code-hl-punctuation-color: var(--text-3);
  --md-code-hl-comment-color: var(--text-5);
  --md-code-hl-generic-color: var(--text-4);
  --md-code-hl-variable-color: var(--text-2);
}
[data-md-color-scheme="slate"] .md-typeset blockquote{
  background: transparent;
  border-left-color: #FF7C00;
}
[data-md-color-scheme="slate"] [dir=rtl] .md-typeset blockquote{
  background: transparent;
  border-right-color: #FF7C00;
}

/* ---------- Print ---------- */
@media print{
  .md-header, .md-footer, .md-sidebar--primary, .md-sidebar--secondary{
    display:none !important;
  }
  .md-content{ padding:0 !important; }
  .md-typeset{ max-width:none; font-size:12pt; }
  pre{ box-shadow:none; }
  a[href^="http"]::after{
    content: " (" attr(href) ")";
    font-size:0.9em;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 56.25rem){
  .md-grid{ padding: 0 var(--u-10); }
  .md-content{ padding: 0 var(--u-16) var(--u-28); }
  .md-nav__link::before{ display:none; }
}

/* ---------- Fix Material language selector in white header ---------- */
.md-header {
  color: var(--text-2) !important;
  --md-primary-bg-color: var(--text-2);
  --md-primary-bg-color--light: var(--text-3);
}

.md-header .md-header__button,
.md-header .md-header__button.md-icon,
.md-header .md-select,
.md-header .md-select__inner {
  color: var(--text-2) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.md-header .md-select__inner svg,
.md-header .md-header__button svg {
  display: block !important;
  color: currentColor !important;
  fill: currentColor !important;
}