/* ============================================================
   UM-AV – Designsystem „Frisch & Professionell"
   Petrol + Mint auf warmem Papier · Bricolage Grotesque / Schibsted Grotesk
   ============================================================ */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/static/fonts/bricolage-grotesque.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('/static/fonts/schibsted-grotesk.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}

:root {
  /* Farben */
  --ink: #1c2b2a;
  --ink-soft: #44615d;
  --muted: #6e8682;
  --paper: #f3f6f4;
  --card: #ffffff;
  --border: #dde7e3;
  --border-strong: #c3d4ce;

  --petrol-900: #0b2e2b;
  --petrol-800: #103d39;
  --petrol-700: #14524c;
  --petrol-600: #0d7a6f;
  --mint-400: #3ec9a7;
  --mint-100: #e0f5ee;

  --amber: #b97e16;
  --amber-bg: #fbf1dc;
  --red: #b3452f;
  --red-bg: #f9e7e2;
  --green: #25744a;
  --green-bg: #e1f1e7;
  --blue: #3b6e96;
  --blue-bg: #e4eef5;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16, 61, 57, 0.05), 0 6px 18px -8px rgba(16, 61, 57, 0.14);
  --shadow-pop: 0 2px 4px rgba(16, 61, 57, 0.08), 0 14px 32px -10px rgba(16, 61, 57, 0.22);

  --font-display: 'Bricolage Grotesque', 'Schibsted Grotesk', sans-serif;
  --font-body: 'Schibsted Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(62, 201, 167, 0.13), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(13, 122, 111, 0.08), transparent 55%),
    var(--paper);
  background-attachment: fixed;
}
a { color: var(--petrol-600); }
::selection { background: var(--mint-400); color: var(--petrol-900); }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* ---------- App-Shell: Sidebar + Inhalt ---------- */
.shell { display: flex; min-height: 100vh; }
.shell-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.sidebar {
  width: 248px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--petrol-800) 0%, var(--petrol-900) 100%);
  color: #e8f3f0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-brand {
  display: flex; align-items: center; gap: 11px;
  padding: 20px 18px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--mint-400), var(--petrol-600));
  color: var(--petrol-900);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px -2px rgba(62, 201, 167, 0.5);
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.25;
}
.brand-text small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 11px; color: #9dbcb5; margin-top: 2px; }

.sidebar-nav { flex: 1; padding: 12px 12px 18px; }
.nav-group {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #7da39b;
  margin: 16px 8px 5px;
  font-weight: 700;
}
.nav-link {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 12px;
  margin: 1px 0;
  border-radius: 10px;
  color: #cfe3de;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.nav-link:hover { background: rgba(255, 255, 255, 0.07); color: #fff; transform: translateX(2px); }
.nav-link.active {
  background: linear-gradient(90deg, rgba(62, 201, 167, 0.22), rgba(62, 201, 167, 0.07));
  color: #fff;
  box-shadow: inset 3px 0 0 var(--mint-400);
}
.nav-icon { width: 20px; text-align: center; font-size: 14px; opacity: 0.85; }

.sidebar-user {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.18);
}
.user-avatar {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--mint-100); color: var(--petrol-700);
  font-family: var(--font-display); font-weight: 800; font-size: 13px;
}
.user-meta { flex: 1; min-width: 0; line-height: 1.25; }
.user-meta strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-meta span { font-size: 11px; color: #9dbcb5; }
.logout-btn {
  background: none; border: 1px solid rgba(255, 255, 255, 0.18);
  color: #cfe3de; font-size: 15px;
  width: 34px; height: 34px; border-radius: 9px; cursor: pointer;
  transition: all 0.15s;
}
.logout-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }

.mobilebar { display: none; }

.container { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 26px 30px 40px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.page-title {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--petrol-900);
}
.footer { text-align: center; color: var(--muted); font-size: 12px; padding: 18px; }

/* ---------- Karten ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.card h2 {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--petrol-800);
}
.card h3 { font-size: 14px; margin: 14px 0 6px; color: var(--ink-soft); }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.card-head h2 { margin: 0; }
.card-hint { font-size: 12px; color: var(--muted); }
.card-narrow { max-width: 400px; margin: 7vh auto; }
.card-medium { max-width: 820px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 980px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- KPI-Kacheln ---------- */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.kpi {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s, box-shadow 0.18s;
}
.kpi::after {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--mint-400), var(--petrol-600));
  opacity: 0.85;
}
.kpi-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.kpi-warn::after { background: linear-gradient(90deg, #f2b134, var(--amber)); }
.kpi-num {
  display: block;
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--petrol-800);
  line-height: 1.1;
}
.kpi-label { font-size: 12.5px; color: var(--muted); }
.kpi-icon {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  font-size: 15px;
}
.k-teal { background: var(--mint-100); color: var(--petrol-600); }
.k-green { background: var(--green-bg); color: var(--green); }
.k-blue { background: var(--blue-bg); color: var(--blue); }
.k-amber { background: var(--amber-bg); color: var(--amber); }

/* ---------- Diagramme ---------- */
.chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.chart-card { margin-bottom: 0; }
.span-2 { grid-column: span 2; }
@media (max-width: 800px) { .span-2 { grid-column: span 1; } }
.chart { width: 100%; height: auto; display: block; margin-top: 6px; }
.chart-donut { max-width: 190px; }
.ch-grid { stroke: var(--border); stroke-width: 1; }
.ch-track { fill: #eef4f1; stroke: #eef4f1; }
.ch-bar { transition: opacity 0.15s; }
.ch-bar-g:hover .ch-bar { opacity: 0.78; }
.ch-xlabel { font: 600 10.5px var(--font-body); fill: var(--muted); text-anchor: middle; }
.ch-ylabel { font: 500 10px var(--font-body); fill: var(--muted); text-anchor: end; }
.ch-vlabel { font: 700 10.5px var(--font-body); fill: var(--ink-soft); text-anchor: middle; }
.ch-hlabel { font: 600 12px var(--font-body); fill: var(--ink); text-anchor: end; }
.ch-hsub { font: 400 10px var(--font-body); fill: var(--muted); text-anchor: end; }
.ch-hvalue { font: 700 12px var(--font-display); fill: var(--petrol-800); }
.ch-donut-num { font: 800 26px var(--font-display); fill: var(--petrol-900); text-anchor: middle; }
.ch-donut-label { font: 500 10.5px var(--font-body); fill: var(--muted); text-anchor: middle; }
.donut-wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.legend { display: flex; flex-direction: column; gap: 7px; font-size: 13px; }
.legend-item { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); }
.legend-item strong { color: var(--ink); margin-left: auto; padding-left: 10px; }
.legend-dot { width: 10px; height: 10px; flex-shrink: 0; }

/* ---------- Formulare ---------- */
label { display: block; margin: 10px 0; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
input, select, textarea {
  display: block; width: 100%;
  margin-top: 5px;
  padding: 9px 12px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font: 400 14px var(--font-body);
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--petrol-600);
  box-shadow: 0 0 0 3px rgba(13, 122, 111, 0.15);
}
label.check {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 6px 14px 6px 0;
  font-weight: 500; color: var(--ink);
  cursor: pointer;
}
label.check input { width: 16px; height: 16px; margin: 0; accent-color: var(--petrol-600); cursor: pointer; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--petrol-600); }
fieldset { border: 1.5px solid var(--border); border-radius: var(--radius-sm); margin: 14px 0; padding: 10px 14px 12px; }
legend { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding: 0 7px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 16px; }
/* Kundenseite: Sprungziele nicht unter der mobilen Kopfleiste, Knopf unter der Knopfzeile */
/* Knopfreihe: gleich hoch und bündig, auch bei btn neben btn-primary */
#cct-actions { align-items: stretch; }
#cct-actions > .btn { display: inline-flex; align-items: center; justify-content: center; }
/* Mit Menü ist die Karte schmal (1024), die Reihe bleibt zusammen. Am Handy untereinander in voller Breite. */
@media (min-width: 640px) and (max-width: 1100px) { #cct-actions { gap: 6px; } #cct-actions > .btn { padding: 8px 10px; font-size: 12.5px; } }
@media (max-width: 639px) { #cct-actions > .btn { flex: 1 1 100%; } }
.cct-add { margin-top: 12px; background: #f6faf8; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 14px 14px; }
.table-x { overflow-x: auto; }
/* Auftragsarten: Knöpfe müssen ohne seitliches Scrollen erreichbar sein. Reicht der Platz der Karte nicht
   für die Tabelle (Handy, aber auch 1024 mit Menü), wird jede Art ein gestapelter Block. */
.table-cards { container-type: inline-size; }
@container (max-width: 820px) {
  .table-cards thead { display: none; }
  .table-cards table, .table-cards tbody, .table-cards tr { display: block; width: auto; }
  .table-cards tr { padding: 8px 0; border-bottom: 1px solid var(--border); }
  .table-cards td { display: flex; gap: 10px; padding: 3px 0; border: 0; align-items: center; }
  .table-cards td:empty { display: none; }
  .table-cards td[data-label]::before { content: attr(data-label); flex: 0 0 96px; font-size: 12px; font-weight: 600; color: var(--muted); }
  .table-cards td.cct-actions { flex-wrap: wrap; gap: 6px; padding-top: 7px; }
}
#auftragsarten, #auftragsart-neu { scroll-margin-top: 70px; }
/* Kunde anlegen: je Auftragsart eine Zeile, beliebig viele, schmal zwei Spalten */
.cct-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.6fr) minmax(0, 0.9fr) minmax(0, 0.9fr); gap: 0 12px; align-items: end; padding: 6px 8px; border-radius: var(--radius-sm); }
.cct-row-title { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.cct-add-row { margin-top: 8px; }
.cct-row-error { background: var(--red-bg); outline: 1.5px solid #ecc9c0; }
.cct-row-error .cct-row-title { color: var(--red); }
.cct-row-msg { grid-column: 1 / -1; margin: 4px 0 2px; font-size: 13px; font-weight: 600; color: var(--red); }
@media (max-width: 700px) { .cct-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .cct-row label:nth-of-type(-n+2) { grid-column: 1 / -1; } }
.filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 0 12px; align-items: end; }
.filter-grid .btn { margin: 10px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 9px 16px;
  border: 1.5px solid var(--border-strong);
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font: 600 13.5px var(--font-body);
  text-decoration: none;
  transition: all 0.15s;
}
.btn:hover { border-color: var(--petrol-600); color: var(--petrol-700); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(13, 122, 111, 0.3); }
.btn-primary {
  background: linear-gradient(135deg, var(--petrol-600), var(--petrol-700));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 3px 10px -3px rgba(13, 122, 111, 0.55);
}
.btn-primary:hover { color: #fff; background: linear-gradient(135deg, #0e887c, var(--petrol-600)); box-shadow: 0 5px 16px -4px rgba(13, 122, 111, 0.6); }
.btn-danger { border-color: #e3b3a8; color: var(--red); background: #fff; }
.btn-danger:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn-small { padding: 4px 11px; font-size: 12px; }
.btn-block { width: 100%; text-align: center; }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: #fff; }

/* ---------- Tabellen ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th, .table td { text-align: left; padding: 10px 12px; vertical-align: top; }
.table thead th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 2px solid var(--border-strong);
  background: var(--card);
  position: sticky; top: 0; z-index: 1;
  white-space: nowrap;
}
.table thead th a { color: var(--petrol-700); text-decoration: none; }
.table tbody tr { border-bottom: 1px solid var(--border); transition: background 0.12s; }
.table tbody tr:last-child { border-bottom: 0; }
.table tbody tr:hover { background: #f4faf8; }
.table-scroll { overflow: auto; max-height: 68vh; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.table-scroll .table td, .table-scroll .table th { padding: 8px 10px; }
.row-link { cursor: pointer; }
.row-link:hover { background: var(--mint-100) !important; }
.row-inactive { opacity: 0.5; }
.nowrap { white-space: nowrap; }
.cell-val { max-width: 260px; overflow-wrap: anywhere; font-size: 12.5px; }
.cell-notes { max-width: 220px; overflow-wrap: anywhere; }
.cell-strong { font-weight: 700; font-family: var(--font-display); color: var(--petrol-800); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  background: #e9efec;
  color: var(--ink-soft);
  white-space: nowrap;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-geplant { background: var(--blue-bg); color: var(--blue); }
.badge-abgearbeitet { background: var(--green-bg); color: var(--green); }
.badge-storniert { background: var(--red-bg); color: var(--red); }
.badge-audit-insert { background: var(--green-bg); color: var(--green); }
.badge-audit-update { background: var(--amber-bg); color: var(--amber); }
.badge-audit-delete { background: var(--red-bg); color: var(--red); }
/* Versand-Läufe (job_runs) */
.badge-success { background: var(--green-bg); color: var(--green); }
.badge-partial { background: var(--amber-bg); color: var(--amber); }
.badge-failed  { background: var(--red-bg); color: var(--red); }
.badge-running { background: var(--blue-bg); color: var(--blue); }

/* ---------- Meldungen / Sonstiges ---------- */
.alert { padding: 11px 15px; border-radius: var(--radius-sm); margin: 10px 0; font-size: 13.5px; font-weight: 500; }
.alert-error { background: var(--red-bg); color: var(--red); border: 1px solid #ecc9c0; }
.alert-ok { background: var(--green-bg); color: var(--green); border: 1px solid #c4dfce; }
.alert-warn { background: var(--amber-bg); color: var(--amber); border: 1px solid var(--amber); }
.preset-links { margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.muted { color: var(--muted); font-size: 13px; }
.hidden { display: none !important; }
.empty-state { text-align: center; color: var(--muted); padding: 26px 10px; font-size: 14px; }
.inline-form { display: inline-flex; gap: 8px; align-items: center; }
.inline-details { display: inline-block; }
.inline-details summary { list-style: none; cursor: pointer; }
.inline-details summary::-webkit-details-marker { display: none; }
.inline-details[open] { display: block; background: #f6faf8; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px 14px; margin: 6px 0; }
details > summary { cursor: pointer; }
.action-row { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 12px; align-items: flex-start; }
.toolbar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.sub-item { padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; }
hr { border: 0; border-top: 1px solid var(--border); margin: 16px 0; }
.perm-list { font-size: 12px; color: var(--muted); }

/* Alte Stat-Kacheln (Kompatibilität) */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; text-align: center; font-size: 12px; color: var(--muted); box-shadow: var(--shadow); }
.stat a { text-decoration: none; color: inherit; }
.stat-num { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--petrol-800); }

/* ---------- Tagesansicht ---------- */
.day-card {
  border: 1px solid var(--border);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s;
}
.day-card:hover { box-shadow: var(--shadow-pop); }
.day-card.status-abgearbeitet { border-left-color: var(--green); background: linear-gradient(90deg, var(--green-bg) 0%, #fff 18%); }
.day-card-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.day-card-head a { text-decoration: none; color: var(--ink); font-size: 15px; }
.day-card-head a:hover strong { color: var(--petrol-600); }
.day-card-body { font-size: 13px; color: var(--muted); margin: 6px 0 2px; }

/* ---------- Stundenzettel ---------- */
.sheet-table .srow-summe_tag { background: #f0f6f3; font-weight: 600; }
.sheet-table .srow-summe_woche, .sheet-table .srow-total { background: var(--mint-100); font-weight: 700; }
.sheet-table .srow-abwesenheit td { color: var(--amber); }
.sheet-table .srow-fahrzeit td { color: var(--petrol-600); font-style: italic; }
.history-box .table { font-size: 12.5px; }

/* ---------- Login ---------- */
.auth-page { display: grid; place-items: center; min-height: 100vh; padding: 20px; }
.auth-card {
  width: 100%; max-width: 380px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px 34px 30px;
  box-shadow: var(--shadow-pop);
  animation: rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.auth-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.auth-brand .brand-mark { width: 50px; height: 50px; font-size: 20px; border-radius: 14px; }
.auth-brand h1 { font-family: var(--font-display); font-size: 21px; font-weight: 800; margin: 0; color: var(--petrol-900); line-height: 1.2; }
.auth-brand small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12px; color: var(--muted); }
.auth-card .btn-block { margin-top: 16px; padding: 11px; font-size: 14.5px; }

/* ---------- Konfigurierbares Dashboard ---------- */
.dash-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.dash-toolbar-btns { display: flex; gap: 8px; flex-wrap: wrap; }

.widget-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Freies Kachelraster: 1 Höheneinheit = 100px. Jedes Widget hat feste
     Koordinaten (col/row, per JS gesetzt) – Lücken/Leerzeilen bleiben erhalten. */
  grid-auto-rows: 100px;
  gap: 16px;
}
.widget-grid:not(.ready) { visibility: hidden; }
/* Aktiver Drag: Fläche als Ablagezone markieren */
.widget-grid.drag-active {
  outline: 2px dashed var(--petrol-600);
  outline-offset: 8px;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, rgba(62, 201, 167, 0.05) 0 12px, transparent 12px 24px);
}
.widget { position: relative; min-width: 0; }
/* Zielzellen-Indikator beim Ziehen: grün = frei, rot = belegt */
.drop-indicator {
  border: 2px dashed var(--petrol-600);
  border-radius: var(--radius);
  background: rgba(62, 201, 167, 0.12);
  pointer-events: none;
}
.drop-indicator.invalid {
  border-color: var(--red);
  background: rgba(179, 69, 47, 0.12);
}
/* Mobil: feste Positionen ignorieren, einfach untereinander stapeln */
@media (max-width: 700px) {
  .widget-grid { grid-template-columns: 1fr; }
  .widget-grid .widget { grid-column: 1 / -1 !important; }
  .widget-grid .widget-kpi { grid-row: auto / span 1 !important; }
  .widget-grid .widget-card { grid-row: auto / span 3 !important; }
}

.widget-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.widget-card .card-head { flex-shrink: 0; }
/* Inhalt als Flex-Spalte: Legende fix oben, Diagramm füllt den Rest und skaliert
   per preserveAspectRatio hinein → kein internes Scrollen (Achse/Datum bleibt sichtbar).
   Tabellen-Widgets (kein .chart) dürfen bei Bedarf weiter scrollen (overflow:auto). */
.widget-card .widget-body { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; }
.widget-card .widget-body > .chart-legend { flex-shrink: 0; }
.widget-card .widget-body .chart { flex: 1 1 auto; min-height: 0; width: 100%; height: 100%; max-height: 100%; margin-top: 4px; }
.widget-kpi {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.widget-kpi::after {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--mint-400), var(--petrol-600));
  opacity: 0.85;
}
.widget-body { min-width: 0; }
.widget-loading { opacity: 0.4; transition: opacity 0.15s; }

/* Bearbeiten-Modus */
.widget-tools {
  display: none;
  position: absolute;
  top: 6px; right: 6px;
  z-index: 5;
  gap: 4px;
  align-items: center;
  background: var(--petrol-800);
  border-radius: 9px;
  padding: 4px 6px;
  box-shadow: var(--shadow-pop);
}
body.dash-editing .widget-tools { display: flex; }
body.dash-editing .widget {
  outline: 2px dashed var(--mint-400);
  outline-offset: 3px;
  animation: wiggle-in 0.25s ease both;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
body.dash-editing .widget:active { cursor: grabbing; }
/* Platzhalter im Raster (zeigt die Zielposition während des Ziehens) */
.widget.drag-slot {
  opacity: 0.35;
  outline: 2px dashed var(--petrol-600) !important;
  outline-offset: 3px;
}
/* Geist-Kachel, die dem Cursor folgt */
.drag-ghost {
  position: fixed;
  z-index: 999;
  margin: 0;
  pointer-events: none;
  opacity: 0.93;
  transform: scale(1.02) rotate(0.8deg);
  box-shadow: var(--shadow-pop);
  outline: none !important;
}
.wtool-grab { cursor: grab; font-size: 13px; letter-spacing: -1px; touch-action: none; }
.wtool-grab:active { cursor: grabbing; }
@keyframes wiggle-in { from { transform: scale(0.985); } to { transform: scale(1); } }
.wtool {
  background: transparent;
  border: 0;
  color: #cfe3de;
  width: 26px; height: 26px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  display: grid; place-items: center;
}
.wtool:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.wtool-remove:hover { background: var(--red); }
.wtool-period {
  width: auto; min-width: 110px;
  margin: 0; padding: 3px 7px;
  font-size: 11.5px;
  border: 0; border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.wtool-period option { color: var(--ink); }
.wtool-period:disabled { opacity: 0.4; }

/* Katalog-Panel */
.catalog-panel { border: 2px solid var(--mint-400); }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.catalog-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: #fbfdfc;
  display: flex; flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.catalog-item:hover { border-color: var(--petrol-600); box-shadow: var(--shadow); }
.catalog-item-head { display: flex; align-items: center; gap: 8px; }
.catalog-item-head .badge { margin-left: auto; }
.catalog-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--mint-100); color: var(--petrol-700);
  font-size: 13px;
}
.catalog-item p { margin: 7px 0 10px; font-size: 12px; flex: 1; }
.catalog-item-actions { display: flex; gap: 8px; align-items: center; }
.catalog-item-actions select { margin: 0; width: auto; flex: 1; padding: 5px 8px; font-size: 12.5px; }

/* ---------- Animationen ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal { animation: rise 0.4s cubic-bezier(0.22, 1, 0.36, 1) both; }
.reveal:nth-of-type(2) { animation-delay: 0.06s; }
.reveal:nth-of-type(3) { animation-delay: 0.12s; }
.reveal:nth-of-type(4) { animation-delay: 0.18s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Mobil ---------- */
@media (max-width: 860px) {
  .shell { display: block; }
  .sidebar {
    position: fixed; inset: 0 auto 0 0; z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    width: 264px;
    box-shadow: none; /* eingeklappt kein Schatten am linken Bildrand */
  }
  body.nav-open .sidebar { transform: none; box-shadow: 8px 0 30px rgba(0, 0, 0, 0.25); }
  body.nav-open::before { content: ''; position: fixed; inset: 0; background: rgba(11, 46, 43, 0.45); z-index: 40; }
  .mobilebar {
    display: flex; align-items: center; gap: 12px;
    background: var(--petrol-800); color: #fff;
    padding: 10px 14px;
    position: sticky; top: 0; z-index: 30;
  }
  .menu-btn { background: none; border: 1px solid rgba(255,255,255,0.3); color: #fff; font-size: 17px; border-radius: 8px; width: 38px; height: 38px; cursor: pointer; }
  .mobilebar-title { font-family: var(--font-display); font-weight: 800; }
  .container { padding: 18px 16px 30px; }
  .page-title { font-size: 22px; }
  .card { padding: 16px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Druck ---------- */
@media print {
  .sheet-table a { color: inherit; text-decoration: none; }
  .no-print, .sidebar, .mobilebar, .footer, .action-row { display: none !important; }
  body { background: #fff; }
  .shell { display: block; }
  .container { padding: 0; max-width: none; }
  .card { border: 0; box-shadow: none; padding: 0; }
  .table th, .table td { padding: 4px 6px; }
  .table thead th { position: static; }
}

/* ---- Modal-Dialog (native <dialog>) ---- */
dialog {
  border: none;
  border-radius: 10px;
  padding: 20px 22px;
  max-width: 460px;
  width: 92%;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}
dialog::backdrop { background: rgba(0, 0, 0, 0.45); }
dialog h3 { margin: 0 0 14px; }
dialog form label { display: block; margin-bottom: 10px; }
dialog form label.check { display: flex; align-items: center; gap: 6px; }
dialog form label input[type="text"],
dialog form label input[type="number"] { width: 100%; box-sizing: border-box; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }

/* ---- Serien-Vorschau-Liste (scrollbar) ---- */
.series-list { list-style: none; margin: 0 0 12px; padding: 4px 6px; max-height: 320px; overflow-y: auto; border: 1px solid #d6e6df; border-radius: 6px; }
.series-list li { padding: 5px 4px; border-bottom: 1px solid #f0f4f2; }
.series-list li:last-child { border-bottom: none; }

/* ---- Mobile Worker-Auftragsansicht (groß & aufgeräumt) ---- */
.worker-order { max-width: 560px; margin: 0 auto; }
.btn-back { display: inline-block; margin-bottom: 14px; }
.wo-customer { font-size: 1.9rem; line-height: 1.15; margin: 4px 0 2px; }
.wo-type { font-size: 1.25rem; color: var(--ink-soft); margin: 0 0 18px; }
.wo-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.wo-fact { background: var(--mint-100); border-radius: var(--radius-sm); padding: 12px 14px; }
.wo-label { display: block; font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 3px; }
.wo-value { font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.wo-fact .badge { font-size: 1rem; }
.wo-remark { background: var(--amber-bg); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 18px; }
.wo-remark p { margin: 4px 0 0; font-size: 1.15rem; }
.wo-times { font-size: 1.1rem; margin-bottom: 18px; line-height: 1.7; }
.btn-xl { display: block; width: 100%; font-size: 1.35rem; padding: 18px; text-align: center; box-sizing: border-box; }
.wo-actions { margin-bottom: 12px; }
.wo-done { text-align: center; font-size: 1.4rem; font-weight: 700; color: var(--green); margin: 8px 0; }
.wo-secondary { display: flex; gap: 10px; justify-content: center; margin-top: 8px; }
.wo-hint { background: var(--blue-bg); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 14px; font-size: 1.05rem; line-height: 1.5; }

/* ---- Reiner-Worker-Modus: schlanke Mobil-Oberfläche ohne Sidebar ---- */
.worker-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: linear-gradient(180deg, var(--petrol-800) 0%, var(--petrol-900) 100%);
  color: #eef7f4; padding: 12px 18px;
  position: sticky; top: 0; z-index: 30;
  box-shadow: 0 2px 12px -4px rgba(11, 46, 43, 0.4);
}
.worker-brand { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.worker-logout {
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff; font-size: 1.05rem; font-weight: 600;
  padding: 12px 20px; border-radius: 11px; cursor: pointer;
  transition: all 0.15s;
}
.worker-logout:hover, .worker-logout:active { background: var(--red); border-color: var(--red); }
.worker-main { max-width: 640px; margin: 0 auto; width: 100%; padding: 22px 18px 40px; }
.worker-main .kpi-grid { gap: 12px; }
.worker-main .kpi-num { font-size: 34px; }
.worker-main .kpi-label { font-size: 13.5px; }

.today-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--petrol-900); margin: 6px 0 12px; }

/* Tages-Navigation (Worker: ‹ heute › durch die Tage blättern) */
.day-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 8px 10px; box-shadow: var(--shadow); margin-bottom: 14px;
}
.day-arrow {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: 2rem; line-height: 1; text-decoration: none;
  color: var(--petrol-700); background: var(--mint-100);
  transition: background 0.15s, color 0.15s;
}
.day-arrow:hover, .day-arrow:active { background: var(--petrol-600); color: #fff; }
.day-nav-label { flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.day-nav-label strong { font-size: 1.15rem; color: var(--ink); }
.day-nav-today { font-size: 0.8rem; font-weight: 700; color: var(--petrol-600); text-transform: uppercase; letter-spacing: 0.05em; }
/* Kompakte Inline-Variante (Tagesansicht-Toolbar, Schichtführer/Admin) */
.day-nav-inline { flex: 0 1 auto; min-width: 240px; max-width: 340px; margin-bottom: 0; padding: 6px 8px; }
.day-nav-inline .day-arrow { width: 40px; height: 40px; font-size: 1.5rem; border-radius: 10px; }
.day-nav-inline .day-nav-label strong { font-size: 1rem; }
.day-jump-today { display: inline-block; margin: -6px 0 14px; font-size: 1rem; font-weight: 600; color: var(--petrol-600); text-decoration: none; }
.day-jump-today:hover { text-decoration: underline; }
.day-hint { background: var(--blue-bg); color: var(--ink-soft); border-radius: var(--radius-sm); padding: 11px 14px; margin: 0 0 14px; font-size: 1rem; line-height: 1.45; }

.order-card-list { display: flex; flex-direction: column; gap: 14px; }
.order-card {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow);
  text-decoration: none; color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.order-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-pop); border-color: var(--border-strong); }
.order-card:active { transform: translateY(0); }
.order-card-done { opacity: 0.72; }
.oc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.oc-time {
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  color: var(--petrol-700); line-height: 1;
}
.oc-customer { font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
.oc-type { font-size: 1.05rem; color: var(--ink-soft); }
.order-card .badge { flex-shrink: 0; font-size: 0.95rem; }

/* Gefahrenzone (Auftrag endgültig löschen, Admin) */
.danger-zone { border-color: #e3b3a8; }
.danger-zone h2 { color: var(--red); }

/* Worker: "Auftrag anlegen"-Button auf der Startseite */
.btn-create-order {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; box-sizing: border-box;
  margin: 0 0 16px; padding: 15px 18px;
  border-radius: var(--radius); border: 1.5px dashed var(--petrol-600);
  background: var(--mint-100); color: var(--petrol-700);
  font-size: 1.15rem; font-weight: 700; text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-create-order:hover, .btn-create-order:active {
  background: var(--petrol-600); color: #fff; border-color: var(--petrol-600);
}

/* Worker: Ad-hoc-Auftrag-Formular (groß & fingerfreundlich) */
.worker-create .wc-title { font-size: 1.7rem; margin: 6px 0 2px; }
.worker-create .wc-sub { color: var(--ink-soft); font-size: 1.1rem; margin: 0 0 18px; }
.worker-form label { font-size: 1.02rem; margin: 16px 0 0; }
.worker-form input, .worker-form select {
  font-size: 1.1rem; padding: 14px 14px; margin-top: 7px;
}
.worker-form .btn-xl { margin-top: 24px; }
/* Adress-Kontext nach Kundenwahl (Worker-Anlegen) */
.wc-context {
  margin-top: 10px; padding: 12px 14px;
  background: var(--mint-100); border-radius: var(--radius-sm);
  font-size: 1.05rem; line-height: 1.4; color: var(--ink);
}
.wc-context strong { color: var(--petrol-800); }

/* ---- Chart-Legende (z. B. Auslastung) ---- */
.chart-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 10px; font-size: 0.82rem; color: var(--muted); }
.chart-legend .cl-item { display: inline-flex; align-items: center; gap: 5px; }
.chart-legend .cl-swatch { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.chart-legend .cl-today { background: #f2b134; }
.chart-legend .cl-weekday { background: #0d7a6f; }
.chart-legend .cl-weekend { background: #b9cfc9; }
.chart-legend .cl-note { margin-left: auto; font-style: italic; }

/* ---- Fette Warnung (Auf-alle-anwenden-Bestätigung) ---- */
.warn-big { font-size: 1.12em; line-height: 1.55; }
.warn-big .warn-title { display: block; font-size: 1.25em; margin-bottom: 10px; }

/* ---- Auf-alle-anwenden-Kasten im Auftragsart-Dialog ---- */
.apply-all-box { border: 1px solid #e0b3b3; border-radius: 6px; padding: 8px 12px 10px; margin: 14px 0; background: #fcf3f3; }
.apply-all-box legend { color: #a33; font-weight: 600; font-size: 0.85em; padding: 0 4px; }

/* ===== Abwesenheitsverwaltung (Kundenanforderung Folien 9–14) ===== */

/* Typ-Farbpalette – Keys entsprechen absence_types.color (atype-<key>) */
.atype-dunkelblau { background: #1e3a8a; color: #fff; }
.atype-blau       { background: #3b82f6; color: #fff; }
.atype-gruen      { background: #22c55e; color: #063a1e; }
.atype-gelb       { background: #facc15; color: #4a3a02; }
.atype-orange     { background: #fb923c; color: #4a2502; }
.atype-rot        { background: #ef4444; color: #fff; }
.atype-rosa       { background: #f9a8d4; color: #5b1236; }
.atype-violett    { background: #8b5cf6; color: #fff; }
.atype-tuerkis    { background: #2dd4bf; color: #043d36; }
.atype-weiss      { background: #ffffff; color: #333; box-shadow: inset 0 0 0 1px #c8d2d6; }
.atype-grau       { background: #9ca3af; color: #fff; }

.atype-chip {
  display: inline-block; min-width: 1.7em; padding: .1em .35em; border-radius: 6px;
  font-size: .8em; font-weight: 700; text-align: center; line-height: 1.4;
}
.atype-swatch {
  display: inline-block; width: 1.15em; height: 1.15em; border-radius: 4px;
  vertical-align: middle; margin-right: .25em;
}
.atype-palette { margin: .3rem 0 .8rem; display: flex; gap: .35rem; flex-wrap: wrap; }

/* Kalender-Raster (Jahres-/Monatsübersicht) */
.cal-table th, .cal-table td { padding: .25rem .3rem; text-align: center; }
.cal-table .cal-month-col { text-align: left; white-space: nowrap; }
.cal-day { font-size: .75rem; }
.cal-day small { font-weight: 400; opacity: .7; }
.cal-we { background: rgba(0, 0, 0, .05); }
.cal-cell { min-width: 1.9em; font-size: .78rem; font-weight: 600; }
.cal-void { background: repeating-linear-gradient(45deg, #eef2f3, #eef2f3 4px, #e2e8ea 4px, #e2e8ea 8px); }
.cal-off  { background: #eef1f2; }
.atype-row-dunkelblau td:first-child, .atype-row-blau td:first-child { /* Legende: Chip trägt die Farbe */ }

/* Ampel (Monatsübersicht Kopfzeile: Last vs. Angebot) */
.ampel-ok   { background: #d7f5df; color: #14532d; }
.ampel-warn { background: #fdf3c7; color: #713f12; }
.ampel-crit { background: #fbd9d9; color: #7f1d1d; }
.ampel-dot {
  display: inline-block; width: .85em; height: .85em; border-radius: 50%; vertical-align: middle;
}
.ampel-dot.ampel-ok { background: #22c55e; }
.ampel-dot.ampel-warn { background: #facc15; }
.ampel-dot.ampel-crit { background: #ef4444; }

/* Kontext-KPIs in der Abwesenheitsmaske / Mitarbeiter-Detail */
.absence-kpis { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* Abwesenheitsnachweis (Druckformular + Storno) */
.notice-sheet { max-width: 760px; }
.notice-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.notice-table th { width: 34%; text-align: left; }
.notice-sign { display: flex; gap: 2.5rem; margin-top: 3.2rem; }
.notice-sign > div { flex: 1; font-size: .85rem; color: #555; }
.sign-line { display: block; border-bottom: 1px solid #555; height: 2.2rem; margin-bottom: .3rem; }

/* Sammeldruck: je Zettel/Nachweis eine Seite */
@media print {
  .print-sheet, .notice-sheet { break-after: page; }
  .print-sheet:last-of-type, .notice-sheet:last-of-type { break-after: auto; }
  .cal-table th, .cal-table td { padding: 2px 3px; }
}

/* Massenansicht: Ist-Zeiten je Zeile (B2) */
.times-bar { margin-top: 10px; padding: 10px 12px; border: 1px solid var(--amber); border-radius: 8px; background: var(--amber-bg); }
.times-bar p { margin: 0 0 8px; }
.cell-ist .ist-edit { display: none; gap: 4px; }
#bulk-table.times-mode .cell-ist .ist-edit { display: inline-flex; }
#bulk-table.times-mode .cell-ist .ist-view { display: none; }
.cell-ist input[type="time"] { width: 8.6em; padding: 3px 4px; margin: 0; }
.ist-missing { color: var(--red); font-weight: 600; }
tr.row-changed td { background: var(--amber-bg); }
.times-entry { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* A2: Hinweisbox "Pflichtangaben fehlen" und markierte Einstellungsfelder */
.req-box .req-title { margin: 0 0 6px; }
.req-box .req-list { margin: 6px 0 10px; padding-left: 20px; }
.req-box .req-list li { margin: 6px 0; }
.req-box .req-how { font-weight: 400; color: var(--ink); }
.req-box .req-why { font-weight: 400; margin: 8px 0; color: var(--ink-soft); }
.req-box .btn { margin-top: 4px; }
.field-missing input, .field-missing textarea { border-color: var(--amber); box-shadow: 0 0 0 2px var(--amber-bg); }
.field-missing-hint { display: block; color: var(--amber); font-weight: 600; margin-top: 4px; }
input:target, textarea:target { outline: 3px solid var(--amber); outline-offset: 2px; }
.run-error { color: var(--red); font-weight: 600; }
.is-sending button[data-locked], .is-sending input[data-locked] { opacity: .6; cursor: progress; }
.alt-konflikte li { margin-bottom: .4rem; }
.alt-konflikte form { display: inline-block; margin-left: .5rem; }
