﻿:root{color-scheme:light;--bg:#f5f4ed;--paper:#fffdf7;--ink:#173c35;--muted:#53635d;--line:#d8ded4;--brand:#1d5145;--accent:#b86c30;--hero:#153c33;--onhero:#fffaf0;--shadow:0 12px 35px rgba(28,47,40,.065)}
:root[data-theme=dark]{color-scheme:dark;--bg:#15221f;--paper:#1f302b;--ink:#f3f1e5;--muted:#b5c4bb;--line:#43564e;--brand:#bbdfc7;--accent:#f2b47a;--hero:#233e34;--onhero:#fffaf0;--shadow:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--bg);color:var(--ink);font:1rem/1.65 "Segoe UI",Arial,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}button,input{font:inherit}button{cursor:pointer}button:active,.button:active{transform:translateY(2px)}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.16;letter-spacing:-.035em}h1,h2{font-family:Georgia,"Times New Roman",serif;font-weight:500}h1{font-size:clamp(2.5rem,5.4vw,5rem)}h2{font-size:clamp(1.85rem,3.6vw,3rem)}h3{font-size:1.32rem}p{margin-top:12px}.wrap{width:min(1220px,calc(100% - 64px));margin:auto}.top{border-bottom:1px solid var(--line);background:var(--paper)}.header{display:flex;align-items:center;gap:36px;min-height:90px;justify-content:space-between}.logo{display:flex;align-items:center;gap:10px;font-weight:750;line-height:1.1;font-size:1.15rem;letter-spacing:-.035em;white-space:nowrap}.mark{display:grid;place-items:center;width:43px;height:48px;background:var(--hero);border-radius:5px;color:#f4ce96}.mark svg{width:24px;height:35px}.logo small{display:block;letter-spacing:.05em;text-transform:uppercase;font-size:.68rem;color:var(--muted);margin-top:5px;font-weight:600}.nav{display:flex;align-items:center;gap:24px;font-size:.94rem;font-weight:600}.nav a{padding:10px 0;border-bottom:2px solid transparent}.nav a[aria-current=page]{border-color:var(--accent)}.theme{background:var(--paper);border:1px solid var(--line);border-radius:50%;width:42px;height:42px;color:var(--ink);font-size:1.16rem;flex:none}.theme:hover{background:var(--bg)}.hero{margin-top:34px;background:var(--hero);color:var(--onhero);border-radius:20px;overflow:hidden;display:grid;grid-template-columns:1fr .95fr;align-items:center;min-height:478px}.hero-copy{padding:54px 48px}.hero h1{font-size:clamp(2.7rem,4.8vw,4.65rem);margin:18px 0}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-weight:700;font-size:.77rem;display:flex;align-items:center;gap:9px}.eyebrow:before{content:"";width:22px;height:2px;background:currentColor;display:inline-block}.hero .eyebrow{color:#f0c38d}.hero p{max-width:490px;color:#e1ece1;font-size:1.13rem}.hero-art{height:100%;min-height:478px;object-fit:cover;width:100%}.button{display:inline-flex;align-items:center;justify-content:center;padding:13px 22px;border-radius:7px;border:1px solid transparent;font-weight:700;background:#efc28c;color:#243d33;margin-top:24px;transition:background .18s,transform .18s}.button:hover{background:#ffdbac;color:#20392f}.button.secondary{background:var(--paper);color:var(--ink);border-color:var(--line)}.button.secondary:hover{border-color:var(--accent)}.stats{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line);padding:24px 0;gap:24px}.stats div{display:flex;gap:12px;align-items:center;justify-content:center}.stats strong{font:500 2rem Georgia,serif;white-space:nowrap}.stats span{font-size:.96rem;color:var(--muted)}.section{padding:52px 0}.section-title{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:25px}.section-title p{color:var(--muted);max-width:520px}.topic-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.topic{padding:22px 18px;border:1px solid var(--line);border-radius:12px;background:var(--paper);transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column;gap:9px}.topic:hover,.card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.topic svg{width:38px;height:38px;color:var(--accent)}.topic b{line-height:1.3;font-size:1.03rem}.topic small{font-size:.84rem;color:var(--muted)}.feature{display:grid;grid-template-columns:1fr 1fr;background:var(--paper);border:1px solid var(--line);border-radius:15px;overflow:hidden}.feature img{width:100%;height:100%;min-height:280px;object-fit:cover}.feature-body{padding:32px;align-self:center}.feature-body h2{margin-top:16px}.feature-body p{color:var(--muted)}.tag{display:inline-flex;align-items:center;gap:7px;font-size:.76rem;font-weight:750;text-transform:uppercase;letter-spacing:.085em;color:var(--accent)}.tag:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.library{border-top:1px solid var(--line)}.filterbar{display:flex;align-items:center;gap:14px;justify-content:space-between;flex-wrap:wrap;margin-bottom:24px}.filters{display:flex;flex-wrap:wrap;gap:7px}.filter{border:1px solid var(--line);background:var(--paper);color:var(--ink);padding:8px 13px;border-radius:30px;font-size:.88rem;transition:background .15s}.filter:hover,.filter[aria-pressed=true]{background:var(--hero);color:var(--onhero);border-color:var(--hero)}.search{display:flex;align-items:center;gap:8px;background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:7px 12px;min-width:245px}.search input{background:none;border:0;outline:0;color:var(--ink);width:100%;min-width:0}.search:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent)}.result-count{font-size:.9rem;color:var(--muted);margin-bottom:15px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.card{display:flex;flex-direction:column;background:var(--paper);border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:transform .2s,box-shadow .2s}.card[hidden]{display:none}.card img{aspect-ratio:16/9;width:100%;object-fit:cover}.card-body{padding:21px;flex:1;display:flex;flex-direction:column;align-items:flex-start}.card h3{margin:12px 0 0}.card p{color:var(--muted);font-size:.94rem;line-height:1.55;margin:11px 0 20px}.card .read{color:var(--brand);font-size:.85rem;font-weight:700;margin-top:auto}.card:hover .read{text-decoration:underline}.empty{padding:30px;background:var(--paper);border-radius:10px;text-align:center}.empty[hidden]{display:none}.crumbs{display:flex;gap:8px;flex-wrap:wrap;font-size:.9rem;color:var(--muted);padding:28px 0 20px}.crumbs a{text-decoration:underline;text-underline-offset:3px}.page-head{padding:16px 0 30px}.page-head h1{font-size:clamp(2.4rem,5vw,4rem);max-width:900px}.page-head p{font-size:1.15rem;max-width:780px;color:var(--muted)}.article-shell{display:grid;grid-template-columns:minmax(0,790px) minmax(220px,1fr);gap:44px;align-items:start;padding-bottom:45px}.article{background:var(--paper);border:1px solid var(--line);border-radius:18px;overflow:hidden}.article>img{width:100%;aspect-ratio:16/9;object-fit:cover}.article-content{padding:36px 45px 45px;font-size:1.08rem;line-height:1.8}.article-content .lead{font-size:1.2rem;color:var(--ink);margin-top:0}.article-content h2{font-family:inherit;font-size:1.52rem;font-weight:700;margin:32px 0 12px;letter-spacing:-.025em;scroll-margin-top:20px}.article-content p{margin-top:12px}.callout{padding:20px 22px;border-left:4px solid var(--accent);background:var(--bg);border-radius:0 8px 8px 0;margin:32px 0}.callout p{margin:4px 0 0}.faq{border-top:1px solid var(--line);padding:15px 0}.faq summary{cursor:pointer;font-weight:700}.faq p{color:var(--muted)}.sources{border-top:1px solid var(--line);margin-top:28px;padding-top:15px;font-size:.9rem;color:var(--muted)}.sources a{text-decoration:underline}.side{position:sticky;top:24px;background:var(--paper);border:1px solid var(--line);padding:22px;border-radius:13px}.side b{display:block;margin-bottom:14px}.side ol{padding-left:20px;margin:0;color:var(--muted);font-size:.94rem}.side li{margin:10px 0}.side-footer{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.side-footer a{font-weight:700;color:var(--brand)}.about{background:var(--hero);color:var(--onhero);border-radius:15px;padding:35px;display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}.about p{color:#d5e6d9}.footer{margin-top:40px;background:var(--hero);color:var(--onhero);padding:42px 0 24px}.foot-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:40px}.footer .logo small{color:#c3d3c7}.footer p,.footer a{color:#d0dfd4}.footer a:hover{color:#efc28c}.footer h3{font-size:1rem;letter-spacing:0;margin-bottom:12px}.footer ul{list-style:none;margin:0;padding:0}.footer li{margin:7px 0}.copyright{border-top:1px solid #577065;margin-top:28px;padding-top:17px;font-size:.85rem;color:#d0dfd4}.skip{position:absolute;left:-1000px}.skip:focus{left:10px;top:10px;z-index:5;padding:10px;background:var(--paper)}.mini{font-size:.9rem;color:var(--muted);margin-top:14px}
@media(max-width:1050px){.nav{gap:14px;flex-wrap:wrap;justify-content:center}.header{gap:16px}.topic-grid{grid-template-columns:repeat(3,1fr)}.hero-copy{padding:36px}.article-shell{gap:22px}.article-content{padding:30px}}
@media(max-width:760px){.wrap{width:calc(100% - 32px)}.header{min-height:70px;flex-wrap:wrap;padding:12px 0;gap:12px}.nav{order:3;width:100%;justify-content:flex-start;gap:4px 16px;font-size:.86rem}.nav a{padding:4px 0}.hero{margin-top:16px;grid-template-columns:1fr;min-height:auto}.hero-copy{padding:28px 24px}.hero-art{min-height:0;height:240px}.stats{gap:12px;padding:15px 0}.stats div{display:block;text-align:center}.stats strong{font-size:1.5rem;display:block}.stats span{font-size:.78rem}.section{padding:35px 0}.section-title{display:block}.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topic{padding:16px 13px}.feature{grid-template-columns:1fr}.feature img{min-height:0;max-height:240px}.feature-body{padding:23px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.card-body{padding:14px}.card h3{font-size:1.04rem}.card p{font-size:.9rem}.search{width:100%}.article-shell{display:flex;flex-direction:column;gap:20px}.side{position:static;order:-1;width:100%}.article-content{padding:24px;font-size:1rem}.article-content .lead{font-size:1.1rem}.about,.foot-grid{grid-template-columns:1fr;gap:24px}.footer{margin-top:18px}.crumbs{padding:18px 0}.page-head{padding:8px 0 24px}}
@media(max-width:450px){.grid{grid-template-columns:1fr}.topic-grid{gap:8px}.topic b{font-size:.95rem}.hero h1{font-size:2.6rem}.footer{padding:28px 0}.stats span{line-height:1.25;display:block}.filter{padding:6px 10px}.article-content{padding:20px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
@media print{.top,.footer,.side,.related,.crumbs,.button{display:none!important}.wrap{width:100%}.article-shell{display:block}.article{border:0}.article-content{padding:0}.article>img{max-height:240px}body{background:white;color:black}}

[hidden]{display:none!important}
@media(max-width:450px){.hero-copy{padding:24px}.hero h1{font-size:2.35rem}.hero p{font-size:1.04rem}.hero-art{height:215px}.hero .button{padding:12px 15px;font-size:.94rem}}
.card img,.article>img{height:auto;aspect-ratio:16/9}
/* Палитра и типографика монтажного справочника */
:root {
  --bg: #f5f6f7;
  --paper: #fff;
  --ink: #172338;
  --muted: #546272;
  --line: #c9cfd8;
  --brand: #173dac;
  --accent: #2449bd;
  --hero: #17253e;
  --onhero: #fff;
  --shadow: none;
}
:root[data-theme=dark] {
  --bg: #141c2b;
  --paper: #1d283c;
  --ink: #f3f5fb;
  --muted: #b7c3d6;
  --line: #414f68;
  --brand: #a9c5ff;
  --accent: #c1d5ff;
  --hero: #14213b;
  --onhero: #fff;
}
body {font-family:"Segoe UI",Arial,sans-serif}
h1,h2,.manual-title h1,.page-head h1 {font-family:inherit;font-weight:720;letter-spacing:-.052em}
.header {min-height:70px}
.top {border-bottom:2px solid var(--ink)}
.logo {font-size:1.13rem}
.logo small {letter-spacing:.04em}
.mark {background:#163ab4;color:#fff;border-radius:0;width:36px;height:40px}
.theme {border-radius:4px}
.manual-title {display:flex;align-items:end;justify-content:space-between;gap:32px;padding:38px 0 25px}
.manual-title h1 {font-size:clamp(2.7rem,5.25vw,5.1rem);line-height:1}
.manual-title p {margin-top:12px;color:var(--muted);font-size:1.08rem}
.title-search {width:min(310px,100%);flex:none}
.title-search label {font-size:.87rem;font-weight:650;display:block;margin-bottom:6px}
.title-search div {display:flex;border:1px solid var(--ink);background:var(--paper)}
.title-search input {width:0;flex:1;min-width:0;border:0;background:transparent;color:var(--ink);padding:10px 12px}
.title-search button {border:0;background:#163ab4;color:white;font-weight:650;padding:8px 18px}
.title-search button:hover {background:#0d298a}
.workbench {display:grid;grid-template-columns:minmax(0,2.55fr) minmax(245px,1fr);align-items:stretch}
.assembly {display:flex;flex-direction:column;justify-content:center;min-width:0;margin:0;background:#163ab4}
.assembly img {width:100%;height:auto;display:block}
.assembly figcaption {display:grid;grid-template-columns:repeat(4,1fr);background:#102d8d;margin-top:auto;border-top:1px solid #6c85ce}
.assembly figcaption a {padding:12px 9px;color:white;font-size:.95rem;display:flex;justify-content:center;align-items:center;gap:8px}
.assembly figcaption a:hover,.assembly figcaption a:focus-visible {background:#284cb7}
.assembly figcaption b {display:grid;place-items:center;border-radius:50%;background:#ffd2ad;color:#182641;width:21px;height:21px;font:700 .8rem/1 Arial}
.routes {padding:20px 24px;background:var(--paper);border:1px solid var(--line);border-left:0;display:flex;flex-direction:column}
.routes h2 {font-size:1.45rem;padding-bottom:8px}
.routes a {flex:1;display:grid;align-content:center;border-top:1px solid var(--line);padding:12px 0;position:relative}
.routes small {color:var(--muted);font-size:.84rem}
.routes strong {font-size:1.18rem;line-height:1.2;margin-top:3px}
.routes a:hover strong {text-decoration:underline;text-underline-offset:3px}
.library {border-top:0}
.section {padding:38px 0}
.section-title {align-items:baseline;margin-bottom:16px;border-bottom:2px solid var(--ink);padding-bottom:12px}
.section-title h2 {font-size:clamp(1.7rem,3vw,2.6rem)}
.section-title .result-count {margin:0;font:500 .9rem/1.5 monospace}
.filterbar {gap:12px;margin:12px 0 22px}
.filter {border-radius:3px}
.filter[aria-pressed=true],.filter:hover {background:#163ab4;border-color:#163ab4;color:white}
.search,.button,.button.secondary,.side,.article,.empty {border-radius:3px}
.grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}
.card {flex-direction:row;align-items:center;gap:18px;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;padding:16px 4px 16px 0}
.card:hover {transform:none;box-shadow:none;background:var(--paper)}
.card img {width:108px;height:auto;flex:none;border:1px solid var(--line)}
.card-body {padding:0;display:block}
.card .tag {font-size:.75rem;letter-spacing:.035em;text-transform:none;color:var(--brand)}
.tag:before {display:none}
.card h3 {margin-top:4px;font-size:1.1rem;line-height:1.28}
.card p {margin:6px 0 0;font-size:.92rem}
.card:hover h3 {text-decoration:underline;text-underline-offset:3px}
.crumbs {padding:19px 0 12px}
.page-head {padding:8px 0 23px;border-bottom:2px solid var(--ink);margin-bottom:20px}
.page-head h1 {font-size:clamp(2.3rem,4.35vw,4.3rem);max-width:1020px}
.page-head .tag {margin-bottom:8px}
.article-shell {grid-template-columns:minmax(190px,.75fr) minmax(0,2.4fr);gap:clamp(22px,4vw,60px)}
.article-shell .side {grid-column:1;grid-row:1;border:0;border-left:3px solid var(--brand);padding:6px 14px;background:transparent}
.article-shell .article {grid-column:2;grid-row:1;border:0;background:var(--paper)}
.article-content {padding:25px clamp(20px,4vw,55px) 36px}
.article-content .lead {border-bottom:1px solid var(--line);padding-bottom:22px}
.article-detail {width:38%;max-width:270px;float:right;margin:24px 0 12px 22px;height:auto}
.article-content section:nth-of-type(3) {clear:both}
.toc summary {cursor:pointer;font-weight:700}
.side-footer .mini {line-height:1.45}
.footer {background:#142139}
@media(min-width:761px) and (max-width:950px) {
  .manual-title {gap:20px}.card img {width:76px}.nav {gap:10px}.header {flex-wrap:wrap;padding:9px 0}
}
@media(max-width:760px) {
  .header {padding:10px 0 7px;gap:7px;min-height:auto}
  .nav {flex-wrap:nowrap;overflow-x:auto;gap:18px;white-space:nowrap;scrollbar-width:thin;padding-bottom:2px}
  .manual-title {display:block;padding:24px 0 18px}
  .manual-title p {font-size:1rem}
  .title-search {width:100%;margin-top:13px}
  .title-search label {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .workbench {grid-template-columns:1fr}
  .assembly figcaption {grid-template-columns:repeat(2,1fr)}
  .assembly figcaption a {justify-content:start;padding:7px 12px;font-size:.9rem}
  .routes {border:1px solid var(--line);padding:14px 15px}
  .routes h2 {font-size:1.2rem}
  .routes a {grid-template-columns:minmax(82px,.85fr) 2fr;gap:8px;align-items:center;padding:8px 0}
  .routes strong {font-size:1.02rem;margin:0}
  .section-title {display:flex;align-items:baseline}
  .grid {grid-template-columns:1fr}
  .card {gap:12px;padding:14px 0}
  .card img {width:83px}
  .section {padding:24px 0}
  .article-shell {display:flex;gap:14px}
  .article-shell .side {padding:8px 12px}
  .side-footer {display:none}
  .article-content {padding:20px}
  .article-detail {float:none;width:100%;max-width:350px;margin:16px auto}
}
@media print {
  .manual-title form,.routes,.assembly,.filterbar {display:none}
  .article-shell {display:block}
}

