/* Connect your compute: the Connections page (pages/connections.css draws its lists, its Claude Code block and its
   sheet, under .conn-page) on a first-run measure, narrower than the console's, so a row's facts stay close to its
   name on a page read top to bottom; the way on (Skip for now, Done) sits at the head's end, in view from the start,
   as a page's actions do. Every rule is under the page, so nothing here reaches another page or a dialog. Tokens
   from styles.css only. */

.page[data-page="connect"] { max-width: 920px; gap: 32px; }
.page[data-page="connect"] .page-head { align-items: center; }
/* a phone has no room beside the title for Skip for now: the way on sits under it, Done in the same place */
@media (max-width: 599px) {
  .page[data-page="connect"] .page-head .page-actions { flex-basis: 100%; }
}

/* Give this to your coding agent, first: its title on the rule's line with the agents' marks at the head's end, the
   line in the dark bar the landing and the Connect dialog draw (styles.css .home-setup-line), as wide as the rows
   under it, then one sentence. A container, so the bar's narrow rules (styles.css) follow the page's width. */
.page[data-page="connect"] .conn-handoff { container-type: inline-size; }
.page[data-page="connect"] .conn-handoff-note { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }

/* A payment method before the first job, the page's first block for a workspace that must link one
   (pages/connections.js methodBlock). With none on file: a group as the others are, its title on the rule's line,
   one sentence, and the one action under it; what the action could not do is said under the action. With one on
   file: a quiet line between hairlines that names it, its disc before it, and Add credit at its end. A slot with
   nothing in it takes no room. */
.page[data-page="connect"] .conn-method-slot[hidden] { display: none; }
.page[data-page="connect"] .conn-method { row-gap: 12px; padding-bottom: 4px; }
.page[data-page="connect"] .conn-method-about { max-width: 62ch; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.page[data-page="connect"] .conn-method-act { display: flex; flex-wrap: wrap; gap: 10px; }
.page[data-page="connect"] .conn-method-said { font-size: 13px; line-height: 1.45; color: var(--bad); }
.page[data-page="connect"] .conn-method-said[hidden] { display: none; }
.page[data-page="connect"] .conn-method-done {
  display: flex; align-items: center; gap: 12px 16px; padding: 12px 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.page[data-page="connect"] .conn-method-line { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; line-height: 1.5; }
.page[data-page="connect"] .conn-method-line > .glyph { flex: none; color: var(--ink); transform: translateY(1px); }
.page[data-page="connect"] .conn-method-line b { font-weight: 600; }
.page[data-page="connect"] .conn-method-line span { color: var(--ink-2); }
.page[data-page="connect"] .conn-method-line span b { color: var(--ink); }
.page[data-page="connect"] .conn-method-done > .btn { flex: none; text-decoration: none; }
@media (max-width: 599px) {
  /* a phone has no room beside the line for Add credit: it goes under it, on the words' edge */
  .page[data-page="connect"] .conn-method-done { flex-wrap: wrap; }
  .page[data-page="connect"] .conn-method-line { flex: 1 1 100%; }
  .page[data-page="connect"] .conn-method-done > .btn { margin-left: 20px; }
  .page[data-page="connect"] .conn-method-act > .btn { flex: 1 1 100%; }
}
