.flyup-ai-mobile-entry-gate {
    display: none;
}

/* =====================================================================
   FlyUp4You GSM app-like shell
   Scope: logged-in account pages only. Loaded after responsive-system.css.
===================================================================== */

.flyup-mobile-app-nav {
    display: none;
}

@media screen and (max-width: 760px) {
    body.flyup-account-app-shell {
        min-height: 100vh;
        padding-bottom: calc(156px + env(safe-area-inset-bottom, 0px));
        background:
            radial-gradient(circle at 10% 0%, rgba(14,165,233,0.16), transparent 30%),
            radial-gradient(circle at 95% 12%, rgba(20,184,166,0.14), transparent 34%),
            linear-gradient(180deg, #f8fbff 0%, #eef7ff 100%) !important;
    }

    body.flyup-account-app-shell .site-header {
        padding: 0.55rem 0 0 !important;
        z-index: 90 !important;
    }

    body.flyup-account-app-shell .site-header__inner--mobile-langs-only {
        width: min(calc(100% - 0.8rem), 100%) !important;
        min-height: 58px !important;
        padding: 0.54rem 0.62rem !important;
        border-radius: 22px !important;
        background: rgba(255,255,255,0.86) !important;
        border: 1px solid rgba(219,231,243,0.86) !important;
        box-shadow: 0 14px 36px rgba(15,23,42,0.08) !important;
        backdrop-filter: blur(18px) !important;
    }

    body.flyup-account-app-shell .site-logo--image .site-logo__image {
        width: min(142px, 39vw) !important;
        max-height: 42px !important;
        object-fit: contain !important;
    }

    body.flyup-account-app-shell .site-logo__text {
        max-width: 132px !important;
        font-size: 0.92rem !important;
        font-weight: 800 !important;
    }

    body.flyup-account-app-shell .site-header__inner--mobile-langs-only .site-actions .site-lang-switcher {
        transform: scale(0.94) !important;
        transform-origin: right center !important;
    }

    body.flyup-account-app-shell .site-header__inner--mobile-langs-only .site-actions .site-actions__logout {
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
    }

    body.flyup-account-app-shell .site-footer {
        display: none !important;
    }

    body.flyup-account-app-shell .container,
    body.flyup-account-app-shell .flyup-dashboard-page > .container,
    body.flyup-account-app-shell .ai-mode-page > .container,
    body.flyup-account-app-shell .manual-planner-page > .container,
    body.flyup-account-app-shell .flyup-pricing-page > .container {
        width: min(calc(100% - 0.85rem), 100%) !important;
    }

    body.flyup-account-app-shell .flyup-dashboard-page,
    body.flyup-account-app-shell .ai-mode-page,
    body.flyup-account-app-shell .manual-planner-page,
    body.flyup-account-app-shell .flyup-pricing-page,
    body.flyup-account-app-shell .flyup-travel-budget-page,
    body.flyup-account-app-shell .flyup-my-trips-page {
        padding-top: 0.75rem !important;
        padding-bottom: 1.2rem !important;
    }

    body.flyup-account-app-shell .flyup-dashboard-main,
    body.flyup-account-app-shell .ai-mode-container,
    body.flyup-account-app-shell .manual-planner-shell,
    body.flyup-account-app-shell .flyup-pricing-page__container,
    body.flyup-account-app-shell .travel-budget-layout,
    body.flyup-account-app-shell .my-trips-layout {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.flyup-account-app-shell .flyup-dashboard-mobile-page-back--top,
    body.flyup-account-app-shell .flyup-dashboard-mobile-page-back--bottom {
        border-radius: 18px !important;
        background: rgba(255,255,255,0.86) !important;
        border-color: rgba(14,165,233,0.14) !important;
        box-shadow: 0 12px 28px rgba(15,23,42,0.06) !important;
    }

    body.flyup-account-app-shell .card,
    body.flyup-account-app-shell .flyup-dashboard-mobile-accordion__trigger,
    body.flyup-account-app-shell .flyup-dashboard-mobile-card,
    body.flyup-account-app-shell .ai-form-shell,
    body.flyup-account-app-shell .ai-progress-wrap,
    body.flyup-account-app-shell .flyup-dashboard-section,
    body.flyup-account-app-shell .flyup-dashboard-stat,
    body.flyup-account-app-shell .manual-day-card,
    body.flyup-account-app-shell .travel-budget-card,
    body.flyup-account-app-shell .flyup-pricing-card {
        border-radius: 24px !important;
        background: rgba(255,255,255,0.92) !important;
        border: 1px solid rgba(219,231,243,0.86) !important;
        box-shadow: 0 16px 38px rgba(15,23,42,0.07) !important;
        backdrop-filter: blur(14px) !important;
    }

    body.flyup-account-app-shell .flyup-dashboard-mobile-accordion {
        gap: 0.72rem !important;
    }

    body.flyup-account-app-shell .flyup-dashboard-mobile-accordion__trigger {
        min-height: 74px !important;
        grid-template-columns: 46px minmax(0, 1fr) 30px !important;
        padding: 0.86rem 0.92rem !important;
    }

    body.flyup-account-app-shell .flyup-dashboard-mobile-accordion__icon {
        width: 46px !important;
        height: 46px !important;
        border-radius: 17px !important;
    }

    body.flyup-account-app-shell .flyup-dashboard-mobile-accordion__trigger strong {
        font-size: 0.98rem !important;
    }

    body.flyup-account-app-shell .flyup-dashboard-mobile-accordion__trigger small {
        font-size: 0.76rem !important;
    }

    body.flyup-account-app-shell .ai-page-header {
        margin-bottom: 0.9rem !important;
        padding: 0.9rem 0.2rem 0.2rem !important;
        text-align: left !important;
    }

    body.flyup-account-app-shell .ai-page-header .homepage-hero__eyebrow {
        margin: 0 0 0.55rem !important;
    }

    body.flyup-account-app-shell .ai-page-header h1 {
        max-width: 12ch !important;
        margin: 0 0 0.5rem !important;
        text-align: left !important;
        font-size: clamp(1.72rem, 8.5vw, 2.25rem) !important;
        line-height: 1.04 !important;
    }

    body.flyup-account-app-shell .ai-page-header p {
        max-width: 34ch !important;
        margin: 0 !important;
        text-align: left !important;
        font-size: 0.92rem !important;
        line-height: 1.55 !important;
    }

    body.flyup-account-app-shell .ai-progress-wrap {
        position: sticky !important;
        top: 70px !important;
        z-index: 35 !important;
        margin-bottom: 0.75rem !important;
        padding: 0.62rem !important;
    }

    body.flyup-account-app-shell .ai-progress-steps {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 0.28rem !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    body.flyup-account-app-shell .ai-progress-line {
        display: none !important;
    }

    body.flyup-account-app-shell .ai-step-indicator {
        min-width: 0 !important;
        padding: 0 !important;
        gap: 0.22rem !important;
    }

    body.flyup-account-app-shell .ai-step-dot {
        width: 30px !important;
        height: 30px !important;
        margin: 0 auto !important;
        font-size: 0.76rem !important;
        box-shadow: none !important;
    }

    body.flyup-account-app-shell .ai-step-label {
        display: block !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        text-align: center !important;
        font-size: 0.62rem !important;
        line-height: 1.1 !important;
    }

    body.flyup-account-app-shell .ai-form-shell {
        padding: 0 !important;
        overflow: visible !important;
    }

    body.flyup-account-app-shell .ai-form-step {
        padding: 0.92rem 0.88rem calc(138px + env(safe-area-inset-bottom, 0px)) !important;
        min-height: auto !important;
    }

    body.flyup-account-app-shell .ai-form-step:not(.active) {
        display: none !important;
    }

    body.flyup-account-app-shell .ai-step-title {
        margin: 0 0 0.35rem !important;
        font-size: 1.18rem !important;
        line-height: 1.18 !important;
    }

    body.flyup-account-app-shell .ai-step-desc {
        margin: 0 0 1rem !important;
        color: var(--text-secondary) !important;
        font-size: 0.86rem !important;
        line-height: 1.45 !important;
    }

    body.flyup-account-app-shell .ai-mode-toggle,
    body.flyup-account-app-shell .ai-service-toggle,
    body.flyup-account-app-shell .ai-form-grid,
    body.flyup-account-app-shell .ai-checkbox-grid,
    body.flyup-account-app-shell .ai-chip-grid {
        grid-template-columns: 1fr !important;
        gap: 0.72rem !important;
    }

    body.flyup-account-app-shell .ai-mode-option,
    body.flyup-account-app-shell .ai-chip,
    body.flyup-account-app-shell .ai-checkbox-card,
    body.flyup-account-app-shell .ai-quiz-track-card,
    body.flyup-account-app-shell .ai-period-card,
    body.flyup-account-app-shell .ai-info-box,
    body.flyup-account-app-shell .ai-review-box {
        border-radius: 20px !important;
    }

    body.flyup-account-app-shell input,
    body.flyup-account-app-shell select,
    body.flyup-account-app-shell textarea,
    body.flyup-account-app-shell .form-control {
        min-height: 48px !important;
        border-radius: 16px !important;
        font-size: 0.95rem !important;
        background: rgba(255,255,255,0.96) !important;
    }

    body.flyup-account-app-shell textarea {
        min-height: 116px !important;
    }

    body.flyup-account-app-shell .ai-form-nav {
        position: fixed !important;
        left: 50% !important;
        bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
        z-index: 115 !important;
        width: min(calc(100% - 0.8rem), 460px) !important;
        transform: translateX(-50%) !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.62rem !important;
        margin: 0 !important;
        padding: 0.5rem !important;
        border: 1px solid rgba(219,231,243,0.92) !important;
        border-radius: 24px !important;
        background: rgba(255,255,255,0.92) !important;
        box-shadow: 0 16px 42px rgba(15,23,42,0.14) !important;
        backdrop-filter: blur(22px) !important;
    }

    body.flyup-account-app-shell .ai-form-nav .btn {
        width: 100% !important;
        min-height: 52px !important;
        border-radius: 18px !important;
        padding: 0.68rem 0.75rem !important;
        white-space: nowrap !important;
        font-size: 1.45rem !important;
        line-height: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
    }

    body.flyup-account-app-shell .ai-form-nav .btn[disabled] {
        opacity: 0.36 !important;
    }

    body.flyup-account-app-shell .ai-form-nav .btn[data-mobile-final-submit="1"] {
        font-size: 0.9rem !important;
        font-weight: 900 !important;
        letter-spacing: -0.01em !important;
    }

    body.flyup-account-app-shell .ai-form-step[data-step="1"] .ai-form-nav,
    body.flyup-account-app-shell .ai-form-step[data-step="5"] .ai-form-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.flyup-account-app-shell .ai-price-modal__dialog {
        width: min(calc(100% - 0.8rem), 440px) !important;
        max-height: calc(100svh - 1.2rem) !important;
        overflow: auto !important;
        border-radius: 26px !important;
        padding: 1.05rem !important;
    }

    body.flyup-account-app-shell .ai-price-modal__actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.65rem !important;
    }

    body.flyup-account-app-shell .flyup-autocomplete-panel {
        width: min(calc(100% - 0.9rem), 440px) !important;
        left: 0.45rem !important;
        right: 0.45rem !important;
        max-height: 45svh !important;
        border-radius: 20px !important;
    }

    .flyup-mobile-app-nav {
        position: fixed;
        left: 50%;
        bottom: calc(0.52rem + env(safe-area-inset-bottom, 0px));
        z-index: 120;
        width: min(calc(100% - 0.8rem), 460px);
        transform: translateX(-50%);
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.28rem;
        padding: 0.48rem;
        border: 1px solid rgba(219,231,243,0.9);
        border-radius: 26px;
        background: rgba(255,255,255,0.90);
        box-shadow: 0 18px 46px rgba(15,23,42,0.16);
        backdrop-filter: blur(22px);
    }

    .flyup-mobile-app-nav__item {
        position: relative;
        min-width: 0;
        min-height: 56px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.2rem;
        border-radius: 20px;
        color: #64748b;
        text-decoration: none;
        font-weight: 800;
        transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    }

    .flyup-mobile-app-nav__item:active {
        transform: scale(0.97);
    }

    .flyup-mobile-app-nav__item.is-active {
        color: #0369a1;
        background: linear-gradient(135deg, rgba(14,165,233,0.16), rgba(20,184,166,0.12));
    }

    .flyup-mobile-app-nav__icon {
        width: 22px;
        height: 22px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .flyup-mobile-app-nav__icon svg {
        width: 22px;
        height: 22px;
        display: block;
    }

    .flyup-mobile-app-nav__label {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.64rem;
        line-height: 1;
    }

    body.flyup-account-app-shell.flyup-ai-generation-in-progress .flyup-mobile-app-nav {
        display: none !important;
    }
}

@media screen and (max-width: 380px) {
    .flyup-mobile-app-nav {
        border-radius: 22px;
        padding: 0.38rem;
    }

    .flyup-mobile-app-nav__item {
        min-height: 52px;
        border-radius: 17px;
    }

    .flyup-mobile-app-nav__label {
        font-size: 0.59rem;
    }

    .flyup-mobile-app-nav__icon,
    .flyup-mobile-app-nav__icon svg {
        width: 20px;
        height: 20px;
    }
}

@media print {
    .flyup-mobile-app-nav {
        display: none !important;
    }
}

@media screen and (max-width: 760px) {
    body.flyup-account-app-shell .flyup-mobile-app-button-disabled-soft,
    body.flyup-account-app-shell .flyup-mobile-app-button-disabled-soft:disabled {
        opacity: 0.52 !important;
        cursor: not-allowed !important;
        transform: none !important;
        box-shadow: none !important;
        filter: grayscale(0.15) !important;
    }
}

@media screen and (max-width: 760px) {
    body.flyup-account-app-shell.flyup-mobile-quiz-active .flyup-mobile-question-meta {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.65rem !important;
        margin: 0.65rem 0 0.95rem !important;
        padding: 0 !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .flyup-mobile-question-meta[hidden] {
        display: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .flyup-mobile-question-meta span,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .flyup-mobile-question-meta strong {
        display: inline-flex !important;
        align-items: center !important;
        min-height: 30px !important;
        padding: 0.34rem 0.62rem !important;
        border-radius: 999px !important;
        font-size: 0.72rem !important;
        line-height: 1 !important;
        font-weight: 800 !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .flyup-mobile-question-meta span {
        background: rgba(14,165,233,0.10) !important;
        color: #0369a1 !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .flyup-mobile-question-meta strong.is-required {
        background: rgba(220,38,38,0.08) !important;
        color: #b91c1c !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .flyup-mobile-question-meta strong.is-optional {
        background: rgba(15,23,42,0.06) !important;
        color: #475569 !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .flyup-mobile-question-hidden {
        display: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .flyup-mobile-question-current {
        display: block !important;
        width: 100% !important;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-mode-toggle.flyup-mobile-question-current,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-service-toggle.flyup-mobile-question-current,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-checkbox-grid.flyup-mobile-question-current,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-chip-grid.flyup-mobile-question-current {
        display: grid !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .flyup-field.flyup-mobile-question-current,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-mode-toggle.flyup-mobile-question-current {
        margin-top: 0 !important;
        margin-bottom: 0.85rem !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-form-grid,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-checkbox-grid,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-chip-grid {
        min-height: 0 !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active label {
        display: block !important;
        margin-bottom: 0.5rem !important;
        font-size: 0.94rem !important;
        line-height: 1.35 !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-inline-note {
        margin-top: 0.55rem !important;
        font-size: 0.78rem !important;
        line-height: 1.45 !important;
    }

    .flyup-ai-mobile-entry-gate {
        display: none;
    }
}

@media screen and (max-width: 760px) {
    .flyup-ai-mobile-entry-gate {
        display: block;
        margin: 0.8rem 0 1rem;
        padding: 1rem;
        border-radius: 24px;
        background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,251,255,0.94));
        border: 1px solid rgba(14,165,233,0.16);
        box-shadow: 0 16px 38px rgba(15,23,42,0.08);
    }

    .flyup-ai-mobile-entry-gate.is-dismissed {
        display: none !important;
    }

    .flyup-ai-mobile-entry-gate__eyebrow {
        display: inline-flex;
        margin-bottom: 0.55rem;
        padding: 0.32rem 0.64rem;
        border-radius: 999px;
        background: rgba(14,165,233,0.10);
        color: #0369a1;
        font-size: 0.72rem;
        font-weight: 800;
    }

    .flyup-ai-mobile-entry-gate h2 {
        margin: 0 0 0.45rem;
        font-size: 1.28rem;
        line-height: 1.15;
        letter-spacing: -0.02em;
        color: #0f172a;
    }

    .flyup-ai-mobile-entry-gate p {
        margin: 0 0 0.85rem;
        color: #475569;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .flyup-ai-mobile-entry-gate__actions {
        display: grid;
        gap: 0.55rem;
    }

    .flyup-ai-mobile-entry-gate__actions .btn {
        width: 100%;
        min-height: 46px;
        border-radius: 16px;
    }
}

/* =====================================================================
   FlyUp4You GSM homepage as app menu + direct AI choice
===================================================================== */
.flyup-home-mobile-app,
.flyup-ai-mobile-choice {
    display: none;
}

@media screen and (max-width: 760px) {
    body.flyup-mobile-app-home-shell {
        min-height: 100vh;
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
        background:
            radial-gradient(circle at 12% 4%, rgba(14,165,233,0.17), transparent 31%),
            radial-gradient(circle at 94% 12%, rgba(20,184,166,0.15), transparent 34%),
            linear-gradient(180deg, #f8fbff 0%, #eaf7ff 100%) !important;
    }

    body.flyup-mobile-app-home-shell .site-header {
        padding: 0.55rem 0 0 !important;
        z-index: 90 !important;
    }

    body.flyup-mobile-app-home-shell .site-header__inner {
        width: min(calc(100% - 0.8rem), 100%) !important;
        min-height: 58px !important;
        padding: 0.54rem 0.62rem !important;
        border-radius: 22px !important;
        background: rgba(255,255,255,0.86) !important;
        border: 1px solid rgba(219,231,243,0.86) !important;
        box-shadow: 0 14px 36px rgba(15,23,42,0.08) !important;
        backdrop-filter: blur(18px) !important;
    }

    body.flyup-mobile-app-home-shell .site-logo--image .site-logo__image {
        width: min(142px, 39vw) !important;
        max-height: 42px !important;
        object-fit: contain !important;
    }

    body.flyup-mobile-app-home-shell .site-menu-toggle,
    body.flyup-mobile-app-home-shell .site-nav,
    body.flyup-mobile-app-home-shell .site-actions .btn:not(.site-actions__logout) {
        display: none !important;
    }

    body.flyup-mobile-app-home-shell .site-actions {
        gap: 0.42rem !important;
    }

    body.flyup-mobile-app-home-shell .site-actions__logout {
        width: 36px !important;
        min-width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        padding: 0 !important;
        border-radius: 999px !important;
        overflow: hidden !important;
        color: transparent !important;
        font-size: 0 !important;
    }

    body.flyup-mobile-app-home-shell .site-actions__logout::before {
        content: "🚪➡️";
        color: #fff;
        font-size: 0.92rem;
        line-height: 1;
    }

    body.flyup-mobile-app-home-shell .homepage-hero,
    body.flyup-mobile-app-home-shell .homepage-mobile-accordion,
    body.flyup-mobile-app-home-shell .site-footer {
        display: none !important;
    }

    .flyup-home-mobile-app {
        display: block;
        width: min(calc(100% - 0.85rem), 460px);
        margin: 0.9rem auto 1rem;
    }

    .flyup-home-mobile-app__hero {
        padding: 0.85rem 0.55rem 0.95rem;
    }

    .flyup-home-mobile-app__eyebrow,
    .flyup-ai-mobile-choice__eyebrow {
        display: inline-flex;
        margin-bottom: 0.55rem;
        padding: 0.32rem 0.68rem;
        border-radius: 999px;
        background: rgba(14,165,233,0.10);
        color: #0369a1;
        font-size: 0.72rem;
        font-weight: 850;
    }

    .flyup-home-mobile-app__hero h1 {
        margin: 0 0 0.45rem;
        font-size: clamp(1.75rem, 8vw, 2.35rem);
        line-height: 1.02;
        letter-spacing: -0.04em;
        color: #0f172a;
    }

    .flyup-home-mobile-app__hero p {
        max-width: 34ch;
        margin: 0;
        color: #475569;
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .flyup-home-mobile-app__auth,
    .flyup-home-mobile-app__ai-card,
    .flyup-home-mobile-app__item {
        border-radius: 24px !important;
        background: rgba(255,255,255,0.92) !important;
        border: 1px solid rgba(219,231,243,0.9) !important;
        box-shadow: 0 16px 38px rgba(15,23,42,0.07) !important;
        backdrop-filter: blur(14px) !important;
    }

    .flyup-home-mobile-app__auth {
        display: grid;
        gap: 0.55rem;
        margin-bottom: 0.72rem;
        padding: 1rem !important;
    }

    .flyup-home-mobile-app__auth strong {
        color: #0f172a;
        font-size: 1rem;
        line-height: 1.25;
    }

    .flyup-home-mobile-app__auth p {
        margin: 0;
        color: #475569;
        font-size: 0.84rem;
        line-height: 1.45;
    }

    .flyup-home-mobile-app__auth-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.55rem;
    }

    .flyup-home-mobile-app__auth-actions .btn {
        width: 100%;
        min-height: 46px;
        border-radius: 16px;
        padding-inline: 0.65rem;
        font-size: 0.86rem;
    }

    .flyup-home-mobile-app__list {
        display: grid;
        gap: 0.72rem;
    }

    .flyup-home-mobile-app__item,
    .flyup-home-mobile-app__ai-card > summary {
        min-height: 74px;
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr) 32px;
        align-items: center;
        gap: 0.82rem;
        padding: 0.86rem 0.92rem !important;
        color: #0f172a;
        text-decoration: none;
    }

    .flyup-home-mobile-app__ai-card {
        margin-bottom: 0.72rem;
        padding: 0 !important;
        overflow: hidden;
    }

    .flyup-home-mobile-app__ai-card > summary {
        list-style: none;
        cursor: pointer;
    }

    .flyup-home-mobile-app__ai-card > summary::-webkit-details-marker {
        display: none;
    }

    .flyup-home-mobile-app__icon {
        width: 48px;
        height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 18px;
        background: linear-gradient(135deg, rgba(14,165,233,0.14), rgba(20,184,166,0.12));
        color: #0284c7;
    }

    .flyup-home-mobile-app__icon svg {
        width: 24px;
        height: 24px;
    }

    .flyup-home-mobile-app__text {
        display: grid;
        min-width: 0;
        gap: 0.18rem;
    }

    .flyup-home-mobile-app__text strong {
        overflow: hidden;
        color: #0f172a;
        font-size: 0.98rem;
        line-height: 1.15;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .flyup-home-mobile-app__text small {
        overflow: hidden;
        color: #475569;
        font-size: 0.76rem;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .flyup-home-mobile-app__plus {
        width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: rgba(14,165,233,0.09);
        color: #0284c7;
        font-weight: 900;
    }

    .flyup-home-mobile-app__ai-card[open] .flyup-home-mobile-app__plus {
        transform: rotate(45deg);
    }

    .flyup-home-mobile-app__ai-options {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.62rem;
        padding: 0 0.92rem 0.92rem;
    }

    .flyup-home-mobile-app__ai-options a {
        min-height: 132px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.3rem;
        padding: 0.86rem;
        border: 1px solid rgba(14,165,233,0.16);
        border-radius: 20px;
        background: linear-gradient(180deg, #fff, #f8fbff);
        color: #0f172a;
        text-align: center;
        text-decoration: none;
    }

    .flyup-home-mobile-app__ai-options span {
        font-size: 1.45rem;
        line-height: 1;
    }

    .flyup-home-mobile-app__ai-options strong {
        font-size: 0.92rem;
        line-height: 1.15;
    }

    .flyup-home-mobile-app__ai-options small {
        color: #64748b;
        font-size: 0.72rem;
        line-height: 1.25;
    }
}

@media screen and (max-width: 760px) {
    body.flyup-account-app-shell .flyup-ai-mobile-choice {
        display: block;
        margin: 0.8rem 0 1rem;
        padding: 1rem !important;
        border-radius: 24px !important;
        background: rgba(255,255,255,0.92) !important;
        border: 1px solid rgba(219,231,243,0.9) !important;
        box-shadow: 0 16px 38px rgba(15,23,42,0.07) !important;
        backdrop-filter: blur(14px) !important;
    }

    body.flyup-account-app-shell .flyup-ai-mobile-choice h2 {
        margin: 0 0 0.45rem;
        color: #0f172a;
        font-size: 1.28rem;
        line-height: 1.15;
        letter-spacing: -0.02em;
    }

    body.flyup-account-app-shell .flyup-ai-mobile-choice p {
        margin: 0 0 0.85rem;
        color: #475569;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .flyup-ai-mobile-choice__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.62rem;
    }

    .flyup-ai-mobile-choice__card {
        min-height: 132px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.32rem;
        padding: 0.86rem;
        border: 1px solid rgba(14,165,233,0.16);
        border-radius: 20px;
        background: linear-gradient(180deg, #fff, #f8fbff);
        color: #0f172a;
        text-align: center;
        text-decoration: none;
    }

    .flyup-ai-mobile-choice__card.is-selected {
        border-color: rgba(14,165,233,0.42);
        background: linear-gradient(135deg, rgba(14,165,233,0.14), rgba(20,184,166,0.10));
    }

    .flyup-ai-mobile-choice__card span {
        font-size: 1.5rem;
        line-height: 1;
    }

    .flyup-ai-mobile-choice__card strong {
        font-size: 0.95rem;
        line-height: 1.15;
    }

    .flyup-ai-mobile-choice__card small {
        color: #64748b;
        font-size: 0.72rem;
        line-height: 1.25;
    }

    body.flyup-account-app-shell .ai-mode-page--mobile-choice-first .ai-progress-wrap,
    body.flyup-account-app-shell .ai-mode-page--mobile-choice-first [data-flyup-ai-form],
    body:not(.logged-in) .ai-mode-page .ai-progress-wrap,
    body:not(.logged-in) .ai-mode-page [data-flyup-ai-form] {
        display: none !important;
    }

    body.flyup-account-app-shell .ai-form-step.active .ai-service-toggle,
    body.flyup-account-app-shell .ai-form-step.active .ai-quiz-track-card {
        display: none !important;
    }
}

/* =====================================================================
   Phase18X - GSM persistent app chrome: top bar + bottom nav
===================================================================== */
.flyup-mobile-lang-drawer {
    display: none;
}

@media screen and (max-width: 760px) {
    body.flyup-account-app-shell,
    body.flyup-mobile-app-home-shell {
        padding-top: calc(74px + env(safe-area-inset-top, 0px)) !important;
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.flyup-account-app-shell .site-header,
    body.flyup-mobile-app-home-shell .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 260 !important;
        padding: calc(0.45rem + env(safe-area-inset-top, 0px)) 0 0 !important;
        pointer-events: none !important;
    }

    body.flyup-account-app-shell .site-header__inner--mobile-app-bar,
    body.flyup-mobile-app-home-shell .site-header__inner--mobile-app-bar {
        pointer-events: auto !important;
        width: min(calc(100% - 0.8rem), 460px) !important;
        min-height: 58px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.65rem !important;
        padding: 0.5rem 0.62rem !important;
        border-radius: 22px !important;
        background: rgba(255,255,255,0.92) !important;
        border: 1px solid rgba(219,231,243,0.9) !important;
        box-shadow: 0 16px 42px rgba(15,23,42,0.12) !important;
        backdrop-filter: blur(20px) !important;
    }

    body.flyup-account-app-shell .site-menu-toggle,
    body.flyup-mobile-app-home-shell .site-menu-toggle,
    body.flyup-account-app-shell .site-nav,
    body.flyup-mobile-app-home-shell .site-nav {
        display: none !important;
    }

    body.flyup-account-app-shell .site-logo,
    body.flyup-mobile-app-home-shell .site-logo {
        min-width: 0 !important;
        flex: 0 1 auto !important;
    }

    body.flyup-account-app-shell .site-logo--image .site-logo__image,
    body.flyup-mobile-app-home-shell .site-logo--image .site-logo__image {
        width: min(142px, 48vw) !important;
        max-height: 42px !important;
        object-fit: contain !important;
    }

    body.flyup-account-app-shell .site-actions,
    body.flyup-mobile-app-home-shell .site-actions {
        position: relative !important;
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 0.4rem !important;
        margin-left: auto !important;
    }

    body.flyup-account-app-shell .site-actions > .site-lang-switcher,
    body.flyup-mobile-app-home-shell .site-actions > .site-lang-switcher,
    body.flyup-account-app-shell .site-actions .btn,
    body.flyup-mobile-app-home-shell .site-actions .btn {
        display: none !important;
    }

    body.flyup-account-app-shell .flyup-mobile-lang-drawer,
    body.flyup-mobile-app-home-shell .flyup-mobile-lang-drawer {
        display: block !important;
        position: relative !important;
        z-index: 4 !important;
    }

    body.flyup-account-app-shell .flyup-mobile-lang-drawer summary,
    body.flyup-mobile-app-home-shell .flyup-mobile-lang-drawer summary {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        border: 1px solid rgba(14,165,233,0.16) !important;
        border-radius: 999px !important;
        background: linear-gradient(135deg, rgba(14,165,233,0.14), rgba(20,184,166,0.12)) !important;
        color: #0284c7 !important;
        box-shadow: 0 10px 24px rgba(15,23,42,0.08) !important;
        cursor: pointer !important;
        list-style: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    body.flyup-account-app-shell .flyup-mobile-lang-drawer summary::-webkit-details-marker,
    body.flyup-mobile-app-home-shell .flyup-mobile-lang-drawer summary::-webkit-details-marker {
        display: none !important;
    }

    body.flyup-account-app-shell .flyup-mobile-lang-drawer summary svg,
    body.flyup-mobile-app-home-shell .flyup-mobile-lang-drawer summary svg {
        width: 22px !important;
        height: 22px !important;
        display: block !important;
    }

    body.flyup-account-app-shell .flyup-mobile-lang-drawer[open] summary,
    body.flyup-mobile-app-home-shell .flyup-mobile-lang-drawer[open] summary {
        color: #fff !important;
        background: linear-gradient(135deg, #0ea5e9, #14b8a6) !important;
    }

    body.flyup-account-app-shell .flyup-mobile-lang-drawer__panel,
    body.flyup-mobile-app-home-shell .flyup-mobile-lang-drawer__panel {
        position: absolute !important;
        top: calc(100% + 0.55rem) !important;
        right: 0 !important;
        min-width: 136px !important;
        display: none !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.42rem !important;
        padding: 0.48rem !important;
        border-radius: 18px !important;
        background: rgba(255,255,255,0.96) !important;
        border: 1px solid rgba(219,231,243,0.95) !important;
        box-shadow: 0 18px 42px rgba(15,23,42,0.16) !important;
        backdrop-filter: blur(20px) !important;
    }

    body.flyup-account-app-shell .flyup-mobile-lang-drawer[open] .flyup-mobile-lang-drawer__panel,
    body.flyup-mobile-app-home-shell .flyup-mobile-lang-drawer[open] .flyup-mobile-lang-drawer__panel {
        display: grid !important;
    }

    body.flyup-account-app-shell .flyup-mobile-lang-drawer__item,
    body.flyup-mobile-app-home-shell .flyup-mobile-lang-drawer__item {
        min-height: 38px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 14px !important;
        color: #475569 !important;
        background: rgba(248,251,255,0.95) !important;
        border: 1px solid rgba(219,231,243,0.8) !important;
        text-decoration: none !important;
        font-size: 0.78rem !important;
        font-weight: 900 !important;
    }

    body.flyup-account-app-shell .flyup-mobile-lang-drawer__item.is-active,
    body.flyup-mobile-app-home-shell .flyup-mobile-lang-drawer__item.is-active {
        color: #fff !important;
        background: linear-gradient(135deg, #0ea5e9, #14b8a6) !important;
        border-color: transparent !important;
        box-shadow: 0 10px 22px rgba(14,165,233,0.18) !important;
    }

    body.flyup-account-app-shell .flyup-mobile-app-nav,
    body.flyup-mobile-app-home-shell .flyup-mobile-app-nav,
    body.flyup-account-app-shell.flyup-ai-generation-in-progress .flyup-mobile-app-nav,
    body.flyup-mobile-app-home-shell.flyup-ai-generation-in-progress .flyup-mobile-app-nav {
        display: grid !important;
        z-index: 240 !important;
    }

    body.flyup-account-app-shell.flyup-ai-generation-in-progress .flyup-mobile-app-nav {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}


/* =====================================================================
   Phase18AA - GSM true app quiz layout refinement
   Goal: one visible question, no covered fields, compact two-arrow nav.
===================================================================== */
@media screen and (max-width: 760px) {
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-mode-page {
        padding-bottom: calc(152px + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-mode-container {
        padding-bottom: calc(140px + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-page-header {
        display: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-progress-wrap {
        top: 67px !important;
        margin: 0 0 0.55rem !important;
        padding: 0.48rem 0.5rem !important;
        border-radius: 22px !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-progress-steps {
        gap: 0.18rem !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-step-dot {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.72rem !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-step-label {
        font-size: 0.56rem !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-shell {
        min-height: auto !important;
        overflow: visible !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active {
        min-height: auto !important;
        padding: 0.78rem 0.82rem calc(148px + env(safe-area-inset-bottom, 0px)) !important;
        overflow: visible !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-step-title {
        margin: 0 0 0.18rem !important;
        font-size: 0.95rem !important;
        line-height: 1.18 !important;
        color: #334155 !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-step-desc {
        display: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .flyup-mobile-question-meta {
        position: sticky !important;
        top: 142px !important;
        z-index: 32 !important;
        margin: 0.42rem -0.12rem 0.62rem !important;
        padding: 0.34rem !important;
        border-radius: 18px !important;
        background: rgba(248,251,255,0.86) !important;
        border: 1px solid rgba(219,231,243,0.76) !important;
        backdrop-filter: blur(14px) !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .flyup-mobile-question-meta span,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .flyup-mobile-question-meta strong {
        min-height: 28px !important;
        padding: 0.32rem 0.56rem !important;
        font-size: 0.68rem !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .flyup-mobile-question-current {
        margin: 0 !important;
        padding: 0.82rem !important;
        border: 1px solid rgba(219,231,243,0.88) !important;
        border-radius: 22px !important;
        background: rgba(255,255,255,0.94) !important;
        box-shadow: 0 12px 30px rgba(15,23,42,0.06) !important;
        overflow: visible !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .flyup-mobile-question-current label,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .flyup-mobile-question-current .flyup-field label {
        margin-bottom: 0.54rem !important;
        font-size: 0.92rem !important;
        font-weight: 850 !important;
        color: #0f172a !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active input,
    body.flyup-account-app-shell.flyup-mobile-quiz-active select,
    body.flyup-account-app-shell.flyup-mobile-quiz-active textarea,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .form-control {
        min-height: 50px !important;
        border-radius: 16px !important;
        font-size: 0.96rem !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active textarea {
        min-height: 132px !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-chip-grid,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-checkbox-grid,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-service-toggle,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-mode-toggle {
        gap: 0.56rem !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-chip,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-checkbox-card,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-mode-option,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-quiz-track-card,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-period-card {
        min-height: 48px !important;
        padding: 0.72rem 0.8rem !important;
        border-radius: 18px !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-nav {
        bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .flyup-mobile-app-nav {
        z-index: 120 !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .flyup-autocomplete-panel {
        z-index: 130 !important;
        bottom: auto !important;
        max-height: min(42svh, 320px) !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-step-validation-notice {
        margin: 0.62rem 0 0 !important;
        padding: 0.72rem 0.82rem !important;
        border-radius: 18px !important;
        font-size: 0.82rem !important;
        line-height: 1.42 !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active.flyup-ai-generation-in-progress .ai-form-nav {
        display: none !important;
    }
}


/* =====================================================================
   Phase18AB - GSM AI result state cleanup
   Hide quiz navigation when the generated/report-ready status is visible.
===================================================================== */
@media screen and (max-width: 760px) {
    body.flyup-account-app-shell.flyup-ai-status-result-visible .ai-form-nav {
        display: none !important;
    }

    body.flyup-account-app-shell.flyup-ai-status-result-visible .ai-mode-page,
    body.flyup-account-app-shell.flyup-ai-status-result-visible .ai-mode-container {
        padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.flyup-account-app-shell.flyup-ai-status-result-visible .ai-result-shell {
        margin-top: 0.75rem !important;
        padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.flyup-account-app-shell.flyup-ai-status-result-visible .flyup-ai-status-message {
        width: 100% !important;
        max-width: none !important;
        margin: 0.75rem 0 0 !important;
        padding: 1.15rem !important;
        border-radius: 24px !important;
        text-align: center !important;
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08) !important;
    }

    body.flyup-account-app-shell.flyup-ai-status-result-visible .flyup-ai-status-message h2 {
        margin: 0 0 0.45rem !important;
        font-size: 1.25rem !important;
        line-height: 1.2 !important;
        letter-spacing: -0.02em !important;
    }

    body.flyup-account-app-shell.flyup-ai-status-result-visible .flyup-ai-status-message p {
        margin: 0 0 0.85rem !important;
        font-size: 0.88rem !important;
        line-height: 1.45 !important;
    }

    body.flyup-account-app-shell.flyup-ai-status-result-visible .ai-status-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.65rem !important;
        margin-top: 0.85rem !important;
    }

    body.flyup-account-app-shell.flyup-ai-status-result-visible .ai-status-actions .btn,
    body.flyup-account-app-shell.flyup-ai-status-result-visible .flyup-ai-status-message .btn {
        width: 100% !important;
        min-height: 54px !important;
        border-radius: 18px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.92rem !important;
        font-weight: 900 !important;
        text-align: center !important;
    }

    body.flyup-account-app-shell.flyup-ai-status-result-visible .flyup-mobile-app-nav {
        z-index: 140 !important;
    }
}

/* =====================================================================
   Phase18AC - GSM report reader stays inside the app-like HTML theme
===================================================================== */
@media screen and (max-width: 760px) {
    body.flyup-account-app-shell.flyup-export-screen,
    body.flyup-account-app-shell.flyup-export-alt-screen {
        background:
            radial-gradient(circle at 12% 0%, rgba(14,165,233,0.16), transparent 32%),
            radial-gradient(circle at 95% 10%, rgba(20,184,166,0.14), transparent 36%),
            linear-gradient(180deg, #f8fbff 0%, #eef7ff 100%) !important;
        overflow-x: hidden !important;
    }

    body.flyup-account-app-shell .flyup-export-page {
        padding-top: 0.5rem !important;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.flyup-account-app-shell .flyup-export-page > .container {
        width: min(calc(100% - 0.85rem), 460px) !important;
        max-width: 460px !important;
        padding-inline: 0 !important;
        margin-inline: auto !important;
    }

    body.flyup-account-app-shell .flyup-export-page > .container > h1,
    body.flyup-account-app-shell .flyup-responsive-report-modebar {
        display: none !important;
    }

    body.flyup-account-app-shell .flyup-mobile-html-report-reader {
        width: 100% !important;
        max-width: 460px !important;
        margin: 0 auto !important;
        padding: 0 0 calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.flyup-account-app-shell .flyup-mobile-html-report-actions {
        position: sticky !important;
        top: calc(74px + env(safe-area-inset-top, 0px)) !important;
        z-index: 80 !important;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 0.42rem !important;
        margin: 0 0 0.72rem !important;
        padding: 0.48rem !important;
        border-radius: 24px !important;
        background: rgba(255,255,255,0.92) !important;
        border: 1px solid rgba(219,231,243,0.92) !important;
        box-shadow: 0 14px 34px rgba(15,23,42,0.10) !important;
        backdrop-filter: blur(20px) !important;
    }

    body.flyup-account-app-shell .flyup-mobile-html-report-action {
        min-width: 0 !important;
        min-height: 46px !important;
        display: inline-flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.12rem !important;
        padding: 0.38rem 0.28rem !important;
        border-radius: 18px !important;
        background: rgba(248,251,255,0.96) !important;
        border: 1px solid rgba(219,231,243,0.78) !important;
        color: #334155 !important;
        text-decoration: none !important;
        font-size: 0.68rem !important;
        font-weight: 900 !important;
        line-height: 1.05 !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    body.flyup-account-app-shell .flyup-mobile-html-report-action span {
        font-size: 0.9rem !important;
        line-height: 1 !important;
    }

    body.flyup-account-app-shell .flyup-mobile-html-report-action--back,
    body.flyup-account-app-shell .flyup-mobile-html-report-action--pc {
        background: linear-gradient(135deg, rgba(14,165,233,0.14), rgba(20,184,166,0.10)) !important;
        border-color: rgba(14,165,233,0.18) !important;
        color: #0369a1 !important;
    }

    body.flyup-account-app-shell .flyup-mobile-html-report-stage,
    body.flyup-account-app-shell .flyup-mobile-html-report-stage .flyup-report-view,
    body.flyup-account-app-shell .flyup-mobile-html-report-stage .ai-generated-report {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.flyup-account-app-shell .flyup-mobile-html-report-stage .flyup-report-view {
        margin: 0 !important;
        padding: 0.92rem !important;
        border-radius: 26px !important;
        background: rgba(255,255,255,0.94) !important;
        border: 1px solid rgba(219,231,243,0.9) !important;
        box-shadow: 0 18px 44px rgba(15,23,42,0.08) !important;
        backdrop-filter: blur(16px) !important;
        overflow: hidden !important;
    }

    body.flyup-account-app-shell .flyup-mobile-html-report-stage .flyup-report-view__header {
        display: grid !important;
        gap: 0.8rem !important;
        padding: 0.25rem 0.15rem 0.85rem !important;
        border-bottom: 1px solid rgba(219,231,243,0.72) !important;
        margin-bottom: 0.85rem !important;
    }

    body.flyup-account-app-shell .flyup-mobile-html-report-stage .flyup-report-view__intro h2 {
        margin: 0.55rem 0 0.45rem !important;
        font-size: clamp(1.38rem, 7vw, 1.85rem) !important;
        line-height: 1.06 !important;
        letter-spacing: -0.035em !important;
        color: #0f172a !important;
    }

    body.flyup-account-app-shell .flyup-mobile-html-report-stage .flyup-report-view__intro p,
    body.flyup-account-app-shell .flyup-mobile-html-report-stage p,
    body.flyup-account-app-shell .flyup-mobile-html-report-stage li {
        font-size: 0.92rem !important;
        line-height: 1.58 !important;
        color: #334155 !important;
    }

    body.flyup-account-app-shell .flyup-mobile-html-report-stage .flyup-report-view__meta {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.4rem !important;
    }

    body.flyup-account-app-shell .flyup-mobile-html-report-stage .flyup-report-view__meta span,
    body.flyup-account-app-shell .flyup-mobile-html-report-stage .flyup-dashboard-badge {
        min-height: 30px !important;
        display: inline-flex !important;
        align-items: center !important;
        border-radius: 999px !important;
        font-size: 0.72rem !important;
        line-height: 1.1 !important;
        white-space: normal !important;
    }

    body.flyup-account-app-shell .flyup-mobile-html-report-stage details.flyup-ai-accordion,
    body.flyup-account-app-shell .flyup-mobile-html-report-stage .flyup-ai-accordion {
        margin: 0 0 0.72rem !important;
        border-radius: 20px !important;
        border: 1px solid rgba(219,231,243,0.9) !important;
        background: rgba(248,251,255,0.96) !important;
        box-shadow: none !important;
        overflow: hidden !important;
    }

    body.flyup-account-app-shell .flyup-mobile-html-report-stage .flyup-ai-accordion__summary,
    body.flyup-account-app-shell .flyup-mobile-html-report-stage details.flyup-ai-accordion > summary {
        min-height: 54px !important;
        padding: 0.86rem 0.95rem !important;
        background: rgba(255,255,255,0.92) !important;
        color: #0f172a !important;
        font-size: 0.95rem !important;
        font-weight: 900 !important;
        line-height: 1.2 !important;
    }

    body.flyup-account-app-shell .flyup-mobile-html-report-stage .flyup-ai-accordion__content {
        padding: 0.9rem 0.95rem !important;
    }

    body.flyup-account-app-shell .flyup-mobile-html-report-stage .ai-generated-day,
    body.flyup-account-app-shell .flyup-mobile-html-report-stage .ai-generated-place,
    body.flyup-account-app-shell .flyup-mobile-html-report-stage .ai-generated-transition,
    body.flyup-account-app-shell .flyup-mobile-html-report-stage .ai-generated-subsection,
    body.flyup-account-app-shell .flyup-mobile-html-report-stage .ai-generated-hotel-start,
    body.flyup-account-app-shell .flyup-mobile-html-report-stage .ai-generated-hotel-return,
    body.flyup-account-app-shell .flyup-mobile-html-report-stage .flyup-report-admin-note {
        border-radius: 18px !important;
        padding: 0.85rem !important;
        margin: 0 0 0.62rem !important;
        background: rgba(255,255,255,0.88) !important;
        border: 1px solid rgba(219,231,243,0.8) !important;
        box-shadow: 0 10px 24px rgba(15,23,42,0.04) !important;
    }

    body.flyup-account-app-shell .flyup-mobile-html-report-stage h3,
    body.flyup-account-app-shell .flyup-mobile-html-report-stage h4 {
        color: #0f172a !important;
        line-height: 1.18 !important;
        overflow-wrap: anywhere !important;
    }

    body.flyup-account-app-shell .flyup-mobile-html-report-stage h3 {
        font-size: 1.16rem !important;
    }

    body.flyup-account-app-shell .flyup-mobile-html-report-stage h4 {
        font-size: 1rem !important;
    }

    body.flyup-account-app-shell .flyup-mobile-html-report-stage .flyup-mobile-table-scroll {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin: 0.65rem 0 !important;
        border-radius: 18px !important;
        border: 1px solid rgba(219,231,243,0.9) !important;
        background: rgba(255,255,255,0.92) !important;
    }

    body.flyup-account-app-shell .flyup-mobile-html-report-stage .flyup-mobile-table-scroll table {
        min-width: 560px !important;
        margin: 0 !important;
        border: 0 !important;
    }

    body.flyup-account-app-shell .flyup-mobile-html-report-stage a,
    body.flyup-account-app-shell .flyup-mobile-html-report-stage .ai-generated-nav-button {
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
    }
}

/* =====================================================================
   Phase18AD - Guest GSM public pages stay inside the app theme
   Routes: Inspirations, Sample report, Travel budget, Pricing, Login/Register, AI gate.
===================================================================== */
@media screen and (max-width: 760px) {
    body.flyup-mobile-public-app-shell {
        min-height: 100vh !important;
        padding-top: calc(74px + env(safe-area-inset-top, 0px)) !important;
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
        background:
            radial-gradient(circle at 12% 4%, rgba(14,165,233,0.17), transparent 31%),
            radial-gradient(circle at 94% 12%, rgba(20,184,166,0.15), transparent 34%),
            linear-gradient(180deg, #f8fbff 0%, #eaf7ff 100%) !important;
        overflow-x: hidden !important;
    }

    body.flyup-mobile-public-app-shell .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 260 !important;
        padding: calc(0.45rem + env(safe-area-inset-top, 0px)) 0 0 !important;
        pointer-events: none !important;
        background: transparent !important;
    }

    body.flyup-mobile-public-app-shell .site-header__inner--mobile-app-bar {
        pointer-events: auto !important;
        width: min(calc(100% - 0.8rem), 460px) !important;
        min-height: 58px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.65rem !important;
        padding: 0.5rem 0.62rem !important;
        border-radius: 22px !important;
        background: rgba(255,255,255,0.92) !important;
        border: 1px solid rgba(219,231,243,0.9) !important;
        box-shadow: 0 16px 42px rgba(15,23,42,0.12) !important;
        backdrop-filter: blur(20px) !important;
    }

    body.flyup-mobile-public-app-shell .site-menu-toggle,
    body.flyup-mobile-public-app-shell .site-nav,
    body.flyup-mobile-public-app-shell .site-actions > .site-lang-switcher,
    body.flyup-mobile-public-app-shell .site-actions .btn {
        display: none !important;
    }

    body.flyup-mobile-public-app-shell .site-logo {
        min-width: 0 !important;
        flex: 0 1 auto !important;
    }

    body.flyup-mobile-public-app-shell .site-logo--image .site-logo__image {
        width: min(142px, 48vw) !important;
        max-height: 42px !important;
        object-fit: contain !important;
    }

    body.flyup-mobile-public-app-shell .site-actions {
        position: relative !important;
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 0.4rem !important;
        margin-left: auto !important;
    }

    body.flyup-mobile-public-app-shell .flyup-mobile-lang-drawer {
        display: block !important;
        position: relative !important;
        z-index: 4 !important;
    }

    body.flyup-mobile-public-app-shell .flyup-mobile-lang-drawer summary {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        border: 1px solid rgba(14,165,233,0.16) !important;
        border-radius: 999px !important;
        background: linear-gradient(135deg, rgba(14,165,233,0.14), rgba(20,184,166,0.12)) !important;
        color: #0284c7 !important;
        box-shadow: 0 10px 24px rgba(15,23,42,0.08) !important;
        cursor: pointer !important;
        list-style: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    body.flyup-mobile-public-app-shell .flyup-mobile-lang-drawer summary::-webkit-details-marker {
        display: none !important;
    }

    body.flyup-mobile-public-app-shell .flyup-mobile-lang-drawer summary svg {
        width: 22px !important;
        height: 22px !important;
        display: block !important;
    }

    body.flyup-mobile-public-app-shell .flyup-mobile-lang-drawer[open] summary {
        color: #fff !important;
        background: linear-gradient(135deg, #0ea5e9, #14b8a6) !important;
    }

    body.flyup-mobile-public-app-shell .flyup-mobile-lang-drawer__panel {
        position: absolute !important;
        top: calc(100% + 0.55rem) !important;
        right: 0 !important;
        min-width: 136px !important;
        display: none !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.42rem !important;
        padding: 0.48rem !important;
        border-radius: 18px !important;
        background: rgba(255,255,255,0.96) !important;
        border: 1px solid rgba(219,231,243,0.95) !important;
        box-shadow: 0 18px 42px rgba(15,23,42,0.16) !important;
        backdrop-filter: blur(20px) !important;
    }

    body.flyup-mobile-public-app-shell .flyup-mobile-lang-drawer[open] .flyup-mobile-lang-drawer__panel {
        display: grid !important;
    }

    body.flyup-mobile-public-app-shell .flyup-mobile-lang-drawer__item {
        min-height: 38px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 14px !important;
        color: #475569 !important;
        background: rgba(248,251,255,0.95) !important;
        border: 1px solid rgba(219,231,243,0.8) !important;
        text-decoration: none !important;
        font-size: 0.78rem !important;
        font-weight: 900 !important;
    }

    body.flyup-mobile-public-app-shell .flyup-mobile-lang-drawer__item.is-active {
        color: #fff !important;
        background: linear-gradient(135deg, #0ea5e9, #14b8a6) !important;
        border-color: transparent !important;
        box-shadow: 0 10px 22px rgba(14,165,233,0.18) !important;
    }

    body.flyup-mobile-public-app-shell .site-footer {
        display: none !important;
    }

    body.flyup-mobile-public-app-shell .flyup-mobile-app-nav {
        display: grid !important;
        z-index: 240 !important;
    }

    body.flyup-mobile-public-app-shell .container,
    body.flyup-mobile-public-app-shell .flyup-inspirations-page__container,
    body.flyup-mobile-public-app-shell .sample-report-container,
    body.flyup-mobile-public-app-shell .flyup-pricing-page > .container,
    body.flyup-mobile-public-app-shell .flyup-travel-budget-page > .container,
    body.flyup-mobile-public-app-shell .flyup-auth-wrap > .container,
    body.flyup-mobile-public-app-shell .ai-mode-page > .container {
        width: min(calc(100% - 0.85rem), 460px) !important;
        max-width: 460px !important;
        padding-inline: 0 !important;
        margin-inline: auto !important;
    }

    body.flyup-mobile-public-app-shell .flyup-page,
    body.flyup-mobile-public-app-shell .flyup-inspirations-page,
    body.flyup-mobile-public-app-shell .sample-report-page,
    body.flyup-mobile-public-app-shell .flyup-pricing-page,
    body.flyup-mobile-public-app-shell .flyup-travel-budget-page,
    body.flyup-mobile-public-app-shell .flyup-auth-wrap,
    body.flyup-mobile-public-app-shell .ai-mode-page {
        padding-top: 0.5rem !important;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.flyup-mobile-public-app-shell .card,
    body.flyup-mobile-public-app-shell .flyup-inspirations-hero,
    body.flyup-mobile-public-app-shell .flyup-inspirations-filters,
    body.flyup-mobile-public-app-shell .flyup-inspiration-card,
    body.flyup-mobile-public-app-shell .sample-report-hero,
    body.flyup-mobile-public-app-shell .sample-report-sidebar,
    body.flyup-mobile-public-app-shell .sample-report-preview,
    body.flyup-mobile-public-app-shell .flyup-pricing-card,
    body.flyup-mobile-public-app-shell .flyup-pricing-hero,
    body.flyup-mobile-public-app-shell .travel-budget-card,
    body.flyup-mobile-public-app-shell .flyup-auth-card,
    body.flyup-mobile-public-app-shell .ai-form-shell,
    body.flyup-mobile-public-app-shell .flyup-ai-mobile-entry-gate {
        border-radius: 24px !important;
        background: rgba(255,255,255,0.92) !important;
        border: 1px solid rgba(219,231,243,0.9) !important;
        box-shadow: 0 16px 38px rgba(15,23,42,0.07) !important;
        backdrop-filter: blur(14px) !important;
    }

    body.flyup-mobile-public-app-shell .btn,
    body.flyup-mobile-public-app-shell button[type="submit"],
    body.flyup-mobile-public-app-shell .flyup-inspiration-card__button {
        min-height: 48px !important;
        border-radius: 18px !important;
        font-size: 0.9rem !important;
        font-weight: 900 !important;
    }

    /* Public Inspirations page: compact app reader instead of desktop blog block. */
    body.flyup-mobile-public-app-shell .flyup-inspirations-page__container {
        display: grid !important;
        gap: 0.82rem !important;
    }

    body.flyup-mobile-public-app-shell .flyup-inspirations-hero {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 1.15rem !important;
        overflow: hidden !important;
    }

    body.flyup-mobile-public-app-shell .flyup-inspirations-hero h1 {
        margin: 0.55rem 0 0.65rem !important;
        font-size: clamp(1.75rem, 8.2vw, 2.3rem) !important;
        line-height: 1.04 !important;
        letter-spacing: -0.04em !important;
    }

    body.flyup-mobile-public-app-shell .flyup-inspirations-hero p {
        font-size: 0.94rem !important;
        line-height: 1.55 !important;
    }

    body.flyup-mobile-public-app-shell .flyup-inspirations-hero__panel {
        min-height: 142px !important;
        padding: 1.15rem !important;
        border-radius: 24px !important;
    }

    body.flyup-mobile-public-app-shell .flyup-inspirations-hero__panel span {
        width: 3.2rem !important;
        height: 3.2rem !important;
        font-size: 1.55rem !important;
    }

    body.flyup-mobile-public-app-shell .flyup-inspirations-hero__panel strong {
        font-size: 2rem !important;
    }

    body.flyup-mobile-public-app-shell .flyup-inspirations-filters {
        grid-template-columns: 1fr !important;
        gap: 0.72rem !important;
        padding: 1rem !important;
    }

    body.flyup-mobile-public-app-shell .flyup-inspirations-filters__actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.55rem !important;
    }

    body.flyup-mobile-public-app-shell .flyup-inspirations-results__header {
        align-items: center !important;
        padding: 0 0.25rem !important;
    }

    body.flyup-mobile-public-app-shell .flyup-inspirations-results__header h2 {
        font-size: 1.12rem !important;
    }

    body.flyup-mobile-public-app-shell .flyup-destination-blog .flyup-inspirations-grid,
    body.flyup-mobile-public-app-shell .flyup-inspirations-grid {
        grid-template-columns: 1fr !important;
        gap: 0.82rem !important;
    }

    body.flyup-mobile-public-app-shell .flyup-destination-blog .flyup-inspiration-card,
    body.flyup-mobile-public-app-shell .flyup-inspiration-card {
        min-height: 0 !important;
        border-radius: 24px !important;
        overflow: hidden !important;
    }

    body.flyup-mobile-public-app-shell .flyup-destination-blog .flyup-inspiration-card__visual,
    body.flyup-mobile-public-app-shell .flyup-inspiration-card__visual,
    body.flyup-mobile-public-app-shell .flyup-destination-blog .flyup-inspiration-card__visual img,
    body.flyup-mobile-public-app-shell .flyup-inspiration-card__visual img {
        height: 150px !important;
        min-height: 150px !important;
    }

    body.flyup-mobile-public-app-shell .flyup-destination-blog .flyup-inspiration-card__body,
    body.flyup-mobile-public-app-shell .flyup-inspiration-card__body {
        min-height: 0 !important;
        padding: 1rem !important;
        gap: 0.68rem !important;
    }

    body.flyup-mobile-public-app-shell .flyup-destination-blog .flyup-inspiration-card h3,
    body.flyup-mobile-public-app-shell .flyup-inspiration-card h3 {
        min-height: 0 !important;
        font-size: 1.1rem !important;
    }

    body.flyup-mobile-public-app-shell .flyup-inspiration-card__description {
        min-height: 0 !important;
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
    }

    body.flyup-mobile-public-app-shell .flyup-destination-modal__dialog {
        width: min(calc(100% - 0.85rem), 460px) !important;
        max-height: calc(100svh - 1rem) !important;
        margin: 0.5rem auto !important;
        border-radius: 26px !important;
    }

    body.flyup-mobile-public-app-shell .flyup-destination-modal__layout {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
    }

    body.flyup-mobile-public-app-shell .flyup-destination-modal__media,
    body.flyup-mobile-public-app-shell .flyup-destination-modal__media img {
        min-height: 210px !important;
        height: 210px !important;
    }

    body.flyup-mobile-public-app-shell .flyup-destination-modal__content {
        padding: 1rem !important;
    }

    body.flyup-mobile-public-app-shell .flyup-destination-modal__content h2 {
        font-size: 1.6rem !important;
    }

    body.flyup-mobile-public-app-shell .flyup-destination-modal__facts {
        grid-template-columns: 1fr !important;
    }

    /* Public sample/pricing/budget/auth pages: keep the same app card rhythm. */
    body.flyup-mobile-public-app-shell .sample-report-layout,
    body.flyup-mobile-public-app-shell .flyup-pricing-grid,
    body.flyup-mobile-public-app-shell .travel-budget-layout,
    body.flyup-mobile-public-app-shell .auth-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.82rem !important;
    }

    body.flyup-mobile-public-app-shell .sample-report-hero,
    body.flyup-mobile-public-app-shell .flyup-pricing-hero,
    body.flyup-mobile-public-app-shell .travel-budget-hero {
        padding: 1.15rem !important;
    }

    body.flyup-mobile-public-app-shell .sample-report-hero h1,
    body.flyup-mobile-public-app-shell .flyup-pricing-hero h1,
    body.flyup-mobile-public-app-shell .travel-budget-hero h1,
    body.flyup-mobile-public-app-shell .ai-page-header h1,
    body.flyup-mobile-public-app-shell .flyup-auth-wrap h1 {
        font-size: clamp(1.65rem, 8vw, 2.25rem) !important;
        line-height: 1.05 !important;
        letter-spacing: -0.04em !important;
    }

    body.flyup-mobile-public-app-shell .sample-report-hero__actions,
    body.flyup-mobile-public-app-shell .flyup-pricing-hero__actions,
    body.flyup-mobile-public-app-shell .travel-budget-hero__actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.55rem !important;
    }

    body.flyup-mobile-public-app-shell input,
    body.flyup-mobile-public-app-shell select,
    body.flyup-mobile-public-app-shell textarea,
    body.flyup-mobile-public-app-shell .form-control {
        min-height: 48px !important;
        border-radius: 16px !important;
        font-size: 0.95rem !important;
        background: rgba(255,255,255,0.96) !important;
    }

    body.flyup-mobile-public-app-shell .ai-progress-wrap,
    body.flyup-mobile-public-app-shell [data-flyup-ai-form] {
        display: none !important;
    }
}

@media screen and (max-width: 760px) {
    body.flyup-mobile-public-app-shell main.container {
        width: min(calc(100% - 0.85rem), 460px) !important;
        max-width: 460px !important;
        margin-inline: auto !important;
        padding: 0.5rem 0 calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* =====================================================================
   Phase18AE - GSM public How it Works + compact globe language drawer
===================================================================== */
@media screen and (max-width: 760px) {
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-page-v2 {
        padding: 0.25rem 0 1.25rem !important;
    }

    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-page-v2__container {
        width: min(calc(100% - 0.85rem), 100%) !important;
        display: grid !important;
        gap: 0.9rem !important;
    }

    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-hero,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-compare,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-preview-card,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-budget,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-lock,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-final,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-path-card,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-step-card {
        border-radius: 24px !important;
        background: rgba(255,255,255,0.92) !important;
        border: 1px solid rgba(219,231,243,0.9) !important;
        box-shadow: 0 16px 38px rgba(15,23,42,0.07) !important;
        backdrop-filter: blur(14px) !important;
    }

    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-hero,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-compare,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-previews,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-paths__grid,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-flow__grid,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-compare__grid {
        grid-template-columns: 1fr !important;
    }

    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-hero,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-compare,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-preview-card,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-budget,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-lock,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-final {
        padding: 1rem !important;
    }

    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .section-kicker {
        max-width: 100% !important;
        white-space: normal !important;
    }

    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-hero h1,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-compare h2,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-preview-card h2,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-budget h2,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-lock h2,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-final h2 {
        font-size: clamp(1.55rem, 7vw, 2.05rem) !important;
        line-height: 1.08 !important;
        letter-spacing: -0.03em !important;
    }

    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-hero p,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-compare p,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-preview-card p,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-budget p,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-lock p,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-final p,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-path-card p,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-step-card p {
        font-size: 0.94rem !important;
        line-height: 1.52 !important;
    }

    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-hero__pills,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-hero__actions,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-preview-card__actions,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-final__actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        gap: 0.65rem !important;
    }

    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-hero__pills span,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-budget__list li {
        width: 100% !important;
        border-radius: 18px !important;
        padding: 0.78rem 0.9rem !important;
    }

    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-hero__aside {
        grid-template-columns: 1fr !important;
        gap: 0.65rem !important;
    }

    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-hero__metric {
        min-height: 82px !important;
        padding: 1rem !important;
        border-radius: 20px !important;
    }

    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-hero__metric strong {
        font-size: 1.75rem !important;
    }

    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-path-card,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-step-card {
        padding: 1rem !important;
    }

    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-preview-table-wrap {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .btn,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-hero__actions .btn,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-preview-card__actions .btn,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-budget .btn,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-lock .btn,
    body.flyup-mobile-public-app-shell.flyup-public-route-how-it-works .how-it-works-final__actions .btn {
        width: 100% !important;
        min-height: 52px !important;
        justify-content: center !important;
    }

    body.flyup-account-app-shell .flyup-mobile-lang-drawer summary,
    body.flyup-mobile-app-home-shell .flyup-mobile-lang-drawer summary,
    body.flyup-mobile-public-app-shell .flyup-mobile-lang-drawer summary {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        border: 0 !important;
        outline: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #0284c7 !important;
    }

    body.flyup-account-app-shell .flyup-mobile-lang-drawer summary:focus,
    body.flyup-account-app-shell .flyup-mobile-lang-drawer summary:focus-visible,
    body.flyup-mobile-app-home-shell .flyup-mobile-lang-drawer summary:focus,
    body.flyup-mobile-app-home-shell .flyup-mobile-lang-drawer summary:focus-visible,
    body.flyup-mobile-public-app-shell .flyup-mobile-lang-drawer summary:focus,
    body.flyup-mobile-public-app-shell .flyup-mobile-lang-drawer summary:focus-visible {
        outline: 0 !important;
        box-shadow: none !important;
    }

    body.flyup-account-app-shell .flyup-mobile-lang-drawer[open] summary,
    body.flyup-mobile-app-home-shell .flyup-mobile-lang-drawer[open] summary,
    body.flyup-mobile-public-app-shell .flyup-mobile-lang-drawer[open] summary {
        color: #0284c7 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.flyup-account-app-shell .flyup-mobile-lang-drawer__panel,
    body.flyup-mobile-app-home-shell .flyup-mobile-lang-drawer__panel,
    body.flyup-mobile-public-app-shell .flyup-mobile-lang-drawer__panel {
        top: calc(100% + 0.35rem) !important;
        right: 0 !important;
        min-width: 74px !important;
        width: 74px !important;
        grid-template-columns: 1fr !important;
        gap: 0.3rem !important;
        padding: 0.35rem !important;
        border-radius: 16px !important;
        background: rgba(255,255,255,0.98) !important;
        border: 1px solid rgba(219,231,243,0.92) !important;
        box-shadow: 0 14px 32px rgba(15,23,42,0.14) !important;
    }

    body.flyup-account-app-shell .flyup-mobile-lang-drawer[open] .flyup-mobile-lang-drawer__panel,
    body.flyup-mobile-app-home-shell .flyup-mobile-lang-drawer[open] .flyup-mobile-lang-drawer__panel,
    body.flyup-mobile-public-app-shell .flyup-mobile-lang-drawer[open] .flyup-mobile-lang-drawer__panel {
        display: grid !important;
    }

    body.flyup-account-app-shell .flyup-mobile-lang-drawer__item,
    body.flyup-mobile-app-home-shell .flyup-mobile-lang-drawer__item,
    body.flyup-mobile-public-app-shell .flyup-mobile-lang-drawer__item {
        min-height: 34px !important;
        border-radius: 12px !important;
        font-size: 0.74rem !important;
    }
}


/* Phase18AF — GSM IA quiz cleanup: no "Question x/y" badge, smaller meta row, cleaner date fields. */
@media screen and (max-width: 760px) {
    body.flyup-account-app-shell.flyup-mobile-quiz-active .flyup-mobile-question-meta {
        justify-content: flex-end !important;
        background: transparent !important;
        border: 0 !important;
        backdrop-filter: none !important;
        margin: 0.15rem 0 0.45rem !important;
        padding: 0 !important;
        position: static !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .flyup-mobile-question-meta span,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .flyup-mobile-question-meta [data-flyup-mobile-question-count] {
        display: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .flyup-mobile-question-meta strong {
        min-height: 26px !important;
        padding: 0.3rem 0.55rem !important;
        font-size: 0.66rem !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-period-card--fields-only {
        padding-top: 0 !important;
    }
}

/* =====================================================================
   Phase18AH - GSM AI quiz: unified question card layout
   Removes empty blue wrappers created by nested groups in one-question mode.
===================================================================== */
@media screen and (max-width: 760px) {
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-form-grid,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-period-card,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-gastronomy-options,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-form-grid--gastronomy {
        display: contents !important;
        margin: 0 !important;
        padding: 0 !important;
        min-height: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-period-card__header,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel__header,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-gastronomy-options__intro,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-info-box:empty,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active #aiOfferCommitmentNote:empty,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-inline-note {
        display: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .flyup-mobile-question-current {
        box-sizing: border-box !important;
        width: 100% !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .flyup-field.flyup-mobile-question-current,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-checkbox-grid.flyup-mobile-question-current,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-mode-toggle.flyup-mobile-question-current {
        display: block !important;
        margin: 0 0 0.92rem !important;
        padding: 1rem !important;
        border-radius: 24px !important;
        border: 1px solid rgba(219,231,243,0.96) !important;
        background: rgba(255,255,255,0.96) !important;
        box-shadow: 0 14px 34px rgba(15,23,42,0.07) !important;
        backdrop-filter: blur(12px) !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-mode-toggle.flyup-mobile-question-current {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-checkbox-grid.flyup-mobile-question-current {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.65rem !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .flyup-field.flyup-mobile-question-current > label:not(.ai-checkbox-row) {
        margin-bottom: 0.68rem !important;
        color: #0f172a !important;
        font-weight: 900 !important;
        font-size: 1rem !important;
        line-height: 1.25 !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .flyup-field.flyup-mobile-question-current input:not([type="checkbox"]):not([type="radio"]),
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .flyup-field.flyup-mobile-question-current select,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .flyup-field.flyup-mobile-question-current textarea {
        width: 100% !important;
        min-height: 54px !important;
        border-radius: 18px !important;
        background: #fff !important;
        border: 1px solid rgba(203,213,225,0.95) !important;
        box-shadow: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .flyup-field.flyup-mobile-question-current input:focus,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .flyup-field.flyup-mobile-question-current select:focus,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .flyup-field.flyup-mobile-question-current textarea:focus {
        border-color: rgba(14,165,233,0.55) !important;
        box-shadow: 0 0 0 4px rgba(14,165,233,0.10) !important;
        outline: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-checkbox-row--toggle {
        min-height: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-checkbox-row--toggle span {
        gap: 0 !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-checkbox-row--toggle small {
        display: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-checkbox-card {
        min-height: 58px !important;
        padding: 0.85rem !important;
        border-radius: 18px !important;
        background: #fff !important;
        border-color: rgba(219,231,243,0.96) !important;
        box-shadow: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-form-nav {
        margin-top: 0 !important;
    }
}


/* PHASE18AL — final priority override for account app shell manual planner */
@media (max-width: 767px) {
    body.flyup-account-app-shell .manual-planner-page .manual-day-card.is-open .manual-day-card__meta {
        display: none !important;
    }

    body.flyup-account-app-shell .manual-planner-page .manual-activity-item {
        display: grid !important;
        grid-template-columns: minmax(92px, 1fr) minmax(78px, 92px) 38px !important;
        grid-template-rows: auto auto !important;
        grid-template-areas:
            "time cost remove"
            "title title title" !important;
        column-gap: 0.5rem !important;
        row-gap: 0.5rem !important;
        align-items: start !important;
        padding: 0.62rem !important;
        border-radius: 18px !important;
        overflow: visible !important;
    }

    body.flyup-account-app-shell .manual-planner-page .manual-activity-item .manual-time-input { grid-area: time !important; }
    body.flyup-account-app-shell .manual-planner-page .manual-activity-item .manual-cost-input { grid-area: cost !important; }
    body.flyup-account-app-shell .manual-planner-page .manual-activity-item .manual-title-input { grid-area: title !important; }
    body.flyup-account-app-shell .manual-planner-page .manual-activity-item .manual-activity-remove { grid-area: remove !important; }

    body.flyup-account-app-shell .manual-planner-page .manual-time-input,
    body.flyup-account-app-shell .manual-planner-page .manual-cost-input {
        min-width: 0 !important;
        min-height: 40px !important;
        height: 40px !important;
        padding: 0.55rem 0.62rem !important;
        font-size: 0.84rem !important;
        line-height: 1.1 !important;
        border-radius: 14px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    body.flyup-account-app-shell .manual-planner-page .manual-title-input {
        display: block !important;
        min-height: 58px !important;
        max-height: 96px !important;
        padding: 0.62rem 0.72rem !important;
        font-size: 0.86rem !important;
        line-height: 1.32 !important;
        border-radius: 16px !important;
        resize: none !important;
        overflow-y: auto !important;
    }

    body.flyup-account-app-shell .manual-planner-page .manual-activity-item .manual-activity-remove,
    body.flyup-account-app-shell .manual-planner-page .manual-day-card__actions .icon-btn[data-action="remove"] {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        align-self: start !important;
        justify-self: end !important;
        margin: 0 !important;
        border-radius: 999px !important;
        border: 1px solid #dc2626 !important;
        background: #dc2626 !important;
        color: #ffffff !important;
        font-size: 1rem !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        box-shadow: 0 12px 22px rgba(220, 38, 38, 0.24) !important;
        transform: none !important;
    }
}

@media (max-width: 380px) {
    body.flyup-account-app-shell .manual-planner-page .manual-activity-item {
        grid-template-columns: minmax(82px, 1fr) minmax(66px, 80px) 36px !important;
    }
}

/* PHASE18AM — GSM day label no-wrap alignment
   Keeps labels such as "Day 1" / "Jour 1" on one line in collapsed and open day cards. */
@media (max-width: 767px) {
    .manual-planner-page .manual-day-card__number {
        flex: 0 0 auto !important;
        min-width: max-content !important;
        white-space: nowrap !important;
        line-height: 1.1 !important;
    }

    .manual-planner-page .manual-day-card__toggle {
        overflow: hidden !important;
    }

    .manual-planner-page .manual-day-card__meta {
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
}


/* =====================================================================
   Phase18AN - GSM AI quiz: gastronomy opens inline with dining preference
   The gastronomy checkbox, meal slots, dining preference and other field
   are one single mobile question screen.
===================================================================== */
@media screen and (max-width: 760px) {
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current {
        display: block !important;
        margin: 0 0 0.92rem !important;
        padding: 1rem !important;
        border-radius: 24px !important;
        border: 1px solid rgba(219,231,243,0.96) !important;
        background: rgba(255,255,255,0.96) !important;
        box-shadow: 0 14px 34px rgba(15,23,42,0.07) !important;
        backdrop-filter: blur(12px) !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-gastronomy-toggle {
        margin: 0 !important;
        padding: 0 !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-checkbox-row--toggle {
        display: flex !important;
        align-items: center !important;
        min-height: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-checkbox-row--toggle strong {
        color: #0f172a !important;
        font-weight: 900 !important;
        font-size: 1rem !important;
        line-height: 1.25 !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-gastronomy-options {
        display: block !important;
        margin-top: 0.9rem !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-gastronomy-options[hidden] {
        display: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-checkbox-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.55rem !important;
        margin: 0 0 0.85rem !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-form-grid--gastronomy {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.8rem !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .flyup-field {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .flyup-field > label:not(.ai-checkbox-row) {
        margin: 0 0 0.55rem !important;
        color: #0f172a !important;
        font-weight: 900 !important;
        font-size: 0.98rem !important;
        line-height: 1.25 !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current select,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current input:not([type="checkbox"]):not([type="radio"]),
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current textarea {
        width: 100% !important;
        min-height: 54px !important;
        border-radius: 18px !important;
        background: #fff !important;
        border: 1px solid rgba(203,213,225,0.95) !important;
        box-shadow: none !important;
    }
}

/* =====================================================================
   Phase18AO - GSM AI quiz: dedicated gastronomy question page
   The gastronomy toggle, meal slots and Dining preference remain one
   single mobile question. Options open directly under the checkbox.
===================================================================== */
@media screen and (max-width: 760px) {
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current {
        display: block !important;
        width: 100% !important;
        margin: 0 0 0.92rem !important;
        padding: 1rem !important;
        border-radius: 24px !important;
        border: 1px solid rgba(219,231,243,0.96) !important;
        background: rgba(255,255,255,0.97) !important;
        box-shadow: 0 14px 34px rgba(15,23,42,0.07) !important;
        backdrop-filter: blur(12px) !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current *,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current *::before,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current *::after {
        box-sizing: border-box !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-gastronomy-toggle,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .flyup-field,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-form-grid--gastronomy {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-checkbox-row--toggle {
        display: grid !important;
        grid-template-columns: 24px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 0.68rem !important;
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current input[type="checkbox"] {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        max-width: 20px !important;
        min-height: 20px !important;
        max-height: 20px !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 0 0 20px !important;
        accent-color: #0ea5e9 !important;
        box-shadow: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-checkbox-row--toggle span {
        display: block !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-checkbox-row--toggle strong {
        display: block !important;
        color: #0f172a !important;
        font-size: 0.98rem !important;
        font-weight: 900 !important;
        line-height: 1.25 !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-checkbox-row--toggle small,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-gastronomy-options__intro {
        display: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-gastronomy-options {
        display: grid !important;
        width: 100% !important;
        grid-template-columns: 1fr !important;
        gap: 0.78rem !important;
        margin: 0.9rem 0 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-gastronomy-options[hidden] {
        display: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-checkbox-grid {
        display: grid !important;
        width: 100% !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 0.48rem !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-checkbox-card {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.38rem !important;
        min-width: 0 !important;
        min-height: 48px !important;
        width: 100% !important;
        padding: 0.58rem 0.42rem !important;
        border-radius: 16px !important;
        border: 1px solid rgba(219,231,243,0.96) !important;
        background: #ffffff !important;
        box-shadow: none !important;
        line-height: 1.15 !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-checkbox-card span {
        display: inline-block !important;
        min-width: 0 !important;
        color: #0f172a !important;
        font-size: 0.78rem !important;
        font-weight: 800 !important;
        line-height: 1.15 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-checkbox-card input[type="checkbox"] {
        width: 17px !important;
        height: 17px !important;
        min-width: 17px !important;
        min-height: 17px !important;
        max-width: 17px !important;
        max-height: 17px !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-form-grid--gastronomy {
        margin-top: 0 !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-form-grid--gastronomy .flyup-field > label,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-dietary-other-field > label {
        display: block !important;
        margin: 0 0 0.45rem !important;
        color: #0f172a !important;
        font-size: 0.88rem !important;
        font-weight: 900 !important;
        line-height: 1.2 !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current select,
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current input:not([type="checkbox"]):not([type="radio"]),
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current textarea {
        width: 100% !important;
        min-height: 50px !important;
        border-radius: 17px !important;
        border: 1px solid rgba(203,213,225,0.95) !important;
        background: #ffffff !important;
        box-shadow: none !important;
        font-size: 0.92rem !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-dietary-other-field {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

@media screen and (max-width: 380px) {
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-checkbox-grid {
        grid-template-columns: 1fr !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-checkbox-card {
        justify-content: flex-start !important;
        padding-inline: 0.75rem !important;
    }
}


/* =====================================================================
   Phase18AP - GSM AI quiz: gastronomy only on its own question
   - The gastronomy block must never leak under airport/hotel/time questions.
   - "Please specify" is visible only when Dining preference = Other.
===================================================================== */
@media screen and (max-width: 760px) {
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy:not(.flyup-mobile-question-current),
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-hidden {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current .ai-dietary-other-field[hidden],
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current #dietaryOtherField[hidden],
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current #dietaryOtherField:not(.is-visible) {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step.active .ai-detail-panel--gastronomy.flyup-mobile-question-current #dietaryOtherField.is-visible:not([hidden]) {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        max-height: none !important;
        margin-top: 0.78rem !important;
        overflow: visible !important;
        pointer-events: auto !important;
    }
}

/* =====================================================================
   Phase18AQ - GSM AI quiz: final review spacing + first back disabled
   - On the last review screen, keep the fixed Generate bar below the
     "Ready for final review" card instead of sitting on top of it.
   - Disabled first back arrow keeps the same app style but is visibly inactive.
===================================================================== */
@media screen and (max-width: 760px) {
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step[data-step="5"].active .ai-review-box {
        margin-bottom: 6.2rem !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-step[data-step="5"].active .ai-form-nav {
        transform: translate(-50%, 10px) !important;
    }

    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-nav .btn[aria-disabled="true"],
    body.flyup-account-app-shell.flyup-mobile-quiz-active .ai-form-nav .btn.flyup-mobile-app-button-disabled-soft[data-mobile-nav-arrow="back"] {
        opacity: 0.34 !important;
        cursor: not-allowed !important;
        pointer-events: none !important;
    }
}
