/* Генерируется из figma-v5/tokens.json. Единая сетка сайта и библиотеки V5. */
:root{--ds-space-0:0px;--ds-space-2:2px;--ds-space-4:4px;--ds-space-6:6px;--ds-space-8:8px;--ds-space-10:10px;--ds-space-12:12px;--ds-space-14:14px;--ds-space-16:16px;--ds-space-18:18px;--ds-space-20:20px;--ds-space-24:24px;--ds-space-28:28px;--ds-space-32:32px;--ds-space-36:36px;--ds-space-40:40px;--ds-space-44:44px;--ds-space-48:48px;--ds-space-52:52px;--ds-space-56:56px;--ds-space-64:64px;--ds-space-72:72px;--ds-space-80:80px;--ds-space-88:88px;--ds-space-96:96px;--ds-space-112:112px;--ds-space-120:120px;--ds-space-144:144px;--ds-space-1680:1680px;--ds-radius-0:0px;--ds-radius-4:4px;--ds-radius-6:6px;--ds-radius-8:8px;--ds-radius-10:10px;--ds-radius-12:12px;--ds-radius-14:14px;--ds-radius-999:999px;--ds-content-max:1680px;--ds-grid-gap:24px;--ds-page-inset:72px}
body.has-side-navigation .wrap,body.has-side-navigation .site-header .header-inner.wrap{width:calc(100% - var(--ds-page-inset)*2);max-width:var(--ds-content-max);margin-inline:auto}
.hero-grid.grid-12{max-width:none;margin-inline:0}.docs-hero>.wrap,.lens-hero>.wrap{max-width:var(--ds-content-max)}
@media(min-width:1151px){.hero-grid.grid-12{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--ds-grid-gap)}.hero-grid.grid-12>*:first-child{grid-column:1/span 6;padding-left:0}.hero-grid.grid-12>*:last-child{grid-column:7/span 6}.docs-hero-copy,.lens-hero-copy{padding-left:0}.docs-hero-facts,.lens-hero-facts{margin-inline:0}}
@media(max-width:1150px){:root{--ds-page-inset:56px}.hero-grid.grid-12>*{grid-column:1/-1}}
.side-navigation:not([data-expanded=true]){opacity:var(--nav-opacity,.24);transition:opacity .45s ease,background-color .2s ease}.side-navigation:is(:hover,:focus-within),.side-navigation[data-expanded=true]{opacity:1}
.product-page .side-nav-link.nav-neutral{--nav-tone:var(--muted);color:var(--muted)}.product-page .side-nav-link.nav-neutral>svg{color:var(--muted)}.product-page .side-nav-link.nav-product>svg{color:var(--tone)}
.product-page .side-nav-link.nav-neutral[aria-current]{background:color-mix(in srgb,var(--muted) 8%,var(--surface));box-shadow:inset 0 0 0 1px var(--line)}
@media(max-width:760px){body.has-side-navigation .wrap{width:calc(100% - 62px);max-width:none;margin-left:44px;margin-right:18px}body.has-side-navigation .site-header .header-inner.wrap{width:calc(100% - 32px);margin-inline:16px;min-height:80px}.hero-grid.grid-12{display:grid;grid-template-columns:minmax(0,1fr);row-gap:32px}.hero-grid.grid-12>*{grid-column:1/-1;padding-left:0}}
@media(max-width:360px){body.has-side-navigation .wrap{width:calc(100% - 48px);margin-left:38px;margin-right:10px}body.has-side-navigation .site-header .header-inner.wrap{width:calc(100% - 32px);margin-inline:16px}}
@media(prefers-reduced-motion:reduce){.side-navigation{transition:none}}
body.has-side-navigation .site-header{box-sizing:border-box;height:80px}body.has-side-navigation .site-header .header-inner.wrap{min-height:79px}
/* Геометрия оболочки V5: общий исходник сайта и пакета Hub. */
:root {
	--shell-bg: var(--bg, var(--hub-canvas));
	--shell-surface: var(--surface, var(--hub-surface));
	--shell-raised: var(--raised, var(--hub-raised));
	--shell-line: var(--line, var(--hub-border));
	--shell-text: var(--text, var(--hub-text));
	--shell-muted: var(--muted, var(--hub-secondary));
	--shell-accent: var(--brand, var(--hub-accent));
	--shell-font: Inter, Arial, sans-serif;
}
:root body :is(.site-header,.navbar) {box-sizing:border-box;height:80px;min-height:80px;padding:0;border-bottom:1px solid var(--shell-line);background:var(--shell-bg)}
:root body :is(.site-header .header-inner.wrap,.navbar__inner) {box-sizing:border-box;width:calc(100% - 144px);max-width:var(--ds-content-max,1680px);height:80px;min-height:80px;margin-inline:auto;padding:0;gap:22px;align-items:center;flex-wrap:nowrap}
:root body :is(.site-header .brand,.navbar__brand) {display:flex;flex:none;align-items:center;justify-content:flex-start;width:190px;height:44px;min-width:0;padding:0;margin:0;text-decoration:none;overflow:visible}
:root body .v5-brand picture {display:block;flex:none;width:190px;height:44px}
:root body .v5-brand img {display:block;width:190px;height:44px;max-width:none;filter:none;object-fit:contain}
:root body .v5-brand .v5-brand-light {display:none}
:root[data-theme=light] body .v5-brand .v5-brand-dark {display:none}
:root[data-theme=light] body .v5-brand .v5-brand-light {display:block}
:root body .navbar__items {min-width:0;gap:16px;flex-wrap:nowrap}
:root body .navbar__items--right {flex:none;gap:6px;padding:0}
:root body .navbar__items>.v5-brand {margin-right:6px}
:root body :is(.site-header nav,.header-menu-panel) {gap:16px}
:root body :is(.site-header nav>a,.navbar__item) {font:400 14px/22px var(--shell-font);white-space:nowrap;color:var(--shell-muted)}
/* Поля подсветки одинаковы у сайта, решений и Хаба. */
:root body :is(.site-header nav>a,.navbar__items:not(.navbar__items--right)>.navbar__link) {border:0;border-radius:7px;background:transparent;text-decoration:none}
:root body :is(.site-header nav>a,.navbar__items:not(.navbar__items--right)>.navbar__link):hover {background:var(--shell-raised);color:var(--shell-text)}
:root body :is(.site-header nav>a[aria-current],.navbar__items:not(.navbar__items--right)>.navbar__link--active) {background:color-mix(in srgb,var(--shell-accent) 10%,var(--shell-bg));color:var(--shell-accent)}
:root body :is(.site-header nav>a,.navbar__items:not(.navbar__items--right)>.navbar__link):active {background:color-mix(in srgb,var(--shell-accent) 16%,var(--shell-bg));color:var(--shell-accent)}
:root body :is(.site-header .contact-chip,.hub-navbar-phone,.hub-navbar-email,.hub-navbar-max) {display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:40px;min-height:40px;padding:0 8px;border:0;border-bottom:1px solid var(--shell-line);border-radius:6px 6px 0 0;background:transparent;font:400 15px/22px var(--shell-font);color:var(--shell-muted);text-decoration:none}
:root body :is(.site-header .contact-chip,.hub-navbar-phone,.hub-navbar-email,.hub-navbar-max):hover {background:var(--shell-raised);border-color:var(--shell-muted);color:var(--shell-text)}
:root body :is(.site-header .contact-chip,.hub-navbar-phone,.hub-navbar-email,.hub-navbar-max):active {background:var(--shell-surface);border-color:var(--shell-accent)}
/* Старые генераторы светлой темы не меняют материалы общих контактов. */
:root[data-theme=light] body :is(.site-header .contact-chip,.hub-navbar-phone,.hub-navbar-email,.hub-navbar-max) {background:transparent;border-color:var(--shell-line);color:var(--shell-muted)}
:root[data-theme=light] body :is(.site-header .contact-chip,.hub-navbar-phone,.hub-navbar-email,.hub-navbar-max):hover {background:var(--shell-raised);border-color:var(--shell-muted);color:var(--shell-text);box-shadow:inset 0 -1px 0 var(--shell-muted)}
:root[data-theme=light] body :is(.site-header .contact-chip,.hub-navbar-phone,.hub-navbar-email,.hub-navbar-max):active {background:var(--shell-surface);border-color:var(--shell-accent);color:var(--shell-accent);box-shadow:inset 0 -1px 0 var(--shell-accent)}
:root body .site-header .header-contacts .btn,:root body .hub-navbar-support {display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:44px;min-height:44px;margin:0;padding:0 14px;border-radius:8px;white-space:nowrap;font:500 15px/22px var(--shell-font)}
:root body .hub-navbar-support::after {display:none}
:root body .navbar__items--right>.hub-navbar-support {color:var(--hub-on-accent)}
:root body .navbar__items--right>.hub-navbar-support:hover {color:var(--hub-on-accent)}
@media(min-width:1280px) {
	:root body :is(.site-header .header-telegram,.navbar__items--right>.hub-navbar-support) {width:102px;padding-inline:14px;font:500 15px/22px var(--shell-font)}
}
:root body :is(.theme-toggle,.hub-theme-toggle button) {display:grid;place-items:center;box-sizing:border-box;flex:none;width:40px;height:40px;min-height:0;padding:0;border:0;border-bottom:1px solid var(--shell-line);border-radius:6px 6px 0 0;background:transparent;color:var(--shell-muted);cursor:pointer}
:root body :is(.theme-toggle,.hub-theme-toggle button):hover {background:var(--shell-raised);border-color:var(--shell-muted);color:var(--shell-text)}
:root body :is(.theme-toggle,.hub-theme-toggle button):active {background:var(--shell-surface);border-color:var(--shell-accent)}
:root body :is(.theme-toggle,.hub-theme-toggle) svg {width:19px;height:19px}
:root body .hub-theme-toggle {display:flex;flex:none}
:root body .hub-theme-toggle .theme-moon {display:none}
:root[data-theme=light] body .hub-theme-toggle .theme-sun {display:none}
:root[data-theme=light] body .hub-theme-toggle .theme-moon {display:block}
:root body :is(.side-navigation,.hub-navigation-rail) {box-sizing:border-box;left:4px;width:44px;padding:3px;gap:3px;border:1px solid var(--shell-line);border-radius:11px;background:var(--shell-surface)}
:root body :is(.side-nav-link,.side-nav-toggle,.side-nav-controls>a,.hub-navigation-icons a,.hub-navigation-toggle) {box-sizing:border-box;flex:none;width:36px;height:36px;min-height:36px;padding:0;gap:12px;border-radius:7px;font:400 14px/20px var(--shell-font)}
:root body :is(.side-nav-link,.side-nav-controls>a,.hub-navigation-icons a,.hub-navigation-toggle)>svg {flex:0 0 19px;width:19px;height:19px}
/* Обычное, наведённое и активное состояния общей боковой панели. */
:root body :is(.side-nav-link,.side-nav-controls>a,.hub-navigation-icons a,.hub-navigation-controls a) {color:var(--shell-muted);text-decoration:none}
:root body :is(.side-nav-link,.side-nav-controls>a,.hub-navigation-icons a,.hub-navigation-controls a):hover {background:var(--shell-raised);color:var(--shell-text)}
:root body :is(.side-nav-link,.hub-navigation-icons a,.hub-navigation-sections a)[aria-current] {background:color-mix(in srgb,var(--nav-tone,var(--hub-solution-accent,var(--shell-accent))) 15%,var(--shell-surface));color:var(--nav-tone,var(--hub-solution-accent,var(--shell-accent)));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--nav-tone,var(--hub-solution-accent,var(--shell-accent))) 38%,var(--shell-line))}
:root body .hub-navigation-icons {display:flex;flex-direction:column;gap:2px}
:root body .side-nav-link[aria-current]::before {left:0;top:calc(50% - 6px)}
:root body .hub-navigation-icons a {position:relative}
:root body .hub-navigation-icons a[aria-current]::before {content:'';position:absolute;left:0;top:calc(50% - 6px);width:2px;height:12px;border-radius:2px;background:currentColor}
:root body .hub-navigation-controls {border-top:1px solid var(--shell-line);padding-top:3px}
:root body .hub-navigation-controls a {display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:36px;height:36px;padding:0;border-radius:7px;color:var(--shell-muted)}
:root body .hub-navigation-controls a>svg {flex:0 0 19px;width:19px;height:19px}
:root body :is(.side-navigation[data-expanded=true],.hub-navigation-dialog) {box-sizing:border-box;width:280px;padding:3px;gap:3px;border:1px solid var(--shell-line);border-radius:11px;background:var(--shell-surface);color:var(--shell-text)}
:root body .side-navigation[data-expanded=true] :is(.side-nav-link,.side-nav-toggle,.side-nav-controls>a) {width:272px;justify-content:flex-start;padding-inline:5px}
:root body .side-navigation[data-expanded=true] .side-nav-toggle {display:flex!important;height:36px;min-height:36px;background:transparent}
:root body .side-navigation[data-expanded=true] .side-nav-toggle>svg {display:none}
:root body .side-navigation[data-expanded=true] .side-toggle-label {display:block;font:500 14px/20px var(--shell-font);color:var(--shell-text)}
:root body .side-navigation[data-expanded=true] .side-nav-caption {display:none}
:root body .side-navigation[data-expanded=true] .side-nav-controls {flex-direction:column;gap:0;padding-top:3px}
:root body .side-navigation[data-expanded=true] .side-number {display:none}
:root body .hub-navigation-header {box-sizing:border-box;min-height:36px;padding:0 5px;gap:6px}
:root body .hub-navigation-header strong {font:500 14px/20px var(--shell-font)}
:root body .hub-navigation-header-actions>button {width:26px;height:29px;padding:0;font-size:24px}
:root body .hub-navigation-header .hub-theme-toggle {display:none}
:root body .hub-navigation-sections a {box-sizing:border-box;height:36px;min-height:36px;padding:0 5px;gap:12px;border-radius:7px;font:400 14px/20px var(--shell-font)}
:root body .hub-navigation-sections a svg {flex:0 0 19px;width:19px;height:19px}
:root body :is(.side-nav-tooltip,.hub-navigation-tooltip) {box-sizing:border-box;max-width:240px;padding:8px 12px;border:1px solid var(--shell-line);border-radius:7px;background:var(--shell-raised);color:var(--shell-text);font:400 14px/20px var(--shell-font)}
:root body :is(.site-header,.navbar,.side-navigation,.hub-navigation-rail,.hub-navigation-dialog) :is(a,button):focus-visible {outline:2px solid var(--shell-accent);outline-offset:2px}
@media(min-width:1280px) and (max-width:1450px) {
	:root body :is(.site-header .header-inner.wrap,.navbar__inner) {gap:18px}
	:root body :is(.site-header nav,.header-menu-panel,.navbar__items) {gap:12px}
	:root body .navbar__item {padding-inline:6px}
	:root body :is(.site-header .header-contacts,.navbar__items--right) {gap:4px}
}
@media(max-width:1279px) {
	:root body :is(.site-header .header-inner.wrap,.navbar__inner) {display:grid;grid-template-columns:32px minmax(0,1fr) 96px 32px;gap:6px;width:calc(100% - 32px);margin-inline:16px}
	:root body .navbar__items {display:contents}
	:root body .navbar__items>.navbar__item {display:none}
	:root body .navbar__items--right>.hub-navbar-support {display:inline-flex}
	:root body .site-header .header-menu-panel {display:none}
	:root body :is(.site-header .brand,.navbar__brand) {grid-column:2;grid-row:1;width:156px;height:46px;justify-self:start;margin:0}
	:root body .v5-brand picture,:root body .v5-brand img {width:156px;height:36px}
	:root body :is(.header-menu-toggle,.navbar__toggle) {display:flex;grid-column:1;grid-row:1;box-sizing:border-box;align-items:center;justify-content:center;flex-direction:column;gap:6px;width:32px;min-width:32px;height:36px;min-height:36px;margin:0;padding:0;border:1px solid var(--shell-line);border-radius:6px;background:var(--shell-surface);color:var(--shell-muted);cursor:pointer}
	:root body :is(.header-menu-toggle,.navbar__toggle)>span {display:block;flex:none;width:19px;height:1.5px;background:currentColor;transition:transform .2s}
	:root body :is(.header-menu-toggle,.navbar__toggle)[aria-expanded=true]>span:first-child {transform:translateY(3.75px) rotate(45deg)}
	:root body :is(.header-menu-toggle,.navbar__toggle)[aria-expanded=true]>span:last-child {transform:translateY(-3.75px) rotate(-45deg)}
	:root body :is(.header-menu-toggle,.navbar__toggle):hover {background:var(--shell-raised);border-color:var(--shell-muted);color:var(--shell-text)}
	:root body :is(.header-menu-toggle,.navbar__toggle):active {background:var(--shell-surface);border-color:var(--shell-accent)}
	:root body .side-menu-open .header-menu-toggle {position:relative;z-index:82;visibility:visible}
	:root body :is(.header-telegram,.hub-navbar-support) {display:inline-flex;grid-column:3;grid-row:1;align-items:center;justify-content:center;box-sizing:border-box;gap:0;width:96px;height:40px;min-height:40px;margin:0;padding:0;border-radius:8px;font:500 15px/22px var(--shell-font);white-space:nowrap}
	:root body .header-telegram>svg {display:none}
	:root body :is(.theme-toggle,.hub-theme-toggle) {grid-column:4;grid-row:1}
	:root body :is(.theme-toggle,.hub-theme-toggle button) {width:32px;height:36px}
	:root body :is(.side-navigation:not([data-expanded=true]),.hub-navigation-rail) {left:3px;top:50%;bottom:auto;transform:translateY(-50%);width:34px;padding:3px;gap:3px;max-height:calc(100dvh - 24px);border-radius:10px}
	:root body .hub-navigation-toggle {display:none}
	:root body :is(.side-navigation:not([data-expanded=true]) .side-nav-link,.side-navigation:not([data-expanded=true]) .side-nav-controls>a,.hub-navigation-icons a) {width:26px;height:29px;min-height:29px;padding:0}
	:root body :is(.side-nav-link,.side-nav-controls>a,.hub-navigation-icons a)>svg {flex:0 0 16px;width:16px;height:16px}
	:root body .side-navigation:not([data-expanded=true]) :is(.side-nav-link,.side-nav-controls>a)>svg {width:16px;height:16px}
	:root body .hub-navigation-controls a {width:26px;height:29px}
	:root body .hub-navigation-controls a>svg {flex:0 0 16px;width:16px;height:16px}
	:root body :is(.side-nav-menu ol,.hub-navigation-icons) {gap:0}
	:root body :is(.side-navigation[data-expanded=true],.hub-navigation-dialog) {left:6px;top:86px;bottom:auto;transform:none;max-height:calc(100dvh - 100px)}
	:root body .side-navigation[data-expanded=true] .side-nav-menu {max-height:calc(100dvh - 290px)}
	:root body .side-navigation[data-expanded=true] :is(.side-nav-link,.side-nav-controls>a),:root body .hub-navigation-sections a {height:29px;min-height:29px;font-size:13px;line-height:20px}
	:root body .hub-navigation-sections a svg {flex:0 0 16px;width:16px;height:16px}
	:root body .side-navigation:not([data-expanded=true]) .side-nav-toggle {display:none!important}
}
@media(max-width:360px) {
	:root body :is(.site-header .header-inner.wrap,.navbar__inner) {grid-template-columns:32px minmax(0,1fr) 40px 32px}
	:root body :is(.header-telegram,.hub-navbar-support) {width:40px;overflow:hidden;font-size:0}
	:root body .header-telegram>svg {display:block;width:18px;height:18px}
	:root body .hub-navbar-support::before {content:'';width:18px;height:18px;background:currentColor;mask:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath d="m3 10 18-7-4 18-6-6-4 3 1-6 10-6-8 8" fill="none" stroke="black" stroke-width="1.5" stroke-linejoin="round"/%3E%3C/svg%3E') center/contain no-repeat}
}
@media(prefers-reduced-motion:reduce) {:root body :is(.header-menu-toggle,.navbar__toggle)>span {transition:none}}

/* Расширенная навигация сохраняет читаемый шрифт и место для перехода из Hub на основной сайт. */
:root body .navbar__items--right>.hub-navbar-site{display:inline-flex;align-items:center;justify-content:center;gap:7px;box-sizing:border-box;height:40px;min-height:40px;padding:0 10px;border:0;border-bottom:1px solid var(--shell-line);border-radius:6px 6px 0 0;background:transparent;color:var(--shell-text);font:500 15px/22px var(--shell-font);white-space:nowrap;text-decoration:none}
:root body .navbar__items--right>.hub-navbar-site:hover{background:var(--shell-raised);border-color:var(--shell-muted);color:var(--shell-accent)}
:root body .navbar__items--right>.hub-navbar-site:active{background:var(--shell-bg);border-color:var(--shell-accent)}
.hub-navbar-site::before{content:'';flex:none;width:16px;height:16px;background:currentColor;mask:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath d="M8 5h11v11M19 5 5 19" fill="none" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E') center/contain no-repeat}
@media(min-width:1280px) and (max-width:1439px){:root body .site-header .header-contacts .email-chip,:root body .navbar__items--right>.hub-navbar-email{display:none}}
@media(min-width:600px) and (max-width:1279px){:root body .navbar:has(.hub-navbar-site) .navbar__inner{grid-template-columns:32px minmax(0,1fr) 100px 96px 32px}}
@media(max-width:1279px){:root body .navbar__items--right>.hub-navbar-site{grid-column:3;grid-row:1;width:100px;height:40px;min-height:40px}:root body .navbar:has(.hub-navbar-site) .hub-navbar-support{grid-column:4}:root body .navbar:has(.hub-navbar-site) .hub-theme-toggle{grid-column:5}}
@media(min-width:361px) and (max-width:599px){:root body .navbar:has(.hub-navbar-site) .navbar__inner{grid-template-columns:32px minmax(0,1fr) 32px 40px 32px}}
@media(max-width:599px){:root body .navbar__items--right>.hub-navbar-site{width:32px;min-height:36px;height:36px;padding:0;font-size:0}:root body .navbar:has(.hub-navbar-site) .hub-navbar-support{width:40px;overflow:hidden;font-size:0}:root body .navbar:has(.hub-navbar-site) .hub-navbar-support::before{content:'';width:18px;height:18px;background:currentColor;mask:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath d="m3 10 18-7-4 18-6-6-4 3 1-6 10-6-8 8" fill="none" stroke="black" stroke-width="1.5" stroke-linejoin="round"/%3E%3C/svg%3E') center/contain no-repeat}}
@media(max-width:360px){:root body .navbar:has(.hub-navbar-site) .navbar__inner{grid-template-columns:32px minmax(0,1fr) 32px 32px}:root body .navbar:has(.hub-navbar-site) .hub-navbar-support{display:none}:root body .navbar:has(.hub-navbar-site) .hub-theme-toggle{grid-column:4}}
/* У перехода на основной сайт остаётся одна функциональная иконка. */
:root body .hub-navbar-site>svg{display:none}
@media(min-width:600px) and (max-width:1279px){:root body .navbar:has(.hub-navbar-site) .navbar__inner{grid-template-columns:32px minmax(0,1fr) 120px 96px 32px}:root body .navbar__items--right>.hub-navbar-site{width:120px}}
/* Парные переходы между основным сайтом и Hub имеют одинаковые состояния и материалы. */
:root body .navbar__items:not(.navbar__items--right)>.navbar__item{padding-inline:0}
:root body .site-header .header-hub{display:inline-flex;align-items:center;justify-content:center;gap:7px;box-sizing:border-box;height:40px;min-height:40px;padding:0 10px;border:0;border-bottom:1px solid var(--shell-line);border-radius:6px 6px 0 0;background:transparent;color:var(--shell-text);font:500 15px/22px var(--shell-font);white-space:nowrap;text-decoration:none}
:root body .site-header .header-hub:hover{background:var(--shell-raised);border-color:var(--shell-muted);color:var(--shell-accent)}
:root body .site-header .header-hub:active{background:var(--shell-bg);border-color:var(--shell-accent)}
.header-hub::before{content:'';flex:none;width:16px;height:16px;background:currentColor;mask:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath d="M8 5h11v11M19 5 5 19" fill="none" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E') center/contain no-repeat}
:root body .site-header .header-hub-mobile{display:none}
@media(min-width:1280px) and (max-width:1599px){:root body .navbar__items--right>.hub-navbar-email{display:none}}
@media(max-width:1279px){:root body .site-header:has(.header-hub) .header-inner.wrap{grid-template-columns:32px minmax(0,1fr) 120px 96px 32px}:root body .site-header .header-hub-mobile{display:inline-flex;grid-column:3;grid-row:1;width:120px;height:40px;min-height:40px}:root body .site-header:has(.header-hub) .header-telegram{grid-column:4}:root body .site-header:has(.header-hub) .theme-toggle{grid-column:5}}
@media(max-width:599px){:root body .site-header:has(.header-hub) .header-inner.wrap{grid-template-columns:32px minmax(0,1fr) 32px 40px 32px}:root body .site-header .header-hub-mobile{width:32px;height:36px;min-height:36px;padding:0;font-size:0}:root body .site-header:has(.header-hub) .header-telegram{width:40px;overflow:hidden;font-size:0}:root body .site-header:has(.header-hub) .header-telegram>svg{display:block;width:18px;height:18px}}
@media(max-width:360px){:root body .site-header:has(.header-hub) .header-inner.wrap{grid-template-columns:32px minmax(0,1fr) 32px 32px}:root body .site-header:has(.header-hub) .header-telegram{display:none}:root body .site-header:has(.header-hub) .theme-toggle{grid-column:4}}

/* Одинаковые зоны нажатия и выравнивание управляющих кнопок в шапках V5. */
@media (min-width: 1280px) {
	:root {
		--shell-brand-gap: 22px;
		--shell-control-gap: 6px;
	}
	:root body .site-header .header-inner.wrap,:root body.product-page .site-header .header-inner.wrap {
		display: grid;
		grid-template-columns: 190px max-content minmax(0, 1fr) 40px;
		column-gap: 0;
		row-gap: 22px;
	}
	:root body .site-header .header-menu-panel {display: contents}
	:root body .site-header nav {margin-left: var(--shell-brand-gap)}
	:root body .site-header .header-contacts {
		justify-self: end;
		gap: var(--shell-control-gap);
		margin: 0 var(--shell-control-gap) 0 16px;
	}
	:root body .site-header .theme-toggle {margin: 0}
	:root body :is(.site-header nav > a, .navbar__items:not(.navbar__items--right) > .navbar__link) {
		display: inline-flex;
		align-items: center;
		box-sizing: border-box;
		height: 38px;
		min-height: 38px;
		padding: 8px;
	}
	:root body .site-header .header-contacts .btn.btn-primary {
		width: 102px;
		height: 44px;
		gap: 0;
		font: 500 15px/22px var(--shell-font);
		font-size: 15px!important;
	}
	:root body .navbar__items--right {gap: var(--shell-control-gap)}
	:root body :is(.site-header nav,.navbar__items:not(.navbar__items--right)),:root body.product-page .site-header .product-header-nav {gap:4px}
	:root body .navbar__items>.v5-brand {margin-right:calc(var(--shell-brand-gap) - 4px)}
	:root body .side-navigation:not([data-expanded=true]) .side-nav-link {padding: 0}
}
@media (min-width: 1280px) and (max-width: 1450px) {
	:root {
		--shell-brand-gap: 18px;
		--shell-control-gap: 4px;
	}
	:root body :is(.site-header .header-inner.wrap,.navbar__inner) {row-gap:18px}
}
/* На компактном десктопе дополнительные ленты доступны через полное меню Хаба. */
@media (min-width: 1280px) and (max-width: 1599px) {
	:root body .navbar__items:not(.navbar__items--right) > .navbar__link:is([href="/"], [href$="/cases"], [href$="/video"], [href$="/sales"]) {display: none}
}
@media (min-width: 1280px) and (max-width: 1799px) {
	:root body .site-header .header-contacts .email-chip,:root body .navbar__items--right > .hub-navbar-email {display: none}
}

@media (prefers-reduced-motion: no-preference) {
	:root body :is(.side-nav-menu .side-nav-link,.hub-navigation-icons>a) {transition:background-color .18s ease,color .18s ease,box-shadow .18s ease}
}

/* Состояния шапки не меняют геометрию и учитывают уменьшение движения. */
:root body :is(.site-header nav>a,.navbar__link,.site-header .contact-chip,.header-hub,.hub-navbar-site,.theme-toggle,.hub-theme-toggle button) {transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease}
:root body :is(.site-header .contact-chip,.site-header .header-hub,.navbar__items--right>.hub-navbar-site,.hub-navbar-phone,.hub-navbar-email,.hub-navbar-max,.theme-toggle,.hub-theme-toggle button):hover {box-shadow:inset 0 -1px 0 var(--shell-muted)}
:root body :is(.site-header .contact-chip,.site-header .header-hub,.navbar__items--right>.hub-navbar-site,.hub-navbar-phone,.hub-navbar-email,.hub-navbar-max,.theme-toggle,.hub-theme-toggle button):active {box-shadow:inset 0 -1px 0 var(--shell-accent);color:var(--shell-accent)}
@media(prefers-reduced-motion:reduce) {
	:root body :is(.site-header nav>a,.navbar__link,.site-header .contact-chip,.header-hub,.hub-navbar-site,.theme-toggle,.hub-theme-toggle button) {transition:none}
}

/* До 1440 px телефон занимает тот же компактный слот на всех сайтах. */
@media(min-width:1280px) and (max-width:1439px) {
	:root body :is(.site-header .header-contacts>.header-home,.navbar__items--right>.hub-navbar-site) {flex:none;width:40px;padding:0;font-size:0}
	:root body :is(.site-header .header-contacts>.contact-chip[href^="tel:"],.navbar__items--right>.hub-navbar-phone) {flex:none;width:40px;padding:0;font-size:0}
	:root body :is(.site-header .header-contacts>.contact-chip[href^="tel:"],.navbar__items--right>.hub-navbar-phone)::before {content:'';width:18px;height:18px;background:currentColor;mask:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath d="m7 3 3 5-2 2c1.6 3.1 3 4.5 6 6l2-2 5 3c-1 4-4 5-8 3C7 17 3 12 3 7c0-2 1-3 4-4Z" fill="none" stroke="black" stroke-width="1.6" stroke-linejoin="round"/%3E%3C/svg%3E') center/contain no-repeat}
}
:root body :is(.site-header .header-contacts>.btn-primary,.site-header>.header-telegram,.navbar__items--right>.hub-navbar-support) {border-width:0 0 1px;border-style:solid}

/* После заполнения сетки 1680 px даём ей плавно расти до 1920 px. */
@media(min-width:1680px) {
	:root {--ds-content-max:clamp(1680px,calc(100vw - 144px),1920px)}
}
