/**
 * S3 — Post-save "Connect your AI" layout.
 *
 * Stacks: warning callout → connection-details card → connect-your-AI card
 * (tab strip with per-client panels, plus the "other clients" inline link) →
 * verify-it-works info callout → footer button.
 *
 * Uses the shared primitives (Callout, Card, CopyField, CodeBlock, Tabs);
 * this file only contains rules that are scoped to the Screen 3 flow.
 */

.post-save-page {
  padding-top: var(--space-5);
  padding-bottom: var(--space-9);
}

.post-save-card {
  /* c-card already provides background/border/radius/padding; nudge the
     internal title so it aligns with the other Screen 3 headings (h3 scale
     instead of the h2 default used elsewhere in c-card). */
}

.post-save-card__title {
  font-size: var(--font-size-h3);
  margin-bottom: var(--space-4);
}

/* Stacked CopyField rows (connection details + ChatGPT tab). */
.post-save-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* Instruction sentence above each tab's snippet. Matches the design-spec
   muted body text used throughout the handoff. */
.post-save-instruction {
  margin: 0 0 var(--space-3);
  font-size: var(--font-size-small);
  line-height: var(--line-height-body);
  color: var(--text-secondary);
}

.post-save-instruction code {
  font-family: var(--font-mono);
  font-size: var(--font-size-mono);
  background: var(--bg-secondary);
  padding: 1px var(--space-xs);
  border-radius: var(--radius-sm);
}

/* Inline "Using another MCP client? …" link rendered below the tab strip /
   active panel. Small, secondary, links to the OSS README per the 2026-04-19
   scope review decision (no dedicated "Other" tab in v1). */
.post-save-other-clients {
  margin: var(--space-5) 0 0;
  font-size: var(--font-size-small);
  color: var(--text-secondary);
}

.post-save-other-clients a {
  color: var(--info-text);
  text-decoration: none;
}

.post-save-other-clients a:hover,
.post-save-other-clients a:focus-visible {
  text-decoration: underline;
}

/* "Verify it works" — two monospace prompt chips, one per line. Both the
   EN and ET example are rendered regardless of active locale, per spec. */
.post-save-verify__examples {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.post-save-verify__chip {
  align-self: flex-start;
  max-width: 100%;
  padding: var(--space-1) var(--space-3);
  background: var(--bg-primary);
  border: 0.5px solid var(--info-border);
  border-radius: var(--radius-pill);
  color: var(--info-text);
  font-family: var(--font-mono);
  font-size: var(--font-size-mono);
  line-height: 1.5;
  white-space: normal;
  word-break: break-word;
}

.post-save-footer {
  margin-top: var(--space-5);
  display: flex;
  justify-content: flex-end;
}
