/*
 * «Segnala» e «Blocca» (23/9/2026) — inc/segnala-blocca.
 *
 * Un solo pulsante «Segnala» ovunque (terziario, senza bordo, allineato al
 * bordo del contenuto), un solo foglio per segnalare, bloccare, scegliere
 * dal menu della chat e vedere le persone bloccate. Sul telefono il foglio
 * sale dal basso, sul computer e' centrato; il menu della chat sul computer
 * e' un riquadro ancorato al pulsante.
 * Azione principale verde #084828 con testo bianco; il rosso solo per
 * l'errore e per «Blocca». Manrope, bersagli da 44 px, righe da 52 px.
 * Flatsome mette a ogni <button> maiuscolo, margini e altezze: qui si
 * tolgono con !important. Il tema scuro sta nello strato tbp-appearance,
 * che vince sugli !important senza strato.
 */

/* --- Pulsante «Segnala»: uno solo, uguale ovunque ------------------------- */
html body .tbp-sb-riga {
	display: flex !important;
	justify-content: flex-start !important;
	align-items: center;
	width: 100%;
	margin: 14px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	text-align: left !important;
}

html body .tbp-sb-segnala {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 8px !important;
	width: auto !important;
	max-width: 100%;
	min-width: 44px !important;
	min-height: 44px !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #084828 !important;
	-webkit-text-fill-color: #084828 !important;
	font-family: Manrope, "Helvetica Neue", Arial, sans-serif !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-align: left !important;
	text-shadow: none !important;
	white-space: normal !important;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

html body .tbp-sb-segnala:hover span {
	text-decoration: underline;
	text-underline-offset: 3px;
}

html body .tbp-sb-segnala img {
	flex: 0 0 20px;
	width: 20px !important;
	height: 20px !important;
	max-width: none !important;
	margin: 0 !important;
	object-fit: contain;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

/* Pagina singola del profilo: li' tutto e' centrato, quindi anche «Segnala»
   (stesso pulsante, stessi 44 px e colori; decisione del CPO, 23/9). */
html body .info-venditore .tbp-sb-riga--profilo {
	justify-content: center !important;
}

/* --- Pulsanti di servizio (menu della chat, elenco, account) -------------- */
html body .tbp-sb-bloccati-link,
html body .tbp-sb-menu__apri {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	width: auto !important;
	min-width: 44px !important;
	min-height: 44px !important;
	height: auto !important;
	margin: 0 !important;
	padding: 8px 14px !important;
	border: 1px solid rgba(8, 72, 40, 0.2) !important;
	border-radius: 12px !important;
	background: #ffffff !important;
	box-shadow: none !important;
	color: #084828 !important;
	-webkit-text-fill-color: #084828 !important;
	font-family: Manrope, "Helvetica Neue", Arial, sans-serif !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-shadow: none !important;
	white-space: nowrap;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

html body .tbp-sb-bloccati-link:hover,
html body .tbp-sb-menu__apri:hover,
html body .tbp-sb-menu__apri[aria-expanded="true"] {
	background: #F4F7F5 !important;
	border-color: rgba(8, 72, 40, 0.4) !important;
}

html body :is(.tbp-sb-bloccati-link, .tbp-sb-menu__apri) img {
	flex: 0 0 20px;
	width: 20px !important;
	height: 20px !important;
	max-width: none !important;
	margin: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

html body .tbp-sb-bloccati-link {
	margin: 12px 0 0 !important;
}

.tbp-sb-menu__freccia {
	font-size: 12px;
	line-height: 1;
}

.tbp-sb-conta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: #084828;
	color: #ffffff;
	-webkit-text-fill-color: #ffffff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
}

/* Il fuoco da tastiera, uguale su tutti i controlli del modulo. */
html body :is(.tbp-sb-segnala, .tbp-sb-bloccati-link, .tbp-sb-menu__apri, .tbp-sb-bottone, .tbp-sb-menu__voce, .tbp-sb-chiudi):focus {
	outline: none !important;
}
html body :is(.tbp-sb-segnala, .tbp-sb-bloccati-link, .tbp-sb-menu__apri, .tbp-sb-bottone, .tbp-sb-menu__voce, .tbp-sb-chiudi):focus-visible {
	outline: 3px solid #C9A227 !important;
	outline-offset: 2px !important;
}

/* --- Menu della chat ------------------------------------------------------ */
.tbp-sb-menu {
	position: relative;
	flex: 0 0 auto;
	margin-left: auto;
}

/* Sul computer: un riquadro ancorato al pulsante, a destra. */
.tbp-sb-menu__voci {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 60;
	display: flex;
	flex-direction: column;
	width: max-content;
	min-width: 260px;
	max-width: min(380px, calc(100vw - 32px));
	padding: 4px 0;
	border: 1px solid rgba(8, 72, 40, 0.14);
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 14px 40px rgba(8, 40, 24, 0.18);
	overflow: hidden;
}

.tbp-sb-menu__voci[hidden] {
	display: none !important;
}

/* Le righe: le stesse nel riquadro e nel foglio. */
.tbp-sb-voci {
	display: flex;
	flex-direction: column;
	margin: 0 -18px !important;
	padding: 0 !important;
	border-top: 1px solid rgba(8, 72, 40, 0.1);
	border-bottom: 1px solid rgba(8, 72, 40, 0.1);
}

/* Nel foglio del telefono le righe vanno da bordo a bordo, sotto la testata. */
.tbp-sb-corpo.tbp-sb-corpo--voci {
	padding: 0 !important;
	gap: 0 !important;
}
.tbp-sb-corpo--voci .tbp-sb-voci {
	margin: 0 !important;
	border-top: 0 !important;
}

html body .tbp-sb-menu__voce {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 14px !important;
	width: 100% !important;
	min-height: 52px !important;
	height: auto !important;
	margin: 0 !important;
	padding: 10px 18px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #123326 !important;
	-webkit-text-fill-color: #123326 !important;
	font-family: Manrope, "Helvetica Neue", Arial, sans-serif !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-align: left !important;
	text-shadow: none !important;
	white-space: normal !important;
	cursor: pointer;
}

html body .tbp-sb-menu__voce + .tbp-sb-menu__voce {
	border-top: 1px solid rgba(8, 72, 40, 0.1) !important;
}

html body .tbp-sb-menu__voce:hover {
	background: #F4F7F5 !important;
}

html body .tbp-sb-menu__voce img {
	flex: 0 0 24px;
	width: 24px !important;
	height: 24px !important;
	max-width: none !important;
	margin: 0 !important;
	object-fit: contain;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

/* «Blocca …»: l'azione che toglie qualcosa, in rosso. */
html body .tbp-sb-menu__voce--pericolo {
	color: #B42318 !important;
	-webkit-text-fill-color: #B42318 !important;
}

/* --- Dettagli account ------------------------------------------------------ */
.tbp-sb-account {
	margin: 32px 0 8px;
	padding: 20px;
	border: 1px solid rgba(8, 72, 40, 0.14);
	border-radius: 16px;
	background: #ffffff;
}

html body .tbp-sb-account__titolo {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 6px !important;
	color: #084828 !important;
	font-size: 19px !important;
	line-height: 1.3 !important;
}

html body .tbp-sb-account__testo {
	margin: 0 0 14px !important;
	color: #3D5A4B !important;
	font-size: 15px;
	line-height: 1.5;
}

/* --- Il foglio ----------------------------------------------------------- */
.tbp-sb-dialogo {
	position: fixed;
	left: 0;
	right: 0;
	top: var(--tbp-sb-vv-top, 0px);
	height: var(--tbp-sb-vv-h, 100%);
	z-index: 2147483003;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
}

.tbp-sb-dialogo[hidden] {
	display: none !important;
}

@media (min-width: 700px) {
	.tbp-sb-dialogo {
		align-items: center;
		padding: 24px;
	}
}

.tbp-sb-velo {
	position: absolute;
	inset: 0;
	background: rgba(8, 40, 24, 0.5);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}

.tbp-sb-foglio {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(100%, 480px);
	max-height: 100%;
	overflow: hidden;
	border-radius: 22px 22px 0 0;
	background: #ffffff;
	color: #123326;
	box-shadow: 0 -10px 40px rgba(8, 40, 24, 0.28);
	padding-bottom: env(safe-area-inset-bottom, 0px);
	animation: tbp-sb-sale 220ms cubic-bezier(.22, 1, .36, 1);
}

@media (min-width: 700px) {
	.tbp-sb-foglio {
		max-height: min(100%, 760px);
		border-radius: 22px;
		padding-bottom: 0;
		box-shadow: 0 18px 60px rgba(8, 40, 24, 0.3);
	}
}

@keyframes tbp-sb-sale {
	from { transform: translateY(24px); opacity: 0; }
	to { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.tbp-sb-foglio { animation: none; }
}

.tbp-sb-capo {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 68px;
	padding: 12px 12px 12px 18px;
	border-bottom: 1px solid rgba(8, 72, 40, 0.1);
}

.tbp-sb-capo img {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	object-fit: contain;
}

html body .tbp-sb-titolo {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	color: #084828 !important;
	font-family: Manrope, "Helvetica Neue", Arial, sans-serif !important;
	font-size: 19px !important;
	font-weight: 800 !important;
	line-height: 1.25 !important;
	letter-spacing: -0.01em !important;
	text-transform: none !important;
}

/* Il titolo riceve il fuoco all'apertura (per il lettore di schermo): niente
   anello, che al tocco sarebbe solo rumore. */
html body .tbp-sb-titolo:focus {
	outline: none !important;
}

html body .tbp-sb-chiudi {
	flex: 0 0 auto;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 44px !important;
	height: 44px !important;
	min-width: 44px !important;
	min-height: 44px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #F4F7F5 !important;
	color: #084828 !important;
	-webkit-text-fill-color: #084828 !important;
	font-size: 24px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	box-shadow: none !important;
	cursor: pointer;
}

.tbp-sb-corpo {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 16px 18px 18px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

html body .tbp-sb-corpo p {
	margin: 0 !important;
	color: #3D5A4B !important;
	font-size: 15px;
	line-height: 1.5;
}

.tbp-sb-modulo,
.tbp-sb-dettagli {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0 !important;
}

.tbp-sb-dettagli[hidden] {
	display: none !important;
}

.tbp-sb-motivi {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

html body .tbp-sb-etichetta,
html body .tbp-sb-motivi legend {
	display: block;
	width: auto !important;
	margin: 0 0 8px !important;
	padding: 0 !important;
	border: 0 !important;
	color: #123326 !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	line-height: 1.3 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

/* Un motivo: riga da 52 px. Scelto = bordo 2 px verde e fondo menta; il
   padding compensa il bordo piu' spesso, cosi' il testo non si muove. */
html body .tbp-sb-motivo {
	position: relative;
	display: flex !important;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	margin: 0 !important;
	padding: 11px 15px !important;
	border: 1px solid rgba(8, 72, 40, 0.2) !important;
	border-radius: 14px !important;
	background: #ffffff !important;
	color: #123326 !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	text-transform: none !important;
	cursor: pointer;
}

html body .tbp-sb-motivo:has(input:checked) {
	padding: 10px 14px !important;
	border: 2px solid #084828 !important;
	background: #E6F2EA !important;
}

html body .tbp-sb-motivo input[type="radio"],
html body .tbp-sb-spunta input[type="checkbox"] {
	flex: 0 0 auto;
	width: 22px !important;
	height: 22px !important;
	margin: 0 !important;
	accent-color: #084828;
	box-shadow: none !important;
	outline: none !important;
	cursor: pointer;
}

/* Anello solo da tastiera, sulla riga intera. */
html body .tbp-sb-motivo:has(input:focus-visible),
html body .tbp-sb-spunta:has(input:focus-visible) {
	outline: 3px solid #C9A227 !important;
	outline-offset: 2px !important;
}

html body .tbp-sb-area {
	display: block;
	width: 100% !important;
	min-height: 104px;
	margin: 0 !important;
	padding: 12px 14px !important;
	border: 1px solid rgba(8, 72, 40, 0.22) !important;
	border-radius: 14px !important;
	background: #ffffff !important;
	color: #123326 !important;
	box-shadow: none !important;
	/* 16 px: sotto questa misura Safari su iPhone ingrandisce la pagina. */
	font: 400 16px/1.45 Manrope, "Helvetica Neue", Arial, sans-serif !important;
	resize: vertical;
	box-sizing: border-box;
}

html body .tbp-sb-area:focus {
	border-color: #084828 !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.5) !important;
}

html body .tbp-sb-conteggio {
	margin: 6px 2px 0 !important;
	color: #5D786B !important;
	font-size: 13px !important;
	text-align: right;
}

/* Il campo trappola: fuori dallo schermo, non «display:none» (alcuni
   programmi lo saltano apposta). */
.tbp-sb-trappola {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

html body .tbp-sb-spunta {
	display: flex !important;
	align-items: flex-start;
	gap: 12px;
	min-height: 44px;
	margin: 0 !important;
	padding: 10px 0 !important;
	border-radius: 8px;
	color: #123326 !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
	text-transform: none !important;
	cursor: pointer;
}

.tbp-sb-errore {
	margin: 0;
	padding: 10px 12px;
	border-radius: 12px;
	background: rgba(208, 22, 26, 0.08);
	color: #A3141D;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.tbp-sb-errore[hidden] {
	display: none !important;
}

/* I pulsanti in fondo: uno sopra l'altro, larghi uguali, il principale sopra. */
.tbp-sb-azioni {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px 18px 18px;
	border-top: 1px solid rgba(8, 72, 40, 0.1);
	background: inherit;
}

html body .tbp-sb-bottone {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	width: 100% !important;
	max-width: none !important;
	min-height: 52px !important;
	height: auto !important;
	margin: 0 !important;
	padding: 12px 18px !important;
	border: 1px solid rgba(8, 72, 40, 0.22) !important;
	border-radius: 16px !important;
	background: #ffffff !important;
	box-shadow: none !important;
	color: #084828 !important;
	-webkit-text-fill-color: #084828 !important;
	font-family: Manrope, "Helvetica Neue", Arial, sans-serif !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-align: center !important;
	text-shadow: none !important;
	cursor: pointer;
}

html body .tbp-sb-bottone--terziario:hover {
	background: #F4F7F5 !important;
}

html body .tbp-sb-bottone--primario {
	border-color: #084828 !important;
	background: #084828 !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

html body .tbp-sb-bottone--primario:hover {
	background: #06381F !important;
}

html body .tbp-sb-bottone:disabled {
	opacity: 0.6;
	cursor: progress;
}

html body .tbp-sb-bottone img {
	width: 22px !important;
	height: 22px !important;
	margin: 0 !important;
}

/* Nell'account il pulsante non occupa tutta la riga. */
html body .tbp-sb-account .tbp-sb-bottone {
	width: auto !important;
	min-height: 48px !important;
	font-size: 15px !important;
}

/* Il grazie. */
.tbp-sb-fatto {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 10px 4px 4px;
	text-align: center;
}

.tbp-sb-fatto img {
	width: 64px;
	height: 64px;
	object-fit: contain;
}

html body .tbp-sb-fatto p {
	color: #123326 !important;
	font-size: 16px;
	font-weight: 600;
}

/* L'elenco delle persone bloccate. */
.tbp-sb-elenco {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.tbp-sb-riga-bloccato {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	margin: 0 !important;
	padding: 8px 8px 8px 14px;
	border: 1px solid rgba(8, 72, 40, 0.14);
	border-radius: 14px;
}

.tbp-sb-riga-bloccato > div {
	flex: 1 1 auto;
	min-width: 0;
}

.tbp-sb-riga-bloccato strong {
	display: block;
	color: #123326;
	font-size: 15px;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.tbp-sb-riga-bloccato small {
	display: block;
	color: #5D786B;
	font-size: 13px;
}

html body .tbp-sb-riga-bloccato .tbp-sb-bottone {
	flex: 0 0 auto;
	width: auto !important;
	min-height: 44px !important;
	padding: 8px 14px !important;
	font-size: 14px !important;
}

.tbp-sb-riga-bloccato.is-sbloccato {
	opacity: 0.75;
}

/* Nella testata della chat il menu resta a destra; sul telefono va a capo.
   messaggi.css fa crescere ogni <div> figlio della testata (e' per il
   titolo): il menu no, se no il riquadro si ancorava al bordo della testata
   e non al pulsante. */
html body .tbp-messaggi-chat__header > .tbp-sb-menu {
	flex: 0 0 auto !important;
	width: auto !important;
	min-width: 0;
	margin-left: auto;
}

@media (max-width: 699px) {
	html body .tbp-messaggi-chat__header > .tbp-sb-menu {
		margin-left: 0;
	}
}

/* Con un foglio aperto il lanciatore di AI Colombo e il suo pallino si
   tolgono di mezzo (coprivano il foglio). Tornano alla chiusura. */
@layer tbp-appearance {
	body.tbp-sb-aperto .tbp-colombo-chat,
	body.tbp-sb-aperto .tbp-colombo-chat * {
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}
}

/* L'anello da tastiera e' uno solo, oro, anche nell'Ufficio (dove WCFM ne
   disegna uno verde con selettori a id). */
@layer tbp-appearance {
	html body :is(.tbp-sb-segnala, .tbp-sb-bloccati-link, .tbp-sb-menu__apri, .tbp-sb-bottone, .tbp-sb-menu__voce, .tbp-sb-chiudi):focus {
		outline: none !important;
		box-shadow: none !important;
	}
	html body :is(.tbp-sb-segnala, .tbp-sb-bloccati-link, .tbp-sb-menu__apri, .tbp-sb-bottone, .tbp-sb-menu__voce, .tbp-sb-chiudi):focus-visible {
		outline: 3px solid #C9A227 !important;
		outline-offset: 2px !important;
		box-shadow: none !important;
	}
}

/* L'etichetta prende sempre il colore del pulsante (la pagina del profilo
   colorava lo <span> per conto suo). */
@layer tbp-appearance {
	html body .tbp-sb-segnala span {
		color: inherit !important;
		-webkit-text-fill-color: inherit !important;
	}
}

/* Il tema da' ai pulsanti in :hover un testo bianco con !important: qui il
   colore resta quello del componente in ogni stato (lo strato vince). */
@layer tbp-appearance {
	html body :is(.tbp-sb-segnala, .tbp-sb-menu__apri, .tbp-sb-bloccati-link, .tbp-sb-bottone--terziario):is(:hover, :focus, :active, [aria-expanded="true"]) {
		color: #084828 !important;
		-webkit-text-fill-color: #084828 !important;
	}
	html body .tbp-sb-menu__voce:is(:hover, :focus, :active) {
		color: #123326 !important;
		-webkit-text-fill-color: #123326 !important;
	}
	html body .tbp-sb-menu__voce--pericolo:is(:hover, :focus, :active) {
		color: #B42318 !important;
		-webkit-text-fill-color: #B42318 !important;
	}
	html body .tbp-sb-bottone--primario:is(:hover, :focus, :active) {
		color: #ffffff !important;
		-webkit-text-fill-color: #ffffff !important;
	}
}

/* --- Tema scuro ----------------------------------------------------------- */
/* La chat resta un riquadro bianco anche di notte (messaggi.css): i suoi
   controlli tengono l'aspetto chiaro, per questo gli :not(...). */
@layer tbp-appearance {
	/* Anche la scheda del profilo singolo resta bianca di notte: li' il verde scuro. */
	html[data-tbp-theme="dark"] body .tbp-sb-segnala:not(.tbp-messaggi-chat *):not(.info-venditore *),
	html[data-tbp-theme="dark"] body .tbp-sb-segnala:not(.tbp-messaggi-chat *):not(.info-venditore *):is(:hover, :focus, :active) {
		color: #9BDBB5 !important;
		-webkit-text-fill-color: #9BDBB5 !important;
	}
	html[data-tbp-theme="dark"] body :is(.tbp-sb-bloccati-link, .tbp-sb-menu__apri):not(.tbp-messaggi-chat *),
	html[data-tbp-theme="dark"] body :is(.tbp-sb-bloccati-link, .tbp-sb-menu__apri):not(.tbp-messaggi-chat *):is(:hover, :focus, :active, [aria-expanded="true"]) {
		background: #1e1e1e !important;
		border-color: #3d5a4b !important;
		color: #9BDBB5 !important;
		-webkit-text-fill-color: #9BDBB5 !important;
	}
	html[data-tbp-theme="dark"] body :is(.tbp-sb-foglio, .tbp-sb-account):not(.tbp-messaggi-chat *) {
		background: #1e1e1e !important;
		border-color: #333333 !important;
		color: #ededed !important;
	}
	html[data-tbp-theme="dark"] body :is(.tbp-sb-capo, .tbp-sb-azioni, .tbp-sb-voci) {
		border-color: #333333 !important;
	}
	html[data-tbp-theme="dark"] body .tbp-sb-foglio .tbp-sb-menu__voce,
	html[data-tbp-theme="dark"] body .tbp-sb-foglio .tbp-sb-menu__voce:is(:hover, :focus, :active) {
		color: #ededed !important;
		-webkit-text-fill-color: #ededed !important;
	}
	html[data-tbp-theme="dark"] body .tbp-sb-foglio .tbp-sb-menu__voce + .tbp-sb-menu__voce {
		border-top-color: #333333 !important;
	}
	html[data-tbp-theme="dark"] body .tbp-sb-foglio .tbp-sb-menu__voce:hover {
		background: #2a2a2a !important;
	}
	html[data-tbp-theme="dark"] body .tbp-sb-foglio .tbp-sb-menu__voce--pericolo,
	html[data-tbp-theme="dark"] body .tbp-sb-foglio .tbp-sb-menu__voce--pericolo:is(:hover, :focus, :active) {
		color: #FF8A80 !important;
		-webkit-text-fill-color: #FF8A80 !important;
	}
	html[data-tbp-theme="dark"] body :is(.tbp-sb-titolo, .tbp-sb-account__titolo) {
		color: #ededed !important;
		-webkit-text-fill-color: #ededed !important;
	}
	html[data-tbp-theme="dark"] body :is(.tbp-sb-corpo p, .tbp-sb-account__testo, .tbp-sb-riga-bloccato small, .tbp-sb-conteggio) {
		color: #b5b5b5 !important;
		-webkit-text-fill-color: #b5b5b5 !important;
	}
	html[data-tbp-theme="dark"] body :is(.tbp-sb-etichetta, .tbp-sb-motivi legend, .tbp-sb-motivo, .tbp-sb-spunta, .tbp-sb-riga-bloccato strong, .tbp-sb-fatto p) {
		color: #ededed !important;
		-webkit-text-fill-color: #ededed !important;
	}
	html[data-tbp-theme="dark"] body .tbp-sb-motivo {
		background: #141414 !important;
		border-color: #3a3a3a !important;
	}
	html[data-tbp-theme="dark"] body .tbp-sb-motivo:has(input:checked) {
		background: #1E3A2C !important;
		border-color: #9BDBB5 !important;
	}
	html[data-tbp-theme="dark"] body :is(.tbp-sb-motivo input, .tbp-sb-spunta input) {
		accent-color: #9BDBB5;
	}
	html[data-tbp-theme="dark"] body .tbp-sb-area {
		background: #141414 !important;
		border-color: #3a3a3a !important;
		color: #ededed !important;
		-webkit-text-fill-color: #ededed !important;
	}
	html[data-tbp-theme="dark"] body .tbp-sb-area::placeholder {
		color: #9a9a9a !important;
		-webkit-text-fill-color: #9a9a9a !important;
	}
	html[data-tbp-theme="dark"] body .tbp-sb-chiudi {
		background: #2a2a2a !important;
		color: #ededed !important;
		-webkit-text-fill-color: #ededed !important;
	}
	html[data-tbp-theme="dark"] body .tbp-sb-bottone--terziario,
	html[data-tbp-theme="dark"] body .tbp-sb-bottone--terziario:is(:hover, :focus, :active) {
		background: transparent !important;
		border-color: #3d5a4b !important;
		color: #9BDBB5 !important;
		-webkit-text-fill-color: #9BDBB5 !important;
	}
	html[data-tbp-theme="dark"] body .tbp-sb-bottone--terziario:hover {
		background: #2a2a2a !important;
	}
	html[data-tbp-theme="dark"] body .tbp-sb-bottone--primario {
		border-color: #3d7a5a !important;
		background: #084828 !important;
		color: #ffffff !important;
		-webkit-text-fill-color: #ffffff !important;
	}
	html[data-tbp-theme="dark"] body .tbp-sb-errore {
		background: #49272b !important;
		color: #ffd6d9 !important;
	}
	html[data-tbp-theme="dark"] body .tbp-sb-riga-bloccato {
		border-color: #333333 !important;
	}
	html[data-tbp-theme="dark"] body .tbp-sb-conta:not(.tbp-messaggi-chat *) {
		background: #9BDBB5 !important;
		color: #0f0f0f !important;
		-webkit-text-fill-color: #0f0f0f !important;
	}
}

/* CEO 9/10: «icona report più grande, troppo piccola». 20 -> 32 px sul telefono,
   16 -> 28 px nella scheda da computer (lì il testo resta a 14 px). */
html body .tbp-sb-segnala:not(#tbp-sb-x) {
	gap: 10px !important;
}
html body .tbp-sb-segnala:not(#tbp-sb-x) img {
	flex: 0 0 32px !important;
	width: 32px !important;
	height: 32px !important;
}
/* La regola dei 16 px sta in @layer tbp-appearance: un !important in un layer batte
   quelli fuori, quindi questa sta nello stesso layer, con un selettore più forte. */
@layer tbp-appearance {
	html body.single-esperienze.tbp-scheda-pc #main .tbp-sb-riga--esperienza .tbp-sb-segnala.tbp-sb-segnala :is(img, svg) {
		flex: 0 0 28px !important;
		width: 28px !important;
		height: 28px !important;
		opacity: 1 !important;
	}
}
