/* Entwurfswerkzeuge: Konzept-Ansicht (Schichten), Panel und Hinweis-Meldung.
   Eigene Farben: Grün = kuratiert (Redaktion), Gelb = KI (automatisch, persönlich). */
:root {
  --ent-kuratiert: #1F6F5C;
  --ent-ki: #E29A0B;
  --ent-schrift: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.ent-ebene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2147483000;
}

.ent-box {
  position: absolute;
  border: 3px solid var(--c);
  border-radius: 10px;
  background: color-mix(in srgb, var(--c) 9%, transparent);
  box-sizing: border-box;
}
.ent-box span {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--c);
  color: #fff;
  font: 600 12px/1.2 var(--ent-schrift);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.ent-kuratiert { --c: var(--ent-kuratiert); }
.ent-ki { --c: var(--ent-ki); }
.ent-ki span { color: #241800; }

.ent-panel {
  position: fixed;
  z-index: 2147483001;
  display: grid;
  gap: 10px;
  justify-items: end;
  max-width: min(320px, calc(100vw - 32px));
  font-family: var(--ent-schrift);
}
.ent-panel[data-position='unten-rechts'] { right: 16px; bottom: 16px; }
.ent-panel[data-position='unten-links'] { left: 16px; bottom: 16px; justify-items: start; }
.ent-panel[data-position='oben-rechts'] { right: 16px; top: 76px; }
.ent-panel[data-position='mitte-rechts'] { right: 16px; bottom: 112px; }

.ent-knopf {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 999px;
  background: #fff;
  color: #16181a;
  font: 600 15px/1 var(--ent-schrift);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
  cursor: pointer;
}
.ent-knopf:focus-visible { outline: 3px solid #16181a; outline-offset: 3px; }
.ent-knopf[aria-pressed='true'] { background: #16181a; color: #fff; }
.ent-symbol { display: inline-flex; width: 22px; height: 14px; border-radius: 4px; overflow: hidden; }
.ent-symbol i { display: block; height: 100%; }
.ent-symbol i:first-child { width: 30%; background: var(--ent-kuratiert); }
.ent-symbol i:last-child { width: 70%; background: var(--ent-ki); }

.ent-anzeige {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  color: #16181a;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
}
.ent-anzeige[hidden] { display: none; }
.ent-balken { height: 10px; border-radius: 999px; background: var(--ent-ki); overflow: hidden; }
.ent-balken-k { display: block; height: 100%; width: 30%; background: var(--ent-kuratiert); transition: width 0.3s; }
.ent-zahlen { display: flex; justify-content: space-between; gap: 12px; margin: 10px 0 4px; font-size: 15px; }
.ent-zahlen b:first-child { color: var(--ent-kuratiert); }
.ent-zahlen b:last-child { color: #8A5A00; }
.ent-klein { margin: 0; font-size: 13px; line-height: 1.45; color: #4b5057; }

.ent-meldung {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 2147483002;
  max-width: min(520px, calc(100vw - 32px));
  padding: 12px 18px;
  border-radius: 12px;
  background: #16181a;
  color: #fff;
  font: 500 15px/1.45 var(--ent-schrift);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, 160%);
  opacity: 0;
  transition: transform 0.25s, opacity 0.25s;
  pointer-events: none;
}
.ent-meldung-sichtbar { transform: translate(-50%, 0); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .ent-meldung, .ent-balken-k { transition: none; }
}
@media (max-width: 600px) {
  .ent-knopf { font-size: 14px; padding: 0 14px 0 10px; }
  .ent-panel[data-position='oben-rechts'] { top: 136px; }
}
@media print {
  .ent-panel, .ent-ebene, .ent-meldung { display: none; }
}
