.mobile-staff-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 16px;
  background: #0007;
}
.mobile-staff-access {
  width: min(380px, 100%);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  box-sizing: border-box;
  padding: 22px;
  background: #fff;
  color: #222;
  border-radius: 12px;
  box-shadow: 0 12px 40px #0003;
}
.mobile-staff-access h2 {
  margin: 0 0 16px;
  font-size: 22px;
}
.mobile-staff-access label {
  display: block;
  margin: 12px 0;
  font-weight: 500;
}
.mobile-staff-access input,
.mobile-staff-access select {
  display: block;
  width: 300px;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  margin-top: 6px;
  border: 1px solid #bbb;
  border-radius: 6px;
  background: #fff;
  color: inherit;
}
.mobile-staff-access input[readonly] {
  font-size: 14px;
}
.mobile-staff-access button {
  margin: 10px 8px 0 0;
  padding: 10px 14px;
  border: 1px solid #227c69;
  border-radius: 6px;
  background: #227c69;
  color: #fff;
  cursor: pointer;
}
.mobile-staff-access button:disabled {
  opacity: 0.5;
  cursor: default;
}
.mobile-staff-access button[data-mobile-staff-action="close"] {
  background: #fff;
  color: #444;
  border-color: #bbb;
}
.mobile-staff-access button[data-mobile-staff-action="confirm"] {
  background: #a83232;
  border-color: #a83232;
}
.mobile-staff-access p {
  overflow-wrap: anywhere;
  line-height: 1.45;
}
.mobile-staff-error {
  color: #a32222;
}
.mobile-staff-target {
  padding: 10px;
  background: #f4f6f7;
  border-radius: 6px;
}
.mobile-staff-help {
  color: #545454;
  font-size: 14px;
}
/* Source popup geometry, with viewport containment for narrow mobile screens. */
.mobile-staff-access[data-staff-kind="invite"] {
  width: min(600px, 100%);
  min-height: 280px;
  padding: 20px;
  border-radius: 20px;
}
.mobile-staff-access[data-staff-kind="invite"] form {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mobile-staff-access[data-staff-kind="invite"] label {
  width: 300px;
  max-width: 100%;
  margin-top: 10px;
}
.mobile-staff-access[data-staff-kind="invite"] input,
.mobile-staff-access[data-staff-kind="invite"] select {
  min-width: 100px;
  height: 48px;
}
.mobile-staff-access[data-staff-kind="invite"] button {
  min-width: 60px;
  min-height: 44px;
}
.mobile-staff-access[data-staff-kind="link"] {
  min-height: 200px;
}
.mobile-staff-access[data-staff-kind="remove"] {
  width: min(600px, 100%);
  min-height: 300px;
}
.mobile-staff-access[data-staff-kind="remove"] input {
  width: 250px;
  height: 48px;
}
@media (min-width: 392px) {
  .mobile-staff-access[data-staff-kind="invite"] {
    min-width: 360px;
  }
}
.mobile-staff-login-link {
  width: 150px;
  min-width: 125px;
  min-height: 28px;
  margin: 5px;
}
.mobile-staff-remove {
  width: 30px;
  min-height: 28px;
  margin: 5px;
  border-radius: 8px;
}
.mobile-section-staffs .round-add {
  min-width: 32px;
  min-height: 32px;
  margin-left: 10px;
}
