/* ZenteiQ brand colours (BrandColor_2026).
   Primary: deep muted teal #3C6F78, turquoise green #60C4B5, white. Secondary: warm golden
   yellow #FECB66, soft coral red #F27070, dusty brick red #C35A5B. Body copy: charcoal grey. */
:root {
  --zq-teal: #3c6f78;
  --zq-teal-shade-1: #315a60;
  --zq-teal-shade-2: #254348;
  --zq-teal-tint-2: #8aa9ae;
  --zq-turquoise: #60c4b5;
  --zq-turquoise-shade-1: #4d9d91;
  --zq-turquoise-shade-2: #3b776d;
  --zq-turquoise-tint-1: #81cec3;
  --zq-turquoise-tint-2: #a2d9d2;
  --zq-yellow: #fecb66;
  --zq-coral: #f27070;
  --zq-brick: #c35a5b;
  --zq-charcoal: #2a2a2a;
  --zq-dark: #192627;
}

[data-md-color-scheme="default"] {
  --md-primary-fg-color: var(--zq-teal);
  --md-primary-fg-color--light: var(--zq-teal-tint-2);
  --md-primary-fg-color--dark: var(--zq-teal-shade-1);
  --md-primary-bg-color: #ffffff;
  --md-accent-fg-color: var(--zq-turquoise-shade-1);
  --md-accent-fg-color--transparent: rgba(96, 196, 181, 0.12);
  --md-default-fg-color: var(--zq-charcoal);
  --md-default-fg-color--light: #5d6666;
  --md-typeset-color: var(--zq-charcoal);
  --md-typeset-a-color: var(--zq-teal);
}

[data-md-color-scheme="slate"] {
  --md-default-bg-color: var(--zq-dark);
  --md-default-bg-color--light: rgba(25, 38, 39, 0.54);
  --md-default-fg-color: #e3ecea;
  --md-default-fg-color--light: #a9bbb8;
  --md-default-fg-color--lighter: #6f8582;
  --md-default-fg-color--lightest: #2c4041;
  --md-primary-fg-color: var(--zq-turquoise);
  --md-primary-fg-color--light: var(--zq-turquoise-tint-1);
  --md-primary-fg-color--dark: var(--zq-turquoise-shade-1);
  --md-accent-fg-color: var(--zq-turquoise-tint-1);
  --md-accent-fg-color--transparent: rgba(96, 196, 181, 0.16);
  --md-typeset-color: #e3ecea;
  --md-typeset-a-color: var(--zq-turquoise-tint-1);
  --md-code-bg-color: #223334;
  --md-code-fg-color: #e3ecea;
  --md-footer-bg-color: #131d1e;
}

/* Header and tabs in the brand colour, with the Sx app icon as the logo. */
/* Header and tabs: a white bar with a dark title and a brand-coloured active tab, as on
   framework documentation sites. The dark scheme keeps a dark bar. */
:root {
  --zq-header-bg: #ffffff;
  --zq-header-fg: #1f2933;
  --zq-header-muted: #5d6666;
}
[data-md-color-scheme="slate"] {
  --zq-header-bg: #131d1e;
  --zq-header-fg: #e3ecea;
  --zq-header-muted: #a9bbb8;
}
.md-header,
.md-tabs {
  background-color: var(--zq-header-bg);
  color: var(--zq-header-fg);
}
.md-header {
  box-shadow: none;
  border-bottom: 1px solid var(--md-default-fg-color--lightest);
}
.md-tabs {
  border-bottom: 1px solid var(--md-default-fg-color--lightest);
}
.md-header__button.md-logo img {
  height: 1.55rem;
  width: auto;
}
[data-md-color-scheme="slate"] .md-header__button.md-logo img {
  background: #ffffff;
  border-radius: 0.35rem;
  padding: 0.12rem 0.4rem;
}
/* The wordmark already carries the name; the title text would repeat it. */
.md-header__title {
  display: none;
}
.md-header__button.md-logo {
  margin-right: auto;
}
.md-header__button,
.md-header .md-icon {
  color: var(--zq-header-fg);
}
.md-search__form {
  background-color: rgba(60, 111, 120, 0.08);
  border-radius: 0.5rem;
}
.md-search__input,
.md-search__input::placeholder {
  color: var(--zq-header-muted);
}
.md-search__icon {
  color: var(--zq-header-muted);
}
.md-source {
  color: var(--zq-header-fg);
}
.md-tabs__link {
  color: var(--zq-header-muted);
  opacity: 1;
  font-weight: 500;
  font-size: 0.7rem;
}
.md-tabs__link--active,
.md-tabs__link:hover {
  color: var(--zq-teal-shade-1);
}
[data-md-color-scheme="slate"] .md-tabs__link--active,
[data-md-color-scheme="slate"] .md-tabs__link:hover {
  color: var(--zq-turquoise-tint-1);
}
.md-tabs__item--active {
  box-shadow: inset 0 -3px 0 var(--zq-teal);
}
[data-md-color-scheme="slate"] .md-tabs__item--active {
  box-shadow: inset 0 -3px 0 var(--zq-turquoise);
}

/* Typography and reading column. */
.md-typeset {
  font-size: 0.78rem;
  line-height: 1.7;
  letter-spacing: 0;
}
.md-content__inner {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  /* The auto margins replace the theme's side margin; keep text off the screen edge. */
  padding-left: 0.8rem;
  padding-right: 0.8rem;
}
.md-typeset p,
.md-typeset li {
  margin-bottom: 0.6em;
}

/* Cards (grid cards on the home, Learn, Install and Resources pages). */
.md-typeset .grid.cards > ul > li,
.md-typeset .grid > .card {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-top: 3px solid var(--zq-turquoise);
  border-radius: 0.7rem;
  background: var(--md-default-bg-color);
  box-shadow: 0 1px 3px rgba(25, 38, 39, 0.08);
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s;
}
.md-typeset .grid.cards > ul > li:hover {
  border-color: var(--zq-turquoise);
  box-shadow: 0 6px 18px rgba(60, 111, 120, 0.22);
  transform: translateY(-2px);
}
.md-typeset .grid.cards > ul > li > hr {
  border-color: var(--md-default-fg-color--lightest);
}
.md-typeset .grid.cards > ul > li strong {
  color: var(--md-primary-fg-color);
}
.md-typeset .grid.cards .twemoji,
.md-typeset .grid.cards .lg {
  color: var(--zq-turquoise-shade-1);
}
.md-typeset .grid.cards a {
  font-weight: 600;
}

/* Tables on every page: brand-tinted header row. */
.md-typeset table:not([class]) {
  border-radius: 0.5rem;
  border: 1px solid var(--md-default-fg-color--lightest);
}
.md-typeset table:not([class]) th {
  background-color: rgba(60, 111, 120, 0.1);
  color: var(--zq-teal-shade-1);
  font-weight: 700;
}
[data-md-color-scheme="slate"] .md-typeset table:not([class]) th {
  background-color: rgba(96, 196, 181, 0.14);
  color: var(--zq-turquoise-tint-1);
}
.md-typeset table:not([class]) tbody tr:hover {
  background-color: rgba(96, 196, 181, 0.07);
}

/* Headings: dark, medium weight, a compact scale that shrinks on narrow windows. */
.md-typeset h1 {
  color: var(--md-default-fg-color);
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0 0 0.9rem;
  text-wrap: balance;
}
.md-typeset h2 {
  color: var(--md-default-fg-color);
  font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 2em 0 0.55em;
  text-wrap: balance;
}
.md-typeset h3 {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  margin: 1.6em 0 0.45em;
}
.md-typeset h4 {
  font-size: 0.82rem;
  font-weight: 500;
}
.md-typeset blockquote {
  border-left: 0.2rem solid var(--zq-turquoise);
}
.md-typeset :not(pre) > code {
  background-color: rgba(60, 111, 120, 0.09);
}
[data-md-color-scheme="slate"] .md-typeset :not(pre) > code {
  background-color: rgba(96, 196, 181, 0.12);
}
.md-typeset hr {
  border-bottom-color: var(--md-default-fg-color--lightest);
}
.md-typeset mark {
  background-color: rgba(254, 203, 102, 0.45);
}

/* Right-hand table of contents and the "back to top" button. */
.md-nav--secondary .md-nav__link--active {
  color: var(--md-primary-fg-color);
  font-weight: 600;
}
.md-top {
  background-color: var(--zq-teal);
  color: #ffffff;
}

/* Footer. */
.md-footer,
.md-footer-meta {
  background-color: var(--zq-teal-shade-2);
}

/* Secondary palette for admonitions. */
.md-typeset .admonition.note,
.md-typeset details.note {
  border-color: var(--zq-teal);
}
.md-typeset .note > .admonition-title,
.md-typeset .note > summary {
  background-color: rgba(60, 111, 120, 0.1);
}
.md-typeset .admonition.tip,
.md-typeset .admonition.success {
  border-color: var(--zq-turquoise);
}
.md-typeset .admonition.warning,
.md-typeset details.warning {
  border-color: var(--zq-yellow);
}
.md-typeset .warning > .admonition-title,
.md-typeset .warning > summary {
  background-color: rgba(254, 203, 102, 0.18);
}
.md-typeset .admonition.danger,
.md-typeset .admonition.failure {
  border-color: var(--zq-coral);
}
.md-typeset .danger > .admonition-title,
.md-typeset .failure > .admonition-title {
  background-color: rgba(242, 112, 112, 0.14);
}

/* Buttons. */
.md-typeset .md-button {
  border-color: var(--zq-teal);
  color: var(--zq-teal);
  border-radius: 2rem;
  padding: 0.5em 1.6em;
  font-weight: 600;
}
.md-typeset .md-button--primary {
  background-color: var(--zq-teal);
  border-color: var(--zq-teal);
  color: #ffffff;
}
[data-md-color-scheme="slate"] .md-typeset .md-button {
  border-color: var(--zq-turquoise);
  color: var(--zq-turquoise);
}
[data-md-color-scheme="slate"] .md-typeset .md-button--primary {
  background-color: var(--zq-turquoise);
  border-color: var(--zq-turquoise);
  color: var(--zq-dark);
}
.md-typeset .md-button:hover,
.md-typeset .md-button--primary:hover {
  background-color: var(--zq-turquoise-shade-1);
  border-color: var(--zq-turquoise-shade-1);
  color: #ffffff;
}

/* Home page. */
.md-content--home .md-content__inner {
  margin-top: 0;
}
.zq-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0 2rem;
}
.zq-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 1.45rem + 1.35vw, 2.4rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--md-default-fg-color);
}
.zq-hero__text p {
  font-size: 0.95rem;
  line-height: 1.6;
}
.zq-hero__code .highlight,
.zq-hero__code pre {
  margin: 0;
}
.zq-hero__code {
  background: var(--zq-dark);
  border-radius: 0.9rem;
  padding: 0.4rem 0.2rem;
  border-top: 4px solid var(--zq-turquoise);
}
/* In dark mode the page has the same colour as the box: lift the box and outline it. */
[data-md-color-scheme="slate"] .zq-hero__code {
  background: #223334;
  border: 1px solid rgba(96, 196, 181, 0.25);
  border-top: 4px solid var(--zq-turquoise);
}
.zq-hero__code pre,
.zq-hero__code code {
  overflow-x: auto;
}
.zq-hero__code code,
.zq-hero__code .highlight span {
  color: #dbeae7;
  background: transparent;
}
.zq-hero__code .highlight .k,
.zq-hero__code .highlight .kn,
.zq-hero__code .highlight .ow {
  color: var(--zq-turquoise);
}
.zq-hero__code .highlight .nn,
.zq-hero__code .highlight .nc,
.zq-hero__code .highlight .nf {
  color: var(--zq-turquoise-tint-2);
}
.zq-hero__code .highlight .mi,
.zq-hero__code .highlight .mf,
.zq-hero__code .highlight .s,
.zq-hero__code .highlight .s1,
.zq-hero__code .highlight .s2 {
  color: var(--zq-yellow);
}
.zq-hero__code .highlight .c1,
.zq-hero__code .highlight .c {
  color: var(--zq-teal-tint-2);
  font-style: italic;
}
.zq-hero__code .highlight .o,
.zq-hero__code .highlight .p {
  color: #b7ccc8;
}
.zq-band {
  margin: 1rem -0.8rem 2rem;
  padding: 1.5rem 0.8rem 1rem;
  background: rgba(96, 196, 181, 0.08);
  border-radius: 1rem;
}
.zq-band h2 {
  margin-top: 0;
}
.zq-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.zq-features > div {
  background: var(--md-default-bg-color);
  border-radius: 0.7rem;
  padding: 0.2rem 1rem 0.6rem;
  border-top: 3px solid var(--zq-turquoise);
  box-shadow: 0 1px 4px rgba(25, 38, 39, 0.1);
}
.zq-features h3 {
  margin-top: 0.8rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--md-primary-fg-color);
}
@media screen and (max-width: 60em) {
  .zq-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .zq-hero h1 {
    font-size: 2.15rem;
  }
}

/*
 * SPDX-FileCopyrightText: 2026 ZenteiQ AiTech Innovations Pvt. Ltd.
 * SPDX-License-Identifier: CC-BY-4.0
 */

/* Keep the page in a centred column, as on framework docs, instead of stretching
   it across the whole window. */
.md-grid {
  max-width: 74rem;
}

/* Let tables fill the content column instead of shrinking to their text. */
.md-typeset__table {
  display: block;
}
.md-typeset__table table:not([class]) {
  display: table;
  width: 100%;
}

/* Left navigation in the style of framework documentation sites: a column with a thin
   divider, bold section headings, and a tinted pill on the current page. */
@media screen and (min-width: 76.25em) {
  .md-sidebar--primary {
    width: 15rem;
  }
  .md-sidebar--primary .md-sidebar__scrollwrap {
    border-right: 1px solid var(--md-default-fg-color--lightest);
  }
}

.md-nav--primary .md-nav__link {
  margin-right: 0.6rem;
  padding: 0.3rem 0.8rem;
  border-radius: 0 1.2rem 1.2rem 0;
  font-size: 0.7rem;
  transition: background-color 0.15s;
}

.md-nav--primary .md-nav__link:hover {
  background-color: var(--md-accent-fg-color--transparent);
}

/* Current page: tinted pill with a bar on the left. */
.md-nav--primary .md-nav__link--active {
  background-color: color-mix(in srgb, var(--md-primary-fg-color) 14%, transparent);
  color: var(--md-primary-fg-color);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--md-primary-fg-color);
}

/* Section headings: bold, small capitals, a divider above every section but the first. */
.md-nav--primary .md-nav__item--section > .md-nav__link {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--md-default-fg-color--light);
  box-shadow: none;
  padding-left: 0.8rem;
}

/* The first entry is the tab's overview page, shown as an ordinary item. */
.md-nav--primary .md-nav__item--section:first-of-type > .md-nav__link {
  margin-top: 0;
  padding-top: 0.3rem;
  border-top: 0;
  border-radius: 0 1.2rem 1.2rem 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--md-default-fg-color);
}

.md-nav--primary .md-nav__item--section:first-of-type > .md-nav__link--active {
  background-color: color-mix(in srgb, var(--md-primary-fg-color) 14%, transparent);
  color: var(--md-primary-fg-color);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--md-primary-fg-color);
}

/* Expandable groups (a problem and its models): a thin guide line instead of deep indents. */
.md-nav--primary .md-nav__item:not(.md-nav__item--section) > .md-nav {
  border-left: 1px solid var(--md-default-fg-color--lightest);
  margin-left: 0.4rem;
}

.md-nav--secondary .md-nav__title {
  font-weight: 700;
}

/* A group that has its own index page (a problem and its card) renders as a container
   holding a link and a toggle; the pill styling must not be applied to both. */
.md-nav--primary .md-nav__container > .md-nav__link {
  flex: 1;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.md-nav--primary .md-nav__container > .md-nav__link:not(.md-nav__link--active):hover {
  background: none;
}

/* The home page has the same page width as the other pages; without side navigation
   its content fills that width. */
.md-content__inner.md-typeset:has(.zq-hero) {
  max-width: none;
}
.zq-hero__code code,
.zq-hero__code pre {
  font-size: 0.62rem;
}
@media screen and (max-width: 50em) {
  .zq-features {
    grid-template-columns: 1fr;
  }
}
.zq-hero__text .md-button {
  font-size: 0.7rem;
  padding: 0.4em 1.2em;
  margin-bottom: 0.3rem;
}

/* Key-value tables whose header row has an empty first cell: drop the header row. */
.md-typeset table:not([class]) thead:has(th:first-child:empty) {
  display: none;
}
.md-typeset table:not([class]) tbody td:first-child {
  font-weight: 500;
}

/* Benchmark pages carry wide figures: give the column more room when the page has them. */
.md-content__inner:has(img[src*="assets/benchmarks"]),
.md-content__inner:has(.zq-benchmarks) {
  max-width: 54rem;
}

/* Benchmark overview: problem cards with the model links on one wrapped line. */
.zq-benchmarks > ul > li {
  display: flex;
  flex-direction: column;
}
.zq-benchmarks > ul > li > p:last-child {
  margin-top: auto;
  padding-top: 0.4rem;
  font-size: 0.7rem;
}
.zq-benchmarks > ul > li > p:nth-child(4) {
  font-size: 0.7rem;
  color: var(--md-default-fg-color--light);
}

/* Card icons: one size, on a tinted tile above the title, so every card reads the same. */
.md-typeset .grid.cards > ul > li > p:first-child > .twemoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  margin: 0 0 0.55rem;
  border-radius: 0.55rem;
  background-color: rgba(60, 111, 120, 0.1);
  color: var(--zq-teal);
}
[data-md-color-scheme="slate"] .md-typeset .grid.cards > ul > li > p:first-child > .twemoji {
  background-color: rgba(96, 196, 181, 0.16);
  color: var(--zq-turquoise-tint-1);
}
.md-typeset .grid.cards > ul > li > p:first-child > .twemoji svg {
  width: 1.1rem;
  height: 1.1rem;
  max-height: none;
}
.md-typeset .grid.cards > ul > li > p:first-child > strong {
  display: block;
}

/* Model comparison: the same three figures for every problem, side by side. The link title is the caption. */
.md-typeset p.zq-figs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0.8rem 0 0.6rem;
}
.zq-figs a {
  display: block;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.5rem;
  background: #ffffff;
  overflow: hidden;
}
.zq-figs a img {
  display: block;
  width: 100%;
  height: 11rem;
  object-fit: contain;
}
.zq-figs a::after {
  content: attr(title);
  display: block;
  padding: 0.35rem 0.6rem;
  border-top: 1px solid var(--md-default-fg-color--lightest);
  background: rgba(60, 111, 120, 0.06);
  color: var(--md-default-fg-color);
  font-size: 0.68rem;
  font-weight: 500;
}
@media screen and (max-width: 50em) {
  .md-typeset p.zq-figs {
    grid-template-columns: 1fr;
  }
}

/* Home page: the main column and, on the right, a sticky results rail. One player shows
   the clip or figure of the benchmark picked from the tiles below it, so more benchmarks
   add tiles, not page length. */
.zq-home {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 1.6rem;
  align-items: start;
}
.zq-home__main > .zq-band {
  margin-top: 0;
}
.md-typeset .zq-home__main .grid.cards {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
}
.zq-home__rail {
  position: sticky;
  top: 5.2rem;
}
.zq-results {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-top: 3px solid var(--zq-turquoise);
  border-radius: 0.9rem;
  padding: 0.8rem 0.8rem 0.7rem;
  background: rgba(96, 196, 181, 0.06);
}
.md-typeset .zq-results p {
  margin: 0;
}
.md-typeset .zq-results__title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--md-default-fg-color);
}
.md-typeset .zq-results__lead {
  margin: 0.15rem 0 0.7rem;
  font-size: 0.66rem;
  line-height: 1.45;
  color: var(--md-default-fg-color--light);
}
/* Benchmark gallery: a carousel with one slide per benchmark, arrows on the sides and
   pagination dots below. The track scroll-snaps, so swipe and trackpads work without
   the script. */
.zq-carousel {
  position: relative;
}
.zq-carousel__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: 0.6rem;
  outline-offset: 2px;
}
.zq-carousel__track::-webkit-scrollbar {
  display: none;
}
.md-typeset .zq-carousel__slide {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}
.zq-carousel__media {
  display: block;
}
.zq-carousel__media video,
.md-typeset .zq-carousel__media img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 2;
  object-fit: contain;
  background: #ffffff;
}
.md-typeset .zq-carousel__slide figcaption {
  flex: 1;
  max-width: none;
  margin: 0;
  padding: 0.5rem 0.7rem 0.6rem;
  font-size: 0.66rem;
  line-height: 1.45;
  text-align: left;
  color: #2b3a3c;
  background: #f4f8f7;
  border-top: 1px solid #e3ecea;
}
.md-typeset .zq-carousel__slide figcaption b {
  color: #192627;
}
.md-typeset .zq-results__more {
  font-weight: 700;
  color: var(--zq-turquoise-shade-2);
  white-space: nowrap;
}
.zq-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.7rem;
}
.zq-carousel__arrow {
  width: 1.6rem;
  height: 1.6rem;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0.12rem;
  border: 1px solid var(--md-default-fg-color--lighter);
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--md-default-fg-color--light);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.zq-carousel__arrow:hover,
.zq-carousel__arrow:focus-visible {
  border-color: var(--zq-turquoise);
  color: var(--zq-turquoise);
}
.zq-carousel__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}
.zq-carousel__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--md-default-fg-color--lighter);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.zq-carousel__dot:hover {
  background: var(--md-default-fg-color--light);
}
.zq-carousel__dot[aria-current="true"] {
  background: var(--zq-turquoise);
  transform: scale(1.25);
}
.md-typeset .zq-results__all {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.66rem;
  font-weight: 700;
  text-align: right;
}
/* Narrow screens: the results come first, at full width, then the rest of the page. */
@media screen and (max-width: 60em) {
  .zq-home {
    grid-template-columns: minmax(0, 1fr);
  }
  .zq-home__rail {
    position: static;
    order: -1;
  }
}

/* E-mail links: an envelope and a tinted chip, so the address reads as "click to write". */
.md-typeset a[href^="mailto:"] {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.05em 0.5em;
  border-radius: 999px;
  background: rgba(96, 196, 181, 0.16);
  color: var(--md-typeset-a-color);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}
.md-typeset a[href^="mailto:"]::before {
  content: "\2709\FE0E";
  font-size: 1.05em;
  line-height: 1;
}
.md-typeset a[href^="mailto:"]:hover,
.md-typeset a[href^="mailto:"]:focus-visible {
  background: rgba(96, 196, 181, 0.32);
  color: var(--md-accent-fg-color);
}

/* Phones and tablets: the theme hides the logo in the header below 76em; show it. */
@media screen and (max-width: 76.2344em) {
  .md-header__button.md-logo {
    display: inline-block;
    margin: 0.2rem 0.2rem 0.2rem 0;
  }
  .md-header__button.md-logo img {
    height: 1.3rem;
  }
}
