:root {
  --brand: #01ab92;
  --muted: #6c757d;
  --ok: #198754;
  --warn: #ffc107;
  --bad: #dc3545;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Arial, sans-serif;
  background: #f6f8fb;
  color: #1f2937;
  margin: 0;
}

.wrap {
  max-width: 980px;
  margin: 24px auto;
  padding: 0 16px;
}

.card {
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  padding: 24px;
}

h1 {
  font-size: 28px;
  margin: 0 0 12px;
}

legend {
  padding: 0 8px;
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px 18px;
}

label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.35;
}

input[type=text],
input[type=email] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
}

input[type=checkbox] {
  width: auto;
}

.btn,
a.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 12px 18px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  margin-right: 8px;
}

.errors {
  background: #fff3f3;
  border: 1px solid #ffcccc;
  padding: 12px;
  margin-bottom: 12px;
}

.hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.muted {
  color: #64748b;
  font-size: 14px;
}

fieldset {
  border: 1px solid #ccc;
  padding: 16px;
  margin: 16px 0;
}

fieldset label {
  display: block;
  margin-bottom: 12px;
}

fieldset input[type="text"],
fieldset input[type="email"] {
  width: 100%;
  padding: 6px 8px;
  box-sizing: border-box;
}

fieldset label[style] {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.badge {
  padding: 6px 10px;
  font-weight: 700;
  font-size: 12px;
}

.b-elev {
  background: #d1fae5;
  color: #065f46;
}

.b-int {
  background: #fff7ed;
  color: #9a3412;
}

.b-ini {
  background: #fee2e2;
  color: #7f1d1d;
}
