/* ---------- Guide ---------- */
.gd-grid {
  margin-top: 14px;
}
.gd-page {
  min-width: 0;
  max-width: 900px;
}
.gd-head h3 {
  margin: 0 0 2px;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.gd-head .help {
  margin: 0;
  max-width: 68ch;
  font-size: 13.5px;
}
.gd-head-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: flex-start;
  justify-content: space-between;
}
.gd-head-row .row {
  margin: 2px 0 0;
}
.gd-steps {
  margin-top: 8px;
}
.gd-step .help {
  margin: 0 0 6px;
}
.gd-do {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
  max-width: 74ch;
}
.gd-do li {
  padding: 2px 0;
}
.gd-do li::marker {
  color: var(--ink-3);
}
.gd-do code,
.gd-errors code,
.gd-back code,
.gd-trap code {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.gd-trap,
.gd-proof {
  margin: 8px 0 0;
  font-size: 13px;
  max-width: 74ch;
}
.gd-trap {
  padding: 6px 10px;
  border-left: 3px solid var(--idle);
  background: var(--warn-tint);
  border-radius: 0 6px 6px 0;
}
.gd-proof {
  color: var(--ink-2);
}
.gd-proof b {
  color: var(--pix-strong);
}
.gd-step .btn {
  margin-top: 10px;
}
.gd-contacts {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  font-size: 13.5px;
}
.gd-contacts li {
  padding: 2px 0;
}
.gd-contacts a {
  font-family: var(--mono);
  font-size: 12.5px;
  margin-right: 6px;
}
.gd-message {
  border: 1px solid var(--rule);
  border-radius: 10px;
  margin: 0 0 12px;
  overflow: hidden;
}
.gd-message-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid var(--rule);
}
.gd-message h4 {
  margin: 0;
  font-size: 13.5px;
}
.gd-message .meta {
  margin: 0;
}
.gd-message pre {
  margin: 0;
  border: 0;
  border-radius: 0;
  white-space: pre-wrap;
}
.gd-errors td:first-child,
.gd-back td:first-child {
  white-space: nowrap;
}
.gd-back td:first-child {
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 600;
}

/* A picture: the frame scrolls sideways on a narrow screen, so its text never shrinks past reading. */
.gd-fig {
  margin: 14px 0 4px;
}
.gd-scroll {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--surface-2);
  padding: 10px;
}
.gd-fig figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--ink-2);
  max-width: 78ch;
}
svg.gd {
  display: block;
  width: 100%;
  min-width: 800px;
  height: auto;
  font-family: var(--ui);
}
.gd text {
  fill: var(--ink);
  font-size: 12.5px;
}
.gd .gd-title {
  font-size: 13.5px;
  font-weight: 600;
}
.gd .gd-big-title {
  font-size: 17px;
}
.gd .gd-group-title {
  font-size: 12.5px;
  font-weight: 600;
  fill: var(--ink-2);
}
.gd .gd-sub {
  fill: var(--ink-2);
  font-size: 11.5px;
}
.gd .gd-mono {
  font-family: var(--mono);
  font-size: 12px;
}
.gd .gd-sub.gd-mono {
  font-size: 11.5px;
}
.gd .gd-pill {
  fill: var(--ink);
}
.gd .gd-label {
  font-weight: 600;
}
.gd .gd-box {
  fill: var(--surface);
  stroke: var(--rule-strong);
}
.gd .gd-you {
  stroke: var(--pix);
  stroke-width: 1.5;
}
.gd .gd-group {
  fill: none;
  stroke: var(--rule-strong);
  stroke-dasharray: 3 5;
}
.gd .gd-book {
  fill: var(--pix-tint);
  stroke: var(--pix);
  stroke-width: 1.5;
}
.gd .gd-book-label {
  fill: var(--pix-strong);
}
.gd .gd-end {
  stroke-dasharray: 4 4;
}
.gd .gd-end-label {
  font-style: italic;
}
.gd .gd-split {
  stroke: var(--rule-strong);
  stroke-dasharray: 6 6;
}
.gd .gd-inner {
  stroke: var(--pix);
  stroke-dasharray: none;
  stroke-opacity: 0.45;
}
.gd .gd-life {
  stroke: var(--rule-strong);
  stroke-dasharray: 2 5;
}
.gd .gd-note {
  fill: var(--pix-tint);
  stroke: var(--pix);
}
.gd .gd-n {
  fill: var(--surface);
  stroke: var(--rule-strong);
  stroke-width: 1.5;
}
.gd .gd-n-text {
  font-size: 11px;
  font-weight: 700;
  fill: var(--ink-2);
}
.gd .gd-line {
  stroke: var(--ink-2);
  stroke-width: 1.5;
}
.gd .gd-head {
  fill: var(--ink-2);
}
.gd .gd-k-reply .gd-line {
  stroke: var(--ink-3);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.gd .gd-k-reply .gd-head {
  fill: var(--ink-3);
}
.gd .gd-k-reply .gd-label {
  font-weight: 400;
  fill: var(--ink-2);
}
.gd .gd-k-iso .gd-line {
  stroke: var(--gen);
}
.gd .gd-k-iso .gd-head,
.gd .gd-k-iso .gd-label,
.gd .gd-iso-text {
  fill: var(--gen);
}
/* The DICT: outside ISO 20022, drawn apart from the messages on the SPI. */
.gd .gd-k-dict .gd-line {
  stroke: var(--warn);
  stroke-dasharray: 2 3;
  stroke-width: 2;
}
.gd .gd-k-dict .gd-head,
.gd .gd-k-dict .gd-label {
  fill: var(--warn);
}
.gd .gd-k-ask .gd-line {
  stroke: var(--idle);
  stroke-width: 3;
}
.gd .gd-k-ask .gd-head {
  fill: var(--idle);
}
.gd .gd-k-ask .gd-label {
  fill: var(--link);
}
.gd .gd-k-event .gd-line {
  stroke: var(--pix);
  stroke-dasharray: 7 4;
}
.gd .gd-k-event .gd-head {
  fill: var(--pix);
}
.gd .gd-k-event .gd-label {
  fill: var(--pix-strong);
}
.gd-legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
}
.gd-legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.gd-swatch {
  width: 28px;
  border-top: 2px solid var(--ink-2);
}
.gd-swatch-reply {
  border-top: 1px dashed var(--ink-3);
}
.gd-swatch-ask {
  border-top: 3px solid var(--idle);
}
.gd-swatch-iso {
  border-top-color: var(--gen);
}
.gd-swatch-dict {
  border-top: 2px dotted var(--warn);
}
.gd-swatch-event {
  border-top: 2px dashed var(--pix);
}
.gd-lead {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  margin: 14px 0 6px;
  font-size: 13.5px;
  max-width: 78ch;
}
.gd-compare td:first-child {
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.gd-compare td {
  width: 40%;
}
.gd-compare td:first-child {
  width: 20%;
}
/* Direct or indirect: its first column is a sentence, not a label. The API Pix: a list of paths, which wraps. */
.gd-differs td:first-child,
.gd-api-pix td:first-child {
  white-space: normal;
}
.gd-code td:first-child {
  white-space: nowrap;
  width: 1%;
  max-width: none;
}
.gd-code .gd-go {
  display: block;
  margin-top: 2px;
}
.src-link code {
  color: inherit;
}
.gd-points {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  max-width: 78ch;
}
.gd-points li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  padding: 6px 0;
  font-size: 13.5px;
}
.gd-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4px 28px;
  margin-top: 4px;
}
.gd-sepa {
  margin-top: 16px !important;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  max-width: 78ch !important;
}
.gd-sepa b {
  color: var(--ink);
}
/* Problems told in "Solve a problem", named from a flow or a step of the setup: one line each, a link and whose it is. */
.gd-problems,
.gd-also {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  max-width: 78ch;
}
.gd-problems li,
.gd-also li {
  padding: 5px 0;
  border-top: 1px solid var(--rule);
  font-size: 13.5px;
  line-height: 1.45;
}
.gd-problems li:first-child,
.gd-also li:first-child {
  border-top: 0;
}
.gd-problems .fix-owner {
  margin-left: 4px;
  vertical-align: 1px;
}
.su-issues + .gd-also {
  margin-top: 8px;
}
.gd-met {
  margin-top: 16px;
}
/* What the sandbox has not shown of a flow: set apart, so nobody takes it for tested. */
.gd-unseen {
  margin: 16px 0 0;
  padding: 10px 14px;
  border-left: 3px solid var(--warn);
  background: var(--warn-tint);
  border-radius: 0 6px 6px 0;
  max-width: 78ch;
}
.gd-page .gd-unseen .sub-h {
  margin: 0 0 4px;
  color: var(--warn);
}
.gd-unseen ul {
  margin: 0;
  padding-left: 18px;
}
.gd-unseen li + li {
  margin-top: 4px;
}
@media (max-width: 820px) {
  .gd-cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Pix, coming from SEPA, and what the sandbox does: tables of prose, not of field names. */
.gd-sepa-map td:first-child,
.gd-facts td:first-child {
  font-family: var(--ui);
  font-size: 13px;
  max-width: none;
}
.gd-sepa-map td:first-child {
  color: var(--ink-2);
}
/* Most of these tables explain in the last column; "Only in Pix" explains in the middle one. */
.gd-sepa-map td:nth-child(1) {
  width: 22%;
}
.gd-sepa-map td:nth-child(2) {
  width: 28%;
}
.gd-sepa-map.gd-prose-mid td:nth-child(2) {
  width: 50%;
}
.gd-sepa-map.gd-prose-mid td:nth-child(3) {
  width: 28%;
}
.gd-facts td.meta {
  white-space: nowrap;
  font-size: 12px;
}
.gd-as-page {
  display: block;
  margin: 12px 10px 0;
  font-size: 12.5px;
}

/* On a phone, a table of prose becomes one block per row; each cell says which column it was. */
@media (max-width: 600px) {
  .gd-page table.gd-sepa-map,
  .gd-page table.gd-compare,
  .gd-page table.gd-facts,
  .gd-page table.gd-errors,
  .gd-page table.gd-back,
  .gd-page table.gd-code {
    display: block;
  }
  .gd-page :is(.gd-sepa-map, .gd-compare, .gd-facts, .gd-errors, .gd-back, .gd-code) :is(tbody, tr, td) {
    display: block;
    width: auto;
    max-width: none;
  }
  .gd-page :is(.gd-sepa-map, .gd-compare, .gd-facts, .gd-errors, .gd-back, .gd-code) thead {
    display: none;
  }
  .gd-page :is(.gd-sepa-map, .gd-compare, .gd-facts, .gd-errors, .gd-back, .gd-code) tr {
    padding: 10px 0;
    border-bottom: 1px solid var(--rule);
  }
  .gd-page :is(.gd-sepa-map, .gd-compare, .gd-facts, .gd-errors, .gd-back, .gd-code) td {
    padding: 2px 0;
    border: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .gd-page :is(.gd-sepa-map, .gd-compare, .gd-facts) td:first-child {
    font-weight: 600;
    color: var(--ink);
  }
  .gd-page td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-top: 4px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink-3);
  }
}

/* The rules: a numbered list, each rule in bold with what happens when it is not kept. */
.gd-rules {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: rule;
  border-top: 1px solid var(--rule);
}
.gd-rules li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  counter-increment: rule;
}
.gd-rules li::before {
  content: counter(rule);
  grid-row: span 2;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--pix);
  font-variant-numeric: tabular-nums;
}
.gd-rule {
  margin: 0 0 2px;
  font-size: 14.5px;
  font-weight: 600;
}
.gd-rules .help {
  margin: 0;
  max-width: 72ch;
}

/* The glossary: the term, then what it is. */
.gd-glossary {
  display: grid;
  gap: 0;
  margin: 12px 0 0;
}
.gd-glossary div {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}
.gd-glossary dt {
  font-weight: 600;
}
.gd-glossary dd {
  margin: 0;
  color: var(--ink-2);
}
.gd-iso td:nth-child(2) code {
  font-size: 12px;
}
.gd-iso td:first-child {
  overflow-wrap: anywhere;
  width: 26%;
}
.gd-iso td:nth-child(2) {
  width: 30%;
}
@media (max-width: 600px) {
  .gd-glossary div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .gd-page table.gd-iso,
  .gd-page .gd-iso :is(tbody, tr, td) {
    display: block;
    width: auto;
    max-width: none;
  }
  .gd-page .gd-iso thead {
    display: none;
  }
  .gd-page .gd-iso tr {
    padding: 10px 0;
    border-bottom: 1px solid var(--rule);
  }
  .gd-page .gd-iso td {
    padding: 2px 0;
    border: 0;
  }
}

/* ---------- the Guide's pages by part, and its search ---------- */
.gd-nav {
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
  gap: 8px;
}
.gd-nav-pages {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gd-nav-part {
  margin: 10px 10px 2px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--pix-strong);
}
.gd-nav-part:first-child {
  margin-top: 0;
}
.gd-find {
  position: sticky;
  top: 0;
  z-index: 1;
  width: 100%;
  font: inherit;
  font-size: 13px;
  padding: 7px 10px;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}
.gd-find:focus-visible {
  outline: 2px solid var(--pix);
  outline-offset: 1px;
}
.gd-results {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  max-width: 78ch;
  border-top: 1px solid var(--rule);
}
.gd-hit {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 10px 6px;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.gd-hit:hover,
.gd-hit:focus-visible {
  background: var(--surface-2);
}
.gd-hit b {
  font-size: 13.5px;
}
.gd-hit small {
  font-size: 11.5px;
  color: var(--ink-3);
}
.gd-snip {
  font-size: 12.5px;
  color: var(--ink-2);
}
.gd-snip mark,
.gdoc-snip mark {
  background: var(--link-tint);
  color: inherit;
  border-radius: 2px;
}
/* A place the guide just led to: marked for a moment, so the eye finds it. */
.gd-flash {
  animation: gd-flash 2.2s ease-out;
  scroll-margin-top: 16px;
}
@keyframes gd-flash {
  0%,
  35% {
    background: var(--link-tint);
    box-shadow: 0 0 0 4px var(--link-tint);
  }
  100% {
    background: transparent;
    box-shadow: 0 0 0 4px transparent;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gd-flash {
    animation: none;
    outline: 2px solid var(--link);
    outline-offset: 4px;
  }
}
[id^='fix-'],
.gd-owner,
.gd-page .sub-h {
  scroll-margin-top: 16px;
}
@media (max-width: 820px) {
  .gd-nav {
    position: static;
    flex-direction: column;
    max-height: none;
    overflow: visible;
  }
  .gd-nav-pages {
    flex-direction: row;
    overflow-x: auto;
    gap: 4px;
    padding-bottom: 4px;
  }
  .gd-nav-part {
    flex: none;
    align-self: center;
    margin: 0 2px 0 8px;
  }
}

/* ---------- Solve a problem ---------- */
.gd-see {
  margin: 6px 0 0 !important;
}
.fix-list {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  max-width: 82ch;
}
.fix {
  padding: 12px 14px 10px;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--rule-strong);
  border-radius: 0 10px 10px 0;
  background: var(--surface);
}
.fix:has(.fix-o-setup),
.fix:has(.fix-o-code) {
  border-left-color: var(--pix);
}
.fix:has(.fix-o-stark) {
  border-left-color: var(--warn);
}
.fix:has(.fix-o-api) {
  border-left-color: var(--prof);
}
.fix-head {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
  justify-content: space-between;
}
.fix-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.fix-title code {
  font-size: 12.5px;
}
.fix-owner {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--surface-2);
  color: var(--ink-2);
}
.fix-owner i {
  font-style: normal;
}
button.fix-owner,
a.fix-owner {
  border: 0;
  font-family: inherit;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
}
button.fix-owner:hover,
a.fix-owner:hover {
  text-decoration: underline;
}
.fix-o-setup,
.fix-o-code {
  background: var(--pix-tint);
  color: var(--pix-strong);
}
.fix-o-design {
  background: var(--gen-tint);
  color: var(--gen);
}
.fix-o-api {
  background: var(--prof-tint);
  color: var(--prof);
}
.fix-o-stark {
  background: var(--warn-tint);
  color: var(--warn);
}
.fix p {
  margin: 6px 0 0;
  font-size: 13.5px;
}
.fix code {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.fix .fix-seen {
  font-size: 12px;
}
.fix-steps {
  margin-top: 6px;
  font-size: 12.5px;
}
.fix-steps summary {
  cursor: pointer;
  color: var(--ink-2);
}
.fix-steps ul {
  margin: 4px 0 0;
  padding-left: 18px;
}
.fix-steps .linkish {
  text-align: left;
}
.gd-traps {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  max-width: 78ch;
  font-size: 13.5px;
}
.gd-traps li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  padding: 4px 0;
}
.gd-trap-key {
  position: relative;
  isolation: isolate;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 11px;
  font-weight: 700;
  color: var(--warn);
}
/* The diamond of the picture, behind the letter. */
.gd-trap-key::before {
  content: '';
  position: absolute;
  inset: 4px;
  z-index: -1;
  transform: rotate(45deg);
  border: 1.5px solid var(--warn);
  border-radius: 2px;
  background: var(--warn-tint);
}
.gd-marks td:first-child {
  width: 1%;
}
.gd-marks td:nth-child(2) {
  white-space: nowrap;
  font-family: var(--ui);
}
.gd-mark-glyph {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--rule-strong);
  font-size: 12px;
  font-weight: 700;
}
.mark-passed {
  background: var(--pix-tint);
  border-color: var(--pix);
  color: var(--pix-strong);
}
.mark-warn {
  background: var(--warn-tint);
  border-color: var(--warn);
  color: var(--warn);
}
.mark-sandbox,
.mark-stark,
.mark-skipped {
  background: var(--surface-2);
  border-color: var(--ink-3);
  color: var(--ink-2);
}
.mark-failed,
.mark-blocked {
  background: var(--err-tint);
  border-color: var(--err);
  color: var(--err);
}
.gd-owner {
  margin-top: 4px;
}
.gd-owner .sub-h {
  display: flex;
  gap: 8px;
  align-items: center;
}
.gd-owner-list {
  margin: 4px 0 0;
  padding-left: 18px;
  font-size: 13px;
  max-width: 82ch;
}
.gd-owner-list li {
  padding: 2px 0;
}
.gd-owner-list .linkish,
.gd-owner-list a {
  text-align: left;
}
.gd-owner-list .meta {
  margin-left: 4px;
  font-size: 11.5px;
}

/* the pictures of Solve a problem */
.gd .gd-trap polygon {
  fill: var(--warn-tint);
  stroke: var(--warn);
  stroke-width: 1.5;
}
.gd .gd-trap text {
  font-size: 11px;
  font-weight: 700;
  fill: var(--warn);
}
.gd .gd-q {
  fill: var(--surface);
}
.gd .gd-start {
  fill: var(--surface-2);
}
.gd .gd-o-you {
  stroke: var(--pix);
  stroke-width: 1.5;
}
.gd .gd-o-sandbox {
  stroke: var(--ink-3);
  stroke-dasharray: 5 4;
  stroke-width: 1.5;
}
.gd .gd-o-stark {
  stroke: var(--warn);
  stroke-width: 1.5;
}
.gd .gd-link {
  cursor: pointer;
  outline: none;
}
.gd .gd-link:hover rect,
.gd .gd-link:focus-visible rect {
  fill: var(--surface-2);
  stroke-width: 2.5;
}
.gd .gd-tick {
  stroke: var(--rule-strong);
}
.gd .gd-made {
  fill: var(--ink-2);
}
.gd .gd-mark {
  fill: var(--pix);
}
.gd .gd-pill-box {
  fill: var(--pix-tint);
  stroke: var(--pix);
}
.gd .gd-pill-box.gd-end {
  fill: var(--surface);
  stroke: var(--ink-3);
}
.gd .gd-window {
  fill: var(--pix-tint);
  opacity: 0.55;
}
.gd .gd-window-label {
  fill: var(--pix-strong);
}
.gd .gd-wait {
  fill: var(--link-tint);
  stroke: var(--link);
}
.gd .gd-zone-ok {
  fill: var(--pix-tint);
  opacity: 0.6;
}
.gd .gd-zone-late {
  fill: var(--err-tint);
  opacity: 0.6;
}
.gd .gd-zone-ok-label,
.gd .gd-ok-text {
  fill: var(--pix-strong);
}
.gd .gd-zone-late-label,
.gd .gd-late-text {
  fill: var(--err);
}
.gd .gd-wait-line {
  stroke: var(--ink-3);
  stroke-width: 1.5;
  stroke-dasharray: 2 4;
}
.gd .gd-dot-ok {
  fill: var(--pix);
}
.gd .gd-dot-late {
  fill: var(--err);
}
.gd .gd-sink {
  stroke-dasharray: 5 4;
}
.gd .gd-sink-label {
  fill: var(--pix-strong);
}
.gd .gd-loop {
  fill: none;
}

/* A chapter already opened, in the Guide's list: a check after its title, as on the path of the Overview. */
.gd-nav .fl-nav.is-read b::after {
  content: '\2713';
  margin-left: 6px;
  color: var(--pix);
  font-weight: 700;
}
/* At the end of a chapter: the one before and the next, so the Guide reads in order. */
.gd-turns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 4px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.gd-turn {
  display: grid;
  gap: 2px;
  padding: 11px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.gd-turn:hover {
  border-color: var(--accent);
}
.gd-turn small {
  color: var(--ink-3);
  font-size: 12px;
}
.gd-turn b {
  font-size: 14px;
  font-weight: 600;
}
.gd-turn-next {
  text-align: right;
  border-color: var(--accent);
  background: color-mix(in srgb, var(--nav-sel) 45%, var(--surface));
}
.gd-turn-next b {
  color: var(--accent);
}
/* How Stark's API works: a point may hold the table of its calls, under its text. */
.gd-api li > .guide {
  grid-column: 2;
  margin-top: 10px;
}
@media (max-width: 560px) {
  .gd-turns {
    grid-template-columns: 1fr;
  }
  .gd-turn-next {
    text-align: left;
  }
}
