:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #243e37;
  background: #f6f5ef;
  font-synthesis: none;
  --green: #183e36;
  --muted: #65766d;
  --border: #dce2d7;
  --cream: #fffef9;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main,
footer {
  width: min(1120px, calc(100% - 64px));
  margin: auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  letter-spacing: 2px;
  font-size: 16px;
  font-weight: 700;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.5px;
  margin-top: 5px;
}
.mark {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
}

nav {
  display: flex;
  gap: 25px;
  font-size: 13px;
}
nav a {
  text-decoration: none;
}
nav a:hover {
  text-decoration: underline;
}
main {
  min-height: 74vh;
  padding: 52px 0 70px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
  color: #697d5b;
  margin: 0 0 20px;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -1.5px;
  margin: 0;
}
h1 {
  font-size: 58px;
  line-height: 1.07;
  max-width: 640px;
}
h2 {
  font-size: 30px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
p {
  line-height: 1.65;
}
.intro {
  color: var(--muted);
  max-width: 520px;
  font-size: 16px;
  margin: 24px 0 34px;
}
.layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
}
.card {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 5px 20px #19372b03;
}
.form-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 24px;
}
.form-head h2 {
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
}
.pill {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 20px;
  background: #e9eedf;
  font-size: 11px;
  white-space: nowrap;
}
.pill.approved {
  background: #dcecdf;
  color: #215138;
}
.pill.denied {
  background: #f5e3dd;
  color: #833f28;
}
.pill.pending {
  background: #f5ecd4;
  color: #766126;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}
input,
select,
textarea {
  width: 100%;
  display: block;
  border: 1px solid #ccd4c9;
  border-radius: 6px;
  background: #fff;
  color: #263e36;
  padding: 12px;
  font: inherit;
  font-size: 14px;
  margin-top: 8px;
  min-height: 44px;
}
input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid #71885e;
  outline-offset: 3px;
}
textarea {
  min-height: 85px;
  resize: vertical;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.step {
  display: flex;
  gap: 15px;
  margin: 25px 0;
}
.step .num {
  border: 1px solid #b8c6ad;
  color: #5c7750;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 11px;
}
.step h3 {
  margin: 2px 0 4px;
  font-size: 14px;
}
.step p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.notice {
  border-left: 2px solid #a2b484;
  padding-left: 16px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 38px;
  max-width: 390px;
}
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
  border-radius: 6px;
  padding: 13px 18px;
  min-height: 44px;
  text-decoration: none;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.full {
  width: 100%;
  margin-top: 12px;
}
.secondary {
  background: transparent;
  color: var(--green);
  border-color: #bbc9bd;
}
.danger {
  background: #fff9f4;
  color: #833f28;
  border-color: #d6bcb0;
}
.privacy {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
  margin: 17px 0 0;
}
.message {
  padding: 12px 15px;
  background: #eaf0e3;
  border-radius: 6px;
  margin: 16px 0;
  font-size: 13px;
  line-height: 1.6;
}
.error {
  background: #f8e7df;
  color: #823d27;
}
.hidden,
[hidden] {
  display: none !important;
}
footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 34px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
#demo {
  padding: 10px 20px;
  text-align: center;
  background: #eadfbf;
  color: #594b2f;
  font-size: 12px;
}
#demo select {
  display: inline-block;
  width: auto;
  margin: 0 0 0 12px;
  padding: 4px;
  min-height: 30px;
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
  align-items: center;
}
.toolbar a,
.toolbar button {
  font-size: 12px;
}
.board-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}
.board-head h1 {
  font-size: 44px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.stat {
  background: #e9edde;
  border-radius: 9px;
  padding: 20px;
}
.stat strong {
  display: block;
  font:
    32px Georgia,
    serif;
  margin-bottom: 8px;
}
.stat span {
  font-size: 11px;
  color: var(--muted);
}
.filters {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 0.7fr 0.7fr auto;
  gap: 12px;
  align-items: end;
  margin-top: 20px;
}
.filters label {
  margin: 0;
}
.filters input,
.filters select {
  font-size: 12px;
  padding: 10px;
}
.table-wrap {
  overflow-x: auto;
  margin-top: 25px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th {
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 15px 12px;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 20px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
td small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}
td button {
  padding: 8px 12px;
  min-height: 35px;
}
.empty {
  text-align: center;
  padding: 55px 20px;
  color: var(--muted);
}
.narrow {
  max-width: 550px;
  margin: auto;
}
.narrow h1 {
  font-size: 42px;
}
.narrow .card {
  margin-top: 28px;
}
.detail {
  margin: 25px 0;
}
.detail dl {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.detail dt {
  color: var(--muted);
}
.detail dd {
  margin: 0;
  overflow-wrap: anywhere;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 12px/1.7 inherit;
}
.mail {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}
.mail summary {
  cursor: pointer;
  font-size: 13px;
}
.history {
  font-size: 12px;
  line-height: 1.8;
  padding-left: 20px;
}
.history li {
  margin-bottom: 10px;
}
.history span {
  color: var(--muted);
}
@media (max-width: 850px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .steps {
    display: flex;
    gap: 20px;
  }
  .step {
    flex: 1;
  }
  .notice {
    margin-top: 20px;
  }
  .filters {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  h1 {
    font-size: 48px;
  }
}
@media (max-width: 550px) {
  header,
  main,
  footer {
    width: calc(100% - 36px);
  }
  header {
    padding: 20px 0;
  }
  .brand {
    font-size: 12px;
  }
  .brand small {
    font-size: 6px;
  }
  nav {
    gap: 12px;
    font-size: 11px;
  }
  nav a:first-child {
    display: none;
  }
  main {
    padding-top: 34px;
  }
  h1 {
    font-size: 42px;
  }
  .steps {
    display: block;
  }
  .card {
    padding: 22px;
  }
  .two {
    gap: 10px;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
  }
  .board-head {
    display: block;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 15px;
  }
  footer {
    gap: 18px;
    line-height: 1.7;
  }
  .detail dl {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .detail dd {
    margin-bottom: 12px;
  }
}
