:root {
  color-scheme: light;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f6f7fb;
  color: #222;
}
.container {
  max-width: 840px;
  margin: 2rem auto;
  padding: 1.2rem;
}
.narrow {
  max-width: 480px;
}
.card {
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
label {
  display: block;
  margin-bottom: 0.8rem;
}
input {
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.35rem;
  padding: 0.6rem;
}
.btn {
  display: inline-block;
  background: #1f6feb;
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 8px;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}
.btn.secondary {
  background: #57606a;
}
.alert {
  background: #ffebe9;
  color: #a40e26;
  padding: 0.7rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
select,
textarea {
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.35rem;
  padding: 0.6rem;
}
.table {
  width: 100%;
  border-collapse: collapse;
}
.table th,
.table td {
  border-bottom: 1px solid #e7e9ee;
  text-align: left;
  padding: 0.6rem;
  vertical-align: top;
}
.alert.success {
  background: #dafbe1;
  color: #116329;
}
.inline-form {
  display: inline;
  margin-left: 0.4rem;
}
.link-button {
  border: 0;
  background: transparent;
  color: #1f6feb;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.link-button.danger {
  color: #cf222e;
}
.subcard {
  margin-top: 1rem;
}
.checkline {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
}
.checkline input[type="checkbox"] {
  width: auto;
  margin: 0;
}
.muted {
  color: #57606a;
}
