.staff-shell {
  max-width: 1080px;
  padding-top: 26px;
  padding-bottom: 80px;
}
.staff-heading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  line-height: 1.16;
  margin: 1.5rem 0 2rem;
}
.staff-panel {
  padding: clamp(1.2rem, 3vw, 2.3rem);
  background: var(--paper);
  border: 1px solid var(--line);
  margin: 1.1rem 0;
}
.staff-panel h2 {
  font: 500 clamp(1.4rem, 2.5vw, 2rem) / 1.2 var(--serif);
  margin: 0 0 1.25rem;
}
.staff-panel p {
  font-size: 1rem;
  max-width: 80ch;
  margin: 0.85rem 0;
}
.staff-panel a:not(.btn),
.staff-actions a,
.staff-link,
.staff-admin-link {
  color: #315d48;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.staff-form {
  display: grid;
  gap: 0.9rem;
  max-width: 660px;
}
.staff-form > label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.staff-form input,
.staff-form select,
.staff-form textarea {
  border: 1px solid #a8b4a7;
  padding: 0.65rem 0.75rem;
  background: white;
  color: var(--ink);
  width: 100%;
  min-width: 0;
  border-radius: 3px;
}
.staff-form textarea {
  resize: vertical;
}
.staff-form .staff-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.staff-check input {
  width: 1.2rem;
  height: 1.2rem;
}
.staff-form .btn {
  justify-self: start;
}
.staff-actions,
.staff-tabs {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.staff-link {
  border: 0;
  background: none;
  font-size: 0.94rem;
  padding: 0.25rem 0.4rem;
}
.staff-form [role="status"]:empty {
  display: none;
}
.staff-form [role="status"] {
  color: #26513c;
}
.staff-form .failed {
  color: #903c31;
}
.staff-tabs {
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.6rem;
}
.staff-tabs a {
  padding: 0.5rem 0;
  font-size: 1rem;
}
.staff-tabs [aria-current] {
  font-weight: bold;
  border-bottom: 3px solid #486348;
}
.staff-scroll {
  overflow: auto;
}
.staff-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 0.94rem;
}
.staff-table th,
.staff-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  overflow-wrap: anywhere;
  vertical-align: top;
}
.staff-table th {
  color: #4d6053;
  font-size: 0.85rem;
}
.staff-table small {
  display: block;
}
.staff-summary {
  font-size: 1.05rem;
}
@media (max-width: 600px) {
  .staff-shell {
    padding-top: 12px;
  }
  .staff-panel {
    padding: 1rem;
  }
  .staff-table {
    min-width: 400px;
  }
}
