/* ============================================================
   KI-Einstellungen-Modal (.pm-set-*, von pm-chat.js, Body-Ebene)
   Geteilte Bausteine (.setup-mark/.setup-wort/.setup-btn, Keyframes) in styles.css.
   ============================================================ */
.pm-set-overlay { position: fixed; inset: 0; z-index: 12500; display: grid; place-items: center; padding: 24px; }
.pm-set-backdrop { position: absolute; inset: 0; background: rgba(58, 47, 34, 0.34); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: setup-fade 0.2s ease-out; }
.pm-set-card {
  position: relative; width: min(440px, 100%); max-height: calc(100vh - 48px); overflow-y: auto;
  background: linear-gradient(178deg, #fffdf9, #faf3e9);
  border: 1px solid var(--karte-rand); border-radius: 22px; box-shadow: var(--schatten-drag);
  padding: 24px 24px 20px; animation: setup-ein 0.24s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.pm-set-kopf { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.pm-set-feld { margin-bottom: 14px; }
.pm-set-feld:last-child { margin-bottom: 0; }
.pm-set-label { font-size: 11px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--text-leise); margin-bottom: 6px; }
.pm-set-status { color: var(--text-leise); font-weight: 500; }
.pm-set-status.live { color: #4d7a48; }
.pm-set-input {
  width: 100%; border: 1px solid var(--karte-rand); border-radius: 10px; background: #fff;
  font-family: inherit; font-size: 14px; color: var(--text-stark); padding: 10px 12px; outline: none; resize: vertical;
}
.pm-set-input:focus { border-color: rgba(176, 125, 86, 0.5); }
.pm-set-keyreihe { display: flex; gap: 7px; }
.pm-set-hinweis { margin-top: 6px; font-size: 11.5px; line-height: 1.4; color: var(--text-leise); }
.pm-set-tokens { font-size: 12.5px; color: var(--text-mittel); display: flex; align-items: center; gap: 8px; padding-top: 6px; border-top: 1px solid var(--karte-rand); }
.pm-set-tokens b { color: var(--text-stark); }
.pm-set-reset { border: none; background: none; color: var(--akzent); font-family: inherit; font-size: 12px; cursor: pointer; text-decoration: underline; padding: 0; }
.pm-set-fuss { display: flex; justify-content: flex-end; margin-top: 18px; }
