/* account-lk.css — Личный кабинет Figma 868:42052 (Работа с личным кабинетом WEB)
   Scope: body.account-account .fg-lk */

body.account-account #content,
body.account-account .site-content {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
}

/* Leftover OC flash (blue bar + gray “Список категорий обновлен!”) is not in Figma LK */
body.account-account #content > .success,
body.account-account #content > .alert,
body.account-account .site-content > .success,
body.account-account .site-content > .alert {
	display: none !important;
}

body.account-account .fg-lk {
	padding: 32px 0 64px;
	background: #fff !important;
}
body.account-account .fg-lk__field--photo {
	display: none !important;
}
body.account-account .fg-lk__container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 15px;
	box-sizing: border-box;
}

/* Title */
body.account-account .fg-lk__title {
	margin: 0 0 22px !important;
	text-align: center;
	color: #0066B2 !important;
	font-size: 36px !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
}

/* Tabs — pill group */
body.account-account .fg-lk__tabs {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 0;
	max-width: 1240px;
	margin: 0 auto 28px;
	padding: 4px;
	border-radius: 999px;
	background: linear-gradient(90deg, #E8F2FB 0%, #0B3A7A 100%);
	box-sizing: border-box;
	overflow-x: auto;
}
body.account-account .fg-lk__tab {
	flex: 1 1 0;
	min-width: 0;
	height: 48px;
	padding: 0 10px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font-size: 15px;
	font-weight: 400;
	font-family: inherit;
	cursor: pointer;
	line-height: 1.2;
	transition: background .15s ease, color .15s ease;
}
body.account-account .fg-lk__tab:hover {
	background: rgba(255,255,255,.12);
}
body.account-account .fg-lk__tab.is-active {
	background: #fff;
	color: #0066B2;
	box-shadow: 0 2px 10px rgba(0, 30, 80, .12);
}

/* Panels */
body.account-account .fg-lk__panel[hidden] {
	display: none !important;
}
body.account-account .fg-lk__panel {
	max-width: 860px;
	margin: 0 auto;
}

/* Alert banner */
body.account-account .fg-lk__alert {
	margin: 0 0 22px;
	padding: 14px 18px;
	border-radius: 8px;
	background: #E23B2E;
	color: #fff;
	font-size: 15px;
	line-height: 1.4;
	text-align: center;
}

body.account-account .fg-lk__section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 18px;
	flex-wrap: wrap;
}
body.account-account .fg-lk__section-title {
	margin: 0 0 16px !important;
	color: #0066B2 !important;
	font-size: 24px !important;
	font-weight: 500 !important;
	line-height: 1.25 !important;
}
body.account-account .fg-lk__section-head .fg-lk__section-title {
	margin-bottom: 0 !important;
}

/* Tariff block */
body.account-account .fg-lk__tariff {
	margin: 0 0 28px;
	padding: 0 0 8px;
}
body.account-account .fg-lk__tariff-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin-bottom: 8px;
}
body.account-account .fg-lk__tariff-label {
	color: #5B6D9C;
	font-size: 16px;
}
body.account-account .fg-lk__tariff-name {
	display: inline-flex;
	align-items: center;
	padding: 0;
	border-radius: 0;
	background: transparent;
	color: #0066B2;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
}
body.account-account .fg-lk__tariff-change {
	color: #0066B2;
	font-size: 14px;
	text-decoration: none;
}
body.account-account .fg-lk__tariff-change:hover {
	text-decoration: underline;
}
body.account-account .fg-lk__tariff-until {
	margin: 0 0 12px;
	color: #5B6D9C;
	font-size: 14px;
}
body.account-account .fg-lk__tariff-extend {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 6px 16px;
	border-radius: 6px;
	border: 1.3px solid #0066B2;
	background: #fff;
	color: #0066B2 !important;
	font-size: 14px;
	text-decoration: none !important;
}
body.account-account .fg-lk__tariff-extend:hover {
	background: #F0F7FC;
}

/* Form fields */
body.account-account .fg-lk__form {
	margin: 0;
}
body.account-account .fg-lk__fields {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 22px;
}
body.account-account .fg-lk__row--2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
body.account-account .fg-lk__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}
body.account-account .fg-lk__label {
	color: #5B6D9C;
	font-size: 14px;
	font-weight: 400;
}
body.account-account .fg-lk__input,
body.account-account .fg-lk__form input[type="text"],
body.account-account .fg-lk__form input[type="email"],
body.account-account .fg-lk__form input[type="password"],
body.account-account .fg-lk__form input[type="tel"] {
	width: 100%;
	box-sizing: border-box;
	height: 44px;
	padding: 10px 14px;
	border: 1px solid #DCE3EC;
	border-radius: 6px;
	background: #fff;
	color: #2E437B;
	font-size: 15px;
	font-family: inherit;
}
body.account-account .fg-lk__input::placeholder {
	color: #96A1BD;
}
body.account-account .fg-lk__input:focus {
	outline: none;
	border-color: #0066B2;
	box-shadow: 0 0 0 3px rgba(0,102,178,.12);
}

/* Photo */
body.account-account .fg-lk__field--photo {
	align-items: flex-start;
}
body.account-account .fg-lk__photo-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}
body.account-account .fg-lk__photo-circle {
	width: 220px;
	height: 220px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid #DCE3EC;
	background: #F5F8FC;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
body.account-account .fg-lk__photo-circle img,
body.account-account .fg-lk__photo-img,
body.account-account .fg-lk__photo-circle .file_load img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	border-radius: 50% !important;
	display: block;
}
body.account-account .fg-lk__photo-circle .file_load {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	position: relative;
}
body.account-account .fg-lk__photo-circle .close_file {
	position: absolute;
	top: 12px;
	right: 24px;
	z-index: 2;
}
body.account-account .fg-lk__photo-placeholder {
	color: #96A1BD;
	font-size: 14px;
}
body.account-account .fg-lk__photo-btn {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 6px 14px;
	border-radius: 6px;
	border: 1.3px solid #0066B2;
	background: #fff;
	color: #0066B2 !important;
	font-size: 14px;
	cursor: pointer;
	text-decoration: none !important;
}
body.account-account .fg-lk__photo-btn:hover {
	background: #F0F7FC;
}
body.account-account .fg-lk__photo-input {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	overflow: hidden !important;
}
body.account-account .fg-lk__photo-btn.item_drop {
	position: relative;
}
body.account-account .fg-lk__photo-btn .desc {
	display: none;
}

/* Password box */
body.account-account .fg-lk__password-box {
	margin: 8px 0 20px;
	padding: 18px 18px 8px;
	border: 1px solid #E8EEF7;
	border-radius: 10px;
	background: #FAFCFF;
	box-sizing: border-box;
}
body.account-account .fg-lk__password-toggle {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 6px 14px;
	margin-bottom: 12px;
	border-radius: 6px;
	border: 1.3px solid #0066B2;
	background: #fff;
	color: #0066B2;
	font-size: 14px;
	font-family: inherit;
	cursor: pointer;
}
body.account-account .fg-lk__password-fields {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-bottom: 10px;
}
body.account-account .fg-lk__password-fields[hidden] {
	display: none !important;
}
body.account-account .fg-lk__password-hint {
	margin: 0;
	font-size: 13px;
	color: #5B6D9C;
}
body.account-account .fg-lk__password-hint a {
	color: #0066B2;
}

/* Submit */
body.account-account .fg-lk__submit,
body.account-account .fg-lk__form button.fg-lk__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
	min-height: 44px;
	padding: 10px 22px;
	border: 0;
	border-radius: 6px;
	background: #0066B2 !important;
	color: #fff !important;
	font-size: 16px;
	font-weight: 400;
	font-family: inherit;
	cursor: pointer;
	box-shadow: none !important;
}
body.account-account .fg-lk__submit:hover {
	background: #00538F !important;
}

/* Legacy form bits hide inside fg-lk */
body.account-account .fg-lk fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}
body.account-account .fg-lk .button_circle {
	display: none !important;
}

/* Links / empty */
body.account-account .fg-lk__link-btn {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 6px 14px;
	border-radius: 6px;
	border: 1.3px solid #0066B2;
	color: #0066B2 !important;
	font-size: 14px;
	text-decoration: none !important;
	background: #fff;
}
body.account-account .fg-lk__link-btn:hover {
	background: #F0F7FC;
}
body.account-account .fg-lk__empty {
	color: #5B6D9C;
	font-size: 15px;
}
body.account-account .fg-lk__empty a {
	color: #0066B2;
}

/* Stats */
body.account-account .fg-lk__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
body.account-account .fg-lk__stats-card {
	padding: 18px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 5px 20px rgba(193,200,218,.35);
	box-sizing: border-box;
}
body.account-account .fg-lk__stats-name {
	margin: 0 0 12px;
	color: #0066B2;
	font-size: 16px;
	font-weight: 500;
}
body.account-account .fg-lk__stats-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 8px;
	color: #5B6D9C;
	font-size: 14px;
}
body.account-account .fg-lk__stats-row b {
	color: #2E437B;
	font-weight: 500;
	text-align: right;
}

/* Offers / wishlist lists inside panels keep existing cards but pad */
body.account-account .fg-lk__panel .offers_list {
	margin-top: 8px;
}
body.account-account .fg-lk__panel > h1 {
	display: none;
}

/* Hide old sidebar nav if residual */
body.account-account #account_nav {
	display: none !important;
}
/* legacy tariff bar / duplicate h1s inside panels */
body.account-account .fg-lk #account_balance,
body.account-account .fg-lk .name_tariff {
	display: none !important;
}
body.account-account .fg-lk__panel h1 {
	display: none !important;
}
body.account-account .fg-lk__panel[data-panel="offers"] > .fg-lk__section-head + h1,
body.account-account .fg-lk__panel[data-panel="offers"] h1 {
	display: none !important;
}
/* legacy blue subscription strip sometimes injected */
body.account-account .users_list > .container > .name_tariff,
body.account-account .fg-lk .name_tariff {
	display: none !important;
}

@media (max-width: 767px) {
	body.account-account .fg-lk__title {
		text-align: left !important;
		font-size: 24px !important;
		margin: 0 0 16px !important;
	}
	/* Horizontal pill segment control (Figma mobile) — not stacked column */
	body.account-account .fg-lk__tabs {
		flex-direction: row;
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		border-radius: 999px;
		background: linear-gradient(90deg, #E8F2FB 0%, #0B3A7A 100%);
		max-width: 100%;
		margin: 0 0 20px;
		padding: 3px;
		scrollbar-width: none;
	}
	body.account-account .fg-lk__tabs::-webkit-scrollbar {
		display: none;
	}
	body.account-account .fg-lk__tab {
		height: 40px;
		min-height: 40px;
		flex: 1 1 0;
		min-width: 0;
		width: auto;
		font-size: 12px;
		padding: 0 6px;
		white-space: nowrap;
		line-height: 1.15;
	}
	/* Keep имя/фамилия side-by-side on mobile (Figma) */
	body.account-account .fg-lk__row--2 {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}
	body.account-account .fg-lk__photo-circle {
		width: 160px;
		height: 160px;
	}
	body.account-account .fg-lk__stats {
		grid-template-columns: 1fr;
	}
}

/* ── ЛК: блок «Галерея» в форме объявления (product_image + video) ──
   Сохраняется в product_image / product.video → вкладка «Галерея» карточки. */
body[class*="account-offer"] .fg-lk-gallery {
	margin: 28px 0 32px;
	padding: 24px 22px 20px;
	border: 1px solid #E3E8EF;
	border-radius: 12px;
	background: #FAFCFF;
	box-sizing: border-box;
}
body[class*="account-offer"] .fg-lk-gallery__heading {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 500;
	color: #0066B2;
	line-height: 1.25;
}
body[class*="account-offer"] .fg-lk-gallery__hint {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.45;
	color: #5B6D9C;
}
body[class*="account-offer"] .fg-lk-gallery__hint--sm {
	margin: 0 0 12px;
	font-size: 13px;
}
body[class*="account-offer"] .fg-lk-gallery__sublabel {
	display: block;
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 500;
	color: #000E37;
}
body[class*="account-offer"] .fg-lk-gallery__photos {
	margin-bottom: 22px;
	border: none;
	padding: 0;
}
body[class*="account-offer"] .fg-lk-gallery__videos {
	margin: 0 0 18px;
	border: none;
	padding: 0;
}
body[class*="account-offer"] .fg-lk-video-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 10px;
}
body[class*="account-offer"] .fg-lk-video-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	gap: 10px;
}
body[class*="account-offer"] .fg-lk-video-row .input-text {
	width: 100%;
	box-sizing: border-box;
}
body[class*="account-offer"] .fg-lk-gallery .item_drop_wrap .item_drop {
	border: 1px dashed #9BB0D0;
	border-radius: 10px;
	background: #fff;
}
body[class*="account-offer"] .fg-lk-gallery .list_files {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 12px;
	margin-top: 14px;
}
body[class*="account-offer"] .fg-lk-gallery .list_files .file_load {
	margin-top: 0;
}
body[class*="account-offer"] .fg-lk-gallery > .button {
	margin-top: 4px;
}
body[class*="account-offer"] .js-add-video {
	display: inline-block;
	margin-top: 4px;
	color: #0066B2;
	border-bottom: 1px dashed #0066B2;
	text-decoration: none;
	font-size: 14px;
}
@media (max-width: 767px) {
	body[class*="account-offer"] .fg-lk-video-row {
		grid-template-columns: 1fr;
	}
	body[class*="account-offer"] .fg-lk-gallery {
		padding: 16px 14px;
	}
}

/* ── Figma LK polish 2026-08-12 ── */
body.account-account .fg-lk__label {
	color: #0066B2 !important;
	font-size: 14px;
}
body.account-account .fg-lk__input {
	border-color: #E3E8EF;
	color: #2E437B;
}
body.account-account .fg-lk__photo-circle {
	width: 240px;
	height: 240px;
	/* Figma: solid blue ring (not multi-stop gradient border) */
	border: 3px solid #0066B2;
	background: #F5F8FC;
	box-shadow: none;
	box-sizing: border-box;
}
body.account-account .fg-lk__submit {
	background: linear-gradient(180deg, #2E437B 0%, #0066B2 100%) !important;
	border: 1.3px solid #fff !important;
	min-height: 48px;
	box-shadow: 0 4px 12px rgba(0,102,178,.25) !important;
}
body.account-account .fg-lk__panel[data-panel="offers"],
body.account-account .fg-lk__panel[data-panel="stats"],
body.account-account .fg-lk__panel[data-panel="wishlist"],
body.account-account .fg-lk__panel[data-panel="admin"] {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}
body.account-account .fg-lk-flash {
	max-width: 900px;
	margin: 0 auto 16px;
	padding: 12px 16px;
	border-radius: 8px;
	background: #0B3A7A;
	color: #fff;
	font-size: 15px;
	line-height: 1.4;
}
body.account-account .fg-lk-flash--warn {
	background: #E23B2E;
}
body.account-account .fg-lk-admin-filter-label {
	margin: 16px 0 8px;
	font-size: 14px;
	color: #2E437B;
}
body.account-account .fg-lk-admin-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
}
body.account-account .fg-lk-admin-filters a {
	background: #E8F2FB;
	color: #0B3A7A;
	padding: 6px 14px;
	border-radius: 999px;
	text-decoration: none;
	font-size: 13px;
}
body.account-account .fg-lk-admin-filters a.active {
	background: #0B3A7A;
	color: #fff;
}

/* Admin listings: 3-col cards, square photo (source thumbs are square) */
body.account-account .fg-lk__panel[data-panel="admin"] .offers_list {
	display: flex !important;
	flex-wrap: wrap;
	gap: 0;
	margin: -8px;
	align-items: stretch;
}
body.account-account .fg-lk__panel[data-panel="admin"] .offers_list > .item {
	width: 33.33% !important;
	max-width: 33.33%;
	padding: 8px;
	margin: 0 !important;
	float: none !important;
	box-sizing: border-box;
	opacity: 1 !important;
}
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner,
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner.item_inner {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	text-align: left !important;
	padding: 0 !important;
	border-radius: 10px !important;
	overflow: hidden;
	background: #fff;
	border: 1px solid #E3E8EF !important;
	box-shadow: 0 2px 10px rgba(30, 50, 90, .06);
	min-height: 0;
	height: 100% !important;
}
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner .status_text,
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner.item_inner .status_text {
	order: 0;
	flex: 0 0 40px;
	height: 40px !important;
	max-height: 40px !important;
	padding: 0 12px !important;
	font-size: 12px !important;
	font-weight: 600;
	line-height: 40px;
	letter-spacing: .01em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	box-sizing: border-box;
}
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner .img,
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner.item_inner .img {
	order: 1 !important;
	position: relative !important;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	max-height: none !important;
	margin: 0 auto !important;
	padding: 0 !important;
	border-radius: 0 !important;
	overflow: hidden !important;
	background: #d9e2ef !important;
	aspect-ratio: 1 / 1 !important;
}
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner .img > a:not(.js-add-wishlist),
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner.item_inner .img > a:not(.js-add-wishlist) {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	border-radius: 0 !important;
	overflow: hidden !important;
	clip-path: none !important;
}
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner .img img,
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner.item_inner .img img,
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner.item_inner .img > a:not(.js-add-wishlist) img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: 50% 20% !important;
	transform: none !important;
	border-radius: 0 !important;
	border: 0 !important;
	clip-path: none !important;
}
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner .texts,
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner.item_inner .texts {
	order: 2 !important;
	display: block !important;
	width: 100%;
	flex: 0 0 168px;
	height: 168px !important;
	max-height: 168px !important;
	overflow: hidden;
	padding: 10px 12px 0 !important;
	box-sizing: border-box;
	text-align: left;
}
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner .name,
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner.item_inner .name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 6px !important;
	font-size: 15px !important;
	text-align: left;
}
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner .text,
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner.item_inner .text {
	display: -webkit-box !important;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
	height: 117px !important;
	min-height: 117px !important;
	max-height: 117px !important;
	font-size: 13px;
	line-height: 1.5;
	margin: 0;
	color: #5B6D9C;
}
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner .contacts_wrap,
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner.item_inner .contacts_wrap {
	display: none !important;
}
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner .job_listing-location,
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner.item_inner .job_listing-location {
	display: none !important;
}
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner .moder_buttons,
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner.item_inner .moder_buttons {
	order: 5;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: stretch;
	gap: 4px;
	margin-top: auto !important;
	padding: 0 10px 10px !important;
	width: 100%;
	height: 44px;
	box-sizing: border-box;
	flex: 0 0 44px;
}
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner .moder_buttons .href,
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner.item_inner .moder_buttons .href {
	flex: 1 1 0;
	min-width: 0;
	height: 34px !important;
	min-height: 34px !important;
	max-height: 34px !important;
	margin: 0 !important;
	padding: 0 6px !important;
	font-size: 13px;
	font-weight: 500;
	line-height: 34px !important;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	border-radius: 6px;
	color: #fff !important;
	text-decoration: none;
	box-sizing: border-box;
	display: block;
	border: 1px solid transparent;
}
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner .moder_buttons .href_more,
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner.item_inner .moder_buttons .href_more {
	background: #fff !important;
	color: #0066B2 !important;
	border: 1.3px solid #0066B2 !important;
}
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner .moder_buttons .href_more::after {
	content: " ↗";
	font-size: 13px;
}
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner .moder_buttons .href_more.is-off {
	opacity: .35;
	pointer-events: none;
}
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner .moder_buttons .href_edit,
body.account-account .fg-lk__panel[data-panel="admin"] .item_inner.item_inner .moder_buttons .href_edit {
	background: #E8F2FB !important;
	color: #0B3A7A !important;
	border-color: #0B3A7A;
}
@media (max-width: 1023px) {
	body.account-account .fg-lk__panel[data-panel="admin"] .offers_list > .item {
		width: 50% !important;
		max-width: 50%;
	}
}
@media (max-width: 600px) {
	body.account-account .fg-lk__panel[data-panel="admin"] .offers_list > .item {
		width: 100% !important;
		max-width: 100%;
	}
	body.account-account .fg-lk__panel[data-panel="admin"] .item_inner .img,
	body.account-account .fg-lk__panel[data-panel="admin"] .item_inner.item_inner .img {
		height: auto !important;
		max-height: none !important;
		aspect-ratio: 1 / 1 !important;
	}
}
body.account-account .fg-lk__panel[data-panel="account"] {
	max-width: 720px;
}

/* Status banners — Figma */
.fg-lk-status {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	padding: 14px 18px;
	border-radius: 8px;
	margin: 0 0 20px;
	font-size: 15px;
	font-weight: 500;
	color: #fff;
	box-sizing: border-box;
}
.fg-lk-status__left {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}
.fg-lk-status__label { font-weight: 500; }
.fg-lk-status__hint {
	font-weight: 400;
	font-size: 14px;
	opacity: .95;
}
.fg-lk-status__btn,
.fg-lk-status__edit {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 6px 14px;
	border-radius: 6px;
	border: 1.3px solid #fff;
	background: rgba(255,255,255,.15);
	color: #fff !important;
	font-size: 14px;
	text-decoration: none !important;
	white-space: nowrap;
}
.fg-lk-status__btn:hover,
.fg-lk-status__edit:hover { background: rgba(255,255,255,.28); }
.fg-lk-status--pay { background: #E85A2A; }
.fg-lk-status--moder { background: #F5A623; }
.fg-lk-status--draft { background: #E23B2E; }
.fg-lk-status--off { background: #6B7280; }
.fg-lk-status--on { background: #2E9B4E; }

/* Listing on «Ваше объявление» — native card, never an iframe of the site */
.fg-lk-offer {
	max-width: 380px;
	margin-bottom: 28px;
}
/* One listing: status banner spans the tab track; the card stays a card */
body.account-account .fg-lk-cards:not(.fg-lk-cards--grid) .fg-lk-offer {
	max-width: none;
	width: 100%;
}
.fg-lk-offer .fg-lk-status { margin-bottom: 16px; width: 100%; }
.fg-lk-site { margin-bottom: 32px; }
.fg-lk-site__preview,
.fg-lk-site__frame { display: none !important; }
.fg-lk-site__open { margin: 12px 0 0; }
body.sp-embed {
	padding-top: 0 !important;
	background: #fff !important;
}
body.sp-embed > a.header_link_map,
body.sp-embed .primary-header,
body.sp-embed .main-navigation,
body.sp-embed .site-header,
body.sp-embed header,
body.sp-embed .footer,
body.sp-embed footer,
body.sp-embed .alert,
body.sp-embed .success,
body.sp-embed .sp-preview-bar,
body.sp-embed .page-cover,
body.sp-embed .footer_line1,
body.sp-embed .footer_columns {
	display: none !important;
}
body.sp-embed .pro_tabs {
	max-width: 100%;
	height: auto;
	min-height: 48px;
	flex-wrap: wrap;
}
body.sp-embed .pro_tabs .pro_tab {
	font-size: 14px;
	padding: 8px 10px;
}
.fg-lk-site__fallback {
	display: none;
	padding: 24px;
	text-align: center;
}

/* Cards grid (STARTER + wishlist) */
.fg-lk-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 24px;
}
.fg-lk-cards--grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.fg-lk-card {
	position: relative;
	width: 100%;
	max-width: 360px;
	padding: 20px 18px 18px;
	border: 1px solid #E3E8EF;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 5px 20px rgba(193,200,218,.4);
	text-align: center;
	box-sizing: border-box;
}
.fg-lk-cards--grid .fg-lk-card { max-width: none; }
.fg-lk-card__badge {
	position: absolute;
	left: 14px; top: 14px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #3ECF8E;
	color: #fff;
	font-size: 12px;
	font-weight: 500;
}
.fg-lk-card__heart {
	position: absolute;
	right: 14px; top: 12px;
	border: 0;
	background: transparent;
	color: #C5CDD9;
	font-size: 20px;
	cursor: pointer;
	line-height: 1;
}
.fg-lk-card__heart.is-on { color: #E23B2E; }
.fg-lk-card__photo {
	width: 160px; height: 160px;
	margin: 18px auto 14px;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	border: 3px solid transparent;
	background-color: #F1F5FA;
	box-shadow: 0 0 0 3px #7fb3ff, 0 0 0 6px rgba(195,183,255,.5);
}
.fg-lk-card__name {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 500;
	color: #0066B2;
}
.fg-lk-card__loc {
	margin: 0 0 10px;
	font-size: 13px;
	color: #96A1BD;
}
.fg-lk-card__text {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.45;
	color: #2A3550;
	text-align: left;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.fg-lk-card__status-pill {
	display: inline-flex;
	margin: 0 auto 12px;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 12px;
	color: #fff;
}
.fg-lk-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}
.fg-lk-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 16px;
	border-radius: 6px;
	border: 1.3px solid #0066B2;
	color: #0066B2 !important;
	background: #fff;
	font-size: 14px;
	text-decoration: none !important;
}
.fg-lk-card__btn--solid {
	background: linear-gradient(180deg, #2E437B 0%, #0066B2 100%);
	color: #fff !important;
	border-color: #fff;
}

/* Stats list — Figma */
.fg-lk-statblock {
	max-width: 820px;
	margin: 0 auto 32px;
}
.fg-lk-statblock__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}
.fg-lk-statblock__period {
	color: #96A1BD;
	font-size: 14px;
}
.fg-lk-statlist {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid #E8EEF7;
}
.fg-lk-statlist__row {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) auto;
	gap: 12px 16px;
	align-items: center;
	padding: 16px 4px;
	border-bottom: 1px solid #E8EEF7;
}
.fg-lk-statlist__icon {
	width: 36px; height: 36px;
	border-radius: 50%;
	background: #E8F2FB center/18px no-repeat;
}
.fg-lk-statlist__icon--views { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230066B2'%3E%3Cpath stroke-width='2' d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3' stroke-width='2'/%3E%3C/svg%3E"); }
.fg-lk-statlist__icon--mail { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230066B2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' stroke-width='2'/%3E%3Cpath stroke-width='2' d='M3 7l9 7 9-7'/%3E%3C/svg%3E"); }
.fg-lk-statlist__icon--site { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230066B2'%3E%3Ccircle cx='12' cy='12' r='9' stroke-width='2'/%3E%3Cpath stroke-width='2' d='M3 12h18M12 3c2.5 2.5 4 5.5 4 9s-1.5 6.5-4 9c-2.5-2.5-4-5.5-4-9s1.5-6.5 4-9z'/%3E%3C/svg%3E"); }
.fg-lk-statlist__icon--wa { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2325D366'%3E%3Cpath d='M12 2a10 10 0 00-8.7 14.9L2 22l5.3-1.4A10 10 0 1012 2zm0 18a8 8 0 01-4.1-1.1l-.3-.2-3.1.8.8-3-.2-.3A8 8 0 1112 20zm4.4-5.9c-.2-.1-1.3-.6-1.5-.7-.2-.1-.4-.1-.5.1-.2.2-.6.7-.7.9-.1.1-.3.2-.5.1-.2-.1-.9-.3-1.8-1.1-.7-.6-1.1-1.3-1.3-1.5-.1-.2 0-.4.1-.5l.4-.4c.1-.1.1-.2.2-.4 0-.1 0-.3-.1-.4-.1-.1-.5-1.3-.7-1.7-.2-.5-.4-.4-.5-.4h-.4c-.1 0-.4.1-.6.3-.2.2-.8.8-.8 1.9s.8 2.2.9 2.3c.1.2 1.6 2.5 3.9 3.4 2.3 1 2.3.6 2.7.6.4 0 1.3-.5 1.5-1 .2-.5.2-.9.1-1z'/%3E%3C/svg%3E"); }
.fg-lk-statlist__icon--fb { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231877F2'%3E%3Cpath d='M14 9h3V6h-3c-1.7 0-3 1.3-3 3v2H9v3h2v7h3v-7h2.5l.5-3H14V9c0-.6.4-1 1-1z'/%3E%3C/svg%3E"); }
.fg-lk-statlist__icon--ig { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E4405F'%3E%3Cpath d='M7 2h10a5 5 0 015 5v10a5 5 0 01-5 5H7a5 5 0 01-5-5V7a5 5 0 015-5zm0 2a3 3 0 00-3 3v10a3 3 0 003 3h10a3 3 0 003-3V7a3 3 0 00-3-3H7zm10.5 1.5a1 1 0 110 2 1 1 0 010-2zM12 7a5 5 0 110 10 5 5 0 010-10zm0 2a3 3 0 100 6 3 3 0 000-6z'/%3E%3C/svg%3E"); }
.fg-lk-statlist__icon--tg { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2326A5E4'%3E%3Cpath d='M9.8 15.9l-.4 4.1c.5 0 .8-.2 1.1-.5l2.6-2.5 5.4 4c1 .6 1.7.3 2-.9l3.6-16.9h0c.3-1.4-.5-2-1.5-1.6L1.4 9.4C.1 9.9.1 10.7 1.2 11l5.2 1.6L18.4 5.5c.6-.4 1.1-.2.7.2L9.8 15.9z'/%3E%3C/svg%3E"); }
.fg-lk-statlist__icon--li { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230A66C2'%3E%3Cpath d='M6.5 8.5H3.7V21h2.8V8.5zM5.1 3C4 3 3 4 3 5.1S4 7.2 5.1 7.2 7.2 6.2 7.2 5.1 6.2 3 5.1 3zM21 21h-2.8v-6.1c0-1.5 0-3.3-2-3.3s-2.3 1.6-2.3 3.2V21H11V8.5h2.7v1.7h0c.4-.7 1.3-1.9 3.3-1.9 3.5 0 4.1 2.3 4.1 5.3V21z'/%3E%3C/svg%3E"); }
.fg-lk-statlist__label {
	display: block;
	font-size: 13px;
	color: #96A1BD;
	margin-bottom: 2px;
}
.fg-lk-statlist__link {
	display: block;
	font-size: 15px;
	color: #0066B2;
	text-decoration: none;
	word-break: break-all;
}
.fg-lk-statlist__link--muted { color: #96A1BD; }
.fg-lk-statlist__num {
	font-size: 22px;
	font-weight: 500;
	color: #0066B2;
	min-width: 48px;
	text-align: right;
}
.fg-lk-statblock__for {
	margin: 8px 0 0;
	font-size: 13px;
	color: #96A1BD;
}
.fg-lk-statblock__total {
	margin: 0 0 12px;
	font-size: 16px;
	color: #1B2437;
}
.fg-lk-statblock__lifetime {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: #96A1BD;
	font-weight: 400;
}
.fg-lk-statfilter {
	max-width: 820px;
	margin: 0 auto 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-end;
}
.fg-lk-statfilter__label {
	font-size: 13px;
	color: #96A1BD;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.fg-lk-statfilter__select,
.fg-lk-statfilter__custom input {
	border: 1px solid #D5DEEE;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 14px;
	color: #1B2437;
	background-color: #fff;
}
html body .fg-lk-statfilter__select {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	padding-right: 34px;
	background-color: #fff !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2396A1BD' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 12px center !important;
	background-size: 12px 8px !important;
	cursor: pointer;
}
html body .fg-lk-statfilter__select::-ms-expand {
	display: none;
}
/* Listify оборачивает select в span.select и вешает ionicon-стрелку через :after / :before — скрываем дублирование */
body.account-account .select:after,
body.account-account .select:before,
html body .fg-lk-statfilter .select:after,
html body .fg-lk-statfilter .select:before,
html body .fg-lk-statfilter__select-wrapper:after,
html body .fg-lk-statfilter__select-wrapper:before,
html body .select.fg-lk-statfilter__select-wrapper:after,
html body .select.fg-lk-statfilter__select-wrapper:before {
	display: none !important;
	content: none !important;
}
.fg-lk-statfilter__custom {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}
.fg-lk-statfilter__btn {
	border: 0;
	background: #0066B2;
	color: #fff;
	border-radius: 8px;
	padding: 8px 14px;
	cursor: pointer;
}
.fg-lk-statevents {
	margin-top: 24px;
}
.fg-lk-statevents__title {
	font-size: 18px;
	margin: 0 0 8px;
	color: #1B2437;
}
.fg-lk-statevents__note {
	font-size: 13px;
	color: #96A1BD;
	margin: 0 0 12px;
}
.fg-lk-statevents__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.fg-lk-statevents__table th,
.fg-lk-statevents__table td {
	text-align: left;
	padding: 10px 8px;
	border-bottom: 1px solid #E8EEF7;
}
.fg-lk-statevents__table th {
	color: #96A1BD;
	font-weight: 500;
}

body.account-account .fg-lk-moder { margin-top: 40px; padding-top: 24px; border-top: 1px solid #E8EEF7; }

@media (max-width: 1023px) {
	.fg-lk-cards--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fg-lk-site__frame { height: 820px; }
}
@media (max-width: 767px) {
	.fg-lk-cards--grid { grid-template-columns: 1fr; }
	.fg-lk-statlist__row { grid-template-columns: 32px minmax(0, 1fr) auto; }
	.fg-lk-site__frame { height: 760px; }
}

/* ── Native product preview (replaces iframe) ── */
.fg-lk-proview {
	border: 1px solid #E3E8EF;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 5px 24px rgba(193,200,218,.35);
	overflow: hidden;
	margin-bottom: 8px;
}
.fg-lk-proview__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 28px;
	padding: 28px 28px 20px;
	align-items: start;
}
.fg-lk-proview__cat {
	font-size: 14px;
	color: #5B6D9C;
	margin-bottom: 6px;
}
.fg-lk-proview__title {
	margin: 0 0 12px;
	font-size: 28px;
	font-weight: 500;
	line-height: 1.25;
	color: #0066B2;
}
.fg-lk-proview__lead {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.5;
	color: #2A3550;
}
.fg-lk-proview__contacts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}
.fg-lk-proview__phone {
	font-size: 14px;
	color: #0066B2;
}
.fg-lk-proview__wa {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: 8px;
	background: linear-gradient(180deg, #2E437B 0%, #0066B2 100%);
	color: #fff !important;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none !important;
	border: 1.3px solid #fff;
	box-shadow: 0 4px 12px rgba(0,102,178,.25);
}
.fg-lk-proview__socials {
	display: flex;
	gap: 8px;
}
.fg-lk-proview__soc {
	width: 32px; height: 32px;
	border-radius: 50%;
	background: #E8F2FB;
	color: #0066B2;
	font-size: 11px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-transform: lowercase;
}
.fg-lk-proview__photo {
	width: 240px;
	height: 240px;
	max-width: 100%;
	margin: 0 auto;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	border: 4px solid transparent;
	background-color: #F1F5FA;
	box-shadow:
		0 0 0 3px #7fb3ff,
		0 0 0 6px rgba(195,183,255,.55),
		0 10px 28px rgba(16,42,95,.12);
}
.fg-lk-proview__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 0 20px 0;
	padding: 4px;
	border-radius: 999px;
	background: linear-gradient(90deg, #0B3A7A 0%, #0066B2 100%);
	max-width: calc(100% - 40px);
}
.fg-lk-proview__tabs span {
	flex: 1 1 0;
	text-align: center;
	padding: 10px 8px;
	font-size: 13px;
	color: rgba(255,255,255,.85);
	border-radius: 999px;
	white-space: nowrap;
}
.fg-lk-proview__tabs span.is-active {
	background: #fff;
	color: #0066B2;
	font-weight: 500;
}
.fg-lk-proview__body {
	padding: 24px 28px 8px;
	font-size: 15px;
	line-height: 1.55;
	color: #2A3550;
	max-height: 420px;
	overflow: auto;
}
.fg-lk-proview__body h2,
.fg-lk-proview__body h3 {
	color: #0066B2;
	font-weight: 500;
}
.fg-lk-proview__html p { margin: 0 0 12px; }
.fg-lk-proview__foot {
	padding: 8px 28px 24px;
}

/* Account field pencils (Figma) — text fields only */
body.account-account .fg-lk__field {
	position: relative;
}
body.account-account .fg-lk__field:not(.fg-lk__field--photo)::after {
	content: "";
	position: absolute;
	right: 12px;
	bottom: 12px;
	width: 16px;
	height: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230066B2'%3E%3Cpath stroke-width='2' d='M12 20h9M16.5 3.5a2.1 2.1 0 013 3L7 19l-4 1 1-4L16.5 3.5z'/%3E%3C/svg%3E") center/contain no-repeat;
	pointer-events: none;
	opacity: .7;
}
body.account-account .fg-lk__field input {
	padding-right: 36px;
}

/* Password rows: eye icon instead of pencil (Figma) */
body.account-account .fg-lk__password-fields .fg-lk__field {
	position: relative;
}
body.account-account .fg-lk__password-fields .fg-lk__field::after {
	content: "";
	position: absolute;
	right: 12px;
	bottom: 12px;
	width: 18px;
	height: 18px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230066B2'%3E%3Cpath stroke-width='2' d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z'/%3E%3Ccircle cx='12' cy='12' r='3' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
	pointer-events: none;
	opacity: .75;
}
body.account-account .fg-lk__password-fields .fg-lk__field input[type="password"],
body.account-account .fg-lk__password-fields .fg-lk__field input[type="text"] {
	padding-right: 40px;
}

/* Hide empty starter grid leftover */
.fg-lk-cards--grid:empty { display: none; }

/* Status bar pay btn more solid */
.fg-lk-status__btn {
	background: #fff !important;
	color: #E85A2A !important;
	border-color: #fff !important;
	font-weight: 600;
}
.fg-lk-status--moder .fg-lk-status__btn,
.fg-lk-status--draft .fg-lk-status__btn {
	color: #8A5A00 !important;
}
.fg-lk-status--on .fg-lk-status__edit {
	background: rgba(255,255,255,.2);
}

@media (max-width: 900px) {
	.fg-lk-proview__top {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}
	.fg-lk-proview__contacts,
	.fg-lk-proview__socials { justify-content: center; }
	.fg-lk-proview__lead { text-align: left; }
}

/* ═══════════════════════════════════════════════════════════
   Account mobile Figma match @390 (node 1059:102875)
   Scope: body.account-account only. Beats polish + legacy.
   ═══════════════════════════════════════════════════════════ */

/* PHP notice dumps above header: <b> tags + orphan text nodes between them.
   Hide tags; zero body font so orphan notice text collapses (children re-set size). */
body.account-account {
	overflow-x: hidden;
	font-size: 0;
	line-height: 0;
}
body.account-account > b,
body.account-account > br {
	display: none !important;
}
/* Restore readable type on real page chrome (notices are loose body text nodes) */
body.account-account > div,
body.account-account > header,
body.account-account > footer,
body.account-account > main,
body.account-account > section,
body.account-account > nav,
body.account-account > form,
body.account-account > aside,
body.account-account > script + div {
	font-size: 14px;
	line-height: 1.45;
}
body.account-account .fg-header,
body.account-account .hdr,
body.account-account header,
body.account-account .site-header,
body.account-account #top,
body.account-account .top-row,
body.account-account #content,
body.account-account .site-content,
body.account-account .fg-lk,
body.account-account footer,
body.account-account .ftr,
body.account-account .cookie-consent,
body.account-account .cookie,
body.account-account .modal,
body.account-account .popup {
	font-size: 14px;
	line-height: 1.45;
}

/* Restore full multi-col footer (additional_102024 hides .account-account footer) */
body.account-account footer,
body.account-account footer.ftr {
	display: block !important;
}
body.account-account .footer_copyright:before {
	display: none !important;
}

/* Equal side gutters; beat asymmetric 25/15 from legacy containers */
body.account-account .fg-lk__container {
	padding-left: 16px;
	padding-right: 16px;
	box-sizing: border-box;
}

/* Status / alert chrome (template may emit; style ready) */
body.account-account .fg-lk-status,
body.account-account .fg-lk__alert {
	display: flex;
	width: 100%;
	margin: 0 0 16px;
	border-radius: 8px;
	box-sizing: border-box;
}

@media (max-width: 860px) {
	body.account-account .fg-lk {
		padding: 20px 0 40px;
	}
	body.account-account .fg-lk__container {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
	body.account-account .fg-lk__title {
		text-align: left !important;
		font-size: 24px !important;
		line-height: 1.2 !important;
		margin: 0 0 16px !important;
	}
	/* Pill segment control — single horizontal bar */
	body.account-account .fg-lk__tabs {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		justify-content: stretch;
		align-items: stretch;
		gap: 0;
		max-width: 100%;
		width: 100%;
		margin: 0 0 18px !important;
		padding: 3px !important;
		border-radius: 999px !important;
		background: linear-gradient(90deg, #E8F2FB 0%, #0B3A7A 100%) !important;
		box-sizing: border-box;
		scrollbar-width: none;
	}
	body.account-account .fg-lk__tabs::-webkit-scrollbar {
		display: none;
	}
	body.account-account .fg-lk__tab {
		flex: 1 1 0 !important;
		min-width: 0 !important;
		width: auto !important;
		height: 40px !important;
		min-height: 40px !important;
		padding: 0 4px !important;
		font-size: 10px !important;
		font-weight: 400;
		white-space: nowrap;
		line-height: 1.1;
		border-radius: 999px;
		overflow: hidden;
		text-overflow: ellipsis;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
	}
	body.account-account .fg-lk__panel[data-panel="account"] {
		max-width: 100%;
	}
	body.account-account .fg-lk__section-title {
		font-size: 20px !important;
		margin: 0 0 12px !important;
	}
	/* 2-col name/surname on mobile */
	body.account-account .fg-lk__row--2 {
		grid-template-columns: 1fr 1fr !important;
		gap: 12px !important;
	}
	/* Avatar ~160 + «Изменить фото» to the right */
	body.account-account .fg-lk__photo-circle {
		width: 160px !important;
		height: 160px !important;
		border: 3px solid #0066B2 !important;
		background: #F5F8FC !important;
		box-shadow: none !important;
		flex-shrink: 0;
	}
	body.account-account .fg-lk__photo-wrap {
		flex-direction: row !important;
		align-items: flex-end !important;
		gap: 12px !important;
		flex-wrap: wrap;
	}
	body.account-account .fg-lk__password-box {
		padding: 14px 12px 8px;
	}
	body.account-account .fg-lk__submit,
	body.account-account .fg-lk__form button.fg-lk__submit {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}
}

@media (max-width: 480px) {
	body.account-account .fg-lk {
		padding: 16px 0 32px;
	}
	body.account-account .fg-lk__title {
		font-size: 22px !important;
		margin: 0 0 14px !important;
	}
	body.account-account .fg-lk__tabs {
		margin-bottom: 16px !important;
	}
	body.account-account .fg-lk__tab {
		height: 38px !important;
		min-height: 38px !important;
		font-size: 10px !important;
		padding: 0 3px !important;
	}
	body.account-account .fg-lk__photo-circle {
		width: 160px !important;
		height: 160px !important;
	}
	body.account-account .fg-lk__fields {
		gap: 14px;
	}
	body.account-account .fg-lk__label {
		font-size: 13px;
	}
	body.account-account .fg-lk__input,
	body.account-account .fg-lk__form input[type="text"],
	body.account-account .fg-lk__form input[type="email"],
	body.account-account .fg-lk__form input[type="password"],
	body.account-account .fg-lk__form input[type="tel"] {
		height: 42px;
		font-size: 14px;
	}
	body.account-account .fg-lk__tariff-name {
		font-size: 16px;
	}
	body.account-account .fg-lk-status {
		flex-direction: column;
		align-items: stretch;
		padding: 12px 14px;
		font-size: 14px;
	}
	body.account-account .fg-lk-status__btn,
	body.account-account .fg-lk-status__edit {
		align-self: flex-start;
	}
}

/* ═══════════════════════════════════════════════════════════
   Desktop Figma match 1440 (node 868:41477 / 868:42052)
   Beat additional_102024 asymmetric pad-left (100/150/220)
   + solid tabs, solid CTAs, avatar fill, password polish.
   Desktop default; mobile ≤860 keeps its own block above.
   ═══════════════════════════════════════════════════════════ */

/* 1) Content true-center — beat .account-account .users_list .container{padL:150} (0,3,0) */
body.account-account .users_list.fg-lk .container.fg-lk__container,
body.account-account .fg-lk .container.fg-lk__container,
body.account-account .fg-lk__container.container,
body.account-account .users_list .container.fg-lk__container {
	padding-left: 16px !important;
	padding-right: 16px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 1180px;
	width: 100%;
	box-sizing: border-box;
}

/* 2) Tabs — solid navy pill track (no light→dark wash-out on inactive labels) */
body.account-account .fg-lk__tabs {
	background: #0B3A7A !important;
	/* keep linear fallback if solid fails on old engines */
	background-image: none !important;
}
body.account-account .fg-lk__tab {
	color: #fff !important;
}
body.account-account .fg-lk__tab.is-active {
	background: #fff !important;
	color: #0066B2 !important;
}
body.account-account .fg-lk__tab:hover:not(.is-active) {
	background: rgba(255, 255, 255, 0.12) !important;
	color: #fff !important;
}

/* 3) Tariff «Продлить» — solid filled navy primary (not outline) */
body.account-account .fg-lk__tariff-extend {
	background: #0066B2 !important;
	color: #fff !important;
	border-color: #0066B2 !important;
	border-width: 1px;
	border-style: solid;
	min-height: 40px;
	padding: 8px 18px;
	border-radius: 8px;
}
body.account-account .fg-lk__tariff-extend:hover {
	background: #00538F !important;
	border-color: #00538F !important;
	color: #fff !important;
}

/* 4) Photo circle fill — kill .item_drop_wrap .list_files pad/margin letterbox */
body.account-account .fg-lk__photo-wrap.item_drop_wrap,
body.account-account .fg-lk__photo-wrap {
	position: relative;
	display: inline-block;
	width: 240px;
	min-width: 240px;
	/* override earlier flex column on desktop */
	flex-direction: unset;
	align-items: unset;
	gap: 0;
}
body.account-account .item_drop_wrap .fg-lk__photo-circle.list_files,
body.account-account .fg-lk__photo-circle.list_files,
body.account-account .fg-lk__photo-circle {
	width: 240px !important;
	height: 240px !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 50%;
	overflow: hidden !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	flex-wrap: nowrap;
}
body.account-account .item_drop_wrap .fg-lk__photo-circle .file_load,
body.account-account .fg-lk__photo-circle .file_load,
body.account-account .fg-lk__photo-file,
body.account-account .fg-lk__photo-circle > a,
body.account-account .fg-lk__photo-circle > div {
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	overflow: hidden !important;
	display: block !important;
	box-sizing: border-box;
	position: absolute !important;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
}
body.account-account .item_drop_wrap .list_files .file_load img,
body.account-account .fg-lk__photo-img,
body.account-account .fg-lk__photo-circle img,
body.account-account .fg-lk__photo-circle .file_load img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center !important;
	border-radius: 50% !important;
	display: block !important;
}
/* hide close X over avatar ring (Figma has no red chip on profile photo) */
body.account-account .fg-lk__photo-circle .close_file {
	display: none !important;
}

/* 5) Photo CTA — bottom-right of avatar (Figma); beat .item_drop position:relative */
body.account-account .fg-lk__photo-btn.item_drop,
body.account-account label.fg-lk__photo-btn,
body.account-account .fg-lk__photo-btn {
	position: absolute !important;
	left: auto !important;
	right: -8px !important;
	bottom: 8px !important;
	transform: none !important;
	white-space: nowrap;
	z-index: 3;
	margin: 0 !important;
	width: auto !important;
	min-width: 0;
	display: inline-flex !important;
	align-items: center;
}

/* 6) Password polish — hide residual external-form footnote */
body.account-account .fg-lk__password-hint {
	display: none !important;
}

/* 7) Offers 3-col grid — auto-fill so single card doesn't leave 2 empty tracks */
body.account-account .fg-lk-cards--grid {
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	justify-content: start;
	max-width: none;
}
body.account-account .fg-lk-card {
	max-width: 360px;
}
body.account-account .fg-lk-cards--grid .fg-lk-card {
	max-width: 360px;
}

/* 8) Stats links — no mid-token break-all */
body.account-account .fg-lk-statlist__link {
	word-break: normal;
	overflow-wrap: anywhere;
	hyphens: manual;
}

/* 9) Favorites empty — balanced section height before footer */
body.account-account .fg-lk__panel[data-panel="wishlist"],
body.account-account #account_wishlist_wrap {
	min-height: 280px;
	padding-bottom: 48px;
}
body.account-account .fg-lk__empty {
	margin: 24px 0 40px;
	font-size: 16px;
	line-height: 1.45;
}

/* 10) Account panel width — ~860 under 900 tabs (not 720 + right bias) */
body.account-account .fg-lk__panel[data-panel="account"],
body.account-account #account_profile.fg-lk__panel {
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 64px;
}

/* 11) Submit CTA — flat solid navy, no gradient/white stroke fight */
body.account-account .fg-lk__submit,
body.account-account .fg-lk__form button.fg-lk__submit {
	background: #0066B2 !important;
	background-image: none !important;
	border: 0 !important;
	box-shadow: none !important;
	min-height: 48px;
	border-radius: 8px;
	padding: 12px 28px;
	color: #fff !important;
}
body.account-account .fg-lk__submit:hover,
body.account-account .fg-lk__form button.fg-lk__submit:hover {
	background: #00538F !important;
	background-image: none !important;
}

/* Desktop tabs/title stay centered when container is true-centered */
@media (min-width: 861px) {
	body.account-account .fg-lk__title {
		text-align: center !important;
	}
	body.account-account .fg-lk__tabs {
		max-width: 900px;
		margin-left: auto;
		margin-right: auto;
	}
	/* «Ваше объявление» — same track width as the tab pill */
	body.account-account .fg-lk__panel[data-panel="offers"] {
		max-width: 900px;
		margin-left: auto;
		margin-right: auto;
	}
	/* photo wrap: absolute CTA only on desktop; mobile uses row layout */
	body.account-account .fg-lk__photo-wrap {
		position: relative;
		display: inline-block;
	}
}

/* Mobile ≤860: keep row photo layout (don't force absolute bottom-right) */
@media (max-width: 860px) {
	body.account-account .fg-lk__photo-wrap.item_drop_wrap,
	body.account-account .fg-lk__photo-wrap {
		position: relative;
		display: flex !important;
		flex-direction: row !important;
		align-items: flex-end !important;
		gap: 12px !important;
		flex-wrap: wrap;
		width: auto;
		min-width: 0;
	}
	body.account-account .item_drop_wrap .fg-lk__photo-circle.list_files,
	body.account-account .fg-lk__photo-circle {
		width: 160px !important;
		height: 160px !important;
	}
	body.account-account .fg-lk__photo-btn.item_drop,
	body.account-account label.fg-lk__photo-btn,
	body.account-account .fg-lk__photo-btn {
		position: static !important;
		left: auto !important;
		right: auto !important;
		bottom: auto !important;
		transform: none !important;
	}
	/* solid tabs on mobile too (readable inactive labels) */
	body.account-account .fg-lk__tabs {
		background: #0B3A7A !important;
		background-image: none !important;
	}
}

/* Телефон: четыре длинные подписи не входят в одну полоску и наезжают,
   а вкладка «Наша рассылка» (38px) закрывает правый край. Сетка 2×2
   с полными словами, дорожка кончается левее вкладки. Десктоп не трогаем. */
@media (max-width: 860px) {
	body.account-account .fg-lk__panel[data-panel="offers"] {
		width: calc(100% - 40px);
		max-width: calc(100% - 40px);
	}
	body.account-account .fg-lk__tabs {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 4px;
		width: calc(100% - 40px) !important;
		max-width: calc(100% - 40px) !important;
		margin-right: 40px !important;
		justify-content: stretch !important;
		overflow: hidden !important;
		border-radius: 18px !important;
		padding: 4px !important;
	}
	body.account-account .fg-lk__tab {
		flex: none !important;
		min-width: 0 !important;
		width: 100% !important;
		height: auto !important;
		min-height: 40px !important;
		padding: 8px 8px !important;
		font-size: 13px !important;
		line-height: 1.25 !important;
		white-space: normal !important;
		overflow: visible !important;
		text-overflow: clip !important;
		display: flex !important;
		align-items: center;
		justify-content: center;
		text-align: center;
	}
	body.account-account .fg-lk__tab:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}
