/* Pulsanti flottanti (torna su, crea, cerca). Tutto sotto .ppf: non tocca il resto del sito. */
.ppf { position: fixed; right: 20px; bottom: 20px; z-index: 9990; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-family: var(--wp--preset--font-family--inter, "Inter", system-ui, sans-serif); }
.ppf__group { position: relative; display: flex; align-items: center; justify-content: flex-end; }
.ppf__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(14, 42, 61, .12); background: #fff; color: #0E2A3D; display: grid; place-items: center; cursor: pointer; padding: 0; box-shadow: 0 2px 6px rgba(14, 42, 61, .14), 0 8px 22px rgba(14, 42, 61, .12); transition: transform .18s ease, background-color .18s ease, opacity .25s ease; opacity: .92; }
.ppf__btn:hover, .ppf__btn[aria-expanded=true] { opacity: 1; transform: translateY(-1px); }
.ppf__btn--main { background: #0E2A3D; color: #fff; border-color: #0E2A3D; }
.ppf__btn--main[aria-expanded=true] svg { transform: rotate(45deg); }
.ppf__btn svg { transition: transform .2s ease; }
.ppf__btn--top { width: 40px; height: 40px; background: #C2992F; color: #0E2A3D; border-color: #C2992F; }
.ppf__btn[hidden] { display: none; }
.ppf__btn:focus-visible, .ppf__item:focus-visible, .ppf__search input:focus-visible, .ppf__search button:focus-visible { outline: 3px solid #C2992F; outline-offset: 2px; }
/* Etichetta che compare a sinistra al passaggio del mouse. */
.ppf__label { position: absolute; right: calc(100% + 10px); white-space: nowrap; background: #0E2A3D; color: #fff; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 6px; opacity: 0; transform: translateX(4px); pointer-events: none; transition: opacity .15s ease, transform .15s ease; }
.ppf__group:hover .ppf__label { opacity: 1; transform: none; }
.ppf__btn[hidden] + .ppf__label, .ppf__btn[aria-expanded=true] + .ppf__label { display: none; }
.ppf__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Pannelli */
.ppf__panel { position: absolute; right: calc(100% + 12px); bottom: 0; width: 260px; background: #fff; border: 1px solid #DCE3E7; border-radius: 12px; padding: 10px; box-shadow: 0 10px 30px rgba(14, 42, 61, .18); }
.ppf__panel[hidden] { display: none; }
.ppf__title { display: block; margin: 2px 4px 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #1E6E7E; }
.ppf__item { display: block; padding: 9px 10px; border-radius: 8px; text-decoration: none; color: #14232E; }
.ppf__item:hover { background: #F3F6F7; }
.ppf__item strong { display: block; font-size: 14px; color: #0E2A3D; }
.ppf__item small { display: block; font-size: 12px; color: #5B6B76; }
.ppf__row { display: flex; gap: 6px; }
.ppf__search input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid #C5D0D6; border-radius: 8px; font: 600 14px ui-monospace, Menlo, Consolas, monospace; text-transform: uppercase; color: #14232E; background: #fff; }
.ppf__search button { padding: 8px 12px; border: 0; border-radius: 8px; background: #0E2A3D; color: #fff; font-weight: 600; cursor: pointer; }
.ppf__search small { display: block; margin: 6px 4px 2px; font-size: 11.5px; line-height: 1.35; color: #5B6B76; }
/* Non coprire la barra "Salva" del modulo scheda. */
body:has(.pp-actions--sticky) .ppf { bottom: 86px; }
@media (max-width: 600px) {
	.ppf { right: 12px; bottom: 12px; gap: 8px; }
	.ppf__btn { width: 42px; height: 42px; }
	.ppf__btn--top { width: 38px; height: 38px; }
	.ppf__label { display: none; }
	.ppf__panel { position: fixed; right: 64px; left: 12px; bottom: 12px; width: auto; }
}
@media (prefers-reduced-motion: reduce) { .ppf__btn, .ppf__btn svg, .ppf__label { transition: none; } }
@media print { .ppf { display: none !important; } }
