/* Die Hausschrift, aus dem eigenen Haus.
   Muss vor allem anderen stehen: Was danach kommt, benutzt sie schon. */
@font-face {
  font-family: 'Source Serif 4';
  src: url('source-serif-4.ttf') format('truetype');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('source-serif-4-italic.ttf') format('truetype');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

/* Die Symbole: Phosphor, Gewicht duotone (`DESIGN.md`).
   Aus dem eigenen Haus wie die Schrift — nicht von unpkg. Ein Menü, das
   erst erscheint, wenn ein fremder Rechner antwortet, ist keines.

   Duotone sind **zwei** Zeichen übereinander: die Fläche auf 20 % Deckkraft,
   darüber die Kontur, um eine Geviertbreite zurückgezogen. Hier stehen nur
   die sieben, die gebraucht werden; die vollständige Datei nennt 1512. */
@font-face {
  font-family: 'Phosphor-Duotone';
  src: url('Phosphor-Duotone.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
.ph-duotone {
  font-family: 'Phosphor-Duotone';
  font-style: normal; font-weight: normal; font-variant: normal;
  text-transform: none; line-height: 1; speak: never;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.ph-duotone:before { opacity: 0.2; }
.ph-duotone:after { margin-left: -1em; }

.ph-newspaper:before      { content: '\e344'; }
.ph-newspaper:after       { content: '\e345'; }
.ph-calendar-blank:before { content: '\e10a'; }
.ph-calendar-blank:after  { content: '\e10b'; }
.ph-fork-knife:before     { content: '\e262'; }
.ph-fork-knife:after      { content: '\e263'; }
.ph-tag:before            { content: '\e478'; }
.ph-tag:after             { content: '\e479'; }
.ph-cash-register:before  { content: '\ed80'; }
.ph-cash-register:after   { content: '\ed81'; }
.ph-users:before          { content: '\e4d6'; }
.ph-users:after           { content: '\e4d7'; }
.ph-lock-key:before       { content: '\e2fe'; }
.ph-lock-key:after        { content: '\e2ff'; }
.ph-building:before       { content: '\e100'; }
.ph-building:after        { content: '\e101'; }
.ph-file-text:before      { content: '\e23a'; }
.ph-file-text:after       { content: '\e23b'; }
.ph-list:before           { content: '\e2f0'; }
.ph-list:after            { content: '\e2f1'; }
.ph-x:before              { content: '\e4f6'; }
.ph-x:after               { content: '\e4f7'; }

/* Gleisgenuss Verwaltung — was über Broadsheet hinausgeht.
 *
 * Die Marken kommen aus `broadsheet.css`, unverändert aus dem Designprojekt.
 * Hier steht nur, was eine Verwaltung zusätzlich braucht: das Spaltengerüst,
 * unterstrichene Eingaben (die Gast-Screens machen es genauso), Tabellen **ohne
 * Zeilenlinien** — die Klasse `.table` des Systems führt welche, und die
 * Hausregel verbietet sie — und der Schnitt fürs Telefon.
 *
 * Nichts hier ändert eine Marke. Wer Cyan wechseln will, wechselt es dort.
 */

[hidden] { display: none !important; }

body { font-size: 17px; line-height: 1.45; -webkit-text-size-adjust: 100%; }

/* Zahlen stehen in Spalten. */
.zahl { font-variant-numeric: tabular-nums; }

h1 { font-size: 40px; line-height: 1.03; }
h2 { font-size: 26px; line-height: 1.1; margin: 0 0 10px; }
.kicker { font-size: 15px; font-style: italic; color: var(--color-neutral-600); margin: 0; }
.akzent { color: var(--color-accent-700); }
.gefahr { color: var(--color-accent-2-700); }
.gedimmt { color: var(--color-neutral-500); }
.hinweis { font-size: 15px; font-style: italic; color: var(--color-neutral-600); line-height: 1.5; }

/* ── Gerüst ─────────────────────────────────────────────────────────────── */

#rahmen { display: flex; min-height: 100vh; }

nav {
  width: 268px; flex: none; background: var(--color-surface);
  padding: 30px; display: flex; flex-direction: column; gap: 2px;
}
nav .marke { font-size: 25px; font-weight: 600; }
/* Am Rechner ist der Kopf nur die Marke; der Menüknopf schläft. Die Wege
   stehen in einer eigenen Hülle, damit das Telefon sie am Stück wegklappen
   kann, ohne dass die Marke mitgeht. */
.navkopf { display: flex; align-items: center; gap: 12px; }
#menue, #menueschleier { display: none; }
#navwege { display: flex; flex-direction: column; gap: 2px; flex: 1; min-height: 0; }
nav a {
  display: flex; align-items: center; gap: 12px; min-height: 52px;
  color: var(--color-neutral-800); text-decoration: none; font-size: 18px; cursor: pointer;
}
nav a.aktiv { color: var(--color-accent-700); }
/* Das Symbol trägt die Akzentfarbe auch dann, wenn das Wort daneben grau ist:
   Es ist die Marke des Weges, nicht sein Zustand. 26 px nach Entwurf R01. */
nav a .ph-duotone {
  font-size: 26px; color: var(--color-accent-700); flex: none; width: 26px;
}
nav .fuss { margin-top: auto; }
/* Die zweite Ebene der Wegespalte: die Lager-Rubriken unter dem Menü (L02).
   Eingerückt auf die Wortkante der Menüpunkte, kleiner, ohne Symbol. */
#nav_unter a.unter {
  min-height: 40px; font-size: 16px; padding-left: 38px; color: var(--color-neutral-700);
  justify-content: space-between;
}
#nav_unter a.unter.aktiv { color: var(--color-accent-700); }
/* Die Fahrt als Kopfzeile ihrer Unterpunkte, darunter die drei Gruppen nach
   dem Ablauf (V40). Klein und kursiv: Sie ordnen, sie sind kein Weg. Als
   Klassen, weil die Verwaltung keine Inline-Stile zulässt (style-src 'self'). */
#nav_unter .fahrtkopf { margin-top: 40px; }
#nav_unter .gruppe {
  margin: 14px 0 0 38px; font-size: 13px; font-style: italic;
  letter-spacing: 0.02em; color: var(--color-neutral-500);
}
#nav_unter a.unter .zahl { font-size: 14px; font-style: italic; color: var(--color-neutral-500); }

main { flex: 1; min-width: 0; padding: 34px 40px; }

/* Auf dem Telefon fällt die Spalte weg — 268 von 390 px wären zwei Drittel
   für nichts. Stattdessen eine Kopfzeile mit Menüknopf. */
@media (max-width: 700px) {
  #rahmen { flex-direction: column; }
  /* Der Kopf steht fest oben: 64 px, darin der Menüknopf links (V41). */
  nav { width: auto; padding: 8px 16px; gap: 0; position: sticky; top: 0; z-index: 20; }
  .navkopf { min-height: 48px; }
  nav .marke { font-size: 20px; }
  /* Neun Wege nebeneinander brauchten vier Zeilen und schoben den Inhalt aus
     dem Bild (14.09.). Zuerst klappte das Menü in der Seite auf; das Design hat
     am 14.09. (V41) ein Blatt über dem Inhalt gezeichnet, Andreas hat es am
     15.09. so entschieden — Ausnahme von der Hausregel, siehe CLAUDE.md. */
  #menue {
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; padding: 0; color: var(--color-accent-700);
  }
  #menue .ph-duotone { font-size: 26px; width: 26px; color: var(--color-accent-700); }
  #menue .zu, nav.offen #menue .auf { display: none; }
  nav.offen #menue .zu { display: inline; }
  #navwege { display: none; }
  /* Das Blatt: 88 % der Breite, unter dem Kopf bis zum Fuß des Schirms. */
  nav.offen #navwege {
    display: flex; position: fixed; top: 64px; left: 0; bottom: 0; width: 88%;
    padding: 8px 18px 18px; background: var(--color-surface);
    overflow-y: auto; z-index: 30;
  }
  /* Der Rest daneben, abgedunkelt und antippbar zum Schließen.
     z-index **unter** dem Kopf (20), nicht über dem Blatt (30): `nav` ist
     sticky und bildet damit eine eigene Stapelebene, in der das Blatt liegt.
     Ein Schleier mit 25 lag als Nachbar über der ganzen Ebene — das Blatt
     erschien abgedunkelt, und jeder Tipp auf einen Weg traf den Schleier und
     schloss das Menü, statt zu navigieren (14.09., im Probebild gesehen). */
  nav.offen + #menueschleier {
    display: block; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: color-mix(in srgb, #201e1d 40%, transparent); z-index: 15;
  }
  nav a { min-height: 56px; font-size: 17px; }
  #nav_unter a.unter { min-height: 48px; }
  nav .fuss { margin-top: 14px; }
  main { padding: 18px; }
  h1 { font-size: 30px; }
}

/* ── Bedienelemente ─────────────────────────────────────────────────────── */

/* Die Knopfrollen des Systems, nur grösser: 14 px sind für ein Tablet im
   fahrenden Zug zu klein, und die Beschriftung steht links, nie zentriert. */
button, .knopf {
  font-family: var(--font-body); font-size: 18px; cursor: pointer;
  border-radius: var(--radius-md); border: 0; min-height: 44px;
  padding: 12px 22px; text-align: left; justify-content: flex-start;
  background: transparent; color: var(--color-text);
}
.primaer { background: var(--color-accent); color: var(--color-bg); }
.primaer:hover { background: var(--color-accent-600); }
.primaer:active { background: var(--color-accent-700); }
.primaer:disabled { opacity: 0.45; cursor: default; }
.sekundaer { border: 1px solid var(--color-divider); }
.sekundaer:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.geist { color: var(--color-accent-700); font-style: italic; padding: 8px 10px; }
.geist:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
/* Magenta nur für Gefahr und Bestätigung — gefüllt einzig im Bestätigungsweg. */
.gefahrknopf { color: var(--color-accent-2-700); font-style: italic; padding: 8px 10px; }
.gefahrknopf.gefuellt { background: var(--color-accent-2-700); color: var(--color-bg);
  font-style: normal; padding: 12px 22px; }

.knopfzeile { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 26px; }

label { display: block; font-size: 14px; font-style: italic; color: var(--color-neutral-600); margin-bottom: 2px; }
input, select, textarea {
  font-family: var(--font-body); font-size: 20px; color: var(--color-text);
  background: transparent; border: 0; border-bottom: 1px solid var(--color-neutral-500);
  padding: 8px 0; width: 100%; border-radius: 0;
}
input:focus, select:focus, textarea:focus { outline: 0; border-bottom: 2px solid var(--color-accent); }
/* Ein Textfeld ist eine Eingabe mit mehreren Zeilen, kein Kasten: derselbe
   Unterstrich, dieselbe Zeilenhöhe wie der Fließtext, und der Greifer unten
   rechts bleibt weg — er zöge eine Ecke in eine Seite ohne Rahmen. */
textarea { line-height: 1.45; resize: none; display: block; }
.feld { margin-bottom: 22px; }

/* ── Listen ─────────────────────────────────────────────────────────────── */

/* Keine Zeilenlinien: Zeilenhöhe und Spaltenmaß ordnen.

   Der Abstand rechts steht an *jeder* Spalte und wird nur in der letzten
   weggenommen. Sonst stösst eine rechtsbündige Zahl direkt an den Text der
   nächsten Spalte — „12.09.2026geplant". */
table { width: 100%; border-collapse: collapse; }
th, td { padding-right: 32px; }
th:last-child, td:last-child { padding-right: 0; }
th {
  font-size: 15px; font-style: italic; font-weight: 400; color: var(--color-neutral-600);
  text-align: left; padding-top: 8px; padding-bottom: 8px;
  border-bottom: 1px solid var(--color-neutral-300);
}
th.r, td.r { text-align: right; }
td {
  padding-top: 14px; padding-bottom: 14px; vertical-align: baseline; font-size: 17px;
  border-bottom: 1px solid var(--color-neutral-300);
}
/* Die letzte Zeile schliesst ohne Strich ab — eine Linie am Tabellenende
   waere eine Umrandung, und die ist ausgeschlossen. */
tbody tr:last-child td { border-bottom: 0; }
tr.tippbar { cursor: pointer; }
tr.tippbar:hover td { color: var(--color-accent-800); }
td .zweitzeile { display: block; font-size: 14px; font-style: italic; color: var(--color-neutral-600); }

@media (max-width: 700px) {
  table, thead, tbody, tr, td { display: block; width: 100%; }
  thead { display: none; }
  /* Am Telefon ist die Zeile ein Absatz, kein Raster: Dort trennt wieder
     Weiszraum, und die Linie waende zwischen Name und Unterzeile stehen. */
  td, th { border-bottom: 0; }
  tr { padding: 10px 0; cursor: pointer; }
  td, td:last-child { padding: 0; }
  td:not(.haupt):not(.zahl-oben) { font-size: 14px; font-style: italic; color: var(--color-neutral-600); display: inline; }
  td:not(.haupt):not(.zahl-oben):not(:last-child)::after { content: " · "; }
  td.haupt { font-size: 19px; color: var(--color-text); font-style: normal; }
  td.zahl-oben { float: right; font-size: 18px; }
}

.zwei { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.zwei > * { flex: 1 1 340px; min-width: 0; }

.meldung { padding: 12px 0; font-size: 17px; }
.meldung.fehler { color: var(--color-accent-2-700); }
.meldung.erfolg { color: var(--color-accent-700); }

#anmeldung { max-width: 420px; margin: 12vh auto; padding: 0 18px; }

.pin { font-size: 30px; font-weight: 600; }
.schalt { display: flex; align-items: center; min-height: 48px; cursor: pointer; gap: 16px; }
.schalt .zustand { margin-left: auto; font-size: 15px; font-style: italic; }
.schalt .an { color: var(--color-accent-700); }
.schalt .aus { color: var(--color-neutral-500); }

/* Ein Umbruchpunkt, nicht drei: 700 px. So steht es im Entwurf (V19), und
   ein einziger Punkt ist auch der einzige, den man im Kopf behaelt. */

/* ── Rezepte (SCREENS-REZEPTE.md, R01–R08) ─────────────────────────────────
   Das Rezept ist eine Datentabelle: Zutat · Menge · Bon · Weg. Die Zeilen der
   „oder"-Gruppe rücken 28 px ein, dazwischen steht das Wort *oder*, zwischen
   den Blöcken *und* — Worte, keine Klammern. Magenta nur für den Fehlersatz. */
/* Nebeneinander nur bei **zwei** Rezepten. Drei Spalten drücken die
   Kopfzeile „Zutat aus dem Lager" auf drei Zeilen und die Mengen ins Nichts
   — gesehen bei Coca Cola mit drei Varianten (07.09.). Mehr als zwei stehen
   untereinander; die Seite ist lang, das ist billiger als unlesbar. */
.rezepte.nebeneinander { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.rezepte.nebeneinander > .rezept { flex: 1 1 520px; min-width: 520px; }
.rezepte > .rezept + .rezept { margin-top: 34px; }
.rezepte.nebeneinander > .rezept + .rezept { margin-top: 0; }
.rezept h3 { font-size: 20px; margin: 18px 0 4px; }
/* Die Kopfzeile bricht sonst mitten im Wort: „Zutat aus dem / Lager" über
   drei Zeilen, während die Mengenspalte leer danebensteht (07.09.). */
.rezepttabelle { width: 100%; table-layout: auto; }
.rezepttabelle th { white-space: nowrap; }
.rezepttabelle td:first-child { min-width: 220px; }
.rezepttabelle td { padding-top: 12px; padding-bottom: 12px; vertical-align: middle; }
.rezepttabelle tr.rz td { min-height: 58px; }
.rezepttabelle .name { display: block; }
.rezepttabelle .eingerueckt > td:first-child { padding-left: 28px; }
/* „und"/„oder" sind Text zwischen den Zeilen, keine Zeile — ohne Linie und
   ohne Höhe, die nach einer Zeile aussieht. */
.rezepttabelle tr.wort td { padding: 2px 0; border-bottom: 0; font-size: 15px; color: var(--color-neutral-600); }
.rezepttabelle tr.wort.eingerueckt td { padding-left: 28px; }
.rezepttabelle tr.gruppenkopf td { border-bottom: 0; padding-bottom: 4px; }
.rezepttabelle tr.gruppenkopf em { font-style: italic; color: var(--color-neutral-700); }
.rezepttabelle tr.gruppenkopf .zweitzeile { max-width: 42ch; }
.rezepttabelle tr.satz td { border-bottom: 0; padding-top: 0; font-size: 15px; font-style: italic;
  color: var(--color-accent-2-700); max-width: 60ch; }
.rezepttabelle tr.satz.ruhig td { color: var(--color-neutral-600); padding-top: 12px; }
/* Menge: ein kurzes Feld, rechtsbündig, die Einheit dahinter in Grau. */
.rezepttabelle .rz_menge { width: 4.5ch; text-align: right; font-size: 18px; padding: 4px 0; display: inline-block; }
.rezepttabelle .rz_menge.falsch { border-bottom-color: var(--color-accent-2-700); }
.rezepttabelle .einheit { font-size: 15px; color: var(--color-neutral-600); margin-left: 6px; }
.rezepttabelle td.r { white-space: nowrap; }
/* Textknöpfe in der Zeile: Der Bon-Knopf ist grau, solange er „aus" ist, und
   trägt Cyan, wenn die Zutat auf dem Bon steht. Die leisen Wege sind grau. */
.rezepttabelle .geist { padding: 6px 8px; font-size: 16px; }
.rezepttabelle .bonknopf { color: var(--color-neutral-600); }
.rezepttabelle .bonknopf.an { color: var(--color-accent-700); }
.rezepttabelle .leise { color: var(--color-neutral-600); font-size: 15px; }
.rezepttabelle .leise:hover { color: var(--color-accent-800); }
/* Die offene Zeile am Ende: Suchfeld und Treffer, ohne Abschlussstrich. */
.rezepttabelle tr.offen td { border-bottom: 0; }
.rezepttabelle .rz_suche { max-width: 34ch; font-size: 18px; }
.rezepttabelle tr.offen .zweitzeile { display: block; font-size: 14px; font-style: italic; color: var(--color-neutral-600); }
.treffer { margin-top: 6px; max-width: 34ch; }
.treffer-zeile { display: block; width: 100%; padding: 8px 0; min-height: 44px;
  border-bottom: 1px solid var(--color-neutral-300); font-size: 17px; color: var(--color-text); }
.treffer-zeile:last-child { border-bottom: 0; }
button.treffer-zeile:hover { color: var(--color-accent-800); }
.treffer-zeile.aus { color: var(--color-neutral-500); cursor: default; }
.treffer-zeile .zweitzeile { display: block; font-size: 14px; font-style: italic; color: var(--color-neutral-600); }
/* Vorschau: eine Zeile Konjunktiv unter dem Rezept, grau ohne Fahrt. */
.vorschau { margin: 18px 0 0; max-width: 62ch; line-height: 1.45; }
.vorschau .kicker { display: block; margin-bottom: 2px; }
.vorschau.ohne { color: var(--color-neutral-500); font-style: italic; }
.vorschau .ohne { color: var(--color-neutral-500); font-style: italic; }

/* ── Aktionen: eine Liste von Saetzen, keine Tabelle ────────────────────────
   Jede Zeile ist ein Satz in Alltagssprache. Er traegt sich selbst, deshalb
   steht keine Kopfzeile darueber und keine Linie darunter -- der Weiszraum
   zwischen den Zeilen ordnet, wie sonst auch. */
.aktionsliste { margin-top: 26px; max-width: 62ch; }
.aktion { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap;
  padding: 12px 0; }
.aktion.ruht .aktionssatz, .aktion.ruht .gilt { color: var(--color-neutral-500); }
.aktionssatz { flex: 1 1 30ch; min-width: 0; text-align: left; padding: 0;
  font-size: 17px; line-height: 1.45; color: var(--color-text); }
.aktionssatz:hover { color: var(--color-accent-800); }
.aktionssatz .zweitzeile { display: block; font-size: 14px; font-style: italic;
  color: var(--color-neutral-600); }
.aktion .gilt { font-size: 15px; font-style: italic; color: var(--color-neutral-600);
  white-space: nowrap; }
@media (max-width: 700px) {
  .rezepttabelle tr { padding: 0; cursor: default; }
  .rezepttabelle td, .rezepttabelle td:not(.haupt):not(.zahl-oben) { display: block; font-size: 17px; font-style: normal; color: var(--color-text); }
  .rezepttabelle td:not(.haupt):not(.zahl-oben):not(:last-child)::after { content: none; }
  .rezepttabelle tr.rz td { border-bottom: 0; padding: 4px 0; }
  .rezepttabelle tr.rz td:last-child { border-bottom: 1px solid var(--color-neutral-300); padding-bottom: 10px; }
  .rezepttabelle td.r { text-align: left; }
  .rezepttabelle .eingerueckt > td { padding-left: 20px; }
}

/* ── Zeilenlinien in Datentabellen — die Ausnahme, und sie ist bestaetigt ────
   Die Hausregel verbietet Linien **zur Gliederung der Seite**: Abschnitte
   trennt Weiszraum. Eine Datentabelle ist kein Abschnitt, sondern ein Raster,
   in dem die Zeile die Leseeinheit ist -- dort ist die Linie funktional, wie
   die Schnittkante auf dem Bogen. (Design, 02.09.)

   Was es nicht gibt, und das ist der halbe Punkt: keine Linien zwischen den
   Spalten, keine Umrandung um die Tabelle, keine Zebrastreifen.

   Ich hatte die Linien vorher weggelassen und im Entwurf nachgefragt. Die
   Antwort war: Nimm, was das System liefert.
   ───────────────────────────────────────────────────────────────────────── */

/* ── Bogen zum Ausschneiden ─────────────────────────────────────────────────
   Je Mitarbeiter ein Zettel, zwei nebeneinander, drei Reihen je A4 — sechs
   Zettel auf einem Blatt. Oben wer und welche Fahrt, in der Mitte die PIN
   neben dem QR mit dem Master-Code, unten der Code noch einmal in Ziffern.

   Hier ist die Trennlinie erlaubt und noetig — sie ist keine Gliederung,
   sondern die Schnittkante. Deshalb gestrichelt: Man soll sehen, dass dort
   die Schere angesetzt wird. Senkrecht wie waagerecht. */
.bogen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 19cm;
  margin: 24px 0 0;
}
.bogen.einzeln { grid-template-columns: 1fr; max-width: 13cm; margin-left: 0; }

.schnipsel {
  padding: 14px 16px 18px;
  border-bottom: 1px dashed var(--color-neutral-400);
  break-inside: avoid;
  page-break-inside: avoid;
}
.bogen:not(.einzeln) .schnipsel:nth-child(odd) { border-right: 1px dashed var(--color-neutral-400); }
.schnipsel h2 { font-size: 26px; margin: 2px 0 2px; }
.schnipsel .kicker { margin: 0; }
.schnipsel .meta { line-height: 1.35; }
.schnipsel-zeile {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}
.schnipsel-text { min-width: 0; }
/* Der QR steht auf Hoehe des ersten Feldnamens, nicht auf Hoehe seines Rands. */
.schnipsel-qr { flex: none; line-height: 0; margin-top: 12px; }
.schnipsel-code { font-size: 1.05rem; margin: 0; letter-spacing: .06em; }
.feldname {
  font-size: .8rem; font-style: italic;
  color: var(--color-neutral-700); margin: 12px 0 0;
}
.pin-gross {
  font-size: 2.6rem; font-weight: 600; line-height: 1.05;
  letter-spacing: .12em; margin: 2px 0 6px;
}

/* L04 — die Einkaufsliste. Ein Blatt, keine Schnittkante; die Zeilenlinie ist
   die der Datentabelle auf Papier, und die Kästchen sind zum Abhaken. */
.bogen.einkauf { display: block; max-width: 680px; margin-top: 20px; }
.bogen.einkauf .kicker { font-size: 13px; display: flex; justify-content: space-between; margin: 0; }
.bogen.einkauf h2 { font-size: 34px; font-weight: 600; margin: 4px 0 10px; }
.bogen.einkauf .satz { font-size: 14px; max-width: 560px; margin: 0 0 6px; }
.einkaufstabelle { margin-top: 14px; }
.einkaufstabelle th { font-size: 12px; font-style: italic; }
.einkaufstabelle td { border-bottom: 1px solid var(--color-neutral-300); vertical-align: top; }
.einkaufstabelle td.kaestchen { width: 22px; padding-right: 10px; padding-top: 14px; }
.einkaufstabelle td.kaestchen span { display: block; width: 22px; height: 18px; border: 1px solid var(--color-neutral-600); border-radius: 2px; }
.einkaufstabelle td b { font-size: 16px; font-weight: 400; }
.einkaufstabelle td .zweitzeile { font-size: 12px; }
.einkaufstabelle td.zahl { font-size: 16px; color: var(--color-neutral-700); width: 74px; }
.einkaufstabelle td.kaufen { font-size: 19px; font-weight: 600; width: 92px; white-space: nowrap; }
.einkaufstabelle td.kaufen .zweitzeile { font-weight: 400; }
.einkaufstabelle td.gekauft { width: 56px; }
.bogen.einkauf .summe { font-size: 26px; font-weight: 600; margin: 0; }
.unterschriften { display: flex; gap: 24px; margin: 36px 0 10px; }
.unterschriften div { flex: 1 1 auto; border-bottom: 1px solid var(--color-neutral-600); padding-bottom: 28px; }
.unterschriften span { font-size: 12px; font-style: italic; color: var(--color-neutral-700); }

@page { size: A4; margin: 12mm; }

@media print {
  /* Auf dem Papier hat die Verwaltung nichts zu suchen — nur der Bogen. */
  nav, .knopfzeile, .nicht-drucken, #seitenmeldung, .seitenkopf, .geist,
  h1, .kicker.akzent-kopf { display: none !important; }
  body, main { background: #fff; margin: 0; padding: 0; }
  .bogen { margin: 0; max-width: none; }
  .bogen.einzeln { max-width: 13cm; }
  .bogen.einkauf { max-width: none; }
  .schnipsel { border-color: #888; }
}

/* ── Lager (SCREENS-LAGER.md) ───────────────────────────────────────────── */

/* Der Schalter Speisekarte · Lager (L05): zwei Wörter, das geltende in Cyan,
   kein Rahmen, kein Unterstrich. Die Zahl dahinter sagt, wie viel dort liegt. */
.schalter { display: flex; gap: 22px; align-items: baseline; }
.schalter .schalterwort { font-size: 21px; color: var(--color-neutral-700); padding: 8px 0; }
.schalter .schalterwort.an { color: var(--color-accent-700); font-weight: 600; }
.schalter .schalterwort .zahl { font-size: 14px; font-style: italic; font-weight: 400;
  color: var(--color-neutral-500); margin-left: 6px; }
.schaltererklaerung { max-width: 52ch; margin-top: 8px; }

.lagertabelle th .zweitzeile { display: block; font-size: 13px; font-style: italic;
  color: var(--color-neutral-500); font-weight: 400; }
.lagertabelle td.verkauft { font-size: 15px; font-style: italic; line-height: 1.45; max-width: 26ch; }
.lagertabelle tr.ohne-rezept td { color: var(--color-neutral-600); }
.lagertabelle tr.gedimmt td { color: var(--color-neutral-500); }
.lagerfuss { margin-top: 30px; }

/* Wareneingang (L01): Unterstrichfelder in der Zeile, Kästen und Stück getrennt. */
.wetabelle td { vertical-align: top; }
.wetabelle .we-menge { white-space: nowrap; }
.wetabelle .we-menge .nowrap { display: inline-block; margin-left: 10px; }
.wetabelle .we_feld { width: 52px; text-align: right; display: inline-block; }
.wetabelle .we_feld[data-feld="preis"] { width: 72px; }
.wetabelle .einheit { font-size: 15px; color: var(--color-neutral-700); display: inline-block; min-width: 44px; }
.wetabelle tr.satz td { font-size: 15px; font-style: italic; color: var(--color-accent-700); padding-top: 0; border-bottom: 0; }
.wetabelle tr.satz + tr td { border-top: 1px solid var(--color-neutral-300); }
.wetabelle tr.suchzeile td { border-bottom: 0; padding-top: 18px; }
.wetabelle tr.suchzeile input { max-width: 34ch; }
.wefuss { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 18px; max-width: 1060px; }
.wefuss .summe { font-size: 34px; font-weight: 600; }
.drei { display: flex; gap: 32px; flex-wrap: wrap; }
.drei > * { flex: 1 1 200px; }

/* Inventur (L03): links die Zählliste, rechts 340 breit der Fortschritt. */
.zweispaltig { display: flex; gap: 48px; align-items: flex-start; flex-wrap: wrap; }
.zweispaltig > div { flex: 1 1 520px; min-width: 0; }
.invseite { flex: 0 0 340px; }
.invtabelle td.haupt { font-size: 21px; }
.invtabelle .inv_feld { width: 130px; font-size: 30px; text-align: right; }
.invtabelle .inv_feld.falsch { border-bottom-color: var(--color-accent-2-700); }
.invtabelle td.satzspalte { font-size: 16px; font-style: italic; width: 300px; }
.riesig { font-size: 52px; font-weight: 600; line-height: 1.1; margin: 4px 0; }
.fund { font-size: 17px; margin: 10px 0; }
.fund .zweitzeile { display: block; font-size: 15px; font-style: italic; color: var(--color-neutral-600); }
.meldung.still { display: none; }

@media (max-width: 700px) {
  .lagertabelle td.verkauft { max-width: none; }
  .invseite { flex-basis: 100%; }
  .invtabelle .inv_feld { width: 90px; font-size: 24px; }
  .invtabelle td.satzspalte { width: auto; }
}

/* V23 — die Vorschau des Belegkopfs.
   Der Bondrucker setzt Schreibmaschinenschrift, 48 Zeichen auf 80 mm Papier.
   Deshalb hier dieselbe Breite in `ch` und eine Festbreitenschrift — ohne
   Rahmen und ohne Papierfarbe: Was der Bon zeigt, ist Text, und ein Kasten
   darum wäre eine Linie zur Gliederung. */
.belegkopf-vorschau {
  font-family: ui-monospace, "DejaVu Sans Mono", "Liberation Mono", Menlo, Consolas, monospace;
  font-size: 14px; line-height: 1.5; margin: 6px 0 14px;
  width: 48ch; max-width: 100%; overflow-x: auto;
  white-space: pre; color: var(--color-text);
}
/* Zwischen Kopf und Fuß steht kein erfundener Verkauf, sondern grau, was dort
   später steht. */
.belegkopf-vorschau .platzhalter { color: var(--color-neutral-500); }

/* L07 — Beleg prüfen: das Blatt links, die Lieferung rechts; schmal untereinander. */
.belegseite { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.belegblatt { flex: 0 1 380px; position: sticky; top: 24px; margin-top: 34px; }
.belegblatt img { width: 100%; height: auto; display: block; }
.belegrumpf { flex: 1 1 640px; min-width: 0; }
.belegtabelle select { max-width: 240px; }
.belegtabelle .we_feld[data-feld="preis"] { width: 72px; }

/* Die Bedingungsliste einer Aktion (07.09.). Sie kann vierzig Zeilen lang
   werden — ohne Deckel stünde der Preis der Aktion einen Bildschirm weiter
   unten. Gedeckelt, nicht gerahmt: Es bleibt bei Weißraum und Schriftgrad. */
.bedingungsliste { max-height: 420px; overflow-y: auto; padding-right: 8px; }
.bedingungsliste .kicker:first-child { margin-top: 0; }

/* Der Aushang für den Wagen (07.09.). Er wird nicht in der Hand gelesen,
   sondern aus zwei Metern Entfernung — deshalb größer als die Zettel mit den
   PINs, und der QR trägt die ganze Höhe. Zwei je A4-Blatt. */
.schnipsel.aushang { padding: 22px 24px 26px; min-height: 12cm; }
.schnipsel.aushang h2 { font-size: 30px; margin-bottom: 8px; }
.schnipsel.aushang .schnipsel-text p { font-size: 17px; line-height: 1.45; margin: 4px 0 0; }
.schnipsel.aushang .schnipsel-code { font-size: 1.15rem; }

/* Die Eigenschaften eines Artikels (08.09.) — antippbare Wörter, kein
   Klappfeld: Es sind zwölf, sie stehen nebeneinander, und man wählt mehrere. */
.wunschzeile { display: flex; flex-wrap: wrap; gap: 10px; }
.wunsch { border: 1px solid var(--color-divider); border-radius: 2px; background: none;
  color: var(--color-accent-700); font: inherit; font-size: 16px; padding: 9px 13px;
  min-height: 44px; cursor: pointer; }
.wunsch:hover { background: var(--color-accent-100); }
.wunsch.an { background: var(--color-accent-700); color: var(--color-bg);
  border-color: var(--color-accent-700); }
