/**
 * بینش‌ها — الگوی صفحه تماس: زمین یکدست هدر/محتوا/فوتر + کارت استیج
 */

.haam-insights-canvas {
	--ins-ground: #e9e9eb;
	--ins-stage: #ffffff;
	--ins-ink: #1a1532;
	--ins-muted: #5c5770;
	--ins-brand: #ebd11a;
	--ins-brand-2: #f0d94a;
	--ins-line: rgba(26, 21, 50, 0.12);
	--ins-soft: rgba(235, 209, 26, 0.22);
	--ins-radius: 8px;
	/* Let sitewide .wp-site-blocks ground + glow continue. */
	background: transparent !important;
	background-color: transparent !important;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.haam-insights-canvas > .wp-block-template-part:has(.haam-site-header),
.haam-insights-canvas > header.wp-block-template-part {
	position: relative !important;
	inset: auto !important;
	z-index: 20;
	width: 100%;
}

.haam-insights-canvas .haam-site-header {
	background: transparent !important;
	background-color: transparent !important;
	border-bottom-color: rgba(26, 21, 50, 0.12) !important;
	box-shadow: none;
}

.haam-insights-canvas .haam-site-header .haam-site-header__nav .wp-block-navigation-item__content {
	color: var(--ins-ink) !important;
}

.haam-insights-canvas .haam-site-header .haam-site-header__nav .wp-block-navigation-item__content:hover,
.haam-insights-canvas .haam-site-header .haam-site-header__nav .wp-block-navigation-item__content:focus-visible {
	color: var(--ins-ink) !important;
	opacity: 0.72;
}

.haam-insights-canvas .haam-site-header__logo img {
	filter: none;
}

.haam-insights-canvas .haam-site-header .wp-block-navigation__responsive-container-open,
.haam-insights-canvas .haam-site-header .wp-block-navigation__responsive-container-open svg {
	color: var(--ins-ink);
	fill: var(--ins-ink);
}

.haam-insights-canvas .haam-insights-page {
	flex: 1 1 auto;
	background: transparent !important;
}

.haam-insights-canvas .haam-site-footer {
	/* Continuous with site/footer ground. */
	background: transparent !important;
	background-color: transparent !important;
}

.haam-insights-page > .haam-mag-breadcrumb {
	margin: 8px auto 0 !important;
	width: min(1180px, calc(100% - 32px));
	max-width: 1180px;
	padding-inline: clamp(28px, 4.5vw, 56px) !important;
	box-sizing: border-box;
}

.haam-ins {
	--ins-ink: #1a1532;
	--ins-muted: #5c5770;
	--ins-brand: #ebd11a;
	--ins-brand-2: #f0d94a;
	--ins-line: rgba(26, 21, 50, 0.12);
	--ins-soft: rgba(235, 209, 26, 0.22);
	--ins-radius: 8px;
	font-family: "Yekan Bakh Fanum", YekanBakh, Tahoma, sans-serif;
	color: var(--ins-ink);
	direction: rtl;
	padding: 12px 0 clamp(48px, 6vw, 72px);
	background: transparent;
}

.haam-ins *,
.haam-ins *::before,
.haam-ins *::after {
	box-sizing: border-box;
}

.haam-ins__shell {
	width: min(1180px, calc(100% - 32px));
	margin-inline: auto;
	padding: clamp(28px, 4vw, 48px) clamp(28px, 4.5vw, 56px) clamp(32px, 4.5vw, 56px);
	border-radius: 28px;
	background: var(--ins-stage, #ffffff);
	box-shadow:
		0 0 0 1px rgba(26, 21, 50, 0.08),
		0 24px 60px rgba(20, 18, 24, 0.08);
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.haam-ins__shell::before {
	content: "";
	position: absolute;
	inset-inline-end: -12%;
	inset-block-start: -18%;
	width: min(380px, 50vw);
	height: min(380px, 50vw);
	border-radius: 50%;
	background: radial-gradient(
		circle,
		rgba(235, 209, 26, 0.35) 0%,
		rgba(235, 209, 26, 0.12) 42%,
		transparent 70%
	);
	pointer-events: none;
	z-index: 0;
}

.haam-ins__shell > * {
	position: relative;
	z-index: 1;
}

.haam-ins__eyebrow {
	margin: 0 0 12px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--ins-muted);
}

.haam-ins__title {
	margin: 0 0 12px;
	font-size: clamp(1.7rem, 3.5vw, 2.35rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.3;
	color: var(--ins-ink);
}

.haam-ins__lead {
	margin: 0 0 28px;
	max-width: 40em;
	font-size: 1.02rem;
	line-height: 1.85;
	color: var(--ins-muted);
}

.haam-ins__picker {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 0 0 20px;
}

.haam-ins__pick {
	appearance: none;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	width: 100%;
	padding: 16px 18px;
	border: 1px solid var(--ins-ink);
	border-radius: var(--ins-radius);
	background: #fff;
	color: var(--ins-ink);
	font: inherit;
	text-align: right;
	cursor: pointer;
	transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.haam-ins__pick:hover {
	background: #fffdf2;
	transform: translateY(-1px);
}

.haam-ins__pick.is-active {
	background: linear-gradient(135deg, #fff 0%, var(--ins-soft) 100%);
	box-shadow: inset 0 0 0 2px var(--ins-brand);
}

.haam-ins__pick-num {
	flex: 0 0 auto;
	width: 2rem;
	height: 2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	border: 1px solid var(--ins-ink);
	background: var(--ins-brand);
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1;
}

.haam-ins__pick-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.haam-ins__pick-title {
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.35;
}

.haam-ins__pick-desc {
	font-size: 0.84rem;
	line-height: 1.6;
	color: var(--ins-muted);
}

.haam-ins__board {
	padding: clamp(24px, 3.5vw, 36px);
	border: 1px solid var(--ins-ink);
	border-radius: var(--ins-radius);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0%, var(--ins-soft) 100%);
}

.haam-ins__board[hidden] {
	display: none !important;
}

.haam-ins__board-head {
	margin: 0 0 22px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--ins-line);
}

.haam-ins__board-kicker {
	margin: 0 0 8px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--ins-muted);
}

.haam-ins__board-title {
	margin: 0 0 8px;
	font-size: clamp(1.25rem, 2.4vw, 1.55rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.35;
	color: var(--ins-ink);
}

.haam-ins__board-lead {
	margin: 0;
	max-width: 42em;
	font-size: 0.95rem;
	line-height: 1.8;
	color: var(--ins-muted);
}

.haam-ins__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(24px, 4vw, 40px);
	align-items: start;
}

.haam-ins__grid--roi {
	grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
	align-items: stretch;
	gap: clamp(20px, 3vw, 28px);
}

.haam-ins__form--compact {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.haam-ins__form--compact .haam-ins__field {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.haam-ins__label-row {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 0;
}

.haam-ins__label-text {
	min-width: 0;
	line-height: 1.45;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.haam-ins__step-num {
	flex: 0 0 auto;
	width: auto;
	height: auto;
	display: inline;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.45;
	color: var(--ins-muted);
}

.haam-ins__form--compact .haam-ins__control,
.haam-ins__form--compact input.haam-ins__control,
.haam-ins__form--compact select.haam-ins__control {
	display: block;
	width: 100%;
	max-width: none;
	min-height: 0;
	margin: 0;
	padding: 8px 0 12px;
	border: 0;
	border-bottom: 1.5px solid rgba(26, 21, 50, 0.22);
	border-radius: 0;
	background: transparent;
	color: var(--ins-ink);
	font: inherit;
	font-weight: 400;
	font-size: 1.05rem;
	line-height: 1.5;
	outline: none;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.haam-ins__form--compact select.haam-ins__control {
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%231a1532' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 2px center;
	padding-inline-end: 0;
	padding-inline-start: 1.25rem;
}

.haam-ins__form--compact .haam-ins__control:focus {
	outline: none;
	border-bottom-color: var(--ins-ink);
	box-shadow: 0 2px 0 0 var(--ins-brand);
}

.haam-ins__form--compact input[type="number"].haam-ins__control {
	-moz-appearance: textfield;
}

.haam-ins__form--compact input[type="number"].haam-ins__control::-webkit-outer-spin-button,
.haam-ins__form--compact input[type="number"].haam-ins__control::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.haam-ins__form--compact .haam-ins__hint {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.55;
	color: rgba(92, 87, 112, 0.78);
}

.haam-ins__control--sm,
.haam-ins__control--md {
	width: 100%;
}

.haam-ins__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
}

.haam-ins__tab {
	appearance: none;
	border: 1px solid var(--ins-ink);
	border-radius: 6px;
	background: #fff;
	color: var(--ins-ink);
	font: inherit;
	font-weight: 700;
	font-size: 0.9rem;
	padding: 10px 16px;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.haam-ins__tab.is-active,
.haam-ins__tab:hover {
	background: var(--ins-brand);
}

.haam-ins__panel[hidden] {
	display: none !important;
}

.haam-ins__field {
	margin: 0 0 16px;
}

.haam-ins__field label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--ins-ink);
}

.haam-ins__field label.haam-ins__label-row {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 0;
	font-size: inherit;
	font-weight: inherit;
}

.haam-ins__field input,
.haam-ins__field select,
.haam-ins__field textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid var(--ins-line);
	border-radius: 6px;
	background: #fff;
	color: var(--ins-ink);
	font: inherit;
	font-size: 0.95rem;
}

.haam-ins__form--compact .haam-ins__field input.haam-ins__control,
.haam-ins__form--compact .haam-ins__field select.haam-ins__control {
	width: 100%;
	min-height: 0;
	padding: 8px 0 12px;
	border: 0;
	border-bottom: 1.5px solid rgba(26, 21, 50, 0.22);
	border-radius: 0;
	background: transparent;
	font-size: 1.05rem;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
}

.haam-ins__form--compact .haam-ins__field select.haam-ins__control {
	cursor: pointer;
	background-color: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%231a1532' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 2px center;
	padding-inline-start: 1.25rem;
}

.haam-ins__form--compact .haam-ins__field input.haam-ins__control:focus,
.haam-ins__form--compact .haam-ins__field select.haam-ins__control:focus {
	outline: none;
	border-bottom-color: var(--ins-ink);
	box-shadow: 0 2px 0 0 var(--ins-brand);
}

.haam-ins__field textarea {
	min-height: 110px;
	resize: vertical;
}

.haam-ins__field input:focus,
.haam-ins__field select:focus,
.haam-ins__field textarea:focus {
	outline: 2px solid var(--ins-brand);
	outline-offset: 1px;
}

.haam-ins__hint {
	margin: 6px 0 0;
	font-size: 0.8rem;
	color: var(--ins-muted);
}

.haam-ins__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.haam-ins__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 22px;
	border: 1px solid var(--ins-ink);
	border-radius: 6px;
	background: var(--ins-brand);
	color: var(--ins-ink) !important;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.haam-ins__btn:hover {
	background: var(--ins-brand-2);
	transform: translateY(-1px);
}

.haam-ins__btn--ghost {
	background: #fff;
}

.haam-ins__btn--ghost:hover {
	background: #fffdf2;
}

.haam-ins__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 8px;
}

.haam-ins__actions--after {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--ins-line);
}

.haam-ins__actions--stack {
	margin-top: 0;
	flex-direction: column;
	align-items: stretch;
}

.haam-ins__actions--stack .haam-ins__btn {
	width: 100%;
}

.haam-ins__result {
	padding: 22px;
	border: 1px solid var(--ins-ink);
	border-radius: var(--ins-radius);
	background: #fff;
}

.haam-ins__result--stack {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 100%;
	padding: 0;
	overflow: hidden;
}

.haam-ins__result-body {
	flex: 1 1 auto;
	padding: 22px;
}

.haam-ins__result-foot {
	margin-top: auto;
	padding: 16px 22px 20px;
	border-top: 1px solid var(--ins-line);
	background: rgba(235, 209, 26, 0.14);
}

.haam-ins__result-kicker {
	margin: 0 0 8px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--ins-muted);
}

.haam-ins__result-label {
	margin: 0 0 6px;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.5;
	color: var(--ins-ink);
}

.haam-ins__result-value {
	margin: 0 0 6px;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1.15;
	background: linear-gradient(180deg, transparent 62%, rgba(235, 209, 26, 0.75) 62%);
	display: inline-block;
	padding: 0 4px;
}

.haam-ins__result-list {
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.haam-ins__result-list li {
	position: relative;
	padding-inline-start: 1rem;
	font-size: 0.92rem;
	line-height: 1.7;
	color: var(--ins-muted);
}

.haam-ins__result-list li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0.65em;
	width: 6px;
	height: 6px;
	border-radius: 1px;
	background: var(--ins-brand);
	border: 1px solid var(--ins-ink);
}

.haam-ins__result-note {
	margin: 10px 0 0;
	font-size: 0.95rem;
	line-height: 1.75;
	color: var(--ins-muted);
}

.haam-ins__pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	padding: 8px 14px;
	border: 1px solid var(--ins-ink);
	border-radius: 999px;
	background: var(--ins-brand);
	font-size: 0.88rem;
	font-weight: 800;
}

.haam-ins__quiz-q {
	margin: 0 0 14px;
	font-size: 1.05rem;
	font-weight: 800;
}

.haam-ins__choices {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.haam-ins__choice {
	appearance: none;
	width: 100%;
	text-align: right;
	padding: 14px 16px;
	border: 1px solid var(--ins-line);
	border-radius: 6px;
	background: #fff;
	color: var(--ins-ink);
	font: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.haam-ins__choice:hover,
.haam-ins__choice.is-selected {
	border-color: var(--ins-ink);
	background: #fffdf2;
}

.haam-ins__progress {
	margin: 0 0 18px;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--ins-muted);
}

/* Score card visual */
.haam-ins-card-stage {
	display: flex;
	justify-content: center;
}

.haam-ins-sharecard {
	width: min(100%, 420px);
	aspect-ratio: 1 / 1;
	padding: 28px;
	border: 2px solid var(--ins-ink);
	border-radius: 12px;
	background:
		radial-gradient(circle at 20% 10%, rgba(235, 209, 26, 0.55), transparent 45%),
		linear-gradient(160deg, #fff 0%, #f7f5ef 100%);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-shadow: 0 18px 40px -28px rgba(26, 21, 50, 0.45);
}

.haam-ins-sharecard__brand {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 900;
	letter-spacing: 0.04em;
}

.haam-ins-sharecard__label {
	margin: 4px 0 0;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--ins-muted);
}

.haam-ins-sharecard__score {
	margin: 0;
	font-size: clamp(3.2rem, 12vw, 4.6rem);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.04em;
}

.haam-ins-sharecard__level {
	margin: 10px 0 0;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.45;
}

.haam-ins-sharecard__org {
	margin: 8px 0 0;
	font-size: 0.9rem;
	color: var(--ins-muted);
	font-weight: 600;
}

.haam-ins-sharecard__foot {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--ins-muted);
}

/* Report */
.haam-ins-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 28px;
}

.haam-ins-stat {
	padding: 18px 14px;
	border: 1px solid var(--ins-ink);
	border-radius: var(--ins-radius);
	background: #fff;
	text-align: center;
}

.haam-ins-stat__n {
	display: block;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 900;
	line-height: 1.2;
	margin-bottom: 6px;
	background: linear-gradient(180deg, transparent 65%, rgba(235, 209, 26, 0.7) 65%);
}

.haam-ins-stat__l {
	font-size: 0.82rem;
	line-height: 1.55;
	color: var(--ins-muted);
	font-weight: 600;
}

.haam-ins-findings {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.haam-ins-findings li {
	padding: 18px 20px;
	border: 1px solid var(--ins-line);
	border-radius: var(--ins-radius);
	background: #fff;
}

.haam-ins-findings h3 {
	margin: 0 0 8px;
	font-size: 1.05rem;
	font-weight: 800;
}

.haam-ins-findings p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.75;
	color: var(--ins-muted);
}

/* Knowledge */
.haam-ins-search {
	margin-bottom: 22px;
}

.haam-ins-terms {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.haam-ins-terms > li {
	margin: 0;
	min-width: 0;
}

.haam-ins-terms > li[hidden] {
	display: none !important;
}

.haam-ins-empty {
	margin: 8px 0 4px;
	padding: 28px 22px;
	border: 1px dashed rgba(26, 21, 50, 0.28);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.55);
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.8;
	color: var(--ins-muted);
	text-align: center;
}

.haam-ins-empty[hidden] {
	display: none !important;
}

.haam-ins-term {
	display: flex;
	flex-direction: column;
	min-height: 200px;
	height: 100%;
	padding: 32px 28px;
	border: 1px solid #1a1532;
	border-radius: 8px;
	background: #fff;
	box-sizing: border-box;
	color: inherit !important;
	text-decoration: none !important;
	transition: transform 0.2s ease, background 0.2s ease;
	cursor: pointer;
}

a.haam-ins-term:hover {
	transform: translateY(-2px);
	background: rgba(255, 255, 255, 0.92);
}

.haam-ins-term__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}

.haam-ins-term__tag {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	margin: 0;
	padding: 4px 12px;
	border: 1px solid #1a1532;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 800;
	background: var(--ins-brand);
	line-height: 1.3;
	white-space: nowrap;
	color: #1a1532;
}

.haam-ins-term__name {
	margin: 0;
	flex: 1 1 auto;
	min-width: 0;
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.35;
	color: #1a1532;
}

.haam-ins-term__def {
	margin: 0;
	flex: 1 1 auto;
	font-size: 0.98rem;
	line-height: 1.85;
	color: var(--ins-muted);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

/* Pager */
.haam-ins-pager {
	margin-top: 28px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.haam-ins-pager__pages {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.haam-ins-pager__num {
	appearance: none;
	min-width: 40px;
	min-height: 40px;
	padding: 0 10px;
	border: 1px solid #1a1532;
	border-radius: 6px;
	background: #fff;
	color: #1a1532;
	font: inherit;
	font-weight: 800;
	font-size: 0.95rem;
	cursor: pointer;
	transition: background 0.15s ease;
}

.haam-ins-pager__num:hover,
.haam-ins-pager__num.is-active {
	background: var(--ins-brand);
}

.haam-ins-pager__note {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--ins-muted);
}

.haam-ins-pager__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* SEO / FAQ below shell */
.haam-ins--seo {
	padding-top: 0;
}

.haam-ins-seo-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

.haam-ins-seo-card {
	padding: 28px 24px;
	border: 1px solid #1a1532;
	border-radius: 8px;
	background: #fff;
	min-height: 160px;
	box-sizing: border-box;
}

.haam-ins-seo-card__title {
	margin: 0 0 12px;
	font-size: 1.05rem;
	font-weight: 800;
	color: #1a1532;
}

.haam-ins-seo-card__text {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.8;
	color: var(--ins-muted);
}

.haam-ins-faq {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.haam-ins-faq__item {
	border: 1px solid #1a1532;
	border-radius: 8px;
	background: #fff;
	padding: 0;
	overflow: hidden;
}

.haam-ins-faq__q {
	list-style: none;
	cursor: pointer;
	padding: 18px 22px;
	font-size: 1rem;
	font-weight: 800;
	color: #1a1532;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.haam-ins-faq__q::-webkit-details-marker {
	display: none;
}

.haam-ins-faq__q::after {
	content: "+";
	flex: 0 0 auto;
	font-weight: 900;
	font-size: 1.2rem;
	line-height: 1;
}

.haam-ins-faq__item[open] .haam-ins-faq__q::after {
	content: "–";
}

.haam-ins-faq__a {
	margin: 0;
	padding: 0 22px 20px;
	font-size: 0.95rem;
	line-height: 1.85;
	color: var(--ins-muted);
}

/* Suggest term */
.haam-ins-suggest {
	margin-top: 32px;
	padding-top: 28px;
	border-top: 1px solid rgba(26, 21, 50, 0.14);
}

.haam-ins-suggest__title {
	margin: 0 0 8px;
	font-size: 1.15rem;
	font-weight: 800;
	color: #1a1532;
}

.haam-ins-suggest__lead {
	margin: 0 0 18px;
	font-size: 0.92rem;
	line-height: 1.7;
	color: var(--ins-muted);
}

.haam-ins-suggest__flash {
	margin: 0 0 14px;
	padding: 12px 14px;
	border: 1px solid #1a1532;
	border-radius: 6px;
	font-size: 0.92rem;
	font-weight: 700;
}

.haam-ins-suggest__flash--ok {
	background: #fffdf2;
}

.haam-ins-suggest__flash--err {
	background: #fff5f5;
}

.haam-ins-suggest__honey {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.haam-ins-suggest__form .haam-ins__field {
	margin-bottom: 14px;
}

.haam-ins-suggest__form > .haam-ins__btn {
	display: flex;
	margin-inline-start: auto;
}

.haam-gloss-single__block {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--ins-line);
}

.haam-gloss-single__block--intro {
	margin-top: 18px;
	padding-top: 0;
	border-top: none;
}

.haam-gloss-single__heading {
	margin: 0 0 12px;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: var(--ins-ink);
}

.haam-gloss-single__intro {
	margin: 0;
	font-size: clamp(1.05rem, 1.8vw, 1.2rem);
	font-weight: 400;
	line-height: 1.85;
	color: var(--ins-ink);
}

.haam-gloss-single__actions {
	margin-top: 32px;
}

.haam-ins-gloss-body {
	font-size: 1rem;
	line-height: 1.85;
	color: var(--ins-muted);
}

.haam-ins-gloss-body > *:first-child {
	margin-top: 0;
}

.haam-ins-gloss-body > *:last-child {
	margin-bottom: 0;
}

.haam-ins-gloss-body p {
	margin: 0 0 1em;
}

.haam-ins-gloss-body ul,
.haam-ins-gloss-body ol {
	margin: 0 0 1em;
	padding-inline-start: 1.25em;
}

.haam-ins-section-title {
	margin: 0 0 14px;
	font-size: 1.35rem;
	font-weight: 800;
	color: #1a1532;
}

.haam-ins-section-lead {
	margin: -6px 0 18px;
	font-size: 0.95rem;
	color: var(--ins-muted);
	line-height: 1.7;
}

/* —— رادار AI —— */
.haam-radar__hero {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
	gap: clamp(20px, 3.5vw, 36px);
	align-items: stretch;
	margin: 0 0 28px;
}

.haam-radar__hero-copy .haam-ins__title {
	margin-bottom: 12px;
}

.haam-radar__lead-text,
#haam-ins-radar .haam-ins__lead {
	max-width: none;
	margin-bottom: 22px;
}

.haam-radar__hero-panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 22px 24px;
	border: 1px solid var(--ins-ink);
	border-radius: var(--ins-radius);
	background: linear-gradient(160deg, #fff 0%, var(--ins-soft) 100%);
}

.haam-radar__hero-kicker {
	margin: 0 0 12px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--ins-muted);
}

.haam-radar__hero-steps {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.haam-radar__hero-steps li {
	position: relative;
	padding-inline-start: 1.1rem;
	font-size: 0.92rem;
	line-height: 1.65;
	color: var(--ins-ink);
}

.haam-radar__hero-steps li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border: 1px solid var(--ins-ink);
	background: var(--ins-brand);
}

.haam-radar__step {
	margin: 0;
}

.haam-radar__label {
	display: block;
	margin-bottom: 8px;
	font-size: 0.88rem;
	font-weight: 700;
}

.haam-radar__select {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--ins-ink);
	border-radius: 6px;
	background: #fff;
	color: var(--ins-ink);
	font: inherit;
	font-size: 1rem;
}

.haam-radar__intro,
.haam-radar__disclaimer {
	margin: 0 0 16px;
	max-width: none;
	font-size: 0.95rem;
	line-height: 1.85;
	color: var(--ins-muted);
}

.haam-radar__disclaimer {
	padding: 12px 14px;
	border-inline-start: 3px solid var(--ins-brand);
	background: rgba(255, 255, 255, 0.55);
}

.haam-radar__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(18px, 3vw, 28px);
	align-items: start;
	margin: 8px 0 28px;
}

.haam-radar__layout-head {
	grid-column: 1 / -1;
}

.haam-radar__list-wrap,
.haam-radar__detail,
.haam-radar__list {
	min-width: 0;
}

.haam-radar__h2 {
	margin: 0 0 8px;
	font-size: 1.15rem;
	font-weight: 800;
}

.haam-radar__hint {
	margin: 0 0 14px;
	font-size: 0.86rem;
	line-height: 1.7;
	color: var(--ins-muted);
}

.haam-radar__layout-head .haam-radar__hint {
	margin-bottom: 0;
}

.haam-radar__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.haam-radar__item {
	appearance: none;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--ins-line);
	border-radius: 6px;
	background: #fff;
	color: var(--ins-ink);
	font: inherit;
	text-align: right;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.haam-radar__item:hover,
.haam-radar__item.is-active {
	border-color: var(--ins-ink);
	background: linear-gradient(135deg, #fff 0%, var(--ins-soft) 100%);
}

.haam-radar__item-rank {
	flex: 0 0 auto;
	width: 1.75rem;
	height: 1.75rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--ins-ink);
	border-radius: 6px;
	background: var(--ins-brand);
	font-size: 0.8rem;
	font-weight: 800;
}

.haam-radar__item-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.haam-radar__item-title {
	font-weight: 800;
	font-size: 0.95rem;
	line-height: 1.45;
}

.haam-radar__item-scores {
	font-size: 0.8rem;
	color: var(--ins-muted);
}

.haam-radar__detail {
	padding: 22px;
	border: 1px solid var(--ins-ink);
	border-radius: var(--ins-radius);
	background: #fff;
	position: sticky;
	top: 88px;
	align-self: start;
}

.haam-radar__detail-empty {
	margin: 0;
	color: var(--ins-muted);
	line-height: 1.75;
	font-size: 0.95rem;
}

.haam-radar__kicker {
	margin: 0 0 8px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--ins-muted);
}

.haam-radar__detail-title {
	margin: 0 0 10px;
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.4;
}

.haam-radar__summary {
	margin: 0 0 16px;
	font-size: 0.92rem;
	line-height: 1.8;
	color: var(--ins-muted);
}

.haam-radar__scores {
	margin: 0 0 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.haam-radar__scores dt {
	margin: 0 0 4px;
	font-size: 0.82rem;
	font-weight: 800;
}

.haam-radar__scores dd {
	margin: 0;
}

.haam-radar__stars {
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-bottom: 4px;
}

.haam-radar__score-note {
	display: block;
	font-size: 0.82rem;
	line-height: 1.65;
	color: var(--ins-muted);
}

.haam-radar__meta p {
	margin: 0 0 10px;
	font-size: 0.9rem;
	line-height: 1.75;
}

.haam-radar__phases {
	margin: 0 0 28px;
	padding-top: 8px;
}

.haam-radar__phases-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 28px;
}

.haam-radar__phase {
	padding: 14px 0;
	border-bottom: 1px solid var(--ins-line);
}

.haam-radar__phase:last-child {
	border-bottom: 0;
}

.haam-radar__phase h3 {
	margin: 0 0 6px;
	font-size: 0.95rem;
	font-weight: 800;
}

.haam-radar__phase p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.75;
	color: var(--ins-muted);
}

.haam-radar__lead {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(18px, 3vw, 28px);
	align-items: start;
	padding-top: 22px;
	border-top: 1px solid var(--ins-line);
}

.haam-radar__lead-copy .haam-radar__hint {
	margin-bottom: 0;
	max-width: none;
}

.haam-radar__form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: none;
	width: 100%;
}

.haam-radar__form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.haam-radar__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	font-size: 0.82rem;
	font-weight: 700;
}

.haam-radar__field input,
.haam-radar__field textarea {
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 8px 0 12px;
	border: 0;
	border-bottom: 1.5px solid rgba(26, 21, 50, 0.22);
	border-radius: 0;
	background: transparent;
	color: var(--ins-ink);
	font: inherit;
	font-weight: 400;
	font-size: 1rem;
	outline: none;
}

.haam-radar__field input:focus,
.haam-radar__field textarea:focus {
	border-bottom-color: var(--ins-ink);
	box-shadow: 0 2px 0 0 var(--ins-brand);
}

.haam-radar__form-status {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.6;
}

.haam-radar__form-status.is-ok {
	color: #065f46;
}

.haam-radar__form-status.is-err {
	color: #9b1c1c;
}

@media (max-width: 800px) {
	.haam-ins__shell,
	.haam-insights-page > .haam-mag-breadcrumb {
		width: min(1180px, calc(100% - 24px));
	}

	.haam-ins__picker,
	.haam-ins__grid,
	.haam-ins__grid--roi,
	.haam-radar__hero,
	.haam-radar__layout,
	.haam-radar__lead,
	.haam-radar__phases-grid,
	.haam-radar__form-row,
	.haam-ins__row,
	.haam-ins-terms,
	.haam-ins-stats,
	.haam-ins-seo-grid {
		grid-template-columns: 1fr;
	}

	.haam-ins__result--stack {
		height: auto;
		min-height: 0;
	}

	.haam-radar__detail {
		position: static;
	}

	.haam-radar__layout-head {
		grid-column: auto;
	}

	.haam-ins-term {
		min-height: 0;
	}

	.haam-ins-pager {
		flex-direction: column;
		align-items: stretch;
	}

	.haam-ins-pager__actions {
		justify-content: stretch;
	}

	.haam-ins-pager__actions .haam-ins__btn {
		flex: 1 1 auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.haam-ins__btn,
	.haam-ins__tab,
	.haam-ins__pick {
		transition: none;
	}

	.haam-ins__btn:hover,
	.haam-ins__pick:hover {
		transform: none;
	}
}
