:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #eef4f1;
  color: #14211d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: min(520px, 100%);
  background: #fff;
  border: 1px solid #d8e5df;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(20, 33, 29, 0.14);
  padding: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
}

h1 {
  margin: 0;
  font-size: 24px;
}

p {
  margin: 6px 0 0;
  color: #5b6e66;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  font-size: 13px;
}

input,
textarea {
  border: 1px solid #bfd0c9;
  border-radius: 6px;
  padding: 12px;
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
  font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    monospace;
}

input:focus,
textarea:focus {
  border-color: #15845b;
  outline: 3px solid rgba(21, 132, 91, 0.14);
}

button {
  border: 0;
  border-radius: 6px;
  background: #15845b;
  color: #fff;
  font: inherit;
  font-weight: 800;
  padding: 13px 16px;
  cursor: pointer;
}

button:hover {
  background: #106e4c;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.secondary {
  background: #e9f5ef;
  color: #13704f;
  border: 1px solid #bfe0d0;
}

.secondary:hover {
  background: #d9eee5;
}

.dark {
  background: #17382d;
}

.dark:hover {
  background: #102920;
}

.status {
  min-height: 22px;
  font-weight: 700;
}

.status.error {
  color: #b42318;
}

.status.success {
  color: #13704f;
}

@media (max-width: 540px) {
  .actions {
    grid-template-columns: 1fr;
  }
}
