/* DE: Die Darstellungs-Fläche (#1080). Der Kern ist die Schriftprobe: jede Vorlage zeigt ein echtes Wort in
       ihrer eigenen Schrift, groß genug, um die Unterschiede zwischen Druckschrift, Grundschrift und den
       Ausgangsschriften wirklich zu sehen — daran hängt die Entscheidung. Die Schrift selbst kommt aus
       `school-fonts.css` (.font-<key>); hier steht nur das Layout.
   EN: The display-preferences page (#1080). Its point is the type sample: each option shows a real word in its
       own typeface, large enough that the differences between the German school scripts are actually visible —
       that is what the choice rests on. The typefaces come from `school-fonts.css` (.font-<key>); this file is
       layout only. */
.display-intro { color: var(--text-muted); max-width: 60ch; }

.display-form fieldset { border: 0; padding: 0; margin: 0 0 var(--sp-lg); }
.display-form legend { font-weight: 700; font-size: var(--step-1); margin-bottom: var(--sp-sm); }

.display-font-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-sm);
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }

/* Die ganze Kachel ist die Klickfläche — das Label deckt sie ab, damit auch Kinder mit grober Motorik treffen. */
.display-font { border: 2px solid var(--border); border-radius: var(--radius-md);
  padding: var(--sp-sm); display: grid; gap: .35rem; }
.display-font:has(input:checked) { border-color: var(--accent); background: var(--accent-surface); }
.display-font:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.display-font label { cursor: pointer; font-weight: 600; }

/* Die Probe: groß, damit die Schriftunterschiede sichtbar sind, und ohne Umbruch mitten im Wort. */
.display-preview--font { font-size: clamp(1.75rem, 5vw, 2.75rem); line-height: 1.4; overflow-wrap: anywhere; }

/* Logisch, nicht physisch: `margin-right` spiegelt unter dir=rtl nicht mit, und die Fläche steht auch für
   ps/ur/prs (CI-Guard #413). */
.display-gloss label { margin-inline-end: var(--sp-md); }
.display-save { margin-top: var(--sp-md); }
.display-class-note { color: var(--text-muted); font-size: var(--step--1); max-width: 60ch;
  margin-top: var(--sp-lg); }
