.polanger-shield-menu-indicator {
  align-items: center;
  background: #eef4ff;
  border: 1px solid #b8cdf8;
  border-radius: 50%;
  color: #2859c5;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 24px;
  height: 24px;
  justify-content: center;
  margin: 0;
  padding: 0;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, color 150ms ease;
  width: 24px;
}

.polanger-shield-menu-indicator .dashicons {
  font-size: 17px;
  height: 17px;
  line-height: 1;
  width: 17px;
}

.polanger-shield-menu-indicator:hover,
.polanger-shield-menu-indicator:focus-visible {
  background: #2859c5;
  border-color: #2859c5;
  box-shadow: 0 0 0 3px rgba(40, 89, 197, 0.16);
  color: #fff;
  outline: 0;
}

.polanger-shield-menu-dialog-source[hidden],
.polanger-shield-menu-modal[hidden] {
  display: none !important;
}

.polanger-shield-menu-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 24px;
  position: fixed;
  transition: opacity 160ms ease;
  z-index: 100100;
}

.polanger-shield-menu-modal.is-open {
  opacity: 1;
}

.polanger-shield-menu-modal__backdrop {
  background: rgba(9, 17, 34, 0.58);
  inset: 0;
  position: absolute;
}

.polanger-shield-menu-modal__dialog {
  background: #fff;
  border: 1px solid #d9e1ef;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(14, 28, 55, 0.24);
  max-height: min(680px, calc(100vh - 48px));
  max-width: 620px;
  overflow: hidden;
  position: relative;
  transform: translateY(10px) scale(0.985);
  transition: transform 160ms ease;
  width: 100%;
}

.polanger-shield-menu-modal.is-open .polanger-shield-menu-modal__dialog {
  transform: translateY(0) scale(1);
}

.polanger-shield-menu-modal__header {
  align-items: center;
  background: linear-gradient(135deg, #f5f8ff, #eef3ff);
  border-bottom: 1px solid #dfe7f4;
  display: flex;
  justify-content: space-between;
  padding: 18px 20px;
}

.polanger-shield-menu-modal__heading {
  align-items: center;
  display: flex;
  gap: 11px;
  min-width: 0;
}

.polanger-shield-menu-modal__heading > .dashicons {
  background: #2859c5;
  border-radius: 10px;
  color: #fff;
  flex: 0 0 34px;
  font-size: 20px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  width: 34px;
}

.polanger-shield-menu-modal__heading h2 {
  color: #14213d;
  font-size: 18px;
  line-height: 1.35;
  margin: 0;
}

.polanger-shield-menu-modal__close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #63708a;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 34px;
  height: 34px;
  justify-content: center;
  padding: 0;
  width: 34px;
}

.polanger-shield-menu-modal__close:hover,
.polanger-shield-menu-modal__close:focus-visible {
  background: #dfe8fb;
  color: #173c8f;
  outline: 0;
}

.polanger-shield-menu-modal__body {
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  padding: 22px;
}

.polanger-shield-menu-dialog-intro {
  color: #4d5a72;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 18px;
}

.polanger-shield-menu-dialog-section {
  background: #f8fafc;
  border: 1px solid #e1e7f0;
  border-radius: 12px;
  margin: 0 0 12px;
  padding: 15px;
}

.polanger-shield-menu-dialog-section h3 {
  align-items: center;
  color: #1c2942;
  display: flex;
  font-size: 13px;
  gap: 8px;
  margin: 0 0 11px;
}

.polanger-shield-menu-dialog-section h3 .dashicons {
  color: #2859c5;
  font-size: 17px;
  height: 17px;
  width: 17px;
}

.polanger-shield-menu-user-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.polanger-shield-menu-user-list li {
  align-items: center;
  background: #fff;
  border: 1px solid #d7e0ee;
  border-radius: 999px;
  color: #34425c;
  display: inline-flex;
  font-size: 12px;
  gap: 5px;
  line-height: 1.35;
  padding: 6px 10px;
}

.polanger-shield-menu-user-list .dashicons {
  color: #60708c;
  font-size: 15px;
  height: 15px;
  width: 15px;
}

.polanger-shield-menu-dialog-note {
  color: #68758c;
  font-size: 13px;
  margin: 0;
}

.polanger-shield-menu-dialog-actions {
  border-top: 1px solid #e2e8f1;
  margin-top: 18px;
  padding-top: 18px;
  text-align: right;
}

.polanger-shield-menu-modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .polanger-shield-menu-modal {
    align-items: flex-end;
    padding: 0;
  }

  .polanger-shield-menu-modal__dialog {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    max-height: 88vh;
    max-width: none;
  }

  .polanger-shield-menu-modal__header,
  .polanger-shield-menu-modal__body {
    padding: 16px;
  }

  .polanger-shield-menu-modal__heading h2 {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .polanger-shield-menu-indicator,
  .polanger-shield-menu-modal,
  .polanger-shield-menu-modal__dialog {
    transition: none;
  }
}
