#groupNav [data-group="personnel"] {
  background: #e0f2fe;
  color: #0369a1;
}

#groupNav [data-group="personnel"]:hover,
#groupNav [data-group="personnel"].active {
  background: #bae6fd;
  color: #075985;
}

#groupNav [data-group="personnel"].active::before {
  background: #0ea5e9;
}

#groupNav [data-group="accreditation"] {
  color: #6d28d9;
}

#groupNav [data-group="accreditation"].active {
  background: #ede9fe;
  color: #5b21b6;
}

#groupNav [data-group="accreditation"].active::before {
  background: #8b5cf6;
}

.v128-accreditation-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.v128-accreditation-stats article {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  padding: 16px;
}

.v128-accreditation-stats small,
.v128-accreditation-stats b {
  display: block;
}

.v128-accreditation-stats small {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.v128-accreditation-stats b {
  color: #0f172a;
  font-size: 25px;
  margin-top: 6px;
}

.v128-accreditation-stats .problem b {
  color: #dc2626;
}

.v128-accreditation-filter {
  min-width: 170px;
}

.v128-requirement-list {
  display: grid;
  gap: 14px;
}

.v128-requirement {
  border: 1px solid #e2e8f0;
  border-radius: 17px;
  background: #fff;
  overflow: hidden;
}

.v128-requirement > header {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 17px;
}

.v128-requirement h4,
.v128-requirement p {
  margin: 0;
}

.v128-requirement h4 {
  color: #0f172a;
  font-size: 16px;
}

.v128-requirement p {
  color: #64748b;
  font-size: 12px;
  margin-top: 6px;
}

.v128-requirement-meta,
.v128-requirement-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.v128-requirement-actions {
  justify-content: flex-end;
}

.v128-pill {
  background: #f1f5f9;
  border-radius: 999px;
  color: #475569;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 10px;
}

.v128-pill.open,
.v128-pill.approved {
  background: #dcfce7;
  color: #166534;
}

.v128-pill.late,
.v128-pill.revision {
  background: #fee2e2;
  color: #b91c1c;
}

.v128-pill.submitted {
  background: #dbeafe;
  color: #1d4ed8;
}

.v128-requirement .table-wrap {
  border-top: 1px solid #eef2f7;
}

.v128-empty {
  color: #64748b;
  padding: 28px;
  text-align: center;
}

.v128-work-time {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  color: #1e3a8a;
  font-size: 12px;
  line-height: 1.6;
  padding: 12px 14px;
}

.v128-audit-danger {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #fff !important;
}

@media (max-width: 980px) {
  .v128-accreditation-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .v128-accreditation-stats {
    grid-template-columns: 1fr 1fr;
  }

  .v128-requirement > header {
    display: block;
  }

  .v128-requirement-actions {
    justify-content: flex-start;
    margin-top: 12px;
  }
}
