* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #f5f4f0;
}

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

h1,
h2 {
  line-height: 1.2;
}

a {
  color: #7a1f1f;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

form {
  margin: 1.5rem 0;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="datetime-local"],
textarea,
select {
  width: 100%;
  padding: 0.6rem 0.7rem;
  margin-bottom: 1rem;
  border: 1px solid #c9c5bc;
  border-radius: 6px;
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

button,
.button {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 6px;
  background: #7a1f1f;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

button:hover,
.button:hover {
  background: #5e1717;
}

button.secondary,
.button.secondary {
  background: #e8e5de;
  color: #1a1a1a;
}

button.secondary:hover,
.button.secondary:hover {
  background: #d9d5cc;
}

.card {
  background: #fff;
  border: 1px solid #e2ded5;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}

.notice {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin: 1rem 0;
  background: #eef4ea;
  border: 1px solid #b9d4ab;
}

.notice.warning {
  background: #fdf3e3;
  border-color: #ecd39b;
}

.notice.error {
  background: #faeaea;
  border-color: #e3b3b3;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

th,
td {
  text-align: left;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid #e2ded5;
}

.muted {
  color: #6b675e;
  font-size: 0.9rem;
}
