#seven-sig-help-assistant,
#seven-sig-help-assistant * {
    box-sizing: border-box;
}

#seven-sig-help-assistant {
    position: fixed;
    right: 24px;
    bottom: 22px;
    z-index: 999999;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

#seven-sig-help-assistant button,
#seven-sig-help-assistant input,
#seven-sig-help-assistant textarea {
    font: inherit;
}

#seven-sig-help-assistant svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.seven-sig-help__launcher {
    position: relative;
    display: grid;
    place-items: center;
    align-items: center;
    width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0;
    border: 1px solid rgba(94, 202, 255, 0.5);
    border-radius: 14px;
    background: linear-gradient(145deg, #071d40, #0b4a99);
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(2, 20, 52, 0.34), 0 0 0 4px rgba(75, 188, 255, 0.08);
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.seven-sig-help__launcher svg {
    width: 20px;
    height: 20px;
}

.seven-sig-help__launcher span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.seven-sig-help__launcher::before {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 6px;
    height: 6px;
    border: 2px solid #0a3470;
    border-radius: 50%;
    background: #68d8ff;
    content: "";
}

.seven-sig-help__launcher::after {
    position: absolute;
    right: 58px;
    bottom: 5px;
    width: max-content;
    padding: 8px 11px;
    border: 1px solid rgba(16, 49, 91, 0.12);
    border-radius: 9px;
    background: #ffffff;
    color: #122a49;
    box-shadow: 0 10px 28px rgba(3, 22, 52, 0.18);
    content: "Chat with 7SIG";
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transform: translateX(6px);
    transition: opacity 140ms ease, transform 140ms ease;
}

.seven-sig-help__launcher:hover {
    transform: translateY(-2px);
    background: linear-gradient(145deg, #092856, #0d5cbd);
    box-shadow: 0 18px 40px rgba(2, 20, 52, 0.4), 0 0 0 5px rgba(75, 188, 255, 0.1);
}

.seven-sig-help__launcher:hover::after,
.seven-sig-help__launcher:focus-visible::after {
    opacity: 1;
    transform: translateX(0);
}

.seven-sig-help__panel {
    display: none;
    width: 396px;
    max-width: calc(100vw - 32px);
    overflow: hidden;
    border: 1px solid rgba(205, 222, 243, 0.9);
    border-radius: 20px;
    background: #ffffff;
    color: #10213d;
    box-shadow: 0 30px 76px rgba(2, 17, 45, 0.38);
}

.seven-sig-help[data-state="open"] .seven-sig-help__panel {
    display: block;
    animation: seven-sig-help-enter 190ms ease-out;
}

.seven-sig-help[data-state="open"] .seven-sig-help__launcher {
    display: none;
}

.seven-sig-help__header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 16px 17px;
    background: linear-gradient(135deg, #093f8d, #116edc);
    color: #ffffff;
}

.seven-sig-help__avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.13);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.seven-sig-help__identity strong,
.seven-sig-help__identity small {
    display: block;
}

.seven-sig-help__identity strong {
    font-size: 16px;
    font-weight: 650;
    letter-spacing: -0.01em;
}

.seven-sig-help__identity small {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 2px;
    color: #dcecff;
    font-size: 12px;
}

.seven-sig-help__online {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #75e6a6;
    box-shadow: 0 0 0 3px rgba(117, 230, 166, 0.16);
}

.seven-sig-help__close {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
}

.seven-sig-help__close:hover {
    background: rgba(255, 255, 255, 0.16);
}

.seven-sig-help__conversation {
    min-height: 326px;
    max-height: min(472px, calc(100vh - 245px));
    overflow-y: auto;
    padding: 20px 18px 16px;
    background:
        radial-gradient(circle at 92% 12%, rgba(56, 147, 255, 0.1), transparent 30%),
        #f4f7fc;
    scrollbar-width: thin;
}

.seven-sig-help__message {
    width: fit-content;
    max-width: 88%;
    margin-bottom: 10px;
    padding: 11px 13px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.seven-sig-help__message--assistant {
    border: 1px solid #e1e8f1;
    border-top-left-radius: 5px;
    background: #ffffff;
    color: #172b47;
    box-shadow: 0 5px 16px rgba(24, 56, 96, 0.05);
}

.seven-sig-help__message--user {
    margin-left: auto;
    border-top-right-radius: 5px;
    background: #126fe1;
    color: #ffffff;
}

.seven-sig-help__choices {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.seven-sig-help__choices button,
.seven-sig-help__service-options button {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #dce5f1;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.86);
    color: #173354;
    cursor: pointer;
    text-align: left;
    transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.seven-sig-help__choices button:hover,
.seven-sig-help__service-options button:hover {
    border-color: #7db8ed;
    background: #ffffff;
    transform: translateY(-1px);
}

.seven-sig-help__choices .seven-sig-help__choice--primary {
    border-color: #0f68d7;
    background: #0f68d7;
    color: #ffffff;
    box-shadow: 0 7px 18px rgba(15, 104, 215, 0.18);
}

.seven-sig-help__dynamic {
    margin-top: 13px;
}

.seven-sig-help__service-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.seven-sig-help__lead-form {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.seven-sig-help__lead-form label {
    display: grid;
    gap: 5px;
    color: #263b58;
    font-size: 12px;
    font-weight: 600;
}

.seven-sig-help__lead-form input,
.seven-sig-help__lead-form textarea {
    width: 100%;
    padding: 10px 11px;
    border: 1px solid #d3deea;
    border-radius: 10px;
    background: #ffffff;
    color: #10213d;
    resize: vertical;
}

.seven-sig-help__lead-form button {
    min-height: 43px;
    padding: 9px 14px;
    border: 0;
    border-radius: 11px;
    background: #0f68d7;
    color: #ffffff;
    cursor: pointer;
    font-weight: 650;
    box-shadow: 0 7px 18px rgba(15, 104, 215, 0.18);
}

.seven-sig-help__lead-form button[disabled] {
    cursor: wait;
    opacity: 0.7;
}

.seven-sig-help__honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.seven-sig-help__composer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px;
    padding: 13px 14px;
    border-top: 1px solid #e0e7f0;
    background: #ffffff;
}

.seven-sig-help__composer input {
    min-width: 0;
    height: 42px;
    padding: 8px 12px;
    border: 1px solid #d7e0eb;
    border-radius: 11px;
    background: #fbfcfe;
    color: #10213d;
}

.seven-sig-help__composer button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 11px;
    background: #0f68d7;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(15, 104, 215, 0.2);
}

.seven-sig-help__privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 0 16px 14px;
    background: #ffffff;
    color: #687b92;
    font-size: 11px;
}

.seven-sig-help__privacy svg {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
}

#seven-sig-help-assistant button:focus-visible,
#seven-sig-help-assistant input:focus-visible,
#seven-sig-help-assistant textarea:focus-visible {
    outline: 3px solid #7dd5ff;
    outline-offset: 2px;
}

@keyframes seven-sig-help-enter {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 520px) {
    #seven-sig-help-assistant {
        right: 12px;
        bottom: 12px;
    }

    .seven-sig-help__panel {
        width: calc(100vw - 24px);
        border-radius: 17px;
    }

    .seven-sig-help__conversation {
        min-height: 292px;
        max-height: calc(100vh - 235px);
        padding: 16px 14px;
    }

    .seven-sig-help__service-options {
        grid-template-columns: 1fr;
    }

    .seven-sig-help__launcher::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .seven-sig-help[data-state="open"] .seven-sig-help__panel {
        animation: none;
    }

    .seven-sig-help__launcher,
    .seven-sig-help__choices button,
    .seven-sig-help__service-options button {
        transition: none;
    }
}
