@font-face {
  font-family: "Montserrat";
  src: local("Montserrat"),
    url("https://sipi.pro/static/fonts/Montserrat-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: local("Montserrat SemiBold"),
    url("https://sipi.pro/static/fonts/Montserrat-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: local("Montserrat ExtraBold"),
    url("https://sipi.pro/static/fonts/Montserrat-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --md-primary-fg-color: #2563eb;
  --md-primary-fg-color--light: #60a5fa;
  --md-primary-fg-color--dark: #1d4ed8;
  --md-accent-fg-color: #2563eb;
  --md-default-fg-color: #111827;
  --md-default-fg-color--light: #6b7280;
  --md-typeset-a-color: #2563eb;
}

body,
input {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background-color: #f4f6ff;
  background-image:
    radial-gradient(70rem 35rem at 20% -10%, rgb(37 99 235 / 10%), transparent 60%),
    radial-gradient(60rem 30rem at 110% 20%, rgb(99 102 241 / 10%), transparent 55%);
  background-attachment: fixed;
}

html {
  background-color: #fff;
}

.md-header {
  background: linear-gradient(180deg, rgb(255 255 255 / 92%), rgb(243 244 255 / 88%));
  border-bottom: 1px solid rgb(191 219 254 / 62%);
  box-shadow: 0 10px 22px rgb(15 23 42 / 6%);
  color: #111827;
}

.md-header__title,
.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-typeset strong {
  font-weight: 800;
}

.md-header__button.md-logo img,
.md-nav__button.md-logo img {
  border-radius: 0.45rem;
}

.md-header__button.md-logo {
  margin-right: 0;
  padding-right: 0;
}

.md-header__title {
  margin-left: 0.3rem;
}

.md-search__form {
  background: #fff;
  border: 1.5px solid #93c5fd;
  border-radius: 999px;
  box-shadow:
    0 8px 22px rgb(37 99 235 / 10%),
    inset 0 0 0 1px rgb(255 255 255 / 75%);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.md-search__form:hover {
  border-color: #60a5fa;
  box-shadow:
    0 10px 26px rgb(37 99 235 / 14%),
    0 0 0 3px rgb(59 130 246 / 7%);
}

.md-search__form:focus-within {
  border-color: #2563eb;
  box-shadow:
    0 14px 34px rgb(37 99 235 / 18%),
    0 0 0 4px rgb(59 130 246 / 12%);
}

.md-search__input {
  color: #111827;
  font-weight: 500;
}

.md-search__input::placeholder {
  color: #475569;
  opacity: 1;
}

.md-search__icon,
.md-search__options {
  color: #2563eb;
}

.md-search__output {
  background: #f8faff;
}

.md-search__scrollwrap {
  scrollbar-color: #93c5fd transparent;
}

.md-search-result__meta {
  background: #eff6ff;
  border-bottom: 1px solid #dbeafe;
  color: #475569;
  font-weight: 600;
}

.md-search-result__item {
  border-bottom: 1px solid #e8eefc;
}

.md-search-result__link {
  background: #fff;
  transition:
    background-color 140ms ease,
    box-shadow 140ms ease;
}

.md-search-result__link:hover,
.md-search-result__link:focus {
  background: #eff6ff;
  box-shadow: inset 3px 0 0 #2563eb;
}

.md-search-result__title {
  color: #0f172a;
  font-weight: 700;
}

.md-search-result__teaser {
  color: #64748b;
}

.md-search-result mark {
  background: #dbeafe;
  border-radius: 0.2rem;
  color: #1d4ed8;
  font-weight: 700;
  padding: 0 0.08em;
}

.md-search-result__more {
  color: #2563eb;
  font-weight: 600;
}

@media screen and (min-width: 60em) {
  .md-header {
    backdrop-filter: blur(12px);
  }

  .md-search__overlay {
    background-color: rgb(15 23 42 / 54%);
    backdrop-filter: blur(3px);
  }

  .md-nav--primary > .md-nav__title,
  .md-sidebar--secondary .md-nav__title {
    background: transparent;
    box-shadow: none;
    position: static;
  }

  .md-path {
    margin-bottom: 0.7rem;
  }

  .md-search {
    padding: 0.3rem 0;
  }

  .md-search__icon[for="__search"] {
    color: #2563eb;
    display: inline-block;
    height: 1.2rem;
    left: 0.5rem;
    opacity: 1;
    top: 0.3rem;
    width: 1.2rem;
  }

  .md-search__icon[for="__search"] svg:first-child {
    display: block;
    fill: currentcolor;
    height: 1.2rem;
    opacity: 1;
    width: 1.2rem;
  }

  .md-search__icon[for="__search"] svg:last-child {
    display: none;
  }

  #__search:checked ~ .md-header .md-search__inner {
    background: transparent;
    border: 0;
    border-radius: 1rem;
    box-shadow: none;
  }

  #__search:checked ~ .md-header .md-search__form {
    border: 1px solid #bfdbfe;
    border-bottom: 1px solid #dbeafe;
    border-radius: 1rem 1rem 0 0;
    box-shadow: none;
  }

  #__search:checked ~ .md-header .md-search__output {
    border: 1px solid #bfdbfe;
    border-top: 0;
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 30px 80px rgb(15 23 42 / 28%);
  }

  #__search:checked ~ .md-header .md-search__scrollwrap {
    max-height: min(72vh, 42rem);
  }
}

.md-main__inner {
  margin-top: 1.2rem;
}

.md-content__inner {
  background: rgb(255 255 255 / 80%);
  border: 1px solid rgb(15 23 42 / 6%);
  border-radius: 1.25rem;
  box-shadow: 0 14px 36px rgb(15 23 42 / 8%);
  padding: 1.4rem 1.6rem 2rem;
}

.md-typeset h1 {
  color: #0f172a;
  letter-spacing: -0.025em;
}

.md-typeset .md-button {
  border-radius: 999px;
  font-weight: 700;
}

.md-typeset .md-button--primary {
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  border-color: #2563eb;
  box-shadow: 0 12px 28px rgb(37 99 235 / 18%);
}

.help-hero {
  margin: -0.2rem -0.2rem 1.7rem;
  padding: 1rem 0.2rem 0.6rem;
}

.help-hero > h1 {
  margin-bottom: 0.6rem;
  max-width: 15ch;
}

.help-hero > p:first-of-type {
  color: #4b5563;
  font-size: 0.9rem;
  max-width: 44rem;
}

.md-typeset .grid.cards > ul > li {
  background: rgb(243 244 255 / 76%);
  border: 1px solid rgb(15 23 42 / 6%);
  border-radius: 1rem;
  box-shadow: 0 10px 26px rgb(15 23 42 / 6%);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.md-typeset .grid.cards > ul > li:hover {
  border-color: rgb(37 99 235 / 24%);
  box-shadow: 0 14px 32px rgb(37 99 235 / 10%);
  transform: translateY(-2px);
}

.help-card-icon {
  align-items: center;
  background: #fff;
  border: 1px solid rgb(15 23 42 / 6%);
  border-radius: 0.75rem;
  color: #2563eb;
  display: inline-flex;
  font-size: 1.1rem;
  height: 2.2rem;
  justify-content: center;
  margin-bottom: 0.45rem;
  width: 2.2rem;
}

.help-brand-icon {
  display: block;
  fill: currentColor;
  height: 1.1rem;
  width: 1.1rem;
}

.help-device-heading {
  align-items: center;
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.65rem;
}

.help-device-heading .help-card-icon {
  flex: 0 0 2.2rem;
  margin-bottom: 0;
}

.help-device-heading strong {
  color: #111827;
  font-size: 0.9rem;
  line-height: 1.2;
}

.md-typeset .admonition,
.md-typeset details {
  border-radius: 1rem;
  box-shadow: 0 10px 26px rgb(15 23 42 / 6%);
}

@media screen and (max-width: 76.234375em) {
  .md-content__inner {
    border-radius: 1rem;
  }

  .md-sidebar--primary,
  .md-nav--primary,
  .md-nav--primary .md-nav,
  .md-nav--primary .md-nav__title ~ .md-nav__list {
    background: #fff;
  }

  .md-nav--primary .md-nav__title {
    background: #eff6ff;
    border-bottom: 1px solid #dbeafe;
    color: #0f172a;
    height: 3rem;
    line-height: 1.3;
    padding: 0.9rem 0.8rem 0.6rem 2.5rem;
  }

  .md-nav--primary .md-nav__title .md-nav__icon {
    color: #64748b;
    left: 0.8rem;
    top: 0.65rem;
  }

  .md-nav--primary .md-nav__title[for="__drawer"] {
    align-items: center;
    background: linear-gradient(180deg, #fff, #f8faff);
    color: #0f172a;
    display: flex;
    font-size: 0.68rem;
    height: 3.4rem;
    line-height: 1.25;
    padding: 0.6rem 0.55rem 0.6rem 2.9rem;
  }

  .md-nav--primary .md-nav__title[for="__drawer"] .md-logo {
    height: 2rem;
    left: 0.55rem;
    margin: 0;
    padding: 0.1rem;
    right: auto;
    top: 0.7rem;
    width: 2rem;
  }

  .md-nav--primary .md-nav__title[for="__drawer"] .md-logo img {
    height: 1.8rem;
    width: 1.8rem;
  }

  .md-nav--primary > .md-nav__list {
    padding: 0.35rem 0.45rem;
  }

  .md-nav--primary .md-nav__item {
    border-top: 0;
  }

  .md-nav--primary .md-nav__link {
    border-bottom: 1px solid #eef2f7;
    margin: 0;
    padding: 0.65rem 0.5rem;
  }

  .md-nav--primary .md-nav__link:focus,
  .md-nav--primary .md-nav__link:hover {
    background: #eff6ff;
  }

  .md-nav--primary .md-nav__item--active > .md-nav__link {
    background: #eff6ff;
    border-bottom-color: #dbeafe;
    border-radius: 0.6rem;
    color: #2563eb;
  }

  .md-nav--primary .md-nav__link .md-nav__icon {
    color: #64748b;
  }

  .md-overlay {
    background-color: transparent;
  }
}

@media screen and (max-width: 59.984375em) {
  .md-nav--primary .md-nav__link[for="__toc"] {
    display: none;
  }

  .md-nav--primary .md-nav__link[for="__toc"] + .md-nav__link {
    display: flex;
  }

  .md-nav--primary .md-nav__link[for="__toc"] ~ .md-nav {
    display: none;
  }

  #__search:checked ~ .md-header .md-search__inner {
    background: #fff;
  }
}

@media screen and (max-width: 44.984375em) {
  .md-search__form {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    border-top: 0;
    box-shadow: none;
  }

  .md-main__inner {
    margin-top: 0;
  }

  .md-content {
    padding: 0;
  }

  .md-content__inner {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 1.1rem 0.8rem 1.8rem;
  }

  .help-hero .md-button {
    margin-bottom: 0.4rem;
    text-align: center;
    width: 100%;
  }
}

/* The help center does not use the dark Material footer. */
.md-footer {
  display: none;
}
