:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #283326;
  background: #f5f6f2;
  --green: #415a30;
  --line: #dce1d6;
  --red: #bd282c;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 30px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.brand {
  font-size: 25px;
  font-weight: bold;
  color: var(--red);
  text-decoration: none;
}
.brand span {
  display: block;
  font-size: 12px;
  font-weight: normal;
  color: #57614f;
  margin-top: 4px;
}
.layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: calc(100vh - 84px);
}
aside {
  background: #fff;
  padding: 26px 16px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
aside small {
  margin-top: auto;
  color: #67715f;
  padding: 15px;
}
nav {
  display: grid;
  gap: 8px;
}
nav a {
  color: #3b4b31;
  text-decoration: none;
  padding: 12px;
  border-radius: 4px;
}
nav a[aria-current="page"] {
  background: #eaf0e1;
  font-weight: bold;
}
main {
  padding: 32px;
  max-width: 1500px;
  width: 100%;
}
h1 {
  font-size: 29px;
  margin: 0 0 8px;
}
h2 {
  font-size: 20px;
  margin-top: 0;
}
h3 {
  font-size: 16px;
}
p {
  line-height: 1.6;
}
a {
  color: #415d2e;
}
.muted,
small {
  color: #67715f;
}
.eyebrow {
  color: #536846;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  margin: 24px 0;
  border-radius: 5px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 18px 0;
}
button,
.button {
  font: inherit;
  font-size: 14px;
  border: 1px solid #bfcbb4;
  border-radius: 4px;
  padding: 10px 14px;
  color: #344a2a;
  background: #fff;
  cursor: pointer;
  text-decoration: none;
}
button.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  margin: 0 0 18px;
}
label.check {
  flex-direction: row;
  align-items: start;
}
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid #bcc8b2;
  border-radius: 4px;
  min-height: 42px;
  padding: 10px;
  width: 100%;
}
input[type="checkbox"] {
  width: auto;
  min-height: initial;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2336472b' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
textarea {
  min-height: 90px;
  resize: vertical;
}
fieldset {
  border: 1px solid var(--line);
  padding: 18px;
  margin: 12px 0 20px;
}
legend {
  font-size: 14px;
  font-weight: bold;
  padding: 0 6px;
}
.error {
  color: #a52121;
  background: #fff0ec;
  padding: 12px;
  border-left: 3px solid #b83232;
}
.success {
  background: #eaf1e2;
  padding: 14px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
}
th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 14px;
}
th {
  color: #58684c;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  max-height: 380px;
  overflow: auto;
}
.badge {
  display: inline-block;
  background: #edf1e7;
  color: #4a6039;
  font-size: 12px;
  padding: 4px 7px;
  border-radius: 4px;
}
dialog {
  width: 820px;
  max-width: calc(100vw - 30px);
  max-height: 90vh;
  overflow: auto;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: inherit;
}
dialog::backdrop {
  background: #22331f66;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.dialog-head button {
  height: 36px;
  padding: 2px 12px;
  font-size: 24px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 15px;
  top: 10px;
  background: #fff;
  padding: 10px;
  z-index: 10;
}
:focus-visible {
  outline: 3px solid #83a75c;
  outline-offset: 3px;
}
.collapsed .layout {
  grid-template-columns: 75px minmax(0, 1fr);
}
.collapsed nav a {
  font-size: 0;
}
.collapsed nav a::first-letter {
  font-size: 18px;
}
.collapsed aside small,
.collapsed #toggle span {
  display: none;
}
@media (max-width: 760px) {
  header {
    padding: 14px 18px;
  }
  header p {
    font-size: 12px;
    max-width: 120px;
  }
  main {
    padding: 22px 16px;
  }
  .layout,
  .collapsed .layout {
    display: block;
  }
  aside {
    padding: 12px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  aside small {
    display: none;
  }
  .collapsed nav {
    display: none;
  }
  .collapsed nav a {
    font-size: 14px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 18px;
  }
  h1 {
    font-size: 25px;
  }
}
