.audit-page .page-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.audit-page .page-header h2 {
  margin: 0 0 6px 0;
}

.audit-page .page-header p {
  margin: 0;
  color: #666;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  border: 1px solid #e1e6ee;
  border-radius: 12px;
  padding: 12px;
  background: #fbfcfe;
  margin-bottom: 14px;
}

.filter-panel label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid #ccd3dd;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
}

.filter-button-wrap {
  display: flex;
  align-items: end;
}

.table-scroll {
  overflow-x: auto;
}

.empty-box {
  border: 1px dashed #ccd3dd;
  padding: 14px;
  border-radius: 10px;
  color: #666;
  background: #fff;
}

.pill {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.pill.green {
  background: #e8f6ee;
  color: #167a3a;
}

.pill.red {
  background: #fdecec;
  color: #c62828;
}

.pill.blue {
  background: #e8f3ff;
  color: #0b5f99;
}

.pill.gray {
  background: #eef2f7;
  color: #475569;
}

@media (max-width: 900px) {
  .audit-page .page-header,
  .filter-panel {
    display: grid;
    grid-template-columns: 1fr;
  }
}
