/* Folding field notes: the caption doubles as the text alternative to the drawing. */
figure.mv-plate {
  --mv-ink: #2d2434;
  --mv-green: #255b53;
  --mv-stock: #f7eedd;
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: clamp(15px, 2vw, 26px);
  color: var(--mv-ink);
  text-align: left;
  border: 1px solid #514252;
  border-top: 5px solid var(--tint, #acdfcf);
  background: var(--mv-stock);
}
figure.mv-plate h2 {
  margin: 0 0 12px;
  color: var(--mv-ink);
  font: 760 clamp(21px, 2.35vw, 34px)/1.06 Turbo, sans-serif;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.mv-plate .mv-diagram {
  display: block;
  width: 100%;
  height: auto;
  border-block: 1px solid #759189;
  color: var(--mv-ink);
  background-color: #e4eee2;
  background-image:
    linear-gradient(#4d80701c 1px, transparent 1px),
    linear-gradient(90deg, #4d80701c 1px, transparent 1px);
  background-size: 13px 13px;
}
.mv-diagram :is(path, circle, rect) {
  stroke: var(--mv-ink);
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mv-diagram .mv-line, .mv-diagram .mv-ground {fill: none}
.mv-diagram .mv-ground {stroke: #70867b}
.mv-diagram .mv-accent {fill: var(--tint, #9ce2ce)}
.mv-diagram .mv-cream {fill: #fff7df}
.mv-diagram .mv-shadow {fill: #59495a}
.mv-diagram .mv-ghost {fill: #bfd0c5; stroke: #637d73}
.mv-diagram .mv-flight {fill: none; stroke: var(--mv-green); stroke-width: 3}
.mv-diagram .mv-dash {fill: none; stroke: #637e75; stroke-dasharray: 4 5}
.mv-diagram .mv-glint {fill: none; stroke: #f8efda}
.mv-diagram .mv-road {fill: #b3b9b0; stroke: #72766d}
.mv-diagram .mv-verge {fill: #c1dbbc; stroke: #748773}
.mv-diagram .mv-target {fill: #fff4d5; stroke: var(--mv-green); stroke-dasharray: 4 4}
.mv-diagram .mv-star {fill: #f5c766}
.mv-diagram .mv-label {font: 760 16px Signal, sans-serif; fill: var(--mv-ink)}
.mv-diagram .mv-key {font: 800 30px ui-monospace, monospace; fill: var(--mv-ink)}
figure.mv-plate figcaption {
  position: static;
  padding: 0;
  margin: 10px 0 0;
  color: #493d47;
  background: transparent;
  font: 540 clamp(14px, 1.1vw, 16px)/1.4 Signal, sans-serif;
}
