:root {
  font:
    15px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #242824;
  background: #f8f9f6;
  --line: #dde1d9;
  --muted: #61695e;
  --accent: #245d42;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 3px;
}
button {
  cursor: pointer;
  background: #fff;
  border: 1px solid #c6cec2;
  border-radius: 6px;
  padding: 9px 13px;
  color: inherit;
  min-height: 40px;
}
button:hover {
  background: #edf2e9;
}
button.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
a {
  color: #245d42;
}
aside {
  background: #f0f2ec;
  border-right: 1px solid var(--line);
  width: 232px;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.brand {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1px;
}
.brand span {
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted);
  display: block;
}
.nav {
  display: grid;
  gap: 6px;
}
.nav button {
  text-align: left;
  border: 0;
  background: transparent;
  padding: 10px 12px;
}
.nav button.active {
  background: #dfe7d8;
  font-weight: 600;
}
.account {
  margin-top: auto;
  font-size: 12px;
  overflow-wrap: anywhere;
}
main {
  margin-left: 232px;
  padding: 40px 48px;
  max-width: 1600px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
h1 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin: 0 0 8px;
}
h2 {
  font-size: 19px;
  margin: 0 0 14px;
}
h3 {
  font-size: 15px;
  margin: 0 0 12px;
}
p {
  margin: 8px 0 16px;
}
.muted,
small {
  color: var(--muted);
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 24px;
  margin-bottom: 20px;
}
.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.toolbar input {
  flex: 1;
  min-width: 150px;
}
.toolbar label {
  margin: 0;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
.wide {
  grid-column: 1/-1;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid #c6cec2;
  border-radius: 5px;
  padding: 9px 10px;
  margin-top: 5px;
  color: #242824;
}
textarea {
  resize: vertical;
  min-height: 90px;
}
.email {
  min-height: 220px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    13px/1.6 ui-monospace,
    monospace;
  background: #f5f6f2;
  padding: 16px;
  max-height: 600px;
  overflow: auto;
}
.row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 130px minmax(180px, 1fr) 180px;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.row:last-child {
  border-bottom: 0;
}
.row button {
  text-align: left;
  border: 0;
  padding: 0;
  background: none;
  min-height: 25px;
  font-weight: 600;
}
.tag {
  display: inline-block;
  background: #edf1e9;
  color: #40563c;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
}
.warning {
  background: #faf4e5;
  border: 1px solid #e7d6ad;
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 13px;
}
.error {
  color: #8a2f20;
}
.actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.sticky {
  position: sticky;
  bottom: 0;
  background: #f8f9f6ef;
  border-top: 1px solid var(--line);
  padding: 16px 0;
  z-index: 2;
}
.empty {
  padding: 50px 20px;
  text-align: center;
}
.login {
  max-width: 430px;
  margin: 12vh auto;
  padding: 32px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}
details {
  margin: 18px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
  padding: 8px 0;
}
.check {
  display: flex;
  gap: 9px;
  align-items: start;
}
.check input {
  width: auto;
  margin: 5px 0;
}
.material-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}
.material-list .panel {
  margin: 0;
}
.link-button {
  color: var(--accent);
  text-decoration: underline;
}
.subhead {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 0 0 20px;
}
#notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 480px;
  background: #253c2a;
  color: white;
  border-radius: 7px;
  padding: 0;
  z-index: 8;
  white-space: pre-wrap;
}
#notice:not(:empty) {
  padding: 14px 20px;
  box-shadow: 0 3px 20px #0002;
}
.divider {
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
.history-item {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.lead-heading {
  min-width: 0;
  overflow-wrap: anywhere;
}
.small-button {
  font-size: 12px;
  padding: 5px 10px;
  min-height: 30px;
}
@media (max-width: 950px) {
  aside {
    width: 190px;
    padding: 22px 12px;
  }
  main {
    margin-left: 190px;
    padding: 26px 22px;
  }
  .row {
    grid-template-columns: 1fr 110px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .wide {
    grid-column: auto;
  }
}
@media (max-width: 620px) {
  aside {
    position: static;
    width: auto;
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    gap: 14px;
  }
  .brand span {
    display: inline;
    margin-left: 10px;
  }
  .nav {
    display: flex;
    overflow-x: auto;
  }
  .nav button {
    white-space: nowrap;
  }
  .account {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .account p {
    margin: 0;
  }
  main {
    margin: 0;
    padding: 24px 16px;
  }
  header {
    align-items: start;
  }
  .row {
    grid-template-columns: 1fr 100px;
    gap: 8px;
  }
  .panel {
    padding: 18px;
  }
  .login {
    margin: 8vh 18px;
  }
  .sticky {
    bottom: 0;
  }
  .toolbar {
    align-items: stretch;
  }
}
