.gefma-audit-workspace {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.gefma-audit-heading {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.gefma-audit-heading > div:first-child span {
  color: #b71c27;
  font-size: .76rem;
  font-weight: 750;
  text-transform: uppercase;
}

.gefma-audit-heading h2 {
  font-size: 1.35rem;
  margin: 3px 0;
}

.gefma-audit-heading p {
  color: #66717b;
  margin: 0;
}

.gefma-audit-heading > div:last-child {
  align-items: center;
  display: flex;
  gap: 10px;
}

.gefma-audit-counter {
  border-left: 2px solid #cad3da;
  display: grid;
  min-width: 64px;
  padding-left: 10px;
}

.gefma-audit-counter strong {
  font-size: 1.15rem;
}

.gefma-audit-counter small {
  color: #69747d;
  white-space: nowrap;
}

.gefma-audit-counter.attention {
  border-color: #c71f2b;
}

.gefma-audit-editor {
  background: #f7f9fa;
  border: 1px solid #d4dce1;
  border-radius: 6px;
  display: grid;
  gap: 16px;
  padding: 18px;
}

.gefma-audit-editor > header,
.gefma-audit-editor > footer {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.gefma-audit-editor h3 {
  font-size: 1.05rem;
  margin: 2px 0 0;
}

.gefma-audit-editor > header span {
  color: #b71c27;
  font-size: .72rem;
  font-weight: 750;
  text-transform: uppercase;
}

.gefma-audit-editor > footer {
  border-top: 1px solid #d9e0e4;
  color: #68737c;
  padding-top: 14px;
}

.gefma-audit-editor > footer > div {
  display: flex;
  gap: 8px;
}

.gefma-audit-catalogs {
  border: 0;
  margin: 0;
  padding: 0;
}

.gefma-audit-catalogs legend {
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.gefma-audit-catalogs > div {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(10, minmax(42px, 1fr));
}

.gefma-audit-catalogs label {
  align-items: center;
  background: #fff;
  border: 1px solid #d2dbe0;
  display: flex;
  justify-content: center;
  min-height: 36px;
}

.gefma-audit-catalogs label.selected {
  background: #b71c27;
  border-color: #b71c27;
  color: #fff;
}

.gefma-audit-catalogs input {
  opacity: 0;
  position: absolute;
}

.gefma-audit-empty {
  align-items: center;
  border: 1px dashed #cbd4da;
  color: #6a747d;
  display: grid;
  gap: 3px;
  grid-template-columns: 38px 1fr;
  padding: 18px;
}

.gefma-audit-empty i {
  grid-row: span 2;
}

.gefma-audit-list {
  display: grid;
  gap: 12px;
}

.gefma-audit-list > article {
  border: 1px solid #d6dde2;
  border-left: 4px solid #6f7d86;
  border-radius: 5px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.gefma-audit-list > article.deviations,
.gefma-audit-list > article.overdue {
  border-left-color: #c71f2b;
}

.gefma-audit-list > article.conform,
.gefma-audit-list > article.effective {
  border-left-color: #34825d;
}

.gefma-audit-list > article > header {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
}

.gefma-audit-list > article > header > div {
  display: grid;
  gap: 2px;
}

.gefma-audit-list > article > header strong {
  font-size: 1.02rem;
}

.gefma-audit-list > article > header small,
.gefma-audit-list > article > header em {
  color: #68747d;
  font-style: normal;
}

.gefma-audit-state {
  align-items: center;
  background: #f1f4f6;
  display: flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.gefma-audit-facts {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gefma-audit-facts > span {
  border-left: 2px solid #d8dfe3;
  display: grid;
  gap: 2px;
  padding-left: 10px;
}

.gefma-audit-facts small,
.gefma-audit-facts em {
  color: #68737c;
  font-size: .75rem;
  font-style: normal;
}

.gefma-audit-list > article > p {
  color: #4e5962;
  margin: 0;
}

.gefma-audit-list > article > blockquote {
  background: #f5f7f8;
  border-left: 3px solid #9aa6ad;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 12px;
}

.gefma-audit-list > article > blockquote small {
  color: #68737c;
}

.gefma-audit-findings {
  display: grid;
  gap: 8px;
}

.gefma-audit-findings > article {
  background: #f8f9fa;
  border: 1px solid #d8dfe3;
  display: grid;
  gap: 9px;
  padding: 12px;
}

.gefma-audit-findings > article.overdue {
  border-color: #cf7c82;
}

.gefma-audit-findings > article > header {
  align-items: center;
  display: grid;
  gap: 9px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
}

.gefma-audit-findings > article > header span {
  display: grid;
  gap: 2px;
}

.gefma-audit-findings > article > header small,
.gefma-audit-findings > article > header em {
  color: #68737c;
  font-style: normal;
}

.gefma-audit-findings > article > p {
  margin: 0;
}

.gefma-audit-action {
  align-items: start;
  background: #fff;
  border-left: 3px solid #829099;
  display: grid;
  gap: 9px;
  grid-template-columns: 22px minmax(0, 1fr);
  padding: 10px;
}

.gefma-audit-action span {
  display: grid;
  gap: 2px;
}

.gefma-audit-action small {
  color: #66727a;
}

.gefma-audit-findings footer,
.gefma-audit-list > article > footer {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.gefma-audit-findings footer > span,
.gefma-audit-list > article > footer > span {
  align-items: center;
  color: #7a858c;
  display: flex;
  font-size: .72rem;
  gap: 5px;
}

.gefma-audit-findings footer > div,
.gefma-audit-list > article > footer > div {
  display: flex;
  gap: 7px;
}

@media (max-width: 900px) {
  .gefma-audit-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .gefma-audit-heading > div:last-child {
    flex-wrap: wrap;
  }

  .gefma-audit-catalogs > div {
    grid-template-columns: repeat(5, minmax(42px, 1fr));
  }

  .gefma-audit-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .gefma-audit-list > article > header {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .gefma-audit-list > article > header .next-gefma-integrity {
    grid-column: 1 / -1;
  }

  .gefma-audit-facts {
    grid-template-columns: 1fr;
  }

  .gefma-audit-findings > article > header {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .gefma-audit-findings > article > header em {
    grid-column: 2;
  }

  .gefma-audit-findings footer,
  .gefma-audit-list > article > footer,
  .gefma-audit-editor > footer {
    align-items: stretch;
    flex-direction: column;
  }

  .gefma-audit-editor > footer > div,
  .gefma-audit-findings footer > div,
  .gefma-audit-list > article > footer > div {
    flex-wrap: wrap;
  }
}
