/**
 * Le bento card della home.
 *
 * Il modello e' la home di Stripe: card di dimensioni diverse affiancate, e
 * dentro ognuna non un'icona ma un pezzo di prodotto - un pannello bianco
 * con la sua ombra, sopra un velo di macchie colorate - che si muove.
 *
 * Fondo, raggio, ombra e griglia delle card stanno nelle classi globali di
 * Elementor (glimpse-bento, glimpse-bento-card...), dove si cambiano
 * dall'editor. Qui c'e' quello che una classe non sa dire: le vignette in
 * HTML, le animazioni, cosa succede al passaggio del puntatore.
 *
 * LE ANIMAZIONI. Lo stato scritto qui sotto e' quello FINALE: senza
 * JavaScript, o con le animazioni ridotte da sistema, la vignetta e' ferma e
 * completa. Il JavaScript del tema aggiunge in-attesa (tutto spento) e poi,
 * quando la card entra nello schermo o ci passa sopra il puntatore,
 * is-visibile: le animazioni partono dallo stato spento e arrivano a quello
 * finale. .elementor davanti vince sulle classi globali, qualunque foglio
 * arrivi per ultimo.
 */

/* ------------------------------------------------------------------ card */

.elementor .glimpse-bento-card {
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease;
}

.elementor .glimpse-bento-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 30px 60px -20px rgba(50, 50, 93, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.18);
}

/* La vignetta prende tutto lo spazio sopra il testo: la card grande occupa
   due righe della griglia ed e' piu' alta del suo contenuto, e senza questo
   il testo restava a meta' con un vuoto bianco sotto. */
.glimpse-bento-card > .elementor-widget-html {
	display: flex;
	flex: 1 1 auto;
	width: 100%;
}

.glimpse-bento-card > .elementor-widget-html > .tre-bento {
	flex: 1 1 auto;
}

/* -------------------------------------------------------------- vignetta */

.tre-bento {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 260px;
	padding: 40px 32px 12px;
	overflow: hidden;
	font-family: Figtree, system-ui, sans-serif;
	color: #14122b;
}

/* Il velo colorato dietro il pannello. Al passaggio del puntatore si gira e
   si dilata piano: e' il movimento di fondo, lento, sotto quello del
   pannello, piu' rapido. */
.tre-bento::before {
	content: "";
	position: absolute;
	inset: -20%;
	background:
		radial-gradient(38% 48% at 22% 32%, rgba(142, 197, 252, 0.6), transparent 70%),
		radial-gradient(38% 48% at 78% 22%, rgba(205, 180, 219, 0.6), transparent 70%),
		radial-gradient(44% 50% at 60% 88%, rgba(255, 207, 159, 0.55), transparent 70%);
	filter: blur(8px);
	transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tre-bento--citazione::before {
	background:
		radial-gradient(40% 50% at 18% 70%, rgba(152, 224, 200, 0.6), transparent 70%),
		radial-gradient(40% 50% at 82% 30%, rgba(142, 197, 252, 0.6), transparent 70%);
}

.tre-bento--sostegno::before {
	background:
		radial-gradient(40% 50% at 25% 25%, rgba(255, 207, 159, 0.6), transparent 70%),
		radial-gradient(40% 50% at 80% 75%, rgba(205, 180, 219, 0.62), transparent 70%);
}

.glimpse-bento-card:hover .tre-bento::before {
	transform: scale(1.1) rotate(4deg);
}

.tre-bento__pannello {
	position: relative;
	width: 100%;
	max-width: 470px;
	overflow: hidden;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 15px 35px rgba(50, 50, 93, 0.12), 0 5px 15px rgba(0, 0, 0, 0.06);
	transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s ease;
}

.glimpse-bento-card:hover .tre-bento__pannello {
	transform: translateY(-6px);
	box-shadow: 0 24px 48px rgba(50, 50, 93, 0.18), 0 8px 18px rgba(0, 0, 0, 0.07);
}

.tre-bento__testa {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 14px;
	background: linear-gradient(to right, rgba(142, 197, 252, 0.3), rgba(152, 224, 200, 0.28));
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
}

.tre-bento__base {
	color: #6e6c85;
	font-weight: 500;
	white-space: nowrap;
}

.tre-bento__etichetta {
	margin: 12px 14px 6px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: #6e6c85;
}

/* ------------------------------------------------------------- menzione */

.tre-bento__risposte {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 8px;
	margin: 0;
	padding: 14px;
	list-style: none;
}

.tre-bento__risposte li {
	position: relative;
	display: flex;
	align-items: flex-end;
	height: 48px;
	margin: 0;
	padding: 5px 7px;
	border-radius: 8px;
	background: #f3f2f8;
	font-size: 11px;
	line-height: 1.1;
}

.tre-bento__risposte li:nth-child(1)  { --i: 1; }
.tre-bento__risposte li:nth-child(2)  { --i: 2; }
.tre-bento__risposte li:nth-child(3)  { --i: 3; }
.tre-bento__risposte li:nth-child(4)  { --i: 4; }
.tre-bento__risposte li:nth-child(5)  { --i: 5; }
.tre-bento__risposte li:nth-child(6)  { --i: 6; }
.tre-bento__risposte li:nth-child(7)  { --i: 7; }
.tre-bento__risposte li:nth-child(8)  { --i: 8; }
.tre-bento__risposte li:nth-child(9)  { --i: 9; }
.tre-bento__risposte li:nth-child(10) { --i: 10; }

.tre-bento__risposte li i {
	position: absolute;
	top: 5px;
	left: 7px;
	font-size: 10px;
	font-style: normal;
	color: #9b99b0;
}

.tre-bento__risposte li.si {
	background: rgba(24, 0, 173, 0.09);
	box-shadow: inset 0 0 0 1.5px rgba(24, 0, 173, 0.5);
}

.tre-bento__risposte li.si span {
	color: #1800ad;
	font-weight: 600;
}

.tre-bento__esito {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 2px 16px 16px;
	font-size: 12px;
	line-height: 1.4;
	color: #45435c;
}

.tre-bento__cifra {
	font-size: 40px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -1px;
	color: #14122b;
	font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------ citazione */

.tre-bento__righe {
	display: grid;
	gap: 7px;
	padding: 16px 14px 2px;
}

.tre-bento__righe i {
	display: block;
	width: var(--l);
	height: 8px;
	border-radius: 4px;
	background: #ecebf3;
	transform-origin: left center;
}

.tre-bento__righe i:nth-child(1) { --i: 1; }
.tre-bento__righe i:nth-child(2) { --i: 2; }
.tre-bento__righe i:nth-child(3) { --i: 3; }
.tre-bento__righe i:nth-child(4) { --i: 4; }

.tre-bento__fonti,
.tre-bento__siti {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0 14px 16px;
	list-style: none;
}

.tre-bento__fonti li,
.tre-bento__siti li {
	margin: 0;
	padding: 5px 10px;
	border-radius: 999px;
	background: #f3f2f8;
	font-size: 12px;
	color: #45435c;
}

.tre-bento__fonti li:nth-child(1), .tre-bento__siti li:nth-child(1) { --i: 1; }
.tre-bento__fonti li:nth-child(2), .tre-bento__siti li:nth-child(2) { --i: 2; }
.tre-bento__fonti li:nth-child(3), .tre-bento__siti li:nth-child(3) { --i: 3; }
.tre-bento__siti li:nth-child(4) { --i: 4; }

.tre-bento__fonti li.tua {
	background: #d8f3e6;
	color: #0a6443;
	font-weight: 600;
	box-shadow: inset 0 0 0 1.5px rgba(10, 100, 67, 0.35);
}

.tre-bento__fonti li.tua em {
	margin-left: 4px;
	font-style: normal;
	font-weight: 500;
	opacity: 0.75;
}

/* ------------------------------------------------------------- sostegno */

.tre-bento__barra {
	display: flex;
	gap: 4px;
	height: 14px;
	margin: 20px 14px 10px;
}

.tre-bento__barra i {
	display: block;
	width: var(--q);
	height: 100%;
	border-radius: 4px;
	transform-origin: left center;
}

.tre-bento__barra .tue   { --i: 1; background: #1800ad; }
.tre-bento__barra .altre { --i: 2; background: #8ec5fc; }

.tre-bento__legenda {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	padding: 0 14px 12px;
	font-size: 12px;
	color: #45435c;
}

.tre-bento__legenda span {
	display: inline-flex;
	align-items: baseline;
	gap: 5px;
}

.tre-bento__legenda b {
	font-size: 18px;
	color: #14122b;
}

.tre-bento__legenda span::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: #8ec5fc;
}

.tre-bento__legenda .tue::before {
	background: #1800ad;
}

.tre-bento__siti li.altri {
	background: transparent;
	box-shadow: inset 0 0 0 1px #e1dff0;
}

/* ------------------------------------------------ i veli delle altre vignette */

.tre-bento--gemini::before {
	background:
		radial-gradient(40% 50% at 20% 30%, rgba(142, 197, 252, 0.65), transparent 70%),
		radial-gradient(40% 50% at 80% 75%, rgba(205, 180, 219, 0.6), transparent 70%);
}

.tre-bento--chatgpt::before {
	background:
		radial-gradient(40% 50% at 25% 70%, rgba(152, 224, 200, 0.7), transparent 70%),
		radial-gradient(40% 50% at 80% 25%, rgba(142, 197, 252, 0.45), transparent 70%);
}

.tre-bento--claude::before {
	background:
		radial-gradient(40% 50% at 22% 28%, rgba(255, 207, 159, 0.7), transparent 70%),
		radial-gradient(40% 50% at 78% 78%, rgba(205, 180, 219, 0.55), transparent 70%);
}

.tre-bento--pagine-citate::before,
.tre-bento--parole::before,
.tre-bento--report::before {
	background:
		radial-gradient(40% 55% at 18% 25%, rgba(142, 197, 252, 0.6), transparent 70%),
		radial-gradient(45% 55% at 85% 80%, rgba(152, 224, 200, 0.55), transparent 70%);
}

.tre-bento--dove-non-ci-sei::before,
.tre-bento--visibilita-regalata::before,
.tre-bento--serie-non-omogenea::before {
	background:
		radial-gradient(40% 55% at 20% 75%, rgba(255, 207, 159, 0.65), transparent 70%),
		radial-gradient(40% 55% at 82% 22%, rgba(205, 180, 219, 0.6), transparent 70%);
}

.tre-bento--traffico::before,
.tre-bento--ricerche-ripetute::before,
.tre-bento--phil::before {
	background:
		radial-gradient(40% 55% at 22% 25%, rgba(205, 180, 219, 0.65), transparent 70%),
		radial-gradient(45% 55% at 78% 80%, rgba(142, 197, 252, 0.55), transparent 70%);
}

/* ---------------------------------------------- i pezzi comuni delle vignette */

.tre-bento__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0 14px 14px;
	list-style: none;
}

.tre-bento__chips li {
	margin: 0;
	padding: 5px 10px;
	border-radius: 999px;
	background: #f3f2f8;
	font-size: 12px;
	color: #45435c;
}

.tre-bento__chips--tuoi li {
	background: #d8f3e6;
	color: #0a6443;
	font-weight: 600;
}

/* La ricerca digitata: compare lettera per lettera. */
.tre-bento__campo {
	margin: 0 14px;
	padding: 9px 12px;
	overflow: hidden;
	border: 1px solid #e1dff0;
	border-radius: 10px;
	font-size: 13px;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: #14122b;
}

.tre-bento__campo span {
	display: inline-block;
}

.tre-bento__punti {
	display: grid;
	grid-template-columns: repeat(10, minmax(0, 1fr));
	gap: 6px;
	margin: 0;
	padding: 2px 14px 12px;
	list-style: none;
}

.tre-bento__punti li {
	aspect-ratio: 1;
	margin: 0;
	border-radius: 50%;
	background: #ecebf3;
}

.tre-bento__punti li.si {
	background: #10a37f;
}

.tre-bento__cifra small {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0;
	color: #45435c;
}

.tre-bento__nota {
	margin: 0 14px 14px;
	padding: 7px 10px;
	border-radius: 8px;
	background: #f3f2f8;
	font-size: 12px;
	line-height: 1.4;
	color: #45435c;
}

.tre-bento__nota--spento {
	color: #8a88a0;
	font-style: italic;
}

.tre-bento__nota--avviso {
	background: #fff0bd;
	color: #6f5000;
	font-weight: 600;
}

.tre-bento__colonne {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tre-bento__colonne .tre-bento__chips {
	padding-bottom: 8px;
}

.tre-bento__passaggio {
	margin: 4px 14px 14px;
	padding: 10px 12px;
	border-radius: 10px;
	background: #f7f6fb;
	font-size: 12px;
	line-height: 1.5;
	color: #45435c;
}

.tre-bento__passaggio b {
	color: #14122b;
}

.tre-bento__passaggio em {
	display: inline-block;
	margin-left: 4px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #fde1ec;
	font-size: 11px;
	font-style: normal;
	font-weight: 600;
	color: #9a1d52;
}

/* Barre con nome, valore e traccia: pagine citate, parole, traffico, report. */
.tre-bento__barre {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 14px;
	list-style: none;
}

.tre-bento__barre li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 4px 10px;
	margin: 0;
	font-size: 12px;
	color: #45435c;
}

.tre-bento__barre .nome {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.tre-bento__barre b {
	color: #14122b;
	font-variant-numeric: tabular-nums;
}

.tre-bento__barre .traccia {
	position: relative;
	grid-column: 1 / -1;
	height: 6px;
	border-radius: 3px;
	background: #ecebf3;
}

.tre-bento__barre .traccia i {
	display: block;
	width: var(--q);
	height: 100%;
	border-radius: 3px;
	background: linear-gradient(to right, #1800ad, #8ec5fc);
	transform-origin: left center;
}

/* Nel report ogni barra porta il suo intervallo, come nell'applicazione. */
.tre-bento__classifica .traccia {
	height: 8px;
}

.tre-bento__classifica .traccia u {
	position: absolute;
	top: -4px;
	bottom: -4px;
	left: var(--da);
	width: calc(var(--a) - var(--da));
	border: 1.5px solid rgba(20, 18, 43, 0.4);
	border-radius: 4px;
	text-decoration: none;
}

.tre-bento__elenco {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 12px 14px 14px;
	list-style: none;
}

.tre-bento__elenco li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	margin: 0;
	padding: 8px 10px;
	border-radius: 10px;
	background: #f7f6fb;
	font-size: 12px;
	color: #14122b;
}

.tre-bento__elenco em {
	font-style: normal;
	color: #6e6c85;
}

.tre-bento__elenco .mai {
	margin-left: auto;
	padding: 2px 8px;
	border-radius: 999px;
	background: #fde1ec;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
	color: #9a1d52;
}

.tre-bento__pagina {
	margin: 12px 14px 10px;
	padding: 12px;
	border-radius: 10px;
	background: #f7f6fb;
	font-size: 12.5px;
	line-height: 1.6;
	color: #45435c;
}

.tre-bento__pagina p {
	margin: 0;
}

.tre-bento__pagina mark {
	padding: 0 3px;
	border-radius: 4px;
	background: #ffe7cf;
	font-weight: 600;
	color: #8a4200;
}

.tre-bento__scelte {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 14px 14px 6px;
}

.tre-bento__scelte span {
	padding: 5px 10px;
	border: 1px solid #e1dff0;
	border-radius: 999px;
	font-size: 12px;
	color: #45435c;
}

.tre-bento__scelte .si {
	border-color: #14122b;
	background: #14122b;
	color: #fff;
}

.tre-bento__esecuzioni {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 6px 14px 14px;
	list-style: none;
}

.tre-bento__esecuzioni li {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 10px;
	margin: 0;
	padding: 8px 10px;
	border-radius: 10px;
	background: #f7f6fb;
	font-size: 12px;
	color: #45435c;
}

.tre-bento__esecuzioni .fatta {
	font-weight: 600;
	color: #0a6443;
}

.tre-bento__grafico {
	position: relative;
	height: 130px;
	margin: 22px 14px 10px;
}

.tre-bento__grafico svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.tre-bento__grafico .griglia {
	stroke: #ecebf3;
	stroke-width: 1;
}

.tre-bento__grafico .cambio {
	stroke: #c98a00;
	stroke-width: 1.5;
	stroke-dasharray: 4 4;
}

.tre-bento__grafico .linea {
	fill: none;
	stroke: #1800ad;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 1;
	stroke-dashoffset: 0;
}

.tre-bento__segno {
	position: absolute;
	top: -16px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #fff0bd;
	font-size: 10.5px;
	font-weight: 600;
	white-space: nowrap;
	color: #6f5000;
	transform: translateX(-50%);
}

.tre-bento__intervalli {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 16px 14px;
	list-style: none;
}

.tre-bento__intervalli li {
	display: grid;
	grid-template-columns: 5.5em minmax(0, 1fr) 3.2em;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 12px;
	color: #45435c;
}

.tre-bento__intervalli .asse {
	position: relative;
	height: 16px;
	border-radius: 8px;
	background: #f3f2f8;
}

.tre-bento__intervalli .asse::after {
	content: "";
	position: absolute;
	top: 2px;
	bottom: 2px;
	left: var(--c, 50%);
	width: 2px;
	margin-left: -1px;
	background: #14122b;
}

.tre-bento__intervalli .asse i {
	position: absolute;
	top: 0;
	bottom: 0;
	/* --c e' la quota (50% se non detto), --da l'inizio vero dell'intervallo:
	   quello di Wilson non e' simmetrico, e con poche risposte si vede. */
	left: var(--da, calc(var(--c, 50%) - var(--m) / 2));
	width: var(--m);
	border-radius: 8px;
	background: rgba(24, 0, 173, 0.22);
}

.tre-bento__intervalli b {
	text-align: right;
	color: #14122b;
	font-variant-numeric: tabular-nums;
}

.tre-bento__azioni {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	padding: 0 14px 14px;
}

.tre-bento__pulsante {
	padding: 6px 12px;
	border-radius: 999px;
	background: #1800ad;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
}

.tre-bento__chat {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px;
}

.tre-bento__chat p {
	max-width: 86%;
	margin: 0;
	padding: 9px 12px;
	border-radius: 14px;
	font-size: 12.5px;
	line-height: 1.45;
}

.tre-bento__chat .io {
	align-self: flex-end;
	border-bottom-right-radius: 4px;
	background: #1800ad;
	color: #fff;
}

.tre-bento__chat .phil {
	align-self: flex-start;
	border-bottom-left-radius: 4px;
	background: #f3f2f8;
	color: #14122b;
}

.tre-bento__file {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	padding: 14px 14px 8px;
}

.tre-bento__file > div {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px 12px;
	border-radius: 10px;
	background: #f7f6fb;
	font-size: 11.5px;
	color: #45435c;
	overflow-wrap: anywhere;
}

.tre-bento__file b {
	width: max-content;
	padding: 2px 7px;
	border-radius: 5px;
	background: #14122b;
	font-size: 10.5px;
	color: #fff;
}

.tre-bento__codice {
	margin: 0 14px 14px;
	padding: 10px 12px;
	border-radius: 10px;
	background: #14122b;
	font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	white-space: pre-wrap;
	color: #cfcde0;
}

.tre-bento__codice mark {
	padding: 0 2px;
	border-radius: 3px;
	background: rgba(152, 224, 200, 0.22);
	color: #98e0c8;
}

/* ---------------------------------------- il percorso guidato della dashboard */

.tre-bento--guidato-sito::before,
.tre-bento--guidato-assaggio::before {
	background:
		radial-gradient(40% 55% at 20% 28%, rgba(255, 207, 159, 0.65), transparent 70%),
		radial-gradient(45% 55% at 82% 78%, rgba(142, 197, 252, 0.6), transparent 70%);
}

.tre-bento--guidato-domande::before,
.tre-bento--guidato-margine::before {
	background:
		radial-gradient(40% 55% at 24% 74%, rgba(152, 224, 200, 0.62), transparent 70%),
		radial-gradient(40% 55% at 80% 24%, rgba(205, 180, 219, 0.62), transparent 70%);
}

/* Il campo del sito con il suo pulsante, come nella dashboard. */
.tre-bento__modulo {
	display: flex;
	gap: 8px;
	padding: 14px 14px 10px;
}

.tre-bento__modulo .tre-bento__campo {
	flex: 1 1 auto;
	margin: 0;
}

/* Il pulsante accanto al campo: con l'allineamento di default del flex si
   allungava fino all'altezza del campo e diventava una pillola gonfia, con la
   scritta in alto. Resta della sua misura, al centro della riga. */
.tre-bento__modulo .tre-bento__pulsante {
	flex: 0 0 auto;
	align-self: center;
	padding: 7px 14px;
	line-height: 1.2;
	white-space: nowrap;
}

.tre-bento__stato {
	margin: 0 14px 8px;
	font-size: 12px;
	font-style: italic;
	color: #6e6c85;
}

/* Le domande con la loro categoria. */
.tre-bento__domande {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 12px 14px 14px;
	list-style: none;
}

.tre-bento__domande li {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0;
	padding: 7px 10px;
	border-radius: 10px;
	background: #f7f6fb;
	font-size: 12px;
	line-height: 1.4;
	color: #14122b;
}

.tre-bento__domande li i {
	flex: none;
	padding: 2px 7px;
	border-radius: 999px;
	background: #ecebf3;
	font-size: 10.5px;
	font-style: normal;
	font-weight: 600;
	color: #45435c;
}

.tre-bento__domande li.marca {
	background: #ece8ff;
	box-shadow: inset 0 0 0 1.5px rgba(24, 0, 173, 0.35);
}

.tre-bento__domande li.marca i {
	background: #1800ad;
	color: #fff;
}

.tre-bento__domande b {
	color: #1800ad;
}

/* L'assaggio: due colonne affiancate, una per modello. */
.tre-bento__confronto {
	display: grid;
	grid-template-columns: minmax(0, 1fr) repeat(2, 4.6em);
	gap: 0;
	margin: 0;
	padding: 10px 14px 14px;
	font-size: 12px;
	color: #14122b;
}

.tre-bento__confronto > span {
	padding: 6px 0;
	border-bottom: 1px solid #f0eff6;
}

.tre-bento__confronto > span:nth-child(3n + 2),
.tre-bento__confronto > span:nth-child(3n) {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.tre-bento__confronto .intestazione {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: #6e6c85;
}

.tre-bento__confronto .tu {
	font-weight: 700;
	color: #1800ad;
}

.tre-bento__esito--alto {
	padding-top: 16px;
}

.tre-bento__confronto .mai {
	font-style: italic;
	color: #9a1d52;
}

/* ------------------------------------------- sentiment, Phil, report pubblico */

.tre-bento--sentiment-termini::before,
.tre-bento--sentiment-quadrante::before,
.tre-bento--report-modifica::before {
	background:
		radial-gradient(40% 55% at 22% 26%, rgba(152, 224, 200, 0.65), transparent 70%),
		radial-gradient(42% 55% at 80% 78%, rgba(255, 207, 159, 0.6), transparent 70%);
}

.tre-bento--sentiment-punteggio::before,
.tre-bento--sentiment-andamento::before,
.tre-bento--report-pubblico::before {
	background:
		radial-gradient(40% 55% at 20% 72%, rgba(205, 180, 219, 0.65), transparent 70%),
		radial-gradient(42% 55% at 82% 24%, rgba(152, 224, 200, 0.6), transparent 70%);
}

.tre-bento--phil-commento::before {
	background:
		radial-gradient(40% 55% at 24% 24%, rgba(255, 207, 159, 0.65), transparent 70%),
		radial-gradient(42% 55% at 80% 80%, rgba(205, 180, 219, 0.62), transparent 70%);
}

/* I termini con il loro segno. */
.tre-bento__chips li em {
	margin-left: 4px;
	font-style: normal;
	font-weight: 700;
	opacity: 0.7;
}

.tre-bento__chips--pos li { background: #d8f3e6; color: #0a6443; }
.tre-bento__chips--neu li { background: #ecebf3; color: #45435c; }
.tre-bento__chips--neg li { background: #fde1ec; color: #9a1d52; }

/* La scala da -1 a +1: rosa a sinistra, grigio al centro, verde a destra. */
.tre-bento__scala {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 18px 14px 16px;
	list-style: none;
}

.tre-bento__scala li {
	display: grid;
	grid-template-columns: 4.5em minmax(0, 1fr) 3.2em;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 12px;
	color: #14122b;
}

.tre-bento__scala .pista {
	position: relative;
	height: 8px;
	border-radius: 4px;
	background: linear-gradient(to right, #f3a6c3, #ecebf3 50%, #97d9ba);
}

.tre-bento__scala .pista::after {
	content: "";
	position: absolute;
	top: -3px;
	bottom: -3px;
	left: 50%;
	width: 1px;
	background: rgba(20, 18, 43, 0.35);
}

.tre-bento__scala .pista i {
	position: absolute;
	top: 50%;
	left: var(--v);
	width: 14px;
	height: 14px;
	margin: -7px 0 0 -7px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 3px #1800ad, 0 2px 6px rgba(20, 18, 43, 0.25);
}

.tre-bento__scala em {
	text-align: right;
	font-style: normal;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

/* I quattro quadranti di quota e sentiment. */
.tre-bento__quadrante {
	position: relative;
	height: 210px;
	margin: 14px;
	border-radius: 10px;
	background:
		linear-gradient(to right, transparent calc(50% - 0.5px), rgba(20, 18, 43, 0.12) calc(50% - 0.5px), rgba(20, 18, 43, 0.12) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
		linear-gradient(to bottom, transparent calc(50% - 0.5px), rgba(20, 18, 43, 0.12) calc(50% - 0.5px), rgba(20, 18, 43, 0.12) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
		#f7f6fb;
}

.tre-bento__quadrante .q {
	position: absolute;
	max-width: 44%;
	font-size: 10px;
	line-height: 1.3;
	color: #8a88a0;
}

.tre-bento__quadrante .q1 { top: 8px; right: 10px; text-align: right; }
.tre-bento__quadrante .q2 { top: 8px; left: 10px; }
.tre-bento__quadrante .q3 { bottom: 8px; left: 10px; }
.tre-bento__quadrante .q4 { right: 10px; bottom: 8px; text-align: right; }

.tre-bento__quadrante i {
	position: absolute;
	top: var(--y);
	left: var(--x);
	width: 12px;
	height: 12px;
	margin: -6px 0 0 -6px;
	border-radius: 50%;
	background: #1800ad;
	box-shadow: 0 0 0 4px rgba(24, 0, 173, 0.15);
}

.tre-bento__quadrante i b {
	position: absolute;
	top: -3px;
	left: 16px;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
	color: #14122b;
}

.tre-bento__quadrante i.sx b {
	right: 16px;
	left: auto;
}

.tre-bento__grafico--basso {
	height: 110px;
	margin-bottom: 6px;
}

/* I passi dell'analisi di Phil, e i suoi tre blocchi. */
.tre-bento__passi {
	display: grid;
	gap: 5px;
	margin: 0;
	padding: 12px 14px 4px;
	list-style: none;
}

.tre-bento__passi li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 12px;
	color: #45435c;
}

.tre-bento__passi li::before {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #0a6443 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6.2 2.3 2.3 4.7-5'/%3E%3C/svg%3E") center / 9px no-repeat;
}

.tre-bento__blocchi {
	display: grid;
	gap: 8px;
	padding: 10px 14px 14px;
}

.tre-bento__blocchi p {
	margin: 0;
	padding: 8px 10px 8px 12px;
	border-left: 3px solid #1800ad;
	border-radius: 4px 10px 10px 4px;
	background: #f7f6fb;
	font-size: 12px;
	line-height: 1.45;
	color: #45435c;
}

.tre-bento__blocchi b {
	display: block;
	margin-bottom: 2px;
	font-size: 10.5px;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: #14122b;
}

.tre-bento__blocchi .forza    { border-left-color: #3fbf94; }
.tre-bento__blocchi .migliora { border-left-color: #ff9a4d; }

/* Il report pubblico: l'interruttore, il collegamento, l'avviso di copia. */
.tre-bento__interruttore {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 14px 14px 10px;
	padding: 10px 12px;
	border-radius: 10px;
	background: #f7f6fb;
	font-size: 13px;
	font-weight: 600;
	color: #14122b;
}

.tre-bento__interruttore i {
	position: relative;
	flex: none;
	width: 38px;
	height: 22px;
	border-radius: 999px;
	background: #1800ad;
}

.tre-bento__interruttore i::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 19px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.tre-bento__link {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 14px 10px;
	padding: 6px 6px 6px 12px;
	border: 1px solid #e1dff0;
	border-radius: 10px;
	font-size: 12px;
	color: #45435c;
}

.tre-bento__link span {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.tre-bento__link b {
	flex: none;
	padding: 5px 10px;
	border-radius: 7px;
	background: #14122b;
	font-size: 11.5px;
	color: #fff;
}

.tre-bento__nota--ok {
	background: #d8f3e6;
	color: #0a6443;
	font-weight: 600;
}

/* Il testo dell'analisi riscritto a mano. */
.tre-bento__modifica {
	margin: 14px 14px 10px;
	padding: 12px;
	border: 1px solid #e1dff0;
	border-radius: 10px;
	font-size: 12.5px;
	line-height: 1.6;
	color: #45435c;
}

.tre-bento__modifica p {
	margin: 0;
}

.tre-bento__modifica del {
	color: #9a1d52;
	text-decoration-thickness: 1.5px;
}

.tre-bento__modifica ins {
	padding: 0 2px;
	border-radius: 3px;
	background: #d8f3e6;
	text-decoration: none;
	color: #0a6443;
}

.tre-bento__modifica ins::after {
	content: "";
	display: inline-block;
	width: 2px;
	height: 1em;
	margin-left: 2px;
	vertical-align: -2px;
	background: #1800ad;
	animation: tre-bento-cursore 1s steps(1) infinite;
}

/* -------------------------------------- come funziona, il margine prima di spendere */

.tre-bento--come-descrizione::before,
.tre-bento--margine-punti::before {
	background:
		radial-gradient(40% 55% at 22% 24%, rgba(142, 197, 252, 0.62), transparent 70%),
		radial-gradient(42% 55% at 80% 80%, rgba(255, 207, 159, 0.6), transparent 70%);
}

.tre-bento--come-assaggio::before,
.tre-bento--margine-proporzione::before {
	background:
		radial-gradient(40% 55% at 24% 76%, rgba(255, 207, 159, 0.62), transparent 70%),
		radial-gradient(42% 55% at 78% 22%, rgba(205, 180, 219, 0.62), transparent 70%);
}

.tre-bento--come-lancio::before,
.tre-bento--margine-prezzi::before {
	background:
		radial-gradient(40% 55% at 20% 30%, rgba(152, 224, 200, 0.62), transparent 70%),
		radial-gradient(42% 55% at 82% 76%, rgba(142, 197, 252, 0.6), transparent 70%);
}

/* Il campo di testo in cui ci si racconta: si riempie dall'alto. */
.tre-bento__area {
	min-height: 96px;
	margin: 14px 14px 10px;
	padding: 10px 12px;
	border: 1px solid #e1dff0;
	border-radius: 10px;
	font-size: 12.5px;
	line-height: 1.55;
	color: #14122b;
}

.tre-bento__area span {
	display: block;
}

/* Le barre dell'assaggio si riempiono piano: e' il minuto dell'attesa. */
.tre-bento__barre--tempo .traccia i {
	background: linear-gradient(to right, #3fbf94, #98e0c8);
}

.tre-bento__barre .oltre .traccia i {
	background: linear-gradient(to right, #ff9a4d, #9a1d52);
}

.tre-bento__barre .oltre b {
	color: #9a1d52;
}

.tre-bento__esecuzioni li b {
	font-weight: 600;
	color: #14122b;
	font-variant-numeric: tabular-nums;
}

.tre-bento__esecuzioni li.scelta {
	background: #ece8ff;
	box-shadow: inset 0 0 0 1.5px rgba(24, 0, 173, 0.35);
}

@media (max-width: 480px) {
	.tre-bento__colonne {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ----------------------------------------------------- stato spento e animazioni */

.tre-bento.in-attesa .tre-bento__risposte li.si {
	background: #f3f2f8;
	box-shadow: none;
}

.tre-bento.in-attesa .tre-bento__risposte li.si span,
.tre-bento.in-attesa .tre-bento__fonti li,
.tre-bento.in-attesa .tre-bento__siti li {
	opacity: 0;
}

.tre-bento.in-attesa .tre-bento__righe i,
.tre-bento.in-attesa .tre-bento__barra i {
	transform: scaleX(0);
}

.tre-bento.is-visibile .tre-bento__risposte li.si {
	animation: tre-bento-accendi 0.45s ease both;
	animation-delay: calc(var(--i) * 150ms);
}

.tre-bento.is-visibile .tre-bento__risposte li.si span {
	animation: tre-bento-appare 0.4s ease both;
	animation-delay: calc(var(--i) * 150ms + 120ms);
}

.tre-bento.is-visibile .tre-bento__risposte li.tre-volte {
	animation: tre-bento-accendi 0.45s ease both, tre-bento-battito 0.5s ease 2;
	animation-delay: calc(var(--i) * 150ms), calc(var(--i) * 150ms + 500ms);
}

.tre-bento.is-visibile .tre-bento__righe i,
.tre-bento.is-visibile .tre-bento__barra i {
	animation: tre-bento-cresce 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	animation-delay: calc(var(--i) * 120ms);
}

.tre-bento.is-visibile .tre-bento__fonti li,
.tre-bento.is-visibile .tre-bento__siti li {
	animation: tre-bento-spunta 0.45s cubic-bezier(0.2, 0.7, 0.2, 1.3) both;
	animation-delay: calc(var(--i) * 160ms + 500ms);
}

.tre-bento.is-visibile .tre-bento__fonti li.tua {
	animation: tre-bento-spunta 0.45s cubic-bezier(0.2, 0.7, 0.2, 1.3) both, tre-bento-battito 0.5s ease 2;
	animation-delay: calc(var(--i) * 160ms + 500ms), calc(var(--i) * 160ms + 1000ms);
}

/* I pezzi comuni. L'ordine in cui compaiono lo da' --i, scritto nell'HTML di
   ogni vignetta: qui c'e' solo il modo. */
.tre-bento.in-attesa .tre-bento__passi li,
.tre-bento.in-attesa .tre-bento__blocchi p,
.tre-bento.in-attesa .tre-bento__link b,
.tre-bento.in-attesa .tre-bento__quadrante i,
.tre-bento.in-attesa .tre-bento__domande li,
.tre-bento.in-attesa .tre-bento__chips li,
.tre-bento.in-attesa .tre-bento__elenco li,
.tre-bento.in-attesa .tre-bento__esecuzioni li,
.tre-bento.in-attesa .tre-bento__chat p,
.tre-bento.in-attesa .tre-bento__file > div,
.tre-bento.in-attesa .tre-bento__passaggio,
.tre-bento.in-attesa .tre-bento__nota,
.tre-bento.in-attesa .tre-bento__segno,
.tre-bento.in-attesa .tre-bento__codice,
.tre-bento.in-attesa .tre-bento__pulsante {
	opacity: 0;
}

.tre-bento.is-visibile .tre-bento__passi li,
.tre-bento.is-visibile .tre-bento__blocchi p,
.tre-bento.is-visibile .tre-bento__link b,
.tre-bento.is-visibile .tre-bento__quadrante i,
.tre-bento.is-visibile .tre-bento__domande li,
.tre-bento.is-visibile .tre-bento__chips li,
.tre-bento.is-visibile .tre-bento__elenco li,
.tre-bento.is-visibile .tre-bento__esecuzioni li,
.tre-bento.is-visibile .tre-bento__chat p,
.tre-bento.is-visibile .tre-bento__file > div,
.tre-bento.is-visibile .tre-bento__passaggio,
.tre-bento.is-visibile .tre-bento__nota,
.tre-bento.is-visibile .tre-bento__codice,
.tre-bento.is-visibile .tre-bento__pulsante {
	animation: tre-bento-spunta 0.45s cubic-bezier(0.2, 0.7, 0.2, 1.3) both;
	animation-delay: calc(var(--i, 1) * 180ms + 250ms);
}

/* Il segno sul grafico e' centrato sul suo punto con un transform: l'animazione
   non puo' usare scale, o lo sposterebbe. Compare e basta. */
.tre-bento.is-visibile .tre-bento__segno {
	animation: tre-bento-appare 0.4s ease both;
	animation-delay: calc(var(--i, 1) * 180ms + 250ms);
}

.tre-bento.in-attesa .tre-bento__barre .traccia i {
	transform: scaleX(0);
}

.tre-bento.is-visibile .tre-bento__barre .traccia i {
	animation: tre-bento-cresce 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	animation-delay: calc(var(--i, 1) * 140ms);
}

.tre-bento.in-attesa .tre-bento__classifica .traccia u {
	opacity: 0;
}

.tre-bento.is-visibile .tre-bento__classifica .traccia u {
	animation: tre-bento-appare 0.4s ease both;
	animation-delay: calc(var(--i, 1) * 140ms + 750ms);
}

.tre-bento.in-attesa .tre-bento__punti li.si {
	background: #ecebf3;
}

.tre-bento.is-visibile .tre-bento__punti li.si {
	animation: tre-bento-accendi-punto 0.4s ease both;
	animation-delay: calc(var(--i, 1) * 160ms);
}

.tre-bento.in-attesa .tre-bento__campo span {
	clip-path: inset(0 100% 0 0);
}

.tre-bento.is-visibile .tre-bento__campo span {
	animation: tre-bento-scrivi 1.5s steps(34, end) 0.2s both;
}

.tre-bento.in-attesa .tre-bento__grafico .linea {
	stroke-dashoffset: 1;
}

.tre-bento.is-visibile .tre-bento__grafico .linea {
	animation: tre-bento-disegna 1.6s ease-in-out 0.2s both;
}

.tre-bento.in-attesa .tre-bento__intervalli .asse i {
	left: 2%;
	width: 96%;
}

.tre-bento.is-visibile .tre-bento__intervalli .asse i {
	animation: tre-bento-stringe 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	animation-delay: calc(var(--i, 1) * 250ms);
}

.tre-bento.in-attesa .tre-bento__pagina mark {
	background: transparent;
	color: #45435c;
}

.tre-bento.is-visibile .tre-bento__pagina mark {
	animation: tre-bento-evidenzia 0.5s ease both;
	animation-delay: calc(var(--i, 1) * 250ms + 300ms);
}

.tre-bento.in-attesa .tre-bento__scelte .si {
	border-color: #e1dff0;
	background: transparent;
	color: #45435c;
}

.tre-bento.is-visibile .tre-bento__scelte .si {
	animation: tre-bento-scegli 0.4s ease 0.2s both;
}

.tre-bento.is-visibile .tre-bento__cerca {
	animation: tre-bento-spunta 0.45s cubic-bezier(0.2, 0.7, 0.2, 1.3) both, tre-bento-battito 0.6s ease 2;
	animation-delay: calc(var(--i, 1) * 180ms + 250ms), calc(var(--i, 1) * 180ms + 900ms);
}

/* I pallini del sentiment partono dallo zero e scorrono al loro valore. */
.tre-bento.in-attesa .tre-bento__scala .pista i {
	left: 50%;
}

.tre-bento.is-visibile .tre-bento__scala .pista i {
	animation: tre-bento-scorre 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	animation-delay: calc(var(--i, 1) * 180ms);
}

/* L'interruttore del report si accende, poi compare il resto. */
.tre-bento.in-attesa .tre-bento__interruttore i {
	background: #cfcde0;
}

.tre-bento.in-attesa .tre-bento__interruttore i::after {
	left: 3px;
}

.tre-bento.is-visibile .tre-bento__interruttore i {
	animation: tre-bento-traccia 0.3s ease 0.35s both;
}

.tre-bento.is-visibile .tre-bento__interruttore i::after {
	animation: tre-bento-pomello 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s both;
}

/* Il testo dell'analisi: la frase vecchia si cancella, la nuova compare. */
.tre-bento.in-attesa .tre-bento__modifica del {
	color: #45435c;
	text-decoration-color: transparent;
}

.tre-bento.in-attesa .tre-bento__modifica ins {
	opacity: 0;
}

.tre-bento.is-visibile .tre-bento__modifica del {
	animation: tre-bento-cancella 0.5s ease 0.4s both;
}

.tre-bento.is-visibile .tre-bento__modifica ins {
	animation: tre-bento-appare 0.5s ease 1s both;
}

.tre-bento.in-attesa .tre-bento__area span {
	clip-path: inset(0 0 100% 0);
}

.tre-bento.is-visibile .tre-bento__area span {
	animation: tre-bento-scrivi-area 1.8s steps(6, end) 0.2s both;
}

.tre-bento.is-visibile .tre-bento__barre--tempo .traccia i {
	animation-duration: 2.4s;
	animation-timing-function: ease-in-out;
}

@keyframes tre-bento-scrivi-area {
	from { clip-path: inset(0 0 100% 0); }
}

@keyframes tre-bento-scorre {
	from { left: 50%; }
}

@keyframes tre-bento-traccia {
	from { background: #cfcde0; }
}

@keyframes tre-bento-pomello {
	from { left: 3px; }
}

@keyframes tre-bento-cancella {
	from { color: #45435c; text-decoration-color: transparent; }
}

@keyframes tre-bento-cursore {
	50% { opacity: 0; }
}

@keyframes tre-bento-accendi-punto {
	from { background: #ecebf3; transform: scale(0.6); }
}

@keyframes tre-bento-scrivi {
	from { clip-path: inset(0 100% 0 0); }
}

@keyframes tre-bento-disegna {
	from { stroke-dashoffset: 1; }
}

@keyframes tre-bento-stringe {
	from { left: 2%; width: 96%; }
}

@keyframes tre-bento-evidenzia {
	from { background: transparent; color: #45435c; }
}

@keyframes tre-bento-scegli {
	from { border-color: #e1dff0; background: transparent; color: #45435c; }
}

@keyframes tre-bento-accendi {
	from { background: #f3f2f8; box-shadow: inset 0 0 0 0 rgba(24, 0, 173, 0); }
}

@keyframes tre-bento-appare {
	from { opacity: 0; transform: translateY(4px); }
}

@keyframes tre-bento-cresce {
	from { transform: scaleX(0); }
}

@keyframes tre-bento-spunta {
	from { opacity: 0; transform: scale(0.8); }
}

@keyframes tre-bento-battito {
	50% { transform: scale(1.07); }
}

@media (max-width: 767px) {
	.tre-bento {
		min-height: 0;
		padding: 28px 16px 8px;
	}

	.tre-bento__cifra {
		font-size: 32px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tre-bento *,
	.tre-bento::before,
	.elementor .glimpse-bento-card {
		animation: none !important;
		transition: none !important;
	}
}
