/* NixOS brand palette, OKLCH, from NixOS/branding
   package-sets/top-level/nixos-branding/nixos-color-palette/colors.toml.
   Primer keeps its neutrals; these replace its hues. Primer's dark theme
   rule has three attribute selectors, so these need the extra `html` to win;
   the dark block must stay after the light one. */
html[data-color-mode][data-light-theme][data-dark-theme] {
  --fgColor-accent: oklch(0.45 0.09 264);
  --bgColor-accent-emphasis: oklch(0.55 0.12 264);
  --bgColor-accent-muted: oklch(0.95 0.02 264);
  --borderColor-accent-emphasis: oklch(0.55 0.12 264);
  --borderColor-accent-muted: oklch(0.85 0.07 264);
  --fgColor-success: oklch(0.45 0.09 152);
  --bgColor-success-emphasis: oklch(0.55 0.11 152);
  --borderColor-success-emphasis: oklch(0.55 0.11 152);
  --fgColor-attention: oklch(0.45 0.09 90);
  --bgColor-attention-muted: oklch(0.95 0.03 90);
  --borderColor-attention-emphasis: oklch(0.55 0.11 90);
  --fgColor-danger: oklch(0.45 0.09 16);
  --borderColor-danger-emphasis: oklch(0.55 0.11 16);
  --fgColor-done: oklch(0.45 0.09 288);
  --underlineNav-borderColor-active: oklch(0.75 0.12 240);
  --header-bgColor: oklch(0.35 0.07 264);
  --button-primary-bgColor-rest: oklch(0.55 0.12 264);
  --button-primary-bgColor-hover: oklch(0.5 0.12 264);
  --button-primary-bgColor-active: oklch(0.45 0.09 264);
  /* at least 3:1 on white */
  --focus-outlineColor: oklch(0.5 0.12 264);
  --fontStack-monospace:
    ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "DejaVu Sans Mono", "Liberation Mono", "Noto Sans Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  html[data-color-mode][data-light-theme][data-dark-theme] {
    --fgColor-accent: oklch(0.75 0.12 240);
    --bgColor-accent-muted: oklch(0.55 0.12 264 / 0.2);
    --borderColor-accent-muted: oklch(0.75 0.12 240 / 0.4);
    --fgColor-success: oklch(0.75 0.12 152);
    --fgColor-attention: oklch(0.75 0.12 90);
    --bgColor-attention-muted: oklch(0.75 0.12 90 / 0.15);
    --fgColor-danger: oklch(0.75 0.12 16);
    --fgColor-done: oklch(0.75 0.12 288);
    --header-bgColor: oklch(0.25 0.05 264);
    --focus-outlineColor: oklch(0.75 0.12 240);
  }
}

/* @primer/css 22 ships tokens, utilities, Header, btn and Counter, but no
   longer Box, Label, Subhead or flash. These rebuild the few we
   use on Primer's own tokens, so both color modes follow. */
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica,
    Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
.octicon {
  vertical-align: text-bottom;
}
a {
  color: var(--fgColor-accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.Link--primary {
  color: var(--fgColor-default) !important;
}
.Link--primary:hover {
  color: var(--fgColor-accent) !important;
}
.Header-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #fff;
  font-weight: 600;
}

.site-header {
  gap: 8px 16px;
  padding: 8px 16px;
  flex-wrap: wrap;
}
.site-brand {
  gap: 8px;
  min-width: 32px;
  justify-content: center;
  font-size: 16px;
  white-space: nowrap;
}
.site-beta {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: -8px;
  padding: 0 6px;
  font-size: 12px;
  color: oklch(0.85 0.1 85);
  border: 1px solid currentColor;
  border-radius: 999px;
}
.site-beta:hover {
  text-decoration: none;
  color: #fff;
}
.site-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 6px;
  color: oklch(0.85 0.02 264);
  white-space: nowrap;
}
.site-tab:hover {
  text-decoration: none;
  color: #fff;
  background: oklch(1 0 0 / 0.08);
}
.site-tab[aria-current] {
  color: #fff;
  font-weight: 600;
  background: oklch(1 0 0 / 0.12);
}
.site-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 240px;
  max-width: 480px;
  margin-left: auto;
}
.site-search > .octicon {
  position: absolute;
  left: 8px;
  color: oklch(0.8 0.02 264);
  pointer-events: none;
}
.site-q {
  width: 100%;
  min-height: 32px;
  padding: 4px 32px 4px 30px;
  font: inherit;
  color: #fff;
  background: oklch(1 0 0 / 0.08);
  border: 1px solid oklch(1 0 0 / 0.2);
  border-radius: 6px;
}
.site-q::placeholder {
  color: oklch(0.8 0.02 264);
}
.site-q:focus {
  background: oklch(1 0 0 / 0.14);
  outline: 2px solid var(--focus-outlineColor);
  outline-offset: -1px;
}
.site-kbd {
  position: absolute;
  right: 8px;
  padding: 0 5px;
  font-size: 11px;
  line-height: 16px;
  color: oklch(0.8 0.02 264);
  border: 1px solid oklch(1 0 0 / 0.3);
  border-radius: 4px;
  pointer-events: none;
}
.site-q:focus + .site-kbd {
  display: none;
}
.site-search-link {
  display: none;
  min-width: 32px;
  justify-content: center;
}
.search-inline {
  position: relative;
  display: none;
}
.site-menu {
  display: flex;
  align-items: center;
}
/* Below 1012px the tabs drop their icons; on a phone they take a second
   row and the search box becomes an icon that opens /search. */
@media (max-width: 1011px) {
  .site-tab .octicon {
    display: none;
  }
}
@media (max-width: 767px) {
  .site-header {
    padding: 8px 12px 4px;
  }
  .site-search {
    display: none;
  }
  .site-search-link {
    display: inline-flex;
    margin-left: auto;
  }
  .site-nav {
    order: 10;
    flex-basis: 100%;
    margin: 0 -4px;
    overflow-x: auto;
  }
  .search-inline {
    display: flex;
  }
}
@media (max-width: 420px) {
  .site-name {
    display: none;
  }
  .site-beta {
    margin-left: -12px;
  }
}

.Subhead {
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--borderColor-muted);
}
.Subhead-heading {
  font-size: 24px;
  font-weight: 400;
  margin: 0;
}
.Subhead-description {
  color: var(--fgColor-muted);
}

.Box {
  border: 1px solid var(--borderColor-default);
  border-radius: 6px;
  background: var(--bgColor-default);
}
.Box-header,
.Box-footer {
  padding: 12px 16px;
  background: var(--bgColor-muted);
}
.Box-header {
  border-bottom: 1px solid var(--borderColor-default);
  border-radius: 6px 6px 0 0;
}
.Box-footer {
  border-top: 1px solid var(--borderColor-default);
}
.Box-row {
  padding: 12px 16px;
  border-top: 1px solid var(--borderColor-muted);
}
.Box-header + .Box-row,
.Box > .Box-row:first-child {
  border-top: 0;
}
.Box-body {
  padding: 16px;
}
.Box-row:hover {
  background: var(--bgColor-muted);
}

.Label {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 7px;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  border: 1px solid var(--borderColor-default);
  border-radius: 2em;
  color: var(--fgColor-muted);
  vertical-align: middle;
}
.Label--accent {
  color: var(--fgColor-accent);
  border-color: var(--borderColor-accent-emphasis);
}
.Label--success {
  color: var(--fgColor-success);
  border-color: var(--borderColor-success-emphasis);
}
.Label--attention {
  color: var(--fgColor-attention);
  border-color: var(--borderColor-attention-emphasis);
}
.Label--danger {
  color: var(--fgColor-danger);
  border-color: var(--borderColor-danger-emphasis);
}

.flash {
  padding: 16px;
  border: 1px solid var(--borderColor-attention-emphasis);
  border-radius: 6px;
  background: var(--bgColor-attention-muted);
  overflow-wrap: anywhere;
}
.blankslate {
  padding: 32px;
  text-align: center;
  color: var(--fgColor-muted);
}
.SegmentedControl-item.selected {
  background: var(--bgColor-accent-muted);
  border-color: var(--borderColor-accent-emphasis);
}
.branch-name {
  padding: 0 6px;
  font-family: var(--fontStack-monospace);
  font-size: 12px;
  color: var(--fgColor-accent);
  background: var(--bgColor-accent-muted);
  border-radius: 6px;
}
/* Prose stays narrow to read well; a table may use the full width and
   scrolls inside its own border when it is wider. */
.markdown-body > :not(table) {
  max-width: 860px;
}
.markdown-body table {
  border-collapse: collapse;
  margin: 16px 0;
  display: block;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--borderColor-default);
  border-radius: 6px;
}
.markdown-body tr > :first-child {
  border-left: 0;
}
.markdown-body tr > :last-child {
  border-right: 0;
}
.markdown-body thead tr:first-child > *,
.markdown-body tbody:first-child tr:first-child > * {
  border-top: 0;
}
.markdown-body tbody tr:last-child > * {
  border-bottom: 0;
}
.markdown-body .numbers td {
  white-space: nowrap;
}
.markdown-body details {
  margin-bottom: 16px;
}
.markdown-body summary {
  cursor: pointer;
}
.Header :focus-visible {
  outline-color: oklch(0.75 0.12 240);
}
.markdown-body th,
.markdown-body td {
  border: 1px solid var(--borderColor-default);
  padding: 6px 13px;
}
.markdown-body code {
  background: var(--bgColor-neutral-muted);
  padding: 0.2em 0.4em;
  border-radius: 6px;
  font-size: 85%;
}
.markdown-body pre {
  background: var(--bgColor-muted);
  padding: 16px;
  border-radius: 6px;
  overflow-x: auto;
}
.markdown-body pre code {
  background: none;
  padding: 0;
}
.diff {
  margin: 0;
  padding: 8px 0;
  overflow-x: auto;
  font-family: var(--fontStack-monospace);
  font-size: 12px;
  line-height: 20px;
}
.diff span {
  display: block;
  min-width: max-content;
  padding: 0 16px;
  white-space: pre;
}
.diff .diff-add {
  background: var(--bgColor-success-muted);
}
.diff .diff-del {
  background: var(--bgColor-danger-muted);
}
.diff .diff-hunk {
  color: var(--fgColor-muted);
  background: var(--bgColor-accent-muted);
}
.diff .diff-note {
  color: var(--fgColor-muted);
}
.markdown-body h2 {
  margin-top: 32px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--borderColor-muted);
}

.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.page-head-main {
  flex: 1 1 320px;
  min-width: 0;
}
.page-actions,
.subnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
section.Box > .Box-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}
.Box-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.kv {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.kv-label {
  min-width: 140px;
  font-weight: 600;
}
.callout {
  padding: 16px;
  border: 1px solid var(--borderColor-default);
  border-radius: 6px;
  background: var(--bgColor-muted);
}
.gap-1 {
  gap: 4px;
}
.set-ref {
  min-width: 0;
  overflow-wrap: anywhere;
}
.upload-step code {
  overflow-wrap: anywhere;
}
.Label.tap-label {
  line-height: 22px;
}
.gap-2 {
  gap: 8px;
}
.gap-3 {
  gap: 16px;
}
.gap-4 {
  gap: 24px;
}
.inline-form {
  display: flex;
  gap: 8px;
  max-width: 560px;
}
.pre-wrap {
  white-space: pre-wrap;
}
.input-narrow {
  max-width: 140px;
}
/* the label is part of the tap target of its checkbox */
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  vertical-align: middle;
}
label:has(> input[type="checkbox"]) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  font-weight: 400;
  cursor: pointer;
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}

/* a row of /me/settings: the label beside its controls, above them on a phone */
.setting {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}
.setting-label {
  flex: 0 0 160px;
  margin: 0;
  font-size: 14px;
}
.setting-body {
  flex: 1 1 360px;
  min-width: 0;
}
.setting-body > :last-child {
  margin-bottom: 0;
}
.fold > summary {
  padding: 4px 0;
  font-size: 12px;
  color: var(--fgColor-muted);
  cursor: pointer;
}

.menu {
  position: relative;
}
.menu > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  list-style: none;
}
.menu > summary::-webkit-details-marker {
  display: none;
}
.menu-login {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.menu-list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 10;
  min-width: 180px;
  padding: 4px 0;
  background: var(--overlay-bgColor, var(--bgColor-default));
  border: 1px solid var(--borderColor-default);
  border-radius: 6px;
  box-shadow: var(--shadow-floating-small);
}
.menu-list a,
.menu-list button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 6px 16px;
  color: var(--fgColor-default);
  background: none;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.menu-list a:hover,
.menu-list button:hover {
  background: var(--bgColor-muted);
  text-decoration: none;
}
.menu-list a[aria-current] {
  font-weight: 600;
  box-shadow: inset 2px 0 0
    var(--underlineNav-borderColor-active, var(--fgColor-accent));
  background: var(--bgColor-muted);
}
.menu-sep {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--borderColor-muted);
}

.text-nowrap {
  white-space: nowrap;
}
.Subhead-heading {
  overflow-wrap: anywhere;
}
@media (max-width: 543px) {
  .Subhead-heading {
    font-size: 20px;
  }
  .page-actions {
    width: 100%;
  }
  .page-actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }
}
.col-grow {
  flex: 1 1 280px !important;
  min-width: 0;
}
/* Primer's clearfix on .subnav becomes a flex item and shifts the first
   row by one gap. */
.subnav::before,
.subnav::after {
  display: none;
}
.needs-item:focus,
.key-sel {
  outline: 2px solid var(--focus-outlineColor);
  outline-offset: -2px;
  background: var(--bgColor-accent-muted);
}
.needs-keys kbd,
.keys-hint kbd,
.keys-help kbd {
  display: inline-block;
  padding: 0 4px;
  font: 11px var(--fontStack-monospace);
  line-height: 16px;
  border: 1px solid var(--borderColor-default);
  border-radius: 4px;
}
/* Keys need a keyboard: a phone shows no hint. */
@media (max-width: 543px) {
  .needs-keys,
  .keys-hint {
    display: none;
  }
}

.decide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  border-top: 1px solid var(--borderColor-muted);
}
.decide-block {
  min-width: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--borderColor-muted);
  overflow-wrap: anywhere;
}
.decide-wide {
  grid-column: 1 / -1;
  border-bottom: 0;
}
.decide-title {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fgColor-muted);
}
.decide-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.decide-list li + li {
  margin-top: 2px;
}
.decide-label {
  font-weight: 600;
  margin-right: 4px;
}
.decide-list summary {
  padding: 4px 0;
  cursor: pointer;
}

/* side-by-side blocks wrap on a phone instead of squeezing: a table
   block wants 280px, a number card 140px; min-width 0 then lets a
   table scroll inside its own box; Primer utilities are !important */
.d-flex.flex-wrap > .flex-1 {
  flex: 1 1 280px !important;
  min-width: 0;
}
.d-flex.flex-wrap > .Box.flex-1 {
  flex-basis: 140px !important;
}
.color-fg-attention {
  overflow-wrap: anywhere;
}
.build-strip {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  vertical-align: middle;
  max-width: 100%;
}
.build-cell {
  display: inline-block;
  width: 6px;
  height: 16px;
  border-radius: 1px;
}
.build-ok {
  background: var(--bgColor-success-emphasis);
}
.build-bad {
  background: var(--borderColor-danger-emphasis);
}
.build-skip {
  background: var(--bgColor-neutral-muted);
  box-shadow: inset 0 0 0 1px var(--borderColor-default);
}
.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 100;
  padding: 8px 12px;
  color: var(--fgColor-default);
  background: var(--bgColor-default);
  border: 2px solid var(--focus-outlineColor);
  border-radius: 6px;
}
.skip-link:focus {
  top: 8px;
}
main:focus {
  outline: none;
}
.keys-help {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 64px);
  padding: 16px 24px;
  color: var(--fgColor-default);
  background: var(--overlay-bgColor, var(--bgColor-default));
  border: 1px solid var(--borderColor-default);
  border-radius: 12px;
  box-shadow: var(--shadow-floating-large, var(--shadow-floating-small));
}
.keys-help::backdrop {
  background: oklch(0 0 0 / 0.4);
}
.keys-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.keys-help h2 {
  margin: 0;
  font-size: 16px;
}
.keys-help h3 {
  margin: 16px 0 4px;
  font-size: 12px;
  color: var(--fgColor-muted);
  text-transform: uppercase;
}
.keys-help dl {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 4px 16px;
  margin: 0;
}
.keys-help dd {
  margin: 0;
}
.suggest {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: var(--overlay-bgColor, var(--bgColor-default));
  border: 1px solid var(--borderColor-default);
  border-radius: 6px;
  box-shadow: var(--shadow-floating-small);
}
.suggest a {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 6px 12px;
  color: var(--fgColor-default);
  font-weight: 400;
}
.suggest a:hover,
.suggest [aria-selected="true"] a {
  text-decoration: none;
  background: var(--bgColor-accent-muted);
}
.suggest-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.suggest-kind {
  flex: none;
  font-size: 12px;
  color: var(--fgColor-muted);
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.filter-bar input[type="search"] {
  flex: 1 1 180px;
  max-width: 260px;
}
.filter-more > summary,
.review-check > summary {
  cursor: pointer;
  line-height: 24px;
}
.filter-more > summary {
  color: var(--fgColor-accent);
}
.filter-more[open] {
  flex-basis: 100%;
}
@media (max-width: 543px) {
  .filter-bar input[type="search"],
  .filter-bar select {
    flex: 1 1 140px;
    max-width: none;
  }
}

/* charts (src/chart.rs): colours from the validated dataviz palette; the
   ordered ramp gets darker with age on light and lighter on dark */
.charts {
  --chart-1: #2a78d6;
  --chart-2: #eb6834;
  --chart-3: #1baf7a;
  --chart-4: #eda100;
  --chart-up: #e34948;
  --chart-o1: #86b6ef;
  --chart-o2: #5598e7;
  --chart-o3: #2a78d6;
  --chart-o4: #1c5cab;
  --chart-o5: #104281;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
@media (prefers-color-scheme: dark) {
  .charts {
    --chart-1: #3987e5;
    --chart-2: #d95926;
    --chart-3: #199e70;
    --chart-4: #c98500;
    --chart-up: #e66767;
    --chart-o1: #184f95;
    --chart-o2: #256abf;
    --chart-o3: #3987e5;
    --chart-o4: #6da7ec;
    --chart-o5: #9ec5f4;
  }
}
.chart {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--borderColor-default);
  border-radius: 6px;
  background: var(--bgColor-default);
}
.chart-wide {
  grid-column: 1 / -1;
}
.chart-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.chart-note {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--fgColor-muted);
}
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  margin: 8px 0 4px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--fgColor-muted);
}
.chart-legend b {
  color: var(--fgColor-default);
  font-weight: 600;
}
.key {
  display: inline-block;
  margin-right: 4px;
  vertical-align: middle;
}
.key-line {
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: var(--k);
}
.key-box {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--k);
}
.key-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--k);
}
.c1 {
  --k: var(--chart-1);
}
.c2 {
  --k: var(--chart-2);
}
.c3 {
  --k: var(--chart-3);
}
.c4 {
  --k: var(--chart-4);
}
.up {
  --k: var(--chart-up);
}
.down {
  --k: var(--chart-1);
}
.o1 {
  --k: var(--chart-o1);
}
.o2 {
  --k: var(--chart-o2);
}
.o3 {
  --k: var(--chart-o3);
}
.o4 {
  --k: var(--chart-o4);
}
.o5 {
  --k: var(--chart-o5);
}
.chart-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.chart-svg .line {
  fill: none;
  stroke: var(--k);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.chart-svg .wash {
  fill: var(--k);
  fill-opacity: 0.1;
}
.chart-svg .stack,
.chart-svg .bar {
  fill: var(--k);
}
.chart-svg .end {
  fill: var(--k);
  stroke: var(--bgColor-default);
  stroke-width: 2;
}
.chart-svg .chart-sep {
  fill: none;
  stroke: var(--bgColor-default);
  stroke-width: 1.5;
}
.chart-grid {
  stroke: var(--borderColor-muted);
  stroke-width: 1;
}
.chart-base {
  stroke: var(--borderColor-default);
  stroke-width: 1;
}
.chart-tick {
  fill: var(--fgColor-muted);
  paint-order: stroke;
  stroke: var(--bgColor-default);
  stroke-width: 3px;
  stroke-linejoin: round;
}
.chart-gap {
  fill: var(--bgColor-muted);
}
.chart-gap-label {
  fill: var(--fgColor-muted);
  font-size: 11px;
}
.chart-hit rect {
  fill: transparent;
}
.chart-hit rect:hover {
  fill: var(--fgColor-default);
  fill-opacity: 0.06;
}
.chart-table summary {
  padding: 4px 0;
  font-size: 12px;
  color: var(--fgColor-muted);
  cursor: pointer;
}
.chart-table .markdown-body {
  max-height: 320px;
  overflow: auto;
}
.chart-table table {
  margin-bottom: 0;
}
.dots {
  margin: 8px 0;
  padding: 0;
  list-style: none;
}
.dots-row {
  display: grid;
  grid-template-columns: minmax(0, 14em) minmax(0, 1fr) 9.5em;
  gap: 2px 16px;
  align-items: center;
  padding: 3px 0;
  font-size: 12px;
}
.dots-track {
  position: relative;
  height: 14px;
  margin: 0 6px;
  background:
    linear-gradient(var(--borderColor-muted), var(--borderColor-muted)) center /
      100% 1px no-repeat,
    linear-gradient(var(--borderColor-muted), var(--borderColor-muted)) center /
      1px 100% no-repeat;
}
.dots-scale {
  background: none;
}
.dots-scale span {
  position: absolute;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--fgColor-muted);
}
.dot {
  position: absolute;
  top: 2px;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--k);
  box-shadow: 0 0 0 2px var(--bgColor-default);
}
.dots-value {
  color: var(--fgColor-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hbars-box {
  overflow-x: auto;
}
.hbars {
  width: 100%;
  margin-top: 8px;
  border-collapse: collapse;
  font-size: 12px;
}
.hbars th,
.hbars td {
  padding: 4px 8px 4px 0;
  text-align: left;
  font-weight: 400;
  white-space: nowrap;
}
.hbars thead th {
  color: var(--fgColor-muted);
  border-bottom: 1px solid var(--borderColor-muted);
}
.hbars .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.hbar-col {
  width: 40%;
  min-width: 80px;
}
.hbar {
  display: block;
  height: 10px;
  border-radius: 0 2px 2px 0;
  background: var(--k);
}
@media (max-width: 543px) {
  .chart {
    padding: 10px 8px;
  }
  .dots-row {
    grid-template-columns: minmax(0, 1fr) 9.5em;
  }
  .dots-label {
    grid-column: 1 / -1;
  }
}
.range-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-bottom: 12px;
  font-size: 12px;
}
.range-nav a[aria-current] {
  color: var(--fgColor-default);
  font-weight: 600;
}
.hbar-fill {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hbar-fill .hbar {
  flex: none;
}
.hbar-tip {
  font-variant-numeric: tabular-nums;
}
.range-nav a {
  display: inline-block;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid var(--borderColor-default);
  border-radius: 6px;
}
.range-nav a[aria-current] {
  background: var(--bgColor-accent-muted);
  border-color: var(--borderColor-accent-muted);
}

.site-logo {
  flex: none;
}

/* the share of the failures fixed since the campaign started (src/zhf.rs) */
.zhf-bar {
  display: block;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  background: var(--bgColor-neutral-muted);
}
.zhf-bar-fill {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: var(--bgColor-success-emphasis);
}
