header.airesult__header #logo.result_logo {
	width: 153px;
	height: 28px;
	background-image: url(img/logoFooter.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

header.accountSiteHeader,
header.batchSiteHeader.accountSiteHeader,
header.airesult__header.accountSiteHeader {
	box-sizing: border-box;
	display: flex;
	width: 100%;
	height: 92px !important;
	min-height: 92px !important;
	align-items: center;
	justify-content: space-between;
	margin: 0 !important;
	padding: 22px 32px !important;
	overflow: visible;
	background: rgba(255,255,255,.96);
	box-shadow: 0 1px 0 rgba(15,31,67,.09);
	backdrop-filter: blur(16px);
}

header.accountSiteHeader #logo.accountBrandLogo,
header.airesult__header.accountSiteHeader #logo.result_logo.accountBrandLogo {
	display: block !important;
	width: 153px !important;
	height: 28px !important;
	flex: 0 0 153px;
	margin: 0 !important;
	background-image: url(img/logoFooter.svg) !important;
	background-repeat: no-repeat !important;
	background-position: left center !important;
	background-size: contain !important;
}

.accountHeaderActions {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}

.accountHeaderActions #button_logIn {
	position: static !important;
	width: auto !important;
	min-width: 88px;
	height: 48px;
	margin: 0 !important;
	padding: 0 22px !important;
}

.accountHeaderCredit {
	position: relative;
	box-sizing: border-box !important;
	display: inline-flex !important;
	width: 142px !important;
	height: 46px !important;
	min-height: 46px;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 3px;
	margin: 0 !important;
	padding: 5px 50px 5px 13px !important;
	border: 1px solid #ccd9ed !important;
	border-radius: 13px !important;
	background: linear-gradient(145deg,#f7f9ff,#edf4ff) !important;
	box-shadow: none !important;
	color: #174dbd !important;
	text-decoration: none;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

a.accountHeaderCredit:hover,
a.accountHeaderCredit:focus {
	border-color: #a9c5f1 !important;
	box-shadow: 0 8px 20px rgba(23,77,189,.12) !important;
	transform: translateY(-1px);
}

.accountHeaderCredit::after {
	position: absolute;
	right: 9px;
	top: 50%;
	display: grid;
	width: 34px;
	height: 26px;
	place-items: center;
	border-radius: 8px;
	background: #174dbd;
	color: #fff;
	content: 'ADD';
	font: 800 8px/1 Montserrat,sans-serif;
	transform: translateY(-50%);
}

.accountHeaderCredit strong,
.accountHeaderCredit .airesult__header__count {
	display: block;
	order: 2;
	width: auto !important;
	min-width: 0 !important;
	height: auto !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0;
	background: transparent;
	color: #174dbd;
	font: 900 16px/1 Montserrat,sans-serif;
}

.accountHeaderCredit span,
.accountHeaderCredit .airesult__header__descr {
	order: 1;
	margin: 0 !important;
	color: #6f7d94;
	font: 700 9px/1 Montserrat,sans-serif;
}

.accountHeaderCredit .airesult__header__button { display: none; }

.accountHeaderIdentity {
	display: inline-flex !important;
	width: auto !important;
	height: 46px !important;
	max-width: 230px;
	align-items: center;
	gap: 9px;
	margin: 0 !important;
	padding: 0 14px 0 8px !important;
	overflow: hidden;
	border: 0 !important;
	border-radius: 13px;
	background: #f2f3f5 !important;
	color: #596478;
	cursor: pointer;
	font: 700 11px/1 PT Sans Caption,sans-serif;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.accountHeaderGear {
	display: block;
	width: 31px;
	height: 31px;
	flex: 0 0 31px;
	margin: 0 !important;
	border-radius: 50%;
	background: #fff center/15px url(img/settings_dark.svg) no-repeat !important;
}

.accountHeaderBurger,
header.accountSiteHeader #button_menu.accountHeaderBurger,
header.accountSiteHeader #button_mobileMenu.accountHeaderBurger {
	position: static !important;
	display: flex !important;
	width: 48px !important;
	height: 48px !important;
	float: none !important;
	flex: 0 0 48px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid #d7e0ef !important;
	border-radius: 13px;
	background: #fff !important;
	box-shadow: 0 6px 18px rgba(25,52,99,.08);
	cursor: pointer;
}

.accountHeaderBurger > span {
	display: block;
	width: 19px;
	height: 2px;
	border-radius: 2px;
	background: #173664;
}

@media (max-width: 700px) {
	header.accountSiteHeader,
	header.batchSiteHeader.accountSiteHeader,
	header.airesult__header.accountSiteHeader { height: 78px !important; min-height: 78px !important; padding: 15px 18px !important; }
	header.accountSiteHeader #logo.accountBrandLogo,
	header.airesult__header.accountSiteHeader #logo.result_logo.accountBrandLogo { width: 122px !important; flex-basis: 122px; }
	.accountHeaderIdentity > span:last-child { display: none; }
	.accountHeaderIdentity { padding-right: 8px !important; }
}

@media (max-width: 520px) {
	.accountHeaderIdentity { display: none !important; }
	.accountHeaderCredit span { display: none; }
	.accountHeaderCredit { width: 105px !important; padding: 0 47px 0 11px !important; }
	.accountHeaderActions { gap: 7px; }
	.accountHeaderActions #button_logIn { min-width: 72px; height: 44px; padding: 0 14px !important; }
	.accountHeaderBurger,
	header.accountSiteHeader #button_mobileMenu.accountHeaderBurger { width: 44px !important; height: 44px !important; flex-basis: 44px; }
}

.accountCreditBalance {
	display: inline-flex;
	min-height: 40px;
	float: right;
	align-items: center;
	gap: 7px;
	margin: -8px 20px 0 0;
	padding: 0 13px;
	border: 1px solid #ccd9ed;
	border-radius: 12px;
	background: #f5f8ff;
	color: #174dbd;
	text-decoration: none;
}

.accountCreditBalance strong {
	display: grid;
	min-width: 26px;
	height: 26px;
	place-items: center;
	border-radius: 50%;
	background: #174dbd;
	color: #fff;
	font: 800 11px/1 Montserrat,sans-serif;
}

.accountCreditBalance span {
	font: 800 11px/1 Montserrat,sans-serif;
}

@media (max-width: 680px) {
	.accountCreditBalance span { display: none; }
	.accountCreditBalance { margin-right: 12px; padding: 0 7px; }
}
.settingsModern__heading h1,
.creditsHero h1,
.photoArchiveHero h1,
.batchHero h1,
.batchWorkspace__heading h1,
.batchWorkspace__heading h2,
.profileModern h1,
.aiResultModern h1 {
	margin-left: 0 !important;
	padding-left: 0 !important;
	text-align: left !important;
	text-indent: 0 !important;
}

/* Public landing header merges into the hero. Authenticated pages keep the compact account header above. */
body:not(.loggedIn) header.batchSiteHeader.accountSiteHeader {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 40;
	background: transparent;
	box-shadow: none;
	backdrop-filter: none;
}
body:not(.loggedIn) header.batchSiteHeader.accountSiteHeader #logo.accountBrandLogo {
	width: 160px !important;
	height: 40px !important;
	flex-basis: 160px;
	background-image: url(img/logo.svg) !important;
	background-position: left center !important;
}
body:not(.loggedIn) header.batchSiteHeader.accountSiteHeader #button_logIn {
	min-width: 108px;
	height: 48px;
	border: 0 !important;
	border-radius: 12px;
	background: linear-gradient(135deg,#1745bd,#219cf0) !important;
	box-shadow: 0 12px 28px rgba(23,77,189,.24);
	color: #fff;
	font: 900 12px/1 Montserrat,sans-serif;
	transition: transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
body:not(.loggedIn) header.batchSiteHeader.accountSiteHeader #button_logIn:hover,
body:not(.loggedIn) header.batchSiteHeader.accountSiteHeader #button_logIn:focus {
	box-shadow: 0 16px 34px rgba(23,77,189,.32);
	filter: brightness(1.05);
	transform: translateY(-1px);
}
body:not(.loggedIn) .batchHero { padding-top: 164px; }

@media (max-width: 700px) {
	body:not(.loggedIn) header.batchSiteHeader.accountSiteHeader #logo.accountBrandLogo { width: 142px !important; height: 36px !important; flex-basis: 142px; }
	body:not(.loggedIn) .batchHero { padding-top: 126px; }
}

@media (max-width: 430px) {
	body:not(.loggedIn) header.batchSiteHeader.accountSiteHeader { padding-right: 14px !important; padding-left: 14px !important; }
	body:not(.loggedIn) header.batchSiteHeader.accountSiteHeader #logo.accountBrandLogo { width: 126px !important; flex-basis: 126px; }
	body:not(.loggedIn) header.batchSiteHeader.accountSiteHeader #button_logIn { min-width: 78px; padding: 0 12px !important; }
}
