/* SC Parametric — веб-версія документної системи (токени з parametric.center, тема parametric_v4) */
@font-face { font-family: "Onest"; font-weight: 100 900; font-style: normal; font-display: swap;
  src: url("fonts/onest-cyrillic-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Onest"; font-weight: 100 900; font-style: normal; font-display: swap;
  src: url("fonts/onest-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 100 900; font-style: normal; font-display: swap;
  src: url("fonts/onest-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-weight: 100 900; font-style: normal; font-display: swap;
  src: url("fonts/onest-latin-wght-normal.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; }

:root {
  --bg: #F7F8FA; --white: #FFFFFF; --line: #E7E7E7; --line-soft: #EFEFF1;
  --ink: #010B1F; --ink-2: #5A5A5A; --ink-3: #9A9A9A;
  --navy: #0B1A4A; --royal: #1E42DD; --blue: #226CC0; --blue-deep: #06348E;
  --blue-soft: #EBEFFF; --blue-tint: #E7F0FC; --blue-edge: #CAD7FD;
  --yellow: #FFB81C; --yellow-soft: #FFF4D6; --green: #12A150; --red: #D93A3A;
  --grad-btn: linear-gradient(88deg, #226CC0 0%, #06348E 100%);
  --grad-deep: radial-gradient(120% 140% at 12% 8%, #2E5FE6 0%, #123098 46%, #0A1E63 100%);
  --grid-line: rgba(255,255,255,.08);
  --r-xs: 6px; --r-sm: 10px; --r: 13px; --r-lg: 19px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgb(16 24 40 / .05);
  --sh-2: 0 8px 28px -10px rgb(11 26 74 / .22);
  --side: 272px; --content: 820px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: "Onest", "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.6;
  letter-spacing: -0.01em; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.02; letter-spacing: -0.045em; }
h2 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.1; letter-spacing: -0.04em; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.025em; }
h4 { font-size: 16px; line-height: 1.3; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--blue-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--royal); }
code, .mono { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .88em; letter-spacing: 0; }
code { background: var(--blue-soft); color: var(--blue-deep); padding: 1px 6px; border-radius: 5px; white-space: nowrap; }
kbd { font-family: inherit; font-size: .82em; font-weight: 600; padding: 1px 7px; border-radius: 6px; background: var(--white);
  border: 1px solid var(--line); border-bottom-width: 2px; color: var(--ink); white-space: nowrap; }
.path { font-weight: 600; color: var(--blue-deep); }
.path i { font-style: normal; color: var(--ink-3); padding: 0 .3em; font-weight: 400; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; color: var(--ink-2); }

/* ---------- верхня панель ---------- */
.topbar { position: sticky; top: 0; z-index: 40; height: 64px; display: flex; align-items: center; gap: 20px;
  padding: 0 24px; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line); }
.topbar__logo img { height: 26px; display: block; }
.topbar__sep { width: 1px; height: 26px; background: var(--line); }
.topbar__title { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.topbar__title span { color: var(--ink-3); font-weight: 500; }
.search { margin-left: auto; position: relative; width: min(340px, 40vw); }
.search input { width: 100%; height: 40px; padding: 0 64px 0 38px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: var(--bg); font: inherit; font-size: 15px; color: var(--ink); outline: none; transition: border-color .15s, background .15s, box-shadow .15s; }
.search input:focus { border-color: var(--blue-edge); background: var(--white); box-shadow: 0 0 0 4px var(--blue-soft); }
.search svg { position: absolute; left: 13px; top: 12px; width: 16px; height: 16px; color: var(--ink-3); }
.search .kbd { position: absolute; right: 10px; top: 9px; font-size: 12px; color: var(--ink-3); }
.search__count { position: absolute; right: 12px; top: 10px; font-size: 13px; font-weight: 600; color: var(--blue-deep); }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--white);
  align-items: center; justify-content: center; cursor: pointer; }

/* ---------- макет ---------- */
.layout { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); max-width: 1320px; margin: 0 auto; }
.side { position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto; padding: 28px 18px 40px 24px;
  border-right: 1px solid var(--line); overscroll-behavior: contain; }
.side__label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
  margin: 22px 10px 8px; display: flex; align-items: center; gap: 8px; }
.side__label::before { content: ""; width: 12px; height: 2px; background: var(--yellow); }
.side__label:first-child { margin-top: 0; }
.toc { list-style: none; margin: 0; padding: 0; }
.toc a { display: flex; gap: 10px; align-items: baseline; padding: 6px 10px; border-radius: 8px; font-size: 14px; line-height: 1.35;
  color: var(--ink-2); text-decoration: none; transition: background .15s, color .15s; }
.toc a b { font-weight: 600; font-size: 12px; color: var(--ink-3); min-width: 20px; font-variant-numeric: tabular-nums; }
.toc a:hover { background: var(--white); color: var(--ink); }
.toc a.is-active { background: var(--white); color: var(--ink); box-shadow: var(--sh-1); outline: 1px solid var(--line); }
.toc a.is-active b { color: var(--royal); }
.toc li.is-hidden { display: none; }

main { min-width: 0; padding: 0 0 120px; }
.wrap { max-width: var(--content); margin: 0 auto; padding: 0 40px; }

/* ---------- hero (креслярська панель) ---------- */
.bp { position: relative; overflow: hidden; background: var(--grad-deep); color: #fff; }
.bp::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 24px 24px; }
.bp > * { position: relative; }
.hero { margin: 28px 40px 0; border-radius: var(--r-lg); padding: 44px 44px 36px; min-height: 460px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; }
.hero h1 { color: #fff; margin-top: 18px; }
.hero__kind { margin-top: 26px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.hero .lead { margin-top: 16px; font-size: 18px; line-height: 1.5; color: #DCE3F5; letter-spacing: -0.02em; max-width: 520px; }
.hero__drawing { align-self: center; width: 100%; }
.hero__drawing svg { width: 100%; height: auto; display: block; }
.l  { fill: none; stroke: rgba(255,255,255,.92); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.s  { fill: none; stroke: rgba(255,255,255,.42); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.a  { fill: none; stroke: var(--yellow); stroke-width: 1.6; stroke-linecap: round; }
.af { fill: var(--yellow); }
.f  { fill: rgba(255,255,255,.08); }
.d  { stroke-dasharray: 5 5; }
.hero__drawing text { fill: rgba(255,255,255,.82); font-family: "Onest", sans-serif; font-weight: 600; font-size: 11px; letter-spacing: .06em; }
.stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.stat { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: var(--r-sm); padding: 16px 16px 14px; }
.stat b { display: block; font-size: 28px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { font-size: 13px; color: #DCE3F5; line-height: 1.35; display: block; margin-top: 4px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 5px 13px 5px 10px; border-radius: var(--r-pill);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-1); font-size: 13px; font-weight: 500; line-height: 1.2; color: var(--ink); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--royal); flex: none; }
.eyebrow--onblue { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); box-shadow: none; color: #fff; }
.eyebrow--onblue::before { background: var(--yellow); }

.cap { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; line-height: 1;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.cap::before { content: ""; width: 14px; height: 2px; background: var(--yellow); }

/* ---------- розділи ---------- */
.sec { padding-top: 72px; }
.sec + .sec { margin-top: 0; }
.sec__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.sec__num { font-size: 13px; font-weight: 600; color: var(--royal); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.sec__head .lead { font-size: 18px; color: var(--ink-2); letter-spacing: -0.02em; line-height: 1.5; }
.part { padding-top: 96px; }
.part__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 18px;
  border-bottom: 1px solid var(--line); }
.part__head h2 { font-size: clamp(30px, 3.8vw, 42px); }
.part__head .dim { min-width: 180px; }

.doc { display: flex; flex-direction: column; gap: 16px; }
.doc > p, .doc li { color: #1c2536; }
.doc ul, .doc ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.doc li::marker { color: var(--royal); font-weight: 600; }

.sub { margin-top: 10px; }

/* розмірна лінія DIM */
.dim { position: relative; display: flex; justify-content: center; padding-top: 2px; height: 30px; font-size: 13px; font-weight: 600;
  color: var(--ink-2); letter-spacing: -0.01em; }
.dim::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--ink-3); }
.dim::after { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 13px;
  border-left: 1.5px solid var(--yellow); border-right: 1.5px solid var(--yellow); }
.dim span { position: relative; background: transparent; padding: 0 8px; font-variant-numeric: tabular-nums; }
.dim--onblue { color: #fff; }
.dim--onblue::before { background: rgba(255,255,255,.55); }

/* картки */
.grid { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 14px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--sh-1); }
.card h4 { margin-bottom: 6px; }
.card p { color: var(--ink-2); font-size: 15px; }

.dl { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; color: inherit;
  transition: border-color .15s, box-shadow .2s, transform .2s; }
.dl:hover { border-color: var(--blue-edge); box-shadow: var(--sh-2); color: inherit; transform: translateY(-1px); }
.dl__ico { flex: none; width: 46px; height: 54px; border-radius: 8px; background: var(--blue-soft); color: var(--blue-deep);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  position: relative; }
.dl__ico::before { content: ""; position: absolute; top: 0; right: 0; width: 14px; height: 14px; background: var(--white);
  border-bottom-left-radius: 6px; box-shadow: -1px 1px 0 var(--blue-edge); }
.dl__ico--y { background: var(--yellow-soft); color: #8a5a00; }
.dl__body { min-width: 0; }
.dl__name, .dl__meta, .dl__desc { display: block; }
.dl__name { font-weight: 600; font-size: 15px; word-break: break-word; }
.dl__meta { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.dl__desc { font-size: 14px; color: var(--ink-2); margin-top: 6px; line-height: 1.45; }

/* коментар Parametric */
.note { border-radius: var(--r); padding: 16px 18px 16px 18px; background: var(--white); border: 1px solid var(--blue-edge);
  display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.note__ico { width: 30px; height: 30px; border-radius: 9px; background: var(--blue-soft); display: flex; align-items: center; justify-content: center; }
.note__ico img { width: 18px; height: 18px; }
.note__t { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 4px; }
.note p, .note li { font-size: 15px; color: #26324a; }
.note ul { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.note--warn { border-color: #F3D9A4; background: #FFFCF4; }
.note--warn .note__ico { background: var(--yellow-soft); color: #8a5a00; font-weight: 700; }
.note--warn .note__t { color: #8a5a00; }

/* кроки */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: st; display: flex; flex-direction: column; gap: 0; }
.steps > li { counter-increment: st; position: relative; padding: 0 0 28px 52px; }
.steps > li::before { content: counter(st); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--blue-edge); color: var(--royal); font-weight: 600; font-size: 15px;
  display: flex; align-items: center; justify-content: center; }
.steps > li::after { content: ""; position: absolute; left: 17px; top: 36px; bottom: 4px; width: 1px; background: var(--line); }
.steps > li:last-child::after { display: none; }
.steps > li > p:first-child { font-weight: 500; }
.steps .fig { margin-top: 14px; }
.steps > li > * + * { margin-top: 8px; }

/* малюнки */
.fig { margin: 4px 0 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 8px; box-shadow: var(--sh-1); }
.fig img { display: block; width: 100%; height: auto; border-radius: 7px; cursor: zoom-in; background: var(--bg); }
.fig figcaption { padding: 10px 6px 4px; font-size: 13px; color: var(--ink-2); display: flex; gap: 10px; align-items: baseline; }
.fig figcaption b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.fig--narrow { max-width: 460px; }
.fig--mid { max-width: 620px; }
.figs { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 12px; align-items: start; }

/* таблиця листів */
.sheets { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; font-size: 15px; }
.sheets th, .sheets td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.sheets th { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); background: var(--bg); }
.sheets tr:last-child td { border-bottom: 0; }
.sheets td:first-child { white-space: nowrap; font-weight: 600; color: var(--blue-deep); font-variant-numeric: tabular-nums; }
.sheets a { text-decoration: none; }

/* шкала нумерації листів (DIM-ланцюг) */
.chain { display: grid; grid-template-columns: 1fr 1fr 1fr 3fr 2fr 1.4fr 1.2fr 1.2fr; gap: 0; margin-top: 6px; }
.chain > div { position: relative; padding: 0 4px 0; text-align: center; }
.chain .v { display: block; font-size: 13px; font-weight: 600; color: var(--ink); padding-bottom: 8px; white-space: nowrap; }
.chain .k { display: block; font-size: 12px; color: var(--ink-2); padding-top: 10px; line-height: 1.3; }
.chain .ln { position: relative; height: 12px; border-left: 1.5px solid var(--yellow); }
.chain > div:last-child .ln { border-right: 1.5px solid var(--yellow); }
.chain .ln::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--ink-3); }

/* таблиця параметрів */
.ptools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.seg { display: inline-flex; padding: 3px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); }
.seg button { font: inherit; font-size: 14px; font-weight: 500; border: 0; background: transparent; color: var(--ink-2); padding: 6px 14px;
  border-radius: var(--r-pill); cursor: pointer; transition: background .15s, color .15s; }
.seg button.is-on { background: var(--navy); color: #fff; }
.pfilter { flex: 1; min-width: 200px; height: 40px; border-radius: var(--r-pill); border: 1px solid var(--line); padding: 0 16px; font: inherit; font-size: 15px; background: var(--white); outline: none; }
.pfilter:focus { border-color: var(--blue-edge); box-shadow: 0 0 0 4px var(--blue-soft); }
.plist { display: flex; flex-direction: column; gap: 8px; }
.prow { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); }
.prow summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 110px 110px 24px; gap: 12px; align-items: center; padding: 13px 16px; }
.prow summary::-webkit-details-marker { display: none; }
.prow summary:hover { background: #FBFCFE; border-radius: var(--r-sm); }
.prow__n { font-weight: 600; font-size: 15px; word-break: break-word; }
.pill { display: inline-flex; align-items: center; justify-content: center; padding: 3px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600;
  background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; width: fit-content; }
.pill--blue { background: var(--blue-soft); border-color: var(--blue-edge); color: var(--blue-deep); }
.pill--y { background: var(--yellow-soft); border-color: #F3D9A4; color: #7a5200; }
.chev { width: 18px; height: 18px; color: var(--ink-3); transition: transform .2s; }
.prow[open] .chev { transform: rotate(180deg); }
.prow__body { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.prow__body p { font-size: 15px; color: #26324a; }
.guid { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.copy { font: inherit; font-size: 12px; font-weight: 600; border: 1px solid var(--line); background: var(--white); border-radius: 7px; padding: 3px 9px;
  cursor: pointer; color: var(--blue-deep); }
.copy:hover { border-color: var(--blue-edge); }
.copy.ok { color: var(--green); border-color: #BEE5CD; }

/* журнал змін */
.cl-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { font: inherit; font-size: 14px; font-weight: 500; padding: 6px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--white);
  color: var(--ink-2); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--blue-edge); color: var(--ink); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip span { opacity: .6; margin-left: 4px; font-variant-numeric: tabular-nums; }
.cl { display: flex; flex-direction: column; gap: 12px; }
.cl-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--sh-1); }
.cl-item__h { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cl-item__n { width: 30px; height: 30px; border-radius: 9px; background: var(--blue-soft); color: var(--royal); font-weight: 600; font-size: 14px;
  display: flex; align-items: center; justify-content: center; flex: none; font-variant-numeric: tabular-nums; }
.cl-item__h h4 { flex: 1; min-width: 160px; }
.cl-item__qa { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.cl-item__qa > div { border-radius: var(--r-sm); padding: 12px 14px; font-size: 15px; }
.cl-q { background: var(--bg); color: var(--ink-2); }
.cl-a { background: #F1FAF4; color: #173d27; }
.cl-q b, .cl-a b { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.cl-a b { color: var(--green); }
.cl-q b { color: var(--ink-3); }
.cl-item .figs { margin-top: 12px; }
.cl-item .fig { padding: 6px; }
.cl-item .fig img { max-height: 340px; object-fit: contain; }

/* чекліст */
.check { display: flex; flex-direction: column; gap: 8px; }
.check label { display: flex; gap: 14px; align-items: flex-start; padding: 13px 16px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-sm); cursor: pointer; transition: border-color .15s, background .15s; }
.check label:hover { border-color: var(--blue-edge); }
.check input { appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 7px; border: 1.5px solid var(--blue-edge);
  background: var(--white); display: grid; place-content: center; cursor: pointer; transition: background .15s, border-color .15s; }
.check input::after { content: ""; width: 11px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px,-1px); opacity: 0; }
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after { opacity: 1; }
.check input:checked + span { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--ink-3); }
.check span { font-size: 15px; }
.check span small { display: block; color: var(--ink-3); font-size: 13px; text-decoration: none; margin-top: 2px; }
.progress { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 14px; color: var(--ink-2); }
.progress__bar { flex: 1; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.progress__bar i { display: block; height: 100%; width: 0; background: var(--grad-btn); transition: width .3s; }
.btn-ghost { font: inherit; font-size: 13px; font-weight: 500; border: 1px solid var(--line); background: var(--white); border-radius: var(--r-pill);
  padding: 5px 12px; cursor: pointer; color: var(--ink-2); }

/* відео */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--navy); border: 1px solid var(--line); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* принципи */
.principles { counter-reset: pr; display: grid; grid-template-columns: 1fr; gap: 10px; }
.principle { counter-increment: pr; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.principle::before { content: counter(pr, decimal-leading-zero); font-size: 22px; font-weight: 600; letter-spacing: -0.03em; color: var(--royal); line-height: 1.1; }
.principle p { font-size: 15px; color: var(--ink-2); }
.principle h4 { margin-bottom: 3px; }

/* футер */
.foot { margin: 110px 40px 0; border-radius: var(--r-lg); padding: 36px 40px; display: flex; gap: 30px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.foot img { height: 30px; display: block; }
.foot p { color: #DCE3F5; font-size: 14px; }
.foot a { color: #fff; }

/* пошук */
.sec.is-hidden, .part.is-hidden { display: none; }
::highlight(q) { background: var(--yellow); color: var(--ink); }
.empty { display: none; margin: 80px 40px; text-align: center; color: var(--ink-2); }
.empty.is-on { display: block; }

/* лайтбокс */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(6, 14, 38, .88); display: none; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out; }
.lb.is-on { display: flex; animation: fade .18s ease-out; }
.lb img { max-width: 100%; max-height: calc(100vh - 90px); border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.4); background: #fff; }
.lb p { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #DCE3F5; font-size: 14px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.totop { position: fixed; right: 22px; bottom: 22px; z-index: 30; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--white); box-shadow: var(--sh-2); display: flex; align-items: center; justify-content: center; color: var(--ink);
  opacity: 0; pointer-events: none; transition: opacity .2s; cursor: pointer; }
.totop.is-on { opacity: 1; pointer-events: auto; }

/* ---------- адаптив ---------- */
@media (max-width: 1080px) {
  .layout { grid-template-columns: 1fr; }
  .side { position: fixed; z-index: 50; top: 64px; left: 0; width: min(320px, 86vw); background: var(--bg); transform: translateX(-102%);
    transition: transform .25s ease; box-shadow: var(--sh-2); }
  body.nav-open .side { transform: none; }
  .menu-btn { display: inline-flex; }
  .hero { margin: 20px 20px 0; }
  .foot { margin: 80px 20px 0; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .topbar { padding: 0 14px; gap: 12px; }
  .topbar__sep, .topbar__title { display: none; }
  .search { width: auto; flex: 1; }
  .search .kbd { display: none; }
  .wrap { padding: 0 18px; }
  .hero { grid-template-columns: 1fr; padding: 30px 22px 24px; margin: 14px 12px 0; min-height: 0; }
  .hero__drawing { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid, .figs, .cl-item__qa { grid-template-columns: 1fr; }
  .prow summary { grid-template-columns: minmax(0, 1fr) 24px; }
  .prow summary .pill { display: none; }
  .chain { display: none; }
  .part__head { flex-direction: column; align-items: flex-start; }
  .part__head .dim { display: none; }
  .foot { margin: 70px 12px 0; padding: 28px 22px; }
  .sheets th, .sheets td { padding: 10px 12px; }
}
@media print {
  .topbar, .side, .totop, .lb { display: none !important; }
  .layout { display: block; }
  .sec.is-hidden, .part.is-hidden { display: block; }
}

/* доопрацювання */
.sec__head h3 { font-size: clamp(22px, 2.4vw, 27px); letter-spacing: -0.035em; line-height: 1.15; }
.search__count { right: 40px; }
.search input:not(:placeholder-shown) ~ .kbd { display: none; }
.prow summary .pill { justify-self: start; }
