/**
 * Leichtathletikrechner — Gestaltung.
 *
 * Leitbild ist der Wettkampfbogen auf dem Klemmbrett, nicht die Produktseite:
 * Papierton statt Farbverlauf, Linien statt Kästen, Messwerte in einer
 * Schreibmaschinenschrift mit gleich breiten Ziffern. Keine abgerundeten
 * Ecken, keine Schlagschatten, keine dekorativen Farbbalken.
 *
 * Alle Schriften liegen unter schriften/ — die Seite lädt nichts von außen.
 */

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('schriften/barlow-condensed-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('schriften/barlow-condensed-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('schriften/barlow-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('schriften/barlow-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('schriften/barlow-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('schriften/plex-mono-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('schriften/plex-mono-600.woff2') format('woff2');
}

:root {
  color-scheme: light;

  --papier: #f2efe9;
  --flaeche: #fbfaf8;
  --weiss: #ffffff;
  --tinte: #16181a;
  --tinte-weich: #3d4145;
  --grau: #6f6b64;
  --linie: #d5cec2;
  --linie-fein: #e6e1d7;
  --signal: #b23a1f;
  --signal-hell: #f3e3dd;

  --kondens: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --text: 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  --spalte: 60px;   /* Breite der außenliegenden Schrittziffer */
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}

.app-shell {
  position: relative;
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 0 24px 72px;
}

.hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Kopfleiste ---------- */

.topbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 14px;
  border-bottom: 1px solid var(--linie);
}

.wortmarke {
  font-family: var(--kondens);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tinte);
  text-decoration: none;
}

.wortmarke span {
  color: var(--signal);
}

.topbar-actions {
  display: flex;
  gap: 22px;
}

.linkbutton {
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid var(--linie);
  background: none;
  color: var(--grau);
  font-family: var(--kondens);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.14s ease, border-color 0.14s ease;
}

.linkbutton:hover,
.linkbutton[aria-expanded='true'] {
  color: var(--signal);
  border-color: var(--signal);
}

/* ---------- Titelblock ---------- */

.titelblock {
  position: relative;
  padding: 40px 0 30px;
  border-bottom: 2px solid var(--tinte);
}

.kicker {
  margin: 0 0 14px;
  font-family: var(--kondens);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--signal);
}

/* „Leichtathletikrechner" ist ein sehr langes Wort. Ohne Trennung ragte es auf
   schmalen Geräten über den Rand hinaus und wurde abgeschnitten. */
.titelblock h1 {
  margin: 0;
  font-family: var(--kondens);
  font-size: clamp(34px, 11vw, 108px);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  hyphens: auto;
  overflow-wrap: break-word;
}

.lead {
  max-width: 44ch;
  margin: 20px 0 0;
  color: var(--tinte);
  font-size: 19px;
  line-height: 1.45;
}

/* Kopfdaten wie auf einem Wettkampfbogen: rechts neben dem Titel, in
   beschrifteten Feldern. Füllt den Raum mit Information statt Dekoration. */
.titel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 26px 0 0;
  border-top: 1px solid var(--linie-fein);
}

.titel-meta > div {
  flex: 0 1 auto;
  padding: 10px 26px 2px 0;
  margin-right: 26px;
  border-right: 1px solid var(--linie-fein);
}

.titel-meta > div:last-child {
  border-right: 0;
  margin-right: 0;
}

.titel-meta dt {
  font-family: var(--kondens);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grau);
}

.titel-meta dd {
  margin: 2px 0 0;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--tinte);
}

.nur-druck {
  display: none;
}

/* ---------- Aufklappende Hinweisfelder ---------- */

/* Öffnet direkt unter dem auslösenden Knopf in der Kopfleiste, nicht mitten
   im Inhalt – deshalb an die Hülle gebunden statt an den Titelblock. */
.source-panel {
  position: absolute;
  right: 24px;
  top: 56px;
  z-index: 5;
  display: grid;
  gap: 5px;
  width: min(420px, 100%);
  padding: 18px 20px;
  border: 1px solid var(--tinte);
  background: var(--weiss);
  color: var(--tinte-weich);
  font-size: 14.5px;
  line-height: 1.55;
}

.source-panel > strong {
  font-family: var(--kondens);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tinte);
}

.source-werk + .source-werk {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--linie-fein);
}

.source-werk-titel {
  display: block;
  font-weight: 600;
  color: var(--tinte);
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 8px;
}

.source-links a {
  color: var(--signal);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.source-links a:hover {
  color: var(--tinte);
}

.source-hinweis {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--linie-fein);
  font-size: 14px;
}

.source-hinweis a {
  color: var(--signal);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  white-space: nowrap;
}

/* ---------- Wettkampfformen als Bahnen ---------- */

.bahnen {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--linie);
}

.bahn {
  position: relative;
  flex: 1 1 180px;
  display: block;
  padding: 16px 18px 15px;
  border: 0;
  border-right: 1px solid var(--linie-fein);
  border-bottom: 3px solid transparent;
  background: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.bahn:last-child {
  border-right: 0;
}

.bahn:hover .bahn-titel {
  color: var(--signal);
}

/* Der aktive Eintrag wird über Schrift und Unterstrich markiert, nicht über
   eine eigene Fläche – sonst entsteht wieder der Kasteneindruck. */
.bahn.is-active {
  border-bottom-color: var(--signal);
}

.bahn.is-active .bahn-titel {
  color: var(--signal);
}

.bahn.is-planned {
  cursor: default;
  opacity: 0.5;
}

.bahn-nr {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--grau);
}

.bahn.is-active .bahn-nr {
  color: var(--signal);
}

.bahn-titel {
  display: block;
  margin-top: 3px;
  font-family: var(--kondens);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
}

.bahn-sub {
  display: block;
  color: var(--grau);
  font-size: 13.5px;
}

/* ---------- Schritte ---------- */

.schritt {
  display: grid;
  grid-template-columns: var(--spalte) minmax(0, 1fr);
  gap: 0 22px;
  padding: 34px 0 32px;
  border-bottom: 1px solid var(--linie);
}

/* Große Konturziffer wie eine Startnummer – gliedert die Seite, ohne als
   weitere Fläche zu konkurrieren. */
.schritt-nr {
  font-family: var(--kondens);
  font-size: 62px;
  font-weight: 700;
  line-height: 0.82;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--linie);
  user-select: none;
}

@supports not (-webkit-text-stroke: 1px red) {
  .schritt-nr {
    color: var(--linie);
  }
}

/* Die Liste ist kein Arbeitsschritt, sondern das Ergebnis: An der Stelle der
   Schrittnummer steht daher der Zählerstand. */
.schritt-zaehler {
  display: grid;
  align-content: start;
  gap: 4px;
  line-height: 0.82;
}

.zaehler-label {
  font-family: var(--kondens);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grau);
  -webkit-text-stroke: 0;
}

.schritt-inhalt {
  min-width: 0;
}

.schritt h2 {
  margin: 0 0 8px;
  font-family: var(--kondens);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1;
}

.intro {
  max-width: 62ch;
  margin: 0 0 22px;
  color: var(--grau);
  font-size: 15.5px;
}

.panel-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.panel-header h2 {
  margin: 0;
}

.panel-header .intro {
  margin: 6px 0 0;
}

.panel-actions {
  display: flex;
  gap: 8px;
}

/* ---------- Formular ---------- */

.form-grid {
  display: grid;
  gap: 18px 20px;
  margin-bottom: 22px;
}

.class-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.student-grid {
  grid-template-columns: minmax(240px, 1.2fr) minmax(220px, 1fr);
}

.form-group {
  display: grid;
  gap: 7px;
  align-content: start;
}

label {
  font-family: var(--kondens);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grau);
}

label .muted {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

input,
select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--linie);
  border-radius: 0;
  background: var(--weiss);
  color: var(--tinte);
  font-family: var(--text);
  font-size: 16px;
  transition: border-color 0.14s ease;
}

input:focus,
select:focus {
  outline: 2px solid var(--signal);
  outline-offset: -2px;
  border-color: var(--signal);
}

input::placeholder {
  color: #a8a29a;
}

.feldhinweis {
  margin: 0;
  color: var(--grau);
  font-size: 13px;
  line-height: 1.45;
}

/* Aufzählung auf der Vorlage für die Schulleitung. */
.klarliste {
  max-width: 68ch;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.klarliste li {
  position: relative;
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid var(--linie-fein);
  color: var(--tinte-weich);
  font-size: 15.5px;
}

.klarliste li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 1px;
  background: var(--signal);
}

.klarliste strong {
  color: var(--tinte);
}

select {
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--tinte) 50%),
                    linear-gradient(135deg, var(--tinte) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

/* ---------- Schaltflächen ---------- */

.primary-btn,
.secondary-btn,
.gender-button,
.discipline-button,
.event-option,
.optional-btn {
  border-radius: 0;
  font-family: var(--kondens);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.primary-btn {
  padding: 13px 26px;
  border: 1px solid var(--tinte);
  background: var(--tinte);
  color: var(--papier);
  font-size: 17px;
}

.primary-btn:hover:not(:disabled) {
  background: var(--signal);
  border-color: var(--signal);
}

.primary-btn:disabled {
  border-color: var(--linie);
  background: transparent;
  color: #a8a29a;
  cursor: not-allowed;
}

.secondary-btn {
  padding: 9px 15px;
  border: 1px solid var(--linie);
  background: transparent;
  color: var(--tinte);
  font-size: 14px;
}

.secondary-btn:hover {
  border-color: var(--tinte);
}

.compact-btn {
  padding: 8px 13px;
}

.add-student-btn {
  margin-top: 22px;
}

/* ---------- Aktuelle Lerngruppe ---------- */

.class-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-left: 3px solid var(--signal);
  background: var(--flaeche);
}

.class-info .muted {
  display: block;
  font-family: var(--kondens);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grau);
}

.class-info strong {
  display: block;
  font-family: var(--kondens);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
}

/* ---------- Geschlecht ---------- */

.gender-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.gender-button {
  padding: 12px 14px;
  border: 1px solid var(--linie);
  background: var(--weiss);
  color: var(--tinte-weich);
  font-size: 15px;
}

.gender-button + .gender-button {
  border-left: 0;
}

.gender-button:hover {
  border-color: var(--tinte);
  color: var(--tinte);
}

.gender-button.active {
  border-color: var(--tinte);
  background: var(--tinte);
  color: var(--papier);
}

/* ---------- Leistungsbereiche ---------- */

.event-groups {
  display: grid;
  gap: 0;
  margin-bottom: 4px;
  border-top: 1px solid var(--linie-fein);
}

.event-group {
  padding: 20px 0;
  border-bottom: 1px solid var(--linie-fein);
}

.event-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.category-kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grau);
}

.optional-group .category-kicker {
  color: var(--signal);
}

.event-group h3 {
  margin: 2px 0 0;
  font-family: var(--kondens);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.discipline-prompt {
  margin: 0 0 9px;
  font-family: var(--kondens);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grau);
}

.discipline-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.discipline-button {
  padding: 9px 15px;
  border: 1px solid var(--linie);
  background: var(--weiss);
  color: var(--tinte-weich);
  font-size: 15px;
}

.discipline-button:hover {
  border-color: var(--tinte);
  color: var(--tinte);
}

.discipline-button.selected {
  border-color: var(--tinte);
  background: var(--tinte);
  color: var(--papier);
}

.selection-hint {
  margin: 0;
  color: var(--grau);
  font-size: 14.5px;
}

/* Leistungsskala: Note groß in Mono, Grenzwert klein darunter.
   Die Trennlinien entstehen aus dem Raster-Abstand auf dunklem Grund – so
   sitzen sie auch nach einem Umbruch auf schmalen Geräten korrekt. */
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 1px;
  border: 1px solid var(--linie);
  background: var(--linie);
}

/* Solange keine Disziplin gewählt ist, steht dort nur ein Hinweis –
   der braucht keinen Rahmen. */
.option-grid.ist-leer {
  border: 0;
  background: none;
}

.event-option {
  display: grid;
  gap: 3px;
  padding: 12px 12px 13px;
  border: 0;
  background: var(--weiss);
  color: var(--tinte);
  text-align: left;
}

.event-option span {
  order: -1;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--tinte);
}

.event-option strong {
  font-family: var(--text);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--grau);
  line-height: 1.35;
}

.event-option:hover {
  background: var(--signal-hell);
}

.event-option.selected {
  background: var(--tinte);
  color: var(--papier);
}

.event-option.selected span,
.event-option.selected strong {
  color: var(--papier);
}

.optional-btn {
  margin-top: 18px;
  padding: 9px 15px;
  border: 1px dashed var(--linie);
  background: transparent;
  color: var(--grau);
  font-size: 14px;
}

.optional-btn:hover {
  border-style: solid;
  border-color: var(--tinte);
  color: var(--tinte);
}

/* ---------- Ergebnis ---------- */

@keyframes ergebnis-einblenden {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
}

.summary-card {
  animation: ergebnis-einblenden 0.24s ease-out;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 22px 0 0;
  border-top: 2px solid var(--tinte);
}

.summary-label {
  display: block;
  font-family: var(--kondens);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grau);
}

.summary-note {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: clamp(52px, 12vw, 82px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--signal);
}

.summary-card p {
  max-width: 42ch;
  margin: 10px 0 0;
  color: var(--grau);
  font-size: 14.5px;
}

.qr-export {
  display: grid;
  gap: 7px;
  justify-items: start;
}

#qrCode {
  padding: 6px;
  border: 1px solid var(--linie);
  background: var(--weiss);
  line-height: 0;
}

#qrCode canvas {
  display: block;
}

/* ---------- Liste ---------- */

.empty-state {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid var(--linie-fein);
  color: var(--grau);
  font-size: 15px;
}

.table-wrapper {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--tinte);
}

table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 14.5px;
}

thead th {
  padding: 9px 12px 8px;
  border-bottom: 1px solid var(--tinte);
  background: none;
  color: var(--grau);
  font-family: var(--kondens);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid var(--linie-fein);
}

tbody tr:hover {
  background: var(--flaeche);
}

td {
  padding: 11px 12px;
  vertical-align: top;
  color: var(--tinte-weich);
}

tbody td:first-child {
  font-weight: 600;
  color: var(--tinte);
  white-space: nowrap;
}

tbody td:nth-child(8) {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--tinte);
}

.row-remove {
  padding: 2px 8px 4px;
  border: 1px solid transparent;
  border-radius: 0;
  background: none;
  color: var(--grau);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.14s ease, border-color 0.14s ease;
}

.row-remove:hover {
  border-color: var(--signal);
  color: var(--signal);
}

/* ---------- Fußzeile ---------- */

.app-footer {
  padding-top: 34px;
  color: var(--grau);
  font-size: 14px;
}

.app-footer p {
  margin: 0 0 5px;
}

.app-footer a {
  color: var(--tinte-weich);
  text-decoration: none;
  border-bottom: 1px solid var(--linie);
}

.app-footer a:hover {
  color: var(--signal);
  border-color: var(--signal);
}

.footer-note {
  font-family: var(--kondens);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tinte);
}

/* ---------- Tastaturbedienung ---------- */

:where(button, a, select, input):focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.event-option:focus-visible,
.gender-button:focus-visible,
.discipline-button:focus-visible {
  outline-offset: -3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Schmale Geräte ---------- */

@media (max-width: 720px) {
  :root {
    --spalte: 34px;
  }

  .app-shell {
    padding: 0 16px 56px;
  }

  .schritt {
    gap: 0 14px;
    padding: 26px 0 24px;
  }

  .schritt-nr {
    font-size: 30px;
  }

  .schritt h2 {
    font-size: 25px;
  }

  .student-grid {
    grid-template-columns: 1fr;
  }

  .bahn {
    flex: 1 1 100%;
    border-right: 0;
    border-bottom: 1px solid var(--linie-fein);
  }

  .bahn.is-active {
    border-bottom-color: var(--signal);
  }

  .source-panel {
    position: static;
    width: 100%;
    margin-top: 18px;
  }

  .option-grid {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  }
}

/* ---------- Druck ---------- */

@media print {
  @page {
    margin: 14mm;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .topbar,
  .titelblock .kicker,
  .titelblock .lead,
  .bahnen,
  .schritt-nr,
  .app-footer,
  .no-print,
  #onboardingPanel,
  #studentPanel,
  #eventPanel,
  #emptyList,
  .source-panel {
    display: none !important;
  }

  .app-shell {
    width: 100%;
    padding: 0;
  }

  .titelblock {
    padding: 0 0 8px;
    border-bottom: 1.5pt solid #000;
  }

  .titelblock h1 {
    font-size: 20pt;
    letter-spacing: 0;
  }

  .nur-druck {
    display: block;
    margin: 4px 0 0;
    font-family: var(--mono);
    font-size: 10pt;
  }

  .titel-meta {
    margin-top: 8px;
    border-color: #000;
  }

  .schritt {
    display: block;
    padding: 12px 0 0;
    border: 0;
  }

  .panel-actions {
    display: none;
  }

  .table-wrapper {
    overflow: visible;
  }

  table {
    min-width: 0;
  }

  tbody tr:hover {
    background: none;
  }
}
