/* Concept previews reuse the shared type, controls, spacing, and state tokens. */
.success-view.has-concept { justify-content: flex-start; min-height: 0; width: 100%; margin-inline: auto; }
.concept-invitation, .concept-view { width: 100%; margin-top: var(--space-8); scroll-margin-top: var(--space-5); }
.concept-invitation { padding: var(--space-6); background: var(--color-selection); border-radius: var(--radius-control); }
.concept-invitation h3 { margin: 0 0 var(--space-3); font-size: var(--text-xl); font-weight: 500; line-height: 1.25; letter-spacing: -.035em; }
.concept-invitation p { margin: 0 0 var(--space-5); max-width: 540px; }
.concept-kicker { margin: 0 0 var(--space-3); color: var(--color-text-muted); font-size: var(--text-sm); }
.concept-view h3 { margin: 0 0 var(--space-4); font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl)); font-weight: 500; line-height: 1.1; letter-spacing: -.04em; }
.concept-view h3:focus, #concept-feedback-title:focus { outline: none; }
.concept-description { margin: 0 0 var(--space-6); max-width: 660px; font-size: var(--text-lg); line-height: 1.6; }
.concept-example { padding: var(--space-6); border: 1px solid var(--color-border-strong); border-radius: var(--radius-control); background: var(--color-surface); }
.concept-example-heading { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-5); }
.concept-example-heading h4 { margin: 0; font-size: var(--text-lg); font-weight: 500; line-height: 1.35; letter-spacing: -.025em; }
.concept-example-heading > span { color: var(--color-text-muted); font-size: var(--text-xs); white-space: nowrap; }
.concept-example dl { display: grid; gap: var(--space-3); margin: 0; }
.concept-example-row { display: grid; grid-template-columns: minmax(100px, .35fr) minmax(0, .65fr); gap: var(--space-4); padding: var(--space-3) var(--space-4); background: var(--color-canvas); border-radius: var(--radius-control); }
.concept-example dt { color: var(--color-text-muted); font-size: var(--text-sm); }
.concept-example dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.concept-example-note { margin: var(--space-4) 0 0; color: var(--color-text-muted); font-size: var(--text-xs); line-height: 1.6; }
.concept-caption { margin: var(--space-4) 0 var(--space-8); color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.6; }
.concept-feedback .ds-label { font-size: var(--text-base); }
.concept-feedback .ds-selection-grid { gap: var(--space-2); }
.concept-feedback .field { margin-bottom: var(--space-6); }
.concept-feedback .optional-context { margin-bottom: var(--space-5); }
.concept-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.concept-use-note { margin: var(--space-4) 0 0; max-width: 580px; color: var(--color-text-muted); font-size: var(--text-xs); line-height: 1.65; }
.concept-feedback-success { margin-top: var(--space-6); padding: var(--space-6); border-radius: var(--radius-control); background: var(--color-selection); }
.concept-feedback-success h4 { margin: 0 0 var(--space-2); font-size: var(--text-xl); font-weight: 500; line-height: 1.25; }
.concept-feedback-success p { margin: 0; }
@media (max-width: 540px) {
  .concept-invitation, .concept-example, .concept-feedback-success { padding: var(--space-4); }
  .concept-description { font-size: var(--text-base); }
  .concept-example-heading { align-items: flex-start; flex-direction: column; gap: var(--space-1); }
  .concept-example-row { grid-template-columns: 1fr; gap: var(--space-1); padding: var(--space-3); }
  .concept-actions > button { width: 100%; }
}
