/* Vaste plaatmaat houdt de tekst en de knoppen op hun plaats tijdens het tekenen. */
figure.vakbeeld {
  display: block;
  position: relative;
  isolation: isolate;
  margin: 0;
  width: 100%;
  min-width: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  color: #edeee8;
  background: #101b24;
  border: 1px solid #41535b;
  border-radius: 9px;
}
.vakbeeld > .vb-plaat {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.vakbeeld .vb-plaat text {
  fill: #eff3ed;
  font-family: Instrument, "Instrument Sans", system-ui, sans-serif;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
  font-variant-numeric: tabular-nums;
}
.vakbeeld .vb-plaat .vb-heading { font-size: 25px; font-weight: 600; }
.vakbeeld .vb-plaat .vb-minor { fill: #c5d2d0; font-size: 19px; }
.vakbeeld .vb-plaat .vb-sub { fill: #d6e5de; font-size: 19px; font-weight: 500; }
.vakbeeld .vb-plaat .vb-number { font-size: 25px; font-weight: 600; }
.vakbeeld .vb-plaat .vb-measure { fill: #c8f8ef; font-size: 29px; font-weight: 600; }
.vakbeeld .vb-plaat .vb-total { fill: #c6eee7; font-size: 33px; font-weight: 600; }
.vakbeeld .vb-plaat .vb-dialog { font-size: 22px; }
.vakbeeld > figcaption {
  margin: 0;
  padding: 1em;
  color: #e8efe9;
  background: #11202a;
}
.vakbeeld > .vb-plaat ~ figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.vakbeeld > .vb-herhaal {
  position: absolute;
  z-index: 1;
  right: clamp(7px, 2%, 12px);
  top: clamp(7px, 2%, 12px);
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 35px;
  height: 35px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #769199;
  border-radius: 50%;
  color: #deede8;
  background: #12222bee;
  cursor: pointer;
}
.vakbeeld > .vb-herhaal:hover { color: white; background: #28404d; }
.vakbeeld > .vb-herhaal:focus-visible { outline: 3px solid #dbfef1; outline-offset: 2px; }
.vakbeeld > .vb-herhaal[hidden], html[data-beweging="uit"] .vakbeeld > .vb-herhaal { display: none; }
@media (prefers-reduced-motion: reduce) { .vakbeeld > .vb-herhaal { display: none; } }
/* Synthetisch vogelvluchtbeeld van een fictieve bedrijfsloods, in dezelfde coördinaten als de meetlijn. */
figure.vakbeeld[data-vakbeeld="dak"] { background: #19272c url("./vakbeeld-dak.webp") center / 100% 100% no-repeat; }
