/* Guided help assistant (Views/Shared/_Assistant.cshtml). Bottom-left on purpose: the WhatsApp button owns bottom-right. --za-c = company color. */
.za { position: fixed; left: 20px; bottom: 20px; z-index: 100000; /* above the sites' sticky headers */ font-size: 15px; line-height: 1.5; }
.za *, .za *::before, .za *::after { box-sizing: border-box; }
.za-launch { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px 0 14px; border: 0; border-radius: 999px; background: var(--za-c); color: #fff; font: inherit; font-weight: 700; box-shadow: 0 0 0 3px #fff, 0 12px 30px -10px rgba(0,0,0,.45); cursor: pointer; transition: transform .2s; } /* white ring: stays visible on same-color footers */
.za-launch:hover { transform: translateY(-2px); }
.za-launch svg { width: 24px; height: 24px; flex: none; }
.za-launch:focus-visible, .za-close:focus-visible, .za-chip:focus-visible, .za-link:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.za-panel { position: absolute; left: 0; bottom: 64px; width: 370px; max-height: min(600px, calc(100vh - 110px)); display: flex; flex-direction: column; background: #fff; color: #1d2433; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px -18px rgba(0,0,0,.45); animation: za-in .25s ease-out; }
.za-panel[hidden] { display: none; }
.za-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--za-c); color: #fff; }
.za-head strong { display: block; font-size: 16px; color: #fff; }
.za-head small { display: block; font-size: 13px; opacity: .85; }
.za-close { width: 34px; height: 34px; flex: none; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.za-log { flex: 1 1 auto; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #f5f6fa; min-height: 120px; }
.za-msg { max-width: 88%; padding: 9px 13px; border-radius: 16px; white-space: pre-line; animation: za-in .2s ease-out; }
.za-bot { align-self: flex-start; background: #fff; border: 1px solid #e3e6ef; border-start-start-radius: 4px; }
.za-me { align-self: flex-end; background: var(--za-c); color: #fff; border-start-end-radius: 4px; }
.za-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.za-link { display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--za-c); color: var(--za-c) !important; font-weight: 600; font-size: 14px; text-decoration: none !important; }
.za-link:hover { background: var(--za-c); color: #fff !important; }
.za-pick { background: #fff; font-family: inherit; cursor: pointer; } /* team buttons inside a message */
.za-link.is-call, .za-link.is-mail { background: var(--za-c); color: #fff !important; }
.za-link.is-whatsapp { background: #25d366; border-color: #25d366; color: #fff !important; }
.za-choices { flex: none; max-height: 45%; overflow-y: auto; display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px 14px; border-top: 1px solid #e3e6ef; background: #fff; }
.za-chip { border: 1px solid #d5d9e6; background: #fff; color: #1d2433; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.za-chip:hover { border-color: var(--za-c); color: var(--za-c); }
.za-chip.is-team { background: #1d2433; border-color: #1d2433; color: #fff; }
@keyframes za-in { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 575px) {
    .za { left: 12px; bottom: 16px; }
    .za-launch { width: 52px; padding: 0; justify-content: center; }
    .za-launch span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } /* icon only, name stays for screen readers */
    .za-panel { position: fixed; left: 8px; right: 8px; bottom: 80px; width: auto; max-height: calc(100vh - 100px); }
}
@media (prefers-reduced-motion: reduce) { .za-panel, .za-msg { animation: none; } }
