/* Generated guide mobile UX v31: keep the itinerary calm and navigable. */
.ai-guide__day-brief {
    display: contents;
}

.ai-guide__day-brief > summary {
    display: none;
}

.ai-guide__day-brief-body {
    display: contents;
}

.ai-guide__food-reason {
    margin-top: 4px;
    color: #55736a;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.35;
}

.ai-guide__mobile-day-cta {
    display: none;
}

@media (max-width: 700px) {
    .ai-guide[data-guide-view="route"] .ai-guide__day-tabs {
        position: sticky;
        top: calc(var(--tt-header-height, 64px) + 6px);
        z-index: 32;
        gap: 6px;
        margin: 10px -4px 12px;
        padding: 8px 4px;
        border: 1px solid rgba(220, 228, 224, .92);
        border-radius: 14px;
        background: rgba(250, 252, 250, .96);
        box-shadow: 0 9px 24px rgba(30, 50, 45, .11);
        backdrop-filter: blur(14px);
        scrollbar-width: none;
    }

    .ai-guide[data-guide-view="route"] .ai-guide__day-tabs::-webkit-scrollbar {
        display: none;
    }

    .ai-guide[data-guide-view="route"] .ai-guide__day-tab {
        flex: 0 0 auto;
        min-width: 92px;
    }

    .ai-guide__day-brief {
        display: block;
        overflow: hidden;
        margin: 0 0 13px;
        border: 1px solid #e3eae6;
        border-radius: 15px;
        background: #fff;
    }

    .ai-guide__day-brief > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-height: 48px;
        padding: 10px 12px;
        color: #314b45;
        font-size: 12px;
        font-weight: 850;
        cursor: pointer;
        list-style: none;
    }

    .ai-guide__day-brief > summary::-webkit-details-marker {
        display: none;
    }

    .ai-guide__day-brief > summary::after {
        content: '+';
        display: grid;
        flex: 0 0 27px;
        width: 27px;
        height: 27px;
        place-items: center;
        border-radius: 50%;
        color: #c55b37;
        background: #fff0e8;
        font-size: 18px;
        font-weight: 500;
        line-height: 1;
    }

    .ai-guide__day-brief[open] > summary::after {
        content: '−';
    }

    .ai-guide__day-brief-body {
        display: block;
        padding: 0 10px 10px;
        border-top: 1px solid #edf1ef;
    }

    .ai-guide__day-brief .ai-guide__day-lead {
        margin-top: 10px;
    }

    .ai-guide__day-brief .ai-guide__meals {
        margin-bottom: 0;
    }

    .ai-guide__mobile-day-cta {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 38px;
        gap: 2px 10px;
        width: 100%;
        min-height: 66px;
        margin: 16px 0 4px;
        padding: 12px 13px 12px 15px;
        border: 0;
        border-radius: 16px;
        color: #fff;
        background: linear-gradient(135deg, #f86b38 0%, #f4542d 100%);
        box-shadow: 0 10px 25px rgba(222, 82, 39, .23);
        text-align: left;
        cursor: pointer;
    }

    .ai-guide__mobile-day-cta span,
    .ai-guide__mobile-day-cta strong {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ai-guide__mobile-day-cta span {
        align-self: end;
        color: rgba(255, 255, 255, .78);
        font-size: 10px;
        font-weight: 750;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

    .ai-guide__mobile-day-cta strong {
        align-self: start;
        font-size: 14px;
        font-weight: 850;
    }

    .ai-guide__mobile-day-cta b {
        display: grid;
        grid-column: 2;
        grid-row: 1 / span 2;
        width: 38px;
        height: 38px;
        place-self: center;
        place-items: center;
        border-radius: 50%;
        color: #d9562f;
        background: #fff;
        font-size: 20px;
        line-height: 1;
    }

    .ai-guide__mobile-day-cta.is-budget {
        background: linear-gradient(135deg, #176957 0%, #0f594a 100%);
        box-shadow: 0 10px 25px rgba(15, 89, 74, .22);
    }

    .ai-guide__mobile-day-cta.is-budget b {
        color: #176957;
    }

    .ai-guide__mobile-day-cta:focus-visible {
        outline: 3px solid rgba(255, 103, 29, .3);
        outline-offset: 3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ai-guide[data-guide-view="route"] .ai-guide__day-tabs {
        scroll-behavior: auto;
    }
}
