/* P7 Nexus AI wordmark — same behaviour as the Odoo chat panel logo, a little more alive:
   letters rise in one after another (the X spins in), then every few seconds a soft wave runs through the
   letters and the X glows; hovering lifts the letters. */
span.p7-logo, .p7-logo { display: inline-flex; align-items: center; line-height: 0; color: #1a2433; text-decoration: none; }
.p7-logo svg { display: block; width: auto; height: 100%; overflow: visible; }
span.p7-logo .p7-logo-mark { display: none; }
.p7-logo .p7l {
  transform-box: fill-box; transform-origin: 50% 60%;
  animation: p7l-in .75s cubic-bezier(.22, 1.25, .36, 1) backwards, p7l-wave 7s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 80ms + 120ms), calc(var(--i, 0) * 100ms + 2.4s);
  transition: transform .3s ease, filter .3s ease;
}
.p7-logo .p7l-x {
  animation: p7l-spin .95s cubic-bezier(.22, 1.2, .36, 1) backwards, p7l-wave 7s ease-in-out infinite, p7l-glow 5s ease-in-out 1.6s infinite;
  animation-delay: calc(var(--i, 0) * 80ms + 120ms), calc(var(--i, 0) * 100ms + 2.4s), 1.6s;
}
a:hover > .p7-logo, .p7-logo:hover { filter: drop-shadow(0 0 6px rgba(29, 109, 181, .45)); }
a:hover > .p7-logo .p7l, .p7-logo:hover .p7l { transform: translateY(-2px); transition-delay: calc(var(--i, 0) * 25ms); }
a:hover > .p7-logo .p7l-x, .p7-logo:hover .p7l-x { filter: saturate(1.35) brightness(1.08); }
.p7-logo--side { height: 26px; }
.p7-logo--head { height: 24px; }
.p7-logo--login { height: 34px; }
.p7-logo--on-dark { color: #fff; }
@keyframes p7l-in { from { opacity: 0; transform: translateY(12px) scale(.82); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes p7l-spin { from { opacity: 0; transform: rotate(-220deg) scale(.3); } to { opacity: 1; transform: none; } }
@keyframes p7l-wave { 0%, 11%, 100% { translate: 0 0; } 5.5% { translate: 0 -3px; } }
@keyframes p7l-glow { 0%, 70%, 100% { filter: none; } 82% { filter: saturate(1.5) brightness(1.15) drop-shadow(0 0 4px rgba(0, 132, 249, .65)); } }
@media (prefers-reduced-motion: reduce) { .p7-logo .p7l { animation: none; transition: none; } a:hover > .p7-logo .p7l, .p7-logo:hover .p7l { transform: none; } }
