/* Generated from the brand palette contract. Do not edit: run the
 * generator. Every colour below is either a design-system value or
 * derived from one, and the ratio beside each is the contrast it achieves
 * against what it is written on.
 *
 * body text and UI floor 4.5:1 (AA)   ·   hover floor 7:1 (AAA)
 */

/* The header is the website's bar (#1331): the panel's white with the rule
 * under it. Its words, #2e2350 on #ffffff, are 14.26:1. */
.md-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e6e5ea;
  box-shadow: none;
  color: #2e2350;
}
.md-progress {
  background: #2e2350;
}
/* The drawer's head, the band's height with the lockup in the middle of it,
 * and the site's name under it gives way as it does in the bar. */
@media screen and (max-width: 76.234375em) {
  .md-nav--primary .md-nav__title[for=__drawer] {
    background-color: #ffffff;
    color: transparent;
    height: 3.2rem;
  }
  .md-nav--primary .md-nav__title[for=__drawer] .md-logo {
    margin: 0 0.2rem;
    padding: 0.4rem 0.4rem;
    top: 0;
  }
  .md-nav--primary .md-nav__title[for=__drawer] .md-logo img {
    height: 2.4rem;
  }
}
/* The search field, where it sits in the bar: the search role's tint, its
 * hover colour under the pointer. What is typed and the icon are #2e2350
 * (10.02:1 at worst), the placeholder #625a7c (4.51:1). */
@media screen and (min-width: 60em) {
  .md-header .md-search__form {
    background-color: #e8e7ec;
  }
  .md-header .md-search__form:hover {
    background-color: #d9d7e0;
  }
  .md-header .md-search__input::placeholder {
    color: #625a7c;
  }
  .md-header .md-search__input + .md-search__icon {
    color: #2e2350;
  }
}

/* THE DOCS LOCKUP (S150W4): the curtain as the A of Aurora and docs beneath,
 * drawn for this band at the size family's steps, 56, 48 and 44 px, as the
 * website and the explorer draw theirs, and like theirs a link home at every
 * width. It names the site, so the name beside it gives way. */
.md-header__title {
  height: 3.2rem;
  line-height: 3.2rem;
}
.md-header__button.md-logo {
  margin: 0.1rem 0.2rem;
  padding: 0.1rem;
}
.md-header__button.md-logo img {
  height: 2.8rem;
}
.md-header__title .md-header__topic:first-child .md-ellipsis {
  color: transparent;
}
/* What the theme places below its band stands below this one: the sidebars
 * where they are sticky, all of them at its widest step and the table of
 * contents from its tablet one. Below those the menu is a drawer the theme
 * pins to the top of the screen, which a rule for every sidebar would push
 * down by the band. */
@media screen and (min-width: 76.25em) {
  .md-sidebar {
    top: 3.2rem;
  }
}
@media screen and (min-width: 60em) {
  .md-sidebar--secondary {
    top: 3.2rem;
  }
}
.md-typeset :target {
  --md-scroll-margin: 4.4rem;
}
.md-top {
  top: 4rem;
}
/* Below its logo breakpoint the theme hides the link and shows its menu
 * button in its place. The link stays (#1331), after the button, as the
 * explorer's bar has them. */
@media screen and (max-width: 76.234375em) {
  .md-header__button.md-logo {
    display: inline-block;
  }
  .md-header__button[for=__drawer] {
    order: -1;
  }
}
@media screen and (max-width: 59.984375em) {
  .md-header__button.md-logo img {
    height: 2.4rem;
  }
}
/* A phone's bar has no room beside the lockup for the page's title. */
@media screen and (max-width: 44.984375em) {
  .md-header__button.md-logo img {
    height: 2.2rem;
  }
  .md-header__title {
    visibility: hidden;
  }
}

/* The way to request programmatic access, right of the search (#1263): the
 * website's primary button on its bar, in the design system's fill role. The
 * label, #ffffff on #2e2350, is 14.26:1, and the key before it is drawn
 * in the label's colour. Focus rings the capsule in the #e8e7ec halo
 * (11.60:1 against it) with the #493f67 ring outside, against the bar (9.59:1). */
/* An inline block and not a flex box: its words are one line of text, and a
 * flex capsule makes the wrapped first word an item of its own, which drops
 * the space after it ("RequestAPI access", seen 2026-09-30). The line
 * height is the capsule's height, 40 px, and centres the words in it. */
.md-header .aurora-api-access {
  background-color: #2e2350;
  border-radius: 9999px;
  color: #ffffff;
  display: inline-block;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 2rem;
  margin: 0 0.2rem 0 0.8rem;
  padding: 0 0.9rem;
  text-decoration: none;
  transition: background-color 125ms, color 125ms;
  white-space: nowrap;
}
/* The key, one of the theme's own icons inlined at build, in the words'
 * colour and centred on them. */
.md-header .aurora-api-access__icon {
  display: inline-block;
  height: 0.8rem;
  margin-right: 0.4rem;
  vertical-align: middle;
  width: 0.8rem;
}
.md-header .aurora-api-access__icon svg {
  display: block;
  fill: currentcolor;
  height: 100%;
  width: 100%;
}
.md-header .aurora-api-access:hover {
  background-color: #251c40;
  color: #ffffff;
}
.md-header .aurora-api-access:active {
  background-color: #1a1330;
}
.md-header .aurora-api-access:focus-visible {
  box-shadow: 0 0 0 2px #e8e7ec, 0 0 0 4px #493f67;
  outline: none;
}
/* A finger's target where the pointer is one, as the website's bar has. */
@media (pointer: coarse) {
  .md-header .aurora-api-access {
    line-height: 2.2rem;
  }
}
@media screen and (max-width: 44.984375em) {
  .md-header .aurora-api-access {
    margin-left: 0.4rem;
    padding: 0 0.6rem;
  }
  .md-header .aurora-api-access__lead {
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }
}

/* The primary tokens, the fill role the site's emphasis on the page is
 * drawn in, and the foreground written on them:
 * #ffffff on #2e2350, the worse of the two, is 14.26:1.
 * And links, on the reading surface, #ffffff.
 * There is no `--md-primary-fg-color--light` here, and its absence
 * is the change of #854: mkdocs-material declares that token in its own
 * palettes and reads it in neither of its bundles, so the value this file
 * gave it painted nothing — while sitting in the stylesheet at 3.53:1
 * against the light reading surface, where an external audit read it and
 * reported the site as failing AA on body text. A colour with no usage to
 * record is not declared, and `tokenRoles` in the palette contract is
 * where a usage is recorded. */
[data-md-color-primary=custom] {
  --md-primary-fg-color: #2e2350;
  --md-primary-fg-color--dark: #251c40;
  --md-primary-bg-color: #ffffff;
  --md-typeset-a-color: #493f67;   /* 9.59:1 */
}
[data-md-color-accent=custom] {
  --md-accent-fg-color: #43395e;   /* 10.58:1 */
  --md-accent-fg-color--transparent: #43395e1a;
}

/* The faces are the design system's, served from this site itself:
 *   Newsreader         the headlines, a page's h1 and h2
 *   'Source Sans 3'    reading
 *   'Source Code Pro'  code
 * The generator copies their files in, because the theme's own setting
 * (`font: false` in the configuration) would fetch a web font from another
 * origin. Each stack falls back through the design system's own faces, as
 * the website does. The reading stacks are declared on `body` because that
 * is where the theme declares its own: on `:root` they were inherited only
 * to be replaced there. */
@font-face {
  font-family: Newsreader;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: 'Source Code Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/source-code-pro-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: 'Source Code Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/source-code-pro-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: 'Source Code Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/source-code-pro-latin-700-normal.woff2") format("woff2");
}
body {
  --md-text-font-family: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  --md-code-font-family: 'Source Code Pro', ui-monospace, Menlo, monospace;
}
.md-typeset h1,
.md-typeset h2 {
  font-family: Newsreader, Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: -0.026em;
}

/* A FEW WEIGHTS ON A PAGE, and one of them is the body's. The theme sets a
 * title at 300 in the muted foreground and a bold at 700, so a page ran to
 * four weights and its own title was the palest thing on it. The headlines,
 * a page's h1 and its sections' h2, are the display face at the design
 * system's display weight, which the generator writes beside their face
 * (#1331); everything else that names something is 600, and the rest is the
 * body's 400. */
.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-typeset h4,
.md-typeset h5,
.md-typeset h6 {
  color: var(--md-default-fg-color);
}
.md-typeset h3,
.md-typeset h4,
.md-typeset h5,
.md-typeset h6 {
  font-weight: 600;
}
.md-typeset b,
.md-typeset strong {
  font-weight: 600;
}

/* A SCALE, and the space between its steps. The theme's steps are 2em,
 * 1.5625em and 1.25em with nothing between the sections, so a long page
 * reads as one column of text with slightly larger lines in it. The steps
 * are brought closer together and given room instead, and a rule above
 * each second-level heading says where one section ended. The first
 * heading on a page has nothing above it to divide. */
.md-typeset h1 {
  font-size: 1.85em;
  line-height: 1.2;
  margin: 0 0 0.7em;
}
.md-typeset h2 {
  border-top: 1px solid var(--md-default-fg-color--lightest);
  font-size: 1.35em;
  line-height: 1.3;
  margin: 2.4em 0 0.8em;
  padding-top: 1.35em;
}
.md-typeset > h2:first-child {
  border-top: 0;
  padding-top: 0;
}
.md-typeset h3 {
  font-size: 1.06em;
  letter-spacing: 0;
  line-height: 1.4;
  margin: 1.9em 0 0.6em;
}
.md-typeset h4 {
  font-size: 0.92em;
  margin: 1.6em 0 0.5em;
}
.md-typeset p,
.md-typeset dd,
.md-typeset li {
  line-height: 1.72;
}
.md-typeset hr {
  border-bottom: 1px solid var(--md-default-fg-color--lightest);
}

/* THE LEDE. The first paragraph under a title is the sentence a reader
 * decides on, and the theme gives it the size of the twentieth. Larger
 * rather than lighter: a paler grey would buy the emphasis out of the
 * contrast budget the rest of this file is spent keeping. The second
 * selector is the same paragraph on a page that carries a route label. */
.md-typeset > h1 + p,
.md-typeset > h1 + .route + p {
  font-size: 1.18em;
  line-height: 1.55;
  margin-bottom: 1.35em;
}

/* WHICH ROUTE A PAGE BELONGS TO. Drawn as the pill the comparison's own
 * controls already use, so a reader meets one shape rather than two, and
 * written by a generator rather than by hand, so a page cannot claim a
 * route it is not filed under. It is a label and not a link: it says where
 * the page sits, and the section it sits in is one line away in the nav. */
.md-typeset p.route {
  margin: -0.5em 0 1.3em;
}
.md-typeset p.route > .route-badge {
  border: 1px solid var(--md-default-fg-color--lighter);
  border-radius: 2em;
  color: var(--md-default-fg-color--light);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.28em 0.85em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* THE NAV IS A LIST OF CATEGORIES, and the reader's place in one. The theme
 * sets a section's name in bold at the size of the pages under it, so the
 * sections and the pages read as one undifferentiated list. A section's
 * name becomes a label — smaller, spaced, muted — which is what leaves the
 * page titles as the only full-size text in the column.
 *
 * ONLY WHERE THE THEME DRAWS A SECTION AS A HEADING (#1331): from its logo
 * breakpoint, and the table of contents' title from its tablet step, where
 * that list is a sidebar. Below them the same items are the drawer's rows a
 * reader taps to open a section, and its back bar, which the theme sets at
 * full size; as labels they were 11.6 px capitals on an iPad held either way
 * up. The widths are the theme's own, and a test holds them to its
 * stylesheet. */
@media screen and (min-width: 76.25em) {
  .md-nav--primary .md-nav__item--section {
    margin: 1.7em 0;
  }
  .md-nav--primary .md-nav__item--section > .md-nav__link {
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
  }
}
@media screen and (min-width: 60em) {
  .md-nav--secondary .md-nav__title {
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
}
.md-nav__link {
  line-height: 1.5;
}
.md-nav__link--active {
  font-weight: 600;
}

/* THE PRODUCT PROMISE holds the front door's one opening sentence, the
 * website's own explanation of what Aurora does, and sets it apart from the
 * page below. It uses the theme's own surface and primary colour so the
 * front door gains hierarchy without becoming a second visual system. */
.md-typeset .product-promise {
  background: color-mix(in srgb, var(--md-primary-fg-color) 7%, transparent);
  border: 1px solid var(--md-default-fg-color--lightest);
  border-left: 0.22rem solid var(--md-primary-fg-color);
  border-radius: 0.4rem;
  margin: 1.4em 0 2em;
  padding: 1rem 1.2rem;
}
.md-typeset .product-promise > p:first-child {
  margin-top: 0;
}
.md-typeset .product-promise > p:last-child {
  margin-bottom: 0;
}
/* THE KICKER TAKES THE LINK TOKEN, not the primary one, and the difference is
 * the whole of #854 repeating. `--md-primary-fg-color` carries the role
 * `primary` in brand-palette.tokens.json — it is a SURFACE, derived to be a
 * ground with white on it, and it was never solved as a foreground. Painting
 * 12.4px bold uppercase text in the colour it held then gave 4.31:1 on the
 * light reading surface and 3.20:1 on the dark one the site had at the time,
 * both under the 4.5 floor, on the front page and on
 * use-cases/is-this-for-my-slide.
 *
 * `--md-typeset-a-color` carries the role `link`: the same brand hue, but
 * solved against the reading surface and measured by the generator that
 * writes it. The kicker keeps its brand tint and stops asserting one the
 * palette never solved. */
.md-typeset .promise-kicker {
  color: var(--md-typeset-a-color);
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}
.md-typeset .fit-summary {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.1em 0 1.6em;
}
.md-typeset .fit-summary > div {
  border-top: 1px solid var(--md-default-fg-color--lighter);
  padding-top: 0.75rem;
}
.md-typeset .fit-summary strong {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}
.md-typeset .fit-summary span {
  color: var(--md-default-fg-color--light);
  font-size: 0.72rem;
  line-height: 1.55;
}

/* A CARD IS AN OBJECT, so it has an edge and it answers the pointer. The
 * theme rounds one by 1.6px and lifts it on a shadow; the radius is raised
 * so it reads as a panel rather than a box, and the hover moves the border
 * to the accent colour the links already use — a state change that costs
 * no new colour. Nothing moves: the website's cards and the explorer's change
 * their edge and do not lift (#1331). */
.md-typeset .grid.cards > ul > li,
.md-typeset .grid > .card {
  border-color: var(--md-default-fg-color--lightest);
  border-radius: 0.4rem;
  padding: 1rem 1.05rem;
  transition: border-color 125ms;
}
.md-typeset .grid.cards > ul > li:hover,
.md-typeset .grid > .card:hover {
  border-color: var(--md-accent-fg-color);
  box-shadow: none;
}
.md-typeset .grid.cards > ul > li > p:first-child {
  font-size: 0.95em;
  margin-bottom: 0.35em;
}
.md-typeset .grid.cards > ul > li > hr {
  margin: 0.55em 0 0.75em;
}
.md-typeset .grid.cards.route-choice > ul > li {
  border-top: 0.22rem solid var(--md-primary-fg-color);
}
.md-typeset .route-kicker {
  color: var(--md-default-fg-color--light);
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}
.md-typeset .grid.cards.route-choice > ul > li > p:last-child {
  margin-bottom: 0;
}

/* A TABLE IS ROWS, not a box with rows in it. The theme draws a border
 * around the whole table and a fill behind its head, which on a page with
 * six of them is six grey slabs. What is left is a rule under the head and
 * a hairline between rows, which is what a reader scans by, and a first
 * column that starts where the paragraph above it starts. */
.md-typeset table:not([class]) {
  border: 0;
  border-radius: 0;
  font-size: 0.7rem;
}
.md-typeset table:not([class]) th {
  border-bottom: 1px solid var(--md-default-fg-color--light);
  font-weight: 600;
  padding: 0.5em 1.1em 0.5em 0;
}
.md-typeset table:not([class]) td {
  border-top: 1px solid var(--md-default-fg-color--lightest);
  padding: 0.65em 1.1em 0.65em 0;
}

/* A CALLOUT IS A NOTE IN THE MARGIN, not a coloured panel. The theme fills
 * the title strip with the role's colour at a tenth and rings all four
 * sides in it. The role's colour is the only thing that tells four kinds of
 * callout apart at a glance, so it stays — as the icon, and as a spine down
 * the left edge — and the strip goes back to the page's own surface. */
.md-typeset .admonition,
.md-typeset details {
  border-left-width: 0.18rem;
  border-radius: 0.4rem;
  border-width: 1px;
  font-size: 0.72rem;
  margin: 1.5em 0;
}
.md-typeset .admonition > .admonition-title,
.md-typeset details > summary {
  background-color: transparent;
  font-weight: 600;
  padding-bottom: 0.2rem;
  padding-top: 0.5rem;
}

/* Code is quoted material, so it is bounded the way everything else that is
 * quoted is: one hairline and a card's radius, rather than a slab of fill
 * with a hard edge. */
.md-typeset pre > code {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.4rem;
}
.md-typeset code {
  border-radius: 0.2rem;
}

/* EVERY FIGURE IS FRAMED THE SAME WAY. The pictures on this site are drawn
 * by three different hands — a diagram, a photograph of tissue, a stack of
 * maps under two controls — and the frame around them and the caption under
 * it are the only things that make them one family. */
.md-typeset figure {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.4rem;
  margin: 1.8em auto;
  max-width: 100%;
  padding: 1rem 1rem 0.9rem;
}
.md-typeset figure img {
  border-radius: 0.2rem;
}
.md-typeset .proof-pair {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
}
.md-typeset .proof-pair img {
  height: 100%;
  margin: 0;
  object-fit: cover;
  width: 100%;
}
.md-typeset .qc-panels {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.md-typeset .qc-panel {
  aspect-ratio: 1;
  background: var(--md-default-fg-color--lightest);
  overflow: hidden;
  position: relative;
}
.md-typeset .qc-panel > span {
  background: var(--md-default-bg-color);
  border-radius: 0 0 0.2rem 0;
  color: var(--md-default-fg-color);
  font-size: 0.58rem;
  font-weight: 600;
  left: 0;
  padding: 0.28rem 0.4rem;
  position: absolute;
  top: 0;
  z-index: 1;
}
.md-typeset .qc-panel > img {
  border-radius: 0;
  height: 100%;
  margin: 0;
  max-width: none;
  object-fit: cover;
  width: 100%;
}
.md-typeset .qc-excluded > img {
  object-position: left top;
}
.md-typeset .qc-tissue > img {
  object-position: left center;
  width: 300%;
}
.md-typeset .qc-tile > img {
  height: 300%;
  transform: translate(-6.7%, -20.3%);
  width: 900%;
}
@media screen and (max-width: 44.984375em) {
  .md-typeset .proof-pair,
  .md-typeset .qc-panels {
    grid-template-columns: 1fr 1fr;
  }
  .md-typeset .fit-summary {
    grid-template-columns: 1fr;
  }
  .md-typeset figure {
    margin-left: 0;
    margin-right: 0;
    padding: 0.65rem;
  }
  .md-typeset table:not([class]) {
    font-size: 0.64rem;
  }
}

/* A tab's label names a thing, so it is set at the weight everything else
 * that names a thing is set at. */
.md-typeset .tabbed-labels > label {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.6em 1em 0.5em;
}

/* A PROCEDURE, drawn the same way on every page that has one. The theme
 * has tabs, cards, admonitions and figures and no numbered-step block, so
 * a procedure was an ordinary ordered list and read as prose that happened
 * to be numbered. `<div class="steps" markdown>` around the list is what
 * opts in; the badge is the site's own primary pair, which the palette
 * already measures, so nothing new is coloured here. */
.md-typeset .steps > ol {
  counter-reset: aurora-step;
  list-style: none;
  margin-left: 0;
}
.md-typeset .steps > ol > li {
  counter-increment: aurora-step;
  margin-bottom: 0.7em;
  padding-left: 2.4em;
  position: relative;
}
.md-typeset .steps > ol > li::before {
  background-color: var(--md-primary-fg-color);
  border-radius: 50%;
  color: var(--md-primary-bg-color);
  content: counter(aurora-step);
  font-size: 0.75em;
  font-weight: 700;
  height: 1.9em;
  left: 0;
  line-height: 1.9em;
  position: absolute;
  text-align: center;
  top: 0.15em;
  width: 1.9em;
}


/* THE COMPARISON, and every rule it needs. Two radio groups and no
 * script: a gene, a state, and one rule per combination. This site is
 * served static and has no script host of its own, so a comparison that
 * needed one would be a figure that stops working the day that host does.
 * Every id below is written by the same generator that writes the markup,
 * from the run's own record, so the rules and the pictures cannot drift.
 * With the stylesheet gone the figure is still every map, stacked, with
 * its controls above them — which is the degradation that was wanted, and
 * which each group's <legend> now labels in that state too. */

/* Hidden from the page and not from a reader: clipped to nothing, still
 * in the accessibility tree and still focusable. The controls were always
 * hidden this way; each group's <legend> joins them here rather than
 * getting a second copy of the same six declarations. An absolutely
 * positioned legend is also no longer the fieldset's RENDERED legend, so
 * it cannot cut a notch in a border or take a line of its own. */
.md-typeset .ab-pick,
.md-typeset .ab-legend {
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.md-typeset .ab-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em 1.4em;
  justify-content: center;
  margin-bottom: 0.8em;
}
/* A fieldset brings four things of its own — a groove border, a side
 * margin, generous padding and `min-inline-size: min-content` — and any
 * one of them would re-lay the row it now sits in. It is here for the name
 * its legend gives the group and for nothing else, so all four go and the
 * <span> inside keeps being the flex row the labels are laid out in. */
.md-typeset .ab-field {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
}
.md-typeset .ab-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em;
}
.md-typeset .ab-group > label {
  border: 1px solid var(--md-default-fg-color--lighter);
  border-radius: 2em;
  cursor: pointer;
  font-size: 0.72rem;
  line-height: 1.5;
  padding: 0.2em 0.9em;
}
.md-typeset .ab-group > label:hover {
  border-color: var(--md-accent-fg-color);
  color: var(--md-accent-fg-color);
}
/* A finger's target where the pointer is one (#1331): the pills are the
 * figure's only controls, and at their own size two of them stand 5 px
 * apart and under 30 px tall, so each is 44 px tall here with room between. */
@media (pointer: coarse) {
  .md-typeset .ab-group {
    gap: 0.5rem;
  }
  .md-typeset .ab-group > label {
    align-items: center;
    display: inline-flex;
    min-height: 2.2rem;
  }
}
.md-typeset .ab-frame > img.ab-map {
  display: none;
  margin: 0 auto;
  width: 100%;
}
.md-typeset img.ab-scale {
  display: block;
  margin: 0.8em auto 0;
  max-width: 20em;
  width: 55%;
}
.md-typeset .ab-ends {
  display: flex;
  font-size: 0.62rem;
  justify-content: space-between;
  margin: 0.1em auto 0;
  max-width: 20em;
  width: 55%;
}
#skcm-gene-ms4a1:checked ~ .ab-controls label[for=skcm-gene-ms4a1] {
  background-color: var(--md-primary-fg-color);
  border-color: var(--md-primary-fg-color);
  color: var(--md-primary-bg-color);
}
#skcm-gene-ms4a1:focus-visible ~ .ab-controls label[for=skcm-gene-ms4a1] {
  outline: 2px solid var(--md-accent-fg-color);
  outline-offset: 2px;
}
#skcm-gene-col1a1:checked ~ .ab-controls label[for=skcm-gene-col1a1] {
  background-color: var(--md-primary-fg-color);
  border-color: var(--md-primary-fg-color);
  color: var(--md-primary-bg-color);
}
#skcm-gene-col1a1:focus-visible ~ .ab-controls label[for=skcm-gene-col1a1] {
  outline: 2px solid var(--md-accent-fg-color);
  outline-offset: 2px;
}
#skcm-state-without:checked ~ .ab-controls label[for=skcm-state-without] {
  background-color: var(--md-primary-fg-color);
  border-color: var(--md-primary-fg-color);
  color: var(--md-primary-bg-color);
}
#skcm-state-without:focus-visible ~ .ab-controls label[for=skcm-state-without] {
  outline: 2px solid var(--md-accent-fg-color);
  outline-offset: 2px;
}
#skcm-state-with:checked ~ .ab-controls label[for=skcm-state-with] {
  background-color: var(--md-primary-fg-color);
  border-color: var(--md-primary-fg-color);
  color: var(--md-primary-bg-color);
}
#skcm-state-with:focus-visible ~ .ab-controls label[for=skcm-state-with] {
  outline: 2px solid var(--md-accent-fg-color);
  outline-offset: 2px;
}
#skcm-gene-ms4a1:checked ~ #skcm-state-without:checked ~ .ab-frame > img.ab-map.g-ms4a1.s-without {
  display: block;
}
#skcm-gene-ms4a1:checked ~ #skcm-state-with:checked ~ .ab-frame > img.ab-map.g-ms4a1.s-with {
  display: block;
}
#skcm-gene-col1a1:checked ~ #skcm-state-without:checked ~ .ab-frame > img.ab-map.g-col1a1.s-without {
  display: block;
}
#skcm-gene-col1a1:checked ~ #skcm-state-with:checked ~ .ab-frame > img.ab-map.g-col1a1.s-with {
  display: block;
}

/* A caption carries a figure's provenance, which is a sentence and not a
 * label. The theme centres it, which reads well for three words and badly
 * for three lines, so the picture stays centred and its caption does not. */
.md-typeset figure figcaption {
  margin: 0.6em auto 0;
  max-width: 40em;
  text-align: left;
}
