* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f7f8f6;
  color: #202d32;
  font:
    14px/1.6 Arial,
    Helvetica,
    sans-serif;
  letter-spacing: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.file-button {
  border: 1px solid #bccbc6;
  background: white;
  padding: 10px 16px;
  color: #203c3a;
  cursor: pointer;
  border-radius: 4px;
}
button:hover {
  background: #e7efeb;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.primary {
  background: #225b57;
  color: white;
  border-color: #225b57;
}
.primary:hover {
  background: #19433f;
}
.quiet {
  border: 0;
  background: transparent;
  text-decoration: underline;
}
input,
select,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #bbc9c2;
  border-radius: 3px;
  background: #fff;
  color: #202d32;
}
textarea {
  resize: vertical;
  line-height: 1.7;
}
label {
  display: block;
  font-size: 12px;
  color: #445751;
}
label input,
label select,
label textarea {
  margin-top: 6px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font:
    36px/1.15 Georgia,
    serif;
}
h2 {
  font:
    24px/1.2 Georgia,
    serif;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4%;
  border-bottom: 1px solid #d5ddd8;
  background: white;
}
.brand {
  font:
    21px Georgia,
    serif;
  text-decoration: none;
}
.brand small {
  display: block;
  font:
    10px Arial,
    sans-serif;
  margin-top: 8px;
}
.top > div {
  display: flex;
  gap: 20px;
  align-items: center;
}
.eyebrow {
  font-size: 10px;
  color: #51655e;
  margin-bottom: 17px;
}
#message {
  margin: 0;
  padding: 0 4%;
  color: #813c32;
  background: #fff0e9;
}
#message:not(:empty) {
  padding: 12px 4%;
}
#gate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1250px;
  margin: 65px auto;
  padding: 0 5%;
  gap: 8%;
  align-items: center;
}
#gate h1 {
  font-size: 54px;
}
#gate img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  object-position: 65% center;
}
.intro {
  font-size: 18px;
  margin: 25px 0 12px;
}
#gate-note {
  color: #596963;
  max-width: 360px;
  margin-bottom: 24px;
}
#preview-box {
  margin-top: 30px;
  border-top: 1px solid #d5ddd8;
  padding-top: 20px;
}
#preview-box p {
  font-size: 12px;
  margin-bottom: 12px;
  color: #6a5a3f;
}
#desk {
  display: grid;
  grid-template-columns: 225px 1fr;
  min-height: 70vh;
}
aside {
  background: #eef2ee;
  border-right: 1px solid #d5ddd8;
  padding: 30px 18px;
}
#navigation {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
#navigation button {
  border: 0;
  background: transparent;
  text-align: left;
}
#navigation button[aria-current="page"] {
  background: #d7e5dc;
  color: #173d32;
  font-weight: bold;
}
#connection {
  font-size: 11px;
  padding: 28px 16px;
  color: #66776c;
}
.work {
  padding: 38px 5%;
  min-width: 0;
}
.work-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.work-heading .eyebrow {
  margin-bottom: 10px;
}
#summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid #d5ddd8;
  margin-bottom: 30px;
  padding: 20px 0;
  gap: 20px;
}
#summary p {
  font-size: 12px;
  color: #597064;
}
#summary strong {
  font:
    32px Georgia,
    serif;
  display: block;
  color: #225b57;
}
.filters {
  display: flex;
  align-items: end;
  gap: 15px;
  margin-bottom: 22px;
}
.filters label:first-child {
  flex: 1;
}
.filters label:nth-child(2) {
  width: 170px;
}
#records {
  border-top: 1px solid #c7d3cc;
}
.record {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d5ddd8;
  border-radius: 0;
  background: transparent;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}
.record strong {
  font-size: 16px;
  font-weight: 500;
  display: block;
}
.record small {
  font-size: 11px;
  display: block;
  color: #5f7167;
  margin-top: 7px;
}
.record .status {
  font-size: 11px;
  white-space: nowrap;
  color: #586d5e;
}
.empty {
  padding: 40px 0;
  color: #6b7770;
}
#settings p {
  margin: 20px 0;
  max-width: 680px;
  color: #596963;
}
.settings-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.file-button {
  font-size: 14px;
  position: relative;
}
.file-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}
.site-foot {
  padding: 25px 4%;
  border-top: 1px solid #d5ddd8;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: #52645a;
}
dialog {
  border: 1px solid #bacbc1;
  border-radius: 6px;
  width: min(730px, 92%);
  max-height: 90vh;
  padding: 28px;
  background: #fcfdfb;
  color: #202d32;
}
dialog::backdrop {
  background: #132c32a1;
}
dialog header,
dialog footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
dialog header {
  margin-bottom: 25px;
}
dialog footer {
  margin-top: 25px;
  justify-content: flex-end;
}
dialog label {
  margin-bottom: 16px;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
button.close {
  font-size: 18px;
  padding: 5px 12px;
}
#read-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    18px/1.85 Georgia,
    serif;
  margin: 25px 0;
}
#read-title {
  overflow-wrap: anywhere;
}
#read-meta {
  font-size: 12px;
  color: #587064;
}
#read-link {
  color: #225b57;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #ad7951;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 750px) {
  .top {
    padding: 17px 5%;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 19px;
  }
  .top > div {
    font-size: 12px;
  }
  .top button {
    padding: 7px 12px;
  }
  #gate {
    grid-template-columns: 1fr;
    margin: 35px auto;
    gap: 30px;
  }
  #gate h1 {
    font-size: 41px;
  }
  #gate img {
    height: 270px;
  }
  #desk {
    grid-template-columns: 1fr;
  }
  aside {
    padding: 12px;
    border-right: 0;
    border-bottom: 1px solid #ccd8cf;
  }
  #navigation {
    flex-direction: row;
    overflow: auto;
  }
  #navigation button {
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 12px;
  }
  #connection {
    padding: 8px 12px 0;
  }
  .work {
    padding: 25px 5%;
  }
  h1 {
    font-size: 30px;
  }
  .work-heading {
    margin-bottom: 24px;
  }
  .filters {
    flex-wrap: wrap;
  }
  .filters label:first-child {
    min-width: 140px;
  }
  .filters label:nth-child(2) {
    width: 125px;
  }
  .filters > button {
    padding: 7px 10px;
  }
  .row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .site-foot {
    flex-wrap: wrap;
  }
  dialog {
    padding: 20px;
  }
  .record {
    gap: 12px;
  }
  .record .status {
    font-size: 10px;
  }
  #summary {
    gap: 10px;
  }
  #summary strong {
    font-size: 27px;
  }
}
aside {
  min-width: 0;
}
.record > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.work-heading > div {
  min-width: 0;
}
.work-heading button {
  flex-shrink: 0;
}
