/* Sprache des Assistenten (03.10.2026, assistent-sprache.js). Nur Farbtoken der
   Oberflaeche (--line, --accent, --muted, --text, --warn), kein Hellblau auf Hell. */

/* Pruefen vor dem Absenden */
.asp-pruef { margin-top: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--text) 3%, transparent); }
.asp-pruef[hidden] { display: none; }
.asp-pruef__satz { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.asp-woerter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.asp-wort { min-height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: transparent; color: var(--text); font: inherit; font-size: 14.5px; cursor: pointer; }
.asp-wort:hover, .asp-wort:focus-visible { border-color: var(--accent); outline: none; }
.asp-wort--unsicher { border-style: dashed; border-color: var(--warn); }
.asp-korrektur__form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 8px; }
.asp-korrektur__lab { flex-basis: 100%; font-size: 13px; color: var(--muted); }
.asp-korrektur__form input:not([type]) { flex: 1 1 160px; min-width: 0; min-height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--text); font: inherit; }
.asp-korrektur__immer { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.asp-pruef__zeile { display: flex; flex-wrap: wrap; gap: 8px; }
.asp-datenschutz, .asp-datenschutz-kurz { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }

/* Schalter Text / Stimme */
.asp-schalter { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.asp-schalter > .a3d-still { padding: 0 8px 0 10px; }
.asp-schalter__knopf { min-height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
.asp-schalter__knopf[aria-checked="true"] { background: var(--accent); color: var(--on-accent, #fff); font-weight: 600; }
.asp-schalter__knopf:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Stumm (09.10.2026): eigener Knopf in derselben Pille, abgesetzt durch eine Linie. */
.asp-stumm { border-left: 1px solid var(--line); border-radius: 0 999px 999px 0; }
.asp-stumm[aria-pressed="true"] { background: var(--surface-2, rgba(127,127,127,.18)); font-weight: 600; }

/* Notizmodus */
.asp-notiz__liste { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 8px; }
.asp-notiz__zeile { display: grid; grid-template-columns: auto minmax(110px, 140px) 1fr; align-items: center; gap: 8px; }
.asp-notiz__zeile input[type="checkbox"] { width: 18px; height: 18px; }
.asp-notiz__art, .asp-notiz__text { min-height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--text); font: inherit; font-size: 14px; min-width: 0; }
.asp-notiz__wann { grid-column: 2 / -1; }
.asp-notiz__wann:empty { display: none; }
.asp-notiz__fertig { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
@media (max-width: 560px) {
  .asp-notiz__zeile { grid-template-columns: auto 1fr; }
  .asp-notiz__text, .asp-notiz__wann { grid-column: 1 / -1; }
}

/* Einstellungen */
.asp-einst h3, .asp-stimmen h3, .asp-wortliste h3 { margin: 0 0 4px; font-size: 14px; }
.asp-stimmen, .asp-wortliste { padding: 13px 0; border-top: 1px solid var(--line); }
.asp-stimmen p, .asp-wortliste p { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.asp-stimmen__raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.asp-stimme { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.asp-stimme--gewaehlt { border-color: var(--accent); }
.asp-stimme__knoepfe { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.asp-wortliste__liste { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.asp-wortliste__zeile { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; }
.asp-wortliste__weg { margin-left: auto; border: 0; background: none; color: var(--muted); font: inherit; font-size: 12.5px; text-decoration: underline; cursor: pointer; }
.asp-wortliste__form { display: flex; flex-wrap: wrap; gap: 8px; }
.asp-wortliste__form input { flex: 1 1 160px; min-width: 0; min-height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--text); font: inherit; font-size: 13.5px; }

/* Persoenlichkeit und Erinnerungen (assistent-charakter.js) */
.ach-erinnerungen { margin: 0 0 14px; }
.ach-erinnerung { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.ach-link { margin-left: auto; align-self: center; }
.ach-form { display: grid; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.ach-form h3 { margin: 0; font-size: 14px; }
.ach-satz { margin: 0; font-size: 13px; color: var(--muted); }
.ach-feld { display: grid; gap: 5px; max-width: 560px; }
.ach-feld__lab { font-size: 13px; font-weight: 600; }
.ach-feld input:not([type=checkbox]), .ach-feld textarea, .ach-feld select { min-height: 38px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--text); font: inherit; font-size: 14px; }
.ach-feld .switch { justify-self: start; }
.ach-basis summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.ach-basis__text { white-space: pre-wrap; font: inherit; font-size: 12.5px; line-height: 1.55; color: var(--muted); margin: 8px 0 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; overflow-x: auto; }
.ach-ruhe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ach-vorschau { margin: 0; padding: 10px 12px; border-left: 2px solid var(--accent); font-size: 14px; }
.ach-form > .e2-knopf { justify-self: start; }
.ao-knopf--erinnerung::after { content: ""; position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg, #111); }
