@font-face {
    font-family: 'Dexcy Chat Inter';
    src: url('fonts/inter-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
        U+FEFF, U+FFFD;
}
#dxchat-widget {
    --dx-ink: #182539;
    --dx-muted: #4a5d72;
    --dx-border: #dce4ee;
    --dx-paper: #fff;
    --dx-shadow: 0 14px 52px #0d214a32, 0 2px 8px #0d214a18;
    position: fixed;
    z-index: 100100;
    bottom: calc(max(var(--dx-bottom), env(safe-area-inset-bottom)) + var(--dx-keyboard, 0px));
    right: max(19px, env(safe-area-inset-right));
    color: var(--dx-ink);
    font: 400 14px/1.48 'Dexcy Chat Inter', system-ui, -apple-system, sans-serif;
    text-align: left;
    letter-spacing: normal;
}
#dxchat-widget.dxchat-left { left: max(19px, env(safe-area-inset-left)); right: auto; }
#dxchat-widget *, #dxchat-widget *::before, #dxchat-widget *::after { box-sizing: border-box; }
#dxchat-widget [hidden] { display: none !important; }
#dxchat-widget p, #dxchat-widget h2, #dxchat-widget h3 { margin: 0; padding: 0; font: inherit; color: inherit; letter-spacing: normal; }
#dxchat-widget button, #dxchat-widget input, #dxchat-widget textarea {
    font: inherit;
    letter-spacing: inherit;
    text-transform: none;
}
#dxchat-widget button {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    min-height: 36px;
    padding: 7px 13px;
    text-decoration: none;
    text-align: center;
    box-shadow: none;
    border-radius: 9px;
    font-weight: 650;
    line-height: 1.18;
}
#dxchat-widget button:focus-visible, #dxchat-widget a:focus-visible,
#dxchat-widget input:focus-visible, #dxchat-widget textarea:focus-visible {
    outline: 2px solid #376cd7;
    outline-offset: 2px;
}
#dxchat-widget a { color: #174795; text-decoration: underline; }
#dxchat-widget .dxchat-launch, #dxchat-widget .dxchat-primary {
    background: var(--dx-accent);
    color: var(--dx-on-accent, white);
}
#dxchat-widget .dxchat-launch {
    position: relative;
    gap: 11px;
    min-height: 50px;
    padding: 12px 20px;
    border-radius: 100px;
    font-size: 15px;
    box-shadow: 0 7px 24px #0d214a37;
}
#dxchat-widget .dxchat-launch:hover, #dxchat-widget .dxchat-primary:hover { filter: brightness(1.12); }
#dxchat-widget .dxchat-launch-copy {
    display: grid;
    justify-items: start;
    gap: 3px;
    text-align: left;
}
#dxchat-widget .dxchat-launch-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 500;
}
#dxchat-widget .dxchat-launch-status::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3cdbab;
    box-shadow: 0 0 0 1px #0b603b;
}
#dxchat-widget .dxchat-icon {
    display: inline-block;
    flex: none;
    position: relative;
    width: 17px;
    height: 14px;
    border: 1.6px solid currentColor;
    border-radius: 5px;
}
#dxchat-widget .dxchat-icon::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    bottom: -3px;
    left: 3px;
    border-bottom: 1.6px solid currentColor;
    border-left: 1.6px solid currentColor;
    transform: skewY(-30deg);
    background: var(--dx-accent);
}
#dxchat-widget .dxchat-launch-dot {
    width: 11px;
    height: 11px;
    position: absolute;
    right: 3px;
    top: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #e77b47;
}
#dxchat-widget .dxchat-panel {
    position: absolute;
    right: 0;
    bottom: 61px;
    display: flex;
    flex-direction: column;
    width: min(420px, calc(100vw - 38px));
    height: min(660px, calc(100dvh - var(--dx-bottom) - 75px - env(safe-area-inset-top) - var(--dx-keyboard, 0px)));
    background: var(--dx-paper);
    border: 1px solid var(--dx-border);
    border-radius: 19px;
    box-shadow: var(--dx-shadow);
    overflow: hidden;
    isolation: isolate;
}
#dxchat-widget.dxchat-left .dxchat-panel { left: 0; right: auto; }
#dxchat-widget .dxchat-header {
    flex: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--dx-on-accent, white);
    background: var(--dx-accent);
}
#dxchat-widget .dxchat-mark {
    width: 38px;
    height: 38px;
    flex: none;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 11px;
    font-size: 20px;
    font-weight: 750;
}
#dxchat-widget .dxchat-heading { flex: 1; min-width: 0; }
#dxchat-widget .dxchat-heading strong { font-size: 16px; line-height: 1.2; overflow-wrap: anywhere; }
#dxchat-widget .dxchat-presence { font-size: 12px; margin-top: 3px; display: flex; align-items: center; gap: 6px; }
#dxchat-widget .dxchat-presence::before {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    background: currentColor;
    opacity: .58;
    border-radius: 50%;
}
#dxchat-widget .dxchat-presence.dxchat-online::before { background: #3cdbab; opacity: 1; }
#dxchat-widget .dxchat-sound {
    flex: none;
    background: transparent;
    color: inherit;
    font-size: 11px;
    min-height: 34px;
    padding: 5px 7px;
    border-color: currentColor;
}
#dxchat-widget .dxchat-sound:hover { background: #ffffff28; }
#dxchat-widget .dxchat-sound:focus-visible { outline-color: currentColor; }
#dxchat-widget .dxchat-close {
    flex: none;
    background: transparent;
    color: inherit;
    font-size: 24px;
    width: 38px;
    padding: 0 0 2px;
}
#dxchat-widget .dxchat-close:hover { background: #ffffff28; }
#dxchat-widget .dxchat-close:focus-visible { outline-color: currentColor; }
#dxchat-widget .dxchat-scroll {
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    flex: 1;
    padding: 16px;
    background: #f6f8fc;
}
#dxchat-widget .dxchat-content h2 {
    margin: 7px 0;
    font-size: 23px;
    line-height: 1.25;
    font-weight: 700;
    overflow-wrap: anywhere;
}
#dxchat-widget .dxchat-content h2 + p { color: var(--dx-muted); }
#dxchat-widget .dxchat-options, #dxchat-widget .dxchat-topicchoices { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
#dxchat-widget .dxchat-ghost, #dxchat-widget .dxchat-chip {
    background: #fff;
    color: #1a417b;
    border-color: #c8d7eb;
}
#dxchat-widget .dxchat-chip { min-height: 33px; font-size: 12px; padding: 6px 8px; }
#dxchat-widget .dxchat-ghost:hover, #dxchat-widget .dxchat-chip:hover { background: #eaf1fc; border-color: #9bb8e0; }
#dxchat-widget .dxchat-legal { margin-top: 15px; font-size: 12px; }
#dxchat-widget .dxchat-banner {
    padding: 11px 12px;
    background: #e9f1ff;
    border: 1px solid #d9e6fc;
    border-radius: 11px;
    margin-bottom: 13px;
    color: #253e64;
}
#dxchat-widget .dxchat-banner button { margin-top: 8px; }
#dxchat-widget .dxchat-log { display: grid; gap: 10px; }
#dxchat-widget .dxchat-line { text-align: left; max-width: 90%; justify-self: start; min-width: 0; }
#dxchat-widget .dxchat-yours { text-align: right; justify-self: end; }
#dxchat-widget .dxchat-bubble {
    background: #fff;
    border: 1px solid #e0e7ef;
    border-radius: 12px 12px 12px 3px;
    padding: 9px 11px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    text-align: left;
}
#dxchat-widget .dxchat-yours .dxchat-bubble {
    background: #e3edff;
    border-color: #d8e5fb;
    border-radius: 12px 12px 3px 12px;
}
#dxchat-widget .dxchat-line small { color: var(--dx-muted); font-size: 11px; display: block; margin-top: 3px; }
#dxchat-widget .dxchat-wizard {
    margin-top: 12px;
    border: 1px solid var(--dx-border);
    background: #fff;
    border-radius: 11px;
    padding: 11px;
}
#dxchat-widget .dxchat-wizard h3 { font-weight: 700; margin-bottom: 6px; }
#dxchat-widget .dxchat-wizard > p { margin-bottom: 7px; }
#dxchat-widget .dxchat-wizard > button + button { margin-left: 5px; }
#dxchat-widget .dxchat-typing { color: var(--dx-muted); padding-top: 7px; font-size: 12px; }
#dxchat-widget .dxchat-footer {
    flex: 0 0 auto;
    max-height: 57%;
    overflow: auto;
    overscroll-behavior: contain;
    border-top: 1px solid var(--dx-border);
    padding: 11px 13px;
}
#dxchat-widget .dxchat-sending .dxchat-footer, #dxchat-widget.dxchat-sending .dxchat-footer { cursor: progress; }
#dxchat-widget .dxchat-form { margin: 0; display: grid; gap: 6px; }
#dxchat-widget .dxchat-field { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
#dxchat-widget .dxchat-field input, #dxchat-widget .dxchat-field textarea {
    color: var(--dx-ink);
    font-size: 16px;
    background: #fff;
    border: 1px solid #aebed2;
    border-radius: 7px;
    resize: vertical;
    padding: 6px 9px;
    width: 100%;
    min-width: 0;
    margin: 0;
}
#dxchat-widget .dxchat-field textarea { min-height: 44px; max-height: 110px; }
#dxchat-widget .dxchat-step {
    color: var(--dx-muted);
    font-size: 11px;
    font-weight: 675;
    text-transform: uppercase;
    letter-spacing: .045em;
}
#dxchat-widget .dxchat-contactintro { color: var(--dx-muted); }
#dxchat-widget .dxchat-contactform {
    padding: 13px;
    margin-top: 14px;
    background: var(--dx-paper);
    border: 1px solid var(--dx-border);
    border-radius: 11px;
    gap: 10px;
}
#dxchat-widget .dxchat-contactform .dxchat-options { margin-top: 2px; }
#dxchat-widget .dxchat-terms { font-size: 12px; display: flex; gap: 6px; align-items: flex-start; }
#dxchat-widget .dxchat-terms input { appearance: auto; margin: 2px 0 0; width: 15px; height: 15px; }
#dxchat-widget .dxchat-sendrow { display: flex; gap: 7px; align-items: flex-start; justify-content: space-between; }
#dxchat-widget .dxchat-sendrow > button { flex: none; }
#dxchat-widget .dxchat-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
#dxchat-widget .dxchat-error { flex: none; padding: 7px 12px; background: #fff0ef; color: #912b26; font-size: 12px; }
#dxchat-widget .dxchat-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
@media (max-width: 500px) {
    #dxchat-widget { right: max(10px, env(safe-area-inset-right)); }
    #dxchat-widget.dxchat-left { left: max(10px, env(safe-area-inset-left)); }
    #dxchat-widget .dxchat-panel { width: min(420px, calc(100vw - 20px)); border-radius: 15px; }
    #dxchat-widget .dxchat-scroll { padding: 12px; }
}
@media (max-height: 560px) {
    #dxchat-widget .dxchat-panel { height: calc(100dvh - var(--dx-bottom) - 19px - var(--dx-keyboard, 0px)); bottom: 0; }
    #dxchat-widget .dxchat-header { padding-block: 7px; }
}
#dxchat-widget .dxchat-nav {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 12px;
    border-bottom: 1px solid var(--dx-border);
}
#dxchat-widget .dxchat-nav button {
    background: transparent;
    color: #24466f;
    padding: 6px 8px;
    min-height: 34px;
    font-size: 12px;
}
#dxchat-widget .dxchat-nav button:hover { background: #edf3fc; }
#dxchat-widget button:disabled { cursor: wait; opacity: .6; }
#dxchat-widget .dxchat-resume {
    display: flex;
    width: 100%;
    margin-top: 14px;
    border-color: #b8cceb;
    background: white;
    color: #1a417b;
}
#dxchat-widget .dxchat-event { color: var(--dx-muted); font-size: 12px; padding: 5px 0; text-align: center; }
#dxchat-widget .dxchat-review { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; }
#dxchat-widget .dxchat-end-dialog {
    color: var(--dx-ink);
    background: white;
    border: 1px solid var(--dx-border);
    border-radius: 14px;
    padding: 21px;
    margin: auto;
    width: min(360px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    box-shadow: var(--dx-shadow);
}
#dxchat-widget .dxchat-end-dialog::backdrop { background: #0d214a80; }
#dxchat-widget .dxchat-end-dialog h2 { font-size: 19px; font-weight: 700; margin-bottom: 9px; }
#dxchat-widget .dxchat-end-dialog p { color: var(--dx-muted); }
