/* The documentation site's look: a quiet, warm-neutral reading layout with serif headings, hairline rules and
   pill navigation, laid over Zensical's default theme. Component styles for diagrams and beta marks are in extra.css. */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:wght@300;400;500;600&display=swap");

:root,
[data-md-color-scheme="default"] {
  --ps-bg: #FCFCFB;
  --ps-raised: #FFFFFF;
  --ps-text: #0B0B0B;
  --ps-muted: #52514E;
  --ps-faint: #8A8984;
  --ps-hairline: rgba(11, 11, 11, 0.1);
  --ps-fill: rgba(11, 11, 11, 0.04);
  --ps-fill-strong: rgba(11, 11, 11, 0.09);
  --ps-link: #184F95;
  --ps-link-line: rgba(24, 79, 149, 0.4);
  --ps-code-ink: #8E2626;
  --ps-amber: #9A6212;
  --ps-amber-fill: rgba(217, 140, 30, 0.08);
  --ps-button-bg: #0B0B0B;
  --ps-button-fg: #FCFCFB;
  --ps-serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;

}

[data-md-color-scheme="slate"] {
  --ps-bg: #151515;
  --ps-raised: #1A1A19;
  --ps-text: #F0EFEC;
  --ps-muted: #C3C2B7;
  --ps-faint: #8C8B85;
  --ps-hairline: rgba(255, 255, 255, 0.1);
  --ps-fill: rgba(255, 255, 255, 0.05);
  --ps-fill-strong: rgba(255, 255, 255, 0.13);
  --ps-link: #8DB6EC;
  --ps-link-line: rgba(141, 182, 236, 0.4);
  --ps-code-ink: #EC7E7E;
  --ps-amber: #E0B062;
  --ps-amber-fill: rgba(224, 176, 98, 0.08);
  --ps-button-bg: #F0EFEC;
  --ps-button-fg: #151515;

}

/* Map the theme's variables onto the palette on the element that carries the scheme, so each scheme resolves its own values. */
[data-md-color-scheme] {
  --md-default-bg-color: var(--ps-bg);
  --md-default-fg-color: var(--ps-text);
  --md-default-fg-color--light: var(--ps-muted);
  --md-default-fg-color--lighter: var(--ps-faint);
  --md-default-fg-color--lightest: var(--ps-hairline);
  --md-primary-fg-color: var(--ps-bg);
  --md-primary-fg-color--light: var(--ps-bg);
  --md-primary-fg-color--dark: var(--ps-bg);
  --md-primary-bg-color: var(--ps-text);
  --md-primary-bg-color--light: var(--ps-muted);
  --md-accent-fg-color: var(--ps-text);
  --md-accent-fg-color--transparent: var(--ps-fill);
  --md-typeset-color: var(--ps-muted);
  --md-typeset-a-color: var(--ps-link);
  --md-typeset-table-color: var(--ps-hairline);
  --md-code-bg-color: var(--ps-raised);
  --md-code-fg-color: var(--ps-text);
  --md-code-hl-keyword-color: #8E2626;
  --md-code-hl-string-color: #184F95;
  --md-code-hl-number-color: #9A4A12;
  --md-code-hl-function-color: #0E6A6E;
  --md-code-hl-name-color: var(--ps-text);
  --md-code-hl-constant-color: #6B3FA0;
  --md-code-hl-special-color: #8E2626;
  --md-code-hl-operator-color: var(--ps-muted);
  --md-code-hl-punctuation-color: var(--ps-muted);
  --md-code-hl-comment-color: var(--ps-faint);
  --md-code-hl-generic-color: var(--ps-faint);
  --md-code-hl-variable-color: var(--ps-text);
  --md-footer-bg-color: var(--ps-bg);
  --md-footer-bg-color--dark: var(--ps-bg);
  --md-footer-fg-color: var(--ps-text);
  --md-footer-fg-color--light: var(--ps-muted);
  --md-footer-fg-color--lighter: var(--ps-faint);
  --md-admonition-bg-color: var(--ps-fill);
  --md-admonition-fg-color: var(--ps-muted);
  --md-shadow-z1: none;
  --md-shadow-z2: none;
  --md-shadow-z3: 0 8px 30px rgba(11, 11, 11, 0.12);
}

[data-md-color-scheme="slate"] {
  --md-default-bg-color: var(--ps-bg);
  --md-default-bg-color--light: var(--ps-bg);
  --md-default-bg-color--lighter: var(--ps-bg);
  --md-code-hl-keyword-color: #EC7E7E;
  --md-code-hl-string-color: #8DB6EC;
  --md-code-hl-number-color: #E0A060;
  --md-code-hl-function-color: #6CCFC4;
  --md-code-hl-constant-color: #C3A6F0;
  --md-code-hl-special-color: #EC7E7E;
}

body {
  background: var(--ps-bg);
  -webkit-font-smoothing: antialiased;
}

/* The type scale follows the PoreStore app (15px text, 23.5px page titles, 14.5px navigation). The theme enlarges the
   root font on wide screens, so hold it at 20px everywhere: every size below is a fixed number of pixels. */
@media screen and (min-width: 100em) {
  html {
    font-size: 125%;
  }
}
@media screen and (min-width: 125em) {
  html {
    font-size: 125%;
  }
}

/* The type scale, after the Claude docs (platform.claude.com/docs), with the sidebar a step larger. */
:root {
  --ps-fs-body: 15px;
  --ps-lh-body: 1.47;
  --ps-fs-lead: 16.875px;
  --ps-fs-h1: 26.25px;
  --ps-fs-h2: 20.625px;
  --ps-fs-h3: 16.875px;
  --ps-fs-h4: 15px;
  --ps-fs-nav: 15px;
  --ps-fs-toc: 14px;
  --ps-fs-table: 15px;
  --ps-fs-callout: 15px;
  --ps-fs-code: 0.9em;
  --ps-fs-pre: 13.5px;
  --ps-fs-small: 14px;
  --ps-fs-label: 15px;
  --ps-label-case: none;
  --ps-label-spacing: 0;
}

/* Labels for the sidebar headings, the table of contents' title and table headers. */
.md-sidebar--primary .md-nav__item--section > .md-nav__link,
.md-sidebar--primary .md-nav__item--section > label.md-nav__link,
.md-sidebar--secondary .md-nav__title,
.md-typeset table:not([class]) th {
  font-size: var(--ps-fs-label);
  font-weight: 500;
  letter-spacing: var(--ps-label-spacing);
  text-transform: var(--ps-label-case);
}

/* ---------- Header ---------- */

.md-header {
  height: 2.8rem;
  background: var(--ps-bg);
  color: var(--ps-text);
  border-bottom: 1px solid var(--ps-hairline);
  box-shadow: none;
}
.md-header--shadow {
  box-shadow: none;
}
.md-header__inner {
  height: 2.8rem;
  padding: 0 0.5rem;
  max-width: none;
}
.md-header__button.md-logo {
  margin: 0 0.15rem 0 0.2rem;
  padding: 0.3rem;
}
.md-header__button.md-logo img {
  height: 1.1rem;
}
.md-header__title {
  margin-left: 0.15rem;
  font-family: var(--ps-serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.md-header__topic:first-child {
  font-weight: 600;
}
.md-header .ps-header-home {
  color: inherit;
}
.md-header__button.md-icon {
  color: var(--ps-muted);
}
.md-header__button.md-icon:hover {
  color: var(--ps-text);
  opacity: 1;
}

/* The header's Sign in button (javascripts/header.js). */
.ps-header-button {
  margin: 0 0.4rem 0 0.25rem;
  padding: 0.25rem 0.7rem;
  border-radius: 7px;
  background: var(--ps-button-bg);
  color: var(--ps-button-fg);
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
}
.ps-header-button:hover {
  color: var(--ps-button-fg);
  opacity: 0.88;
}

/* The section tabs sit as pills in the middle of the header on wide screens. */
@media screen and (min-width: 76.25em) {
  .md-tabs {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 5;
    width: auto;
    height: 2.8rem;
    transform: translateX(-50%);
    background: transparent;
    color: var(--ps-text);
    overflow: visible;
    display: flex;
    align-items: center;
  }
  .md-tabs[hidden] {
    transform: translateX(-50%);
  }
  .md-tabs .md-grid {
    margin: 0;
    padding: 0;
    max-width: none;
  }
  .md-tabs__list {
    display: flex;
    gap: 0.15rem;
    margin: 0;
    padding: 0;
    white-space: nowrap;
  }
  .md-tabs__item {
    height: auto;
    padding: 0;
  }
  .md-tabs__link {
    display: block;
    margin: 0;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    color: var(--ps-muted);
    font-size: 0.725rem;
    opacity: 1;
  }
  .md-tabs__link:hover {
    color: var(--ps-text);
  }
  .md-tabs__item--active .md-tabs__link {
    background: var(--ps-fill-strong);
    color: var(--ps-text);
  }
}

/* Search lives at the top of the left sidebar, and in the hero on the home page. */
@media screen and (min-width: 76.25em) {
  .md-header .md-search {
    display: none;
  }
}
.ps-search-box {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  margin: 0 0 0.9rem;
  padding: 0.32rem 0.5rem;
  border: 1px solid var(--ps-hairline);
  border-radius: 8px;
  background: var(--ps-raised);
  color: var(--ps-faint);
  font: inherit;
  font-size: 0.7rem;
  text-align: left;
  cursor: text;
}
.ps-search-box:hover {
  border-color: var(--ps-faint);
}
.ps-search-box svg {
  width: 0.8rem;
  height: 0.8rem;
  flex: none;
}
.ps-search-box kbd {
  margin-left: auto;
  padding: 0 0.3em;
  border: 1px solid var(--ps-hairline);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.525rem;
  color: var(--ps-faint);
}

/* ---------- Layout ---------- */

/* The navigation sidebar hugs the left edge, the table of contents the right, and the page is centred between them. */
.md-main__inner.md-grid {
  max-width: none;
  margin-top: 0;
}
@media screen and (min-width: 76.25em) {
  .md-main__inner.md-grid {
    margin: 0;
  }
  .md-sidebar--primary {
    width: 13.2rem;
    padding-top: 0;
  }
  .md-sidebar--primary .md-sidebar__scrollwrap {
    margin: 0;
    border-right: 1px solid var(--ps-hairline);
  }
  .md-sidebar--primary .md-sidebar__inner {
    padding: 0.6rem 0.6rem 2rem 0.6rem;
  }
  .md-sidebar--primary .md-nav--primary > .md-nav__title {
    display: none;
  }
  /* The sidebar is pinned to the window at full height, so it never shortens to make way for the footer; the
     content and the footer start to its right. */
  .md-sidebar--primary:not([hidden]) {
    position: fixed;
    bottom: 0;
    left: 0;
    align-self: stretch;
    height: auto;
  }
  /* Zensical's script sets this height to end above the footer; the pinned sidebar always runs to the bottom. */
  .md-sidebar--primary .md-sidebar__scrollwrap {
    height: 100% !important;
  }
  .md-main__inner:has(> .md-sidebar--primary:not([hidden])) {
    padding-left: 13.2rem;
  }
  .md-container:has(.md-sidebar--primary:not([hidden])) .md-footer {
    margin-left: 13.2rem;
  }
}
@media screen and (min-width: 60em) {
  .md-sidebar--secondary {
    width: 14.4rem;
    padding-right: 1rem;
  }
}
.md-content {
  max-width: none;
}
.md-content__inner {
  max-width: 44.8rem;
  margin: 0 auto 3rem;
  padding: 1rem 1.6rem 0;
}
@media screen and (max-width: 76.1875em) {
  .md-content__inner {
    padding: 0.8rem 1rem 0;
  }
}

/* ---------- Navigation ---------- */

.md-nav {
  font-size: var(--ps-fs-nav);
  line-height: 1.43;
}
.md-nav__link {
  margin-top: 0.08rem;
  padding: 0.18rem 0.45rem;
  border-radius: 8px;
  color: var(--ps-muted);
}
.md-nav__link:hover,
.md-nav__link:focus {
  color: var(--ps-text);
}
.md-sidebar--primary .md-nav__link:hover {
  background: var(--ps-fill);
}
.md-sidebar--primary .md-nav__link--active,
.md-sidebar--primary .md-nav__link--active:hover {
  background: var(--ps-fill-strong);
  color: var(--ps-text);
  font-weight: 400;
}
.md-sidebar--primary .md-nav__item--section > .md-nav__link,
.md-sidebar--primary .md-nav__item--section > label.md-nav__link {
  margin-top: 1.1rem;
  color: var(--ps-muted);
  font-weight: 700;
  background: none;
}
.md-sidebar--primary .md-nav__item--section:first-child > .md-nav__link {
  margin-top: 0;
}
.md-nav__item--section > .md-nav > .md-nav__list {
  margin-top: 0.15rem;
}
.md-sidebar--primary .md-nav__item--section > .md-nav {
  margin-left: 0;
}
.md-nav__icon {
  color: var(--ps-faint);
}

/* On this page */
.md-sidebar--secondary .md-nav__title {
  padding: 0 0.45rem;
  color: var(--ps-muted);
  font-weight: 700;
  background: none;
  box-shadow: none;
}
.md-sidebar--secondary .md-nav {
  font-size: var(--ps-fs-toc);
}
.md-sidebar--secondary .md-nav__link {
  padding: 0.12rem 0.45rem;
  color: var(--ps-muted);
}
.md-sidebar--secondary .md-nav__link--active {
  color: var(--ps-text);
  font-weight: 500;
}
.md-sidebar--secondary .md-nav .md-nav {
  margin-left: 0.6rem;
}

/* Breadcrumbs */
.md-path {
  margin: 0 0 0.6rem;
  font-size: var(--ps-fs-small);
  color: var(--ps-faint);
}
.md-path__link {
  color: var(--ps-faint);
}
.md-path__link:hover {
  color: var(--ps-text);
}

/* ---------- Typography ---------- */

.md-typeset {
  font-size: var(--ps-fs-body);
  line-height: var(--ps-lh-body);
  color: var(--ps-muted);
}
.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  font-family: var(--ps-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ps-text);
}
.md-typeset h1 {
  margin: 0 0 0.55rem;
  font-size: var(--ps-fs-h1);
  line-height: 1.25;
}
.md-typeset h1 + p {
  margin-top: 0;
  font-size: var(--ps-fs-lead);
  line-height: 1.5;
}
.md-typeset h2 {
  margin: 1.9rem 0 0.6rem;
  font-size: var(--ps-fs-h2);
  line-height: 1.25;
}
.md-typeset h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: var(--ps-fs-h3);
  line-height: 1.3;
}
.md-typeset h4 {
  margin: 1.2rem 0 0.4rem;
  font-size: var(--ps-fs-h4);
  font-weight: 600;
  color: var(--ps-text);
}
.md-typeset strong {
  color: var(--ps-text);
  font-weight: 600;
}
.md-typeset .headerlink {
  color: var(--ps-faint);
  text-decoration: none;
}
.md-typeset a {
  color: var(--ps-link);
  text-decoration: underline;
  text-decoration-color: var(--ps-link-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.md-typeset a:hover,
.md-typeset a:focus {
  color: var(--ps-link);
  text-decoration-color: var(--ps-link);
}
.md-typeset .footnote-ref a,
.md-typeset a.footnote-backref,
.md-typeset a.md-button,
.md-typeset .headerlink {
  text-decoration: none;
}
.md-typeset hr {
  border-bottom: 1px solid var(--ps-hairline);
}
.md-typeset ul li,
.md-typeset ol li {
  margin-bottom: 0.3em;
}
.md-typeset dt {
  color: var(--ps-text);
  font-weight: 600;
}

/* ---------- Code ---------- */

.md-typeset :not(pre) > code {
  padding: 0.05em 0.28em;
  border: 1px solid var(--ps-hairline);
  border-radius: 6px;
  background: var(--ps-fill);
  color: var(--ps-code-ink);
  font-size: var(--ps-fs-code);
  word-break: break-word;
}
.md-typeset a > code {
  color: inherit;
}
.md-typeset .highlight,
.md-typeset pre {
  border-radius: 12px;
}
.md-typeset div.highlight {
  border: 1px solid var(--ps-hairline);
  background: var(--ps-raised);
  overflow: hidden;
}
.md-typeset pre > code {
  padding: 0.85em 1em;
  background: var(--ps-raised);
  font-size: var(--ps-fs-pre);
  line-height: 1.5;
}
.md-typeset .highlight span.filename {
  margin: 0;
  padding: 0.5em 1em;
  border-bottom: 1px solid var(--ps-hairline);
  border-radius: 0;
  background: var(--ps-fill);
  color: var(--ps-muted);
  font-size: 0.65rem;
  font-weight: 500;
}
.md-clipboard {
  color: var(--ps-faint);
}
.md-clipboard:hover {
  color: var(--ps-text);
}

/* ---------- Tables ---------- */

.md-typeset__scrollwrap {
  margin: 1em 0;
}
.md-typeset__table {
  padding: 0;
}
.md-typeset table:not([class]) {
  border: 1px solid var(--ps-hairline);
  border-radius: 11px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--ps-raised);
  font-size: var(--ps-fs-table);
  line-height: 1.45;
  box-shadow: none;
}
.md-typeset table:not([class]) th {
  background: var(--ps-fill);
  color: var(--ps-faint);
  border-bottom: 1px solid var(--ps-hairline);
}
.md-typeset table:not([class]) td {
  border-top: 1px solid var(--ps-hairline);
  vertical-align: top;
}
.md-typeset table:not([class]) tbody tr:first-child td {
  border-top: none;
}
.md-typeset table:not([class]) th,
.md-typeset table:not([class]) td {
  padding: 0.55em 0.9em;
}
.md-typeset table:not([class]) tr:hover {
  background: none;
  box-shadow: none;
}

/* ---------- Callouts ---------- */

.md-typeset .admonition,
.md-typeset details {
  margin: 1.2em 0;
  padding: 0 0.9rem;
  border: 1px solid var(--ps-hairline);
  border-left-width: 1px;
  border-radius: 10px;
  background: var(--ps-fill);
  box-shadow: none;
  font-size: var(--ps-fs-callout);
  color: var(--ps-muted);
}
.md-typeset .admonition > .admonition-title,
.md-typeset details > summary {
  margin: 0 -0.9rem;
  padding: 0.6rem 0.9rem 0 2.3rem;
  background: none;
  border: none;
  color: var(--ps-text);
  font-weight: 600;
}
.md-typeset .admonition > .admonition-title::before,
.md-typeset details > summary::before {
  top: 0.68rem;
  left: 0.9rem;
  width: 0.9rem;
  height: 0.9rem;
  background-color: var(--ps-muted);
}
.md-typeset .admonition > .admonition-title::after,
.md-typeset details > summary::after {
  color: var(--ps-faint);
}
.md-typeset .admonition.warning,
.md-typeset .admonition.caution,
.md-typeset .admonition.danger,
.md-typeset .ps-beta-banner {
  border-color: color-mix(in srgb, var(--ps-amber) 35%, transparent);
  background: var(--ps-amber-fill);
}
.md-typeset .admonition.warning > .admonition-title::before,
.md-typeset .admonition.caution > .admonition-title::before,
.md-typeset .admonition.danger > .admonition-title::before,
.md-typeset .ps-beta-banner > .admonition-title::before {
  background-color: var(--ps-amber);
}
.md-typeset .admonition.tip > .admonition-title::before {
  background-color: var(--md-code-hl-function-color);
}

/* ---------- Content tabs ---------- */

.md-typeset .tabbed-set {
  margin: 1.2em 0;
}
.md-typeset .tabbed-labels {
  gap: 0.15rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--ps-hairline);
  box-shadow: none;
}
.md-typeset .tabbed-labels::before {
  display: none;
}
.md-typeset .tabbed-labels > label {
  margin: 0;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  color: var(--ps-muted);
  font-size: 0.7rem;
  font-weight: 400;
}
.md-typeset .tabbed-labels > label:hover {
  color: var(--ps-text);
}
.md-typeset .tabbed-set > input:nth-child(1):checked ~ .tabbed-labels > :nth-child(1),
.md-typeset .tabbed-set > input:nth-child(2):checked ~ .tabbed-labels > :nth-child(2),
.md-typeset .tabbed-set > input:nth-child(3):checked ~ .tabbed-labels > :nth-child(3),
.md-typeset .tabbed-set > input:nth-child(4):checked ~ .tabbed-labels > :nth-child(4),
.md-typeset .tabbed-set > input:nth-child(5):checked ~ .tabbed-labels > :nth-child(5),
.md-typeset .tabbed-set > input:nth-child(6):checked ~ .tabbed-labels > :nth-child(6) {
  background: var(--ps-fill-strong);
  color: var(--ps-text);
}
.md-typeset .tabbed-content {
  padding-top: 0.3rem;
}

/* ---------- Cards and buttons ---------- */

/* A tool's summary: a list of "**Label** value" items drawn as a spec sheet, one row per item with an icon, the label
   and the value in three columns. The icons go by position, so a User guide card lists Find it, Needs, Returns,
   Runs on and Science, and a Scientific reference card (ps-summary--science) Solves, Backends, Reports and How to
   run it, or labels that mean the same in each place. */
.md-typeset .ps-summary {
  margin: 1rem 0 1.4rem;
  border: 1px solid var(--ps-hairline);
  border-radius: 12px;
  background: var(--ps-raised);
  overflow: hidden;
  font-size: 0.72rem;
}
.md-typeset .ps-summary > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.md-typeset .ps-summary > ul > li {
  position: relative;
  margin: 0;
  padding: 0.5rem 0.9rem 0.5rem 8.6rem;
  border-top: 1px solid var(--ps-hairline);
  color: var(--ps-text);
}
.md-typeset .ps-summary > ul > li:first-child {
  border-top: none;
}
.md-typeset .ps-summary > ul > li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.9rem;
  width: 0.85rem;
  height: 0.85rem;
  margin-top: -0.425rem;
  background-color: var(--ps-faint);
  -webkit-mask: var(--ps-summary-icon) center / contain no-repeat;
  mask: var(--ps-summary-icon) center / contain no-repeat;
}
.md-typeset .ps-summary > ul > li > strong:first-child {
  position: absolute;
  top: 0.5rem;
  left: 2.5rem;
  width: 5.5rem;
  color: var(--ps-muted);
  font-weight: 400;
}
/* Lucide icons, by row: compass, image, chart-line, cpu, atom on a User guide page; sigma, cpu, chart-line,
   book-open on a Scientific reference page. */
.md-typeset .ps-summary > ul > li:nth-child(1) {
  --ps-summary-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%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m16.24 7.76-2.12 6.36-6.36 2.12 2.12-6.36 6.36-2.12z'/%3E%3C/svg%3E");
}
.md-typeset .ps-summary > ul > li:nth-child(2) {
  --ps-summary-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%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21'/%3E%3C/svg%3E");
}
.md-typeset .ps-summary > ul > li:nth-child(3) {
  --ps-summary-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='M3 3v16a2 2 0 0 0 2 2h16'/%3E%3Cpath d='m19 9-5 5-4-4-3 3'/%3E%3C/svg%3E");
}
.md-typeset .ps-summary > ul > li:nth-child(4) {
  --ps-summary-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%3Crect width='16' height='16' x='4' y='4' rx='2'/%3E%3Crect width='6' height='6' x='9' y='9' rx='1'/%3E%3Cpath d='M15 2v2M15 20v2M2 15h2M2 9h2M20 15h2M20 9h2M9 2v2M9 20v2'/%3E%3C/svg%3E");
}
.md-typeset .ps-summary > ul > li:nth-child(5) {
  --ps-summary-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%3Ccircle cx='12' cy='12' r='1'/%3E%3Cpath d='M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z'/%3E%3Cpath d='M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z'/%3E%3C/svg%3E");
}
.md-typeset .ps-summary--science > ul > li:nth-child(1) {
  --ps-summary-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='M18 7V5a1 1 0 0 0-1-1H6.5a.5.5 0 0 0-.4.8l4.5 6a2 2 0 0 1 0 2.4l-4.5 6a.5.5 0 0 0 .4.8H17a1 1 0 0 0 1-1v-2'/%3E%3C/svg%3E");
}
.md-typeset .ps-summary--science > ul > li:nth-child(2) {
  --ps-summary-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%3Crect width='16' height='16' x='4' y='4' rx='2'/%3E%3Crect width='6' height='6' x='9' y='9' rx='1'/%3E%3Cpath d='M15 2v2M15 20v2M2 15h2M2 9h2M20 15h2M20 9h2M9 2v2M9 20v2'/%3E%3C/svg%3E");
}
.md-typeset .ps-summary--science > ul > li:nth-child(3) {
  --ps-summary-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='M3 3v16a2 2 0 0 0 2 2h16'/%3E%3Cpath d='m19 9-5 5-4-4-3 3'/%3E%3C/svg%3E");
}
.md-typeset .ps-summary--science > ul > li:nth-child(4) {
  --ps-summary-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='M12 7v14'/%3E%3Cpath d='M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z'/%3E%3C/svg%3E");
}
/* On a phone the label sits above its value, and the icon beside the label. */
@media screen and (max-width: 30em) {
  .md-typeset .ps-summary > ul > li {
    padding-left: 2.5rem;
  }
  .md-typeset .ps-summary > ul > li::before {
    top: 0.65rem;
    margin-top: 0;
  }
  .md-typeset .ps-summary > ul > li > strong:first-child {
    position: static;
    display: block;
    width: auto;
  }
}

.md-typeset .md-button {
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--ps-hairline);
  border-radius: 8px;
  background: var(--ps-raised);
  color: var(--ps-text);
  font-size: 0.7rem;
  font-weight: 500;
}
.md-typeset .md-button:hover,
.md-typeset .md-button:focus {
  border-color: var(--ps-faint);
  background: var(--ps-fill);
  color: var(--ps-text);
}
.md-typeset .md-button--primary {
  border-color: var(--ps-button-bg);
  background: var(--ps-button-bg);
  color: var(--ps-button-fg);
}
.md-typeset .md-button--primary:hover {
  background: var(--ps-button-bg);
  color: var(--ps-button-fg);
  opacity: 0.88;
}

/* ---------- Footer ---------- */

.md-footer {
  border-top: 1px solid var(--ps-hairline);
  background: var(--ps-bg);
  color: var(--ps-text);
}
.md-footer__inner.md-grid {
  max-width: 44.8rem;
  padding: 0.4rem 1.6rem;
}
.md-footer__link {
  opacity: 1;
}
.md-footer__title {
  font-size: 0.75rem;
}
.md-footer__direction {
  color: var(--ps-faint);
}
.md-top {
  border: 1px solid var(--ps-hairline);
  background: var(--ps-raised);
  color: var(--ps-text);
  box-shadow: none;
}

/* The company footer (overrides/partials/footer.html). */
.ps-footer {
  border-top: 1px solid var(--ps-hairline);
  font-size: 0.65rem;
}
.ps-footer__inner {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(0, 2.6fr);
  gap: 2.5rem;
  max-width: 64rem;
  margin: 0 auto;
  padding: 2.6rem 1.6rem 2rem;
}
.ps-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ps-text);
  font-family: var(--ps-serif);
  font-size: 0.825rem;
}
.ps-footer__logo:hover {
  color: var(--ps-text);
}
.ps-footer__logo img {
  width: 1.05rem;
  height: 1.05rem;
}
.ps-footer__tagline {
  max-width: 15rem;
  margin: 0.7rem 0 1rem;
  color: var(--ps-muted);
  line-height: 1.55;
}
.ps-footer__social {
  display: flex;
  gap: 0.35rem;
}
.ps-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 6px;
  color: var(--ps-muted);
}
.ps-footer__social a:hover {
  background: var(--ps-fill-strong);
  color: var(--ps-text);
}
.ps-footer__social svg {
  width: 0.8rem;
  height: 0.8rem;
  fill: currentColor;
}
.ps-footer__columns {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
}
.ps-footer__heading {
  margin: 0 0 0.6rem;
  color: var(--ps-faint);
}
.ps-footer__column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ps-footer__column li {
  margin: 0 0 0.45rem;
}
.ps-footer__column a {
  color: var(--ps-text);
}
.ps-footer__column a:hover {
  color: var(--ps-link);
}
.ps-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.6rem;
  max-width: 64rem;
  margin: 0 auto;
  padding: 1rem 1.6rem 1.6rem;
  border-top: 1px solid var(--ps-hairline);
  color: var(--ps-faint);
}
@media screen and (max-width: 60em) {
  .ps-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }
  .ps-footer__columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media screen and (max-width: 30em) {
  .ps-footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Math ---------- */

.md-typeset .katex-display {
  margin: 1em 0;
  color: var(--ps-text);
}
/* KaTeX wraps each display equation in an inline span, whose empty line boxes would add space above and below. */
.md-typeset div.arithmatex > span {
  display: block;
}
.md-typeset .katex {
  font-size: 1.1em;
  color: var(--ps-text);
}

/* The docs have no public repository to link to. */
.md-header__source {
  display: none;
}

/* Quiet scrollbars in the sidebars. */
.md-sidebar__scrollwrap {
  scrollbar-width: thin;
  scrollbar-color: var(--ps-hairline) transparent;
}
.md-sidebar__scrollwrap:hover {
  scrollbar-color: var(--ps-faint) transparent;
}

.md-tabs__item,
.md-tabs__item--active {
  border: none;
}

/* Breadcrumbs and the page share one centred column. */
@media screen and (min-width: 76.25em) {
  .md-main .md-content__inner,
  .md-main .md-sidebar:not([hidden]) ~ .md-content > .md-content__inner,
  .md-main .md-path {
    max-width: 44.8rem;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.6rem;
    padding-left: 1.6rem;
  }
  .md-main .md-path {
    margin-top: 1.6rem;
    margin-bottom: 0;
  }
  .md-main .md-content__inner {
    padding-top: 0.6rem;
  }
  .md-main .md-content__inner > h1:first-child {
    margin-top: 0;
  }
}

/* The header always shows the site name, never the page title. */
.md-header__title--active .md-header__topic:first-child {
  opacity: 1;
  transform: none;
  z-index: 0;
  pointer-events: auto;
  transition: none;
}
.md-header__topic + .md-header__topic {
  display: none;
}

.md-typeset figcaption {
  font-style: normal;
}

.md-typeset figure.ps-diagram figcaption,
.md-typeset figure.ps-figure figcaption {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.js .md-typeset .tabbed-labels::before {
  display: none;
}
.md-typeset .tabbed-labels {
  align-items: center;
}
.md-typeset .tabbed-labels > label {
  line-height: 1.4;
}
.js .md-typeset .tabbed-labels > label > [href]:first-child {
  margin: 0;
  padding: 0;
  color: inherit;
  text-decoration: none;
}

/* ---------- Home page ---------- */

.md-main .md-content__inner:has(.ps-home) {
  max-width: 57.6rem;
  margin: 0 auto 4rem;
  padding: 0 1.2rem;
}
.ps-eyebrow {
  margin: 0 0 0.35rem;
  color: var(--ps-muted);
  font-size: 0.65rem;
}
.ps-hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.2rem;
  align-items: start;
  padding: 2.6rem 0 3.5rem;
}
.md-typeset .ps-hero__title {
  margin: 0 0 0.8rem;
  font-family: var(--ps-serif);
  font-size: 2.6rem;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ps-text);
}
.md-typeset .ps-hero__lead {
  margin: 0 0 1.2rem;
  max-width: 22.4rem;
  font-size: 0.75rem;
  color: var(--ps-muted);
}
.ps-hero [data-ps-search] {
  max-width: 14.4rem;
}
.ps-hero .ps-search-box {
  margin-bottom: 0.9rem;
}
.ps-hero .md-button {
  margin: 0 0.3rem 0.4rem 0;
}
.md-typeset .md-button .twemoji,
.ps-link-grid .twemoji,
.ps-build-card__body .twemoji {
  width: 0.85em;
  height: 0.85em;
  margin-right: 0.3em;
  vertical-align: -0.1em;
  color: var(--ps-muted);
}
.ps-hero__code .tabbed-set {
  margin: 0;
  border: 1px solid var(--ps-hairline);
  border-radius: 12px;
  background: var(--ps-raised);
  overflow: hidden;
}
.md-typeset .ps-hero__code .tabbed-labels {
  padding: 0.35rem 0.4rem;
}
.md-typeset .ps-hero__code .tabbed-labels > label {
  padding: 0.15rem 0.55rem;
  font-size: 0.65rem;
}
.ps-hero__code .tabbed-content {
  padding: 0;
}
.ps-hero__code div.highlight {
  margin: 0;
  border: none;
  border-radius: 0;
}

.ps-home__section {
  padding: 2rem 0 1rem;
}
.md-typeset .ps-home__section h2 {
  margin: 0 0 0.3rem;
  font-family: var(--md-text-font-family, "IBM Plex Sans", sans-serif);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.md-typeset .ps-home__lead {
  margin: 0 0 1.2rem;
  max-width: 25.6rem;
  font-size: 0.75rem;
  color: var(--ps-muted);
}

/* One card per category of the app's tools, three to a row on desktop, two on a tablet and one on a phone. */
.ps-build-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.ps-build-card {
  border: 1px solid var(--ps-hairline);
  border-radius: 12px;
  background: var(--ps-raised);
  overflow: hidden;
}
.ps-build-card__art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 7rem;
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid var(--ps-hairline);
  background: var(--ps-fill);
  color: var(--ps-text);
}
.ps-build-card__art svg {
  width: 100%;
  height: 100%;
}
.ps-build-card__body {
  padding: 0.8rem 0.9rem 0.9rem;
}
.md-typeset .ps-build-card__body h3 {
  margin: 0 0 0.25rem;
  font-family: var(--md-text-font-family, "IBM Plex Sans", sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
}
.md-typeset .ps-build-card__body p {
  margin: 0 0 0.7rem;
  font-size: 0.725rem;
}
.md-typeset .ps-build-card__links > p {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
}
/* The category's tools the app lists as coming soon, as small tags under its links. */
.md-typeset p.ps-build-card__soon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0.8rem 0 0;
  color: var(--ps-muted);
  font-size: 0.65rem;
}
.md-typeset .ps-build-card__body a,
.md-typeset .ps-link-grid a {
  color: var(--ps-text);
  font-size: 0.7rem;
  text-decoration: none;
}
.md-typeset .ps-build-card__body a:hover {
  text-decoration: underline;
}

/* The home page workflow: one column per step, the step numbers joined by a line, each step's links listed below it.
   Below the desktop layout the columns stack. */
.ps-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.1rem;
}
.ps-step {
  position: relative;
  padding: 1.7rem 0 0;
}
.ps-step::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  right: -1.1rem;
  left: 1.5rem;
  border-top: 1px solid var(--ps-hairline);
}
.ps-step:last-child::before {
  display: none;
}
.md-typeset .ps-step__title {
  position: relative;
  margin: 0;
  color: var(--ps-text);
  font-size: 0.8rem;
  font-weight: 600;
}
.ps-step__number {
  position: absolute;
  top: -1.7rem;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--ps-fill-strong);
  color: var(--ps-text);
  font-size: 0.6rem;
}
.ps-step:first-child .ps-step__number {
  background: var(--ps-fluid);
  color: var(--ps-pore);
}
.md-typeset p.ps-step__lead {
  margin: 0.15rem 0 0.5rem;
  color: var(--ps-muted);
  font-size: 0.7rem;
}
.md-typeset .ps-link-grid > p {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.md-typeset .ps-link-grid a {
  padding: 0.22rem 0;
}
.md-typeset .ps-link-grid a:hover {
  text-decoration: underline;
}

.ps-note-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.ps-note-cards > div,
.ps-note-cards > div.ps-beta {
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--ps-hairline);
  border-radius: 12px;
  background: var(--ps-raised);
  font-size: 0.725rem;
}
.ps-note-cards > div p {
  margin: 0 0 0.6rem;
}
.ps-note-cards > div p:last-child {
  margin: 0;
}

@media screen and (max-width: 60em) {
  .ps-hero,
  .ps-note-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .ps-build-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ps-steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .ps-step::before {
    display: none;
  }
  .md-typeset .ps-hero__title {
    font-size: 2rem;
  }
}
.md-typeset .ps-search-box kbd,
.ps-search-box kbd {
  box-shadow: none;
  background: none;
  border: 1px solid var(--ps-hairline);
}

@media screen and (max-width: 44.9375em) {
  .ps-build-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* On phones the header has no room for the Sign in button. */
@media screen and (max-width: 44.9375em) {
  .ps-header-button {
    display: none;
  }
}
