body.yon-gestione-app {
	background: #f7f7f7;
}
.yon-gestione-topbar {
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
	padding: 12px 0;
	position: sticky;
	top: 0;
	z-index: 1020;
}
.yon-gestione-topbar__inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 16px;
	display: flex;
	align-items: center;
	gap: 16px;
}
.yon-gestione-topbar__brand {
	display: inline-flex;
}
.yon-gestione-topbar__logo {
	height: 32px;
	width: auto;
}
.yon-gestione-topbar__tagline {
	margin-left: auto;
	font-size: 12px;
	line-height: 1.2;
	color: #666;
	white-space: nowrap;
}
.yon-gestione-main {
	padding: 24px 0 64px;
}
.yon-gestione-container {
	max-width: 1140px;
}
.yon-page-heading {
	margin-bottom: 24px;
}
.yon-page-heading__title {
	font-size: 28px;
	font-weight: 600;
	text-transform: uppercase;
	color: #121212;
}
.yon-page-heading__actions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.yon-cpt-table {
	background: #fff;
}
.yon-cpt-actions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.yon-side-menu.offcanvas {
	max-width: 280px;
}
.yon-side-menu__nav a {
	display: block;
	padding: 10px 0;
	font-size: 18px;
	font-weight: 500;
	color: #121212;
	text-decoration: none;
	text-transform: uppercase;
}
.yon-side-menu__nav a:hover {
	color: #787878;
}
.yon-gestione-alert {
	border-radius: 0;
}
.yon-gestione-field > label {
	font-weight: 600;
	text-transform: uppercase;
}
.yon-gestione-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
}
.yon-gestione-tag-check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	cursor: pointer;
}
.yon-gestione-featured-preview img {
	max-width: 240px;
	height: auto;
	display: block;
}
.yon-gestione-featured-hint {
	margin: 0 0 16px;
	font-size: 16px;
	font-weight: 400;
	text-transform: none;
	color: #787878;
	line-height: 1.4;
}
.yon-gestione-featured-hint__crown {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
	color: #2e7d32;
	margin: 0 4px;
}
.yon-gestione-form .form-control {
	border-radius: 0 !important;
	background: #fff !important;
	border: 1px solid #d0d0d0 !important;
}
.yon-gestione-app .yon-gallery-handle {
	cursor: move;
	user-select: none;
	font-size: 18px;
	color: #787c82;
}

body.yon-compress-lock {
	overflow: hidden;
}
.yon-compress-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(18, 18, 18, 0.55);
}
.yon-compress-overlay[hidden] {
	display: none !important;
}
.yon-compress-overlay__box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 28px 32px;
	background: #F4F3EE;
	color: #121212;
	text-align: center;
	min-width: 240px;
}
.yon-compress-overlay__label {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
}
.yon-compress-overlay__spinner {
	width: 36px;
	height: 36px;
	border: 2px solid rgba(18, 18, 18, 0.15);
	border-top-color: #121212;
	border-radius: 50%;
	animation: yon-compress-spin 0.75s linear infinite;
}
@keyframes yon-compress-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Media modal gestione: titolo sopra le tab, senza alterare il layout WP */
body.yon-gestione-app .media-frame-title {
	z-index: 10;
}
body.yon-gestione-app .media-frame-title > h4 {
	position: absolute;
	top: 16px !important;
	left: 16px !important;
	margin: 0;
}
body.yon-gestione-app .media-frame-router,
body.yon-gestione-app .media-frame-tab-panel {
	z-index: 1;
}
body.yon-gestione-app .yon-gallery-actions .btn-yonout-nero,
body.yon-gestione-app .yon-gallery-actions .btn-yonout-verde,
body.yon-gestione-app .yon-gallery-actions .btn-yonout-blu,
body.yon-gestione-app .yon-gallery-actions .btn-yonout-rosso,
body.yon-gestione-app .yon-gallery-actions .btn-yonout-arancione,
body.yon-gestione-app .yon-gallery-actions .btn-yonout-grigio,
body.yon-gestione-app .yon-progetto-gallery-modal__close.btn-yonout-rosso,
body.yon-gestione-app #yon-progetto-gallery-add {
	box-sizing: border-box;
	width: 52px !important;
	height: 36px !important;
	min-width: 52px !important;
	min-height: 36px !important;
	padding: 0 !important;
	font-size: 14px !important;
	font-weight: 600;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	vertical-align: middle;
	margin-right: 4px;
}
#yon-progetto-gallery-add {
	margin-right: 0;
}
#yon-progetto-gallery-add .ph-bold,
.yon-gallery-actions .ph-bold,
.yon-progetto-gallery-modal__close .ph-bold,
body.yon-gestione-app .btn-yonout-icon .ph,
body.yon-gestione-app .btn-yonout-icon .ph-bold {
	font-size: 20px;
	line-height: 1;
}

body.yon-gestione-app .btn.btn-yonout-verde,
body.yon-gestione-app .btn.btn-yonout-blu,
body.yon-gestione-app .btn.btn-yonout-grigio,
body.yon-gestione-app .btn.btn-yonout-rosso,
body.yon-gestione-app .btn.btn-yonout-arancione,
body.yon-gestione-app .btn.btn-yonout-nero {
	--bs-btn-padding-x: 16px;
	--bs-btn-padding-y: 4px;
	--bs-btn-font-size: 14px;
	--bs-btn-font-weight: 400;
	--bs-btn-line-height: 1.4;
	--bs-btn-border-radius: 100px;
	box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.25);
}

/*--- Shortcode moduli (elenco gestione) ---*/
.yon-shortcode-cell {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	max-width: 100%;
}
.yon-shortcode-code {
	font-size: 0.85rem;
}