

/* ---------- 1. Первый экран: план работ ---------- */
.st-plan { display: grid; }
.st-init {
  display: grid;
  grid-template-columns: 18px 104px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-900);
}
.st-init:first-child { padding-top: 0; }
.st-init .chip { justify-self: start; }
.st-init .st-done { justify-self: end; }
.st-check { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--line-strong); background: var(--surface); }
.st-check.is-on { border-color: var(--violet); background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.3 2.6 2.6L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.st-plan-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-500); }
@media (max-width: 560px) {
  .st-init { grid-template-columns: 18px minmax(0, 1fr); gap: 6px 10px; }
  .st-init .chip { grid-column: 2; }
  .st-init .st-init-title { grid-column: 2; }
  .st-init .st-check { grid-row: span 3; align-self: start; margin-top: 3px; }
  .st-init .st-done { justify-self: start; }
}

/* ---------- 2. Боль ---------- */
.st-pain { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.st-pain-list { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: pain; }
.st-pain-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); counter-increment: pain; }
.st-pain-list li:last-child { border-bottom: 1px solid var(--line); }
.st-pain-list li::before { content: "0" counter(pain); grid-row: span 2; font-family: var(--font-mono); font-size: 12px; color: var(--st-bad); padding-top: 3px; }
.st-pain-list b { font-size: 16px; font-weight: 550; color: var(--ink-900); }
.st-pain-list span { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--ink-500); }
.st-deck {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  padding: 10px;
  box-shadow: var(--shadow-md);
  transform: rotate(1.2deg);
}
.st-deck-bar { display: flex; justify-content: space-between; gap: 12px; padding: 6px 8px 12px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-500); }
.st-deck-file { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-deck-page { flex: none; color: var(--ink-400); }
.st-slide { aspect-ratio: 16 / 10; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: clamp(18px, 3vw, 40px); border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); }
.st-slide-title { margin-bottom: 14px; font-family: var(--font-display); font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink-900); }
.st-slide-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 10px 0; border-top: 1px dashed var(--line-strong); font-size: 14.5px; color: var(--ink-700); }
@media (max-width: 1024px) { .st-pain { grid-template-columns: 1fr; } .st-deck { transform: none; } }
@media (max-width: 560px) { .st-slide { aspect-ratio: auto; } }

/* ---------- 3. Возможности ---------- */
.st-brief .chip { white-space: nowrap; }
.st-comp .mt-row { --mt-cols: minmax(0, 1.3fr) 100px 90px minmax(0, 1.2fr); }
.st-comp .mt-row > :nth-child(2) { justify-self: start; text-align: left; }
.st-comp .mt-head > :nth-child(2) { justify-self: start; }
.st-src { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-500); }
@media (max-width: 560px) { .st-comp .mt-row { --mt-cols: minmax(0, 1fr) auto; } .st-comp .mt-row > :nth-child(2) { justify-self: end; } }

.st-cjm { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.st-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.st-stage + .st-stage::before {
  content: "";
  position: absolute;
  top: 26px;
  left: -10px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid var(--ink-300);
  border-right: 1.5px solid var(--ink-300);
  transform: rotate(45deg);
}
.st-stage b { font-size: 15px; font-weight: 550; color: var(--ink-900); }
.st-stage.is-empty { border-style: dashed; background: var(--surface-2); box-shadow: none; }
.st-touch { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.st-tp {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 99px;
  border: 1px dashed var(--line-strong);
  background: transparent;
  font-size: 12.5px;
  font-style: normal;
  color: var(--ink-500);
}
.st-tp.is-data { border: 1px solid color-mix(in srgb, var(--st-ok) 28%, transparent); background: color-mix(in srgb, var(--st-ok) 10%, var(--surface)); color: var(--st-ok); }
.st-tp.is-data:not(i)::before { content: "✓"; margin-right: 6px; font-size: 11px; }
.st-legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 16px; font-size: 13px; color: var(--ink-500); }
.st-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.st-legend .st-tp { height: 22px; width: 22px; padding: 0; justify-content: center; font-size: 11px; }
@media (max-width: 1024px) { .st-cjm { grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-stage:nth-child(3)::before { display: none; } }
@media (max-width: 560px) { .st-cjm { grid-template-columns: 1fr; } .st-stage + .st-stage::before { display: none; } }

.st-doc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.st-doc-page { display: grid; gap: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.st-doc-row { display: grid; gap: 6px; }
.st-doc-row b { font-size: 13.5px; font-weight: 550; color: var(--ink-900); }
.st-doc-row i { display: block; width: var(--w); height: 6px; border-radius: 99px; background: var(--surface-3); }
.st-doc-use { display: grid; gap: 8px; justify-items: start; padding-left: 16px; border-left: 1.5px dashed color-mix(in srgb, var(--st-ai) 40%, transparent); }
@media (max-width: 560px) { .st-doc { grid-template-columns: 1fr; } .st-doc-use { display: flex; flex-wrap: wrap; padding: 12px 0 0; border-left: 0; border-top: 1.5px dashed color-mix(in srgb, var(--st-ai) 40%, transparent); } }

/* ---------- 5. Основания пунктов плана: вкладки без прыжка высоты ---------- */
.st-why-tabs { align-items: start; }
.st-tab-stack { display: grid; }
.st-tab-stack > .tab-panel { grid-area: 1 / 1; }
.st-tab-stack > .tab-panel[hidden] { display: flex; visibility: hidden; }
.st-why-tabs .tab-list--rail .tab { height: auto; min-height: 56px; padding-top: 10px; padding-bottom: 10px; text-align: left; white-space: normal; }
.st-pr { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; }
.st-why-tabs .tab-list--rail .tab small.st-pr--bad { color: var(--st-bad); }
.st-why-tabs .tab-list--rail .tab small.st-pr--warn { color: var(--st-warn); }
.st-why-tabs .tab-list--rail .tab small.st-pr--plain { color: var(--ink-400); }
.st-basis-card { display: flex; flex-direction: column; gap: 18px; }
.st-basis-card .card-title, .st-basis-card .card-text { margin: 0; }
.st-basis-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.st-ie { font-family: var(--font-mono); font-size: 12px; color: var(--ink-500); }
.st-basis-block { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.st-basis-block p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-700); }
.st-src-list { display: grid; gap: 8px; }
.st-src-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 12px; font-size: 14px; color: var(--ink-900); }
.st-src-row .chip { justify-self: start; }
.st-basis-foot { display: flex; justify-content: flex-end; margin-top: auto; padding-top: 4px; }
@media (max-width: 760px) {
  .st-why-tabs .tab-list--rail { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .st-src-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .st-basis-foot { justify-content: flex-start; }
}

/* ---------- 6. Честно ---------- */
.st-honest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.st-honest .card { display: flex; flex-direction: column; gap: 20px; }
.st-honest .card-text { margin-top: 0; }
.st-banner { display: grid; gap: 10px; justify-items: start; padding: 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius-md); background: var(--surface-2); font-size: 13.5px; color: var(--ink-500); }
.st-banner .chip { white-space: normal; height: auto; min-height: 24px; line-height: 1.3; padding-top: 3px; padding-bottom: 3px; }
@media (max-width: 960px) { .st-honest { grid-template-columns: 1fr; } }

/* ---------- 7. Что остаётся за вами ---------- */
.st-yours { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.st-yours-text { display: grid; gap: 24px; }
.st-yours-text .checks li { font-size: 15.5px; }
.st-ask { display: grid; }
.st-ask-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.st-ask-row:first-child { border-top: 0; padding-top: 0; }
.st-ask-row:last-child { padding-bottom: 0; }
.st-ask-row b { display: block; font-size: 14.5px; font-weight: 550; color: var(--ink-900); }
.st-ask-row > div > span { font-size: 13px; color: var(--ink-500); }
.st-input { display: flex; align-items: center; height: 38px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); font-size: 13.5px; color: var(--ink-400); }
@media (max-width: 1024px) { .st-yours { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .st-ask-row { grid-template-columns: 1fr; gap: 10px; } }
