.selector-recovery-card {
  border-color: #f0c984;
  background: #fffaf0;
}

.selector-recovery-subtitle {
  margin: 0 0 12px;
  color: #7a5417;
  font-size: 13px;
  line-height: 1.5;
}

.selector-near-list {
  display: grid;
  gap: 10px;
}

.selector-near-card {
  overflow: hidden;
  border: 1px solid #ead9b8;
  border-radius: 10px;
  background: #fff;
}

.selector-near-card .project-card {
  width: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.selector-near-checks {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 10px 12px;
  border-top: 1px solid #edf1f7;
  list-style: none;
}

.selector-near-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.selector-near-check small {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 2px 8px;
  background: #eef2f7;
  color: #536170;
}

.selector-near-check-matched small {
  background: #e7f7ed;
  color: #247046;
}

.selector-near-check-conflict small {
  background: #fff0e9;
  color: #a33e19;
}

.selector-near-check-unverified small {
  background: #f1f3f6;
  color: #596575;
}

.selector-near-context {
  padding: 0 12px 12px;
  color: #6f4c18;
}

.selector-near-context p,
.selector-near-context small {
  display: block;
  margin: 0;
  line-height: 1.5;
}

.selector-near-context small {
  margin-top: 4px;
  color: var(--muted);
}

.selector-relax-card {
  border-style: dashed;
}

.selector-relax-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.selector-relax-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  margin: 0;
  padding: 8px 12px;
}

.selector-relax-button small {
  opacity: .75;
}

.selector-relaxed-notice {
  border-color: #d49b38;
  background: #fff7e6;
}

.selector-relaxed-notice p {
  margin: 6px 0 0;
  color: #755019;
  line-height: 1.5;
}

.selector-requirement-context {
  margin: 10px 0;
  padding: 12px 14px;
  border: 1px solid #dfe6ef;
  border-radius: 10px;
  background: #f8fafc;
}

.selector-requirement-context ul {
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
  padding-left: 20px;
}

.selector-requirement-context small {
  color: var(--muted);
}

.selector-pending-context {
  border-color: #ecd8ad;
  background: #fffaf0;
}

.selector-pending-context li small {
  display: block;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .selector-near-check {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .selector-relax-button {
    justify-content: space-between;
    width: 100%;
  }
}
