* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f7f6ef;
  color: #18362d;
  font:
    16px/1.45 "DM Sans",
    system-ui,
    sans-serif;
}
header {
  background: #203c34;
  color: #fff;
  padding: 18px max(5vw, 20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.brand strong {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-size: 25px;
  letter-spacing: -1px;
}
.brand span,
#account {
  color: #d5dfcc;
  font-size: 14px;
}
main {
  max-width: 1180px;
  margin: auto;
  padding: 26px clamp(16px, 4vw, 48px) 60px;
}
nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #c9cdbf;
  margin-bottom: 30px;
  flex-wrap: wrap;
  padding-bottom: 12px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  border: 1px solid #bac5b7;
  background: #fffefa;
  color: #1c4033;
  border-radius: 7px;
  min-height: 44px;
  padding: 8px 15px;
  font-weight: 650;
}
button:hover {
  border-color: #386a56;
  background: #edf2e5;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #ce8335;
  outline-offset: 2px;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
nav [aria-current="page"],
.primary,
#save,
#auth button {
  background: #234b3b;
  color: white;
  border-color: #234b3b;
}
.quiet {
  background: transparent;
}
.hero,
.row,
.modal-head,
.datebar,
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hero,
.row,
.modal-head {
  justify-content: space-between;
}
h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -1.7px;
  margin: 4px 0 12px;
}
h2 {
  font-size: 22px;
  margin: 4px 0 10px;
}
h3 {
  margin: 0;
  font-size: 19px;
}
.muted,
small {
  color: #526456;
}
.datebar {
  margin: 12px 0 20px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.window,
.card,
.rulesbox {
  background: #fffefa;
  border: 1px solid #cbd0c1;
  border-radius: 10px;
  padding: 18px;
}
.window {
  border-top: 4px solid #628263;
}
.window.off {
  border-top-color: #a8a59a;
}
.ticket {
  border-top: 1px solid #dce0d3;
  padding: 12px 0;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.ticket p,
.card p {
  margin: 6px 0;
}
.card,
.rulesbox {
  margin: 14px 0;
}
.tag {
  display: inline-block;
  color: #765527;
  background: #f6ead5;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 13px;
}
.modal-head {
  margin-bottom: 15px;
}
dialog {
  max-width: min(550px, 94vw);
  max-height: 90dvh;
  border: 1px solid #c5ccbb;
  border-radius: 12px;
  color: inherit;
  background: #fffefa;
  padding: 24px;
  width: 100%;
}
dialog::backdrop {
  background: #172a2488;
}
label {
  display: block;
  font-weight: 600;
  margin: 12px 0;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #9faa99;
  border-radius: 6px;
  background: white;
  color: #203c34;
  padding: 9px;
  min-height: 42px;
}
input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  display: inline;
  vertical-align: middle;
}
input[type="date"] {
  width: auto;
}
textarea {
  min-height: 80px;
}
#notice:not(:empty) {
  background: #e4ecda;
  padding: 12px;
  border-radius: 6px;
}
#form-error {
  color: #9a4022;
}
#auth {
  max-width: 380px;
}
.actions {
  margin-top: 12px;
}
.datebar button {
  padding: 7px 12px;
}
details {
  margin-top: 8px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.note {
  color: #6b4b24;
}
a {
  color: #214d3f;
}
#account button {
  margin-left: 12px;
}
button em {
  font-style: normal;
}
nav b:not(:empty) {
  background: #eedcb9;
  border-radius: 10px;
  color: #3e3a29;
  padding: 1px 6px;
}
@media (max-width: 680px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .brand {
    display: block;
  }
  .brand span {
    display: block;
  }
  nav {
    gap: 3px;
  }
  nav button {
    padding: 7px;
    font-size: 14px;
  }
  main {
    padding-top: 16px;
  }
  .hero {
    align-items: flex-start;
  }
}
