.pm-request-checker {
  box-sizing: border-box;
  width: 100%;
  max-width: 900px;
  margin: 24px auto;
  padding: 28px;
  background: #fff;
  border: 1px solid #d9dde3;
  border-radius: 10px;
  box-shadow: 0 8px 26px rgba(0,0,0,.08);
  color: #222;
}
.pm-request-checker *,
.pm-request-checker *::before,
.pm-request-checker *::after {
  box-sizing: border-box;
}
.pm-gate-header h2,
.pm-gate-result h3 {
  margin-top: 0;
}
.pm-gate-header h2 {
  text-align: center;
}
.pm-gate-header p {
  margin-bottom: 0;
}
.pm-gate-rule {
  margin-top: 14px !important;
  padding: 12px 14px;
  border-left: 4px solid #c43d24;
  background: #fff7f3;
}
.pm-gate-question {
  margin: 24px 0 0;
  padding: 20px;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
}
.pm-gate-question legend {
  padding: 0 6px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}
.pm-gate-help {
  margin: 0 0 14px;
  color: #5f6670;
}
.pm-gate-answer-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.pm-request-checker .pm-gate-answer {
  min-height: 54px;
  padding: 11px 14px;
  border: 2px solid #aeb6bf !important;
  border-radius: 7px;
  background: #f7f8f9 !important;
  color: #2b2f33 !important;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  width: 100%;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.35;
  box-shadow: none !important;
}
.pm-request-checker .pm-gate-answer:hover,
.pm-request-checker .pm-gate-answer:focus {
  border-color: #68717c !important;
  background: #eef0f2 !important;
  color: #1f2327 !important;
  outline: none;
}
.pm-request-checker .pm-gate-answer.pm-gate-selected {
  border-color: #1d6f42 !important;
  background: #edf8f1 !important;
  color: #185c37 !important;
}
.pm-gate-result {
  margin-top: 22px;
  padding: 22px;
  border-radius: 8px;
}
.pm-gate-result-change {
  border: 2px solid #1d6f42;
  background: #f2fbf5;
}
.pm-gate-result-new {
  border: 3px solid #c43d24;
  background: #fff3ef;
}
.pm-gate-result-new h3 {
  color: #a72c18;
  font-size: 24px;
  text-transform: uppercase;
}
.pm-gate-example {
  margin: 16px 0;
  padding: 14px;
  border-left: 4px solid #c43d24;
  background: #fff;
}
.pm-gate-confirm-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0;
  font-weight: 700;
}
.pm-gate-confirm-row input {
  margin-top: 4px;
}
.pm-gate-continue {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 6px;
  background: #1d6f42;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
}
.pm-gate-new-button {
  background: #c43d24;
}
.pm-gate-disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}
.pm-gate-direct-warning {
  margin: -4px 0 22px;
  padding: 14px 16px;
  border-radius: 7px;
  background: #fff3cd;
  border: 1px solid #e7c766;
}
.pm-gate-direct-warning strong,
.pm-gate-direct-warning span {
  display: block;
}
.pm-gate-direct-warning strong {
  margin-bottom: 4px;
  font-size: 18px;
}
.pm-change-gate-locked {
  overflow: hidden !important;
}
.pm-change-gate-locked .wpforms-container {
  display: none !important;
}
.pm-request-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  overflow-y: auto;
  padding: 30px 16px;
  background: rgba(20,24,30,.78);
}
.pm-request-gate-overlay-inner {
  display: flex;
  min-height: calc(100vh - 60px);
  align-items: flex-start;
  justify-content: center;
}
.pm-request-checker-overlay-card {
  margin: 0;
}
@media (max-width: 700px) {
  .pm-request-checker {
    padding: 20px;
  }
  .pm-gate-answer-row {
    grid-template-columns: 1fr;
  }
  .pm-gate-question {
    padding: 16px;
  }
}
