* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f6f7f2;
  color: #263f35;
  font:
    15px/1.65 Arial,
    sans-serif;
}
aside {
  width: 245px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #193f32;
  color: #e3e9dd;
  padding: 35px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
aside a {
  color: inherit;
  text-decoration: none;
}
.brand {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: 3px;
}
.brand span {
  display: block;
  font-size: 8px;
  letter-spacing: 1px;
  margin-top: 8px;
}
aside .muted {
  color: #a9bdaf;
  font-size: 10px;
  letter-spacing: 2px;
  margin-top: 40px;
}
nav {
  display: grid;
  gap: 8px;
  margin-bottom: auto;
}
button {
  font: inherit;
  cursor: pointer;
  border: 1px solid #bdcbbf;
  background: white;
  color: #224d39;
  border-radius: 7px;
  padding: 10px 19px;
  transition: background 0.2s;
}
button:hover {
  background: #e7eddf;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
nav button {
  background: transparent;
  color: #e3e9dd;
  text-align: left;
  border: 0;
}
nav button.active,
nav button:hover {
  background: #315744;
  color: white;
}
main {
  margin-left: 245px;
  padding: 48px 5%;
  max-width: 1500px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: #877137;
  font-weight: 700;
}
h1 {
  font:
    42px/1.15 Georgia,
    serif;
  margin: 15px 0;
}
h2 {
  font:
    30px/1.2 Georgia,
    serif;
}
h3 {
  margin: 0;
}
.pill {
  font-size: 11px;
  border: 1px solid #cbd4c8;
  padding: 7px 15px;
  border-radius: 30px;
}
.panel,
.stats article,
.message,
.item {
  padding: 28px;
  background: #fffefa;
  border: 1px solid #dce3d7;
  border-radius: 12px;
  margin-bottom: 22px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stats article {
  display: flex;
  flex-direction: column;
}
.stats span {
  font-size: 12px;
  color: #687869;
}
.stats strong {
  font:
    42px Georgia,
    serif;
  margin-top: 12px;
}
.welcome {
  background: #e5ebda;
}
.welcome p {
  max-width: 600px;
}
label {
  display: block;
  margin: 18px 0;
  font-weight: 600;
  font-size: 13px;
}
input,
textarea {
  width: 100%;
  display: block;
  border: 1px solid #c6d2c4;
  border-radius: 6px;
  padding: 12px;
  background: white;
  font: 15px/1.5 Arial;
  margin-top: 7px;
  color: #193f32;
}
.primary {
  background: #24543e;
  color: white;
  border-color: #24543e;
}
.primary:hover {
  background: #163d2b;
}
.muted {
  color: #738073;
  font-size: 12px;
}
.photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.photos img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 7px;
}
.photos .item {
  padding: 15px;
}
.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.message p,
.item p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.danger {
  color: #9c3e32;
  font-size: 12px;
  margin-top: 12px;
}
#status {
  white-space: pre-wrap;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #b68a3c;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  aside {
    position: static;
    width: 100%;
    padding: 20px;
  }
  aside .muted {
    display: none;
  }
  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }
  nav button {
    font-size: 12px;
    padding: 8px;
  }
  main {
    margin: 0;
    padding: 25px 6%;
  }
  h1 {
    font-size: 33px;
  }
  .stats {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .photos {
    grid-template-columns: 1fr 1fr;
  }
  .pill {
    display: none;
  }
  aside > a:not(.brand) {
    font-size: 12px;
  }
}
select {
  width: 100%;
  padding: 12px;
  font: inherit;
  border: 1px solid #c6d2c4;
  border-radius: 6px;
}
input[type="checkbox"] {
  width: auto;
  display: inline;
  margin-left: 12px;
}
.item button,
.panel button {
  margin: 5px;
}
.stats {
  grid-template-columns: repeat(4, 1fr);
}
dialog {
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow: auto;
  border: 1px solid #c6d2c4;
  border-radius: 12px;
  padding: 25px;
}
dialog::backdrop {
  background: #0009;
}
#actions {
  position: relative;
  background: #f6f7f2;
  padding: 12px 0;
}
#navigation {
  display: grid;
}
progress {
  width: 100%;
}
@media (max-width: 760px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  #navigation {
    display: flex;
  }
}
