/* ═══════════════════════════════════════════════════════════════
   hausfeen PWA v52 — Uber-inspired Provider App
   Design System + Components + Screens
   ═══════════════════════════════════════════════════════════════ */

/* ═══ TOKENS ═══ */
:root {
  /* Brand */
  --teal: var(--pri); /* 26.10.2026: Marken-Tuerkis aus /assets/css/tokens.css (vorher #14b8a6) */
  --teal-dark: var(--pri-dk);
  --teal-glow: rgba(44,204,211,.35);
  --on-teal: var(--on-pri); /* Schrift auf Tuerkis-Flaechen (7,3:1; Weiss waere 2:1) */
  --teal-text: var(--pri-text); /* 03.10.2026: Türkis für kleine Schrift/Fokusrahmen auf Weiß (ca. 5,5:1; --teal-dark nur ca. 3,7:1) */

  /* Ink (dark header) */
  --ink:        #0F2E36; /* 06.10.2026 (Almir): Petrol der Marke statt Schwarz, wie die Website */
  --ink-2:      #163F4A;
  --ink-3:      #1F4D59;

  /* Surface (light body) */
  --bg:         #f6f7f9;
  --surface:    #ffffff;
  --surface-2:  #f1f3f6;

  /* Text */
  --text: var(--dk); /* 26.10.2026: Petrol wie die Website */
  --text-2:     #4a4a4a;
  --text-3:     #6b6b6b; /* 25.10.2026: vorher #7a7a7a = 4,3:1 auf Weiss */
  --text-light: #ffffff;
  --text-dim:   rgba(255,255,255,.7);
  --text-faint: rgba(255,255,255,.5);

  /* Semantic */
  --green: #0B7D5C;
  --green-light:#D1FAE5;
  --red: #C62917;
  --red-light:  #fee2e2;
  --amber:      #f59e0b;
  --amber-light:#fef3c7;
  --blue:       #3b82f6;

  /* Radii */
  --r-sm:  8px;
  --r:     12px;
  --r-lg:  18px;
  --r-xl:  24px;
  --r-pill:999px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(0,0,0,.04);
  --sh-2: 0 2px 6px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --sh-3: 0 8px 24px rgba(0,0,0,.08);
  --sh-4: 0 16px 48px rgba(0,0,0,.14);
  --sh-teal: 0 8px 28px rgba(44,204,211,.35);

  /* Motion */
  --d-fast: 150ms;
  --d:      220ms;
  --d-slow: 300ms; /* 25.10.2026 (Paket 10): vorher 400 ms — UI-Uebergaenge bleiben unter 300 ms */
  --ease:   cubic-bezier(.4, 0, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  /* Safe Area */
  --safe-top:    env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left:   env(safe-area-inset-left, 0px);
  --safe-right:  env(safe-area-inset-right, 0px);

  /* Layout */
  --topbar-h:   64px;
  --botnav-h:   66px;
}

/* ═══ RESET ═══ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; overscroll-behavior: none; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
  user-select: none;
  -webkit-user-select: none;
}
input, textarea { user-select: text; -webkit-user-select: text; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }

/* Standalone PWA: kein Scroll-Bounce */
@media (display-mode: standalone) {
  html, body { height: 100dvh; overflow: hidden; position: fixed; inset: 0; }
}

/* ═══ SPLASH ═══ */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.5rem;
  transition: opacity var(--d-slow) var(--ease);
}
.splash.gone { opacity: 0; pointer-events: none; }
.splash-logo {
  height: 56px;
  filter: brightness(0) invert(1);
  animation: splash-fade 1.2s var(--ease) infinite alternate;
}
@keyframes splash-fade { from { opacity: .5; } to { opacity: 1; } }
.splash-spinner {
  width: 28px; height: 28px;
  border: 3px solid rgba(255,255,255,.15);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: splash-spin .8s linear infinite;
}
@keyframes splash-spin { to { transform: rotate(360deg); } }

/* ═══ TOAST ═══ */
.toast {
  position: fixed;
  top: calc(12px + var(--safe-top));
  left: 50%;
  transform: translateX(-50%) translateY(-200%);
  background: var(--ink);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: var(--r-pill);
  font-size: .85rem; font-weight: 600;
  box-shadow: var(--sh-4);
  z-index: 9000;
  max-width: min(440px, calc(100vw - 32px));
  width: max-content;
  text-align: center;
  /* 01.10.2026 (App): mehrzeilig statt abgeschnitten */
  white-space: pre-line;
  overflow-wrap: anywhere;
  line-height: 1.35;
  border-radius: var(--r-lg);
  transition: transform var(--d) var(--spring), opacity var(--d) var(--ease);
  pointer-events: none;
  opacity: 0;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.success { background: var(--green); }
.toast.error   { background: var(--red); }

/* ═══ SCREENS ═══ */
.scr {
  position: fixed; inset: 0;
  display: flex; flex-direction: column;
  background: var(--bg);
  z-index: 1;
}
.scr.active { z-index: 10; }

.scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 1rem calc(var(--botnav-h) + var(--safe-bottom) + 1rem);
}

/* ═══ INSTALL SCREEN ═══ */
.install-scr {
  background: radial-gradient(ellipse at top, var(--ink-2) 0%, var(--ink) 70%);
  color: #fff;
}
.install-wrap {
  flex: 1;
  padding: calc(2rem + var(--safe-top)) 1.5rem calc(2rem + var(--safe-bottom));
  display: flex; flex-direction: column; align-items: center;
  max-width: 420px; margin: 0 auto; width: 100%;
  text-align: center;
}
.install-logo {
  height: 48px;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}
.install-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 .5rem;
}
.install-sub {
  font-size: .95rem;
  color: var(--text-dim);
  margin: 0 0 2rem;
  line-height: 1.5;
}
.install-feats {
  list-style: none; padding: 0; margin: 0 0 2rem;
  width: 100%;
  display: flex; flex-direction: column; gap: .7rem;
}
.install-feats li {
  display: flex; align-items: center; gap: .8rem;
  padding: .8rem 1rem;
  background: rgba(255,255,255,.05);
  border-radius: var(--r);
  font-size: .9rem; font-weight: 500;
  text-align: left;
}
.install-feat-ic { font-size: 1.3rem; flex-shrink: 0; display: inline-flex; } /* 25.10.2026: Symbol schrumpfte bei langen Texten */
.install-cta {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  width: 100%;
  padding: 1.1rem 1.5rem;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--on-teal);
  border: none;
  border-radius: var(--r-lg);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: var(--sh-teal), inset 0 1px 0 rgba(255,255,255,.2);
  cursor: pointer;
  transition: transform var(--d-fast) var(--ease);
  animation: install-pulse 2.5s ease-in-out infinite;
}
.install-cta svg { width: 22px; height: 22px; }
.install-cta:active { transform: scale(.97); }
@keyframes install-pulse {
  0%, 100% { box-shadow: var(--sh-teal), inset 0 1px 0 rgba(255,255,255,.2); }
  50% { box-shadow: 0 8px 40px rgba(20,184,166,.6), 0 0 0 12px rgba(20,184,166,.08), inset 0 1px 0 rgba(255,255,255,.2); }
}
.install-ios { width: 100%; }
.ios-tut {
  display: flex; flex-direction: column; gap: .75rem;
  padding: 1.2rem;
  background: rgba(255,255,255,.05);
  border-radius: var(--r);
}
.ios-step {
  display: flex; align-items: center; gap: .8rem;
  font-size: .9rem;
  text-align: left;
}
.ios-step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--on-teal); font-weight: 800; font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.install-android-manual, .install-desktop {
  margin-top: 1rem;
}
.install-hint {
  color: var(--text-dim);
  font-size: .85rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}
.install-skip {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r);
  padding: .7rem 1.5rem;
  font-size: .85rem; font-weight: 600;
  min-height: 44px; /* 01.10.2026 (App-Ausbau): Tippfläche */
}

/* ═══ LOGIN SCREEN ═══ */
.login-scr {
  background: var(--bg);
  color: var(--text);
}
.login-wrap {
  flex: 1;
  padding: calc(3rem + var(--safe-top)) 1.5rem calc(2rem + var(--safe-bottom));
  display: flex; flex-direction: column;
  max-width: 420px; margin: 0 auto; width: 100%;
}
.login-logo {
  height: 48px;
  margin: 2rem auto 1.5rem;
}
.login-title {
  font-size: 1.75rem; font-weight: 800;
  letter-spacing: -.02em;
  text-align: center;
  margin: 0 0 .4rem;
}
.login-sub {
  font-size: .9rem;
  color: var(--text-3);
  text-align: center;
  margin: 0 0 2rem;
}
.field {
  margin-bottom: 1rem;
}
.field label {
  display: block;
  font-size: .8rem; font-weight: 700;
  color: var(--text-2);
  margin-bottom: .4rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.field input {
  display: block; width: 100%;
  padding: .95rem 1rem;
  background: var(--surface);
  border: 1.5px solid transparent;
  border-radius: var(--r);
  font-size: 1rem;
  color: var(--text);
  transition: border-color var(--d) var(--ease), box-shadow var(--d) var(--ease);
  -webkit-appearance: none;
}
.field input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-glow);
}
.err {
  color: var(--red);
  font-size: .85rem;
  font-weight: 600;
  margin: .5rem 0 1rem;
  padding: .6rem .8rem;
  background: var(--red-light);
  border-radius: var(--r-sm);
}
.lang-switcher {
  display: flex; justify-content: center;
  gap: .6rem;
  margin-top: 2rem;
}
.lang-btn {
  background: transparent;
  border: none;
  padding: .5rem .8rem;
  min-height: 44px; /* 01.10.2026 (App-Ausbau): Tippfläche */
  font-size: .85rem;
  color: var(--text-3);
  border-radius: var(--r-sm);
}
.lang-btn.active { color: var(--teal); font-weight: 700; }
.noprofile-logout { margin: 1.2rem auto 0; color: var(--text-3); border-color: var(--surface-2); display: block; }

/* 01.10.2026 (App-Ausbau): Login – zwei Wege (Passwort / Code per E-Mail), Anmelde-Link aus der E-Mail, Hinweis im
   Install-Screen; der Login scrollt, damit auf kleinen Handys mit offener Tastatur nichts abgeschnitten wird */
.login-scr { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.login-modes {
  display: flex; gap: .25rem;
  padding: .25rem;
  background: var(--surface-2);
  border-radius: var(--r);
  margin: 0 0 1.25rem;
}
.login-mode {
  flex: 1;
  background: transparent; border: none;
  border-radius: var(--r-sm);
  padding: .65rem .5rem;
  min-height: 44px; /* 01.10.2026 (App-Ausbau): Tippfläche */
  font-size: .9rem; font-weight: 700;
  color: var(--text-3);
}
.login-mode.active { background: var(--surface); color: var(--text); box-shadow: var(--sh-2); }
.login-link {
  display: block; margin: .8rem auto 0;
  background: transparent; border: none;
  padding: .5rem .75rem; min-height: 44px;
  font-size: .88rem; font-weight: 600;
  color: var(--teal-dark); text-decoration: underline;
}
.login-link:disabled { color: var(--text-3); text-decoration: none; cursor: default; }
.login-note { font-size: .82rem; color: var(--text-3); line-height: 1.5; text-align: center; margin: .9rem 0 0; }
/* 04.10.2026 (App-Welle 1b): "Noch kein Konto? Jetzt registrieren" + Erfolgsmeldung nach dem Rücksprung */
.login-register { text-align: center; font-size: .9rem; color: var(--text-2); margin: 1.4rem 0 0; }
.login-register-a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .3rem; color: var(--teal-text); font-weight: 800; text-decoration: underline; }
.login-registered { text-align: left; }
.login-note.lead { margin: 0 0 1rem; }
.login-ok {
  color: #166534; background: var(--green-light);
  font-size: .85rem; font-weight: 600; line-height: 1.5;
  padding: .6rem .8rem; border-radius: var(--r-sm);
  margin: 0 0 1rem;
}
.magic-link-box {
  background: var(--green-light); border-radius: var(--r);
  padding: .9rem 1rem 1rem; margin: 0 0 1.25rem;
  text-align: center;
}
.magic-link-box p { margin: 0 0 .75rem; color: #166534; font-size: .9rem; font-weight: 700; line-height: 1.45; }
.magic-link-box .btn { width: 100%; }
.field input.code-input { font-size: 1.5rem; font-weight: 800; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
.install-magic-hint {
  width: 100%;
  background: rgba(20,184,166,.14);
  border: 1px solid var(--teal);
  border-radius: var(--r);
  color: #fff;
  font-size: .88rem; line-height: 1.5;
  padding: .8rem 1rem;
  margin: 0 0 1.5rem;
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: var(--r);
  border: none;
  font-size: .95rem; font-weight: 700;
  transition: transform var(--d-fast) var(--ease), box-shadow var(--d) var(--ease);
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .6; } /* 01.10.2026 (App-Ausbau): gesperrt = sichtbar (Code senden/prüfen, Anmelden) */
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--sh-2);
}
.btn-primary:hover { background: var(--ink-2); }
.btn-lg {
  padding: 1.05rem 1.5rem;
  font-size: 1rem;
  width: 100%;
  border-radius: var(--r-lg);
}
.btn-teal {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--on-teal);
  box-shadow: var(--sh-teal);
}
.btn-ghost {
  background: var(--surface-2);
  color: var(--text);
}

/* ═══ TOPBAR (Dark Header) ═══ */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(.7rem + var(--safe-top)) 1rem .7rem;
  background: var(--ink);
  color: #fff;
  min-height: calc(var(--topbar-h) + var(--safe-top));
  position: relative;
  z-index: 20;
}
.topbar-l { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.topbar-logo {
  height: 28px;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}
.topbar-greet { min-width: 0; }
.topbar-name {
  font-size: 1rem; font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topbar-sub {
  font-size: .7rem;
  color: var(--text-dim);
  margin-top: 1px;
}
.topbar-r { display: flex; align-items: center; gap: .3rem; flex-shrink: 0; }

/* Sub-Bar (inner screens) */
.subbar {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding: calc(.7rem + var(--safe-top)) .6rem .7rem;
  background: var(--ink);
  color: #fff;
  min-height: calc(var(--topbar-h) + var(--safe-top));
  position: relative;
  z-index: 20;
}
.subbar-t {
  font-size: 1rem; font-weight: 700;
  text-align: center;
  letter-spacing: -.01em;
}
.subbar-r { justify-self: end; }
.backbtn {
  width: 44px; height: 44px;
  background: transparent;
  color: #fff;
  border: none; border-radius: 50%;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--d-fast);
}
.backbtn:active { background: rgba(255,255,255,.1); }
.thread-del[hidden] { display: none !important; } /* 05.10.2026: Chat löschen (nur für sich) */
.textbtn {
  background: transparent;
  color: var(--teal);
  border: none;
  font-size: .85rem; font-weight: 600;
  padding: .5rem .8rem;
}

/* Icon Button (Topbar) */
.iconbtn {
  position: relative;
  width: 44px; height: 44px;
  background: transparent;
  color: inherit;
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--d-fast);
}
.iconbtn:active { background: rgba(255,255,255,.1); }
.iconbtn svg { width: 22px; height: 22px; }
.badge {
  position: absolute;
  top: 6px; right: 6px;
  min-width: 18px; height: 18px;
  background: var(--red);
  color: #fff;
  border-radius: 9px;
  font-size: .65rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px;
  border: 2px solid var(--ink);
}

/* ═══ BANNERS ═══ */
/* 01.10.2026 (App-Ausbau): Status-Block der Startseite entfernt (Sichtbarkeit steht im Profil, .vis-*) */
.banner {
  display: flex; align-items: center; gap: .8rem;
  padding: .9rem 1rem;
  margin-bottom: .8rem;
  border-radius: var(--r);
  transition: transform var(--d-fast) var(--ease);
}
.banner-ic { font-size: 1.5rem; flex-shrink: 0; }
.banner-body { flex: 1; min-width: 0; }
.banner-t { font-size: .9rem; font-weight: 800; line-height: 1.2; }
.banner-s { font-size: .75rem; margin-top: 2px; opacity: .9; line-height: 1.3; }
.banner-arrow {
  font-size: 1.5rem;
  opacity: .6;
  flex-shrink: 0;
}
/* 01.10.2026 (App): Bankkonto fehlt, Sperre, mehrzeilige Banner-Texte
   01.10.2026 (App-Ausbau): Push-/Ausweis-Banner der Startseite entfallen (.banner-teal/-warn/-btn) — Hinweiszeile .home-notice */
.banner-red {
  background: var(--red-light);
  color: #991b1b;
  border-left: 4px solid var(--red);
  cursor: pointer;
}
.banner-red:active { transform: scale(.98); }
.banner-s { white-space: pre-line; }
.tax-warn.muted { color: var(--text-3); font-weight: 600; }

/* ═══ EARNINGS PILLS ═══ */
.pills {
  display: flex; align-items: stretch;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  padding: .5rem;
  margin-bottom: 1rem;
}
.pill {
  flex: 1;
  background: transparent;
  border: none;
  padding: .6rem .5rem;
  text-align: center;
  border-radius: var(--r-sm);
  transition: background var(--d-fast);
}
.pill:active { background: var(--surface-2); }
.pill-v {
  font-size: 1.1rem; font-weight: 800;
  color: var(--text);
  letter-spacing: -.01em;
  line-height: 1.1;
}
.pill-l {
  font-size: .68rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 4px;
  font-weight: 700;
}
.pill-div {
  width: 1px;
  background: var(--surface-2);
  margin: .3rem 0;
}

/* ═══ TAX BAR ═══ */
.tax-bar {
  background: var(--surface);
  border-radius: var(--r);
  padding: .85rem 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--sh-2);
}
.tax-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: .5rem;
}
.tax-lbl { font-size: .78rem; color: var(--text-3); font-weight: 600; }
.tax-val { font-size: .82rem; font-weight: 700; color: var(--text); }
.tax-track {
  height: 6px;
  background: var(--surface-2);
  border-radius: 3px;
  overflow: hidden;
}
.tax-fill {
  height: 100%;
  background: var(--green);
  border-radius: 3px;
  transition: width var(--d-slow) var(--ease), background var(--d) var(--ease);
  width: 0%;
}
.tax-warn {
  font-size: .72rem;
  color: var(--red);
  font-weight: 700;
  margin-top: .4rem;
}

/* ═══ ACTIVE BOOKING BANNER (Quick Entry) ═══ */
.active-bk {
  display: flex; align-items: center; gap: .9rem;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  padding: 1rem 1.1rem;
  border-radius: var(--r-lg);
  margin-bottom: 1rem;
  box-shadow: var(--sh-3);
  cursor: pointer;
  transition: transform var(--d-fast) var(--ease);
}
.active-bk:active { transform: scale(.98); }
.active-bk-l { display: flex; align-items: center; gap: .8rem; flex: 1; min-width: 0; }
.active-bk-pulse {
  width: 12px; height: 12px;
  background: var(--green);
  border-radius: 50%;
  animation: bk-pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes bk-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22,163,74,.6); }
  50% { box-shadow: 0 0 0 10px rgba(22,163,74,0); }
}
.active-bk-t { font-size: .85rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--green); }
.active-bk-s {
  font-size: .95rem; font-weight: 700;
  margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.active-bk-arrow { font-size: 1.3rem; opacity: .7; }

/* ═══ SECTIONS ═══ */
.section { margin-top: 1.5rem; }
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .7rem;
  padding: 0 .25rem;
}
.section-t {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  color: var(--text-3);
  margin: 0;
}
.section-link {
  background: transparent;
  border: none;
  color: var(--teal);
  font-size: 1.1rem;
  padding: .3rem .5rem;
  font-weight: 700;
}
.empty-small {
  text-align: center;
  color: var(--text-3);
  font-size: .85rem;
  padding: 2rem 1rem;
}

/* ═══ JOB CARDS ═══ */
.jobs-list { display: flex; flex-direction: column; gap: .7rem; }
.job-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 1.1rem;
  box-shadow: var(--sh-2);
  transition: transform var(--d-fast) var(--ease), box-shadow var(--d) var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.job-card:active { transform: scale(.98); }
.job-card.urgent {
  border-left: 4px solid var(--red);
}
/* 01.10.2026 (App): Badge "ACUT" (::before, überdeckte den Betrag) entfernt — übersetzte Chips in der Meta-Zeile */
.job-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
.job-chip {
  display: inline-flex; align-items: center;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--surface-2); color: var(--text-2);
  font-size: .7rem; font-weight: 700;
}
.job-chip.chip-hot { background: var(--red-light); color: #991b1b; }
.job-chip.chip-warn { background: var(--amber-light); color: #78350f; }
.job-chip.chip-muted { background: var(--surface-2); color: var(--text-3); }
.job-card-right { text-align: right; flex-shrink: 0; }
.job-card-meta .is-today { color: var(--red); font-weight: 800; }
.more-btn {
  display: block; width: 100%;
  padding: .8rem; border: none;
  background: var(--surface); color: var(--teal-dark);
  border-radius: var(--r-lg); box-shadow: var(--sh-1);
  font-size: .88rem; font-weight: 700;
}
.js-meta-muted .js-meta-l { color: var(--text-3); font-size: .8rem; }
/* Bewerbung im Sheet (01.10.2026 (App): Termin-Wahl, Mitbring-Checkbox, Nachricht, Fehlerbox) */
/* 01.10.2026 (Sheet übersichtlicher): Termin als zwei Tipp-Felder, kurze graue Hinweise, Mitbringen als eine Box */
.apply-form { margin-top: .9rem; }
.tc-box { margin-bottom: 1rem; }
.tc-q { font-size: .9rem; font-weight: 800; color: var(--text); margin-bottom: .5rem; }
.tc-seg { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.tc-pill {
  position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 54px; padding: .5rem .6rem;
  border: 2px solid #e2e5ea; border-radius: var(--r); background: var(--surface);
  font-size: .86rem; font-weight: 700; color: var(--text-2); line-height: 1.25; cursor: pointer;
  transition: border-color var(--d-fast) var(--ease), background var(--d-fast) var(--ease);
}
.tc-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tc-pill.is-on { border-color: var(--teal); background: rgba(20,184,166,.1); color: var(--teal-dark); }
.tc-pill.is-on span::before { content: '✓ '; }
.tc-pill:focus-within { outline: 2px solid var(--teal-glow); outline-offset: 2px; }
.tc-other { margin-top: .6rem; }
.tc-other[hidden] { display: none !important; }
.tc-other-in { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.tc-other input, .apply-form textarea {
  width: 100%; padding: .65rem .7rem;
  border: 1.5px solid #cbd5e1; border-radius: var(--r-sm);
  font: inherit; font-size: .9rem; background: #fff; color: var(--text);
}
.tc-hint { font-size: .74rem; color: var(--text-3); line-height: 1.35; margin-top: .45rem; }
.bring-box {
  background: #fff7e6; border: 1.5px solid #f5c96b; border-radius: var(--r);
  padding: .7rem .85rem; margin-bottom: 1rem; color: #7a5a00;
}
.bring-t { font-size: .86rem; font-weight: 800; margin-bottom: .25rem; }
.bring-list { margin: 0; padding-left: 1.2rem; font-size: .85rem; font-weight: 600; line-height: 1.5; }
.bring-cb {
  display: flex; gap: .55rem; align-items: center; cursor: pointer;
  margin-top: .55rem; padding-top: .55rem; border-top: 1px dashed #f5c96b;
  font-size: .88rem; font-weight: 800;
}
/* eigenes Kästchen: im Dunkelmodus des Handys malte der Browser es schwarz gefüllt (meta color-scheme "dark light") */
.bring-cb input {
  -webkit-appearance: none; appearance: none; flex-shrink: 0; margin: 0;
  width: 24px; height: 24px; border: 2px solid #d9a441; border-radius: 7px; background: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.bring-cb input:checked {
  background: #b45309 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12.5 10 17 19 7'/%3E%3C/svg%3E") center / 16px no-repeat;
  border-color: #b45309;
}
.bring-cb input:focus-visible { outline: 2px solid #f5c96b; outline-offset: 2px; }
.apply-msg-toggle {
  background: none; border: none; padding: .35rem 0; cursor: pointer;
  font: inherit; font-size: .86rem; font-weight: 700; color: var(--teal-dark);
}
.apply-msg-toggle[hidden], .apply-msg[hidden] { display: none !important; }
/* 05.10.2026: Gegenangebot im Bewerbungsfenster */
.price-box { margin-bottom: .4rem; }
.price-other { margin-bottom: 1rem; }
.price-other[hidden] { display: none !important; }
.price-in { display: flex; align-items: center; gap: .45rem; max-width: 220px; }
.price-in input {
  flex: 1; min-width: 0; width: 100%; padding: .65rem .7rem;
  border: 1.5px solid #cbd5e1; border-radius: var(--r-sm);
  font: inherit; font-size: 16px; font-weight: 800; background: #fff; color: var(--text); color-scheme: light;
}
.price-in input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-glow); }
.price-cur { font-size: 1rem; font-weight: 800; color: var(--text-2); }
.price-pays { margin-top: .45rem; font-size: .86rem; font-weight: 800; color: var(--teal-dark); }
.price-pays:empty { display: none; }
.price-back {
  background: none; border: none; padding: .4rem 0 0; cursor: pointer;
  font: inherit; font-size: .8rem; font-weight: 700; color: var(--text-3); text-decoration: underline;
}
.apply-form textarea { resize: vertical; min-height: 70px; user-select: text; -webkit-user-select: text; }
.apply-err {
  margin-top: .7rem; padding: .7rem .85rem;
  background: var(--red-light); color: #991b1b;
  border-radius: var(--r); font-size: .85rem; font-weight: 600; line-height: 1.4;
  white-space: pre-line;
}
#apply-form .apply-err { scroll-margin-bottom: 100px; } /* 01.10.2026: nicht hinter der klebenden Knopfleiste */
.apply-cta {
  margin-top: .5rem; padding: .5rem .9rem;
  background: var(--teal-dark); color: var(--on-teal);
  border: none; border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 700;
}
.apply-done {
  margin-top: .5rem; padding: .75rem .85rem;
  background: var(--amber-light); color: #78350f;
  border-radius: var(--r); font-size: .86rem; font-weight: 700; line-height: 1.4;
}
.apply-done-s { font-weight: 600; margin-top: .3rem; }
.job-card-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: .8rem;
}
.job-card-main { flex: 1; min-width: 0; }
.job-card-title {
  font-size: 1.05rem; font-weight: 800;
  letter-spacing: -.01em;
  margin: 0 0 .3rem;
}
.job-card-meta {
  display: flex; flex-wrap: wrap; gap: .5rem .8rem;
  font-size: .78rem;
  color: var(--text-3);
}
.job-card-meta span { display: inline-flex; align-items: center; gap: .25rem; }
.job-card-price {
  font-size: 1.4rem; font-weight: 800;
  color: var(--green);
  letter-spacing: -.02em;
  line-height: 1;
  white-space: nowrap;
}
.job-card-earn-sub {
  font-size: .68rem;
  color: var(--text-3);
  text-align: right;
  margin-top: 2px;
  font-weight: 600;
}
/* 04.10.2026 (App-Welle 1b): storniert / beendete Bewerbung — Betrag durchgestrichen, kein Verdienst */
.job-card-price.is-void { color: var(--text-3); text-decoration: line-through; }
.job-card-badge {
  display: inline-block;
  padding: 3px 7px;
  border-radius: var(--r-sm);
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: .4rem;
}
.job-card-badge.applied { background: var(--amber-light); color: #78350f; }
.job-card-badge.confirmed { background: var(--green-light); color: #166534; }
.job-card-waiting {
  font-size: .72rem;
  color: var(--red);
  font-weight: 700;
  margin-top: .4rem;
}

/* ═══ TABS ═══ */
.tabs {
  display: flex;
  background: var(--surface);
  padding: 4px;
  margin: 0 1rem .8rem;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}
.tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: .6rem .4rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-3);
  border-radius: var(--r);
  transition: background var(--d) var(--ease), color var(--d) var(--ease);
}
.tab.active {
  background: var(--ink);
  color: #fff;
}

/* ═══ BOTTOM NAV ═══ */
.botnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: flex;
  background: var(--surface);
  border-top: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 -2px 12px rgba(0,0,0,.04);
  padding: .4rem 0 calc(.4rem + var(--safe-bottom));
  z-index: 50;
}
.botnav-btn {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: transparent;
  border: none;
  padding: .5rem 0;
  font-size: .7rem; font-weight: 700;
  color: var(--text-2);
  transition: color var(--d-fast) var(--ease);
}
.botnav-btn svg {
  width: 22px; height: 22px;
  transition: transform var(--d) var(--spring);
}
.botnav-btn.active { color: var(--teal-text); } /* 25.10.2026: Beschriftung lesbar (Tuerkis auf Weiss 2,5:1) */
.botnav-btn.active svg { color: var(--teal); }
.botnav-btn.active svg { transform: scale(1.12); }
.botnav-btn:active svg { transform: scale(.9); }

/* ═══ EARNINGS SCREEN ═══ */
.earn-hero {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 1.3rem 1.2rem;
  margin-bottom: 1rem;
  box-shadow: var(--sh-3);
  overflow: hidden;
  position: relative;
}
.earn-hero::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
  pointer-events: none;
}
.earn-hero-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-dim);
  font-weight: 700;
}
.earn-hero-amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  margin: .5rem 0 .4rem;
}
.earn-hero-delta {
  font-size: .82rem;
  color: var(--text-dim);
}
.earn-days {
  display: flex; gap: 5px;
  margin-top: 1rem;
}
.earn-day {
  flex: 1;
  text-align: center;
  padding: .5rem .2rem;
  border-radius: var(--r-sm);
  font-size: .65rem; font-weight: 700;
  color: var(--text-dim);
  background: rgba(255,255,255,.05);
}
.earn-day.today { background: var(--teal); color: var(--on-teal); }
.earn-day.done { color: #fff; }
/* 01.10.2026 (App): Tagesbalken aus days[].earnings */
.earn-bar { height: 42px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 4px; }
.earn-bar-fill { width: 60%; min-height: 0; background: rgba(255,255,255,.55); border-radius: 3px 3px 0 0; }
.earn-day.today .earn-bar-fill { background: #fff; }
.earn-item { cursor: pointer; }
.earn-item-st { font-size: .7rem; color: #92400e; margin-top: 3px; line-height: 1.3; }
.earn-item-st.ok { color: #166534; font-weight: 700; }
.earn-item-st.bad { color: #991b1b; font-weight: 700; } /* 04.10.2026 (App-Welle 1b): angehalten / Bankkonto fehlt / erstattet */
/* 04.10.2026 (App-Welle 1b): Monat / Jahr / Insgesamt unter der Wochen-Karte, Rechnung je Eintrag, "Weitere laden" */
.earn-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1rem; }
.earn-stats[hidden] { display: none; }
.earn-stat { background: var(--surface); border-radius: var(--r); box-shadow: var(--sh-1); padding: .7rem .5rem; text-align: center; min-width: 0; }
.earn-stat-v { font-size: .98rem; font-weight: 800; color: var(--green); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.earn-stat-l { font-size: .68rem; font-weight: 700; color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; margin-top: 3px; }
.earn-stat-n { font-size: .68rem; color: var(--text-3); margin-top: 2px; }
.earn-item-r { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; flex-shrink: 0; }
.earn-invoice {
  min-height: 44px; padding: .45rem .7rem; /* 04.10.2026 (App-Welle 1b-Fix): Tippfläche 44 px (liegt in der antippbaren Zeile) */
  background: var(--surface-2); color: var(--teal-text);
  border: none; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 700;
}
.earn-more { margin-top: .6rem; }
.earn-info {
  display: flex; align-items: center; gap: .6rem;
  background: var(--green-light);
  color: #166534;
  padding: .75rem 1rem;
  border-radius: var(--r);
  font-size: .82rem; font-weight: 600;
  margin-bottom: 1rem;
}
.earn-history {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-2);
}
.earn-item {
  display: flex; align-items: center; gap: .8rem;
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--surface-2);
}
.earn-item:last-child { border-bottom: none; }
.earn-item-main { flex: 1; min-width: 0; }
.earn-item-t { font-size: .9rem; font-weight: 700; }
.earn-item-s { font-size: .75rem; color: var(--text-3); margin-top: 2px; }
.earn-item-amount { font-size: 1rem; font-weight: 800; color: var(--green); }

/* ═══ NOTIFICATIONS ═══ */
.notif-list { display: flex; flex-direction: column; gap: .5rem; }
.notif-item {
  display: flex; align-items: flex-start; gap: .8rem;
  background: var(--surface);
  padding: 1rem;
  border-radius: var(--r);
  box-shadow: var(--sh-1);
  position: relative;
}
.notif-item.unread { background: var(--surface); border-left: 3px solid var(--teal); }
.notif-item.unread::after {
  content: '';
  position: absolute; top: 1rem; right: 1rem;
  width: 8px; height: 8px;
  background: var(--teal); border-radius: 50%;
}
.notif-ic { font-size: 1.4rem; flex-shrink: 0; }
.notif-body { flex: 1; min-width: 0; }
.notif-t { font-size: .88rem; font-weight: 700; line-height: 1.3; }
/* 19.10.2026 (Almir, „ja“): Absätze/Zeilenumbrüche der Mitteilung anzeigen (Text ist escaped, \n bleibt) */
.notif-b { font-size: .78rem; color: var(--text-2); margin-top: 3px; line-height: 1.4; white-space: pre-line; overflow-wrap: anywhere; }
/* 05.10.2026 (App-Welle 3): Mitteilung ohne Ziel klappt beim Antippen auf (lange Team-Texte) */
.notif-item:not(.expanded) .notif-b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* 19.10.2026: „Mehr lesen“ nur bei gekürztem, zugeklapptem Text (app.js _notifMarkClamped) */
.notif-more { display: none; margin-top: 4px; font-size: .76rem; font-weight: 700; color: var(--teal-dark); }
.notif-item.clamped:not(.expanded) .notif-more { display: block; }
.notif-item.clamped { cursor: pointer; }
/* 19.10.2026: aus Push/Link geöffnete Mitteilung kurz hervorheben */
.notif-item { scroll-margin-top: .75rem; }
.notif-item.notif-focus { animation: notif-focus 2.6s ease-out 1; }
@keyframes notif-focus {
  0%, 55% { box-shadow: 0 0 0 2px var(--teal), var(--sh-1); }
  100% { box-shadow: var(--sh-1); }
}
.notif-time { font-size: .7rem; color: var(--text-3); margin-top: 4px; }
/* 04.10.2026 (App-Welle 1b): "N neue passende Aufträge" als eine Zeile (Tipp -> Feed) statt einzelner Einträge */
.notif-item.notif-sum {
  width: 100%; border: none; border-left: 3px solid var(--teal);
  text-align: left; font: inherit; color: var(--text);
  background: #e9f8f6; cursor: pointer;
}
.notif-item.notif-sum::after { display: none; }
.notif-sum-arrow { align-self: center; font-size: 1.3rem; color: var(--teal-dark); }
.notif-list .more-btn { margin-top: .3rem; }

/* ═══ CHAT LIST ═══ */
.chat-list { display: flex; flex-direction: column; gap: .3rem; }
.chat-item {
  display: flex; align-items: center; gap: .8rem;
  background: var(--surface);
  padding: .85rem 1rem;
  border-radius: var(--r);
  cursor: pointer;
  transition: background var(--d-fast) var(--ease);
}
.chat-item:active { background: var(--surface-2); }
.chat-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--on-teal);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-main { flex: 1; min-width: 0; }
.chat-name { font-size: .92rem; font-weight: 700; }
.chat-preview {
  font-size: .78rem; color: var(--text-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: 2px;
}
.chat-meta {
  display: flex; flex-direction: column; align-items: flex-end; gap: 3px;
  flex-shrink: 0;
}
.chat-time { font-size: .7rem; color: var(--text-3); }
.chat-unread {
  min-width: 20px; height: 20px;
  background: var(--teal);
  color: var(--on-teal);
  border-radius: 10px;
  font-size: .7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  padding: 0 6px;
}

/* ═══ CHAT THREAD ═══ */
.chat-thread-scr {
  display: flex; flex-direction: column;
  background: #ece5dd;
}
.thread-info {
  background: var(--amber-light);
  color: #78350f;
  padding: .5rem 1rem;
  font-size: .72rem;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.thread-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex; flex-direction: column; gap: .4rem;
}
.bubble {
  max-width: 85%;
  padding: .55rem .75rem;
  border-radius: var(--r-lg);
  font-size: .92rem;
  line-height: 1.35;
  word-wrap: break-word;
  position: relative;
  box-shadow: 0 1px 1px rgba(0,0,0,.06);
}
.bubble.mine {
  align-self: flex-end;
  background: #dcf8c6;
  border-bottom-right-radius: 4px;
}
.bubble.theirs {
  align-self: flex-start;
  background: #fff;
  border-bottom-left-radius: 4px;
}
.bubble-time {
  font-size: .62rem;
  color: var(--text-3);
  text-align: right;
  margin-top: 3px;
}
/* 05.10.2026: Datum als Trennzeile zwischen den Tagen (Heute / Gestern / Mo., 14.09.) */
.chat-day {
  align-self: center; margin: .5rem 0 .15rem; padding: .2rem .75rem;
  border-radius: var(--r-pill); background: rgba(255,255,255,.9); box-shadow: 0 1px 1px rgba(0,0,0,.06);
  font-size: .72rem; font-weight: 700; color: var(--text-2);
}
/* 01.10.2026 (App): Zeilenumbrüche behalten, kopierbar, Systemhinweise, Übersetzung, Bilder */
.bubble-text { white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; -webkit-user-select: text; }
.bubble.system {
  align-self: center;
  max-width: 92%;
  background: var(--amber-light);
  color: #78350f;
  font-size: .8rem;
  border-radius: var(--r);
  text-align: center;
}
.bubble-toggle {
  display: block;
  margin-top: 4px; padding: 0;
  background: none; border: none;
  color: var(--teal-dark);
  font-size: .7rem; font-weight: 700;
}
/* 24.10.2026: Hinweis „nicht übersetzt – Originaltext“ (Uebersetzung ausgeblieben) */
.bubble-note { margin-top: 4px; font-size: .7rem; font-weight: 600; opacity: .75; }
.bubble-img img { max-width: 220px; max-height: 260px; border-radius: var(--r-sm); object-fit: cover; margin-bottom: 4px; }
.bubble-file { display: inline-block; color: var(--teal-dark); font-weight: 700; margin-bottom: 4px; }
.notif-body, .chat-preview { user-select: text; -webkit-user-select: text; }
.scr.active > main.thread-scroll > * { animation: none; } /* kein Einblenden bei jedem Neuladen des Gesprächs */
.thread-composer {
  display: flex; gap: .5rem; align-items: flex-end;
  padding: .6rem .7rem calc(.6rem + var(--safe-bottom));
  background: #f0f0f0;
  border-top: 1px solid rgba(0,0,0,.08);
}
.thread-composer input, .thread-composer textarea {
  flex: 1;
  padding: .75rem 1rem;
  background: #fff;
  border: none;
  border-radius: var(--r-pill);
  font-size: .95rem;
  -webkit-appearance: none;
  /* 05.10.2026: eigene Schriftfarbe — im Dunkelmodus des Handys (meta color-scheme "dark light") war der Text weiß auf Weiß */
  color: var(--text); color-scheme: light;
}
.thread-composer input:focus, .thread-composer textarea:focus { outline: none; }
/* 14.10.2026 (Almir): Chat-Eingabe mehrzeilig — eingefügte Texte behalten ihre Absätze; wächst bis ~6 Zeilen (_threadGrow) */
.thread-composer textarea { display: block; resize: none; line-height: 1.35; max-height: 140px; overflow-y: auto; font-family: inherit; border-radius: 22px; }
/* 05.10.2026: Chat mit gelöschtem Konto — Hinweis statt Eingabe */
.thread-composer[hidden], .thread-gone[hidden] { display: none !important; }
.thread-gone {
  padding: .9rem 1rem calc(.9rem + var(--safe-bottom));
  background: #f1f5f9; border-top: 1px solid rgba(0,0,0,.08);
  font-size: .86rem; font-weight: 700; color: #334155; text-align: center; line-height: 1.4;
}
.thread-send {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--on-teal);
  border: none;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.thread-send svg { width: 20px; height: 20px; }
/* 05.10.2026 (App-Paket 1): Profil-Editoren (Leistungen, Sprachen, Adresse, Verfügbarkeit) */
.pe-list { display: flex; flex-direction: column; gap: .45rem; margin: .4rem 0 .2rem; max-height: 52vh; overflow-y: auto; }
.pe-row { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.pe-chk { flex: 1; min-height: 44px; text-align: left; padding: .55rem .8rem; border-radius: 12px; border: 1.5px solid rgba(0,0,0,.14);
  background: #fff; font-weight: 700; font-size: .9rem; color: var(--text); }
.pe-chk[aria-pressed="true"] { border-color: var(--teal-dark); background: rgba(44,204,211,.12); }
.pe-chk[aria-pressed="true"]::before { content: '✓ '; color: var(--teal-dark); }
.pe-tog { min-height: 36px; padding: .3rem .7rem; border-radius: 999px; border: 1.5px solid rgba(0,0,0,.14); background: #fff;
  font-size: .78rem; font-weight: 700; color: var(--text-2); white-space: nowrap; }
.pe-tog[aria-pressed="true"] { border-color: var(--teal-dark); background: var(--teal-dark); color: var(--on-teal); }
.pe-sub { display: flex; gap: .4rem; width: 100%; padding-left: .4rem; }
.pe-sub[hidden], .pe-tog[hidden], .pe-times[hidden], .pe-times2[hidden] { display: none !important; }
.pe-field { display: block; margin: .5rem 0; font-size: .8rem; font-weight: 700; color: var(--text-2); }
.pe-field input { display: block; width: 100%; margin-top: .25rem; padding: .7rem .8rem; border-radius: 12px; border: 1.5px solid rgba(0,0,0,.14);
  font-size: 16px; color: var(--text); background: #fff; color-scheme: light; }
.pe-day { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; padding: .3rem 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.pe-day .pe-chk { flex: 0 0 62px; text-align: center; padding: .5rem .2rem; }
.pe-times, .pe-times2 { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; font-weight: 700; color: var(--text-2); }
.pe-day input[type=time] { min-height: 40px; padding: .25rem .35rem; border-radius: 10px; border: 1.5px solid rgba(0,0,0,.14);
  font-size: 16px; color: var(--text); background: #fff; color-scheme: light; }
.pe-field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-glow); }
.pe-field input.code-input { font-size: 1.4rem; font-weight: 800; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }

/* 06.10.2026 (App-Paket): Fotos zur Buchung (Vorschau, Tipp = groß) und mehrzeilige Hinweise (Absage-Grund) */
.booking-hint { white-space: pre-line; }
.booking-photos { display: flex; gap: .5rem; overflow-x: auto; padding: .2rem 0 .4rem; -webkit-overflow-scrolling: touch; }
.booking-ph { flex: 0 0 76px; display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: 0; border: none; background: none; }
.booking-ph img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.booking-ph span { font-size: .7rem; font-weight: 700; color: var(--text-2); }

/* 06.10.2026 (App-Paket): Stunden-Anpassung im Einsatz-Screen + Melde-Dialog (− / Stunden / +, Betrag live) */
.booking-adj { margin-top: .5rem; }
.booking-adj .booking-hint { white-space: pre-line; margin-bottom: .2rem; }
.adj-stepper { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: .2rem 0 .6rem; }
.adj-step { width: 52px; height: 52px; border-radius: 50%; border: 2px solid #0f2e36; background: #fff; color: #0f2e36; font-size: 1.6rem; font-weight: 800; line-height: 1; }
.adj-step:disabled { opacity: .3; }
.adj-val { min-width: 96px; text-align: center; font-size: 1.6rem; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.adj-calc { margin: 0 0 .6rem; padding: .55rem .7rem; border-radius: var(--r-sm); background: var(--surface-2); color: var(--text-2); font-size: .86rem; font-weight: 700; line-height: 1.4; }
.adj-calc.more { background: var(--green-light); color: #166534; }
.adj-calc.less { background: var(--amber-light); color: #78350f; }
.adj-note { font-size: .78rem; margin: .4rem 0 0; }

/* 06.10.2026 (GO Almir): gesperrte Tage — Liste mit Löschen, zwei Uhrzeit-Felder nebeneinander */
.blk-list { margin: 0 0 .6rem; }
.blk-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .45rem .7rem; margin-bottom: .35rem; border-radius: var(--r-sm); background: var(--amber-light); }
.blk-l { font-weight: 700; font-size: .86rem; color: #78350f; }
.blk-times { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.pe-field input[type=date], .pe-field input[type=time] { min-height: 44px; }

/* 06.10.2026 (App-Paket): Boost kaufen — Pakete als große Knöpfe (Preis nach Guthaben), aktuelles Paket grün */
.bst-cur { margin: 0 0 .7rem; padding: .55rem .7rem; border-radius: var(--r-sm); background: var(--green-light); color: #166534; font-size: .84rem; font-weight: 700; line-height: 1.4; }
.bst-list { display: grid; gap: .5rem; margin-bottom: .6rem; }
.bst-pkg { display: flex; align-items: center; justify-content: space-between; gap: .6rem; min-height: 56px; padding: .6rem .9rem; border-radius: var(--r); border: 2px solid #0f2e36; background: #fff; color: #0f2e36; text-align: left; }
.bst-pkg.is-popular { border-color: #f59e0b; background: #fffbeb; }
.bst-pkg.is-current { border-color: var(--green); background: var(--green-light); color: #166534; opacity: 1; }
.bst-pkg-t { font-weight: 800; font-size: .98rem; }
.bst-pkg-s { font-weight: 800; font-size: .9rem; text-align: right; }
.bst-pop { display: inline-block; margin-left: .3rem; padding: .05rem .45rem; border-radius: var(--r-pill); background: #f59e0b; color: #fff; font-size: .68rem; font-weight: 800; vertical-align: 2px; }
.bst-note { font-size: .78rem; margin: .6rem 0 0; text-align: center; }

/* 06.10.2026 (App-Paket): Verifizierung — Ausweis (Stripe) und Gewerbeschein (Upload, Stand je Dokument) */
.vf-sec { padding: .4rem 0 .8rem; border-bottom: 1px solid rgba(0,0,0,.07); }
.vf-sec:last-child { border-bottom: none; }
.vf-h { font-weight: 800; font-size: .95rem; color: var(--text); margin: .2rem 0 .35rem; }
.vf-btn { display: block; width: 100%; min-height: 44px; margin-top: .2rem; }
.vf-doc { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; padding: .5rem .65rem; margin: 0 0 .4rem; border-radius: var(--r-sm); background: var(--surface-2); font-size: .85rem; }
.vf-doc-l { flex: 1; min-width: 0; font-weight: 700; color: var(--text); }
.vf-doc-s { font-weight: 800; font-size: .78rem; padding: .15rem .55rem; border-radius: var(--r-pill); background: var(--amber-light); color: #78350f; }
.vf-approved .vf-doc-s { background: var(--green-light); color: #166534; }
.vf-rejected .vf-doc-s { background: var(--red-light); color: #991b1b; }
.vf-doc-r { flex-basis: 100%; font-size: .8rem; color: #991b1b; }

/* 06.10.2026 (App-Paket): Konto & Sicherheit — Zeilen mit Knopf, Hinweis auf offenen E-Mail-Wechsel, Lösch-Warnung */
.acct-list { display: flex; flex-direction: column; gap: .2rem; margin: .2rem 0 .4rem; }
.acct-row { display: flex; align-items: center; gap: .6rem; padding: .65rem 0; border-bottom: 1px solid rgba(0,0,0,.07); }
.acct-row:last-child { border-bottom: none; }
.acct-ic { flex: 0 0 auto; font-size: 1.15rem; }
.acct-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.acct-l { font-weight: 800; font-size: .92rem; color: var(--text); }
.acct-v { font-size: .82rem; color: var(--text-2); overflow-wrap: anywhere; }
.acct-btn { flex: 0 0 auto; min-height: 40px; padding: .35rem .9rem; border-radius: var(--r-pill); border: 1.5px solid #0f2e36; background: #fff; color: #0f2e36; font-weight: 800; font-size: .85rem; }
.acct-btn.acct-danger { border-color: #b91c1c; color: #b91c1c; }
.acct-pending { margin: -.1rem 0 .3rem; padding: .55rem .7rem; border-radius: var(--r-sm); background: var(--amber-light); color: #78350f; font-size: .82rem; line-height: 1.45; }
.acct-link { background: none; border: none; padding: .35rem 0; color: var(--teal-text); font-weight: 800; font-size: .85rem; text-decoration: underline; min-height: 36px; }
.acct-forgot { display: block; margin: -.2rem 0 .3rem; }
.acct-warn { color: #991b1b; background: var(--red-light); padding: .6rem .75rem; border-radius: var(--r-sm); }

/* 05.10.2026 (App-Paket 1): Score-Details in der App */
.sc-head { text-align: center; padding: .4rem 0 .8rem; }
.sc-ring { width: 108px; height: 108px; border-radius: 50%; margin: 0 auto .6rem; display: flex; align-items: center; justify-content: center; }
.sc-ring > div { width: 88px; height: 88px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sc-ring b { font-size: 1.9rem; font-weight: 800; line-height: 1; }
.sc-ring small { font-size: .62rem; font-weight: 700; color: var(--text-3); margin-top: .15rem; }
.sc-band { font-size: 1.05rem; font-weight: 800; color: var(--text); margin-bottom: .2rem; }
.sc-tier { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .55rem .7rem; margin-top: .4rem; border-radius: 10px; background: #f6f7f8; border: 1.5px solid transparent; }
.sc-tier.is-cur { background: rgba(44,204,211,.1); border-color: var(--teal-dark); }
.sc-tier-l { font-size: .85rem; font-weight: 700; color: var(--text); }
.sc-tier-d { font-size: .72rem; color: var(--text-3); }
.sc-tier-r { font-size: 1.05rem; font-weight: 800; color: var(--text-2); white-space: nowrap; }
.sc-tier.is-cur .sc-tier-r, .sc-here { color: var(--teal-dark); }
.sc-here { font-size: .72rem; }
.sc-row { display: flex; justify-content: space-between; gap: .6rem; padding: .45rem 0; border-bottom: 1px solid rgba(0,0,0,.06); font-size: .86rem; color: var(--text); }
.sc-row small { color: var(--text-3); }
.sc-cl { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: .6rem; min-height: 44px; margin-top: .35rem; padding: .5rem .7rem;
  border-radius: 10px; border: 1px solid transparent; background: #f6f7f8; font-size: .86rem; color: var(--text); text-align: left; }
.sc-cl b { color: var(--teal-dark); font-size: .78rem; white-space: nowrap; }
.sc-cl.done { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.sc-cl.done span { text-decoration: line-through; }
.sc-cl.done b { color: #16a34a; }
.sc-tip { font-size: .85rem; color: var(--text-2); line-height: 1.5; margin-top: .35rem; }

/* 05.10.2026 (App-Welle 3): Foto im Chat senden */
.thread-attach {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--teal-dark); border: none;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.thread-attach svg { width: 20px; height: 20px; }
.thread-attach:disabled { opacity: .5; }

/* ═══ PROFILE SCREEN ═══ */
.profile-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 1.3rem;
  margin-bottom: 1rem;
  box-shadow: var(--sh-2);
  text-align: center;
}
.profile-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--on-teal);
  font-weight: 800;
  font-size: 2.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  overflow: hidden;
  position: relative;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
/* 04.10.2026 (Welle F): Profilfoto — Kamera/Galerie im Profil und im Bewerbungsformular, Vorschau im Dialog */
.photo-block { margin-top: .9rem; text-align: left; }
.photo-block[hidden] { display: none; }
.photo-block-apply { margin: 0 0 .9rem; padding: .75rem .8rem; border-radius: var(--r); background: var(--amber-light); border-left: 4px solid var(--amber); }
.photo-hint { font-size: .84rem; font-weight: 700; line-height: 1.4; color: #78350f; margin-bottom: .55rem; }
.photo-block-profile .photo-hint { padding: .6rem .75rem; border-radius: var(--r); background: var(--amber-light); border-left: 4px solid var(--amber); }
.photo-l { font-size: .72rem; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .35rem; }
.photo-btns { display: flex; gap: .5rem; }
.photo-btn { flex: 1; min-height: 44px; padding: .55rem .6rem; font-size: .88rem; background: var(--surface-2); color: var(--text); border: 1px solid var(--surface-2); }
.photo-block-apply .photo-btn { background: #fff; border-color: rgba(120, 53, 15, .2); }
.photo-prev { display: block; width: 200px; height: 200px; max-width: 70vw; max-height: 70vw; border-radius: 50%; object-fit: cover; margin: .9rem auto .3rem; background: var(--surface-2); }
.photo-prev-t { text-align: center; font-weight: 700; }
.profile-name { font-size: 1.2rem; font-weight: 800; }
.profile-type {
  font-size: .72rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 3px;
  font-weight: 700;
}
.profile-row {
  display: flex; align-items: center; gap: 0;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--surface-2);
}
.profile-row-item {
  flex: 1;
  text-align: center;
  padding: 0 .5rem;
}
.profile-row-item + .profile-row-item {
  border-left: 1px solid var(--surface-2);
}
.profile-row-v {
  font-size: 1.1rem; font-weight: 800;
  color: var(--text);
}
.profile-row-l {
  font-size: .68rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 3px;
  font-weight: 700;
}
.profile-section {
  background: var(--surface);
  border-radius: var(--r);
  margin-bottom: .8rem;
  overflow: hidden;
  box-shadow: var(--sh-1);
}
.profile-section-head {
  padding: .8rem 1rem .3rem;
  font-size: .72rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}
.profile-item {
  display: flex; align-items: center; gap: .8rem;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--surface-2);
  cursor: pointer;
  transition: background var(--d-fast);
}
.profile-item:last-child { border-bottom: none; }
.profile-item:active { background: var(--surface-2); }
.profile-item-ic { font-size: 1.2rem; flex-shrink: 0; }
.profile-item-l { flex: 1; font-size: .9rem; font-weight: 600; }
.profile-item-v { font-size: .85rem; color: var(--text-3); }
.profile-item-arrow { font-size: 1.2rem; color: var(--text-3); opacity: .5; }
/* 01.10.2026 (App): Sprachwahl und Abmelden im Profil */
.profile-langs { display: flex; gap: .5rem; padding: .3rem 1rem 1rem; }
.profile-lang {
  flex: 1; padding: .6rem .4rem;
  background: var(--surface-2); color: var(--text-2);
  border: 2px solid transparent; border-radius: var(--r);
  font-size: .85rem; font-weight: 700;
}
.profile-lang.active { border-color: var(--teal); color: var(--teal-dark); background: #f0fdfa; }
.profile-logout { justify-content: center; }
.profile-logout .profile-item-l { color: var(--red); text-align: center; font-weight: 700; }
.profile-row-item { padding: 0 .3rem; }

/* ═══ BOTTOM SHEET ═══ */
.sheet {
  position: fixed; inset: 0;
  z-index: 100;
  display: flex; align-items: flex-end;
}
.sheet-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
  animation: sheet-fade var(--d) var(--ease);
}
@keyframes sheet-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.sheet-panel {
  position: relative;
  width: 100%;
  background: var(--surface);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  max-height: 85dvh;
  overflow-y: auto;
  padding-bottom: calc(1.5rem + var(--safe-bottom));
  box-shadow: 0 -8px 40px rgba(0,0,0,.25);
  animation: sheet-up var(--d-slow) var(--spring);
  color-scheme: light; /* 01.10.2026: Datum/Uhrzeit-Felder im Dunkelmodus des Handys nicht schwarz */
}
@keyframes sheet-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.sheet-grip {
  width: 40px; height: 4px;
  background: var(--surface-2);
  border-radius: 2px;
  margin: .5rem auto 1rem;
}
.sheet-body { padding: 0 1.3rem 1rem; }

/* Job Sheet Content */
.js-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.js-title { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .3rem; }
.js-sub { font-size: .85rem; color: var(--text-3); }
.js-price { font-size: 2rem; font-weight: 800; color: var(--green); letter-spacing: -.02em; text-align: right; line-height: 1; }
.js-price-s { font-size: .72rem; color: var(--text-3); text-align: right; margin-top: 2px; white-space: nowrap; }
.js-meta { display: flex; flex-direction: column; gap: .5rem; margin: 1rem 0; }
.js-meta-row { display: flex; align-items: center; gap: .7rem; padding: .4rem 0; }
.js-meta-ic { font-size: 1.1rem; width: 24px; flex-shrink: 0; display: inline-flex; justify-content: center; }
.js-meta-l { font-size: .87rem; color: var(--text-2); }
/* 01.10.2026 (App): Zeilen der Beschreibung behalten (vorher ein Fließtext) */
.js-desc { padding: 1rem; background: var(--surface-2); border-radius: var(--r); font-size: .85rem; line-height: 1.5; margin-bottom: 1rem; white-space: pre-line; overflow-wrap: anywhere; }
/* 01.10.2026 (App-Ausbau): Auftragsinhalt statt Standard-Checkliste — Angaben/Leistungen als Chips, Freitext der Kundin darunter */
.js-content { margin-bottom: 1rem; }
.js-sec-head { font-size: .72rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; margin: .9rem 0 .4rem; }
/* 14.10.2026: Leistungsumfang (Enthalten / Nicht enthalten) im Auftrags-Sheet und Einsatz-Screen */
.js-scope { padding: .8rem 1rem; background: var(--surface-2); border-radius: var(--r); font-size: .85rem; line-height: 1.45; color: var(--text-2); }
.js-sc-row { margin: 0 0 .2rem; padding-left: 1.3rem; text-indent: -1.3rem; }
.js-sc-row b { display: inline-block; width: 1.3rem; text-indent: 0; font-weight: 800; }
.js-sc-ok { color: var(--green); }
.js-sc-no { color: var(--red); }
.js-sc-h { font-weight: 800; margin: .6rem 0 .3rem; }
.js-sc-hint { margin-top: .4rem; font-size: .76rem; color: var(--text-3); }
.js-content > .js-sec-head:first-child { margin-top: 0; }
.js-facts { margin-top: 0; gap: .4rem; }
.js-facts .job-chip { font-size: .8rem; font-weight: 600; padding: 4px 10px; color: var(--text); }
.js-content .js-desc { margin-bottom: 0; }
/* 03.10.2026 (Welle D): Freitext der Kundin übersetzt (TR/BKS) — Umschalter "Original anzeigen" mit 44 px Tippfläche */
.js-content > .js-free:first-child > .js-sec-head:first-child { margin-top: 0; }
.js-free-toggle {
  display: inline-flex; align-items: center; min-height: 44px; padding: .2rem 0;
  background: none; border: none; color: var(--teal-text);
  font-size: .82rem; font-weight: 700; text-align: left;
}
.js-free-toggle:focus-visible { outline: 2px solid var(--teal-text); outline-offset: 2px; }
.js-free-loading { padding-top: .45rem; font-size: .76rem; color: var(--text-2); }
.js-actions { display: flex; gap: .6rem; margin-top: 1rem; }
.js-actions .btn { flex: 1; }
/* 01.10.2026 (Sheet übersichtlicher): Datum + Ort als ein Block, Adress-Hinweis klein darunter */
.js-info { display: flex; flex-direction: column; gap: .55rem; background: var(--surface-2); border-radius: var(--r); padding: .75rem .85rem; margin: .8rem 0 1rem; }
.js-info-row { display: flex; gap: .6rem; align-items: flex-start; }
.js-info-ic { width: 20px; flex-shrink: 0; text-align: center; font-size: 1rem; line-height: 1.35; }
.js-info-v { font-size: .93rem; font-weight: 700; color: var(--text); line-height: 1.35; }
.js-info-s { display: block; font-size: .76rem; font-weight: 500; color: var(--text-3); margin-top: 1px; }
.job-chip.chip-extra { background: rgba(20,184,166,.1); color: var(--teal-dark); }
/* Knopfleiste klebt am unteren Rand des Sheets — Kind von .sheet-body, damit sie über die ganze Höhe greift.
   04.10.2026 (App-Welle 1b-Fix): bottom = −padding-bottom von .sheet-panel — „sticky“ hält sonst am Inhaltsrand, 1.5rem über dem
   Panel-Ende, und darunter liefen Zeilen sichtbar durch (Sparkles-Sheet immer, Auftrags-Sheet bei langen Aufträgen) */
.js-actions.js-sticky {
  position: sticky; bottom: calc(-1.5rem - var(--safe-bottom)); z-index: 2;
  margin: 1rem -1.3rem 0; padding: .7rem 1.3rem calc(.7rem + var(--safe-bottom));
  background: var(--surface); border-top: 1px solid #eceef1;
}
.js-actions .btn-close-ic { flex: 0 0 54px; padding: 0; font-size: 1.15rem; }
.js-actions .btn-apply { padding-left: .8rem; padding-right: .8rem; }
.btn-close { background: var(--surface-2); color: var(--text-2); }
/* 04.10.2026 (App-Welle 1b): Bewerbung/Zusage zurückziehen im Auftrags-Sheet.
   25.10.2026 (UX-Audit Paket 9, Befund 36): Textlink über der Knopfleiste statt großem rotem Knopf neben „Schließen“ (Bestätigung bleibt) */
.wd-wrap { display: flex; justify-content: center; margin-top: .6rem; }
.btn-withdraw { background: none; border: none; color: #991b1b; font: inherit; font-size: .86rem; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; min-height: 44px; padding: .5rem .9rem; cursor: pointer; }
.btn-withdraw:disabled { opacity: .55; }
.btn-apply { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: var(--on-teal); box-shadow: var(--sh-teal); }

/* 03.10.2026 (Audit Welle B): Bestätigungsdialog (App.confirmDialog) statt window.confirm() — gleiches Sheet-Muster,
   .sheet-panel bringt color-scheme: light mit; über Screens/Buchungsansicht, unter Toast (9000) und Update-Hinweis */
.confirm-sheet { z-index: 8000; }
.confirm-msg { margin: .2rem 0 0; font-size: 1rem; line-height: 1.5; color: var(--text); white-space: pre-line; overflow-wrap: anywhere; }
.confirm-actions .btn { min-height: 48px; }
.confirm-actions .btn-danger { background: #dc2626; color: #fff; }
/* 03.10.2026 (Welle D): Eingabe-Dialoge statt prompt() (App._sheetDialog) — Ablehnungsgrund + Gegenangebot-Stepper.
   Felder hell mit eigener Farbe (Handy-Dunkelmodus malt native Felder sonst schwarz; .sheet-panel hat color-scheme: light) */
.dlg-title { margin: .1rem 0 .4rem; font-size: 1.1rem; font-weight: 800; color: var(--text); letter-spacing: -.01em; }
.dlg-text { margin: 0 0 1rem; font-size: .88rem; line-height: 1.45; color: var(--text-2); white-space: pre-line; overflow-wrap: anywhere; }
.dlg-label { display: block; margin: 1rem 0 .35rem; font-size: .86rem; font-weight: 800; color: var(--text); }
.dlg-textarea {
  display: block; width: 100%; min-height: 84px; padding: .65rem .7rem; resize: vertical;
  border: 1.5px solid #cbd5e1; border-radius: var(--r-sm);
  font: inherit; font-size: 1rem; line-height: 1.4; background: #fff; color: var(--text); color-scheme: light;
}
.dlg-textarea:focus, .rate-in:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-glow); }
.rate-step { display: flex; align-items: stretch; justify-content: center; gap: .6rem; }
.rate-btn {
  flex: 0 0 56px; min-height: 56px; border: 2px solid #e2e5ea; border-radius: var(--r);
  background: var(--surface); color: var(--teal-dark); font-size: 1.6rem; font-weight: 800; line-height: 1;
}
.rate-btn:active:not(:disabled) { transform: scale(.95); }
.rate-btn:disabled { opacity: .35; }
.rate-btn:focus-visible { outline: 2px solid var(--teal-text); outline-offset: 2px; }
.rate-field {
  flex: 0 1 170px; display: flex; align-items: center; gap: .3rem; min-height: 56px; padding: 0 .7rem;
  border: 1.5px solid #cbd5e1; border-radius: var(--r); background: #fff;
}
.rate-field:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-glow); }
.rate-in {
  flex: 1; min-width: 0; width: 100%; padding: 0; border: none; background: transparent; color: var(--text); color-scheme: light;
  font: inherit; font-size: 1.6rem; font-weight: 800; text-align: right;
}
.rate-in:focus { box-shadow: none; }
.rate-unit { font-size: .9rem; font-weight: 700; color: var(--text-2); white-space: nowrap; }
.rate-live {
  margin-top: .8rem; padding: .7rem .85rem; border-radius: var(--r);
  background: var(--green-light); color: #166534; font-size: .86rem; font-weight: 700; line-height: 1.45; white-space: pre-line;
}
.rate-live.is-err { background: var(--red-light); color: #991b1b; }
.rate-live.is-hint { background: var(--amber-light); color: #92400e; } /* unveränderter Satz: Senden gesperrt */
.dlg-textarea[hidden] { display: none; }
.confirm-actions .btn[hidden] { display: none; } /* 05.10.2026: Auswahl-Dialoge ohne OK-Knopf (opts.noOk) */
/* 05.10.2026 (App-Welle 3, Audit Rang 31): Fotos der Kundin im Auftrags-Sheet + Großansicht */
.js-photos { margin-top: 1rem; }
.js-photo-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: .45rem; }
.js-photo { width: 84px; height: 84px; border-radius: 10px; border: 1px solid #e2e5ea; background: var(--surface-2) center / cover no-repeat; }
.js-photo.is-err { opacity: .4; }
.photo-view { position: fixed; inset: 0; z-index: 9600; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.92); padding: 1rem; }
.photo-view img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.photo-view-x { position: absolute; top: calc(10px + var(--safe-top)); right: 12px; width: 44px; height: 44px; border: none; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 1.6rem; line-height: 1; }
/* 05.10.2026 (App-Paket): Rechnung in der App — Vollbild, Leiste (Schließen / Titel / Drucken), Dokument im iframe */
.inv-view { position: fixed; inset: 0; z-index: 9600; display: flex; flex-direction: column; background: #f8fafc; color-scheme: light; }
.inv-view-bar { display: flex; align-items: center; gap: .5rem; padding: calc(6px + var(--safe-top)) 10px 6px; background: var(--surface); border-bottom: 1px solid #e2e8f0; }
.inv-view-x { flex: 0 0 44px; width: 44px; height: 44px; border: none; border-radius: 50%; background: var(--surface-2); color: var(--text); font-size: 1.6rem; line-height: 1; }
.inv-view-t { flex: 1; min-width: 0; font-weight: 800; font-size: 1rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv-view-print { flex: 0 0 auto; min-height: 44px; padding: 0 1rem; border: none; border-radius: var(--r-pill); background: var(--teal-dark); color: var(--on-teal); font-weight: 700; font-size: .9rem; }
.inv-view-doc { flex: 1; width: 100%; border: 0; background: #f8fafc; }
/* 05.10.2026 (App-Welle 3, Audit Rang 25): Auftrag in der Chatliste, „Kundin schreiben“ im Auftrags-Sheet */
.chat-job { margin-top: 1px; font-size: .72rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn-chat-client { display: block; width: 100%; min-height: 46px; margin-top: .6rem; background: #eef2ff; color: #4338ca; border: 1.5px solid #c7d2fe; border-radius: var(--r); font-weight: 800; }
/* 05.10.2026 (App-Welle 3): Kundin bewerten — Sterne */
.rate-stars { display: flex; justify-content: center; gap: .3rem; margin: .4rem 0 .2rem; }
.rate-star { min-width: 48px; min-height: 48px; border: none; background: none; color: #d1d5db; font-size: 2.1rem; line-height: 1; }
.rate-star.on { color: #f59e0b; }
.rate-star:focus-visible { outline: 2px solid var(--teal-text); outline-offset: 2px; border-radius: 8px; }
/* 05.10.2026 (App-Welle 3): Abo-Termin der Stamm-Hausfee im Auftrags-Sheet (wie das Web job-detail.php) */
.abo-box { margin: 1rem 0; padding: 1rem; border: 2px solid var(--teal); border-radius: var(--r); background: #f0fdfa; }
.abo-box-t { font-weight: 800; font-size: 1rem; color: var(--text); }
.abo-box-d { margin: .35rem 0 .85rem; font-size: .86rem; line-height: 1.5; color: var(--text-2); }
.abo-box-btn { width: 100%; min-height: 48px; }
.abo-box-h { margin-top: .55rem; font-size: .76rem; color: var(--text-3); text-align: center; }
/* 05.10.2026 (App-Welle 3): Antwort auf die Kunden-Meldung — zwei große Auswahlknöpfe */
.report-picks { display: grid; gap: .55rem; margin-top: .2rem; }
.report-pick { min-height: 50px; font-size: .95rem; font-weight: 800; border-radius: var(--r); }
.report-pick.is-dispute { background: #fff; color: #0f2e36; border: 2px solid #0f2e36; }
.report-pick.is-confirm { background: #b45309; color: #fff; border: none; }
.report-pick.is-current { background: var(--teal-dark); color: var(--on-teal); border: 2px solid var(--teal-dark); } /* 05.10.2026: aktuelle Auswahl (Geschlecht, Steuerstatus) */
.dlg-err { margin-top: .6rem; color: #b91c1c; font-size: .86rem; font-weight: 700; }
.dlg-err:empty { margin: 0; } /* leer: kein Abstand, bleibt aber als aria-live-Bereich im Baum */

/* 05.10.2026 (App-Welle 2): Feed „Meine Gebiete / Ganz Wien“ + Hinweis bei leerem/kurzem Feed (App._renderJobs) */
.feed-scope { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: var(--r-pill); }
.feed-scope-btn {
  min-height: 42px; border: none; border-radius: var(--r-pill); background: transparent;
  color: var(--text-2); font-size: .86rem; font-weight: 800;
}
.feed-scope-btn.active { background: var(--surface); color: var(--teal-text); box-shadow: var(--sh-1); }
.feed-scope-btn:focus-visible, .feed-hint-btn:focus-visible, .area-chip:focus-visible, .area-all:focus-visible,
.late-delay:focus-visible, .late-chat:focus-visible { outline: 2px solid var(--teal-text); outline-offset: 2px; }
.feed-scope-n { display: inline-block; min-width: 1.6em; margin-left: .3rem; padding: 0 .4em; border-radius: var(--r-pill); background: rgba(15,118,110,.12); font-size: .76rem; }
.feed-hint {
  padding: .9rem 1rem; border-radius: var(--r-lg); background: #f0fdfa; border: 1.5px solid #99f6e4;
  color: #134e4a; font-size: .88rem; line-height: 1.45;
}
.feed-hint-btns { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }
.feed-hint-btn {
  min-height: 44px; padding: .5rem .95rem; border: 1.5px solid var(--teal-text); border-radius: var(--r-pill);
  background: #fff; color: var(--teal-text); font-size: .86rem; font-weight: 800;
}
.feed-hint-btn.primary { background: var(--teal-text); color: #fff; }

/* 05.10.2026 (App-Welle 2): Bezirkswahl (App.openAreas) */
.area-all {
  display: block; width: 100%; min-height: 44px; margin-bottom: .6rem;
  border: 1.5px solid #cbd5e1; border-radius: var(--r); background: #fff; color: var(--text); font-size: .9rem; font-weight: 800;
}
.area-all[aria-pressed="true"] { border-color: var(--teal-dark); background: #f0fdfa; color: var(--teal-text); }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.area-chip {
  display: flex; align-items: center; gap: .35rem; min-height: 46px; padding: .35rem .6rem;
  border: 1.5px solid #e2e5ea; border-radius: var(--r-sm); background: #fff; color: var(--text-2);
  font-size: .8rem; line-height: 1.2; text-align: left;
}
.area-chip b { color: var(--text); font-weight: 800; }
.area-chip[aria-pressed="true"] { border-color: var(--teal-dark); background: #ccfbf1; color: #134e4a; }
.area-chip[aria-pressed="true"]::after { content: '✓'; margin-left: auto; padding-left: .2rem; font-weight: 800; color: var(--teal-text); }

/* 05.10.2026 (App-Welle 2): Verspätung melden / absagen (App.openLateCancel) wie der Web-Dialog provCancelModal */
.late-box { padding: .9rem; margin-bottom: .8rem; border: 2px solid var(--teal); border-radius: var(--r); background: #f0fdfa; }
.late-box-t { display: block; margin-bottom: .3rem; font-size: .92rem; font-weight: 800; color: #0f2e36; }
.late-box-d { display: block; font-size: .82rem; line-height: 1.45; color: var(--text-2); }
.late-delays { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin-top: .7rem; }
.late-delay { min-height: 48px; padding: 0 .15rem; border: none; border-radius: var(--r-sm); background: var(--teal); color: #0f2e36; font-size: .84rem; font-weight: 800; white-space: nowrap; }
.late-delay:active { transform: scale(.96); }
.late-used {
  padding: .8rem .9rem; margin-bottom: .8rem; border: 2px solid #fcd34d; border-radius: var(--r);
  background: var(--amber-light); color: #78350f; font-size: .84rem; line-height: 1.45;
}
.late-chat {
  display: block; width: 100%; padding: .9rem; margin-bottom: .8rem; text-align: left;
  border: 1.5px solid #c7d2fe; border-radius: var(--r); background: #eef2ff;
}
.late-chat .late-box-t { color: #4338ca; }
.late-warn {
  padding: .7rem .8rem; border: 1px solid #fecaca; border-radius: var(--r-sm);
  background: #fef2f2; color: #991b1b; font-size: .8rem; line-height: 1.45;
}
.late-warn.late-fee { margin-top: .6rem; border-color: #fde68a; background: #fffbeb; color: #78350f; } /* 13.10.2026 Ausfallgebuehr (AGB § 7) */
.late-reasons .dlg-label { margin-top: .9rem; }
.late-reason { display: flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0 .2rem; font-size: .92rem; color: var(--text); }
.late-reason input { flex-shrink: 0; width: 20px; height: 20px; margin: 0; accent-color: #dc2626; }
.late-reasons .dlg-textarea { min-height: 64px; margin-top: .3rem; }

/* ═══ ACTIVE BOOKING FULL-SCREEN (Uber Trip-like) ═══ */
.booking-scr {
  display: flex; flex-direction: column;
  background: var(--ink);
}
.booking-top {
  position: absolute;
  top: calc(.7rem + var(--safe-top));
  left: 1rem; right: 1rem;
  display: flex; align-items: center; justify-content: space-between;
  z-index: 20;
  pointer-events: none;
}
.booking-top > * { pointer-events: auto; }
.booking-back {
  background: rgba(255,255,255,.95) !important;
  color: var(--ink) !important;
  box-shadow: var(--sh-2);
  font-size: 1.5rem;
}
.booking-timer {
  background: rgba(10,10,10,.85);
  color: #fff;
  padding: .55rem 1rem;
  border-radius: var(--r-pill);
  font-size: 1.1rem; font-weight: 800;
  letter-spacing: .05em;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--sh-2);
}
.booking-spacer { width: 44px; }
.booking-map {
  position: absolute; inset: 0;
  z-index: 1;
  background: #e5e3df; /* OSM-Ton */
}
.leaflet-container { background: #e5e3df !important; }
.booking-sheet {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: .5rem 1.2rem calc(1.2rem + var(--safe-bottom));
  z-index: 10;
  box-shadow: 0 -8px 40px rgba(0,0,0,.25);
  color: var(--text);
  max-height: 65dvh;
  overflow-y: auto;
}
.booking-sheet-grip {
  width: 40px; height: 4px;
  background: var(--surface-2);
  border-radius: 2px;
  margin: 0 auto .8rem;
}

/* Progress Stepper */
.booking-stepper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0 10px;
  position: relative;
}
.booking-stepper::before {
  content: '';
  position: absolute;
  top: 9px; left: 20px; right: 20px;
  height: 2px;
  background: var(--surface-2);
}
.booking-stepper .progress-line {
  position: absolute;
  top: 9px; left: 20px;
  height: 2px;
  background: var(--teal);
  width: 0%;
  transition: width var(--d-slow) var(--ease);
}
.step {
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  position: relative;
  z-index: 1;
  flex: 1;
}
.step-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--surface-2);
  transition: background-color var(--d) var(--ease), border-color var(--d) var(--ease), color var(--d) var(--ease), box-shadow var(--d) var(--ease), transform var(--d) var(--ease), opacity var(--d) var(--ease);
}
.step.done .step-dot { background: var(--teal); border-color: var(--teal); }
.step.active .step-dot {
  background: var(--teal); border-color: var(--teal);
  box-shadow: 0 0 0 5px var(--teal-glow);
}
.step-lbl {
  font-size: .66rem;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.step.done .step-lbl, .step.active .step-lbl { color: var(--text); }

/* Customer Card */
.booking-customer {
  display: flex; align-items: center; gap: .8rem;
  padding: .8rem 0;
  border-top: 1px solid var(--surface-2);
  border-bottom: 1px solid var(--surface-2);
  margin-bottom: .8rem;
}
.booking-cust-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--on-teal);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.booking-cust-avatar img { width: 100%; height: 100%; object-fit: cover; }
.booking-cust-meta { flex: 1; min-width: 0; }
.booking-cust-name {
  font-size: 1rem; font-weight: 700;
  line-height: 1.2;
}
.booking-cust-addr {
  font-size: .75rem; color: var(--text-3);
  margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.booking-cust-actions { display: flex; gap: .4rem; flex-shrink: 0; }
.fab-action {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
  border: none;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--d-fast);
}
.fab-action svg { width: 18px; height: 18px; }
.fab-action:active { transform: scale(.9); }
.fab-navigate { background: var(--teal); color: var(--on-teal); }

/* Meta */
.booking-meta {
  background: var(--surface-2);
  border-radius: var(--r);
  padding: .7rem 1rem;
  margin-bottom: 1rem;
}
.booking-meta-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .3rem 0;
  font-size: .85rem;
}
.booking-meta-lbl { color: var(--text-3); font-weight: 600; }
.booking-meta-val { font-weight: 700; color: var(--text); }
.booking-meta-earn { color: var(--green); font-size: 1.1rem; }

/* Primary Action */
.booking-action {
  display: block; width: 100%;
  padding: 1.1rem 1.5rem;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--on-teal);
  border: none;
  border-radius: var(--r-lg);
  font-size: 1.05rem; font-weight: 800;
  letter-spacing: .02em;
  box-shadow: var(--sh-teal);
  transition: transform var(--d-fast) var(--ease);
}
.booking-action:active { transform: scale(.97); }
.booking-action.done-state {
  background: linear-gradient(135deg, var(--green), #15803d);
  box-shadow: 0 8px 24px rgba(22,163,74,.35);
}
/* 01.10.2026 (App): Einsatz-Screen — Hinweise, Nebenknopf, Web-Link, Infos */
.booking-action:disabled { opacity: .55; box-shadow: none; }
.booking-action2 {
  display: block; width: 100%;
  margin-top: .6rem;
  padding: .85rem 1.2rem;
  background: var(--surface-2);
  color: var(--text);
  border: none;
  border-radius: var(--r-lg);
  font-size: .95rem; font-weight: 700;
}
.booking-hint {
  padding: .75rem .9rem;
  border-radius: var(--r);
  font-size: .85rem; font-weight: 700; line-height: 1.4;
  margin-bottom: .7rem;
  background: var(--surface-2); color: var(--text-2);
}
.booking-hint.warn { background: var(--amber-light); color: #78350f; }
.booking-hint.ok { background: var(--green-light); color: #166534; }
.booking-hint.bad { background: var(--red-light); color: #991b1b; }
.booking-weblink {
  display: block; text-align: center;
  margin-top: .6rem; padding: .7rem;
  color: var(--teal-dark); font-weight: 700; font-size: .9rem;
  text-decoration: underline;
}
.booking-weblink + .booking-weblink { margin-top: 0; } /* 04.10.2026 (App-Welle 1b-Fix): Rechnung direkt unter "Details im Web" */
.booking-addr-hint {
  font-size: .78rem; color: #78350f;
  background: var(--amber-light);
  border-radius: var(--r-sm);
  padding: .5rem .7rem;
  margin: -.3rem 0 .8rem;
  line-height: 1.35;
}
.booking-status-line { margin: -.4rem 0 .6rem; }
.booking-info { margin-bottom: .8rem; }
.booking-info .js-meta-l { white-space: pre-line; overflow-wrap: anywhere; }
.booking-info .js-desc { margin: .5rem 0; }
.booking-info .js-content { margin: .6rem 0; } /* 01.10.2026 (App-Ausbau) */
.booking-info .js-content .js-desc { margin: 0; }
.booking-route-btn {
  display: block; width: 100%;
  padding: .7rem 1rem; margin-top: .4rem;
  background: var(--surface); color: var(--teal-dark);
  border: 1.5px solid var(--teal); border-radius: var(--r);
  font-size: .9rem; font-weight: 700;
}
.booking-cust-addr { white-space: normal; }
.booking-map.map-off { background: linear-gradient(160deg, #1a1a1a, #0a0a0a); }

/* Status-Badges je Buchungsstatus (01.10.2026 (App): vorher immer grün) */
.job-card-badge.st-wait { background: var(--amber-light); color: #78350f; }
.job-card-badge.st-ok { background: var(--green-light); color: #166534; }
.job-card-badge.st-live { background: #ccfbf1; color: #115e59; }
.job-card-badge.st-done { background: var(--surface-2); color: #166534; }
.job-card-badge.st-bad { background: var(--red-light); color: #991b1b; }
.job-card-badge.st-muted { background: var(--surface-2); color: var(--text-3); }
.job-card-badge { text-transform: none; letter-spacing: 0; font-size: .7rem; }
.job-card.is-muted { opacity: .6; }
.job-card-hint { font-size: .72rem; color: var(--text-3); margin-top: .35rem; }
/* 01.10.2026 (App-Ausbau): Direktbuchung zusagen/ablehnen — Einsatz-Screen und Karten in "Meine Aufträge" */
.booking-action2.is-decline { background: var(--red-light); color: #991b1b; }
.booking-action2:disabled { opacity: .55; }
.booking-linkbtn {
  display: block; width: 100%;
  margin-top: .5rem; padding: .6rem; min-height: 44px;
  background: none; border: none;
  color: var(--teal-dark); font-weight: 700; font-size: .9rem;
  text-decoration: underline;
}
.booking-linkbtn:disabled { opacity: .55; }
/* 01.10.2026 (App-Ausbau): offene Direktbuchung — Frist-Hinweis + Zusagen/Ablehnen/Gegenangebot direkt unter der Statuszeile,
   Kundin/Termin/Auftragsinhalt darunter (_updateBookingAction setzt is-pending) */
.booking-sheet.is-pending { display: flex; flex-direction: column; }
.booking-sheet.is-pending > * { flex-shrink: 0; }
.booking-sheet.is-pending > .booking-sheet-grip { order: -3; }
.booking-sheet.is-pending > .booking-status-line { order: -2; }
.booking-sheet.is-pending > .booking-hint,
.booking-sheet.is-pending > .booking-action,
.booking-sheet.is-pending > .booking-action2,
.booking-sheet.is-pending > .booking-linkbtn { order: -1; }
.booking-sheet.is-pending > .booking-customer { margin-top: .8rem; }
/* 04.10.2026 (App-Welle 1b-Fix): offene Meldung der Kundin („Hausfee kommt nicht“, 3-h-Frist) — roter Hinweis + „Bestätigen oder
   widersprechen (Web)“ direkt unter der Statuszeile, ohne Scrollen nach dem Push (_updateBookingAction setzt is-report);
   Check-in/Fertig bleiben an ihrem Platz */
.booking-sheet.is-report { display: flex; flex-direction: column; }
.booking-sheet.is-report > * { flex-shrink: 0; }
.booking-sheet.is-report > .booking-sheet-grip { order: -4; }
.booking-sheet.is-report > .booking-stepper { order: -3; }
.booking-sheet.is-report > .booking-status-line { order: -2; }
.booking-sheet.is-report > .booking-hint,
.booking-sheet.is-report > .booking-linkbtn { order: -1; }
.booking-sheet.is-report > .booking-linkbtn { margin: -.4rem 0 .6rem; }
.job-card-hint.is-urgent { color: #78350f; font-weight: 700; }
.job-card-actions { display: flex; gap: .5rem; margin-top: .7rem; }
.job-card-actions .jc-btn {
  flex: 1; min-height: 44px; padding: .65rem .8rem;
  border: none; border-radius: var(--r);
  font-size: .88rem; font-weight: 800;
}
.job-card-actions .jc-ok { background: var(--green); color: #fff; }
.job-card-actions .jc-no { background: var(--red-light); color: #991b1b; }
.job-card-actions .jc-btn:disabled { opacity: .55; }
/* 25.10.2026 (Paket 9): Bewerbung zurückziehen auf der Karte als Textlink (jc-no bleibt für „Ablehnen“) */
.job-card-actions.is-link { justify-content: flex-end; margin-top: .3rem; }
.job-card-actions .jc-wd { flex: 0 0 auto; background: none; color: #991b1b; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; padding: .5rem .2rem .5rem .8rem; }
.active-bk.is-waiting .active-bk-pulse { background: var(--amber); animation: none; }
.active-bk.is-waiting .active-bk-t { color: var(--amber); }
.retry-btn {
  display: inline-block; margin-top: .8rem;
  padding: .55rem 1.1rem;
  background: var(--ink); color: #fff;
  border: none; border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 700;
}
.err-text { white-space: pre-line; }
.selectable { user-select: text; -webkit-user-select: text; }

/* ═══ ANIMATIONS ═══ */
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slide-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.scr.active > main > * { animation: slide-up var(--d-slow) var(--ease) backwards; }
.scr.active > main > *:nth-child(1) { animation-delay: 0s; }
.scr.active > main > *:nth-child(2) { animation-delay: .04s; }
.scr.active > main > *:nth-child(3) { animation-delay: .08s; }
.scr.active > main > *:nth-child(4) { animation-delay: .12s; }
.scr.active > main > *:nth-child(5) { animation-delay: .16s; }
.scr.active > main > *:nth-child(6) { animation-delay: .20s; }

/* ═══ UTILITIES ═══ */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* 05.10.2026 (Almir, GO): schwebender Support-Knopf (direkter Chat mit dem hausfeen-Team), auf Start über der Navigation;
   über den Screens (10) und der Navigation (50), unter Sheets (100) und Dialogen */
.support-fab {
  position: fixed; right: 16px; bottom: calc(16px + var(--safe-bottom)); z-index: 60;
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0;
  border: none; border-radius: 50%; background: var(--ink); color: #fff;
  box-shadow: 0 6px 20px rgba(15,46,54,.3);
}
/* 06.10.2026 (Almir): nur Symbol (Beschriftung bleibt fuer Screenreader) — der breite Knopf verdeckte Preise/Bewertungen */
.support-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
#scr-jobs .scroll, #scr-earnings .scroll, #scr-profile .scroll, #scr-notifications .scroll { padding-bottom: calc(var(--botnav-h) + var(--safe-bottom) + 76px); }
.support-fab[hidden] { display: none; }
#home-scroll { padding-bottom: calc(var(--botnav-h) + var(--safe-bottom) + 76px); } /* letzte Karte nicht hinter dem Knopf */
.support-fab.has-nav { bottom: calc(var(--botnav-h) + 14px + var(--safe-bottom)); }
.support-fab svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--teal); }
.support-fab:active { transform: scale(.96); }
.support-fab:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* 06.10.2026 (Almir: „einfach, selbsterklärend, intuitiv“): Einführung (4 Karten) + leere Listen mit nächstem Schritt */
.intro { padding: 1.3rem 1.2rem 1rem; text-align: center; }
.intro-step { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.intro-ic { width: 84px; height: 84px; margin: 1rem auto 1rem; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; background: linear-gradient(135deg, rgba(20,184,166,.14), rgba(13,148,136,.22)); }
.intro-t { font-size: 1.3rem; font-weight: 800; color: var(--text); margin-bottom: .55rem; letter-spacing: -.01em; }
.intro-x { font-size: .97rem; line-height: 1.55; color: var(--text-2); min-height: 4.7em; max-width: 340px; margin: 0 auto; }
.intro-dots { display: flex; justify-content: center; gap: .4rem; margin: 1.2rem 0 1.3rem; }
.intro-dot { width: 8px; height: 8px; border-radius: var(--r-pill); background: #d9dee3; transition: width var(--d-fast) var(--ease); }
.intro-dot.on { width: 24px; background: var(--teal); }
.intro-btns { display: flex; gap: .6rem; }
.intro-btns .btn { flex: 1; }
.intro-skip { background: var(--surface-2); color: var(--text-2); }
.intro-foot { margin-top: 1rem; font-size: .84rem; line-height: 1.6; color: var(--text-3); }
.intro-foot a { color: var(--teal-text); font-weight: 700; }
.empty-box { text-align: center; padding: 2.4rem 1.2rem; }
.empty-box-ic { font-size: 2.2rem; margin-bottom: .55rem; }
.empty-box-t { font-size: 1rem; font-weight: 800; color: var(--text-2); margin-bottom: .35rem; }
.empty-box-x { font-size: .88rem; line-height: 1.55; color: var(--text-3); max-width: 310px; margin: 0 auto; }
.empty-box .btn { margin-top: 1.1rem; }

/* ═══ RESPONSIVE ═══ */
@media (min-width: 768px) {
  .support-fab { right: calc(50% - 240px + 16px); } /* 05.10.2026: in der 480-px-Spalte */
  .scr {
    max-width: 480px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
  }
  /* 01.10.2026 (App): Sheet ohne left/transform — es rutschte ab 768 px nach rechts */
  .sheet-panel { max-width: 480px; margin: 0 auto; }
  .botnav { max-width: 480px; left: 50%; transform: translateX(-50%); }
}

/* 01.10.2026 (App): Zoomen ist wieder erlaubt — Eingabefelder mit 16 px, damit iOS beim Fokus nicht hineinzoomt */
.thread-composer input, .thread-composer textarea, .apply-form textarea, .tc-other input, .field input { font-size: 16px; }

/* 01.10.2026 (App): Hinweis auf neue Version (version.json / neuer Service Worker) */
.update-bar {
  position: fixed;
  left: 50%; transform: translateX(-50%);
  bottom: calc(var(--botnav-h) + var(--safe-bottom) + 12px);
  z-index: 9500;
  max-width: calc(100vw - 32px);
  padding: .7rem 1.1rem;
  background: var(--teal-dark); color: var(--on-teal);
  border: none; border-radius: var(--r-pill);
  font-size: .85rem; font-weight: 700;
  box-shadow: var(--sh-4);
}

/* 01.10.2026 (App-Ausbau): Startseite kompakt — Nächster Termin, eine Hinweiszeile, Kacheln; erste Auftragskarte ohne Scrollen */
#scr-home .active-bk { padding: .7rem .9rem; margin-bottom: .6rem; gap: .7rem; }
#scr-home .active-bk-l { gap: .7rem; }
.active-bk-txt { min-width: 0; }
#scr-home .active-bk-t { font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#scr-home .active-bk-s { font-size: .88rem; }
#scr-home .section { margin-top: .9rem; }
.home-notice {
  display: flex; align-items: center; gap: .6rem;
  width: 100%; margin: 0 0 .6rem; padding: .6rem .8rem;
  border: none; border-left: 4px solid var(--amber); border-radius: var(--r);
  background: var(--amber-light); color: #78350f;
  font-size: .82rem; font-weight: 700; line-height: 1.3; text-align: left;
  transition: transform var(--d-fast) var(--ease);
}
.home-notice:active { transform: scale(.98); }
.home-notice.notice-red { background: var(--red-light); color: #991b1b; border-left-color: var(--red); }
.home-notice.notice-teal { background: #f0fdfa; color: var(--teal-dark); border-left-color: var(--teal); }
.home-notice-ic { font-size: 1.1rem; flex-shrink: 0; }
.home-notice-t { flex: 1; min-width: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; } /* 3 Zeilen: TR/BKS-Hinweise am 360-px-Handy */
.home-notice-arrow { font-size: 1.3rem; opacity: .6; flex-shrink: 0; }
.home-tiles { padding: .35rem; margin-bottom: .6rem; }
.home-tiles .pill { min-width: 0; padding: .45rem .3rem; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; }
.home-tiles .pill-v { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-tiles .pill-l { font-size: .7rem; text-transform: none; letter-spacing: 0; line-height: 1.2; }
/* Sichtbarkeit im Profil (vorher Status-Schalter auf der Startseite) */
.vis-row { display: flex; align-items: center; gap: .8rem; padding: .3rem 1rem .9rem; cursor: pointer; } /* ganze Zeile tippbar */
.vis-text { flex: 1; min-width: 0; }
.vis-label { font-size: .95rem; font-weight: 800; }
.vis-section.is-on .vis-label { color: var(--green); }
.vis-section.is-locked .vis-label { color: var(--red); }
.vis-hint { font-size: .78rem; color: var(--text-3); margin-top: 2px; line-height: 1.35; }
.vis-switch {
  position: relative; flex-shrink: 0;
  width: 52px; height: 30px; padding: 0;
  border: none; border-radius: var(--r-pill);
  background: #cbd5e1;
  transition: background var(--d) var(--ease);
}
.vis-knob {
  position: absolute; top: 3px; left: 3px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; box-shadow: var(--sh-2);
  transition: transform var(--d) var(--ease);
}
.vis-switch[aria-checked="true"] { background: var(--green); }
.vis-switch[aria-checked="true"] .vis-knob { transform: translateX(22px); }
.vis-switch[aria-disabled="true"], .vis-switch:disabled { opacity: .5; }
/* 04.10.2026 (App-Welle 1b): "Deine Bewertungen" im Profil + Bewertung der Kundin im Einsatz-Screen */
.rv-item { padding: .7rem 1rem; border-bottom: 1px solid var(--surface-2); }
.rv-item:last-of-type { border-bottom: none; }
.rv-item[data-rv-booking] { cursor: pointer; }
.rv-item[data-rv-booking]:active { background: var(--surface-2); }
.rv-top { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .6rem; }
.rv-stars { color: var(--amber); font-size: .95rem; letter-spacing: 1px; white-space: nowrap; }
.rv-stars-off { color: #d9dce1; }
.rv-meta { font-size: .74rem; color: var(--text-3); }
.rv-text { font-size: .86rem; color: var(--text); line-height: 1.45; margin-top: .3rem; white-space: pre-line; overflow-wrap: anywhere; }
.rv-text.rv-empty { color: var(--text-3); font-size: .78rem; }
.rv-none { padding: .4rem 1rem .9rem; font-size: .82rem; color: var(--text-3); line-height: 1.45; }
.rv-more { padding: 0 1rem .8rem; font-size: .74rem; color: var(--text-3); }
.bk-review { background: var(--amber-light); border-radius: var(--r); padding: .7rem .85rem; margin-bottom: .8rem; }
.bk-review-h { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; font-size: .82rem; font-weight: 700; color: #78350f; }
/* 04.10.2026 (App-Welle 1b): Hilfe & Kontakt — E-Mail-Zeile als Link, Impressum/Datenschutz/AGB klein darunter */
a.profile-item { color: inherit; text-decoration: none; }
.profile-legal { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .2rem .4rem; padding: .55rem 1rem .75rem; color: var(--text-3); font-size: .76rem; }
/* 04.10.2026 (App-Welle 1b-Fix): Tippfläche 44 px (vorher 36 px) */
.profile-legal-a { min-height: 44px; padding: .2rem .3rem; background: none; border: none; color: var(--text-2); font: inherit; font-size: .76rem; text-decoration: underline; }
/* 04.10.2026 (App-Welle 1b): tippbare Kacheln im Profil (Sparkles, Bewertung) */
.profile-row-btn { background: none; border: none; font: inherit; color: inherit; cursor: pointer; border-radius: var(--r-sm); }
.profile-row-btn:active { background: var(--surface-2); }
/* 04.10.2026 (App-Welle 1b): Sparkles-Sheet — Stand, Boost, Einladen, Verlauf */
.sp-head { text-align: center; padding: .2rem 0 .9rem; }
.sp-bal { font-size: 2rem; font-weight: 800; color: #b45309; letter-spacing: -.02em; }
.sp-sub { font-size: .78rem; color: var(--text-3); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }
.sp-box { background: var(--amber-light); border-radius: var(--r); padding: .85rem .9rem; margin-bottom: .8rem; }
.sp-box.sp-invite { background: var(--green-light); }
.sp-box-t { font-size: .95rem; font-weight: 800; color: var(--text); }
.sp-box-s { font-size: .82rem; color: var(--text-2); margin-top: .3rem; line-height: 1.45; }
.sp-box-ok { font-size: .82rem; font-weight: 700; color: #166534; margin-top: .45rem; }
.sp-box-note { font-size: .8rem; color: #78350f; margin-top: .5rem; line-height: 1.4; }
.sp-btn { width: 100%; margin-top: .65rem; min-height: 46px; }
.sp-link { display: block; min-height: 44px; margin-top: .3rem; padding: .3rem 0; background: none; border: none; color: var(--teal-text); font: inherit; font-size: .85rem; font-weight: 700; text-align: left; }
.sp-ref { margin-top: .55rem; padding: .55rem .65rem; background: #fff; border-radius: var(--r-sm); font-size: .78rem; color: #166534; overflow-wrap: anywhere; }
.sp-note { font-size: .78rem; color: var(--text-3); line-height: 1.45; margin: .4rem 0 .8rem; }
.sp-txs { background: var(--surface-2); border-radius: var(--r); padding: .2rem .8rem; margin-bottom: .6rem; }
.sp-tx { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; border-bottom: 1px solid #e6e8ec; }
.sp-tx:last-child { border-bottom: none; }
.sp-tx-main { flex: 1; min-width: 0; }
.sp-tx-t { font-size: .84rem; font-weight: 600; }
.sp-tx-s { font-size: .72rem; color: var(--text-3); margin-top: 1px; }
.sp-tx-a { font-size: .9rem; font-weight: 800; color: var(--green); white-space: nowrap; }
.sp-tx-a.neg { color: #b91c1c; }
/* Score & Plattformgebühr im Profil */
.score-box { padding: .3rem 1rem .9rem; font-size: .84rem; line-height: 1.4; }
.score-line { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; font-weight: 700; }
.score-line strong { font-size: 1.15rem; color: var(--teal-dark); }
.score-next { margin-top: .45rem; color: var(--text-2); font-weight: 600; }
.score-note { margin-top: .45rem; color: var(--text-3); font-size: .76rem; }
.score-box + .profile-item { border-top: 1px solid var(--surface-2); }

/* 01.10.2026 (App-Ausbau): Install-Screen als Empfehlung — scrollt auf kleinen Handys, In-App-Browser-Hinweis,
   "Im Browser weiter", iPhone-Push-Hinweis, Sprachwahl auf dunklem Grund */
.install-scr { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.install-scr.is-inapp .install-title,
.install-scr.is-inapp .install-sub,
.install-scr.is-inapp .install-feats { display: none; }
.install-inapp { width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: .75rem; }
.install-inapp-t { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.install-inapp-s { font-size: .95rem; color: var(--text-dim); line-height: 1.5; margin: 0 0 .5rem; }
.install-url {
  width: 100%; padding: .8rem 1rem;
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--r);
  font-size: 16px; text-align: center;
  user-select: text; -webkit-user-select: text;
}
.install-copy {
  width: 100%; padding: 1rem 1.5rem;
  background: #fff; color: var(--ink);
  border: none; border-radius: var(--r-lg);
  font-size: 1rem; font-weight: 800;
}
.install-copy:active { transform: scale(.97); }
.install-inapp .install-cta { text-decoration: none; }
.install-inapp-steps { margin: .25rem 0 0; }
.install-ios-safari { margin: .8rem 0 0; }
.install-note {
  width: 100%; margin: 1rem 0 0; padding: .8rem 1rem;
  background: rgba(245,158,11,.14); border: 1px solid rgba(245,158,11,.4);
  border-radius: var(--r); color: #fde68a;
  font-size: .85rem; line-height: 1.45; text-align: left;
}
/* 01.10.2026 (App-Ausbau): "Im Browser weiter" als volle, gut lesbare Zweit-Aktion direkt unter der Installation
   (die Feature-Liste steht seitdem darunter, index.html) */
.install-browser {
  margin-top: 1.25rem;
  width: 100%; min-height: 48px;
  color: #fff; border-color: rgba(255,255,255,.4);
  font-size: .95rem;
}
#install-browser:not([hidden]) + .install-feats { margin-top: 1.5rem; }
.install-scr .lang-btn { color: var(--text-dim); }
.install-scr .lang-btn.active { color: var(--teal); }

/* 06.10.2026 (Almir): Aufträge/Verdienst/Profil sind Hauptseiten — untere Leiste dort sichtbar, kein Zurück-Pfeil */
.botnav[hidden] { display: none; }
#scr-jobs .backbtn, #scr-earnings .backbtn, #scr-profile .backbtn { visibility: hidden; }
.earn-week-empty { margin-top: .75rem; font-size: .82rem; color: rgba(255,255,255,.75); text-align: center; }

/* 25.10.2026 (UX-Audit Paket 10, Befund 51): „weniger Bewegung“ — keine Dauer-Pulse, keine Uebergaenge/Einblendungen.
   Kurze Dauer statt none, damit transitionend/animationend weiter feuern (Sheets, Toasts). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 25.10.2026: Linien-Symbole statt Emojis (hfIc in app.js) — Groesse folgt der Schrift, Farbe dem Text */
.ic { width: 1.1em; height: 1.1em; display: inline-block; vertical-align: -.17em; flex-shrink: 0; }
.intro-ic .ic, .empty-box-ic .ic { width: 1em; height: 1em; }
