.staff-section {
  background: #f5f9ff;
  color: #25234b;
  padding: 56px 24px 130px;
  min-height: 65vh;
}
.staff-wrap {
  max-width: 1000px;
  margin: auto;
}
.staff-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
}
.staff-heading h1,
.staff-login h1 {
  font-size: 38px;
  line-height: 1.2;
  margin: 12px 0;
}
.staff-eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  color: #195ac1;
  font-weight: 700;
}
.staff-card {
  padding: 32px;
  background: white;
  border-top: 3px solid #257cff;
  margin-bottom: 24px;
  box-shadow: 0 12px 32px #22364b08;
  overflow-wrap: anywhere;
}
.staff-card h2 {
  font-size: 26px;
  margin: 0 0 20px;
}
.staff-card h3 {
  font-size: 20px;
  margin-top: 28px;
}
.staff-card p {
  line-height: 1.7;
}
.staff-login {
  max-width: 560px;
  margin: 32px auto;
}
.staff-section fieldset {
  border: 0;
  padding: 0;
  min-width: 0;
}
.staff-section label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin: 20px 0 8px;
}
.staff-section input,
.staff-section select,
.staff-section textarea {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #9daec4;
  border-radius: 4px;
  color: #25234b;
  background: white;
  font: inherit;
}
.staff-section textarea {
  min-height: 100px;
}
.staff-section button {
  background: white;
  border: 1px solid #8d9cb2;
  border-radius: 4px;
  padding: 12px 20px;
  min-height: 48px;
  color: #25234b;
  font: inherit;
  cursor: pointer;
}
.staff-section .staff-primary {
  background: #1b60cc;
  color: white;
  border-color: #1b60cc;
  margin-top: 24px;
}
.staff-section :is(button, input, select, textarea, a):focus-visible {
  outline: 3px solid #1b60cc;
  outline-offset: 3px;
}
.staff-section button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.staff-section input[type="checkbox"] {
  width: 20px;
  min-height: 20px;
  height: 20px;
  flex-shrink: 0;
}
.staff-section .staff-check {
  display: flex;
  align-items: center;
  gap: 12px;
}
.staff-notice {
  background: #edf5ff;
  padding: 16px;
}
.staff-muted {
  font-size: 13px;
  color: #596174;
}
.staff-error {
  color: #a92218;
}
.staff-reference {
  font-size: 12px;
  letter-spacing: 0.4px;
  color: #596174;
  overflow-wrap: anywhere;
}
.staff-list,
.staff-documents {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.staff-list > li,
.staff-documents > li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid #dce5f0;
  min-width: 0;
}
.staff-list > li > div,
.staff-documents > li > span {
  min-width: 0;
}
.staff-list a {
  font-weight: 700;
  font-size: 19px;
  color: #195ac1;
}
.staff-list p {
  margin: 8px 0 0;
}
.staff-badge {
  background: #edf5ff;
  color: #195ac1;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 8px 12px;
  white-space: nowrap;
}
.staff-details > div {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 20px;
  border-bottom: 1px solid #dce5f0;
  padding: 14px 0;
}
.staff-details dt {
  color: #596174;
  font-size: 14px;
}
.staff-details dd {
  margin: 0;
}
.staff-pagination {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.staff-back {
  display: inline-block;
  color: #195ac1;
  margin: 0 0 24px;
}
.staff-history {
  padding-left: 20px;
}
.staff-history li {
  border-bottom: 1px solid #dce5f0;
  padding: 16px 0;
  font-size: 13px;
}
.staff-history summary {
  cursor: pointer;
  color: #195ac1;
}
.staff-section :is(input, button, select, textarea) {
  scroll-margin-block: 120px;
}
.staff-section ~ .mobile-actions {
  display: none;
}
@media (max-width: 600px) {
  .staff-section {
    padding: 32px 16px 130px;
  }
  .staff-card {
    padding: 24px 20px;
  }
  .staff-heading h1,
  .staff-login h1 {
    font-size: 28px;
  }
  .staff-heading {
    align-items: flex-start;
  }
  .staff-heading button {
    padding: 10px 12px;
    white-space: nowrap;
  }
  .staff-details > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .staff-list > li {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .staff-documents > li {
    gap: 12px;
    align-items: flex-start;
  }
  .staff-documents button {
    padding: 10px 12px;
  }
  .staff-login {
    margin: 0;
  }
}
.staff-heading + .staff-notice {
  margin: 0 0 24px;
}
.staff-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 16px;
  margin: 8px 0 12px;
}
.staff-section .staff-filters label {
  margin: 16px 0 8px;
}
.staff-filter-wide {
  grid-column: 1/-1;
}
.staff-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.staff-section .staff-filter-actions button {
  margin-top: 20px;
}
@media (max-width: 600px) {
  .staff-filters {
    grid-template-columns: 1fr;
  }
}
.staff-section button[aria-disabled="true"] {
  opacity: 0.55;
  cursor: progress;
}
.staff-section .staff-saved {
  margin: 0 0 24px;
}
.staff-filters {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
}
.staff-notes {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.staff-notes > li {
  border-top: 1px solid #dce5f0;
  padding: 14px 0;
}
.staff-notes p {
  margin: 0 0 6px;
}
.staff-note-text {
  white-space: pre-wrap;
}
@media (max-width: 900px) {
  .staff-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .staff-filters {
    grid-template-columns: 1fr;
  }
}
.staff-section .staff-edit {
  margin: 4px 0 12px;
}
.staff-edit-form {
  margin: 0 0 16px;
}
.staff-verified {
  color: #596174;
  font-size: 13px;
}
.staff-upload {
  margin: 8px 0 16px;
}
.staff-upload legend {
  font-size: 18px;
  font-weight: 600;
  padding: 0;
  margin: 16px 0 0;
}
.staff-section input[type="file"] {
  padding: 10px;
}
.staff-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.staff-section .staff-card-heading h2 {
  margin: 0;
}
.staff-section .staff-new {
  display: inline-block;
  background: #1b60cc;
  color: white;
  border-radius: 4px;
  padding: 12px 20px;
  font-weight: 600;
  text-decoration: none;
}
.staff-create section {
  border-top: 1px solid #dce5f0;
  margin-top: 28px;
}
.staff-section .staff-filter-actions a {
  align-self: center;
  margin-top: 20px;
  color: #195ac1;
}
.staff-section .staff-link-disabled {
  color: #596174;
  cursor: not-allowed;
}
.staff-section .staff-filter-actions .staff-link-disabled {
  align-self: center;
  margin-top: 20px;
}
