* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: #2d3035; background: #f7f8fa; line-height: 1.5; }
a { color: #2d66a5; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
.site-header { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 32px; background: #2f333a; color: #fff; }
.brand { color: #dfe7ef; font-size: 24px; }
.brand span { color: #b8cf80; font-weight: 700; }
.site-header nav { display: flex; gap: 8px; }
.site-header nav a { color: #f4f6f8; padding: 8px 10px; border-radius: 4px; }
.site-header nav a.active, .site-header nav a:hover { background: rgba(255,255,255,.12); text-decoration: none; }
main { max-width: 1200px; margin: 0 auto; padding: 32px; }
.hero, .manual-header { padding: 18px 0 30px; }
h1 { margin: 0 0 18px; font-size: 32px; font-weight: 600; }
h2 { margin: 0 0 12px; font-size: 22px; font-weight: 600; }
h3 { margin: 18px 0 8px; font-size: 15px; color: #525a65; }
.search-form { max-width: 760px; }
.search-form label { display: block; font-weight: 600; margin-bottom: 8px; }
.search-form div { display: flex; gap: 8px; }
.search-form input { flex: 1; min-width: 0; padding: 11px 12px; border: 1px solid #c9d1dc; border-radius: 4px; font-size: 16px; background: #fff; }
.search-form button { padding: 11px 18px; border: 0; border-radius: 4px; background: #2d66a5; color: #fff; font-size: 16px; cursor: pointer; }
.content-panel, .chapter-block, .search-results-panel { background: #fff; border: 1px solid #dfe4ea; border-radius: 6px; padding: 22px; margin-bottom: 18px; }
.manual-list, .article-list, .article-sidebar ul { list-style: none; padding: 0; margin: 0; }
.manual-list li + li, .article-list li + li { border-top: 1px solid #edf0f4; }
.manual-list a, .article-list a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; color: #254f7e; }
.manual-list small { color: #66717f; white-space: nowrap; }
.article-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.article-sidebar { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border: 1px solid #dfe4ea; border-radius: 6px; padding: 16px; }
.article-sidebar .back-link { display: block; margin-bottom: 16px; font-weight: 600; }
.article-sidebar li a { display: block; padding: 6px 8px; border-radius: 4px; color: #445063; font-size: 14px; }
.article-sidebar li.active a { background: #e9f0f8; color: #1f558d; font-weight: 600; text-decoration: none; }
.article { background: #fff; border: 1px solid #dfe4ea; border-radius: 6px; padding: 28px; min-width: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; color: #697381; font-size: 14px; }
.article-meta { color: #697381; margin-bottom: 20px; }
.article-body img { max-width: 100%; height: auto; border: 1px solid #e4e8ee; }
.article-body .step { margin-top: 22px; }
.article-body .screensteps-wrapper--alert, .article-body .screensteps-wrapper--warning { border-left: 4px solid #b85c42; background: #fff6f2; padding: 10px 14px; }
.article-body .screensteps-wrapper--tip, .article-body .screensteps-wrapper--introduction { border-left: 4px solid #5a7d9e; background: #f3f7fb; padding: 10px 14px; }
.article-neighbors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.article-neighbors a { display: block; border: 1px solid #dfe4ea; border-radius: 6px; padding: 12px; }
.article-neighbors small { display: block; color: #697381; }
.search-results { padding-left: 20px; }
.search-results li { margin-bottom: 16px; }
.result-summary { color: #697381; }
@media (max-width: 820px) {
  .site-header { align-items: flex-start; flex-direction: column; padding: 16px; gap: 10px; }
  main { padding: 20px 14px; }
  .search-form div { flex-direction: column; }
  .article-layout { display: block; }
  .article-sidebar { position: static; max-height: none; margin-bottom: 18px; }
  .article { padding: 18px; }
  .article-neighbors { grid-template-columns: 1fr; }
}
