/* Referenz-Maße platform.openai.com (design-quality 6d/6e, app-bausatz/references/openai-masse-2026-10-12.md), D-26, 04.11.2026.
   Letzte Schicht über allen Seitenstilen des internen Portals (das öffentliche Formular bleibt unberührt).
   Schrift und Farben bleiben Riedl. Bedienhöhen 32 nur mit Maus/Trackpad; Handy und Tablet behalten 44 px. */

/* ---- Tokens: Radienleiter, Leiste, kurze Bewegungen (Farbwechsel höchstens 0,15 s) ---- */
:root{--radius-karte:10px;--radius-knopf:8px;--radius-klein:6px;--radius-marke:4px;--radius-pill:999px;
  --leiste-breite:260px;--dauer-1:100ms;--dauer-2:150ms}

/* ---- Schrift: Grundtext 14/20, Seitentitel 20/32, Abschnitt 16/24, Hinweis 12/16 ---- */
html body{font-size:14px;line-height:20px}
html body .inhalt p.sub,html body .inhalt .sub{font-size:14px;line-height:20px}
html body .inhalt h1,html body .inhalt .hilfe h1,html body .anmeldung h1,html body .inhalt .loesch-karte h1{font-family:var(--font);font-size:20px;line-height:32px;font-weight:600;letter-spacing:0;margin:0 0 4px}
html body .inhalt .hilfe-hero h1{font-size:20px;line-height:32px}
html body .inhalt h2,html body .inhalt .karten-titel,html body .inhalt .hilfe h2,html body .inhalt .weg-dialog h2,html body dialog h2{font-size:16px;line-height:24px;font-weight:600;letter-spacing:0}
html body .inhalt h3,html body .inhalt .hilfe h3{font-size:14px;line-height:20px;font-weight:600;letter-spacing:0}
html body .hilfe-thema p,html body .hilfe-seite p{font-size:14px;line-height:20px}
html body .inhalt .raster dt,html body .inhalt dl dt{font-size:12px;line-height:16px;font-weight:600;text-transform:none;letter-spacing:0;color:var(--text-2)}
html body .inhalt .raster dd,html body .inhalt dl dd{font-size:14px;line-height:20px}
html body .feld label{font-size:14px;line-height:20px;font-weight:600}
html body .karten-hinweis,html body .kunden-stand,html body .kunden-eyebrow{font-size:12px;line-height:16px}

/* Tabellen: Kopf 12/16 halbfett ohne Großbuchstaben, Zellen 14/20 */
html body .tabelle{font-size:14px;line-height:20px}
html body .inhalt .tabelle th{font-size:12px;line-height:16px;font-weight:600;text-transform:none;letter-spacing:0;color:var(--text-2);padding:6px 8px}
html body .inhalt .tabelle td{padding:12px 8px}

/* Navigation 14/20, Gruppen 12 */
html body .nav a,html body .nav .aus,html body .nav-bald,html body .leiste-fuss a{font-size:14px;line-height:20px}
html body .nav .gruppe{font-size:12px;letter-spacing:0;text-transform:none}

/* Knöpfe: Text 14/20 halbfett-mittel, Primärknopf eckig wie die anderen (Radienleiter 8) */
html body .knopf,html body button.knopf{font-size:14px;line-height:20px;font-weight:500}
html body .inhalt .knopf.primaer,html body .knopf.primaer{border-radius:var(--radius-knopf)}
html body .inhalt .knopf.klein{border-radius:var(--radius-klein)}

/* Radien: Karten 10, Badges 4, Filter-Pillen/Avatar rund */
html body .inhalt :is(.karte,.hilfe,.kartei-karte,.kartei-werkzeuge,.tk-calendar,.loesch-karte,.tabelle-wrap),html body dialog.eingabe-dialog,html body .tk-dialog{border-radius:var(--radius-karte)}
html body .inhalt :is(.pill,.kunden-status,.kunden-anzahl,.kartei-terminstatus){border-radius:var(--radius-marke)}
html body .nav a,html body .nav .aus,html body .leiste-fuss a{border-radius:var(--radius-karte)}

/* ---- Bewegung (6d Punkt 9/10): nie Größe, Schatten oder Filter animieren ---- */
/* Kunden-Kärtchen: Hebe-Schatten als zweite Ebene, nur deren Deckkraft bewegt sich */
html body .inhalt .kartei-karte{transition:transform var(--dauer-2) ease-out,border-color var(--dauer-2)}
html body .inhalt .kartei-karte:hover{box-shadow:var(--schatten-1)}
html body .inhalt .kartei-karte::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:var(--schatten-2);opacity:0;transition:opacity var(--dauer-2) ease-out;pointer-events:none}
html body .inhalt .kartei-karte:hover::after{opacity:1}
/* Fortschrittsbalken springen statt zu wachsen; Kalender ohne animierten Filter */
html body .schritte-balken i{transition:none}
html body .tk-event{transition:none}

/* ---- Bedienhöhen am Desktop mit Maus: Knopf/Feld 32, klein 28, Navigation 36, Leiste 260, Rand 24 ---- */
@media (min-width:761px) and (pointer:fine){
  html body .knopf,html body button.knopf,html body .inhalt .knopf,html body .inhalt .tk-switch a,html body .inhalt .tk-navigation a{min-height:32px;padding:0 12px}
  html body .knopf.klein,html body .inhalt .knopf.klein{min-height:28px;padding:0 10px}
  html body .inhalt .knopf.primaer{padding:0 14px}
  html body .feld input:not([type=checkbox]):not([type=radio]):not([type=file]),html body .feld select,html body .inhalt input:is([type=text],[type=email],[type=tel],[type=date],[type=time],[type=search],[type=number]),html body .inhalt select{box-sizing:border-box;height:32px;min-height:32px;padding:6px 12px;font-size:14px;line-height:20px}
  html body .feld textarea{padding:6px 12px;font-size:14px;line-height:20px}
  html body .feld{gap:8px}
  html body .nav{gap:0}
  html body .nav a,html body .nav .aus,html body .nav-bald{min-height:36px;padding:0 10px;gap:8px}
  html body .leiste-fuss a{min-height:36px;padding:0 10px;gap:8px}
  html body aside.leiste{padding:16px 8px}
  html body .kopf{padding:12px 24px}
  html body .kopf .suchknopf{min-height:36px;padding:0 12px}
  html body .rund,html body .avatar{width:32px;height:32px}
  html body main.inhalt{padding:24px 24px 32px}
  html body .inhalt .karte{padding:16px}
  html body .link-knopf{min-height:28px}
}
