:root {
  font-family: system-ui, sans-serif;
  color: #252b31;
  background: #f6f4ef;
}
body {
  margin: 0;
}
main {
  max-width: 960px;
  margin: auto;
  padding: 24px 18px;
}
h1 {
  margin: 8px 0;
  font-size: 28px;
}
h2 {
  font-size: 19px;
}
p {
  line-height: 1.6;
  color: #59616a;
}
.tag {
  color: #9b4c23;
  font-weight: 650;
}
.toolbar,
.cards {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: end;
}
.cards {
  align-items: stretch;
}
form {
  flex: 1 1 280px;
  background: white;
  padding: 24px;
  border: 1px solid #dce0df;
  border-radius: 12px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
input,
select,
button,
#login {
  font: inherit;
  padding: 12px;
  border-radius: 6px;
}
input,
select {
  border: 1px solid #929ca6;
  min-width: 0;
}
button,
#login {
  background: #315b50;
  border: 0;
  color: white;
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
#message {
  padding: 14px;
  background: #fff7e3;
  border-left: 4px solid #a46721;
  color: #493a27;
}
#login {
  display: inline-block;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}
li {
  padding: 12px 0;
  border-bottom: 1px solid #dce0df;
}
:focus-visible {
  outline: 3px solid #ae6d2a;
}
