/* =========================================================
   BABU AI TRIP PLANNER — CLEAN STYLESHEET
   One source of truth. Do not append old V2/V3 overrides.
========================================================= */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}
.tp-page {
    --tp-brand: #1aafbd;
    --tp-brand-dark: #118b98;
    --tp-brand-soft: #eafafb;
    --tp-navy: #17212d;
    --tp-text: #27313d;
    --tp-muted: #667085;
    --tp-border: #e5e9ee;
    --tp-soft: #f7f9fb;
    --tp-white: #ffffff;

    position: relative;
    isolation: isolate;

    width: 100%;
    max-width: 100%;

    box-sizing: border-box;

    min-height: 100vh;

    overflow-x: clip;

    padding:
        clamp(32px, 4vw, 60px)
        clamp(16px, 3vw, 40px)
        90px;

    color: var(--tp-text);

    background:
        radial-gradient(
            circle at 8% 12%,
            rgba(26, 175, 189, .11),
            transparent 27%
        ),
        radial-gradient(
            circle at 92% 32%,
            rgba(108, 92, 231, .08),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #f9fbfc 0%,
            #f5f8fa 48%,
            #f8fafb 100%
        );
}


.tp-page *,
.tp-page *::before,
.tp-page *::after {
    box-sizing: border-box;
    min-width: 0;
}


/* =========================================================
   HERO TRAVEL SLIDESHOW
   Only behind hero, fades to white before planner.
========================================================= */

/* =========================================================
   BABU ANIMATED TRAVEL HERO
========================================================= */



.tp-travel-hero {
    position: relative;

    grid-column: 1 / -1;

    /*
       Full bleed toàn bộ chiều ngang viewport
    */
    width: 100vw;
    max-width: none;

    margin-top: -10px;
    margin-bottom: 30px;

    margin-left:
        calc(50% - 50vw);

    margin-right:
        calc(50% - 50vw);

    height:
        clamp(
            420px,
            40vw,
            560px
        );

    padding: 0;

    overflow: hidden;

    border-radius: 0;

    background:
        linear-gradient(
            180deg,
            #0b1a2b 0%,
            #0f2438 45%,
            #123049 100%
        );

    box-shadow: none;

    isolation: isolate;
}

/* =========================================================
   BACKGROUND GLOW
========================================================= */

.tp-travel-glow {
    position: absolute;

    inset: 0;

    z-index: 0;

    pointer-events: none;

    background:
        radial-gradient(
            ellipse 65% 55%
            at 50% 0%,
            rgba(20, 184, 166, .22),
            transparent 70%
        );
}


/* =========================================================
   STARS
========================================================= */

.tp-travel-stars {
    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;
}


.tp-travel-stars span {
    position: absolute;

    width: 2px;
    height: 2px;

    border-radius: 50%;

    background: #fff;

    opacity: .4;

    animation:
        tpStarTwinkle
        3s
        ease-in-out
        infinite;
}


@keyframes tpStarTwinkle {

    0%,
    100% {
        opacity: .12;
    }

    50% {
        opacity: .8;
    }

}


/* =========================================================
   SCROLLING LAYERS
========================================================= */

.tp-travel-layer {
    position: absolute;

    left: 0;
    bottom: 0;

    z-index: 1;

    width: 200%;
    height: 100%;

    display: flex;
    align-items: flex-end;

    pointer-events: none;

    will-change: transform;
}


.tp-travel-layer svg {
    display: block;

    width: 100%;
    height: auto;

    flex: 0 0 100%;
}


.tp-travel-clouds {
    top: 7%;
    bottom: auto;

    height: 30%;

    animation:
        tpTravelScroll
        90s
        linear
        infinite;
}


.tp-travel-mountains {
    height: 55%;

    animation:
        tpTravelScroll
        60s
        linear
        infinite;
}


.tp-travel-city {
    z-index: 2;

    height: 32%;

    animation:
        tpTravelScroll
        42s
        linear
        infinite;
}


@keyframes tpTravelScroll {

    from {
        transform:
            translate3d(
                0,
                0,
                0
            );
    }

    to {
        transform:
            translate3d(
                -50%,
                0,
                0
            );
    }

}


/* =========================================================
   FLIGHT PATH
========================================================= */

.tp-flight-path {
    position: absolute;

    z-index: 2;

    top: 25%;
    left: 0;

    width: 100%;
    height: 40px;

    pointer-events: none;
}


.tp-flight-path svg {
    display: block;

    width: 100%;
    height: 40px;
}


/* =========================================================
   PLANE
========================================================= */

.tp-travel-plane {
    position: absolute;

    z-index: 3;

    top: 17%;
    left: -60px;

    width: 44px;
    height: 44px;

    pointer-events: none;

    will-change: transform;

    animation:
        tpPlaneFly
        14s
        linear
        infinite;
}


.tp-travel-plane svg {
    width: 100%;
    height: 100%;

    filter:
        drop-shadow(
            0 5px 12px
            rgba(94, 234, 212, .22)
        );
}


@keyframes tpPlaneFly {

    0% {
        transform:
            translate3d(
                0,
                0,
                0
            )
            rotate(2deg);
    }

    50% {
        transform:
            translate3d(
                500px,
                -15px,
                0
            )
            rotate(5deg);
    }

    100% {
        transform:
            translate3d(
                1050px,
                5px,
                0
            )
            rotate(2deg);
    }

}


/* =========================================================
   HERO CONTENT
========================================================= */

.tp-travel-content {
    position: relative;

    z-index: 5;

    width: 100%;
    max-width: 1180px;

    height: 100%;

    margin: 0 auto;

    padding:
        0 clamp(
            20px,
            5vw,
            70px
        );

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.tp-travel-content
.tp-ai-label {
    margin-bottom: 18px;

    color: #5eead4;

    background:
        rgba(94, 234, 212, .09);

    border:
        1px solid
        rgba(94, 234, 212, .24);

    box-shadow: none;

    backdrop-filter:
        blur(8px);
}


.tp-travel-content
.tp-ai-dot {
    background: #5eead4;

    box-shadow:
        0 0 0 5px
        rgba(94, 234, 212, .10);
}


.tp-travel-content h1 {
    margin:
        0 0
        14px;

    color: #ffffff;

    font-size:
        clamp(
            44px,
            5vw,
            72px
        );

    font-weight: 800;

    line-height: 1.02;

    letter-spacing:
        -0.05em;

    text-shadow:
        0 8px 28px
        rgba(
            0,
            0,
            0,
            0.24
        );
}

.tp-travel-content p {
    max-width: 680px;

    margin: 0;

    color:
        rgba(
            255,
            255,
            255,
            0.78
        );

    font-size:
        clamp(
            14px,
            1.2vw,
            18px
        );

    line-height: 1.65;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media
(max-width: 700px) {

    .tp-travel-hero {
        height: 330px;

        margin-top: 12px;

        border-radius: 18px;
    }


    .tp-travel-content {
        position: relative;

        z-index: 5;

        width: 100%;
        max-width: 1120px;

        height: 100%;

        margin: 0 auto;

        padding:
            0 clamp(18px, 4vw, 40px);

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        text-align: center;
    }


    .tp-travel-content h1 {
        margin: 0 0 14px;

        color: #ffffff;

        font-size: clamp(42px, 6vw, 78px);

        font-weight: 800;
        line-height: 1.02;
        letter-spacing: -0.05em;

        text-shadow:
            0 10px 30px rgba(0, 0, 0, 0.22);
    }


    .tp-travel-content p {
        max-width: 700px;

        margin: 0;

        color: rgba(255, 255, 255, 0.78);

        font-size: clamp(15px, 1.3vw, 20px);

        line-height: 1.65;

        text-shadow:
            0 4px 14px rgba(0, 0, 0, 0.16);
    }


    .tp-travel-plane {
        width: 36px;
        height: 36px;

        animation-duration: 12s;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media
(prefers-reduced-motion: reduce) {

    .tp-travel-layer,
    .tp-travel-plane,
    .tp-travel-stars span {
        animation: none !important;
    }

}
/* =========================================================
   ACTION HIERARCHY / ONBOARDING
   Makes the next click obvious without changing planner logic.
========================================================= */

.tp-hero-actions {
    margin-top: 24px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 9px;
}


.tp-hero-cta {
    min-height: 54px;

    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    border:
        1px solid
        rgba(255, 255, 255, .22);

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #20c3cb,
            #1598a5
        );

    color: #fff;

    box-shadow:
        0 14px 32px
        rgba(7, 25, 39, .28);

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform .16s ease,
        box-shadow .16s ease;
}


.tp-hero-cta:hover {
    transform: translateY(-2px);

    box-shadow:
        0 18px 38px
        rgba(7, 25, 39, .34);
}


.tp-hero-cta i {
    font-style: normal;
    font-size: 19px;
}


.tp-hero-actions > small {
    color: rgba(255, 255, 255, .68);

    font-size: 12px;
    font-weight: 600;
}


.tp-start-head {
    margin-bottom: 15px;
}


.tp-start-kicker {
    display: inline-flex;

    margin-bottom: 6px;

    padding: 5px 8px;

    border-radius: 999px;

    background: var(--tp-brand-soft);

    color: var(--tp-brand-dark);

    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
}


.tp-find-space-cta {
    position: relative;

    width: 100%;
    min-height: 94px;

    padding: 17px 18px;

    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 14px;

    overflow: hidden;

    text-align: left;

    border: 0;
    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            #102632 0%,
            #123c47 52%,
            #129baa 100%
        );

    color: #fff;

    box-shadow:
        0 16px 34px
        rgba(16, 38, 50, .20);

    cursor: pointer;

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}


.tp-find-space-cta::after {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    top: -75px;
    right: -34px;

    border-radius: 50%;

    background:
        rgba(94, 234, 212, .13);

    pointer-events: none;
}


.tp-find-space-cta:hover {
    transform: translateY(-2px);

    box-shadow:
        0 20px 42px
        rgba(16, 38, 50, .27);
}


.tp-find-space-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background:
        rgba(255, 255, 255, .12);

    font-size: 27px;
}


.tp-find-space-copy {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;

    gap: 2px;
}


.tp-find-space-copy small {
    color: #7ee5dc;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: .09em;
}


.tp-find-space-copy strong {
    font-size:
        clamp(
            18px,
            1.3vw,
            22px
        );
}


.tp-find-space-copy em {
    color:
        rgba(255, 255, 255, .70);

    font-size: 12px;
    font-style: normal;
    line-height: 1.45;
}


.tp-find-space-cta > i {
    position: relative;
    z-index: 1;

    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .13);

    font-size: 18px;
    font-style: normal;

    transition:
        transform .18s ease;
}


.tp-find-space-cta:hover > i {
    transform: translateX(3px);
}


.tp-start-divider {
    margin: 18px 0 13px;

    display: flex;
    align-items: center;

    gap: 11px;

    color: #98a2b3;

    font-size: 11px;
    font-weight: 700;
}


.tp-start-divider::before,
.tp-start-divider::after {
    content: "";

    height: 1px;
    flex: 1;

    background: #edf0f2;
}


.tp-choice-hint {
    margin:
        13px 0
        0;

    color: #7d8794;

    font-size: 11px;
    font-weight: 650;
    text-align: center;
}


.tp-page button:focus-visible,
.tp-page input:focus-visible,
.tp-page select:focus-visible {
    outline:
        3px solid
        rgba(26, 175, 189, .22);

    outline-offset: 3px;
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.tp-shell {
    position: relative;
    z-index: 2;
    overflow: visible;

    align-items: start;
    width: min(100%, 1440px);
    max-width: 100%;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(240px, 280px);

    gap:
        26px
        30px;

    align-items: start;
}

/* Explore rail is removed */

.tp-side-rail-left {
    display: none !important;
}


/* =========================================================
   HERO
========================================================= */

.tp-hero {
    grid-column:
        1 / -1;

    width: 100%;
    max-width: 820px;

    margin:
        0 auto
        8px;

    padding-top: 28px;

    text-align: center;

    animation:
        tpEnter
        .65s
        ease
        both;
}

.tp-ai-label {
    position: relative;

    overflow: hidden;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding:
        8px 13px;

    border:
        1px solid
        rgba(26, 175, 189, .22);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, .82);

    color:
        var(--tp-brand-dark);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .08em;

    backdrop-filter:
        blur(10px);
}


.tp-ai-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        var(--tp-brand);

    box-shadow:
        0 0 0 5px
        rgba(26, 175, 189, .11);
}


.tp-hero h1 {
    margin:
        17px 0
        10px;

    color: #121a25;

    font-size:
        clamp(
            40px,
            4vw,
            64px
        );

    font-weight: 800;

    line-height: 1.02;

    letter-spacing:
        -.05em;
}


.tp-hero p {
    max-width: 700px;

    margin: 0 auto;

    color: #707b89;

    font-size:
        clamp(
            14px,
            1vw,
            17px
        );

    line-height: 1.65;
}


/* =========================================================
   MAIN PLANNER
========================================================= */

.tp-planner {
    grid-column: 1;
    grid-row: 2;

    width: 100%;

    overflow: hidden;

    border:
        1px solid
        rgba(218, 223, 229, .95);

    border-radius: 24px;

    background:
        rgba(255, 255, 255, .95);

    box-shadow:
        0 28px 72px
        rgba(26, 39, 53, .10);

    backdrop-filter:
        blur(14px);

    animation:
        tpEnter
        .65s
        .06s
        ease
        both;
}


/* =========================================================
   PLANNER HEADER
========================================================= */

.tp-header {
    min-height: clamp(78px, 5.2vw, 96px);

    padding:
        clamp(15px, 1.2vw, 22px)
        clamp(18px, 1.7vw, 30px);
}



.tp-assistant {
    display: flex;
    align-items: center;

    gap: 11px;
}


.tp-avatar {
    width: clamp(42px, 3vw, 54px);
    height: clamp(42px, 3vw, 54px);

    border-radius: 14px;

    font-size: clamp(18px, 1.35vw, 24px);
    flex: 0 0 auto;

    width: 43px;
    height: 43px;

    display: grid;

    place-items: center;

    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            #17212d,
            #2d3c4b
        );

    color: #fff;

}


.tp-assistant-name {
    font-size: clamp(14px, 1vw, 18px);

    font-weight: 800;
}


.tp-status {
    margin-top: 3px;

    display: flex;
    align-items: center;

    gap: 6px;

    color:
        var(--tp-muted);

    font-size: clamp(11px, .8vw, 14px);
}


.tp-status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #12b76a;
}


.tp-status-dot-loading {
    animation:
        tpPulse
        1.1s
        infinite;
}


@keyframes tpPulse {

    50% {
        opacity: .3;
    }

}


.tp-header-actions {
    display: flex;
    align-items: center;

    gap: 7px;
}


.tp-header-btn {
    min-height: clamp(34px, 2.5vw, 42px);

    padding:
        0 clamp(10px, .8vw, 14px);

    border:
        1px solid
        var(--tp-border);

    border-radius: 9px;

    background: #fff;

    color: #475467;

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;
}


.tp-header-btn:hover {
    background: #f7f9fa;

    border-color: #cad1d8;
}


/* =========================================================
   PROGRESS
========================================================= */

.tp-progress-scroll {
    width: 100%;

    overflow-x: auto;

    border-bottom:
        1px solid
        var(--tp-border);

    scrollbar-width: none;
}


.tp-progress-scroll::-webkit-scrollbar {
    display: none;
}


.tp-progress {
    min-width: 700px;

    padding:
        13px 18px;

    display: grid;

    grid-template-columns:
        repeat(
            7,
            minmax(86px, 1fr)
        );

    gap: 7px;

    background: #fbfcfd;
}


.tp-progress-item {
    display: flex;
    align-items: center;

    gap: 6px;

    color: #98a2b3;
}


.tp-progress-item span {
    flex: 0 0 auto;

    width: 27px;
    height: 27px;

    display: grid;

    place-items: center;

    border:
        1px solid
        #d9dde4;

    border-radius: 50%;

    background: #fff;

    color: #98a2b3;

    font-size: 10px;
    font-weight: 800;
}


.tp-progress-item small {
    overflow: hidden;

    font-size: 10px;
    font-weight: 700;

    white-space: nowrap;

    text-overflow: ellipsis;
}


.tp-progress-item.active {
    color:
        var(--tp-brand-dark);
}


.tp-progress-item.active span {
    border-color:
        var(--tp-brand);

    background:
        var(--tp-brand-soft);

    color:
        var(--tp-brand-dark);
}


.tp-progress-item.done {
    color: #17885d;
}


.tp-progress-item.done span {
    border-color: #b5ead5;

    background: #eafaf3;

    color: #16865d;
}


/* =========================================================
   CHAT
========================================================= */

.tp-chat {
    width: 100%;

    min-height: 600px;

    max-height: none;

    overflow: visible;

    padding:
        clamp(
            22px,
            2.2vw,
            34px
        );

    background:
        linear-gradient(
            180deg,
            #fcfdfe 0,
            #fff 260px
        );
}


.tp-message-row {
    width: 100%;

    margin-bottom: 17px;

    display: flex;
    align-items: flex-start;

    gap: 9px;
}


.tp-message-row-user {
    justify-content: flex-end;
}


.tp-message-avatar {
    flex: 0 0 auto;

    width: 30px;
    height: 30px;

    margin-top: 2px;

    display: grid;

    place-items: center;

    border-radius: 9px;

    background: #1c2734;

    color: #fff;

    font-size: 12px;
}


.tp-message {
    max-width: 76%;

    padding:
        12px 15px;

    border-radius: 15px;

    font-size:
        clamp(
            13px,
            .9vw,
            15px
        );

    line-height: 1.55;

    overflow-wrap: anywhere;
}


.tp-message-bot {
    border:
        1px solid
        var(--tp-border);

    border-top-left-radius: 5px;

    background: #fff;

    color: #344054;
}


.tp-message-user {
    border-top-right-radius: 5px;

    background: #192431;

    color: #fff;
}


.tp-message-muted {
    color: #98a2b3;

    font-size: 11px;
}


/* =========================================================
   COMMON CONTENT WIDTH
========================================================= */

.tp-preset-panel,
.tp-selection-card,
.tp-counter-card,
.tp-interest-wrapper,
.tp-preferences-card,
.tp-summary-card,
.tp-two-actions,
.tp-options-grid,
.tp-loading-card,
.tp-itinerary {
    width:
        calc(
            100% - 39px
        );

    max-width: none;

    margin:
        2px 0
        25px 39px;
}


.tp-preset-panel,
.tp-selection-card,
.tp-counter-card,
.tp-interest-wrapper,
.tp-preferences-card,
.tp-summary-card {
    padding: 17px;

    border:
        1px solid
        var(--tp-border);

    border-radius: 16px;

    background: #fff;

    box-shadow:
        0 7px 22px
        rgba(16, 24, 40, .035);
}


/* =========================================================
   PRESETS
========================================================= */

.tp-block-head {
    margin-bottom: 12px;
}


.tp-block-head strong {
    display: block;

    color: #344054;

    font-size: 13px;
}


.tp-block-head small {
    display: block;

    margin-top: 3px;

    color: #98a2b3;

    font-size: 10px;

    line-height: 1.45;
}


.tp-preset-grid,
.tp-options-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 9px;
}


.tp-preset-card,
.tp-option-card {
    padding: 12px;

    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 10px;

    text-align: left;

    border:
        1px solid
        var(--tp-border);

    border-radius: 13px;

    background: #fff;

    cursor: pointer;

    transition:
        transform .16s ease,
        border-color .16s ease,
        box-shadow .16s ease;
}


.tp-preset-card {
    min-height: 78px;
}


.tp-option-card {
    min-height: 76px;
}


.tp-preset-card:hover,
.tp-option-card:hover {
    transform:
        translateY(-1px);

    border-color:
        rgba(26, 175, 189, .42);

    box-shadow:
        0 9px 20px
        rgba(16, 24, 40, .07);
}


.tp-preset-card:hover i,
.tp-option-card:hover .tp-option-arrow {
    transform: translateX(3px);
    color: var(--tp-brand-dark);
}


.tp-preset-icon,
.tp-option-icon {
    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background:
        var(--tp-brand-soft);

    font-size: 18px;
}


.tp-preset-card > span:nth-child(2),
.tp-option-content {
    display: flex;
    flex-direction: column;

    gap: 3px;
}


.tp-preset-card strong,
.tp-option-content strong {
    color: #293440;

    font-size: 12px;
}


.tp-preset-card small,
.tp-option-content small {
    color: #98a2b3;

    font-size: 10px;

    line-height: 1.4;
}


.tp-preset-card i,
.tp-option-arrow {
    color: #b0b6bf;

    font-style: normal;

    transition:
        transform .16s ease,
        color .16s ease;
}


.tp-text-button {
    margin-top: 10px;

    padding: 7px 0;

    border: 0;

    background: transparent;

    color:
        var(--tp-brand-dark);

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;
}


/* =========================================================
   DESTINATION
========================================================= */

.tp-search-row {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    gap: 9px;
}


.tp-search-box {
    height: 46px;

    padding:
        0 12px;

    display: flex;
    align-items: center;

    gap: 8px;

    border:
        1px solid
        #d8dce3;

    border-radius: 11px;

    background: #fff;
}


.tp-search-box:focus-within {
    border-color:
        var(--tp-brand);

    box-shadow:
        0 0 0 3px
        rgba(26, 175, 189, .10);
}


.tp-search-box span {
    color: #98a2b3;

    font-size: 18px;
}


.tp-search-box input {
    width: 100%;

    flex: 1;

    border: 0;

    outline: 0;

    background: transparent;

    color: #27313d;

    font-size: 13px;
}


.tp-surprise-btn {
    min-height: 46px;

    padding:
        0 13px;

    border:
        1px solid
        rgba(26, 175, 189, .24);

    border-radius: 11px;

    background:
        var(--tp-brand-soft);

    color:
        var(--tp-brand-dark);

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;
}


.tp-surprise-btn:hover {
    background: #def6f7;
}


.tp-destination-results {
    margin-top: 10px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 7px;
}


.tp-destination-row {
    padding: 10px;

    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto
        auto;

    align-items: center;

    gap: 8px;

    text-align: left;

    border:
        1px solid
        #e6e8ec;

    border-radius: 11px;

    background: #fff;

    cursor: pointer;
}


.tp-destination-row:hover {
    border-color:
        rgba(26, 175, 189, .58);

    background: #f5fcfc;

    box-shadow:
        0 7px 18px
        rgba(16, 24, 40, .05);
}


.tp-destination-row:hover .tp-row-arrow {
    transform: translateX(3px);
    color: var(--tp-brand-dark);
}


.tp-city-flag {
    font-size: 20px;
}


.tp-destination-copy {
    display: flex;
    flex-direction: column;
}


.tp-destination-copy strong {
    overflow: hidden;

    color: #27313d;

    font-size: 12px;

    white-space: nowrap;

    text-overflow: ellipsis;
}


.tp-destination-copy small {
    margin-top: 1px;

    overflow: hidden;

    color: #98a2b3;

    font-size: 9px;

    white-space: nowrap;

    text-overflow: ellipsis;
}


.tp-verified {
    padding:
        3px 6px;

    border-radius: 999px;

    background: #ecfdf3;

    color: #15835c;

    font-size: 8px;
    font-weight: 800;
}


.tp-row-arrow {
    color: #b3b8c0;

    font-size: 12px;

    transition:
        transform .16s ease,
        color .16s ease;
}


.tp-destination-row {
    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}


.tp-destination-row.is-selected {
    border-color:
        var(--tp-brand);

    background:
        var(--tp-brand-soft);

    box-shadow:
        0 0 0 3px
        rgba(26, 175, 189, .10);
}


.tp-destination-preview {
    margin-top: 14px;

    overflow: hidden;

    border:
        1px solid
        #e4e7ec;

    border-radius: 16px;

    background: #fff;

    box-shadow:
        0 14px 34px
        rgba(16, 24, 40, .09);

    animation:
        tpDestinationPreviewIn
        .35s ease both;
}


.tp-destination-preview[hidden] {
    display: none;
}


.tp-destination-preview-image {
    position: relative;

    height: 250px;

    overflow: hidden;
}


.tp-destination-preview-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .5s ease;
}


.tp-destination-preview:hover
.tp-destination-preview-image img {
    transform: scale(1.025);
}


.tp-destination-preview-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(10, 18, 27, .78),
            rgba(10, 18, 27, .06) 68%
        );
}


.tp-destination-preview-title {
    position: absolute;

    left: 22px;
    right: 22px;
    bottom: 20px;

    display: flex;
    align-items: center;

    gap: 12px;

    color: #fff;
}


.tp-destination-preview-title > span {
    font-size: 31px;
}


.tp-destination-preview-title div {
    display: flex;
    flex-direction: column;
}


.tp-destination-preview-title strong {
    font-size: 25px;
    line-height: 1.1;
}


.tp-destination-preview-title small {
    margin-top: 5px;

    color:
        rgba(255, 255, 255, .84);

    font-size: 13px;
}


.tp-destination-preview-no-image {
    min-height: 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    background:
        linear-gradient(
            135deg,
            #effafa,
            #f7f9fc
        );
}


.tp-destination-preview-no-image > span {
    font-size: 42px;
}


.tp-destination-preview-no-image > div {
    display: flex;
    flex-direction: column;
}


.tp-destination-preview-no-image strong {
    color: #27313d;

    font-size: 20px;
}


.tp-destination-preview-no-image small {
    margin-top: 2px;

    color: #98a2b3;

    font-size: 12px;
}


.tp-destination-preview-footer {
    padding: 16px 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;
}


.tp-destination-preview-footer > div {
    display: flex;
    flex-direction: column;

    gap: 3px;
}


.tp-destination-preview-footer strong {
    color: #1d2939;

    font-size: 14px;
}


.tp-destination-preview-footer small {
    color: #667085;

    font-size: 12px;
}


.tp-destination-continue {
    min-height: 46px;

    padding:
        0 19px;

    display: flex;
    align-items: center;

    gap: 10px;

    border: 0;

    border-radius: 12px;

    background:
        var(--tp-brand);

    color: #fff;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.tp-destination-continue:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px
        rgba(26, 175, 189, .28);
}


.tp-destination-continue span {
    font-size: 17px;

    transition:
        transform .2s ease;
}


.tp-destination-continue:hover span {
    transform: translateX(3px);
}


@keyframes tpDestinationPreviewIn {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


.tp-empty,
.tp-empty-day {
    padding: 17px;

    grid-column:
        1 / -1;

    border:
        1px dashed
        #d9dde4;

    border-radius: 11px;

    color: #667085;

    text-align: center;
}


.tp-empty strong,
.tp-empty small {
    display: block;
}


.tp-empty small {
    margin-top: 3px;

    color: #98a2b3;

    font-size: 10px;
}


/* =========================================================
   DAYS
========================================================= */

.tp-day-choice-grid {
    display: grid;

    grid-template-columns:
        repeat(
            7,
            minmax(0, 1fr)
        );

    gap: 7px;
}


.tp-day-choice {
    min-height: 66px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 2px;

    border:
        1px solid
        var(--tp-border);

    border-radius: 11px;

    background: #fff;

    color: #344054;

    cursor: pointer;
}


.tp-day-choice:hover {
    border-color:
        var(--tp-brand);

    background:
        var(--tp-brand-soft);

    color:
        var(--tp-brand-dark);
}


.tp-day-choice strong {
    font-size: 18px;
}


.tp-day-choice small {
    color: #98a2b3;

    font-size: 9px;
}


.tp-custom-day-row {
    margin-top: 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    color: #667085;

    font-size: 11px;
}


.tp-custom-day-row select {
    min-width: 160px;
    height: 38px;

    padding:
        0 9px;

    border:
        1px solid
        #d8dce3;

    border-radius: 9px;

    background: #fff;

    color: #344054;

    font-size: 11px;
}


/* =========================================================
   GUEST COUNTER
========================================================= */

.tp-counter-card {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 15px;
}


.tp-counter-copy {
    display: flex;
    align-items: center;

    gap: 10px;
}


.tp-counter-icon {
    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    background:
        var(--tp-brand-soft);

    font-size: 18px;
}


.tp-counter-copy strong,
.tp-counter-copy small {
    display: block;
}


.tp-counter-copy strong {
    color: #344054;

    font-size: 13px;
}


.tp-counter-copy small {
    margin-top: 2px;

    color: #98a2b3;

    font-size: 10px;
}


.tp-counter {
    display: grid;

    grid-template-columns:
        35px
        43px
        35px;

    align-items: center;
}


.tp-counter button {
    width: 35px;
    height: 35px;

    border:
        1px solid
        #d9dde4;

    border-radius: 9px;

    background: #fff;

    color: #344054;

    font-size: 18px;

    cursor: pointer;
}


.tp-counter strong {
    text-align: center;

    font-size: 16px;
}


.tp-counter-card
.tp-primary-button {
    grid-column:
        1 / -1;
}


/* =========================================================
   INTERESTS
========================================================= */

.tp-interest-grid {
    display: grid;

    grid-template-columns:
        repeat(
            5,
            minmax(0, 1fr)
        );

    gap: 8px;
}


.tp-interest-card {
    position: relative;

    min-height: 88px;

    padding:
        11px 7px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 6px;

    border:
        1px solid
        var(--tp-border);

    border-radius: 12px;

    background: #fff;

    color: #344054;

    cursor: pointer;
}


.tp-interest-card > span {
    font-size: 21px;
}


.tp-interest-card strong {
    max-width: 100%;

    overflow: hidden;

    font-size: 11px;

    white-space: nowrap;

    text-overflow: ellipsis;
}


.tp-interest-check {
    position: absolute;

    top: 6px;
    right: 7px;

    width: 17px;
    height: 17px;

    display: none;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        var(--tp-brand);

    color: #fff;

    font-size: 9px;
}


.tp-interest-card.selected {
    border-color:
        var(--tp-brand);

    background:
        var(--tp-brand-soft);

    color:
        var(--tp-brand-dark);
}


.tp-interest-card.selected
.tp-interest-check {
    display: flex;
}


.tp-interest-wrapper
.tp-primary-button {
    margin-top: 13px;
}


/* =========================================================
   PREFERENCES
========================================================= */

.tp-preferences-card {
    display: grid;

    gap: 11px;
}


.tp-pref-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 9px;
}


.tp-pref-field {
    padding: 10px;

    display: grid;

    gap: 8px;

    border:
        1px solid
        #eceef1;

    border-radius: 11px;

    background: #fafbfc;
}


.tp-pref-field > span {
    color: #344054;

    font-size: 11px;
    font-weight: 800;
}


.tp-pref-field > span small {
    display: block;

    margin-top: 2px;

    color: #98a2b3;

    font-size: 9px;
    font-weight: 500;
}


.tp-pref-field input,
.tp-pref-field select {
    width: 100%;
    height: 38px;

    padding:
        0 9px;

    border:
        1px solid
        #d8dce3;

    border-radius: 9px;

    background: #fff;

    color: #344054;

    font-size: 11px;
}


.tp-toggle-row {
    position: relative;

    padding:
        11px 52px
        11px 12px;

    display: block;

    border:
        1px solid
        #eceef1;

    border-radius: 11px;

    background: #fff;

    cursor: pointer;
}


.tp-toggle-row span strong,
.tp-toggle-row span small {
    display: block;
}


.tp-toggle-row span strong {
    color: #344054;

    font-size: 11px;
}


.tp-toggle-row span small {
    margin-top: 2px;

    color: #98a2b3;

    font-size: 9px;

    line-height: 1.4;
}


.tp-toggle-row input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.tp-toggle-row i {
    position: absolute;

    top: 50%;
    right: 12px;

    width: 34px;
    height: 20px;

    transform:
        translateY(-50%);

    border-radius: 999px;

    background: #d0d5dd;

    transition: .18s;
}


.tp-toggle-row i::after {
    content: "";

    position: absolute;

    top: 3px;
    left: 3px;

    width: 14px;
    height: 14px;

    border-radius: 50%;

    background: #fff;

    box-shadow:
        0 1px 3px
        rgba(16, 24, 40, .2);

    transition: .18s;
}


.tp-toggle-row
input:checked + i {
    background:
        var(--tp-brand);
}


.tp-toggle-row
input:checked + i::after {
    transform:
        translateX(14px);
}


/* =========================================================
   BUTTONS
========================================================= */

.tp-primary-button,
.tp-secondary-button {
    min-height: 44px;

    padding:
        0 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    border-radius: 10px;

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;
}


.tp-primary-button {
    border: 0;

    background:
        linear-gradient(
            135deg,
            var(--tp-brand-dark),
            var(--tp-brand)
        );

    color: #fff;

    box-shadow:
        0 10px 22px
        rgba(26, 175, 189, .18);

    transition:
        transform .16s ease,
        box-shadow .16s ease,
        filter .16s ease;
}


.tp-primary-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 13px 28px
        rgba(26, 175, 189, .24);

    filter: saturate(1.08);
}


.tp-secondary-button {
    border:
        1px solid
        var(--tp-border);

    background: #fff;

    color: #475467;
}


.tp-secondary-button:hover {
    background: #f8f9fb;
}


.tp-two-actions {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 8px;
}


/* =========================================================
   SUMMARY
========================================================= */

.tp-summary-top {
    display: flex;
    justify-content: space-between;

    gap: 14px;
}


.tp-summary-eyebrow,
.tp-result-eyebrow {
    color: #8b93a1;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .1em;
}


.tp-summary-top h3 {
    margin:
        7px 0
        2px;

    color: #202a36;

    font-size: 20px;

    line-height: 1.2;
}


.tp-summary-top p {
    margin: 0;

    color: #98a2b3;

    font-size: 11px;
}


.tp-summary-ai {
    flex: 0 0 auto;

    width: 39px;
    height: 39px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    background:
        var(--tp-brand-soft);

    color:
        var(--tp-brand-dark);
}


.tp-summary-grid {
    margin-top: 16px;

    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 8px;
}


.tp-summary-grid > div {
    position: relative;

    padding:
        10px 45px
        10px 10px;

    border-radius: 10px;

    background: #f8f9fb;
}


.tp-summary-grid small,
.tp-summary-grid strong {
    display: block;
}


.tp-summary-grid small {
    margin-bottom: 3px;

    color: #98a2b3;

    font-size: 9px;
}


.tp-summary-grid strong {
    overflow: hidden;

    color: #344054;

    font-size: 12px;

    white-space: nowrap;

    text-overflow: ellipsis;
}


.tp-summary-grid button {
    position: absolute;

    top: 50%;
    right: 8px;

    transform:
        translateY(-50%);

    padding:
        4px 6px;

    border: 0;

    border-radius: 6px;

    background: #fff;

    color:
        var(--tp-brand-dark);

    font-size: 8px;
    font-weight: 800;

    cursor: pointer;
}


.tp-summary-interests {
    margin-top: 12px;

    display: flex;
    flex-wrap: wrap;

    gap: 6px;
}


.tp-summary-interests span {
    padding:
        5px 9px;

    border-radius: 999px;

    background:
        var(--tp-brand-soft);

    color:
        var(--tp-brand-dark);

    font-size: 10px;
    font-weight: 700;
}


.tp-review-details {
    margin-top: 12px;

    border-top:
        1px solid
        #eef0f3;

    border-bottom:
        1px solid
        #eef0f3;
}


.tp-review-details summary {
    padding:
        10px 0;

    color: #667085;

    font-size: 10px;
    font-weight: 800;

    cursor: pointer;
}


.tp-review-meta {
    padding:
        0 0
        10px;

    display: flex;
    flex-wrap: wrap;

    gap: 6px;
}


.tp-review-meta span {
    padding:
        5px 7px;

    border-radius: 7px;

    background: #f8f9fb;

    color: #667085;

    font-size: 9px;
}


.tp-summary-actions {
    margin-top: 14px;

    display: grid;

    grid-template-columns:
        120px
        minmax(0, 1fr);

    gap: 8px;
}


.tp-build-button {
    min-height: 60px;

    padding:
        10px 13px;

    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 10px;

    text-align: left;

    border: 0;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #192430,
            #293748
        );

    color: #fff;

    cursor: pointer;
}


.tp-build-icon {
    width: 33px;
    height: 33px;

    display: grid;

    place-items: center;

    border-radius: 9px;

    background:
        rgba(255, 255, 255, .1);
}


.tp-build-button
> span:nth-child(2) {
    display: flex;
    flex-direction: column;

    gap: 2px;
}


.tp-build-button strong {
    font-size: 12px;
}


.tp-build-button small {
    color:
        rgba(255, 255, 255, .62);

    font-size: 9px;
}


.tp-build-arrow {
    font-size: 16px;
}


/* =========================================================
   QUICK EDIT
========================================================= */

.tp-edit-head strong,
.tp-edit-head small {
    display: block;
}


.tp-edit-head strong {
    color: #344054;

    font-size: 13px;
}


.tp-edit-head small {
    margin-top: 3px;

    color: #98a2b3;

    font-size: 10px;
}


.tp-edit-grid {
    margin-top: 13px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 8px;
}


.tp-edit-grid label {
    display: grid;

    gap: 5px;
}


.tp-edit-grid label > span,
.tp-edit-interests > span {
    color: #667085;

    font-size: 9px;

    font-weight: 800;
}


.tp-edit-grid input,
.tp-edit-grid select {
    width: 100%;
    height: 38px;

    padding:
        0 8px;

    border:
        1px solid
        #d8dce3;

    border-radius: 8px;

    background: #fff;

    color: #344054;

    font-size: 10px;
}


.tp-edit-interests {
    margin-top: 11px;
}


.tp-edit-interests > div {
    margin-top: 6px;

    display: flex;
    flex-wrap: wrap;

    gap: 6px;
}


.tp-edit-interests label,
.tp-edit-toggles label {
    padding:
        6px 8px;

    border:
        1px solid
        #e4e7ec;

    border-radius: 8px;

    color: #475467;

    font-size: 9px;
}


.tp-edit-interests input,
.tp-edit-toggles input {
    margin-right: 5px;
}


.tp-edit-toggles {
    margin-top: 9px;

    display: flex;
    flex-wrap: wrap;

    gap: 6px;
}


.tp-edit-actions {
    margin-top: 13px;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 8px;
}


/* =========================================================
   LOADING
========================================================= */

.tp-loading-card {
    padding: 17px;

    display: flex;
    align-items: flex-start;

    gap: 13px;

    border:
        1px solid
        rgba(26, 175, 189, .22);

    border-radius: 15px;

    background: #f3fbfc;
}


.tp-loader-icon {
    flex: 0 0 auto;

    width: 39px;
    height: 39px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    background:
        var(--tp-brand);

    color: #fff;

    animation:
        tpLoader
        1.3s
        infinite;
}


@keyframes tpLoader {

    50% {
        transform:
            scale(1.07);
    }

}


.tp-loading-card strong {
    color: #146f78;

    font-size: 12px;
}


.tp-loading-card p {
    margin:
        4px 0
        8px;

    color: #61888c;

    font-size: 10px;
}


.tp-loading-dots {
    display: flex;

    gap: 4px;
}


.tp-loading-dots span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background:
        var(--tp-brand);

    animation:
        tpDot
        1s
        infinite;
}


.tp-loading-dots span:nth-child(2) {
    animation-delay: .15s;
}


.tp-loading-dots span:nth-child(3) {
    animation-delay: .3s;
}


@keyframes tpDot {

    0%,
    80%,
    100% {
        opacity: .25;
    }

    40% {
        opacity: 1;
    }

}


/* =========================================================
   RESULT HEADER
========================================================= */

.tp-result-header {
    margin-bottom: 12px;

    padding: 18px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 14px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #192431,
            #314653
        );

    color: #fff;
}


.tp-result-eyebrow {
    color:
        rgba(255, 255, 255, .58);
}


.tp-result-header h2 {
    margin:
        5px 0
        0;

    color: #fff;

    font-size: 20px;

    line-height: 1.25;
}


.tp-result-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;

    gap: 6px;
}


.tp-result-meta span {
    padding:
        5px 7px;

    border-radius: 999px;

    background:
        rgba(255, 255, 255, .09);

    color:
        rgba(255, 255, 255, .86);

    font-size: 9px;
}


/* =========================================================
   SMART NOTE
========================================================= */

.tp-smart-note {
    margin-bottom: 10px;

    padding:
        10px 12px;

    display: flex;
    align-items: flex-start;

    gap: 9px;

    border:
        1px solid
        rgba(26, 175, 189, .20);

    border-radius: 10px;

    background: #f4fbfc;
}


.tp-smart-note > span {
    color:
        var(--tp-brand-dark);
}


.tp-smart-note strong,
.tp-smart-note small {
    display: block;
}


.tp-smart-note strong {
    color: #126e77;

    font-size: 10px;
}


.tp-smart-note small {
    margin-top: 2px;

    color: #68898d;

    font-size: 9px;

    line-height: 1.4;
}


/* =========================================================
   TOOLBAR
========================================================= */

.tp-toolbar {
    margin-bottom: 10px;

    display: flex;
    flex-wrap: wrap;

    gap: 6px;
}


.tp-toolbar button {
    min-height: 34px;

    padding:
        0 10px;

    border:
        1px solid
        #e1e4e8;

    border-radius: 8px;

    background: #fff;

    color: #475467;

    font-size: 9px;
    font-weight: 800;

    cursor: pointer;
}


.tp-toolbar button:hover:not(:disabled) {
    border-color:
        rgba(26, 175, 189, .45);

    color:
        var(--tp-brand-dark);
}


.tp-toolbar button:disabled {
    opacity: .42;

    cursor: not-allowed;
}


/* =========================================================
   DAY CARDS
========================================================= */

.tp-day {
    margin-bottom: 13px;

    overflow: hidden;

    border:
        1px solid
        var(--tp-border);

    border-radius: 16px;

    background: #fff;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;

    animation:
        tpDayReveal
        .45s
        ease
        both;
}


.tp-day:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(26, 175, 189, .25);

    box-shadow:
        0 13px 28px
        rgba(27, 40, 54, .06);
}


@keyframes tpDayReveal {

    from {
        opacity: 0;

        transform:
            translateY(10px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


.tp-day-header {
    padding:
        14px 16px;

    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 11px;

    border-bottom:
        1px solid
        #eef0f3;

    background: #fbfcfd;
}


.tp-day-number {
    width: 39px;
    height: 39px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    background: #1d2937;

    color: #fff;

    font-size: 11px;

    font-weight: 800;
}


.tp-day-header small {
    color: #98a2b3;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .06em;
}


.tp-day-header h3 {
    margin:
        2px 0
        0;

    color: #27313d;

    font-size: 14px;
}


.tp-day-actions {
    display: flex;
    align-items: center;

    gap: 6px;
}


.tp-stop-count,
.tp-day-actions a {
    padding:
        5px 7px;

    border-radius: 999px;

    font-size: 8px;

    text-decoration: none;
}


.tp-stop-count {
    background: #f0f1f3;

    color: #667085;
}


.tp-day-actions a,
.tp-map-link {
    border:
        1px solid
        rgba(26, 175, 189, .23);

    background: #eefafb;

    color:
        var(--tp-brand-dark)
        !important;

    font-weight: 800;
}


.tp-day-body {
    padding:
        5px 16px;
}


/* =========================================================
   ACTIVITIES
========================================================= */

.tp-activity {
    display: grid;

    grid-template-columns:
        68px
        minmax(0, 1fr);

    gap: 8px;
}


.tp-activity-time {
    padding-top: 15px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.tp-activity-time > span {
    color: #667085;

    font-size: 9px;

    font-weight: 800;
}


.tp-timeline {
    position: relative;

    width: 100%;

    min-height: 66px;

    margin-top: 6px;
}


.tp-timeline::before {
    content: "";

    position: absolute;

    top: 5px;
    left: 6px;
    bottom: 0;

    width: 1px;

    background: #e4e7ec;
}


.tp-timeline i {
    position: absolute;

    top: 0;
    left: 2px;

    width: 9px;
    height: 9px;

    border:
        2px solid
        #fff;

    border-radius: 50%;

    background:
        var(--tp-brand);

    box-shadow:
        0 0 0 1px
        var(--tp-brand);
}


.tp-activity:last-child
.tp-timeline::before {
    display: none;
}


.tp-activity-content {
    padding:
        12px 0
        14px;

    border-bottom:
        1px solid
        #f0f1f3;
}


.tp-activity:last-child
.tp-activity-content {
    border-bottom: 0;
}


.tp-activity-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 9px;
}


.tp-place-type {
    display: inline-block;

    margin-bottom: 3px;

    color:
        var(--tp-brand-dark);

    font-size: 8px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .06em;
}


.tp-activity-heading h4 {
    margin: 0;

    color: #26313d;

    font-size: 12px;

    line-height: 1.35;

    overflow-wrap: anywhere;
}


.tp-map-link {
    flex: 0 0 auto;

    padding:
        5px 7px;

    border-radius: 7px;

    font-size: 8px;

    text-decoration: none !important;
}


.tp-address {
    margin:
        5px 0
        0;

    color: #8b94a1;

    font-size: 9px;

    line-height: 1.45;

    overflow-wrap: anywhere;
}


.tp-activity-meta {
    margin-top: 5px;

    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 5px;

    color: #a0a7b1;

    font-size: 8px;
}


.tp-access-badge {
    padding:
        3px 5px;

    border-radius: 999px;

    background: #ecfdf3;

    color: #15835c;

    font-weight: 700;
}


.tp-empty-day {
    margin:
        10px 0;

    font-size: 10px;
}


/* =========================================================
   AFTER PLAN
========================================================= */

.tp-after-plan {
    margin:
        12px 0;

    padding: 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    border:
        1px solid
        rgba(26, 175, 189, .18);

    border-radius: 12px;

    background: #f7fcfc;
}


.tp-after-plan strong,
.tp-after-plan small {
    display: block;
}


.tp-after-plan strong {
    color: #146f78;

    font-size: 10px;
}


.tp-after-plan small {
    margin-top: 2px;

    color: #6b8b90;

    font-size: 8px;

    line-height: 1.4;
}


.tp-pace-switch {
    display: flex;
    flex-wrap: wrap;

    gap: 5px;
}


.tp-pace-switch button {
    padding:
        6px 7px;

    border:
        1px solid
        rgba(26, 175, 189, .24);

    border-radius: 8px;

    background: #fff;

    color:
        var(--tp-brand-dark);

    font-size: 8px;
    font-weight: 800;

    cursor: pointer;
}


.tp-pace-switch button.active {
    border-color:
        var(--tp-brand);

    background:
        var(--tp-brand);

    color: #fff;
}


/* =========================================================
   RIGHT AI SIDE PANEL
========================================================= */
.tp-side-rail-right {
    grid-column: 2;
    grid-row: 2;

    position: sticky;
    top: 92px;

    align-self: start;

    width: 100%;
    max-width: none;
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 16px;

    z-index: 10;

    max-height:
        calc(
            100vh - 110px
        );

    overflow-y: auto;

    overscroll-behavior: contain;
}
.tp-side-rail-right {
    scrollbar-width: thin;
    scrollbar-color:
        rgba(26, 175, 189, .30)
        transparent;
}


.tp-side-rail-right::-webkit-scrollbar {
    width: 5px;
}


.tp-side-rail-right::-webkit-scrollbar-track {
    background: transparent;
}


.tp-side-rail-right::-webkit-scrollbar-thumb {
    background:
        rgba(
            26,
            175,
            189,
            .28
        );

    border-radius: 999px;
}
.tp-side-rail-right > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}


.tp-ai-live-card > strong,
.tp-ai-live-card > p {
    max-width: 100%;

    white-space: normal;

    overflow-wrap: anywhere;
}


.tp-ai-live-card {
    position: relative;

    overflow: hidden;

    min-height: 150px;

    padding: 17px;

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            #172330,
            #263b4a 72%,
            #194953 130%
        );

    color: #fff;

    box-shadow:
        0 16px 38px
        rgba(16, 24, 40, .14);
}


.tp-ai-live-card::after {
    content: "";

    position: absolute;

    right: -55px;
    bottom: -70px;

    width: 150px;
    height: 150px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(32, 198, 204, .28),
            transparent 68%
        );

    animation:
        tpGlow
        5s
        ease-in-out
        infinite alternate;
}


@keyframes tpGlow {

    to {
        transform:
            scale(1.18);

        opacity: .65;
    }

}


.tp-ai-live-status {
    position: relative;

    z-index: 1;

    display: flex;
    align-items: center;

    gap: 6px;

    margin-bottom: 11px;

    color:
        rgba(255, 255, 255, .68);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .08em;
}


.tp-ai-live-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #43d995;

    box-shadow:
        0 0 0 4px
        rgba(67, 217, 149, .10);

    animation:
        tpPulse
        1.8s
        infinite;
}


.tp-ai-live-card > strong {
    position: relative;

    z-index: 1;

    display: block;

    max-width: 185px;

    color: #fff;

    font-size: 17px;

    line-height: 1.3;
}


.tp-ai-live-card > p {
    position: relative;

    z-index: 1;

    margin:
        7px 0
        0;

    color:
        rgba(255, 255, 255, .62);

    font-size: 10px;

    line-height: 1.5;
}


/* =========================================================
   SNAPSHOT / SMART CARDS
========================================================= */

.tp-side-snapshot,
.tp-smart-features {
    padding: 15px;

    border:
        1px solid
        var(--tp-border);

    border-radius: 16px;

    background:
        rgba(255, 255, 255, .90);

    box-shadow:
        0 10px 26px
        rgba(16, 24, 40, .05);

    backdrop-filter:
        blur(12px);
}


.tp-side-snapshot-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 7px;
}


.tp-side-snapshot-title span,
.tp-smart-label {
    color:
        var(--tp-brand-dark);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .08em;
}


.tp-side-snapshot-title small {
    color: #98a2b3;

    font-size: 9px;

    font-weight: 700;
}


.tp-side-progress {
    width: 100%;
    height: 5px;

    margin:
        9px 0
        11px;

    overflow: hidden;

    border-radius: 999px;

    background: #e9edf0;
}


.tp-side-progress-bar {
    width: 0;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #1aafbd,
            #28c9be
        );

    transition:
        width .35s ease;
}


.tp-side-stat {
    padding:
        9px 0;

    display: grid;

    grid-template-columns:
        29px
        minmax(0, 1fr);

    align-items: center;

    gap: 8px;

    border-bottom:
        1px solid
        #f0f1f3;
}


.tp-side-stat:last-child {
    border-bottom: 0;
}


.tp-side-stat > span {
    width: 29px;
    height: 29px;

    display: grid;

    place-items: center;

    border-radius: 8px;

    background: #eefafb;

    font-size: 13px;
}


.tp-side-stat small {
    display: block;

    margin-bottom: 1px;

    color: #a1a7b1;

    font-size: 8px;
}


.tp-side-stat strong {
    display: block;

    overflow: hidden;

    color: #344054;

    font-size: 11px;

    font-weight: 800;

    white-space: nowrap;

    text-overflow: ellipsis;
}


.tp-smart-label {
    display: block;

    margin-bottom: 6px;
}


.tp-smart-features > div {
    padding:
        8px 0;

    display: grid;

    grid-template-columns:
        24px
        minmax(0, 1fr);

    align-items: center;

    gap: 8px;

    border-bottom:
        1px solid
        #f1f2f4;
}


.tp-smart-features > div:last-child {
    border-bottom: 0;
}


.tp-smart-features i {
    width: 24px;
    height: 24px;

    display: grid;

    place-items: center;

    border-radius: 7px;

    background: #ecfdf3;

    color: #16825d;

    font-size: 9px;

    font-style: normal;

    font-weight: 800;
}


.tp-smart-features strong,
.tp-smart-features small {
    display: block;
}


.tp-smart-features strong {
    color: #3d4754;

    font-size: 10px;
}


.tp-smart-features small {
    margin-top: 1px;

    color: #9aa1ab;

    font-size: 8px;
}


/* =========================================================
   SMALL ANIMATIONS
========================================================= */

@keyframes tpEnter {

    from {
        opacity: 0;

        transform:
            translateY(16px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


.shake {
    animation:
        tpShake
        .35s;
}


@keyframes tpShake {

    25% {
        transform:
            translateX(-4px);
    }

    75% {
        transform:
            translateX(4px);
    }

}

/* =========================================================
   AI PLANNER — LARGE UI SCALE
   Larger typography, controls and itinerary
========================================================= */


/* =========================================================
   HEADER
========================================================= */

.tp-header {
    min-height: clamp(92px, 6vw, 112px);

    padding:
        clamp(20px, 1.6vw, 28px)
        clamp(22px, 2vw, 34px);
}


.tp-avatar {
    width: clamp(52px, 3.5vw, 62px);
    height: clamp(52px, 3.5vw, 62px);

    border-radius: 16px;

    font-size: clamp(22px, 1.6vw, 28px);
}


.tp-assistant-name {
    font-size: clamp(18px, 1.25vw, 22px);
}


.tp-status {
    font-size: clamp(13px, .9vw, 15px);
}


.tp-header-btn {
    min-height: 44px;

    padding:
        0 clamp(13px, 1vw, 18px);

    font-size: clamp(13px, .85vw, 15px);
}


/* =========================================================
   PROGRESS
========================================================= */

.tp-progress {
    min-width: 820px;

    padding:
        17px 24px;

    gap: 12px;
}


.tp-progress-item {
    gap: 9px;
}


.tp-progress-item span {
    width: 36px;
    height: 36px;

    font-size: 14px;
}


.tp-progress-item small {
    font-size: clamp(13px, .85vw, 15px);
}


/* =========================================================
   CHAT
========================================================= */

.tp-chat {
    padding:
        clamp(30px, 2.7vw, 46px);
}


.tp-message-row {
    margin-bottom: 23px;

    gap: 13px;
}


.tp-message-avatar {
    width: 40px;
    height: 40px;

    border-radius: 11px;

    font-size: 16px;
}


.tp-message {
    max-width: 82%;

    padding:
        16px 20px;

    border-radius: 18px;

    font-size:
        clamp(
            16px,
            1.08vw,
            19px
        );

    line-height: 1.65;
}


.tp-message-muted {
    font-size: 14px;
}


/* =========================================================
   CONTENT CARDS
========================================================= */

.tp-preset-panel,
.tp-selection-card,
.tp-counter-card,
.tp-interest-wrapper,
.tp-preferences-card,
.tp-summary-card {
    padding:
        clamp(
            21px,
            1.7vw,
            28px
        );

    border-radius: 19px;
}


.tp-block-head {
    margin-bottom: 17px;
}


.tp-block-head strong {
    font-size:
        clamp(
            17px,
            1.1vw,
            20px
        );
}


.tp-block-head small {
    margin-top: 5px;

    font-size:
        clamp(
            13px,
            .85vw,
            15px
        );

    line-height: 1.55;
}


/* =========================================================
   PRESET / TRAVELLER CARDS
========================================================= */

.tp-preset-grid,
.tp-options-grid {
    gap: 13px;
}


.tp-preset-card,
.tp-option-card {
    padding: 17px;

    gap: 14px;

    border-radius: 16px;
}


.tp-preset-card {
    min-height: 104px;
}


.tp-option-card {
    min-height: 100px;
}


.tp-preset-icon,
.tp-option-icon {
    width: 52px;
    height: 52px;

    border-radius: 14px;

    font-size: 25px;
}


.tp-preset-card strong,
.tp-option-content strong {
    font-size:
        clamp(
            16px,
            1vw,
            18px
        );
}


.tp-preset-card small,
.tp-option-content small {
    font-size:
        clamp(
            13px,
            .82vw,
            15px
        );

    line-height: 1.5;
}


.tp-option-arrow {
    font-size: 20px;
}


.tp-text-button {
    font-size: 14px;
}


/* =========================================================
   DESTINATION
========================================================= */

.tp-search-box {
    height: 58px;

    padding:
        0 17px;
}


.tp-search-box span {
    font-size: 23px;
}


.tp-search-box input {
    font-size: 16px;
}


.tp-surprise-btn {
    min-height: 58px;

    padding:
        0 18px;

    font-size: 14px;
}


.tp-destination-row {
    padding: 15px;
}


.tp-city-flag {
    font-size: 27px;
}


.tp-destination-copy strong {
    font-size: 16px;
}


.tp-destination-copy small {
    font-size: 13px;
}


.tp-verified {
    font-size: 11px;
}


.tp-row-arrow {
    font-size: 17px;
}


/* =========================================================
   DAYS
========================================================= */

.tp-day-choice {
    min-height: 88px;
}


.tp-day-choice strong {
    font-size: 25px;
}


.tp-day-choice small {
    font-size: 13px;
}


.tp-custom-day-row {
    font-size: 15px;
}


.tp-custom-day-row select {
    height: 46px;

    font-size: 15px;
}


/* =========================================================
   GUESTS
========================================================= */

.tp-counter-icon {
    width: 54px;
    height: 54px;

    font-size: 25px;
}


.tp-counter-copy strong {
    font-size: 18px;
}


.tp-counter-copy small {
    font-size: 14px;
}


.tp-counter button {
    width: 44px;
    height: 44px;

    font-size: 23px;
}


.tp-counter strong {
    font-size: 21px;
}


/* =========================================================
   INTERESTS
========================================================= */

.tp-interest-card {
    min-height: 112px;

    padding: 16px;
}


.tp-interest-card > span {
    font-size: 30px;
}


.tp-interest-card strong {
    font-size: 15px;
}


.tp-interest-check {
    width: 22px;
    height: 22px;

    font-size: 12px;
}


/* =========================================================
   ADVANCED PREFERENCES
========================================================= */

.tp-pref-field {
    padding: 15px;
}


.tp-pref-field > span {
    font-size: 15px;
}


.tp-pref-field > span small {
    font-size: 13px;
}


.tp-pref-field input,
.tp-pref-field select {
    height: 46px;

    padding:
        0 12px;

    font-size: 15px;
}


.tp-toggle-row span strong {
    font-size: 15px;
}


.tp-toggle-row span small {
    font-size: 13px;
}


/* =========================================================
   BUTTONS
========================================================= */

.tp-primary-button,
.tp-secondary-button {
    min-height: 54px;

    padding:
        0 19px;

    border-radius: 12px;

    font-size: 15px;

    gap: 9px;
}


/* =========================================================
   REVIEW SUMMARY
========================================================= */

.tp-summary-eyebrow,
.tp-result-eyebrow {
    font-size: 12px;
}


.tp-summary-top h3 {
    font-size:
        clamp(
            25px,
            1.7vw,
            30px
        );
}


.tp-summary-top p {
    font-size: 15px;
}


.tp-summary-ai {
    width: 52px;
    height: 52px;

    font-size: 21px;
}


.tp-summary-grid {
    gap: 12px;
}


.tp-summary-grid > div {
    padding:
        15px 52px
        15px 15px;

    border-radius: 13px;
}


.tp-summary-grid small {
    font-size: 13px;
}


.tp-summary-grid strong {
    font-size: 16px;
}


.tp-summary-grid button {
    padding:
        7px 9px;

    font-size: 12px;
}


.tp-summary-interests {
    gap: 9px;
}


.tp-summary-interests span {
    padding:
        7px 12px;

    font-size: 14px;
}


/* =========================================================
   LOADING
========================================================= */

.tp-loading-card {
    padding: 23px;

    gap: 17px;

    border-radius: 18px;
}


.tp-loader-icon {
    width: 52px;
    height: 52px;

    font-size: 21px;
}


.tp-loading-card strong {
    font-size: 17px;
}


.tp-loading-card p {
    font-size: 14px;
}


/* =========================================================
   RESULT HEADER — MUCH BIGGER
========================================================= */

.tp-result-header {
    margin-bottom: 18px;

    padding:
        clamp(
            24px,
            2vw,
            32px
        );

    gap: 20px;

    border-radius: 20px;
}


.tp-result-eyebrow {
    font-size: 13px;

    letter-spacing: .12em;
}


.tp-result-header h2 {
    margin-top: 8px;

    font-size:
        clamp(
            28px,
            2.15vw,
            38px
        );

    line-height: 1.18;
}


.tp-result-meta {
    gap: 9px;
}


.tp-result-meta span {
    padding:
        8px 12px;

    font-size: 14px;
}


/* =========================================================
   SMART NOTE
========================================================= */

.tp-smart-note {
    margin-bottom: 16px;

    padding:
        16px 18px;

    gap: 13px;

    border-radius: 14px;
}


.tp-smart-note > span {
    font-size: 22px;
}


.tp-smart-note strong {
    font-size: 16px;
}


.tp-smart-note small {
    margin-top: 4px;

    font-size: 14px;

    line-height: 1.55;
}


/* =========================================================
   RESULT TOOLBAR
========================================================= */

.tp-toolbar {
    margin-bottom: 16px;

    gap: 9px;
}


.tp-toolbar button {
    min-height: 44px;

    padding:
        0 15px;

    border-radius: 10px;

    font-size: 14px;
}


/* =========================================================
   DAY CARD
========================================================= */

.tp-day {
    margin-bottom: 20px;

    border-radius: 20px;
}


.tp-day-header {
    padding:
        21px 24px;

    gap: 16px;
}


.tp-day-number {
    width: 58px;
    height: 58px;

    border-radius: 15px;

    font-size: 16px;
}


.tp-day-header small {
    font-size: 13px;
}


.tp-day-header h3 {
    margin-top: 4px;

    font-size:
        clamp(
            20px,
            1.45vw,
            24px
        );
}


.tp-day-actions {
    gap: 9px;
}


.tp-stop-count,
.tp-day-actions a {
    padding:
        8px 11px;

    font-size: 13px;
}


/* =========================================================
   ACTIVITY / PLACE
   Đây là phần hiện tại quá nhỏ nhất
========================================================= */

.tp-day-body {
    padding:
        8px 24px;
}


.tp-activity {
    grid-template-columns:
        105px
        minmax(0, 1fr);

    gap: 16px;
}


.tp-activity-time {
    padding-top: 21px;
}


.tp-activity-time > span {
    font-size: 15px;
}


.tp-timeline {
    min-height: 92px;

    margin-top: 9px;
}


.tp-timeline::before {
    left: 8px;

    width: 2px;
}


.tp-timeline i {
    left: 3px;

    width: 13px;
    height: 13px;

    border-width: 3px;
}


.tp-activity-content {
    padding:
        18px 0
        21px;
}


.tp-activity-heading {
    gap: 15px;
}


.tp-place-type {
    margin-bottom: 5px;

    font-size: 13px;
}


.tp-activity-heading h4 {
    font-size:
        clamp(
            18px,
            1.25vw,
            22px
        );

    line-height: 1.4;
}


.tp-map-link {
    padding:
        8px 11px;

    border-radius: 9px;

    font-size: 13px;
}


.tp-address {
    margin-top: 8px;

    font-size: 15px;

    line-height: 1.55;
}


.tp-activity-meta {
    margin-top: 9px;

    gap: 8px;

    font-size: 13px;
}


.tp-access-badge {
    padding:
        5px 8px;
}


.tp-empty-day {
    font-size: 14px;
}


/* =========================================================
   RIGHT AI PANEL
========================================================= */

.tp-ai-live-card {
    min-height: 190px;

    padding: 23px;

    border-radius: 20px;
}


.tp-ai-live-status {
    margin-bottom: 15px;

    font-size: 12px;
}


.tp-ai-live-dot {
    width: 8px;
    height: 8px;
}


.tp-ai-live-card > strong {
    max-width: none;

    font-size:
        clamp(
            21px,
            1.35vw,
            25px
        );
}


.tp-ai-live-card > p {
    margin-top: 10px;

    font-size: 14px;

    line-height: 1.6;
}


.tp-side-snapshot,
.tp-smart-features {
    padding: 21px;

    border-radius: 19px;
}


.tp-side-snapshot-title span,
.tp-smart-label {
    font-size: 12px;
}


.tp-side-snapshot-title small {
    font-size: 12px;
}


.tp-side-progress {
    height: 7px;

    margin:
        13px 0
        15px;
}


.tp-side-stat {
    padding:
        13px 0;

    grid-template-columns:
        39px
        minmax(0, 1fr);

    gap: 11px;
}


.tp-side-stat > span {
    width: 39px;
    height: 39px;

    font-size: 18px;
}


.tp-side-stat small {
    font-size: 12px;
}


.tp-side-stat strong {
    font-size: 15px;
}


.tp-smart-label {
    margin-bottom: 10px;
}


.tp-smart-features > div {
    padding:
        12px 0;

    grid-template-columns:
        35px
        minmax(0, 1fr);

    gap: 11px;
}


.tp-smart-features i {
    width: 35px;
    height: 35px;

    font-size: 13px;
}


.tp-smart-features strong {
    font-size: 15px;
}


.tp-smart-features small {
    margin-top: 3px;

    font-size: 12px;
}
/* =========================================================
   LAPTOP
   Right panel moves BELOW planner.
   Prevents header/footer horizontal overflow.
========================================================= */

@media
(max-width: 1399px) {

    .tp-shell {
        max-width: 1120px;

        grid-template-columns:
            minmax(0, 1fr);

        gap: 20px;
    }


    .tp-hero,
    .tp-planner,
    .tp-side-rail-right {
        grid-column: 1;
    }


    .tp-hero:not(.tp-travel-hero) {
        grid-column:
            1 / -1;

        width: 100%;
        max-width: 820px;

        margin:
            0 auto
            8px;

        padding-top: 28px;

        text-align: center;

        animation:
            tpEnter
            .65s
            ease
            both;
    }


    .tp-planner {
        grid-row: 2;
    }


    .tp-side-rail-right {
        grid-row: 3;

        position: relative;

        top: auto;

        display: grid;

        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );

        align-items: stretch;
    }


    .tp-ai-live-card,
    .tp-side-snapshot,
    .tp-smart-features {
        height: 100%;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media
(max-width: 900px) {

    .tp-page {
        padding:
            30px 14px
            60px;
    }


    .tp-side-rail-right {
        grid-template-columns:
            1fr
            1fr;
    }


    .tp-ai-live-card {
        grid-column:
            1 / -1;
    }


    .tp-preset-grid,
    .tp-destination-results,
    .tp-options-grid,
    .tp-pref-grid,
    .tp-edit-grid {
        grid-template-columns: 1fr;
    }


    .tp-interest-grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }


    .tp-summary-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .tp-day-choice-grid {
        grid-template-columns:
            repeat(
                4,
                minmax(0, 1fr)
            );
    }


    .tp-result-header,
    .tp-after-plan {
        align-items: flex-start;

        flex-direction: column;
    }


    .tp-result-meta {
        justify-content: flex-start;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media
(max-width: 600px) {

    .tp-hero-actions {
        margin-top: 19px;
    }


    .tp-hero-cta {
        width: min(100%, 280px);
        min-height: 50px;
    }


    .tp-find-space-cta {
        min-height: 88px;

        padding: 14px;

        gap: 11px;
    }


    .tp-find-space-icon {
        width: 44px;
        height: 44px;

        border-radius: 12px;

        font-size: 23px;
    }


    .tp-find-space-copy strong {
        font-size: 17px;
    }


    .tp-find-space-copy em {
        font-size: 11px;
    }


    .tp-find-space-cta > i {
        width: 30px;
        height: 30px;
    }



    .tp-page {
        padding:
            22px 8px
            46px;
    }


    .tp-hero:not(.tp-travel-hero) h1 {
        font-size:
            clamp(
                34px,
                10vw,
                44px
            );
    }


    .tp-hero:not(.tp-travel-hero) p {
        font-size: 13px;
    }


    .tp-planner {
        border-radius: 17px;
    }


    .tp-header {
        padding: 12px;
    }


    .tp-avatar {
        width: 36px;
        height: 36px;
    }


    .tp-header-btn {
        padding:
            0 7px;

        font-size: 9px;
    }


    .tp-chat {
        min-height: 500px;

        padding:
            18px 10px;
    }


    .tp-message {
        max-width: 87%;

        font-size: 12px;
    }


    .tp-message-avatar {
        width: 25px;
        height: 25px;

        font-size: 10px;
    }


    .tp-preset-panel,
    .tp-selection-card,
    .tp-counter-card,
    .tp-interest-wrapper,
    .tp-preferences-card,
    .tp-summary-card,
    .tp-two-actions,
    .tp-options-grid,
    .tp-loading-card,
    .tp-itinerary {
        width: 100%;

        margin-left: 0;
    }


    .tp-search-row {
        grid-template-columns: 1fr;
    }


    .tp-destination-results,
    .tp-options-grid,
    .tp-two-actions,
    .tp-edit-actions,
    .tp-summary-actions {
        grid-template-columns: 1fr;
    }


    .tp-verified {
        display: none;
    }


    .tp-destination-preview-image {
        height: 190px;
    }


    .tp-destination-preview-title {
        left: 16px;
        right: 16px;
        bottom: 15px;
    }


    .tp-destination-preview-title strong {
        font-size: 21px;
    }


    .tp-destination-preview-footer {
        align-items: stretch;
        flex-direction: column;
    }


    .tp-destination-continue {
        width: 100%;

        justify-content: center;
    }


    .tp-custom-day-row {
        align-items: flex-start;

        flex-direction: column;
    }


    .tp-custom-day-row select {
        width: 100%;
    }


    .tp-counter-card {
        grid-template-columns: 1fr;
    }


    .tp-counter {
        justify-self: start;
    }


    .tp-interest-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .tp-day-header {
        grid-template-columns:
            auto
            minmax(0, 1fr);
    }


    .tp-day-actions {
        grid-column: 2;

        justify-content: flex-start;
    }


    .tp-activity {
        grid-template-columns:
            52px
            minmax(0, 1fr);
    }


    .tp-toolbar button {
        flex:
            1 1 auto;
    }


    .tp-side-rail-right {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   PRINT
========================================================= */

@media print {

    .tp-page::before,
    .tp-page::after,
    .tp-hero,
    .tp-header,
    .tp-progress-scroll,
    .tp-message-row,
    .tp-toolbar,
    .tp-after-plan,
    .tp-side-rail-right,
    .tp-itinerary
    > .tp-secondary-button {
        display: none !important;
    }


    .tp-page {
        padding: 0;

        background: #fff;
    }


    .tp-shell {
        display: block;

        max-width: none;
    }


    .tp-planner {
        border: 0;

        box-shadow: none;
    }


    .tp-chat {
        min-height: 0;

        padding: 0;
    }


    .tp-itinerary {
        width: 100%;

        margin: 0;
    }


    .tp-day {
        break-inside: avoid;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media
(prefers-reduced-motion: reduce) {

    .tp-page::before,
    .tp-page::after,
    .tp-hero,
    .tp-planner,
    .tp-side-rail-right,
    .tp-ai-live-card::after,
    .tp-day,
    .tp-loader-icon,
    .tp-loading-dots span {
        animation: none !important;
    }

}

/* =========================================================
   FINAL FIX — FULL WIDTH TRAVEL HERO
========================================================= */

.tp-shell > .tp-hero.tp-travel-hero {
    grid-column: 1 / -1 !important;

    position: relative !important;

    /*
       Hero thật sự rộng bằng browser,
       không phải rộng bằng .tp-shell
    */
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: none !important;

    /*
       Center 100vw theo viewport
       dù parent đang là container có max-width
    */
    left: 50% !important;

    margin:
        0 0
        30px !important;

    transform:
        translateX(-50%) !important;

    /*
       Generic .tp-hero animation dùng transform,
       nên phải tắt để nó không phá translateX(-50%)
    */
    animation: none !important;

    height:
        clamp(
            420px,
            39vw,
            560px
        ) !important;

    padding: 0 !important;

    overflow: hidden !important;

    border-radius: 0 !important;

    box-shadow: none !important;
}


/* Background/layers phải phủ toàn hero */

.tp-travel-glow,
.tp-travel-stars,
.tp-flight-path {
    width: 100% !important;
}


.tp-travel-layer {
    width: 200% !important;
}


/* Text vẫn nằm giữa, không kéo theo full screen */

.tp-travel-content {
    width: 100% !important;
    max-width: 1180px !important;

    margin:
        0 auto !important;

    padding:
        0 clamp(
            20px,
            5vw,
            70px
        ) !important;
}


/* Hero text phải trắng trên background tối */

.tp-travel-hero
.tp-travel-content h1 {
    color: #ffffff !important;

    text-shadow:
        0 8px 30px
        rgba(
            0,
            0,
            0,
            0.28
        ) !important;
}


.tp-travel-hero
.tp-travel-content p {
    color:
        rgba(
            255,
            255,
            255,
            0.78
        ) !important;
}


/* Chống horizontal scrollbar */

html,
body {
    width: 100%;
    max-width: 100%;

    overflow-x: hidden !important;
}


.tp-page {
    width: 100%;

    overflow-x: clip !important;
}


/* Mobile */

@media (max-width: 700px) {

    .tp-shell > .tp-hero.tp-travel-hero {
        height: 330px !important;

        margin-bottom:
            20px !important;
    }

}