/* Candidate: load after the main wide stylesheet and all existing header/diagram overlays.
   One CSS pixel at the measured 1920px baseline. No JS, zoom, or whole-page transform.
   The original valve image is 375x900; the diagram artwork is 1920x640. */
@media (min-width: 1920.01px) {
  :root { --tg-wide-unit: .052083333vw; }

  .header { padding: calc(30 * var(--tg-wide-unit)) 0; }
  .header.header_background { padding: 0; }
  .header .header-content {
    height: calc(108 * var(--tg-wide-unit)) !important;
    min-height: calc(108 * var(--tg-wide-unit)) !important;
    padding: 0 calc(30 * var(--tg-wide-unit));
  }
  .header .header__logo {
    width: calc(108 * var(--tg-wide-unit));
    height: calc(108 * var(--tg-wide-unit));
    flex: 0 0 calc(108 * var(--tg-wide-unit));
    margin-right: calc(26 * var(--tg-wide-unit));
  }
  .header .brand,
  .header .brand img {
    width: calc(108 * var(--tg-wide-unit)) !important;
    height: calc(108 * var(--tg-wide-unit)) !important;
  }
  .header .brand::before { inset: calc(-10 * var(--tg-wide-unit)); }
  .header.header_background .header-content {
    height: calc(104 * var(--tg-wide-unit)) !important;
    min-height: calc(104 * var(--tg-wide-unit)) !important;
    padding: calc(16 * var(--tg-wide-unit)) calc(30 * var(--tg-wide-unit));
  }
  .header.header_background .header__logo {
    width: calc(72 * var(--tg-wide-unit));
    height: calc(72 * var(--tg-wide-unit));
    flex-basis: calc(72 * var(--tg-wide-unit));
    margin: 0;
  }
  .header.header_background .brand {
    width: calc(72 * var(--tg-wide-unit)) !important;
    height: calc(72 * var(--tg-wide-unit)) !important;
    padding: calc(8 * var(--tg-wide-unit));
  }
  .header.header_background .brand img { width: 100% !important; height: 100% !important; }
  .header .header-menu,
  .header .header-menu-top {
    width: calc(56 * var(--tg-wide-unit)) !important;
    min-width: calc(56 * var(--tg-wide-unit));
    max-width: calc(56 * var(--tg-wide-unit));
    height: calc(56 * var(--tg-wide-unit));
    min-height: calc(56 * var(--tg-wide-unit));
    flex: 0 0 calc(56 * var(--tg-wide-unit));
  }
  .header .header-menu-btn {
    width: calc(56 * var(--tg-wide-unit)) !important;
    height: calc(56 * var(--tg-wide-unit)) !important;
  }
  .header.header_background .header-menu-btn { box-shadow: 0 0 0 var(--tg-wide-unit) #ffffff24 inset; }
  .header .header-menu.active .header-menu-list {
    /* Override the existing show() inline height of 56px. */
    height: calc(56 * var(--tg-wide-unit)) !important;
    max-width: calc(100vw - 170 * var(--tg-wide-unit));
    padding: 0 calc(76 * var(--tg-wide-unit)) 0 calc(24 * var(--tg-wide-unit));
    gap: calc(20 * var(--tg-wide-unit));
    border-radius: calc(56 * var(--tg-wide-unit));
    box-shadow: inset 0 var(--tg-wide-unit) calc(3 * var(--tg-wide-unit)) rgba(255,255,255,.3);
    backdrop-filter: blur(calc(15 * var(--tg-wide-unit)));
  }
  .header .header-menu .header-menu-list > li {
    height: calc(56 * var(--tg-wide-unit));
    line-height: calc(56 * var(--tg-wide-unit));
  }
  .header .header-content .header-menu .header-menu-list > li > a {
    font-size: calc(14 * var(--tg-wide-unit));
    line-height: 1.2;
  }
  .header .header-menu-arrow { width: calc(8 * var(--tg-wide-unit)); top: calc(-1 * var(--tg-wide-unit)); }
  .header .icon-parent { margin-left: calc(5 * var(--tg-wide-unit)); }
  .header .header-menu-btn .gamburger {
    width: calc(20 * var(--tg-wide-unit)); height: calc(13 * var(--tg-wide-unit));
    margin-top: calc(-1 * var(--tg-wide-unit));
  }
  .header .gamburger::after,
  .header .gamburger::before,
  .header .gamburger-line {
    height: calc(2 * var(--tg-wide-unit)); bottom: calc(10 * var(--tg-wide-unit));
    border-radius: calc(6 * var(--tg-wide-unit));
  }
  .header .gamburger-line { bottom: calc(-2 * var(--tg-wide-unit)); }
  .header .gamburger::before { bottom: calc(4 * var(--tg-wide-unit)); }
  .header .brand:focus-visible,
  .header .header-menu-btn:focus-visible { outline-width: calc(2 * var(--tg-wide-unit)); outline-offset: calc(4 * var(--tg-wide-unit)); }

  .header .header-menu .header-menu-list > li.dropdown > ul.header-menu-subs {
    top: calc(100% + 12 * var(--tg-wide-unit));
    width: calc(380 * var(--tg-wide-unit));
    max-width: calc(100vw - 40 * var(--tg-wide-unit));
    max-height: max(0px, calc(100vh - 144 * var(--tg-wide-unit)));
    max-height: max(0px, calc(100dvh - 144 * var(--tg-wide-unit)));
    padding: calc(16 * var(--tg-wide-unit)) calc(18 * var(--tg-wide-unit));
    border-width: var(--tg-wide-unit);
    border-radius: calc(18 * var(--tg-wide-unit));
    box-shadow: 0 calc(12 * var(--tg-wide-unit)) calc(32 * var(--tg-wide-unit)) rgba(9,20,39,.2);
  }
  .header .header-menu .header-menu-list > li.dropdown:has(> a[aria-expanded="true"])::after {
    width: calc(380 * var(--tg-wide-unit));
    max-width: calc(100vw - 40 * var(--tg-wide-unit));
    height: calc(13 * var(--tg-wide-unit));
  }
  .header .header-menu .header-menu-subs > li > a {
    padding: calc(10 * var(--tg-wide-unit)) calc(6 * var(--tg-wide-unit));
    font-size: calc(17 * var(--tg-wide-unit)); line-height: 1.2;
  }
  .header .header-menu .header-menu-subs > li.tg-menu-all {
    bottom: calc(-16 * var(--tg-wide-unit));
    width: calc(100% + 36 * var(--tg-wide-unit));
    margin: calc(14 * var(--tg-wide-unit)) calc(-18 * var(--tg-wide-unit)) calc(-16 * var(--tg-wide-unit));
    padding: calc(12 * var(--tg-wide-unit)) calc(18 * var(--tg-wide-unit)) calc(14 * var(--tg-wide-unit));
    border-top-width: var(--tg-wide-unit);
  }
  .header .header-menu .header-menu-subs > li.tg-menu-all > a { gap: calc(16 * var(--tg-wide-unit)); }

  /* This block is in normal document flow, outside the fixed header. */
  .sitename.sitename-content { padding-block: calc(30 * var(--tg-wide-unit)); font-size: calc(16 * var(--tg-wide-unit)); line-height: calc(19.2 * var(--tg-wide-unit)); }
  .sitename.sitename-content > .allh { height: calc(108 * var(--tg-wide-unit)) !important; }
  .sitename .hdr-slogan { margin-left: calc(165 * var(--tg-wide-unit)); }
  .sitename name {
    font-size: calc(20 * var(--tg-wide-unit));
    padding-bottom: calc(5 * var(--tg-wide-unit)); margin-bottom: calc(5 * var(--tg-wide-unit));
    border-bottom-width: var(--tg-wide-unit);
  }

  /* Only width and anchoring change: existing pipe/rotor/crop multipliers stay intact. */
  #tabulator .tg-scroll-valve {
    --tg-valve-width: calc(420 * var(--tg-wide-unit));
    width: var(--tg-valve-width);
    right: max(calc(20 * var(--tg-wide-unit)), calc((100vw - 1536 * var(--tg-wide-unit)) / 2 + 32 * var(--tg-wide-unit)));
  }

  /* Centered point canvas retains the original 395px artwork offset, also scaled. */
  .technologies > .content { max-width: calc(1170 * var(--tg-wide-unit)); padding-inline: calc(20 * var(--tg-wide-unit)); }
  .technologies .teplo-diagram-scroll { margin-top: calc(32 * var(--tg-wide-unit)); }
  .technologies .technologies-numbs,
  .technologies .teplo-diagram-scroll .technologies-numbs {
    width: calc(1130 * var(--tg-wide-unit)); min-width: calc(1130 * var(--tg-wide-unit)); max-width: calc(1130 * var(--tg-wide-unit));
    height: calc(640 * var(--tg-wide-unit)); min-height: calc(640 * var(--tg-wide-unit));
  }
  .technologies .technologies-numbs::before {
    left: calc(50% - 50vw); width: 100vw; height: calc(640 * var(--tg-wide-unit));
    background-size: 100% 100%;
  }
  .technologies .technologies-numb,
  .technologies .technologies-numb .technologies-numb__count,
  .technologies .technologies-numb:hover .technologies-numb__count,
  .technologies .technologies-numb.active .technologies-numb__count,
  .technologies .technologies-numb.hover .technologies-numb__count {
    width: calc(32 * var(--tg-wide-unit)); height: calc(32 * var(--tg-wide-unit));
  }
  .technologies .technologies-numb .technologies-numb__count,
  .technologies .technologies-numb:hover .technologies-numb__count,
  .technologies .technologies-numb.active .technologies-numb__count,
  .technologies .technologies-numb.hover .technologies-numb__count { font-size: calc(14 * var(--tg-wide-unit)); }
  .technologies .technologies-numb::before { inset: calc(-6 * var(--tg-wide-unit)); }
  .technologies .technologies-numb_1 { left: calc(135 * var(--tg-wide-unit)); top: calc(252 * var(--tg-wide-unit)); }
  .technologies .technologies-numb_2 { left: calc(376 * var(--tg-wide-unit)); top: calc(252 * var(--tg-wide-unit)); }
  .technologies .technologies-numb_3 { left: calc(810 * var(--tg-wide-unit)); top: calc(580 * var(--tg-wide-unit)); }
  .technologies .technologies-numb_4 { left: calc(810 * var(--tg-wide-unit)); top: calc(528 * var(--tg-wide-unit)); }
  .technologies .technologies-numb_5 { left: calc(200 * var(--tg-wide-unit)); top: calc(60 * var(--tg-wide-unit)); }
  .technologies .technologies-numb_6 { left: calc(495 * var(--tg-wide-unit)); top: calc(175 * var(--tg-wide-unit)); }
  .technologies .technologies-numb_7 { left: calc(505 * var(--tg-wide-unit)); top: calc(55 * var(--tg-wide-unit)); }
  .technologies .technologies-numb_8 { left: calc(560 * var(--tg-wide-unit)); top: calc(110 * var(--tg-wide-unit)); }
  .technologies .technologies-numb_9 { left: calc(670 * var(--tg-wide-unit)); top: calc(50 * var(--tg-wide-unit)); }
  .technologies .technologies-numb_10 { left: calc(673 * var(--tg-wide-unit)); top: calc(140 * var(--tg-wide-unit)); }
  .technologies .technologies-numb_11 { left: calc(723 * var(--tg-wide-unit)); top: calc(353 * var(--tg-wide-unit)); }
  .technologies .technologies-numb_12 { left: calc(723 * var(--tg-wide-unit)); top: calc(458 * var(--tg-wide-unit)); }
  .technologies .technologies-numb_13 { left: calc(675 * var(--tg-wide-unit)); top: calc(570 * var(--tg-wide-unit)); }
  .technologies .technologies-numb_14 { left: calc(768 * var(--tg-wide-unit)); top: calc(498 * var(--tg-wide-unit)); }
  .technologies .technologies-numb_15 { left: calc(810 * var(--tg-wide-unit)); top: calc(458 * var(--tg-wide-unit)); }
  .technologies .teplo-technology-detail,
  .technologies .teplo-technology-detail:not(:empty) {
    min-height: calc(152 * var(--tg-wide-unit)); margin: calc(20 * var(--tg-wide-unit)) 0 calc(32 * var(--tg-wide-unit));
    padding: calc(24 * var(--tg-wide-unit)); border-width: var(--tg-wide-unit);
    border-radius: calc(16 * var(--tg-wide-unit)); font-size: calc(16 * var(--tg-wide-unit));
  }
  .technologies .technologies-numb:focus-visible,
  .technologies .teplo-diagram-scroll:focus-visible { outline-width: calc(2 * var(--tg-wide-unit)); outline-offset: calc(4 * var(--tg-wide-unit)); }

  /* Native GDPR info controls. Keep its em-based revoke placement and transitions. */
  body .cc-window.cc-type-info,
  body .cc-revoke { font-size: calc(16 * var(--tg-wide-unit)); }
  body .cc-window.cc-type-info.cc-banner {
    gap: calc(16 * var(--tg-wide-unit)) calc(28 * var(--tg-wide-unit));
    padding: calc(20 * var(--tg-wide-unit)) max(calc(24 * var(--tg-wide-unit)), calc((100% - 1536 * var(--tg-wide-unit)) / 2));
    padding-bottom: max(calc(20 * var(--tg-wide-unit)), env(safe-area-inset-bottom));
    border-top-width: var(--tg-wide-unit);
    box-shadow: 0 calc(-10 * var(--tg-wide-unit)) calc(36 * var(--tg-wide-unit)) rgba(6,18,37,.18);
  }
  body .cc-window.cc-type-info .cc-link { text-underline-offset: calc(3 * var(--tg-wide-unit)); margin-right: calc(4 * var(--tg-wide-unit)); }
  body .cc-window.cc-type-info .cc-link label { font-size: calc(16 * var(--tg-wide-unit)); }
  body .cc-window.cc-type-info a.cc-btn.cc-dismiss {
    min-width: calc(132 * var(--tg-wide-unit)); min-height: calc(44 * var(--tg-wide-unit));
    padding: calc(10 * var(--tg-wide-unit)) calc(24 * var(--tg-wide-unit));
    border-width: calc(2 * var(--tg-wide-unit)); border-radius: calc(24 * var(--tg-wide-unit));
  }
  body .cc-revoke { padding: calc(12 * var(--tg-wide-unit)) calc(18 * var(--tg-wide-unit)); min-height: calc(44 * var(--tg-wide-unit)); }
  body .cc-window.cc-type-info :is(.cc-btn,.cc-link):focus-visible,
  body .cc-revoke:focus-visible { outline-width: calc(2 * var(--tg-wide-unit)); outline-offset: calc(3 * var(--tg-wide-unit)); }
}
