/* Этапы работ (/screens/stages) */
.st-page { max-width: 1120px; margin: 0 auto; padding: 28px 24px 72px; display: flex; flex-direction: column; gap: 20px; }
.st-navbox { display: flex; flex-direction: column; gap: 10px; }
.st-progress { font-size: 15px; color: var(--fm-navy); }
.st-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.st-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px; background: #fff; border: 1px solid var(--fm-line); color: var(--fm-navy); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.st-nav a:hover { border-color: var(--fm-blue); box-shadow: var(--shadow-soft); }
.st-nav i { width: 24px; height: 24px; border-radius: 50%; background: var(--fm-navy); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 13px; }
.st-nav a.ok i { background: var(--fm-ok); }
.st-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.st-stage { padding: 28px; border-radius: 24px; display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 16px; }
.st-sh { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: center; }
.st-sh-t { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.st-sh:not(:has(.st-ph)) { grid-template-columns: minmax(0, 1fr); }
.st-n { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fm-orange-text); }
.st-stage h2 { font-size: 28px; line-height: 1.2; color: var(--fm-navy); }
.st-sh p { font-size: 16.5px; line-height: 1.55; color: var(--fm-ink-2); }
.st-ph { height: 170px; border-radius: 18px; }
.st-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 18px; }
.st-flow li { position: relative; display: grid; place-items: center; min-height: 58px; padding: 8px; border-radius: 12px; background: var(--fm-sky); color: var(--fm-navy); font-size: 13px; font-weight: 600; line-height: 1.25; text-align: center; }
.st-flow li:not(:last-child)::after { content: "→"; position: absolute; right: -15px; top: 50%; transform: translateY(-50%); color: var(--fm-muted); font-weight: 400; }
.st-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.st-block { background: var(--fm-surface-3); border-radius: 16px; padding: 18px; }
.st-block h3, .st-open h3 { font-size: 16.5px; color: var(--fm-navy); margin-bottom: 10px; }
.st-block ul, .st-open ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.st-block li { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 9px 0; border-top: 1px solid var(--fm-line-soft); font-size: 14.5px; line-height: 1.45; }
.st-block li:first-child { border-top: 0; padding-top: 0; }
.st-block li a { color: var(--fm-ink); text-decoration-color: var(--fm-line-input); }
.st-block li a:hover { color: var(--fm-blue); }
.st-block .pill { flex: none; white-space: nowrap; font-size: 11.5px; }
.st-open { background: var(--fm-orange-soft); border-radius: 16px; padding: 18px; }
.st-open h3 { display: flex; align-items: center; gap: 8px; color: var(--fm-orange-soft-text); }
.st-open ul { gap: 7px; }
.st-open li { position: relative; padding-left: 16px; font-size: 14.5px; line-height: 1.45; color: var(--fm-ink); }
.st-open li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--fm-orange); }
.st-fb { display: flex; flex-direction: column; gap: 12px; }
.st-stage > .st-fb { border-top: 1px solid var(--fm-line-soft); padding-top: 18px; }
.st-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.st-ok { height: var(--control-h); padding: 0 18px; font-size: 15px; }
.st-thread li p { font-size: 14px; }
.st-questions { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 16px; margin-top: 12px; }
.st-questions h2 { font-size: 30px; color: var(--fm-navy); }
.st-q-lead { color: var(--fm-ink-2); font-size: 16px; }
.st-questions ol { list-style: none; counter-reset: q; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.st-q { counter-increment: q; padding: 20px; border-radius: 18px; display: flex; flex-direction: column; gap: 10px; }
.st-q h3 { font-size: 17px; color: var(--fm-navy); }
.st-q h3::before { content: counter(q) ". "; color: var(--fm-orange-text); }
.st-q p { font-size: 14.5px; line-height: 1.5; color: var(--fm-ink-2); }
@media (max-width: 800px) {
  .st-page { padding: 16px 16px 56px; gap: 16px; }
  .st-stage { padding: 18px; border-radius: 18px; }
  .st-sh { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .st-ph { order: -1; height: 160px; }
  .st-stage h2 { font-size: 23px; }
  .st-blocks, .st-questions ol { grid-template-columns: minmax(0, 1fr); }
  .st-flow { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .st-flow li { min-height: 0; }
  .st-flow li:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -18px; transform: translateX(-50%); }
  .st-acts .btn, .st-ok { width: 100%; }
}
