/* plan-ergebnis.css · Ergebnis eines Beitrags im Plan-Detail (zu plan-ergebnis.js)
   Nur Farben aus theme.js (hell und dunkel), keine Schatten, kein Logo-Rot. "Live" nutzt das Gruen (--ok),
   "Als live gemeldet" das Gelb der offenen Dinge (--offen). Zustand steht immer auch in Worten und Symbol.
   Alle Klassen mit Vorsatz pe-. */

.pe-block { margin-bottom: 24px; min-width: 0; }
.pe-karte { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; padding: 16px; border: 1px solid var(--kontur, rgba(128,128,128,.4)); border-radius: 16px; background: transparent; }
.pe-kopf { margin: 0; }
.pe-zeile { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.pe-pille { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 0 12px 0 8px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1; color: var(--ok); border: 1px solid var(--ok); background: var(--ok-weich); white-space: nowrap; }
.pe-pille .material-symbols-outlined { font-size: 16px; }
.pe-pille.pe-offen { color: var(--offen); border-color: var(--offen); background: var(--offen-weich); }
.pe-name { font-size: 16px; font-weight: 600; color: var(--text-primary); }
.pe-text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-secondary); text-wrap: pretty; }
.pe-klein { margin: 0; font-size: 13px; line-height: 1.45; color: var(--text-secondary); text-wrap: pretty; }
.pe-zahl { font-variant-numeric: tabular-nums; }
.pe-fehler { margin: 0; font-size: 13px; line-height: 1.45; color: var(--warn-ink, var(--warn)); }

.pe-felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.pe-feld { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line, rgba(128,128,128,.3)); border-radius: 12px; }
.pe-wert { font-size: 20px; font-weight: 600; line-height: 1.2; color: var(--text-primary); }
.pe-label { font-size: 13px; line-height: 1.3; color: var(--text-secondary); }

.pe-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; width: fit-content; color: var(--text-primary); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pe-link .material-symbols-outlined { font-size: 18px; }
.pe-link:focus-visible, .pe-knopf:focus-visible, .pe-feldwahl:focus-visible { outline: 2px solid var(--text-primary); outline-offset: 2px; }

.pe-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pe-feldwahl { flex: 1 1 100%; min-width: 0; max-width: 100%; text-overflow: ellipsis; min-height: 44px; padding: 0 12px; font-size: 16px; color: var(--text-primary); background: transparent; border: 1px solid var(--kontur, rgba(128,128,128,.4)); border-radius: 12px; }
.pe-knopf { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; border: 1px solid var(--kontur, rgba(128,128,128,.4)); background: transparent; color: var(--text-primary); font: 600 14px/1 var(--font-body, system-ui, sans-serif); cursor: pointer; transition: opacity .15s; }
.pe-knopf .material-symbols-outlined { font-size: 18px; }
.pe-knopf:hover:not(:disabled) { opacity: .75; }
.pe-knopf:disabled { opacity: .5; cursor: default; }

@media (prefers-reduced-motion: reduce) { .pe-knopf { transition: none; } }
