.fa-packing-head {
  background: transparent;
  border: 0;
  color: inherit;
  padding: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.fa-packing-head > div {
  flex: 1;
  min-width: 0;
}
.fa-packing-head:focus-visible {
  outline: 2px solid var(--fa-new);
  outline-offset: 4px;
}
.fa-packing-active {
  gap: 12px;
}
.fa-packing-active .fa-number {
  min-width: 40px;
  height: 30px;
  border-radius: var(--fa-r-8);
  font-size: 15px;
}
.fa-packing-title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
}
.fa-packing-active .fa-packing-head .fa-muted {
  font-size: 14px;
}
.fa-packing-active > .fa-stats {
  order: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.fa-packing-active > .fa-stats > div {
  flex-direction: row;
  align-items: baseline;
  gap: 4px;
  padding: 0;
  background: transparent;
}
.fa-packing-active > .fa-stats strong {
  font-family: var(--fa-font-body);
  font-size: 14px;
  font-weight: 700;
}
.fa-packing-active > .fa-stats small {
  font-size: 12px;
  color: var(--fa-head-muted);
}
.fa-packing-active > .fa-bakeries {
  order: 21;
}
.fa-packing-help {
  margin-top: -6px;
  font-size: 13px;
  text-align: center;
}
.fa-packing-active > .fa-button.fa-report-action {
  min-height: 56px;
}
.fa-button.fa-report-action.fa-packing-dismiss {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1.5px solid #ffdc79;
  background: transparent;
  color: #ffdc79;
  font-size: 26px;
  line-height: 1;
}
.fa-packing-header > div {
  min-width: 0;
}
.fa-packing-header h1 {
  font-size: 1.3rem;
  margin: 0;
}
.fa-packing-header p {
  margin: 4px 0;
  overflow-wrap: anywhere;
}
.fa-packing-clock {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
  align-items: center;
}
.fa-packing-stops {
  display: grid;
  gap: 12px;
}
.fa-button.fa-packing-close,
.fa-button.fa-packing-submit {
  border-color: #e9c9a6;
  background: #e9c9a6;
  color: #2a1806;
  font: 700 15px var(--fa-font-body);
  letter-spacing: normal;
}
.fa-button.fa-packing-close {
  min-height: 44px;
  height: 44px;
}
.fa-button.fa-packing-submit {
  min-height: 46px;
  margin-top: 6px;
}
.fa-packing-editor {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #1c211e;
  color: #f1eee8;
}
.fa-packing-editor > .fa-divider {
  min-height: 52px;
  gap: 6px;
  padding: 0;
  border: 0;
}
.fa-packing-editor > .fa-divider > div:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 15px;
}
.fa-packing-editor .fa-counter {
  display: grid;
  grid-template-columns: 44px 30px 44px;
  gap: 6px;
  text-align: center;
}
.fa-packing-editor .fa-counter button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #3a423d;
  background: #252b27;
  color: inherit;
  font: 500 22px var(--fa-font-body);
}
.fa-packing-editor .fa-counter b {
  color: #f2cf7e;
  font-size: 19px;
}
.fa-packing-editor .fa-muted,
.fa-packing-note {
  color: #b6aea4;
}
.fa-packing-note {
  display: grid;
  gap: 4px;
  margin-top: 6px;
  font-size: 13px;
}
.fa-packing-stop {
  border-bottom: 1px solid var(--fa-new);
  padding: 12px 0;
}
.fa-packing-stop > .fa-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
}
.fa-packing-stop > .fa-row > div {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.fa-packing-stop .fa-muted {
  font-size: 0.8rem;
}
.fa-packing-reported {
  color: var(--fa-warn-text);
  overflow-wrap: anywhere;
}
.fa-chip.fa-packing-reported {
  margin: 8px 0 0;
  background: #3a2e12;
  color: #f2cf7e;
}
.fa-packing-report textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 88px;
}
.fa-packing-report .fa-packing-note textarea {
  min-height: 64px;
  resize: vertical;
}
.fa-packing-report > .fa-button {
  width: 100%;
  margin-top: 12px;
}
.fa-personal {
  padding-bottom: 14px;
}
.fa-personal h1,
.fa-personal h2,
.fa-personal-start h2 {
  font-family: var(--fa-font-body);
  font-weight: 700;
  letter-spacing: normal;
}
.fa-personal h1 {
  font-size: 21px;
  line-height: 1.3;
  margin: 10px 0 16px;
}
.fa-personal h2 {
  font-size: 18px;
  line-height: 1.35;
}
.fa-personal .fa-card {
  margin: 12px 0;
  padding: 14px;
}
.fa-personal-muted {
  color: var(--fa-leise);
  font-size: 13px;
  line-height: 1.5;
}
.fa-personal h2.fa-personal-group {
  margin: 22px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fa-leise);
  font-size: 12px;
}
.fa-personal-document {
  display: grid;
  gap: 12px;
}
.fa-personal-document h3 {
  margin: 0 0 5px;
  font-size: 17px;
}
.fa-personal-document p {
  margin: 5px 0 8px;
  font-size: 13px;
  line-height: 1.5;
}
.fa-personal-chip {
  display: inline-block;
  background: var(--fa-chip);
  color: var(--fa-chip-text);
  border-radius: var(--fa-r-16);
  font-size: 12px;
  padding: 3px 8px;
}
.fa-personal-chip.is-question,
.fa-personal-question {
  background: var(--fa-warn);
  color: var(--fa-warn-text);
}
.fa-personal-start h2 {
  font-size: 17px;
  margin: 0 0 8px;
}
.fa-personal-start small {
  font-weight: 700;
  letter-spacing: 0.08em;
}
.fa-personal-start p {
  font-size: 14px;
  line-height: 1.5;
}
.fa-personal-start.is-question {
  background: var(--fa-warn);
  border-color: var(--fa-warn-text);
}
.fa-personal-back {
  padding: 8px 0;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
}
.fa-personal-fields {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.fa-personal-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}
.fa-personal-field {
  margin: 0 0 14px;
  min-width: 0;
}
.fa-personal-field > label,
.fa-personal-field-heading > label,
.fa-personal-guardian > label {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: var(--fa-leise);
  margin-bottom: 5px;
}
.fa-personal-field-heading {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.fa-personal-field-help {
  position: relative;
  flex: 0 0 auto;
}
.fa-personal-field-help > summary {
  display: block;
  width: 24px;
  line-height: 24px;
  text-align: center;
  list-style: none;
  cursor: pointer;
  color: var(--fa-leise);
}
.fa-personal-field-help > summary::-webkit-details-marker {
  display: none;
}
.fa-personal-field-help > p {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 2;
  width: min(280px, calc(100vw - 48px));
  box-sizing: border-box;
  padding: 12px;
  margin: 4px 0 0;
  border: 1px solid var(--fa-zweit-rand);
  border-radius: var(--fa-r-12);
  background: var(--fa-karte);
  font-size: 13px;
}
.fa-personal-signature-caption {
  margin: 8px 0 16px;
  font-size: 13px;
}
.fa-personal-field input,
.fa-personal-field select,
.fa-personal-guardian input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box;
  font: inherit;
  font-size: 16px;
  color: inherit;
  background: var(--fa-karte);
  border: 1px solid var(--fa-zweit-rand);
  border-radius: var(--fa-r-9);
  padding: 10px;
}
.fa-personal-field.is-prefilled input,
.fa-personal-field.is-prefilled select {
  background: var(--fa-chip);
}
.fa-personal-field.is-question input,
.fa-personal-field.is-question select {
  border: 2px solid var(--fa-warn-text);
  background: var(--fa-warn);
}
.fa-personal-choice {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.fa-personal-choice legend {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.45;
}
.fa-personal-choice > label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0;
  padding: 12px;
  border: 2px solid var(--fa-rand);
  border-radius: var(--fa-r-9);
  background: var(--fa-karte);
  font-size: 15px;
  line-height: 1.4;
}
.fa-personal .fa-personal-choice input {
  width: 18px;
  height: 18px;
  margin: 1px 0;
  flex: none;
  accent-color: var(--fa-link);
}
.fa-personal-choice .is-selected {
  border-color: var(--fa-link);
  background: var(--fa-nav-active);
}
.fa-personal-choice small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--fa-leise);
  margin-top: 4px;
}
.fa-personal-job {
  min-width: 0;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid var(--fa-zweit-rand);
  border-radius: var(--fa-r-9);
}
.fa-personal-valid {
  display: block;
  margin-top: 5px;
  color: var(--fa-ok-text);
}
.fa-personal-invalid {
  display: block;
  margin-top: 5px;
  color: var(--fa-bad-text);
}
.fa-personal-progress {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--fa-leise);
}
.fa-personal-progress progress {
  flex-basis: 100%;
  width: 100%;
  height: 7px;
  accent-color: var(--fa-link);
}
.fa-personal-question {
  padding: 12px;
  border-radius: var(--fa-r-9);
  margin: 14px 0;
  font-size: 14px;
}
.fa-personal-question p {
  margin-bottom: 0;
}
.fa-personal-message {
  padding: 12px;
  border: 1px solid var(--fa-warn-text);
  background: var(--fa-warn);
  border-radius: var(--fa-r-9);
  margin: 12px 0;
  font-size: 14px;
  line-height: 1.5;
}
.fa-personal-message .fa-button {
  margin-top: 10px;
}
.fa-personal-actions {
  display: flex;
  gap: 10px;
  padding-top: 15px;
  margin-top: 15px;
  border-top: 1px solid var(--fa-rand);
}
.fa-personal-actions .fa-button {
  flex: 1;
  min-width: 0;
}
.fa-personal-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  margin: 18px 0;
}
.fa-personal .fa-personal-check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0;
  accent-color: var(--fa-link);
}
.fa-personal-signature {
  margin: 16px 0 6px;
}
.fa-personal-signature > p {
  font-size: 14px;
  font-weight: 600;
}
.fa-personal-signature canvas {
  display: block;
  background: var(--fa-karte);
  border: 2px dashed var(--fa-zweit-rand);
  border-radius: var(--fa-r-12);
  width: 100%;
  height: 130px;
  touch-action: none;
}
.fa-personal-signature-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--fa-leise);
  margin-top: 6px;
}
.fa-personal-signature-note button {
  flex: none;
  border: 0;
  background: transparent;
  color: var(--fa-link);
  font: inherit;
  padding: 8px 0;
  text-decoration: underline;
}
.fa-personal-guardian {
  border-top: 1px solid var(--fa-rand);
  padding-top: 14px;
  margin-top: 16px;
}
.fa-personal-guardian h3 {
  margin: 0;
  font-size: 16px;
}
.fa-personal-guardian p {
  font-size: 13px;
  line-height: 1.5;
}
.fa-personal-contract {
  max-height: 42dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--fa-karte);
  border: 1px solid var(--fa-zweit-rand);
  padding: 12px;
  border-radius: var(--fa-r-9);
}
.fa-personal-contract h2 {
  font-size: 16px;
}
.fa-personal-text {
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.fa-personal-contract img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}
.fa-nav.fa-nav-personal {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.fa-nav-personal .fa-personal-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--fa-r-round);
  background: var(--fa-count);
  position: absolute;
  top: 6px;
  right: calc(50% - 20px);
}
.fa-personal-chip.is-green {
  background: var(--fa-ok);
  color: var(--fa-ok-text);
}
.fa-personal-chip.is-yellow {
  background: var(--fa-warn);
  color: var(--fa-warn-text);
}
.fa-personal-chip.is-red {
  background: var(--fa-bad);
  color: var(--fa-bad-text);
}
.fa-staff-messages {
  display: grid;
  gap: 0.75rem;
}
.fa-staff-message {
  min-width: 0;
  border-top: 1px solid var(--sz-line);
  padding-top: 0.75rem;
}
.fa-message-open {
  display: grid;
  gap: 0.375rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  overflow-wrap: anywhere;
}
.fa-message-open > span:last-child {
  font-size: 0.875em;
}
.fa-message-preview {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-wrap;
}
.fa-message-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.fa-message-error {
  padding: 0.75rem;
  border: 1px solid currentColor;
  border-radius: var(--sz-r-sm);
}
.fa-staff-message-sheet .fa-sheet > .fa-row > button {
  width: auto;
  min-width: 44px;
  flex: 0 0 auto;
}
@font-face {
  font-family: Archivo;
  src: url("/fahrer-app/assets/archivo-latin-400-normal-C81ewxNO.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Archivo;
  src: url("/fahrer-app/assets/archivo-latin-500-normal-CGugC8dq.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Archivo;
  src: url("/fahrer-app/assets/archivo-latin-600-normal-3BBy0ZsW.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Archivo;
  src: url("/fahrer-app/assets/archivo-latin-700-normal-D9cHMWGj.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Archivo;
  src: url("/fahrer-app/assets/archivo-latin-800-normal-cB6v3kRN.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: Anton;
  src: url("/fahrer-app/assets/anton-latin-400-normal-Byf51wtH.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --fa-r-round: 50%;
  --fa-r-13: 13px;
  --fa-r-12: 12px;
  --fa-r-18: 18px;
  --fa-r-20: 20px;
  --fa-r-16: 16px;
  --fa-r-6: 6px;
  --fa-r-8: 8px;
  --fa-r-15: 15px;
  --fa-r-9: 9px;
  --fa-r-10: 10px;
  --fa-r-2: 2px;
  --fa-r-14: 14px;
  --fa-r-sheet: 24px 24px 0 0;
  --fa-font-body: Archivo, system-ui, sans-serif;
  --fa-font-heading: Anton, Impact, sans-serif;
  --fa-grund: #fbfaf7;
  --fa-text: #161412;
  --fa-leise: #6b655d;
  --fa-link: #8b5a2b;
  --fa-link-hover: #6f4722;
  --fa-karte: #fff;
  --fa-rand: #e4e0d9;
  --fa-karte-radius: 16px;
  --fa-schwarz: #161412;
  --fa-weiss: #fff;
  --fa-photo-overlay: #1d2320;
  --fa-haupt-hover: #3a3530;
  --fa-los: #4cb77a;
  --fa-heimweg: #3f8f5f;
  --fa-home-hint-bg: #1d2320;
  --fa-home-hint-border: #46534b;
  --fa-home-hint-emphasis: #9be0b4;
  --fa-los-text: #07210f;
  --fa-los-hover: #5bc487;
  --fa-teal: #6cc9ba;
  --fa-teal-text: #0b211d;
  --fa-teal-hover: #7fd3c6;
  --fa-zweit: #fff;
  --fa-zweit-rand: #d9d3ca;
  --fa-zweit-hover: #f6f2ec;
  --fa-chip: #f3f0eb;
  --fa-chip-text: #474035;
  --fa-new: #e9c9a6;
  --fa-new-text: #2a1806;
  --fa-new-number: var(--fa-new-text);
  --fa-new-row: var(--fa-chip);
  --fa-ok: #ddefe6;
  --fa-ok-text: #1b5e47;
  --fa-warn: #fcebc7;
  --fa-warn-text: #6e4300;
  /* Keep delivery hints light yellow inside the deliberately dark tour. */
  --fa-today-hint: #fcebc7;
  --fa-today-hint-text: #6e4300;
  --fa-info: #e1ecf6;
  --fa-info-text: #1c4b74;
  --fa-bad: #fbe1dd;
  --fa-bad-text: #962016;
  --fa-ablage: #2f2918;
  --fa-ablage-rand: #8c6a1f;
  --fa-ablage-text: #f6e7c2;
  --fa-mark: #f2c230;
  --fa-count: #c8322b;
  --fa-nav-active: #efe4d4;
  --fa-progress: #2a312d;
  --fa-head-card: #161412;
  --fa-head-muted: #cfc9c0;
  --fa-head-chip: #2a2622;
  --fa-overlay: rgba(0, 0, 0, 0.65);
  --fa-shadow: rgba(0, 0, 0, 0.08);
  --fa-bk-gilbert: #58d3f7;
  --fa-bk-schwarz: #e7d090;
  --fa-bk-rockstedt: #f29f6f;
  --fa-bk-ohne: #8a8378;
  --fa-tour-01: #1f6fb2;
  --fa-tour-02: #b5452f;
  --fa-tour-03: #6a4c93;
  --fa-tour-04: #1e7a70;
  --fa-tour-05: #8a6d00;
  --fa-tour-06: #b83a55;
  --fa-tour-07: #3d5a80;
  --fa-tour-08: #4f7a3a;
  --fa-tour-09: #8c5e3c;
  --fa-tour-10: #a04a8e;
  --fa-tour-11: #2d6a8a;
  --fa-tour-12: #5e6e1e;
  --fa-tour-13: #9c5520;
  --fa-tour-14: #54616e;
  --fa-tour-15: #7d3c98;
  --fa-tour-16: #2f7d5c;
  --fa-tour-none: #8a837a;
  --fa-tour-21: #3678bb;
  --fa-tour-22: #306aa4;
  --fa-tour-23: #295b8d;
  --fa-tour-24: #224c77;
  --fa-tour-31: #258181;
  --fa-tour-32: #217272;
  --fa-tour-33: #1c6262;
  --fa-tour-34: #185252;
  --fa-tour-41: #278546;
  --fa-tour-42: #22763e;
  --fa-tour-43: #1d6535;
  --fa-tour-44: #19552d;
  --fa-tour-51: #538112;
  --fa-tour-52: #497210;
  --fa-tour-53: #3f620e;
  --fa-tour-54: #35520c;
  --fa-tour-61: #956f15;
  --fa-tour-62: #846213;
  --fa-tour-63: #715410;
  --fa-tour-64: #5f460e;
  --fa-tour-71: #b25e34;
  --fa-tour-72: #9e532e;
  --fa-tour-73: #874727;
  --fa-tour-74: #723c21;
  --fa-tour-81: #c9465c;
  --fa-tour-82: #bb364d;
  --fa-tour-83: #a02f42;
  --fa-tour-84: #872737;
  --fa-tour-91: #9b54cd;
  --fa-tour-92: #8f40c8;
  --fa-tour-93: #7d33b1;
  --fa-tour-94: #692b95;
  --fa-tour-17: #776b5e;
  --fa-tour-18: #6b5f52;
  --fa-tour-19: #5e5348;
  --fa-tour-20: #51473d;
  --fa-font-scale: 1;
}
.fa-tour {
  --fa-grund: #111513;
  --fa-text: #f1eee8;
  --fa-leise: #a8a298;
  --fa-link: #7fd3c6;
  --fa-link-hover: #a6e4da;
  --fa-karte: #1c211e;
  --fa-rand: #1c211e;
  --fa-zweit: #252b27;
  --fa-zweit-rand: #3a423d;
  --fa-zweit-hover: #2d342f;
  --fa-chip: #252b27;
  --fa-chip-text: #e6e1d8;
  --fa-ok: #1e3a2a;
  --fa-ok-text: #9be0b4;
  --fa-warn: #3a2e12;
  --fa-warn-text: #f2cf7e;
  --fa-info: #16303a;
  --fa-info-text: #9ccfe6;
  --fa-new: #e9c9a6;
  --fa-new-text: #2a1806;
  --fa-new-row: #221d18;
  --fa-new-number: var(--fa-new);
}
* {
  box-sizing: border-box;
}
html,
body,
#root {
  margin: 0;
  min-height: 100%;
  width: 100%;
}
body {
  font-family: var(--fa-font-body);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  background: var(--fa-grund);
  color: var(--fa-text);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: default;
}
a {
  color: var(--fa-link);
  text-decoration: none;
}
a:hover {
  color: var(--fa-link-hover);
}
h1,
h2,
p {
  margin: 0;
}
h1,
h2,
.fa-disp {
  font-family: var(--fa-font-heading);
  font-weight: 400;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 34px;
  line-height: 1.1;
}
h2 {
  font-size: 26px;
}
.fa-page {
  min-height: 100dvh;
  background: var(--fa-grund);
  color: var(--fa-text);
  padding: calc(20px + env(safe-area-inset-top)) 18px
    calc(100px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fa-page.fa-tour {
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  font-size: calc(16px * var(--fa-font-scale));
}
html.fa-rahmen,
html.fa-rahmen body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
.fa-shell {
  height: 100vh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}
@supports (height: 100dvh) {
  .fa-shell {
    height: 100dvh;
  }
}
.fa-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
}
.fa-shell > .fa-scroll {
  margin: 0 auto;
  width: 100%;
}
.fa-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fa-between {
  justify-content: space-between;
}
.fa-muted {
  color: var(--fa-leise);
  font-size: 13px;
}
.fa-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fa-font-heading);
  font-size: 19px;
  letter-spacing: 0.03em;
}
.fa-logo img {
  width: 48px;
  height: auto;
  display: block;
}
.fa-logo-large {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.fa-logo-large img {
  width: 132px;
}
.fa-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 10px;
  border-radius: var(--fa-r-13);
  font-size: 13px;
  font-weight: 600;
  background: var(--fa-chip);
  color: var(--fa-chip-text);
}
.fa-chip.fa-ok {
  background: var(--fa-ok);
  color: var(--fa-ok-text);
}
.fa-chip.fa-warn {
  background: var(--fa-warn);
  color: var(--fa-warn-text);
}
.fa-chip.fa-info {
  background: var(--fa-info);
  color: var(--fa-info-text);
}
.fa-chip.fa-bad {
  background: var(--fa-bad);
  color: var(--fa-bad-text);
}
.fa-card {
  background: var(--fa-karte);
  border: 1px solid var(--fa-rand);
  border-radius: var(--fa-karte-radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fa-card.fa-push-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 10px;
  padding: 8px 12px;
}
.fa-push-offer > h2 {
  font-family: var(--fa-font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.fa-push-offer > p {
  grid-column: 1 / -1;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.fa-button {
  width: 100%;
  box-sizing: border-box;
  min-height: 52px;
  border: 1px solid var(--fa-zweit-rand);
  border-radius: var(--fa-r-12);
  background: var(--fa-zweit);
  color: var(--fa-text);
  font-weight: 700;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}
.fa-button:hover {
  background: var(--fa-zweit-hover);
}
.fa-button.fa-primary {
  background: var(--fa-schwarz);
  color: var(--fa-weiss);
  border: 0;
  min-height: 60px;
}
.fa-button.fa-primary:hover {
  background: var(--fa-haupt-hover);
}
.fa-button.fa-teal {
  background: var(--fa-teal);
  color: var(--fa-teal-text);
  border: 0;
}
.fa-button.fa-teal:hover {
  background: var(--fa-teal-hover);
}
.fa-button.fa-deliver {
  min-height: 76px;
  background: var(--fa-los);
  color: var(--fa-los-text);
  border: 0;
  font-size: calc(24px * var(--fa-font-scale));
  border-radius: var(--fa-r-18);
}
.fa-button.fa-deliver:hover {
  background: var(--fa-los-hover);
}
.fa-button.fa-small {
  min-height: 44px;
  padding: 8px 12px;
}
.fa-push-offer > .fa-button {
  width: auto;
  font-size: 14px;
}
.fa-button.fa-report-action {
  display: inline-flex;
  gap: 7px;
  min-height: 44px;
  background: #ffdc79;
  color: #432b00;
  font-family: var(--fa-font-body);
  font-weight: 750;
}
.fa-button.fa-report-action:disabled {
  opacity: 1;
  background: #d9ccaa;
  color: #53472c;
}
.fa-tourcard {
  background: var(--fa-head-card);
  color: var(--fa-weiss);
  border-radius: var(--fa-r-20);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fa-tourcard .fa-muted {
  color: var(--fa-head-muted);
}
.fa-tourcard .fa-chip,
.fa-stats > div {
  background: var(--fa-head-chip);
  color: var(--fa-weiss);
}
.fa-start {
  height: 72px;
  font-family: var(--fa-font-heading);
  font-size: 28px;
  letter-spacing: 0.03em;
  border-radius: var(--fa-r-16);
}
.fa-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 24px;
  padding: 0 7px;
  border-radius: var(--fa-r-6);
  background: var(--fa-tour-none);
  color: var(--fa-weiss);
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.fa-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.fa-stats > div {
  border-radius: var(--fa-r-12);
  padding: 10px 8px;
  min-width: 0;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fa-stats strong {
  font-family: var(--fa-font-heading);
  font-weight: 400;
  font-size: clamp(16px, 5vw, 24px);
}
.fa-stats small {
  font-size: 13px;
  color: var(--fa-head-muted);
}
.fa-bakeries {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fa-bk {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: var(--fa-r-round);
  flex-shrink: 0;
}
.fa-nav {
  position: relative;
  z-index: 10;
  height: calc(72px + env(safe-area-inset-bottom));
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  background: var(--fa-weiss);
  border-top: 1px solid var(--fa-rand);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.fa-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 3px;
  color: var(--fa-leise);
  font-size: 11px;
  font-weight: 700;
  position: relative;
}
.fa-nav a > span:first-child {
  width: 52px;
  height: 30px;
  border-radius: var(--fa-r-15);
  display: grid;
  place-items: center;
}
.fa-nav a[aria-current="page"] {
  color: var(--fa-schwarz);
}
.fa-nav a[aria-current="page"] > span:first-child {
  background: var(--fa-nav-active);
}
.fa-nav svg {
  width: 22px;
  height: 22px;
}
.fa-badge {
  position: absolute;
  top: 4px;
  left: calc(50% + 10px);
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: var(--fa-r-9);
  background: var(--fa-count);
  color: var(--fa-weiss);
  font-size: 11px;
  font-weight: 800;
}
.fa-banner {
  font-size: 13px;
  background: var(--fa-warn);
  color: var(--fa-warn-text);
  padding: 8px 12px;
  border-radius: var(--fa-r-10);
}
.fa-tourhead {
  min-height: 40px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: 8px;
}
/* #1973: am Stopp eine Kopfzeile – Pfeil, Marke, Fortschrittsbalken. */
.fa-tourhead.is-compact {
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 14px;
}
.fa-tour-progress {
  min-width: 0;
}
.fa-tourhead strong {
  font-size: 17px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.fa-tourhead .fa-number {
  min-width: 34px;
  font-size: 18px;
}
.fa-tour-leading,
.fa-tour-next {
  display: flex;
  align-items: center;
  gap: 6px;
}
.fa-tour-next > .fa-button,
.fa-tour-leading > .fa-tour-back {
  width: auto;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 8px;
  flex: none;
  white-space: nowrap;
}
.fa-tour-leading > .fa-tour-back,
.fa-tour-next > .fa-tour-close {
  font-size: 22px;
  line-height: 1;
}
.fa-progress {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fa-progress-track {
  position: relative;
  flex: 1;
  background: var(--fa-progress);
  height: 4px;
  border-radius: var(--fa-r-2);
}
.fa-progress-fill {
  height: 4px;
  border-radius: var(--fa-r-2);
  background: var(--fa-teal);
}
.fa-progress-position {
  position: absolute;
  top: -10px;
  min-width: 30px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: var(--fa-r-12);
  background: var(--fa-teal);
  color: var(--fa-teal-text);
  box-shadow: 0 0 0 3px var(--fa-grund);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
}
.fa-button.fa-progress-marker {
  position: absolute;
  top: -20px;
  transform: translateX(-50%);
  width: 24px;
  min-height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #432b00;
}
.fa-progress-marker > span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  background: #ffdc79;
  font-size: 14px;
  font-weight: 800;
}
.fa-progress-missed > span {
  background: #f6c8c5;
  color: #7a211c;
}
.fa-stop-next {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
}
.fa-stop-next .fa-button {
  white-space: normal;
}
.fa-stop-content,
.fa-stop-report {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* #1973: genau eine Bildschirmhöhe (Rand der Tourseite oben und unten). */
.fa-stop-content {
  min-height: calc(
    100dvh -
    40px -
    env(safe-area-inset-top) -
    env(safe-area-inset-bottom)
  );
}
.fa-stop-content .fa-gallery {
  flex: 1;
  display: flex;
  flex-direction: column;
}
/* #1973: das Foto füllt den freien Platz, mindestens 160 px hoch. */
.fa-stop-content .fa-photo-viewport,
.fa-stop-content .fa-photo-strip {
  flex: 1;
  display: flex;
  min-height: 160px;
}
.fa-stop-content .fa-photo-slide {
  align-self: stretch;
}
.fa-stop-content .fa-photo-slide .fa-photo {
  position: absolute;
  inset: 0;
}
.fa-stop-content .fa-photo-slide .fa-photo .fa-button {
  height: 100%;
}
/* Maarten 27.11.: Das Foto füllt die ganze Fläche, die Knöpfe liegen darauf.
 * Safari löst „height: 100%“ innerhalb eines <button> nicht auf; ein Querformat-
 * Foto blieb dann so hoch wie breit-proportional und ließ oben und unten Balken.
 * Deshalb füllt das Bild die Fotofläche absolut. */
.fa-stop-content .fa-gallery .fa-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: center;
}
.fa-stop-report h1 {
  color: var(--fa-warn-text);
}
.fa-stop-report .fa-segments {
  min-inline-size: 0;
  flex-wrap: wrap;
}
.fa-report-media > * {
  flex: 1 1 0;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.fa-tour-message p {
  overflow-wrap: anywhere;
}
.fa-toast.fa-report-toast {
  background: #ffdc79;
  color: #432b00;
}
.fa-stop-number {
  font-family: var(--fa-font-heading);
  font-size: calc(60px * var(--fa-font-scale));
  line-height: 1;
}
.fa-stop-name {
  font-size: calc(24px * var(--fa-font-scale));
  line-height: 1.15;
}
.fa-address {
  font-size: calc(18px * var(--fa-font-scale));
  line-height: 1.35;
}
.fa-ablage {
  background: var(--fa-ablage);
  color: var(--fa-ablage-text);
  border: 1px solid var(--fa-ablage-rand);
  /* Maarten 28.11.2026: Ablagetext in der Schriftgröße der Marken darüber,
   * der Rahmen passend dazu. */
  border-radius: var(--fa-r-13);
  padding: 6px 10px;
  font-size: calc(13px * var(--fa-font-scale));
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.fa-photo {
  position: relative;
  width: 100%;
  border-radius: var(--fa-r-14);
  overflow: hidden;
  background: var(--fa-karte);
}
.fa-photo img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
}
.fa-mark {
  position: absolute;
  width: 20%;
  aspect-ratio: 1;
  border: 4px solid var(--fa-mark);
  border-radius: var(--fa-r-round);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.fa-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fa-tour-title {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.fa-tour-title .fa-muted {
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fa-tour-title strong {
  display: block;
  min-width: 0;
  flex: none;
}
.fa-row > .fa-button {
  white-space: nowrap;
  min-width: 0;
}
.fa-sheet-header > .fa-button {
  flex: 0 0 auto;
  width: auto;
  min-width: 44px;
  height: 44px;
  padding: 8px;
}
.fa-sheet-header > h2 {
  min-width: 0;
}
.fa-photo-view .fa-sheet-header h2 {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-family: var(--fa-font-body);
  font-size: 16px;
  flex: 1;
}
.fa-photo-view .fa-sheet-header h2 > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fa-photo-view .fa-sheet-header small {
  white-space: nowrap;
  flex: none;
  color: var(--fa-leise);
}
.fa-photo-view .fa-sheet-header > .fa-button {
  width: 44px;
}
.fa-photo-view .fa-photo img {
  max-height: 65dvh;
  object-fit: contain;
}
.fa-new-pill {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: var(--fa-r-6);
  background: var(--fa-new);
  color: var(--fa-new-text);
  font: 700 11px var(--fa-font-body);
  vertical-align: middle;
}
.fa-list button.fa-new-row {
  background: var(--fa-new-row);
}
.fa-new-row .fa-disp {
  color: var(--fa-new-number);
}
.fa-list button {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 14px;
  border-radius: var(--fa-r-14);
  border: 1px solid var(--fa-rand);
  background: var(--fa-karte);
  color: var(--fa-text);
  min-height: 72px;
}
.fa-list .fa-disp {
  font-size: 28px;
  min-width: 36px;
}
.fa-list button > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.fa-list button strong {
  display: block;
  font-size: 17px;
}
.fa-list-address {
  display: flex;
  white-space: nowrap;
}
.fa-list-address > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fa-list-address > span:last-child {
  flex-shrink: 0;
}
.fa-input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid var(--fa-zweit-rand);
  border-radius: var(--fa-r-12);
  background: var(--fa-zweit);
  color: var(--fa-text);
}
/* #1916: iPhone hält Datums- und Zeitfelder sonst breiter als das Fenster. */
input.fa-input:is([type="date"], [type="datetime-local"], [type="time"]) {
  display: block;
  -webkit-appearance: none;
  appearance: none;
  text-align: left;
}
input.fa-input::-webkit-date-and-time-value {
  text-align: left;
}
textarea.fa-input {
  min-height: 100px;
  resize: vertical;
}
label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--fa-leise);
}
.fa-km {
  font-family: var(--fa-font-heading);
  font-size: 42px;
  letter-spacing: 0.03em;
  text-align: center;
  height: 76px;
}
.fa-km-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.fa-km-grid button {
  height: 60px;
  font-size: 24px;
}
.fa-sheet-backdrop {
  position: fixed;
  z-index: 30;
  inset: 0;
  background: var(--fa-overlay);
  display: flex;
  align-items: flex-end;
}
.fa-delivered {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: var(--fa-r-round);
  background: var(--fa-ok);
  color: var(--fa-ok-text);
}
.fa-sheet {
  background: var(--fa-grund);
  color: var(--fa-text);
  width: 100%;
  border-radius: var(--fa-r-sheet);
  padding: 20px 20px calc(24px + env(safe-area-inset-bottom));
  max-height: calc(
    min(100dvh, var(--fa-visible-height, 100dvh)) -
    env(safe-area-inset-top) -
    12px
  );
  /* #1916: nur hoch und runter, nie seitlich. */
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fa-sheet > :nth-last-child(1 of .fa-primary, .fa-teal),
.fa-sheet form > .fa-primary {
  position: sticky;
  bottom: 0;
  flex-shrink: 0;
  z-index: 1;
  /* #1916: Fläche rund um den Knopf, damit nichts sichtbar darunter läuft. */
  box-shadow: 0 0 0 12px var(--fa-grund);
}
.fa-sheet > * {
  flex-shrink: 0;
}
.fa-sheet-backdrop.fa-absence-receipt {
  /* The acknowledgement is non-modal: the existing navigation remains usable. */
  bottom: calc(72px + env(safe-area-inset-bottom));
  pointer-events: none;
  background: transparent;
}
.fa-absence-receipt .fa-sheet {
  pointer-events: auto;
  border: 1px solid var(--fa-rand);
  box-shadow: 0 -4px 18px var(--fa-shadow);
}
.fa-segments {
  display: flex;
  gap: 4px;
  border: 1px solid var(--fa-rand);
  background: var(--fa-chip);
  padding: 4px;
  border-radius: var(--fa-r-13);
}
.fa-segments button {
  min-height: 44px;
  flex: 1;
  padding: 8px;
  border: 0;
  border-radius: var(--fa-r-9);
  background: transparent;
  color: var(--fa-text);
  font-size: 13px;
  font-weight: 600;
}
.fa-segments button[aria-pressed="true"] {
  background: var(--fa-zweit);
  box-shadow: 0 1px 2px var(--fa-shadow);
}
.fa-finish-reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-inline-size: 0;
  margin: 0;
}
.fa-finish-reasons button {
  white-space: normal;
  overflow-wrap: anywhere;
}
.fa-tour .fa-segments button[aria-pressed="true"] {
  background: var(--fa-teal);
  color: var(--fa-teal-text);
}
.fa-stop-report .fa-segments button[aria-pressed="true"],
.fa-stop-report .fa-counter .fa-button {
  background: #ffdc79;
  color: #432b00;
}
.fa-counter {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fa-counter button {
  min-width: 44px;
  min-height: 44px;
}
.fa-divider {
  border-bottom: 1px solid var(--fa-rand);
  padding-bottom: 12px;
}
.fa-footer-note {
  margin-top: auto;
  text-align: center;
  font-size: 12px;
  color: var(--fa-leise);
}
.fa-toggle-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  font-size: 15px;
  color: var(--fa-text);
}
.fa-toggle-row input {
  appearance: none;
  flex-shrink: 0;
  width: 48px;
  height: 28px;
  margin: 0;
  padding: 3px;
  border: 1px solid var(--fa-zweit-rand);
  border-radius: 99px;
  background: var(--fa-chip);
  cursor: pointer;
}
.fa-toggle-row input::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--fa-weiss);
  box-shadow: 0 1px 3px var(--fa-shadow);
}
.fa-toggle-row input:checked {
  background: var(--fa-teal);
  border-color: var(--fa-teal);
}
.fa-toggle-row input:checked::before {
  transform: translateX(20px);
}
.fa-skeleton {
  min-height: 120px;
}
.fa-file-label {
  min-height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
}
.fa-file-label input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.fa-toast {
  position: fixed;
  z-index: 40;
  bottom: calc(88px + env(safe-area-inset-bottom));
  left: 18px;
  right: 18px;
  padding: 12px;
  border-radius: var(--fa-r-12);
  background: var(--fa-ok);
  color: var(--fa-ok-text);
  font-size: 14px;
  font-weight: 600;
}
.fa-tour button,
.fa-tour a {
  font-size: calc(16px * var(--fa-font-scale));
}
:focus-visible {
  outline: 3px solid var(--fa-teal);
  outline-offset: 3px;
}
@media (min-width: 600px) {
  .fa-page {
    max-width: 480px;
    margin: auto;
  }
  .fa-nav {
    max-width: 480px;
    margin: auto;
  }
  .fa-sheet {
    max-width: 480px;
    margin: auto;
  }
  .fa-sheet-backdrop {
    justify-content: center;
  }
  .fa-toast {
    max-width: 444px;
    margin: auto;
  }
}
.fa-gallery {
  position: relative;
}
.fa-gallery .fa-photo .fa-button {
  padding: 0;
  border: 0;
  width: 100%;
}
.fa-photo-viewport {
  position: relative;
}
.fa-photo-strip {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y pinch-zoom;
}
.fa-photo-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
}
.fa-photo-count {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--fa-photo-overlay);
  color: var(--fa-weiss);
  border-radius: var(--fa-r-8);
  padding: 4px 8px;
  font-size: 12px;
  pointer-events: none;
}
.fa-photo-options {
  position: absolute;
  bottom: 4px;
  right: 4px;
  min-width: 44px;
  min-height: 32px;
  border: 0;
  border-radius: var(--fa-r-8);
  background: var(--fa-photo-overlay);
  color: var(--fa-weiss);
}
.fa-photo-add {
  top: 4px;
  left: 4px;
  right: auto;
  bottom: auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
.fa-photo-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgb(0 0 0 / 35%);
  pointer-events: none;
}
.fa-photo-dots > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(255 255 255 / 55%);
}
.fa-photo-dots > span[data-on] {
  background: #fff;
}
.fa-photo-reorder {
  display: grid;
  gap: 8px;
}
.fa-photo-reorder h3 {
  margin: 0;
  font-size: 14px;
}
.fa-gallery-caption .fa-chip {
  margin-inline-end: 6px;
}
.fa-photo-order-buttons {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}
.fa-photo.is-full {
  width: fit-content;
  max-width: 100%;
  margin: auto;
}
.fa-photo.is-full img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 75dvh;
  object-fit: contain;
}
.fa-gallery .fa-photo img {
  height: 180px;
}
.fa-gallery.is-large .fa-photo img {
  height: 210px;
}
.fa-gallery-caption {
  color: var(--fa-text);
  background: var(--fa-grund);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 8px 12px;
}
/* Maarten 28.11.2026: Am Stopp liegen Hauptfoto, Datum und wer unten links im
 * Foto wie die Knöpfe; der Platz darunter gehört dem Foto. */
.fa-stop-content .fa-gallery-caption {
  position: absolute;
  left: 4px;
  bottom: 4px;
  margin: 0;
  max-width: calc(100% - 60px);
  padding: 4px 8px;
  border-radius: var(--fa-r-8);
  background: var(--fa-photo-overlay);
  color: var(--fa-weiss);
  font-size: 12px;
  line-height: 1.3;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  white-space: normal;
}
.fa-stop-content .fa-gallery:has(.fa-photo-dots) .fa-gallery-caption {
  max-width: calc(50% - 44px);
}
.fa-stop-content .fa-gallery-caption .fa-chip {
  min-height: 18px;
  padding: 0 6px;
  font-size: 12px;
  margin-inline-end: 0;
}
.fa-photo-empty {
  width: 100%;
  min-height: 84px;
  border-style: dashed;
}
/* #1920: „Deine nächsten Sonntage“, Tagesfeld wie im Kalender, ganze Karte tippbar. */
.fa-next {
  position: relative;
}
.fa-next-open {
  color: inherit;
  text-decoration: none;
  font-size: 22px;
  line-height: 1;
  padding: 2px 4px;
}
.fa-next-open::after {
  content: "";
  position: absolute;
  inset: 0;
}
/* #1972: das ⓘ an der Zeile Notfall-Springer liegt über der tippbaren Karte. */
.fa-next-entry .fa-info-button {
  position: relative;
  z-index: 1;
  min-height: 24px;
  padding-block: 0;
  font-size: 16px;
}
.fa-next-days {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fa-next-day {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding-block: 11px;
}
.fa-next-day + .fa-next-day {
  border-top: 1px solid var(--fa-rand);
}
/* #1972 (Vorschlag A): Kachel mit Tag und Monat; lila Einsatz, grau abwesend
   mit kleinem Kreuz oben rechts, die Zahl bleibt lesbar. */
.fa-day-tile {
  position: relative;
  box-sizing: border-box;
  width: 44px;
  height: 46px;
  border: 1.5px solid var(--fa-zweit-rand);
  border-radius: 10px;
  background: var(--fa-karte);
  color: var(--fa-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.fa-day-tile-day {
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}
.fa-day-tile-month {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.fa-day-tile[data-state="planned"] {
  background: #ece4f5;
  color: #52247b;
  border-color: #8a63b4;
}
.fa-day-tile[data-state="absent"] {
  background: var(--fa-chip);
  color: var(--fa-leise);
}
.fa-day-tile[data-confirmed="no"] {
  border-style: dashed;
}
.fa-day-tile-cross {
  position: absolute;
  top: -6px;
  right: -6px;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  border: 1.5px solid #52247b;
  border-radius: 50%;
  background: #fff;
  color: #52247b;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fa-next-day-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.fa-next-entry {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fa-next-entry-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.fa-next-entry-text > strong {
  font-size: 16px;
}
.fa-next-entry-text > .fa-muted {
  font-size: 13px;
}
.fa-next-when {
  font-size: 13px;
}
/* Small round ⓘ: explanations stay hidden until tapped. */
.fa-info-button {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 18px;
  line-height: 1;
  padding: 2px 6px;
  margin-left: 4px;
  min-width: 32px;
  min-height: 32px;
  vertical-align: middle;
  cursor: pointer;
}
/* #1972: Überschrift in einer Zeile, rechts nur der Pfeil. */
.fa-next-heading {
  flex-wrap: nowrap;
}
.fa-next-heading h2 {
  margin: 0;
  font-size: 23px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fa-info-prefix {
  white-space: nowrap;
}
.fa-work-summary {
  font-size: 13px;
}
.fa-tour-km,
.fa-home-departure {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fa-text-button {
  color: inherit;
  background: transparent;
  border: 0;
  text-decoration: underline;
  cursor: pointer;
  min-height: 32px;
}

/* Home screen setup (Maarten 10.10.): short numbered steps, help behind ⓘ. */
.fa-install-steps {
  margin: 4px 0 8px;
  padding-left: 22px;
  display: grid;
  gap: 4px;
}
.fa-install-help {
  display: grid;
  gap: 6px;
}
.fa-install-help p {
  margin: 0;
}
.fa-row:has(> .fa-button + .fa-button) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}
.fa-voice-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px 44px;
  gap: 8px;
}
.fa-voice-row > .fa-button {
  min-height: 44px;
  padding: 8px;
  font-size: 14px;
  white-space: nowrap;
}
.fa-voice-symbol {
  width: 44px;
  height: 44px;
}
.fa-row:has(> .fa-button:only-child) > .fa-button {
  flex: 1;
}
.fa-invitation-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fa-invitation-head .fa-logo {
  width: 44px;
  flex: 0 0 44px;
  margin: 0;
}
.fa-invitation-head .fa-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.fa-invitation-head .fa-logo span {
  display: none;
}
.fa-invitation-head h1 {
  white-space: nowrap;
  margin: 0;
}
.fa-stop-chips,
.fa-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fa-stop-chips .fa-bakeries {
  display: contents;
}
.fa-extras details {
  border-radius: var(--fa-r-10);
  padding: 8px 12px;
  animation: fa-extra-pulse 1s ease-in-out infinite alternate;
}
.fa-extras summary {
  cursor: pointer;
  font-weight: 700;
}
.fa-extras ul {
  margin: 8px 0 0;
  padding-left: 18px;
}
.fa-extras-list .fa-chip {
  font-size: 0.7rem;
  padding: 4px 6px;
}
@keyframes fa-extra-pulse {
  to {
    box-shadow: 0 0 0 3px currentColor;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fa-extras details {
    animation: none;
  }
}
.fa-button.fa-home-start {
  background: #bfe6bf;
  color: #173b23;
  border: 0;
  font-family: var(--fa-font-body);
  font-size: 20px;
  font-weight: 750;
}
.fa-button.fa-text-button {
  background: transparent;
  border: 0;
}

/* Auftrag25.10.: per-delivery comment, separate from the permanent place. */
.fa-today-hint {
  background: var(--fa-today-hint);
  color: var(--fa-today-hint-text);
  padding: 12px 14px;
  margin-block: 12px;
  border-radius: var(--fa-r-12);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.fa-today-mark {
  margin-inline-start: 0.35rem;
  font-size: 0.85em;
  white-space: nowrap;
}
/* #1978: „Foto vom Ablageort“ – Schritt 1 wählen, Schritt 2 verwenden. */
.fa-photo-screen {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fa-photo-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.fa-photo-head > h1 {
  flex: 1;
  min-width: 0;
}
.fa-photo-head > .fa-button {
  flex: none;
  width: 44px;
  min-height: 44px;
  font-size: 22px;
  line-height: 1;
}
.fa-photo-stop {
  font-size: 17px;
}
.fa-button.fa-photo-new {
  min-height: 64px;
  font-size: 16px;
}
/* Kamera-Knöpfe sind Labels: Symbol und Text nebeneinander. */
.fa-photo-screen .fa-file-label,
.fa-photo-empty.fa-file-label {
  flex-direction: row;
  gap: 10px;
}
.fa-file-label[aria-disabled] {
  opacity: 0.5;
  cursor: default;
}
.fa-photo-choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fa-photo-choices-head {
  padding-top: 6px;
  font-family: var(--fa-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fa-leise);
}
.fa-photo-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--fa-zweit-rand);
  border-radius: var(--fa-r-16);
  background: var(--fa-zweit);
}
.fa-photo-choice > img {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: var(--fa-r-10);
  object-fit: cover;
}
.fa-photo-choice-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fa-photo-choice-text > span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.fa-button.fa-photo-replace {
  width: auto;
  flex: none;
  min-height: 44px;
  font-size: 14px;
  background: var(--fa-grund);
}
.fa-photo-taken img {
  max-height: 300px;
}
.fa-photo-taken.fa-skeleton {
  min-height: 300px;
}
.fa-photo-effect {
  font-size: 15px;
}
/* #1966: Vorfälle in Gruppen, Karte mit Meldeweg, Kunde und drei Zeilen. */
.fa-incident-group {
  border-top: 1px solid var(--fa-rand);
}
.fa-incident-group:last-of-type {
  border-bottom: 1px solid var(--fa-rand);
}
.fa-incident-group > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  list-style: none;
  cursor: pointer;
}
.fa-incident-group > summary::-webkit-details-marker {
  display: none;
}
.fa-incident-group > summary > strong {
  flex: 1;
  font-size: 15px;
}
.fa-incident-group > summary > svg {
  color: var(--fa-leise);
}
.fa-incident-group[open] > summary > svg {
  transform: rotate(90deg);
}
.fa-incident-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 12px;
}
.fa-incident {
  gap: 6px;
}
.fa-incident-head {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--fa-leise);
}
.fa-incident-head > span:first-of-type,
.fa-incident-late .fa-incident-head > b {
  flex: 1;
  min-width: 0;
}
.fa-incident-late .fa-incident-head {
  color: var(--fa-text);
}
.fa-incident-facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 4px 10px;
  font-size: 14px;
  margin: 0;
  padding: 7px 0;
  border-block: 1px solid var(--fa-rand);
}
.fa-incident-facts dt {
  color: var(--fa-leise);
}
.fa-incident-facts dd {
  margin: 0;
}
.fa-incident-ok {
  display: flex;
  justify-content: center;
}
.fa-incident-ok > .fa-button {
  width: auto;
  min-width: 120px;
  min-height: 44px;
  font-size: 16px;
}
/* #2026 Halt beim Bäcker in der Tourliste: an seiner Stelle, ohne Stoppnummer. */
.fa-list .fa-halt-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--fa-r-14);
  border: 1px dashed var(--fa-rand);
  background: var(--fa-grund);
  color: var(--fa-text);
  min-height: 72px;
}
.fa-halt-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.fa-halt-row strong {
  display: block;
  font-size: 17px;
}
.fa-list .fa-halt-row {
  flex-wrap: wrap;
}
.fa-halt-actions {
  display: flex;
  flex-basis: 100%;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}
.fa-list .fa-halt-row .fa-button {
  display: inline-flex;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
}
.fa-halt-address {
  display: flex;
  flex-direction: column;
}
/* Team contacts stay in the existing scrolling driver frame. */
.fa-team-tabs {
  border: 0;
  margin: 0;
  display: flex;
  gap: 4px;
  background: var(--fa-zweit);
  padding: 4px;
  border-radius: var(--fa-r-12);
}
.fa-team-tabs > button {
  flex: 1;
}
.fa-team-tabs > button[aria-pressed="true"] {
  background: var(--fa-teal);
  color: var(--fa-teal-text);
}
/* T20-08, Design-Abgleich 23.10.: keep dates and duties in compact plan rows. */
.fa-page[data-page="einsatzplan"] {
  gap: 10px;
  padding-top: calc(28px + env(safe-area-inset-top));
}
.fa-plan-tabs {
  background: var(--fa-chip);
}
.fa-plan-tabs > .fa-button {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.fa-plan-tabs > .fa-button[aria-pressed="true"] {
  background: var(--fa-weiss, #fff);
  color: var(--fa-text);
  box-shadow: 0 1px 2px var(--fa-shadow);
}
.fa-month-nav {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.fa-month-nav > h1 {
  grid-column: 2;
  margin: 0;
  font-size: 22px;
}
.fa-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  text-align: center;
}
.fa-calendar-day {
  height: 36px;
  min-width: 0;
  padding: 2px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--fa-text);
  font: inherit;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* #1877: Einsatz im hellen lila Kasten ohne Tournummer, abwesend nur das Kreuz. */
.fa-calendar-day[data-state="planned"] {
  background: #eee2f8;
  color: #52247b;
  border-color: #9a71c2;
}
.fa-cross-day {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
  line-height: 1;
}
.fa-cross-day::before,
.fa-cross-day::after {
  content: "";
  position: absolute;
  inset-inline: -1px;
  top: 50%;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}
.fa-cross-day::after {
  transform: rotate(-45deg);
}
.fa-cross-day[data-cross="dashed"]::before,
.fa-cross-day[data-cross="dashed"]::after {
  border-top-style: dashed;
}
/* #1877: „Meine Abwesenheiten“ als Zeilen, rechts Marke und Knopf gleich breit. */
.fa-absence-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-block: 8px;
}
.fa-absence-row + .fa-absence-row {
  border-top: 1px solid var(--fa-rand);
}
.fa-absence-line {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}
.fa-absence-line > .fa-cross-day {
  justify-self: center;
  margin-top: 4px;
  color: #52247b;
  font-size: 18px;
  font-weight: 700;
}
.fa-absence-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.fa-absence-text > * {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fa-absence-side {
  display: flex;
  flex-direction: column;
  width: 128px;
}
.fa-absence-side > .fa-chip {
  justify-content: center;
}
.fa-absence-withdraw {
  min-height: 44px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.fa-absence-withdraw > span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border: 1px solid var(--fa-rand);
  border-radius: 10px;
  background: var(--fa-karte);
  color: var(--fa-text);
  font-size: 13px;
  font-weight: 700;
}
.fa-absences,
.fa-absence-panel .fa-sheet {
  border: 1px solid #9a71c2;
}
.fa-absences h2,
.fa-absence-form h1,
.fa-absence-panel h2 {
  color: #71399b;
}
.fa-absence-hint {
  background: #eee2f8;
  color: #52247b;
  border-radius: 12px;
  padding: 10px 12px;
  margin-block: 6px;
}
.fa-button.fa-absence-primary,
.fa-absence-form
  :is(.fa-team-tabs, .fa-sunday-tiles, .fa-segments)
  button[aria-pressed="true"] {
  background: #71399b;
  color: #fff;
}
.fa-absence-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fa-calendar-day[aria-current="date"] {
  border-color: currentColor;
}
.fa-sheet-backdrop.fa-calendar-dialog {
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.fa-calendar-dialog .fa-sheet {
  max-width: 430px;
  border-radius: 18px;
}
/* #1970: Einsatz-Zeilen im Fenster zum Tag. */
.fa-calendar-lines {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.fa-calendar-absence > summary {
  background: #6d4095;
  color: white;
}
.fa-settings-heading > h1 {
  margin: 0;
}
.fa-settings-version {
  position: relative;
}
.fa-settings-version summary {
  cursor: pointer;
  list-style: none;
  font-size: 22px;
  padding: 6px;
}
.fa-settings-version > .fa-card {
  position: absolute;
  z-index: 3;
  right: 0;
  min-width: 230px;
  overflow-wrap: anywhere;
}
.fa-settings-profile > strong {
  border-radius: 50%;
  padding: 8px;
  background: var(--fa-zweit);
}
.fa-settings-section {
  flex-shrink: 0;
  overflow: hidden;
}
.fa-settings-section > h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  margin: 0;
  border-radius: 8px;
  background: #f2e3cd;
}
.fa-settings-tour > h2 {
  background: #e4edd9;
}
.fa-settings-app > h2 {
  background: #e7e6f1;
}
.fa-settings-unread {
  border-radius: 99px;
  padding: 2px 8px;
  background: #9b2727;
  color: #fff;
}
.fa-settings-logout {
  color: #9b2727;
}
.fa-settings-install > summary {
  list-style: none;
  cursor: pointer;
}
.fa-page[data-page="einsatzplan"] .fa-team-tabs > button {
  min-height: 60px;
  min-width: 0;
  padding: 8px;
  font-size: 14px;
  white-space: normal;
}
/* N808-BROWSER-01: keep the normal caption size, but honor the selected large-font factor. */
.fa-team-badge {
  display: flex;
  align-items: center;
}
/* #1879: je Abschnitt eine Karte, je Person oder Tour eine Zeile mit den
   Symbolen rechts auf Höhe des Namens (Entwurf „OP-App-Team“). */
.fa-team-list {
  gap: 0;
  padding: 0 12px;
  overflow: hidden;
}
.fa-team-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 54px;
}
.fa-team-row + .fa-team-row {
  border-top: 1px solid var(--fa-rand);
}
.fa-team-row.fa-team-emergency,
.fa-team-row.fa-team-self {
  margin-inline: -12px;
  padding-inline: 12px;
}
.fa-team-letter-N {
  background: var(--fa-link);
}
.fa-team-letter-B {
  background: var(--fa-info-text);
}
/* Der Rand zählt mit, damit alle Namen an derselben Stelle beginnen. */
.fa-team-row.fa-team-self {
  padding-inline-start: 8px;
}
.fa-team-self {
  border-inline-start: 4px solid var(--fa-own-tour);
  background: color-mix(in srgb, var(--fa-own-tour) 16%, var(--fa-paper, #fff));
}
.fa-team-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.fa-team-name > * {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fa-team-name > strong {
  font-size: 15px;
}
.fa-team-actions {
  display: flex;
  gap: 6px;
}
.fa-team-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--fa-chip);
  color: var(--fa-text);
}
.fa-team-emergency {
  background: var(--fa-warn);
}
.fa-team-request {
  border-color: var(--fa-info-text);
}
.fa-team-help {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 14px 0;
  text-align: left;
}
.fa-team-date .fa-button {
  width: 44px;
}

.fa-team-contact-fallback {
  grid-column: 1 / -1;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  text-decoration: underline;
}
.fa-stack,
.fa-work-entry {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fa-work-entry {
  padding: 12px 0;
  border-bottom: 1px solid var(--fa-rand);
}
.fa-work-entry:last-child {
  border-bottom: 0;
}
/* #1876: Meine Stunden, je Tag eine Klappzeile (höchstens 56 px zugeklappt). */
.fa-work-days {
  gap: 0;
  padding-block: 2px;
}
.fa-work-day + .fa-work-day {
  border-top: 1px solid var(--fa-rand);
}
.fa-work-day > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
}
.fa-work-day > summary::-webkit-details-marker {
  display: none;
}
.fa-work-day > summary > strong {
  flex: 1;
  min-width: 0;
}
.fa-work-day > summary > svg {
  flex: none;
  color: var(--fa-leise);
}
.fa-work-day[open] > summary > svg {
  transform: rotate(90deg);
}
.fa-work-day-km {
  min-width: 52px;
  text-align: right;
  color: var(--fa-leise);
}
.fa-work-day-body {
  padding: 0 0 8px 24px;
}
.fa-work-entry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.fa-work-correct {
  flex: none;
  min-height: 44px;
  padding: 0 4px;
  color: var(--fa-link);
}
.fa-work-tour {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}
.fa-work-timer {
  font-variant-numeric: tabular-nums;
  display: block;
  font-family: var(--fa-font-heading);
  font-size: 38px;
  line-height: 1.3;
}
.fa-work-tour .fa-primary {
  background: var(--fa-new);
  color: var(--fa-new-text);
}
.fa-work-tour .fa-primary:hover {
  background: var(--fa-nav-active);
}
.fa-work-office {
  background: var(--fa-nav-active);
}
.fa-work-choices {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
}
.fa-work-choices [aria-pressed="true"] {
  background: var(--fa-schwarz);
  color: var(--fa-weiss);
}
/* #1921: „Korrektur melden“ zum Durchtippen; Überschriften wie die Feld-Beschriftungen. */
.fa-work-choices > legend {
  padding: 0;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--fa-leise);
}
.fa-correction-choices,
.fa-correction-wrap {
  flex-wrap: wrap;
}
.fa-correction-choices > .fa-button {
  flex: 1 1 0;
}
.fa-correction-wrap > .fa-button {
  width: auto;
  flex: 1 1 auto;
}
.fa-correction-stack {
  flex-direction: column;
}
.fa-correction-entry {
  justify-content: space-between;
  text-align: left;
}
.fa-correction-times {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.fa-correction-change {
  align-self: flex-start;
}
/* Knopf auf eigener Fläche am unteren Rand; der Inhalt endet darüber. */
.fa-correction-send {
  position: sticky;
  bottom: calc(-24px - env(safe-area-inset-bottom));
  margin: 0 -20px calc(-24px - env(safe-area-inset-bottom));
  padding: 12px 20px calc(24px + env(safe-area-inset-bottom));
  background: var(--fa-grund);
  border-top: 1px solid var(--fa-rand);
  z-index: 1;
}
.fa-sunday-tiles {
  border: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}
.fa-sunday-tiles [aria-pressed="true"] {
  background: var(--fa-schwarz);
  color: var(--fa-weiss);
}
/* T20-08, Design-Abgleich 23.10.: independent light cards, also with no wage. */
.fa-own-hours-heading {
  font-family: var(--fa-font-body);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}
.fa-own-hours-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.fa-own-hours-stats > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: var(--fa-karte);
  color: var(--fa-text);
  border: 1px solid var(--fa-rand);
  border-radius: var(--fa-r-9);
  min-width: 0;
  overflow-wrap: normal;
}
.fa-own-hours-stats small {
  color: var(--fa-leise);
}
.fa-own-hours-stats strong {
  font-family: var(--fa-font-body);
  font-size: clamp(14px, 3.6vw, 20px);
  white-space: nowrap;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.fa-own-hours-stats small {
  font-size: 11px;
}
.fa-pdf-view {
  align-items: stretch;
}
.fa-pdf-view .fa-sheet {
  height: calc(100dvh - env(safe-area-inset-top));
  padding-top: calc(12px + env(safe-area-inset-top));
}
.fa-pdf-view .fa-sheet-header h2 {
  font-family: var(--fa-font-body);
  font-size: 20px;
}
.fa-pdf-pages {
  flex: 1;
  min-height: 0;
  width: 100%;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fa-pdf-pages img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--fa-weiss);
}
/* T20-08, Design-Abgleich 23.10.: compact absence form, same reporting flow. */
.fa-page[data-page="abwesenheit"] {
  gap: 10px;
  padding-top: calc(12px + env(safe-area-inset-top));
}
.fa-absence-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.fa-absence-heading a {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  min-height: 44px;
  font-size: 28px;
}
.fa-absence-heading h1 {
  font-family: var(--fa-font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
}
.fa-page[data-page="abwesenheit"] .fa-team-tabs {
  background: var(--fa-chip);
}
.fa-page[data-page="abwesenheit"] .fa-team-tabs > button {
  min-height: 44px;
  padding: 8px;
  font-size: 14px;
  border-color: transparent;
}
.fa-page[data-page="abwesenheit"] .fa-team-tabs > button[aria-pressed="true"] {
  background: #71399b;
  color: #fff;
  border-color: #71399b;
}
.fa-absence-dates {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.fa-absence-au {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.fa-absence-au input {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--fa-link);
}
.fa-work-tour.fa-packing-clock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 14px 12px;
  border-radius: var(--fa-r-14);
  background: var(--fa-head-chip);
}
.fa-packing-clock-meta {
  order: 3;
  align-self: flex-end;
  margin-top: 4px;
  font-size: 12px;
}
.fa-packing-clock-meta h2 {
  display: none;
}
.fa-packing-clock-meta a {
  color: var(--fa-head-muted);
}
.fa-packing-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fa-new);
  font-size: 14px;
  text-transform: uppercase;
}
.fa-packing-status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: var(--fa-r-round);
  background: currentColor;
  flex: none;
}
.fa-packing-clock .fa-work-timer {
  color: var(--fa-weiss);
  font-size: 56px;
  line-height: 1.05;
}
/* #1560: Antwort des Büros unter dem Antrag. */
.fa-absence-answer {
  margin: 6px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--fa-chip);
  overflow-wrap: anywhere;
}
/* #1971: × oben rechts an „Korrektur übernommen/abgelehnt“. */
.fa-correction-card > .fa-row {
  align-items: flex-start;
  gap: 8px;
}
.fa-correction-card > .fa-row > strong {
  flex: 1;
  min-width: 0;
}
.fa-correction-card > .fa-row > .fa-button {
  flex: none;
  width: 40px;
  min-height: 40px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
}

.fa-preparation-finish fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
  border: 0;
}
.fa-preparation-finish legend {
  margin-bottom: 4px;
  font-weight: 700;
}
.fa-preparation-finish .fa-absence-au {
  display: flex;
  flex-direction: row;
  padding: 4px 2px;
}
.fa-preparation-tours {
  max-height: min(32dvh, 280px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.fa-preparation-tours label + label {
  border-top: 1px solid var(--fa-rand);
}
.fa-preparation-tours small {
  display: block;
  color: var(--fa-muted);
}
.fa-home-hint {
  display: flex;
  gap: 12px;
  padding: 18px;
  border-radius: var(--fa-r-14);
  background: var(--fa-home-hint-bg);
  border: 1px solid var(--fa-home-hint-border);
  color: var(--fa-weiss);
}
.fa-home-hint svg {
  flex: 0 0 auto;
  color: var(--fa-home-hint-emphasis);
}
.fa-home-hint strong {
  color: var(--fa-home-hint-emphasis);
}
.fa-home-hint p {
  margin-bottom: 0;
}
.fa-button.fa-home-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  background: #bfe6bf;
  color: #173b23;
  font-family: var(--fa-font-body);
  font-weight: 750;
}
.fa-home-trip > .fa-row {
  align-items: flex-start;
  flex-wrap: wrap;
}
.fa-home-trip > .fa-row > div {
  flex: 1 1 140px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.fa-home-trip > .fa-row > .fa-chip {
  margin-inline-start: auto;
  flex-shrink: 0;
}
.fa-home-back {
  width: 48px;
  flex: 0 0 48px;
  min-height: 48px;
  min-width: 48px;
}
.fa-home-time {
  padding: 16px;
  border-radius: var(--fa-r-14);
  background: var(--fa-weiss);
  /* Originalsicht 15.10.: helle Zeitfelder in dunkler Tourkarte und Tachoseite. */
  color: var(--fa-schwarz);
}
.fa-home-time .fa-muted {
  color: inherit;
}
.fa-home-time h2 {
  font-size: 1rem;
  margin-top: 0;
}
.fa-home-time dl {
  margin: 0;
}
.fa-home-time dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 6px 0;
}
.fa-home-time dd {
  margin: 0;
}
.fa-home-arrival {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.fa-home-arrival .fa-row {
  flex-wrap: wrap;
}
.fa-home-arrival h1 {
  font-size: 1.4rem;
}
.fa-home-arrival .fa-chip {
  align-self: flex-start;
  white-space: normal;
}
