:root {
  --bg: #edeff4;
  --surface: #fff;
  --ink: #1c1f2e;
  --muted: #5d6278;
  --line: #d5d9e3;
  --accent: #2f3a6b;
  --her: #b03a55;
  --her-bg: #f7eef1;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #13151e;
    --surface: #1c1f2c;
    --ink: #e9eaf2;
    --muted: #9ea3b8;
    --line: #2d3144;
    --accent: #aeb9f2;
    --her: #e68aa0;
    --her-bg: #2a1f27;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.45 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
main {
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}
h1 {
  font-size: 26px;
  margin: 8px 0 4px;
}
h2 {
  font-size: 18px;
  margin: 22px 0 8px;
}
p.lead,
.muted {
  color: var(--muted);
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin: 12px 0;
}
label.field {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0 4px;
}
input[type='text'],
input[type='date'],
input[type='number'],
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 9px;
  padding: 10px;
  font-size: 16px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  min-height: 44px;
  cursor: pointer;
  background: var(--surface);
}
.chips input {
  margin: 0;
}
.chips input:checked + span {
  font-weight: 600;
  color: var(--accent);
}
.btn {
  display: inline-block;
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 10px;
  padding: 11px 16px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  margin: 6px 6px 6px 0;
  text-decoration: none;
  min-height: 44px;
}
.btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn.her {
  background: var(--her);
  color: #fff;
  border-color: var(--her);
}
footer {
  margin-top: 32px;
  font-size: 14px;
  color: var(--muted);
}
footer a {
  color: var(--her);
}
.error {
  color: var(--her);
}
