/* Руководство пользователя «Багетка» — общие стили (экран + основа для печати) */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: HelveticaNeueCyr, Helvetica, sans-serif;
  line-height: 1.65;
  color: #111;
  background: #f7f7f7;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

.manual-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 18px 56px;
}

@media (min-width: 960px) {
  .manual-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 20px 56px;
  }
  .manual-sidebar {
    position: sticky;
    top: 12px;
  }
}

.manual-header {
  background: #fff;
  border-bottom: 1px solid #e2e2e2;
  box-shadow: 0 2px 4px rgba(130,130,130,0.12);
  padding: 28px 20px;
  margin-bottom: 24px;
}
.manual-header-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.manual-header h1 {
  font-size: 1.55rem;
  font-weight: 400;
  margin: 0 0 8px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.manual-header .lead {
  margin: 0;
  color: #757575;
  font-size: 1rem;
  max-width: 52rem;
}
.manual-lang {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.82rem;
}
.manual-lang a {
  border: 1px solid #d4d4d4;
  border-radius: 999px;
  color: #111;
  line-height: 1;
  padding: 7px 10px;
  text-decoration: none;
}
.manual-lang a:hover {
  border-color: #ed7a1d;
  color: #ed7a1d;
}
.manual-lang a.is-current {
  background: #111;
  border-color: #111;
  color: #fff;
}

.manual-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 3px;
  padding: 14px 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-size: 0.88rem;
}
.manual-nav strong {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #757575;
  margin-bottom: 6px;
  display: block;
}
.manual-nav a {
  color: #000;
  text-decoration: none;
  padding: 4px 0;
  border-left: 3px solid transparent;
  padding-left: 8px;
  margin-left: -8px;
}
.manual-nav a:hover { color: #ed7a1d; }
.manual-nav a.is-current {
  border-left-color: #ed7a1d;
  font-weight: 600;
}

main.manual-content {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 3px;
  padding: 28px 26px 36px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

@media (max-width: 959px) {
  .manual-nav {
    margin-bottom: 20px;
  }
}

h2 {
  font-size: 1.28rem;
  font-weight: 400;
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e2e2;
  letter-spacing: 0.3px;
}
h2:first-child { margin-top: 0; }
h3 {
  font-size: 1.05rem;
  margin: 22px 0 10px;
  color: #222;
}
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin: 5px 0; }
a { color: #000; }
a:hover { color: #ed7a1d; }

hr {
  border: none;
  border-top: 1px solid #e2e2e2;
  margin: 28px 0;
}

/* Оглавание на стартовой странице (якоря + ссылки на главы) */
.toc-card {
  background: #fafafa;
  border: 1px solid #e2e2e2;
  border-radius: 3px;
  padding: 20px 22px;
  margin: 20px 0;
}
.toc-card h2 {
  margin-top: 0;
  font-size: 1.1rem;
  border: none;
  padding: 0;
}
.toc-card ol, .toc-card ul {
  margin-bottom: 0;
}
.toc-card a { font-weight: 500; }

/* Лучшие практики: зоны экрана */
.zone-map {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}
@media (min-width: 560px) {
  .zone-map {
    grid-template-columns: repeat(2, 1fr);
  }
}
.zone-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  background: #f9f9f9;
  border-radius: 3px;
  border: 1px solid #ececec;
}
.zone-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zone-item p { margin: 0; font-size: 0.95rem; }

/* Задача → результат → частая ошибка (паттерн task-based help) */
.task-block {
  background: #fff3e8;
  border-left: 4px solid #ed7a1d;
  padding: 14px 16px;
  margin: 16px 0;
  border-radius: 0 6px 6px 0;
}
.task-block strong.label { color: #004499; display: block; margin-bottom: 6px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.result-block {
  background: #f4fff4;
  border-left: 4px solid #2a8f2a;
  padding: 14px 16px;
  margin: 16px 0;
  border-radius: 0 6px 6px 0;
}
.result-block strong.label { color: #1a6b1a; display: block; margin-bottom: 6px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.pitfall-block {
  background: #fff8f5;
  border-left: 4px solid #cc5500;
  padding: 14px 16px;
  margin: 16px 0;
  border-radius: 0 6px 6px 0;
}
.pitfall-block strong.label { color: #993d00; display: block; margin-bottom: 6px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.note-block {
  background: #fffef0;
  border-left: 4px solid #c9a227;
  padding: 12px 16px;
  margin: 16px 0;
  border-radius: 0 6px 6px 0;
}

/* Заглушка под скриншот: role="img" + aria-label заменяют alt до вставки настоящего img */
.figure-placeholder {
  border: 2px dashed #bbb;
  background: repeating-linear-gradient(-45deg, #fafafa, #fafafa 8px, #f0f0f0 8px, #f0f0f0 16px);
  border-radius: 6px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: #666;
  font-size: 0.92rem;
  margin: 0;
}
.manual-figure {
  margin: 22px 0;
}
.manual-figure .figure-placeholder {
  width: 100%;
}
.manual-figure figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #333;
  text-align: center;
  font-weight: 500;
  line-height: 1.4;
}
.manual-figure-grid {
  display: grid;
  gap: 18px;
  margin: 22px 0;
}
@media (min-width: 640px) {
  .manual-figure-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.manual-figure-grid .manual-figure {
  margin: 0;
}

.manual-footer-actions {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e2e2e2;
}
.btn-constructor {
  display: inline-block;
  background: #000;
  color: #fff !important;
  padding: 12px 22px;
  text-decoration: none;
  border-radius: 3px;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid #000;
  transition: background 0.2s, border-color 0.2s;
}
.btn-constructor:hover {
  background: #ed7a1d;
  border-color: #ed7a1d;
  color: #fff !important;
}

.roadmap-inline {
  font-size: 0.92rem;
  color: #555;
  background: #f9f9f9;
  padding: 14px 16px;
  border-radius: 3px;
  margin: 16px 0;
  border: 1px solid #ececec;
}

.manual-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 16px 0 24px;
  background: #fff;
  border: 1px solid #e2e2e2;
}
.manual-table th,
.manual-table td {
  border: 1px solid #ececec;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.manual-table thead th {
  background: #f3f3f3;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #505050;
}
.manual-content kbd {
  display: inline-block;
  padding: 2px 7px;
  font-size: 0.85em;
  font-family: ui-monospace, monospace;
  background: #f3f3f3;
  border: 1px solid #d4d4d4;
  border-radius: 3px;
  box-shadow: 0 1px 0 #fff;
}

</think>

<｜tool▁calls▁begin｜><｜tool▁call▁begin｜>
StrReplace
