@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  font-family: "DM Sans", sans-serif;
  color: #202722;
  background: #f6f7f4;
  font-synthesis: none;
  --accent: #317a59;
  --accent-soft: #e1eee4;
  --muted: #737e75;
  --line: #e0e6df;
  --panel: #fff;
  --shadow: 0 8px 32px #20382b08;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-family: Manrope, sans-serif;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  font-weight: 800;
}
h2 {
  font-size: 1.3rem;
}
p {
  line-height: 1.65;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 11px 16px;
  cursor: pointer;
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
button:hover,
.button:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.primary:hover {
  background: color-mix(in srgb, var(--accent), #000 12%);
  color: white;
}
.ghost {
  background: transparent;
}
input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  padding: 11px 12px;
  max-width: 100%;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
label {
  display: grid;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 600;
}
textarea {
  resize: vertical;
  min-height: 95px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.pill {
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 30px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-block;
}
.row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.spread {
  justify-content: space-between;
}
.wrap {
  flex-wrap: wrap;
}
.grid {
  display: grid;
  gap: 20px;
}
.empty {
  text-align: center;
  padding: 40px;
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  background: #fff;
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  max-width: min(560px, calc(100vw - 32px));
  width: 100%;
  color: inherit;
  box-shadow: 0 20px 80px #0002;
}
dialog::backdrop {
  background: #12251e66;
  backdrop-filter: blur(4px);
}
dialog form {
  display: grid;
  gap: 16px;
}
dialog h2 {
  margin: 0 0 8px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #202b25;
  color: #fff;
  padding: 13px 20px;
  border-radius: 10px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  max-width: 90vw;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
}
th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.table-scroll {
  overflow-x: auto;
}
footer {
  font-size: 0.8rem;
  color: var(--muted);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 650px) {
  .panel {
    padding: 18px;
  }
  button,
  .button {
    padding: 10px 12px;
  }
  th,
  td {
    padding: 12px 8px;
  }
}
