@font-face {
  font-family: Barlow;
  src: url("/fonts/Barlow-Regular.ttf");
}
@font-face {
  font-family: BarlowCondensed;
  src: url("/fonts/BarlowCondensed-Bold.ttf");
  font-weight: 700;
}
:root {
  font-family: Barlow, Arial, sans-serif;
  color: #243a32;
  background: #f6f5ef;
  --forest: #193e32;
  --muted: #58695e;
  --line: #dce1d7;
  --gold: #e6bf60;
  font-synthesis: none;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  background: var(--forest);
  color: #fffef9;
  padding: 20px max(24px, calc((100% - 1040px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font:
    700 24px BarlowCondensed,
    Arial,
    sans-serif;
}
.brand small {
  display: block;
  font:
    14px Barlow,
    Arial,
    sans-serif;
  letter-spacing: 0.12em;
}
.brand-shield {
  background: var(--gold);
  color: var(--forest);
  clip-path: polygon(0 0, 100% 0, 100% 76%, 50% 100%, 0 76%);
  padding: 10px 9px 16px;
  font:
    700 23px BarlowCondensed,
    Arial,
    sans-serif;
}
main {
  max-width: 1040px;
  padding: 40px 24px 80px;
  margin: auto;
}
h1 {
  font:
    700 36px/1.12 BarlowCondensed,
    Arial,
    sans-serif;
  margin: 0 0 12px;
  text-wrap: balance;
}
h2 {
  font:
    700 26px/1.15 BarlowCondensed,
    Arial,
    sans-serif;
  margin: 6px 0 12px;
}
p {
  font-size: 18px;
  line-height: 1.5;
  max-width: 68ch;
  margin: 0 0 20px;
}
#login {
  max-width: 560px;
  margin: 35px auto;
}
form {
  display: grid;
  gap: 20px;
  margin: 32px 0 20px;
}
label {
  font-size: 16px;
  display: grid;
  gap: 8px;
}
input,
textarea,
button {
  font: inherit;
}
input,
textarea {
  width: 100%;
  border: 1px solid #aab8ad;
  border-radius: 6px;
  background: #fffef9;
  color: inherit;
  padding: 12px;
  font-size: 18px;
  caret-color: var(--forest);
}
button {
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--forest);
  color: #fffef9;
  padding: 12px 18px;
  font-size: 16px;
  min-height: 46px;
  transition: background-color 0.16s;
}
button:hover {
  background: #2c5645;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.secondary {
  background: #fffef9;
  color: var(--forest);
  border-color: #aab8ad;
}
.secondary:hover {
  background: #e8ece3;
}
header .secondary {
  background: transparent;
  color: inherit;
  border-color: #aab8ad;
}
a {
  color: var(--forest);
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid #a76700;
  outline-offset: 4px;
}
::selection {
  background: var(--gold);
  color: var(--forest);
}
.heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.heading p {
  font-size: 16px;
  color: var(--muted);
}
nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0 16px;
}
nav button {
  background: transparent;
  color: var(--forest);
  border-color: #aab8ad;
}
nav button[aria-pressed="true"] {
  background: var(--forest);
  color: #fffef9;
}
.help {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.45;
}
article {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
}
.job-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.status {
  background: #e2eadc;
  color: #28472f;
  padding: 5px 9px;
  border-radius: 4px;
}
.attention {
  background: #f6e6ca;
  color: #72440b;
}
article p {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--muted);
}
textarea {
  font-size: 16px;
  line-height: 1.5;
  resize: vertical;
  min-height: 120px;
}
.caption-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}
.caption-controls a {
  font-size: 16px;
}
#notice:not(:empty) {
  background: #e2eadc;
  padding: 14px 18px;
  border-radius: 6px;
  margin: 24px 0;
}
#notice.error {
  background: #f6e6ca;
  color: #72440b;
}
footer {
  border-top: 1px solid var(--line);
  padding: 24px;
  text-align: center;
  font-size: 16px;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
@media (max-width: 680px) {
  header {
    padding: 16px;
  }
  .brand {
    font-size: 22px;
  }
  header button {
    font-size: 14px;
    padding: 10px;
  }
  main {
    padding: 28px 20px 55px;
  }
  h1 {
    font-size: 32px;
  }
  #login {
    margin: 18px 0;
  }
  article {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 24px 0;
  }
  .heading {
    gap: 12px;
  }
  .heading button {
    padding: 10px 14px;
  }
  .heading p {
    font-size: 16px;
  }
  nav {
    gap: 6px;
  }
  nav button {
    padding: 10px 12px;
  }
  textarea {
    min-height: 135px;
  }
  p {
    font-size: 18px;
  }
}
nav button:hover {
  background: #e8ece3;
  color: #193e32;
}
nav button[aria-pressed="true"]:hover {
  background: #2c5645;
  color: #fffef9;
}
header .secondary:hover {
  background: #2c5645;
  color: #fffef9;
}
