.pp-action-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 9px;
}

.pm-action.pp-edit {
  border: 0 !important;
  background: #0868dc !important;
  color: #fff !important;
}

.pm-action.pp-password {
  border: 1px solid #d7a527 !important;
  background: #fff8df !important;
  color: #855b00 !important;
}

#pp-modal {
  position: fixed;
  inset: 0;
  z-index: 120000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(3, 17, 42, .68);
  backdrop-filter: blur(5px);
}

#pp-modal[hidden] {
  display: none !important;
}

.pp-card {
  width: min(760px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
}

.pp-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 25px;
  border-bottom: 1px solid #e1e9f4;
  background: #fff;
}

.pp-head small {
  color: #1772df;
  font-weight: 800;
  letter-spacing: .08em;
}

.pp-head h2 {
  margin: 4px 0 0;
  color: #09275a;
  font-size: 22px;
}

#pp-close {
  width: 39px;
  height: 39px;
  border: 0;
  border-radius: 12px;
  background: #edf4ff;
  color: #075dcc;
  font-size: 24px;
  cursor: pointer;
}

#pp-form {
  padding: 24px 25px 28px;
}

.pp-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pp-extra {
  margin-top: 17px;
}

.pp-field {
  display: grid;
  gap: 7px;
}

.pp-field.full {
  grid-column: 1 / -1;
}

.pp-field span {
  color: #19375e;
  font-size: 13px;
  font-weight: 800;
}

.pp-field input,
.pp-field select,
.pp-field textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbd8e9;
  border-radius: 12px;
  background: #fff;
  color: #14233e;
  font: inherit;
  outline: none;
}

.pp-field textarea {
  min-height: 90px;
  resize: vertical;
}

.pp-field input:focus,
.pp-field select:focus,
.pp-field textarea:focus {
  border-color: #087cf0;
  box-shadow:
    0 0 0 3px
    rgba(8, 124, 240, .12);
}

.pp-footer {
  display: flex;
  justify-content: flex-end;
  gap: 11px;
  margin-top: 24px;
}

.pp-footer button {
  min-height: 43px;
  padding: 0 19px;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

#pp-cancel {
  border: 1px solid #ccd8e8;
  background: #fff;
  color: #24405f;
}

#pp-save {
  border: 0;
  background: #075dcc;
  color: #fff;
}

#pp-save:disabled {
  opacity: .55;
  cursor: wait;
}

.pp-loading,
.pp-error,
.pp-notice {
  margin-bottom: 18px;
  padding: 15px;
  border-radius: 12px;
}

.pp-loading {
  background: #edf5ff;
  color: #15589f;
}

.pp-error {
  background: #fff0f0;
  color: #a61f1f;
}

.pp-notice {
  background: #fff8df;
  color: #765200;
}

body.pp-locked {
  overflow: hidden;
}

@media (max-width: 650px) {
  .pp-grid {
    grid-template-columns: 1fr;
  }

  .pp-field.full {
    grid-column: auto;
  }
}
