/* Gemeinsame Grundlage für Musterbuch und App: Farben, Schrift, Bausteine der Bauteile */
:root {
  --bg: #12100d;
  --bg2: #0d0b09;
  --panel: #1a1713;
  --panel2: #211d18;
  --ink: #efe6d8;
  --ink2: #d9cfbf;
  --muted: #9a907f;
  --faint: #5d564b;
  --line: #2a251f;
  --line2: #362f27;
  --accent: #e0b25a;
  --accent2: #f0cf8a;
  --good: #8fbf7a;
  --bad: #d0705c;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --r: 14px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px / 1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.prov {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  font: 10.5px / 1.6 var(--mono);
  letter-spacing: 0.02em;
  border: 1px solid var(--line2);
  color: var(--muted);
  white-space: nowrap;
}
.prov.exakt {
  color: #b9d3a8;
  border-color: #3a4a32;
}
.prov.abgeleitet {
  color: var(--accent2);
  border-color: #4d3f25;
}
.prov.geschaetzt {
  color: #c9b0d8;
  border-color: #44364f;
  font-style: italic;
}
.prov.fehlend {
  color: var(--muted);
  border-style: dashed;
}

/* Gemeinsame Bausteine für Bauteile */
.cv {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  overflow: hidden;
  vertical-align: middle;
}
.cv img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cv i {
  font: 500 11px var(--mono);
  font-style: normal;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}
.k {
  font: 500 10.5px / 1.4 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.serif {
  font-family: var(--serif);
  font-weight: 400;
}
.mono {
  font-family: var(--mono);
}
.muted {
  color: var(--muted);
}
.fill {
  position: absolute;
  inset: 0;
}
.pad {
  padding: 16px 18px;
}
[hidden] {
  display: none !important;
}

/* Leerer Zustand einer Ansicht */
.nodata {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 6px;
  padding: 20px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.nodata b {
  font: 400 21px / 1.15 var(--serif);
  color: var(--ink2);
}
.nodata span {
  max-width: 36ch;
  justify-self: center;
}

/* Hinweis: Export liegt mehr als eine Woche zurück */
.stale {
  margin: 0;
  font: 11px / 1.4 var(--mono);
  color: var(--muted);
}
