/* CP09 WIP01 · Discovery need-first UX I2 */

.nhx-discovery__fit {
  margin-top: 1rem;
  border-color: rgba(121, 202, 22, .28);
}

.nhx-discovery__fit-title {
  display: block;
  margin: .55rem 0 .45rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  color: var(--nhx-accent);
}

.nhx-discovery__fit .nhx-actions {
  margin-top: 1rem;
}

/*
 * The deterministic evidence remains in the response contract for traceability,
 * but CP09 no longer exposes implementation-oriented evidence drawers in the
 * public journey. The visible reading + fit reason are the user-facing explanation.
 */
.nhx-discovery__evidence-details {
  display: none !important;
}

.nhx-discovery__handoff-intro {
  max-width: 760px;
  margin-bottom: 1.25rem;
}

.nhx-discovery-orientation {
  margin-top: 1rem;
}

.nhx-discovery-orientation__form {
  border: 1px solid var(--nhx-border, rgba(255, 255, 255, .12));
  border-radius: 20px;
  padding: clamp(1rem, 2.5vw, 1.6rem);
  background: var(--nhx-surface, rgba(255, 255, 255, .035));
  color: var(--nhx-text, #fff);
}

.nhx-discovery-orientation__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.nhx-discovery-orientation .nhx-field {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.nhx-discovery-orientation .nhx-field--full {
  grid-column: 1 / -1;
}

.nhx-discovery-orientation .nhx-field label,
.nhx-discovery-orientation .nhx-consent-row label {
  color: var(--nhx-text, #fff);
  font-weight: 700;
}

.nhx-discovery-orientation .nhx-field label span {
  font-weight: 500;
  color: var(--nhx-text-soft, #b9bfc5);
}

.nhx-discovery-orientation input,
.nhx-discovery-orientation select,
.nhx-discovery-orientation textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--nhx-control-border, rgba(255, 255, 255, .2));
  border-radius: 12px;
  background: var(--nhx-control-bg, #111);
  color: var(--nhx-control-text, #fff);
  caret-color: var(--nhx-control-text, #fff);
  padding: .75rem .85rem;
}

.nhx-discovery-orientation input::placeholder,
.nhx-discovery-orientation textarea::placeholder {
  color: var(--nhx-text-soft, #b9bfc5);
  opacity: .72;
}

.nhx-discovery-orientation select option {
  background: var(--nhx-surface, #111);
  color: var(--nhx-text, #fff);
}

.nhx-discovery-orientation textarea {
  min-height: 130px;
  resize: vertical;
}

.nhx-discovery-orientation .nhx-consent-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .7rem;
  margin-top: 1.1rem;
}

.nhx-discovery-orientation .nhx-consent-row input {
  width: 20px;
  min-height: 20px;
  margin-top: .1rem;
}

.nhx-discovery-orientation .nhx-actions {
  margin-top: 1.15rem;
}

.nhx-discovery-page .nhx-nav__item--has-submenu {
  display: none;
}

@media (max-width: 720px) {
  .nhx-discovery-orientation__grid {
    grid-template-columns: 1fr;
  }

  .nhx-discovery-orientation .nhx-field--full {
    grid-column: auto;
  }
}
