/* Russian operator edition. All drawing labels are selectable HTML text. */
:root{--font-scale:1;--paper:#fffef9;--muted:#465652;--line:#c4cdc5}
html{scroll-padding-top:5rem; scrollbar-color:#738d83 #eef1eb}
body{font-family:"Segoe UI",Arial,sans-serif}
button,input,select{font:inherit;touch-action:manipulation}
button:disabled{cursor:default;opacity:.5}
input{caret-color:var(--green)}
[hidden]{display:none!important}
.hero{padding-top:3.3rem;padding-bottom:2rem}
.hero h1{font-size:clamp(2.2rem,4.3vw,3.8rem);max-width:22ch;line-height:1.1;font-weight:760}
.hero h1 span{font-size:.74em;font-weight:600;letter-spacing:-.025em}
.hero .edition-line{font-size:.78rem;color:var(--muted);margin:1.5rem 0 0}
.hero p{max-width:64ch}
.section h2{max-width:30ch}
.section h3{max-width:65ch}
.task-role{font-size:.78rem;color:var(--muted);margin:.4rem 0 1.2rem}
.sidebar-title{font-size:.82rem;text-transform:none;letter-spacing:0;margin-left:.65rem}
.sidebar-note{font-size:.84rem}
.sidebar-note>a{display:block;padding:.45rem 0;min-height:44px}
.sidebar-note p{font-size:.75rem}
.nav a{font-weight:600}
.notice{margin-bottom:2.5rem}
.split{grid-template-columns:1fr}
.section>.lead,.section>p,.steps{max-width:75ch}
.source-details{padding:.55rem .8rem;margin:.6rem 0 1.3rem;background:transparent;border-radius:6px}
.source-details summary{font-size:.83rem;min-height:32px;display:list-item;padding:.15rem 0;font-weight:600}
.source-details .source{margin:.5rem 0;font-size:.84rem}
.guide-search{margin:2rem 0 0;max-width:820px}
.guide-search>label{display:block;color:var(--green);font-weight:700;margin-bottom:.4rem}
.search-field{display:flex;gap:.5rem;align-items:stretch}
.search-field input{width:100%;min-width:0;min-height:54px;padding:.7rem .85rem;background:#fff;border:1px solid #81998e;border-radius:8px;color:var(--ink);font-size:1rem}
.search-field input::placeholder{color:#586b62;opacity:1}
.guide-search #search-hint,.guide-search #search-status{font-size:.82rem;margin:.45rem 0;color:var(--muted)}
#search-results{list-style:none;padding:0;margin:.6rem 0;border-block:1px solid var(--line)}
#search-results li{border-bottom:1px solid var(--line);max-width:none}
#search-results li:last-child{border:0}
#search-results a{display:block;padding:.7rem .35rem;text-decoration:none;line-height:1.35}
#search-results a:hover{background:var(--green2)}
#search-results strong{display:block;color:var(--green);font-size:.96rem}
#search-results span{display:block;font-size:.84rem;margin-top:.25rem;color:var(--ink)}
mark{background:#ffe2a8;color:#2b352e;padding:0 .12em;border-radius:2px}
.search-hit{animation:found 1.8s ease-out}
@keyframes found{0%,40%{background-color:#fff0c9}100%{background-color:transparent}}
.factory-figure{margin:1.4rem 0 2rem;max-width:100%;border:1px solid #b7c4bc;background:#fff;border-radius:8px}
.figure-heading{display:flex;gap:1rem;align-items:center;justify-content:space-between;padding:.7rem .9rem;border-bottom:1px solid var(--line);background:#eff3ed}
.figure-heading h4{margin:0;color:#203e35;line-height:1.3;font-size:1rem;font-weight:700;max-width:48ch}
.figure-expand{flex:none;font-size:.79rem;background:#fff;min-height:44px;font-weight:650}
.illustration-content{background:#fff;padding:.65rem;overflow:hidden}
.artboard{position:relative;width:100%;container-type:inline-size;overflow:hidden;background:#fff}
.artboard>img{position:absolute;display:block;height:auto;max-height:none;object-fit:initial}
.ru-label{position:absolute;display:block;align-content:center;white-space:nowrap;line-height:1.12;color:#17392c;background:#fff;font-family:"Segoe UI",Arial,sans-serif;font-weight:600;overflow:hidden;text-align:left;padding:0 .1em}
.figure-legend{margin:0;padding:.75rem .95rem;display:grid;grid-template-columns:1fr 1fr;gap:.65rem 1.5rem;background:#fafbf6;border-top:1px solid #d9dfd7}
.figure-legend>div{display:grid;grid-template-columns:minmax(4rem,max-content) 1fr;gap:.6rem;line-height:1.38;font-size:.86rem;align-content:start}
.figure-legend dt{font-weight:750;color:var(--green);font-variant-numeric:tabular-nums}
.figure-legend dd{margin:0}
.key-intro{margin:0;max-width:none;padding:.65rem .95rem .25rem;background:#fafbf6;font-size:.8rem;font-weight:700;color:var(--green)}
.key-intro+.figure-legend{border-top:0;padding-top:.35rem}
.parts-key{margin:.75rem .9rem;padding:0;border:1px solid var(--line);border-radius:6px;background:#fff}
.parts-key summary{padding:.65rem .8rem;min-height:48px;font-size:.9rem;line-height:1.4;color:var(--green);cursor:pointer;font-weight:700}
.parts-key summary:hover{background:var(--green2)}
.parts-key>p{margin:.7rem .8rem;font-size:.84rem;line-height:1.5}
.parts-key .complete-key{background:#fff;gap:.7rem 1.25rem}
.complete-key>div{grid-template-columns:minmax(0,7.5rem) minmax(0,1fr);overflow-wrap:anywhere}
.complete-key dt{font-variant-numeric:tabular-nums}
.identifier-note{margin-top:.6rem}
figcaption{padding:.7rem .95rem;font-size:.82rem;line-height:1.5;color:#42564c;border-top:1px solid #d9dfd7}
figcaption p{margin:0 0 .4rem;max-width:85ch}
figcaption a{font-size:.8rem}
.figure-jump{font-size:.9rem}
.diagram-panel{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:.6rem 1.5rem;padding:.9rem .6rem;border-bottom:1px solid var(--line)}
.diagram-panel:last-child{border:0}
.diagram-panel h4{grid-column:1/-1;font-size:1rem;line-height:1.4;margin:0 0 .25rem;color:var(--green)}
.diagram-panel p{font-size:.9rem;line-height:1.5;margin:0}
.gear-views{display:grid;grid-template-columns:1.45fr .85fr;gap:1.2rem;align-items:center}
.gear-views p{font-size:.85rem;margin:.6rem 0 .2rem;line-height:1.4}
.speed-matrix{border:0;border-radius:0;margin:0}
.speed-matrix table{font-size:.94rem;min-width:520px;text-align:center}
.speed-matrix td,.speed-matrix th{text-align:center;vertical-align:middle}
.speed-matrix caption{background:#fff;font-size:1rem;padding:.6rem .8rem}
.speed-matrix tbody tr.selected td{background:#dceadd;color:#183c2b;font-weight:750}
.speed-matrix tbody tr.selected td:first-child{box-shadow:inset 4px 0 #244c47}
.table-wrap{scrollbar-color:#738d83 #eef1eb;overscroll-behavior-inline:contain}
.speed-controls{align-items:end}
.speed-controls select{max-width:100%;min-width:0}
.speed-result{line-height:1.6}
.check-progress{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1.5rem 0 .5rem;border-block:1px solid var(--line);padding:.75rem 0}
.check-progress p{margin:0;font-weight:700;color:var(--green)}
.check-progress button{font-size:.8rem}
.check-note{font-size:.8rem;color:var(--muted)}
.step-check{display:block;margin:.65rem 0 0;min-height:44px;padding:.4rem .85rem;border:1px solid #8b9f90;border-radius:6px;background:#fff;color:var(--green);font-weight:650;font-size:.8rem}
.step-check[aria-pressed=true]{background:var(--green);color:#fff;border-color:var(--green)}
.reference-section{max-width:var(--max);border-top:1px solid var(--line);padding:2.5rem 0}
.reference-section h2{font-size:1.85rem;line-height:1.2;color:var(--green);margin:0 0 1rem;letter-spacing:-.02em}
.reference-section h3{font-size:1.13rem;margin:0 0 .5rem;color:var(--green)}
.document-actions{display:grid;grid-template-columns:1fr 1fr;gap:2rem;padding:.75rem 0 1.5rem}
.document-actions p{font-size:.9rem}
.document-actions button{font-size:.88rem;cursor:pointer;text-align:center;background:transparent}
#offline-status{font-size:.82rem;min-height:1.5em;color:var(--muted)}
.lightbox{background:#18332c;width:100%;height:100%;height:100dvh;margin:0}
.lightbox-inner{grid-template-rows:auto auto minmax(0,1fr) auto;padding:max(.65rem,env(safe-area-inset-top)) max(.65rem,env(safe-area-inset-right)) max(.65rem,env(safe-area-inset-bottom)) max(.65rem,env(safe-area-inset-left));gap:.65rem}
.lightbox-top{max-width:none;min-height:44px}
.lightbox-top strong{font-size:1rem;line-height:1.3;font-weight:600;max-width:65ch}
.lightbox-close{font-size:.87rem;border-color:#b6c9bd;background:#24463b;white-space:nowrap}
.lightbox-close:hover{background:#375e4c}
.zoom-controls{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}
#zoom-level{min-width:4.2em;text-align:center;font-size:.88rem;font-variant-numeric:tabular-nums}
.zoom-viewport{overflow:auto;background:#f2f2eb;overscroll-behavior:contain;min-height:0;touch-action:pan-x pan-y pinch-zoom;scrollbar-color:#a0b6a7 #203f32}
#zoom-content{width:100%;max-width:none;min-height:100%;margin:0 auto;display:flex;align-items:flex-start;justify-content:center}
#zoom-content>.illustration-content{width:100%;padding:.6rem;color:var(--ink);max-width:none;flex:none}
#zoom-content>.illustration-content .table-wrap{overflow:visible}
#zoom-content>.illustration-content table{min-width:0}
#zoom-content>.illustration-content .diagram-panel{display:block}
#zoom-content>.illustration-content .diagram-panel .artboard{max-width:850px;margin:auto}
#zoom-content>.illustration-content .diagram-panel p{margin:.5rem 0}
#zoom-caption{max-width:none;font-size:.78rem;line-height:1.35;margin:0;max-height:4.2em;overflow:auto;color:#f1f6ef}
.offline-banner{padding:.55rem 1rem;background:#e3ebdf;color:#244334;border-bottom:1px solid var(--line);font-size:.83rem;text-align:center}
@media(min-width:1250px){main{padding-inline:clamp(38px,4vw,64px)}.layout{grid-template-columns:280px minmax(0,1fr)}.section{max-width:960px}.hero{max-width:960px}}
@media(max-width:1050px){.figure-legend{grid-template-columns:1fr}.figure-heading{flex-wrap:wrap;gap:.5rem}.diagram-panel{grid-template-columns:1fr}.diagram-panel .artboard{max-width:620px}.document-actions{grid-template-columns:1fr;gap:1.8rem}}
@media(max-width:760px){html{scroll-padding-top:5rem}.topbar{padding-top:max(.5rem,env(safe-area-inset-top));height:auto}.hero{padding-top:2rem}.hero h1{font-size:2.55rem}.sidebar{top:var(--header-height,60px)}.sidebar.open{overscroll-behavior:contain}.nav a{min-height:48px}.hero .edition-line{font-size:.8rem}.figure-heading{padding:.7rem}.figure-heading h4{font-size:.96rem}.figure-expand{font-size:.82rem}.illustration-content{padding:.3rem}.figure-legend{padding:.7rem;font-size:.85rem}.artboard{background:#fff}.document-actions .button{width:100%}.check-progress{flex-wrap:wrap}.section{scroll-margin-top:1.2rem}.lightbox-top strong{font-size:.84rem}.zoom-controls{gap:.3rem}.zoom-controls button{font-size:.79rem;padding:.25rem .5rem;min-height:44px}#zoom-caption{font-size:.75rem}.reference-section h2{font-size:1.7rem}.search-field{flex-wrap:wrap}.search-field input{flex:1 1 180px}.speed-matrix table{font-size:.84rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.search-hit{animation:none}}
@media(max-width:470px){.gear-views{grid-template-columns:1fr}.gear-views>div:last-child{max-width:230px;margin:auto}}
@media(forced-colors:active){button,a,select,input{forced-color-adjust:auto}.ru-label{color:CanvasText;background:Canvas}.step-check[aria-pressed=true]{border:3px solid Highlight}.speed-matrix tbody tr.selected td{outline:1px solid Highlight}}
@media print{
 html{font-size:11.5pt!important}body{line-height:1.38}.hero{padding:0 0 .6rem}.hero h1{font-size:27pt}.hero .edition-line{font-size:9pt;margin:.6rem 0}.hero p{font-size:11pt}
 .guide-search,.figure-expand,.step-check,.check-progress,.check-note,#files,.lightbox,.offline-banner,.task-role{display:none!important}
 .source-details{border:0;padding:0;margin:.4rem 0}.source-details summary{display:none}.source-details .source{font-size:8.5pt;margin:.3rem 0}
 .section{max-width:none;padding-top:.8rem;margin-top:.7rem}.section h2{font-size:19pt;max-width:none}.section h3{font-size:13pt;margin-top:1rem}
 .factory-figure{break-inside:avoid;margin:.8rem 0 1rem;max-width:100%;border-color:#aaa}.figure-heading{padding:.4rem .65rem}.figure-heading h4{font-size:11pt}
 .illustration-content{padding:.25rem;max-width:140mm;margin:auto}.figure-legend{font-size:9pt;grid-template-columns:1fr 1fr;padding:.4rem .65rem;gap:.3rem .8rem}.figure-legend>div{font-size:9pt;grid-template-columns:max-content 1fr}.figure-legend dt{font-size:9pt}
 figcaption{font-size:8.5pt;padding:.4rem .65rem;line-height:1.35}figcaption a{font-size:8pt}.artboard{print-color-adjust:exact;-webkit-print-color-adjust:exact}.artboard>img{max-height:none}
 #fig-machine .illustration-content,#fig-quick-clamp .illustration-content,#fig-turret .illustration-content{max-width:122mm}
 .diagram-panel{display:grid;grid-template-columns:1fr 1fr;gap:.3rem .8rem;padding:.4rem}.diagram-panel h4{font-size:10pt}.diagram-panel p{font-size:9pt}.diagram-panel .artboard{max-width:75mm}
 .speed-matrix table{min-width:0;font-size:10pt}.speed-matrix tbody tr.selected td{background:transparent;box-shadow:none;color:black;font-weight:400}
 .speed-matrix caption{font-size:10pt;padding:.3rem}.speed-matrix td,.speed-matrix th{padding:.32rem .5rem}.speed-matrix .table-wrap{overflow:visible}
 .reference-section{padding:1rem 0}.reference-section h2{font-size:19pt}.reference-section p{font-size:10pt}.reference-section table{font-size:9.5pt}.endbar{font-size:8pt}.notice{padding:.7rem;margin-bottom:1rem}.figure-jump{display:none}.ru-label{color:#000}
 .factory-figure:has(.parts-key){break-inside:avoid}.factory-figure:has(.parts-key)>.figure-legend,.key-intro{display:none}
 .figure-heading{break-after:avoid}.illustration-content{break-inside:avoid}
 .parts-key{break-inside:avoid;margin:.4rem .6rem;border:0}.parts-key summary{padding:.3rem 0;min-height:0;break-after:avoid;font-size:10pt;list-style:none}
 .parts-key>p{margin:.35rem 0;font-size:8.5pt}.parts-key .complete-key{padding:.35rem 0;gap:.35rem .8rem}
 .complete-key>div{break-inside:avoid;grid-template-columns:65pt minmax(0,1fr);font-size:8.5pt}.complete-key dt{font-size:8.5pt}
}
@media (scripting:none){.mobile-menu,.top-actions,.guide-search,.figure-expand,.speed-finder,.step-check,.check-progress,.check-note,#save-offline{display:none!important}.sidebar{display:block;position:static;max-height:none;border-bottom:1px solid var(--line)}.sidebar .nav{display:grid;grid-template-columns:1fr 1fr}.sidebar-note{display:none}}
