/* A project that grows (BB-59): the first screen, what the first look found, «Що далі», the sections still to come.
   The kit's shapes and tokens; the colour of the signal only where something has just come to life. */

/* ── the first screen ── */
.grow-first { padding-top: 48px; }
.grow-hero { margin-bottom: 22px; }
.grow-hero .neuron { width: 44px; height: 44px; display: block; margin-bottom: 14px; color: var(--fg); }
.grow-hero .over { margin-bottom: 6px; }
.grow-hero .h1 { max-width: 620px; text-wrap: balance; }
.grow-hero .sub { margin-top: 8px; max-width: 600px; font-size: 14px; }
.grow-steps { padding: 6px 20px; }
.grow-step { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; }
.grow-step + .grow-step { border-top: 1px solid var(--border); }
.grow-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 12px; font-weight: 700; background: var(--bg-subtle); color: var(--fg-muted); }
.grow-n svg { width: 13px; height: 13px; stroke-width: 2.5; }
.grow-n .spin { width: 12px; height: 12px; color: var(--signal); }
.grow-step.done .grow-n { background: var(--success-95); color: var(--success-fg); }
.grow-b { flex: 1; min-width: 0; }
.grow-b .h3 { font-size: 15px; }
.grow-b .sub { margin-top: 4px; max-width: 560px; }
.grow-b .link { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.grow-skip { margin-top: 14px; gap: 12px; flex-wrap: wrap; }

/* ── what the first look found: one sheet, a line per finding ── */
.grow-find { align-items: flex-start; }
.grow-find > .grow { overflow-wrap: anywhere; }
.grow-acts { gap: 6px; justify-content: flex-end; flex: none; max-width: 52%; }
.grow-acts .btn > .logo.xs { margin-right: -1px; }

/* ── «Що далі» ── */
.grow-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.grow-row + .grow-row { border-top: 1px solid var(--border); }
.grow-row .tile { align-self: flex-start; margin-top: 2px; }
/* in the narrow column of «Сьогодні» every step is laid out the same way: the words take the row, «не зараз» stands
   in the corner, the button under the words. (The row used to wrap: a long button pushed the cross to a line of its
   own, a short one did not, and two steps of one card looked different.) */
.grow-next.compact .grow-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ic words x" ". act act"; align-items: start; column-gap: 10px; row-gap: 8px; padding: 10px 0; }
.grow-next.compact .grow-row > .tile { grid-area: ic; margin-top: 0; }
.grow-next.compact .grow-row > .grow { grid-area: words; }
.grow-next.compact .grow-row > .btn { grid-area: act; justify-self: start; }
.grow-next.compact .grow-row > .icon-btn { grid-area: x; margin: -4px -6px 0 0; }
.grow-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; }
.grow-more svg { width: 12px; height: 12px; }

/* ── on «Апки»: the sections of the rail, the tools the mailbox gave away ── */
.grow-secs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.grow-sec { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-lg); border: 1px dashed var(--border-strong); background: var(--bg-muted); min-width: 0; }
.grow-sec.in { border-style: solid; border-color: var(--border); background: var(--paper); }

/* (a section that has just come into the rail: the word «нове» beside it, as for a new thing, web/news.css .nav-new;
   its icon keeps its colour, BB-139) */

@media (max-width: 720px) { .grow-find { flex-wrap: wrap; } .grow-find > .grow { flex-basis: calc(100% - 80px); } .grow-acts { max-width: 100%; justify-content: flex-start; padding-left: 36px; } .grow-first { padding-top: 22px; } .grow-steps { padding: 2px 14px; } .grow-secs { grid-template-columns: minmax(0, 1fr); } }
