:root {
  color-scheme: light;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
}

body {
  margin: 0;
  background: #f3f5f7;
  color: #1f2937;
}

.container {
  max-width: 900px;
  margin: 28px auto;
  padding: 0 16px 32px;
}

h1 {
  margin: 0;
}

.subtitle {
  color: #4b5563;
  margin-top: 8px;
}

.card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-top: 16px;
  padding: 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

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

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

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px;
}

.checkbox-item small {
  color: #6b7280;
  margin-left: auto;
}

.checkbox-item.disabled {
  background: #f9fafb;
  color: #9ca3af;
}

.actions button,
.download-link {
  display: inline-block;
  border: none;
  background: #2563eb;
  color: white;
  font-weight: 600;
  padding: 11px 14px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  margin-top: 14px;
}

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

.download-link {
  background: #059669;
  margin-left: 8px;
}

.hidden {
  display: none;
}

.status {
  margin: 12px 0 0;
}

.summary {
  margin-top: 12px;
  background: #111827;
  color: #d1fae5;
  border-radius: 8px;
  padding: 12px;
  white-space: pre-wrap;
}
