/* El radio sigue siendo la fuente de verdad. El brillo confirma la selección. */
.of-iscrizione .scelta:has(input[name=piano]) { isolation: isolate; }
.of-iscrizione .scelta:has(input[name=piano])::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--mint), 0 0 28px -12px var(--mint);
  background: linear-gradient(110deg, rgb(124 255 196 / .09), transparent 70%);
  pointer-events: none; opacity: 0;
}
.of-iscrizione .scelta:has(input[name=piano]:checked)::after { opacity: 1; }

/* El precio recibe luz una sola vez; ni números ni tarifas se interpolan. */
.of-movimento .listino-prezzo { position: relative; isolation: isolate; }
.of-movimento .listino-prezzo::after {
  content: ""; position: absolute; inset: 8px; border-radius: 12px; z-index: -1;
  background: linear-gradient(100deg, transparent, rgb(124 255 196 / .24), transparent);
  pointer-events: none; opacity: 0;
}
.of-ufficio .vantaggi { position: relative; isolation: isolate; }
.of-ufficio .vantaggi::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(transparent, var(--mint) 15% 85%, transparent);
  transform: scaleY(0); transform-origin: top; opacity: 0; pointer-events: none; z-index: -1;
}
.of-ufficio .vantaggio { position: relative; }


@media (prefers-reduced-motion: no-preference) {
.of-iscrizione .scelta::after { transition: opacity .24s var(--of-molla); }
.listino-prezzo.of-entrato::after { animation: of027-accende .95s var(--of-molla) both; }
.of-collegato::before { animation: of027-collega 1s var(--of-molla) forwards; }
}
@media (max-width: 760px) { .of-ufficio .vantaggi::before { left: 20px; } }
@media (forced-colors: active) { .of-iscrizione .scelta:has(input:checked) { outline: 2px solid Highlight; } }
