/* Rechtschreib-/Großschreibungshinweise im Composer (mail-spellcheck.js): Spiegel-Ebene hinter dem Textfeld + Hinweisliste. */
.msp-wrap { position: relative; display: flex; flex: 1 1 auto; min-height: 0; }
.msp-wrap textarea { position: relative; z-index: 1; background: transparent !important; flex: 1 1 auto; width: 100%; }
.msp-backdrop { position: absolute; inset: 0; z-index: 0; overflow: hidden; color: transparent; pointer-events: none; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; background: var(--md-surface, #fff); border-radius: inherit; }
.msp-wrap:not(.msp-active) .msp-backdrop { background: var(--md-surface, #fff); }
.msp-mark { color: transparent; background: transparent; text-decoration: underline wavy; text-decoration-color: var(--md-warning, #8a6413); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.msp-mark.msp-polite { text-decoration-color: var(--md-accent, #643182); }
.msp-mark.msp-noun { text-decoration-color: var(--md-warning, #8a6413); }
.msp-panel { margin: 0 14px 8px; padding: 8px 10px; border: 1px solid var(--md-line, #e5deea); border-radius: 10px; background: var(--md-soft, #faf8fc); font-size: 12.5px; color: var(--md-text, #2b2432); }
.msp-panel[hidden] { display: none; }
.msp-panel-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.msp-panel-head svg { width: 14px; height: 14px; color: var(--md-accent, #643182); }
.msp-panel-head strong { flex: 1 1 auto; font-size: 12.5px; }
.msp-items { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.msp-item { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border: 1px solid var(--md-line-strong, #d4c8dc); border-radius: 999px; background: var(--md-surface, #fff); color: inherit; font: inherit; font-size: 12px; cursor: pointer; }
.msp-item:hover { border-color: var(--md-accent, #643182); background: var(--md-tint, #f1e9f5); }
.msp-item s { color: var(--md-muted, #756c7c); }
.msp-item b { color: var(--md-accent-strong, #4e2566); }
.msp-item span { color: var(--md-muted, #756c7c); font-size: 11px; }
.msp-more { font-size: 11.5px; color: var(--md-muted, #756c7c); }
@media (max-width: 720px) { .msp-panel { margin: 0 8px 8px; } .msp-item span { display: none; } }
