@font-face {
font-family: 'Handjet';
font-style: normal;
font-weight: 100 900;
font-display: swap;
src: url(/fonts/handjet-100-900-normal-cyrillic.woff2) format('woff2');
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
font-family: 'Handjet';
font-style: normal;
font-weight: 100 900;
font-display: swap;
src: url(/fonts/handjet-100-900-normal-latin.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Sofia Sans';
font-style: normal;
font-weight: 400 800;
font-display: swap;
src: url(/fonts/sofia-sans-400-800-normal-cyrillic.woff2) format('woff2');
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
font-family: 'Sofia Sans';
font-style: normal;
font-weight: 400 800;
font-display: swap;
src: url(/fonts/sofia-sans-400-800-normal-latin.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Вес трубы. Идея: труба на складе. Слева срез — видно стенку в пропорции к диаметру; тело уходит за край экрана,
вдоль него продольный сварной шов и краскоструйная маркировка с размером и весом.
Handjet с круглыми точками — маркировка, Sofia Sans — текст. */
:root{
--paper:#fff; --ink:#1b2025; --muted:#58626b; --line:#dde2e6; --tint:#f1f4f6;
--steel:#2f363e; --cut:#c9d0d6; --hole:#11161a; --mark:#ffd23f; --ochre:#b98800;
--wrap:1200px; --pad:clamp(16px,4vw,48px);
--dots:"Handjet","Sofia Sans",sans-serif; --text:"Sofia Sans",-apple-system,"Segoe UI",Arial,sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font:400 18px/1.55 var(--text);font-variant-numeric:tabular-nums lining-nums;overflow-x:hidden}
a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--ochre);text-decoration-thickness:2px;text-underline-offset:3px}
a:hover{text-decoration-color:var(--ink)}
:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.skip{position:absolute;left:-9999px;top:8px;background:var(--ink);color:#fff;padding:8px 12px;z-index:9}.skip:focus{left:8px}
.head,main,.foot{width:min(100% - 2 * var(--pad),var(--wrap));margin-left:auto;margin-right:auto}
.head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 28px;padding:16px 0}
.brand{display:inline-flex;align-items:center;gap:10px;font:800 22px var(--text);letter-spacing:-.01em;text-decoration:none}
.brand-end{width:18px;height:24px}.brand-end ellipse{fill:var(--steel)}.brand-end .h{fill:var(--paper)}
.nav{display:flex;flex-wrap:wrap;gap:4px 24px}
.nav a{text-decoration:none;font-weight:600;font-size:17px;padding:4px 0;border-bottom:3px solid transparent}
.nav a:hover{border-color:var(--line)}
.nav a[aria-current]{border-color:var(--mark)}
main{padding-bottom:16px}
main:focus{outline:0}
.crumbs{font-size:15px;color:var(--muted);padding-top:10px}
.crumbs a{color:var(--muted);text-decoration-color:var(--line)}
h1{font:800 clamp(34px,4.6vw,56px)/1.04 var(--text);letter-spacing:-.015em;margin:.35em 0 .35em;text-wrap:balance}
h2{font:800 clamp(23px,2.5vw,30px)/1.15 var(--text);letter-spacing:-.01em;margin:1.8em 0 .5em}
p{margin:0 0 1em;max-width:40em;text-wrap:pretty}
.lead{font-size:clamp(18px,1.7vw,20.5px);line-height:1.5}
.src,.note{font-size:15.5px;color:var(--muted)}
.strong{font-weight:700}
/* Поля калькулятора */
.ctl{display:flex;flex-wrap:wrap;gap:14px 18px;margin:22px 0 26px}
.field label,.walls legend{display:block;font-size:15px;font-weight:700;margin-bottom:6px}
.ctl select,.ctl input{font:600 22px var(--text);min-height:54px;padding:8px 12px;border:2px solid var(--ink);border-radius:4px;background:#fff;color:var(--ink);width:150px}
.ctl input{width:170px}
.ctl select:focus-visible,.ctl input:focus-visible{outline:3px solid var(--mark);outline-offset:0;border-color:var(--ink)}
/* Труба */
.pipe{--hh:var(--h);position:relative;height:var(--hh);margin:8px calc(50% - 50vw) 0 0;transition:height .35s ease}
.pipe::after{content:"";position:absolute;left:4%;right:0;bottom:-14px;height:14px;background:radial-gradient(50% 100% at 50% 0,rgba(17,22,26,.22),transparent 70%)}
.pipe-body{position:absolute;inset:0 0 0 calc(var(--hh) * .21);overflow:hidden;
background:linear-gradient(180deg,#6d7781 0%,#aab3bb 13%,#68727c 30%,#3b434b 56%,#23292f 86%,#384049 100%)}
.seam{position:absolute;left:0;right:0;top:19%;height:3px;background:linear-gradient(#cdd4da,#7d8790 60%,#1f252b)}
.pipe-end{position:absolute;left:0;top:0;height:100%;width:calc(var(--hh) * .42);overflow:visible}
.pipe-end .cut{fill:var(--cut);stroke:#7f8a94;stroke-width:1.2;vector-effect:non-scaling-stroke}
.pipe-end .hole{transition:rx .35s ease,ry .35s ease}
.mark{position:absolute;left:calc(var(--hh) * .32 + 14px);right:12px;top:calc(19% + 10px);bottom:8px;display:flex;flex-direction:column;justify-content:center;
color:var(--mark);font-family:var(--dots);font-variation-settings:"ELSH" 16;text-transform:uppercase;white-space:nowrap}
.mark-rep{left:max(calc(var(--hh) * .32 + 14px + 760px),58%);right:auto;opacity:.6}
.mark p{margin:0;max-width:none;text-wrap:nowrap;white-space:nowrap}
.mark-size{font-size:clamp(19px,calc(var(--hh) * .15),30px);font-weight:500;letter-spacing:.06em;line-height:1.1}
.mark-kg{font-size:clamp(38px,calc(var(--hh) * .4),96px);font-weight:420;letter-spacing:.04em;line-height:1}
.mark output{font:inherit}
.facts{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 40px;margin:30px 0 28px}
.facts div{margin:0}
.facts dt{font-size:15px;color:var(--muted)}
.facts dd{margin:0;font:700 26px/1.2 var(--text)}
.facts .facts-go{font-weight:700;font-size:18px;padding-bottom:3px}
/* Кнопки стенок */
.walls{border:0;padding:0;margin:4px 0 22px;min-width:0}
.walls-in{display:flex;flex-wrap:wrap;gap:6px}
.wall{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:6px 12px 6px 8px;border:2px solid var(--line);border-radius:4px;background:#fff;color:var(--ink);font:700 17px var(--text);cursor:pointer}
.wall:hover{border-color:var(--ink)}
.wall[aria-pressed=true]{background:var(--steel);border-color:var(--steel);color:var(--mark)}
.ring{width:26px;height:26px;flex:none}
.ring circle{fill:none;stroke:currentColor}
.wall[aria-pressed=true] .ring circle{stroke:var(--cut)}
/* Таблицы */
.scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 0 1.2em}
table{border-collapse:collapse;width:100%;font-size:17px}
table.narrow{max-width:640px}
table.all{max-width:820px}
thead th{font-size:14.5px;font-weight:700;color:var(--muted);text-align:left;padding:8px 16px 8px 0;border-bottom:2px solid var(--ink);vertical-align:bottom}
thead th.grp{border-bottom:1px solid var(--line);color:var(--ink);padding-bottom:4px}
td,tbody th{padding:7px 16px 7px 0;border-bottom:1px solid var(--line);text-align:left}
tbody th{font-weight:700;white-space:nowrap}
.num,th.num{text-align:right;white-space:nowrap}
td:last-child,th:last-child{padding-right:0}
tbody tr:hover th,tbody tr:hover td{background:var(--tint)}
tr.hl th,tr.hl td{background:var(--steel);color:#fff}
tr.hl th{box-shadow:inset 5px 0 var(--mark)}
tbody th,thead th:first-child{padding-left:12px}
#p-table{max-width:900px}
/* Соседние диаметры — обрезки трубы */
.near{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 24px;margin:2em 0 1.4em}
.near a{display:inline-flex;align-items:center;gap:10px;font-weight:700;text-decoration:none;padding:6px 0}
.near a:hover{text-decoration:underline;text-decoration-color:var(--ochre)}
.stub{position:relative;width:54px;height:22px;background:linear-gradient(180deg,#8d97a0,#3b434b 60%,#23292f)}
.stub::before{content:"";position:absolute;top:0;width:10px;height:22px;border-radius:50%;background:var(--cut);box-shadow:inset 0 0 0 2.5px var(--cut),inset 0 0 0 9px var(--hole)}
.prev .stub::before{left:-5px}
.next{margin-left:auto;flex-direction:row-reverse}
.next .stub::before{right:-5px}
/* Развёртка стенки */
.fig{margin:20px 0 18px}
.fig figcaption{font-size:16px;color:var(--muted);max-width:40em;margin-top:8px}
.unroll{display:block;width:100%;max-width:760px;height:auto}
.u-wall{fill:none;stroke:var(--steel)}
.u-mid{fill:none;stroke:var(--mark);stroke-width:2;stroke-dasharray:6 5}
.u-strip{fill:var(--steel)}
.u-dim{stroke:var(--muted);stroke-width:1.2}
.u-dot{fill:var(--ink)}
.u-arrow{fill:none;stroke:var(--ink);stroke-width:2}
.u-t{font:700 20px var(--text);fill:var(--ink)}
.u-c{font:600 18px var(--text);fill:var(--muted)}
.formula{display:inline-block;max-width:none;margin:6px 0 18px;padding:14px 22px;background:var(--steel);color:var(--mark);font:800 clamp(24px,3.6vw,40px)/1.15 var(--text);letter-spacing:.01em;box-shadow:inset 0 5px 0 #6d7781}
/* 404 */
.void{display:flex;align-items:center;gap:clamp(20px,4vw,48px);margin:24px 0}
.void-end{width:clamp(56px,7vw,80px);height:auto;flex:none}
.void-end .cut{fill:var(--cut)}
.foot{margin-top:56px;padding:24px 0 40px;border-top:2px solid var(--ink);font-size:15px;color:var(--muted)}
.foot nav{display:flex;flex-wrap:wrap;gap:4px 22px}
.foot nav a{color:var(--muted)}
.cookie{position:fixed;left:12px;right:12px;bottom:12px;max-width:560px;display:flex;gap:14px;align-items:center;background:var(--steel);color:#fff;padding:12px 14px 12px 18px;font-size:14.5px;border-radius:4px;z-index:5}
.cookie[hidden]{display:none}
.cookie p{margin:0}.cookie a{color:inherit}
.cookie button{flex:none;font:700 15px/1 var(--text);min-height:40px;padding:0 16px;border:0;border-radius:4px;background:var(--mark);color:var(--ink);cursor:pointer}
.m-only{display:none}
@media(max-width:640px){
body{font-size:17px}
.head{display:block}
.nav{margin-top:6px}
.ctl{gap:12px}
.field{flex:1 1 40%}
.ctl select,.ctl input{width:100%}
.pipe{--hh:calc(var(--h) * .62 + 30px)}
.mark{right:8px}
.mark-size{font-size:clamp(16px,calc(var(--hh) * .12),19px);letter-spacing:.04em}
.mark-kg{font-size:clamp(34px,calc(var(--hh) * .32),52px)}
.walls-in{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;margin:0 calc(var(--pad) * -1);padding:2px var(--pad) 8px;scrollbar-width:thin}
.wall{flex:none;scroll-snap-align:start}
.facts{gap:12px 28px}
.facts dd{font-size:23px}
.facts .facts-go{flex-basis:100%}
.m-hide{display:none}
.m-only{display:block}
table{font-size:15.5px}
table.all{font-size:15px}
table.all th,table.all td{padding-right:8px}
table.all tbody th,table.all thead th:first-child{padding-left:4px}
td,tbody th,thead th{padding-right:10px}
.formula{padding:12px 16px}
}
@media(prefers-reduced-motion:reduce){.pipe,.pipe-end .hole{transition:none}}
