/* Plantafel (Handwerk, js/plantafel.js) – 23.10.2026, Stufe 1. Aussehen wie die Rollrasen-Vorschau, Stil B
   (Lars 22.10.2026): ruhige Flächen, weiche Schatten statt Rahmen, Rundungen 10 / 16 px, Kopfzeile und Zeilenköpfe fest
   beim Scrollen, Kärtchen neutral mit 4-px-Streifen links nach Tätigkeit (Farben aus js/farben.js), Legende in der Kopfleiste.
   Greift nur, wenn js/plantafel.js die Tafel einhängt (body.pt-aktiv, nur Handwerk mit settings.plantafel.an). */
:root {
  --pt-anthrazit: var(--branche-primary, #2b2f33);
  --pt-akzent: var(--branche-akzent, #ea7535);
  --pt-akzent-text: #b4480f;          /* Orange als Text: 5,3:1 auf Weiß */
  --pt-akzent-blass: #fdf0e6;
  --pt-flaeche: #ffffff;
  --pt-grund: #f6f7f8;
  --pt-leer: #fafbfb;
  --pt-linie: #eceef0;
  --pt-linie-stark: #e1e4e7;
  --pt-text: #1d2024;
  --pt-leise: #5f6770;                /* 5,6:1 auf Weiß */
  --pt-kuerzel: #eef0f2;
  --pt-kuerzel-text: #3d434a;
  --pt-heute: #fffaf5;
  --pt-ziel: #f1f3f5;
  --pt-neu-rand: #aab1b8;
  --pt-neu-grund: #fcfcfd;
  --pt-aus: #c9cdd2;
  --pt-schatten: 0 1px 2px rgba(17, 24, 39, .06), 0 1px 4px rgba(17, 24, 39, .05);
  --pt-schatten-gross: 0 2px 6px rgba(17, 24, 39, .06), 0 12px 32px rgba(17, 24, 39, .12);
  --pt-r-klein: 10px;
  --pt-r: 16px;
}
html.dark {
  --pt-anthrazit: #e4e4e4;
  --pt-akzent-text: #ff9a5c;
  --pt-akzent-blass: rgba(255, 154, 92, .14);
  --pt-flaeche: #1e1e1e;
  --pt-grund: #262626;
  --pt-leer: #191919;
  --pt-linie: #2a2a2a;
  --pt-linie-stark: #343434;
  --pt-text: #e4e4e4;
  --pt-leise: #a3a3a3;
  --pt-kuerzel: #2e2e2e;
  --pt-kuerzel-text: #d4d4d4;
  --pt-heute: #22201e;
  --pt-ziel: #2a2a2a;
  --pt-neu-rand: #5a5a5a;
  --pt-neu-grund: #1b1b1b;
  --pt-aus: #3a3a3a;
  --pt-schatten: 0 1px 2px rgba(0, 0, 0, .3), 0 1px 4px rgba(0, 0, 0, .25);
  --pt-schatten-gross: 0 2px 6px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .45);
}

/* Gastro-Plan im Handwerk ausblenden, Tafel zeigen */
body.pt-aktiv #tab-planung > :not(#plantafel) { display: none !important; }
body.pt-aktiv #tab-planung.tab-pane { overflow-y: auto; }
#plantafel { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 16px; padding: 4px 0 8px; color: var(--pt-text); font-size: 15px; }
#plantafel > .loading { padding: 24px; color: var(--pt-leise); }
#plantafel.pt-arbeitet, #plantafel.pt-laedt { cursor: progress; }
#plantafel.pt-arbeitet .pt-tafel-rahmen, #plantafel.pt-arbeitet .pt-liste,
#plantafel.pt-laedt .pt-tafel-rahmen, #plantafel.pt-laedt .pt-liste { opacity: .6; transition: opacity .15s; }

/* Kopfleiste */
.pt-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; background: var(--pt-flaeche); border-radius: var(--pt-r);
  padding: 12px 16px; box-shadow: var(--pt-schatten); flex: 0 0 auto; }
.pt-woche { display: flex; align-items: center; gap: 8px; }
.pt-woche-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 116px; text-align: center; }
.pt-woche-text b { font-size: 16px; }
.pt-woche-text span { color: var(--pt-leise); font-size: 13px; font-variant-numeric: tabular-nums; }
.pt-pfeil { width: 34px; height: 34px; border-radius: var(--pt-r-klein); border: 1px solid var(--pt-linie-stark); background: var(--pt-flaeche); font-size: 20px; line-height: 1;
  color: var(--pt-text); cursor: pointer; }
.pt-pfeil:hover, .pt-knopf:not(.pt-knopf--haupt):not(:disabled):hover { background: var(--pt-grund); }
.pt-status { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--pt-grund); color: var(--pt-leise); }
.pt-status--ok::before { content: '✓ '; }
.pt-status--entwurf { background: var(--pt-akzent-blass); color: var(--pt-akzent-text); }
.pt-standard { font-size: 13px; color: var(--pt-leise); font-variant-numeric: tabular-nums; }
.pt-aktionen { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.pt-knopf { font: inherit; font-size: 14px; font-weight: 600; border-radius: var(--pt-r-klein); border: 1px solid var(--pt-linie-stark); background: var(--pt-flaeche);
  color: var(--pt-text); padding: 8px 14px; cursor: pointer; }
.pt-knopf--haupt { background: var(--pt-anthrazit); border-color: var(--pt-anthrazit); color: var(--pt-flaeche); }
.pt-knopf--haupt:disabled { background: var(--pt-aus); border-color: var(--pt-aus); color: var(--pt-flaeche); cursor: default; }
html.dark .pt-knopf--haupt:disabled { color: #8a8a8a; }
.pt-knopf--leise { background: transparent; border-color: transparent; }
.pt-knopf:focus-visible, .pt-karte:focus-visible, .pt-mehr:focus-visible, .pt-pfeil:focus-visible, .pt-menue-knopf:focus-visible, .pt-menue button:focus-visible,
.pt-zelle:focus-visible, .pt-chip:focus-visible, .pt-ziel:focus-visible, .pt-tag-pille:focus-visible
  { outline: 2px solid var(--pt-anthrazit); outline-offset: 2px; }

/* Tafel (Rechner, Tablet quer): Kopfzeile oben und Zeilenköpfe links bleiben beim Scrollen stehen */
.pt-tafel-rahmen { flex: 1 1 auto; overflow: auto; min-height: 320px; scroll-padding: 92px 0 0 176px;   /* Platz für feste Kopfzeile und Zeilenköpfe (Fokus, Ziehen) */
   background: var(--pt-flaeche); border-radius: var(--pt-r); box-shadow: var(--pt-schatten); }
.pt-tafel { display: grid; grid-template-columns: 176px repeat(var(--pt-tage), minmax(140px, 1fr)); min-width: 1000px; }
.pt-ecke, .pt-tag, .pt-zeilenkopf, .pt-zelle { border-bottom: 1px solid var(--pt-linie); }
.pt-tag, .pt-zelle { border-left: 1px solid var(--pt-linie); }
.pt-ecke, .pt-tag { position: sticky; top: 0; z-index: 2; background: var(--pt-flaeche); border-bottom-color: var(--pt-linie-stark); }
.pt-ecke, .pt-zeilenkopf { position: sticky; left: 0; z-index: 1; }
.pt-ecke { z-index: 3; padding: 14px 16px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--pt-leise); display: flex; align-items: flex-end; }
.pt-tag { padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.pt-tag--heute { box-shadow: inset 0 -2px 0 var(--pt-akzent); }
.pt-tag-oben { display: flex; align-items: center; gap: 6px; min-height: 28px; }
.pt-tag-wt { font-weight: 700; font-size: 15px; }
.pt-tag--heute .pt-tag-wt { color: var(--pt-akzent-text); }
.pt-tag-datum { color: var(--pt-leise); font-size: 13px; font-variant-numeric: tabular-nums; }
.pt-heute-marke { font-size: 11px; font-weight: 700; color: var(--pt-akzent-text); background: var(--pt-akzent-blass); border-radius: 999px; padding: 1px 7px; }
.pt-tag-unten { display: flex; align-items: center; gap: 8px; min-height: 18px; }
.pt-zu { font-size: 12px; font-weight: 600; color: var(--pt-leise); }
.pt-wetter { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--pt-leise); font-variant-numeric: tabular-nums; }
.pt-wetter svg { width: 16px; height: 16px; color: #8a929b; }
.pt-menue-knopf { margin-left: auto; width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--pt-leise); cursor: pointer; }
.pt-menue-knopf:hover, .pt-menue-knopf[aria-expanded="true"] { background: var(--pt-grund); color: var(--pt-text); }
.pt-zeilenkopf { padding: 12px 16px; display: flex; flex-direction: column; justify-content: center; gap: 3px; background: var(--pt-flaeche); box-shadow: 1px 0 0 var(--pt-linie); }
.pt-zeilenkopf b { font-size: 14px; font-weight: 700; }
.pt-zeilenkopf span { font-size: 12px; color: var(--pt-leise); line-height: 1.3; }
.pt-zeilenkopf--pool, .pt-zeilenkopf--frei { background: var(--pt-leer); }
.pt-zeilenkopf--pool b, .pt-zeilenkopf--frei b { color: var(--pt-leise); font-weight: 600; }
.pt-zelle { min-height: 68px; padding: 8px; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; transition: background .12s; position: relative; }
.pt-zelle--pool, .pt-zelle--frei, .pt-zelle--ohne, .pt-zelle--zu { background: var(--pt-leer); }
.pt-zelle--heute { background: var(--pt-heute); }
.pt-zelle--ort { cursor: pointer; }
.pt-zelle--ort:empty::after { content: '+'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; font-weight: 300; color: #8f969e; opacity: 0; transition: opacity .12s; }
.pt-zelle--ort:empty:hover::after, .pt-zelle--ort:empty:focus-visible::after { opacity: 1; }
.pt-zelle--ort:empty:hover { background: var(--pt-grund); }
.pt-zelle--ziel { cursor: pointer; }
.pt-zelle--ziel:hover, .pt-zelle--drueber { background: var(--pt-ziel); box-shadow: inset 0 0 0 1.5px var(--pt-anthrazit); }
.pt-zelle--ziel:empty::after { content: none; }

/* Kärtchen: neutral, weicher Schatten */
.pt-karte { font: inherit; display: inline-flex; align-items: center; gap: 8px; max-width: 100%; text-align: left; background: var(--pt-flaeche); border: 0;
  border-radius: var(--pt-r-klein); padding: 6px 14px 6px 6px; width: max-content; cursor: grab; color: var(--pt-text); box-shadow: var(--pt-schatten), 0 0 0 1px rgba(17, 24, 39, .04); }
.pt-karte:hover { box-shadow: 0 2px 8px rgba(17, 24, 39, .1), 0 0 0 1px rgba(17, 24, 39, .05); }
.pt-karte:active { cursor: grabbing; }
.pt-karte[aria-disabled="true"] { cursor: default; }
.pt-karte--wahl, .pt-karte--wahl:hover { box-shadow: 0 0 0 2px var(--pt-anthrazit), var(--pt-schatten); }
.pt-karte--neu { box-shadow: 0 0 0 1px var(--pt-neu-rand) inset; background: var(--pt-neu-grund); }
.pt-karte--fest { cursor: default; background: transparent; box-shadow: 0 0 0 1px var(--pt-linie-stark) inset; }
.pt-kuerzel { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--pt-kuerzel); color: var(--pt-kuerzel-text); font-size: 11px; font-weight: 700; display: grid; place-items: center; letter-spacing: .02em; }
/* Text im Kärtchen bricht um, statt über den Rand zu laufen: die Uhrzeit bleibt als Ganzes beisammen und rutscht in eine
   eigene Zeile, wenn neben dem Namen kein Platz ist. */
.pt-karte-text { display: flex; flex-direction: column; line-height: 1.25; padding-right: 2px; }
.pt-name { font-weight: 600; font-size: 14px; }
.pt-zeit { display: inline-block; font-weight: 600; font-size: 12px; color: var(--pt-akzent-text); font-variant-numeric: tabular-nums; }
.pt-taet { font-size: 12px; color: var(--pt-leise); }
.pt-marke { font-size: 12px; font-weight: 600; color: var(--pt-leise); }
.pt-marke--krank { color: var(--pt-akzent-text); }
/* Tablet (schmale Spalten ab ca. 140 px): Kärtchen und Zellen etwas enger, damit die Uhrzeit in einer Zeile bleibt */
@media (max-width: 1100px) {
  .pt-zelle { padding: 6px; gap: 5px; }
  .pt-karte { gap: 6px; padding-right: 8px; }
  .pt-karte .pt-kuerzel { flex-basis: 24px; width: 24px; height: 24px; font-size: 10px; }
  .pt-zeilenkopf { padding: 10px 12px; }
}
/* „+N weitere“ in der Zeile „Noch nicht eingeteilt“ */
.pt-mehr { font: inherit; font-size: 12px; font-weight: 600; color: var(--pt-leise); background: transparent; border: 1px dashed #b8bec5; border-radius: 999px;
  padding: 4px 12px; min-height: 30px; cursor: pointer; }
.pt-mehr:hover { background: var(--pt-grund); color: var(--pt-text); }
/* Stil B: Farbstreifen links nach Tätigkeit */
/* 26.11. (Lars: „die Ecken sind gebogen, im Rest der App ist alles gerade“): der Streifen ist ein gerader Balken im Kärtchen
   (Abstand zum Rand), statt als Schatten der runden Ecke zu folgen */
.pt-karte--taet { position: relative; padding-left: 15px; }
.pt-karte--taet::before { content: ''; position: absolute; left: 6px; top: 9px; bottom: 9px; width: 3px; border-radius: 2px; background: var(--pt-t); }
.pt-legende { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--pt-leise); }
.pt-leiste .pt-legende { padding-left: 14px; border-left: 1px solid var(--pt-linie-stark); }
@media (max-width: 760px) { .pt-leiste .pt-legende { order: 4; width: 100%; padding: 8px 0 0; border-left: 0; border-top: 1px solid var(--pt-linie);
  display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 4px 10px; font-size: 12px; }
  .pt-leiste .pt-legende span { gap: 4px; white-space: nowrap; } }   /* 6 Tätigkeiten: 3 je Zeile */
.pt-legende span { display: inline-flex; align-items: center; gap: 6px; }
.pt-legende i, .pt-chip i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.pt-legende i { width: 4px; height: 14px; border-radius: 2px; }   /* wie der Streifen am Kärtchen */
.pt-hilfe { color: var(--pt-leise); font-size: 13px; padding: 0 4px; flex: 0 0 auto; }
/* 26.11. Ziehen mit der Maus (js/plantafel.js, Pointer statt HTML5): Kärtchen folgt dem Zeiger, das Original bleibt blass stehen */
.pt-karte[data-ziehbar] { cursor: grab; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.pt-karte--zieht { opacity: .35; }
.pt-geist { position: fixed; left: 0; top: 0; z-index: 2147483000; pointer-events: none; margin: 0; cursor: grabbing;
  box-shadow: var(--pt-schatten-gross, 0 12px 28px rgba(0,0,0,.18)); transform-origin: 0 0; opacity: .96; }
body.pt-zieht-gerade, body.pt-zieht-gerade * { cursor: grabbing !important; user-select: none; -webkit-user-select: none; }

/* Tag-Menü (…) */
.pt-menue { position: fixed; z-index: 2147482400; min-width: 236px; background: var(--pt-flaeche); border-radius: 12px; box-shadow: var(--pt-schatten-gross); padding: 6px; }
.pt-menue-titel { font-size: 12px; font-weight: 600; color: var(--pt-leise); padding: 6px 10px 4px; }
.pt-menue button { font: inherit; width: 100%; display: flex; align-items: flex-start; gap: 10px; text-align: left; border: 0; background: transparent; color: var(--pt-text);
  padding: 9px 10px; border-radius: 8px; cursor: pointer; }
.pt-menue button:hover { background: var(--pt-grund); }
.pt-menue button svg { width: 18px; height: 18px; color: var(--pt-leise); flex: 0 0 18px; margin-top: 1px; }
.pt-menue button span { display: flex; flex-direction: column; }
.pt-menue button b { font-size: 14px; font-weight: 600; }
.pt-menue button small { font-size: 12px; color: var(--pt-leise); }

/* Auswahl-Leiste und Hinweis (über der Reiter-Leiste) */
.pt-wahl-leiste, .pt-hinweis { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(110px + env(safe-area-inset-bottom, 0px)); z-index: 2147482000;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; background: #2b2f33; color: #fff; border-radius: 14px;
  padding: 10px 12px 10px 16px; box-shadow: var(--pt-schatten-gross); max-width: calc(calc(100vw / var(--ui-zoom)) - 24px); font-size: 14px; }
.pt-wahl-leiste .pt-knopf { background: #3a3f45; border-color: #3a3f45; color: #fff; padding: 6px 10px; font-size: 13px; }
.pt-wahl-leiste .pt-knopf--leise { background: transparent; border-color: transparent; color: #d5d9dd; }
.pt-hinweis { bottom: calc(170px + env(safe-area-inset-bottom, 0px)); background: #1f2226; }
.pt-hinweis button { font: inherit; font-weight: 700; color: #ffb98a; background: none; border: 0; cursor: pointer; padding: 2px 4px; }
body.pt-zieht-gerade .pt-hinweis, body.pt-zieht-gerade .pt-wahl-leiste { pointer-events: none; opacity: .4; }

/* Blätter */
.pt-blatt-grund { position: fixed; inset: 0; z-index: 2147482500; background: rgba(20, 22, 24, .38); display: flex; align-items: flex-end; justify-content: center; }
.pt-blatt { background: var(--pt-flaeche); color: var(--pt-text); width: min(520px, 100%); border-radius: 20px 20px 0 0; padding: 22px 20px calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 14px; max-height: calc(88dvh / var(--ui-zoom)); overflow: auto; box-shadow: var(--pt-schatten-gross); }
@media (min-width: 761px) { .pt-blatt-grund { align-items: center; } .pt-blatt { border-radius: 20px; } }
.pt-blatt-kopf { display: flex; flex-direction: column; gap: 2px; }
.pt-blatt-kopf b { font-size: 18px; }
.pt-blatt-kopf span, .pt-blatt-text { color: var(--pt-leise); margin: 0; }
.pt-blatt-titel { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--pt-leise); }
.pt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-chip { font: inherit; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--pt-linie-stark); border-radius: 999px; background: var(--pt-flaeche);
  padding: 7px 12px; cursor: pointer; color: var(--pt-text); }
.pt-chip:hover { background: var(--pt-grund); }
.pt-chip--an, .pt-chip--an:hover { background: var(--pt-anthrazit); border-color: var(--pt-anthrazit); color: var(--pt-flaeche); }
.pt-chip--person { padding: 4px 12px 4px 4px; }
.pt-chip--person .pt-kuerzel { flex-basis: 26px; }
.pt-zeiten { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pt-zeiten label { display: flex; align-items: center; gap: 6px; color: var(--pt-leise); }
.pt-zeiten input { font: inherit; padding: 6px 8px; border: 1px solid var(--pt-linie-stark); border-radius: 8px; color: var(--pt-text); background: var(--pt-flaeche); }
.pt-blatt-fuss { display: flex; justify-content: space-between; gap: 10px; margin-top: 4px; }
.pt-ziele { display: grid; gap: 8px; }
.pt-ziel { font: inherit; text-align: left; border: 1px solid var(--pt-linie-stark); border-radius: 12px; background: var(--pt-flaeche); padding: 12px 14px; cursor: pointer;
  display: flex; flex-direction: column; gap: 2px; color: var(--pt-text); }
.pt-ziel span { color: var(--pt-leise); font-size: 13px; }
.pt-ziel:hover { border-color: var(--pt-anthrazit); background: var(--pt-grund); }

/* Handy / Tablet hoch: ein Tag, Orte untereinander */
.pt-tage-wahl { display: grid; grid-template-columns: repeat(var(--pt-tage, 6), 1fr); gap: 6px; }
.pt-tag-pille { font: inherit; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; border-radius: 12px; border: 0;
  background: var(--pt-flaeche); color: var(--pt-text); cursor: pointer; box-shadow: var(--pt-schatten); }
.pt-tag-pille b { font-size: 14px; }
.pt-tag-pille span { font-size: 12px; color: var(--pt-leise); }
.pt-tag-pille .pt-wetter svg { width: 15px; height: 15px; }
.pt-tag-pille--heute b { color: var(--pt-akzent-text); }
.pt-tag-pille--an { background: #2b2f33; color: #fff; box-shadow: none; }
.pt-tag-pille--an b { color: #fff; }
.pt-tag-pille--an span, .pt-tag-pille--an .pt-wetter svg { color: #c9ced3; }
.pt-tag-pille--an.pt-tag-pille--heute { box-shadow: inset 0 -3px 0 var(--pt-akzent); }
.pt-tag-zeile { display: flex; align-items: center; gap: 10px; padding: 0 4px; }
.pt-tag-zeile b { font-size: 17px; }
.pt-liste { display: flex; flex-direction: column; gap: 10px; }
.pt-block { background: var(--pt-flaeche); border-radius: var(--pt-r); overflow: hidden; box-shadow: var(--pt-schatten); }
.pt-block--pool, .pt-block--frei { background: var(--pt-leer); box-shadow: 0 0 0 1px var(--pt-linie) inset; }
.pt-block-kopf { display: flex; align-items: baseline; gap: 8px; padding: 12px 14px 0; }
.pt-block-kopf b { font-size: 15px; }
.pt-block--pool .pt-block-kopf b, .pt-block--frei .pt-block-kopf b { color: var(--pt-leise); font-weight: 600; }
.pt-block-kopf span { font-size: 12px; color: var(--pt-leise); }
.pt-block .pt-zelle { border: 0; min-height: 50px; padding: 8px 12px 12px; background: transparent; }
/* Text kommt übersetzt aus js/plantafel.js (--pt-plus-text am #plantafel) */
.pt-block .pt-zelle--ort:empty::after { content: var(--pt-plus-text, '+ jemanden einteilen'); position: static; display: block; opacity: 1; font-size: 13px; font-weight: 400; color: var(--pt-leise); padding: 6px 2px; }
.pt-block .pt-zelle--ziel { box-shadow: inset 0 0 0 1.5px #c9ced3; border-radius: 0 0 var(--pt-r) var(--pt-r); }
@media (max-width: 760px) {
  #plantafel { flex: 0 0 auto; padding-bottom: 120px; }
  .pt-leiste { padding: 10px 12px; }
  .pt-aktionen { margin-left: 0; width: 100%; }
  .pt-aktionen .pt-knopf { flex: 1; }
  .pt-standard { order: 3; }
}

/* Einstellungen › Plantafel (js/plantafel-einstellungen.js): Touren */
.pt-eins-tour { gap: 10px; flex-wrap: wrap; }
.pt-eins-tour .pt-eins-name { flex: 1 1 160px; min-width: 0; }
.pt-eins-tour .eins-number-input.pt-eins-taet { width: auto; min-width: 150px; max-width: 240px; text-align: left; font-weight: 600; }
.pt-eins-leer { color: var(--text-muted); font-size: 14px; }

/* ── 30.11. Ecken konzentrisch (Lars: „innen = außen − Abstand“; Design-Check der Analyse, Fund 17; Regel in css/werte.css) ──
   Kopfleiste: Innenabstand 8, die Knöpfe darin runden mit 16 − 8 = 8 (wie ein normaler Knopf) statt 10.
   Blöcke am Handy: Innenabstand 8, die Kärtchen runden mit 16 − 8 = 8; am Rechner (Raster ohne runde Fläche) ebenso 8.
   Kürzel im Kärtchen: 8 − 6 (Abstand zum Kärtchenrand) = 2 – weiches Quadrat statt Kreis. */
.pt-leiste { --r: var(--pt-r); --p: var(--abstand-2); --r-innen: max(var(--r-min), calc(var(--r) - var(--p))); padding: var(--p); }
.pt-leiste .pt-pfeil, .pt-leiste .pt-knopf { border-radius: var(--r-innen); }
.pt-block { --r: var(--pt-r); --p: var(--abstand-2); --r-innen: max(var(--r-min), calc(var(--r) - var(--p))); }
.pt-block .pt-zelle { padding: var(--abstand-1) var(--p) var(--p); }
.pt-block-kopf { padding: var(--abstand-3) var(--abstand-3) 0; }
.pt-karte { --r-karte: var(--r-innen, var(--ecke-2)); border-radius: var(--r-karte); --r-kuerzel: max(2px, calc(var(--r-karte) - 6px)); }
.pt-kuerzel { border-radius: var(--r-kuerzel); }
