:root {
  --bg: #f5f5ee;
  --ink: #263c33;
  --muted: #6e7a71;
  --line: #dde2d6;
  --green: #284b38;
  --lime: #d5e8aa;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  display: flex;
  background: var(--bg);
  color: var(--ink);
  font:
    14px/1.6 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #85a861;
  outline-offset: 3px;
}
button {
  border: 0;
}
aside {
  width: 218px;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 35px 24px;
  display: flex;
  flex-direction: column;
  background: #e9edde;
  border-right: 1px solid var(--line);
}
.brand {
  font-size: 34px;
  display: flex;
  gap: 10px;
  align-items: center;
  line-height: 1.2;
}
.brand span {
  font:
    23px Georgia,
    serif;
  letter-spacing: -1px;
}
.brand small {
  display: block;
  font: 8px sans-serif;
  letter-spacing: 0.18em;
  margin-top: 8px;
}
.aside-label {
  font-size: 8px;
  letter-spacing: 0.13em;
  color: var(--muted);
  margin: 50px 10px 15px;
}
.nav {
  background: transparent;
  padding: 13px;
  text-align: left;
  color: var(--muted);
  border-radius: 5px;
  font-size: 12px;
}
.nav.active {
  background: #d9e1ca;
  color: var(--green);
}
.aside-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}
.aside-bottom small {
  display: block;
  font-size: 8px;
  color: var(--muted);
}
.avatar {
  background: #2c4b37;
  color: #fff;
  padding: 9px;
  border-radius: 50%;
  font-size: 10px;
}
main {
  margin-left: 218px;
  padding: 0 5%;
  width: calc(100% - 218px);
  max-width: 1600px;
}
header {
  height: 95px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
header p {
  font-size: 8px;
  letter-spacing: 0.1em;
}
.dot {
  display: inline-block;
  background: #77945a;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 8px;
}
header > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.quiet {
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 10px;
  cursor: pointer;
}
.file input {
  display: none;
}
.file:focus-within {
  outline: 2px solid #85a861;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 47px 0 34px;
  gap: 20px;
}
.eyebrow {
  font-size: 8px;
  letter-spacing: 0.13em;
  color: var(--muted);
  margin: 0 0 10px;
}
h1 {
  font:
    44px/1.15 Georgia,
    serif;
  letter-spacing: -1.7px;
  margin: 0 0 12px;
}
.heading p:last-child {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 0;
}
.primary {
  background: var(--green);
  color: #fff;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
}
.primary:hover {
  background: #44634b;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin: 0 0 36px;
}
.stats article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 23px;
}
.stats article:first-child {
  background: var(--lime);
  border-color: #c5da9d;
}
.stats span {
  font-size: 8px;
  letter-spacing: 0.13em;
  display: block;
}
.stats strong {
  display: block;
  font:
    43px Georgia,
    serif;
  margin: 8px 0;
}
.stats small {
  font-size: 10px;
  color: var(--muted);
}
.workspace {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.toolbar {
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}
.filters {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
}
.filters button {
  font-size: 10px;
  padding: 7px 10px;
  background: none;
  color: var(--muted);
  border-radius: 3px;
}
.filters .selected {
  background: #eaf0de;
  color: var(--green);
}
.search input {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 10px;
  min-width: 170px;
}
.table-head,
.job {
  display: grid;
  grid-template-columns: 2.1fr 1fr 1.1fr 0.9fr;
  gap: 15px;
  align-items: center;
  padding: 15px 22px;
}
.table-head {
  background: #fafbf6;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.job {
  width: 100%;
  text-align: left;
  background: none;
  border-top: 1px solid #edf0e8;
  color: var(--ink);
  min-height: 88px;
}
.job:hover {
  background: #f8faef;
}
.job strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 3px;
}
.job small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.job > span:not(:first-child) {
  font-size: 10px;
  color: var(--muted);
}
.badge {
  border: 1px solid #d8e3c7;
  background: #eff5e7;
  padding: 4px 8px;
  border-radius: 30px;
  display: inline-block;
  font-size: 9px;
  color: #456344;
}
.job .badge.complete {
  background: #edf0eb;
  color: #73816e;
}
.footer-note {
  font-size: 9px;
  color: var(--muted);
  margin: 23px 0;
}
#status {
  font-size: 11px;
  color: var(--green);
}
.empty {
  font-size: 12px;
  text-align: center;
  color: var(--muted);
  padding: 40px;
}
.skip {
  position: fixed;
  top: -100px;
  background: #fff;
  padding: 10px;
}
.skip:focus {
  top: 10px;
  z-index: 50;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
dialog {
  width: min(520px, 95vw);
  max-height: 90vh;
  background: var(--bg);
  color: var(--ink);
  border: 0;
  border-radius: 8px;
  padding: 28px;
}
dialog::backdrop {
  background: #12271db3;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 25px;
}
h2 {
  font:
    30px Georgia,
    serif;
  letter-spacing: -1px;
  margin: 0;
}
.dialog-head button {
  background: none;
  font-size: 25px;
  color: var(--muted);
}
dialog label {
  display: block;
  font-size: 10px;
}
dialog input,
dialog select,
dialog textarea {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  margin: 6px 0 17px;
  min-width: 0;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #8aa968;
  outline-offset: 2px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.dialog-actions {
  display: flex;
  justify-content: space-between;
}
.danger,
#form-error {
  color: #985e48;
}
#form-error {
  font-size: 12px;
}
@media (max-width: 1000px) {
  aside {
    width: 175px;
    padding: 30px 17px;
  }
  .brand span {
    font-size: 19px;
  }
  main {
    margin-left: 175px;
    width: calc(100% - 175px);
    padding: 0 4%;
  }
  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .search input {
    width: 100%;
  }
  .stats {
    gap: 10px;
  }
  .stats article {
    padding: 17px;
  }
  .table-head,
  .job {
    padding: 15px;
    gap: 10px;
  }
  h1 {
    font-size: 37px;
  }
}
@media (max-width: 650px) {
  body {
    display: block;
  }
  aside {
    position: static;
    width: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-right: 0;
    padding: 20px 6%;
  }
  .brand {
    font-size: 29px;
  }
  .aside-label,
  .nav,
  .aside-bottom {
    display: none;
  }
  main {
    margin: 0;
    width: 100%;
    padding: 0 6%;
  }
  header {
    height: 80px;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
  }
  header p {
    margin: 0;
  }
  .heading {
    padding-top: 35px;
    align-items: start;
  }
  .heading h1 {
    font-size: 34px;
  }
  .heading .primary {
    padding: 10px 12px;
    font-size: 10px;
  }
  .stats {
    gap: 8px;
    margin-bottom: 22px;
  }
  .stats article {
    padding: 14px 10px;
  }
  .stats span {
    font-size: 7px;
    letter-spacing: 0.03em;
  }
  .stats strong {
    font-size: 32px;
  }
  .stats small {
    font-size: 8px;
  }
  .table-head {
    display: none;
  }
  .job {
    grid-template-columns: 1.5fr 1fr;
    gap: 10px;
  }
  .job > span:nth-child(2) {
    display: none;
  }
  .job > span:last-child {
    grid-column: 1;
    font-size: 9px;
  }
  .filters button {
    font-size: 9px;
    padding: 7px;
  }
  .toolbar {
    padding: 12px;
  }
}

/* Fieldwork desktop palette. */
:root {
  color-scheme:dark;
  --bg:#101e1b;
  --ink:#eef3e6;
  --muted:#a5b6aa;
  --line:#344c40;
  --green:#c6e98d;
  --lime:#c6e98d;
}
aside {
  background:#152922;
}
.brand span {
  font-family:inherit;
  font-weight:650;
}
.brand small,.eyebrow,header p,.stats span,.table-head {
  font-family:monospace;
}
.nav.active {
  background:#c6e98d;
  color:#16271f;
}
.avatar {
  background:#304c3a;
  color:#c6e98d;
}
.dot {
  background:#c6e98d;
}
h1,h2 {
  font-family:inherit;
  font-weight:600;
  letter-spacing:-.055em;
}
h1 {
  font-size:48px;
}
.primary {
  background:#c6e98d;
  color:#17291f;
  font-weight:650;
}
.primary:hover {
  background:#d8efa9;
}
.stats article,.workspace {
  background:#182c24;
  border-radius:3px;
}
.stats article:first-child {
  background:#c6e98d;
  color:#17291f;
  border-color:#c6e98d;
}
.stats article:first-child small {
  color:#42533a;
}
.stats strong {
  font-family:monospace;
  font-size:42px;
}
.table-head {
  background:#13251e;
  color:#a6bdad;
}
.job {
  color:var(--ink);
}
.job:hover {
  background:#243f30;
}
.filters button {
  color:#abc1b0;
}
.filters button.selected {
  background:#c6e98d;
  color:#16271f;
}
.search input,dialog input,dialog select,dialog textarea {
  background:#102119;
  color:#edf3e6;
  border-color:#45634e;
}
.badge {
  background:#284b35;
  border-color:#4f7151;
  color:#d1e9a5;
}
.job .badge.complete {
  background:#233b31;
  color:#a5b9aa;
}
.quiet:hover {
  color:#edf3e6;
}
.heading {
  border-top:1px solid var(--line);
  margin-top:14px;
}
.footer-note {
  font-family:monospace;
  line-height:1.8;
}
.danger,#form-error {
  color:#f0ad97;
}
.job:focus-visible {
  outline:2px solid #c6e98d;
  outline-offset:-3px;
}
@media(max-width:650px) {
  h1 {
    font-size:34px;
  }
  .stats strong {
    font-size:30px;
  }
}
.job {
  border-color:var(--line);
}

.brand-mark { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; filter: brightness(0) saturate(100%) invert(91%) sepia(18%) saturate(626%) hue-rotate(30deg) brightness(99%); }
.avatar { display: grid; place-items: center; }
.avatar img { display: block; filter: brightness(0) invert(1); opacity: .8; }
