/* ==========================================================================
   ADAPT.CSS — Adaptive Panels V1: Chip + Resume Styles
   ========================================================================== */

.nx-adapt-section {
  padding: 0.6rem 0 0;
  border-top: 1px solid var(--border, #2d3348);
  margin-top: 0.6rem;
}

.nx-adapt__group {
  margin-bottom: 0.5rem;
}

.nx-adapt__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted, #64748b);
  margin: 0 0 0.35rem;
}

/* Chips */
.nx-adapt-chips {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nx-adapt-chip {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--border, #2d3348);
  background: transparent;
  color: var(--text, #e2e8f0);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.nx-adapt-chip:hover {
  border-color: var(--accent, #6366f1);
  background: var(--accent-dim, rgba(99, 102, 241, 0.12));
}

.nx-adapt-chip.is-active {
  border-color: var(--accent, #6366f1);
  background: var(--accent-dim, rgba(99, 102, 241, 0.12));
  color: var(--accent, #6366f1);
}

/* Resume chip — slightly more prominent */
.nx-adapt-chip--resume {
  border-color: var(--accent, #6366f1);
  color: var(--accent, #6366f1);
}

.nx-adapt-chip--resume:hover {
  background: var(--accent-dim, rgba(99, 102, 241, 0.18));
}

/* Reset link */
.nx-adapt-reset {
  background: none;
  border: none;
  color: var(--muted, #64748b);
  font-size: 0.72rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nx-adapt-reset:hover {
  color: var(--text, #e2e8f0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nx-adapt-chip {
    transition: none;
  }
}
