*,
::before,
::after {
  box-sizing: border-box;
}

@font-face {
  font-family: Recursive;
  font-style: normal;
  font-weight: 300 1000;
  font-display: swap;
  src: url(fonts/recursive-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Recursive;
  font-style: normal;
  font-weight: 300 1000;
  font-display: swap;
  src: url(fonts/recursive-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light dark;
  --font-ui: Recursive, system-ui, sans-serif;
  --font-mono: Recursive, ui-monospace, monospace;
  --text-xs: 0.8125rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --radius: 6px;
  --radius-inner: calc(var(--radius) - 1px);
  --radius-sm: 4px;
  --bg: #f2f2ef;
  --surface: #ffffff;
  --fg: #24262b;
  --line: #cdcfd2;
  --line-soft: #e6e7e9;
  --muted: #5f636b;
  --hover: #f4f4f1;
  --active: #e7e7e3;
  --active-hover: #dcdcd7;
  --current: #24262b;
  --current-fg: #ffffff;
  --current-hover: #3a3d44;
  --green: #1e7a3c;
  --red: #b42318;
  --orange: #a35a00;
  --stripe: #f7f7f5;
  --quote: #5f636b;
  --code: #efefec;
  --gutter: #f7f7f5;
  --line-no: #62666d;
  --target: #fff0a8;
  --del: #fdecea;
  --ins: #e7f5e9;
  --del-ln: #fae2de;
  --ins-ln: #d6efdb;
  --hunk-bg: #efeff2;
  --note: #2459c9;
  --tip: #1e7a3c;
  --important: #7445c4;
  --warning: #8a5a00;
  --caution: #b42318;
  --folder: #b07d12;
  --stuck-shadow: 0 6px 12px -6px rgb(0 0 0 / 0.22);
  --menu-shadow: 0 6px 18px rgb(0 0 0 / 0.1);
  --switch-w: 12rem;
  --bar-h: 2.65rem;
  --measure: 40rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1d20;
    --surface: #24262a;
    --fg: #e8e8e4;
    --line: #45474d;
    --line-soft: #34363b;
    --muted: #a4a7ae;
    --hover: #2c2e33;
    --active: #383a40;
    --active-hover: #43464c;
    --current: #e8e8e4;
    --current-fg: #1c1d20;
    --current-hover: #cfd0cb;
    --green: #6fc483;
    --red: #f2877c;
    --orange: #e3a457;
    --stripe: #292b2f;
    --quote: #a4a7ae;
    --code: #303237;
    --gutter: #212226;
    --line-no: #a2a5ab;
    --target: #4d4420;
    --del: #3e2624;
    --ins: #213426;
    --del-ln: #4a2c29;
    --ins-ln: #263d2c;
    --hunk-bg: #2c2e34;
    --note: #7ea6f5;
    --tip: #6fc483;
    --important: #b597f2;
    --warning: #dcae4f;
    --caution: #f2877c;
    --folder: #d9ab4e;
    --stuck-shadow: 0 6px 12px -6px rgb(0 0 0 / 0.55);
    --menu-shadow: 0 6px 18px rgb(0 0 0 / 0.4);
  }
}

html {
  background-color: var(--bg);
  color: var(--fg);
  font-size: 100%;
  line-height: 1.3;
  font-family: var(--font-ui);
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  scroll-padding-top: calc(var(--bar-h) + 0.85rem);
}

body {
  margin: 0 auto;
  padding: 0 1rem;
  max-width: 86rem;
  min-height: 100vh;
  min-height: 100dvh;
}

.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

input.vh[type="radio"] {
  position: fixed !important;
  top: 50%;
  left: 0;
}

sup,
sub {
  line-height: 0;
}

img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

code,
pre,
kbd,
.rel-sum,
.commit-id,
.commit-parent a {
  font-family: var(--font-mono);
  font-style: normal;
  font-variation-settings: "MONO" 1;
}

.chip code,
.rel-sum-label,
.commit-title > .commit-id::after {
  font-family: var(--font-ui);
  font-variation-settings: "MONO" 0;
}

kbd {
  font-size: 0.875em;
}

code {
  font-size: 0.875em;
  padding: 0.025rem 0.3rem;
  border-radius: var(--radius-sm);
  background-color: var(--code);
}

pre {
  font-size: var(--text-sm);
  line-height: 1.5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.65rem;
  overflow-x: auto;
  background-color: var(--surface);
}

pre > code {
  font-size: inherit;
  padding: 0;
  border-radius: 0;
  background-color: transparent;
}

code svg {
  width: 16px;
  height: 16px;
  margin-right: 0.3em;
  vertical-align: -0.25em;
  color: var(--muted);
}

.ref-menu {
  position: relative;
}

.ref-btn,
label {
  cursor: pointer;
}

.ref-btn {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  vertical-align: top;
  margin: -0.2rem 0;
  padding: 0.2rem 0.55rem;
  border: 0;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: var(--text-base);
  color: inherit;
  background-color: var(--code);
}

.ref-btn svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-right: 0.3em;
  color: var(--muted);
}

.ref-more > .ref-btn {
  display: block;
  margin: 0;
  padding: 0.025rem 0.3rem;
  font-size: var(--text-xs);
  color: var(--fg);
}

.ref-more > .ref-btn svg {
  vertical-align: -0.25em;
}

.chip code {
  display: block;
  align-content: center;
  max-width: 12rem;
  font-size: var(--text-xs);
  color: var(--fg);
}

.ref-btn:hover,
.ref-menu:has(> :popover-open) > .ref-btn {
  background-color: var(--active);
}

.ref-btn svg:nth-last-child(-n + 2) {
  margin: 0 0 0 0.3em;
}

.ref-btn svg:last-child,
.ref-menu:has(> :popover-open) .ref-btn svg:nth-last-child(2) {
  display: none;
}

.ref-menu:has(> :popover-open) .ref-btn svg:last-child {
  display: inline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: var(--text-base);
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

path {
  fill: currentColor;
}

a {
  text-decoration: none;
  color: var(--link, var(--fg));
}

a:hover {
  color: var(--fg);
  text-decoration: underline;
}

a,
.buttons label,
.ref-btn,
.row {
  transition:
    background-color 0.12s,
    border-color 0.12s,
    color 0.12s;
}

:focus-visible {
  outline: 2px solid var(--muted);
  outline-offset: 2px;
}

#header,
#site_path {
  display: flex;
  align-items: baseline;
}

#header {
  flex-basis: 100%;
}

a.brand {
  font-size: var(--text-xl);
  font-weight: 300;
  font-variation-settings: "MONO" 1;
  --link: var(--muted);
}

a.brand[aria-current] {
  font-size: var(--text-2xl);
}

:is(a.brand, #site_path a):hover {
  text-decoration: none;
}

#site_path {
  margin: 0;
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.01em;
}

#site_path::before {
  content: "/";
  margin: 0 0.45rem 0 0.35rem;
  font-size: var(--text-xl);
  color: var(--muted);
  font-weight: 300;
}

main {
  margin: 0 0 3rem;
  timeline-scope: --switch;
}

.site-footer {
  position: sticky;
  top: 100vh;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.text-xs {
  font-size: var(--text-xs);
  color: var(--muted);
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-1 {
  flex: 1;
}

.flex-2 {
  flex: 2;
}

.items-center {
  align-items: center;
}

.gap {
  gap: 0.65rem;
}

.gap-2 {
  gap: 1.3rem;
}

.ml-auto {
  margin-left: auto;
}

.color-green {
  color: var(--green);
}

.color-red {
  color: var(--red);
}

.color-orange {
  color: var(--orange);
}

.log {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.px {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.box {
  margin: 1rem 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
}

:has(> .sticky) {
  view-timeline: --stuck block;
  view-timeline-inset: 0px;
}

.sticky {
  position: sticky;
  top: 0;
  z-index: 2;
}

.summary-tree .ref-bar {
  position: static;
  margin-top: 0;
}

.mt-0 {
  margin-top: 0;
}

.joined {
  margin-top: 0;
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

:is(.box, pre):has(+ .joined) {
  margin-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: var(--line-soft);
}

.chroma.joined {
  padding-top: 0;
  padding-bottom: 0;
}

.m-0 {
  margin: 0;
}

.p-0 {
  padding: 0;
}

.p-0 > :first-child {
  border-top-left-radius: var(--radius-inner);
  border-top-right-radius: var(--radius-inner);
}

.p-0 > :last-child {
  border-bottom-left-radius: var(--radius-inner);
  border-bottom-right-radius: var(--radius-inner);
}

.white-space-bs {
  white-space: break-spaces;
}

.border-b {
  border-bottom: 1px solid var(--line-soft);
}

.border-b:last-child {
  border-bottom: 0;
}

.font-bold {
  font-weight: 600;
}

.buttons a,
.buttons label,
.pager > span,
.file-size {
  padding: 0.15rem 0.65rem;
  border: 1px solid var(--line);
  background-color: var(--surface);
}

.buttons a + a,
.buttons label + label,
.buttons.pager > * + * {
  border-left: 0;
}

.pager-gap {
  color: var(--muted);
}

.buttons a:hover,
.buttons label:hover {
  text-decoration: none;
  background-color: var(--hover);
}

.buttons [aria-current] {
  color: var(--current-fg);
  background-color: var(--current);
  border-color: var(--current);
}

.buttons > :has(+ [aria-current]) {
  border-right-color: var(--current);
}

.buttons a[aria-current]:hover {
  color: var(--current-fg);
  background-color: var(--current-hover);
}

.buttons > :first-child {
  border-top-left-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
}

.buttons > :last-child {
  border-top-right-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

.file-size {
  border-radius: var(--radius) var(--radius) 0 0;
}

.file-head {
  position: relative;
  margin-bottom: -1px;
}

.file-head ~ * {
  margin-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.view-switch {
  float: right;
  position: sticky;
  top: 0;
  margin-bottom: -1px;
  border-radius: 0 0 var(--radius) var(--radius);
}

.view-switch label {
  width: calc(var(--switch-w) / 2);
  text-align: center;
  font-size: var(--text-sm);
}

.action-code .view-switch {
  top: var(--bar-h);
}

.view-switch + .file-head {
  view-timeline: --switch block;
  view-timeline-inset: 0px;
}

.action-code .view-switch + .file-head {
  view-timeline-inset: var(--bar-h) 0px;
}

.view-switch > :first-child {
  border-radius: var(--radius) 0 0 0;
}

.view-switch > :last-child {
  border-radius: 0 var(--radius) 0 0;
}

@supports (animation-timeline: view()) {
  .sticky {
    animation: stuck-top linear both;
    animation-timeline: --stuck;
    animation-range: exit-crossing -1px exit-crossing 0%;
  }

  .action-code .ref-bar {
    animation:
      stuck-top linear both,
      switch-under linear both;
    animation-timeline: --stuck, --switch;
    animation-range:
      exit-crossing -1px exit-crossing 0%,
      exit-crossing -1px exit-crossing 0%;
  }

  .view-switch {
    animation: switch-shadow linear both;
    animation-timeline: --switch;
    animation-range: exit-crossing -1px exit-crossing 0%;
  }

  .view-switch > :first-child,
  .view-switch > :last-child {
    animation-timeline: --switch;
    animation-range: exit-crossing -1px exit-crossing 0%;
    animation-fill-mode: both;
    animation-timing-function: linear;
  }

  .view-switch > :first-child {
    animation-name: switch-left;
  }

  .view-switch > :last-child {
    animation-name: switch-right;
  }
}

@keyframes stuck-top {
  to {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-color: var(--line);
    box-shadow: var(--stuck-shadow);
  }
}

@keyframes switch-under {
  to {
    border-bottom-right-radius: 0;
    clip-path: polygon(
      -100vw -100vh,
      calc(100% + 100vw) -100vh,
      calc(100% + 100vw) 100%,
      calc(100% - var(--switch-w)) 100%,
      calc(100% - var(--switch-w)) calc(100% + 100vh),
      -100vw calc(100% + 100vh)
    );
  }
}

@keyframes switch-shadow {
  to {
    box-shadow: var(--stuck-shadow);
  }
}

@keyframes switch-left {
  to {
    border-top-left-radius: 0;
    border-bottom-left-radius: var(--radius);
    border-bottom-width: 1px;
    padding-bottom: 0.15rem;
  }
}

@keyframes switch-right {
  to {
    border-top-right-radius: 0;
    border-bottom-right-radius: var(--radius);
    border-bottom-width: 1px;
    padding-bottom: 0.15rem;
  }
}

#view-source:checked ~ .box,
#view-rendered:checked ~ .chroma {
  display: none;
}

.ref-menu-list {
  inset: auto;
  flex-direction: column;
  max-width: 20rem;
  margin: 0.3rem 0 0;
  padding: 0;
  overflow: visible;
  white-space: nowrap;
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--menu-shadow);
  position-area: bottom span-right;
  position-try-fallbacks: flip-block;
}

.ref-menu-list:popover-open {
  display: flex;
}

.ref-menu:not(.ref-more) > .ref-menu-list {
  width: max-content;
  min-width: anchor-size(width);
  margin-top: 0.45rem;
}

.ref-menu:not(.ref-more) > .ref-menu-list a {
  padding-left: calc(0.55rem - 1px);
}

.ref-more .ref-menu-list {
  font-size: var(--text-base);
  position-area: bottom span-left;
}

#ref-branches:checked ~ .ref-tags,
#ref-tags:checked ~ .ref-branches {
  visibility: hidden;
  height: 0;
  overflow: hidden;
}

.ref-kinds {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ref-kinds label {
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-size: var(--text-sm);
}

.ref-kinds label + label {
  border-left: 1px solid var(--line);
}

#ref-branches:checked ~ .ref-kinds [for="ref-branches"],
#ref-tags:checked ~ .ref-kinds [for="ref-tags"],
#view-source:checked ~ .view-switch [for="view-source"],
#view-rendered:checked ~ .view-switch [for="view-rendered"] {
  background-color: var(--active);
  font-weight: 600;
}

#ref-branches:focus-visible ~ .ref-kinds [for="ref-branches"],
#ref-tags:focus-visible ~ .ref-kinds [for="ref-tags"],
#view-source:focus-visible ~ .view-switch [for="view-source"],
#view-rendered:focus-visible ~ .view-switch [for="view-rendered"] {
  outline: 2px solid var(--muted);
  outline-offset: -2px;
}

#ref-branches:checked ~ .ref-kinds [for="ref-branches"]:hover,
#ref-tags:checked ~ .ref-kinds [for="ref-tags"]:hover,
#view-source:checked ~ .view-switch [for="view-source"]:hover,
#view-rendered:checked ~ .view-switch [for="view-rendered"]:hover {
  background-color: var(--active-hover);
}

.file-size,
#ref-branches:checked ~ .ref-kinds [for="ref-branches"],
#ref-tags:checked ~ .ref-kinds [for="ref-tags"],
#view-source:checked ~ .view-switch [for="view-source"],
#view-rendered:checked ~ .view-switch [for="view-rendered"] {
  border-bottom-width: 0;
  padding-bottom: calc(0.15rem + 1px);
}

.ref-branches,
.ref-tags {
  display: flex;
  flex-direction: column;
  max-height: min(30rem, max(7rem, 100dvh - 17rem));
  overflow-y: auto;
  border-bottom-left-radius: var(--radius-inner);
  border-bottom-right-radius: var(--radius-inner);
}

.ref-menu-list .long {
  scrollbar-gutter: stable;
}

.ref-menu-list a {
  display: block;
  flex-shrink: 0;
  padding: 0.35rem 0.75rem;
  border: 0;
}

.ref-menu-list a svg {
  margin-right: 0.3em;
}

.ref-menu-list a svg,
.commit-title > .commit-id > svg {
  vertical-align: calc(-0.15em - 1px);
}

.ref-menu-list a + a {
  border-top: 1px solid var(--line-soft);
}

.ref-menu-list.buttons > *,
.ref-menu-list .buttons > * {
  border-radius: 0;
}

.ref-kinds > :first-child {
  border-top-left-radius: var(--radius-inner);
}

.ref-kinds > :last-child {
  border-top-right-radius: var(--radius-inner);
}

:is(.ref-menu-list.buttons, .ref-menu-list > :first-child) > :first-child,
.ref-menu-list > .long:first-child {
  border-top-left-radius: var(--radius-inner);
  border-top-right-radius: var(--radius-inner);
}

:is(.ref-branches, .ref-tags, .ref-menu-list.buttons) > :last-child {
  border-bottom-left-radius: var(--radius-inner);
  border-bottom-right-radius: var(--radius-inner);
}

.ref-menu-list a.missing,
.ref-menu-list a:not([aria-current]) svg {
  color: var(--muted);
}

.pager {
  align-self: center;
  max-width: 50%;
}

.pager > :is(a, [aria-current]) {
  display: flex;
  align-items: center;
}

.pager svg {
  margin: 0 -4px;
}

.pager svg + svg {
  margin-left: -3px;
}

.tree-date {
  width: 5.75rem;
  flex-shrink: 0;
  white-space: nowrap;
  text-align: right;
}

:is(.last-commit, .rel-head) .tree-date {
  width: auto;
}

.tree-commit,
.tree-date,
.rel-size,
.branch-log,
.ref-bar-commits,
.rel-sum,
.summary-meta-key,
.doc-link,
.file-size,
.site-footer {
  font-size: var(--text-sm);
  color: var(--muted);
  --link: var(--muted);
}

.commit-stat {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  height: 1lh;
  overflow: hidden;
}

.commit-stat::before {
  content: "";
  height: 100%;
}

.truncate,
.chip code,
.ref-menu-list a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summary-meta-val,
.repo-desc,
.commit-title,
.commit-body,
.commit-meta,
.commit-files a,
.diff-head a {
  overflow-wrap: anywhere;
}

.row:hover {
  background-color: var(--hover);
}

.commit-row:has(:is(.chip, .ref-more):hover) {
  background-color: var(--surface);
}

.row,
.repo-row {
  position: relative;
}

.row-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

:is(.row, .repo-row) :is(a:not(.row-link), .ref-more, .repo-links, .rel-sum) {
  position: relative;
  z-index: 1;
}

.row:hover:not(:has(:is(a:not(.row-link), .ref-more):hover)) :is(.row-link, .commit-summary) {
  --link: var(--fg);
  text-decoration: underline;
}

.commit-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.commit-line {
  order: -1;
  timeline-scope: --cl;
}

.commit-summary a {
  font-weight: 500;
}

.commit-row :is(code, .ref-btn):hover {
  background-color: var(--active);
}

.commit-row .chip:hover {
  text-decoration: none;
}

#header,
#site_path,
.tree-path,
.tree-commit,
.commit-summary,
.commit-by,
.branch-name,
.rel-name,
.release-id,
.ref-menu {
  min-width: 0;
}

:is(.tree-path, .branch-name, .rel-name) svg {
  flex-shrink: 0;
  color: var(--muted);
}

.tree-path svg:has(use[href="#icon.file-directory"]) {
  color: var(--folder);
}

.markdown-body {
  padding: 2rem max(2rem, calc((100% - var(--measure)) / 2));
  line-height: 1.5;
  overflow-wrap: break-word;
}

@media only screen and (max-width: 600px) {
  .markdown-body {
    padding: 1.25rem 1rem;
  }
}

.action-releases .markdown-body {
  padding: 0.4rem 0.75rem 0.6rem;
}

.action-releases .markdown-body > :is(p, ul, ol, blockquote, .markdown-heading) {
  max-width: var(--measure);
}

.markdown-body > :first-child,
.markdown-body > .markdown-heading:first-child > :first-child {
  margin-top: 0;
}

.markdown-body > :last-child,
.markdown-body > .markdown-heading:last-child > :first-child {
  margin-bottom: 0;
}

.markdown-body :is(p, ul, ol, pre, blockquote, details) {
  margin-top: 0;
  margin-bottom: 1rem;
}

.markdown-body :is(h2, h3, h4, h5, h6) {
  margin: 1.75rem 0 0.75rem;
  font-weight: 700;
  line-height: 1.25;
}

.markdown-body :is(h2, h3) {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.markdown-body a {
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 0.15em;
}

.markdown-body a:hover {
  text-decoration-color: currentColor;
}

.markdown-heading,
.markdown-body summary:has(> .anchor) {
  position: relative;
}

.anchor {
  position: absolute;
  top: 50%;
  left: -20px;
  display: flex;
  padding-right: 4px;
  translate: 0 -50%;
  --link: var(--muted);
}

.markdown-body a.anchor {
  text-decoration: none;
}

.anchor svg {
  visibility: hidden;
}

:is(.markdown-heading, summary):hover > .anchor svg,
.anchor:focus-visible svg {
  visibility: visible;
}

.markdown-body h2 {
  font-size: var(--text-2xl);
}

.markdown-body h3 {
  font-size: var(--text-xl);
}

.markdown-body h4 {
  font-size: var(--text-lg);
}

.markdown-body h6 {
  font-size: var(--text-sm);
}

.markdown-body table {
  border-collapse: collapse;
  display: block;
  margin: 0 0 1rem;
  width: max-content;
  max-width: 100%;
  overflow: auto;
}

.markdown-body :is(th, td) {
  padding: 0.4rem 1.5rem 0.4rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.markdown-body th {
  font-weight: 600;
  text-align: left;
  border-bottom-color: var(--muted);
}

.markdown-body img {
  display: inline;
}

.markdown-body blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 0.75rem 1rem;
  color: var(--quote);
  border-radius: var(--radius);
  background-color: var(--stripe);
}

.markdown-body .markdown-alert {
  color: inherit;
  background-color: color-mix(in srgb, var(--alert) 9%, var(--surface));
}

.markdown-body blockquote > :last-child {
  margin-bottom: 0;
}

.markdown-body .markdown-alert-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--alert);
  font-weight: 600;
}

.markdown-alert-note {
  --alert: var(--note);
}

.markdown-alert-tip {
  --alert: var(--tip);
}

.markdown-alert-important {
  --alert: var(--important);
}

.markdown-alert-warning {
  --alert: var(--warning);
}

.markdown-alert-caution {
  --alert: var(--caution);
}

.markdown-body hr {
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.markdown-body pre {
  padding: 1rem;
  border: 0;
  background-color: var(--code);
  line-height: 1.45;
}

.markdown-body :not(pre) > code {
  padding: 0.2em 0.4em;
}

.markdown-body li:has(> input[type="checkbox"]) {
  list-style-type: none;
}

.markdown-body li > input[type="checkbox"] {
  margin: 0 0.2em 0.25em -1.4em;
  vertical-align: middle;
}

.markdown-body li + li {
  margin-top: 0.25em;
}

.markdown-body summary {
  cursor: pointer;
}

.markdown-body summary :is(h1, h2, h3, h4, h5, h6) {
  display: inline-block;
  margin: 0;
  border: 0;
}

.footnotes {
  border-top: 1px solid var(--line);
  font-size: var(--text-sm);
}

.footnotes ol {
  padding-left: 0;
  list-style-position: inside;
}

.footnotes li > p:first-child {
  display: inline;
}

.chroma .ln {
  display: inline-block;
  -webkit-user-select: none;
  user-select: none;
  margin-right: 0.9em;
  padding: 0 0.6em 0 0;
  color: var(--line-no);
  text-decoration: none;
}

.chroma .ln:focus-visible {
  outline-offset: -2px;
}

pre.chroma[style] {
  background-image: linear-gradient(
    to right,
    var(--gutter) calc(0.65rem + var(--ln) + 0.6em),
    var(--line-soft) 0 calc(0.65rem + var(--ln) + 0.6em + 1px),
    transparent 0
  );
  background-attachment: local;
}

.chroma .cl {
  display: inline-block;
  padding-right: 0.5em;
}

#view-source ~ .chroma code {
  min-width: 0;
}

#view-source ~ .chroma .cl {
  max-width: calc(100% - var(--ln) - 1.5em);
  padding-right: 0;
  vertical-align: top;
  white-space: pre-wrap;
  word-break: break-all;
}

.chroma .ln:target {
  color: var(--fg);
  font-weight: 700;
  background-color: var(--target);
}

.chroma code {
  display: block;
  min-width: max-content;
}

.diff-stat {
  flex-shrink: 0;
  width: 100px;
  text-align: right;
}

.commit-meta {
  display: grid;
  grid-template-columns: max-content 1fr max-content max-content;
  column-gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  border-top: 1px solid var(--line-soft);
  font-size: var(--text-sm);
  color: var(--muted);
}

.commit-meta > :nth-child(2n) {
  color: var(--fg);
}

.commit-meta > :nth-child(odd):not(.commit-parent) {
  grid-column: 1;
}

.commit-parent {
  display: grid;
  grid-column: span 2;
  grid-template-columns: subgrid;
  column-gap: 0.3em;
}

.commit-head {
  padding: 0;
}

.commit-msg {
  align-items: baseline;
  padding: 0.45rem 0.75rem 0.7rem;
  font-size: var(--text-sm);
  line-height: 1.45;
}

.commit-title {
  font-size: var(--text-lg);
  font-weight: 600;
}

.commit-title > .commit-id {
  white-space: nowrap;
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--muted);
}

.commit-body {
  margin-top: 0.35rem;
}

.summary-meta-box {
  padding: 0;
}

.summary-meta-row {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
}

.summary-meta-key {
  width: 7rem;
  flex-shrink: 0;
}

.summary-meta-val {
  min-width: 0;
}

.summary-meta-val:has(> :is(.commit-id, .release-id)) {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: var(--text-sm);
  color: var(--muted);
}

.summary-meta-row:first-child {
  padding: 0.4rem 0.75rem;
  line-height: 1.5;
}

.summary-meta-row:last-child {
  flex-direction: column;
  gap: 0.4rem;
  padding-bottom: 0.75rem;
}

.summary-meta-row:last-child .summary-meta-val {
  padding: 0.35rem 0.5rem;
  font-family: var(--font-mono);
  font-variation-settings: "MONO" 1;
  font-size: var(--text-xs);
  background-color: var(--code);
  border-radius: var(--radius-sm);
  user-select: all;
}

.empty {
  color: var(--muted);
  font-style: italic;
}

.summary-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.summary-main,
.summary-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.summary-tree .box,
.summary-readme > :is(.box, pre) {
  margin-bottom: 0;
}

.action-code > .summary-readme {
  margin-top: 1.5rem;
}

.summary-side .box {
  margin: 0;
}

.summary-side .commit-by {
  flex: 1;
}

.summary-side .commit-by > :nth-child(2) {
  display: none;
}

.summary-side .commit-by > :last-child {
  margin-left: auto;
  padding-left: 0.65rem;
}

.side-all a {
  font-size: var(--text-sm);
  --link: var(--muted);
}

@media screen and (min-width: 1100px) {
  .summary-layout {
    grid-template-columns: minmax(0, 1fr) 24rem;
  }
}

.repo-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.repo-row {
  display: grid;
  grid-template:
    "name date" auto
    "desc desc" 1fr
    "links links" auto / minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 0.5rem;
  padding: 0.5rem 0.75rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
  container-type: inline-size;
}

.repo-name {
  grid-area: name;
  margin: 0;
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: -0.01em;
}

.repo-row:hover .repo-name a,
.repo-name a:focus-visible {
  font-weight: 800;
  text-decoration: none;
}

.repo-row:hover :is(.repo-date, .repo-desc),
.repo-row:has(.repo-name a:focus-visible) :is(.repo-date, .repo-desc) {
  color: var(--fg);
}

.repo-name a:focus-visible {
  outline: none;
}

.repo-row:has(.repo-name a:focus-visible) {
  outline: 2px solid var(--muted);
  outline-offset: 2px;
}

.repo-desc {
  display: -webkit-box;
  grid-area: desc;
  min-height: calc(2lh);
  margin: 0.1rem 0 0;
  overflow: hidden;
  font-size: var(--text-base);
  line-height: 1.45;
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.repo-links {
  display: flex;
  grid-area: links;
  flex-wrap: wrap;
  column-gap: max(0.7rem, (100cqi - 22em) / 5);
  margin: 0.65rem -0.75rem 0;
  padding: 0.3rem 0.75rem 0.35rem;
  border-top: 1px solid var(--line-soft);
  font-size: var(--text-sm);
}

.repo-links a {
  line-height: 1.5rem;
  --link: var(--muted);
}

.repo-date {
  grid-area: date;
  margin: 0;
  text-align: right;
  font-size: var(--text-xs);
  color: var(--muted);
}

@media only screen and (max-width: 700px) {
  .repo-name {
    font-size: var(--text-xl);
  }
}

@media only screen and (max-width: 900px) {
  body {
    padding: 0 0.5rem;
  }

  .tree-commit {
    display: none;
  }

  :is(.last-commit, .rel-head) > .tree-commit,
  :is(.last-commit, .rel-head) .short-id {
    display: flex;
  }

  .branch-row .branch-sha::after {
    content: none;
  }

  .commit-meta {
    grid-template-columns: max-content 1fr;
  }

  .commit-parent {
    display: contents;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

.ref-bar > span:not([class]) {
  color: var(--muted);
}

.ref-bar {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.ref-bar > :is(a, span) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ref-bar > a:not(.ref-bar-commits) {
  flex-shrink: 100;
  min-width: 1.5em;
}

.ref-bar > :is(.ref-bar-commits, span:not([class])) {
  flex-shrink: 0;
}

.ref-bar-commits {
  margin-left: auto;
}

@media only screen and (max-width: 600px) {
  .ref-bar {
    flex-wrap: wrap;
    white-space: normal;
  }

  .ref-bar > :is(a, span) {
    overflow: visible;
    overflow-wrap: anywhere;
  }

  .ref-bar.sticky {
    position: static;
  }

  .action-code .ref-bar {
    animation: none;
  }

  .action-code .view-switch {
    top: 0;
  }

  .action-code .view-switch + .file-head {
    view-timeline-inset: 0px;
  }

  .ref-bar-commits {
    margin-left: 0;
  }
}

.joined.p-0 > :first-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.last-commit,
.rel-head {
  background-color: var(--stripe);
}

.last-commit > .tree-commit {
  color: var(--fg);
  --link: var(--fg);
}

.last-commit > .tree-commit a {
  font-weight: 500;
}

.up-row .tree-path a {
  letter-spacing: 0.1em;
}

.tree-row,
.side-all,
.last-commit,
.rel-head {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.log-day {
  --date-gutter: 6.5rem;
  display: flow-root;
  padding-left: var(--date-gutter);
}

.log-date {
  position: sticky;
  top: calc(var(--bar-h) + 1.1rem);
  float: left;
  width: var(--date-gutter);
  margin-left: calc(-1 * var(--date-gutter));
  padding: 0.7rem 0 0 calc(0.75rem + 1px);
  font-weight: 600;
}

@media screen and (min-width: 1000px) {
  .action-commits .commit-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 10rem 6.5rem 12rem;
    grid-template-areas: "id summary author time stat";
    column-gap: 1rem;
    align-items: center;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  .action-commits .commit-row > div,
  .action-commits .commit-row .commit-by {
    display: contents;
  }

  .action-commits .commit-row .commit-by > :first-child {
    grid-area: author;
  }

  .action-commits .commit-row .commit-by > :nth-child(2) {
    display: none;
  }

  .action-commits .commit-row .commit-by > :last-child {
    grid-area: time;
  }

  .action-commits .commit-row .commit-stat {
    grid-area: stat;
  }

  .action-commits .commit-row .commit-id {
    grid-area: id;
    text-underline-offset: 0.3em;
  }

  .action-commits .commit-row > .commit-line {
    display: flex;
    grid-area: summary;
    margin-left: -1rem;
  }

  .action-commits .commit-row .commit-summary {
    align-items: baseline;
  }

  .action-commits .commit-row .commit-summary::before {
    content: "\a0\b7\a0";
    font-size: var(--text-xs);
    color: var(--muted);
  }

  .action-commits .commit-row .commit-by::before {
    content: none;
  }
}

.commit-files {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  font-size: var(--text-sm);
}

.commit-files > div {
  padding: 0.25rem 0;
}

.commit-files .diff-stat {
  font-size: var(--text-xs);
}

.diff-head {
  font-size: var(--text-sm);
}

.diff-head + .box {
  color: var(--muted);
  font-size: var(--text-sm);
}

.chroma.joined .line {
  display: flex;
  margin: 0 -0.65rem;
  padding: 0 0.65rem 0 0;
}

.chroma.joined .gd {
  background-color: var(--del);
}

.chroma.joined .gi {
  background-color: var(--ins);
}

.chroma.joined .gu {
  color: var(--muted);
}

.chroma.joined .ln {
  margin: 0;
  padding: 0 0.6em;
  background-color: var(--gutter);
}

.chroma.joined .ln:first-child {
  padding-left: 0.75rem;
}

.chroma.joined .ln + .ln {
  margin-right: 0.75em;
}

.chroma.joined .gd .ln {
  background-color: var(--del-ln);
}

.chroma.joined .gi .ln {
  background-color: var(--ins-ln);
}

.chroma.joined .line:has(.gu),
.chroma.joined .line:has(.gu) .ln {
  background-color: var(--hunk-bg);
}

header.subtitle h2 {
  font-size: var(--text-lg);
}

header.subtitle h2 .count {
  margin-left: 0.25rem;
  font-weight: 400;
  color: var(--muted);
}

.action-branches header.subtitle ~ header.subtitle {
  margin-top: 1.5rem;
}


.branch-sha {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.branch-log {
  flex-shrink: 0;
  width: 6.5rem;
  text-align: right;
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0;
  margin-bottom: 2rem;
  padding-top: 2rem;
}

.topbar:has(> .repo-tabs) {
  margin-bottom: 1rem;
}

.repo-docs {
  display: flex;
  gap: 1rem;
  margin-left: auto;
}

.doc-link {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.doc-link svg {
  align-self: center;
  color: var(--muted);
}

.doc-link:hover,
.tab:hover {
  text-decoration: none;
}

.doc-link[aria-current] {
  font-weight: 600;
  color: var(--fg);
}

.doc-link[aria-current] svg {
  color: var(--fg);
}

.repo-tabs {
  display: flex;
  flex: 1 1 0;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  margin-top: 1rem;
}

.tab {
  display: flex;
  flex-shrink: 0;
  align-items: baseline;
  gap: 0.2rem;
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: -0.01em;
  --link: var(--muted);
}

a.brand,
.tab,
.repo-name a,
.repo-date,
.repo-desc {
  transition:
    color 0.12s,
    font-weight 0.12s;
}

:is(a.brand, .tab):is([aria-current], :hover, :focus-visible) {
  --link: var(--fg);
  font-weight: 800;
}

.tab-label {
  display: inline-flex;
  flex-direction: column;
}

.tab-label::after {
  content: attr(data-label);
  height: 0;
  overflow: hidden;
  visibility: hidden;
  font-weight: 800;
  -webkit-user-select: none;
  user-select: none;
}

.tab-count {
  font-size: var(--text-xs);
  font-weight: 500;
  line-height: 1.15rem;
  letter-spacing: 0;
  color: var(--muted);
}

.rel {
  margin-bottom: 1.5rem;
}

.rel-head .rel-name a {
  font-weight: 600;
}

.rel-sum {
  min-width: 0;
}

.rel-sum-label {
  user-select: none;
}

.rel-size {
  width: 6rem;
  flex-shrink: 0;
  white-space: nowrap;
  text-align: right;
}

.commit-by::before,
.short-id::after,
.commit-title > .commit-id::after {
  content: "\a0\b7\a0";
}

.commit-by {
  margin-left: -0.65rem;
}

a:is(.commit-id, .release-id) {
  display: flex;
  align-items: center;
  --link: var(--muted);
}

:is(.commit-id, .release-id) > svg {
  flex-shrink: 0;
  margin-right: 0.3em;
}

.branch-sha + .tree-commit {
  margin-left: -1.3rem;
}

.branch-row:has(> .tree-commit a:hover) > .tree-commit,
.branch-row:has(> .tree-commit a:hover) .commit-id {
  --link: var(--fg);
  text-decoration: underline var(--fg);
}

.chips {
  display: flex;
  flex: 1 1 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
  height: calc(1.35rem + 2px);
  overflow: hidden;
}

.chips::before {
  content: "";
  height: 100%;
}

.chips > .chip {
  margin-left: 0.65rem;
}

.chips > :last-child {
  view-timeline: --cl block;
}

.commit-row .commit-line .ref-more {
  flex: none;
  margin-left: 0.65rem;
  white-space: nowrap;
}

@supports (animation-timeline: view()) {
  .commit-row .commit-line .ref-more:not(:has(.ref-menu-list > :nth-child(3))) {
    max-width: 0;
    margin-left: 0;
    overflow-x: clip;
    visibility: hidden;
    animation: more-needed linear both;
    animation-timeline: --cl;
  }
}

@keyframes more-needed {
  0% {
    max-width: 10rem;
    margin-left: 0.65rem;
    overflow-x: visible;
    visibility: visible;
  }

  1%,
  100% {
    max-width: 0;
    margin-left: 0;
    overflow-x: clip;
    visibility: hidden;
  }
}

.tree-date,
.rel-size,
.commit-by > :last-child,
.summary-meta-val:has(> :is(.commit-id, .release-id)),
.log-date,
.repo-date,
.commit-meta {
  font-variant-numeric: tabular-nums;
}

.summary-meta-val > .release-id {
  font-variant-numeric: normal;
}

@media only screen and (max-width: 600px) {
  a.brand[aria-current],
  #site_path,
  .tab {
    font-size: var(--text-xl);
  }

  a.brand,
  #site_path::before {
    font-size: var(--text-lg);
  }

  .repo-tabs {
    flex-basis: auto;
  }

  .branch-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 0.15rem 0.65rem;
  }

  .branch-row .branch-sha {
    margin-left: calc(16px + 0.65rem);
  }

  .branch-row .tree-date {
    grid-area: 1 / 2;
    justify-self: end;
  }

  .branch-row .branch-log {
    grid-area: 2 / 2;
  }

  .log-day {
    padding-left: 0;
  }

  .log-date {
    position: static;
    float: none;
    width: auto;
    margin: 0 0 0.5rem;
    padding-top: 0;
  }
}
