:root {
  font-family: "Inter", system-ui, sans-serif;
  color: #1f2a37;
  background: #f5f7fb;
}

body {
  margin: 0;
}

header {
  padding: 32px 48px 16px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

main {
  padding: 24px 48px 48px;
}

.controls {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: #ffffff;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.controls label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.controls input,
.controls select {
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
}

.controls button {
  align-self: end;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: #2563eb;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.controls button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.controls .checkbox {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}

.actions button {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #2563eb;
  background: #2563eb;
  color: #fff;
}

.actions button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.results {
  overflow: auto;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}

th {
  background: #f3f4f6;
  text-align: left;
}

pre {
  white-space: pre-wrap;
  margin: 0;
}

tr.missing-contact {
  background: #ffe3e3;
}
