:root {
  --ink:#17342f;
  --green:#205e4e;
  --lime:#d4e9b9;
  --paper:#f4f6f2;
  --line:#dce3db;
  --muted:#5c6c64;
  --red:#a12d24;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:16px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif;
}
a {
  color:var(--green);
  text-underline-offset:4px;
}
a:hover {
  color:#112d23;
}
h1,h2,h3,p {
  margin-top:0;
}
h1 {
  font-size:clamp(2rem,4vw,3rem);
  line-height:1.12;
  letter-spacing:-.045em;
  margin-bottom:18px;
}
h2 {
  font-size:1.5rem;
  letter-spacing:-.025em;
}
h3 {
  font-size:1.1rem;
}
button,input,textarea,select {
  font:inherit;
}
button,a,input,select,textarea {
  outline-offset:4px;
}
:focus-visible {
  outline:3px solid #58993c;
}
.container {
  max-width:1280px;
  margin:auto;
  padding:32px 40px;
}
.topbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:22px 40px;
  border-bottom:1px solid var(--line);
  background:white;
  gap:24px;
}
.brand {
  display:flex;
  flex-direction:column;
  gap:3px;
  align-items:flex-start;
  max-width:100%;
  text-decoration:none;
  font-size:14px;
  font-weight:750;
  letter-spacing:.1em;
}
.brand small {
  display:block;
  font-size:10px;
  font-weight:500;
  letter-spacing:.2em;
  margin-top:2px;
}
.brand-logo {
  display:block;
  width:280px;
  max-width:100%;
  height:auto;
}
.topbar nav {
  display:flex;
  flex-wrap:wrap;
  gap:22px;
  align-items:center;
}
.topbar nav a {
  text-decoration:none;
  font-size:14px;
}
.topbar form {
  margin:0;
}
.text-button {
  border:0;
  background:none;
  color:var(--green);
  padding:0;
  cursor:pointer;
  font-size:14px;
}
.button {
  display:inline-block;
  border:1px solid var(--green);
  background:var(--green);
  color:white;
  text-decoration:none;
  padding:13px 22px;
  border-radius:7px;
  font-weight:650;
  cursor:pointer;
  text-align:center;
}
.button:hover {
  background:#163e33;
  color:white;
}
.button.secondary {
  background:transparent;
  color:var(--green);
}
.button.secondary:hover {
  background:#e5ebe3;
}
.button.small {
  padding:8px 18px;
}
.hero {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:70px;
  align-items:center;
  padding:55px 0 60px;
}
.hero h1 {
  font-size:clamp(2.5rem,5vw,4.7rem);
}
.eyebrow {
  font-size:11px;
  letter-spacing:.16em;
  font-weight:750;
  color:var(--green);
  margin-bottom:20px;
}
.lead {
  font-size:18px;
  color:var(--muted);
  max-width:540px;
}
.muted {
  color:var(--muted);
}
.hero .muted {
  font-size:13px;
  margin-top:18px;
}
.actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:18px;
  margin-top:25px;
}
.hero-panel {
  background:var(--ink);
  color:white;
  border-radius:16px;
  padding:36px;
}
.hero-panel .eyebrow {
  color:var(--lime);
}
.step {
  display:flex;
  gap:18px;
  padding:20px 0;
  border-bottom:1px solid #ffffff26;
}
.step:last-child {
  border:0;
  padding-bottom:0;
}
.step b {
  color:var(--lime);
  font-size:14px;
}
.step h3 {
  margin-bottom:6px;
}
.step p {
  font-size:14px;
  color:#c2d2c7;
  margin:0;
}
.feature-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:36px;
  border-top:1px solid var(--line);
  padding-top:32px;
}
.feature-row h3 {
  margin:14px 0 6px;
}
.feature-row p {
  color:var(--muted);
  font-size:14px;
}
.pill {
  display:inline-block;
  background:#e3efdc;
  color:#315b29;
  border-radius:4px;
  font-size:10px;
  letter-spacing:.06em;
  font-weight:750;
  padding:4px 8px;
  white-space:nowrap;
}
.pill.neutral {
  background:#e8ece7;
  color:#5e6a60;
}
.user-line {
  display:flex;
  justify-content:space-between;
  font-size:13px;
  color:var(--muted);
  margin-bottom:30px;
}
.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin:12px 0 30px;
}
.page-heading h1 {
  margin-bottom:12px;
}
.page-heading .eyebrow {
  margin-bottom:12px;
}
.cards {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));
  gap:22px;
}
.card {
  padding:28px;
  border:1px solid var(--line);
  background:white;
  border-radius:12px;
}
.card h2 {
  margin:18px 0 10px;
}
.card p {
  font-size:14px;
}
.card-link {
  display:block;
  border-top:1px solid var(--line);
  padding-top:18px;
  margin:22px 0;
  font-weight:650;
  text-decoration:none;
}
.stats {
  display:flex;
  gap:28px;
  border-top:1px solid var(--line);
  padding-top:18px;
  margin-top:24px;
}
.stats b {
  font-size:27px;
  font-weight:600;
}
.stats small,td small {
  display:block;
  color:var(--muted);
  font-size:12px;
}
.danger,small.danger {
  color:var(--red);
}
.empty {
  padding:40px;
  text-align:center;
  background:white;
  border:1px dashed var(--line);
  border-radius:10px;
  width:100%;
}
.table-wrap {
  overflow-x:auto;
  background:white;
  border:1px solid var(--line);
  border-radius:10px;
}
table {
  border-collapse:collapse;
  width:100%;
  font-size:14px;
  text-align:left;
}
th {
  background:#ebefe9;
  color:var(--muted);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
th,td {
  padding:18px;
  vertical-align:top;
  border-bottom:1px solid var(--line);
}
tbody tr:last-child td {
  border:0;
}
.description {
  min-width:240px;
  max-width:440px;
  overflow-wrap:anywhere;
}
.overdue {
  background:#fff7f2;
}
.overdue td:first-child {
  border-left:3px solid #ba5035;
}
.filters {
  display:flex;
  align-items:end;
  gap:16px;
  flex-wrap:wrap;
  padding:22px;
  background:white;
  border:1px solid var(--line);
  border-radius:10px;
  margin-bottom:24px;
}
.filters>div {
  flex:1;
  min-width:160px;
}
.filters label,label {
  display:block;
  font-size:14px;
  font-weight:600;
  margin-bottom:7px;
}
input,textarea,select {
  padding:11px 12px;
  border:1px solid #b7c5b8;
  border-radius:6px;
  background:white;
  width:100%;
  color:var(--ink);
}
input[type=checkbox] {
  width:auto;
  min-width:20px;
  min-height:20px;
}
textarea {
  resize:vertical;
}
.field {
  margin-bottom:22px;
}
.helptext {
  display:block;
  font-size:13px;
  color:var(--muted);
  margin-top:8px;
}
.auth-card,.form-card {
  background:white;
  border:1px solid var(--line);
  border-radius:14px;
  padding:36px;
  margin:35px auto;
  max-width:670px;
}
.auth-card {
  max-width:480px;
}
.auth-card h1,.form-card h1 {
  font-size:2rem;
}
.auth-card .button {
  width:100%;
}
.errorlist {
  color:var(--red);
  padding-left:20px;
  font-size:14px;
}
.notice {
  background:#e3efdc;
  padding:16px;
  border:1px solid #b6d0a5;
  border-radius:7px;
  margin-bottom:20px;
}
.back {
  display:inline-block;
  margin-bottom:10px;
}
.footer {
  border-top:1px solid var(--line);
  margin-top:64px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  font-size:12px;
  color:var(--muted);
}
.pagination {
  display:flex;
  justify-content:center;
  gap:24px;
  margin-top:25px;
}
.skip {
  position:absolute;
  top:-80px;
  background:white;
  padding:10px;
}
.skip:focus {
  top:5px;
}
@media(max-width:800px) {
  .topbar {
    padding:18px 22px;
    align-items:flex-start;
    flex-direction:column;
  }
  .topbar nav {
    gap:16px;
  }
  .container {
    padding:26px 22px;
  }
  .hero {
    grid-template-columns:1fr;
    gap:30px;
    padding:30px 0;
  }
  .hero-panel {
    padding:24px;
  }
  .feature-row {
    gap:20px;
  }
  .page-heading {
    align-items:flex-start;
    flex-direction:column;
  }
  .footer {
    flex-direction:column;
    gap:5px;
  }
  .auth-card,.form-card {
    padding:24px;
    margin:20px auto;
  }
  .filters {
    align-items:stretch;
  }
  .filters>div {
    min-width:100%;
  }
  .filters .button {
    width:100%;
  }
}
@media(prefers-reduced-motion:no-preference) {
  .button {
    transition:background .15s;
  }
}
@media print {
  .topbar,.footer,.filters,.button,.user-line,.pagination {
    display:none;
  }
  .container {
    max-width:none;
    padding:0;
  }
  .table-wrap {
    overflow:visible;
  }
  body {
    background:white;
  }
}
