/* «Запуск завода» (content-launch.html): дорожка из восьми шагов слева, экран шага справа; на экранах уже 1280 px — полосой сверху.
   Вид — из макета mockups/site/app/content-launch.html (правки 20.10). */
.ln-wrap { max-width: 1180px; display: flex; flex-direction: column; gap: 16px; padding-bottom: 40px; }
.ln-top h2 { margin: 16px 0 6px; font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.ln-top p { margin: 0; max-width: 720px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.ln-grid { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 16px; }
.ln-steps { list-style: none; margin: 0; padding: 8px; display: flex; flex-direction: column; gap: 2px; background: var(--surface, #fff); border: 1px solid var(--line); border-radius: 16px; position: sticky; top: 16px; }
.ln-steps li { min-width: 0; }
.ln-st { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 0 10px; align-items: center; width: 100%; padding: 8px; border: 0; border-radius: 10px; background: none; text-align: left; font: inherit; }
.ln-st .n { grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line); font-size: 12px; font-weight: 700; color: var(--muted); }
.ln-st b { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.ln-st .need { font-size: 12px; line-height: 1.3; color: var(--muted); }
.ln-st.done, .ln-st.go { cursor: pointer; }
.ln-st.done:hover, .ln-st.go:hover { background: var(--blue-soft2, #F3F6FC); }
.ln-st.done:focus-visible, .ln-st.go:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.ln-st.done .n { background: var(--blue); border-color: var(--blue); color: #fff; }
.ln-st.done .n .i { width: 12px; height: 12px; stroke-width: 3; }
.ln-st.on { background: #EEF3FF; }
.ln-st.on .n { border-color: var(--blue); color: var(--blue); }
.ln-st.later b { color: var(--muted); }

.ln-card { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--surface, #fff); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-sm); min-width: 0; }
.ln-h { display: flex; flex-direction: column; gap: 4px; }
.ln-h .k { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ln-h h3 { margin: 0; font-size: 18px; font-weight: 800; color: var(--ink); }
.ln-h p { margin: 0; max-width: 680px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.ln-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.ln-sp { flex: 1; }
.ln-foot .btn .i { width: 16px; height: 16px; margin-left: 6px; }
.ln-card .field { max-width: 560px; margin: 0; }
.ln-card .field .cap { display: block; margin: 6px 0 0; }
.ln-card textarea { width: 100%; resize: vertical; }
.ln-card .field label .cap { font-weight: 400; display: inline; margin: 0; }
.ln-err { margin: 0; font-size: 15px; font-weight: 600; color: var(--m2-red-ink, #991B1B); } /* ошибки — 15 px полужирным, как на входе (APCA, 27.10) */

.ln-goal { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ln-goal b { font-size: 14px; color: var(--ink); }
.ln-goal .seg { flex-wrap: wrap; }
.ln-fold { border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; }
.ln-fold summary { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 0; cursor: pointer; list-style: none; }
.ln-fold summary::-webkit-details-marker { display: none; }
.ln-fold summary b { font-size: 14px; color: var(--ink); }
.ln-fold summary .i { margin-left: auto; width: 16px; height: 16px; color: var(--muted); transition: transform .15s; }
.ln-fold[open] summary .i { transform: rotate(180deg); }
.ln-fold .field { margin: 0 0 16px; }

/* шаг 1: ссылки списком, у каждой подпись; слова отдельным полем */
.ln-links { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.ln-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; align-items: center; }
.ln-link .field { margin: 0; }
.ln-link .icon-btn { grid-row: 1; grid-column: 2; }
.ln-lnote { grid-column: 1; display: flex; align-items: center; gap: 4px; padding-left: 2px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.ln-lnote[hidden] { display: none; }
.ln-lnote .i { flex: none; width: 12px; height: 12px; stroke-width: 3; color: #15803D; }
.ln-lnote.ok { color: var(--ink); }
.ln-lnote.warn { color: #B4470E; }
.ln-sec > .ln-lnk { align-self: flex-start; }
.ln-ro { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.5; color: var(--ink); }
.ln-ro .cap { display: block; }

.ln-note { display: flex; align-items: flex-start; gap: 6px; margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.ln-note .i { flex: none; width: 14px; height: 14px; margin-top: 2px; stroke-width: 3; color: #15803D; }
.ln-note.ok { color: var(--ink); }
.ln-note.warn { color: #B4470E; }
.ln-need { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: #EEF3FF; color: var(--blue-ink, #1D4ED8); font-size: 11px; font-weight: 700; line-height: 1.5; vertical-align: 1px; }
.ln-count { margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.ln-sec { display: flex; flex-direction: column; gap: 6px; }
.ln-sech { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ln-sech b { font-size: 14px; color: var(--ink); }
.ln-lnk { padding: 2px 0; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--blue); cursor: pointer; white-space: nowrap; }
.ln-lnk:hover { text-decoration: underline; }
.ln-lnk:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* шаг 2: проба карточкой, тарифы плитками в ряд */
.ln-opt { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; max-width: 560px; }
.ln-opt b { font-size: 15px; color: var(--ink); }
.ln-price { font-size: 20px; font-weight: 800; color: var(--ink); }
.ln-opt ul { margin: 0 0 8px; padding-left: 18px; font-size: 15px; line-height: 1.55; color: var(--muted); } /* APCA: 13.5 px мало */
.ln-opt .btn { align-self: flex-start; }
.ln-pvh { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
/* плитки тарифов (заглушки до кассы): одной высоты, кнопка — внизу плитки */
.ln-opt.ln-trial { max-width: none; } /* проба — по ширине ряда тарифов под ней */
.ln-opt + .ln-sec { margin-top: 16px; }
.ln-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 4px; }
.ln-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.ln-tile b { font-size: 16px; color: var(--ink); }
.ln-tile .ln-price { font-size: 20px; }
.ln-tile .btn { align-self: flex-start; margin-top: auto; }
.ln-tile > .cap { margin-bottom: 8px; }

/* шаг 3: ход чтения и материалы */
.ln-read { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #FAFBFD; }
.ln-read b { font-size: 13.5px; color: var(--ink); }
.ln-mats { display: flex; flex-direction: column; gap: 8px; }
.ln-mat { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; }
.ln-mi { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: var(--blue-soft2, #F3F6FC); color: var(--muted); }
.ln-mi .i { width: 16px; height: 16px; }
.ln-mt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ln-mt b { font-size: 14px; color: var(--ink); }
.ln-added { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.ln-added .i { width: 14px; height: 14px; stroke-width: 3; color: #15803D; }
.ln-rderr { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px; border: 1px solid var(--m2-red-line, #FECACA); border-radius: 12px; background: var(--m2-red-bg, #FEF2F2); font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.ln-rderr .ln-acts { margin-top: 4px; }

/* шаг 4: строки «О деле» */
.ln-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ln-facts li { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ln-facts li .ln-fl { padding-top: 2px; }
.ln-facts li.skipped .ln-fv { color: var(--muted); }
.ln-facts .field { margin: 0; max-width: none; }
.ln-facts .icon-btn { margin-top: -4px; }
.ln-fl { font-size: 13px; color: var(--muted); }
.ln-fv { min-width: 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
.ln-fv .src { margin-left: 4px; vertical-align: 1px; }
.ln-row-b { display: flex; gap: 8px; margin-top: 8px; }
.ln-fa { display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
.ln-buy { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.ln-b { display: flex; flex-direction: column; gap: 2px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.ln-b b { font-size: 14px; margin-bottom: 2px; }
.ln-b .cap { margin-top: 6px; }
.ln-b .btn { align-self: flex-start; margin-top: 8px; }
.ln-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ln-ask { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #FAFBFD; }
.ln-askt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ln-askt b { font-size: 14px; color: var(--ink); }
.ln-ask .field { margin: 0; max-width: 320px; }

/* шаг 5: строки «Как пишем» */
.ln-vs { display: flex; flex-direction: column; }
.ln-vr { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ln-vr .ln-fl { padding-top: 8px; }
.ln-vb { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 0; }
.ln-vb .field { margin: 0; width: 100%; max-width: 520px; }
.ln-vb .field input { padding: 9px 12px; font-size: 14px; }
.ln-vb .seg { flex-wrap: wrap; }
.ln-vb .seg button { white-space: normal; text-align: left; }
.ln-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ln-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 6px 5px 12px; border-radius: 999px; background: var(--blue-soft, #E8EEFC); color: var(--blue-ink, #1D4ED8); font-size: 13px; font-weight: 600; }
.ln-chip-x { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.ln-chip-x .i { width: 14px; height: 14px; }
.ln-add { display: flex; gap: 8px; max-width: 480px; width: 100%; }
.ln-add input { flex: 1; min-width: 0; }

/* шаг 6: пробные кадры */
.ln-exs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 640px; }
.ln-ex { margin: 0; min-width: 0; }
.ln-ex .ln-img { margin: 0 0 4px; }
.ln-ex figcaption { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.ln-img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: #EEF2F8; }
.ln-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ln-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px; color: var(--muted); font-size: 12px; text-align: center; }
.ln-world { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: 13.5px; }
.ln-world dt { color: var(--muted); }
.ln-world dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
/* шаг 6: строка «что отмечено», витрина стилей по группам; окно стиля — четыре примера, цвета, кому подходит (из макета) */
.ln-pick { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #FAFBFD; font-size: 14px; line-height: 1.5; color: var(--ink); }
.ln-about { margin: 0 0 12px; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.aira-modal .ln-exs { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; margin: 0 0 12px; }
.ln-img canvas { display: block; width: 100%; height: 100%; object-fit: cover; }
.ln-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 12px 0; font-size: 13.5px; }
.ln-dl dt { color: var(--muted); }
.ln-dl dd { margin: 0; color: var(--ink); }
.aira-modal .ln-pal { margin-top: 4px; }
.ln-styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }
.ln-grp { display: flex; flex-direction: column; gap: 8px; }
.ln-grp h4 { margin: 4px 0 0; font-size: 13px; font-weight: 700; color: var(--ink); }
.ln-grp h4 .cap { font-weight: 600; }
.ln-st-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 6px 6px 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface, #fff); font: inherit; text-align: left; cursor: pointer; }
.ln-st-t:hover { border-color: #C9D6EE; }
.ln-st-t.on { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.ln-st-t:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ln-st-t .ln-img { margin-bottom: 6px; }
.ln-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; }
.ln-on { position: absolute; right: 6px; top: 6px; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; box-shadow: 0 0 0 2px #fff; }
.ln-on .i { width: 12px; height: 12px; stroke-width: 3; }
.ln-nm { padding: 0 2px; font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.3; overflow-wrap: break-word; hyphens: auto; }
.ln-fit { padding: 0 2px; font-size: 12px; line-height: 1.3; color: var(--blue); }
.ln-own { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; }
.ln-ownc { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1.5px dashed var(--muted-2, #A3AEC2); border-radius: 50%; color: var(--muted); }
.ln-ownc.set { border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.ln-ownc.on { box-shadow: 0 0 0 2px var(--ink); }
.ln-ownc .i { width: 14px; height: 14px; }
.ln-ownc input { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.ln-ownc:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.ln-pal { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ln-c { width: 26px; height: 26px; padding: 0; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.ln-c.on { box-shadow: 0 0 0 2px var(--ink); }
.ln-c:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ln-pn { font-size: 13.5px; color: var(--muted); }
.ln-pn b { font-weight: 600; }
/* шаг 7: как выходят посты */
.ln-rads { display: flex; flex-direction: column; gap: 8px; }
.ln-rad { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); cursor: pointer; }
.ln-busy { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #EEF3FF; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ln-spin { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--blue); border-right-color: transparent; animation: ln-spin 1s linear infinite; }
@keyframes ln-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ln-spin { animation: none; } }

/* шаг 7: площадки */
.ln-chans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ln-chan { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.ln-chan b { font-size: 15px; color: var(--ink); }
.ln-how { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; line-height: 1.5; color: var(--ink); width: 100%; }
.ln-how .field { margin: 0; max-width: none; }
.ln-how a { display: inline-flex; align-items: center; gap: 2px; color: var(--blue); font-weight: 600; text-decoration: none; }
.ln-how a:hover { text-decoration: underline; }
.ln-how a .i { width: 12px; height: 12px; }
.ln-ok { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; color: #15803D; }
.ln-ok .i { width: 16px; height: 16px; stroke-width: 3; }
.ln-after { margin: 0; max-width: 640px; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* шаг 8: проверка и темы */
.ln-rev { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ln-rev li { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ln-topics { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; counter-reset: tp; }
.ln-topics li { display: grid; grid-template-columns: 20px 84px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; line-height: 1.45; color: var(--ink); counter-increment: tp; }
.ln-topics li::before { content: counter(tp); font-size: 12px; font-weight: 700; color: var(--muted); }
.ln-td { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.ln-topics li.later .ln-tt { color: var(--muted); }

@media (max-width: 1279px) {
  .ln-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ln-steps { position: static; flex-direction: row; align-items: center; gap: 4px; padding: 6px; overflow-x: auto; max-width: 100%; }
  .ln-steps li { flex: none; }
  .ln-st { display: flex; align-items: center; gap: 8px; width: auto; padding: 6px; }
  .ln-st .n { grid-row: auto; }
  .ln-st b, .ln-st .need { display: none; }
  .ln-st.on { padding-right: 12px; }
  .ln-st.on b { display: inline; white-space: nowrap; }
}
@media (max-width: 900px) {
  .ln-facts li { grid-template-columns: minmax(0, 1fr) auto; }
  .ln-facts li .ln-fl { grid-column: 1 / -1; padding-top: 0; }
  .ln-vr { grid-template-columns: 1fr; gap: 6px; }
  .ln-vr .ln-fl { padding-top: 0; }
  .ln-rev li { grid-template-columns: minmax(0, 1fr) auto; }
  .ln-rev li .ln-fl { grid-column: 1 / -1; }
  .ln-topics li { grid-template-columns: 20px minmax(0, 1fr); }
  .ln-topics li > span { grid-column: 2; }
}
@media (max-width: 640px) {
  .ln-st.on b { display: none; }
  .ln-st.on { padding-right: 6px; }
  .ln-card { padding: 16px; }
  .ln-chans { grid-template-columns: 1fr; }
  .ln-styles { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .ln-exs, .aira-modal .ln-exs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ln-foot .btn { flex: 1 1 100%; justify-content: center; }
}
