/*
 * Astro Pro UI v2 — SHELL layer: white header bar, sidebar menu, canvas, Heebo in header/sidebar.
 *
 * Scoped to body.astro-ui-shell (astropro_ui_shell_v2_enabled(), inc/astropro-theme-assets.php):
 * option `astropro_ui_shell_v2` = admin (default) | all | off; ?ui=v2 preview, ?ui=classic off.
 * Old header/sidebar markup is untouched; extra header parts: inc/astropro-header-v2-parts.php.
 * Page-content layer: css/astropro-ui-v2.css (body.astro-ui-v2).
 *
 * Colours: theme tokens (style.css) + #f3f5f9 canvas token.
 */

/* ---------- page canvas ---------- */
/* #f3f5f9 — new canvas token (no existing grey-blue light enough + visible behind white cards) */
body.astro-ui-shell,
body.astro-ui-shell .body1 {
	background-color: #f3f5f9;
}

/* main column: one clean white card instead of the legacy box1 corner images */
body.astro-ui-shell #content .col2 .box1 {
	background: #fff;
	border: 1px solid #dcdce8;
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.05);
}
body.astro-ui-shell #content .col2 .box1_bot,
body.astro-ui-shell #content .col2 .box1_left,
body.astro-ui-shell #content .col2 .box1_right,
body.astro-ui-shell #content .col2 .box1_top,
body.astro-ui-shell #content .col2 .box1_bot_left,
body.astro-ui-shell #content .col2 .box1_bot_right,
body.astro-ui-shell #content .col2 .box1_top_left,
body.astro-ui-shell #content .col2 .box1_top_right {
	background: none;
}

/* ---------- header: white bar ---------- */
body.astro-ui-shell .body1,
body.astro-ui-shell .body2 {
	background-image: none;
}
body.astro-ui-shell #header {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	grid-template-areas: "logo nav sub user" "zodiac zodiac zodiac zodiac";
	align-items: center;
	column-gap: 12px;
	height: auto;
	min-height: 64px;
	padding: 0;
	margin: 0 0 4px;
	background: transparent;
	font-family: "Heebo", Arial, Helvetica, sans-serif;
	overflow: visible; /* style.css clips #header; the user menu drops below it */
	z-index: 50;
}
/* full-width white strip + bottom line behind the centred header
   (spread-shadow trick: no 100vw box, so no horizontal scrollbar) */
body.astro-ui-shell #header::before,
body.astro-ui-shell #header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	clip-path: inset(0 -100vmax);
	pointer-events: none;
	z-index: -1;
}
body.astro-ui-shell #header::before {
	top: 0;
	bottom: 0;
	background: #fff;
	box-shadow: 0 0 0 100vmax #fff;
}
body.astro-ui-shell #header::after {
	bottom: 0;
	height: 1px;
	background: #dcdce8;
	box-shadow: 0 0 0 100vmax #dcdce8;
}
body.astro-ui-shell #header > #top { display: contents; }
body.astro-ui-shell #header > div[style*="clear"],
body.astro-ui-shell #header > #top > div[style*="clear"] { display: none; }

/* old hero logo + top links: replaced by the v2 logo / user menu (markup kept for rollback) */
body.astro-ui-shell #header .header-mobile-hero-slot { display: none; }
body.astro-ui-shell #header #toplinks,
body.astro-ui-shell #header #toplinksleft { display: none; }

/* logo */
body.astro-ui-shell .astro-v2-logo {
	grid-area: logo;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 64px;
	text-decoration: none;
	direction: ltr;
	white-space: nowrap;
}
body.astro-ui-shell .astro-v2-logo__word {
	font-family: "Heebo", Arial, sans-serif;
	font-size: 25px;
	font-weight: 800;
	letter-spacing: -0.5px;
	color: #217eba;
	line-height: 1;
}
body.astro-ui-shell .astro-v2-logo__star { flex: 0 0 auto; width: 28px; height: 28px; }
body.astro-ui-shell .astro-v2-logo:hover .astro-v2-logo__word { color: #359bdc; }

/* main nav: text links, soft pill for the active page */
body.astro-ui-shell #header .astro-mobile-tabs {
	grid-area: nav;
	display: block;
	min-width: 0;
	position: static;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
}
body.astro-ui-shell #header .astro-mobile-tabs::-webkit-scrollbar { display: none; }
body.astro-ui-shell #header ul.list1hor {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	gap: 2px;
	float: none;
	width: max-content;
	min-width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
	position: static;
	box-sizing: border-box;
}
body.astro-ui-shell #header ul.list1hor > li {
	display: block;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	flex: 0 0 auto;
}
/* "new profile" + "about astrology" live in the user menu on v2 (kept in markup) */
body.astro-ui-shell.logged-in #header ul.list1hor > li.astro-nav-hide-narrow { display: none; }
body.astro-ui-shell #header ul.list1hor > li > a {
	display: flex;
	align-items: center;
	gap: 6px;
	width: auto;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 8px 10px;
	background: transparent !important;
	border: 0;
	border-radius: 10px;
	box-shadow: none;
	color: #333 !important;
	font-family: "Heebo", Arial, sans-serif;
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.25;
	text-shadow: none;
	text-decoration: none;
	white-space: nowrap;
	position: relative;
}
body.astro-ui-shell #header ul.list1hor > li > a::before,
body.astro-ui-shell #header ul.list1hor > li > a::after { display: none; }
body.astro-ui-shell #header ul.list1hor > li > a > div { display: none; } /* mobile tab icons */
body.astro-ui-shell #header ul.list1hor > li > a:hover {
	background: #f7fbfe !important;
	color: #217eba !important;
}
/* style.css paints .active with a blue gradient !important */
body.astro-ui-shell #header ul.list1hor > li > a.active {
	background: #f0f7ff !important;
	color: #217eba !important;
	font-weight: 700;
	box-shadow: inset 0 -2px 0 #359bdc;
}
/* guest "free registration" stays a call-to-action */
body.astro-ui-shell #header ul.list1hor > li > a.buy {
	background: #b4437b !important;
	color: #fff !important;
	font-weight: 700;
	border-radius: 999px;
	padding: 8px 16px;
	margin-inline-start: 4px;
}
body.astro-ui-shell #header ul.list1hor > li > a.buy:hover { background: #b74279 !important; color: #fff !important; }

/* free member upgrade pill */
body.astro-ui-shell #header .astro-toplink-subscribe-center {
	grid-area: sub;
	position: static;
	float: none;
	transform: none;
	margin: 0;
	padding: 0;
	width: auto;
	display: flex;
	align-items: center;
}
body.astro-ui-shell #header .astro-toplink-subscribe {
	display: inline-flex;
	align-items: center;
	height: 34px;
	padding: 0 14px;
	border-radius: 999px;
	background: #b4437b;
	border: 0;
	color: #fff;
	font-family: "Heebo", Arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(180, 67, 123, 0.25);
	text-decoration: none;
	white-space: nowrap;
	box-sizing: border-box;
}
body.astro-ui-shell #header .astro-toplink-subscribe:hover { background: #b74279; color: #fff; }
body.astro-ui-shell #header .astro-toplink-subscribe__desk { display: inline; font-size: 14px; color: #fff; line-height: 1; }
body.astro-ui-shell #header .astro-toplink-subscribe__pill { display: none; }

/* user menu */
body.astro-ui-shell .astro-v2-user {
	grid-area: user;
	position: relative;
	font-family: "Heebo", Arial, sans-serif;
}
body.astro-ui-shell .astro-v2-user__btn {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 4px 0 10px;
	border-radius: 999px;
	cursor: pointer;
	list-style: none;
	color: #222;
	user-select: none;
	box-sizing: border-box;
}
body.astro-ui-shell .astro-v2-user__btn::-webkit-details-marker { display: none; }
body.astro-ui-shell .astro-v2-user__btn::marker { content: ""; }
body.astro-ui-shell .astro-v2-user__btn:hover,
body.astro-ui-shell .astro-v2-user[open] .astro-v2-user__btn { background: #f7fbfe; }
body.astro-ui-shell .astro-v2-user__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #f0f7ff;
	color: #217eba;
	font-size: 16px;
	font-weight: 700;
	flex: 0 0 36px;
}
body.astro-ui-shell .astro-v2-user__text { display: flex; flex-direction: column; line-height: 1.2; text-align: right; min-width: 0; }
body.astro-ui-shell .astro-v2-user__name { font-size: 14px; font-weight: 600; color: #222; white-space: nowrap; max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
body.astro-ui-shell .astro-v2-user__plan { font-size: 12px; color: #666; white-space: nowrap; max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
body.astro-ui-shell .astro-v2-user__chev { font-size: 11px; color: #666; transition: transform 0.15s ease; }
body.astro-ui-shell .astro-v2-user[open] .astro-v2-user__chev { transform: rotate(180deg); }
body.astro-ui-shell .astro-v2-user__menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	width: 240px;
	padding: 6px;
	background: #fff;
	border: 1px solid #dcdce8;
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
	z-index: 1000;
	direction: rtl;
	text-align: right;
	box-sizing: border-box;
}
body.astro-ui-shell .astro-v2-user__head {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 8px 10px 10px;
}
body.astro-ui-shell .astro-v2-user__head-name { font-size: 15px; font-weight: 700; color: #222; }
body.astro-ui-shell .astro-v2-user__head-plan { font-size: 12px; color: #666; }
body.astro-ui-shell .astro-v2-user__sep { display: block; height: 1px; margin: 4px 6px; background: #e8e8e8; }
body.astro-ui-shell .astro-v2-user__menu a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 8px;
	color: #333;
	font-size: 14px;
	line-height: 1.3;
	text-decoration: none;
}
body.astro-ui-shell .astro-v2-user__menu a i { width: 16px; text-align: center; color: #888; font-size: 14px; }
body.astro-ui-shell .astro-v2-user__menu a:hover { background: #f7fbfe; color: #217eba; }
body.astro-ui-shell .astro-v2-user__menu a:hover i { color: #359bdc; }
body.astro-ui-shell .astro-v2-user__menu a.astro-v2-user__logout,
body.astro-ui-shell .astro-v2-user__menu a.astro-v2-user__logout i { color: #b4437b; }
body.astro-ui-shell .astro-v2-user__menu a.astro-v2-user__logout:hover { background: #fdf5f9; }

/* guests: login + free registration on the left of the bar (nav copies hidden on desktop) */
body.astro-ui-shell .astro-v2-guest {
	grid-area: user;
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: "Heebo", Arial, sans-serif;
}
body.astro-ui-shell .astro-v2-guest a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 14px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	box-sizing: border-box;
}
body.astro-ui-shell .astro-v2-guest__login { color: #217eba; border: 1px solid #dcdce8; background: #fff; }
body.astro-ui-shell .astro-v2-guest__login:hover { background: #f7fbfe; border-color: #bbdaf7; }
body.astro-ui-shell .astro-v2-guest__reg { color: #fff; background: #b4437b; box-shadow: 0 2px 8px rgba(180, 67, 123, 0.25); }
body.astro-ui-shell .astro-v2-guest__reg:hover { background: #b74279; color: #fff; }
body.astro-ui-shell:not(.logged-in) #header ul.list1hor > li:has(> a.buy),
body.astro-ui-shell:not(.logged-in) #header ul.list1hor > li.last { display: none; }

/* zodiac row (public pages): own row under the bar */
body.astro-ui-shell #header .astro-mobile-zodiac {
	grid-area: zodiac;
	position: static;
	margin: 0;
	padding: 4px 0 8px;
}
/* desktop zodiac strip: light, no grey tiles */
@media (min-width: 701px) {
	body.astro-ui-shell #header ul.signlinks {
		display: flex;
		justify-content: space-between;
		gap: 4px;
		width: 100%;
		height: auto;
		margin: 0;
		padding: 2px 0 6px;
	}
	body.astro-ui-shell #header ul.signlinks > li {
		float: none;
		flex: 1 1 0;
		width: auto;
		height: auto;
		margin: 0;
		background: transparent;
		border-radius: 12px;
	}
	body.astro-ui-shell #header ul.signlinks > li > a {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 2px;
		height: auto;
		padding: 6px 0 7px;
		border-radius: 12px;
		color: #555;
		font-family: "Heebo", Arial, sans-serif;
		font-size: 13px;
		font-weight: 600;
		text-decoration: none;
	}
	body.astro-ui-shell #header ul.signlinks > li > a > span {
		width: auto;
		height: auto;
		margin: 0;
		font-size: 30px;
		line-height: 1.1;
		color: #b4437b;
	}
	body.astro-ui-shell #header ul.signlinks > li > a:hover {
		background: #fdf5f9;
		color: #b4437b;
	}
}
@media (min-width: 701px) and (max-width: 1000px) {
	body.astro-ui-shell #header ul.signlinks { max-width: 100%; box-sizing: border-box; }
	body.astro-ui-shell #header ul.signlinks > li { min-width: 0; }
	body.astro-ui-shell #header ul.signlinks > li > a { font-size: 11px; overflow: hidden; white-space: nowrap; }
	body.astro-ui-shell #header ul.signlinks > li > a > span { font-size: 24px; }
}

/* content starts right under the bar */
body.astro-ui-shell #content { padding-top: 20px; }

/* ---------- narrower screens (≤1000px): fluid layout, nav scrolls, name hidden ---------- */
@media (max-width: 1000px) {
	body.astro-ui-shell #header { column-gap: 10px; padding: 0 12px; box-sizing: border-box; }
	body.astro-ui-shell #header ul.list1hor { justify-content: flex-start; }
	body.astro-ui-shell #header ul.list1hor > li > a { padding: 8px 9px; font-size: 14px; }
	body.astro-ui-shell .astro-v2-user__text { display: none; }
}

/* ---------- phones (≤700px): bar = logo · upgrade · planets · menu; nav chips below ---------- */
@media (max-width: 700px) {
	body.astro-ui-shell #header {
		grid-template-columns: auto minmax(0, 1fr) auto auto auto auto;
		grid-template-areas:
			"logo . sub planets user burger"
			"nav nav nav nav nav nav"
			"zodiac zodiac zodiac zodiac zodiac zodiac";
		column-gap: 6px;
		row-gap: 0;
		padding: 0 12px;
		min-height: 0;
	}
	body.astro-ui-shell .astro-v2-logo { height: 54px; gap: 4px; }
	body.astro-ui-shell .astro-v2-logo__word { font-size: 22px; }
	body.astro-ui-shell .astro-v2-logo__star { width: 24px; height: 24px; }
	/* account menu on phones: avatar only (name/plan are inside the dropdown) */
	body.astro-ui-shell .astro-v2-user { display: block; }
	body.astro-ui-shell .astro-v2-user__btn { height: 40px; padding: 0; gap: 0; }
	body.astro-ui-shell .astro-v2-user__chev { display: none; }
	body.astro-ui-shell .astro-v2-user__avatar { width: 38px; height: 38px; flex-basis: 38px; border: 1px solid #bbdaf7; box-sizing: border-box; }
	body.astro-ui-shell .astro-v2-user__menu { left: -46px; width: min(260px, calc(100vw - 24px)); }
	body.astro-ui-shell .astro-v2-logo__word { font-size: 20px; }
	body.astro-ui-shell .astro-v2-logo__star { width: 22px; height: 22px; }
	body.astro-ui-shell #header #toplinks .astro-toplink-planets { padding: 0 5px !important; }
	body.astro-ui-shell #header #toplinks .astro-toplink-icons { font-size: 9px !important; gap: 0 !important; }
	body.astro-ui-shell #header .astro-toplink-subscribe { padding: 0 10px !important; }
	body.astro-ui-shell #header .astro-toplink-subscribe { height: 30px; padding: 0 11px; font-size: 12px; }
	body.astro-ui-shell #header .astro-toplink-subscribe__desk { font-size: 12px; }
	/* planets quick view (kept from the old mobile bar) */
	body.astro-ui-shell #header #toplinks {
		grid-area: planets;
		display: flex;
		margin: 0;
		padding: 0;
		list-style: none;
		float: none;
		width: auto;
		background: none;
		position: static;
	}
	body.astro-ui-shell #header #toplinks > li { display: none; }
	body.astro-ui-shell #header #toplinks > li.astro-toplinks-planets-li { display: block; float: none; margin: 0; padding: 0; background: none; border: 0; }
	body.astro-ui-shell #header #toplinks {
		align-self: center;
		transform: none !important; /* main-mini-700 nudges the old bar up by 8px */
	}
	body.astro-ui-shell #header #toplinks .astro-toplink-planets {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		height: 40px;
		padding: 0 8px;
		border: 1px solid #dcdce8;
		border-radius: 12px;
		color: #217eba;
		background: #fff;
		box-sizing: border-box;
		line-height: 1;
	}
	body.astro-ui-shell #header #toplinks .astro-toplink-planets .astro-toplink-cap { display: none; }
	body.astro-ui-shell #header #toplinks .astro-toplink-icons { display: inline-flex; align-items: center; gap: 1px; font-size: 11px; color: #217eba; }
	body.astro-ui-shell #header #toplinks .astro-toplink-icons i { color: #217eba; }
	body.astro-ui-shell #header #toplinksleft {
		grid-area: burger;
		align-self: center;
		display: block;
		margin: 0;
		padding: 0;
		list-style: none;
		float: none;
		width: auto;
		background: none;
		position: static;
	}
	body.astro-ui-shell #header #toplinksleft > li { display: block; float: none; margin: 0; padding: 0; background: none; border: 0; }
	body.astro-ui-shell #header .astro-mobile-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 1px solid #dcdce8;
		border-radius: 12px;
		background: #fff;
		color: #217eba;
		font-size: 18px;
		box-shadow: none;
	}
	/* nav on phones: icon tabs with a label (like the old mobile menu) — 6 per row for members
	   (!important + #header.astro-mobile-header: main-mini-700.css styles this list too) */
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs {
		margin: 0 -12px;
		padding: 2px 8px 0; /* tabs sit on the header's bottom line */
		overflow: visible;
	}
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor {
		display: grid !important;
		grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
		gap: 4px;
		width: 100% !important;
		min-width: 0;
		max-width: none !important;
	}
	/* guests: 6 tabs in one row like members — home is the logo, "הרשמה"/"כניסה" are buttons in the bar */
	body.astro-ui-shell:not(.logged-in) #header.astro-mobile-header .astro-mobile-tabs ul.list1hor {
		grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
	}
	body.astro-ui-shell:not(.logged-in) #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li:first-child { display: none !important; }
	body.astro-ui-shell:not(.logged-in) #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="horoscope"],
	body.astro-ui-shell:not(.logged-in) #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="user-reg-free"] { font-size: 0 !important; }
	body.astro-ui-shell:not(.logged-in) #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="horoscope"]::after,
	body.astro-ui-shell:not(.logged-in) #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="user-reg-free"]::after {
		display: block !important;
		position: static;
		font-size: 11.5px;
		line-height: 1.15;
		background: none;
		width: auto;
		height: auto;
		border: 0;
	}
	body.astro-ui-shell:not(.logged-in) #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="horoscope"]::after { content: "הורוסקופ"; }
	body.astro-ui-shell:not(.logged-in) #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="user-reg-free"]::after { content: "מפה חינם"; }
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li {
		width: auto !important;
		min-width: 0;
	}
	body.astro-ui-shell.logged-in #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li.astro-nav-hide-narrow { display: none !important; }
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		gap: 4px;
		width: auto !important;
		height: auto !important;
		min-height: 60px;
		overflow: hidden !important;
		padding: 8px 2px 7px !important;
		border: 0;
		border-radius: 12px 12px 0 0;
		background: transparent !important;
		color: #555 !important;
		font-size: 11.5px;
		font-weight: 600;
		line-height: 1.15 !important;
		text-align: center;
		white-space: normal;
		box-shadow: none;
	}
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a > div {
		display: block !important;
		margin: 0;
		padding: 0;
		background: none;
		line-height: 1;
	}
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a > div i {
		font-size: 19px;
		color: #217eba;
	}
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a.active {
		background: #f0f7ff !important;
		color: #217eba !important;
		box-shadow: inset 0 -2px 0 #359bdc;
	}
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a.buy {
		background: #fdf5f9 !important;
		color: #b4437b !important;
		border-radius: 12px 12px 0 0;
		margin: 0;
	}
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a.buy > div i { color: #b4437b; }
	/* line icons (SVG masks, currentColor) instead of the FontAwesome glyphs */
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a > div { display: none !important; }
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a::before {
		content: "" !important;
		display: block !important;
		width: 26px;
		height: 26px;
		flex: 0 0 26px;
		background-color: #217eba;
		-webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M3 10.5L12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/></svg>") center / contain no-repeat;
		mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M3 10.5L12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/></svg>") center / contain no-repeat;
	}
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a.active::before { background-color: #217eba; }
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a:not(.active)::before { background-color: #393857; }
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a.buy::before { background-color: #b4437b; }
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="show-birthdays"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2' /> <circle cx='9' cy='7' r='4' /> <path d='M22 21v-2a4 4 0 0 0-3-3.87' /> <path d='M16 3.13a4 4 0 0 1 0 7.75' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2' /> <circle cx='9' cy='7' r='4' /> <path d='M22 21v-2a4 4 0 0 0-3-3.87' /> <path d='M16 3.13a4 4 0 0 1 0 7.75' /></svg>"); }
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="/main"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2' /> <circle cx='9' cy='7' r='4' /> <path d='M22 21v-2a4 4 0 0 0-3-3.87' /> <path d='M16 3.13a4 4 0 0 1 0 7.75' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2' /> <circle cx='9' cy='7' r='4' /> <path d='M22 21v-2a4 4 0 0 0-3-3.87' /> <path d='M16 3.13a4 4 0 0 1 0 7.75' /></svg>"); }
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="birth-chart"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='3' /> <circle cx='19' cy='5' r='2' /> <circle cx='5' cy='19' r='2' /> <path d='M10.4 21.9a10 10 0 0 0 9.941-15.416' /> <path d='M13.5 2.1a10 10 0 0 0-9.841 15.416' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='3' /> <circle cx='19' cy='5' r='2' /> <circle cx='5' cy='19' r='2' /> <path d='M10.4 21.9a10 10 0 0 0 9.941-15.416' /> <path d='M13.5 2.1a10 10 0 0 0-9.841 15.416' /></svg>"); }
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="transits-chart"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M8 2v4' /> <path d='M16 2v4' /> <rect width='18' height='18' x='3' y='4' rx='2' /> <path d='M3 10h18' /> <path d='M8 14h.01' /> <path d='M12 14h.01' /> <path d='M16 14h.01' /> <path d='M8 18h.01' /> <path d='M12 18h.01' /> <path d='M16 18h.01' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M8 2v4' /> <path d='M16 2v4' /> <rect width='18' height='18' x='3' y='4' rx='2' /> <path d='M3 10h18' /> <path d='M8 14h.01' /> <path d='M12 14h.01' /> <path d='M16 14h.01' /> <path d='M8 18h.01' /> <path d='M12 18h.01' /> <path d='M16 18h.01' /></svg>"); }
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="synastry-chart"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z' /> <path d='M12 5 9.04 7.960a2.17 2.17 0 0 0 0 3.08c.82.82 2.13.85 3 .07l2.07-1.9a2.82 2.82 0 0 1 3.79 0l2.96 2.66' /> <path d='m18 15-2-2' /> <path d='m15 18-2-2' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z' /> <path d='M12 5 9.04 7.960a2.17 2.17 0 0 0 0 3.08c.82.82 2.13.85 3 .07l2.07-1.9a2.82 2.82 0 0 1 3.79 0l2.96 2.66' /> <path d='m18 15-2-2' /> <path d='m15 18-2-2' /></svg>"); }
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="report"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z' /> <path d='M14 2v4a2 2 0 0 0 2 2h4' /> <path d='M10 9H8' /> <path d='M16 13H8' /> <path d='M16 17H8' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z' /> <path d='M14 2v4a2 2 0 0 0 2 2h4' /> <path d='M10 9H8' /> <path d='M16 13H8' /> <path d='M16 17H8' /></svg>"); }
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="ai-chat"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M14 9a2 2 0 0 1-2 2H6l-4 4V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2z' /> <path d='M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M14 9a2 2 0 0 1-2 2H6l-4 4V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2z' /> <path d='M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1' /></svg>"); }
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="horoscope"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='4' /> <path d='M12 2v2' /> <path d='M12 20v2' /> <path d='m4.93 4.93 1.41 1.41' /> <path d='m17.66 17.66 1.41 1.41' /> <path d='M2 12h2' /> <path d='M20 12h2' /> <path d='m6.34 17.66-1.41 1.41' /> <path d='m19.07 4.93-1.41 1.41' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='4' /> <path d='M12 2v2' /> <path d='M12 20v2' /> <path d='m4.93 4.93 1.41 1.41' /> <path d='m17.66 17.66 1.41 1.41' /> <path d='M2 12h2' /> <path d='M20 12h2' /> <path d='m6.34 17.66-1.41 1.41' /> <path d='m19.07 4.93-1.41 1.41' /></svg>"); }
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="user-reg-free"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10' /> <path d='M8 12h8' /> <path d='M12 8v8' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10' /> <path d='M8 12h8' /> <path d='M12 8v8' /></svg>"); }
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="/login"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M18 20a6 6 0 0 0-12 0' /> <circle cx='12' cy='10' r='4' /> <circle cx='12' cy='12' r='10' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M18 20a6 6 0 0 0-12 0' /> <circle cx='12' cy='10' r='4' /> <circle cx='12' cy='12' r='10' /></svg>"); }
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href$="/user-reg"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2' /> <circle cx='9' cy='7' r='4' /> <line x1='19' x2='19' y1='8' y2='14' /> <line x1='22' x2='16' y1='11' y2='11' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2' /> <circle cx='9' cy='7' r='4' /> <line x1='19' x2='19' y1='8' y2='14' /> <line x1='22' x2='16' y1='11' y2='11' /></svg>"); }
	/* short labels on phones for the two long items (full text stays in the DOM for screen readers) */
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="transits-chart"],
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="synastry-chart"],
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="report"] { font-size: 0 !important; }
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="transits-chart"]::after,
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="synastry-chart"]::after,
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="report"]::after {
		display: block !important;
		position: static;
		font-size: 11.5px;
		line-height: 1.15;
		background: none;
		width: auto;
		height: auto;
		border: 0;
	}
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="transits-chart"]::after { content: "תחזית"; }
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="report"]::after { content: "דוחות"; }
	body.astro-ui-shell #header.astro-mobile-header .astro-mobile-tabs ul.list1hor > li > a[href*="synastry-chart"]::after { content: "זוגיות"; }
	/* guests on phones: "הרשמה" + "כניסה" next to the burger (the planets quick view stays for members) */
	body.astro-ui-shell .astro-v2-guest { display: flex; grid-area: user; gap: 6px; }
	body.astro-ui-shell .astro-v2-guest a { height: 38px; padding: 0 12px; font-size: 13px; }
	body.astro-ui-shell .astro-v2-guest__reg { font-size: 0 !important; }
	body.astro-ui-shell .astro-v2-guest__reg::after { content: "הרשמה"; font-size: 13px; }
	body.astro-ui-shell:not(.logged-in) #header #toplinks { display: none !important; }
	body.astro-ui-shell:not(.logged-in) #header ul.list1hor > li:has(> a.buy) { display: none !important; }
	/* zodiac strip on phones: all 12 signs in one even row, glyphs only (names stay in the DOM for screen readers) */
	body.astro-ui-shell #header .astro-mobile-zodiac { overflow: visible; margin: 0 -12px; padding: 2px 8px 8px; }
	body.astro-ui-shell #header .astro-mobile-zodiac ul.signlinks:not(#mobile_menu3 ul) {
		display: grid !important;
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 2px;
		width: 100% !important;
		height: auto;
		margin: 0;
		padding: 0;
	}
	body.astro-ui-shell #header .astro-mobile-zodiac ul.signlinks:not(#mobile_menu3 ul) > li {
		float: none !important;
		width: auto !important;
		height: auto !important;
		margin: 0 !important;
		background: transparent !important;
		border-radius: 8px;
	}
	body.astro-ui-shell #header .astro-mobile-zodiac ul.signlinks:not(#mobile_menu3 ul) > li > a {
		display: flex !important;
		align-items: center;
		justify-content: center;
		height: 34px !important;
		padding: 0 !important;
		border-radius: 8px;
		font-size: 0 !important;
		text-decoration: none;
	}
	body.astro-ui-shell #header .astro-mobile-zodiac ul.signlinks:not(#mobile_menu3 ul) > li > a:active { background: #fdf5f9; }
	body.astro-ui-shell #header .astro-mobile-zodiac ul.signlinks:not(#mobile_menu3 ul) > li > a > span {
		width: auto !important;
		height: auto !important;
		margin: 0 !important;
		font-size: 21px !important;
		line-height: 1 !important;
		color: #b4437b !important;
	}
	body.astro-ui-shell:not(.logged-in) #header ul.list1hor > li.last { display: none !important; }
	body.astro-ui-shell #content { padding-top: 12px; }
}

/* ---------- right sidebar ---------- */
body.astro-ui-shell .astro-sidebar-glass-shell {
	background: transparent;
	box-shadow: none;
	padding: 0;
}
body.astro-ui-shell .astro-sidebar-nav-test {
	background: #fff;
	border: 1px solid #dcdce8;
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.05);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	margin-top: 0; /* top aligned with the main card when there is no upgrade banner (paid users) */
}
/* gap below the upgrade banner lives on the banner, so a hidden/absent banner leaves no gap */
body.astro-ui-shell .astro-sidebar-free-member-banner {
	margin-bottom: 12px;
}
body.astro-ui-shell .astro-sidebar-member-status {
	background: #f7fbfe;
	box-shadow: none;
	border-radius: 10px;
}
body.astro-ui-shell .astro-member-report-cta--sidebar {
	background: #fdf5f9;
	border: 1px solid rgba(180, 67, 123, 0.15);
	box-shadow: none;
	border-radius: 14px;
}
body.astro-ui-shell .astro-sidebar-nav-test h2,
body.astro-ui-shell .astro-sidebar-nav-test .list1n h5 {
	color: #222;
	font-weight: 700;
}

/* menu: text on the right, line icon at the far left, soft active row with a blue bar
   (icons: inline SVG masks in the Lucide style, coloured with currentColor) */
body.astro-ui-shell .astro-sidebar-nav-test .list1n li {
	margin-bottom: 2px;
}
body.astro-ui-shell .astro-sidebar-nav-test .list1n a,
body.astro-ui-shell .astro-sidebar-nav-test .list1n a.buy {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 40px;
	background: transparent;
	border: 0;
	box-shadow: none;
	color: #222;
	font-size: 14.5px;
	font-weight: 500;
	padding: 8px 12px;
	border-radius: 10px;
	text-decoration: none;
	box-sizing: border-box;
	position: relative;
}
body.astro-ui-shell .astro-sidebar-nav-test .list1n a:hover {
	background: #f7fbfe;
	color: #217eba;
}
body.astro-ui-shell .astro-sidebar-nav-test .list1n a.active {
	background: #f0f7ff;
	color: #217eba;
	font-weight: 700;
	border: 0 !important; /* style.css draws a 2px side bar on .active */
	box-shadow: inset -3px 0 0 #217eba; /* blue bar on the right (RTL start) */
	border-radius: 10px 0 0 10px;
}
body.astro-ui-shell .astro-sidebar-nav-test .list1n a::before {
	content: "";
	order: 2; /* icon at the far left in RTL */
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	background-color: currentColor;
	color: #333;
	-webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='2.5'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='2.5'/></svg>") center / contain no-repeat;
	font-size: 0;
}
body.astro-ui-shell .astro-sidebar-nav-test .list1n a.active::before { background-color: #217eba; }
body.astro-ui-shell .astro-sidebar-nav-test .list1n a[href*="show-birthdays"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2' /> <circle cx='9' cy='7' r='4' /> <path d='M22 21v-2a4 4 0 0 0-3-3.87' /> <path d='M16 3.13a4 4 0 0 1 0 7.75' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2' /> <circle cx='9' cy='7' r='4' /> <path d='M22 21v-2a4 4 0 0 0-3-3.87' /> <path d='M16 3.13a4 4 0 0 1 0 7.75' /></svg>"); }
body.astro-ui-shell .astro-sidebar-nav-test .list1n a[href*="horoscope"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='4' /> <path d='M12 2v2' /> <path d='M12 20v2' /> <path d='m4.93 4.93 1.41 1.41' /> <path d='m17.66 17.66 1.41 1.41' /> <path d='M2 12h2' /> <path d='M20 12h2' /> <path d='m6.34 17.66-1.41 1.41' /> <path d='m19.07 4.93-1.41 1.41' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='4' /> <path d='M12 2v2' /> <path d='M12 20v2' /> <path d='m4.93 4.93 1.41 1.41' /> <path d='m17.66 17.66 1.41 1.41' /> <path d='M2 12h2' /> <path d='M20 12h2' /> <path d='m6.34 17.66-1.41 1.41' /> <path d='m19.07 4.93-1.41 1.41' /></svg>"); }
body.astro-ui-shell .astro-sidebar-nav-test .list1n a[href*="ai-chat"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z' /></svg>"); }
body.astro-ui-shell .astro-sidebar-nav-test .list1n a[href*="report"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z' /> <path d='M14 2v4a2 2 0 0 0 2 2h4' /> <path d='M10 9H8' /> <path d='M16 13H8' /> <path d='M16 17H8' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z' /> <path d='M14 2v4a2 2 0 0 0 2 2h4' /> <path d='M10 9H8' /> <path d='M16 13H8' /> <path d='M16 17H8' /></svg>"); }
body.astro-ui-shell .astro-sidebar-nav-test .list1n a[href*="birth-chart"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='3' /> <circle cx='19' cy='5' r='2' /> <circle cx='5' cy='19' r='2' /> <path d='M10.4 21.9a10 10 0 0 0 9.941-15.416' /> <path d='M13.5 2.1a10 10 0 0 0-9.841 15.416' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='3' /> <circle cx='19' cy='5' r='2' /> <circle cx='5' cy='19' r='2' /> <path d='M10.4 21.9a10 10 0 0 0 9.941-15.416' /> <path d='M13.5 2.1a10 10 0 0 0-9.841 15.416' /></svg>"); }
body.astro-ui-shell .astro-sidebar-nav-test .list1n a[href*="transits-chart"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M8 2v4' /> <path d='M16 2v4' /> <rect width='18' height='18' x='3' y='4' rx='2' /> <path d='M3 10h18' /> <path d='M8 14h.01' /> <path d='M12 14h.01' /> <path d='M16 14h.01' /> <path d='M8 18h.01' /> <path d='M12 18h.01' /> <path d='M16 18h.01' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M8 2v4' /> <path d='M16 2v4' /> <rect width='18' height='18' x='3' y='4' rx='2' /> <path d='M3 10h18' /> <path d='M8 14h.01' /> <path d='M12 14h.01' /> <path d='M16 14h.01' /> <path d='M8 18h.01' /> <path d='M12 18h.01' /> <path d='M16 18h.01' /></svg>"); }
body.astro-ui-shell .astro-sidebar-nav-test .list1n a[href*="progressions-chart"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><polyline points='22 7 13.5 15.5 8.5 10.5 2 17' /> <polyline points='16 7 22 7 22 13' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><polyline points='22 7 13.5 15.5 8.5 10.5 2 17' /> <polyline points='16 7 22 7 22 13' /></svg>"); }
body.astro-ui-shell .astro-sidebar-nav-test .list1n a[href*="synastry-chart"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z' /></svg>"); }
body.astro-ui-shell .astro-sidebar-nav-test .list1n a[href*="ephemeris"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18' /></svg>"); }
body.astro-ui-shell .astro-sidebar-nav-test .list1n a[href*="now-chart"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M21.54 15H17a2 2 0 0 0-2 2v4.54' /> <path d='M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17' /> <path d='M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05' /> <circle cx='12' cy='12' r='10' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M21.54 15H17a2 2 0 0 0-2 2v4.54' /> <path d='M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17' /> <path d='M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05' /> <circle cx='12' cy='12' r='10' /></svg>"); }
body.astro-ui-shell .astro-sidebar-nav-test .list1n a[href*="moon-month"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9' /> <path d='M20 3v4' /> <path d='M22 5h-4' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9' /> <path d='M20 3v4' /> <path d='M22 5h-4' /></svg>"); }
body.astro-ui-shell .astro-sidebar-nav-test .list1n a[href*="edit-user"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2' /> <circle cx='12' cy='7' r='4' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2' /> <circle cx='12' cy='7' r='4' /></svg>"); }
body.astro-ui-shell .astro-sidebar-nav-test .list1n a[href*="edit-subscription"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><rect width='20' height='14' x='2' y='5' rx='2' /> <line x1='2' x2='22' y1='10' y2='10' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><rect width='20' height='14' x='2' y='5' rx='2' /> <line x1='2' x2='22' y1='10' y2='10' /></svg>"); }
body.astro-ui-shell .astro-sidebar-nav-test .list1n a[href*="paypal"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><rect width='20' height='14' x='2' y='5' rx='2' /> <line x1='2' x2='22' y1='10' y2='10' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><rect width='20' height='14' x='2' y='5' rx='2' /> <line x1='2' x2='22' y1='10' y2='10' /></svg>"); }
body.astro-ui-shell .astro-sidebar-nav-test .list1n a[href*="contact"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10' /> <path d='m4.93 4.93 4.24 4.24' /> <path d='m14.83 9.17 4.24-4.24' /> <path d='m14.83 14.83 4.24 4.24' /> <path d='m9.17 14.83-4.24 4.24' /> <circle cx='12' cy='12' r='4' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10' /> <path d='m4.93 4.93 4.24 4.24' /> <path d='m14.83 9.17 4.24-4.24' /> <path d='m14.83 14.83 4.24 4.24' /> <path d='m9.17 14.83-4.24 4.24' /> <circle cx='12' cy='12' r='4' /></svg>"); }
body.astro-ui-shell .astro-sidebar-nav-test .list1n a[href*="logout"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4' /> <polyline points='16 17 21 12 16 7' /> <line x1='21' x2='9' y1='12' y2='12' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4' /> <polyline points='16 17 21 12 16 7' /> <line x1='21' x2='9' y1='12' y2='12' /></svg>"); }
body.astro-ui-shell .astro-sidebar-nav-test .list1n a[href*="astro-editor"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z' /> <path d='m15 5 4 4' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z' /> <path d='m15 5 4 4' /></svg>"); }
body.astro-ui-shell .astro-sidebar-nav-test .list1n a[href*="action=edit"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7' /> <path d='M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7' /> <path d='M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z' /></svg>"); }
body.astro-ui-shell .astro-sidebar-nav-test .list1n a[href*="al-astrologia"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M12 7v14' /> <path d='M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M12 7v14' /> <path d='M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z' /></svg>"); }
body.astro-ui-shell .astro-sidebar-nav-test .list1n a[href$="/admin"]::before { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><line x1='12' x2='12' y1='20' y2='10' /> <line x1='18' x2='18' y1='20' y2='4' /> <line x1='6' x2='6' y1='20' y2='16' /></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><line x1='12' x2='12' y1='20' y2='10' /> <line x1='18' x2='18' y1='20' y2='4' /> <line x1='6' x2='6' y1='20' y2='16' /></svg>"); }
/* section titles ("ניהול מנוי") + divider above them */
body.astro-ui-shell .astro-sidebar-nav-test .list1n h5 {
	margin: 12px 4px 6px;
	padding: 14px 8px 0;
	border-top: 1px solid #e8e8e8;
	color: #666;
	font-size: 12.5px;
	font-weight: 600;
	border-bottom: 0;
	background: none;
}

/* admin-only rows (li.adm): flat like the rest, accent text keeps them recognisable */
body.astro-ui-shell .astro-sidebar-nav-test ul.list1n li.adm a {
	background: transparent !important;
	color: #b4437b !important;
	font-weight: 600;
}
body.astro-ui-shell .astro-sidebar-nav-test ul.list1n li.adm a:hover {
	background: #fdf5f9 !important;
}
body.astro-ui-shell .astro-sidebar-nav-test ul.list1n li.adm a.active {
	background: #f0f7ff !important;
	color: #217eba !important;
	border: 0 !important;
	box-shadow: none;
	-webkit-box-shadow: none;
}
body.astro-ui-shell .astro-sidebar-nav-test ul.list1n li.adm a::before {
	background-color: #b4437b;
}
/* PayPal purchase row keeps a hint of the accent so it stays noticeable */
body.astro-ui-shell .astro-sidebar-nav-test .list1n a.buy {
	color: #b4437b;
	font-weight: 700;
}
body.astro-ui-shell .astro-sidebar-nav-test .list1n a.buy::before {
	background-color: #b4437b;
}

body.astro-ui-shell .astro-sidebar-nav-test,
body.astro-ui-shell .astro-member-report-cta--sidebar,
body.astro-ui-shell .astropro-subscription-card--sidebar {
	font-family: "Heebo", Arial, Helvetica, sans-serif;
}

/* ---------- site width: 983px → up to 1200px (desktop only; ≤1000px keeps the fluid theme layout) ---------- */
@media (min-width: 1001px) {
	body.astro-ui-shell .main,
	body.astro-ui-shell #footer {
		width: clamp(983px, calc(100vw - 48px), 1200px);
	}
	/* sidebar keeps 233px; the content column takes the rest (theme: 74.87% of 983 = 736) */
	body.astro-ui-shell #content > .col1 ~ .col2 {
		width: calc(100% - 247px);
	}
}

/* ---------- mobile drawer (#mobile_menu2, rebuilt by js/mobile.js on every open) ---------- */
body.astro-ui-shell #mobile_menu2 {
	width: min(320px, 86vw);
	background: #fff;
	box-shadow: -12px 0 40px rgba(15, 23, 42, 0.18);
	border-radius: 20px 0 0 20px;
	font-family: "Heebo", Arial, Helvetica, sans-serif;
}
body.astro-ui-shell #mobile_menu2 .astro-sidebar-glass-shell {
	background: transparent;
	box-shadow: none;
	padding: 0;
	border-radius: 0;
	min-height: 100%;
}
body.astro-ui-shell #mobile_menu2 .astro-sidebar-free-member-banner { display: none; } /* upgrade lives in the list ("רכישת מנוי") */
body.astro-ui-shell #mobile_menu2 .astro-sidebar-nav-test {
	background: #fff;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
	padding: 0 12px 24px;
	min-height: 100%;
	box-sizing: border-box;
}
body.astro-ui-shell #mobile_menu2 ul.list1n { padding-top: 6px !important; margin-top: 0 !important; }
/* main-mini-700 hides extra blocks in the cloned sidebar — the v2 head/user must show */
body.astro-ui-shell #mobile_menu2 .astro-sidebar-nav-test > .astro-v2-drawer-head { display: flex !important; }
body.astro-ui-shell #mobile_menu2 .astro-sidebar-nav-test > .astro-v2-drawer-user { display: flex !important; }
body.astro-ui-shell #mobile_menu2 ul.list1n li a { padding: 9px 12px; }
body.astro-ui-shell #mobile_menu2 .astro-sidebar-nav-test > h2 { display: none; }
/* head: logo + close */
body.astro-ui-shell #mobile_menu2 .astro-v2-drawer-head {
	align-items: center;
	height: 60px;
	padding: 0 4px;
	border-bottom: 1px solid #e8e8e8;
	margin: 0 -12px 0;
	padding-inline: 16px;
}
body.astro-ui-shell #mobile_menu2 .astro-v2-drawer-logo {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	direction: ltr;
	text-decoration: none;
}
body.astro-ui-shell #mobile_menu2 .astro-v2-drawer-logo .astro-v2-logo__word {
	font-size: 22px;
	font-weight: 800;
	color: #217eba;
	letter-spacing: -0.4px;
}
body.astro-ui-shell #mobile_menu2 .astro-mobile-drawer__close {
	top: 10px;
	left: 12px;
	width: 40px;
	height: 40px;
	border: 1px solid #dcdce8;
	border-radius: 12px;
	background: #fff;
	color: #555;
	box-shadow: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	z-index: 2;
}
/* user card */
body.astro-ui-shell #mobile_menu2 .astro-v2-drawer-user {
	align-items: center;
	gap: 10px;
	margin: 12px 0 6px;
	padding: 10px 12px;
	border-radius: 14px;
	background: #f7fbfe;
	border: 1px solid #e8e8e8;
	text-decoration: none;
	color: #222;
}
body.astro-ui-shell #mobile_menu2 .astro-v2-drawer-user .astro-v2-user__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	border-radius: 50%;
	background: #f0f7ff;
	color: #217eba;
	font-size: 17px;
	font-weight: 700;
}
body.astro-ui-shell #mobile_menu2 .astro-v2-drawer-user__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
body.astro-ui-shell #mobile_menu2 .astro-v2-drawer-user__name { font-size: 15px; font-weight: 700; color: #222; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.astro-ui-shell #mobile_menu2 .astro-v2-drawer-user__plan { font-size: 12px; color: #666; }
/* upgrade row → soft pink card */
body.astro-ui-shell #mobile_menu2 li.astro-nav-sub-mini { margin: 4px 0 8px; }
body.astro-ui-shell #mobile_menu2 li.astro-nav-sub-mini a.astro-nav-sub-mini__link {
	background: #b4437b;
	color: #fff;
	border-radius: 12px;
	padding: 11px 14px;
	box-shadow: 0 4px 14px rgba(180, 67, 123, 0.25);
	justify-content: flex-start;
}
body.astro-ui-shell #mobile_menu2 li.astro-nav-sub-mini a.astro-nav-sub-mini__link::before { display: none; }
body.astro-ui-shell #mobile_menu2 .astro-nav-sub-mini__row { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 8px; }
body.astro-ui-shell #mobile_menu2 .astro-nav-sub-mini__title { color: #fff; font-size: 15px; }
body.astro-ui-shell #mobile_menu2 .astro-nav-sub-mini__badge { background: rgba(255, 255, 255, 0.22); color: #fff; border: 0; border-radius: 999px; padding: 2px 8px; font-size: 11px; }
/* the floating chat bubble would cover the bottom of the menu */
body.astro-ui-shell:has(#mobile_menu2.astro-mobile-drawer--open) .astro-ai-chat--site-wide { display: none; }

/* ---------- blocks that were hard-sized for the old 736px content column: stretch them (desktop) ---------- */
@media (min-width: 1001px) {
	body.astro-ui-shell #content .col2 .birthdays-list-profiles--table.birthdays,
	body.astro-ui-shell #content .col2 .astro-moon-month,
	body.astro-ui-shell #content .col2 .astro-daily-horoscope {
		max-width: none;
		width: 100%;
	}
	/* charts: "טבלת מיקומי כוכבים…" accordion (style.css: width 720px) */
	body.astro-ui-shell #content .col2 #accordion {
		width: 90%;
		max-width: none;
		margin: 8px auto 0;
	}
	/* ephemeris titles (style.css: width 690px) */
	body.astro-ui-shell #content .col2 .ephli_title {
		width: auto;
		float: none;
	}
}

/* ---------- chart toolbar card (/birth-chart): actions live inside the card ---------- */
/* birth_chart.php prints PDF into the name/houses row and quicklinks into the meta row when the shell is on,
   so the card has no empty left half and there is no separate chips row under it.
   Desktop grid comes from charts.css / chart-toolbar-compact.css (20rem name | houses); we add a 3rd column. */
body.astro-ui-shell #birth-chart-toolbar-form .birth-chart-meta-actions.birth-chart-toolbar-pdf-col,
body.astro-ui-shell #birth-chart-toolbar-form .birth-chart-meta-actions.birth-chart-toolbar-links-col {
	width: auto;
	margin: 0;
	overflow: visible;
}
body.astro-ui-shell #birth-chart-toolbar-form .birth-chart-toolbar-row--meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.4rem 0.75rem;
}
body.astro-ui-shell #birth-chart-toolbar-form .birth-chart-toolbar-row--meta .transits-chart-meta-birth {
	flex: 0 1 auto;
	width: auto;
	min-width: 0;
}
body.astro-ui-shell #birth-chart-toolbar-form .birth-chart-toolbar-links-col {
	flex: 0 1 auto;
	margin-inline-start: auto;
}
body.astro-ui-shell #birth-chart-toolbar-form .birth-chart-toolbar-links-col .birth-chart-quicklinks {
	flex-wrap: wrap;
}
body.astro-ui-shell #birth-chart-toolbar-form + .topdate {
	margin: 0;
}
@media (min-width: 640px) {
	body.astro-ui-shell #birth-chart-toolbar-form .transits-chart-toolbar-row--name-houses {
		grid-template-columns: minmax(0, 20rem) auto minmax(0, 1fr);
	}
	body.astro-ui-shell #birth-chart-toolbar-form .transits-chart-toolbar-row--name-houses .housesys.birth-chart-housesys {
		align-self: center;
		margin-top: 0;
	}
	body.astro-ui-shell #birth-chart-toolbar-form .birth-chart-toolbar-pdf-col {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
	}
}
@media (max-width: 639px) {
	body.astro-ui-shell #birth-chart-toolbar-form .birth-chart-toolbar-pdf-col {
		flex: 0 0 auto;
		order: 3;
	}
	body.astro-ui-shell #birth-chart-toolbar-form .birth-chart-toolbar-links-col {
		margin-inline-start: 0;
	}
}

/* ---------- chart accordions ("טבלת מיקומי כוכבים…"): modern card look, colors from style.css ---------- */
body.astro-ui-shell #accordion .ui-accordion-header {
	position: relative;
	margin: 10px 0 0;
	padding: 14px 20px 14px 48px;
	border: 1px solid #dcdce8;
	border-radius: 12px;
	background: #f8fafc;
	color: #393857;
	font-family: "Heebo", Arial, sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	text-align: right;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}
body.astro-ui-shell #accordion .ui-accordion-header:hover {
	background: #fff;
	color: #b4437b;
}
body.astro-ui-shell #accordion .ui-accordion-header .ui-accordion-header-icon {
	display: none; /* old jQuery UI triangle; chevron below instead */
}
body.astro-ui-shell #accordion .ui-accordion-header::after {
	content: "";
	position: absolute;
	left: 20px;
	top: 50%;
	width: 8px;
	height: 8px;
	margin-top: -6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s ease;
}
body.astro-ui-shell #accordion .ui-accordion-header-active {
	border-radius: 12px 12px 0 0;
	background: #fff;
	color: #b4437b;
}
body.astro-ui-shell #accordion .ui-accordion-header-active::after {
	margin-top: -2px;
	transform: rotate(-135deg);
}
body.astro-ui-shell #accordion .ui-accordion-content {
	padding: 16px 20px 20px;
	border: 1px solid #dcdce8;
	border-top: 0;
	border-radius: 0 0 12px 12px;
	background: #fff;
	color: #393857;
	font-family: "Heebo", Arial, sans-serif;
}
/* tables inside (transit, natal, synastry charts): floated fixed-width <ul> columns -> aligned flex columns */
body.astro-ui-shell #accordion .nowplanets1,
body.astro-ui-shell #accordion .nowplanets1ubt,
body.astro-ui-shell #accordion .nowplanets2,
body.astro-ui-shell #accordion .planets1,
body.astro-ui-shell #accordion .planets1ubt,
body.astro-ui-shell #accordion .planets2,
body.astro-ui-shell #accordion .synplanets1,
body.astro-ui-shell #accordion .synplanets2 {
	display: flex;
	justify-content: center;
	gap: 0 28px;
	float: none;
	width: auto;
	padding: 0;
	overflow-x: auto;
}
body.astro-ui-shell #accordion .nowplanets1 ul,
body.astro-ui-shell #accordion .nowplanets1ubt ul,
body.astro-ui-shell #accordion .nowplanets2 ul,
body.astro-ui-shell #accordion .planets1 ul,
body.astro-ui-shell #accordion .planets1ubt ul,
body.astro-ui-shell #accordion .planets2 ul,
body.astro-ui-shell #accordion .synplanets1 ul,
body.astro-ui-shell #accordion .synplanets2 ul {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.astro-ui-shell #accordion .nowplanets1 li,
body.astro-ui-shell #accordion .nowplanets1ubt li,
body.astro-ui-shell #accordion .nowplanets2 li,
body.astro-ui-shell #accordion .planets1 li,
body.astro-ui-shell #accordion .planets1ubt li,
body.astro-ui-shell #accordion .planets2 li,
body.astro-ui-shell #accordion .synplanets1 li,
body.astro-ui-shell #accordion .synplanets2 li {
	height: 34px;
	line-height: 34px;
	padding: 0 4px;
	border-bottom: 1px solid #ececf4;
	font-size: 15px;
	white-space: nowrap;
	text-align: right;
}
body.astro-ui-shell #accordion .nowplanets1 li.top,
body.astro-ui-shell #accordion .nowplanets1ubt li.top,
body.astro-ui-shell #accordion .nowplanets2 li.top,
body.astro-ui-shell #accordion .planets1 li.top,
body.astro-ui-shell #accordion .planets1ubt li.top,
body.astro-ui-shell #accordion .planets2 li.top,
body.astro-ui-shell #accordion .synplanets1 li.top,
body.astro-ui-shell #accordion .synplanets2 li.top {
	border-bottom: 2px solid #dcdce8;
	color: #217eba;
	font-size: 14px;
	font-weight: 700;
}
body.astro-ui-shell #accordion .nowplanets1 li:last-child,
body.astro-ui-shell #accordion .nowplanets1ubt li:last-child,
body.astro-ui-shell #accordion .nowplanets2 li:last-child,
body.astro-ui-shell #accordion .planets1 li:last-child,
body.astro-ui-shell #accordion .planets1ubt li:last-child,
body.astro-ui-shell #accordion .planets2 li:last-child,
body.astro-ui-shell #accordion .synplanets1 li:last-child,
body.astro-ui-shell #accordion .synplanets2 li:last-child {
	border-bottom: 0;
}

/* ---------- chart toolbar card (/transits-chart, /progressions-chart): same idea ---------- */
/* PDF (transits only) goes into the name/houses row, quicklinks wrap into the birth meta + date row. */
body.astro-ui-shell #transits-chart-toolbar-form .birth-chart-meta-actions.birth-chart-toolbar-pdf-col,
body.astro-ui-shell #transits-chart-toolbar-form .birth-chart-meta-actions.birth-chart-toolbar-links-col,
body.astro-ui-shell #progressions-chart-toolbar-form .birth-chart-meta-actions.birth-chart-toolbar-links-col {
	width: auto;
	margin: 0;
	overflow: visible;
}
body.astro-ui-shell #transits-chart-toolbar-form .transits-chart-toolbar-row--meta-date,
body.astro-ui-shell #progressions-chart-toolbar-form .transits-chart-toolbar-row--meta-date {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem 0.55rem;
}
body.astro-ui-shell #transits-chart-toolbar-form .transits-chart-toolbar-links-col,
body.astro-ui-shell #transits-chart-toolbar-form .birth-chart-toolbar-links-col,
body.astro-ui-shell #progressions-chart-toolbar-form .birth-chart-toolbar-links-col {
	flex: 0 1 auto;
	margin-inline-start: auto;
}
body.astro-ui-shell #transits-chart-toolbar-form .birth-chart-toolbar-links-col .birth-chart-quicklinks,
body.astro-ui-shell #progressions-chart-toolbar-form .birth-chart-toolbar-links-col .birth-chart-quicklinks {
	flex-wrap: wrap;
}
body.astro-ui-shell #transits-chart-toolbar-form + .topdate,
body.astro-ui-shell #progressions-chart-toolbar-form + .topdate {
	margin: 0;
}
@media (min-width: 640px) {
	body.astro-ui-shell #transits-chart-toolbar-form .transits-chart-toolbar-row--name-houses {
		grid-template-columns: minmax(0, 20rem) auto minmax(0, 1fr);
	}
	body.astro-ui-shell #transits-chart-toolbar-form .transits-chart-toolbar-row--name-houses .housesys.birth-chart-housesys {
		align-self: center;
		margin-top: 0;
	}
	body.astro-ui-shell #transits-chart-toolbar-form .birth-chart-toolbar-pdf-col {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
	}
	/* meta | date | quicklinks in one line when they fit (wraps quicklinks to the next line otherwise) */
	body.astro-ui-shell #transits-chart-toolbar-form .transits-chart-toolbar-row--meta-date,
	body.astro-ui-shell #progressions-chart-toolbar-form .transits-chart-toolbar-row--meta-date {
		justify-content: flex-start;
	}
	body.astro-ui-shell #transits-chart-toolbar-form .transits-chart-toolbar-row--meta-date .transits-chart-meta-birth,
	body.astro-ui-shell #progressions-chart-toolbar-form .transits-chart-toolbar-row--meta-date .transits-chart-meta-birth {
		flex: 0 0 auto;
		width: auto;
		max-width: none;
	}
	body.astro-ui-shell #transits-chart-toolbar-form .transits-chart-toolbar-row--meta-date .transits-chart-meta-date,
	body.astro-ui-shell #progressions-chart-toolbar-form .transits-chart-toolbar-row--meta-date .transits-chart-meta-date {
		flex: 0 0 auto;
		margin-inline-start: 0;
	}
}
@media (max-width: 639px) {
	body.astro-ui-shell #transits-chart-toolbar-form .birth-chart-toolbar-pdf-col {
		flex: 0 0 auto;
		order: 3;
	}
	body.astro-ui-shell #transits-chart-toolbar-form .birth-chart-toolbar-links-col,
	body.astro-ui-shell #progressions-chart-toolbar-form .birth-chart-toolbar-links-col {
		margin-inline-start: 0;
		width: 100%;
	}
}

/* /progressions-chart (UI v2): date + הצג sit in the name/houses row (no PDF on this page, so the row had an empty left part).
   Flex + wrap instead of the 2-column grid: when the card is too narrow the date drops to its own line instead of overlapping. */
@media (min-width: 640px) {
	body.astro-ui-shell #progressions-chart-toolbar-form .transits-chart-toolbar-row--name-houses {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 0.45rem 0.55rem;
	}
	body.astro-ui-shell #progressions-chart-toolbar-form .transits-chart-toolbar-row--name-houses .birth-chart-name-col {
		flex: 1 1 14rem;
		min-width: 14rem;
		max-width: 20rem;
	}
	body.astro-ui-shell #progressions-chart-toolbar-form .transits-chart-toolbar-row--name-houses .transits-chart-houses-col {
		flex: 0 0 auto;
		margin: 0;
	}
	body.astro-ui-shell #progressions-chart-toolbar-form .transits-chart-toolbar-row--name-houses .housesys.birth-chart-housesys {
		align-self: center;
		margin-top: 0;
	}
	body.astro-ui-shell #progressions-chart-toolbar-form .transits-chart-toolbar-row--name-houses .transits-chart-meta-date {
		flex: 0 0 auto;
		margin: 0;
		margin-inline-start: auto;
	}
	body.astro-ui-shell #progressions-chart-toolbar-form .transits-chart-toolbar-row--meta-date .birth-chart-meta-actions.birth-chart-toolbar-links-col {
		margin-inline-start: auto;
	}
}
@media (max-width: 639px) {
	body.astro-ui-shell #progressions-chart-toolbar-form .transits-chart-toolbar-row--name-houses {
		flex-wrap: wrap;
	}
	body.astro-ui-shell #progressions-chart-toolbar-form .transits-chart-toolbar-row--name-houses .transits-chart-meta-date {
		order: 3;
		flex: 1 1 100%;
		margin: 0;
	}
	/* name + houses stay on one line, date + הצג on the next */
	body.astro-ui-shell #progressions-chart-toolbar-form .transits-chart-toolbar-row--name-houses .birth-chart-name-primary {
		flex: 1 1 0;
		min-width: 0;
	}
	body.astro-ui-shell #progressions-chart-toolbar-form .transits-chart-toolbar-row--name-houses .transits-chart-transdate-row {
		flex-wrap: nowrap;
	}
	body.astro-ui-shell #progressions-chart-toolbar-form .transits-chart-toolbar-row--name-houses .transits-chart-date-input-wrap {
		min-width: 0;
	}
}

/* /transits-chart (UI v2): date + הצג also moves into the name/houses row: name | houses | date | PDF.
   Flex + wrap (overrides the 3-column grid above) so a narrow card drops the date to its own line instead of overlapping. */
@media (min-width: 640px) {
	body.astro-ui-shell #transits-chart-toolbar-form .transits-chart-toolbar-row--name-houses {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 0.45rem 0.55rem;
	}
	body.astro-ui-shell #transits-chart-toolbar-form .transits-chart-toolbar-row--name-houses .birth-chart-name-col {
		flex: 1 1 12rem;
		min-width: 12rem;
		max-width: 20rem;
	}
	body.astro-ui-shell #transits-chart-toolbar-form .transits-chart-toolbar-row--name-houses .transits-chart-houses-col {
		flex: 0 0 auto;
		margin: 0;
	}
	body.astro-ui-shell #transits-chart-toolbar-form .transits-chart-toolbar-row--name-houses .transits-chart-meta-date {
		flex: 0 0 auto;
		margin: 0;
	}
	body.astro-ui-shell #transits-chart-toolbar-form .transits-chart-toolbar-row--name-houses .birth-chart-toolbar-pdf-col {
		flex: 0 0 auto;
		margin-inline-start: auto;
	}
	body.astro-ui-shell #transits-chart-toolbar-form .transits-chart-toolbar-row--meta-date .birth-chart-meta-actions.birth-chart-toolbar-links-col {
		margin-inline-start: auto;
	}
}
@media (max-width: 639px) {
	body.astro-ui-shell #transits-chart-toolbar-form .transits-chart-toolbar-row--name-houses {
		flex-wrap: wrap;
	}
	body.astro-ui-shell #transits-chart-toolbar-form .transits-chart-toolbar-row--name-houses .birth-chart-name-primary {
		flex: 1 1 0;
		min-width: 0;
	}
	body.astro-ui-shell #transits-chart-toolbar-form .transits-chart-toolbar-row--name-houses .transits-chart-meta-date {
		order: 4;
		flex: 1 1 100%;
		margin: 0;
	}
	body.astro-ui-shell #transits-chart-toolbar-form .transits-chart-toolbar-row--name-houses .transits-chart-transdate-row {
		flex-wrap: nowrap;
	}
	body.astro-ui-shell #transits-chart-toolbar-form .transits-chart-toolbar-row--name-houses .transits-chart-date-input-wrap {
		min-width: 0;
	}
}

/* /synastry-chart (UI v2): no separate 4th row for houses + PDF.
   Houses select (without its label) sits left of partner A's quicklinks, PDF left of partner B's quicklinks. */
@media (min-width: 640px) {
	body.astro-ui-shell #synastry-chart-toolbar-form .synastry-chart-person-a > .birth-chart-meta-actions {
		grid-area: 3 / 1;
		width: auto;
		justify-self: start;
		align-self: center;
		overflow: visible;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form .synastry-chart-person-a > .synastry-chart-tool--houses {
		grid-area: 3 / 1;
		width: auto;
		justify-self: end;
		align-self: center;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form .synastry-chart-tool--houses .housesys.birth-chart-housesys {
		width: auto;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form .synastry-chart-tool--houses .housesys > .topname {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form .synastry-chart-person-b .birth-chart-quicklinks {
		grid-area: 3 / 2;
		width: auto;
		justify-self: start;
		align-self: center;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form .synastry-chart-person-b #pdf_build_link {
		grid-area: 3 / 2;
		justify-self: end;
		align-self: center;
	}
}

/* ---------- chart pages (UI v2): profile bar + action bar (/birth-chart, /transits-chart, /progressions-chart) ---------- */
/* Profile bar = the toolbar form (.astro-profile-bar): field cells with a small label on top (name | birth data | houses) + "עריכת פרטים" link.
   Action bar = .astro-chart-actionbar (printed instead of the .topdate chips): outline buttons with Lucide icons + soft pink PDF button.
   Colours: theme tokens only (#217eba / #359bdc blue, #b4437b accent, #dcdce8 border, #222 / #666 text). */
.astro-chart-actionbar__ico {
	flex: 0 0 auto;
	display: block;
}
@media (min-width: 640px) {
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: flex-end;
		gap: 14px 22px;
		padding: 16px 20px;
	}
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar > .transits-chart-toolbar-row {
		display: contents;
	}
	/* cells */
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .birth-chart-name-col {
		order: 1;
		flex: 1 1 15rem;
		max-width: 22rem;
		min-width: 13rem;
	}
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-meta-birth {
		order: 2;
		flex: 0 1 auto;
		min-width: 0;
		max-width: none;
		width: auto;
		display: flex;
		flex-direction: column;
		gap: 6px;
		padding-bottom: 11px;
	}
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-houses-col {
		order: 3;
		flex: 0 0 auto;
		margin: 0;
	}
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .astro-profile-bar__edit-col {
		order: 4;
		flex: 0 0 auto;
		margin-inline-start: auto;
		padding-bottom: 10px;
	}
	/* label on top of the value */
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .birth-chart-name-primary,
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .housesys.birth-chart-housesys {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
		margin: 0;
		align-self: auto;
	}
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .topname,
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .topname label,
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .topname b {
		display: block;
		width: auto;
		margin: 0;
		padding: 0;
		font-size: 13px;
		line-height: 1.2;
		font-weight: 500;
		color: #666;
		white-space: nowrap;
	}
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-meta-birth .birth-chart-meta-line1 {
		margin: 0;
		padding: 0;
		font-size: 15px;
		line-height: 1.3;
		color: #222;
		white-space: nowrap;
	}
	/* fields: same height, icon on the right (RTL start), arrow stays on the left */
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .birth-chart-fullname-ac:not(.birth-chart-fullname-readonly),
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar select.housesel {
		height: 44px;
		min-height: 44px;
		border: 1px solid #dcdce8;
		border-radius: 10px;
		padding-right: 40px;
		padding-left: 30px;
		background-repeat: no-repeat, no-repeat;
		background-position: right 13px center, left 12px center;
		background-size: 18px 18px, 10px;
	}
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .birth-chart-fullname-ac:not(.birth-chart-fullname-readonly) {
		width: 100%;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23217eba' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	}
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar select.housesel,
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .birth-chart-fullname-ac.birth-chart-houses-ac:not(.birth-chart-fullname-readonly) {
		width: 11rem;
		min-width: 11rem;
		max-width: none;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23217eba' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7h-9'/%3E%3Cpath d='M14 17H5'/%3E%3Ccircle cx='17' cy='17' r='3'/%3E%3Ccircle cx='7' cy='7' r='3'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	}
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .birth-chart-name-row,
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .birth-chart-fullname-wrap {
		width: 100%;
		max-width: none;
	}
}
/* "עריכת פרטים" link */
body.astro-ui-shell .astro-profile-bar__edit {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: #217eba !important;
	text-decoration: none !important;
	white-space: nowrap;
}
body.astro-ui-shell .astro-profile-bar__edit:hover {
	color: #359bdc !important;
}
/* action bar */
body.astro-ui-shell .topdate:has(> .astro-chart-actionbar) {
	margin: 14px 0 6px;
	padding: 0;
	float: none;
	width: 100%;
}
body.astro-ui-shell .astro-chart-actionbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	box-sizing: border-box;
}
body.astro-ui-shell .astro-chart-actionbar__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
body.astro-ui-shell .astro-chart-actionbar__btn,
body.astro-ui-shell .astro-chart-actionbar__pdf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 40px;
	padding: 0 18px;
	border: 1px solid #dcdce8;
	border-radius: 10px;
	background: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	color: #222 !important;
	text-decoration: none !important;
	white-space: nowrap;
	box-sizing: border-box;
	transition: border-color 0.15s, background-color 0.15s;
}
body.astro-ui-shell .astro-chart-actionbar__btn .astro-chart-actionbar__ico {
	color: #217eba;
}
body.astro-ui-shell .astro-chart-actionbar__btn:hover {
	border-color: #359bdc;
	background: #f8fbfe;
}
/* soft accent button (rgba of #b4437b) */
body.astro-ui-shell #pdf_build_link.astro-chart-actionbar__pdf {
	display: inline-flex;
	width: auto;
	height: 40px;
	top: 0;
	background: rgba(180, 67, 123, 0.07);
	border-color: rgba(180, 67, 123, 0.28);
	color: #b4437b !important;
}
body.astro-ui-shell #pdf_build_link.astro-chart-actionbar__pdf:hover {
	background: rgba(180, 67, 123, 0.12);
	border-color: #b4437b;
}
@media (max-width: 639px) {
	body.astro-ui-shell .astro-profile-bar__edit-col,
	body.astro-ui-shell #birth-chart-toolbar-form .astro-profile-bar__label {
		display: none;
	}
	body.astro-ui-shell .astro-chart-actionbar {
		gap: 8px;
	}
	body.astro-ui-shell .astro-chart-actionbar__nav {
		gap: 6px;
	}
	body.astro-ui-shell .astro-chart-actionbar__btn,
	body.astro-ui-shell .astro-chart-actionbar__pdf,
	body.astro-ui-shell #pdf_build_link.astro-chart-actionbar__pdf {
		height: 36px;
		padding: 0 11px;
		gap: 6px;
		font-size: 13px;
	}
}

/* profile bar on /transits-chart + /progressions-chart: date cell (label on top, date + הצג) after houses */
@media (min-width: 640px) {
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-meta-date {
		order: 4;
		flex: 0 0 auto;
		display: flex;
		flex-direction: column;
		gap: 6px;
		margin: 0;
	}
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .astro-profile-bar__edit-col {
		order: 5;
	}
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-transdate-row {
		flex-wrap: nowrap;
		gap: 8px;
	}
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .birth-chart-transit-date-input,
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-transdate-row .button {
		height: 44px;
		min-height: 44px;
		border-radius: 10px;
		box-sizing: border-box;
	}
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .birth-chart-transit-date-input {
		border: 1px solid #dcdce8;
	}
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-meta-date .transerror:empty {
		display: none;
	}
}
@media (max-width: 639px) {
	body.astro-ui-shell .astro-profile-bar .astro-profile-bar__label {
		display: none;
	}
}
/* phones: action bar = one horizontally scrolling row (no 3-line block of buttons above the chart) */
@media (max-width: 639px) {
	body.astro-ui-shell .astro-chart-actionbar,
	body.astro-ui-shell .astro-chart-actionbar__nav {
		flex-wrap: nowrap;
	}
	body.astro-ui-shell .astro-chart-actionbar {
		justify-content: flex-start;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 2px;
	}
	body.astro-ui-shell .astro-chart-actionbar::-webkit-scrollbar {
		display: none;
	}
	body.astro-ui-shell .astro-chart-actionbar__btn,
	body.astro-ui-shell #pdf_build_link.astro-chart-actionbar__pdf {
		flex: 0 0 auto;
	}
}
/* /transits-chart + /progressions-chart profile bar in ONE line: name (birth data under it) | houses | date + הצג | עריכת פרטים.
   Grid instead of flex so the birth data line can sit under the name field. Narrower cards: date moves under houses. */
@media (min-width: 640px) {
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar {
		display: grid;
		grid-template-columns: minmax(12rem, 22rem) max-content max-content 1fr;
		align-items: end;
		gap: 6px 22px;
	}
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .birth-chart-name-col {
		grid-column: 1;
		grid-row: 1;
		max-width: none;
		min-width: 0;
	}
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-houses-col {
		grid-column: 2;
		grid-row: 1;
	}
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-meta-date {
		grid-column: 3;
		grid-row: 1;
	}
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .astro-profile-bar__edit-col {
		grid-column: 4;
		grid-row: 1;
		justify-self: end;
		margin: 0;
	}
	/* birth data = small grey line under the name field */
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-meta-birth {
		grid-column: 1;
		grid-row: 2;
		padding: 0 2px;
	}
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-meta-birth .astro-profile-bar__label {
		display: none;
	}
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-meta-birth .birth-chart-meta-line1 {
		font-size: 13px;
		color: #666;
	}
}
@media (min-width: 640px) and (max-width: 1279px) {
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar {
		grid-template-columns: minmax(12rem, 1fr) max-content max-content;
		row-gap: 10px;
	}
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-meta-date {
		grid-column: 2 / 4;
		grid-row: 2;
		align-self: start;
	}
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .astro-profile-bar__edit-col {
		grid-column: 3;
	}
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-meta-birth {
		align-self: start;
	}
}

/* ---------- /synastry-chart (UI v2): profile bar ----------
   One card: partner A | partner B | houses | "הורדת PDF". Each partner: label on top, name field (person icon),
   birth data line, small text links (מעברים · קידומים · מפת לידה · עריכה). Overrides the earlier "no 4th row" placement. */
@media (min-width: 640px) {
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar {
		padding: 16px 20px;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-toolbar-row--names {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) max-content max-content;
		grid-template-rows: auto auto auto;
		column-gap: 22px;
		row-gap: 6px;
		align-items: end;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-a > .birth-chart-name-primary { grid-area: 1 / 1; }
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-a > .synastry-chart-meta-line1 { grid-area: 2 / 1; }
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-a > .birth-chart-meta-actions { grid-area: 3 / 1; }
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-a > .synastry-chart-tool--houses { grid-area: 1 / 3; justify-self: stretch; align-self: end; }
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-b > .birth-chart-name-primary { grid-area: 1 / 2; }
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-b > .synastry-chart-meta-line1 { grid-area: 2 / 2; }
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-b .birth-chart-quicklinks { grid-area: 3 / 2; }
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-b .birth-chart-meta-actions #pdf_build_link { grid-area: 1 / 4; justify-self: end; align-self: end; margin: 0 0 2px; }
	/* label on top of the field */
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .birth-chart-name-primary,
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-tool--houses .housesys.birth-chart-housesys {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
		width: auto;
		margin: 0;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-tool--houses .housesys > .topname {
		position: static;
		width: auto;
		height: auto;
		overflow: visible;
		clip: auto;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .topname,
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .topname label,
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .topname b {
		display: block;
		width: auto;
		margin: 0;
		padding: 0;
		font-size: 13px;
		line-height: 1.2;
		font-weight: 500;
		color: #666;
		white-space: nowrap;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .birth-chart-name-row,
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .birth-chart-name-primary .birth-chart-fullname-wrap {
		width: 100%;
		max-width: none;
	}
	/* fields: 44px, icon on the right, arrow on the left */
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .birth-chart-fullname-ac:not(.birth-chart-fullname-readonly) {
		width: 100%;
		height: 44px;
		min-height: 44px;
		border: 1px solid #dcdce8;
		border-radius: 10px;
		padding-right: 40px;
		padding-left: 30px;
		background-repeat: no-repeat, no-repeat;
		background-position: right 13px center, left 12px center;
		background-size: 18px 18px, 10px;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23217eba' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .birth-chart-fullname-ac.birth-chart-houses-ac:not(.birth-chart-fullname-readonly) {
		width: 11rem;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23217eba' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7h-9'/%3E%3Cpath d='M14 17H5'/%3E%3Ccircle cx='17' cy='17' r='3'/%3E%3Ccircle cx='7' cy='7' r='3'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	}
	/* birth data + per-partner links */
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-meta-line1 {
		margin: 0;
		padding: 0 2px;
		font-size: 13px;
		color: #666;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-a > .birth-chart-meta-actions {
		width: auto;
		margin: 0;
		overflow: visible;
		justify-self: start;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .birth-chart-quicklinks {
		width: auto;
		justify-self: start;
		flex-wrap: wrap;
		gap: 4px 14px;
		padding: 0 2px;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .birth-chart-quicklinks a.topedit {
		height: auto;
		min-height: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: none;
		box-shadow: none;
		font-size: 13px;
		font-weight: 600;
		color: #217eba !important;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .birth-chart-quicklinks a.topedit:hover {
		color: #359bdc !important;
		text-decoration: underline !important;
	}
}
/* PDF: soft accent button (same as the chart action bar), beats the old icon-only #pdf_build_link rules */
body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-name-col .birth-chart-meta-actions #pdf_build_link.astro-chart-actionbar__pdf {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: auto;
	min-width: 0;
	height: 44px !important; /* charts.css sets height/padding with !important */
	padding: 0 16px !important;
	top: 0;
	border: 1px solid rgba(180, 67, 123, 0.28);
	border-radius: 10px;
	background: rgba(180, 67, 123, 0.07);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	color: #b4437b !important;
	text-decoration: none !important;
}
body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-name-col .birth-chart-meta-actions #pdf_build_link.astro-chart-actionbar__pdf:hover {
	background: rgba(180, 67, 123, 0.12);
	border-color: #b4437b;
}
@media (max-width: 639px) {
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-name-col .birth-chart-meta-actions #pdf_build_link.astro-chart-actionbar__pdf {
		height: 36px !important;
		padding: 0 11px !important;
		font-size: 13px;
	}
}

/* ---------- sample pages (UI v2): /sample-birth-chart, /sample-transit-chart, /sample-synastry-chart ----------
   Same markup classes as the member pages, so the profile bar / action bar rules above apply. Extras below:
   read-only name field (demo profile), the inline "בחר תאריך" label, PDF in .synastry-chart-tool--pdf. */
@media (min-width: 640px) {
	body.astro-ui-shell .astro-profile-bar .birth-chart-fullname-ac.birth-chart-fullname-readonly {
		width: 100%;
		height: 44px;
		min-height: 44px;
		border: 1px solid #dcdce8;
		border-radius: 10px;
		padding-right: 40px;
		background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23217eba' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") no-repeat right 13px center / 18px 18px;
		font-weight: 600;
		color: #217eba;
	}
	body.astro-ui-shell #transits-chart-toolbar-form.astro-profile-bar .transits-chart-transdate-row > .topname {
		display: none;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-b > .synastry-chart-tool--pdf {
		grid-area: 1 / 4;
		justify-self: end;
		align-self: end;
		margin: 0 0 2px;
	}
}
body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-tool--pdf #pdf_build_link.astro-chart-actionbar__pdf {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: auto;
	min-width: 0;
	height: 44px !important;
	padding: 0 16px !important;
	top: 0;
	border: 1px solid rgba(180, 67, 123, 0.28);
	border-radius: 10px;
	background: rgba(180, 67, 123, 0.07);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	color: #b4437b !important;
	text-decoration: none !important;
}
body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-tool--pdf #pdf_build_link.astro-chart-actionbar__pdf:hover {
	background: rgba(180, 67, 123, 0.12);
	border-color: #b4437b;
}
@media (max-width: 639px) {
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-tool--pdf #pdf_build_link.astro-chart-actionbar__pdf {
		height: 36px !important;
		padding: 0 11px !important;
		font-size: 13px;
	}
}
/* sample transit (phones): name label hidden like on /transits-chart, name field takes the free width, date + הצג on one line */
@media (max-width: 639px) {
	body.astro-ui-shell #transits-chart-toolbar-form.astro-profile-bar .birth-chart-name-primary > .topname,
	body.astro-ui-shell #transits-chart-toolbar-form.astro-profile-bar .transits-chart-transdate-row > .topname {
		display: none;
	}
	body.astro-ui-shell #transits-chart-toolbar-form.astro-profile-bar .birth-chart-name-primary {
		flex: 1 1 0;
		min-width: 0;
	}
	body.astro-ui-shell #transits-chart-toolbar-form.astro-profile-bar .birth-chart-name-row,
	body.astro-ui-shell #transits-chart-toolbar-form.astro-profile-bar .birth-chart-name-row .birth-chart-fullname-wrap {
		flex: 1 1 auto;
		min-width: 0;
		width: 100%;
		max-width: none;
	}
	body.astro-ui-shell #transits-chart-toolbar-form.astro-profile-bar .transits-chart-transdate-row {
		flex-wrap: nowrap;
	}
	body.astro-ui-shell #transits-chart-toolbar-form.astro-profile-bar .transits-chart-date-input-wrap {
		flex: 1 1 auto;
		min-width: 0;
	}
}

/* ---------- report paywall banners: v2 look (white card, soft accent wash, round check chips) — all widths ---------- */
body.astro-ui-shell .astro-paywall-mid-cta,
body.astro-ui-shell .astro-paywall-alt-cta {
	background: linear-gradient(to left, #fdf5f9 0%, #fff 60%);
	border: 1px solid #dcdce8;
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
	font-family: "Heebo", Arial, Helvetica, sans-serif;
}
body.astro-ui-shell .astro-paywall-alt-cta {
	background: linear-gradient(to left, #f0f7ff 0%, #fff 60%);
}
body.astro-ui-shell a.astro-paywall-mid-cta:hover,
body.astro-ui-shell a.astro-paywall-alt-cta:hover {
	border-color: #dcdce8;
	box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05), 0 14px 32px rgba(15, 23, 42, 0.10);
}
body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__title,
body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__title {
	color: #222;
	font-weight: 700;
}
/* check marks → small round chips */
body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__check,
body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__check,
body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__check,
body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	margin-top: 1px;
	border-radius: 50%;
	background: #fce4ef;
	color: #b4437b;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}
body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__check,
body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__check {
	background: #e0f0fb;
	color: #217eba;
}
body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__benefits li,
body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__benefits li {
	gap: 10px;
	color: #222;
}
body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__benefit-main,
body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__benefit-main,
body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__benefit-main,
body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__benefit-main {
	font-weight: 500;
	color: #222;
}
body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__benefit-sub,
body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__benefit-sub,
body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__benefit-sub,
body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__benefit-sub {
	color: #666;
}
/* buttons: rounder, soft coloured shadow */
body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__btn,
body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__btn {
	border-radius: 12px;
	box-shadow: 0 4px 14px rgba(180, 67, 123, 0.28);
}
body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__btn--blue {
	background: #217eba;
	box-shadow: 0 4px 14px rgba(33, 126, 186, 0.28);
}
body.astro-ui-shell a.astro-paywall-alt-cta:hover .astro-paywall-cta__btn--blue { background: #359bdc; }
body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__note,
body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__note,
body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__note,
body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__note {
	color: #666;
}
/* cover: crisper card */
body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__cover,
body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__cover,
body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__cover,
body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__cover {
	border-radius: 10px;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22) !important;
}

/* ---------- report paywall banners: v2 finish on the ORIGINAL layout (cover = card height on desktop,
   cover = height of title+benefits on phones). Cosmetics only: see "v2 look" above. ---------- */
body.astro-ui-shell .astro-paywall-cta__subtitle { display: none; } /* keeps the original height */
body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__badge,
body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__badge {
	font-family: "Heebo", Arial, sans-serif;
	font-size: 13px;
	padding: 5px 12px;
	border-radius: 999px;
}
body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__title,
body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__title { font-family: "Heebo", Arial, sans-serif; }
/* book look: page edges + depth on the existing cover */
body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__cover,
body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__cover,
body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__cover,
body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__cover {
	border-radius: 3px 8px 8px 3px;
	box-shadow:
		3px 1px 0 -1px #f4efe8,
		5px 2px 0 -1px #e7ded2,
		7px 3px 0 -2px #d8ccbd,
		12px 16px 26px rgba(15, 23, 42, 0.28) !important;
}
body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__cover-wrap,
body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__cover-wrap { padding: 0 8px 8px 0; box-sizing: border-box; }
/* phones/tablets: the cover stretches over the title + benefits block (top to bottom) */
@media (max-width: 1000px) {
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__cover-wrap,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__cover-wrap {
		align-self: stretch;
		display: flex;
		align-items: stretch;
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__cover {
		height: 100% !important;
		min-height: 104px !important;
		max-width: 82px !important;
		object-fit: cover;
	}
}

/* ---------- report paywall banners v2.1 (mockup "book + moon"): desktop composition ----------
   #d9a86c = decor gold taken from the report covers (new token, decoration only). */
body.astro-ui-shell .astro-paywall-cta__subtitle {
	margin: 0;
	color: #666;
	font-size: 15px;
	line-height: 1.45;
}
@media (min-width: 1001px) {
	body.astro-ui-shell .astro-paywall-mid-cta,
	body.astro-ui-shell .astro-paywall-alt-cta {
		position: relative;
		overflow: hidden;
		gap: 34px;
		padding: 30px 34px 30px 230px; /* left side = decor */
		background: #fdf8f6;
		border: 1px solid rgba(180, 67, 123, 0.16);
		border-radius: 20px;
		box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 30px rgba(180, 67, 123, 0.07);
	}
	body.astro-ui-shell .astro-paywall-alt-cta {
		background: #f6fafe;
		border-color: rgba(33, 126, 186, 0.16);
		box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 30px rgba(33, 126, 186, 0.07);
	}
	/* moon + stars decor on the left */
	body.astro-ui-shell .astro-paywall-mid-cta::after,
	body.astro-ui-shell .astro-paywall-alt-cta::after {
		content: "";
		position: absolute;
		left: 0;
		top: 50%;
		width: 210px;
		height: 260px;
		transform: translateY(-50%);
		background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 300' fill='none'><circle cx='250' cy='150' r='128' stroke='%23d9a86c' stroke-opacity='.55' stroke-width='1.2' stroke-dasharray='1.5 6' stroke-linecap='round'/><path d='M150 40a118 118 0 0 0 0 220a100 118 0 0 1 0-220z' fill='%23d9a86c' fill-opacity='.18'/><path d='M150 40a118 118 0 0 0 0 220' stroke='%23d9a86c' stroke-width='2'/><path d='M95 150l5-22 5 22 22 5-22 5-5 22-5-22-22-5z' fill='%23d9a86c'/><path d='M170 60l2.5-10 2.5 10 10 2.5-10 2.5-2.5 10-2.5-10-10-2.5z' fill='%23d9a86c' fill-opacity='.85'/><path d='M205 240l3-12 3 12 12 3-12 3-3 12-3-12-12-3z' fill='%23d9a86c' fill-opacity='.85'/><path d='M60 70l1.8-7 1.8 7 7 1.8-7 1.8-1.8 7-1.8-7-7-1.8z' fill='%23d9a86c' fill-opacity='.7'/><path d='M62 250l1.8-7 1.8 7 7 1.8-7 1.8-1.8 7-1.8-7-7-1.8z' fill='%23d9a86c' fill-opacity='.7'/></svg>") left center / contain no-repeat;
		pointer-events: none;
		opacity: .95;
	}
	/* book: existing cover with page edges + depth, slightly turned */
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__cover-wrap,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__cover-wrap {
		align-self: center;
		perspective: 900px;
		padding: 6px 14px 14px 0;
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__cover {
		height: 250px !important;
		max-height: none !important;
		max-width: 190px !important;
		border-radius: 3px 8px 8px 3px;
		transform: rotateY(-12deg);
		transform-origin: right center;
		box-shadow:
			4px 1px 0 -1px #f4efe8,
			7px 2px 0 -1px #e7ded2,
			10px 3px 0 -2px #d8ccbd,
			18px 22px 34px rgba(15, 23, 42, 0.30) !important;
		transition: transform .25s ease;
	}
	body.astro-ui-shell a.astro-paywall-mid-cta:hover .astro-paywall-cta__cover,
	body.astro-ui-shell a.astro-paywall-alt-cta:hover .astro-paywall-cta__cover {
		transform: rotateY(-6deg);
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__body,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__body { gap: 14px; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__badge,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__badge {
		font-size: 13px;
		padding: 6px 16px;
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__title,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__title {
		font-size: 27px;
		font-weight: 800;
		letter-spacing: -0.3px;
		color: #1f1f2e;
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__subtitle,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__subtitle {
		font-size: 17px;
		margin-top: -6px;
	}
	/* two columns with a thin divider in the middle */
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__main .astro-paywall-cta__benefits,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__main .astro-paywall-cta__benefits {
		column-gap: 56px;
		row-gap: 18px;
		padding: 4px 0;
		background: linear-gradient(rgba(180, 67, 123, 0.16), rgba(180, 67, 123, 0.16)) center / 1px 100% no-repeat;
	}
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__main .astro-paywall-cta__benefits {
		background-image: linear-gradient(rgba(33, 126, 186, 0.16), rgba(33, 126, 186, 0.16));
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__benefits li,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__benefits li { gap: 14px; align-items: center; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__check,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__check,
	body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__check,
	body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__check {
		width: 32px;
		height: 32px;
		flex: 0 0 32px;
		font-size: 15px;
	}
	body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__benefit-main,
	body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__benefit-main,
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__benefit-main,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__benefit-main {
		font-size: 17px;
		font-weight: 700;
		color: #1f1f2e;
		white-space: normal;
	}
	body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__benefit-sub,
	body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__benefit-sub,
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__benefit-sub,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__benefit-sub {
		font-size: 14px;
		white-space: normal;
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__footer,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__footer { gap: 22px; padding-top: 10px; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__btn,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__btn {
		font-size: 17px;
		padding: 14px 34px;
		border-radius: 12px;
	}
	body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__note,
	body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__note,
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__note,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__note {
		font-size: 14px;
		padding-inline-start: 22px;
		border-inline-start: 1px solid #dcdce8;
		line-height: 2;
	}
}
/* medium desktops: no room for the decor */
@media (min-width: 1001px) and (max-width: 1180px) {
	body.astro-ui-shell .astro-paywall-mid-cta,
	body.astro-ui-shell .astro-paywall-alt-cta { padding-left: 34px; }
	body.astro-ui-shell .astro-paywall-mid-cta::after,
	body.astro-ui-shell .astro-paywall-alt-cta::after { display: none; }
}

/* ---------- report paywall banners: compact pass (less height, no empty areas) ---------- */
@media (min-width: 1001px) {
	body.astro-ui-shell .astro-paywall-mid-cta,
	body.astro-ui-shell .astro-paywall-alt-cta {
		align-items: center;
		gap: 28px;
		padding: 22px 28px 22px 130px;
	}
	body.astro-ui-shell .astro-paywall-mid-cta::after,
	body.astro-ui-shell .astro-paywall-alt-cta::after {
		width: 110px;
		height: 190px;
		left: 6px;
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__cover-wrap,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__cover-wrap { padding: 0 12px 10px 0; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__cover {
		height: 205px !important;
		max-width: 155px !important;
		min-width: 0 !important;
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__body,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__body { gap: 9px; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__main,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__main { gap: 8px; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__badge,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__badge { font-size: 12px; padding: 4px 12px; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__title,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__title { font-size: 23px; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__subtitle,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__subtitle { font-size: 15px; margin-top: -4px; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__main .astro-paywall-cta__benefits,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__main .astro-paywall-cta__benefits {
		column-gap: 28px;
		row-gap: 10px;
		padding: 2px 0;
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__benefits li,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__benefits li { gap: 10px; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__check,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__check,
	body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__check,
	body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__check { width: 26px; height: 26px; flex-basis: 26px; font-size: 13px; }
	body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__benefit-main,
	body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__benefit-main,
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__benefit-main,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__benefit-main { font-size: 15px; }
	body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__benefit-sub,
	body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__benefit-sub,
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__benefit-sub,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__benefit-sub { font-size: 13px; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__footer,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__footer { padding-top: 4px; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__btn,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__btn { font-size: 16px; padding: 11px 26px; }
}
@media (min-width: 1001px) and (max-width: 1180px) {
	body.astro-ui-shell .astro-paywall-mid-cta,
	body.astro-ui-shell .astro-paywall-alt-cta { padding-left: 28px; }
}

/* ---------- report paywall banners: FINAL — mockup look (decor, subtitle, divider), height = book height ----------
   The cover stretches to the card's full height (desktop) / to the title+benefits block (phones), so there are
   no empty areas above or below it. */
@media (min-width: 1001px) {
	body.astro-ui-shell .astro-paywall-mid-cta,
	body.astro-ui-shell .astro-paywall-alt-cta { align-items: stretch; }
	body.astro-ui-shell .astro-paywall-cta__subtitle { display: block; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__cover-wrap,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__cover-wrap {
		align-self: stretch;
		display: flex;
		align-items: stretch;
		max-width: 34%;
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__cover {
		height: 100% !important;
		max-height: none !important;
		width: auto !important;
		max-width: 210px !important;
		min-width: 0 !important;
		object-fit: cover;
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__body,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__body { justify-content: center; }
}
@media (max-width: 1000px) {
	body.astro-ui-shell .astro-paywall-cta__subtitle { display: block; font-size: 13px; margin: 0; }
	body.astro-ui-shell .astro-paywall-mid-cta::after,
	body.astro-ui-shell .astro-paywall-alt-cta::after { display: none; }
}

/* phones (replaces the scrolling row above): action bar = grid of small tiles, icon over label, 4 per row,
   so every action incl. "הורדת PDF" is visible without sideways scrolling. */
@media (max-width: 639px) {
	body.astro-ui-shell .astro-chart-actionbar {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
		gap: 6px;
		overflow: visible;
		padding-bottom: 0;
	}
	body.astro-ui-shell .astro-chart-actionbar__nav {
		display: contents;
	}
	body.astro-ui-shell .astro-chart-actionbar__btn,
	body.astro-ui-shell #pdf_build_link.astro-chart-actionbar__pdf {
		flex-direction: column;
		justify-content: center;
		gap: 4px;
		height: auto !important;
		min-height: 58px;
		padding: 8px 4px !important;
		font-size: 12px;
		line-height: 1.2;
		white-space: normal;
		text-align: center;
	}
	body.astro-ui-shell .astro-chart-actionbar__btn .astro-chart-actionbar__ico,
	body.astro-ui-shell #pdf_build_link.astro-chart-actionbar__pdf .astro-chart-actionbar__ico {
		width: 20px;
		height: 20px;
	}
}

/* tablets with the sidebar (640–1023px, card ~450–700px): stacked profile bars instead of the wide one-line grids */
@media (min-width: 640px) and (max-width: 1023px) {
	/* /transits-chart, /progressions-chart (+ sample): name | houses, birth data, date | עריכת פרטים */
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar {
		grid-template-columns: minmax(0, 1fr) max-content;
		row-gap: 8px;
	}
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .birth-chart-name-col { grid-column: 1; grid-row: 1; }
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-houses-col { grid-column: 2; grid-row: 1; }
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-meta-birth { grid-column: 1 / -1; grid-row: 2; }
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-meta-date { grid-column: 1; grid-row: 3; align-self: end; justify-self: start; }
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .astro-profile-bar__edit-col { grid-column: 2; grid-row: 3; align-self: end; justify-self: end; padding-bottom: 10px; }
}

/* sample charts print the wheel as a bare fixed-width <img> (members get .astro-natal-wheel): keep it inside the card on tablets/phones */
body.astro-ui-shell #content .col2 center > img[src*="_wheel.php"] {
	max-width: 100%;
	height: auto;
}

/* synastry: stacked partners up to 1180px (two name fields side by side get too narrow below that) */
@media (min-width: 640px) and (max-width: 1180px) {
	/* /synastry-chart (+ sample): partner A (name, data, links) | houses, then partner B | PDF */
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-toolbar-row--names {
		grid-template-columns: minmax(0, 1fr) max-content;
		grid-template-rows: none;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-a > .birth-chart-name-primary { grid-area: 1 / 1; }
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-a > .synastry-chart-meta-line1 { grid-area: 2 / 1; }
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-a > .birth-chart-meta-actions { grid-area: 3 / 1; }
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-a > .synastry-chart-tool--houses { grid-area: 1 / 2; }
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-b > .birth-chart-name-primary { grid-area: 4 / 1; margin-top: 10px; }
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-b > .synastry-chart-meta-line1 { grid-area: 5 / 1; }
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-b .birth-chart-quicklinks { grid-area: 6 / 1; }
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-b .birth-chart-meta-actions #pdf_build_link,
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-b > .synastry-chart-tool--pdf { grid-area: 4 / 2; }
}

/* free transit page has no "עריכת פרטים" cell: on tablets the date row takes the full width */
@media (min-width: 640px) and (max-width: 1023px) {
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar:not(:has(.astro-profile-bar__edit-col)) .transits-chart-meta-date {
		grid-column: 1 / -1;
	}
}

/* FINAL (cont.): pill badge at the start + button and note in one row; phones: no cropped cover title */
@media (min-width: 1001px) {
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__badge,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__badge {
		align-self: flex-start;
		width: auto;
		display: inline-block;
		text-align: right;
		margin: 0;
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__main,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__main { width: 100%; align-self: stretch; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__footer,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__footer {
		flex: 0 0 auto;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		flex-wrap: nowrap;
		gap: 20px;
		width: auto;
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__btn,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__btn { order: 1; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__note,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__note { order: 2; white-space: nowrap; }
}
@media (max-width: 1000px) {
	body.astro-ui-shell .astro-paywall-mid-cta,
	body.astro-ui-shell .astro-paywall-alt-cta { grid-template-columns: 96px minmax(0, 1fr); }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__cover {
		width: 100% !important;
		max-width: 96px !important;
		object-position: center top;
	}
}

/* FINAL (cont. 2): desktop card height follows the text; the book fills that height exactly */
@media (min-width: 1001px) {
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__main,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__main { flex: 0 0 auto; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__cover-wrap,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__cover-wrap {
		position: relative;
		flex: 0 0 172px;
		width: 172px;
		max-width: none;
		padding: 0;
		margin: 0 0 6px;
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__cover {
		position: absolute;
		inset: 0 8px 0 0;
		width: calc(100% - 8px) !important;
		height: 100% !important;
		max-width: none !important;
		object-fit: cover;
		object-position: center top;
	}
}

/* FINAL (phones ≤700px): mockup layout — pill on top, book | title + benefits side by side (book centred against
   the text block), divider, full-width button, note under it. */
@media (max-width: 700px) {
	body.astro-ui-shell .astro-paywall-mid-cta,
	body.astro-ui-shell .astro-paywall-alt-cta {
		grid-template-columns: 38% minmax(0, 1fr);
		grid-template-rows: auto auto auto auto;
		column-gap: 14px;
		row-gap: 10px;
		padding: 16px 16px 14px;
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__main,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__main { display: contents; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__badge,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__badge {
		grid-column: 1 / -1;
		grid-row: 1;
		justify-self: start;
		width: auto;
		margin: 0;
		font-size: 13px;
		padding: 5px 14px;
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__cover-wrap,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__cover-wrap {
		grid-column: 1;
		grid-row: 2 / span 2;
		align-self: center;
		display: block;
		padding: 0 6px 6px 0;
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__cover {
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		object-fit: contain;
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__title,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__title {
		grid-column: 2;
		grid-row: 2;
		align-self: end;
		margin: 0;
		font-size: 20px;
		font-weight: 800;
		line-height: 1.25;
	}
	body.astro-ui-shell .astro-paywall-cta__subtitle { display: none !important; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__benefits,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__benefits {
		grid-column: 2;
		grid-row: 3;
		align-self: start;
		display: flex;
		flex-direction: column;
		gap: 8px;
		margin: 2px 0 0;
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__benefits li,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__benefits li { align-items: center; gap: 8px; font-size: 14px; line-height: 1.3; }
	body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__benefit-main,
	body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__benefit-main,
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__benefit-main,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__benefit-main { font-size: 14px; white-space: normal; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__benefit-sub,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__benefit-sub { display: none; }
	/* outline check circles like the mockup */
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__check,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__check,
	body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__check,
	body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__check {
		width: 22px;
		height: 22px;
		flex: 0 0 22px;
		background: transparent;
		border: 1.5px solid currentColor;
		box-sizing: border-box;
		font-size: 11px;
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__footer,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__footer {
		grid-column: 1 / -1;
		grid-row: 4;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		margin-top: 4px;
		padding-top: 14px;
		border-top: 1px solid rgba(180, 67, 123, 0.14);
	}
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__footer { border-top-color: rgba(33, 126, 186, 0.14); }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__btn,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__btn {
		order: 1;
		display: block;
		text-align: center;
		font-size: 17px;
		padding: 13px 16px;
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__note,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__note {
		order: 2;
		text-align: center;
		border: 0;
		padding: 0;
	}
}

/* ---------- phones (UI v2): profile bar in the new style ----------
   Birth / transits / progressions (member, sample, free): name field full width (44px, person icon);
   below it houses (44px, settings icon) + square ✎ / + buttons; birth data line; date + הצג (44px). No labels on phones. */
@media (max-width: 639px) {
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar {
		padding: 12px;
		gap: 8px;
	}
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-toolbar-row--name-houses {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px;
		width: 100%;
	}
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar :is(.birth-chart-name-col, .birth-chart-name-primary, .birth-chart-name-row) {
		display: contents;
	}
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .birth-chart-name-primary > .topname {
		display: none !important;
	}
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .birth-chart-name-row > .birth-chart-fullname-wrap {
		order: 1;
		flex: 1 1 100%;
		width: 100%;
		max-width: none;
		min-width: 0;
	}
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-houses-col {
		order: 2;
		flex: 1 1 0 !important;
		min-width: 0;
		margin: 0 !important;
	}
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-houses-col .housesys.birth-chart-housesys {
		display: block;
		width: 100% !important;
		margin: 0 !important;
	}
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .housesys > .topname {
		display: none !important;
	}
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .housesys .birth-chart-fullname-wrap {
		width: 100%;
		max-width: none;
	}
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .birth-chart-toolbar-icon {
		order: 3;
		display: inline-flex;
		flex: 0 0 44px;
		width: 44px;
		height: 44px;
		border-radius: 10px;
		background: #fff;
		border: 1px solid #dcdce8;
		color: #217eba !important;
	}
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-meta-date {
		order: 4;
		flex: 1 1 100%;
		margin: 0;
	}
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-meta-date > .astro-profile-bar__label,
	body.astro-ui-shell #transits-chart-toolbar-form.astro-profile-bar .transits-chart-transdate-row > .topname {
		display: none !important;
	}
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-transdate-row {
		display: flex;
		flex-wrap: nowrap;
		gap: 8px;
	}
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-date-input-wrap {
		flex: 1 1 auto;
		min-width: 0;
	}
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .birth-chart-transit-date-input {
		width: 100%;
		height: 44px;
		min-height: 44px;
		border: 1px solid #dcdce8;
		border-radius: 10px;
		box-sizing: border-box;
	}
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-transdate-row .button {
		flex: 0 0 auto;
		height: 44px;
		min-height: 44px;
		padding: 0 20px;
		border-radius: 10px;
	}
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-meta-date .transerror:empty {
		display: none;
	}
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-meta-birth {
		padding: 0 2px;
	}
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-meta-birth .birth-chart-meta-line1 {
		font-size: 13px;
		color: #666;
	}

	/* synastry (member, sample, free): A name, A data, B name, B data, then houses | PDF */
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar {
		padding: 12px;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-toolbar-row--names {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 6px 8px;
		align-items: center;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar :is(.synastry-chart-person-a, .synastry-chart-person-b, .synastry-chart-person-b > .birth-chart-meta-actions) {
		display: contents;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-a > .birth-chart-meta-actions,
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-b .birth-chart-quicklinks {
		display: none;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-a > .birth-chart-name-primary { grid-area: 1 / 1 / 2 / 3; }
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-a > .synastry-chart-meta-line1 { grid-area: 2 / 1 / 3 / 3; }
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-b > .birth-chart-name-primary { grid-area: 3 / 1 / 4 / 3; margin-top: 6px; }
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-b > .synastry-chart-meta-line1 { grid-area: 4 / 1 / 5 / 3; }
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-a > .synastry-chart-tool--houses { grid-area: 5 / 1; margin-top: 6px; width: auto; }
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-b .birth-chart-meta-actions #pdf_build_link,
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-person-b > .synastry-chart-tool--pdf { grid-area: 5 / 2; margin-top: 6px; }
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .birth-chart-name-primary {
		display: flex;
		align-items: center;
		gap: 8px;
		width: 100%;
		min-width: 0;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar :is(.birth-chart-name-primary > .topname, .housesys > .topname) {
		display: none !important;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar :is(.birth-chart-name-row, .birth-chart-name-primary > .birth-chart-fullname-wrap) {
		display: flex;
		align-items: center;
		gap: 8px;
		flex: 1 1 auto;
		min-width: 0;
		width: 100%;
		max-width: none;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .birth-chart-name-row > .birth-chart-fullname-wrap {
		flex: 1 1 auto;
		min-width: 0;
		max-width: none;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-tool--houses .housesys.birth-chart-housesys,
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-tool--houses .birth-chart-fullname-wrap {
		display: block;
		width: 100% !important;
		max-width: none;
		margin: 0 !important;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .birth-chart-toolbar-icon {
		display: inline-flex;
		flex: 0 0 44px;
		width: 44px;
		height: 44px;
		border-radius: 10px;
		background: #fff;
		border: 1px solid #dcdce8;
		color: #217eba !important;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar .synastry-chart-meta-line1 {
		margin: 0;
		padding: 0 2px;
		font-size: 13px;
		color: #666;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar #pdf_build_link.astro-chart-actionbar__pdf {
		height: 44px !important;
		padding: 0 14px !important;
		font-size: 14px;
	}

	/* fields, all chart pages: 44px, icon right, arrow left (selects / pickers) */
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form, #synastry-chart-toolbar-form).astro-profile-bar :is(.birth-chart-fullname-ac, select.housesel) {
		width: 100%;
		max-width: none;
		height: 44px;
		min-height: 44px;
		box-sizing: border-box;
		border: 1px solid #dcdce8;
		border-radius: 10px;
		padding: 0 40px 0 30px;
		font-size: 15px;
		font-weight: 600;
		color: #217eba;
		background-color: #fff;
		background-repeat: no-repeat, no-repeat;
		background-position: right 13px center, left 12px center;
		background-size: 18px 18px, 10px;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23217eba' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	}
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form, #synastry-chart-toolbar-form).astro-profile-bar .birth-chart-fullname-ac.birth-chart-fullname-readonly {
		padding-left: 12px;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23217eba' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
		background-position: right 13px center;
		background-size: 18px 18px;
	}
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form, #synastry-chart-toolbar-form).astro-profile-bar :is(.birth-chart-houses-ac, select.housesel) {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23217eba' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7h-9'/%3E%3Cpath d='M14 17H5'/%3E%3Ccircle cx='17' cy='17' r='3'/%3E%3Ccircle cx='7' cy='7' r='3'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	}
}

/* phones: houses cell max-width came from the old pill layout; synastry PDF stays one line */
@media (max-width: 639px) {
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar :is(.transits-chart-houses-col, .transits-chart-houses-col .housesys) {
		max-width: none !important;
	}
	body.astro-ui-shell #synastry-chart-toolbar-form.astro-profile-bar #pdf_build_link.astro-chart-actionbar__pdf {
		flex-direction: row;
		min-height: 44px;
		white-space: nowrap;
		gap: 6px;
	}
}

/* FINAL (cont. 3): desktop book keeps the cover ratio (2:3): fixed 196px wide → ~294px tall, close to the text height
   (card height = max(text, book)); phones: tighter */
@media (min-width: 1001px) {
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__cover-wrap,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__cover-wrap {
		position: relative;
		flex: 0 0 196px;
		width: 196px;
		height: auto;
		align-self: center;
		margin: 0 0 8px 8px; /* room for the page edges + shadow */
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__cover,
	body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__cover {
		position: static;
		inset: auto;
		width: 100% !important;
		height: auto !important;
		aspect-ratio: 2 / 3;
		object-fit: cover;
	}
}
@media (max-width: 700px) {
	body.astro-ui-shell .astro-paywall-mid-cta,
	body.astro-ui-shell .astro-paywall-alt-cta {
		grid-template-columns: 34% minmax(0, 1fr);
		column-gap: 12px;
		row-gap: 6px;
		padding: 12px 14px 10px;
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__badge,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__badge { font-size: 12px; padding: 3px 12px; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__title,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__title { font-size: 18px; line-height: 1.22; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__benefits,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__benefits { gap: 5px; margin: 0; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__benefits li,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__benefits li,
	body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__benefit-main,
	body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__benefit-main,
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__benefit-main,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__benefit-main { font-size: 13.5px; line-height: 1.25; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__check,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__check,
	body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__check,
	body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__check { width: 20px; height: 20px; flex-basis: 20px; font-size: 10px; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__footer,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__footer { gap: 5px; margin-top: 2px; padding-top: 10px; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__btn,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__btn { font-size: 16px; padding: 11px 14px; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__note,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__note { font-size: 12px; line-height: 1.4; }
}

/* phones: plain houses <select> (free / sample pages) fills its cell like the picker does */
@media (max-width: 639px) {
	body.astro-ui-shell :is(#birth-chart-toolbar-form, #transits-chart-toolbar-form, #progressions-chart-toolbar-form, #synastry-chart-toolbar-form).astro-profile-bar select.housesel {
		width: 100% !important;
		max-width: none !important;
	}
}

/* FINAL (phones, cont.): title stays; title + benefits sit together as one block centred against the book
   (spacer rows take the extra height, so there is no gap under the title) */
@media (max-width: 700px) {
	body.astro-ui-shell .astro-paywall-mid-cta,
	body.astro-ui-shell .astro-paywall-alt-cta {
		grid-template-rows: auto 1fr auto auto 1fr auto;
		row-gap: 0;
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__badge,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__badge { grid-row: 1; margin-bottom: 8px; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__cover-wrap,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__cover-wrap { grid-row: 2 / 6; align-self: center; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__title,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__title { grid-row: 3; align-self: end; margin: 0 0 8px; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__benefits,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__benefits { grid-row: 4; align-self: start; gap: 5px; margin: 0; }
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__footer,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__footer { grid-row: 6; margin-top: 10px; }
}

/* phones: date cell that stays in the 2nd row (free transit page) takes the full width */
@media (max-width: 639px) {
	body.astro-ui-shell #transits-chart-toolbar-form.astro-profile-bar .transits-chart-toolbar-row--meta-date .transits-chart-meta-date,
	body.astro-ui-shell #transits-chart-toolbar-form.astro-profile-bar .transits-chart-toolbar-row--meta-date .transits-chart-transdate-wrap {
		width: 100%;
		max-width: none;
		flex: 1 1 100%;
	}
}

/* desktop: the book does not turn on hover */
body.astro-ui-shell a.astro-paywall-mid-cta:hover .astro-paywall-cta__cover,
body.astro-ui-shell a.astro-paywall-alt-cta:hover .astro-paywall-cta__cover { transform: rotateY(-12deg); }
@media (max-width: 1000px) {
	body.astro-ui-shell a.astro-paywall-mid-cta:hover .astro-paywall-cta__cover,
	body.astro-ui-shell a.astro-paywall-alt-cta:hover .astro-paywall-cta__cover { transform: none; }
}
@media (max-width: 639px) {
	body.astro-ui-shell :is(#transits-chart-toolbar-form, #progressions-chart-toolbar-form).astro-profile-bar .transits-chart-date-input-wrap .birth-chart-transit-date-input {
		width: 100% !important; /* date picker skin sets a fixed width */
		max-width: none !important;
	}
}

/* phones: kill inherited spacing between title and benefits (.chartdata p / ul margins and paddings) */
@media (max-width: 700px) {
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__title,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__title,
	body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__title,
	body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__title {
		margin: 0 0 6px !important;
		padding: 0 !important;
	}
	body.astro-ui-shell .astro-paywall-mid-cta .astro-paywall-cta__benefits,
	body.astro-ui-shell .astro-paywall-alt-cta .astro-paywall-cta__benefits,
	body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__benefits,
	body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__benefits {
		margin: 0 !important;
		padding: 0 !important;
	}
	body.astro-ui-shell .chartdata .astro-paywall-mid-cta .astro-paywall-cta__benefits li,
	body.astro-ui-shell .chartdata .astro-paywall-alt-cta .astro-paywall-cta__benefits li {
		margin: 0 !important;
		padding: 0 !important;
	}
}

/* phones: chart action bar = ONE row of equal tiles (5–6 items), icon over a short label, like the header tabs */
@media (max-width: 639px) {
	body.astro-ui-shell .astro-chart-actionbar {
		grid-template-columns: none !important;
		grid-auto-flow: column;
		grid-auto-columns: minmax(0, 1fr);
		gap: 4px;
	}
	body.astro-ui-shell .astro-chart-actionbar__btn,
	body.astro-ui-shell #pdf_build_link.astro-chart-actionbar__pdf {
		min-width: 0;
		min-height: 46px;
		padding: 5px 2px 4px !important;
		gap: 2px;
		font-size: 11px;
		line-height: 1.15;
		white-space: nowrap;
		overflow: hidden;
	}
	body.astro-ui-shell .astro-chart-actionbar__btn .astro-chart-actionbar__ico,
	body.astro-ui-shell #pdf_build_link.astro-chart-actionbar__pdf svg { width: 17px; height: 17px; flex: 0 0 auto; }
	body.astro-ui-shell .astro-chart-actionbar__btn > span,
	body.astro-ui-shell #pdf_build_link.astro-chart-actionbar__pdf > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
	/* short labels (full text stays in the DOM for screen readers) */
	body.astro-ui-shell .astro-chart-actionbar__btn[href*="transits-chart"] > span,
	body.astro-ui-shell .astro-chart-actionbar__btn[href*="synastry-chart"] > span,
	body.astro-ui-shell #pdf_build_link.astro-chart-actionbar__pdf > span { font-size: 0; }
	body.astro-ui-shell .astro-chart-actionbar__btn[href*="transits-chart"] > span::after { content: "מעברים"; font-size: 11px; }
	body.astro-ui-shell .astro-chart-actionbar__btn[href*="synastry-chart"] > span::after { content: "זוגיות"; font-size: 11px; }
	body.astro-ui-shell #pdf_build_link.astro-chart-actionbar__pdf > span::after { content: "PDF"; font-size: 11px; }
}

/* ---------- /now-chart (UI v2): date-time picker as a profile bar cell ----------
   label on top, 44px field with calendar, 44px הצג; the "תאריך: … שעה: …" line under it becomes a grey meta line. */
body.astro-ui-shell #now-chart-datetime-form.astro-profile-bar {
	display: block;
	padding: 16px 20px;
	width: auto !important;
	max-width: none !important;
	margin: 0 0 4px !important;
	box-sizing: border-box;
	text-align: right;
}
body.astro-ui-shell #now-chart-datetime-form.astro-profile-bar .now-chart-datetime-inner {
	display: grid;
	grid-template-columns: minmax(0, 20rem) auto;
	justify-content: start;
	align-items: end;
	gap: 6px 10px;
	margin: 0;
	width: auto;
}
body.astro-ui-shell #now-chart-datetime-form.astro-profile-bar .now-chart-datetime-inner > .topname {
	grid-column: 1 / -1;
	display: block;
	width: auto;
	margin: 0;
	padding: 0;
}
body.astro-ui-shell #now-chart-datetime-form.astro-profile-bar .now-chart-datetime-inner > .topname label {
	font-size: 13px;
	line-height: 1.2;
	font-weight: 500;
	color: #666;
}
body.astro-ui-shell #now-chart-datetime-form.astro-profile-bar .transits-chart-date-input-wrap {
	display: block;
	min-width: 0;
	width: 100%;
}
body.astro-ui-shell #now-chart-datetime-form.astro-profile-bar .birth-chart-transit-date-input {
	width: 100% !important;
	max-width: none !important;
	height: 44px;
	min-height: 44px;
	box-sizing: border-box;
	border: 1px solid #dcdce8;
	border-radius: 10px;
}
body.astro-ui-shell #now-chart-datetime-form.astro-profile-bar .now-chart-submit {
	height: 44px;
	min-height: 44px;
	padding: 0 22px;
	border-radius: 10px;
	margin: 0;
}
body.astro-ui-shell #now-chart-datetime-form.astro-profile-bar + .topdate,
body.astro-ui-shell #now-chart-datetime-form.astro-profile-bar ~ .topdate {
	margin: 8px 2px 0;
	padding: 0;
	font-size: 13px;
	color: #666;
	text-align: right;
}
body.astro-ui-shell #now-chart-datetime-form.astro-profile-bar ~ .topdate b {
	font-weight: 500;
}
@media (max-width: 639px) {
	body.astro-ui-shell #now-chart-datetime-form.astro-profile-bar {
		padding: 12px;
	}
	body.astro-ui-shell #now-chart-datetime-form.astro-profile-bar .now-chart-datetime-inner {
		grid-template-columns: minmax(0, 1fr) auto;
	}
	body.astro-ui-shell #now-chart-datetime-form.astro-profile-bar .now-chart-datetime-inner > .topname {
		display: none;
	}
}

/* ---------- /birth-chart-byhouse, /birth-chart-ubt, /birth-chart-paid (UI v2): plain <select> name picker ----------
   (these pages submit the form on change instead of the jQuery profile picker) */
body.astro-ui-shell #birth-chart-toolbar-form.astro-profile-bar select.fullnamesel {
	-webkit-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	max-width: none;
	height: 44px;
	min-height: 44px;
	box-sizing: border-box;
	border: 1px solid #dcdce8;
	border-radius: 10px;
	padding: 0 40px 0 30px;
	font-size: 15px;
	font-weight: 600;
	color: #217eba;
	background-color: #fff;
	background-repeat: no-repeat, no-repeat;
	background-position: right 13px center, left 12px center;
	background-size: 18px 18px, 10px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23217eba' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	cursor: pointer;
}
body.astro-ui-shell #birth-chart-toolbar-form.astro-profile-bar select.fullnamesel:focus {
	outline: none;
	border-color: #217eba;
	box-shadow: 0 0 0 3px rgba(33, 126, 186, 0.22);
}

/* =========================================================
   Reports footer ("דוחות מובילים" covers strip) — v2 look on every page.
   Old: gradient box, 94% width with 3% side margins, pill labels.
   v2: full-width white card, section-style heading with icon, plain labels,
   "לכל הדוחות" as an outline pill. Covers themselves unchanged.
   ========================================================= */
body.astro-ui-shell .astro-chart-reports-footer {
	width: 100% !important;
	max-width: 100% !important;
	margin: 18px 0 !important;
	padding: 18px 20px 16px !important;
	border: 1px solid #dcdce8 !important;
	border-radius: 14px !important;
	background: #fff !important;
	box-shadow: 0 4px 14px rgba(31, 53, 96, 0.05) !important;
	font-family: Heebo, Arial, Helvetica, sans-serif;
}
body.astro-ui-shell .astro-chart-reports-footer__head {
	align-items: center;
	gap: 10px;
	margin: 0 0 14px !important;
	padding: 0 0 12px;
	border-bottom: 1px solid #e8e8e8;
}
body.astro-ui-shell .astro-chart-reports-footer__head .astro-chart-reports-footer__lead {
	order: 1;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 auto;
	color: #222;
	font: 800 18px/1.3 Heebo, Arial, sans-serif;
}
body.astro-ui-shell .astro-chart-reports-footer__head .astro-chart-reports-footer__lead::before {
	content: "";
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #fdf5f9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4437b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v14'/%3E%3Cpath d='M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z'/%3E%3C/svg%3E") center / 17px 17px no-repeat;
	box-shadow: inset 0 0 0 1px #fce4ef;
}
body.astro-ui-shell .astro-chart-reports-footer__head .astro-member-report-cta__eyebrow {
	order: 2;
	margin: 0 !important;
	padding: 4px 12px !important;
	border: 1px solid #fce4ef !important;
	border-radius: 999px !important;
	background: #fdf5f9 !important;
	color: #b4437b !important;
	font: 600 12px/1.3 Heebo, Arial, sans-serif !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}
body.astro-ui-shell .astro-chart-reports-footer .astro-report-covers--chart-footer.astro-report-covers--tile-grid.astro-report-covers--labeled {
	gap: 10px 12px !important;
}
body.astro-ui-shell .astro-chart-reports-footer .astro-report-covers__thumb {
	border-radius: 10px;
	border-color: #dcdce8;
	box-shadow: 0 2px 8px rgba(31, 53, 96, 0.10);
}
body.astro-ui-shell .astro-chart-reports-footer .astro-report-covers--chart-footer .astro-report-covers__label,
body.astro-ui-shell .astro-chart-reports-footer .astro-report-covers--banner .astro-report-covers__label {
	padding: 2px 4px 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #222 !important;
	font: 600 14px/1.35 Heebo, Arial, sans-serif !important;
}
body.astro-ui-shell .astro-chart-reports-footer .astro-report-covers__item-link:hover .astro-report-covers__label {
	color: #b4437b !important;
	background: transparent !important;
}
body.astro-ui-shell .astro-chart-reports-footer__more {
	padding: 16px 0 2px !important;
}
body.astro-ui-shell .astro-chart-reports-footer__more a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 38px;
	padding: 0 20px;
	border: 1px solid #bbdaf7;
	border-radius: 999px;
	background: #f0f7ff;
	color: #217eba !important;
	font: 600 14px/1 Heebo, Arial, sans-serif;
	text-decoration: none !important;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
body.astro-ui-shell .astro-chart-reports-footer__more a:hover {
	border-color: #359bdc;
	background: #e0f0fb;
	color: #217eba !important;
	text-decoration: none !important;
}
@media (max-width: 640px) {
	body.astro-ui-shell .astro-chart-reports-footer {
		padding: 14px 12px 12px !important;
	}
	body.astro-ui-shell .astro-chart-reports-footer__head .astro-chart-reports-footer__lead {
		font-size: 16px;
	}
	body.astro-ui-shell .astro-chart-reports-footer .astro-report-covers--chart-footer .astro-report-covers__label,
	body.astro-ui-shell .astro-chart-reports-footer .astro-report-covers--banner .astro-report-covers__label {
		font-size: 12px !important;
	}
}

/* =========================================================
   Full AI report ("פירוש מלא אישי") — v2 reading layout.
   Scope: the full-report mount ([data-astro-ai-full]) and its section.
   Reading column ~720px, numbered chapters with topic icons (data-ch from
   myastro_ai_full_report_decorate_html), table of contents built in
   inc/astropro-header-v2-parts.php. Icons: Lucide (ISC).
   ========================================================= */
body.astro-ui-shell .astro-mini-preview:has([data-astro-ai-full]) {
	max-width: 760px;
	margin-right: auto;
	margin-left: auto;
	font-family: Heebo, Arial, Helvetica, sans-serif;
}
body.astro-ui-shell .astro-mini-preview:has([data-astro-ai-full]) > .astro-mini-preview__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 6px 0 16px !important;
	padding: 0 0 12px;
	border-bottom: 1px solid #e8e8e8;
	color: #222 !important;
	font: 800 22px/1.3 Heebo, Arial, sans-serif !important;
}
body.astro-ui-shell .astro-mini-preview:has([data-astro-ai-full]) > .astro-mini-preview__title::before {
	content: "";
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #f0f7ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23217eba' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v14'/%3E%3Cpath d='M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
	box-shadow: inset 0 0 0 1px #bbdaf7;
}

/* body text */
body.astro-ui-shell [data-astro-ai-full],
body.astro-ui-shell [data-astro-ai-full] p {
	color: #222 !important;
	font: 400 17px/1.8 Heebo, Arial, Helvetica, sans-serif !important;
}
body.astro-ui-shell [data-astro-ai-full] p {
	margin: 0 0 16px !important;
	padding: 0 !important;
}
body.astro-ui-shell [data-astro-ai-full] p:last-child {
	margin-bottom: 0 !important;
}

/* table of contents */
body.astro-ui-shell [data-astro-ai-full] .astro-report-toc {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 10px;
	margin: 0 0 26px;
	padding: 14px;
	border: 1px solid #dcdce8;
	border-radius: 14px;
	background: #f7fbfe;
}
body.astro-ui-shell [data-astro-ai-full] .astro-report-toc__item {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	padding: 7px 10px;
	border-radius: 10px;
	color: #222 !important;
	font: 500 14px/1.3 Heebo, Arial, sans-serif;
	text-decoration: none !important;
	transition: background-color 0.15s ease;
}
body.astro-ui-shell [data-astro-ai-full] .astro-report-toc__item:hover {
	background: #fff;
	color: #217eba !important;
}
body.astro-ui-shell [data-astro-ai-full] .astro-report-toc__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #e0f0fb;
	color: #217eba;
	font: 700 12px/1 Heebo, Arial, sans-serif;
}

/* chapter headings: icon tile + "פרק N" eyebrow + dark title, divider between chapters */
body.astro-ui-shell [data-astro-ai-full] h3.astro-mini-preview__section-title[data-ch] {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 44px;
	margin: 34px 0 14px !important;
	padding: 26px 58px 0 0 !important;
	border-top: 1px solid #e8e8e8;
	color: #222 !important;
	font: 800 20px/1.3 Heebo, Arial, sans-serif !important;
	scroll-margin-top: 90px;
}
body.astro-ui-shell [data-astro-ai-full] .astro-report-toc + h3.astro-mini-preview__section-title[data-ch],
body.astro-ui-shell [data-astro-ai-full] > h3.astro-mini-preview__section-title[data-ch]:first-child {
	margin-top: 0 !important;
	padding-top: 0 !important;
	border-top: 0;
}
body.astro-ui-shell [data-astro-ai-full] h3.astro-mini-preview__section-title[data-ch]::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #fdf5f9 center / 22px 22px no-repeat;
	box-shadow: inset 0 0 0 1px #fce4ef;
}
body.astro-ui-shell [data-astro-ai-full] h3.astro-mini-preview__section-title[data-ch]::after {
	content: "פרק " attr(data-ch);
	order: -1;
	margin-bottom: 2px;
	color: #b4437b;
	font: 600 12px/1.3 Heebo, Arial, sans-serif;
}
body.astro-ui-shell [data-astro-ai-full] h3.astro-mini-preview__section-title[data-ch="1"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4437b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4'/%3E%3Cpath d='M14 13.12c0 2.38 0 6.38-1 8.88'/%3E%3Cpath d='M17.29 21.02c.12-.6.43-2.3.5-3.02'/%3E%3Cpath d='M2 12a10 10 0 0 1 18-6'/%3E%3Cpath d='M2 16h.01'/%3E%3Cpath d='M21.8 16c.2-2 .131-5.354 0-6'/%3E%3Cpath d='M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2'/%3E%3Cpath d='M8.65 22c.21-.66.45-1.32.57-2'/%3E%3Cpath d='M9 6.8a6 6 0 0 1 9 5.2v2'/%3E%3C/svg%3E"); }
body.astro-ui-shell [data-astro-ai-full] h3.astro-mini-preview__section-title[data-ch="2"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4437b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z'/%3E%3C/svg%3E"); }
body.astro-ui-shell [data-astro-ai-full] h3.astro-mini-preview__section-title[data-ch="3"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4437b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E"); }
body.astro-ui-shell [data-astro-ai-full] h3.astro-mini-preview__section-title[data-ch="4"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4437b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E"); }
body.astro-ui-shell [data-astro-ai-full] h3.astro-mini-preview__section-title[data-ch="5"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4437b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3Crect width='20' height='14' x='2' y='6' rx='2'/%3E%3C/svg%3E"); }
body.astro-ui-shell [data-astro-ai-full] h3.astro-mini-preview__section-title[data-ch="6"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4437b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1'/%3E%3Cpath d='M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4'/%3E%3C/svg%3E"); }
body.astro-ui-shell [data-astro-ai-full] h3.astro-mini-preview__section-title[data-ch="7"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4437b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8'/%3E%3Cpath d='M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }
body.astro-ui-shell [data-astro-ai-full] h3.astro-mini-preview__section-title[data-ch="8"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4437b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
body.astro-ui-shell [data-astro-ai-full] h3.astro-mini-preview__section-title[data-ch="9"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4437b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 3 4 8 5-5 5 15H2L8 3z'/%3E%3C/svg%3E"); }
body.astro-ui-shell [data-astro-ai-full] h3.astro-mini-preview__section-title[data-ch="10"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4437b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 20h10'/%3E%3Cpath d='M10 20c5.5-2.5.8-6.4 3-10'/%3E%3Cpath d='M9.5 9.4c1.1.8 1.8 2.2 2.3 3.7-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2 2.8-.5 4.4 0 5.5.8z'/%3E%3Cpath d='M14.1 6a7 7 0 0 0-1.1 4c1.9-.1 3.3-.6 4.3-1.4 1-1 1.6-2.3 1.7-4.6-2.7.1-4 1-4.9 2z'/%3E%3C/svg%3E"); }

@media (max-width: 640px) {
	body.astro-ui-shell .astro-mini-preview:has([data-astro-ai-full]) > .astro-mini-preview__title {
		font-size: 20px !important;
	}
	body.astro-ui-shell [data-astro-ai-full],
	body.astro-ui-shell [data-astro-ai-full] p {
		font-size: 16px !important;
		line-height: 1.75 !important;
	}
	/* contents: one horizontal strip of chips */
	body.astro-ui-shell [data-astro-ai-full] .astro-report-toc {
		display: flex;
		gap: 8px;
		margin: 0 -12px 22px;
		padding: 2px 12px 8px;
		border: 0;
		border-radius: 0;
		background: transparent;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	body.astro-ui-shell [data-astro-ai-full] .astro-report-toc::-webkit-scrollbar {
		display: none;
	}
	body.astro-ui-shell [data-astro-ai-full] .astro-report-toc__item {
		flex: 0 0 auto;
		gap: 6px;
		padding: 6px 12px 6px 8px;
		border: 1px solid #dcdce8;
		border-radius: 999px;
		background: #fff;
		font-size: 13px;
		white-space: nowrap;
	}
	body.astro-ui-shell [data-astro-ai-full] .astro-report-toc__num {
		width: 22px;
		height: 22px;
		font-size: 11px;
	}
	body.astro-ui-shell [data-astro-ai-full] h3.astro-mini-preview__section-title[data-ch] {
		margin-top: 28px !important;
		padding-top: 22px !important;
		padding-right: 52px !important;
		font-size: 18px !important;
	}
	body.astro-ui-shell [data-astro-ai-full] h3.astro-mini-preview__section-title[data-ch]::before {
		width: 40px;
		height: 40px;
		border-radius: 11px;
		background-size: 20px 20px;
	}
}
