/* notizen.css — Notizen v10 „Kalk" (Runden 80–87, Paket design_handoff_notizen_v10/,
   Plan PLAN_NotizenModul_V10_261015.md, 15.10.2026).

   Die HÜLLE des Notizen-Moduls: Liste (320 / Leiste 56 / Überlagerung), Kopfzeile,
   Blatt mit Titel, Metazeile und Fuß, Spalte „Erkannt" (N3), Randmarken (N2).
   Der Fließtext selbst (Schriftbild, Listen, Tabellen, Objekte) steht weiter in
   notes.css.

   ⚠️ Token: `--nz-*` sind die Namen aus NOTIZEN_v10.md (`--p`, `--s1`, `--run-bg` …)
   mit Vorsilbe. Werte DECKEND ausgerechnet, wo das Paket eine Durchsichtigkeit
   nennt (Haarlinie über --p bzw. --s1) — eine Kontrastprüfung liest `rgba(…)`
   sonst gegen Schwarz (Messfalle 02.09.2026). Dunkel aus v9 §1.2 abgeleitet,
   nicht gezeichnet (L12).
   ⚠️ `.notes-container` steht seit dem 15.10.2026 auch in der v9-Trägerliste in
   style.css (`--bg`, `--text`, `--paper-*`), damit die Bausteine des Editors
   (Einfüge-Menü, Tabellen, Objekte, Pillen) in Kalk stehen, ohne dass jede
   Regel angefasst wird. */

.notes-container {
  --nz-p: #FCFCFB; --nz-bg: #EEEFED; --nz-s1: #FFFFFF;
  --nz-s2: #F3F3F2;          /* rgba(20,22,24,.045) auf --p */
  --nz-s2-weiss: #F4F4F4;    /* dieselbe Fläche auf --s1 */
  --nz-pruef-bg: #F6F6F5;    /* Prüfen-Karte 81b */
  --nz-s3: #E9E9E8;          /* .085 */
  --nz-line: #E7E7E7;        /* .09  */
  --nz-line2: #CECECE;       /* .2   */
  --nz-fg: #141618; --nz-fg2: #4A4F55; --nz-fg3: #6B7178; --nz-fg4: #858B91;
  --nz-ac: #B42332; --nz-ac-soft: #F8EAEC;
  --nz-ok: #17805E; --nz-ok-soft: #DCE8E0; --nz-ok-kapsel: #EEF5F1; --nz-ok-kapsel-rand: #CBE0D6;
  --nz-ok-text: #13704F;     /* N8: #17805E auf der Kapsel misst 4,43 — Schrift eine Stufe dunkler (5,5) */
  --nz-run-bg: #DCE8F5; --nz-run-fg: #14324F; --nz-run-fg2: #3A6187; --nz-run-soft: #EDF3FA;
  --nz-run-hover: #C9D9EA;   /* color-mix(--run-bg 82 %, --run-fg) ausgerechnet */
  --nz-now: #3A78B8;
  --nz-cta: #141618; --nz-cta-hover: #000000; --nz-cta-fg: #FFFFFF;
  --nz-shadow: 0 12px 30px rgba(20, 22, 24, .2);
  --nz-shadow-notiz: 0 12px 34px rgba(20, 22, 24, .2);
  --nz-shadow-s: 0 1px 2px rgba(20, 22, 24, .08);
  --nz-overlay-shadow: 0 18px 40px -16px rgba(20, 22, 24, .28), 0 0 0 1px rgba(20, 22, 24, .04);
  --nz-linie-vorname: #B8B9BA; /* rgba(20,22,24,.3) auf Weiß */
  --nz-ease: cubic-bezier(.32, .72, 0, 1);
  /* Maße — aus notizen.js gesetzt: --nz-liste-w, --nz-spalte-w. */
  --nz-pi: 48px;   /* Polster Inhalt seitlich (Stufe A) */
  --nz-pi-o: 22px; --nz-pi-u: 40px;
  --nz-pb: 72px;   /* Polster Blatt seitlich */
  --nz-pb-o: 56px; --nz-pb-u: 48px;
  --nz-titel: 40px;
  --nz-ps: 28px;   /* Polster Spalte seitlich */
  --nz-ps-o: 24px;
  background: var(--nz-p);
  color: var(--nz-fg);
  font-family: var(--font);
  display: flex; height: 100vh; overflow: hidden; position: relative;
}
.dark .notes-container {
  --nz-p: #141516; --nz-bg: #0E0F10; --nz-s1: #1A1C1E;
  --nz-s2: #202122; --nz-s2-weiss: #252729; --nz-s3: #292A2B; --nz-pruef-bg: #232527;
  --nz-line: #262728; --nz-line2: #373839;
  --nz-fg: #ECEDEE; --nz-fg2: #B5B7B8; --nz-fg3: #878A8A; --nz-fg4: #6F7378;
  --nz-ac: #F06A78; --nz-ac-soft: #3A2226;
  --nz-ok: #45B98D; --nz-ok-text: #45B98D; --nz-ok-soft: #1F3A30; --nz-ok-kapsel: #1A2E27; --nz-ok-kapsel-rand: #2C4A3E;
  --nz-run-bg: #1C2E42; --nz-run-fg: #DCE9F7; --nz-run-fg2: #9DBCDD; --nz-run-soft: #162330;
  --nz-run-hover: #27405C;
  --nz-now: #7FAEE0;
  --nz-cta: #ECEDEE; --nz-cta-hover: #FFFFFF; --nz-cta-fg: #0E0F10;
  --nz-shadow: 0 20px 50px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .06);
  --nz-shadow-notiz: 0 20px 50px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .06);
  --nz-shadow-s: 0 1px 2px rgba(0, 0, 0, .5);
  --nz-overlay-shadow: 0 20px 50px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .06);
  --nz-linie-vorname: #5A5C5E;
}
/* Stufen B–D: kleinere Polster und Titel (MASSE §2). Schriftstufen kommen aus
   style.css (--t1…--t5, dort schon an 1740 gekoppelt). */
.notes-container[data-stufe="b"] { --nz-pi: 32px; --nz-pi-o: 20px; --nz-pi-u: 28px; --nz-pb: 56px; --nz-pb-o: 44px; --nz-pb-u: 36px; --nz-titel: 34px; --nz-ps: 22px; --nz-ps-o: 22px; }
.notes-container[data-stufe="c"], .notes-container[data-stufe="d"] { --nz-pi: 24px; --nz-pi-o: 18px; --nz-pi-u: 24px; --nz-pb: 40px; --nz-pb-o: 36px; --nz-pb-u: 32px; --nz-titel: 30px; --nz-ps: 22px; --nz-ps-o: 22px; }
.notes-container[data-spalte="400"] { --nz-ps: 22px; --nz-ps-o: 22px; }

/* ---- Die drei Flächen: eine durchgehende Fläche, Haarlinien, kein Radius ---- */
.nz-liste {
  position: relative; flex: 0 0 auto; width: var(--nz-liste-w, 320px);
  border-right: 1px solid var(--nz-line); background: var(--nz-p);
  display: flex; flex-direction: column; min-height: 0; overflow: hidden;
  transition: width .22s var(--nz-ease);
}
.nz-liste-innen { display: flex; flex-direction: column; min-height: 0; height: 100%; width: 320px;
  opacity: 1; transition: opacity .12s; }
.notes-container[data-liste="leiste"] .nz-liste-innen { opacity: 0; pointer-events: none; }
.nz-leiste { display: none; }
.notes-container[data-liste="leiste"] .nz-leiste { display: flex; }
/* Stufe D: aufgeklappt liegt die Liste ÜBER dem Blatt (MASSE §4). */
.notes-container[data-liste="overlay"] .nz-liste { position: absolute; left: 0; top: 0; bottom: 0; width: 320px; z-index: 30;
  box-shadow: var(--nz-overlay-shadow); }
.notes-container[data-liste="overlay"] .nz-inhalt { margin-left: 56px; }
.notes-container[data-liste="overlay"] .nz-leiste { display: none; }

.nz-inhalt { flex: 1 1 auto; min-width: 0; min-height: 0; display: flex; flex-direction: column;
  padding: var(--nz-pi-o) var(--nz-pi) var(--nz-pi-u); background: var(--nz-p); position: relative; }

/* ---- Leiste 56 (§3.4) ------------------------------------------------------- */
.nz-leiste { position: absolute; inset: 0; width: 56px; flex-direction: column; align-items: center;
  padding: 22px 0; gap: 10px; }
.nz-rund { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--nz-line2); background: var(--nz-s2); color: var(--nz-fg); cursor: pointer; padding: 0;
  font-family: inherit; flex: 0 0 auto; }
.nz-rund:hover { background: var(--nz-s3); }
.nz-rund-blau { background: var(--nz-run-bg); color: var(--nz-run-fg); border-color: transparent; }
.nz-rund-blau:hover { background: var(--nz-run-hover); }
.nz-leiste-trenner { display: block; width: 24px; height: 1px; background: var(--nz-line); margin: 6px 0; }
.nz-leiste-wort { writing-mode: vertical-rl; transform: rotate(180deg); border: none; background: none; padding: 6px 0;
  font-family: inherit; font-size: var(--t2); font-weight: 600; color: var(--nz-fg); cursor: pointer; letter-spacing: .01em; }
.nz-leiste-wort .nz-leiste-zahl { color: var(--nz-fg3); font-weight: 500; }
.nz-leiste-wort:hover { color: var(--nz-run-fg2); }

/* ---- Listenkopf (§3.1) -------------------------------------------------------- */
.nz-liste-kopf { position: relative; flex: 0 0 auto; padding: 26px 20px 22px; border-bottom: 1px solid var(--nz-line); }
.nz-liste-z1 { display: flex; align-items: baseline; gap: 10px; }
.nz-liste-titel { margin: 0; font-size: var(--t5); font-weight: 700; letter-spacing: -.015em; color: var(--nz-fg); line-height: 1.2; }
.nz-liste-n { margin-left: auto; font-size: var(--t2); color: var(--nz-fg3); white-space: nowrap; }
/* |‹ im Kopf nur beim Überfahren der Liste (82a: rechts neben „31 Seiten"). */
.nz-liste-zu { align-self: center; margin-left: 2px; opacity: 0; transition: opacity .15s; }
.nz-liste:hover .nz-liste-zu, .nz-liste-zu:focus-visible { opacity: 1; }
.nz-neu { margin-top: 16px; display: flex; align-items: center; width: 100%; height: 40px; padding: 0 5px 0 16px;
  border: none; border-radius: 7px; background: var(--nz-run-bg); color: var(--nz-run-fg);
  font-family: inherit; font-size: var(--t3); font-weight: 600; cursor: pointer; text-align: left; }
.nz-neu:hover { background: var(--nz-run-hover); }
.nz-neu-kreis { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center;
  justify-content: center; background: rgba(255, 255, 255, .12); }
.nz-suche { margin-top: 10px; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px;
  border: 1px solid var(--nz-line2); border-radius: 7px; background: var(--nz-s1); color: var(--nz-fg3); cursor: text; }
.nz-suche input { flex: 1 1 auto; min-width: 0; border: none; background: none; outline: none; font-family: inherit;
  font-size: var(--t3); color: var(--nz-fg); }
.nz-suche input::placeholder { color: var(--nz-fg3); }
.nz-suche-treffer { position: absolute; left: 20px; right: 20px; top: calc(100% - 14px); z-index: 20;
  background: var(--nz-s1); border: 1px solid var(--nz-line2); border-radius: 7px; box-shadow: var(--nz-shadow);
  max-height: 360px; overflow-y: auto; padding: 6px; }
.nz-treffer { padding: 7px 10px; border-radius: 6px; cursor: pointer; }
.nz-treffer:hover { background: var(--nz-s2-weiss); }
.nz-treffer-titel { font-size: var(--t3); font-weight: 600; color: var(--nz-fg); }
.nz-treffer-snip { font-size: var(--t2); color: var(--nz-fg3); margin-top: 1px; }
.nz-treffer-snip mark { background: var(--nz-run-bg); color: var(--nz-run-fg); border-radius: 2px; }
.nz-leer { padding: 10px; font-size: var(--t2); color: var(--nz-fg3); }

/* ---- Gruppen (§3.2, §3.3) ---------------------------------------------------- */
.nz-pt { flex: 0 0 auto; padding: 18px 12px 16px; border-bottom: 1px solid var(--nz-line); }
.nz-pt.is-zu { padding-bottom: 12px; }
.nz-gruppen { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 18px 12px 20px; display: flex; flex-direction: column; gap: 22px;
  scrollbar-width: none; }
.nz-gruppen::-webkit-scrollbar { display: none; }
.nz-gruppe { display: flex; flex-direction: column; }
.nz-gkopf { display: flex; align-items: center; height: 26px; padding: 0 4px 0 10px; border-radius: 6px; cursor: pointer; gap: 6px; user-select: none; }
.nz-gkopf:hover { background: var(--nz-s2); }
.nz-gtitel { font-size: var(--t2); font-weight: 600; color: var(--nz-fg); }
.nz-gzahl { font-size: var(--t2); color: var(--nz-fg3); margin-left: 2px; }
/* Der Winkel ist ZUSTANDSANZEIGE, kein Knopf: sichtbar bei Hover oder eingeklappt (−90°). */
.nz-gwinkel { margin-left: auto; width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--nz-fg3); opacity: 0; transition: opacity .15s, transform .18s var(--nz-ease); }
.nz-gkopf:hover .nz-gwinkel, .nz-gkopf.is-zu .nz-gwinkel { opacity: 1; }
.nz-gkopf.is-zu .nz-gwinkel { transform: rotate(-90deg); }
.nz-gkopf + .nz-zeile, .nz-gkopf + .nz-knoten { margin-top: 4px; }

.nz-zeile { position: relative; display: flex; align-items: center; height: 34px; padding: 0 10px; border-radius: 6px;
  font-size: var(--t3); color: var(--nz-fg); cursor: pointer; gap: 6px; user-select: none; }
.nz-zeile:hover { background: var(--nz-s2); }
.nz-zeile.is-aktiv { background: var(--nz-run-bg); color: var(--nz-run-fg); font-weight: 600; }
.nz-zeile.is-aktiv:hover { background: var(--nz-run-bg); }
.nz-zeile-titel { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nz-zeile-zahl { flex: 0 0 auto; font-size: var(--t2); color: var(--nz-fg4); font-variant-numeric: tabular-nums; }
.nz-zeile.is-aktiv .nz-zeile-zahl { color: var(--nz-run-fg2); }
.nz-zeile-akt { display: none; gap: 2px; margin-left: 2px; }
.nz-zeile:hover .nz-zeile-akt { display: inline-flex; }
.nz-zeile:hover .nz-zeile-zahl { display: none; }
.nz-zeile-btn { width: 22px; height: 22px; border: none; border-radius: 5px; background: none; color: var(--nz-fg3);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.nz-zeile-btn:hover { background: var(--nz-s3); color: var(--nz-fg); }
.nz-chev { flex: 0 0 auto; width: 10px; height: 10px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--nz-fg3); transition: transform .18s var(--nz-ease); margin-right: 1px; }
.nz-chev.is-open { transform: rotate(90deg); }
.nz-alle { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: none; background: none;
  font-family: inherit; font-size: var(--t2); color: var(--nz-fg2); cursor: pointer; border-radius: 6px; }
.nz-alle:hover { background: var(--nz-s2); }
.nz-alle svg { width: 10px; height: 10px; }
.nz-filter-weg { align-self: flex-start; border: none; background: none; padding: 0 10px; height: 26px;
  font-family: inherit; font-size: var(--t2); color: var(--nz-run-fg2); cursor: pointer; }
.nz-filter-weg:hover { text-decoration: underline; }

/* Haarlinien-Baum: Unterseiten 32 px, Einzug 18 je Ebene, Senkrechte `--line2`
   an x = 0 der Ebene, Ast 12 breit auf halber Höhe; letzte Zeile halbe Senkrechte. */
.nz-knoten { position: relative; }
.nz-zweig { position: relative; margin-left: 18px; }
.nz-zweig > .nz-knoten::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--nz-line2); pointer-events: none; }
.nz-zweig > .nz-knoten:last-child::before { bottom: auto; height: 16px; }
.nz-zweig .nz-zeile { height: 32px; padding-left: 18px; }
.nz-zweig .nz-zeile::before { content: ''; position: absolute; left: 0; top: 16px; width: 12px; height: 1px; background: var(--nz-line2); pointer-events: none; }
.nz-zweig .nz-zeile:hover, .nz-zweig .nz-zeile.is-aktiv { background-clip: padding-box; }

/* ---- Kopfzeile des Inhalts (§4.1) ------------------------------------------- */
.nz-kopfzeile { flex: 0 0 auto; height: 36px; display: flex; align-items: center; gap: 14px; }
.nz-crumbs { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: var(--t3); color: var(--nz-fg3); overflow: hidden; }
.nz-crumb { border: none; background: none; padding: 0; font-family: inherit; font-size: var(--t3); color: inherit;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
button.nz-crumb { cursor: pointer; }
button.nz-crumb:hover { color: var(--nz-fg); }
.nz-crumb.is-last { color: var(--nz-fg); font-weight: 600; flex-shrink: 0; }
.nz-crumb-sep { display: inline-flex; color: var(--nz-fg4); flex: 0 0 auto; }
.nz-zurueck { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px 0 10px; margin-right: 2px;
  border: 1px solid var(--nz-line2); border-radius: 7px; background: var(--nz-s2); color: var(--nz-fg);
  font-family: inherit; font-size: var(--t3); cursor: pointer; flex: 0 0 auto; }
.nz-zurueck:hover { background: var(--nz-s3); }
.nz-kopf-rechts { margin-left: auto; display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.nz-gespeichert { display: inline-flex; align-items: center; gap: 5px; font-size: var(--t2); color: var(--nz-fg3); white-space: nowrap; }
.nz-gespeichert svg { width: 12px; height: 12px; }
/* Knopf „Erkannt N": offen gefüllt (Blau), zu umrissen; N = 0 → nicht vorhanden. */
.nz-erkannt { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 5px 0 13px; border-radius: 7px;
  border: 1px solid var(--nz-line2); background: var(--nz-s2); color: var(--nz-fg);
  font-family: inherit; font-size: var(--t3); font-weight: 600; cursor: pointer; opacity: 1; transition: opacity .25s; }
.nz-erkannt[hidden] { display: none; }
.nz-erkannt-n { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--nz-s3); font-size: var(--t2); font-weight: 700; }
.nz-erkannt.is-offen { background: var(--nz-run-bg); color: var(--nz-run-fg); border-color: transparent; }
.nz-erkannt.is-offen .nz-erkannt-n { background: rgba(20, 50, 79, .12); }
.dark .nz-erkannt.is-offen .nz-erkannt-n { background: rgba(220, 233, 247, .14); }
.nz-erkannt:hover { background: var(--nz-s3); }
.nz-erkannt.is-offen:hover { background: var(--nz-run-hover); }
.nz-kopf-rechts .nz-rund svg { width: 14px; height: 14px; }

/* ---- Das Blatt (§4.2) --------------------------------------------------------- */
.nz-blatt { flex: 1 1 auto; min-height: 0; margin-top: 18px; width: 100%; max-width: 980px; align-self: center;
  background: var(--nz-s1); border: 1px solid var(--nz-line2); border-radius: 7px;
  overflow-y: auto; scrollbar-width: none; display: flex; flex-direction: column; position: relative; }
.nz-blatt::-webkit-scrollbar { display: none; }
.nz-blatt-innen { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 100%;
  padding: var(--nz-pb-o) var(--nz-pb) var(--nz-pb-u); box-sizing: border-box; }
.nz-titel { margin: 0; max-width: 680px; font-size: var(--nz-titel); font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
  color: var(--nz-fg); outline: none; text-wrap: balance; word-break: break-word; min-height: 1.1em; cursor: text; }
.nz-titel:empty::before { content: attr(data-ph); color: var(--nz-fg4); font-weight: 600; }
.nz-meta { margin-top: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; font-size: var(--t3); color: var(--nz-fg3); }
.nz-meta-teil { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.nz-meta-lab { color: var(--nz-fg2); font-weight: 500; }
.nz-meta-punkt { width: 3px; height: 3px; border-radius: 50%; background: var(--nz-line2); flex: 0 0 auto; }
.nz-meta-punkt-klein { color: var(--nz-line2); }
.nz-trenn { height: 1px; background: var(--nz-line); margin: 30px 0 34px; flex: 0 0 auto; }
/* Textmaß 680 gilt für jede Blattbreite: linksbündig ab dem Polster, der Rest rechts bleibt Rand. */
.notes-container .notes-stage { position: relative; flex: 0 0 auto; min-height: 0; }
.notes-container .notes-rich { max-width: 680px; font-size: 15px; line-height: 1.75; letter-spacing: -.004em; color: var(--nz-fg);
  padding-bottom: 156px; min-height: 240px; caret-color: var(--nz-now); }
.notes-container .notes-rich ul > li::before { color: var(--nz-fg4); }
.notes-container .notes-rich ol > li::before { color: var(--nz-fg4); }
.notes-container .notes-rich h1, .notes-container .notes-rich h2, .notes-container .notes-rich h3 { color: var(--nz-fg); }
.notes-container ::selection { background: var(--nz-run-bg); }
.nz-fuss { margin-top: auto; padding-top: 24px; display: flex; align-items: center; gap: 12px; font-size: var(--t2); color: var(--nz-fg4); flex: 0 0 auto; }
.nz-fuss-rechts { margin-left: auto; }

/* Leerzustand ohne gewählte Seite */
.nz-leer-blatt { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--nz-fg3); font-size: var(--t3); text-align: center; }
.nz-leer-blatt .nz-neu { width: auto; padding-right: 16px; }

/* ---- Spalte „Erkannt" (§5) — Gestalt in N3 ----------------------------------- */
.nz-spalte { flex: 0 0 auto; width: var(--nz-spalte-w, 0px); border-left: 1px solid var(--nz-line); background: var(--nz-p);
  overflow: hidden; transition: width .22s var(--nz-ease); display: flex; flex-direction: column; min-height: 0; }
.notes-container[data-spalte="zu"] .nz-spalte { border-left: none; width: 0; }
.notes-container[data-spalte="overlay"] .nz-spalte { position: absolute; right: 0; top: 0; bottom: 0; width: 400px; z-index: 30;
  box-shadow: var(--nz-overlay-shadow); }

/* Bewegung reduzieren: keine Übergänge. */
@media (prefers-reduced-motion: reduce) {
  .nz-liste, .nz-liste-innen, .nz-spalte, .nz-gwinkel, .nz-chev, .nz-erkannt { transition: none; }
}

/* ---- N2 · Erkanntes im Blatt (§4.3): Unterstreichungen statt Textmarker ----
   Keine Fläche hinter dem Satz. Nur die erkannten Teile eines Satzes, der
   Vorschlag oder Anker ist, tragen `border-bottom: 2px`: Art 400 `--fg` ·
   Person 600 `--fg` · Datum 600 `--fg2` · Aufwand 600 `--fg` · offener Vorname
   Linie 30 %. Die Spans setzt noteTasks.js NUR in solchen Sätzen; gespeichert
   wird keiner (MindNotizen.reinigen).
   Testbefund 29.10.2026 („zu erschlagend"): der Text bleibt RUHIG. Die Linien zeigt nur
   der Satz, der gerade gemeint ist — Karte offen (`.nz-satz-pruef`), Zeiger auf dem Satz
   (`:hover`) oder auf seiner Marke (`.nz-satz-hover`). Die Linie ist immer da, nur
   durchsichtig, und das Gewicht kommt als Strich (`-webkit-text-stroke`), nicht als 600:
   beim Überfahren springt keine Zeile und kein Umbruch. */
.notes-container .notes-rich .nt-tok { text-decoration: none; border-bottom: 2px solid transparent; font-weight: inherit; color: inherit; transition: border-color .12s, color .12s; }
.notes-container .notes-rich :is(.nz-satz-pruef, .nz-satz-hover, .nt-tasky:hover, .nt-tasky-block:hover, .task-ref:hover, .nt-vorschlag:hover) .nt-tok { border-bottom-color: var(--nz-fg); -webkit-text-stroke: .35px currentColor; }
.notes-container .notes-rich :is(.nz-satz-pruef, .nz-satz-hover, .nt-tasky:hover, .nt-tasky-block:hover, .task-ref:hover, .nt-vorschlag:hover) .nt-tok-column { -webkit-text-stroke: 0; }
.notes-container .notes-rich :is(.nz-satz-pruef, .nz-satz-hover, .nt-tasky:hover, .nt-tasky-block:hover, .task-ref:hover, .nt-vorschlag:hover) :is(.nt-tok-date, .nt-tok-time, .nt-tok-reminder, .nt-tok-recurrence) { border-bottom-color: var(--nz-fg2); color: var(--nz-fg2); }
.notes-container .notes-rich :is(.nz-satz-pruef, .nz-satz-hover, .nt-tasky:hover, .nt-tasky-block:hover, .task-ref:hover, .nt-vorschlag:hover) .nt-tok-vorname { -webkit-text-stroke: 0; border-bottom-color: var(--nz-linie-vorname); }
/* Die Personen-Pille: kein Chip mehr (Zuschnitt 8a), sondern Gewicht 600 — und
   in einem Aufgaben-Satz die Linie `--fg` (§4.3), seit 29.10. nur am gemeinten Satz.
   Daten bleiben: `data-person`. */
.notes-container .notes-rich .nt-person { background: none; padding: 0; border-radius: 0; font-weight: 600; }
.notes-container .notes-rich .nt-tasky .nt-person, .notes-container .notes-rich .nt-tasky-block .nt-person,
.notes-container .notes-rich .nt-vorschlag .nt-person,
.notes-container .notes-rich .task-ref .nt-person { border-bottom: 2px solid transparent; transition: border-color .12s; }
.notes-container .notes-rich :is(.nz-satz-pruef, .nz-satz-hover, .nt-tasky:hover, .nt-tasky-block:hover, .task-ref:hover, .nt-vorschlag:hover) .nt-person { border-bottom-color: var(--nz-fg); }
/* Anker, Satz-Hülle und Vorschlags-Zeichen (N4) tragen KEINE Fläche; die Randmarke sagt, was der Satz ist. */
.notes-container .notes-rich .task-ref, .notes-container .notes-rich .task-ref:hover,
.notes-container .notes-rich .nt-tasky, .notes-container .notes-rich .nt-tasky-block,
.notes-container .notes-rich .nt-vorschlag, .notes-container .notes-rich .nt-verworfen { background: none; cursor: text; }
.notes-container .notes-rich .task-ref-done { opacity: 1; }
/* Quellsatz während des Prüfens (§6.2) und Ankunft aus dem Board (§4.6). */
/* 1:1 81b (Prototyp): der geprüfte Satz liegt hinter dem Text — Radius 4, 1 px / 4 px Luft, ohne den
   Text zu verschieben. Füllt der Satz seinen Block allein, trägt der Block die Klasse; er schrumpft
   dann auf seinen Inhalt. Farbe: Testbefund 29.10.2026 — das Grau der Prüfen-Karte (#F6F6F5, F22) war
   auf dem weißen Blatt nicht zu sehen; jetzt der Ton des offenen „Erkannt"-Knopfs (`--run-bg`). */
.notes-container .notes-rich .nz-satz-pruef { background: var(--nz-run-bg); border-radius: 4px; padding: 1px 4px; margin: -1px -4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.notes-container .notes-rich li.nz-satz-pruef, .notes-container .notes-rich p.nz-satz-pruef, .notes-container .notes-rich div.nz-satz-pruef { width: fit-content; }
/* Ankunft aus dem Brett (83b): derselbe Ton wie der geprüfte Satz (29.10.2026, vorher `--run-soft`). */
.notes-container .notes-rich .nz-satz-ziel { background: var(--nz-run-bg); box-shadow: 0 0 0 6px var(--nz-run-bg); border-radius: 3px; transition: background .6s, box-shadow .6s; }
.notes-container .notes-rich .nz-satz-ziel.is-aus { background: transparent; box-shadow: 0 0 0 6px transparent; }
/* Ein Listenpunkt: der Hof reicht über das Aufzählungszeichen (83b, 18 px Einzug). */
.notes-container .notes-rich li.nz-satz-ziel { box-shadow: 0 0 0 6px var(--nz-run-bg), -15px 0 0 6px var(--nz-run-bg); }
.notes-container .notes-rich li.nz-satz-ziel.is-aus { box-shadow: 0 0 0 6px transparent, -15px 0 0 6px transparent; }
.notes-container .notes-rich { position: relative; z-index: 1; }

/* Erledigt-Kapsel (§4.5): Anzeige, kein Text — nicht markierbar, nicht kopierbar. */
.nz-kapsel { display: inline-flex; align-items: center; gap: 5px; margin-left: 4px; padding: 2px 10px; border-radius: 7px;
  background: var(--nz-ok-kapsel); border: 1px solid var(--nz-ok-kapsel-rand); color: var(--nz-ok-text, var(--nz-ok));
  font-size: var(--t2); font-weight: 600; line-height: 1.3; white-space: nowrap; user-select: none; vertical-align: 1px; }
.nz-kapsel svg { width: 10px; height: 10px; }

/* Randmarken (§4.4): Schicht in der Bühne, Trefferfeld 30×30, Marke 11 px. */
.nz-marken { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.nz-marke { position: absolute; width: 30px; height: 30px; border: none; border-radius: 6px; background: transparent;
  color: var(--nz-fg); display: inline-flex; align-items: center; justify-content: center; padding: 0;
  pointer-events: auto; cursor: pointer; font-family: inherit; }
.nz-marke.is-eng { width: 18px; border-radius: 5px; }   /* Breite setzt notizen.js je Zeile (11–18) */   /* geteilte Zeile (Befund 28.10.2026): nebeneinander, Schritt 18 */
.nz-marke:hover, .nz-marke.is-hover { background: var(--nz-s2-weiss); }
.nz-marke.is-vorschlag svg path { fill: none; }
.nz-marke.is-angelegt svg path { fill: currentColor; }
.nz-marke.is-erledigt { color: var(--nz-ok-soft); }
.nz-marke.is-grau { color: #DCDDDE; }
.dark .nz-marke.is-grau { color: #3A3C3E; }
.nz-marke.is-grau svg path { fill: currentColor; }
.nz-marke-o { color: var(--nz-fg); }
.nz-marke-o svg { width: 9px; height: 9px; }

/* Tooltip (§8): `--fg` / weiß, 30 hoch, Radius 6, Pfeil 10×10, unter dem Zeichen. */
/* Testbefund 28.10.2026: fest im Fenster statt in der Bühne — das Blatt schnitt ihn ab. Er wächst vom
   Zeichen nach LINKS (über den Blattrand hinaus) und bricht lange Titel um statt sie abzuschneiden. */
.nz-tip { position: fixed; z-index: 1300; min-height: 30px; max-width: 320px; padding: 6px 12px; border-radius: 6px; background: var(--nz-fg); color: var(--nz-p);
  font-size: var(--t2); font-weight: 600; line-height: 1.35; display: flex; align-items: center; white-space: normal; overflow-wrap: anywhere; pointer-events: none; box-sizing: border-box; }
.nz-tip::before { content: ''; position: absolute; top: -4px; left: var(--nz-tip-pfeil, calc(50% - 5px)); width: 10px; height: 10px; background: var(--nz-fg); transform: rotate(45deg); border-radius: 2px; }

/* Die Zeile NEUE PERSON (§6.4, 80k): 49 px im Fluss = 8 + Haarlinie + 8 + 28 + 4. */
.nz-np-fluss { height: 0; overflow: hidden; box-sizing: border-box; padding-top: 8px; transition: height .16s ease-out; }
.nz-np-fluss.is-zu { transition: height .12s ease-in; }
.nz-np-fluss .nz-np { border-top: 1px solid var(--nz-line); padding: 8px 0 4px; }
.nz-np-fluss .nz-np, .nz-np-fluss .nz-np * { opacity: 1; }
.nz-np { display: flex; align-items: center; gap: 8px; height: 28px; box-sizing: content-box; font-size: var(--t2); color: var(--nz-fg); user-select: none; }
.nz-np-marke { font-weight: 600; color: var(--nz-fg3); white-space: nowrap; }
.nz-np-vorname { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border: 1px solid var(--nz-line2); border-radius: 6px;
  background: var(--nz-s1); font-weight: 600; white-space: nowrap; }
.nz-np-nachname { width: 150px; height: 26px; box-sizing: border-box; padding: 0 9px; border: 1px solid var(--nz-line2); border-radius: 6px;
  background: var(--nz-s1); color: var(--nz-fg); font-family: inherit; font-size: var(--t2); outline: none; }
.nz-np-nachname:focus { border-color: var(--nz-now); box-shadow: 0 0 0 2px var(--nz-run-bg); }
.nz-np-esc, .nz-np-ok { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 6px;
  font-family: inherit; font-size: var(--t2); font-weight: 600; cursor: pointer; white-space: nowrap; }
.nz-np-esc { border: 1px solid var(--nz-line2); background: var(--nz-s2); color: var(--nz-fg2); }
.nz-np-esc:hover { background: var(--nz-s3); }
.nz-np-esc kbd, .nz-np-ok kbd { display: inline-flex; align-items: center; height: 18px; padding: 0 5px; border-radius: 4px; font-family: inherit; font-size: var(--t1); font-weight: 600; }
.nz-np-esc kbd { background: var(--nz-s3); color: var(--nz-fg2); }
.nz-np-ok { border: none; background: var(--nz-cta); color: var(--nz-cta-fg); }
.nz-np-ok:hover { background: var(--nz-cta-hover); }
.nz-np-ok kbd { background: rgba(255, 255, 255, .14); color: inherit; }
.nz-np-ok kbd svg { width: 10px; height: 10px; }
.nz-np-pfeil { font-style: normal; }
/* Der Nachname läuft grau im Text mit; das angeklickte Wort trägt die helle Fläche. */
.notes-rich .nz-geist { color: var(--nz-fg4); user-select: none; }
.nz-np-wort { position: absolute; z-index: 0; background: var(--nz-run-soft); border-radius: 3px; pointer-events: none; }

/* ==========================================================================
 * N3 · Die Spalte ERKANNT (§5) — 16.10.2026
 * Kapselreihe und Fällig-Editor sind aus der Palette geliehen (`.pal-*`); die
 * Hülle `.nz-pal` hebt nur die Fenster-Gestalt von `.pal` auf. Die `--pal-*`-
 * Marken stehen in palette.css auch an `.nz-spalte`.
 * ========================================================================== */
.nz-spalte { display: flex; flex-direction: column; min-height: 0; }
.nz-spalte .nz-pal { flex: 1 1 auto; min-height: 0; width: auto; max-width: none; max-height: none; height: 100%;
  display: flex; flex-direction: column; gap: 26px; box-sizing: border-box; padding: 24px 28px;
  border: 0; border-radius: 0; box-shadow: none; background: transparent; overflow: hidden;
  font-size: medium; font-weight: 400; line-height: 1.4; color: var(--nz-fg); }
.notes-container[data-spalte="400"] .nz-pal, .notes-container[data-spalte="overlay"] .nz-pal { padding: 22px; }
.nz-sp-ic { width: 1em; height: 1em; flex: none; }
/* Kopf (§5.1) */
.nz-sp-kopf { flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.nz-sp-titel-k { font-size: var(--t2); font-weight: 600; color: var(--nz-fg); }
.nz-sp-sub { margin-top: 5px; font-size: var(--t2); color: var(--nz-fg2); line-height: 1.4; }
.nz-spalte .nz-sp-zu { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--nz-s2); border: 1px solid var(--nz-line2);
  color: var(--nz-fg); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.nz-sp-zu .nz-sp-ic { width: 13px; height: 13px; }
.nz-spalte .nz-sp-zu:hover { background: var(--nz-s3); }
/* Mitte: scrollt in sich, Balken unsichtbar */
.nz-sp-mitte { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: none; display: flex; flex-direction: column; gap: 26px; }
.nz-sp-mitte::-webkit-scrollbar { display: none; }
/* Personen (§5.2) */
.nz-sp-label { font-size: var(--t2); font-weight: 600; color: var(--nz-fg3); margin-bottom: 12px; }
.nz-sp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.nz-spalte .nz-sp-chip { height: 28px; padding: 0 12px; border-radius: 7px; font-size: var(--t2); font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
  background: var(--nz-run-bg); color: var(--nz-run-fg); white-space: nowrap; }
.nz-sp-chip i { font-style: normal; font-weight: 500; color: var(--nz-fg4); }
.nz-spalte .nz-sp-chip.is-offen { background: transparent; border: 1.5px solid var(--nz-fg); color: var(--nz-fg); cursor: pointer; padding: 0 10.5px; }
.nz-sp-chip.is-offen b { font-weight: 500; color: var(--nz-fg2); }
.nz-spalte .nz-sp-chip.is-offen.is-aktiv, .nz-spalte .nz-sp-chip.is-offen:hover { background: var(--nz-run-soft); }
.nz-sp-np-host:empty { display: none; }
.nz-sp-np-host .nz-np-fluss { height: auto !important; margin-top: 10px; overflow: visible; }
.nz-sp-np-host .nz-np { background: var(--nz-s1); }
/* Blöcke und Listen (§5.3) */
.nz-sp-block { display: flex; flex-direction: column; gap: 18px; }
.nz-sp-blockkopf { display: flex; justify-content: space-between; gap: 12px; font-size: var(--t2); color: var(--nz-fg3); margin-bottom: -4px; }
.nz-sp-blockkopf > span:first-child { font-weight: 600; }
.nz-sp-liste { display: flex; flex-direction: column; gap: 10px; }
.nz-sp-ueber { display: flex; align-items: baseline; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--nz-fg); margin-bottom: 0; }
.nz-sp-ueber-t { font-size: var(--t4); font-weight: 600; color: var(--nz-fg); }
.nz-sp-ueber-n { font-size: var(--t2); color: var(--nz-fg3); }
.nz-sp-ueber-w { display: inline-flex; align-self: center; color: var(--nz-fg3); }
.nz-sp-ueber-w .nz-sp-ic { width: 12px; height: 12px; }
.nz-sp-ueber-hint { margin-left: auto; font-size: var(--t2); color: var(--nz-fg3); font-weight: 400; }
.nz-sp-ueber.is-zu { cursor: pointer; }
.nz-sp-kasten { background: var(--nz-s1); border: 1px solid var(--nz-line); border-radius: 6px; overflow: hidden; }
.nz-sp-band { height: 30px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(20, 22, 24, .035); border-bottom: 1px solid var(--nz-line); font-size: var(--t2); font-weight: 600; color: var(--nz-fg); }
.nz-sp-band-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nz-sp-band.is-ohne { cursor: pointer; }
.nz-sp-band.is-ohne .nz-sp-band-name { color: var(--nz-fg3); font-weight: 500; }
.nz-sp-band-hint { color: var(--nz-fg4); font-weight: 400; white-space: nowrap; }
/* 29.10.2026 — eine Liste in Textfolge: das Band nennt eine Rückmeldung (rechts, wie der Kopf der Hover-Karte),
   ein Vorschlag trägt statt des Kreises die Raute vom Blattrand (◇), und Zeilen zu Sätzen außerhalb des
   Blatt-Ausschnitts treten zurück (`is-fern`, notizenSpalte.sichtAbgleich). */
.nz-sp-band-art { margin-left: auto; font-size: var(--t1); font-weight: 600; color: var(--nz-fg2); white-space: nowrap; }
.nz-sp-band.is-ohne .nz-sp-band-art + .nz-sp-band-hint { margin-left: 0; }
.nz-sp-raute { flex: none; width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center; }
.nz-sp-raute::before { content: ''; width: 8px; height: 8px; border: 1.5px solid var(--nz-fg2); border-radius: 1px; transform: rotate(45deg); box-sizing: border-box; }
.nz-sp-liste > [data-sp-reihe] { transition: opacity .15s; }
.nz-sp-liste > .is-fern { opacity: .45; }
.nz-sp-liste > .is-fern:hover, .nz-sp-liste > .is-fern:focus-within { opacity: 1; }
.nz-sp-zeile { min-height: 44px; padding: 8px 16px 8px 24px; display: flex; align-items: center; gap: 12px; cursor: pointer; background: var(--nz-s1); box-sizing: border-box; }
.nz-sp-zeile.is-ziel { box-shadow: inset 0 0 0 1.5px var(--nz-fg); }
.nz-sp-kreis { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--nz-line2); box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; }
.nz-sp-kreis.is-ok { background: var(--nz-ok-soft); border-color: transparent; color: var(--nz-ok); }
.nz-sp-kreis .nz-sp-ic { width: 9px; height: 9px; stroke-width: 2.6; }
.nz-sp-titel { flex: 1 1 auto; min-width: 0; font-size: var(--t4); color: var(--nz-fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nz-sp-zeile.is-erledigt .nz-sp-titel { color: var(--nz-fg3); text-decoration: line-through; }
/* Titel der Prüfen-Karte: ein echtes Feld (Vorgabe Thomas 28.10.2026), gezeichnet wie der Text. */
.nz-sp-titel-ein { border: 0; background: transparent; padding: 0; margin: 0; font: inherit; font-size: var(--t4); line-height: inherit; color: var(--nz-fg); outline: none; cursor: text; text-overflow: ellipsis; }
.nz-sp-titel-ein:focus { text-overflow: clip; }
.nz-sp-trenn { flex: none; width: 1px; height: 18px; background: var(--nz-line); }
.nz-sp-meta { flex: none; display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.nz-sp-datum { font-size: var(--t2); font-weight: 600; color: var(--nz-fg); display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.nz-sp-datum.is-ueber { color: var(--nz-ac); }
/* 81d: solange der Fällig-Editor offen ist, trägt das Datum der Zeile die Kante. */
.nz-sp-kasten:has(> .nz-sp-ed) .nz-sp-datum, .nz-sp-pruef:has(.nz-sp-ed) .nz-sp-zeile .nz-sp-datum { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.nz-sp-fahne { width: 9px; height: 9px; }
.nz-sp-aufwand { font-size: var(--t2); color: var(--nz-fg2); display: inline-flex; align-items: center; gap: 4px; }
.nz-sp-aufwand .nz-sp-ic { width: 12px; height: 12px; }
.nz-sp-leer { font-size: var(--t2); color: var(--nz-fg3); }
/* Prüfen-Karte (§6.2) */
/* 1:1 81b (Prototyp Z. 1009–1016): Fläche #F6F6F5, Rand .2, Radius 16, Polster 14/10/12, Kinder 4 px eingerückt. */
.nz-sp-pruef { background: var(--nz-pruef-bg); border: 1px solid var(--nz-line2); border-radius: 16px; padding: 14px 10px 12px; display: block; }
.nz-sp-pruef > * { margin-left: 4px; margin-right: 4px; }
.nz-sp-pruef-kopf { display: flex; justify-content: space-between; gap: 12px; font-size: var(--t2); color: var(--nz-fg3); margin-bottom: 10px; }
.nz-sp-pruef-kopf > span:first-child { font-weight: 600; color: var(--nz-fg); }
.nz-sp-quelle { font-size: var(--t4); line-height: 1.55; font-weight: 500; letter-spacing: -.006em; color: var(--nz-fg); }
.nz-sp-pruef > .nz-sp-reihe { margin-top: 14px; }
.nz-sp-pruef > .nz-sp-kasten { margin-top: 16px; }
.nz-sp-pruef > .nz-sp-pruef-fuss { margin-top: 14px; }
.nz-sp-u { text-decoration: none; border-bottom: 2px solid var(--nz-fg); font-weight: 600; }
.nz-sp-u.is-frist { border-bottom-color: var(--nz-fg2); color: var(--nz-fg2); }
.nz-sp-u.is-art { font-weight: inherit; }   /* 81b: das Art-Wort trägt nur die Linie */
.nz-sp-u.is-person.is-offen { font-weight: 400; border-bottom-color: var(--nz-linie-vorname); }
.nz-spalte .nz-sp-reihe { padding: 0; flex-wrap: wrap; row-gap: 6px; }
.nz-sp-pruef-fuss { display: flex; align-items: center; gap: 14px; }
.nz-sp-pruef-fuss .nz-sp-cta { margin-left: auto; }
.nz-sp-ic-zu { width: 10px; height: 10px; transform: rotate(90deg); }
/* Knöpfe (§5.4) */
.nz-spalte .nz-sp-link { background: none; border: 0; padding: 0; font: inherit; font-size: var(--t2); color: var(--nz-fg2); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nz-spalte .nz-sp-link:hover { color: var(--nz-fg); }
.nz-spalte .nz-sp-cta { height: 36px; padding: 0 6px 0 14px; border-radius: 7px; border: 0; cursor: pointer; background: var(--nz-cta); color: #FFFFFF;
  font: inherit; font-size: var(--t3); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.nz-spalte .nz-sp-cta:hover { background: #000000; }
.nz-spalte .nz-sp-cta.is-klein { height: 32px; }
.nz-sp-cta kbd { height: 22px; padding: 0 7px; border-radius: 6px; background: rgba(255, 255, 255, .14); font: inherit; font-size: var(--t2); font-weight: 600; display: inline-flex; align-items: center; gap: 2px; }
.nz-sp-cta kbd .nz-sp-ic { width: 11px; height: 11px; }
.nz-spalte .nz-sp-board { height: 32px; padding: 0 12px 0 14px; border-radius: 7px; background: var(--nz-s2); border: 1px solid var(--nz-line2); color: var(--nz-fg);
  font: inherit; font-size: var(--t3); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nz-sp-board .nz-sp-ic { width: 11px; height: 11px; }
.nz-sp-fuss { flex: none; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--nz-line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.nz-sp-still { font-size: var(--t2); color: var(--nz-fg3); }
/* Fällig-Editor unter der Zeile (§6.5): die Palette, unverändert */
.nz-sp-ed { padding: 10px; border-top: 1px solid var(--nz-line); background: var(--nz-s2); }
.nz-sp-ed .pal-ed { padding-top: 0; }
/* Dunkel */
.dark .nz-sp-band { background: rgba(255, 255, 255, .05); }
.dark .nz-spalte .nz-sp-cta { color: var(--nz-p); }
.dark .nz-spalte .nz-sp-cta:hover { background: #FFFFFF; }
.dark .nz-sp-cta kbd { background: rgba(0, 0, 0, .14); }

/* ==========================================================================
   N5 · Satz mit Aufgabe löschen (§7, 86a–c) — die Notiz unter dem Satz
   300 breit, left −46 / top +12 (unter 1366: left 0 des Textes, aus notizenSatz.js),
   --s1, Rand 1px rgba(20,22,24,.12), Radius 6, Schatten 0 12px 34px .2, Polster 12/14/14/16.
   ========================================================================== */
.nz-loesch { position: absolute; z-index: 40; width: 300px; box-sizing: border-box; padding: 12px 14px 14px 16px;
  background: var(--nz-s1); border: 1px solid var(--nz-loesch-rand, #E2E3E3); border-radius: 6px; box-shadow: var(--nz-shadow-notiz);
  color: var(--nz-fg); font-family: var(--font); outline: none; }
.nz-loesch-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nz-loesch-k { font-size: var(--t1); font-weight: 600; color: var(--nz-fg); }
.nz-loesch-esc { height: 34px; padding: 0 6px 0 12px; border-radius: 7px; background: var(--nz-s2-weiss); border: 1px solid var(--nz-line2);
  color: var(--nz-fg); display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font: inherit; }
.nz-loesch-esc kbd { height: 22px; padding: 0 7px; border-radius: 6px; background: var(--nz-s3); font: inherit; font-size: var(--t2); font-weight: 600; display: inline-flex; align-items: center; }
.nz-loesch-titel { margin-top: 6px; font-size: var(--t4); font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.nz-loesch-meta { margin-top: 4px; font-size: var(--t2); font-weight: 700; color: var(--nz-fg); }
.nz-loesch-liste { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.nz-loesch-zt { font-size: var(--t3); font-weight: 700; line-height: 1.3; }
.nz-loesch-zm { font-size: var(--t2); color: var(--nz-fg2); margin-top: 1px; }
.nz-loesch-mehr { font-size: var(--t2); color: var(--nz-fg2); }
.nz-loesch-hint { margin-top: 10px; font-size: var(--t2); line-height: 1.45; color: var(--nz-fg2); }
.nz-loesch-fuss { margin-top: 12px; display: flex; justify-content: flex-end; }
.nz-loesch-ok { height: 34px; padding: 0 6px 0 14px; border-radius: 7px; border: 0; cursor: pointer; background: var(--nz-cta); color: #FFFFFF;
  font: inherit; font-size: var(--t3); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.nz-loesch-ok:hover { background: var(--nz-cta-hover); }
.nz-loesch-ok kbd { height: 22px; padding: 0 7px; border-radius: 6px; background: rgba(255, 255, 255, .14); font: inherit; font-size: var(--t2); font-weight: 600; display: inline-flex; align-items: center; }
.nz-loesch-ok:focus-visible, .nz-loesch-esc:focus-visible { outline: 2px solid var(--nz-now); outline-offset: 2px; }
/* Der Satz, der gelöscht wird: blass, Linien .12, gestrichelter Rahmen um den Bereich (eine Fläche in der Bühne). */
.notes-container .notes-rich .nz-loeschen, .notes-container .notes-rich .nz-loeschen .nt-person { color: var(--nz-fg4); }
.notes-container .notes-rich .nz-loeschen-bereich, .notes-container .notes-rich .nz-loeschen-bereich .nt-person { color: var(--nz-fg4); }
.notes-container .notes-rich .nz-loeschen-bereich .nt-tok, .notes-container .notes-rich .nz-loeschen .nt-tok, .notes-container .notes-rich .nz-loeschen .nt-person { border-bottom-color: rgba(20, 22, 24, .12); color: var(--nz-fg4); font-weight: 400; }   /* 86a: blass, ohne Fettung */
.nz-loesch-rahmen { position: absolute; z-index: 2; pointer-events: none; box-sizing: border-box; border: 1.5px dashed var(--nz-line2); border-radius: 3px; }
.dark .nz-loesch { --nz-loesch-rand: #2E3032; box-shadow: 0 12px 34px rgba(0, 0, 0, .5); }
.dark .nz-loesch-ok { color: var(--nz-p); }
.dark .nz-loesch-ok:hover { background: #FFFFFF; }
.dark .nz-loesch-ok kbd { background: rgba(0, 0, 0, .14); }
.dark .notes-container .notes-rich .nz-loeschen-bereich .nt-tok, .dark .notes-container .notes-rich .nz-loeschen .nt-tok, .dark .notes-container .notes-rich .nz-loeschen .nt-person { border-bottom-color: rgba(255, 255, 255, .14); }

/* ==========================================================================
   N7 · Die Karte beim Überfahren von ◆/● (§6.3, 85a): 326 breit, unter dem Satz
   (left −46, top +8), --s1, Rand --line, Radius 6, Schatten 0 12px 30px .2;
   Kopf 30 (Polster 0 14, Fläche .035, Name t2/600, Art t1/600 --fg2); die Zeile
   ist die der Spalte (§5.3) mit Polster 8 14.
   ========================================================================== */
.nz-hover { position: absolute; z-index: 35; width: 326px; box-sizing: border-box; background: var(--nz-s1); border: 1px solid var(--nz-line);
  border-radius: 6px; box-shadow: var(--nz-shadow); overflow: hidden; font-family: var(--font); color: var(--nz-fg); }
.nz-hover-kopf { height: 30px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #F7F7F7; border-bottom: 1px solid var(--nz-line); }
.nz-hover-name { font-size: var(--t2); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nz-hover-art { font-size: var(--t1); font-weight: 600; color: var(--nz-fg2); white-space: nowrap; }
.nz-hover .nz-sp-zeile { padding: 8px 14px; min-height: 44px; }
.nz-hover .nz-sp-kreis { cursor: pointer; }
.nz-hover .nz-sp-kreis:hover { border-color: var(--nz-ok); }
.nz-hover .nz-sp-datum { cursor: default; }
.dark .nz-hover { box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.dark .nz-hover-kopf { background: #1F2123; }
/* Der Satz, dessen Karte offen ist, bekommt nichts — die Marke trägt ihr Hover-Feld. */

/* ==========================================================================
   1:1-Abgleich gegen die 12 Screens (20.10.2026): Zeilenhöhen der Spalte.
   Gemessen an 81a: die kleine Schrift (t2) steht im Prototyp auf 14 px
   Zeilenabstand, die Listenüberschrift auf 18 — mit dem geerbten 1.4 lief die
   Spalte bis zur zweiten Liste 25 px zu tief.
   ========================================================================== */
.nz-spalte .nz-sp-sub { margin-top: 2px; line-height: 14px; }
.nz-spalte .nz-sp-label, .nz-spalte .nz-sp-blockkopf { line-height: 14px; }
.nz-spalte .nz-sp-ueber-t { line-height: 18px; }
.nz-spalte .nz-sp-blockkopf { margin-bottom: -7px; }
.nz-spalte .nz-sp-ueber { padding-bottom: 6px; }
/* Der Rhythmus des Blatts (NOTIZEN_v10 §4.2, gemessen an 81a): „gap 6 zwischen Zeilen,
   Absatzabstand margin-top 14" — Listenpunkte 6 px auseinander, Absätze 6 + 14 = 20.
   Weiter über MARGINS (siehe notes.css: kein Flex-Kasten, `.nt-cont` bleibt bei 0). */
.notes-container .notes-rich li + li { margin-top: 6px; }
.notes-container .notes-rich > * + p, .notes-container .notes-rich > * + div, .notes-container .notes-rich > * + ul,
.notes-container .notes-rich > * + ol, .notes-container .notes-rich > * + blockquote,
.notes-container .notes-rich > * + table, .notes-container .notes-rich > * + figure { margin-top: 20px; }
/* Titel → Metazeile → Trennlinie → Text, gemessen an 81a (Glyphen-Oberkanten 140 · 198 · 283). */
.notes-container .nz-meta { margin-top: 16px; line-height: 16px; }
.notes-container .nz-trenn { margin: 30px 0 34px; }
.notes-container .nz-titel { margin-top: 2px; }
/* 81a: Liste 18 px eingerückt (Text der Punkte 18 px rechts vom Fließtext), Punkt 12 davor;
   die Beschriftungen der Metazeile in normalem Gewicht. */
.notes-container .notes-rich ul, .notes-container .notes-rich ol { padding-left: 18px; }
.notes-container .notes-rich ol:has(> li:nth-child(10)) { padding-left: 26px; }   /* „10." passt (28.10.2026) */
.notes-container .notes-rich ol:has(> li:nth-child(100)) { padding-left: 34px; }
.notes-container .nz-meta-lab { font-weight: 400; }

/* Personensuche in der Prüfen-Karte (Testbefund Markus 28.10.2026): unter der Kapselreihe, wie die Palette. */
.nz-sp-suche { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.nz-sp-wahl { height: 26px; padding: 0 10px; border-radius: 13px; border: 1px solid var(--nz-line); background: var(--nz-p, #fff); color: var(--nz-fg);
  font: inherit; font-size: var(--t2); font-weight: 500; cursor: pointer; white-space: nowrap; }
.nz-sp-wahl.is-erst { border-color: var(--pal-lila, #6E56CF); }
.nz-sp-wahl:hover { background: var(--nz-s2-weiss); }
.nz-sp-suche-leer { font-size: var(--t2); color: var(--nz-fg3, #6F6A58); }

/* Testbefund Markus 28.10.2026: in der schmalen Spalte lief die Zeile NEUE PERSON rechts hinaus
   („A…" vom Knopf Anlegen). Dort darf sie umbrechen; das Feld nimmt den Rest der ersten Zeile. */
.nz-spalte .nz-np { flex-wrap: wrap; height: auto; row-gap: 6px; }
.nz-spalte .nz-np-nachname { flex: 1 1 110px; width: auto; min-width: 0; }
