.travelspark-tour-helper {
    --ts-helper-primary: #0d304a;
    --ts-helper-accent: #07967d;
    --ts-helper-bg: #ffffff;
    --ts-helper-text: #12344d;
    --ts-helper-card-bg: #f8fffc;
    --ts-helper-button-bg: #07967d;
    --ts-helper-button-text: #ffffff;
    --ts-helper-radius: 18px;
    --ts-helper-shadow: 0 18px 42px rgba(13, 48, 74, 0.14);
    color: var(--ts-helper-text);
    font-family: inherit;
    margin: 24px 0;
}

.travelspark-tour-helper * {
    box-sizing: border-box;
}

.travelspark-tour-helper-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid color-mix(in srgb, var(--ts-helper-accent), #ffffff 72%);
    border-radius: 999px;
    background: linear-gradient(135deg, #ffffff, color-mix(in srgb, var(--ts-helper-accent), #ffffff 92%));
    color: var(--ts-helper-primary);
    box-shadow: 0 10px 24px rgba(13, 48, 74, 0.08);
    padding: 10px 16px;
    font-weight: 800;
    cursor: pointer;
}

.travelspark-tour-helper-trigger__icon {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--ts-helper-accent);
    color: #fff;
    font-size: 14px;
    line-height: 1;
}

.travelspark-tour-helper-callout {
    position: relative;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--ts-helper-accent), #ffffff 72%);
    border-radius: var(--ts-helper-radius);
    background:
        radial-gradient(circle at right 18px top 12px, color-mix(in srgb, var(--ts-helper-accent), #ffffff 82%) 0 54px, transparent 55px),
        linear-gradient(135deg, color-mix(in srgb, var(--ts-helper-accent), #ffffff 96%), #fff);
    box-shadow: 0 12px 30px rgba(13, 48, 74, 0.08);
    padding: 24px 26px;
    margin: 22px 0;
}

.travelspark-tour-helper-callout::before {
    content: "";
    position: absolute;
    inset: 18px auto 18px 0;
    width: 4px;
    border-radius: 999px;
    background: var(--ts-helper-accent);
}

.travelspark-tour-helper-callout__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: color-mix(in srgb, var(--ts-helper-primary), #ffffff 20%);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.travelspark-tour-helper-callout__eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #f2d77a;
    box-shadow: 0 0 0 3px rgba(242, 215, 122, .28);
}

.travelspark-tour-helper-callout h3 {
    margin: 18px 0 10px;
    color: var(--ts-helper-primary);
    font-family: inherit;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.05;
}

.travelspark-tour-helper-callout p {
    max-width: 680px;
    margin: 0 0 18px;
    color: var(--ts-helper-text);
    font-size: 16px;
    line-height: 1.6;
}

.travelspark-tour-helper-callout__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    background: var(--ts-helper-button-bg);
    color: var(--ts-helper-button-text);
    box-shadow: 0 10px 20px color-mix(in srgb, var(--ts-helper-button-bg), transparent 76%);
    cursor: pointer;
    font-weight: 900;
    padding: 12px 18px;
}

.travelspark-tour-helper-panel {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
    max-width: var(--ts-helper-max-width, 760px);
    max-height: min(900px, calc(100vh - 96px));
    border: 1px solid color-mix(in srgb, var(--ts-helper-accent), #ffffff 70%);
    border-radius: var(--ts-helper-radius);
    background: var(--ts-helper-bg);
    box-shadow: var(--ts-helper-shadow);
    overflow: hidden;
}

.travelspark-tour-helper-panel[hidden] {
    display: none !important;
}

.travelspark-tour-helper-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px 14px;
    border-bottom: 1px solid color-mix(in srgb, var(--ts-helper-accent), #ffffff 80%);
    background: linear-gradient(135deg, color-mix(in srgb, var(--ts-helper-accent), #ffffff 94%), #fff);
}

.travelspark-tour-helper-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--ts-helper-accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.travelspark-tour-helper-panel h2 {
    margin: 0;
    color: var(--ts-helper-primary);
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.05;
}

.travelspark-tour-helper-close {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ts-helper-accent), #ffffff 88%);
    color: var(--ts-helper-primary);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0;
    font-weight: 800;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    pointer-events: auto;
}

.travelspark-tour-helper-close::before {
    content: "\00d7";
    display: block;
    font-size: 24px;
    line-height: 1;
    transform: translateY(-1px);
}

.travelspark-tour-helper-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1 1 auto;
    min-height: 108px;
    max-height: min(780px, 76vh);
    overflow: auto;
    padding: 24px 20px 18px;
    scroll-padding-top: 58px;
}

.travelspark-tour-helper-message {
    max-width: 92%;
}

.travelspark-tour-helper-message p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
}

.travelspark-tour-helper-message--typing {
    padding: 10px 14px;
}

.travelspark-tour-helper-typing {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 34px;
}

.travelspark-tour-helper-typing i {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--ts-helper-accent);
    animation: tsva-helper-dot 1s infinite ease-in-out;
}

.travelspark-tour-helper-typing i:nth-child(2) {
    animation-delay: .14s;
}

.travelspark-tour-helper-typing i:nth-child(3) {
    animation-delay: .28s;
}

@keyframes tsva-helper-dot {
    0%, 80%, 100% {
        opacity: .35;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

.travelspark-tour-helper-message--assistant {
    align-self: flex-start;
    border-radius: 16px;
    background: var(--ts-helper-card-bg);
    border: 1px solid color-mix(in srgb, var(--ts-helper-accent), #ffffff 78%);
    padding: 12px 14px;
}

.travelspark-tour-helper-message--user {
    align-self: flex-end;
    border-radius: 16px;
    background: var(--ts-helper-primary);
    color: #fff !important;
    padding: 12px 14px;
}

.travelspark-tour-helper-message--user,
.travelspark-tour-helper-message--user * {
    color: #fff !important;
}

.travelspark-tour-helper-message--products {
    width: 100%;
    max-width: 100%;
    background: transparent;
    border: 0;
    padding: 0;
}

.travelspark-tour-helper-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 0 20px 14px;
}

.travelspark-tour-helper.has-interacted .travelspark-tour-helper-choices {
    display: none !important;
}

.travelspark-tour-helper-choices button,
.travelspark-tour-helper-compare-more {
    border: 1px solid color-mix(in srgb, var(--ts-helper-accent), #ffffff 62%);
    border-radius: 14px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--ts-helper-accent), #ffffff 94%), #fff);
    color: var(--ts-helper-primary);
    padding: 10px 12px;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.28;
    text-decoration: none;
    cursor: pointer;
}

.travelspark-tour-helper-choices button {
    text-align: left;
}

.travelspark-tour-helper-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.travelspark-tour-helper-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--ts-helper-accent), #ffffff 75%);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(13, 48, 74, 0.08);
}

.travelspark-tour-helper-card--expedia {
    background:
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--ts-helper-accent), #ffffff 88%) 0 46px, transparent 47px),
        linear-gradient(180deg, #ffffff, color-mix(in srgb, var(--ts-helper-accent), #ffffff 97%));
}

.travelspark-tour-helper-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.travelspark-tour-helper-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
}

.travelspark-tour-helper-card__label {
    display: inline-flex;
    align-self: flex-start;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ts-helper-accent), #ffffff 88%);
    color: var(--ts-helper-accent);
    padding: 5px 8px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1;
    text-transform: uppercase;
}

.travelspark-tour-helper-card h3 {
    margin: 0;
    color: var(--ts-helper-primary);
    font-size: 15px;
    line-height: 1.16;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.travelspark-tour-helper-card .is-clickable {
    cursor: pointer;
}

.travelspark-tour-helper-card .is-clickable:hover {
    color: var(--ts-helper-accent);
}

.travelspark-tour-helper-card__meta,
.travelspark-tour-helper-card__reason,
.travelspark-tour-helper-card__price {
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
}

.travelspark-tour-helper-card__meta {
    color: var(--ts-helper-accent);
    font-size: 12px;
    line-height: 1.32;
    font-weight: 800;
    white-space: normal;
}

.travelspark-tour-helper-card__price {
    color: var(--ts-helper-primary);
    font-weight: 900;
    white-space: nowrap;
}

.travelspark-tour-helper-card__action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    margin-top: auto;
}

.travelspark-tour-helper-card__action-row .travelspark-tour-helper-card__price {
    flex: 1 1 auto;
    min-width: 0;
}

.travelspark-tour-helper-card__reason {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.travelspark-tour-helper-card--expedia h3,
.travelspark-tour-helper-card--expedia .travelspark-tour-helper-card__reason {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
}

.travelspark-tour-helper-cta,
.travelspark-tour-helper-form button {
    border: 0;
    border-radius: 999px;
    background: var(--ts-helper-button-bg);
    color: var(--ts-helper-button-text);
    box-shadow: 0 10px 20px color-mix(in srgb, var(--ts-helper-button-bg), transparent 78%);
    cursor: pointer;
    font-weight: 900;
}

.travelspark-tour-helper-cta {
    min-height: 34px;
    padding: 8px 11px;
    width: 100%;
    font-size: 13px;
    line-height: 1.2;
}

.travelspark-tour-helper-card__action-row .travelspark-tour-helper-cta {
    flex: 0 0 auto;
    width: auto;
    min-height: 30px;
    min-width: 112px;
    max-width: 64%;
    padding: 7px 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
}

.travelspark-tour-helper-card.has-no-image .travelspark-tour-helper-card__action-row .travelspark-tour-helper-cta {
    max-width: none;
    min-width: 112px;
}

.travelspark-tour-helper-card.has-no-image h3 {
    -webkit-line-clamp: 3;
}

.travelspark-tour-helper-cta:disabled,
.travelspark-tour-helper-form button:disabled {
    cursor: wait;
    opacity: .7;
}

.travelspark-tour-helper-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 20px 4px;
    margin-top: -2px;
}

.travelspark-tour-helper-actions .travelspark-tour-helper-compare-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    border-radius: 999px;
}

.travelspark-tour-helper-actions .travelspark-tour-helper-compare-more::after {
    content: "\2192";
}

.travelspark-tour-helper-actions .travelspark-tour-helper-compare-more--hotel {
    background: linear-gradient(135deg, color-mix(in srgb, var(--ts-helper-accent), #ffffff 88%), #ffffff);
    border-color: color-mix(in srgb, var(--ts-helper-accent), #ffffff 50%);
}

.travelspark-tour-helper-form {
    display: flex;
    gap: 10px;
    padding: 16px 20px 8px;
    border-top: 1px solid color-mix(in srgb, var(--ts-helper-accent), #ffffff 82%);
}

.travelspark-tour-helper-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid color-mix(in srgb, var(--ts-helper-accent), #ffffff 70%);
    border-radius: 999px;
    color: var(--ts-helper-text);
    padding: 12px 14px;
}

.travelspark-tour-helper-form button {
    min-width: 88px;
    padding: 0 18px;
}

.travelspark-tour-helper-note,
.travelspark-tour-helper-disclosure {
    margin: 0;
    padding: 0 20px 6px;
    color: color-mix(in srgb, var(--ts-helper-text), #ffffff 25%);
    font-size: 12px;
    line-height: 1.4;
}

.travelspark-tour-helper-disclosure {
    padding-bottom: 18px;
}

.travelspark-tour-helper--sticky {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 9400;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: min(94vw, 560px);
    pointer-events: none;
}

.travelspark-tour-helper--sticky .travelspark-tour-helper-trigger,
.travelspark-tour-helper--sticky .travelspark-tour-helper-panel {
    pointer-events: auto;
}

.travelspark-tour-helper--sticky.is-open .travelspark-tour-helper-trigger {
    display: none;
}

.travelspark-tour-helper.is-open > .travelspark-tour-helper-trigger,
body.tsva-tour-helper-open .travelspark-tour-helper:not(.is-open) .travelspark-tour-helper-trigger {
    display: none;
}

.travelspark-tour-helper--sticky.is-open {
    bottom: 18px;
}

body.tsva-exit-cta-visible .travelspark-tour-helper--sticky:not(.is-open) {
    bottom: calc(0.9rem + var(--tsva-exit-cta-height, 190px) + 12px);
}

.travelspark-tour-helper--callout .travelspark-tour-helper-panel {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9400;
    width: min(94vw, 560px);
    margin: 0;
}

.travelspark-tour-helper--callout.is-open,
.travelspark-tour-helper--sticky.is-open {
    z-index: 9400;
}

.tsva-tour-helper-open [data-tsva-exit-cta] {
    z-index: 9200;
}

.travelspark-tour-helper--sticky .travelspark-tour-helper-panel {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(94vw, 560px);
    height: min(900px, calc(100vh - 44px));
    max-height: min(900px, calc(100vh - 44px));
    margin: 0;
}

.travelspark-tour-helper--callout .travelspark-tour-helper-panel {
    height: min(900px, calc(100vh - 44px));
    max-height: min(900px, calc(100vh - 44px));
}

.travelspark-tour-helper--sidebar .travelspark-tour-helper-products,
.travelspark-tour-helper--callout .travelspark-tour-helper-products,
.travelspark-tour-helper--sticky .travelspark-tour-helper-products {
    grid-template-columns: 1fr;
}

.travelspark-tour-helper--sidebar .travelspark-tour-helper-card,
.travelspark-tour-helper--callout .travelspark-tour-helper-card,
.travelspark-tour-helper--sticky .travelspark-tour-helper-card {
    display: grid;
    grid-template-columns: 122px minmax(0, 1fr);
}

.travelspark-tour-helper--sidebar .travelspark-tour-helper-card.has-no-image,
.travelspark-tour-helper--callout .travelspark-tour-helper-card.has-no-image,
.travelspark-tour-helper--sticky .travelspark-tour-helper-card.has-no-image {
    grid-template-columns: 1fr;
}

.travelspark-tour-helper--sidebar .travelspark-tour-helper-card img,
.travelspark-tour-helper--callout .travelspark-tour-helper-card img,
.travelspark-tour-helper--sticky .travelspark-tour-helper-card img {
    height: 100%;
    min-height: 132px;
    aspect-ratio: auto;
}

.travelspark-tour-helper--callout .travelspark-tour-helper-card__body,
.travelspark-tour-helper--sticky .travelspark-tour-helper-card__body {
    gap: 7px;
    padding: 13px 14px;
}

.travelspark-tour-helper--callout .travelspark-tour-helper-card h3,
.travelspark-tour-helper--sticky .travelspark-tour-helper-card h3 {
    font-size: 16px;
    -webkit-line-clamp: 3;
}

.travelspark-tour-helper--sidebar .travelspark-tour-helper-card.has-no-image .travelspark-tour-helper-card__body,
.travelspark-tour-helper--callout .travelspark-tour-helper-card.has-no-image .travelspark-tour-helper-card__body,
.travelspark-tour-helper--sticky .travelspark-tour-helper-card.has-no-image .travelspark-tour-helper-card__body {
    padding: 14px;
}

.travelspark-tour-helper--sidebar .travelspark-tour-helper-card__reason,
.travelspark-tour-helper--callout .travelspark-tour-helper-card__reason,
.travelspark-tour-helper--sticky .travelspark-tour-helper-card__reason {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.travelspark-tour-helper--sidebar .travelspark-tour-helper-card--expedia .travelspark-tour-helper-card__reason,
.travelspark-tour-helper--callout .travelspark-tour-helper-card--expedia .travelspark-tour-helper-card__reason,
.travelspark-tour-helper--sticky .travelspark-tour-helper-card--expedia .travelspark-tour-helper-card__reason {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
}

.travelspark-tour-helper--callout .travelspark-tour-helper-card__label,
.travelspark-tour-helper--sticky .travelspark-tour-helper-card__label {
    font-size: 10px;
    line-height: 1.15;
}

.travelspark-tour-helper--callout .travelspark-tour-helper-messages,
.travelspark-tour-helper--sticky .travelspark-tour-helper-messages {
    max-height: none;
    min-height: 480px;
    padding-top: 30px;
}

.travelspark-tour-helper--callout .travelspark-tour-helper-choices,
.travelspark-tour-helper--sticky .travelspark-tour-helper-choices {
    grid-template-columns: 1fr;
}

.travelspark-tour-helper--callout .travelspark-tour-helper-cta,
.travelspark-tour-helper--sticky .travelspark-tour-helper-cta {
    align-self: flex-start;
    width: auto;
    max-width: 100%;
    min-height: 32px;
    padding: 8px 14px;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .travelspark-tour-helper-products {
        grid-template-columns: 1fr;
    }

    .travelspark-tour-helper-panel {
        max-width: 100%;
    }

    .travelspark-tour-helper-form {
        flex-direction: column;
    }

    .travelspark-tour-helper-form button {
        min-height: 44px;
    }

    .travelspark-tour-helper--sticky {
        display: none;
    }

    .travelspark-tour-helper--callout .travelspark-tour-helper-panel {
        position: static;
        width: 100%;
        margin-top: 12px;
        height: auto;
        max-height: none;
    }

    .travelspark-tour-helper-callout {
        padding: 20px;
    }

    .travelspark-tour-helper-callout h3 {
        font-size: 26px;
    }

    .travelspark-tour-helper-choices {
        grid-template-columns: 1fr;
    }

    .travelspark-tour-helper-card {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .travelspark-tour-helper-card.has-no-image {
        grid-template-columns: 1fr;
    }

    .travelspark-tour-helper-card img {
        height: 100%;
        min-height: 108px;
        aspect-ratio: auto;
    }

    .travelspark-tour-helper-card__reason {
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .travelspark-tour-helper-card--expedia .travelspark-tour-helper-card__reason {
        display: block;
        overflow: visible;
        -webkit-line-clamp: unset;
        -webkit-box-orient: initial;
    }
}
