body {
  --staff-background: light-dark(#f6f7f9, #17202a);
  --staff-surface: light-dark(#fff, #222d3a);
  --staff-text: light-dark(#18222e, #edf2f8);
  --staff-border: light-dark(#dce1e8, #4b596a);
  --staff-field-border: light-dark(#8190a3, #8292a6);
  --staff-link: light-dark(#174f8b, #a6ceff);
  --staff-error: light-dark(#a11b1b, #ffb8b8);
  background: var(--staff-background);
  color: var(--staff-text);
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  margin: 2rem auto;
  max-width: 64rem;
  padding: 0 1.5rem;
}
.staff-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
}
.staff-header nav { margin-inline-end: auto; }
.staff-header + main { min-width: 0; }
h1, h2, h3 { line-height: 1.2; }
a { color: var(--staff-link); }
.staff-custom :is(form, section) {
  background: var(--staff-surface);
  border: 1px solid var(--staff-border);
  border-radius: 0.6rem;
  margin: 1rem 0;
  padding: 1.25rem;
}
.staff-custom section form { border: 0; padding: 0; }
.staff-custom main label { display: block; margin: 0.65rem 0; }
.staff-custom input:not([type=checkbox], [type=hidden]) {
  display: block;
  width: min(95%, 28rem);
  padding: 0.65rem;
  border: 1px solid var(--staff-field-border);
  border-radius: 0.25rem;
  background: var(--staff-background);
  color: var(--staff-text);
  font: inherit;
}
.staff-custom button {
  background: #183b61;
  color: #fff;
  border: 1px solid #718cad;
  border-radius: 0.3rem;
  padding: 0.65rem 1rem;
  font: inherit;
  cursor: pointer;
}
:is(button, a, input, select):focus-visible {
  outline: 3px solid light-dark(#986017, #ffc16c);
  outline-offset: 3px;
}
.staff-custom fieldset { border: 1px solid var(--staff-border); margin: 1rem 0; }
.staff-custom fieldset label { display: inline-block; margin-right: 1rem; }
.validation-summary-errors, .field-validation-error { color: var(--staff-error); }
.authenticator-qr { display: block; max-width: 100%; height: auto; }
kbd { overflow-wrap: anywhere; }
