/* Prism Zero 1.1.0 surfaces + syntax; VitePress /docs sidebar alt; Docsify 5 vars. */

:root {
  color-scheme: light;

  --color-bg: #ffffff;
  --color-text: #24292e;
  --theme-color: #0b6b61;

  --border-color: #e1e4e8;

  --code-bg: #f5f2f1;
  --code-color: #da615c;
  --codeblock-bg: #f5f2f1;
  --codeblock-color: #000000;
  --codeblock-comment: #708090;
  --codeblock-function: #dd4a68;
  --codeblock-keyword: #0077aa;
  --codeblock-operator: #9a6e3a;
  --codeblock-property: #990055;
  --codeblock-punctuation: #999999;
  --codeblock-selector: #669900;
  --codeblock-tag: #990055;
  --codeblock-variable: #ee9900;

  --sidebar-bg: #f6f6f7;
  --sidebar-border-color: #e1e4e8;
  --sidebar-color: #586069;
  --sidebar-link-color: #24292e;

  --form-element-bg: #f6f6f7;
  --form-element-border-color: #e1e4e8;
  --table-row-alt-bg: transparent;
}

html.rt-home {
  --content-max-width: 75rem;
}

html.dark {
  color-scheme: dark;

  --color-bg: #0c0e13;
  --color-text: #bfbdb7;
  --theme-color: #4ec4b8;

  --border-color: #2a2e38;

  --code-bg: #1a1e28;
  --code-color: #da615c;
  --codeblock-bg: #1a1e28;
  --codeblock-color: #bfbdb7;
  --codeblock-comment: #8a9ba8;
  --codeblock-function: #ff5c7a;
  --codeblock-keyword: #3ec0ff;
  --codeblock-operator: #d0b090;
  --codeblock-property: #f050b8;
  --codeblock-punctuation: #8a8a8a;
  --codeblock-selector: #b4e83a;
  --codeblock-tag: #f050b8;
  --codeblock-variable: #ffb020;

  --sidebar-bg: #161618;
  --sidebar-border-color: #2a2e38;
  --sidebar-color: #8a9ba8;
  --sidebar-link-color: #bfbdb7;

  --form-element-bg: #161618;
  --form-element-border-color: #2a2e38;
}

:root {
  --rt-site-nav-height: 64px;
  --rt-layout-max-width: 90rem;
}

.markdown-section table {
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

.markdown-section thead th {
  font-weight: bold;
  padding: 0.1rem 1rem;
  text-align: left;
  border-bottom: 1px solid #dddddd;
  background-color: #f5f2f1;
}

.markdown-section tbody td {
  padding: 0.1rem 1rem;
  border-bottom: 1px solid #dddddd;
}

.markdown-section th,
.markdown-section td {
  border-left: none;
  border-right: none;
}

html.dark .markdown-section thead th {
  background-color: #1a1e28;
  border-bottom-color: #2a2e38;
}

html.dark .markdown-section tbody td {
  border-bottom-color: #2a2e38;
}

.markdown-section table.week-log td:first-child {
  white-space: nowrap;
}

.markdown-section table.rt-calendar,
.rt-cal-widget table.rt-calendar {
  table-layout: fixed;
  width: 100%;
  max-width: 40rem;
}

.markdown-section table.rt-calendar th,
.markdown-section table.rt-calendar td,
.rt-cal-widget table.rt-calendar th,
.rt-cal-widget table.rt-calendar td {
  text-align: center;
  vertical-align: top;
  padding: 0.35rem 0.25rem max(0px, 0.45rem - 5px);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.markdown-section table.rt-calendar td,
.rt-cal-widget table.rt-calendar td {
  position: relative;
}

.markdown-section table.rt-calendar td::after,
.rt-cal-widget table.rt-calendar td::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.08rem;
  width: 0.28em;
  height: 0.28em;
  margin: 0;
  border-radius: 50%;
  background: transparent;
  transform: translateX(-50%);
}

.markdown-section table.rt-calendar td.rt-cal-has::after,
.rt-cal-widget table.rt-calendar td.rt-cal-has::after {
  background: var(--theme-color);
}

.markdown-section table.rt-calendar th:first-child,
.markdown-section table.rt-calendar td:first-child,
.rt-cal-widget table.rt-calendar th:first-child,
.rt-cal-widget table.rt-calendar td:first-child {
  width: 3.2rem;
  font-weight: 600;
}

.rt-cal-out {
  opacity: 0.38;
}

.rt-cal-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}

.rt-cal-label {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

button.rt-cal-nav {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0.1rem 0.45rem;
  border: 1px solid var(--sidebar-border-color);
  border-radius: 4px;
  background: var(--sidebar-bg);
  color: var(--sidebar-link-color);
  font: inherit;
  line-height: 1.2;
  cursor: pointer;
}

button.rt-cal-nav:hover {
  color: var(--theme-color);
}

#rt-cal,
#rt-cal-main {
  list-style: none;
}

#rt-cal > .rt-side-group {
  margin: 0 0 0.75rem;
}

.sidebar .rt-cal-widget {
  margin: 0 0.85rem 0.25rem;
}

.sidebar .rt-cal-widget table.rt-calendar {
  max-width: none;
  font-size: 0.85rem;
}

.sidebar .rt-cal-widget table.rt-calendar th,
.sidebar .rt-cal-widget table.rt-calendar td {
  padding: 0.18rem 0.08rem max(0px, 0.4rem - 5px);
}

.sidebar .rt-cal-widget table.rt-calendar th:first-child,
.sidebar .rt-cal-widget table.rt-calendar td:first-child {
  text-align: left;
  width: auto;
  padding-left: 0;
}

.sidebar .rt-cal-widget table.rt-calendar td:first-child::after {
  left: 0.4em;
  transform: none;
}

.markdown-section .rt-cal-widget {
  margin: 1rem 0;
}

.markdown-section .rt-cal-widget table.rt-calendar {
  margin-left: 0;
}

.report-edition {
  color: #586069;
  font-size: 0.9em;
}

html.dark .report-edition {
  color: #8a9ba8;
}

.sidebar .search input {
  background-color: var(--sidebar-bg);
}

.page-toolbar {
  display: flex;
  align-items: center;
  gap: 0;
  flex: none;
}

.page-toolbar::before {
  content: "";
  align-self: center;
  width: 1px;
  height: 1.5rem;
  margin-left: 0.5rem;
  margin-right: 1rem;
  background: var(--border-color);
}

.page-toolbar .lang-switch {
  margin-left: 1.1rem;
}

.appearance-row {
  display: contents;
}

.appearance-label {
  display: none;
}

.rt-share-float {
  position: fixed;
  top: calc(var(--rt-site-nav-height) + 0.65rem);
  right: 0.85rem;
  z-index: 20;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #3c3c43;
}

.lang-switch a {
  color: inherit;
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--theme-color);
  text-decoration: none;
}

.lang-switch .is-current {
  color: var(--theme-color);
}

.lang-switch .lang-switch-sep {
  opacity: 0.45;
  font-weight: 500;
}

html.dark .lang-switch {
  color: #bfbdb7;
}

.share-copy-wrap {
  position: relative;
}

button.share-copy[type] {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 2rem;
  height: 2rem;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  background: none;
  color: #3c3c43;
  cursor: pointer;
  box-shadow: none;
  outline: none;
  vertical-align: middle;
}

button.share-copy[type]::-moz-focus-inner {
  padding: 0;
  border: 0;
}

button.share-copy[type]:hover {
  background: none;
  color: var(--theme-color);
  outline: none;
}

.share-copy svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.share-copy .icon-check {
  display: none;
  stroke-width: 2.5;
  color: #3d9a50;
}

.share-copy-wrap.is-copied .icon-clipboard {
  display: none;
}

.share-copy-wrap.is-copied .icon-check {
  display: block;
}

.share-copy-tooltip {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  padding: 2px 8px;
  border: 1px solid #e1e4e8;
  border-radius: 4px;
  background: #ffffff;
  color: #24292e;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}

.share-copy-wrap.is-copied .share-copy-tooltip {
  opacity: 1;
}

html.dark button.share-copy[type] {
  color: #bfbdb7;
}

html.dark button.share-copy[type]:hover {
  background: none;
}

html.dark .share-copy-tooltip {
  border-color: #2a2e38;
  background: #161618;
  color: #bfbdb7;
}

@media print {
  .page-toolbar,
  .eg-site-nav,
  .rt-share-float {
    display: none !important;
  }

  .rt-site-footer {
    display: none !important;
  }

  body {
    padding-top: 0 !important;
  }
}

.appearance-toggle {
  position: relative;
  appearance: none;
  display: block;
  box-sizing: border-box;
  width: 40px;
  height: 22px;
  padding: 0;
  margin: 0;
  border: 1px solid #c2c2c4;
  border-radius: 11px;
  background: #f6f6f7;
  color: #3c3c43;
  cursor: pointer;
  transition: border-color 0.25s;
}

.appearance-toggle:hover {
  border-color: var(--theme-color);
}

.appearance-check {
  position: absolute;
  top: 1px;
  left: 1px;
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s;
}

.appearance-toggle svg {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.25s;
}

.appearance-toggle .icon-moon {
  opacity: 0;
}

html.dark .appearance-toggle {
  border-color: #3c3c43;
  background: #252529;
  color: #fffff5db;
}

html.dark .appearance-check {
  transform: translateX(18px);
  background: #000000;
}

html.dark .appearance-toggle .icon-sun {
  opacity: 0;
}

html.dark .appearance-toggle .icon-moon {
  opacity: 1;
}

/* ── Site navbar (eMotionGraphics chrome) ───────────────────────── */

.eg-site-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  height: var(--rt-site-nav-height);
  background: var(--color-bg);
  border-bottom: 1px solid var(--border-color);
  transition: transform 0.3s ease-in-out;
}

.eg-site-nav.scrolled-down {
  transform: translateY(-100%);
  pointer-events: none;
}

.eg-site-nav.scrolled-up,
.eg-site-nav.is-open {
  transform: translateY(0);
}

.eg-site-nav-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: var(--rt-site-nav-height);
  width: 100%;
  max-width: var(--rt-layout-max-width);
  margin-inline: auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.eg-site-nav-logo {
  display: flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}

.eg-site-nav-logo img {
  display: block;
  height: 40px;
  width: auto;
}

.eg-site-nav-logo img.eg-site-nav-logo-dark {
  display: none;
}

html.dark .eg-site-nav-logo img.eg-site-nav-logo-light {
  display: none;
}

html.dark .eg-site-nav-logo img.eg-site-nav-logo-dark {
  display: block;
}

.eg-site-nav-end {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
  min-width: 0;
}

.eg-site-nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.eg-site-nav-links a {
  padding: 0 12px;
  color: var(--sidebar-color);
  text-decoration: none;
  white-space: nowrap;
}

.eg-site-nav-links a:hover,
.eg-site-nav-links a[aria-current="page"] {
  color: var(--theme-color);
  text-decoration: none;
}

button.eg-site-nav-toggle[type] {
  display: none !important;
  flex: none;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 48px;
  height: var(--rt-site-nav-height);
  margin: 0 0 0 auto;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: none;
  color: var(--color-text);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
  vertical-align: middle;
}

button.eg-site-nav-toggle[type]::-moz-focus-inner {
  padding: 0;
  border: 0;
}

button.eg-site-nav-toggle[type]:hover,
button.eg-site-nav-toggle[type]:focus,
button.eg-site-nav-toggle[type]:focus-visible {
  background: none;
  border: none;
  box-shadow: none;
  outline: none;
}

.eg-site-nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 14px;
  overflow: hidden;
}

.eg-site-nav-toggle-bars span {
  position: absolute;
  left: 0;
  display: block;
  width: 16px;
  height: 2px;
  margin: 0;
  border-radius: 0;
  background: var(--color-text);
  transition: top 0.25s, background-color 0.5s, transform 0.25s;
}

.eg-site-nav-toggle-bars span:nth-child(1) {
  top: 0;
  transform: translateX(0);
}

.eg-site-nav-toggle-bars span:nth-child(2) {
  top: 6px;
  transform: translateX(8px);
}

.eg-site-nav-toggle-bars span:nth-child(3) {
  top: 12px;
  transform: translateX(4px);
}

.eg-site-nav.is-open .eg-site-nav-toggle-bars span:nth-child(1) {
  top: 6px;
  transform: translateX(0) rotate(225deg);
}

.eg-site-nav.is-open .eg-site-nav-toggle-bars span:nth-child(2) {
  top: 6px;
  transform: translateX(16px);
}

.eg-site-nav.is-open .eg-site-nav-toggle-bars span:nth-child(3) {
  top: 6px;
  transform: translateX(0) rotate(135deg);
}

body.eg-site-nav-lock {
  overflow: hidden;
}

body {
  padding-top: var(--rt-site-nav-height);
}

body.sticky .sidebar {
  top: var(--rt-site-nav-height);
  height: calc(100% - var(--rt-site-nav-height));
}

body.sticky .sidebar-toggle {
  top: var(--rt-site-nav-height);
  height: calc(100% - var(--rt-site-nav-height));
}

@media (min-width: 90rem) {
  :root {
    --rt-layout-gutter: calc((100vw - (var(--rt-layout-max-width) - 4rem)) / 2);
  }

  body.sticky .sidebar {
    width: calc(var(--rt-layout-gutter) + var(--sidebar-width));
    padding-left: var(--rt-layout-gutter);
    box-sizing: border-box;
  }

  body:has(.sidebar.show) main > .content {
    left: calc(var(--rt-layout-gutter) + var(--sidebar-width));
    right: var(--rt-layout-gutter);
  }

  body:has(.sidebar.show) .sidebar-toggle {
    translate: calc(var(--rt-layout-gutter) + var(--sidebar-width));
  }
}

@media (max-width: 768px) {
  :root,
  html.rt-home {
    --content-max-width: 100%;
    --content-margin-inline: 24px;
  }

  .eg-site-nav-inner {
    padding: 0 8px 0 16px;
  }

  button.eg-site-nav-toggle[type] {
    display: flex !important;
    margin-left: auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: none;
    appearance: none;
    -webkit-appearance: none;
  }

  button.eg-site-nav-toggle[type]:hover {
    background: none;
    border: none;
  }

  .eg-site-nav-end {
    display: none;
    position: absolute;
    top: var(--rt-site-nav-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding: 24px 32px 96px;
    overflow-y: auto;
    background: var(--color-bg);
  }

  .eg-site-nav.is-open .eg-site-nav-links,
  .eg-site-nav.is-open .page-toolbar {
    width: 100%;
    max-width: 288px;
    margin-inline: auto;
  }

  .eg-site-nav.is-open {
    z-index: 60;
    height: 100%;
    height: 100dvh;
    overflow: hidden;
  }

  .eg-site-nav.is-open .eg-site-nav-end {
    display: flex;
  }

  .eg-site-nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
  }

  .eg-site-nav-links a {
    display: block;
    padding: 12px 0 11px;
    border-bottom: 1px solid var(--border-color);
    color: var(--color-text);
    white-space: normal;
  }

  .page-toolbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 24px;
  }

  .page-toolbar::before {
    display: none;
  }

  .appearance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    padding: 12px 14px 12px 16px;
    background: var(--sidebar-bg);
  }

  .appearance-label {
    display: block;
    line-height: 24px;
    font-size: 12px;
    font-weight: 500;
    color: var(--sidebar-color);
  }

  .page-toolbar .lang-switch,
  .lang-switch {
    display: flex;
    justify-content: center;
    margin: 1rem 0 0.25rem;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eg-site-nav {
    transition: none;
  }

  .eg-site-nav-toggle-bars span {
    transition: none;
  }
}

.markdown-section .mermaid {
  overflow: visible;
  margin: 1rem 0;
  background: transparent;
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 1em;
}

.markdown-section .mermaid[data-processed] {
  white-space: normal;
}

.markdown-section .mermaid svg {
  max-width: 100%;
  height: auto;
  overflow: visible;
  font-family: inherit;
  background: transparent;
}

html.dark .markdown-section .mermaid,
html.dark .markdown-section .mermaid svg {
  background: var(--color-bg) !important;
}

html.dark .markdown-section .mermaid svg text {
  fill: var(--color-text);
}

.markdown-section .mermaid svg text {
  font-family: inherit;
}

.markdown-section .mermaid .axis-line path,
.markdown-section .mermaid .axisl-line path,
.markdown-section .mermaid .ticks path {
  stroke-width: 1;
}

.sidebar .app-name-link {
  display: block;
  font-size: 0;
  line-height: 0;
  padding: 0.35rem 0.75rem 0.65rem;
}

.sidebar a.app-name-link img.app-name-lockup {
  display: block;
  width: 11.75rem;
  max-width: 100%;
  height: auto;
}

.sidebar a.app-name-link img.app-name-lockup-dark {
  display: none;
}

html.dark .sidebar a.app-name-link img.app-name-lockup-light {
  display: none;
}

html.dark .sidebar a.app-name-link img.app-name-lockup-dark {
  display: block;
}

.sidebar a.app-name-link img.app-name-lockup-v {
  display: none;
  width: 3.35rem;
  max-width: 100%;
  height: auto;
}

@media (max-width: 360px) {
  .sidebar a.app-name-link img.app-name-lockup,
  html.dark .sidebar a.app-name-link img.app-name-lockup-light,
  html.dark .sidebar a.app-name-link img.app-name-lockup-dark {
    display: none;
  }

  .sidebar a.app-name-link img.app-name-lockup-v {
    display: block;
  }
}

.home-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.25rem;
  text-indent: 0;
}

.home-logo-lockup {
  display: block;
  width: min(100%, 18rem);
  height: auto;
}

.home-logo-lockup-dark {
  display: none;
}

html.dark .home-logo-lockup-light {
  display: none;
}

html.dark .home-logo-lockup-dark {
  display: block;
}

.rt-masthead {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.75rem;
  padding: 0;
  border: none;
}

.rt-masthead img {
  display: block;
  width: 5.5rem;
  height: 5.5rem;
  object-fit: cover;
  border-radius: 0.2rem;
  flex: 0 0 auto;
}

.rt-masthead figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0;
}

.rt-masthead strong {
  font-size: 1.05rem;
  font-weight: 650;
}

.rt-masthead span {
  color: var(--sidebar-color);
  font-size: 0.9rem;
}

.rt-page-category {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--theme-color);
}

.rt-page-category-mark {
  line-height: 0;
}

.rt-page-category-mark img {
  display: block;
  height: 1.45rem;
  width: auto;
}

html.dark .rt-page-category-mark img {
  filter: invert(1);
}

.markdown-section .rt-page-category + h1 {
  margin-top: 0.15rem;
}

/* Docsify 5 hides the spinner with :has(#main). Keep a :has()-free fallback. */
body.ready.loading::before {
  display: none !important;
  content: none;
  animation: none;
}

body.ready #app {
  display: block;
  height: auto;
  min-height: 100%;
  padding-inline: 0;
}

/* Shared article chrome (pills, issue log, callout). Usable from any review. */

.markdown-section {
  line-height: 1.7;
}

.markdown-section h2 {
  margin-top: 1.75rem;
}

.markdown-section blockquote {
  border-left: 3px solid var(--theme-color);
  padding: 0.35rem 0.9rem;
  color: var(--sidebar-color);
  background: color-mix(in srgb, var(--theme-color) 6%, transparent);
}

.markdown-section table.week-log,
.markdown-section table.issue-log {
  width: 100%;
  max-width: 44rem;
  margin-left: 0;
  margin-right: 0;
}

.markdown-section table.week-log thead th,
.markdown-section table.issue-log thead th,
.markdown-section thead th {
  padding: 0.45rem 0.85rem;
}

.markdown-section table.week-log tbody td,
.markdown-section table.issue-log tbody td,
.markdown-section tbody td {
  padding: 0.45rem 0.85rem;
  vertical-align: top;
}

.markdown-section table.issue-log td:first-child {
  width: 5.5rem;
  white-space: nowrap;
  padding-right: 0.4rem;
}

.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 999px;
  line-height: 1.35;
  vertical-align: middle;
}

.pill-fixed {
  background: #e8f6ee;
  color: #0f6b38;
}

.pill-open {
  background: #fff3e8;
  color: #9a4a00;
}

.pill-gap,
.pill-invalid {
  background: #f3f3f3;
  color: #6b7280;
}

html.dark .pill-fixed {
  background: #143325;
  color: #7dcea0;
}

html.dark .pill-open {
  background: #3a2a16;
  color: #e0a36a;
}

html.dark .pill-gap,
html.dark .pill-invalid {
  background: #2a2e38;
  color: #8a9ba8;
}

.rt-callout {
  margin: 0.85rem 0 1.1rem;
  padding: 0.85rem 1rem;
  border: 1px solid color-mix(in srgb, var(--theme-color) 28%, var(--border-color));
  border-radius: 8px;
  background: color-mix(in srgb, var(--theme-color) 8%, var(--color-bg));
  font-size: 0.95em;
  line-height: 1.65;
}

html.dark .rt-callout {
  background: color-mix(in srgb, var(--theme-color) 12%, var(--color-bg));
}

.markdown-section h2 + ul,
.markdown-section h2 + p {
  margin-top: 0.35rem;
}

.markdown-section h2 {
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--border-color);
}

.markdown-section h3 {
  margin-top: 1.25rem;
  font-size: 1.05rem;
}

.markdown-section p[id^="ref-"] {
  font-size: 0.88em;
  color: var(--sidebar-color);
  margin: 0.28rem 0;
  line-height: 1.55;
}

.markdown-section a {
  text-decoration: underline dotted var(--theme-color);
  text-underline-offset: 0.12em;
  text-decoration-skip-ink: none;
}

.sidebar {
  font-size: 0.92rem;
}

.sidebar .rt-side-group {
  display: block;
  color: var(--theme-color);
  font-size: 1.06em;
  font-weight: 700;
}

.sidebar a.rt-side-group {
  text-decoration: none;
}

.sidebar a:hover {
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.sidebar a.app-name-link:hover {
  text-decoration: none;
}

html.rt-home .sidebar-nav > ul > li:has(> a[href="#/"]),
html.rt-home .sidebar-nav > ul > li:has(> a[href="#"]),
html.rt-home .sidebar-nav > ul > li:has(> a[href="/"]) {
  display: none;
}

.sidebar a.rt-side-home {
  display: inline-flex;
  align-items: center;
  gap: 0.12em;
  color: var(--sidebar-link-color);
}

.sidebar a.rt-side-home:hover {
  color: var(--theme-color);
  text-decoration: none;
}

.sidebar a.rt-side-home:hover .rt-side-home-label {
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.sidebar .rt-side-home-icon {
  display: block;
  height: 1em;
  width: 1em;
  flex: none;
}

.sidebar ul li a:hover {
  color: var(--theme-color);
}

.sidebar-nav > ul > li > ul > li > a[href*="reviews"]:not(.rt-side-product)::before {
  content: "→ ";
  color: var(--theme-color);
  font-weight: 700;
}

.sidebar-nav > ul > li:has(> a.rt-side-home),
.sidebar #rt-cal,
.sidebar-nav > ul > li:has(> span.rt-side-group):not(:last-child) {
  border-bottom: 1px solid color-mix(in srgb, var(--sidebar-border-color) 70%, var(--sidebar-bg));
  padding-bottom: 0.55rem;
  margin-bottom: 0.7rem;
}

.sidebar .sidebar-nav a.rt-side-product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1.2;
}

.sidebar .rt-side-vendor,
.markdown-section ul.rt-field-list > li > strong.rt-side-vendor {
  display: grid;
  grid-template-columns: 9ch auto;
  column-gap: 0;
  align-items: center;
  justify-items: start;
}

.sidebar .rt-side-vendor {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--sidebar-color);
}

.sidebar .rt-side-vendor-name,
.markdown-section ul.rt-field-list > li > strong.rt-side-vendor > .rt-side-vendor-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar .rt-side-title {
  display: block;
  font-size: 1em;
  line-height: 1.25;
  margin: 0;
}

.sidebar .rt-side-vendor-cursor,
.markdown-section ul.rt-field-list > li > strong.rt-side-vendor-cursor,
.markdown-section .rt-home-kind.rt-side-vendor-cursor {
  color: #f54e00;
}

.sidebar .rt-side-vendor-perplexity,
.markdown-section ul.rt-field-list > li > strong.rt-side-vendor-perplexity,
.markdown-section .rt-home-kind.rt-side-vendor-perplexity {
  color: #20b2aa;
}

.sidebar .rt-side-vendor-google,
.markdown-section ul.rt-field-list > li > strong.rt-side-vendor-google,
.markdown-section .rt-home-kind.rt-side-vendor-google {
  color: #4285f4;
}

.sidebar .rt-side-vendor-openai,
.markdown-section ul.rt-field-list > li > strong.rt-side-vendor-openai,
.markdown-section .rt-home-kind.rt-side-vendor-openai {
  color: #10a37f;
}

.sidebar .rt-side-vendor-anthropic,
.markdown-section ul.rt-field-list > li > strong.rt-side-vendor-anthropic,
.markdown-section .rt-home-kind.rt-side-vendor-anthropic {
  color: #d97757;
}

.sidebar .rt-side-vendor-meta,
.markdown-section ul.rt-field-list > li > strong.rt-side-vendor-meta,
.markdown-section .rt-home-kind.rt-side-vendor-meta {
  color: #0866ff;
}

.sidebar .rt-side-vendor-spacexai,
.markdown-section ul.rt-field-list > li > strong.rt-side-vendor-spacexai,
.markdown-section .rt-home-kind.rt-side-vendor-spacexai {
  color: #6b7280;
}

.sidebar .rt-side-vendor-github,
.markdown-section ul.rt-field-list > li > strong.rt-side-vendor-github,
.markdown-section .rt-home-kind.rt-side-vendor-github {
  color: #238636;
}

.sidebar .rt-side-vendor-jetbrains,
.markdown-section ul.rt-field-list > li > strong.rt-side-vendor-jetbrains,
.markdown-section .rt-home-kind.rt-side-vendor-jetbrains {
  color: #fe315d;
}

.sidebar .rt-side-vendor-alibaba,
.markdown-section ul.rt-field-list > li > strong.rt-side-vendor-alibaba,
.markdown-section .rt-home-kind.rt-side-vendor-alibaba {
  color: #ff6a00;
}

.sidebar .rt-side-vendor-nvidia,
.markdown-section ul.rt-field-list > li > strong.rt-side-vendor-nvidia,
.markdown-section .rt-home-kind.rt-side-vendor-nvidia {
  color: #76b900;
}

.sidebar .rt-side-vendor-amd,
.markdown-section ul.rt-field-list > li > strong.rt-side-vendor-amd,
.markdown-section .rt-home-kind.rt-side-vendor-amd {
  color: #ed1c24;
}

.rt-kind-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.03em;
  padding: 1px 6px;
  border-radius: 999px;
  line-height: 1.35;
  vertical-align: middle;
}

.sidebar .rt-kind-pill {
  font-size: 9px;
}

.rt-kind-model {
  background: #1e3a5f;
  color: #e8eef6;
}

.rt-kind-agent {
  background: #5b2c6f;
  color: #f3e8f6;
}

.rt-kind-vertical {
  background: #1b5e4a;
  color: #e8f4f0;
}

.rt-kind-compute {
  background: #6b3f1e;
  color: #f6eee8;
}

.rt-kind-spec {
  background: #3b4048;
  color: #d4d7dc;
}

html.dark .rt-kind-model {
  background: #9db7d9;
  color: #1c2a3d;
}

html.dark .rt-kind-agent {
  background: #c9a3d9;
  color: #2e1d36;
}

html.dark .rt-kind-vertical {
  background: #8fc9b5;
  color: #17352c;
}

html.dark .rt-kind-compute {
  background: #d4b08c;
  color: #3a2a1c;
}

html.dark .rt-kind-spec {
  background: #c5c7cb;
  color: #3a3e46;
}

.markdown-section ul.rt-field-list {
  list-style: none;
  padding-left: 0;
  margin: 0.85rem 0 1.15rem;
}

.markdown-section ul.rt-field-list > li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0 0 1.15em;
}

.markdown-section ul.rt-field-list-review {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: 1.5rem;
  row-gap: 0.85rem;
}

.markdown-section ul.rt-field-list-review > li {
  flex: 0 1 auto;
  margin: 0;
}

.markdown-section ul.rt-field-list-review > li.rt-field-product,
.markdown-section ul.rt-field-list-review > li.rt-field-announced {
  flex: 1 1 100%;
  min-width: 0;
}

.markdown-section ul.rt-field-list-review > li.rt-field-product {
  order: 1;
}

.markdown-section ul.rt-field-list-review > li.rt-field-announced {
  order: 2;
}

.markdown-section ul.rt-field-list > li > strong:first-child {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0;
}

.markdown-section ul.rt-field-list > li > strong:first-child:not(.rt-side-vendor) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4em;
  color: var(--theme-color);
}

.markdown-section ul.rt-field-list > li > .rt-field-value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4em;
  line-height: 1.25;
  margin: 0;
}

.markdown-section code {
  font-size: 0.88em;
}

.rt-kicker,
.rt-check {
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.55;
  color: #667085;
  margin: 0.15rem 0;
}

.rt-kicker {
  margin-top: 0.35rem;
}

.rt-check {
  color: #8a93a0;
  margin-bottom: 0.85rem;
}

html.dark .rt-kicker {
  color: #8a9ba8;
}

html.dark .rt-check {
  color: #6b7280;
}

/* Homepage journal cards. Painted into README mounts by rtHome. */

.markdown-section .rt-home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 18rem;
  margin: 0 0 1rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--color-bg);
}

.markdown-section .rt-home-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--color-bg) 98%, transparent) 0%,
    color-mix(in srgb, var(--color-bg) 94%, transparent) 38%,
    color-mix(in srgb, var(--color-bg) 72%, transparent) 52%,
    transparent 72%
  );
}

.markdown-section .rt-home-hero-copy {
  z-index: 2;
  width: min(58%, 31rem);
  padding: 1.65rem 1.8rem 1.8rem;
}

.markdown-section .rt-home-hero h2 {
  margin: 0 0 0.8rem;
  padding: 0;
  border: none;
  font-size: clamp(1.55rem, 2.7vw, 2.1rem);
  line-height: 1.35;
}

.markdown-section .rt-home-title-key {
  white-space: nowrap;
}

.markdown-section .rt-home-hero p {
  max-width: 29rem;
  margin: 0;
  line-height: 1.75;
}

.markdown-section .rt-home-hero-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

html.dark .markdown-section .rt-home-hero-art {
  filter: invert(1) hue-rotate(180deg);
  opacity: 0.82;
}

.markdown-section .rt-home-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  margin: 1rem 0 0.25rem;
}

.markdown-section a.rt-home-chip {
  display: inline-block;
  border: 1px solid var(--border-color);
  padding: 0.18rem 0.7rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--color-text);
  text-decoration: none;
}

.markdown-section a.rt-home-chip:hover {
  border-color: var(--theme-color);
  color: var(--theme-color);
}

.markdown-section .rt-home-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(14.5rem, 0.85fr);
  gap: 1rem 1.15rem;
  margin: 1.1rem 0 0.35rem;
}

.markdown-section .rt-home-rail {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.markdown-section .rt-home-card {
  border: 1px solid var(--border-color);
  padding: 0.85rem 0.95rem 0.9rem;
  background: var(--color-bg);
}

.markdown-section .rt-home-feature {
  padding: 1.05rem 1.15rem 1.1rem;
}

.markdown-section .rt-home-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.7rem;
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--sidebar-color);
}

.markdown-section .rt-home-kind {
  font-weight: 650;
  letter-spacing: 0.07em;
  color: var(--theme-color);
}

.markdown-section .rt-home-issue {
  color: var(--sidebar-color);
}

.markdown-section h2.rt-home-label {
  margin: 1.6rem 0 0.65rem;
  padding-bottom: 0;
  border-bottom: none;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--sidebar-color);
}

.markdown-section h2.rt-home-headline,
.markdown-section h3.rt-home-headline {
  margin: 0 0 0.55rem;
  padding-bottom: 0;
  border-bottom: none;
  font-size: 1.2rem;
  line-height: 1.45;
}

.markdown-section .rt-home-feature h2.rt-home-headline {
  font-size: 1.45rem;
}

.markdown-section .rt-home-headline a {
  color: var(--color-text);
  text-decoration: none;
}

.markdown-section .rt-home-headline a:hover {
  color: var(--theme-color);
}

.markdown-section .rt-home-dek,
.markdown-section .rt-home-takeaways {
  margin: 0 0 0.7rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--sidebar-color);
}

.markdown-section .rt-home-takeaways {
  padding-left: 1.15rem;
}

.markdown-section .rt-home-takeaways li + li {
  margin-top: 0.35rem;
}

.markdown-section .rt-home-more {
  margin: 0;
  font-size: 0.86rem;
}

.markdown-section .rt-home-more a {
  color: var(--theme-color);
  text-decoration: none;
}

.markdown-section .rt-home-more a:hover {
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.markdown-section .rt-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 0.5rem;
}

@media (max-width: 58rem) {
  .markdown-section .rt-home-lead,
  .markdown-section .rt-home-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 42rem) {
  .markdown-section .rt-home-hero {
    display: grid;
    min-height: 0;
  }

  .markdown-section .rt-home-hero::after {
    display: none;
  }

  .markdown-section .rt-home-hero-copy {
    width: auto;
    padding: 1.25rem 1.25rem 1.4rem;
  }

  .markdown-section .rt-home-hero h2 {
    font-size: 1.55rem;
  }

  .markdown-section .rt-home-hero-art {
    position: relative;
    z-index: auto;
    aspect-ratio: 16 / 9;
    height: auto;
    object-position: center;
  }
}

main > .content {
  display: flex;
  flex-direction: column;
}

main > .content > #main {
  flex: 1 0 auto;
}

.rt-site-footer {
  flex: 0 0 auto;
  width: 100%;
  margin-top: auto;
  box-sizing: border-box;
  padding: 2.25rem var(--content-margin-inline, 45px) 2.5rem;
  border-top: 1px solid #2a2a2a;
  background: #111111;
  color: #f6f6f7;
}

.rt-site-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 52rem;
  margin: 0 auto;
}

html.rt-home .rt-site-footer-inner {
  max-width: 75rem;
}

.rt-site-footer-lockup {
  display: block;
  width: 11.75rem;
  max-width: 100%;
  line-height: 0;
}

.rt-site-footer-lockup img {
  display: block;
  width: 11.75rem;
  max-width: 100%;
  height: auto;
  aspect-ratio: 440.25 / 85.04;
}

.rt-site-footer-copy {
  margin: 0.85rem 0 0;
  color: #c8c8c8;
  font-size: 0.78rem;
}

.rt-site-footer-trust {
  flex: 1 1 16rem;
  max-width: 28rem;
}

.rt-site-footer-trust-title {
  margin: 0 0 0.45rem;
  color: #f6f6f7;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.35;
}

.rt-site-footer-trust-body {
  margin: 0;
  color: #c8c8c8;
  font-size: 0.85rem;
  line-height: 1.65;
}

.rt-site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin-top: 0.85rem;
  font-size: 0.85rem;
}

.rt-site-footer-nav a {
  color: #f6f6f7;
  text-decoration: none;
}

.rt-site-footer-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.rt-site-footer-follow-label {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rt-site-footer-x {
  display: inline-flex;
  color: #f6f6f7;
}

.rt-site-footer-x svg {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

.rt-site-footer-x:hover {
  color: #ffffff;
}

@media (max-width: 640px) {
  .rt-site-footer-inner {
    flex-direction: column;
  }
}
