:root {
  font: 16px/1.5 "DM Sans", system-ui, sans-serif;
  color: #203a33;
  background: #f4f7f6;
  --green: #206349;
  --border: #cedbd4;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header, nav {
  display: flex;
  align-items: center;
  padding: 0 max(5vw, calc((100vw - 1060px) / 2));
  background: #203a33;
  color: white;
}
header {
  height: 76px;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -1px;
}
.mark {
  background: #c4ee92;
  color: #203a33;
  border-radius: 6px;
  text-align: center;
  width: 34px;
}
.muted, small {
  color: #53695e;
}
button, input, textarea, select {
  font: inherit;
}
button {
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0.48rem 0.86rem;
  background: white;
  color: inherit;
  font-weight: 600;
}
button:hover {
  border-color: var(--green);
  background: #eef6ef;
}
button:focus-visible, a:focus-visible {
  outline: 3px solid #5981c5;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.primary:hover {
  background: #154a35;
}
.quiet, nav button {
  color: inherit;
  background: transparent;
  border-color: transparent;
}
.quiet:hover, nav button:hover {
  background: #365447;
}
.quiet {
  margin-left: 8px;
}
nav {
  gap: 4px;
}
nav button {
  border-radius: 0;
  border-bottom: 3px solid transparent;
  padding: 10px 14px;
}
nav button.active {
  color: #ccf5a2;
  border-bottom-color: #b5e887;
}
main {
  max-width: 1100px;
  margin: auto;
  padding: 44px 20px;
}
h1, h2, h3, p {
  margin: 0 0 12px;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.055em;
}
h2 {
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.07rem;
}
.bar, .row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.bar, .row {
  justify-content: space-between;
}
.bar {
  margin-bottom: 24px;
}
.panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  margin: 14px 0;
}
.row {
  padding: 12px 0;
  border-bottom: 1px solid #e5ebe7;
}
.row:last-child {
  border: 0;
}
.link {
  padding: 3px 0;
  background: none;
  color: var(--green);
  border: 0;
  text-align: left;
}
.pill {
  font-size: 0.875rem;
  color: #3d594b;
  background: #eaf2ec;
  border-radius: 20px;
  padding: 4px 10px;
}
.login {
  max-width: 420px;
  margin: 8vh auto;
}
.login h1 {
  font-size: 2rem;
  margin-bottom: 22px;
}
form {
  display: grid;
  gap: 14px;
}
label {
  display: grid;
  gap: 5px;
  font-size: 0.9rem;
  font-weight: 650;
}
input, textarea, select {
  width: 100%;
  padding: 10px 12px;
  color: inherit;
  background: white;
  border: 1px solid #adbfb3;
  border-radius: 6px;
}
textarea {
  min-height: 78px;
  resize: vertical;
}
dialog {
  color: inherit;
  width: min(520px, 95vw);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  max-height: 92dvh;
}
dialog::backdrop {
  background: #152b24a6;
}
.close {
  float: right;
}
.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 18px;
}
.choice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
.choice input {
  width: auto;
}
.empty {
  padding: 20px 0;
  color: #53695e;
}
#notice:not(:empty) {
  position: fixed;
  z-index: 5;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #203a33;
  color: white;
  padding: 12px 18px;
  border-radius: 8px;
  width: max-content;
  max-width: 90vw;
}
.formError {
  color: #942e21;
}
.panel, .row {
  overflow-wrap: anywhere;
}
details {
  margin: 10px 0;
}
summary {
  cursor: pointer;
}
.source {
  display: block;
}
#identity {
  font-size: 0.9rem;
}
@media (max-width: 600px) {
  header, nav {
    padding-left: 12px;
    padding-right: 12px;
  }
  header {
    height: 60px;
  }
  nav {
    overflow-x: auto;
  }
  nav button {
    padding: 10px 8px;
    white-space: nowrap;
    font-size: 14px;
  }
  main {
    padding: 28px 14px;
  }
  .panel {
    padding: 16px;
  }
  .bar {
    gap: 8px;
  }
  .quiet {
    padding: 5px;
  }
  dialog {
    padding: 20px;
  }
}
