/* Handwerk: Arbeitsnachweis nach Tätigkeit + Winterkonto (js/arbeitsnachweis-admin.js, 20.10.2026). Anthrazit, ruhig. */
.anw-eingabe {
  font: inherit; font-size: 14px; color: var(--text); background: var(--white);
  border: 1.5px solid var(--border); border-radius: 10px; padding: 8px 10px; min-width: 0;
}
.anw-eingabe:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-pale); }

/* Einstellungen › Tätigkeiten */
.anw-taet-zeile { gap: 10px; flex-wrap: wrap; }
.anw-taet-zeile--aus { opacity: .55; }
.anw-pfeile { display: flex; flex-direction: column; gap: 2px; }
.anw-pfeil {
  width: 26px; height: 20px; border: 1px solid var(--border); border-radius: 6px; background: var(--white);
  color: var(--text-muted); font-size: 12px; line-height: 1; cursor: pointer; padding: 0;
}
.anw-pfeil:disabled { opacity: .35; cursor: default; }
/* Farbe der Tätigkeit: Punkt, Klick zeigt die 8 Farben der Palette (js/farben.js, 23.10.2026 statt freiem Farbwähler) */
.anw-farbwahl { position: relative; flex: 0 0 auto; }
.anw-farbe { width: 30px; height: 30px; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: var(--anw-farbe, #c8ccd1); cursor: pointer;
  box-shadow: inset 0 0 0 3px var(--white); }
.anw-farbe:disabled { cursor: default; }
.anw-farben { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; display: grid; grid-template-columns: repeat(4, 28px); gap: 8px; padding: 10px;
  background: var(--white); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 24px rgba(17, 24, 39, .14); }
.anw-farben-wahl { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: var(--anw-farbe); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(17, 24, 39, .08); }
.anw-farben-wahl[aria-checked="true"] { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--text); }
.anw-farbe:focus-visible, .anw-farben-wahl:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.anw-name { flex: 1 1 180px; font-weight: 600; }
.anw-uebers { gap: 8px 12px; flex-wrap: wrap; align-items: flex-end; padding-top: 2px; padding-left: 74px; border-top: 0; }   /* unter der Tätigkeit, eingerückt */
.anw-uebers-titel { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; align-self: center; }
.anw-uebers-feld { display: flex; flex-direction: column; gap: 3px; font-size: 12px; font-weight: 600; color: var(--text-muted); flex: 1 1 150px; min-width: 0; }
.anw-vorschlag { align-self: flex-end; white-space: nowrap; }   /* GaLaBau: Vorschläge übernehmen (25.10.2026) */
.anw-schnell { gap: 6px; flex-wrap: wrap; align-items: center; }
.anw-schnell-titel { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-right: 4px; }
.anw-uebers-feld .anw-eingabe { font-size: 13px; padding: 6px 9px; }
@media (max-width: 640px) { .anw-uebers { padding-left: 0; } }
.anw-proj { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.anw-neu { gap: 10px; }
.anw-neu .anw-eingabe { flex: 1; }
.anw-leer { color: var(--text-muted); font-size: 14px; }
.anw-winter-felder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.anw-feld { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: var(--text); }
.anw-feld small { font-weight: 400; color: var(--text-muted); font-size: 12px; }
@media (max-width: 640px) { .anw-winter-felder { grid-template-columns: 1fr; } }
/* 11.11.2026 (modular-einstellungen): Tätigkeit = Farbe + Name, rechts Schalter, Pfeile (bst-pfeil wie „Was hast du gemacht?“),
   Ausblenden; auf dem Handy eine zweite Reihe statt vier. Winterkonto: Satz mit den Werten, Beispiel, Felder nur wenn an. */
.anw-taet-zeile { align-items: center; }
.anw-steuer { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.anw-proj-text { display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; }
.anw-proj-text b { font-weight: 600; color: var(--text); font-size: 13px; }
.anw-proj-text small { font-size: 12px; color: var(--text-muted); }
@media (max-width: 640px) {   /* Reihe 1: Farbe, Name, Pfeile · Reihe 2: Schalter, Ausblenden */
  .anw-taet-zeile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "farbe name pfeile" "proj proj aus"; gap: 10px 8px; }
  .anw-taet-zeile .anw-steuer { display: contents; }
  .anw-taet-zeile .anw-farbwahl { grid-area: farbe; }
  .anw-taet-zeile .anw-name { grid-area: name; }
  .anw-taet-zeile .bst-pfeile { grid-area: pfeile; }
  .anw-taet-zeile .anw-proj { grid-area: proj; justify-content: space-between; min-width: 0; }
  .anw-taet-zeile .anw-proj-text { white-space: normal; }
  .anw-taet-zeile .anw-proj-text small { display: none; }   /* Handy: nur „Je Feld getrennt“, die Erklärung steht am PC */
  .anw-taet-zeile .anw-aus { grid-area: aus; align-self: center; }
}
.anw-weg { display: none !important; }
.anw-winter-satz { color: var(--text); }
.anw-winter-beispiel { gap: 10px; font-size: 13px; color: var(--text-muted); align-items: baseline; }
.anw-winter-bsp-titel { font-weight: 600; color: var(--text); }
html.dark .anw-proj-text b, html.dark .anw-winter-satz, html.dark .anw-winter-bsp-titel { color: inherit; }

/* Team › Mitarbeiter › Arbeitsnachweis */
.team-drawer.team-drawer--breit { width: 1180px; }
.anw-tab { display: flex; flex-direction: column; gap: 14px; }
.anw-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.anw-monat { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.anw-monat b { min-width: 120px; text-align: center; }
.anw-pfeil-monat {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); background: var(--white);
  color: var(--text); font-size: 18px; line-height: 1; cursor: pointer;
}
.anw-chip { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--bg, #f3f4f6); color: var(--text-muted); white-space: nowrap; }
.anw-chip--winter { background: #fdf0e6; color: #a2501a; }
.anw-chip--ok { background: #e3f4ea; color: #1e7a45; }
.anw-knoepfe { margin-left: auto; display: flex; gap: 8px; }
.anw-bestaetigen-ab { align-self: center; font-size: 13px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.anw-hinweis { font-size: 13px; color: var(--text-muted); background: var(--bg, #f3f4f6); border-radius: 10px; padding: 10px 12px; }
.anw-blatt-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
.anw-blatt { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.anw-blatt th, .anw-blatt td { padding: 4px 8px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
.anw-blatt thead th { position: sticky; top: 0; background: var(--white); font-size: 11px; color: var(--text-muted); font-weight: 700; vertical-align: bottom; border-bottom: 1.5px solid var(--text); }
.anw-blatt thead th span { display: block; color: var(--text); }
.anw-blatt thead th small { display: block; font-weight: 500; }
.anw-blatt .anw-zahl { text-align: right; }
.anw-blatt .anw-tag { color: var(--text-muted); }
.anw-blatt .anw-tag b { color: var(--text); }
.anw-blatt .anw-summe { font-weight: 700; }
.anw-blatt .anw-winter { color: #a2501a; }
.anw-blatt .anw-bem { color: var(--text-muted); white-space: normal; min-width: 90px; }
.anw-blatt tr.anw-we td, .anw-blatt tr.anw-ft td { background: rgba(43, 47, 51, .045); }
.anw-blatt tr.anw-abw .anw-bem { color: #a2501a; font-weight: 600; }
.anw-blatt tfoot td { font-weight: 700; border-top: 1.5px solid var(--text); border-bottom: 0; }
.anw-info { font-size: 13px; color: var(--text-muted); }
.anw-unterschrift { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.anw-unterschrift div { border-top: 1px solid var(--text); padding-top: 4px; font-size: 12px; color: var(--text-muted); }
.anw-winterkonto { border: 1px solid var(--border); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 12px; background: var(--white); }
.anw-winter-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-end; }
.anw-winter-stand { font-size: 28px; font-weight: 800; letter-spacing: -.5px; color: var(--text); font-variant-numeric: tabular-nums; }
.anw-winter-teile { display: flex; gap: 16px; font-size: 13px; color: var(--text-muted); }
.anw-winter-teile b { color: var(--text); font-variant-numeric: tabular-nums; }
.anw-klein { font-size: 12px; color: var(--text-muted); }
.anw-buchungen { width: 100%; border-collapse: collapse; font-size: 13px; }
.anw-buchungen td { padding: 5px 4px; border-bottom: 1px solid var(--border); }
.anw-buchungen .anw-zahl { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.anw-buchen { display: flex; flex-wrap: wrap; gap: 8px; }
.anw-buchen-std { width: 80px; }
.anw-buchen-grund { flex: 1 1 200px; }
.anw-sammel .anw-monat { justify-content: center; margin: 4px 0 10px; width: 100%; }

html.dark .anw-chip--winter { background: #3a2414; color: #f0b48a; }
html.dark .anw-chip--ok { background: #12382a; color: #7fd8a6; }
html.dark .anw-blatt tr.anw-we td, html.dark .anw-blatt tr.anw-ft td { background: rgba(255, 255, 255, .04); }
html.dark .anw-blatt .anw-winter, html.dark .anw-blatt tr.anw-abw .anw-bem { color: #f0b48a; }

/* Einstellungen › Tätigkeiten & Winterkonto › „Was hast du gemacht?“ (nur GaLaBau, js/arbeiten-einstellungen.js, 10.11.2026) */
.arb { display: flex; flex-direction: column; gap: 10px; }
.arb--speichert { opacity: .6; pointer-events: none; }
.arb-hinweis { font-size: 13px; color: var(--text-muted); padding: 0 4px; }
.arb-orte { display: flex; flex-wrap: wrap; gap: 6px; }
.arb-ort { font: inherit; font-size: 14px; color: var(--text); background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.arb-ort[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.arb-ort:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.arb-zeile { gap: 10px; flex-wrap: wrap; }
.arb-name { flex: 1 1 160px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.arb-zeile--aus .arb-name { color: var(--text-muted); font-weight: 400; }
.arb-eigen { font-size: 12px; font-weight: 600; color: var(--branche-akzent-text, var(--text-muted)); border: 1px solid var(--branche-akzent, var(--border)); border-radius: 999px; padding: 0 8px; }
.arb-weg { font: inherit; font-size: 13px; font-weight: 400; color: var(--text-muted); background: none; border: 0; padding: 2px 4px; text-decoration: underline; cursor: pointer; }
.arb-weg:hover:not(:disabled) { color: var(--text); }
.arb-weg:disabled { opacity: .45; cursor: default; }
.arb-einheit { font-size: 13px; color: var(--text-muted); min-width: 92px; }
.arb-neu { gap: 8px; flex-wrap: wrap; }
.arb-neu-name { flex: 1 1 180px; }
.arb-fehler { flex-basis: 100%; font-size: 13px; color: var(--danger); min-height: 0; }
.arb-fehler:empty { display: none; }
html.dark .arb-ort { background: transparent; color: var(--text); }

/* Einstellungen › Tätigkeiten & Winterkonto › Fahrzeuge (Handwerk, js/fahrzeuge-einstellungen.js, 12.11.2026) */
.fz-zeile { gap: 8px 10px; flex-wrap: wrap; align-items: center; }
.fz-name { flex: 1 1 160px; }
.fz-art { flex: 0 0 auto; }
.fz-taet { flex: 0 1 180px; }
.fz-nummer-wrap { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); }
.fz-nummer { width: 76px; }
.fz-gesehen { font-size: 13px; color: var(--text-muted); flex: 1 1 160px; }
.fz-gesehen--alt { color: var(--danger); }
.fz-zeile--aus .fz-name, .fz-zeile--aus .fz-gesehen { color: var(--text-muted); }
.fz-mehr { flex-basis: 100%; font-size: 13px; color: var(--text-muted); }
.fz-mehr summary { cursor: pointer; width: max-content; }
.fz-mehr label { display: inline-flex; align-items: center; gap: 6px; margin: 6px 12px 0 0; }
.fz-mehr small { display: block; margin-top: 6px; }
.fz-gruppe { width: 76px; }
.fz-kennung { width: 300px; max-width: 100%; font-family: ui-monospace, Menlo, monospace; font-size: 12px; }
.fz-fehler { flex-basis: 100%; font-size: 13px; color: var(--danger); }
.fz-fehler:empty { display: none; }
.fz-neu { gap: 8px; flex-wrap: wrap; }
.fz-neu-name { flex: 1 1 180px; }
/* Symbol vorn (13.11.2026, js/fahrzeug-symbole.js) */
.fz-symbol-knopf { flex: 0 0 auto; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 10px; background: var(--white); color: var(--text); cursor: pointer; padding: 0; }
.fz-symbol-knopf:hover:not(:disabled), .fz-symbol-knopf[aria-expanded="true"] { border-color: var(--primary); color: var(--primary); }
.fz-symbol-knopf--geraten { color: var(--text-muted); }
.fz-symbol-knopf:disabled { cursor: default; opacity: .6; }
.fz-symbol-wahl { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; }
.fz-symbol-wahl[hidden] { display: none; }
.fz-symbol-wahl-knopf { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border: 1px solid var(--border);
  border-radius: 9px; background: transparent; color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
.fz-symbol-wahl-knopf:hover { border-color: var(--primary); }
.fz-symbol-wahl-knopf[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-pale); color: var(--primary); font-weight: 600; }
@media (max-width: 600px) { .fz-taet { flex-basis: 100%; } .fz-kennung { width: 100%; } }
