/* "What should we build next?" card on Account › Integrations (next-app-survey.js). Portal tokens, so the
   dark theme follows. */
.next-app-survey { margin: 0 0 24px; padding: 20px 22px 22px; border: 1px solid var(--portal-line); border-radius: 16px;
  background: var(--portal-accent-soft, #f0edfe); color: var(--portal-ink); }
.next-app-survey form { display: grid; gap: 16px; margin: 0; }
.next-app-survey h2 { margin: 4px 0 4px; font-size: 20px; letter-spacing: -.02em; text-wrap: balance; }
.next-app-survey p { margin: 0; color: var(--portal-muted); }
.next-app-survey-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 8px;
  margin: 0; padding: 0; border: 0; min-width: 0; }
.next-app-option { position: relative; display: block; cursor: pointer; }
.next-app-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.next-app-option > span { display: grid; gap: 2px; min-height: 44px; padding: 11px 14px; border: 1px solid var(--portal-line); border-radius: 12px;
  background: var(--portal-surface, #fff); transition: border-color 140ms ease, background-color 140ms ease; }
.next-app-option strong { font-size: 14px; font-weight: 650; }
.next-app-option small { color: var(--portal-muted); font-size: 12px; line-height: 1.35; }
.next-app-option:hover > span { border-color: var(--portal-violet-dark); }
.next-app-option input:checked + span { border-color: var(--portal-action, #4919f5); box-shadow: inset 0 0 0 1px var(--portal-action, #4919f5);
  background: color-mix(in srgb, var(--portal-action, #4919f5) 12%, var(--portal-surface, #fff)); }
.next-app-option input:checked + span strong::before { content: "✓ "; color: var(--portal-violet-dark); }
.next-app-option input:focus-visible + span { outline: 3px solid var(--portal-violet-dark); outline-offset: 2px; }
.next-app-option input:disabled { cursor: not-allowed; }
.next-app-option input:disabled + span { opacity: .5; }
.next-app-survey-other { display: grid; gap: 6px; max-width: 420px; font-size: 13px; font-weight: 600; }
.next-app-survey-other .portal-input { font-weight: 400; }
.next-app-survey-error { color: var(--portal-danger); font-size: 13px; }
.next-app-survey-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.next-app-survey.is-done { padding-bottom: 20px; }
@media (max-width: 520px) {
  .next-app-survey { padding: 18px 16px; }
  .next-app-survey-actions > * { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .next-app-option > span { transition: none; } }
@media (forced-colors: active) { .next-app-option input:checked + span { outline: 2px solid Highlight; } }
