/* site-chrome.css — concatenated critical chrome. Sources: site-fonts.css, site-header.css, site-footer.css, pages.css, gen/ai-gen-header-bar.css */

/* === site-fonts.css === */
/* Latin only (site copy is mostly Cyrillic → system UI). Dropped latin-ext subsets. */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(/assets/fonts/lato/S6uyw4BMUTPHjx4wXg.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: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url(/assets/fonts/lato/S6u9w4BMUTPHh6UVSwiPGQ.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;
}
/* Cyrillic UI uses system fonts (Lato subset is latin-only) — avoids swap CLS. */
body.ai-site {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* === site-header.css === */
#masthead.ai-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	margin: 0;
	padding: 0;
	background: #fff;
	color: #18181b;
	border-bottom: 1px solid #e4e4e7;
	box-shadow: none;
}

#masthead.ai-site-header * { box-sizing: border-box; }

#masthead .ai-topbar {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 64px;
	margin: 0;
	padding: 0 24px;
}

#masthead .ai-topbar-logo {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	height: 40px;
	margin: 0;
	padding: 0;
	line-height: 0;
}

#masthead .ai-topbar-logo img {
	display: block;
	width: auto;
	height: 40px;
	max-width: 148px;
	margin: 0;
	filter: none;
}

#masthead .ai-topbar-logo picture.ai-logo-mark { display: none; }
#masthead .ai-topbar-logo picture { line-height: 0; }

#masthead .ai-topbar-nav {
	display: flex;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 0;
}

#masthead .ai-topbar-nav:not(.ai-topbar-side) { margin-left: 8px; }

#masthead .ai-topbar-side { margin-left: auto; }

#masthead a.menu-link {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	margin: 0;
	padding: 0 12px;
	border-bottom: 2px solid transparent;
	color: #18181b;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	text-decoration: none;
	white-space: nowrap;
}

#masthead a.menu-link:hover { background: #f4f4f5; }

#masthead a.menu-link:focus-visible {
	outline: 2px solid #1d4ed8;
	outline-offset: 2px;
}

#masthead a.menu-link[aria-current="page"] {
	border-bottom-color: #1d4ed8;
	color: #1d4ed8;
	font-weight: 600;
}

#masthead .ai-topbar-tools {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
}

#masthead .ai-topbar-side + .ai-topbar-tools { margin-left: 8px; }

#masthead .ai-topbar-account { display: flex; align-items: center; margin: 0; padding: 0; }

#masthead .ai-gen-header-bar-panel,
#masthead .ai-gen-header-pill {
	background: #f4f4f5 !important;
	color: #18181b !important;
	border: 1px solid #e4e4e7 !important;
	border-radius: 999px;
	box-shadow: none !important;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

#masthead .ai-gen-header-pill-seg,
#masthead .ai-gen-header-pill-email .ai-gen-auth-email,
#masthead .ai-gen-header-pill-balance .ai-gen-balance-label,
#masthead .ai-gen-header-pill-logout,
#masthead .ai-gen-header-pill-icon {
	color: #18181b !important;
}

#masthead .ai-gen-header-pill-divider { background: #d4d4d8; }

#masthead .ai-gen-header-pill-seg:hover { background: #e4e4e7; }

#masthead .ai-gen-header-pill-seg:focus-visible {
	outline: 2px solid #1d4ed8;
	outline-offset: -2px;
}

#masthead .ai-topbar-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #18181b;
	cursor: pointer;
}

#masthead .ai-topbar-toggle:hover { background: #f4f4f5; }

#masthead .ai-topbar-toggle:focus-visible {
	outline: 2px solid #1d4ed8;
	outline-offset: 2px;
}

#masthead .ai-topbar-toggle-icon,
#masthead .ai-topbar-toggle-icon::before,
#masthead .ai-topbar-toggle-icon::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	content: "";
}

#masthead .ai-topbar-toggle-icon { position: relative; }

#masthead .ai-topbar-toggle-icon::before,
#masthead .ai-topbar-toggle-icon::after {
	position: absolute;
	left: 0;
}

#masthead .ai-topbar-toggle-icon::before { top: -6px; }

#masthead .ai-topbar-toggle-icon::after { top: 6px; }

#masthead .ai-topbar-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

#masthead .ai-topbar-menu {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 8px 16px 16px;
	background: #fff;
	border-top: 1px solid #e4e4e7;
}

#masthead .ai-topbar-menu[hidden] { display: none; }

#masthead .ai-topbar-menu a.menu-link {
	min-height: 44px;
	padding: 0 8px;
	border-bottom: 0;
}

#masthead .ai-topbar-menu a.menu-link[aria-current="page"] {
	background: #eff6ff;
}

@media (max-width: 1179px) {
	#masthead .ai-topbar {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) auto;
		align-items: center;
		column-gap: 8px;
		padding: 0 0 0 12px;
	}
	#masthead .ai-topbar-nav { display: none; }
	#masthead .ai-topbar-tools { display: contents; }
	#masthead .ai-topbar-account {
		justify-self: center;
		min-width: 0;
		max-width: 100%;
	}
	#masthead .ai-topbar-toggle {
		display: inline-flex;
		justify-self: end;
	}
	#masthead .ai-topbar-logo picture.ai-logo-word { display: none; }
	#masthead .ai-topbar-logo picture.ai-logo-mark { display: block; }
	#masthead .ai-topbar-logo picture.ai-logo-mark img {
		display: block;
		width: 40px;
		height: 40px;
		max-width: 40px;
	}
	#masthead .ai-gen-header-pill { max-width: 100%; }
	#masthead .ai-gen-header-pill-email,
	#masthead .ai-gen-header-pill-divider--before-logout {
		display: flex !important;
	}
	#masthead .ai-gen-header-pill-email {
		min-width: 0;
		max-width: 34vw;
		padding-left: 8px;
		padding-right: 8px;
	}
	#masthead .ai-gen-header-pill-email .ai-gen-auth-email,
	#masthead .ai-gen-header-pill-email .ai-gen-auth-email-link {
		display: block;
		overflow: hidden;
		color: #18181b !important;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

@media (min-width: 1180px) {
	#masthead .ai-topbar-menu { display: none; }
}

@media (max-width: 640px) {
	#masthead .ai-gen-header-pill-register span {
		display: inline;
		font-size: 12px;
		font-weight: 650;
	}
	#masthead .ai-gen-header-pill-register {
		gap: 4px;
		padding-left: 8px;
		padding-right: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#masthead .ai-gen-header-pill-seg { transition: none; }
}

/* === site-footer.css === */
.ai-footer {
	margin-top: 40px;
	padding: 40px 24px 0;
	background: #fff;
	color: #1e293b;
	border-top: 1px solid #e5e7eb;
}
.ai-footer a { color: #1e293b; text-decoration: none; }
.ai-footer a:hover { color: #1e73be; }
.ai-footer-grid {
	width: min(1200px, 100%);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	padding-bottom: 32px;
}
.ai-footer-col h4 {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
}
.ai-footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ai-footer-col li { margin: 0 0 10px; font-size: 14px; line-height: 1.4; }
.ai-footer-bottom {
	width: min(1200px, 100%);
	margin: 0 auto;
	padding: 16px 0 24px;
	border-top: 1px solid #e5e7eb;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 14px;
	color: #475569;
}
.ai-footer-bottom a { color: #475569; }
@media (max-width: 800px) {
	.ai-footer-grid { grid-template-columns: 1fr; gap: 24px; }
	.ai-footer-bottom { justify-content: center; text-align: center; }
}

/* === pages.css === */
body.home,
body.ai-home { overflow-x: clip; }

body.ai-site .ai-container {
	width: min(1200px, calc(100% - 32px));
	margin-left: auto;
	margin-right: auto;
}

body.home #page,
body.home #content,
body.home #content.site-content,
body.home #primary,
body.home #main,
body.home .site-main,
body.home article,
body.home .entry-content,
body.ai-home .ai-home-main {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.home .entry-header { display: none !important; }

.page-banner {
	position: relative;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100%;
	height: 360px !important;
	min-height: 360px !important;
	max-height: 360px !important;
	margin: 0;
	padding: 0 24px !important;
	box-sizing: border-box;
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: top center;
	background-size: cover;
	background-color: #334155;
	background-image:
		linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
		url("/assets/banners/banner-contact.jpg");
	background-image:
		linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
		-webkit-image-set(
			url("/assets/banners/banner-contact.avif") type("image/avif"),
			url("/assets/banners/banner-contact.webp") type("image/webp"),
			url("/assets/banners/banner-contact.jpg") type("image/jpeg")
		);
	background-image:
		linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
		image-set(
			url("/assets/banners/banner-contact.avif") type("image/avif"),
			url("/assets/banners/banner-contact.webp") type("image/webp"),
			url("/assets/banners/banner-contact.jpg") type("image/jpeg")
		);
	background-position: top center;
}

.page-banner--img09 {
	background-image:
		linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
		url("/assets/banners/banner-about.jpg");
	background-image:
		linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
		-webkit-image-set(
			url("/assets/banners/banner-about.avif") type("image/avif"),
			url("/assets/banners/banner-about.webp") type("image/webp"),
			url("/assets/banners/banner-about.jpg") type("image/jpeg")
		);
	background-image:
		linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
		image-set(
			url("/assets/banners/banner-about.avif") type("image/avif"),
			url("/assets/banners/banner-about.webp") type("image/webp"),
			url("/assets/banners/banner-about.jpg") type("image/jpeg")
		);
}

.catalog-hero {
	background-image:
		linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.42)),
		url("/assets/banners/banner-catalog.jpg");
	background-image:
		linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.42)),
		-webkit-image-set(
			url("/assets/banners/banner-catalog.avif") type("image/avif"),
			url("/assets/banners/banner-catalog.webp") type("image/webp"),
			url("/assets/banners/banner-catalog.jpg") type("image/jpeg")
		);
	background-image:
		linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.42)),
		image-set(
			url("/assets/banners/banner-catalog.avif") type("image/avif"),
			url("/assets/banners/banner-catalog.webp") type("image/webp"),
			url("/assets/banners/banner-catalog.jpg") type("image/jpeg")
		);
	background-position: top center;
}

/* Generation / creative hero (plugin setting generation_hero_image_url). */
.page-banner--gen {
	background-image:
		linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
		url("/assets/banners/banner-generation.jpg");
	background-image:
		linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
		-webkit-image-set(
			url("/assets/banners/banner-generation.avif") type("image/avif"),
			url("/assets/banners/banner-generation.webp") type("image/webp"),
			url("/assets/banners/banner-generation.jpg") type("image/jpeg")
		);
	background-image:
		linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
		image-set(
			url("/assets/banners/banner-generation.avif") type("image/avif"),
			url("/assets/banners/banner-generation.webp") type("image/webp"),
			url("/assets/banners/banner-generation.jpg") type("image/jpeg")
		);
	background-position: center 20%;
}

/* LCP via <picture>/<img> — skip CSS image-set download. */
.page-banner--has-media {
	background-image: none !important;
}
.page-banner--has-media::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45));
	pointer-events: none;
}
.page-banner-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	margin: 0;
	line-height: 0;
}
.page-banner-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
}
.page-banner--has-media h1,
.page-banner--has-media .page-banner__title {
	position: relative;
	z-index: 2;
}

@media (max-width: 768px) {
	/* Exclude specialized banners — :not() specificity otherwise overrides them with contacts 00006. */
	.page-banner:not(.catalog-hero):not(.page-banner--img09):not(.page-banner--gen) {
		background-image:
			linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
			url("/assets/banners/banner-contact-m.jpg");
		background-image:
			linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
			-webkit-image-set(
				url("/assets/banners/banner-contact-m.avif") type("image/avif"),
				url("/assets/banners/banner-contact-m.webp") type("image/webp"),
				url("/assets/banners/banner-contact-m.jpg") type("image/jpeg")
			);
		background-image:
			linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
			image-set(
				url("/assets/banners/banner-contact-m.avif") type("image/avif"),
				url("/assets/banners/banner-contact-m.webp") type("image/webp"),
				url("/assets/banners/banner-contact-m.jpg") type("image/jpeg")
			);
	}
	.page-banner--img09 {
		background-image:
			linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
			url("/assets/banners/banner-about-m.jpg");
		background-image:
			linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
			-webkit-image-set(
				url("/assets/banners/banner-about-m.avif") type("image/avif"),
				url("/assets/banners/banner-about-m.webp") type("image/webp"),
				url("/assets/banners/banner-about-m.jpg") type("image/jpeg")
			);
		background-image:
			linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
			image-set(
				url("/assets/banners/banner-about-m.avif") type("image/avif"),
				url("/assets/banners/banner-about-m.webp") type("image/webp"),
				url("/assets/banners/banner-about-m.jpg") type("image/jpeg")
			);
	}
	.catalog-hero {
		background-image:
			linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.42)),
			url("/assets/banners/banner-catalog-m.jpg");
		background-image:
			linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.42)),
			-webkit-image-set(
				url("/assets/banners/banner-catalog-m.avif") type("image/avif"),
				url("/assets/banners/banner-catalog-m.webp") type("image/webp"),
				url("/assets/banners/banner-catalog-m.jpg") type("image/jpeg")
			);
		background-image:
			linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.42)),
			image-set(
				url("/assets/banners/banner-catalog-m.avif") type("image/avif"),
				url("/assets/banners/banner-catalog-m.webp") type("image/webp"),
				url("/assets/banners/banner-catalog-m.jpg") type("image/jpeg")
			);
	}
	.page-banner.page-banner--gen:not(.page-banner--has-media) {
		/* Same frame as desktop (only smaller file); cover + center 20% matches WP hero. */
		background-position: center 20%;
		background-image:
			linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
			url("/assets/banners/banner-generation-m.jpg");
		background-image:
			linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
			-webkit-image-set(
				url("/assets/banners/banner-generation-m.avif") type("image/avif"),
				url("/assets/banners/banner-generation-m.webp") type("image/webp"),
				url("/assets/banners/banner-generation-m.jpg") type("image/jpeg")
			);
		background-image:
			linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
			image-set(
				url("/assets/banners/banner-generation-m.avif") type("image/avif"),
				url("/assets/banners/banner-generation-m.webp") type("image/webp"),
				url("/assets/banners/banner-generation-m.jpg") type("image/jpeg")
			);
	}
}

.page-banner h1,
.page-banner .page-banner__title {
	font-size: 48px;
	line-height: 56px;
	font-weight: 600;
	width: 100%;
	margin: 0;
	color: #fff !important;
	text-align: center !important;
}

.ai-gen-hero { display: none !important; }
h1.ai-generation-landing__title {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.catalog-wrap {
	width: min(1200px, calc(100% - 48px));
	margin: 32px auto 48px;
}

.contact-page .entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

@media (max-width: 640px) {
	.page-banner h1, .page-banner .page-banner__title { font-size: 36px; line-height: 44px; }
	.catalog-wrap { width: calc(100% - 32px); }
}

/* === gen/ai-gen-header-bar.css === */
/**
 * Pill-блок AI Gen в нативной шапке.
 */

.ai-gen-header-bar-wrap,
.ai-gen-header-bar-wrap .ai-gen-header-bar,
.ai-gen-header-bar-wrap .main-header-bar,
.ai-gen-header-bar-wrap .site-primary-header-wrap {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

.ai-gen-header-bar-wrap .site-primary-header-wrap {
    padding-top: 0;
    padding-bottom: 0;
}

.ai-gen-header-bar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    min-height: 32px;
    padding: 2px 0 4px;
}

@media (min-width: 922px) {
    .ai-gen-header-bar-inner {
        padding-right: 10px;
    }
}

@media (max-width: 921px) {
    .ai-gen-header-bar-inner {
        padding: 15px 0 3px;
    }
}

/* Pill-контейнер — фон задаётся inline из админки (opacity). */
.ai-gen-header-pill {
    display: inline-flex;
    align-items: stretch;
    flex-wrap: nowrap;
    max-width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    overflow: hidden;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.ai-gen-header-pill-seg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin: 0;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    cursor: default;
    -webkit-appearance: none;
    appearance: none;
    text-transform: none;
    text-shadow: none;
    box-shadow: none;
    transition: background 0.15s ease, color 0.15s ease;
}

button.ai-gen-header-pill-seg {
    cursor: pointer;
}

button.ai-gen-header-pill-seg:hover {
    background: rgba(255, 255, 255, 0.08);
}

button.ai-gen-header-pill-seg:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: -2px;
}

.ai-gen-header-pill-divider {
    flex: 0 0 1px;
    align-self: stretch;
    width: 1px;
    background: rgba(255, 255, 255, 0.28);
}

.ai-gen-header-pill-icon {
    flex: 0 0 auto;
    display: block;
}

.ai-gen-header-pill-icon--wallet {
    color: #38bdf8;
}

.ai-gen-header-pill-icon--logout {
    color: rgba(255, 255, 255, 0.72);
}

.ai-gen-header-pill-icon--login {
    color: rgba(255, 255, 255, 0.88);
}

.ai-gen-header-pill-icon--register {
    color: #38bdf8;
}

.ai-gen-header-pill-balance .ai-gen-balance-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #fff;
}

.ai-gen-header-pill-email {
    min-width: 0;
    max-width: 220px;
    padding-left: 12px;
    padding-right: 12px;
}

.ai-gen-header-pill-email .ai-gen-auth-email-link {
    display: block;
    min-width: 0;
    max-width: 100%;
    color: inherit;
    text-decoration: none;
}

.ai-gen-header-pill-email .ai-gen-auth-email-link:hover,
.ai-gen-header-pill-email .ai-gen-auth-email-link:focus-visible {
    text-decoration: underline;
    outline: none;
}

.ai-gen-header-pill-email .ai-gen-auth-email {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
}

.ai-gen-header-pill-email .ai-gen-auth-via-provider {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    overflow: visible;
}

.ai-gen-header-pill-email .ai-gen-oauth-provider-icon {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.ai-gen-header-pill-logout {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
}

.ai-gen-header-pill-logout:hover {
    color: #fff;
}

.ai-gen-header-pill-logout:hover .ai-gen-header-pill-icon--logout {
    color: #fff;
}

/* Гость */
.ai-gen-header-pill--guest .ai-gen-header-pill-login {
    color: rgba(255, 255, 255, 0.92);
}

.ai-gen-header-pill--guest .ai-gen-header-pill-login:hover .ai-gen-header-pill-icon--login {
    color: #fff;
}

.ai-gen-header-pill--guest .ai-gen-header-pill-register {
    font-weight: 600;
    color: #fff;
}

.ai-gen-header-pill--guest .ai-gen-header-pill-register:hover .ai-gen-header-pill-icon--register {
    color: #7dd3fc;
}

@media (max-width: 921px) {
    .ai-gen-header-pill-email,
    .ai-gen-header-pill-divider--before-logout {
        display: none;
    }

    .ai-gen-header-pill-balance {
        padding-left: 12px;
    }

    .ai-gen-header-pill-logout {
        padding-right: 12px;
    }
}

@media (max-width: 420px) {
    .ai-gen-header-pill-seg {
        padding: 7px 11px;
        font-size: 12px;
        gap: 6px;
    }

    .ai-gen-header-pill-balance .ai-gen-balance-label {
        font-size: 13px;
    }
}
