fieldset {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}

legend {
  padding: 0 7px;
  font-weight: 700;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.checks label {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.checks input {
  width: auto;
}

.measure-actions {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 18px;
  font-size: .9rem;
}


/* ---------- Arbeitszeiten: Tagesgruppen ---------- */
.time-day { margin-bottom: 18px; }
.time-day-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding: 8px 12px; background: linear-gradient(to bottom, #fdedd5, #fbd9a3); border: 1px solid var(--border); border-bottom: 2px solid var(--brand); border-radius: 6px 6px 0 0; }
.time-day-title { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.time-day-meta { color: var(--muted); font-size: .88rem; }
.time-day-sum { margin-left: auto; font-size: .95rem; color: var(--ink); }
.time-day-sum strong { color: var(--brand2); font-size: 1.1rem; }
.time-day .table-wrap { margin-bottom: 0; }
.time-day table { border-top: 0; }
.time-table .t-time { width: 70px; white-space: nowrap; }
.time-table .t-dur { width: 80px; text-align: right; white-space: nowrap; }
.time-table .t-plan { display: block; }
.time-table .t-measure { display: block; font-size: .82rem; color: var(--muted); }
.time-table tfoot td { padding: 6px 8px; font-weight: 700; background: var(--orange-light); border-top: 2px solid var(--brand); color: var(--ink); }
.time-total { margin: 4px 0 14px; padding: 10px 14px; text-align: right; border: 2px solid var(--brand); border-radius: 8px; background: var(--cream); font-size: 1.05rem; }
.time-total strong { color: var(--brand2); font-size: 1.2rem; }
@media (max-width: 640px) { .time-day-sum { margin-left: 0; width: 100%; } }
@media print { .time-day { break-inside: avoid; } }
