#policy-explorer {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  margin-top: clamp(28px, 3.4vw, 46px);
  border: 1px solid #4a5249;
  border-radius: 15px;
  background: #101412;
  color: #f1f2ec;
  overflow: hidden;
}
#policy-explorer:empty {
  display: none;
}
.pe-controls,
.pe-summary {
  min-width: 0;
  padding: clamp(22px, 3vw, 42px);
}
.pe-choice {
  padding: 0;
  margin: 0;
  border: 0;
  display: grid;
  gap: 12px;
}
.pe-choice legend {
  padding: 0;
  margin-bottom: 12px;
  font: 400 0.8rem/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #c8cec3;
}
.pe-option {
  position: relative;
  display: block;
  cursor: pointer;
}
.pe-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  clip-path: inset(50%);
  overflow: hidden;
}
.pe-card {
  display: block;
  padding: 16px 18px;
  border-radius: 11px;
  border: 1px solid #6d756b; /* >= 3.8:1 WCAG 1.4.11 */
  background: #0c0f0d;
  transition: border-color 0.18s, background-color 0.18s;
}
.pe-option:hover .pe-card {
  background: #151a17;
  border-color: #9ea69b;
}
.pe-option input:checked + .pe-card {
  border-color: var(--orange);
  background: linear-gradient(90deg, rgba(255, 122, 77, 0.11), rgba(16, 21, 18, 0.96) 65%);
}
.pe-option input:focus-visible + .pe-card {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.pe-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pe-card-top strong {
  font-size: 1.02rem;
  font-weight: 500;
  color: #f5f4f0;
}
.pe-card-top em {
  font: 400 0.72rem/1.3 var(--mono);
  font-style: normal;
  color: var(--orange-soft);
  background: rgba(255, 122, 77, 0.12);
  border: 1px solid rgba(255, 122, 77, 0.38);
  padding: 3px 8px;
  border-radius: 999px;
}
.pe-card-desc {
  display: block;
  margin-top: 6px;
  font-size: 0.89rem;
  line-height: 1.5;
  color: #c1c7bc;
}
.pe-footnote {
  margin-top: 16px;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #b7beb2;
}
.pe-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.pe-summary {
  background: #131815;
  border-left: 1px solid #353c35;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pe-badge {
  display: inline-block;
  font: 400 0.73rem/1.3 var(--mono);
  color: var(--green);
  background: rgba(159, 214, 138, 0.1);
  border: 1px solid rgba(159, 214, 138, 0.38);
  padding: 4px 10px;
  border-radius: 999px;
}
.pe-summary-head h3 {
  margin-top: 10px;
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  letter-spacing: -0.03em;
  color: #f4f5f0;
}
.pe-summary-head p {
  margin-top: 6px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #c2c8bd;
}
.pe-specs {
  margin: 0;
  display: grid;
  gap: 11px;
  border-top: 1px solid #2e352e;
  padding-top: 14px;
}
.pe-specs > div {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr);
  gap: 6px 16px;
  padding-bottom: 11px;
  border-bottom: 1px solid #262c26;
}
.pe-specs > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.pe-specs dt {
  font: 500 0.78rem/1.45 var(--mono);
  color: #e6eae0;
}
.pe-specs dd {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.5;
  color: #c1c7bc;
}
@media (max-width: 960px) {
  #policy-explorer {
    grid-template-columns: 1fr;
  }
  .pe-summary {
    border-left: 0;
    border-top: 1px solid #353c35;
  }
}
@media (max-width: 560px) {
  .pe-controls,
  .pe-summary {
    padding: 18px 16px;
  }
  .pe-specs > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .pe-actions {
    flex-direction: column;
  }
  .pe-actions .cta {
    width: 100%;
  }
}
