.deg-fap-form {
  --deg-fap-primary: #111827;
  --deg-fap-secondary: #374151;
  --deg-fap-muted-text: #6f737b;
  --deg-fap-border: #e4e7eb;
  --deg-fap-muted: #f7f8fa;
  --deg-fap-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  color: var(--deg-fap-secondary);
  border: 1px solid var(--deg-fap-border);
  border-radius: 24px;
  padding: 32px;
  background: #fff;
  box-shadow: var(--deg-fap-shadow);
}

.deg-fap-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0 0 30px;
  list-style: none;
}

.deg-fap-steps li {
  border: 1px solid var(--deg-fap-border);
  border-radius: 999px;
  color: var(--deg-fap-muted-text);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  text-align: center;
  background: #f2f4f7;
}

.deg-fap-steps li.is-active {
  border-color: var(--deg-fap-primary);
  background: var(--deg-fap-primary);
  color: #fff;
}

.deg-fap-step h2 {
  margin: 0 0 22px;
  color: var(--deg-fap-primary);
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: 0;
}

.deg-fap-step {
  display: none;
}

.deg-fap-step.is-active {
  display: block;
}

.deg-fap-form label {
  display: block;
  margin-bottom: 18px;
}

.deg-fap-form label span {
  display: block;
  font-weight: 700;
  color: var(--deg-fap-primary);
  margin-bottom: 8px;
}

.deg-fap-form .deg-fap-conditional-field[hidden] {
  display: none !important;
}

.deg-fap-form input[type="text"],
.deg-fap-form input[type="email"],
.deg-fap-form input[type="tel"],
.deg-fap-form input[type="file"],
.deg-fap-form select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--deg-fap-border);
  border-radius: 14px;
  padding: 11px 14px;
  background: #fbfcfd;
  color: var(--deg-fap-primary);
}

.deg-fap-form input[type="text"]:focus,
.deg-fap-form input[type="email"]:focus,
.deg-fap-form input[type="tel"]:focus,
.deg-fap-form input[type="file"]:focus,
.deg-fap-form select:focus {
  border-color: #9ca3af;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
  outline: none;
}

.deg-fap-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.deg-fap-job-link {
  padding: 14px 16px;
  background: var(--deg-fap-muted);
  border: 1px solid var(--deg-fap-border);
  border-radius: 16px;
  margin: 0 0 22px;
}

.deg-fap-job-link a {
  color: var(--deg-fap-primary);
  font-weight: 700;
}

.deg-fap-consent {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
}

.deg-fap-consent input {
  margin-top: 4px;
}

.deg-fap-consent span {
  margin: 0 !important;
  font-weight: 400 !important;
}

.deg-fap-job-alert-consent {
  background: var(--deg-fap-muted);
  border: 1px solid var(--deg-fap-border);
  border-radius: 16px;
  padding: 16px;
}

.deg-fap-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.deg-fap-button {
  border: 1px solid var(--deg-fap-primary);
  background: var(--deg-fap-primary);
  color: #fff;
  border-radius: 999px;
  min-height: 50px;
  padding: 12px 24px;
  font-weight: 700;
  cursor: pointer;
}

.deg-fap-button-secondary {
  background: var(--deg-fap-primary);
  border-color: var(--deg-fap-primary);
}

.deg-fap-button-submit {
  order: 20;
  margin-left: auto;
  background: #e30613;
  border-color: #e30613;
  box-shadow: 0 12px 24px rgba(227, 6, 19, 0.22);
}

.deg-fap-button-submit:hover,
.deg-fap-button-submit:focus {
  background: #bf0610;
  border-color: #bf0610;
  color: #fff;
}

.deg-fap-button-ghost {
  background: #737983;
  border-color: #737983;
  color: #fff;
}

.deg-fap-message {
  border: 1px solid var(--deg-fap-border);
  border-radius: 16px;
  padding: 16px;
}

.deg-fap-message-error {
  border-color: #d63638;
  color: #8a2424;
}

.deg-fap-message-success {
  border-color: #1b7f45;
  color: #145a32;
  background: #f0faf4;
  margin-bottom: 16px;
}

/* ------------------------------------------------------------------
   Interne Verwaltung (Liste + Detail)
   ------------------------------------------------------------------ */

.deg-fap-management {
  --deg-fap-m-ink: #101828;
  --deg-fap-m-text: #344054;
  --deg-fap-m-muted: #667085;
  --deg-fap-m-border: #e4e7ec;
  --deg-fap-m-border-strong: #cfd6de;
  --deg-fap-m-surface: #ffffff;
  --deg-fap-m-soft: #fafbfc;
  --deg-fap-m-ok: #067647;
  --deg-fap-m-ok-dot: #12b76a;
  --deg-fap-m-ok-soft: #ecfdf3;
  --deg-fap-m-warn: #b45309;
  --deg-fap-m-warn-dot: #f59e0b;
  --deg-fap-m-warn-soft: #fef4e6;
  --deg-fap-m-danger: #b42318;
  --deg-fap-m-danger-soft: #fbeaea;
  --deg-fap-m-focus: rgba(16, 24, 40, 0.1);
  --deg-fap-m-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 28px rgba(16, 24, 40, 0.05);
  color: var(--deg-fap-m-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.deg-fap-management svg {
  display: block;
  flex: 0 0 auto;
}

.deg-fap-management .screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

/* Buttons */

.deg-fap-management .deg-fap-button {
  align-items: center;
  background: var(--deg-fap-m-surface);
  border: 1px solid var(--deg-fap-m-border-strong);
  border-radius: 7px;
  box-shadow: none;
  color: var(--deg-fap-m-ink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 7px;
  justify-content: center;
  min-height: 36px;
  padding: 6px 14px;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.deg-fap-management .deg-fap-button:hover,
.deg-fap-management .deg-fap-button:focus {
  background: var(--deg-fap-m-soft);
  transform: none;
}

.deg-fap-management .deg-fap-button:focus-visible {
  border-color: var(--deg-fap-m-ink);
  box-shadow: 0 0 0 3px var(--deg-fap-m-focus);
  outline: none;
}

.deg-fap-management .deg-fap-button svg {
  color: var(--deg-fap-m-muted);
  height: 14px;
  width: 14px;
}

.deg-fap-management .deg-fap-button-submit {
  background: var(--deg-fap-m-ink);
  border-color: var(--deg-fap-m-ink);
  color: #fff;
  margin-left: 0;
  order: 0;
}

.deg-fap-management .deg-fap-button-submit:hover,
.deg-fap-management .deg-fap-button-submit:focus {
  background: var(--deg-fap-m-ink);
  border-color: var(--deg-fap-m-ink);
  color: #fff;
  opacity: 0.92;
}

.deg-fap-management .deg-fap-button-submit svg {
  color: inherit;
}

.deg-fap-button-neutral,
.deg-fap-management .deg-fap-button-neutral {
  background: var(--deg-fap-m-surface, #fff);
  border-color: var(--deg-fap-m-border-strong, #cfd6de);
  color: var(--deg-fap-m-ink, #101828);
}

.deg-fap-management .deg-fap-button-neutral:hover,
.deg-fap-management .deg-fap-button-neutral:focus {
  background: var(--deg-fap-m-soft);
  color: var(--deg-fap-m-ink);
}

.deg-fap-button-neutral svg {
  height: 14px;
  width: 14px;
}

.deg-fap-management .deg-fap-button-danger {
  background: transparent;
  border-color: transparent;
  color: var(--deg-fap-m-danger);
}

.deg-fap-management .deg-fap-button-danger:hover,
.deg-fap-management .deg-fap-button-danger:focus {
  background: var(--deg-fap-m-danger-soft);
  border-color: transparent;
  color: var(--deg-fap-m-danger);
}

.deg-fap-management .deg-fap-button-danger svg {
  color: inherit;
}

.deg-fap-inline-form {
  display: inline-flex;
  margin: 0;
}

/* Kopfzeile */

.deg-fap-management-header {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.deg-fap-management-header-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.deg-fap-management-header span {
  color: var(--deg-fap-m-muted);
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.deg-fap-management-header h2 {
  color: var(--deg-fap-m-ink);
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
}

/* Werkzeugleiste */

.deg-fap-management-filters {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
}

.deg-fap-management-search-field {
  flex: 1 1 240px;
  margin: 0 !important;
  max-width: 360px;
  position: relative;
}

.deg-fap-management-search-field svg {
  color: var(--deg-fap-m-muted);
  height: 13px;
  left: 11px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
}

.deg-fap-management-search-field input[type="search"] {
  background: var(--deg-fap-m-surface);
  border: 1px solid var(--deg-fap-m-border-strong);
  border-radius: 7px;
  color: var(--deg-fap-m-ink);
  font: inherit;
  font-size: 13.5px;
  min-height: 38px;
  padding: 6px 12px 6px 34px;
  width: 100%;
}

.deg-fap-management-search-field input[type="search"]:focus {
  border-color: var(--deg-fap-m-ink);
  box-shadow: 0 0 0 3px var(--deg-fap-m-focus);
  outline: none;
}

.deg-fap-management-chips {
  background: var(--deg-fap-m-surface);
  border: 1px solid var(--deg-fap-m-border-strong);
  border-radius: 7px;
  display: inline-flex;
  overflow: hidden;
}

.deg-fap-chip {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  border-right: 1px solid var(--deg-fap-m-border);
  color: var(--deg-fap-m-muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 550;
  min-height: 36px;
  padding: 6px 13px;
  transition: background 0.12s ease, color 0.12s ease;
  white-space: nowrap;
}

.deg-fap-chip:last-child {
  border-right: 0;
}

.deg-fap-chip span {
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  margin-left: 4px;
  opacity: 0.65;
}

.deg-fap-chip:hover {
  color: var(--deg-fap-m-ink);
}

.deg-fap-chip:focus-visible {
  box-shadow: inset 0 0 0 2px var(--deg-fap-m-ink);
  outline: none;
}

.deg-fap-chip.is-active {
  background: var(--deg-fap-m-ink);
  color: #fff;
}

.deg-fap-filter-reset {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--deg-fap-m-muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 550;
  min-height: 36px;
  padding: 6px 10px;
}

.deg-fap-filter-reset:hover {
  background: var(--deg-fap-m-surface);
  color: var(--deg-fap-m-ink);
}

.deg-fap-management-filters > strong {
  color: var(--deg-fap-m-muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  margin-left: auto;
  white-space: nowrap;
}

.deg-fap-management-filters.is-loading {
  opacity: 0.72;
}

.deg-fap-management-empty {
  color: var(--deg-fap-m-muted);
  font-size: 13.5px;
  margin: 0;
  padding: 30px 16px;
  text-align: center;
}

/* Listen-Tabelle */

.deg-fap-management-table {
  background: var(--deg-fap-m-surface);
  border: 1px solid var(--deg-fap-m-border);
  border-radius: 10px;
  box-shadow: var(--deg-fap-m-shadow);
  overflow: hidden;
}

.deg-fap-management-scroll {
  overflow-x: auto;
}

.deg-fap-management-cols,
.deg-fap-management-row {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(210px, 1.4fr) 122px minmax(190px, 1.2fr) 148px 104px;
  min-width: 820px;
  padding: 0 18px;
}

.deg-fap-management-cols {
  background: var(--deg-fap-m-soft);
  border-bottom: 1px solid var(--deg-fap-m-border);
  color: var(--deg-fap-m-muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  padding-bottom: 9px;
  padding-top: 9px;
  text-transform: uppercase;
}

.deg-fap-cols-actions {
  text-align: right;
}

.deg-fap-management-cols span:nth-child(4) {
  text-align: right;
}

.deg-fap-management-list {
  display: block;
}

.deg-fap-management-row {
  background: var(--deg-fap-m-surface);
  border-bottom: 1px solid var(--deg-fap-m-border);
  cursor: pointer;
  padding-bottom: 11px;
  padding-top: 11px;
  transition: background 0.1s ease;
}

.deg-fap-management-row:last-child {
  border-bottom: 0;
}

.deg-fap-management-row:hover,
.deg-fap-management-row:focus-visible {
  background: var(--deg-fap-m-soft);
  outline: none;
}

.deg-fap-management-person {
  min-width: 0;
}

.deg-fap-management-person > div {
  min-width: 0;
}

.deg-fap-management-person h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deg-fap-management-person h3 a {
  color: var(--deg-fap-m-ink);
  font-weight: 600;
  text-decoration: none;
}

.deg-fap-management-person h3 a:hover {
  text-decoration: underline;
}

.deg-fap-management-person p {
  color: var(--deg-fap-m-muted);
  font-size: 12px;
  line-height: 1.35;
  margin: 1px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deg-fap-management-cell-status {
  min-width: 0;
}

.deg-fap-management-cell-job {
  font-size: 13px;
  line-height: 1.35;
  min-width: 0;
}

.deg-fap-management-job-title {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--deg-fap-m-text);
  display: -webkit-box;
  overflow: hidden;
}

.deg-fap-management-job-step {
  color: var(--deg-fap-m-warn);
  display: block;
  font-size: 12px;
  font-weight: 550;
  margin-top: 1px;
}

.deg-fap-management-cell-date {
  color: var(--deg-fap-m-muted);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
  min-width: 0;
  text-align: right;
}

.deg-fap-management-cell-date strong {
  color: var(--deg-fap-m-text);
  display: block;
  font-weight: 500;
}

.deg-fap-management-cell-date small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.deg-fap-management-actions {
  display: flex;
  gap: 2px;
  justify-content: flex-end;
}

@media (hover: hover) {
  .deg-fap-management-row .deg-fap-management-actions {
    opacity: 0.4;
    transition: opacity 0.12s ease;
  }

  .deg-fap-management-row:hover .deg-fap-management-actions,
  .deg-fap-management-row:focus-within .deg-fap-management-actions {
    opacity: 1;
  }
}

.deg-fap-iconbtn {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--deg-fap-m-muted);
  cursor: pointer;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  padding: 0;
  transition: background 0.12s ease, color 0.12s ease;
  width: 30px;
}

.deg-fap-iconbtn svg {
  height: 15px;
  width: 15px;
}

.deg-fap-iconbtn:hover,
.deg-fap-iconbtn:focus-visible {
  background: var(--deg-fap-m-soft);
  border-color: var(--deg-fap-m-border);
  color: var(--deg-fap-m-ink);
  outline: none;
}

.deg-fap-iconbtn-danger:hover,
.deg-fap-iconbtn-danger:focus-visible {
  background: var(--deg-fap-m-danger-soft);
  color: var(--deg-fap-m-danger);
}

.deg-fap-iconbtn-reminder {
  color: var(--deg-fap-m-warn-dot);
}

.deg-fap-iconbtn-reminder:hover,
.deg-fap-iconbtn-reminder:focus-visible {
  background: var(--deg-fap-m-warn-soft);
  color: var(--deg-fap-m-warn);
}

.deg-fap-iconbtn-muted {
  cursor: default;
  opacity: 0.45;
}

.deg-fap-iconbtn-muted:hover {
  background: transparent;
  border-color: transparent;
  color: var(--deg-fap-m-muted);
}

/* Status-Pills */

.deg-fap-status-badge {
  align-items: center;
  border-radius: 999px;
  display: inline-flex !important;
  font-size: 12px !important;
  font-weight: 600;
  gap: 6px;
  padding: 3px 9px;
  white-space: nowrap;
}

.deg-fap-status-badge::before {
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 6px;
  width: 6px;
}

.deg-fap-status-badge-green {
  background: var(--deg-fap-m-ok-soft, #ecfdf3);
  color: var(--deg-fap-m-ok, #067647) !important;
}

.deg-fap-status-badge-green::before {
  background: var(--deg-fap-m-ok-dot, #12b76a);
}

.deg-fap-status-badge-orange {
  background: var(--deg-fap-m-warn-soft, #fef4e6);
  color: var(--deg-fap-m-warn, #b45309) !important;
}

.deg-fap-status-badge-orange::before {
  background: var(--deg-fap-m-warn-dot, #f59e0b);
}

.deg-fap-status-badge-gray {
  background: var(--deg-fap-m-soft, #fafbfc);
  border: 1px solid var(--deg-fap-m-border, #e4e7ec);
  color: var(--deg-fap-m-muted, #667085) !important;
}

.deg-fap-status-badge-gray::before {
  background: var(--deg-fap-m-border-strong, #cfd6de);
}

/* Ausgeschriebene Stellen */

.deg-fap-sync-note {
  align-items: center;
  color: var(--deg-fap-m-muted);
  display: inline-flex;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  gap: 7px;
}

.deg-fap-sync-note svg {
  color: var(--deg-fap-m-ok-dot);
  height: 12px;
  width: 12px;
}

.deg-fap-jobs-cols,
.deg-fap-jobs-row {
  grid-template-columns: minmax(230px, 1.6fr) 74px 128px 64px 96px 128px;
  min-width: 880px;
}

.deg-fap-jobs-row {
  cursor: default;
}

.deg-fap-job-title-cell {
  min-width: 0;
}

.deg-fap-job-title-cell strong {
  color: var(--deg-fap-m-ink);
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deg-fap-job-title-cell small {
  color: var(--deg-fap-m-muted);
  display: block;
  font-size: 12px;
  margin-top: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deg-fap-job-title-cell small a {
  color: var(--deg-fap-m-muted);
  text-decoration: none;
}

.deg-fap-job-title-cell small a:hover {
  color: var(--deg-fap-m-ink);
  text-decoration: underline;
}

.deg-fap-job-id {
  color: var(--deg-fap-m-muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.deg-fap-job-dates {
  color: var(--deg-fap-m-muted);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}

.deg-fap-job-dates strong {
  color: var(--deg-fap-m-text);
  display: block;
  font-weight: 500;
}

.deg-fap-job-empty-value {
  color: var(--deg-fap-m-muted);
}

.deg-fap-pdf-link {
  align-items: center;
  background: var(--deg-fap-m-surface);
  border: 1px solid rgba(180, 35, 24, 0.4);
  border-radius: 5px;
  color: var(--deg-fap-m-danger);
  display: inline-flex;
  font-size: 9.5px;
  font-weight: 700;
  height: 26px;
  justify-content: center;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.12s ease;
  width: 40px;
}

.deg-fap-pdf-link:hover,
.deg-fap-pdf-link:focus-visible {
  background: var(--deg-fap-m-danger-soft);
  outline: none;
}

.deg-fap-mailcount {
  align-items: center;
  background: var(--deg-fap-m-surface);
  border: 1px solid var(--deg-fap-m-border-strong);
  border-radius: 6px;
  color: var(--deg-fap-m-ink);
  display: inline-flex;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  font-weight: 550;
  gap: 7px;
  height: 30px;
  padding: 0 11px;
  text-decoration: none;
  transition: background 0.12s ease, border-color 0.12s ease;
  white-space: nowrap;
}

.deg-fap-mailcount svg {
  color: var(--deg-fap-m-muted);
  height: 13px;
  width: 13px;
}

.deg-fap-mailcount:hover,
.deg-fap-mailcount:focus-visible {
  background: var(--deg-fap-m-soft);
  border-color: var(--deg-fap-m-muted);
  outline: none;
}

.deg-fap-mailcount.is-muted {
  border-color: var(--deg-fap-m-border);
  color: var(--deg-fap-m-muted);
}

.deg-fap-mailcount.is-muted:hover {
  background: var(--deg-fap-m-surface);
  border-color: var(--deg-fap-m-border);
}

/* Detailansicht */

.deg-fap-backlink {
  align-items: center;
  color: var(--deg-fap-m-muted);
  display: inline-flex;
  font-size: 13px;
  font-weight: 550;
  gap: 6px;
  margin-bottom: 16px;
  text-decoration: none;
}

.deg-fap-backlink:hover {
  color: var(--deg-fap-m-ink);
}

.deg-fap-backlink svg {
  height: 13px;
  width: 13px;
}

.deg-fap-detail-head {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.deg-fap-detail-title-group {
  min-width: 0;
}

.deg-fap-detail-title-group h2 {
  color: var(--deg-fap-m-ink);
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 5px;
}

.deg-fap-detail-meta-line {
  align-items: center;
  color: var(--deg-fap-m-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 10px;
}

.deg-fap-detail-meta-id {
  font-variant-numeric: tabular-nums;
}

.deg-fap-detail-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Warnbanner Mailversand */

.deg-fap-detail-alert {
  align-items: flex-start;
  border: 1px solid transparent;
  border-radius: 9px;
  display: flex;
  font-size: 13.5px;
  gap: 11px;
  margin-bottom: 18px;
  padding: 12px 15px;
}

.deg-fap-detail-alert svg {
  height: 15px;
  margin-top: 2px;
  width: 15px;
}

.deg-fap-detail-alert strong {
  display: block;
  font-weight: 600;
}

.deg-fap-detail-alert p {
  font-size: 12.5px;
  margin: 2px 0 0;
  opacity: 0.85;
}

.deg-fap-detail-alert.is-warn {
  background: var(--deg-fap-m-warn-soft);
  border-color: rgba(245, 158, 11, 0.35);
  color: var(--deg-fap-m-warn);
}

.deg-fap-detail-alert.is-error {
  background: var(--deg-fap-m-danger-soft);
  border-color: rgba(180, 35, 24, 0.3);
  color: var(--deg-fap-m-danger);
}

/* Detail-Karten */

.deg-fap-detail-layout {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 300px;
  margin-bottom: 8px;
}

.deg-fap-detail-card {
  background: var(--deg-fap-m-surface);
  border: 1px solid var(--deg-fap-m-border);
  border-radius: 10px;
  box-shadow: var(--deg-fap-m-shadow);
}

.deg-fap-detail-card-head {
  align-items: baseline;
  border-bottom: 1px solid var(--deg-fap-m-border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: space-between;
  padding: 13px 18px;
}

.deg-fap-detail-card-head h3 {
  color: var(--deg-fap-m-ink);
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.deg-fap-detail-card-head span {
  color: var(--deg-fap-m-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.deg-fap-detail-card-body {
  padding: 16px 18px;
}

.deg-fap-fact-grid {
  display: grid;
  gap: 14px 24px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin: 0;
}

.deg-fap-fact-grid > div {
  min-width: 0;
}

.deg-fap-fact-grid dt {
  color: var(--deg-fap-m-muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0 0 2px;
  text-transform: uppercase;
}

.deg-fap-fact-grid dd {
  color: var(--deg-fap-m-ink);
  font-size: 13.5px;
  font-weight: 500;
  margin: 0;
  overflow-wrap: anywhere;
}

.deg-fap-fact-grid dd a {
  color: var(--deg-fap-m-ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--deg-fap-m-border-strong);
  text-underline-offset: 3px;
}

.deg-fap-fact-grid dd a:hover {
  text-decoration-color: var(--deg-fap-m-ink);
}

/* Prozessstand */

.deg-fap-process-steps {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}

.deg-fap-process-step {
  display: grid;
  gap: 11px;
  grid-template-columns: 24px 1fr;
  padding-bottom: 16px;
  position: relative;
}

.deg-fap-process-step:last-child {
  padding-bottom: 2px;
}

.deg-fap-process-step::before {
  background: var(--deg-fap-m-border-strong);
  bottom: 0;
  content: "";
  left: 11.5px;
  position: absolute;
  top: 26px;
  width: 1px;
}

.deg-fap-process-step:last-child::before {
  display: none;
}

.deg-fap-process-step.is-complete::before {
  background: var(--deg-fap-m-ok-dot);
}

.deg-fap-process-number {
  align-items: center;
  background: var(--deg-fap-m-surface);
  border: 1px solid var(--deg-fap-m-border-strong);
  border-radius: 999px;
  color: var(--deg-fap-m-muted);
  display: inline-flex;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  height: 24px;
  justify-content: center;
  position: relative;
  width: 24px;
  z-index: 1;
}

.deg-fap-process-number svg {
  height: 11px;
  width: 11px;
}

.deg-fap-process-step.is-complete .deg-fap-process-number {
  border-color: var(--deg-fap-m-ok-dot);
  color: var(--deg-fap-m-ok);
}

.deg-fap-process-step.is-current .deg-fap-process-number {
  background: var(--deg-fap-m-warn-soft);
  border-color: var(--deg-fap-m-warn-dot);
  color: var(--deg-fap-m-warn);
}

.deg-fap-process-step strong {
  color: var(--deg-fap-m-ink);
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 24px;
}

.deg-fap-process-step small {
  color: var(--deg-fap-m-muted);
  display: block;
  font-size: 12px;
  margin-top: -3px;
}

.deg-fap-process-step.is-current small {
  color: var(--deg-fap-m-warn);
  font-weight: 550;
}

.deg-fap-detail-reminder-action {
  margin-top: 14px;
}

.deg-fap-detail-reminder-form {
  margin: 0;
}

.deg-fap-detail-reminder-form .deg-fap-button {
  width: 100%;
}

.deg-fap-detail-side-note {
  align-items: flex-start;
  background: var(--deg-fap-m-soft);
  border: 1px solid var(--deg-fap-m-border);
  border-radius: 7px;
  color: var(--deg-fap-m-muted);
  display: flex;
  font-size: 12.5px;
  gap: 8px;
  line-height: 1.45;
  padding: 10px 12px;
}

.deg-fap-detail-side-note svg {
  height: 13px;
  margin-top: 2px;
  width: 13px;
}

/* Abschnitts-Überschriften */

.deg-fap-detail-section-head {
  align-items: baseline;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: 24px 0 10px;
}

.deg-fap-detail-section-head > span {
  color: var(--deg-fap-m-muted);
  font-size: 12px;
}

.deg-fap-detail-heading {
  color: var(--deg-fap-m-ink);
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.deg-fap-detail-heading span {
  color: var(--deg-fap-m-muted);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
}

/* Unterlagen-Liste */

.deg-fap-doc-list {
  border-top: 1px solid var(--deg-fap-m-border);
}

.deg-fap-doc {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 40px minmax(0, 1fr) auto 18px;
  padding: 11px 4px;
  border-bottom: 1px solid var(--deg-fap-m-border);
  text-decoration: none;
  transition: background 0.1s ease;
}

.deg-fap-doc:hover,
.deg-fap-doc:focus-visible {
  background: var(--deg-fap-m-soft);
  outline: none;
}

.deg-fap-doc-icon {
  align-items: center;
  background: var(--deg-fap-m-surface);
  border: 1px solid var(--deg-fap-m-border-strong);
  border-radius: 5px;
  color: var(--deg-fap-m-muted);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 9.5px;
  font-weight: 700;
  height: 26px;
  justify-content: center;
  letter-spacing: 0.06em;
  width: 40px;
}

.deg-fap-doc-icon.is-pdf {
  border-color: rgba(180, 35, 24, 0.4);
  color: var(--deg-fap-m-danger);
}

.deg-fap-doc-icon.is-img {
  border-color: rgba(58, 110, 165, 0.4);
  color: #3a6ea5;
}

.deg-fap-doc-icon.is-doc {
  border-color: rgba(74, 90, 168, 0.4);
  color: #4a5aa8;
}

.deg-fap-doc-icon.is-file {
  border-color: var(--deg-fap-m-border-strong);
  color: var(--deg-fap-m-muted);
}

.deg-fap-doc-body {
  display: block;
  min-width: 0;
}

.deg-fap-doc-label {
  color: var(--deg-fap-m-ink);
  display: block;
  font-size: 13.5px;
  font-weight: 550;
  line-height: 1.3;
}

.deg-fap-doc-meta {
  color: var(--deg-fap-m-muted);
  display: block;
  font-size: 12px;
  margin-top: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deg-fap-doc-size {
  color: var(--deg-fap-m-muted);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.deg-fap-doc-dl {
  color: var(--deg-fap-m-muted);
  height: 15px;
  width: 15px;
}

.deg-fap-doc:hover .deg-fap-doc-dl {
  color: var(--deg-fap-m-ink);
}

/* Protokoll */

.deg-fap-log-list {
  border-top: 1px solid var(--deg-fap-m-border);
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}

.deg-fap-log-list li {
  align-items: baseline;
  border-bottom: 1px solid var(--deg-fap-m-border);
  display: grid;
  gap: 0 12px;
  grid-template-columns: 132px 14px minmax(0, 1fr);
  padding: 10px 4px;
}

.deg-fap-log-list time {
  color: var(--deg-fap-m-muted);
  display: block;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
  margin: 0;
  text-align: right;
}

.deg-fap-log-dot {
  align-self: center;
  background: var(--deg-fap-m-border-strong);
  border-radius: 50%;
  height: 8px;
  justify-self: center;
  width: 8px;
}

.deg-fap-log-list li.is-ok .deg-fap-log-dot {
  background: var(--deg-fap-m-ok-dot);
}

.deg-fap-log-list li.is-warn .deg-fap-log-dot {
  background: var(--deg-fap-m-warn-dot);
}

.deg-fap-log-list li.is-error .deg-fap-log-dot {
  background: var(--deg-fap-m-danger);
}

.deg-fap-log-message {
  color: var(--deg-fap-m-text);
  display: block;
  font-size: 13px;
  line-height: 1.45;
}

.deg-fap-log-list li.is-warn .deg-fap-log-message {
  color: var(--deg-fap-m-warn);
}

.deg-fap-log-list li.is-error .deg-fap-log-message {
  color: var(--deg-fap-m-danger);
}

@media (max-width: 900px) {
  .deg-fap-detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .deg-fap-management-filters > strong {
    flex: 1 1 100%;
    margin-left: 0;
  }

  .deg-fap-detail-head {
    display: block;
  }

  .deg-fap-detail-actions {
    margin-top: 14px;
  }

  .deg-fap-doc {
    grid-template-columns: 40px minmax(0, 1fr) 18px;
  }

  .deg-fap-doc-size {
    display: none;
  }

  .deg-fap-log-list li {
    grid-template-columns: 14px minmax(0, 1fr);
  }

  .deg-fap-log-list time {
    grid-column: 2;
    grid-row: 2;
    padding-top: 2px;
    text-align: left;
  }

  .deg-fap-log-dot {
    grid-column: 1;
    grid-row: 1;
  }

  .deg-fap-log-message {
    grid-column: 2;
    grid-row: 1;
  }
}

/* Archiv-Karten */

.deg-fap-card-grid {
  max-width: 1240px;
  margin: 26px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.deg-fap-card-grid .deg-fap-archive-card {
  min-height: 405px;
}

.deg-fap-card-grid .deg-fap-archive-card a,
.deg-fap-card-grid .deg-fap-archive-card a:hover,
.deg-fap-card-grid .deg-fap-archive-card a:focus {
  text-decoration: none !important;
  background-image: none !important;
}

@media (max-width: 720px) {
  .deg-fap-form {
    padding: 22px;
    border-radius: 20px;
  }

  .deg-fap-steps,
  .deg-fap-grid-two {
    grid-template-columns: 1fr;
  }

  .deg-fap-card-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .deg-fap-step h2 {
    font-size: 26px;
  }

  .deg-fap-button-submit {
    margin-left: 0;
  }
}

.deg-fap-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
