/* Раздел инструкций: дополняет styles.css. Свет у кнопок и пилюли не добавляем: правила темы. */
body:has(> .guide) { display: flex; flex-direction: column; min-height: 100vh; }
.doc { max-width: 760px; width: 100%; margin: 0 auto; padding: 32px 20px 80px; flex: 1 0 auto; }
.doc h1 { font-size: clamp(36px, 6vw, 46px); max-width: none; margin: 0 0 16px; }
.doc h2 { font-size: clamp(26px, 4vw, 30px); margin: 44px 0 14px; max-width: none; }
.doc p, .doc li { color: var(--ink); }
.guide .lead { max-width: none; margin-bottom: 8px; color: var(--ink-2); }
.crumbs { margin: 0 0 24px; font-size: var(--fs-s); color: var(--muted); overflow-wrap: anywhere; }
.guide-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.guide-steps li { counter-increment: step; position: relative; padding: 0 0 18px 44px; }
.guide-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px;
  display: grid; place-items: center; border-radius: 50%; background: var(--berry-wash);
  color: var(--berry-deep); font-weight: 700; font-size: var(--fs-s);
}
.guide-note { margin: 0; padding: 12px 16px; border: 1px dashed var(--line-2); border-radius: var(--r-m); font-size: var(--fs-s); color: var(--ink-2); }
.guide-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 44px 0 0; padding: 22px 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m);
}
.guide-cta h2 { margin: 0 0 6px; font-size: 24px; }
.guide-cta p { margin: 0; font-size: 15px; color: var(--ink-2); }
.guide-cta .btn { flex: none; }
.guide-table { overflow-x: auto; }
.guide-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.guide-table th, .guide-table td { padding: 12px 12px 12px 0; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.guide-table thead th { font-size: var(--fs-cap); letter-spacing: var(--track-cap); text-transform: uppercase; color: var(--muted); }
.guide .faq p { overflow-wrap: anywhere; }
.guide-related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
@media (max-width: 560px) {
  .guide-cta { flex-direction: column; align-items: stretch; text-align: left; }
  .guide-cta .btn { width: 100%; }
  .guide-related { grid-template-columns: 1fr; }
}
