:root {
  --paper: #f2efe6;
  --ink: #302e29;
  --muted: #6c665e;
  --rule: #cec8bb;
  --accent: #8c4933;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; }
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('/paper.svg') repeat;
  opacity: .3;
  mix-blend-mode: multiply;
  pointer-events: none;
}
main { position: relative; max-width: 744px; margin: 92px auto 48px; padding: 0 28px; }
h1 { margin: 0 0 14px; font-family: Georgia, 'Times New Roman', serif; font-size: 31px; font-weight: 400; letter-spacing: -1px; line-height: 1.25; }
h2 { font: inherit; font-weight: bold; margin: 0; }
p { margin: 10px 0; }
header > p { color: #686258; font-size: 12px; }
a, .text-button { color: inherit; text-decoration: underline; text-decoration-color: #b2a99a; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover, .text-button:hover { color: var(--accent); text-decoration-color: var(--accent); }
button, input, select { font: inherit; }
button { cursor: pointer; color: var(--ink); background: transparent; border: 1px solid var(--rule); border-radius: 0; padding: 5px 10px; }
button:hover { border-color: var(--ink); }
button:disabled { opacity: .5; cursor: default; }
.text-button { border: 0; padding: 0; background: none; }
nav { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 19px; font-size: 12px; }
#join-open { color: var(--accent); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
#directory { margin-top: 43px; }
.filters { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
input, select { min-width: 0; padding: 6px 0; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: transparent; color: var(--ink); font-size: 11px; }
input::placeholder { color: var(--muted); opacity: 1; }
#search { width: 250px; max-width: 70%; }
#year { width: 92px; }
table { width: 100%; border-collapse: collapse; text-align: left; table-layout: fixed; }
th { font-size: 10px; font-weight: 400; color: var(--muted); border-bottom: 1px solid var(--rule); padding: 0 8px 10px 0; }
td { padding: 14px 8px 14px 0; vertical-align: top; }
.row-number { display: none; }
th:nth-child(2) { width: 39%; }
th:nth-child(3) { width: 16%; }
.member-name { text-decoration: none; }
.member-name:hover { text-decoration: underline; }
.member-year { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.member-site { overflow-wrap: anywhere; font-size: 12px; }
.member-site span { display: none; }
.muted, footer { color: var(--muted); font-size: 10px; }
#results { margin: 7px 0 0; }
details { font-size: 11px; margin-top: 34px; }
summary { cursor: pointer; width: fit-content; }
summary:hover { color: var(--accent); }
pre { font-size: 11px; overflow-x: auto; padding: 12px; border: 1px solid var(--rule); background: transparent; }
footer { border-top: 1px solid var(--rule); margin-top: 28px; padding-top: 15px; }
footer a { color: inherit; }
.form-section { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-top: 24px; padding: 20px 0; scroll-margin-top: 24px; }
.form-heading { display: flex; justify-content: space-between; align-items: center; }
.form-section p { font-size: 12px; }
.form-fields { display: grid; grid-template-columns: 1fr 130px 1fr; gap: 16px; margin: 22px 0; }
.form-fields label { display: flex; flex-direction: column; gap: 5px; font-size: 11px; }
#form-error, #app-error { color: #8b3128; }
@media (max-width: 520px) {
  :root { font-size: 11px; }
  main { margin: 42px auto; padding: 0 20px; }
  h1 { font-size: 29px; }
  header > p { max-width: 300px; font-size: 11px; }
  nav { gap: 20px; }
  #directory { margin-top: 35px; }
  td { padding: 13px 6px 13px 0; }
  .member-site { font-size: 10px; }
  .member-year { font-size: 10px; }
  th:nth-child(2) { width: 40%; }
  th:nth-child(3) { width: 15%; }
  .form-fields { grid-template-columns: 1fr 115px; }
  .form-fields label:last-child { grid-column: 1 / -1; }
}
@media (forced-colors: active) {
  body::before { display: none; }
  a, .text-button { color: LinkText; }
}
