.esk-chat {
    --esk-navy: #103a55;
    --esk-green: #a4bf35;
    --esk-forest: #35580c;
    --esk-ink: #203748;
    --esk-line: #d7e0e5;
    --esk-fog: #f0f5f7;
    --esk-edge: 1.25rem;
    --esk-bottom: max(var(--esk-edge), env(safe-area-inset-bottom), var(--esk-obstacle-inset, 0px));
    position: fixed;
    inset-inline-start: calc(var(--esk-visible-left, 0px) + max(var(--esk-edge), env(safe-area-inset-left)));
    inset-block-end: calc(var(--esk-bottom) + var(--esk-keyboard-inset, 0px));
    display: grid;
    justify-items: start;
    gap: .55rem;
    z-index: 999;
    color: var(--esk-ink);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.48;
}
.esk-chat:not(.esk-chat-open) {
    inset-inline-start: max(var(--esk-edge), env(safe-area-inset-left));
    inset-block-end: max(var(--esk-edge), env(safe-area-inset-bottom));
}
.esk-chat *, .esk-chat *::before, .esk-chat *::after { box-sizing: border-box; }
.esk-chat [hidden] { display: none !important; }
.esk-chat button, .esk-chat input { font: inherit; margin: 0; }
.esk-chat button:not(:disabled) { cursor: pointer; }
.esk-chat button:disabled { opacity: .6; }
.esk-chat :where(button, input, a):focus-visible {
    outline: 2px solid #096797;
    outline-offset: 3px;
}
.esk-chat a { color: var(--esk-navy); text-decoration: underline; text-underline-offset: .15em; }

.esk-chat .esk-chat-launcher {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 0;
    border-radius: 100px;
    padding: .58rem .9rem .58rem .66rem;
    background: var(--esk-navy);
    color: white;
    font-weight: 650;
    box-shadow: 0 5px 16px #103a5533;
}
.esk-chat-launcher svg, .esk-chat-icon svg { display: block; width: 25px; height: 25px; color: var(--esk-green); }
.esk-chat .esk-chat-launcher:hover { background: #184d6c; }
.esk-chat-panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    inline-size: min(410px, calc(var(--esk-visible-width, 100vw) - 2 * var(--esk-edge)));
    block-size: min(570px, calc(var(--esk-visible-height, 100dvh) - var(--esk-bottom) - var(--esk-edge)));
    background: white;
    border: 1px solid var(--esk-line);
    border-radius: 17px 17px 17px 6px;
    overflow: hidden;
    box-shadow: 0 17px 52px #103a5533;
}
.esk-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .7rem .8rem .7rem 1rem;
    background: var(--esk-navy);
    color: white;
    border-block-start: 4px solid var(--esk-green);
}
.esk-chat-brand { display: flex; align-items: center; gap: .65rem; }
.esk-chat-icon { display: grid; place-items: center; background: #ffffff19; inline-size: 38px; block-size: 38px; border-radius: 9px; }
.esk-chat .esk-chat-header h2 {
    color: white; font: inherit; font-size: 1.04rem; font-weight: 700;
    line-height: 1.2; margin: 0; padding: 0; text-transform: none;
}
.esk-chat .esk-chat-header h2::after { content: none; }
.esk-chat-brand div > span { color: #e0ebf0; font-size: .79rem; }
.esk-chat .esk-chat-close {
    border: 0; background: transparent; color: white; font-size: 1.6rem; line-height: 1;
    inline-size: 44px; block-size: 44px; padding: 0; border-radius: 8px;
}
.esk-chat .esk-chat-close:hover { background: #ffffff20; }
.esk-chat-header button:focus-visible, .esk-chat-launcher:focus-visible { outline-color: var(--esk-green); }

.esk-chat-body { overflow-y: auto; overscroll-behavior: contain; padding: 1rem; }
.esk-chat .esk-chat-intro { margin: 0 0 .85rem; font-weight: 600; color: var(--esk-navy); }
.esk-chat-quick { display: grid; gap: .45rem; }
.esk-chat .esk-chat-quick button {
    display: flex; align-items: center; justify-content: space-between; gap: .6rem;
    inline-size: 100%; text-align: start;
    border: 1px solid var(--esk-line); border-radius: 8px; background: white; color: var(--esk-navy);
    padding: .5rem .75rem; font-size: .88rem; min-height: 44px;
}
.esk-chat .esk-chat-quick button::after {
    content: ''; inline-size: 6px; block-size: 6px; flex: none;
    border-block-start: 1.5px solid currentColor; border-inline-end: 1.5px solid currentColor;
    transform: rotate(45deg);
}
.esk-chat .esk-chat-quick button:hover { border-color: var(--esk-green); background: #f7faec; }
.esk-chat-history { display: grid; gap: .65rem; }
.esk-chat-message {
    justify-self: start;
    max-inline-size: 93%;
    background: var(--esk-fog);
    border-radius: 4px 11px 11px;
    padding: .55rem .7rem;
    overflow-wrap: anywhere;
}
.esk-chat-message.esk-chat-message-out { justify-self: end; background: #edf4da; border-radius: 11px 4px 11px 11px; }
.esk-chat-message strong { font-size: .7rem; color: var(--esk-navy); }
.esk-chat .esk-chat-message p { margin: .14rem 0 0; font-size: .87rem; white-space: pre-wrap; }
.esk-chat-message a { display: inline-block; font-size: .79rem; margin-block-start: .4rem; font-weight: 650; }
.esk-chat .esk-chat-status { margin: 0; color: var(--esk-forest); font-size: .81rem; }
.esk-chat .esk-chat-status:not(:empty) {
    padding: .35rem .55rem; margin-block-end: .48rem; background: #f0f5e1; border-radius: 5px;
}
.esk-chat .esk-chat-status.is-error { background: #fff3e5; color: #653709; }

.esk-chat-bottom { border-block-start: 1px solid var(--esk-line); padding: .65rem .85rem .75rem; background: white; }
.esk-chat .esk-chat-privacy { margin: .32rem 0 0; color: #405968; font-size: .72rem; line-height: 1.4; }
.esk-chat-ai { display: flex; align-items: flex-start; gap: .4rem; color: #405968; font-size: .74rem; margin-block-end: .5rem; }
.esk-chat .esk-chat-ai input { margin-top: .13rem; }
.esk-chat-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem; margin: 0; }
.esk-chat .esk-chat-form input {
    inline-size: 100%; min-inline-size: 0; min-height: 44px; padding: .5rem .65rem;
    border: 1px solid #9aadb8; border-radius: 8px; background: white; color: var(--esk-ink); font-size: 16px;
}
.esk-chat .esk-chat-send {
    border: 0; border-radius: 8px; padding: .42rem .65rem; background: var(--esk-navy); color: white;
    font-weight: 650; font-size: .83rem;
}
.esk-chat-links { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .7rem; margin-block-start: .45rem; }
.esk-chat-links .esk-chat-human, .esk-chat-links a, .esk-chat .esk-chat-restart {
    display: inline-flex; align-items: center; min-height: 36px;
    border: 0; background: transparent; padding: 0; color: var(--esk-navy); font-size: .78rem;
    text-decoration: underline; text-underline-offset: .17em;
}
.esk-chat-links .esk-chat-quote {
    padding-inline: .62rem; border-radius: 6px; background: var(--esk-green);
    color: #172f0d; text-decoration: none; font-weight: 700;
}
.esk-chat-links .esk-chat-quote:hover { background: #b4cb55; }
.esk-chat-sr {
    position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
html:has(.cmplz-cookiebanner.cmplz-show) .esk-chat { visibility: hidden; }

@media (max-width: 550px) {
    .esk-chat { --esk-edge: .75rem; }
}
.esk-chat-compact .esk-chat-header { padding-block: .25rem; }
.esk-chat-compact .esk-chat-body { padding: .55rem .7rem; }
.esk-chat-compact .esk-chat-bottom { padding: .35rem .55rem; }
@media (max-width: 350px) {
    .esk-chat .esk-chat-launcher { font-size: .83rem; }
    .esk-chat-body { padding: .72rem; }
}
