/* "Jak wolisz porozmawiać?" chooser above the Core chat button (components/landing/assist-bubble).
   The Core widget (#acw-root) sits at bottom/right 24px with a 48px button. */
.lt-assist {
    position: fixed;
    right: 24px;
    bottom: 86px;
    z-index: 1040;
    width: min(300px, calc(100vw - 32px));
    background: #ffffff;
    border: 1px solid #dbe3ea;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(18, 39, 56, 0.22);
    font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
    animation: lt-assist-in 0.35s ease;
}
.lt-assist[hidden] { display: none; }
.lt-assist::after {
    content: '';
    position: absolute;
    right: 32px;
    bottom: -7px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-right: 1px solid #dbe3ea;
    border-bottom: 1px solid #dbe3ea;
    transform: rotate(45deg);
}
.lt-assist__head { display: flex; align-items: center; gap: 12px; padding: 14px 34px 10px 14px; color: #122738; }
.lt-assist__avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid #11662D; }
.lt-assist__head strong { display: block; font-size: 15px; line-height: 1.3; }
.lt-assist__head span { display: block; margin-top: 2px; font-size: 13px; color: #4a5d6e; }
.lt-assist__options { display: flex; flex-direction: column; padding: 0 8px 8px; }
.lt-assist__opt {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 8px 10px;
    border: 0;
    border-top: 1px solid #edf1f4;
    background: none;
    color: #122738;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    border-radius: 10px;
}
.lt-assist__opt:hover { background: #eaf7ef; color: #122738; }
.lt-assist__opt svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: #eaf7ef; fill: none; stroke: #11662D; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lt-assist__opt span { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.lt-assist__opt b { font-size: 14px; font-weight: 700; }
.lt-assist__opt small { font-size: 12.5px; color: #4a5d6e; }
.lt-assist__num { font-variant-numeric: tabular-nums; font-weight: 700; color: #11662D !important; }
.lt-assist__x { position: absolute; top: 4px; right: 6px; z-index: 1; padding: 4px 8px; border: 0; background: none; color: #8a9bab; font-size: 22px; line-height: 1; cursor: pointer; }
.lt-assist__x:hover { color: #122738; }
.lt-assist__opt:focus-visible, .lt-assist__x:focus-visible { outline: 2px solid #11662D; outline-offset: 2px; }
/* Languages without live contact: a link to the contact form (opens the modal) in the place and
   look of the Core chat button (#acw-trigger). */
.lt-assist-trigger {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1040;
    height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 24px;
    background: #11662D;
    color: #ffffff;
    font: 600 14px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.18s, box-shadow 0.18s;
    animation: lt-assist-glow 2.2s ease-out infinite;
}
.lt-assist-trigger:hover { color: #ffffff; transform: scale(1.04); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.32); animation: none; }
.lt-assist-trigger:focus-visible { outline: 2px solid #122738; outline-offset: 3px; }
html.lt-menu-open .lt-assist-trigger, body.glightbox-open .lt-assist-trigger { display: none; }
@keyframes lt-assist-glow {
    0% { box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(17, 102, 45, 0.5); }
    70% { box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25), 0 0 0 14px rgba(17, 102, 45, 0); }
    100% { box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(17, 102, 45, 0); }
}
/* The widget's own invite only repeated the button text — replaced by the bubble above. */
#acw-invite { display: none !important; }
html.lt-menu-open .lt-assist, body.glightbox-open .lt-assist { display: none; }
@keyframes lt-assist-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 575.98px) {
    .lt-assist { right: 16px; bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) { .lt-assist, .lt-assist-trigger { animation: none; } }
/* "Nie możesz się zdecydować?" (components/landing/advice-modal) — calm white card like the contact form,
   Michał's photo on top, one solid action and two outlined ones (same layout as on the 18w site). */
.lt-advice .modal-dialog { max-width: 440px; }
.lt-advice__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 40px 28px 30px;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(10, 24, 38, 0.25);
    font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: #14273A;
    text-align: center;
}
.lt-advice__x { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #4b6075; font-size: 24px; line-height: 1; cursor: pointer; }
.lt-advice__x:hover { background: #eef2f6; color: #14273A; }
.lt-advice__avatar { width: 112px; height: 112px; margin-bottom: 6px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid #13652F; }
.lt-advice__title { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.2; color: #14273A; }
.lt-advice__lead { margin: 0; font-size: 15px; line-height: 1.5; color: #4b6075; }
.lt-advice__owner { margin: 0 0 10px; font-size: 13px; color: #4b6075; }
.lt-advice__actions { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.lt-advice__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 18px;
    border: 1px solid #d5dde5;
    border-radius: 10px;
    background: #ffffff;
    color: #14273A;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.lt-advice__btn:hover { border-color: #13652F; color: #13652F; }
.lt-advice__btn--solid { border-color: #13652F; background: #13652F; color: #ffffff; font-variant-numeric: tabular-nums; }
.lt-advice__btn--solid:hover { background: #0d4a22; color: #ffffff; }
.lt-advice__x:focus-visible, .lt-advice__btn:focus-visible { outline: 3px solid #3CC06E; outline-offset: 2px; }
/* With any window open (contact form, "Nie możesz się zdecydować?") the corner chat button and the chooser
   step aside — on a phone the button covered the consent box and the send button. */
body.modal-open #acw-root, body.modal-open .lt-assist, body.modal-open .lt-assist-trigger { display: none; }
/* The chat button waits for the "Jak wolisz porozmawiać?" chooser (assist_bubble.js removes the class). */
html.lt-chat-waiting #acw-root { display: none; }
