.polanger-shield-demo-lock-grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.polanger-shield-demo-lock-grid__intro {
  margin: 0;
  color: #475569;
  font-size: 12.5px;
  line-height: 1.6;
}

.polanger-shield-demo-lock-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid #dbe4f0;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.polanger-shield-demo-lock-option input {
  margin-top: 3px;
}

.polanger-shield-demo-lock-option__content {
  display: grid;
  gap: 4px;
}

.polanger-shield-demo-lock-option__title {
  color: #0f172a;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
}

.polanger-shield-demo-lock-option__text {
  color: #475569;
  font-size: 12px;
  line-height: 1.6;
}

.polanger-shield-demo-lock-notice {
  margin: 16px 0 0;
}

.polanger-shield-demo-lock-notice.is-collapsed {
  display: flex;
  justify-content: flex-end;
}

.polanger-shield-demo-lock-banner-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(217, 119, 6, 0.24);
  border-radius: 999px;
  background: #fff;
  color: #b45309;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.polanger-shield-demo-lock-banner-toggle:hover,
.polanger-shield-demo-lock-banner-toggle:focus-visible {
  background: #fffbeb;
  color: #92400e;
  box-shadow: 0 16px 30px rgba(217, 119, 6, 0.14);
  transform: translateY(-1px);
  outline: 0;
}

.polanger-shield-demo-lock-banner-toggle .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 18px;
}

.polanger-shield-demo-lock-banner-toggle[hidden],
.polanger-shield-demo-lock-banner[hidden] {
  display: none !important;
}

.polanger-shield-demo-lock-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 16px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(217, 119, 6, 0.2);
  border-left: 4px solid #d97706;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.polanger-shield-demo-lock-banner__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
  color: #b45309;
  box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.16);
}

.polanger-shield-demo-lock-banner__icon .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 18px;
}

.polanger-shield-demo-lock-banner__copy {
  min-width: 0;
  flex: 1 1 auto;
}

.polanger-shield-demo-lock-banner__copy strong {
  display: block;
  margin: 0 0 4px;
  color: #7c2d12;
  font-size: 14px;
  line-height: 1.3;
}

.polanger-shield-demo-lock-banner__copy p {
  margin: 0;
  color: #92400e;
  font-size: 12.5px;
  line-height: 1.6;
}

.polanger-shield-demo-lock-banner__dismiss {
  flex: 0 0 auto;
  border: 1px solid rgba(217, 119, 6, 0.24);
  border-radius: 999px;
  background: #fff;
  color: #b45309;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.polanger-shield-demo-lock-banner__dismiss:hover,
.polanger-shield-demo-lock-banner__dismiss:focus-visible {
  background: #fffbeb;
  border-color: rgba(217, 119, 6, 0.38);
  color: #92400e;
  outline: 0;
}

.polanger-shield-toast {
  position: fixed;
  bottom: 16px;
  right: 16px;
  max-width: min(340px, calc(100vw - 24px));
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #fff;
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.24);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 999998;
}

.polanger-shield-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.polanger-shield-toast.is-error {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
}

.polanger-shield-demo-lock-control {
  opacity: 0.55 !important;
  filter: saturate(0.7);
  cursor: not-allowed !important;
  box-shadow: none !important;
}

.polanger-shield-demo-lock-control:hover,
.polanger-shield-demo-lock-control:focus-visible {
  transform: none !important;
}

.polanger-shield-demo-lock-control::after {
  content: none !important;
}

@media (max-width: 782px) {
  .polanger-shield-demo-lock-notice.is-collapsed {
    justify-content: flex-start;
  }

  .polanger-shield-demo-lock-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .polanger-shield-demo-lock-banner__dismiss {
    width: 100%;
    text-align: center;
  }
}
