﻿/* ============================================================
   Calculator inaltime — pagina premium + formular
   Tokeni: :root --cc-color-* din child; Blocksy --theme-*.
   ============================================================ */

.cc-ht-skip {
	position: absolute;
	left: -9999px;
	z-index: 100;
	padding: 0.5rem 1rem;
	background: var(--theme-button-background-initial-color, var(--theme-palette-color-1, var(--cc-color-brand, #23d3d3)));
	color: var(--theme-button-text-initial-color, #fff);
	font-weight: 700;
	border-radius: 0 0 8px 0;
}

.cc-ht-skip:focus {
	left: 0;
	top: 0;
	outline: 2px solid var(--theme-palette-color-2, var(--cc-color-brand-dark, #18b9b9));
	outline-offset: 2px;
}

.cc-ht {
	box-sizing: border-box;
	width: 100%;
	max-width: 520px;
	margin: 0 auto;
	padding: clamp(1rem, 2.5vw, 1.4rem);
	border-radius: var(--theme-border-radius, 12px);
	background: var(--theme-palette-color-8, var(--cc-color-bg-card, #fff));
	color: var(--theme-text-color, var(--cc-color-text-main, #1f2933));
	border: 1px solid var(--theme-border-color, var(--cc-color-border-soft, rgba(154, 164, 178, 0.4)));
	box-shadow: var(--theme-box-shadow, var(--cc-shadow-soft, 0 1px 3px rgba(15, 23, 42, 0.08)));
	font-size: 0.9375rem;
	line-height: 1.5;
}

.cc-ht--in-hero {
	max-width: none;
	margin: 0;
	box-shadow: none;
	background: linear-gradient(
		165deg,
		var(--theme-palette-color-8, #fff) 0%,
		color-mix(in srgb, var(--theme-palette-color-7, #f8fafc) 72%, #fff) 100%
	);
	border: 1px solid color-mix(in srgb, var(--theme-palette-color-1, var(--cc-color-brand, #23d3d3)) 14%, transparent);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--theme-palette-color-1, var(--cc-color-brand, #23d3d3)) 10%, transparent);
}

.cc-ht-hero .cc-ht.cc-ht--in-hero {
	background: var(--cc-color-bg-card, #fff);
	border: 1px solid var(--theme-border-color, var(--cc-color-border-soft, rgba(154, 164, 178, 0.4)));
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
	padding: clamp(1rem, 2.5vw, 1.35rem);
}

.cc-ht__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1rem, 2.2vw, 1.15rem);
	font-weight: 700;
	color: var(--theme-heading-color, var(--cc-color-heading, #121826));
}

.cc-ht__lead {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	color: var(--theme-text-color, var(--cc-color-text-muted, #9aa4b2));
}

.cc-ht__sublabel {
	display: block;
	font-weight: 600;
	font-size: 0.8125rem;
	margin-bottom: 0.4rem;
	color: var(--theme-text-color, var(--cc-color-text-muted, #9aa4b2));
}

.cc-ht__row--date {
	margin-bottom: 1rem;
}

.cc-ht__date-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.75fr 0.85fr;
	gap: 0.45rem;
}

@media (max-width: 480px) {
	.cc-ht__date-grid {
		grid-template-columns: 1fr;
	}
}

.cc-ht__group {
	margin-bottom: 1rem;
}

.cc-ht__label {
	display: block;
	font-weight: 600;
	font-size: 0.8125rem;
	margin-bottom: 0.35rem;
	color: var(--theme-text-color, var(--cc-color-text-muted, #9aa4b2));
}

.cc-ht__select {
	width: 100%;
	min-height: var(--theme-form-field-height, 44px);
	padding: 0 0.65rem;
	border-radius: var(--theme-form-field-border-radius, 8px);
	border: 1px solid var(--theme-form-field-border-initial-color, var(--theme-border-color, #cbd5e1));
	background: var(--theme-palette-color-7, #f8fafc);
	color: var(--theme-text-color, var(--cc-color-text-main, #1f2933));
	font-size: 0.9375rem;
	font-family: inherit;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.cc-ht__select:focus {
	outline: none;
	border-color: var(--theme-palette-color-1, var(--cc-color-brand, #23d3d3));
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-palette-color-1, var(--cc-color-brand, #23d3d3)) 22%, transparent);
	background: var(--theme-palette-color-8, #fff);
}

.cc-ht__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.35rem;
}

.cc-ht__btn {
	flex: 1 1 160px;
	padding: 0.65rem 1rem;
	border: none;
	border-radius: var(--theme-button-border-radius, 8px);
	font-weight: 700;
	font-size: 0.875rem;
	cursor: pointer;
	background: var(--theme-button-background-initial-color, var(--theme-palette-color-1, var(--cc-color-brand, #23d3d3)));
	color: var(--theme-button-text-initial-color, #fff);
	transition: background 0.15s ease, transform 0.1s ease;
}

.cc-ht__btn:hover {
	background: var(--theme-button-background-hover-color, var(--theme-palette-color-2, var(--cc-color-brand-dark, #18b9b9)));
}

.cc-ht__btn:active {
	transform: scale(0.99);
}

.cc-ht__btn--ghost {
	background: transparent;
	color: var(--theme-text-color, #334155);
	border: 1px solid var(--theme-border-color, #cbd5e1);
}

.cc-ht__btn--ghost:hover {
	background: var(--theme-palette-color-7, #f1f5f9);
}

.cc-ht__error {
	margin: 0.65rem 0 0;
	color: #b45309;
	font-weight: 600;
	font-size: 0.875rem;
}

.cc-ht__results {
	margin-top: 1rem;
	padding: 1rem 1.05rem;
	border-radius: 14px;
	min-height: 0;
	background: linear-gradient(
		165deg,
		color-mix(in srgb, var(--cc-color-brand, #23d3d3) 6%, #f4f7fb) 0%,
		var(--cc-color-bg-soft, #f4f7fb) 100%
	);
	border: 1px solid color-mix(in srgb, var(--cc-color-brand, #23d3d3) 22%, var(--theme-border-color, rgba(154, 164, 178, 0.4)));
}

.cc-ht__results-title {
	margin: 0 0 0.65rem;
	font-size: 0.95rem;
	font-weight: 800;
	color: var(--theme-heading-color, var(--cc-color-heading, #121826));
}

.cc-ht__dl {
	margin: 0;
	display: grid;
	gap: 0.65rem;
}

.cc-ht__dl > div {
	display: grid;
	gap: 0.15rem;
}

.cc-ht__dl dt {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--theme-text-color, var(--cc-color-text-muted, #9aa4b2));
}

.cc-ht__dl dd {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.45;
	color: var(--theme-heading-color, var(--cc-color-heading, #121826));
}

.cc-ht__fine {
	margin: 1rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--theme-text-color, var(--cc-color-text-muted, #9aa4b2));
}

.cc-ht__visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ----- PaginÄƒ instrument ----- */
body.cc-ht-tool-page {
	--cc-sp-header-clear: 76px;
	--cc-ht-admin-offset: 0px;
}

@media (max-width: 991.98px) {
	body.cc-ht-tool-page {
		--cc-sp-header-clear: 88px;
	}
}

body.admin-bar.cc-ht-tool-page {
	--cc-ht-admin-offset: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar.cc-ht-tool-page {
		--cc-ht-admin-offset: 46px;
	}
}

.cc-ht-premium {
	max-width: 920px;
	margin: 0 auto 3rem;
	padding: clamp(2.75rem, 7vw, 4.5rem) clamp(0.5rem, 2vw, 0.25rem) 0;
}

#cc-ht-page-title,
#cc-ht-tool {
	scroll-margin-top: clamp(5.5rem, 14vh, 7.5rem);
}

body.cc-ht-tool-page .cc-ht-premium {
	padding-top: calc(var(--cc-sp-header-clear, 80px) + var(--cc-ht-admin-offset, 0px) + clamp(0.75rem, 2vw, 1.25rem));
}

body.cc-ht-tool-page #cc-ht-page-title,
body.cc-ht-tool-page #cc-ht-tool {
	scroll-margin-top: calc(var(--cc-sp-header-clear, 80px) + var(--cc-ht-admin-offset, 0px) + 0.75rem);
}

.cc-ht-premium__header {
	margin-bottom: clamp(1.25rem, 3vw, 2rem);
	text-align: center;
}

.cc-ht-premium__h1 {
	margin: 0 0 0.65rem;
	font-size: clamp(1.55rem, 4.2vw, 2.2rem);
	font-weight: 800;
	line-height: 1.18;
	color: var(--theme-heading-color, var(--cc-color-heading, #121826));
	letter-spacing: -0.025em;
}

.cc-ht-premium__sub {
	margin: 0 auto;
	max-width: 42rem;
	font-size: 1.05rem;
	color: var(--theme-text-color, var(--cc-color-text-muted, #9aa4b2));
	line-height: 1.55;
}

.cc-ht-hero {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1rem, 3vw, 2rem);
	align-items: stretch;
	margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
	padding: clamp(1.15rem, 3.2vw, 2rem);
	border-radius: 22px;
	background: linear-gradient(
		165deg,
		var(--cc-color-bg-soft, #f4f7fb) 0%,
		var(--cc-color-bg-page, #f9fbff) 55%,
		color-mix(in srgb, var(--cc-color-brand, #23d3d3) 7%, var(--cc-color-bg-page, #f9fbff)) 100%
	);
	border: 1px solid var(--theme-border-color, var(--cc-color-border-soft, rgba(154, 164, 178, 0.4)));
	box-shadow: var(--cc-shadow-soft, 0 18px 44px rgba(15, 32, 67, 0.06)), 0 1px 0 rgba(255, 255, 255, 0.92) inset;
}

@media (min-width: 768px) {
	.cc-ht-hero {
		grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
	}
}

.cc-ht-hero__panel {
	min-width: 0;
}

.cc-ht-hero__title {
	margin: 0 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--theme-text-color, var(--cc-color-text-muted, #9aa4b2));
}

.cc-ht-hero__hint {
	margin: 0 0 0.85rem;
	font-size: 0.93rem;
	color: var(--theme-text-color, var(--cc-color-text-muted, #9aa4b2));
	line-height: 1.5;
}

.cc-ht-hero__visual {
	position: relative;
	overflow: hidden;
	display: block;
	width: 100%;
	min-height: clamp(220px, 42vw, 320px);
	padding: 0;
	border-radius: 18px;
	background: linear-gradient(
		180deg,
		var(--cc-color-bg-page, #f9fbff) 0%,
		color-mix(in srgb, var(--cc-color-brand, #23d3d3) 5%, var(--cc-color-bg-soft, #f4f7fb)) 100%
	);
	border: 1px solid var(--theme-border-color, var(--cc-color-border-soft, rgba(154, 164, 178, 0.4)));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
	.cc-ht-hero__visual {
		/* Umple Ã®nÄƒlÈ›imea rÃ¢ndului din grilÄƒ (coloana din stÃ¢nga), fÄƒrÄƒ bandÄƒ goalÄƒ sub pozÄƒ */
		min-height: 0;
		height: 100%;
		align-self: stretch;
	}
}

.cc-ht-hero__photo {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	object-position: center 30%;
	border-radius: inherit;
}

.cc-ht-hero__visual--svg .cc-ht-hero__photo {
	object-fit: contain;
	object-position: center center;
	padding: clamp(0.5rem, 2vw, 1.25rem);
	background: linear-gradient(
		180deg,
		var(--cc-color-bg-page, #f9fbff) 0%,
		color-mix(in srgb, var(--cc-color-brand, #23d3d3) 6%, var(--cc-color-bg-soft, #f4f7fb)) 100%
	);
}

.cc-ht-toc {
	margin-bottom: clamp(1.5rem, 3vw, 2rem);
	padding: 1rem 1.15rem;
	border-radius: 14px;
	background: var(--cc-color-bg-card, #fff);
	border: 1px solid var(--theme-border-color, var(--cc-color-border-soft, rgba(154, 164, 178, 0.4)));
	font-size: 0.92rem;
}

.cc-ht-toc__label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--theme-text-color, var(--cc-color-text-muted, #9aa4b2));
}

.cc-ht-toc__list {
	margin: 0;
	padding-left: 1.25rem;
	display: grid;
	gap: 0.35rem;
}

.cc-ht-toc a {
	color: var(--theme-link-initial-color, var(--cc-color-brand-dark, #18b9b9));
	font-weight: 600;
	text-decoration: none;
}

.cc-ht-toc a:hover {
	text-decoration: underline;
}

.cc-ht-prose {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--theme-text-color, var(--cc-color-text-main, #1f2933));
}

.cc-ht-prose__lead {
	font-size: 1.08rem;
	font-weight: 600;
	color: var(--theme-heading-color, var(--cc-color-heading, #121826));
}

.cc-ht-prose p {
	margin: 0 0 1rem;
	text-align: justify;
	hyphens: auto;
}

.cc-ht-prose h2 {
	margin: 2rem 0 0.75rem;
	font-size: clamp(1.15rem, 2.5vw, 1.35rem);
	font-weight: 800;
	color: var(--theme-heading-color, var(--cc-color-heading, #121826));
	scroll-margin-top: 100px;
}

.cc-ht-prose h2:first-of-type {
	margin-top: 0.5rem;
}

.cc-ht-prose ul {
	margin: 0 0 1rem 1.1rem;
	padding: 0;
}

.cc-ht-prose li {
	margin-bottom: 0.35rem;
}

.cc-ht-prose a {
	color: var(--theme-link-initial-color, var(--cc-color-brand-dark, #18b9b9));
	font-weight: 600;
}

.cc-ht-prose a:hover {
	color: var(--theme-link-hover-color, var(--cc-color-brand, #23d3d3));
}

.cc-ht-prose__figure {
	margin: 1.25rem 0;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--theme-border-color, var(--cc-color-border-soft, rgba(154, 164, 178, 0.4)));
	background: var(--cc-color-bg-soft, #f4f7fb);
}

.cc-ht-prose__figure img {
	display: block;
	width: 100%;
	height: auto;
}

.cc-ht-prose__figure--svg svg {
	display: block;
	width: 100%;
	height: auto;
}

/* ----- Câmpuri specifice calculator înălțime ----- */
.cc-ht__input {
	width: 100%;
	min-height: var(--theme-form-field-height, 44px);
	padding: 0 0.65rem;
	border-radius: var(--theme-form-field-border-radius, 8px);
	border: 1px solid var(--theme-form-field-border-initial-color, var(--theme-border-color, #cbd5e1));
	background: var(--theme-palette-color-7, #f8fafc);
	color: var(--theme-text-color, var(--cc-color-text-main, #1f2933));
	font-size: 0.9375rem;
	font-family: inherit;
	box-sizing: border-box;
}

.cc-ht__input:focus {
	outline: none;
	border-color: var(--theme-palette-color-1, var(--cc-color-brand, #23d3d3));
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-palette-color-1, var(--cc-color-brand, #23d3d3)) 22%, transparent);
	background: var(--theme-palette-color-8, #fff);
}

.cc-ht__input::placeholder {
	color: color-mix(in srgb, var(--theme-text-color, #64748b) 42%, transparent);
	font-weight: 400;
	opacity: 1;
}

.cc-ht__input:focus::placeholder {
	opacity: 0;
}

.cc-ht__age-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.45rem;
}

.cc-ht__sex {
	display: block;
	margin: 0 0 1rem;
	padding: 0;
	border: none;
}

.cc-ht__sex legend {
	padding: 0;
}

.cc-ht__sex-toggle {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.35rem;
	padding: 0.25rem;
	border-radius: 10px;
	background: var(--theme-palette-color-7, #f1f5f9);
	border: 1px solid var(--theme-border-color, #e2e8f0);
}

.cc-ht__sex-opt {
	position: relative;
	margin: 0;
	cursor: pointer;
}

.cc-ht__sex-opt input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.cc-ht__sex-opt span {
	display: block;
	padding: 0.55rem 0.75rem;
	text-align: center;
	font-weight: 700;
	font-size: 0.875rem;
	border-radius: 8px;
	color: var(--theme-text-color, #64748b);
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.cc-ht__sex-opt input:checked + span {
	background: var(--theme-palette-color-8, #fff);
	color: var(--theme-heading-color, var(--cc-color-heading, #121826));
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1);
}

.cc-ht__sex-opt input:focus-visible + span {
	outline: 2px solid var(--theme-palette-color-1, var(--cc-color-brand, #23d3d3));
	outline-offset: 2px;
}

.cc-ht__field-hint {
	margin: 0 0 0.45rem;
	font-size: 0.8125rem;
	color: var(--theme-text-color, var(--cc-color-text-muted, #9aa4b2));
	line-height: 1.4;
}

.cc-ht__field-hint--required {
	color: #b45309;
	font-weight: 600;
}

.cc-ht__form {
	margin: 0;
}

.cc-ht--compact-head .cc-ht__title,
.cc-ht--compact-head .cc-ht__lead {
	display: none;
}

.cc-ht__btn--share {
	margin-top: 0.85rem;
	width: 100%;
	flex: none;
}

.cc-ht__parents-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.65rem 0.45rem;
}

.cc-ht__parent-field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 0;
}

.cc-ht__predicted {
	margin: 0 0 0.35rem;
	font-size: clamp(1.35rem, 3vw, 1.65rem);
	font-weight: 800;
	color: var(--theme-palette-color-1, var(--cc-color-brand-dark, #18b9b9));
}

.cc-ht__chart-wrap {
	margin-top: 0.85rem;
	padding-top: 0.65rem;
	border-top: 1px dashed var(--theme-border-color, rgba(154, 164, 178, 0.45));
}

.cc-ht__chart-host--girl {
	border-color: rgba(244, 114, 182, 0.55);
}

.cc-ht__chart-legend--girl .cc-ht__chart-legend-swatch--band {
	background: #fce7f3;
	border-color: #fecdd3;
}

.cc-ht__chart-legend--girl .cc-ht__chart-legend-swatch--p50 {
	background: #e11d48;
}

.cc-ht__chart-legend--girl .cc-ht__chart-legend-swatch--adult {
	background: #e11d48;
}

.cc-ht__chart-legend--girl .cc-ht__chart-legend-item--perc {
	color: #e11d48;
}

.cc-ht__chart-host {
	width: 100%;
	margin: 0.25rem 0 0.35rem;
	border-radius: 12px;
	overflow: hidden;
	background: var(--theme-palette-color-8, #fff);
	border: 1px solid var(--theme-border-color, rgba(154, 164, 178, 0.35));
	min-height: 220px;
}

.cc-ht__chart-svg {
	display: block;
	width: 100%;
	height: auto;
	min-height: 220px;
}

.cc-ht__chart-bg {
	fill: var(--theme-palette-color-8, #fff);
}

.cc-ht__chart-plot {
	fill: #fafbfc;
	stroke: none;
}

.cc-ht__chart-axis-line {
	stroke: #cbd5e1;
	stroke-width: 1.5;
}

.cc-ht__chart-grid {
	stroke: #e8edf2;
	stroke-width: 1;
}

.cc-ht__chart-tick {
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 11px;
	font-weight: 600;
	fill: #64748b;
}

.cc-ht__chart-curve-label {
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 9px;
	font-weight: 700;
	fill: #94a3b8;
}

.cc-ht__chart-curve-label--p50 {
	fill: var(--cc-color-brand-dark, #18b9b9);
	font-size: 10px;
}

.cc-ht__chart-label-bg {
	fill: rgba(255, 255, 255, 0.94);
	stroke: #e2e8f0;
	stroke-width: 0.75;
}

.cc-ht__chart-label {
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 10px;
	font-weight: 700;
	fill: #475569;
}

.cc-ht__chart-label--adult {
	fill: var(--cc-color-brand-dark, #18b9b9);
}

.cc-ht__chart-band {
	fill: #dff7f7;
	stroke: none;
}

.cc-ht__chart-p3,
.cc-ht__chart-p97 {
	fill: none;
	stroke: #7dd3d3;
	stroke-width: 1;
	stroke-dasharray: 4 3;
}

.cc-ht__chart-p50 {
	fill: none;
	stroke: var(--cc-color-brand-dark, #18b9b9);
	stroke-width: 2;
}

.cc-ht__chart-proj {
	stroke: #64748b;
	stroke-width: 1.5;
	stroke-dasharray: 5 4;
}

.cc-ht__chart-midparent {
	stroke: #a78bfa;
	stroke-width: 1.5;
	stroke-dasharray: 3 3;
}

.cc-ht__chart-adult-band {
	fill: rgba(35, 211, 211, 0.35);
	stroke: #23d3d3;
	stroke-width: 1;
}

.cc-ht__chart-dot--child {
	fill: #64748b;
	stroke: #fff;
	stroke-width: 2;
}

.cc-ht__chart-dot--adult {
	fill: var(--cc-color-brand, #23d3d3);
	stroke: #fff;
	stroke-width: 2.5;
}

.cc-ht__chart-axis {
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 11px;
	font-weight: 700;
	fill: #475569;
}

.cc-ht__chart-axis--y {
	font-size: 10px;
}

.cc-ht__chart-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin: 0.55rem 0 0;
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.5;
	color: var(--theme-text-color, var(--cc-color-text-muted, #9aa4b2));
}

.cc-ht__chart-legend-item {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.cc-ht__chart-legend-swatch {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 2px;
	flex-shrink: 0;
}

.cc-ht__chart-legend-swatch--band {
	background: #dff7f7;
	border: 1px solid #99f6e4;
}

.cc-ht__chart-legend-swatch--p50 {
	background: var(--cc-color-brand-dark, #18b9b9);
	border-radius: 1px;
	height: 3px;
	width: 14px;
	margin-top: 1px;
}

.cc-ht__chart-legend-swatch--child {
	background: #64748b;
	border-radius: 50%;
	width: 8px;
	height: 8px;
}

.cc-ht__chart-legend-swatch--adult {
	background: var(--cc-color-brand, #23d3d3);
	border-radius: 50%;
	width: 8px;
	height: 8px;
}

.cc-ht__chart-legend-item--perc {
	font-weight: 800;
	color: var(--cc-color-brand-dark, #18b9b9);
}

.cc-ht__bar-wrap {
	margin-top: 0.85rem;
	padding-top: 0.65rem;
	border-top: 1px dashed var(--theme-border-color, rgba(154, 164, 178, 0.45));
}

.cc-ht__bar-label {
	margin: 0 0 0.35rem;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--theme-text-color, var(--cc-color-text-muted, #9aa4b2));
}

.cc-ht__bar {
	position: relative;
	height: 14px;
	border-radius: 999px;
	background: linear-gradient(
		90deg,
		color-mix(in srgb, var(--cc-color-brand, #23d3d3) 12%, #e2e8f0) 0%,
		color-mix(in srgb, var(--cc-color-brand, #23d3d3) 28%, #e2e8f0) 50%,
		color-mix(in srgb, var(--cc-color-brand, #23d3d3) 12%, #e2e8f0) 100%
	);
}

.cc-ht__bar-scale {
	display: flex;
	justify-content: space-between;
	margin: 0 0 0.3rem;
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--theme-text-color, var(--cc-color-text-muted, #9aa4b2));
}

.cc-ht__bar-band {
	position: absolute;
	top: 50%;
	height: 18px;
	margin-top: -9px;
	border-radius: 6px;
	background: color-mix(in srgb, var(--cc-color-brand, #23d3d3) 28%, transparent);
	border: 1px solid color-mix(in srgb, var(--cc-color-brand, #23d3d3) 45%, transparent);
	pointer-events: none;
	transition: left 0.35s ease, width 0.35s ease;
}

.cc-ht__bar-marker {
	position: absolute;
	top: 50%;
	width: 16px;
	height: 16px;
	margin: -8px 0 0 -8px;
	border-radius: 50%;
	border: 3px solid #fff;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
	transition: left 0.35s ease;
}

.cc-ht__bar-marker--current {
	background: #64748b;
	z-index: 2;
}

.cc-ht__bar-marker--predicted {
	background: var(--theme-palette-color-1, var(--cc-color-brand, #23d3d3));
	z-index: 3;
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
}

.cc-ht__bar-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1rem;
	margin: 0.5rem 0 0;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--theme-text-color, var(--cc-color-text-muted, #9aa4b2));
}

.cc-ht__bar-legend-item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.cc-ht__bar-legend-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.cc-ht__bar-legend-dot--current {
	background: #64748b;
}

.cc-ht__bar-legend-dot--predicted {
	background: var(--theme-palette-color-1, var(--cc-color-brand, #23d3d3));
}

.cc-ht__perc-wrap {
	margin-top: 0.75rem;
	padding-top: 0.65rem;
	border-top: 1px dashed var(--theme-border-color, rgba(154, 164, 178, 0.45));
}

.cc-ht__perc {
	position: relative;
	height: 10px;
	border-radius: 999px;
	overflow: hidden;
	display: flex;
}

.cc-ht__perc-zone {
	flex: 1;
}

.cc-ht__perc-zone--low {
	background: color-mix(in srgb, #f59e0b 35%, #fde68a);
}

.cc-ht__perc-zone--mid {
	background: color-mix(in srgb, var(--cc-color-brand, #23d3d3) 40%, #a7f3d0);
}

.cc-ht__perc-zone--high {
	background: color-mix(in srgb, #6366f1 35%, #c7d2fe);
}

.cc-ht__perc-marker {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 4px;
	height: 18px;
	margin: -9px 0 0 -2px;
	border-radius: 2px;
	background: var(--theme-heading-color, #121826);
	box-shadow: 0 0 0 2px #fff;
	transition: left 0.35s ease;
}

.cc-ht__perc-legend {
	margin: 0.35rem 0 0;
	font-size: 0.75rem;
	font-weight: 600;
	text-align: center;
	color: var(--theme-text-color, var(--cc-color-text-muted, #9aa4b2));
}

.cc-ht__bar-range {
	margin: 0.45rem 0 0;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--theme-text-color, var(--cc-color-text-muted, #9aa4b2));
	text-align: center;
}

/* ----- Tabel + FAQ (SEO articol) ----- */
.cc-ht-prose__table-wrap {
	overflow-x: auto;
	margin: 1rem 0 1.25rem;
	border-radius: 12px;
	border: 1px solid var(--theme-border-color, var(--cc-color-border-soft, rgba(154, 164, 178, 0.4)));
}

.cc-ht-prose__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
	background: var(--cc-color-bg-card, #fff);
}

.cc-ht-prose__table-caption {
	caption-side: top;
	padding: 0.65rem 0.85rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--theme-text-color, var(--cc-color-text-muted, #9aa4b2));
	text-align: left;
}

.cc-ht-prose__table th,
.cc-ht-prose__table td {
	padding: 0.55rem 0.85rem;
	border-bottom: 1px solid var(--theme-border-color, #e2e8f0);
	text-align: left;
}

.cc-ht-prose__table th {
	background: color-mix(in srgb, var(--cc-color-brand, #23d3d3) 8%, #f8fafc);
	font-weight: 700;
	color: var(--theme-heading-color, var(--cc-color-heading, #121826));
}

.cc-ht-prose__table tbody tr:last-child td {
	border-bottom: none;
}

.cc-ht-prose ol {
	margin: 0 0 1rem 1.25rem;
	padding: 0;
}

.cc-ht-faq {
	display: grid;
	gap: 1rem;
	margin: 0 0 1.5rem;
}

.cc-ht-faq__item {
	padding: 0.85rem 1rem;
	border-radius: 12px;
	background: var(--cc-color-bg-soft, #f4f7fb);
	border: 1px solid var(--theme-border-color, var(--cc-color-border-soft, rgba(154, 164, 178, 0.35)));
}

.cc-ht-faq__q {
	margin: 0 0 0.4rem;
	font-size: 1rem;
	font-weight: 700;
	color: var(--theme-heading-color, var(--cc-color-heading, #121826));
}

.cc-ht-faq__a {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--theme-text-color, var(--cc-color-text-main, #1f2933));
}

.cc-ht-prose h3 {
	margin: 0;
	font-size: 1rem;
}

/* ----- Breadcrumb ----- */
.cc-ht-breadcrumb {
	margin: 0 0 1rem;
	font-size: 0.8125rem;
}

.cc-ht-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cc-ht-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	color: var(--theme-text-color, var(--cc-color-text-muted, #9aa4b2));
}

.cc-ht-breadcrumb__item + .cc-ht-breadcrumb__item::before {
	content: "/";
	margin-right: 0.35rem;
	color: var(--theme-border-color, #cbd5e1);
}

.cc-ht-breadcrumb__link {
	color: var(--theme-link-initial-color, var(--cc-color-brand-dark, #18b9b9));
	font-weight: 600;
	text-decoration: none;
}

.cc-ht-breadcrumb__link:hover {
	text-decoration: underline;
}

.cc-ht-breadcrumb__current {
	font-weight: 600;
	color: var(--theme-heading-color, var(--cc-color-heading, #121826));
}

/* ----- Modal rezultat + share ----- */
body.cc-ht-surprise-open {
	overflow: hidden;
}

.cc-ht-surprise {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(0.75rem, 4vw, 1.5rem);
	box-sizing: border-box;
}

.cc-ht-surprise[hidden] {
	display: none;
}

.cc-ht-surprise__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(4px);
}

.cc-ht-surprise__dialog {
	position: relative;
	width: min(100%, 400px);
	max-height: min(92vh, 580px);
	overflow: auto;
	background: var(--cc-color-bg-card, #fff);
	border-radius: 22px;
	box-shadow: 0 28px 80px rgba(15, 23, 42, 0.35);
	transform: scale(0.92) translateY(12px);
	opacity: 0;
	animation: ccHtSurpriseIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes ccHtSurpriseIn {
	to {
		transform: scale(1) translateY(0);
		opacity: 1;
	}
}

.cc-ht-surprise__hero {
	padding: 1.75rem 1.25rem 1.25rem;
	text-align: center;
	background: linear-gradient(
		165deg,
		color-mix(in srgb, var(--cc-color-brand, #23d3d3) 88%, #fff) 0%,
		var(--cc-color-brand, #23d3d3) 50%,
		var(--cc-color-brand-dark, #18b9b9) 100%
	);
	color: #fff;
	border-radius: 22px 22px 0 0;
}

.cc-ht-surprise__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	opacity: 0.9;
}

.cc-ht-surprise__h2 {
	margin: 0;
	font-size: clamp(2rem, 8vw, 2.75rem);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.cc-ht-surprise__range {
	margin: 0.5rem 0 0;
	font-size: 1rem;
	font-weight: 700;
	opacity: 0.95;
}

.cc-ht-surprise__method {
	margin: 0.35rem 0 0;
	font-size: 0.8125rem;
	opacity: 0.85;
}

.cc-ht-surprise__x {
	position: absolute;
	top: 10px;
	right: 12px;
	z-index: 5;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.cc-ht-surprise__x:hover {
	background: rgba(255, 255, 255, 0.35);
}

.cc-ht-surprise__lead {
	margin: 0;
	padding: 1rem 1.15rem 0.5rem;
	font-size: 0.9rem;
	text-align: center;
	color: var(--theme-text-color, var(--cc-color-text-muted, #64748b));
	line-height: 1.5;
}

.cc-ht-surprise__share {
	display: flex;
	justify-content: center;
	gap: 0.65rem;
	padding: 0.5rem 1rem 1rem;
}

.cc-ht-surprise__soc {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cc-ht-surprise__soc:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
}

.cc-ht-surprise__soc--fb {
	background: #1877f2;
}

.cc-ht-surprise__soc--wa {
	background: #25d366;
}

.cc-ht-surprise__soc--mail {
	background: #64748b;
}

.cc-ht-surprise__soc-ic {
	font-size: 1.1rem;
	line-height: 1;
}

.cc-ht-surprise__again {
	display: block;
	width: calc(100% - 2rem);
	margin: 0 1rem 1.25rem;
	padding: 0.7rem 1rem;
	border: none;
	border-radius: 10px;
	background: var(--theme-palette-color-7, #f1f5f9);
	color: var(--theme-heading-color, #121826);
	font-weight: 700;
	font-size: 0.875rem;
	cursor: pointer;
}

.cc-ht-surprise__again:hover {
	background: var(--theme-border-color, #e2e8f0);
}

