:root {
  color: #18221c;
  background: #f3f7f4;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

.card {
  width: min(100%, 480px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 36px 24px 48px;
  background: #ffffff;
}

header {
  margin-bottom: 28px;
}

.brand {
  margin: 0 0 8px;
  color: #18794e;
  font-weight: 800;
}

h1 {
  margin: 0 0 10px;
  font-size: 2rem;
}

header p:last-child,
.help,
.empty-state p {
  color: #536159;
  line-height: 1.5;
}

header p:last-child {
  margin: 0;
}

form,
label {
  display: grid;
  gap: 10px;
}

form {
  gap: 22px;
}

label {
  font-weight: 700;
}

input,
button,
.link-button {
  min-height: 54px;
  border-radius: 10px;
  font: inherit;
}

input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #c9d2cc;
  background: #ffffff;
}

input:focus {
  border-color: #18794e;
  outline: 3px solid #ccebdc;
}

button,
.link-button {
  border: 0;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
}

.primary {
  color: #ffffff;
  background: #18794e;
}

.secondary {
  width: 100%;
  color: #12633f;
  background: #e3f3ea;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-row input {
  width: 24px;
  min-height: 24px;
  accent-color: #18794e;
}

.help,
.error {
  min-height: 1.5em;
  margin: -16px 0 0;
}

.error {
  color: #b42318;
}

.link-button {
  display: grid;
  place-items: center;
  margin-top: 18px;
  border: 2px solid #18794e;
  color: #12633f;
  text-decoration: none;
}

.text-link {
  display: block;
  margin-top: 24px;
  color: #12633f;
  text-align: center;
  font-weight: 700;
}

.empty-state {
  margin-bottom: 28px;
  padding: 24px;
  border-radius: 12px;
  background: #f3f7f4;
}

.empty-state h2,
.empty-state p {
  margin: 0;
}

.empty-state p {
  margin-top: 8px;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}
