/* Раздел «Инструкции» и блок поддержки — одинаково на публичном сайте и в кабинете. */
.hp { --hp-brand: #0e5c46; --hp-line: #e3ece8; --hp-soft: #f4f8f6; --hp-muted: #6b7d77; display: flex; flex-direction: column; gap: 28px; }
.hp-sec h2 { margin: 0 0 12px; }
.hp-lead { color: var(--hp-muted); margin: -4px 0 14px; }
.hp-search input { width: 100%; height: 46px; border: 1px solid var(--hp-line); border-radius: 14px; padding: 0 16px; font: inherit; font-size: 15px; background: #fff; }
.hp-search input:focus { outline: 2px solid #1fd39a; border-color: transparent; }

.hp-quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; align-items: start; }
.hp-q { background: #fff; border: 1px solid var(--hp-line); border-radius: 14px; padding: 12px 14px; }
.hp-q summary { cursor: pointer; font-weight: 600; list-style: none; }
.hp-q summary::-webkit-details-marker { display: none; }
.hp-q[open] { box-shadow: 0 6px 20px rgba(14, 92, 70, .08); }
.hp-q p { margin: 8px 0; font-size: 14px; } .hp-q .hp-q-title { color: var(--hp-muted); font-size: 13px; }
.hp-q a, .hp-go { color: var(--hp-brand); font-weight: 600; font-size: 14px; text-decoration: none; }

.hp-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.hp-steps > .hp-topic { background: #fff; border: 1px solid var(--hp-line); border-radius: 18px; padding: 18px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px; align-items: center; scroll-margin-top: 80px; }
.hp-steps > .hp-topic:not(:has(.hp-topic-demo)) { grid-template-columns: 1fr; }
.hp-topic h3 { margin: 0 0 6px; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.hp-num { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--hp-brand); color: #fff; display: grid; place-items: center; font-size: 14px; }
.hp-sum { color: var(--hp-muted); margin: 0 0 8px; }
.hp-list { margin: 0 0 8px; padding-left: 20px; } .hp-list li { margin: 4px 0; }
.hp-tip { background: #fff8e6; border-radius: 10px; padding: 8px 12px; font-size: 14px; margin: 8px 0; }
.hp-topic-demo { display: flex; justify-content: center; min-width: 0; }

.hp-acc { display: flex; flex-direction: column; gap: 8px; }
.hp-acc .hp-topic { background: #fff; border: 1px solid var(--hp-line); border-radius: 14px; padding: 12px 16px; scroll-margin-top: 80px; }
.hp-acc summary { cursor: pointer; font-weight: 600; }
.hp-acc summary span { display: block; font-weight: 400; color: var(--hp-muted); font-size: 14px; margin-top: 2px; }
.hp-acc .hp-topic[open] summary { margin-bottom: 8px; }
.hp-empty { color: var(--hp-muted); }

/* блок поддержки */
.sp { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between;
  background: linear-gradient(120deg, #0e5c46, #12795b); color: #fff; border-radius: 18px; padding: 18px 20px; }
.sp-text { display: flex; flex-direction: column; gap: 2px; } .sp-text b { font-size: 18px; } .sp-text span { opacity: .85; }
.sp-btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.sp-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 12px; font-weight: 700; text-decoration: none;
  background: #fff; color: #0e5c46; white-space: nowrap; }
.sp-btn.sp-main { background: #fff; color: #0e5c46; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.sp-alt { color: #fff; opacity: .8; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.sp-alt:hover { opacity: 1; }
.sp-btn:hover { filter: brightness(.96); }
.sp-plain { font-weight: 600; }

@media (max-width: 860px) {
  .hp-steps > .hp-topic { grid-template-columns: 1fr; }
}
